@esri/hub-web-components 0.16.2 → 0.17.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/22DTN7JK.js +4 -0
- package/dist/cdn/23BISED4.js +4 -0
- package/dist/cdn/256H4J7J.js +4 -0
- package/dist/cdn/26XIP4D6.js +4 -0
- package/dist/cdn/27CGQQ2U.js +4 -0
- package/dist/cdn/2ACDL76Q.js +4 -0
- package/dist/cdn/2AE7FWZI.js +4 -0
- package/dist/cdn/2EOGMAWF.js +4 -0
- package/dist/cdn/2H5WQNTH.js +4 -0
- package/dist/cdn/2HX3VTUT.js +4 -0
- package/dist/cdn/2I4TEECN.js +4 -0
- package/dist/cdn/2J7QMJH4.js +4 -0
- package/dist/cdn/2JIK64E6.js +4 -0
- package/dist/cdn/2JNOEYBB.js +4 -0
- package/dist/cdn/2MK7B7NZ.js +4 -0
- package/dist/cdn/2QA2WUQG.js +4 -0
- package/dist/cdn/2QHV7J7P.js +4 -0
- package/dist/cdn/2RCY44HH.js +4 -0
- package/dist/cdn/2SDTS54U.js +4 -0
- package/dist/cdn/2SV6KORH.js +4 -0
- package/dist/cdn/2TZB6NHC.js +4 -0
- package/dist/cdn/2UH3KNG5.js +4 -0
- package/dist/cdn/2V3HZQOK.js +4 -0
- package/dist/cdn/2VRB6QBI.js +4 -0
- package/dist/cdn/2WW7P2IL.js +4 -0
- package/dist/cdn/2XGBUWAB.js +4 -0
- package/dist/cdn/2XTMIAUC.js +4 -0
- package/dist/cdn/2YCYU2XM.js +4 -0
- package/dist/cdn/33E3LTJR.js +4 -0
- package/dist/cdn/36OKO3MY.js +4 -0
- package/dist/cdn/37OAVYDX.js +4 -0
- package/dist/cdn/37OXKRTX.js +4 -0
- package/dist/cdn/3B3PLQQR.js +4 -0
- package/dist/cdn/3BR5UA34.js +4 -0
- package/dist/cdn/3EW6ZLJT.js +4 -0
- package/dist/cdn/3HZIH53B.js +4 -0
- package/dist/cdn/3J2KY43R.js +4 -0
- package/dist/cdn/3J4WDTKG.js +4 -0
- package/dist/cdn/3OAOLWMX.js +4 -0
- package/dist/cdn/3OXJH42M.js +4 -0
- package/dist/cdn/3QIY5D7Y.js +4 -0
- package/dist/cdn/3QRQQ3V6.js +4 -0
- package/dist/cdn/3QXPM4FT.js +4 -0
- package/dist/cdn/3RTYRXRB.js +4 -0
- package/dist/cdn/3SFW7RH7.js +4 -0
- package/dist/cdn/3SRPD5NN.js +4 -0
- package/dist/cdn/3T4HNI2X.js +4 -0
- package/dist/cdn/3UGES3WJ.js +4 -0
- package/dist/cdn/3WGHJDWJ.js +4 -0
- package/dist/cdn/3ZRJHH6P.js +4 -0
- package/dist/cdn/3ZZDZGQB.js +4 -0
- package/dist/cdn/436SKMXU.js +4 -0
- package/dist/cdn/43SCGVLE.js +4 -0
- package/dist/cdn/4AH7GEJK.js +4 -0
- package/dist/cdn/4BWPLR2C.js +4 -0
- package/dist/cdn/4C6MSJBZ.js +4 -0
- package/dist/cdn/4C744A4R.js +4 -0
- package/dist/cdn/4DRK6D46.js +4 -0
- package/dist/cdn/4EFGJY5Q.js +4 -0
- package/dist/cdn/4HJ3HLJH.js +4 -0
- package/dist/cdn/4HX5LBUJ.js +4 -0
- package/dist/cdn/4JBT7HJG.js +4 -0
- package/dist/cdn/4MFK345E.js +4 -0
- package/dist/cdn/4NVQUTLD.js +4 -0
- package/dist/cdn/4PARMCHB.js +4 -0
- package/dist/cdn/4T7IHO6E.js +4 -0
- package/dist/cdn/4VSLCK6N.js +4 -0
- package/dist/cdn/4WGGIZAQ.js +4 -0
- package/dist/cdn/4YRBWDTE.js +4 -0
- package/dist/cdn/4ZSPWGOR.js +4 -0
- package/dist/cdn/4ZY5L4HG.js +4 -0
- package/dist/cdn/54NWJBI7.js +4 -0
- package/dist/cdn/55FE6INE.js +4 -0
- package/dist/cdn/5673LPXT.js +4 -0
- package/dist/cdn/57U4ICQX.js +4 -0
- package/dist/cdn/5E44DCND.js +4 -0
- package/dist/cdn/5EMHTX3P.js +4 -0
- package/dist/cdn/5FRI2X4K.js +4 -0
- package/dist/cdn/5FY3EO2L.js +4 -0
- package/dist/cdn/5GVXXSZZ.js +4 -0
- package/dist/cdn/5H6NSEUE.js +4 -0
- package/dist/cdn/5JPJROUG.js +4 -0
- package/dist/cdn/5KCGULZJ.js +4 -0
- package/dist/cdn/5KIKQCD2.js +4 -0
- package/dist/cdn/5LH6Y6AF.js +4 -0
- package/dist/cdn/5LQXDSGH.js +4 -0
- package/dist/cdn/5MMU36GE.js +4 -0
- package/dist/cdn/5NEU4ONW.js +4 -0
- package/dist/cdn/5NO4ETSX.js +4 -0
- package/dist/cdn/5OGFD7YG.js +4 -0
- package/dist/cdn/5RFJRREQ.js +4 -0
- package/dist/cdn/5SL3FNVJ.js +4 -0
- package/dist/cdn/5TCPOWXN.js +4 -0
- package/dist/cdn/5UXUZ4IQ.js +4 -0
- package/dist/cdn/5WBZ35RZ.js +4 -0
- package/dist/cdn/5XNJ3UNT.js +4 -0
- package/dist/cdn/5YCLLASW.js +4 -0
- package/dist/cdn/5Z5D7XA4.js +4 -0
- package/dist/cdn/5ZFUSWWJ.js +4 -0
- package/dist/cdn/62VP5TO6.js +4 -0
- package/dist/cdn/67ICPAUW.js +4 -0
- package/dist/cdn/67WXIKQL.js +4 -0
- package/dist/cdn/6ABK6H57.js +4 -0
- package/dist/cdn/6AEACQ6R.js +4 -0
- package/dist/cdn/6APAVRNM.js +4 -0
- package/dist/cdn/6BGAMMOV.js +4 -0
- package/dist/cdn/6BQSWVVM.js +4 -0
- package/dist/cdn/6CNXY4OB.js +4 -0
- package/dist/cdn/6F4N23L4.js +4 -0
- package/dist/cdn/6GXFQMNL.js +4 -0
- package/dist/cdn/6HP22HL2.js +4 -0
- package/dist/cdn/6I25GFA4.js +4 -0
- package/dist/cdn/6IB3SCHG.js +6 -0
- package/dist/cdn/6JM5NGDY.js +4 -0
- package/dist/cdn/6KCWDVBB.js +4 -0
- package/dist/cdn/6LFC62J3.js +4 -0
- package/dist/cdn/6PYAW2HU.js +4 -0
- package/dist/cdn/6QW523S5.js +4 -0
- package/dist/cdn/6TAS6PZS.js +4 -0
- package/dist/cdn/6WEHBPYV.js +4 -0
- package/dist/cdn/6YIDPV3P.js +4 -0
- package/dist/cdn/6ZO732NW.js +4 -0
- package/dist/cdn/6ZSB6MTG.js +4 -0
- package/dist/cdn/7267SYAW.js +24 -0
- package/dist/cdn/754KT7C4.js +16 -0
- package/dist/cdn/76URBCMS.js +4 -0
- package/dist/cdn/77QIYZJU.js +4 -0
- package/dist/cdn/7ALDFIMX.js +4 -0
- package/dist/cdn/7CWFJ3JN.js +4 -0
- package/dist/cdn/7FAX7KMI.js +4 -0
- package/dist/cdn/7FS4K4YR.js +4 -0
- package/dist/cdn/7GW72HER.js +4 -0
- package/dist/cdn/7NT2O3MX.js +25 -0
- package/dist/cdn/7P3IKV5W.js +4 -0
- package/dist/cdn/7PFOZ3NP.js +4 -0
- package/dist/cdn/7PI7OIRR.js +4 -0
- package/dist/cdn/7SB4C37T.js +4 -0
- package/dist/cdn/7SGJCVA5.js +4 -0
- package/dist/cdn/7ST6UZLJ.js +4 -0
- package/dist/cdn/7TUV3YW2.js +4 -0
- package/dist/cdn/7WTXM4OP.js +4 -0
- package/dist/cdn/7YD27CE6.js +4 -0
- package/dist/cdn/7ZXEVYYS.js +4 -0
- package/dist/cdn/A2QCQT5M.js +4 -0
- package/dist/cdn/ADEMWCS3.js +4 -0
- package/dist/cdn/AEBG25HZ.js +4 -0
- package/dist/cdn/AES2SL63.js +4 -0
- package/dist/cdn/AFBUBVK2.js +4 -0
- package/dist/cdn/AH67B3BJ.js +4 -0
- package/dist/cdn/AHSN7XOU.js +4 -0
- package/dist/cdn/AISWRBJ7.js +4 -0
- package/dist/cdn/AITPB6U6.js +4 -0
- package/dist/cdn/ALUUQGPQ.js +4 -0
- package/dist/cdn/AO4DBUDF.js +4 -0
- package/dist/cdn/AOEGIOXP.js +4 -0
- package/dist/cdn/APHVWLB2.js +4 -0
- package/dist/cdn/AQ6GMQ62.js +4 -0
- package/dist/cdn/AQOHWXXK.js +4 -0
- package/dist/cdn/ASFP7TCX.js +4 -0
- package/dist/cdn/B3W2VZ6X.js +4 -0
- package/dist/cdn/B42G5CIW.js +4 -0
- package/dist/cdn/B4MDYEY2.js +4 -0
- package/dist/cdn/B5FEBR3X.js +4 -0
- package/dist/cdn/B6SGUYXM.js +4 -0
- package/dist/cdn/B7GV4HQV.js +4 -0
- package/dist/cdn/BBD5C7QP.js +4 -0
- package/dist/cdn/BCNKHTRO.js +9 -0
- package/dist/cdn/BDSOAC2S.js +4 -0
- package/dist/cdn/BFFEGLGW.js +4 -0
- package/dist/cdn/BH43L6YW.js +4 -0
- package/dist/cdn/BJVMJWC5.js +4 -0
- package/dist/cdn/BNSMSR2J.js +4 -0
- package/dist/cdn/BP5K2JZA.js +4 -0
- package/dist/cdn/BW3AE4XR.js +4 -0
- package/dist/cdn/BXUAVTHQ.js +4 -0
- package/dist/cdn/C33HGNXZ.js +4 -0
- package/dist/cdn/C4TPJJKY.js +4 -0
- package/dist/cdn/C5QLC7CN.js +4 -0
- package/dist/cdn/C64LSADP.js +4 -0
- package/dist/cdn/C6LAICOE.js +4 -0
- package/dist/cdn/C7QAKCA4.js +51 -0
- package/dist/cdn/CA4M2TX2.js +4 -0
- package/dist/cdn/CAGGYVLW.js +4 -0
- package/dist/cdn/CDTE22PZ.js +4 -0
- package/dist/cdn/CFC4VODC.js +4 -0
- package/dist/cdn/CHP7OFKT.js +4 -0
- package/dist/cdn/CLMLBZVF.js +4 -0
- package/dist/cdn/CLOYRCWH.js +4 -0
- package/dist/cdn/CLUBS5ME.js +4 -0
- package/dist/cdn/CN5GPHA7.js +4 -0
- package/dist/cdn/CN5ZQ7L4.js +4 -0
- package/dist/cdn/CSEXWJKA.js +4 -0
- package/dist/cdn/CSVAVZBM.js +4 -0
- package/dist/cdn/CTDME6U2.js +4 -0
- package/dist/cdn/CWAICBUC.js +4 -0
- package/dist/cdn/CWALSH72.js +4 -0
- package/dist/cdn/D47WZTYS.js +4 -0
- package/dist/cdn/D5AQU54G.js +4 -0
- package/dist/cdn/D5U3LGFG.js +4 -0
- package/dist/cdn/D6JQOU3F.js +4 -0
- package/dist/cdn/D7IUYBA5.js +4 -0
- package/dist/cdn/D7PI5GKV.js +4 -0
- package/dist/cdn/DAA4KU5J.js +4 -0
- package/dist/cdn/DAGPEUPS.js +5 -0
- package/dist/cdn/DBOK3AWM.js +4 -0
- package/dist/cdn/DFH42HYH.js +4 -0
- package/dist/cdn/DGLVWP5E.js +4 -0
- package/dist/cdn/DI6FQU7M.js +4 -0
- package/dist/cdn/DKKGH7EM.js +4 -0
- package/dist/cdn/DKT3HJ6Z.js +4 -0
- package/dist/cdn/DLQCB2FV.js +4 -0
- package/dist/cdn/DMEXJHNQ.js +4 -0
- package/dist/cdn/DN2QPEN7.js +4 -0
- package/dist/cdn/DNAFENYK.js +4 -0
- package/dist/cdn/DNGGI3MM.js +4 -0
- package/dist/cdn/DPNK2TK2.js +6 -0
- package/dist/cdn/DQARYKUH.js +4 -0
- package/dist/cdn/DQIZC7ZD.js +4 -0
- package/dist/cdn/DQVTP47F.js +4 -0
- package/dist/cdn/DSK4PNZT.js +6 -0
- package/dist/cdn/DTV63Y6M.js +4 -0
- package/dist/cdn/DUFYQY6D.js +4 -0
- package/dist/cdn/DUJUZO2O.js +8 -0
- package/dist/cdn/DVPZP5P6.js +4 -0
- package/dist/cdn/DYMXKJHD.js +4 -0
- package/dist/cdn/DZTNMG52.js +4 -0
- package/dist/cdn/E66MWWTY.js +4 -0
- package/dist/cdn/E6A53BL2.js +4 -0
- package/dist/cdn/E6QQOVYR.js +4 -0
- package/dist/cdn/E6SRAXMN.js +4 -0
- package/dist/cdn/EA6ZOVFR.js +4 -0
- package/dist/cdn/EAXZVYTP.js +4 -0
- package/dist/cdn/ECRNHU7P.js +8 -0
- package/dist/cdn/ED3NQQVR.js +5 -0
- package/dist/cdn/EDAGVOSP.js +4 -0
- package/dist/cdn/EDTJI5VT.js +4 -0
- package/dist/cdn/EF2E4ALP.js +4 -0
- package/dist/cdn/EG5ECUFW.js +4 -0
- package/dist/cdn/EIGWV3DX.js +4 -0
- package/dist/cdn/EKYSTJI4.js +4 -0
- package/dist/cdn/EMAO7B3C.js +4 -0
- package/dist/cdn/EMVWRCMC.js +4 -0
- package/dist/cdn/ENOTKH3X.js +4 -0
- package/dist/cdn/ESPKWHYD.js +4 -0
- package/dist/cdn/ETTUECNO.js +4 -0
- package/dist/cdn/EVTYCRA5.js +4 -0
- package/dist/cdn/EYDG6NLS.js +4 -0
- package/dist/cdn/EYFRZTS7.js +4 -0
- package/dist/cdn/F2MEKC7P.js +4 -0
- package/dist/cdn/F2XQNSP4.js +4 -0
- package/dist/cdn/F4DBGR6Q.js +4 -0
- package/dist/cdn/F5HTMOP2.js +4 -0
- package/dist/cdn/F7GZEPBQ.js +4 -0
- package/dist/cdn/FCQ5TOKL.js +4 -0
- package/dist/cdn/FDL4QSK3.js +4 -0
- package/dist/cdn/FF4W5SYZ.js +4 -0
- package/dist/cdn/FF5HH6QI.js +4 -0
- package/dist/cdn/FGA7KK3H.js +4 -0
- package/dist/cdn/FID2NNZR.js +4 -0
- package/dist/cdn/FIR2RAQU.js +4 -0
- package/dist/cdn/FJ4RTBKN.js +4 -0
- package/dist/cdn/FKNUYIDS.js +4 -0
- package/dist/cdn/FP4W33XU.js +4 -0
- package/dist/cdn/FSLZ7745.js +4 -0
- package/dist/cdn/FV5JC4Q4.js +4 -0
- package/dist/cdn/G2DZIBRT.js +4 -0
- package/dist/cdn/G2SSZWCB.js +4 -0
- package/dist/cdn/G2WAUTHT.js +4 -0
- package/dist/cdn/G37H6FND.js +4 -0
- package/dist/cdn/G3ZGLROO.js +4 -0
- package/dist/cdn/G5OWJLYS.js +4 -0
- package/dist/cdn/G6MLHZSB.js +4 -0
- package/dist/cdn/G7BPDEMI.js +4 -0
- package/dist/cdn/GB2LXGDA.js +4 -0
- package/dist/cdn/GBIAVW7E.js +4 -0
- package/dist/cdn/GDJCZM7I.js +4 -0
- package/dist/cdn/GDSA2NXR.js +4 -0
- package/dist/cdn/GGYYWPMX.js +4 -0
- package/dist/cdn/GI4M6PVY.js +4 -0
- package/dist/cdn/GQLJZI27.js +4 -0
- package/dist/cdn/GSBCWFMH.js +4 -0
- package/dist/cdn/GSJKTVWH.js +4 -0
- package/dist/cdn/GT4TYY56.js +4 -0
- package/dist/cdn/GVDLXO4H.js +4 -0
- package/dist/cdn/GVV67WKI.js +4 -0
- package/dist/cdn/GWG7V3O2.js +4 -0
- package/dist/cdn/GX2B7JAS.js +4 -0
- package/dist/cdn/GXALT5UP.js +4 -0
- package/dist/cdn/GXQZSSUT.js +4 -0
- package/dist/cdn/H7I646O4.js +4 -0
- package/dist/cdn/HA2KBQXE.js +4 -0
- package/dist/cdn/HA2YTFI3.js +4 -0
- package/dist/cdn/HB32BLR7.js +4 -0
- package/dist/cdn/HB6VWHZZ.js +4 -0
- package/dist/cdn/HF4TPNQ3.js +4 -0
- package/dist/cdn/HFWFHA23.js +4 -0
- package/dist/cdn/HGPJOQRH.js +4 -0
- package/dist/cdn/HIANEQ5D.js +4 -0
- package/dist/cdn/HJO43VXZ.js +4 -0
- package/dist/cdn/HJOT2PGA.js +4 -0
- package/dist/cdn/HJZ7RLCV.js +4 -0
- package/dist/cdn/HNUBVAMV.js +4 -0
- package/dist/cdn/HPFEKMVP.js +4 -0
- package/dist/cdn/HULIUYRR.js +4 -0
- package/dist/cdn/HVRDXWVY.js +4 -0
- package/dist/cdn/HXIVUPM7.js +4 -0
- package/dist/cdn/HYAGHU25.js +4 -0
- package/dist/cdn/HYFRXTRV.js +4 -0
- package/dist/cdn/HZGQOS2K.js +4 -0
- package/dist/cdn/I2AVZSWC.js +4 -0
- package/dist/cdn/I4AEZAFU.js +4 -0
- package/dist/cdn/I5TSLWKD.js +4 -0
- package/dist/cdn/IBBQ6WMW.js +4 -0
- package/dist/cdn/IBKN3OIK.js +4 -0
- package/dist/cdn/IDFC4JF4.js +4 -0
- package/dist/cdn/IDRHYCLS.js +4 -0
- package/dist/cdn/IFCZPV7R.js +4 -0
- package/dist/cdn/IHWSGIIB.js +4 -0
- package/dist/cdn/IISX6DYN.js +4 -0
- package/dist/cdn/IJEBPEAQ.js +4 -0
- package/dist/cdn/IKOX5LCY.js +4 -0
- package/dist/cdn/IKY6VK72.js +4 -0
- package/dist/cdn/IOFTI3VA.js +4 -0
- package/dist/cdn/IOKH4PIO.js +4 -0
- package/dist/cdn/IP3UPS4V.js +4 -0
- package/dist/cdn/IUWWA7WU.js +4 -0
- package/dist/cdn/IVTKRR2M.js +4 -0
- package/dist/cdn/IWILDG6N.js +4 -0
- package/dist/cdn/IWVYVE6M.js +4 -0
- package/dist/cdn/IXP3WQC7.js +4 -0
- package/dist/cdn/IYTREZVI.js +4 -0
- package/dist/cdn/J2OUWH3F.js +4 -0
- package/dist/cdn/JA4GOWCX.js +4 -0
- package/dist/cdn/JBPILZPY.js +4 -0
- package/dist/cdn/JBSMLZJO.js +4 -0
- package/dist/cdn/JCDX62BP.js +4 -0
- package/dist/cdn/JFW42WYL.js +4 -0
- package/dist/cdn/JGQOEB4P.js +4 -0
- package/dist/cdn/JHNNMLEF.js +4 -0
- package/dist/cdn/JHQEFJRP.js +4 -0
- package/dist/cdn/JILR3AT4.js +4 -0
- package/dist/cdn/JLUTFHM4.js +4 -0
- package/dist/cdn/JM3GNMXW.js +5 -0
- package/dist/cdn/JNJRJ2X3.js +4 -0
- package/dist/cdn/JOIBW6OF.js +4 -0
- package/dist/cdn/JS6G5MRL.js +4 -0
- package/dist/cdn/JSFBAM7J.js +4 -0
- package/dist/cdn/JT4KC7CJ.js +4 -0
- package/dist/cdn/JWEE7O7X.js +4 -0
- package/dist/cdn/JWKTZODP.js +4 -0
- package/dist/cdn/JXP2L6ML.js +4 -0
- package/dist/cdn/JYEIOQUU.js +4 -0
- package/dist/cdn/K42O6QXS.js +59 -0
- package/dist/cdn/K5KNOJEQ.js +4 -0
- package/dist/cdn/KA2DNM7C.js +4 -0
- package/dist/cdn/KBLI4F74.js +4 -0
- package/dist/cdn/KDMGA3S2.js +4 -0
- package/dist/cdn/KE2LQJ2J.js +4 -0
- package/dist/cdn/KEHBZS6G.js +4 -0
- package/dist/cdn/KEVHYFI6.js +4 -0
- package/dist/cdn/KJXFF6Q5.js +4 -0
- package/dist/cdn/KMFLB5NC.js +4 -0
- package/dist/cdn/KN67J2HK.js +4 -0
- package/dist/cdn/KNIZDHSU.js +4 -0
- package/dist/cdn/KNVEYTFO.js +4 -0
- package/dist/cdn/KPFH7Z2G.js +4 -0
- package/dist/cdn/KT7AQLTB.js +4 -0
- package/dist/cdn/KUZPTIQX.js +4 -0
- package/dist/cdn/KZEEZAUE.js +4 -0
- package/dist/cdn/KZR6WBD2.js +4 -0
- package/dist/cdn/KZZWFMFN.js +4 -0
- package/dist/cdn/L5XADYLB.js +4 -0
- package/dist/cdn/LD74LSLT.js +4 -0
- package/dist/cdn/LDCK5ULK.js +4 -0
- package/dist/cdn/LFNJRI4I.js +4 -0
- package/dist/cdn/LFZHPQFR.js +4 -0
- package/dist/cdn/LGDQM3DT.js +4 -0
- package/dist/cdn/LGLVSNST.js +42 -0
- package/dist/cdn/LIXKCNU2.js +4 -0
- package/dist/cdn/LJRUSILL.js +4 -0
- package/dist/cdn/LK76G5IO.js +4 -0
- package/dist/cdn/LKXNR4MW.js +4 -0
- package/dist/cdn/LP3AFVRO.js +4 -0
- package/dist/cdn/LWXLMK5N.js +4 -0
- package/dist/cdn/LXTOR5DM.js +4 -0
- package/dist/cdn/LZ3F5BJB.js +4 -0
- package/dist/cdn/LZ67NCEN.js +4 -0
- package/dist/cdn/M2QQEHAL.js +4 -0
- package/dist/cdn/M3OGPO4X.js +4 -0
- package/dist/cdn/M4K4CR72.js +4 -0
- package/dist/cdn/M4M2JSPK.js +4 -0
- package/dist/cdn/M6OV6DAD.js +4 -0
- package/dist/cdn/MFFDO7EU.js +4 -0
- package/dist/cdn/MGEEDXFI.js +4 -0
- package/dist/cdn/MKKWELZV.js +4 -0
- package/dist/cdn/MLWAILYY.js +4 -0
- package/dist/cdn/MMG7EWE5.js +4 -0
- package/dist/cdn/MNLWE33L.js +4 -0
- package/dist/cdn/MNWBNJKP.js +4 -0
- package/dist/cdn/MPODBFV7.js +4 -0
- package/dist/cdn/MSP2PQBZ.js +4 -0
- package/dist/cdn/MUJTXPJD.js +4 -0
- package/dist/cdn/N24MGRYL.js +4 -0
- package/dist/cdn/N2B3PJV5.js +4 -0
- package/dist/cdn/N2XEGODC.js +4 -0
- package/dist/cdn/N3QVXZSQ.js +4 -0
- package/dist/cdn/NAKV3ZFT.js +4 -0
- package/dist/cdn/NCWPJ7MN.js +4 -0
- package/dist/cdn/NDBXTSEE.js +4 -0
- package/dist/cdn/NFJ6YKFA.js +4 -0
- package/dist/cdn/NGYFQYAT.js +4 -0
- package/dist/cdn/NHEA4CXP.js +4 -0
- package/dist/cdn/NHJL7JT5.js +4 -0
- package/dist/cdn/NIUVR6SA.js +4 -0
- package/dist/cdn/NJHJN2HR.js +4 -0
- package/dist/cdn/NJLT75UU.js +4 -0
- package/dist/cdn/NJR7NGOG.js +4 -0
- package/dist/cdn/NJTMAYBO.js +4 -0
- package/dist/cdn/NJWRPOAB.js +4 -0
- package/dist/cdn/NNDOABAS.js +4 -0
- package/dist/cdn/NNKTDZU3.js +4 -0
- package/dist/cdn/NOSLRY4N.js +4 -0
- package/dist/cdn/NTFBGX5I.js +4 -0
- package/dist/cdn/NVIA7GTL.js +4 -0
- package/dist/cdn/NVXCK2SG.js +4 -0
- package/dist/cdn/NWHJHFNZ.js +4 -0
- package/dist/cdn/O3SFZO5P.js +4 -0
- package/dist/cdn/O4II2AQY.js +4 -0
- package/dist/cdn/O5DA36PA.js +4 -0
- package/dist/cdn/O6HC2T4N.js +4 -0
- package/dist/cdn/ODYOX2LR.js +4 -0
- package/dist/cdn/OE5I3APA.js +4 -0
- package/dist/cdn/OEXQWDBK.js +4 -0
- package/dist/cdn/OF43ZY2H.js +4 -0
- package/dist/cdn/OI7BJ2LB.js +4 -0
- package/dist/cdn/OKDU5LZD.js +4 -0
- package/dist/cdn/OOJXXGFN.js +4 -0
- package/dist/cdn/OQWJIMAV.js +4 -0
- package/dist/cdn/OR4MBW7D.js +4 -0
- package/dist/cdn/ORWN652T.js +4 -0
- package/dist/cdn/OUMM6VU6.js +4 -0
- package/dist/cdn/OV2KWZPO.js +4 -0
- package/dist/cdn/OWDKV6UT.js +4 -0
- package/dist/cdn/OXUVV4OH.js +4 -0
- package/dist/cdn/OZBSPSRV.js +4 -0
- package/dist/cdn/P2B7A5QJ.js +4 -0
- package/dist/cdn/P4KAQGXP.js +4 -0
- package/dist/cdn/P6E6Q5R2.js +4 -0
- package/dist/cdn/P7FMCK4T.js +4 -0
- package/dist/cdn/P7P4GDIB.js +4 -0
- package/dist/cdn/PAMWHIMT.js +4 -0
- package/dist/cdn/PBNVELZX.js +4 -0
- package/dist/cdn/PCCHI2CO.js +4 -0
- package/dist/cdn/PJN5HH3K.js +4 -0
- package/dist/cdn/PJVXPTAI.js +4 -0
- package/dist/cdn/PJZUTZMJ.js +4 -0
- package/dist/cdn/PKIHNICE.js +4 -0
- package/dist/cdn/PKP732ZJ.js +4 -0
- package/dist/cdn/PKTGLIZK.js +4 -0
- package/dist/cdn/PLFTM63P.js +4 -0
- package/dist/cdn/PLO7N5I2.js +4 -0
- package/dist/cdn/PS2IDCUQ.js +4 -0
- package/dist/cdn/PSPMYO3Y.js +4 -0
- package/dist/cdn/PTMDDGGD.js +4 -0
- package/dist/cdn/PVC4LIGO.js +4 -0
- package/dist/cdn/PVYJ5MVH.js +4 -0
- package/dist/cdn/PX23OBV7.js +4 -0
- package/dist/cdn/PXGKDSVW.js +4 -0
- package/dist/cdn/PZX4TE4A.js +4 -0
- package/dist/cdn/Q7HJGJ3V.js +5470 -0
- package/dist/cdn/QBHWQP5B.js +4 -0
- package/dist/cdn/QEHFVVUO.js +4 -0
- package/dist/cdn/QFKDEUU5.js +4 -0
- package/dist/cdn/QK22FASU.js +4 -0
- package/dist/cdn/QKFOOWQU.js +4 -0
- package/dist/cdn/QKL4WCOD.js +4 -0
- package/dist/cdn/QM5CI3BR.js +4 -0
- package/dist/cdn/QOCKZ3T2.js +4 -0
- package/dist/cdn/QWMGKPHS.js +4 -0
- package/dist/cdn/R2VL4R62.js +4 -0
- package/dist/cdn/R4ESLD5N.js +4 -0
- package/dist/cdn/RAROKTCE.js +4 -0
- package/dist/cdn/RDSGIAYE.js +59 -0
- package/dist/cdn/RF7P4DMJ.js +4 -0
- package/dist/cdn/RGDPT4KJ.js +4 -0
- package/dist/cdn/RIME2XA4.js +4 -0
- package/dist/cdn/RKSNJNJV.js +4 -0
- package/dist/cdn/RLDMOBOW.js +4 -0
- package/dist/cdn/RRILOZAY.js +4 -0
- package/dist/cdn/RSGOGQJH.js +4 -0
- package/dist/cdn/RTQGBKED.js +4 -0
- package/dist/cdn/RU7MRZUF.js +4 -0
- package/dist/cdn/RUKUS3DX.js +4 -0
- package/dist/cdn/RW5FC3ML.js +4 -0
- package/dist/cdn/RX3HFB5C.js +4 -0
- package/dist/cdn/RXROB3XB.js +4 -0
- package/dist/cdn/RZMDXUQ6.js +4 -0
- package/dist/cdn/S236FYV6.js +4 -0
- package/dist/cdn/S2VQGPSM.js +4 -0
- package/dist/cdn/S2WPVWL2.js +4 -0
- package/dist/cdn/S47BP22K.js +4 -0
- package/dist/cdn/S554MO27.js +4 -0
- package/dist/cdn/S5SEK5PR.js +4 -0
- package/dist/cdn/S6PDQ65R.js +4 -0
- package/dist/cdn/SBKFRY5F.js +4 -0
- package/dist/cdn/SDGAICEB.js +4 -0
- package/dist/cdn/SF2MZ37O.js +4 -0
- package/dist/cdn/SFZ6YHEA.js +4 -0
- package/dist/cdn/SM5Z7QDR.js +4 -0
- package/dist/cdn/SMEZPMGJ.js +4 -0
- package/dist/cdn/SRFK4E32.js +4 -0
- package/dist/cdn/SSUFZZTD.js +4 -0
- package/dist/cdn/SUHFKC4O.js +4 -0
- package/dist/cdn/SW7LHODP.js +4 -0
- package/dist/cdn/SZET6KXU.js +4 -0
- package/dist/cdn/T2XS4TJH.js +4 -0
- package/dist/cdn/T3GNPCQW.js +4 -0
- package/dist/cdn/T5GXIUN2.js +4 -0
- package/dist/cdn/T62RBLEM.js +4 -0
- package/dist/cdn/TD5WMF5R.js +4 -0
- package/dist/cdn/TDKXL3EO.js +4 -0
- package/dist/cdn/TENN5HCS.js +4 -0
- package/dist/cdn/TF3F4EC4.js +4 -0
- package/dist/cdn/TG3GNE2E.js +4 -0
- package/dist/cdn/TG4NDJ3M.js +4 -0
- package/dist/cdn/TJGNMJP5.js +4 -0
- package/dist/cdn/TODZUHM7.js +11 -0
- package/dist/cdn/TQWULBF5.js +4 -0
- package/dist/cdn/TRLPVGC2.js +4 -0
- package/dist/cdn/TWHVWBF4.js +4 -0
- package/dist/cdn/TXE7MFX7.js +4 -0
- package/dist/cdn/TZENYTQF.js +4 -0
- package/dist/cdn/U3SUHFIQ.js +4 -0
- package/dist/cdn/U4ROPPMI.js +4 -0
- package/dist/cdn/UBBYNAIH.js +4 -0
- package/dist/cdn/UCJBU4RZ.js +5 -0
- package/dist/cdn/UDYIUKVI.js +4 -0
- package/dist/cdn/UH36XPO5.js +4 -0
- package/dist/cdn/UJDBTYNR.js +4 -0
- package/dist/cdn/UJXMB6VE.js +4 -0
- package/dist/cdn/UKD2VMDC.js +4 -0
- package/dist/cdn/ULMPEL23.js +4 -0
- package/dist/cdn/UNVG3JLG.js +4 -0
- package/dist/cdn/UQB4FC66.js +4 -0
- package/dist/cdn/UQIRP2VS.js +4 -0
- package/dist/cdn/URJPABPO.js +4 -0
- package/dist/cdn/URRU4GI5.js +4 -0
- package/dist/cdn/UTPWSKHM.js +4 -0
- package/dist/cdn/UUPTNTAA.js +4 -0
- package/dist/cdn/UVVFZM3S.js +5 -0
- package/dist/cdn/UZVQM4SS.js +4 -0
- package/dist/cdn/V27EQQPT.js +4 -0
- package/dist/cdn/V5INLOEQ.js +4 -0
- package/dist/cdn/V6FXOQ62.js +4 -0
- package/dist/cdn/V6IPPQU4.js +4 -0
- package/dist/cdn/V7HU2SLS.js +4 -0
- package/dist/cdn/VALNVCA3.js +4 -0
- package/dist/cdn/VAZHEEPH.js +4 -0
- package/dist/cdn/VB6QQUVX.js +4 -0
- package/dist/cdn/VBJC5CYC.js +4 -0
- package/dist/cdn/VCP4PWJR.js +4 -0
- package/dist/cdn/VGVS665S.js +4 -0
- package/dist/cdn/VH2TULPG.js +52 -0
- package/dist/cdn/VH7FO7SJ.js +4 -0
- package/dist/cdn/VHCT4E5J.js +4 -0
- package/dist/cdn/VKE55CPN.js +4 -0
- package/dist/cdn/VLA6T4K4.js +4 -0
- package/dist/cdn/VLHMCPTM.js +4 -0
- package/dist/cdn/VR64O6RL.js +4 -0
- package/dist/cdn/VRDA4XRH.js +4 -0
- package/dist/cdn/VRU2J6YF.js +4 -0
- package/dist/cdn/VTNURIRR.js +4 -0
- package/dist/cdn/VUED5PP6.js +4 -0
- package/dist/cdn/VUENPWQO.js +12 -0
- package/dist/cdn/VV2ISAPJ.js +4 -0
- package/dist/cdn/VXILYM2C.js +4 -0
- package/dist/cdn/VYOOLZ6S.js +4 -0
- package/dist/cdn/W4BD26BK.js +4 -0
- package/dist/cdn/WCFMOMBH.js +4 -0
- package/dist/cdn/WCJUMDO5.js +4 -0
- package/dist/cdn/WDK4CDYB.js +4 -0
- package/dist/cdn/WJK7VCLR.js +4 -0
- package/dist/cdn/WKALU32X.js +41 -0
- package/dist/cdn/WO7FG3QY.js +4 -0
- package/dist/cdn/WSNGTTJA.js +4 -0
- package/dist/cdn/WT4NWR7S.js +4 -0
- package/dist/cdn/WTSAPSRG.js +4 -0
- package/dist/cdn/WTW4HQDW.js +4 -0
- package/dist/cdn/WTX6225J.js +4 -0
- package/dist/cdn/WV2L7ALV.js +4 -0
- package/dist/cdn/WWC5VVF4.js +4 -0
- package/dist/cdn/X2WPWCWN.js +4 -0
- package/dist/cdn/X3F7VKXZ.js +4 -0
- package/dist/cdn/X3O44FNX.js +4 -0
- package/dist/cdn/X5KWR6PT.js +4 -0
- package/dist/cdn/XAOH3KDW.js +4 -0
- package/dist/cdn/XAYLKQAC.js +4 -0
- package/dist/cdn/XCDMEJPF.js +4 -0
- package/dist/cdn/XCRZY4GL.js +4 -0
- package/dist/cdn/XD5MCXKV.js +4 -0
- package/dist/cdn/XEHGE6PJ.js +4 -0
- package/dist/cdn/XEWBBVXB.js +4 -0
- package/dist/cdn/XGRBJ3AA.js +4 -0
- package/dist/cdn/XIJRV2OS.js +4 -0
- package/dist/cdn/XJTTTSOH.js +4 -0
- package/dist/cdn/XKBUV6Y3.js +4 -0
- package/dist/cdn/XN6NTLPK.js +4 -0
- package/dist/cdn/XRI6YXLM.js +4 -0
- package/dist/cdn/XRICSV66.js +4 -0
- package/dist/cdn/XS3DVNW4.js +4 -0
- package/dist/cdn/XTOE5LD2.js +4 -0
- package/dist/cdn/XTOSCCMN.js +4 -0
- package/dist/cdn/XTZH6QBV.js +4 -0
- package/dist/cdn/XXAVDH5Y.js +12 -0
- package/dist/cdn/XXL42TR2.js +4 -0
- package/dist/cdn/XY7HGY2O.js +4 -0
- package/dist/cdn/XYZCSM4Z.js +4 -0
- package/dist/cdn/Y3NVZGKE.js +4 -0
- package/dist/cdn/Y5ZO5S6U.js +4 -0
- package/dist/cdn/Y7EPXUAR.js +4 -0
- package/dist/cdn/Y7L3N5EB.js +4 -0
- package/dist/cdn/Y7LE7IDP.js +4 -0
- package/dist/cdn/Y7PCVFZ5.js +4 -0
- package/dist/cdn/YCMTMCVB.js +4 -0
- package/dist/cdn/YIYQV2IM.js +4 -0
- package/dist/cdn/YJLRXCUG.js +4 -0
- package/dist/cdn/YLHIQ7WU.js +4 -0
- package/dist/cdn/YOMYP2IA.js +4 -0
- package/dist/cdn/YOZY2GMO.js +4 -0
- package/dist/cdn/YQP3DLMX.js +4 -0
- package/dist/cdn/YRRMNMCL.js +4 -0
- package/dist/cdn/YSTEVXNT.js +5 -0
- package/dist/cdn/YUKUNY7E.js +4 -0
- package/dist/cdn/YWMQLTDK.js +4 -0
- package/dist/cdn/YX7MIP22.js +4 -0
- package/dist/cdn/YXCOHJG2.js +4 -0
- package/dist/cdn/YYSWG5U6.js +4 -0
- package/dist/cdn/Z2W3L6DT.js +4 -0
- package/dist/cdn/Z4RGFGKS.js +4 -0
- package/dist/cdn/Z5HS7PSF.js +4 -0
- package/dist/cdn/Z77PHJ5J.js +4 -0
- package/dist/cdn/ZAH726N7.js +4 -0
- package/dist/cdn/ZCOJLAHL.js +4 -0
- package/dist/cdn/ZFCFZS6E.js +4 -0
- package/dist/cdn/ZGNXLAYX.js +4 -0
- package/dist/cdn/ZH6TUOKM.js +4 -0
- package/dist/cdn/ZHQPHAMK.js +4 -0
- package/dist/cdn/ZJYUP4R4.js +4 -0
- package/dist/cdn/ZKZXTYRB.js +4 -0
- package/dist/cdn/ZNEEVP6J.js +4 -0
- package/dist/cdn/ZRV2D5ZI.js +4 -0
- package/dist/cdn/ZVEHBXLB.js +4 -0
- package/dist/cdn/ZXA2VV4D.js +4 -0
- package/dist/cdn/ZZ3SQ4HG.js +4 -0
- package/dist/cdn/ZZJB7ZKL.js +4 -0
- package/dist/cdn/ZZWU3QFX.js +4 -0
- package/dist/cdn/assets/hub-entity-view-layout/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/layout-container/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/chat-action.js +2 -2
- package/dist/chunks/findColumnAndNodeIndex.js +2 -2
- package/dist/chunks/getResponsiveClasses.js +2 -2
- package/dist/chunks/interpolate-translations.js +2 -2
- package/dist/chunks/isNodeVisible.js +2 -2
- package/dist/chunks/memoizeAsync.js +2 -2
- package/dist/chunks/migrateTextCard.js +2 -2
- package/dist/chunks/processLayout.js +2 -2
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/state.js +2 -2
- package/dist/chunks/typeGuards.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/util.js +2 -2
- package/dist/components/arcgis-chat-shell/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/customElement.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.js +2 -2
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +30 -0
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +750 -0
- package/dist/components/arcgis-hub-entity-view-layout/index.d.ts +4 -0
- package/dist/components/arcgis-hub-entity-view-layout/index.js +4 -0
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultEntityLayout.d.ts +5 -0
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultProjectLayout.d.ts +5 -0
- package/dist/components/arcgis-hub-entity-view-layout/utils/buildLayoutFromEntityView.d.ts +6 -0
- package/dist/components/arcgis-layout/customElement.js +2 -2
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.d.ts +2 -2
- package/dist/components/arcgis-layout-container/customElement.js +242 -226
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-highlight/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-overlay/customElement.js +2 -2
- package/dist/components/arcgis-layout-row/customElement.js +2 -2
- package/dist/components/arcgis-layout-section/customElement.js +2 -2
- package/dist/components/arcgis-nav-card/customElement.js +2 -2
- package/dist/components/arcgis-text-card/customElement.js +2 -2
- package/dist/components/layouts/components/layout-node/customElement.js +2 -2
- package/dist/docs/api.json +250 -18
- package/dist/docs/docs.json +235 -19
- package/dist/docs/vscode.html-custom-data.json +12 -0
- package/dist/docs/web-types.json +55 -3
- package/dist/embed-config.js +2 -2
- package/dist/index.d.ts +20 -0
- package/dist/index.js +2 -2
- package/dist/loader.js +3 -2
- package/dist/types/lumina.d.ts +7 -0
- package/dist/types/preact.d.ts +8 -0
- package/dist/types/react.d.ts +9 -0
- package/dist/types/stencil.d.ts +7 -0
- package/package.json +2 -2
- package/dist/cdn/24KMXP4I.js +0 -4
- package/dist/cdn/267N6L6X.js +0 -4
- package/dist/cdn/27VSUTSU.js +0 -4
- package/dist/cdn/2BF52UAW.js +0 -4
- package/dist/cdn/2CBEBWF5.js +0 -4
- package/dist/cdn/2CNPF4SK.js +0 -4
- package/dist/cdn/2EQ2B7P6.js +0 -4
- package/dist/cdn/2HWRJ4SL.js +0 -4
- package/dist/cdn/2ID4SFGZ.js +0 -4
- package/dist/cdn/2LQH76SG.js +0 -4
- package/dist/cdn/2LW2HCSW.js +0 -4
- package/dist/cdn/2OM32RK2.js +0 -4
- package/dist/cdn/2OP3Q4HB.js +0 -4
- package/dist/cdn/2PRFRPP4.js +0 -41
- package/dist/cdn/2QTCZZMO.js +0 -4
- package/dist/cdn/2XHXDDWV.js +0 -4
- package/dist/cdn/324BCWPW.js +0 -4
- package/dist/cdn/32R4CNRQ.js +0 -4
- package/dist/cdn/334CKCLK.js +0 -4
- package/dist/cdn/36KB2AO6.js +0 -4
- package/dist/cdn/37WCO52K.js +0 -4
- package/dist/cdn/3A7FEH6P.js +0 -4
- package/dist/cdn/3DZZE24B.js +0 -4
- package/dist/cdn/3FATQSUX.js +0 -8
- package/dist/cdn/3JJ6ZRHY.js +0 -4
- package/dist/cdn/3QKBVZRW.js +0 -4
- package/dist/cdn/3R65O7KN.js +0 -4
- package/dist/cdn/3TFMDV5D.js +0 -4
- package/dist/cdn/3VPUIQKV.js +0 -4
- package/dist/cdn/3XFFA4JU.js +0 -4
- package/dist/cdn/427R3VIQ.js +0 -4
- package/dist/cdn/43VT2JJO.js +0 -4
- package/dist/cdn/47BCMNP6.js +0 -4
- package/dist/cdn/4G7MCIBN.js +0 -4
- package/dist/cdn/4IUA72J6.js +0 -4
- package/dist/cdn/4IZMXONL.js +0 -4
- package/dist/cdn/4LE6LVCB.js +0 -4
- package/dist/cdn/4MAXWZYT.js +0 -4
- package/dist/cdn/4MMEFX4G.js +0 -4
- package/dist/cdn/4MQ5OLLW.js +0 -4
- package/dist/cdn/4PPBOGSP.js +0 -4
- package/dist/cdn/4PVEIN7J.js +0 -4
- package/dist/cdn/4TTPCKNH.js +0 -4
- package/dist/cdn/4U7PEIIQ.js +0 -4
- package/dist/cdn/4V6KUDL5.js +0 -4
- package/dist/cdn/4WZGB2NK.js +0 -4
- package/dist/cdn/4X5Z5PB5.js +0 -4
- package/dist/cdn/4XBF2OPC.js +0 -4
- package/dist/cdn/4YPGXLE6.js +0 -4
- package/dist/cdn/4YWAVBKA.js +0 -4
- package/dist/cdn/54RXA63R.js +0 -4
- package/dist/cdn/56XJXANG.js +0 -4
- package/dist/cdn/5AGT4CJC.js +0 -4
- package/dist/cdn/5BGSBARZ.js +0 -4
- package/dist/cdn/5BWJ7O53.js +0 -4
- package/dist/cdn/5E2TECXB.js +0 -16
- package/dist/cdn/5EWXX2L5.js +0 -4
- package/dist/cdn/5GRQA7QJ.js +0 -4
- package/dist/cdn/5HTU5Q3O.js +0 -4
- package/dist/cdn/5MB7E7F4.js +0 -4
- package/dist/cdn/5PQKXF2L.js +0 -4
- package/dist/cdn/5RTP6AM5.js +0 -4
- package/dist/cdn/5TDFLF22.js +0 -4
- package/dist/cdn/5UR6S2PU.js +0 -4
- package/dist/cdn/5ZKQRSWO.js +0 -4
- package/dist/cdn/5ZTD45PG.js +0 -4
- package/dist/cdn/62WNGOAH.js +0 -4
- package/dist/cdn/62YJRMYP.js +0 -4
- package/dist/cdn/6A3RS5OM.js +0 -4
- package/dist/cdn/6BCOZX2Z.js +0 -4
- package/dist/cdn/6BJSJ43U.js +0 -4
- package/dist/cdn/6FG3MU7Y.js +0 -4
- package/dist/cdn/6FQ25VWB.js +0 -4
- package/dist/cdn/6HQOEKLI.js +0 -4
- package/dist/cdn/6NZG7TCM.js +0 -4
- package/dist/cdn/6PPLM7IX.js +0 -4
- package/dist/cdn/6QPTCZWW.js +0 -4
- package/dist/cdn/6S5DJPGT.js +0 -4
- package/dist/cdn/6TIOBAKE.js +0 -4
- package/dist/cdn/6UDOQ4Q2.js +0 -4
- package/dist/cdn/6UDTOTBB.js +0 -4
- package/dist/cdn/6YVDRMYG.js +0 -4
- package/dist/cdn/6ZOBMPXD.js +0 -4
- package/dist/cdn/733UNFNH.js +0 -4
- package/dist/cdn/756PDAZN.js +0 -4
- package/dist/cdn/7AMA2Q64.js +0 -4
- package/dist/cdn/7CFVCSBZ.js +0 -4
- package/dist/cdn/7DDGHWHM.js +0 -4
- package/dist/cdn/7EFJCLP5.js +0 -4
- package/dist/cdn/7FFF6LV7.js +0 -12
- package/dist/cdn/7G6SMWK3.js +0 -5
- package/dist/cdn/7IRDONN2.js +0 -4
- package/dist/cdn/7IT2KUV6.js +0 -4
- package/dist/cdn/7K4IRSL6.js +0 -4
- package/dist/cdn/7LA6WM6M.js +0 -4
- package/dist/cdn/7M6P6TPZ.js +0 -4
- package/dist/cdn/7MHEK7BA.js +0 -4
- package/dist/cdn/7OS2HNZ2.js +0 -4
- package/dist/cdn/7QEKP6OF.js +0 -4
- package/dist/cdn/7Y6SAX3M.js +0 -4
- package/dist/cdn/A4ZV6KS3.js +0 -4
- package/dist/cdn/A66OLP3X.js +0 -4
- package/dist/cdn/A6N7EOPS.js +0 -4
- package/dist/cdn/A6VCL6N6.js +0 -4
- package/dist/cdn/ACCGPCXB.js +0 -4
- package/dist/cdn/AFEUAMCQ.js +0 -4
- package/dist/cdn/AHBBQGHB.js +0 -4
- package/dist/cdn/AHLIMMQG.js +0 -4
- package/dist/cdn/AHXF6YSG.js +0 -4
- package/dist/cdn/AKACX3KT.js +0 -4
- package/dist/cdn/AL5SXB3M.js +0 -4
- package/dist/cdn/ALDAEPN2.js +0 -4
- package/dist/cdn/ALJF2W7R.js +0 -4
- package/dist/cdn/AMB64GFT.js +0 -4
- package/dist/cdn/AMURYRPJ.js +0 -4
- package/dist/cdn/ANEKUYJW.js +0 -4
- package/dist/cdn/APC3FKXJ.js +0 -4
- package/dist/cdn/APZ7IGWA.js +0 -4
- package/dist/cdn/AQKVSGXU.js +0 -4
- package/dist/cdn/AR2QBZDV.js +0 -4
- package/dist/cdn/AR3I2WAU.js +0 -4
- package/dist/cdn/AT7H5XHG.js +0 -4
- package/dist/cdn/ATSFB7TB.js +0 -4
- package/dist/cdn/AU7X6WZS.js +0 -4
- package/dist/cdn/AWGMRBPF.js +0 -4
- package/dist/cdn/B2OJXLMP.js +0 -4
- package/dist/cdn/B2RL3VSA.js +0 -4
- package/dist/cdn/B2TJQ4RK.js +0 -4
- package/dist/cdn/BF4YBJRW.js +0 -4
- package/dist/cdn/BFG3J6WN.js +0 -4
- package/dist/cdn/BH4EBTF3.js +0 -4
- package/dist/cdn/BI4SDDYR.js +0 -4
- package/dist/cdn/BJ4GCSFY.js +0 -4
- package/dist/cdn/BJH7TI4C.js +0 -4
- package/dist/cdn/BJZ6UCNI.js +0 -4
- package/dist/cdn/BLIDKORX.js +0 -4
- package/dist/cdn/BLRK2W7H.js +0 -4
- package/dist/cdn/BQ2S3FT2.js +0 -4
- package/dist/cdn/BS7VOH24.js +0 -4
- package/dist/cdn/BSEMZ2VG.js +0 -4
- package/dist/cdn/BTDRHZDQ.js +0 -4
- package/dist/cdn/BUD7NETS.js +0 -4
- package/dist/cdn/BUQYXN6R.js +0 -4
- package/dist/cdn/BUWHSS7N.js +0 -4
- package/dist/cdn/BV6AN5QI.js +0 -4
- package/dist/cdn/BV6PDVXQ.js +0 -4
- package/dist/cdn/BXHJSKYQ.js +0 -4
- package/dist/cdn/C26EMMAL.js +0 -4
- package/dist/cdn/C4GGI5SJ.js +0 -4
- package/dist/cdn/C6XFBCXQ.js +0 -4
- package/dist/cdn/C6ZNQ3ZO.js +0 -4
- package/dist/cdn/CEBJVHNF.js +0 -4
- package/dist/cdn/CEC336S7.js +0 -4
- package/dist/cdn/CEPTMQJU.js +0 -4
- package/dist/cdn/CHK4RI76.js +0 -4
- package/dist/cdn/CLTBAPBT.js +0 -4
- package/dist/cdn/CMJ3OOVT.js +0 -4
- package/dist/cdn/COE4HQ6X.js +0 -9
- package/dist/cdn/CPV7OJYT.js +0 -4
- package/dist/cdn/CQ2SNZGU.js +0 -4
- package/dist/cdn/CQRCQ4GF.js +0 -4
- package/dist/cdn/CR3PBRGM.js +0 -4
- package/dist/cdn/CR7RVDL3.js +0 -4
- package/dist/cdn/CWFNQSWF.js +0 -4
- package/dist/cdn/CWRO723I.js +0 -4
- package/dist/cdn/CXCMWTGA.js +0 -59
- package/dist/cdn/CXWY2H2Z.js +0 -4
- package/dist/cdn/D6662WYN.js +0 -4
- package/dist/cdn/D76CWOHT.js +0 -4
- package/dist/cdn/DAAAFN6X.js +0 -4
- package/dist/cdn/DAGUU6GC.js +0 -4
- package/dist/cdn/DAXND7BP.js +0 -4
- package/dist/cdn/DBW2QUG2.js +0 -4
- package/dist/cdn/DJN7XTKD.js +0 -4
- package/dist/cdn/DJQEYYGH.js +0 -4
- package/dist/cdn/DJZV7RKA.js +0 -4
- package/dist/cdn/DK4XWKLW.js +0 -4
- package/dist/cdn/DKZUDL6Y.js +0 -4
- package/dist/cdn/DMIAKVEW.js +0 -4
- package/dist/cdn/DOONIRFZ.js +0 -4
- package/dist/cdn/DPLMWLXR.js +0 -4
- package/dist/cdn/DTBKLF7F.js +0 -4
- package/dist/cdn/DTCCRGBZ.js +0 -4
- package/dist/cdn/DUCUHTFB.js +0 -4
- package/dist/cdn/DYO5ZNIJ.js +0 -4
- package/dist/cdn/E4HLEF7F.js +0 -4
- package/dist/cdn/E4OEK3YW.js +0 -4
- package/dist/cdn/E57ALNQB.js +0 -4
- package/dist/cdn/E5ONAMNY.js +0 -4
- package/dist/cdn/E6KLQKUH.js +0 -4
- package/dist/cdn/ECQ7Z3U3.js +0 -4
- package/dist/cdn/ED3ZFEBH.js +0 -4
- package/dist/cdn/EEW7WUO3.js +0 -4
- package/dist/cdn/EJGC4AZZ.js +0 -4
- package/dist/cdn/EK346N6J.js +0 -4
- package/dist/cdn/EK3YSO5Q.js +0 -4
- package/dist/cdn/EORC4C76.js +0 -4
- package/dist/cdn/EQHKZBJH.js +0 -4
- package/dist/cdn/ESOTMTGL.js +0 -4
- package/dist/cdn/ESXZP4GO.js +0 -4
- package/dist/cdn/EZV77H7X.js +0 -4
- package/dist/cdn/F2YBYKWL.js +0 -4
- package/dist/cdn/F3FNAXJQ.js +0 -4
- package/dist/cdn/F4ZFOLWK.js +0 -4
- package/dist/cdn/F6F6RIPA.js +0 -4
- package/dist/cdn/FCBCRW27.js +0 -4
- package/dist/cdn/FDPXHV5X.js +0 -4
- package/dist/cdn/FE5PGSZ5.js +0 -4
- package/dist/cdn/FERYZAMQ.js +0 -4
- package/dist/cdn/FGASGG3Y.js +0 -4
- package/dist/cdn/FGEUEGEN.js +0 -4
- package/dist/cdn/FGMTRSHC.js +0 -4
- package/dist/cdn/FHVT5GRF.js +0 -4
- package/dist/cdn/FJJKK2CU.js +0 -4
- package/dist/cdn/FM7TQIA6.js +0 -4
- package/dist/cdn/FQIACWJN.js +0 -4
- package/dist/cdn/FRZODVNW.js +0 -4
- package/dist/cdn/FTFPTUCK.js +0 -4
- package/dist/cdn/FTK2OKZM.js +0 -4
- package/dist/cdn/FUDGSWTG.js +0 -4
- package/dist/cdn/FUPQE2BA.js +0 -4
- package/dist/cdn/FVJYUVOO.js +0 -4
- package/dist/cdn/FYTTVAWM.js +0 -4
- package/dist/cdn/FZSJ7BD5.js +0 -4
- package/dist/cdn/FZYFFAXU.js +0 -4
- package/dist/cdn/G32YMATD.js +0 -4
- package/dist/cdn/G4SXBKQD.js +0 -4
- package/dist/cdn/G5ZXSHYL.js +0 -4
- package/dist/cdn/G6ITOLWZ.js +0 -4
- package/dist/cdn/G6L76XMD.js +0 -4
- package/dist/cdn/G7HJ5QBD.js +0 -4
- package/dist/cdn/GAQ4RMKZ.js +0 -4
- package/dist/cdn/GAXAV42G.js +0 -4
- package/dist/cdn/GCF4OWTM.js +0 -4
- package/dist/cdn/GDMHO77C.js +0 -4
- package/dist/cdn/GDQMA4DE.js +0 -4
- package/dist/cdn/GEEPRGR6.js +0 -4
- package/dist/cdn/GFUXSTUB.js +0 -4
- package/dist/cdn/GIQEM734.js +0 -4
- package/dist/cdn/GM6UNEYN.js +0 -4
- package/dist/cdn/GN5HRWFB.js +0 -4
- package/dist/cdn/GR2OHGMC.js +0 -4
- package/dist/cdn/GRS2QY5P.js +0 -4
- package/dist/cdn/GT6EOGZ6.js +0 -4
- package/dist/cdn/GTMK6V3D.js +0 -4
- package/dist/cdn/GVYPUT35.js +0 -4
- package/dist/cdn/GXJ5IYOR.js +0 -4
- package/dist/cdn/GZQAKLMC.js +0 -4
- package/dist/cdn/HAAU7WZM.js +0 -4
- package/dist/cdn/HB2PSUPM.js +0 -4
- package/dist/cdn/HDSFF3HE.js +0 -4
- package/dist/cdn/HE3LPKXN.js +0 -4
- package/dist/cdn/HE64BTSE.js +0 -24
- package/dist/cdn/HEDI53ZP.js +0 -4
- package/dist/cdn/HFLG5MNS.js +0 -4
- package/dist/cdn/HGA765MZ.js +0 -4
- package/dist/cdn/HGF7Z3Q3.js +0 -4
- package/dist/cdn/HKZXITBL.js +0 -4
- package/dist/cdn/HLU7RYHB.js +0 -4
- package/dist/cdn/HNFPSS2Z.js +0 -4
- package/dist/cdn/HOM37WQ7.js +0 -4
- package/dist/cdn/HPLFHJIO.js +0 -4
- package/dist/cdn/HPQ65HIO.js +0 -4
- package/dist/cdn/HQJXTN2U.js +0 -4
- package/dist/cdn/HRBTKCMD.js +0 -4
- package/dist/cdn/HVFZEFND.js +0 -4
- package/dist/cdn/HXUXRESK.js +0 -4
- package/dist/cdn/HZRALMSV.js +0 -4
- package/dist/cdn/I2F5WKXP.js +0 -4
- package/dist/cdn/I3BQL42N.js +0 -4
- package/dist/cdn/I5GKMCYE.js +0 -4
- package/dist/cdn/IC5LPJNT.js +0 -4
- package/dist/cdn/IDNRCBY2.js +0 -4
- package/dist/cdn/IDYCU7FH.js +0 -4
- package/dist/cdn/IFYWDQ3J.js +0 -4
- package/dist/cdn/IG2PFI7K.js +0 -4
- package/dist/cdn/IKYXVEGO.js +0 -4
- package/dist/cdn/IN4MCADQ.js +0 -4
- package/dist/cdn/INQBROVF.js +0 -4
- package/dist/cdn/ISNKBJWW.js +0 -4
- package/dist/cdn/IXAK7Z2P.js +0 -4
- package/dist/cdn/IYGW2YE3.js +0 -4
- package/dist/cdn/IYLM4C2F.js +0 -4
- package/dist/cdn/IZDJZD2I.js +0 -4
- package/dist/cdn/J2TYBEQW.js +0 -4
- package/dist/cdn/J3ZUSQWQ.js +0 -4
- package/dist/cdn/J65UH5J4.js +0 -4
- package/dist/cdn/JAH2RPVW.js +0 -4
- package/dist/cdn/JAQHN4NY.js +0 -4
- package/dist/cdn/JBRHOESO.js +0 -4
- package/dist/cdn/JC6AY56X.js +0 -4
- package/dist/cdn/JCWZZZUV.js +0 -4
- package/dist/cdn/JD3NAYYF.js +0 -4
- package/dist/cdn/JDMTYYCY.js +0 -4
- package/dist/cdn/JDX3ODLS.js +0 -4
- package/dist/cdn/JETJYM7G.js +0 -4
- package/dist/cdn/JJ6FTGZD.js +0 -4
- package/dist/cdn/JKUJ7OGC.js +0 -4
- package/dist/cdn/JLHZFM76.js +0 -4
- package/dist/cdn/JMADCRIS.js +0 -4
- package/dist/cdn/JN4QVSMG.js +0 -4
- package/dist/cdn/JOH5LRK2.js +0 -4
- package/dist/cdn/JQRYRCLI.js +0 -4
- package/dist/cdn/JRCNOS6K.js +0 -4
- package/dist/cdn/JREAHG7G.js +0 -4
- package/dist/cdn/JSW2O6ZC.js +0 -4
- package/dist/cdn/JT6MIKEJ.js +0 -4
- package/dist/cdn/JVA2SONC.js +0 -4
- package/dist/cdn/JXPBIZWF.js +0 -4
- package/dist/cdn/JYVYSEAT.js +0 -4
- package/dist/cdn/K4JZILP6.js +0 -4
- package/dist/cdn/K7U6PRIW.js +0 -4
- package/dist/cdn/KBCB7BAO.js +0 -4
- package/dist/cdn/KCDBJ4EF.js +0 -4
- package/dist/cdn/KCSUMLMP.js +0 -4
- package/dist/cdn/KDYEX3F3.js +0 -4
- package/dist/cdn/KFYG3U5M.js +0 -4
- package/dist/cdn/KHWQGN4R.js +0 -4
- package/dist/cdn/KHWYOLZI.js +0 -4
- package/dist/cdn/KI7GTQTI.js +0 -4
- package/dist/cdn/KJU3E5BQ.js +0 -4
- package/dist/cdn/KK7UNEKI.js +0 -4
- package/dist/cdn/KOSGSP4E.js +0 -4
- package/dist/cdn/KPFDSLLN.js +0 -4
- package/dist/cdn/KQM37P5U.js +0 -4
- package/dist/cdn/KSWF42JR.js +0 -4
- package/dist/cdn/KURDIWVF.js +0 -4
- package/dist/cdn/KV3ZC75C.js +0 -4
- package/dist/cdn/KVKG22QT.js +0 -4
- package/dist/cdn/KVQ3QO67.js +0 -4
- package/dist/cdn/KZSNJXWX.js +0 -4
- package/dist/cdn/L2YVHBHP.js +0 -4
- package/dist/cdn/LDMYJMMH.js +0 -4
- package/dist/cdn/LELGX2WF.js +0 -4
- package/dist/cdn/LEU3GGT4.js +0 -4
- package/dist/cdn/LFWI5JTF.js +0 -5
- package/dist/cdn/LFYUYU4T.js +0 -4
- package/dist/cdn/LH7TVEZQ.js +0 -4
- package/dist/cdn/LQHAWZKR.js +0 -4
- package/dist/cdn/LSQUEXFK.js +0 -4
- package/dist/cdn/LV3HMIG5.js +0 -4
- package/dist/cdn/LVGINBTG.js +0 -4
- package/dist/cdn/LVNGRVJ5.js +0 -4
- package/dist/cdn/LVO7QKGM.js +0 -4
- package/dist/cdn/LW24KSYA.js +0 -4
- package/dist/cdn/LZOI57YJ.js +0 -4
- package/dist/cdn/M256XJVZ.js +0 -25
- package/dist/cdn/M3EYEAC3.js +0 -4
- package/dist/cdn/M3XCVCVC.js +0 -4
- package/dist/cdn/M45HHS5X.js +0 -4
- package/dist/cdn/M4DURUI7.js +0 -4
- package/dist/cdn/M4UARHCS.js +0 -4
- package/dist/cdn/M5J43RIM.js +0 -6
- package/dist/cdn/M5NDY5DI.js +0 -4
- package/dist/cdn/M5YDGYZN.js +0 -4
- package/dist/cdn/M7V37HD4.js +0 -4
- package/dist/cdn/M7X3G7KX.js +0 -4
- package/dist/cdn/MA23ELHD.js +0 -4
- package/dist/cdn/MAAQMYUH.js +0 -4
- package/dist/cdn/MAWWQZXT.js +0 -4
- package/dist/cdn/MGJKZYQZ.js +0 -4
- package/dist/cdn/MKDWF3OX.js +0 -4
- package/dist/cdn/MKZDOEVY.js +0 -4
- package/dist/cdn/MM2AFQVF.js +0 -4
- package/dist/cdn/MMARV4P4.js +0 -4
- package/dist/cdn/MNGNK6JH.js +0 -4
- package/dist/cdn/MNVDHKHE.js +0 -4
- package/dist/cdn/MPMIBVEG.js +0 -4
- package/dist/cdn/MQDVHZLU.js +0 -4
- package/dist/cdn/MQGYE7FD.js +0 -4
- package/dist/cdn/MQYKJBHS.js +0 -4
- package/dist/cdn/MUKIXIKE.js +0 -4
- package/dist/cdn/MVFMFNMC.js +0 -4
- package/dist/cdn/MWMXQKOQ.js +0 -4
- package/dist/cdn/MWY2NW2E.js +0 -4
- package/dist/cdn/MXVDKYBT.js +0 -4
- package/dist/cdn/MYH6IKRB.js +0 -4
- package/dist/cdn/N2CQG2XK.js +0 -4
- package/dist/cdn/N4WWU5Z6.js +0 -42
- package/dist/cdn/N5IW63ME.js +0 -4
- package/dist/cdn/N62T4OHX.js +0 -4
- package/dist/cdn/N76L3ROP.js +0 -4
- package/dist/cdn/NAZGNXHX.js +0 -4
- package/dist/cdn/NCZKWAIJ.js +0 -4
- package/dist/cdn/NDAE2ZK7.js +0 -4
- package/dist/cdn/NFRMAIOS.js +0 -4
- package/dist/cdn/NKCQ7ZYZ.js +0 -59
- package/dist/cdn/NLD63X4Z.js +0 -4
- package/dist/cdn/NMBX7J7U.js +0 -4
- package/dist/cdn/NN56OLRV.js +0 -4
- package/dist/cdn/NN5QDF3E.js +0 -4
- package/dist/cdn/NO6VPADI.js +0 -4
- package/dist/cdn/NON77NUA.js +0 -4
- package/dist/cdn/NP3WV2F3.js +0 -4
- package/dist/cdn/NPI4TWSD.js +0 -4
- package/dist/cdn/NPPLJVFM.js +0 -4
- package/dist/cdn/NQVWTUJJ.js +0 -4
- package/dist/cdn/NRJTNGWF.js +0 -4
- package/dist/cdn/NTDOQHM6.js +0 -4
- package/dist/cdn/NTV2WNES.js +0 -4
- package/dist/cdn/NV3HRRKB.js +0 -4
- package/dist/cdn/NW2BWMRM.js +0 -6
- package/dist/cdn/NWXU22BU.js +0 -4
- package/dist/cdn/NXRZUMI6.js +0 -4
- package/dist/cdn/O22E2NZX.js +0 -4
- package/dist/cdn/O2CL6PM3.js +0 -4
- package/dist/cdn/O2KRQLO5.js +0 -4
- package/dist/cdn/O3NWDBJH.js +0 -4
- package/dist/cdn/O3XH6PXT.js +0 -4
- package/dist/cdn/O4EGGNQD.js +0 -4
- package/dist/cdn/O53D7LHU.js +0 -6
- package/dist/cdn/O64R5HQE.js +0 -4
- package/dist/cdn/O7XEU7PF.js +0 -4
- package/dist/cdn/OBQCWAK5.js +0 -4
- package/dist/cdn/ODDQRRM6.js +0 -4
- package/dist/cdn/OG45V4AI.js +0 -4
- package/dist/cdn/OG5MDHVQ.js +0 -4
- package/dist/cdn/OGE7Y7BD.js +0 -5
- package/dist/cdn/OHYC5RIK.js +0 -4
- package/dist/cdn/OL7TAMJQ.js +0 -4
- package/dist/cdn/OLNWAUFY.js +0 -4
- package/dist/cdn/OMUFRDK7.js +0 -4
- package/dist/cdn/ONP2PVQL.js +0 -4
- package/dist/cdn/ONUNYMFO.js +0 -4
- package/dist/cdn/OOIFCVLU.js +0 -4
- package/dist/cdn/OQDPADD7.js +0 -4
- package/dist/cdn/OSCH4J7P.js +0 -4
- package/dist/cdn/OTPEYT3W.js +0 -4
- package/dist/cdn/OTYLST6R.js +0 -4
- package/dist/cdn/OTZFAGQX.js +0 -4
- package/dist/cdn/OXS2BRKD.js +0 -4
- package/dist/cdn/OYPL2ZRR.js +0 -4
- package/dist/cdn/P2IN3BGL.js +0 -4
- package/dist/cdn/P2JMH6AD.js +0 -4
- package/dist/cdn/P4KDUIMT.js +0 -12
- package/dist/cdn/P4NKV4O5.js +0 -4
- package/dist/cdn/P5T2P3U5.js +0 -4
- package/dist/cdn/PAL2EEMN.js +0 -4
- package/dist/cdn/PEXJ26ZY.js +0 -4
- package/dist/cdn/PHPCGLN4.js +0 -4
- package/dist/cdn/PKPDA44C.js +0 -4
- package/dist/cdn/PNFJUGQX.js +0 -4
- package/dist/cdn/PRA6Q47A.js +0 -4
- package/dist/cdn/PRMT3RMB.js +0 -4
- package/dist/cdn/PRTSVVTZ.js +0 -4
- package/dist/cdn/PW35OY7S.js +0 -4
- package/dist/cdn/PYTUIZPE.js +0 -4
- package/dist/cdn/PZHAG2EM.js +0 -4
- package/dist/cdn/Q2GY24FD.js +0 -4
- package/dist/cdn/Q3IOTXBF.js +0 -4
- package/dist/cdn/Q4SBW6OZ.js +0 -4
- package/dist/cdn/Q53QTJK6.js +0 -4
- package/dist/cdn/Q7TJW7PD.js +0 -5
- package/dist/cdn/Q7W6CFW2.js +0 -4
- package/dist/cdn/QBZ7LPSE.js +0 -4
- package/dist/cdn/QE4LZKV5.js +0 -4
- package/dist/cdn/QEJDFTPG.js +0 -4
- package/dist/cdn/QERA46JZ.js +0 -4
- package/dist/cdn/QHLK7MLQ.js +0 -4
- package/dist/cdn/QINO656L.js +0 -4
- package/dist/cdn/QIZFQF3M.js +0 -4
- package/dist/cdn/QJQUQDUA.js +0 -4
- package/dist/cdn/QMT6HZNQ.js +0 -4
- package/dist/cdn/QN3UUZWU.js +0 -4
- package/dist/cdn/QQOG7HTV.js +0 -4
- package/dist/cdn/QTTHA2WV.js +0 -4
- package/dist/cdn/QZGU6VSM.js +0 -4
- package/dist/cdn/R4IDIVEM.js +0 -4
- package/dist/cdn/R5DU77KK.js +0 -4
- package/dist/cdn/R6DAWUW3.js +0 -4
- package/dist/cdn/R7A3TWGO.js +0 -4
- package/dist/cdn/RC7MTKBT.js +0 -4
- package/dist/cdn/RDUQYEZ2.js +0 -4
- package/dist/cdn/RJAI4YRU.js +0 -4
- package/dist/cdn/RJCGDUPC.js +0 -4
- package/dist/cdn/RK3CNXNI.js +0 -4
- package/dist/cdn/RONJYCOI.js +0 -4
- package/dist/cdn/RQEHV66T.js +0 -4
- package/dist/cdn/RT2FEAOP.js +0 -4
- package/dist/cdn/RTCAHQHH.js +0 -4
- package/dist/cdn/RXKCPUO7.js +0 -4
- package/dist/cdn/RY3C2F5R.js +0 -4
- package/dist/cdn/RYMN342G.js +0 -4
- package/dist/cdn/RYTURVQW.js +0 -4
- package/dist/cdn/RZRS57DF.js +0 -4
- package/dist/cdn/S27W23MR.js +0 -4
- package/dist/cdn/S53IO47P.js +0 -4
- package/dist/cdn/S556FX7I.js +0 -4
- package/dist/cdn/S5D35V34.js +0 -4
- package/dist/cdn/S5ICQSXR.js +0 -4
- package/dist/cdn/S77EUVIU.js +0 -4
- package/dist/cdn/SB4I2EES.js +0 -4
- package/dist/cdn/SC3AXIXZ.js +0 -4
- package/dist/cdn/SCXVON4F.js +0 -4
- package/dist/cdn/SD5SDHCC.js +0 -4
- package/dist/cdn/SEMQHJLU.js +0 -4
- package/dist/cdn/SEYYDED4.js +0 -4
- package/dist/cdn/SF6K3URU.js +0 -4
- package/dist/cdn/SGEFXXEL.js +0 -4
- package/dist/cdn/SHZTLI2W.js +0 -4
- package/dist/cdn/SJV2QLH6.js +0 -4
- package/dist/cdn/SLYW4VH6.js +0 -4
- package/dist/cdn/SMHVGXAL.js +0 -4
- package/dist/cdn/SN3KAYYX.js +0 -4
- package/dist/cdn/SPEPIABG.js +0 -4
- package/dist/cdn/SPV4RXR4.js +0 -4
- package/dist/cdn/SQIDEVND.js +0 -4
- package/dist/cdn/SRODLZRE.js +0 -4
- package/dist/cdn/SST2IOXX.js +0 -4
- package/dist/cdn/SWLUXVL6.js +0 -4
- package/dist/cdn/SXPSZXLH.js +0 -4
- package/dist/cdn/T3JG2U4C.js +0 -4
- package/dist/cdn/T42H3QXT.js +0 -4
- package/dist/cdn/T437PV3H.js +0 -4
- package/dist/cdn/TAILHIXQ.js +0 -5
- package/dist/cdn/TAJMKGPZ.js +0 -4
- package/dist/cdn/TCI2XX4A.js +0 -4
- package/dist/cdn/TDMPNC2Q.js +0 -4
- package/dist/cdn/TDOMKMCH.js +0 -4
- package/dist/cdn/TEXBJUDM.js +0 -4
- package/dist/cdn/TFUKS5AQ.js +0 -4
- package/dist/cdn/TMOK3LWW.js +0 -4
- package/dist/cdn/TNXQ6257.js +0 -4
- package/dist/cdn/TQ4WV66J.js +0 -4
- package/dist/cdn/TQHIYQI6.js +0 -4
- package/dist/cdn/TSBJUZTP.js +0 -4
- package/dist/cdn/TU64ZD24.js +0 -4
- package/dist/cdn/TVDMSGG5.js +0 -4
- package/dist/cdn/TWAQSR2S.js +0 -4
- package/dist/cdn/U5CGPYA5.js +0 -11
- package/dist/cdn/U62SUUIT.js +0 -4
- package/dist/cdn/U7PIQUXL.js +0 -4
- package/dist/cdn/UAGLGYOW.js +0 -4
- package/dist/cdn/UBLSKE5L.js +0 -4
- package/dist/cdn/UFQ7YELG.js +0 -4
- package/dist/cdn/UFZEZV56.js +0 -4
- package/dist/cdn/UGIORBGC.js +0 -4
- package/dist/cdn/UH3YO42L.js +0 -4
- package/dist/cdn/UHX7K2D4.js +0 -4
- package/dist/cdn/UIOR4L22.js +0 -4
- package/dist/cdn/UIRSJEAH.js +0 -4
- package/dist/cdn/ULG2J25G.js +0 -4
- package/dist/cdn/UMZAV2BP.js +0 -4
- package/dist/cdn/UNRGTDAC.js +0 -4
- package/dist/cdn/UOKUD72C.js +0 -4
- package/dist/cdn/UPN3273Z.js +0 -4
- package/dist/cdn/UQH26EK7.js +0 -4
- package/dist/cdn/UXA7GF6G.js +0 -4
- package/dist/cdn/UYUFJHKI.js +0 -4
- package/dist/cdn/UZ2P3YSV.js +0 -4
- package/dist/cdn/V25BCJSV.js +0 -4
- package/dist/cdn/V2E3TZMA.js +0 -4
- package/dist/cdn/V2WTL6AE.js +0 -4
- package/dist/cdn/VAPAUWOG.js +0 -4
- package/dist/cdn/VB3EKVPO.js +0 -4
- package/dist/cdn/VCKSQKFR.js +0 -4
- package/dist/cdn/VE46CPC6.js +0 -4
- package/dist/cdn/VFQQNUNA.js +0 -5
- package/dist/cdn/VGXHFI3Q.js +0 -4
- package/dist/cdn/VHIFVMIX.js +0 -4
- package/dist/cdn/VHOYJFVT.js +0 -4
- package/dist/cdn/VJKJTXYG.js +0 -4
- package/dist/cdn/VNIWEDQX.js +0 -4
- package/dist/cdn/VQNNER7Z.js +0 -4
- package/dist/cdn/VR2UDKVT.js +0 -4
- package/dist/cdn/VUGPGARR.js +0 -4
- package/dist/cdn/VUNKYYBK.js +0 -4
- package/dist/cdn/VVPJJCIZ.js +0 -4
- package/dist/cdn/VWDWGOYV.js +0 -4
- package/dist/cdn/VX747S3I.js +0 -4
- package/dist/cdn/VX7E2FMB.js +0 -4
- package/dist/cdn/VYS3AN3Z.js +0 -4
- package/dist/cdn/VZH3ED4H.js +0 -52
- package/dist/cdn/W35X7526.js +0 -4
- package/dist/cdn/W4ZIBH4C.js +0 -4
- package/dist/cdn/W6WRL7VP.js +0 -4
- package/dist/cdn/WAVBUXBN.js +0 -4
- package/dist/cdn/WCPKR74A.js +0 -4
- package/dist/cdn/WD34WKOO.js +0 -4
- package/dist/cdn/WDBHENRJ.js +0 -4
- package/dist/cdn/WDXBIUK2.js +0 -4
- package/dist/cdn/WEWTMBSD.js +0 -4
- package/dist/cdn/WFIFUTZX.js +0 -4
- package/dist/cdn/WGPLL6CS.js +0 -4
- package/dist/cdn/WM53WX4M.js +0 -4
- package/dist/cdn/WMVEEPX3.js +0 -4
- package/dist/cdn/WRH4OIJR.js +0 -4
- package/dist/cdn/WSWMRQDV.js +0 -4
- package/dist/cdn/WTNI3IEA.js +0 -4
- package/dist/cdn/WTT6YGCE.js +0 -4
- package/dist/cdn/WUPPGDDM.js +0 -4
- package/dist/cdn/WW2IZOJZ.js +0 -4
- package/dist/cdn/WWTUVEVY.js +0 -4
- package/dist/cdn/WX65SSCL.js +0 -4
- package/dist/cdn/WXHV7SUH.js +0 -4
- package/dist/cdn/WXZOWWCO.js +0 -4
- package/dist/cdn/X5YFOZ7W.js +0 -4
- package/dist/cdn/X7XAV3NS.js +0 -4
- package/dist/cdn/XAQQMTKP.js +0 -4
- package/dist/cdn/XB5QZMU5.js +0 -4
- package/dist/cdn/XBSNASGY.js +0 -4
- package/dist/cdn/XC65MRV6.js +0 -4
- package/dist/cdn/XDLYD4PS.js +0 -4
- package/dist/cdn/XDSDA7LY.js +0 -4
- package/dist/cdn/XGDY3ZVS.js +0 -4
- package/dist/cdn/XKVHJAA3.js +0 -4
- package/dist/cdn/XOAU63CI.js +0 -4
- package/dist/cdn/XPGWK7MM.js +0 -51
- package/dist/cdn/XPXR3Q7W.js +0 -4
- package/dist/cdn/XRM3DVCS.js +0 -5470
- package/dist/cdn/XSPEASD4.js +0 -4
- package/dist/cdn/XTF76KN3.js +0 -4
- package/dist/cdn/XTVERASR.js +0 -4
- package/dist/cdn/XVGFJYRF.js +0 -4
- package/dist/cdn/XX4UNFGF.js +0 -4
- package/dist/cdn/XYHWTVFT.js +0 -4
- package/dist/cdn/Y5A2XCH6.js +0 -4
- package/dist/cdn/Y6BLR43L.js +0 -4
- package/dist/cdn/Y7YIXYDY.js +0 -4
- package/dist/cdn/YAS57MR2.js +0 -4
- package/dist/cdn/YBJVEZMI.js +0 -4
- package/dist/cdn/YBQDOCXE.js +0 -4
- package/dist/cdn/YCRUNJKW.js +0 -4
- package/dist/cdn/YDSNO2HY.js +0 -4
- package/dist/cdn/YDYDGORJ.js +0 -4
- package/dist/cdn/YECOV4PE.js +0 -4
- package/dist/cdn/YEXUL3QE.js +0 -4
- package/dist/cdn/YNDZL6R6.js +0 -4
- package/dist/cdn/YOCIVBQ5.js +0 -4
- package/dist/cdn/YPYXKZGC.js +0 -4
- package/dist/cdn/YRGUABRG.js +0 -4
- package/dist/cdn/YWBBQASZ.js +0 -4
- package/dist/cdn/YY4EHMHP.js +0 -4
- package/dist/cdn/YZHDXVM4.js +0 -4
- package/dist/cdn/Z2SBGR6Z.js +0 -4
- package/dist/cdn/Z4JULPK3.js +0 -4
- package/dist/cdn/Z4KHYOJJ.js +0 -4
- package/dist/cdn/Z6BXOTPX.js +0 -4
- package/dist/cdn/ZAI2TABZ.js +0 -4
- package/dist/cdn/ZDBQKIW4.js +0 -4
- package/dist/cdn/ZF473CIW.js +0 -4
- package/dist/cdn/ZF6JDLBF.js +0 -4
- package/dist/cdn/ZH3QTPKA.js +0 -4
- package/dist/cdn/ZHVYZ5OL.js +0 -4
- package/dist/cdn/ZLY5PB43.js +0 -4
- package/dist/cdn/ZMKTTDYR.js +0 -4
- package/dist/cdn/ZNRWA23M.js +0 -4
- package/dist/cdn/ZSQTZDYM.js +0 -4
- package/dist/cdn/ZTIVQN4G.js +0 -4
- package/dist/cdn/ZTRATMC4.js +0 -4
- package/dist/cdn/ZU73I3KQ.js +0 -4
- package/dist/cdn/ZUJGYXSR.js +0 -4
- package/dist/cdn/ZY66CIJE.js +0 -4
- package/dist/cdn/ZYDSP7BG.js +0 -4
- package/dist/cdn/ZYSKPQEW.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.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import c from"./EDTJI5VT.js";import b from"./OWDKV6UT.js";import a from"./RDSGIAYE.js";import"./CFC4VODC.js";import"./SW7LHODP.js";import"./DKT3HJ6Z.js";import"./OI7BJ2LB.js";export default $arcgis.t(([,,,,,,,,,,,,,,{$:L,Bb:re,Fa:$,Ga:k,Na:te,Ta:se,Wa:V,Za:E,c:c,d:g,e:m,fa:G,h:O,i:p,lb:z,n:h,pa:q,ra:D,v:f,x:v,y:F,z:B},{B:K,P:Z,Q:x,R:H,b:X,ea:J,g:w,h:j,o:Y,p:T,q:I},{a:Q,b:A,c:ee,d:ie}])=>{function he(i){return i===null}var P=i=>i.series?.[0]?.x??"";function Ce(i,e){let t=i.series?.[0];return[`${e===g.Category?t.y:B} ${h.Descending}`]}var W=(i,e)=>{let t=c.valueDesc,s=i.orderOptions?.data?.orderType??Ce(i,e),r=i.orderOptions?.data?.orderBy??h.Descending;return s===f.Category&&Array.isArray(r)?t=c.customSort:s===f.Category?r===h.Ascending?t=c.labelAsc:t=c.labelDesc:r===h.Ascending?t=c.valueAsc:t=c.valueDesc,t},y=X(i=>{let e=[];return e=i.series?.[0]?.query?.outStatistics?.map(t=>t.onStatisticField)??[i.series?.[0]?.y??""],[...new Set(e.filter(t=>t!==""))]},i=>i.series),C=(i,e)=>{let t=y(i),s;return e===g.Fields&&t.length===0?s=p.Sum:s=i.series?.[0]?.query?.outStatistics?.[0]?.statisticType??p.NoAggregation,s};async function ce(i){let{config:e,layerInfo:t,mode:s}=i,{objectIdField:r}=t??{},o=await k(r),a=P(e),n=e.series[0]?.dataLabels?.visible??!1,l={...o,x:s===g.Category?a:F,slices:e.series?.[0]?.slices,dataLabels:{...o.dataLabels,visible:n},innerRadiusSize:e.series?.[0]?.innerRadius,sliceGrouping:e.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:e.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:e.series?.[0]?.numericValueFormat,percentValueFormat:e.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:e.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:e.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:e.series?.[0]?.displayPercentageOnDataLabel},d=C(e,s);if(d!==p.NoAggregation&&r!==void 0){let u=`${d}_${r}_0`.toUpperCase();l.y=s===g.Category?u:B,l.query={outStatistics:s===g.Category?[{statisticType:d,onStatisticField:r,outStatisticFieldName:u}]:[]}}return s===g.Category&&l.query!==void 0?l.query.groupByFieldsForStatistics=[a]:delete l.query?.groupByFieldsForStatistics,w(l)}async function R(i,e,t){let{layerFieldsInfo:s,objectIdField:r}=e,o=P(i),a=y(i),n=C(i,t),l=a.length===0||a.includes(r),d=await se(n),u=l?"":a.map(me=>E(s??[],me)).join(", "),S=E(s??[],o),_="",b=await Y(),U;return t===g.Fields?U=a.length===0:U=o==="",U?_=b.chartType.pieChart:n===p.NoAggregation?_=L(b.titleLabels.aggrFieldsByCategory,{aggregationFields:l?r:u,category:S}):n===p.Count?_=L(b.titleLabels.aggrTypeCategory,{aggregationType:d,category:S}):a.length>0&&(S===F||j(S)||he(S)?_=L(b.titleLabels.aggrTypeOfAggrFields,{aggregationType:d,aggregationFields:u}):_=L(b.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:d,aggregationFields:u,category:S})),_}var Se=i=>{let{newSortOrderKind:e,config:t,orderByList:s}=i;t.orderOptions??={},e===c.customSort&&s!==void 0?t.orderOptions.data={orderType:f.Category,orderBy:[...s]}:t.orderOptions.data={orderType:e===c.labelAsc||e===c.labelDesc?f.Category:f.YValue,orderBy:e===c.labelAsc||e===c.valueAsc?h.Ascending:h.Descending}},_e=async i=>{let{newCategory:e,config:t,layerInfo:s,mode:r}=i,o=t.series?.length??0;if(t.series.forEach(a=>{a.x=r===g.Category?e:F,a.query!==void 0&&e!==F?a.query.groupByFieldsForStatistics=[e]:delete a.query?.groupByFieldsForStatistics}),o===0){let a=[await ce({config:t,layerInfo:s,mode:r})];t.series=a}if(s!==void 0){let a=await I({config:t,layerInfo:s,numericFields:y(t),aggregationType:C(t,r)});T(t,1,a),t.title&&(t.title.content.text=await R(t,s,r));let n=r===g.Fields?y(t).filter(l=>l!==s.objectIdField):y(t);await ue({newNumericFields:n,config:t,layerInfo:s,mode:r})}};async function de(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:r,mode:o}=i,a=[],n=await ce({config:s,layerInfo:r,mode:o}),l={...n,query:{...n.query}};e.length<=1?l.query.where=n.query?.where:delete l.query.where;let d=K({config:s,numericFields:e,aggregationType:t,mode:o,layer:r.layer}).name;if(t!==p.NoAggregation)if(o===g.Category){if(e.length>0){let u=e[0];l.query.outStatistics=[{...n.query?.outStatistics?.[0]??{},onStatisticField:u,outStatisticFieldName:d,statisticType:t}]}}else for(let u of e)l.query.outStatistics?.push({onStatisticField:u,outStatisticFieldName:u,statisticType:t});else l.query={};l.y=d,a.push(l),s.series=a}var be=async i=>{let{newAggregationType:e,config:t,layerInfo:s,mode:r}=i,o=y(t);await de({config:t,layerInfo:s,numericFields:o,aggregationType:e,mode:r});let a=await I({config:t,layerInfo:s,numericFields:y(t),aggregationType:C(t,r)});T(t,1,a),t.title&&(t.title.content.text=await R(t,s,r));let n=t.series?.[0]?.displayCategoryOnDataLabel,l=t.series?.[0]?.displayNumericValueOnDataLabel,d=t.series?.[0]?.displayPercentageOnDataLabel;t.legend={...t.legend??D(),displayNumericValue:l,displayPercentage:d,displayCategory:n}},ue=async i=>{let{newNumericFields:e}=i,{config:t,layerInfo:s,mode:r}=i,{objectIdField:o}=s??{},a=C(t,r);if(e=e===""?[]:e,e=typeof e=="string"?[e]:e,o!==void 0&&(e.length===0&&r===g.Category?(e.push(o),a=p.Count):a===p.Count&&e.length>=1&&!e.includes(o)&&(a=p.Sum)),s!==void 0){await de({config:t,layerInfo:s,numericFields:e,aggregationType:a,mode:r});let n=await I({config:t,layerInfo:s,numericFields:y(t),aggregationType:C(t,r)});T(t,1,n),t.title&&(t.title.content.text=await R(t,s,r))}else t.series.forEach(n=>{delete n.query,n.y=e[0]})},ae=(i,e)=>{let t=[],s=i.orderOptions?.data?.orderType,r=W(i,e),o=i.orderOptions?.data?.orderBy;return r===c.customSort&&s===f.Category&&Array.isArray(o)&&(t=o),t},oe=i=>{let{values:e,config:t,mode:s}=i;t.orderOptions??={};let r=t.orderOptions?.data?.orderType;W(t,s)===c.customSort&&r===f.Category&&(t.orderOptions.data={orderType:f.Category,orderBy:[...e]})};var Oe=i=>i.legend?.displayNumericValue??!1,Fe=(i,e)=>{e.series[0]?.type===O.PieSeries&&(e.legend===void 0&&(e.legend=D()),e.legend.displayNumericValue=i)},Le=i=>i.legend?.displayPercentage??!1,De=(i,e)=>{e.series[0]?.type===O.PieSeries&&(e.legend===void 0&&(e.legend=D()),e.legend.displayPercentage=i)},Te=i=>i.legend?.labelMaxWidth??200,Ie=(i,e)=>{e.series[0]?.type===O.PieSeries&&(e.legend===void 0&&(e.legend=D()),e.legend.labelMaxWidth=i)},N=class extends A{getDisplayNumericValue(){return Oe(this._config)}setDisplayNumericValue(e){Fe(e,this._config),this.emitConfigUpdate("setDisplayNumericValue")}getDisplayPercentage(){return Le(this._config)}setDisplayPercentage(e){De(e,this._config),this.emitConfigUpdate("setDisplayPercentage")}getLabelMaxWidth(){return Te(this._config)}setLabelMaxWidth(e){Ie(e,this._config),this.emitConfigUpdate("setLabelMaxWidth")}};x(N,[A]);var ve=i=>i.series?.[0]?.innerRadius,Ve=(i,e)=>{e.series?.[0]&&(e.series[0].innerRadius=i)},Pe=i=>i.series?.[0]?.dataLabelsCharacterLimit,Ne=(i,e)=>{e.series?.[0]&&(e.series[0].dataLabelsCharacterLimit=i)},ne=i=>i.series[0]?.startAngle,le=(i,e)=>{e.series?.[0]&&(e.series[0].startAngle=i)},Ue=i=>i.series?.[0]?.displayCategoryOnTooltip??!0,we=i=>i.series?.[0]?.displayNumericValueOnTooltip??!0,xe=i=>i.series?.[0]?.displayPercentageOnTooltip??!0,Ae=(i,e)=>{e.series[0]&&(e.series[0].displayPercentageOnTooltip=i)},Be=i=>i.series?.[0]?.valuePrefix,Ge=(i,e)=>{e.series?.[0]&&(e.series[0].valuePrefix=i)},qe=i=>i.series?.[0]?.valueSuffix,$e=(i,e)=>{e.series?.[0]&&(e.series[0].valueSuffix=i)},ke=i=>i.series?.[0]?.percentagePrefix,Ee=(i,e)=>{e.series?.[0]&&(e.series[0].percentagePrefix=i)},ze=i=>i.series?.[0]?.percentageSuffix,Me=(i,e)=>{e.series?.[0]&&(e.series[0].percentageSuffix=i)},We=i=>{let e,t=i.series?.[0];return t?.displayNumericValueOnDataLabel===!0&&t?.displayPercentageOnDataLabel===!0?e=m.Both:t?.displayNumericValueOnDataLabel===!0?e=m.Value:e=m.Percentage,e},Re=(i,e)=>{let t=i===m.Value||i===m.Both,s=i===m.Percentage||i===m.Both;e.series?.[0]&&(e.series[0].displayNumericValueOnDataLabel=t,e.series[0].displayPercentageOnDataLabel=s),e.legend&&(e.legend={...e.legend,displayNumericValue:t,displayPercentage:s})},Xe=i=>i.series?.[0]?.alignDataLabels??!1,je=(i,e)=>{e.series[0]&&(e.series[0].alignDataLabels=i)},Ye=i=>i.series?.[0]?.dataLabelsInside??!1,Ke=(i,e)=>{e.series[0]&&(e.series[0].dataLabelsInside=i)},Ze=i=>i.series?.[0]?.dataLabelsOffset??10,He=(i,e)=>{e.series[0]&&(e.series[0].dataLabelsOffset=i)},Je=i=>i.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits,Qe=(i,e)=>{e.series?.[0]&&(e.series[0].numericValueFormat??=q(),e.series[0].numericValueFormat.intlOptions.minimumFractionDigits=i,e.series[0].numericValueFormat.intlOptions.maximumFractionDigits=i,e.series[0].percentValueFormat??=q(),e.series[0].percentValueFormat.intlOptions.minimumFractionDigits=i,e.series[0].percentValueFormat.intlOptions.maximumFractionDigits=i)},ei=i=>i.series?.[0]?.optimizeDataLabelsOverlapping??!1,ii=(i,e)=>{e.series[0]&&(e.series[0].optimizeDataLabelsOverlapping=i)},ti=i=>i.series[0]?.ticks?.visible??!1,si=(i,e)=>{e.series?.[0]&&(e.series[0].ticks??=$(),e.series[0].ticks.visible=i)},ri=i=>i.series[0]?.ticks?.lineSymbol,ai=(i,e)=>{i&&e.series?.[0]&&(e.series[0].ticks??=$(),e.series[0].ticks.lineSymbol=w(i))},oi=(i,e)=>e.series?.[0]?.slices?.[i]?.originalLabel,ni=(i,e)=>e.series?.[0]?.slices?.[i]?.label,li=(i,e,t)=>{t.series?.[0]?.slices?.[e]&&(t.series[0].slices[e].label=i)},gi=(i,e)=>e.series?.[0]?.slices?.[i]?.fillSymbol?.color,ci=(i,e,t)=>{let s=t.series?.[0]?.slices?.[e]?.fillSymbol;s!==void 0?(s.color=i,s.outline!==void 0?s.outline.color=i:s.outline={type:v.SLS,color:i}):t.series?.[0]?.slices?.[e]!==void 0&&(t.series[0].slices[e].fillSymbol={type:v.SFS,color:i,outline:{type:v.SLS,color:i}})},di=i=>i.series?.[0]?.slices?.map(e=>e.sliceId),ge=(i,e)=>{e.series?.[0]?.slices?.sort((t,s)=>i.findIndex(r=>t.sliceId===r)-i.findIndex(r=>s.sliceId===r))},ui=i=>i.series?.[0]?.sliceGrouping,pe=(i,e)=>{e.series?.[0]&&(e.series[0].sliceGrouping=i)},fe=i=>i.series?.[0]?.sliceGrouping?.percentageThreshold,pi=(i,e)=>{e.series?.[0]?.sliceGrouping!==void 0?e.series[0].sliceGrouping.percentageThreshold=i:e.series[0].sliceGrouping={sliceId:G.defaultGroupOfSlicesId,percentageThreshold:i}},fi=i=>i.series?.[0]?.slices,ye=(i,e)=>{e.series?.[0]&&(e.series[0].slices=i)},yi=i=>{ye(void 0,i),pe({sliceId:G.defaultGroupOfSlicesId,percentageThreshold:fe(i)??0},i)},mi=(i,e)=>e.series[0]?.slices?.[i]?.sliceId,hi=(i,e)=>e.series[0]?.slices?.findIndex(t=>t.sliceId===i),Ci=i=>i.series[0]?.slices?.length??0,M=class extends J{constructor(){super(...arguments),this._chartType=O.PieSeries,this._mode=g.Category,this._groupedSliceIds=[]}async setup(e){await this.loadConfigFromLayer(e);let{config:t}=e;if(t!==void 0){let s=z(t.series);this._mode=s!==V.PieFromFields?g.Category:g.Fields}this.resolveSetup()}getCategory(){return P(this._config)}async setCategory(e){(!re(this._config)||e.trim()!=="")&&(await _e({newCategory:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setCategory"))}getNumericFields(){return y(this._config)}async setNumericFields(e){typeof e=="string"&&(e=[e]),this.layerInfo===void 0||Z(this.layerInfo.layerFieldsInfo,e)?(await ue({newNumericFields:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setNumericFields")):console.log("Invalid numericFields")}getAggregationType(){return C(this._config,this._mode)}async setAggregationType(e){await be({newAggregationType:e,config:this._config,layerInfo:this.layerInfo,mode:this._mode}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setAggregationType")}getSortOrder(){return W(this._config,this._mode)}setSortOrder(e,t){Se({newSortOrderKind:e,config:this._config,orderByList:t}),this.emitConfigUpdate("setSortOrder")}getOrderByList(){return ae(this._config,this._mode)}setOrderByList(e){oe({values:e,config:this._config,mode:this._mode}),this.emitConfigUpdate("setOrderByList")}getMode(){return this._mode}setMode(e){this._mode=e,this.emitConfigUpdate("setMode")}async getCustomSortValues(){let e=P(this._config),t=z(this._config.series),s=this.getNumericFields(),r=[];return t===V.PieFromFields?r=s:e.trim()!==""&&t===V.PieFromCategory&&(r=await H({category:e,config:this._config,layerInfo:this.layerInfo})),r}moveCustomSortValuesInOrderByList(e,t){let s=ae(this._config,this._mode),[r]=s.splice(e,1);s.splice(t,0,r),oe({values:s,config:this._config,mode:this._mode}),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")}getTicksSymbol(){return ri(this._config)}setTicksSymbol(e){ai(e,this._config),this.emitConfigUpdate("setTicksSymbol")}getSlices(){return fi(this._config)}setSlices(e){ye(e,this._config),this.emitConfigUpdate("setSlices")}getGroupedSliceIds(){return this._groupedSliceIds}setGroupedSliceIds(e){this._groupedSliceIds=e,this.emitConfigUpdate("setGroupedSliceIds")}getSliceGrouping(){return ui(this._config)}setSliceGrouping(e){pe(e,this._config),this.emitConfigUpdate("setSliceGrouping")}getInnerRadiusSize(){return ve(this._config)??0}setInnerRadiusSize(e){Ve(e,this._config),this.emitConfigUpdate("setInnerRadiusSize")}getGroupingThreshold(){return fe(this._config)??0}setGroupingThreshold(e){pi(e,this._config),this.emitConfigUpdate("setGroupingThreshold")}getLabelCharacterLimit(){return Pe(this._config)??null}setLabelCharacterLimit(e){Ne(e,this._config),this.emitConfigUpdate("setLabelCharacterLimit")}getDecimalPlaces(){return Je(this._config)??1}setDecimalPlaces(e){Qe(e,this._config),this.emitConfigUpdate("setDecimalPlaces")}getDisplayType(){return We(this._config)}setDisplayType(e){Re(e,this._config),this.emitConfigUpdate("setDisplayType")}async generateDefaultConfig(){let e=await te();return e.series=[await k(this.layerInfo?.objectIdField)],e}getOriginalSliceName(e){return oi(e,this._config)}getSliceName(e){return ni(e,this._config)}setSliceName(e,t){li(e,t,this._config),this.emitConfigUpdate("setSliceName")}getSliceColor(e){return gi(e,this._config)}setSliceColor(e,t){ci(e,t,this._config),this.emitConfigUpdate("setSliceColor")}getOrderOfSlices(){return di(this._config)}setOrderOfSlices(e){ge(e,this._config),this.emitConfigUpdate("setOrderOfSlices")}moveSeries(e,t){let s=this.getOrderOfSlices();if(s!==void 0){let[r]=s.splice(e,1);s.splice(t,0,r),ge(s,this._config),this.emitConfigUpdate("moveSeries")}}getSliceId(e){return mi(e,this._config)}getSliceIndex(e){return hi(e,this._config)}getSlicesLength(){return Ci(this._config)}resetSlices(){yi(this._config),this.emitConfigUpdate("resetSlices")}resetAvailable(){let e=!this.getColorMatch(),t=!1,s=this.getSlices()?.length??0;for(let o=0;o<s;o+=1){let a=this.getOriginalSliceName(o),n=this.getSliceName(o);if(a!==void 0&&a?.toString()!==n?.toString()){t=!0;break}}let r=this.getSliceGrouping();return r?.originalLabel!==void 0&&r?.label!==r.originalLabel&&(t=!0),e||t}getTicksVisibility(){return ti(this._config)}setTicksVisibility(e){si(e,this._config),this.emitConfigUpdate("setTicksVisibility")}getStartAngle(){return ne(this._config)}setStartAngle(e){le(e,this._config),this.emitConfigUpdate("setStartAngle")}getEndAngle(){return ne(this._config)}setEndAngle(e){le(e,this._config),this.emitConfigUpdate("setEndAngle")}getDisplayCategoryValueOnTooltip(){return Ue(this._config)}getDisplayNumericValueOnTooltip(){return we(this._config)}setDisplayCategoryOnTooltip(e){this._config.series[0].displayCategoryOnTooltip=e,this.emitConfigUpdate("setDisplayCategoryValue")}setDisplayNumericValueOnTooltip(e){this._config.series[0].displayNumericValueOnTooltip=e,this.emitConfigUpdate("setDisplayNumericValue")}getDisplayPercentageOnTooltip(){return xe(this._config)}setDisplayPercentageOnTooltip(e){Ae(e,this._config),this.emitConfigUpdate("setDisplayPercentage")}getValuePrefix(){return Be(this._config)}setValuePrefix(e){Ge(e,this._config),this.emitConfigUpdate("setValuePrefix")}getValueSuffix(){return qe(this._config)}setValueSuffix(e){$e(e,this._config),this.emitConfigUpdate("setValueSuffix")}getPercentagePrefix(){return ke(this._config)}setPercentagePrefix(e){Ee(e,this._config),this.emitConfigUpdate("setPercentagePrefix")}getPercentageSuffix(){return ze(this._config)}setPercentageSuffix(e){Me(e,this._config),this.emitConfigUpdate("setPercentageSuffix")}getDataLabelsOffset(){return Ze(this._config)}setDataLabelsOffset(e){He(e,this._config),this.emitConfigUpdate("setDataLabelsOffset")}getAlignDataLabels(){return Xe(this._config)}setAlignDataLabels(e){je(e,this._config),this.emitConfigUpdate("setAlignDataLabels")}getDataLabelsInside(){return Ye(this._config)}setDataLabelsInside(e){Ke(e,this._config),this.emitConfigUpdate("setDataLabelsInside")}getOptimizeDataLabelsOverlapping(){return ei(this._config)}setOptimizeDataLabelsOverlapping(e){ii(e,this._config),this.emitConfigUpdate("setOptimizeDataLabelsOverlapping")}};x(M,[N,ee,Q,ie]);return M},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","applications/Components/reactiveUtils",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.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import d from"./6LFC62J3.js";import"./NAKV3ZFT.js";import{a as f}from"./54NWJBI7.js";import c from"./ALUUQGPQ.js";import"./VCP4PWJR.js";import"./KJXFF6Q5.js";import{a as b,b as Q,c as X,d as x}from"./C6LAICOE.js";import{a as F}from"./UBBYNAIH.js";import{a as H}from"./VAZHEEPH.js";import"./JHNNMLEF.js";import"./DQIZC7ZD.js";import"./Y7L3N5EB.js";import"./UVVFZM3S.js";import"./YSTEVXNT.js";import"./OE5I3APA.js";import a from"./DLQCB2FV.js";import"./2V3HZQOK.js";import"./JLUTFHM4.js";import"./P6E6Q5R2.js";import"./QFKDEUU5.js";import{N as K,O as A,X as Y,o as q}from"./VR64O6RL.js";import"./HJO43VXZ.js";import"./ZH6TUOKM.js";import"./2YCYU2XM.js";import"./UQB4FC66.js";import"./TF3F4EC4.js";import"./CLMLBZVF.js";import"./4EFGJY5Q.js";import"./KMFLB5NC.js";import"./F4DBGR6Q.js";import"./5YCLLASW.js";import"./JCDX62BP.js";import"./CWALSH72.js";import"./IKY6VK72.js";import"./G7BPDEMI.js";import"./2H5WQNTH.js";import"./B42G5CIW.js";import"./OXUVV4OH.js";import"./ZNEEVP6J.js";import"./URJPABPO.js";import"./XXAVDH5Y.js";import"./QWMGKPHS.js";import"./2SV6KORH.js";import"./C5QLC7CN.js";import"./77QIYZJU.js";import"./YOMYP2IA.js";import"./G5OWJLYS.js";import"./LJRUSILL.js";import"./H7I646O4.js";import"./E6SRAXMN.js";import"./ESPKWHYD.js";import"./M4K4CR72.js";import"./ZJYUP4R4.js";import"./GVV67WKI.js";import"./I2AVZSWC.js";import"./OF43ZY2H.js";import"./HYAGHU25.js";import{f as O,g as W}from"./IJEBPEAQ.js";import"./NHEA4CXP.js";import"./ZZJB7ZKL.js";import"./TZENYTQF.js";import"./KT7AQLTB.js";import"./76URBCMS.js";import"./GDSA2NXR.js";import"./D47WZTYS.js";import"./2VRB6QBI.js";import"./GXALT5UP.js";import{a as M}from"./FJ4RTBKN.js";import{c as ie,j as se}from"./ZVEHBXLB.js";import"./5LQXDSGH.js";import{a as w}from"./EA6ZOVFR.js";import"./4YRBWDTE.js";import{a as P}from"./7NT2O3MX.js";import"./DFH42HYH.js";import"./7P3IKV5W.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./CFC4VODC.js";import"./V6IPPQU4.js";import"./XRICSV66.js";import"./CDTE22PZ.js";import"./Y7PCVFZ5.js";import"./KZR6WBD2.js";import"./VLHMCPTM.js";import"./KNIZDHSU.js";import"./AEBG25HZ.js";import"./N2XEGODC.js";import{a as z}from"./SW7LHODP.js";import"./AQOHWXXK.js";import{a as T}from"./DKT3HJ6Z.js";import"./33E3LTJR.js";import"./OI7BJ2LB.js";export default $arcgis.t(([k,{watch:L},{webMercatorToGeographic:B},ne,J,{isAbortError:ce},{generalize:he},le,de,,{o:V,p:j},{g:ee,h:Z,m:N},{b:te}])=>{var ae={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ue=e=>new Promise(t=>setTimeout(t,e)),pe=(e,t,i,s,a)=>{let r=Math.ceil(e/t);return r>s?(z.warn(`Discussions requests exceeds desired threshold, throttling to ${a}ms per batch.`),a):i/r},ge=async(e,t,i=10,s=!0)=>{let a=async r=>{var o;let n=(o=r.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:i,relations:[A.REPLIES,A.CHANNEL,A.CHANNEL_ACL],sortBy:K.UPDATED_AT,sortOrder:q.DESC,start:n},r)},t),c=Y(h);if(n===1){let{total:l}=await c,d=n+i,g=[c],v=s?pe(l,i,2500,10,250):0;for(;d<=l;)await ue(v),g.push(...await a(Object.assign(Object.assign({geometry:ae},r),{start:d}))),d=d+i;return g}return[c]};try{let r=await Promise.all([...await a(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await a(Object.assign(Object.assign({},e),{geometry:ae,discussion:`${e.discussion}%`}))]),o=[],n=r.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return ee(n)}catch(r){let{message:o}=r;z.error("Could not fetch on-map discussions:",o)}},me=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",fe=me,m=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},p=class{constructor(e){_(this,e),this.arcgisHubMapPopoverOpen=I(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=I(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=ie(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,M(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await P.loadIntlForComponent(this.element),V()}connectedCallback(){se(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(i){console.warn("Cannot add discussions features to the map",i.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=L(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=L(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:i}=this;e&&e!==t?(i&&this.teardown(),this.initialize()):!e&&i&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:i,isOffset:s,previewHeight:a,activeMapDiscussion:r}=this;if(e&&r&&i){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),l=e.toScreen(i),d=s?l.x+5:l.x,g=s?l.y-34:l.y;this.leftOffset=t?d+h:c,this.topOffset=t?g+n-a:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:i}=e,{searchRef:s}=this;t===s&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,i=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],s=[];if(t){let a=t.id,r=t.parentId?t.parentId:t.id;s=i.filter(({attributes:{id:o,parentId:n}})=>o===r||a&&n===a)}else{let{activeMapDiscussion:{locationId:a}}=this;s=i.filter(({attributes:{relatedFeatureId:r}})=>r===a)}s.length&&this.goTo(s)}handleGeometryFeature(e){let{detail:{post:t,create:i}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:a}})=>a!==t.id),Z(t)&&(this.cachedFeatures=[...this.cachedFeatures,...Z(t)],i&&this.cachedFeatures.map(a=>{let{properties:{id:r}}=a,{parentId:o}=t;return r===o&&("replyCount"in a.properties||(a.properties.replyCount=0),a.properties.replyCount+=1),a}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:i}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:s}})=>s!==t).map(s=>{let{properties:{id:a}}=s;return a===i&&(s.properties.replyCount-=1),s}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e);if(r&&this.addHighlightGraphic(!1,r,b.ACTIVE,!1),a){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);i&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=i?this.cachedRelatedFeatureGeometry[i].arcgis:this.getGraphicById(t,s);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e.detail);if(r&&this.addHighlightGraphic(!1,r,b.HOVER,!1),!a){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.removeGraphic(t,i,s,a)}removeGraphic(e,t,i,s){let{currentDiscussionsRef:{unsavedFeatures:a,unsavedRelatedFeatures:r,unsavedExistingFeatures:o}}=this;if(s)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...r.slice(0,i),...r.slice(i+1,r.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...a.slice(0,i),...a.slice(i+1,a.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=d=>{let{attributes:{relatedFeatureId:g,id:v,__index__:y}}=d;return t?t==g:v==e&&(y===null||+i==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+i});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:d,index:g}})=>!(e===d&&+i==+g)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:i}}=e;this.sketchPostType=i,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:i,unsaved:s}}}=e;this.preview=!1,this.editGraphic(t,i,s)}editGraphic(e,t,i){let{drawRef:s}=this,{geometry:a}=i?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(a),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=i,this.drawRef.geometry=void 0,setTimeout(()=>{s.geometry=a,s.disablePrimaryOptions=!0,s.disableEditOptions=!1,s.buffer=!1,s.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:i,save:s,canceled:a,unsaved:r}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=i.getItemAt(0);if(c.geometry=he(c.geometry.clone(),Q(this.view),!1),s&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let l=B(c.geometry),d=O(l);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((R,D)=>(D===n&&(R.geometry=d),R));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(d,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:D}})=>D!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:D,index:C})=>D===o&&C===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let g=N(d);this.emitHubTelemetry(w.dictionary.category.content.action.update.label.location.details[g])}else if(a)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(r){this.drawRef.forceReset(),c.symbol=x[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let l=[];i.forEach(d=>{let g=B(d.geometry),v=O(g);l.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=N(v);this.emitHubTelemetry(w.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...l],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:i}=this,{results:s}=await this.view.hitTest(t,{include:i}),a=j(s);if(a?.graphic&&this.drawRef.disableEditOptions){let{graphic:r}=a,o=r.layer.objectIdField,n=r.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!r.attributes.hasOwnProperty(i.displayField)){let{features:[l]}=await i.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(r.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=r,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:r.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(r)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=B(this.selectedGraphic.geometry);let i={postId:this.sketchPostId,objectId:t,feature:O(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,i],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(w.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,i=this.selectedGraphic.attributes[t],s=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(a=>a.objectId==i);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,s),...e.slice(s+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(w.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:i,entityType:s,_context:a,discussionSettings:r}=this,o=await te({discussion:e,entity:t,entityId:i,entityType:s,discussionSettings:r},a.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ge(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new k({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,i,s){var a,r,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:l}=this,d=t.clone();if(e)d.symbol=x.callout(i,Object.assign(Object.assign({},n.callout),{isOffset:(a=t?.attributes)===null||a===void 0?void 0:a.isOffset,is3D:l}),(r=d.attributes)===null||r===void 0?void 0:r.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let g=t.geometry.type;d.symbol=x[t.geometry.type](i,Object.assign({},n[g])),this.clearHoverActiveGraphics(s)}d.attributes=Object.assign(Object.assign({},d.attributes),{[c]:s}),h.add(d)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let i=j(t.results),{graphic:s}=i;this.addHighlightGraphic(!0,s,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[i]}=t,s=i.layer===this.unsavedGeometryGraphicsLayer,a=i.layer===this.geometryGraphicsLayer,r,o,n;if(s){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===i.graphic);r=void 0,o=h,n=!0}if(a&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:l}}}=i,d=l||null;h===c&&(r=h,o=d,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=i.graphic;this.activeGraphicDetails={id:r,index:o,unsaved:n,geometry:h};let l=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var i;return(i=t.attributes)===null||i===void 0?void 0:i.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(d=>{var g;return d.properties.totalCount=(g=d.properties.replyCount)!==null&&g!==void 0?g:0});let t=({geometry:d})=>!!d,i=e.map(this.makeGraphic).filter(t),s=e.map(this.makeCalloutGraphic).filter(t),a=({properties:d})=>!!H(d.discussion).features,r=e.filter(a),o=Array.from(new Set(r.map(({properties:{discussion:d}})=>H(d).features.map(g=>g)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let d of r){if(h.includes(d.properties.id))continue;h.push(d.properties.id);let{properties:g}=d,{features:v}=H(g.discussion);g.totalCount=0,v.forEach(y=>{var R;let D=({properties:{relatedFeatureId:G}})=>G==y,C=n.find(D);if(C){let{properties:G}=C,oe=((R=g.totalCount)!==null&&R!==void 0?R:0)+1;G.totalCount+=oe}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},d.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),l=[...s,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,i),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:i,y:s,spatialReference:a}=e;return new ne({xmin:i-t,ymin:s-t,xmax:i+t,ymax:s+t,spatialReference:a})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(i=>{ce(i)||console.error("Failed to zoom map to target feature or extent:",i.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let i=W(e),s=J.fromJSON(i);return!((t=s?.geometry)===null||t===void 0)&&t.type&&(s.symbol=x[s.geometry.type](b.DEFAULT,this.themeWithDefaults[s.geometry.type])),s}makeCalloutGraphic(e){var t;let{is3D:i}=this,{callout:s}=x,{geometry:a,properties:r}=e,[o,n]=a.coordinates.flat(1/0),h=!r.relatedFeatureId&&e.geometry.type==="Point",c=W({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},r),{replyCount:r.replyCount||0,isOffset:h})}),l=J.fromJSON(c);return l.symbol=s(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:i}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:i}=this;if(!i){console.warn("Discussions service layer not defined; ingnoring related features");return}let s=Object.keys(t),a=e.filter(r=>!s.includes(`${r}`));if(a.length){let r={where:"1=1",objectIds:a.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(r);o.forEach(({geometry:n,attributes:h})=>{let c=O(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e,r;return i&&this.cachedRelatedFeatureGeometry[i]?r=new J({geometry:this.cachedRelatedFeatureGeometry[i].arcgis}):r=a?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s):this.getGraphicById(t,s),r}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:s,__index__:a}})=>{let r=t!==null?t==a:!0;return s===e&&r})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:i}=this;if(e)i.removeAll();else{let s=i.graphics.filter(({attributes:a})=>!a[t]);i.removeMany(s.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=i,this.drawRef.enableMapTips=s,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:i})=>{let s=this.getGraphicById(e,t);s.geometry=i}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let i=j(t.results),{graphic:s}=i;this.graphicGeometry=s.geometry,this.isOffset=s.attributes.isOffset;let{attributes:{parentId:a,channelId:r,id:o,relatedFeatureId:n}}=s;if(n){let h=n;this.activeMapDiscussion={channelId:r,locationId:h}}else this.activeMapDiscussion={channelId:r,postId:a?o:void 0,parentId:a||o};this.addHighlightGraphic(!0,s,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.editGraphic(e,t,i)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.removeGraphic(e,null,t,i),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((i,[s,a])=>a?Object.assign(Object.assign({},i),{[s]:a}):i,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(i=>{t[i]=Object.assign(Object.assign({},X[i]),e[i])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:i,leftOffset:s,topOffset:a,previewHeight:r,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:l,right:d,bottom:g}=h.getBoundingClientRect();n={"--left-offset":`${s??0}px`,"--top-offset":`${a??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(i??0)-(r??0):(g??0)-(c??0)}px`,"--panel-width":`${(d??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${i??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),u("calcite-action-group",null,u("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return u("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},u("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:i}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${i}`),"text-enabled":!0})),u("calcite-action-group",null,u("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return u("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},u("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:i,entityId:s,entity:a,entityType:r,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?u("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):u("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:a,entityId:s,entityType:r,hasMap:!0,isHub:i,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:i,mapActionNoticeActive:s}=this;return u(S,{key:"ce412a38001cdec7c0839f6e168e1cc9615d0d3a","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),i&&s&&u("arcgis-hub-discussions-map-action-notice",{view:i}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryGoTo",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeature",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureDeleted",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureSelect",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureHighlight",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleFeatureRemove",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawCreate",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawTypeSelect",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleActiveToolChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEdit",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handlePostEditorReady",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEditCancel",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleDrawGraphicsChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawReset",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryClearAll",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleDiscussionsClose",null);m([F({timeout:50})],p.prototype,"setLocationEditPopover",null);m([f({when(e){return e}}),F({timeout:50})],p.prototype,"refreshFeatures",null);m([f({when(){return this.geometryGraphicsLayer}})],p.prototype,"getGraphicById",null);m([f({when(){return this.highlightGraphicsLayer}})],p.prototype,"clearHoverActiveGraphics",null);m([f({when(){return this.drawRef}})],p.prototype,"saveInitialDrawOptions",null);m([f({when(){return this.drawRef&&this.initialDrawOptions}})],p.prototype,"restoreInitialDrawOptions",null);m([f({when(){return this.currentDiscussionsRef}})],p.prototype,"resetStagedFeatures",null);m([f({when(){return!this.mapActionNoticeActive}})],p.prototype,"handleMapClickDiscussions",null);m([F({timeout:50})],p.prototype,"handleViewSizeChange",null);m([F({timeout:15})],p.prototype,"handlePointerMove",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationPrimaryOptions",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationEditOptions",null);p.style=fe;function ye(e){return[{key:"point",text:e.t("point"),sourceIndex:0},{key:"rectangle",text:e.t("rectangle"),sourceIndex:0},{key:"draw",text:e.t("draw"),sourceIndex:0}]}var ve=":host{display:block}arcgis-hub-map-widget-search calcite-dropdown{position:absolute}arcgis-hub-map-widget-search calcite-input{width:var(--width)}arcgis-hub-map-widget-search calcite-dropdown-group{width:var(--width)}.hub-widget-search.top{position:absolute;width:var(--width)}.hub-widget-search.right{right:100%;margin-right:1rem}.hub-widget-search.left{left:100%;margin-left:1rem}",we=ve,re=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},U=class{get inputScale(){return this.scale==="s"?"m":"l"}constructor(e){_(this,e),this.arcgisHubGeometryResultSelection=I(this,"arcgisHubGeometryResultSelection",7),this.arcgisHubWidgetPanelToggled=I(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.tools=void 0,this.scale="m",this.view=void 0,this.searchViewModelProperties={},this.active=void 0,this.openMenuOnSearchSelection=!1,this.completeValidSearch=void 0,this.loading=void 0,this.suggestions=[],this.value=void 0,this.width="25rem",M(this,"handleSetInputRef","searchIfEnter","toggleActive","setInputWidth")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await P.loadIntlForComponent(e),await this.connectViewModel()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}componentDidLoad(){V()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}handleActiveChange(e){let{hubTelemetry:t}=this,i=e?w.dictionary.category.interaction.action.open.label.search:w.dictionary.category.interaction.action.close.label.search;t.emit(i),this.setInputWidth()}handleValueChange(){let{value:e,searchViewModel:t}=this;t&&e===""&&t.clear()}handleSearchViewModelChange(){this.connectViewModel()}handlePanelToggled(e){let{target:t,detail:i}=e,{el:s}=this;t!==s&&!i&&(this.active=!1)}onCalciteAutocompleteClose(e){let t=e.target.value;this.completeValidSearch?(t!=="draw"&&this.arcgisHubGeometryResultSelection.emit({geometry:this._getGeometry(t),userSelection:t,locationName:T(this.completeValidSearch,"results[0].results[0].name")}),this.suggestions=[]):(this.selectedKey=t,this.value=this.selected.text,this.search())}onCalciteAutocompleteTextChange(e){this.value=e.target.inputValue}onCalciteAutocompleteTextInput(e){this.value=e.target.inputValue,this.value&&this.getSuggestions()}async handleSetInputRef(e){e&&(this.inputEl=e,await e.setFocus())}async getSuggestions(){let{value:e,completeValidSearch:t,hubTelemetry:i,searchViewModel:s}=this;i.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.search.label.query),{search:e}));let{results:[a]}=await s.suggest(e);t?this.completeValidSearch=null:this.suggestions=a?.results||[]}_getGeometry(e){let t;switch(e){case"point":t=T(this.completeValidSearch,"results[0].results[0].feature.geometry");break;case"rectangle":t=T(this.completeValidSearch,"results[0].results[0].extent");break}return t}async search(){let{value:e,hubTelemetry:t,searchViewModel:i}=this;this.loading=!0;let s=this.selected||e,a=await i.search(s);t.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.to),{details:a?.searchTerm})),this.loading=!1,this.selectedKey=null,setTimeout(()=>{this.completeValidSearch=a?.numResults===1?a:null,this.tools&&this.completeValidSearch?this.addLocationType():this.suggestions=[],this.openMenuOnSearchSelection&&(this.inputEl.open=!0)},150)}addLocationType(){let e=ye(this.intl).filter(t=>this.isValidLocationType(t.key+""));this.suggestions=e.length===1?[]:e}isValidLocationType(e){return this.tools.includes(e)&&!!this._getGeometry(e)||e==="draw"}searchIfEnter(e){let{key:t}=e;t==="Enter"&&this.search()}toggleActive(){let{active:e,arcgisHubWidgetPanelToggled:t}=this;this.active=!e,t.emit(e)}connectWatch(){let{view:e}=this;e&&(this.handle=L(()=>e.size,this.setInputWidth))}removeWatch(){let{handle:e}=this;e&&e.remove(),this.handle=void 0}async connectViewModel(){let{view:e}=this;e&&(await e.when(),this.searchViewModel=new le(Object.assign({autoSelect:!0,suggestionsEnabled:!0,maxResults:1,maxSuggestions:5,minSuggestCharacters:3,view:e},this.searchViewModelProperties)))}setInputWidth(){let{inputEl:e,view:{size:t}}=this;if(!e)return;let[i]=t;this.width=i<600?`${i*.65}px`:"25rem"}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-search ${e.split("-").join(" ")}`}get selected(){let{suggestions:e,selectedKey:t}=this;return e.filter(({key:i})=>i===t).pop()}get styles(){let{width:e}=this;return{"--width":e}}render(){let{value:e,loading:t,scale:i,active:s,styles:a}=this,r=this.intl.t("textOpen"),o=this.intl.t("textClose"),n=this.intl.t("placeholder");return u(S,{key:"e6f2f99d38252ee605da42ac7444c1081c6040a0","data-element":"map-widget-search",style:a},this.active&&u("section",{class:this.positionClass},u("calcite-autocomplete",{icon:"search",loading:t,onKeyPress:this.searchIfEnter,placeholder:n,ref:this.handleSetInputRef,scale:this.inputScale,value:e},this.suggestions.map(h=>u("calcite-autocomplete-item",{handle:!0,heading:h.text,key:h.key,value:h.key})))),u("arcgis-hub-map-widget-generic",{key:"75d5010ec337ce13d5e3cae92b2057a89f1bf843",active:s,"data-test":"map-widget-search",icon:"search",onClick:this.toggleActive,scale:i,text:s?o:r}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"],active:["handleActiveChange"],value:["handleValueChange"],searchViewModelProperties:["handleSearchViewModelChange"]}}};re([F({timeout:150})],U.prototype,"getSuggestions",null);re([F({timeout:25})],U.prototype,"setInputWidth",null);U.style=we;var be="",Ge=be,Ie=class{constructor(e){_(this,e),this.hubTelemetry=I(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.canZoomIn=void 0,this.canZoomOut=void 0,M(this,"zoomIn","zoomOut","updateCanZoomIn","updateCanZoomOut")}async componentWillLoad(){let{el:e}=this;this.intl=await P.loadIntlForComponent(e),await this.connectViewModel(),this.connectWatch(),V()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:e,handles:t,zoomViewModel:i}=this;e&&i&&t.push(L(()=>i.canZoomIn,this.updateCanZoomIn),L(()=>i.canZoomOut,this.updateCanZoomOut))}removeWatch(){let{handles:e}=this;e.forEach(t=>{t.remove()}),this.handles=[]}async connectViewModel(){let{view:e}=this;if(e){await e.when(),this.zoomViewModel=new de({view:e});let{canZoomIn:t,canZoomOut:i}=this.zoomViewModel;this.canZoomIn=t,this.canZoomOut=i}}updateCanZoomIn(e){this.canZoomIn=e}updateCanZoomOut(e){this.canZoomOut=e}zoomIn(){let{zoomViewModel:e,canZoomIn:t,view:i}=this;e&&t&&(e.zoomIn(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.in),{details:i.zoom})))}zoomOut(){let{zoomViewModel:e,canZoomOut:t,view:i}=this;e&&t&&(this.zoomViewModel.zoomOut(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.out),{details:i.zoom})))}render(){let{zoomIn:e,zoomOut:t,canZoomIn:i,canZoomOut:s,scale:a}=this,r=this.intl.t("zoomIn"),o=this.intl.t("zoomOut");return u(S,{key:"72e18144a87ea9afdaa5c213bb1fec9417e60518","data-element":"map-widget-zoom"},u("arcgis-hub-map-widget-generic",{key:"d4500ad8e952c706e5f8452cc5826e5dd893e922","data-test":"map-widget-zoom-in",disabled:!i,icon:"plus",onClick:e,scale:a,text:r}),u("arcgis-hub-map-widget-generic",{key:"35705de04180d659268f4312a15d57e2bdc9dd5e","data-test":"map-widget-zoom-out",disabled:!s,icon:"minus",onClick:t,scale:a,text:o}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"]}}};Ie.style=Ge;return{arcgis_hub_discussions_map_integrator:p,arcgis_hub_map_widget_search:U,arcgis_hub_map_widget_zoom:Ie}},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","widgets/Search/SearchViewModel","widgets/Zoom/ZoomViewModel","config",a,c,d)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as i,b as f,c as d}from"./7P3IKV5W.js";var g=(t,e)=>{let n=o=>o&&typeof o=="object"&&!Array.isArray(o);return!n(t)||!n(e)?e:(Object.keys(e).forEach(o=>{let a=t[o],r=e[o];n(a)&&n(r)?t[o]=g(Object.assign({},a),r):t[o]=r}),t)},s=i.English;function L(t){let e=/^([a-z]{2})-([A-Z]{2})$/,n=t?.match(e),o=s;return n?.length?o=n[1]:t?.length===2&&t.toLowerCase()===t&&(o=t),o}function h(t){let e=s;if(t!==void 0){let n=Object.values(i),o=n.filter(a=>a.indexOf("-")!==-1);if(t.indexOf("-")!==-1){let a=t.split("-");a[1].toLowerCase()==="no"&&a.reverse();let[r,l]=a;t=`${r.toLowerCase()}-${l.toUpperCase()}`}if(o.includes(t))e=t;else{let a=L(t);n.includes(a)&&(e=a)}}return e}function v(t){let e=f.find(n=>n===t);if(e===void 0&&(e=t),e!==void 0&&e.indexOf("-")!==-1){let[n,o]=e.split("-");e=`${n}-${o.toUpperCase()}`}return e}function w(t,e){function n(o){let a;return o===void 0||o===document||o===window?a=null:a=o.closest(t)||n(o.getRootNode().host),a}return n(e)}function S(t=document.documentElement){var e;let n=w("[lang]",t),o=(e=n?.lang)!==null&&e!==void 0?e:window.navigator.language,a=$(t);return p(o,a)}function p(t,e){let n=h(t),o=v(t),a=d.includes(n),r=e!==void 0?e:a===!0?"rtl":"ltr";return r!=="ltr"&&r!=="rtl"?r=a===!0?"rtl":"ltr":a=r==="rtl",{locale:n,rtl:a,formatLocale:o,direction:r}}function $(t){let e=t.getAttribute("dir");if(e!=="ltr"&&e!=="rtl"){let{rtl:n}=p(window.navigator.language);e=n===!0?"rtl":"ltr"}return e}async function C(t){let{path:e,locale:n,baseURL:o,fileNamePattern:a="{tagName}.t9n.{locale}.json"}=t,r=c=>a.replace("{tagName}",e).replace("{locale}",c),m=await(await fetch(`${o}/${r(s)}`)).json(),u={};if(n!==s)try{u=await(await fetch(`${o}/${r(n)}`)).json()}catch{console.warn(`Unable to fetch locale file for ${e} component for locale ${n}`)}return g(m,u)}async function b(t,e,n){let o=t.tagName.toLowerCase(),{locale:a}=S(t);return{strings:await C({path:o,locale:a,baseURL:e,fileNamePattern:n})}}export{g as a,S as b,b as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
var c=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{b as a}from"./CFC4VODC.js";var x=({breadcrumbs:t,onClick:l})=>t.map((r,i)=>{let{title:e,icon:o,link:n,label:c}=r,m=n?"":"non-interactive",b=c||e,s=i===t.length-1;return a("calcite-menu-item",{active:s,breadcrumb:!s,class:m,href:n,"icon-start":o,label:b,onClick:l,text:e,"text-enabled":!0})});export{x as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
var u=(i,l)=>l.split(".").reduce(function(e,n){if(!e)return;let r=/\[(.*?)\]$/.exec(n);if(r){let t=r[1],s=n.replace(r[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&a in e[s]?e[s][a]:void 0}else return d(e[s],t)}else return e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function d(i,l){let e=l.split("(");if(!e||e.length!==2)return;let n,r=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(r){case"findBy":let s=t[0],a;o(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function o(i){return!isNaN(parseFloat(i))}export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{c as m}from"./KT7AQLTB.js";import{a as u}from"./76URBCMS.js";import{c as d,e as g}from"./ZVEHBXLB.js";import{a as s}from"./EA6ZOVFR.js";import{a as i}from"./DKT3HJ6Z.js";export default $arcgis.t(([y])=>{var S=async(e,t,o)=>{let r="gray-vector",n=o||e.portal,a=i(n,"defaultBasemap");return i(t,"map.basemaps.primary")&&(a=t.map.basemaps.primary),!a&&i(n,"basemapGalleryGroupQuery")&&(a=await O(n.basemapGalleryGroupQuery,e.requestOptions.authentication)),a||r},O=async(e,t)=>{var o;let r="gray-vector";try{let n=e.replace("id:","group:");return((o=(await m({q:n,authentication:t,num:1})).results[0])===null||o===void 0?void 0:o.id)||r}catch{return r}},f=e=>u(e)?{portalItem:{id:e}}:e,v=e=>{if(typeof e=="string")return f(e);{let{baseMapLayers:t,id:o}=e;return t?void 0:o?f(o):void 0}},L=async e=>{let{portalUrl:t,session:o}=e;y.portalUrl=t;let r=o?.token||"invalidTokenString",n=o?.portal||"invalidServerString";(await $arcgis.t(m=>m[0],"identity/IdentityManager")).default.registerToken({token:r,server:n})},k=async e=>{let t=(await $arcgis.t(m=>m[0],"portal/PortalItem")).default,o=new t({id:e,portal:{authMode:"no-prompt"}});return await o.load(),o},G=async e=>{let t=await k(e),o=t.type==="Web Scene"?(await $arcgis.t(m=>m[0],"WebScene")).default:(await $arcgis.t(m=>m[0],"WebMap")).default;return new o({portalItem:t})},se=async e=>{let{id:t,context:o=d()}=e;if(await L(o||d()),t)return G(t);{let{basemap:r,site:n}=e,a=r||await S(o,n||g()),c=e.ground?{ground:"world-elevation"}:{};return I(a,c)}},I=async(e,t)=>{let o=v(e)||await P(e),r=(await $arcgis.t(m=>m[0],"Map")).default;return new r(Object.assign({basemap:o},t))},P=async e=>(await $arcgis.t(m=>m[0],"Basemap")).default.fromJSON(e);var C=async e=>{var t;let o=[3857,102100],{canProject:r,project:n,webMercatorToGeographic:a}=await $arcgis.t(m=>m[0],"geometry/support/webMercatorUtils");return o.includes((t=e.spatialReference)===null||t===void 0?void 0:t.wkid)?a(e):r(e,{wkid:o[0]})?a(n(e,{wkid:o[0]})):void 0},ie=async e=>(await $arcgis.t(m=>m[0],"layers/Layer")).default.fromPortalItem({portalItem:{id:e}});var ce=async e=>{let t=(await $arcgis.t(m=>m[0],"Viewpoint")).default;return new t({targetGeometry:e})};function B(e){let t=document.createElement("link");return t.rel="stylesheet",t.href=e,t}function M(e,t){if(t){let o=document.querySelector(t);o.parentNode.insertBefore(e,o)}else document.head.appendChild(e)}function E(e){return document.querySelector(`link[href*="${e}"]`)}function F(e,t){let o=E(e);return o||(o=B(e),M(o,t)),o}var j={color:[93,173,221,.1],outline:{color:[255,255,255,1],width:1,type:"simple-line",style:"solid"},type:"simple-fill",style:"solid"},T={color:[93,173,221,.25],outline:{color:[155,155,155,1],width:4,type:"simple-line",style:"solid"},type:"simple-fill",style:"solid"},le=e=>e?T:j,de=e=>{var t;let o=e?.geometries;return(t=o?.reduce(V,0))!==null&&t!==void 0?t:0},V=(e,t)=>(t.type==="point"?e+=1:t.type==="polyline"?e=e+t.paths[0].length:t.type==="polygon"&&(e=e+t.rings[0].length-1),e),pe=e=>e==="extent"?"rectangle":e,ue=e=>{let t=i(e,"spatialReference.isGeographic"),o=i(e,"spatialReference.isWGS84"),r=i(e,"spatialReference.wkid");return!!(t||o||r===4326)},me=async e=>{let{extent:t,stationary:o}=e;if(!(!o||!t))return await C(t)},ge=(e,t)=>{var o;let r=t.toFixed(0);if(!((o=e?.center)===null||o===void 0)&&o.latitude&&e.center.longitude){let n=e.center.latitude.toFixed(6),a=e.center.longitude.toFixed(6);return[n,a,r].join(",")}},fe=(e="")=>{let[t,o,r]=e.split(","),n=o&&t?[+o,+t]:null,a=r?+r:null;return{center:n,zoom:a}},z=e=>e.declaredClass==="esri.WebScene",ye=(e,t,o)=>{(b(e)||z(e))&&o(H(e),x(t),{once:!0})},H=e=>()=>e.loadError,x=e=>t=>{t&&e(t)},h={themeOrUrl:"light",insertBefore:'style, link[rel="stylesheet"]'};var w=()=>{let{themeOrUrl:e}=h;return["light","dark"].includes(e)?`${y.assetsPath}/esri/themes/${e}/main.css`:e},he=e=>{let t=document.createElement("link");t.href=w(),t.rel="stylesheet",e.shadowRoot.appendChild(t)},we=()=>{let{insertBefore:e}=h;F(w(),e)},be=e=>e.find(A),A=e=>e.type==="graphic";var Se=(e,t,{on:o,watch:r})=>{let n=[],a=!$(e);return n.push(r(_(e),W(e,a,t))),a||n.push(o(U(e),"pointer-down",q(e,t))),n.push(o(R(e),"trigger-action",N(t))),n},_=e=>()=>e.popup.visible,W=(e,t,o)=>r=>{r?t&&o.emit(s.dictionary.category.interaction.action.open.label.popUp):e.popup.selectedFeature&&o.emit(s.dictionary.category.interaction.action.close.label.popUp)},U=e=>()=>e,q=(e,t)=>o=>{e.hitTest(o,{include:e.graphics}).then(r=>{i(r,"results.length")&&t.emit(s.dictionary.category.interaction.action.open.label.popUp)})},R=e=>()=>e.popup,N=e=>t=>{t.action&&t.action.id==="zoom-to-feature"&&e.emit(Object.assign(Object.assign({},s.dictionary.category.interaction.action.zoom.label.to),{element:s.constants.element.POPUP}))},Oe=(e,t,{on:o})=>{let r=[],n=e.querySelector(".arcgis-zoom__zoom-in"),a=e.querySelector(".arcgis-zoom__zoom-out"),c=e.querySelector("arcgis-search"),p=e.querySelector("arcgis-home");return n&&r.push(o(l(n),"click",D(e,t))),a&&r.push(o(l(a),"click",J(e,t))),c&&(r.push(o(l(c),"arcgisSuggestStart",Z(t))),r.push(o(l(c),"arcgisSelectResult",K(t)))),p&&r.push(o(l(p),"arcgisGo",Q(t))),r},l=e=>()=>e,D=(e,t)=>()=>{t.emit(Object.assign(Object.assign({},s.dictionary.category.interaction.action.zoom.label.in),{details:e.view.zoom}))},J=(e,t)=>()=>{t.emit(Object.assign(Object.assign({},s.dictionary.category.interaction.action.zoom.label.out),{details:e.view.zoom}))},Z=e=>t=>{e.emit(Object.assign(Object.assign({},s.dictionary.category.interaction.action.search.label.query),{details:t.detail.searchTerm}))},K=e=>t=>{e.emit(Object.assign(Object.assign({},s.dictionary.category.interaction.action.zoom.label.to),{details:t.detail.result.name}))},Q=e=>()=>{e.emit(Object.assign(Object.assign({},s.dictionary.category.interaction.action.zoom.label.to),{details:"Home"}))},ve=()=>({dockEnabled:!0,dockOptions:{breakpoint:!1,position:"bottom-left"}}),$=e=>e.declaredClass==="esri.views.MapView",b=e=>e.declaredClass==="esri.WebMap",Le=e=>{e.forEach(t=>{t&&t.remove()}),e.length=0},ke=e=>b(e)?e.portalItem.extent:void 0;var Ge=e=>{let t={};return e&&e.baseViewItemId&&e.baseViewItemId.length>0&&(t.itemId=e.baseViewItemId[0]),t},Ie=async e=>{let{layer:t,view:o,name:r}=e;switch(t.type==="wfs"&&(o.popup=Object.assign(Object.assign({},o.popup),{defaultPopupTemplateEnabled:!0}),r&&(t.name=r)),t.type){case"elevation":o.map.ground.layers.add(t);break;case"voxel":o.map.ground.navigationConstraint={type:"none"},o.map.add(t,0);break;default:o.map.add(t,0);break}return await o.whenLayerView(t),t};return{a:v,b:se,c:P,d:ie,e:ce,f:le,g:de,h:pe,i:ue,j:me,k:ge,l:fe,m:ye,n:he,o:we,p:be,q:Se,r:Oe,s:ve,t:$,u:Le,v:ke,w:Ge,x:Ie}},"config")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import"./OI7BJ2LB.js";var e="Ocorreu um erro ao carregar o gr\xE1fico.",a="N\xE3o \xE9 poss\xEDvel aplicar transforma\xE7\xE3o de log para valores negativos ou zero.",r="N\xE3o \xE9 poss\xEDvel aplicar transforma\xE7\xE3o de raiz quadrada para valores negativos.",o="Ocorreu um erro ao carregar a camada. URL = ${ url }. D de item do portal = ${ portalItemId }.",s="Os campos [${ fieldNames }] definidos na configura\xE7\xE3o n\xE3o foram encontrados na camada.",t="${ dataPath } deve ser \xFAnico. A s\xE9rie denominada ${ seriesName } tem um id (${ seriesID }) que j\xE1 \xE9 usado por outra s\xE9rie.",i="${ dataPath } n\xE3o deve realizar agrega\xE7\xE3o sem contagem em campo n\xE3o num\xE9rico.",d="${ dataPath } est\xE1 sem uma propriedade denominada ${ missingProperty }.",n="${ dataPath } n\xE3o deve ser menor que ${ limit } caracteres.",m="${ dataPath } n\xE3o deve ter menos que ${ limit } itens.",u="${ dataPath } n\xE3o deve ter mais de ${ limit } itens.",l="${ dataPath } deve ter pelo menos um caractere diferente de espa\xE7o em branco.",p="${ dataPath } n\xE3o deve ter ${ additionalProperty }.",c="${ dataPath } deve ser igual a um destes valores permitidos: ${ allowedValues }.",g="${ dataPath } deve corresponder ao esquema de um destes: ${ schemaOptions }.",$="Gr\xE1ficos de dispers\xE3o com s\xEDmbolos proporcionais n\xE3o s\xE3o suportados. O tamanho padr\xE3o do s\xEDmbolo foi aplicado.",v="Falha ao ler os dados de entrada.",y="A opera\xE7\xE3o queryBins n\xE3o \xE9 suportada neste servi\xE7o.",f="O tipo de s\xE9rie esperado no \xEDndice${ seriesIndex } \xE9 '${ expectedType }' mas '${ receivedType }' foi recebido em seu lugar",h="ou",P={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:r,layerLoadFailure:o,layerFieldsNotFound:s,duplicateSeriesID:t,nonNumericAggregation:i,requiredProperty:d,minLength:n,minItems:m,maxItems:u,whiteSpacePattern:l,additionalProperty:p,enumValues:c,anyOfValues:g,bubbleChartValidateMsg:$,queryError:v,queryBinsNotSupported:y,invalidSeriesType:f,or:"ou"};export{p as additionalProperty,g as anyOfValues,$ as bubbleChartValidateMsg,P as default,e as defaultError,t as duplicateSeriesID,c as enumValues,f as invalidSeriesType,s as layerFieldsNotFound,o as layerLoadFailure,u as maxItems,m as minItems,n as minLength,a as negativeValueInDataForLogTransformation,r as negativeValueInDataForSqrtTransformation,i as nonNumericAggregation,h as or,y as queryBinsNotSupported,v as queryError,d as requiredProperty,l as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as r}from"./SW7LHODP.js";var c=async o=>{try{await navigator.clipboard.writeText(o)}catch{r.error("Unable to copy to clipboard")}};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.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
async function o(s,c,e){let a=t=>!isNaN(t)&&t>0,r=a(e?.maxAttempts)?e.maxAttempts:7,u=a(e?.initialRetryDelay)?e.initialRetryDelay:500;async function i(t,l){if(t>r)throw new Error(`Polling failed after ${r} attempts`);let n=await new Promise(y=>{setTimeout(async()=>{let m=await s();y(m)},l)});return c(n)?n:await i(t+1,t===1?u:l*2)}return i(1,0)}export{o as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as c}from"./UBBYNAIH.js";import{a as o}from"./FJ4RTBKN.js";import{b as l,e as h,i as d}from"./CFC4VODC.js";import"./OI7BJ2LB.js";var p=function(e,t,i,n){var a=arguments.length,r=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(r=(a<3?s(r):a>3?s(t,i,r):s(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},f=class{constructor(e){d(this,e),this.arcgisConfigurationEditorFieldInputChange=h(this,"arcgisConfigurationEditorFieldInputChange",7),this.setInputElement=t=>{this.inputElement=t},this.params=void 0,this.currentValue=void 0,o(this,"handleArcgisHubInputRichTextChange")}componentWillLoad(){this.setCurrentValue(this.params.value)}watchValue(e){e.value!=this.currentValue&&(this.inputElement.isFocused||this.setCurrentValue(e.value))}setCurrentValue(e){this.currentValue=e}handleArcgisHubInputRichTextChange(e){let t=e.target.value;this.arcgisConfigurationEditorFieldInputChange.emit(t)}render(){var e,t,i,n;let a=this.params.schema;return l("arcgis-hub-rich-text",{key:"3b1471924ecb1e39846709e14b1572691dbcf0e3",disabled:this.params.disabled,label:a.title,onArcgisHubRichTextChange:this.handleArcgisHubInputRichTextChange,ref:this.setInputElement,rows:((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.rows)||5,toolbar:(n=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||n===void 0?void 0:n.toolbar,value:this.currentValue})}static get watchers(){return{params:["watchValue"]}}};p([c({timeout:350})],f.prototype,"handleArcgisHubInputRichTextChange",null);export{f as hub_field_input_rich_text};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as f}from"./DN2QPEN7.js";import{a as m,b as u,c as g,d as C}from"./ED3NQQVR.js";import{a as p}from"./FJ4RTBKN.js";import{a as l}from"./EA6ZOVFR.js";import"./4YRBWDTE.js";import{a as r}from"./7NT2O3MX.js";import"./DFH42HYH.js";import"./7P3IKV5W.js";import{b as t,c as o,d as h,e as c,h as b,i as d}from"./CFC4VODC.js";import"./SW7LHODP.js";import{g as y}from"./AQOHWXXK.js";import"./DKT3HJ6Z.js";import"./33E3LTJR.js";import"./OI7BJ2LB.js";var S=":host([type='textarea']) .copy-button{flex-shrink:1;align-self:flex-end;min-width:7rem}:host([type='textarea']) calcite-label{display:flex;flex-direction:column;min-width:-moz-fit-content;min-width:fit-content}.copy-button{height:2rem}",v=S,k=class{constructor(e){d(this,e),this.arcgisHubCopyButtonClicked=c(this,"arcgisHubCopyButtonClicked",7),this.type="text",this.label=void 0,this.placeholder=void 0,this.buttonText=void 0,this.value=void 0,this.readonly=!1,this.disabled=!1,p(this,"onCopyButtonClick","handleCalciteInputInput")}async componentWillLoad(){this.intl=await r.loadIntlForComponent(this.element),this.type==="textarea"&&(this.buttonText=this.buttonText||this.intl.t("copyCode"))}handleCalciteInputInput(e){this.value=e.target.value}onCopyButtonClick(){this.arcgisHubCopyButtonClicked.emit(this.value),f(this.value)}renderCopyButton(e,a,s){return t("calcite-button",{class:"copy-button",disabled:this.disabled,iconStart:a,label:this.intl.t("copyButtonLabel"),onClick:this.onCopyButtonClick,slot:s},e)}render(){let e=this.type==="text";return t(o,{key:"131fa5fc36d2695f859e628f2faf34440c95e453"},t("calcite-label",{key:"9e6f329492ee924ee0eb859aaea0fd53ec582a96"},t("slot",{key:"acdbbda35025c054f46daedc14830bd4c95b024a",name:"label"},this.label),e?t("calcite-input",{disabled:this.disabled,onCalciteInputInput:this.handleCalciteInputInput,placeholder:this.placeholder,readOnly:this.readonly,type:this.type,value:this.value},this.renderCopyButton(null,"copy-to-clipboard","action")):t(b,null,t("calcite-input",{disabled:this.disabled,placeholder:this.placeholder,readOnly:this.readonly,scale:"l",type:this.type,value:this.value}),this.renderCopyButton(this.buttonText))))}static get assetsDirs(){return["locales"]}get element(){return h(this)}};k.style=v;var B="5.409.0",x=":host{display:block}",I=x,R=class{get linkUrl(){let e=new URL(location.href),{origin:a,pathname:s,search:n,hash:i}=this;return a&&(e=new URL(a)),s&&(e.pathname=s,e.search=""),n&&(e.search=n),e.hash=i??"",e.href}async getCardState(){let e=this.referenceElement;return e.getState?await e.getState():m(this.referenceElement)}getSnippetByVal(e){if(this.referenceElement&&this.shareableByValue){let{domId:a,referenceElement:s}=this,n=u(B),i=g(s,Object.assign(Object.assign({},e),{id:a}));return`${n}
|
|
5
|
+
${i}`}}getSnippetByRef(){let{referenceElement:e}=this;if(e&&this.shareableByReference){let a=u(B),s=C(e);return`${a}
|
|
6
|
+
${s}>`}}async updateSnippets(){let{referenceElement:e}=this;if(e&&(this.shareableByReference||this.shareableByValue)){await customElements.whenDefined(e.tagName.toLowerCase());let a=await this.getCardState();this.snippetByVal=this.getSnippetByVal(a),this.snippetByRef=this.getSnippetByRef()}}constructor(e){d(this,e),this.hubTelemetry=c(this,"hubTelemetry",7),this.origin=void 0,this.pathname=void 0,this.search=void 0,this.hash=void 0,this.shareable=!1,this.shareableByValue=!1,this.shareableByReference=!1,this.referenceElement=void 0,this.domId=void 0,this.snippetByVal=void 0,this.snippetByRef=void 0,this.domId=y()}async componentWillLoad(){this.intl=await r.loadIntlForComponent(this.element)}componentWillRender(){this.updateSnippets()}onCopyButtonClicked(e){e.stopPropagation();let a=Object.assign(Object.assign({},l.dictionary.category.interaction.action.share.label.link),{details:e.detail});this.hubTelemetry.emit(a)}render(){return t(o,{key:"b77b2047b9185c6eb068a5640184a455bfeabda9","data-element":"share"},this.shareable&&t("arcgis-copyable-input",{label:this.intl.t("copyLinkLabel"),readonly:!0,type:"text",value:this.linkUrl}),this.shareableByValue&&t("arcgis-copyable-input",{label:this.intl.t("copySnippetByValLabel"),readonly:!0,type:"textarea",value:this.snippetByVal}),this.shareableByReference&&t("arcgis-copyable-input",{label:this.intl.t("copySnippetByRefLabel"),readonly:!0,type:"textarea",value:this.snippetByRef}))}static get assetsDirs(){return["locales"]}get element(){return h(this)}};R.style=I;var E=':host{display:flex;height:100%;flex-direction:column}calcite-fab{justify-content:flex-end}:host([shareable-on-hover]){position:relative}:host([shareable-on-hover]) calcite-fab{pointer-events:none;position:absolute;top:100%;right:0px;left:0px;z-index:10;opacity:0;transition:opacity 150ms ease-out 2000ms}:host([shareable-on-hover]:hover) calcite-fab,:host([shareable-on-hover]:focus) calcite-fab{pointer-events:auto;opacity:1;transition:opacity 250ms ease-in 100ms}calcite-tooltip[aria-hidden="true"]{pointer-events:none}',O=E,w=class{get isShareable(){let{shareable:e,referenceElement:a}=this;return e&&!!a?.id}get shouldRender(){let{isShareable:e,shareableByValue:a,shareableByReference:s}=this;return e||a||s}get _messageOverrides(){return{close:this.intl.t("modalClose")}}onModalClose(){this.modalIsOpen=!1;let e=Object.assign({},l.dictionary.category.interaction.action.close.label.modal.details.share);this.hubTelemetry.emit(e)}onOpenModalButtonClick(){this.modalIsOpen=!0;let e=Object.assign({},l.dictionary.category.interaction.action.open.label.popover.details.share);this.hubTelemetry.emit(e)}constructor(e){d(this,e),this.hubTelemetry=c(this,"hubTelemetry",7),this.shareable=!1,this.shareableByValue=!1,this.shareableByReference=!1,this.referenceElement=void 0,this.shareableOnHover=!1,this.showShareUi=!0,this.modalIsOpen=!1,p(this,"onModalClose","onOpenModalButtonClick")}async componentWillLoad(){this.intl=await r.loadIntlForComponent(this.element)}componentDidLoad(){if(!this.referenceElement){let e=this.element.shadowRoot.querySelector("slot");this.referenceElement=e.assignedElements()[0]}}renderSharingUi(){if(this.shouldRender)return t(b,null,t("calcite-fab",{appearance:"outline-fill",icon:"share",kind:"brand",label:this.intl.t("shareableTooltip"),onClick:this.onOpenModalButtonClick,text:this.intl.t("shareableTooltip"),textEnabled:!0}),t("arcgis-wormhole",null,t("calcite-dialog",{heading:this.intl.t("modalHeading"),messageOverrides:this._messageOverrides,modal:!0,onCalciteDialogClose:this.onModalClose,open:this.modalIsOpen,scale:"s"},this.modalIsOpen&&t("arcgis-share",{hash:this.referenceElement&&this.referenceElement.id,referenceElement:this.referenceElement,shareable:this.shareable,shareableByReference:this.shareableByReference,shareableByValue:this.shareableByValue}))))}render(){return t(o,{key:"190deda4c3edc1f6b8fa6fe192e7b560e2e8eba5","data-element":"shareable-card",tabindex:this.shouldRender&&this.shareableOnHover?"0":void 0},t("slot",{key:"909fcaa4dc7b98054787a2d1a52e841d4cb12522"}),this.showShareUi&&this.renderSharingUi())}static get assetsDirs(){return["locales"]}get element(){return h(this)}};w.style=O;export{k as arcgis_copyable_input,R as arcgis_share,w as arcgis_shareable_card};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import"./OI7BJ2LB.js";var a="Wyst\u0105pi\u0142 b\u0142\u0105d podczas wczytywania diagramu.",e="Nie mo\u017Cna zastosowa\u0107 transformacji Logarytm do warto\u015Bci ujemnych lub r\xF3wnych zero.",i="Nie mo\u017Cna zastosowa\u0107 transformacji Pierwiastek kwadratowy do warto\u015Bci ujemnych.",n="Wyst\u0105pi\u0142 b\u0142\u0105d podczas wczytywania warstwy. URL = ${ url }. Identyfikator elementu portalu = ${ portalItemId }.",t="Zdefiniowane w konfiguracji pola [${ fieldNames }] nie zosta\u0142y znalezione w warstwie.",r="Nazwa ${ dataPath } musi by\u0107 unikalna. Seria o nazwie ${ seriesName } ma identyfikator (${ seriesID }), kt\xF3ry jest ju\u017C u\u017Cywany przez inn\u0105 seri\u0119.",o="Element ${ dataPath } nie mo\u017Ce wykonywa\u0107 agregacji innej ni\u017C zliczenie na polu innym ni\u017C liczbowe.",s="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",m="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",l="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",y="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",d="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",u="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",w="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",c="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",p="Diagramy punktowe z symbolami proporcjonalnymi nie s\u0105 obs\u0142ugiwane. Zastosowano domy\u015Bln\u0105 wielko\u015B\u0107 symbolu.",z="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",g="Operacja queryBins nie jest obs\u0142ugiwana w tej us\u0142udze.",h="Oczekiwany typ serii z indeksem ${ seriesIndex } to '${ expectedType }', ale zamiast niego otrzymano '${ receivedType }'",$="lub",j={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:i,layerLoadFailure:n,layerFieldsNotFound:t,duplicateSeriesID:r,nonNumericAggregation:o,requiredProperty:s,minLength:m,minItems:l,maxItems:y,whiteSpacePattern:d,additionalProperty:u,enumValues:w,anyOfValues:c,bubbleChartValidateMsg:p,queryError:z,queryBinsNotSupported:g,invalidSeriesType:h,or:"lub"};export{u as additionalProperty,c as anyOfValues,p as bubbleChartValidateMsg,j as default,a as defaultError,r as duplicateSeriesID,w as enumValues,h as invalidSeriesType,t as layerFieldsNotFound,n as layerLoadFailure,y as maxItems,l as minItems,m as minLength,e as negativeValueInDataForLogTransformation,i as negativeValueInDataForSqrtTransformation,o as nonNumericAggregation,$ as or,g as queryBinsNotSupported,z as queryError,s as requiredProperty,d as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
var L;(function(n){n[n.EXTRA_SMALL=576]="EXTRA_SMALL",n[n.SMALL=768]="SMALL",n[n.MEDIUM=992]="MEDIUM",n[n.LARGE=1200]="LARGE"})(L||(L={}));function i(){return Math.min(window.innerWidth,window.innerHeight)<L.SMALL}export{L as a,i as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{f as r,s,t as i,x as o}from"./6IB3SCHG.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as f}from"./UTPWSKHM.js";import{a as u,c as g,d as b}from"./C6LAICOE.js";import{a as c}from"./IISX6DYN.js";import{a as L}from"./43SCGVLE.js";import{a as O}from"./2I4TEECN.js";import"./JHNNMLEF.js";import"./DQIZC7ZD.js";import"./Y7L3N5EB.js";import"./UVVFZM3S.js";import"./YSTEVXNT.js";import"./OE5I3APA.js";import a from"./DLQCB2FV.js";import"./HA2KBQXE.js";import{a as M}from"./P7FMCK4T.js";import"./VR64O6RL.js";import"./HJO43VXZ.js";import"./ZH6TUOKM.js";import"./2YCYU2XM.js";import"./UQB4FC66.js";import"./TF3F4EC4.js";import"./4EFGJY5Q.js";import"./KMFLB5NC.js";import"./F4DBGR6Q.js";import"./5YCLLASW.js";import"./JCDX62BP.js";import"./CWALSH72.js";import"./IKY6VK72.js";import"./G7BPDEMI.js";import"./2H5WQNTH.js";import"./B42G5CIW.js";import"./OXUVV4OH.js";import"./ZNEEVP6J.js";import"./URJPABPO.js";import"./XXAVDH5Y.js";import"./QWMGKPHS.js";import"./2SV6KORH.js";import"./C5QLC7CN.js";import"./77QIYZJU.js";import"./YOMYP2IA.js";import"./G5OWJLYS.js";import"./LJRUSILL.js";import"./H7I646O4.js";import"./E6SRAXMN.js";import"./ESPKWHYD.js";import"./M4K4CR72.js";import"./ZJYUP4R4.js";import"./GVV67WKI.js";import"./I2AVZSWC.js";import"./OF43ZY2H.js";import"./HYAGHU25.js";import"./IJEBPEAQ.js";import"./NHEA4CXP.js";import{a as T}from"./ZZJB7ZKL.js";import"./TZENYTQF.js";import"./KT7AQLTB.js";import"./76URBCMS.js";import"./GDSA2NXR.js";import"./D47WZTYS.js";import"./2VRB6QBI.js";import"./GXALT5UP.js";import{a as H}from"./FJ4RTBKN.js";import{c as R}from"./ZVEHBXLB.js";import"./5LQXDSGH.js";import{a as m}from"./EA6ZOVFR.js";import"./4YRBWDTE.js";import{a as p}from"./7NT2O3MX.js";import"./DFH42HYH.js";import"./7P3IKV5W.js";import{b as i,c as y,d as v,e as _,h as E,i as x}from"./CFC4VODC.js";import"./V6IPPQU4.js";import"./XRICSV66.js";import"./CDTE22PZ.js";import"./Y7PCVFZ5.js";import{a as k}from"./KZR6WBD2.js";import{o as C}from"./VLHMCPTM.js";import"./KNIZDHSU.js";import"./AEBG25HZ.js";import"./N2XEGODC.js";import"./SW7LHODP.js";import"./AQOHWXXK.js";import"./DKT3HJ6Z.js";import"./33E3LTJR.js";import"./OI7BJ2LB.js";export default $arcgis.t(([,{w:A}])=>{var l={header:"header",main:"main",footerStart:"footer-start",footerEnd:"footer-end"},S=`.sc-arcgis-hub-content-hero-h{display:flex}.vertical.sc-arcgis-hub-content-hero-h{display:block}.hero-media.sc-arcgis-hub-content-hero{display:flex;align-items:center}arcgis-hub-map-view.sc-arcgis-hub-content-hero{aspect-ratio:200 / 133;height:300px;width:100%}.hero-thumbnail.sc-arcgis-hub-content-hero{height:300px;width:auto;object-fit:contain;object-position:left}.vertical.sc-arcgis-hub-content-hero-h .hero-thumbnail.sc-arcgis-hub-content-hero{height:auto;width:100%}@media only screen and (min-width: 768px){.hero-media.sc-arcgis-hub-content-hero{margin-right:1.5rem}}.hero-content.sc-arcgis-hub-content-hero{display:grid;flex-grow:1;padding-top:0.75rem;padding-bottom:1rem;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;grid-template-areas:"header header"
|
|
5
|
+
"main main"
|
|
6
|
+
"footer-start footer-end"}.no-media.sc-arcgis-hub-content-hero-h .hero-content.sc-arcgis-hub-content-hero{padding-left:0px;padding-right:0px}.vertical.sc-arcgis-hub-content-hero-h .hero-content.sc-arcgis-hub-content-hero{padding-left:0px;padding-right:0px}@media only screen and (max-width: 768px){.vertical.sc-arcgis-hub-content-hero-h .hero-content.sc-arcgis-hub-content-hero{padding-left:1rem;padding-right:1rem}}.hero-header.sc-arcgis-hub-content-hero{grid-area:header}.hero-header.sc-arcgis-hub-content-hero h1.sc-arcgis-hub-content-hero{font-size:var(--calcite-font-size-4);line-height:2.5rem;font-weight:var(--calcite-font-weight-medium)}.vertical.sc-arcgis-hub-content-hero-h .hero-header.sc-arcgis-hub-content-hero{padding-top:1.5rem}.hero-main.sc-arcgis-hub-content-hero{grid-area:main;padding-bottom:1.5rem}.hero-footer-start.sc-arcgis-hub-content-hero{grid-area:footer-start}.hero-footer-start.sc-arcgis-hub-content-hero-s>calcite-button,.hero-footer-start .sc-arcgis-hub-content-hero-s>calcite-button{margin-right:0.5rem}.sc-arcgis-hub-content-hero-s>[slot='footer-start']{display:flex;column-gap:0.5rem}.hero-footer-end.sc-arcgis-hub-content-hero{grid-area:footer-end;display:flex;justify-content:flex-end}.hero-footer-end.sc-arcgis-hub-content-hero-s>calcite-button,.hero-footer-end .sc-arcgis-hub-content-hero-s>calcite-button{margin-left:0.5rem}`,j=S,U=class{get _thumbnailUrl(){let t="";if(this.thumbnailUrl){let e=new URL(this.thumbnailUrl);e.searchParams.set("w","800"),t=e.toString()}return t}get mediaClass(){let t="no-media";return this._thumbnailUrl?t="thumbnail-media":this.extent&&(t="map-media"),t}get hostClass(){return(this.mediaClass+" "+this.orientationClass).trim()}constructor(t){x(this,t),this.heroTitle=void 0,this.thumbnailUrl=void 0,this.basemap=void 0,this.extent=void 0,this.graphics=void 0,this.showMap=!0,this.mapSettings=void 0,this.orientationClass="",H(this,"handleResize")}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element)}connectedCallback(){f.addHandler(this.element,this.handleResize)}disconnectedCallback(){f.unobserve(this.element)}async handleResize(){this.orientationClass=this.element.clientWidth<768?"vertical":""}renderMedia(){let t=null;return this._thumbnailUrl?t=this.renderThumbnail(this._thumbnailUrl):this.extent&&this.showMap&&(t=this.renderMap()),i("div",{class:"hero-media"},t)}renderThumbnail(t){return i("img",{alt:this.intl.t("thumbnail"),class:"hero-thumbnail",slot:"thumbnail",src:t})}renderMap(){return i("arcgis-hub-map-view",Object.assign({},A(this.mapSettings),{basemap:this.basemap,expand:1.5,extent:this.extent,graphics:this.graphics,"hide-zoom":!0}))}renderHeader(){return i("div",{class:"hero-header"},this.heroTitle&&i("h1",null,this.heroTitle),i("slot",{name:l.header}))}renderMain(){return i("div",{class:"hero-main"},i("slot",{name:l.main}))}renderFooter(){return i(E,null,i("div",{class:"hero-footer-start"},i("slot",{name:l.footerStart})),i("div",{class:"hero-footer-end"},i("slot",{name:l.footerEnd})))}render(){return i(y,{key:"095946725d9a98cdf993eb5eef57c6424a44f431",class:this.hostClass,"data-element":"content-hero"},this.renderMedia(),i("div",{key:"e985db5f3c6767c14e315fd1af959c8a859a6cbd",class:"hero-content"},this.renderHeader(),this.renderMain(),this.renderFooter()))}static get assetsDirs(){return["locales"]}get element(){return v(this)}};U.style=j;var F=".sc-arcgis-hub-entity-hero-h{display:block}",z=F,w=function(t,e,r,n){var s=arguments.length,o=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(o=(s<3?a(o):s>3?a(e,r,o):a(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o},d=class{constructor(t){x(this,t),this.arcgisEntityEdit=_(this,"arcgisEntityEdit",7),this.hubTelemetry=_(this,"hubTelemetry",7),this._heroActions=[],this.handleEditClick=()=>{this.arcgisEntityEdit.emit()},this.handleHeroActionClick=e=>{var r,n,s;let o=Number(e.currentTarget.getAttribute("data-index")),a=((s=(n=(r=this.entity)===null||r===void 0?void 0:r.view)===null||n===void 0?void 0:n.heroActions)!==null&&s!==void 0?s:[])[o],h;a&&(a.kind==="content"?h=m.dictionary.category.navigation.action.view.label.content:a.kind==="external"?h=Object.assign(Object.assign({},m.dictionary.category.navigation.action.external.label.link),{details:a.href}):a.kind==="well-known"&&(h={register:null}[a.action])),h&&this.hubTelemetry.emit({telemetry:h,composedPath:e.composedPath()})},this.entity=void 0,this.tooltipRefs={},this.showEdit=!1}get _context(){return R()}get location(){return this.entity.location}get hasLocation(){var t;return!!(this.location&&((t=this.location)===null||t===void 0?void 0:t.type)!=="none")}get canEditEntity(){let t=`hub:${this.entityType}:edit`;return C(t,this._context,this.entity).access}get entityType(){return k(this.entity)}get heroActions(){return this._heroActions.slice(0,2)}get extent(){var t;return this.hasLocation?T((t=this.location)===null||t===void 0?void 0:t.extent):void 0}get graphics(){var t;if(!this.hasLocation)return[];let e=(t=this.location.geometries)!==null&&t!==void 0?t:[];return e.length?e.map(r=>({geometry:r,symbol:b[r.type](u.DEFAULT,g[r.type])})):[{symbol:b.polygon(u.DEFAULT,g.polygon),geometry:Object.assign({type:"extent"},this.extent)}]}get showMap(){var t,e;return(e=(t=this.entity.view)===null||t===void 0?void 0:t.showMap)!==null&&e!==void 0?e:!1}get mapSettings(){var t;return(t=this.entity.view)===null||t===void 0?void 0:t.mapSettings}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),await this.init()}async init(){var t,e;let r=((e=(t=this.entity.view)===null||t===void 0?void 0:t.heroActions)!==null&&e!==void 0?e:[]).map(s=>Object.assign({},O(this.intl,s))),n=[];for(let s of r)try{let o=await L([s],this._context.hubRequestOptions);o&&o.length&&n.push(o[0])}catch{}this._heroActions=n}renderEditButton(){return this.canEditEntity&&this.showEdit?i("calcite-button",{appearance:"solid","data-element":"primary-action",href:"#","icon-start":"gear",label:"Edit",onClick:this.handleEditClick,round:!0},"Edit"):null}renderHeroActions(t=[]){return i(E,null,i("div",{slot:"footer-start"},t.map((e,r)=>i("div",{key:e.label},i("calcite-button",{appearance:r===0?"solid":"outline-fill","data-element":r===0?"primary-action":"secondary-action","data-index":r,disabled:e.disabled,href:e.kind==="external"?e.href:void 0,label:e.label,onClick:this.handleHeroActionClick,ref:n=>{this.tooltipRefs=e.tooltip&&this.tooltipRefs[e.tooltip]!==n?Object.assign(Object.assign({},this.tooltipRefs),{[e.tooltip]:n}):this.tooltipRefs},round:!0},e.label),this.tooltipRefs[e.tooltip]&&i("calcite-tooltip",{referenceElement:this.tooltipRefs[e.tooltip]},e.tooltip)))),this.showEdit&&i("div",{slot:"footer-end"},this.renderEditButton()))}render(){var t;return i(y,{key:"75d9a295f690b17e3b40bbb015245680b0ad8e2c","data-element":"entity-hero"},i("arcgis-hub-content-hero",{key:"a1ce3e53416028f52a7fa882ade357da0b75ba06",extent:this.extent,graphics:this.graphics,"hero-title":(t=this.entity)===null||t===void 0?void 0:t.name,mapSettings:this.mapSettings,showMap:this.showMap,thumbnailUrl:this.hasLocation&&this.showMap?null:M(this.entity)},i("slot",{key:"f019b8da86c291e65f124e2c1aaa83b37d35631e",name:"footer-start"}),this._heroActions&&this.renderHeroActions(this._heroActions)))}static get assetsDirs(){return["locales"]}get element(){return v(this)}static get watchers(){return{entity:["init"]}}};w([c("_heroActions")],d.prototype,"heroActions",null);w([c("location.extent")],d.prototype,"extent",null);w([c("location.geometries")],d.prototype,"graphics",null);d.style=z;return{arcgis_hub_content_hero:U,arcgis_hub_entity_hero:d}},"config",a)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{c as b}from"./JT4KC7CJ.js";import{a as M}from"./KJXFF6Q5.js";import{a as k}from"./FJ4RTBKN.js";import{a as p}from"./EA6ZOVFR.js";import"./4YRBWDTE.js";import{a as U}from"./7NT2O3MX.js";import"./DFH42HYH.js";import"./7P3IKV5W.js";import{b as a,c as P,d as q,e as A,h as S,i as N}from"./CFC4VODC.js";import"./33E3LTJR.js";import"./OI7BJ2LB.js";var w=function(e,t,i,n){function s(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function c(u){try{h(n.next(u))}catch(y){o(y)}}function d(u){try{h(n.throw(u))}catch(y){o(y)}}function h(u){u.done?r(u.value):s(u.value).then(c,d)}h((n=n.apply(e,t||[])).next())})},F="http://localhost".replace(/\/+$/,""),D=class{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:F}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||K}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){let t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){let t=this.configuration.accessToken;if(t)return typeof t=="function"?t:()=>w(this,void 0,void 0,function*(){return t})}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}},$=new D,C=class{constructor(t=$){this.configuration=t,this.fetchApi=(i,n)=>w(this,void 0,void 0,function*(){let s={url:i,init:n};for(let o of this.middleware)o.pre&&(s=(yield o.pre(Object.assign({fetch:this.fetchApi},s)))||s);let r;try{r=yield(this.configuration.fetchApi||fetch)(s.url,s.init)}catch(o){for(let c of this.middleware)c.onError&&(r=(yield c.onError({fetch:this.fetchApi,url:s.url,init:s.init,error:o,response:r?r.clone():void 0}))||r);if(r===void 0)throw o instanceof Error?new _(o,"The request failed and the interceptors did not return an alternative response"):o}for(let o of this.middleware)o.post&&(r=(yield o.post({fetch:this.fetchApi,url:s.url,init:s.init,response:r.clone()}))||r);return r}),this.middleware=t.middleware}withMiddleware(...t){let i=this.clone();return i.middleware=i.middleware.concat(...t),i}withPreMiddleware(...t){let i=t.map(n=>({pre:n}));return this.withMiddleware(...i)}withPostMiddleware(...t){let i=t.map(n=>({post:n}));return this.withMiddleware(...i)}request(t,i){return w(this,void 0,void 0,function*(){let{url:n,init:s}=yield this.createFetchParams(t,i),r=yield this.fetchApi(n,s);if(r&&r.status>=200&&r.status<300)return r;throw new R(r,"Response returned an error code")})}createFetchParams(t,i){return w(this,void 0,void 0,function*(){let n=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(n+="?"+this.configuration.queryParamsStringify(t.query));let s=Object.assign({},this.configuration.headers,t.headers);Object.keys(s).forEach(h=>s[h]===void 0?delete s[h]:{});let r=typeof i=="function"?i:()=>w(this,void 0,void 0,function*(){return i}),o={method:t.method,headers:s,body:t.body,credentials:this.configuration.credentials},c=Object.assign(Object.assign({},o),yield r({init:o,context:t})),d=Object.assign(Object.assign({},c),{body:H(c.body)||c.body instanceof URLSearchParams||j(c.body)?c.body:JSON.stringify(c.body)});return{url:n,init:d}})}clone(){let t=this.constructor,i=new t(this.configuration);return i.middleware=this.middleware.slice(),i}};function j(e){return typeof Blob<"u"&&e instanceof Blob}function H(e){return typeof FormData<"u"&&e instanceof FormData}var R=class extends Error{constructor(t,i){super(i),this.response=t,this.name="ResponseError"}},_=class extends Error{constructor(t,i){super(i),this.cause=t,this.name="FetchError"}},f=class extends Error{constructor(t,i){super(i),this.field=t,this.name="RequiredError"}};function K(e,t=""){return Object.keys(e).map(i=>z(i,e[i],t)).filter(i=>i.length>0).join("&")}function z(e,t,i=""){let n=i+(i.length?`[${e}]`:e);if(t instanceof Array){let s=t.map(r=>encodeURIComponent(String(r))).join(`&${encodeURIComponent(n)}=`);return`${encodeURIComponent(n)}=${s}`}if(t instanceof Set){let s=Array.from(t);return z(e,s,i)}return t instanceof Date?`${encodeURIComponent(n)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?K(t,n):`${encodeURIComponent(n)}=${encodeURIComponent(String(t))}`}var m=class{constructor(t,i=n=>n){this.raw=t,this.transformer=i}value(){return w(this,void 0,void 0,function*(){return this.transformer(yield this.raw.json())})}},T=class{constructor(t){this.raw=t}value(){return w(this,void 0,void 0,function*(){})}};function V(e){if(e!==void 0)return e===null?null:{userId:e.userId,notificationSpecName:e.notificationSpecName,metadata:e.metadata,cadence:e.cadence,deliveryMethod:e.deliveryMethod}}function G(e){if(e!==void 0)return e===null?null:{notificationSpecName:e.notificationSpecName,metadata:e.metadata,cadence:e.cadence,deliveryMethod:e.deliveryMethod,agoId:e.agoId,username:e.username,firstName:e.firstName,lastName:e.lastName,email:e.email,deleted:e.deleted,optedOut:e.optedOut}}function v(e){return Y(e)}function Y(e,t){return e==null?e:{id:e.id,userId:e.userId,notificationSpecId:e.notificationSpecId,metadata:e.metadata,cadence:e.cadence,lastDelivery:new Date(e.lastDelivery),deliveryMethod:e.deliveryMethod,active:e.active,updatedAt:new Date(e.updatedAt),createdAt:new Date(e.createdAt),notificationSpec:e.notificationSpec,user:e.user}}function J(e){if(e!==void 0)return e===null?null:{cadence:e.cadence,deliveryMethod:e.deliveryMethod,active:e.active,lastDelivery:e.lastDelivery,userId:e.userId}}var l=function(e,t,i,n){function s(r){return r instanceof i?r:new i(function(o){o(r)})}return new(i||(i=Promise))(function(r,o){function c(u){try{h(n.next(u))}catch(y){o(y)}}function d(u){try{h(n.throw(u))}catch(y){o(y)}}function h(u){u.done?r(u.value):s(u.value).then(c,d)}h((n=n.apply(e,t||[])).next())})},O=class extends C{createSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.createSubscriptionDto===null||t.createSubscriptionDto===void 0)throw new f("createSubscriptionDto","Required parameter requestParameters.createSubscriptionDto was null or undefined when calling createSubscription.");let n={},s={};s["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions",method:"POST",headers:s,query:n,body:V(t.createSubscriptionDto)},i);return new m(r,o=>v(o))})}createSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.createSubscriptionRaw(t,i)).value()})}deleteSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.id===null||t.id===void 0)throw new f("id","Required parameter requestParameters.id was null or undefined when calling deleteSubscription.");let n={},s={};this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:s,query:n},i);return new m(r,o=>v(o))})}deleteSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.deleteSubscriptionRaw(t,i)).value()})}getSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.id===null||t.id===void 0)throw new f("id","Required parameter requestParameters.id was null or undefined when calling getSubscription.");let n={},s={};this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:s,query:n},i);return new m(r,o=>v(o))})}getSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.getSubscriptionRaw(t,i)).value()})}getSubscriptionsRaw(t,i){return l(this,void 0,void 0,function*(){let n={};t.names&&(n.names=t.names),t.cadence!==void 0&&(n.cadence=t.cadence),t.userId!==void 0&&(n.userId=t.userId),t.active!==void 0&&(n.active=t.active);let s={};this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions",method:"GET",headers:s,query:n},i);return new m(r,o=>o.map(v))})}getSubscriptions(t={},i){return l(this,void 0,void 0,function*(){return yield(yield this.getSubscriptionsRaw(t,i)).value()})}resubscribeRaw(t){return l(this,void 0,void 0,function*(){let i={},n={};this.configuration&&this.configuration.apiKey&&(n.Authorization=this.configuration.apiKey("Authorization"));let s=yield this.request({path:"/api/newsletters/v1/subscriptions/resubscribe",method:"GET",headers:n,query:i},t);return new T(s)})}resubscribe(t){return l(this,void 0,void 0,function*(){yield this.resubscribeRaw(t)})}subscribeRaw(t,i){return l(this,void 0,void 0,function*(){if(t.subscribeDto===null||t.subscribeDto===void 0)throw new f("subscribeDto","Required parameter requestParameters.subscribeDto was null or undefined when calling subscribe.");let n={},s={};s["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/subscribe",method:"POST",headers:s,query:n,body:G(t.subscribeDto)},i);return new m(r,o=>v(o))})}subscribe(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.subscribeRaw(t,i)).value()})}unsubscribeRaw(t){return l(this,void 0,void 0,function*(){let i={},n={};this.configuration&&this.configuration.apiKey&&(n.Authorization=this.configuration.apiKey("Authorization"));let s=yield this.request({path:"/api/newsletters/v1/subscriptions/unsubscribe",method:"GET",headers:n,query:i},t);return new T(s)})}unsubscribe(t){return l(this,void 0,void 0,function*(){yield this.unsubscribeRaw(t)})}updateSubscriptionRaw(t,i){return l(this,void 0,void 0,function*(){if(t.id===null||t.id===void 0)throw new f("id","Required parameter requestParameters.id was null or undefined when calling updateSubscription.");if(t.updateSubscriptionDto===null||t.updateSubscriptionDto===void 0)throw new f("updateSubscriptionDto","Required parameter requestParameters.updateSubscriptionDto was null or undefined when calling updateSubscription.");let n={},s={};s["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(s.Authorization=this.configuration.apiKey("Authorization"));let r=yield this.request({path:"/api/newsletters/v1/subscriptions/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:s,query:n,body:J(t.updateSubscriptionDto)},i);return new m(r,o=>v(o))})}updateSubscription(t,i){return l(this,void 0,void 0,function*(){return yield(yield this.updateSubscriptionRaw(t,i)).value()})}},I=class extends O{constructor(t){super(t)}},x=class extends D{constructor(t){super(t)}};function B(e){function t(i,n,s){let r=M(s.value,e);return Object.assign(Object.assign({},s),{value:r})}return t}var Z=":host{display:flex;flex-direction:column;gap:2rem}.header{display:flex;align-items:flex-start;justify-content:space-between}.controls-container{display:flex;gap:0.5rem}.popover-body{max-width:20rem;padding:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.update-label{font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold)}.learn-link{margin-top:0.25rem}h1{margin:0px;font-size:var(--calcite-font-size-4);line-height:2.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.telemetry-container{display:grid;grid-auto-flow:column;gap:3rem;grid-auto-columns:1fr}h2{margin:0px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}h2:not(:has(+calcite-tabs)){margin-bottom:1rem}.chart{height:400px}@media only screen and (max-width: 768px){.telemetry-container{display:flex}.telemetry-container{flex-direction:column}.header,.controls-container{flex-direction:row}.header,.controls-container{flex-wrap:wrap}.header,.controls-container{gap:1rem}}",W=Z,L=function(e,t,i,n){var s=arguments.length,r=s<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},g;(function(e){e.chart="chart",e.table="table"})(g||(g={}));var E=class{get _contentId(){let{contentId:e}=this;if(e)return`portal:${e.replace("_",":")}`}get _subscriptionApiOptions(){var e;return{headers:{Authorization:(e=this.context)===null||e===void 0?void 0:e._authentication.token,"Content-Type":"application/json"}}}get _hasSubscription(){return!!this.telemetrySubscription}get _hasActiveSubscription(){var e;return!!(!((e=this.telemetrySubscription)===null||e===void 0)&&e.active)}get _showDiscussionsMetrics(){return this.contentType==="discussion"}constructor(e){N(this,e),this.arcgisTelemetryDashboardDateChanged=A(this,"arcgisTelemetryDashboardDateChanged",7),this.hubTelemetry=A(this,"hubTelemetry",7),this.setDateRange=t=>{let{name:i,startDate:n}=t.detail,{endDate:s}=t.detail;n.toLocaleDateString()!==s.toLocaleDateString()&&(new Date(new Date(n).toLocaleString("en-US",{timeZone:"America/New_York"})).setHours(2,30,0,0),new Date(new Date(s).toLocaleString("en-US",{timeZone:"America/New_York"})).setHours(2,30,0,0)),this.startDate=new Date(n).toISOString(),this.endDate=new Date(s).toISOString(),this._dateRange=i==="custom"?`${this.startDate},${this.endDate}`:i,this.arcgisTelemetryDashboardDateChanged.emit(this._dateRange)},this.activeTab=g.chart,this.dateRangeOptions=["yesterday","last7Days","last30Days","thisMonth","lastMonth","pastYear"],this.sessionActivityTransforms=[{name:"session-activity:average",value:{display:t=>Math.round(Number(t)/60*10)/10}}],this.hostname=void 0,this.contentId=void 0,this.contentType=void 0,this.context=void 0,this.dateRange="last30Days",this.dashboardTitle=void 0,this.hubAnalyticsEnabled=void 0,this.showSubscriptions=void 0,this.startDate=void 0,this.endDate=void 0,this._dateRange=void 0,this.telemetrySubscription=void 0,this.shouldShowSubscriptionUpdateAlert=!1,this.subscriptionUpdateType=void 0,this.subscriptionUpdateSucceeded=void 0,this.subscriptionAlertTitle=void 0,this.subscriptionAlertMessage=void 0,k(this,"setDateRange","handleCalciteAlertClose","handlePopoverOpened","handleExternalLinkClicked","onTabChange","toggleTelemetrySubscription")}async contextChanged(){if(this.context){let e=new x({basePath:this.context.hubUrl});this.subscriptions=new I(e);let t=await this.subscriptions.getSubscriptions({names:["TELEMETRY_REPORT"]},this._subscriptionApiOptions);this.telemetrySubscription=t.find(i=>i.metadata.hostname===this.hostname)}}async componentWillLoad(){this.intl=await U.loadIntlForComponent(this.element),this._dateRange=this.dateRange,this.contextChanged()}get dateRangeValue(){return this._dateRange.split(",").length===2?this._dateRange.split(","):this._dateRange}handleCalciteAlertClose(){this.shouldShowSubscriptionUpdateAlert=!1}renderSubscriptionUpdateAlert(){return this.subscriptionUpdateSucceeded?this.subscriptionUpdateType==="subscribe"||this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!0?(this.subscriptionAlertTitle=this.intl.t("subscriptionActivatedTitle"),this.subscriptionAlertMessage=this.intl.t("subscriptionActivatedMessage",{email:this.context.currentUser.email})):this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!1&&(this.subscriptionAlertTitle=this.intl.t("unsubscribeCompleteTitle"),this.subscriptionAlertMessage=this.intl.t("unsubscribeCompleteMessage",{email:this.context.currentUser.email})):this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!0?(this.subscriptionAlertTitle=this.intl.t("problemUnsubscribingTitle"),this.subscriptionAlertMessage=this.intl.t("problemUnsubscribingMessage")):this.subscriptionUpdateType==="update"&&this._hasActiveSubscription===!1&&(this.subscriptionAlertTitle=this.intl.t("problemSubscribingTitle"),this.subscriptionAlertMessage=this.intl.t("problemSubscribingMessage")),a("arcgis-wormhole",{elAttributes:{unthemed:"true"}},a("calcite-alert",{autoClose:this.subscriptionUpdateSucceeded,autoCloseDuration:"slow",icon:!0,kind:this.subscriptionUpdateSucceeded?"success":"danger",label:this.intl.t("formAlert"),onCalciteAlertClose:this.handleCalciteAlertClose,open:this.shouldShowSubscriptionUpdateAlert,placement:"top-end",scale:"m"},a("div",{slot:"title"},this.subscriptionAlertTitle),this.subscriptionAlertMessage&&a("div",{slot:"message"},this.subscriptionAlertMessage)))}async toggleTelemetrySubscription(){if(this.handleSubUnsubButtonClicked(),this._hasSubscription){let e={id:this.telemetrySubscription.id,updateSubscriptionDto:{active:!this._hasActiveSubscription}};try{this.subscriptionUpdateType="update",this.telemetrySubscription=await this.subscriptions.updateSubscription(e,this._subscriptionApiOptions),this.subscriptionUpdateSucceeded=!0}catch{this.subscriptionUpdateSucceeded=!1}}else{let e={subscribeDto:{notificationSpecName:"TELEMETRY_REPORT",metadata:{hostname:this.hostname},cadence:"WEEKLY",deliveryMethod:"EMAIL"}};try{this.subscriptionUpdateType="subscribe",this.telemetrySubscription=await this.subscriptions.subscribe(e,this._subscriptionApiOptions),this.subscriptionUpdateSucceeded=!0}catch{this.subscriptionUpdateSucceeded=!1}}this.shouldShowSubscriptionUpdateAlert=!0}getOrderBy(e){return[{name:e,direction:"asc"}]}get category(){let{_dateRange:e,endDate:t,startDate:i}=this,n;if(e==="custom"){let s=new Date(t).getTime()-new Date(i).getTime()/864e5;s<5?n=b.hour:s<30?n=b.day:s<365?n=b.week:n=b.month}else switch(e){case"today":case"yesterday":n=b.hour;break;case"pastYear":n=b.week;break;default:n=b.day}return n}getPageViewsTableTransforms(e){let t={};return e===b.hour&&(t.hour="numeric",t.minute="numeric"),[{name:"timestamp",title:this.intl.t(`timestampTitle.${e}`),value:{display:i=>this.intl.formatDate(i,t)}},{name:"page-views:count",title:this.intl.t("pageViews")}]}handlePopoverOpened(){let{hubAnalyticsEnabled:e}=this,t=p.dictionary.category.interaction.action.open.label.popover.details,i=e?t.activityEnabled:t.activityDisabled;this.hubTelemetry.emit(Object.assign({},i))}handleExternalLinkClicked(){this.hubTelemetry.emit(Object.assign({},p.dictionary.category.navigation.action.external.label.webHelp.details.enableOrDisableHubActivityTracking))}handleSubUnsubButtonClicked(){let e=this._hasActiveSubscription?p.dictionary.category.interaction.action.disable:p.dictionary.category.interaction.action.enable;this.hubTelemetry.emit(Object.assign({},e.label.notifications.details.weekly))}get telemetryUpdateInfo(){let e=new Date(new Date().toLocaleString("en-US",{timeZone:"America/New_York"})).setHours(2,10,0,0),t={hour:"2-digit",minute:"2-digit",year:"numeric",day:"2-digit",month:"2-digit"};return this.intl.formatDate(e,t)}get subscribeButtonProps(){let{_hasActiveSubscription:e}=this,t={appearance:"solid",iconStart:e?"envelope":"",id:"subscriptions",kind:e?"neutral":"brand",round:!0},i=e?this.intl.t("subscribed"):this.intl.t("subscribe");return{props:t,text:i}}onTabChange(e){let{tab:t}=e.target;if(t!==this.activeTab){let i=p.dictionary.category.navigation.action.onPage.label[t];this.hubTelemetry.emit(i),this.activeTab=t}}renderControls(){let{hubAnalyticsEnabled:e,subscribeButtonProps:t,telemetryUpdateInfo:i,showSubscriptions:n}=this,s=e?"transparent":"solid",r=e?"neutral":"danger",o=e?this.intl.t("notificationLabel"):this.intl.t("disabledTracking"),c=e?null:this.intl.t("disabledTracking"),d=n?a("calcite-button",Object.assign({},t.props,{onClick:this.toggleTelemetrySubscription}),t.text):null,h=e?a(S,null,a("div",{class:"update-label"},this.intl.t("dataUpdated")),a("div",null,i)):a(S,null,this.intl.t("enableTracking"),a("div",{class:"learn-link"},a("calcite-link",{href:"https://doc.arcgis.com/en/hub/sites/enable-or-disable-hub-activity-tracking.htm","icon-end":"launch",onclick:this.handleExternalLinkClicked,target:"_blank"},this.intl.t("learnMore"))));return a("div",{class:"controls-container"},d,a("calcite-tooltip",{referenceElement:"subscriptions"}," ",this.intl.t("weeklyReport")),a("arcgis-hub-date-range-picker",{onArcgisHubDateRangePickerSelect:this.setDateRange,options:this.dateRangeOptions,value:this.dateRangeValue}),a("calcite-button",{appearance:s,"icon-start":"activity-monitor",id:"activity-button",kind:r,label:this.intl.t("dataUpdated"),round:!0,scale:"m"},e?null:this.intl.t("disabled")),a("calcite-popover",{"auto-close":!0,heading:c,label:o,onCalcitePopoverOpen:this.handlePopoverOpened,placement:"bottom","reference-element":"activity-button"},a("div",{class:"popover-body"},h)))}render(){let e=!this._contentId,{category:t,_contentId:i,context:n,endDate:s,hostname:r,sessionActivityTransforms:o,startDate:c}=this,d=this.getOrderBy(t),h=this.getPageViewsTableTransforms(t);return a(P,{key:"93e0abbbf2a4772a36fece49f4b3132cfb268101","data-element":"telemetry-dashboard"},this.renderSubscriptionUpdateAlert(),a("div",{key:"e2a857133924bf3c478ade54e76984d70daf99b0",class:"header"},a("h1",{key:"b3c19b1336e6bf50d9ffbb245245927433479af9"},this.dashboardTitle),this.renderControls()),a("div",{key:"ed60158db2d39e292321bcf6fb27453f85dea5ce",class:"telemetry-container"},a("arcgis-telemetry-report",{key:"1335148a5a15770230284b960136c63a1982811a",category:t,contentId:i,context:n,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:d,"report-title":this.intl.t("pageViews"),startDate:c,"telemetry-event":"page-views",type:"metric"}),e?a("arcgis-telemetry-report",{category:t,contentId:i,context:n,endDate:s,hostname:r,orderBy:d,"report-title":this.intl.t("users"),startDate:c,"telemetry-event":"sessions",type:"metric"}):"",e?a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataTransforms:o,endDate:s,hostname:r,orderBy:d,"report-title":this.intl.t("timeOnSite"),startDate:c,"telemetry-event":"session-activity",type:"metric"}):""),this._showDiscussionsMetrics?a("div",{class:"telemetry-container"},a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataLabel:this.intl.t("postsCreated"),endDate:s,hostname:r,orderBy:d,reportTitle:this.intl.t("postsCreated"),startDate:c,telemetryEvent:{category:"Content",action:"Create",label:"Post"},type:"metric"}),a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataLabel:this.intl.t("repliesCreated"),endDate:s,hostname:r,orderBy:d,reportTitle:this.intl.t("repliesCreated"),startDate:c,telemetryEvent:{category:"Content",action:"Create",label:"Reply"},type:"metric"}),a("arcgis-telemetry-report",{category:t,contentId:i,context:n,dataLabel:this.intl.t("pageViews"),endDate:s,hostname:r,orderBy:d,reportTitle:this.intl.t("aboutViews"),startDate:c,telemetryContext:{customDimensionsConfig:p.customDimensionsConfig},telemetryEvent:{category:"Navigation",action:"View",label:"Content",details:"About"},type:"metric"})):"",a("div",{key:"36162f7c91a1a5145497c56ccf1f20acfa19a606"},a("h2",{key:"db23a2a4e007f117171d7dcf149c9adafdf13e24"},this.intl.t("viewsOverTime")),a("calcite-tabs",{key:"94ea6f44cca9a79bff04a8ba1fe9e2c00e838fb9"},a("calcite-tab-nav",{key:"9d929a225248d6539def12584a0461865c074654",slot:"title-group"},a("calcite-tab-title",{key:"21baab2e2b7edf29d039e8ca1eb96291c0539014",onCalciteTabsActivate:this.onTabChange,tab:g.chart},this.intl.t("tabs.chart")),a("calcite-tab-title",{key:"24b82250739369548294cc543da3985f1f3678bd",onCalciteTabsActivate:this.onTabChange,tab:g.table},this.intl.t("tabs.table"))),a("calcite-tab",{key:"716a3f691cee4aceef3952be2770cbe393d817ff",role:"tabpanel",tab:g.chart},a("arcgis-telemetry-report",{key:"3f1bdd122d16776be8a5565e68afa3034f634c8c",category:t,class:"chart",contentId:i,context:n,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:d,startDate:c,"telemetry-event":"page-views",type:"bar"})),a("calcite-tab",{key:"2ce1401737b7f9aa30c87ad91eaccf2a2d2cfb98",role:"tabpanel",tab:g.table},a("arcgis-telemetry-report",{key:"b5555fccc12b6ddd30c515e9ee4d0b2fb2047818",category:t,contentId:i,context:n,dataTransforms:h,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:d,startDate:c,"telemetry-event":"page-views",type:"tabular"})))),this._showDiscussionsMetrics?a(S,null,a("div",null,a("h2",null,this.intl.t("postsOverTime")),a("arcgis-telemetry-report",{category:t,class:"chart",contentId:i,context:n,dataLabel:this.intl.t("postsCreated"),endDate:s,hostname:r,orderBy:d,startDate:c,telemetryEvent:{category:"Content",action:"Create",label:"Post"},type:"bar"})),a("div",null,a("h2",null,this.intl.t("trafficByHostname")),a("arcgis-telemetry-report",{contentId:i,context:n,dimensionFilters:[{name:"action",not:[p.constants.action.MANAGE]}],endDate:s,hostname:r,orderBy:[{name:"page-views:count",direction:"desc"}],series:[{name:"hostname",title:this.intl.t("hostname")}],startDate:c,"telemetry-event":"page-views",type:"tabular"}))):"")}static get assetsDirs(){return["locales"]}get element(){return q(this)}static get watchers(){return{context:["contextChanged"]}}};L([B({scope:"get-order-by"})],E.prototype,"getOrderBy",null);L([B({scope:"get-page-views-transforms"})],E.prototype,"getPageViewsTableTransforms",null);E.style=W;export{E as arcgis_telemetry_dashboard};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{g as r}from"./C5QLC7CN.js";function n(e){return e==="Feature Service"?"data":e?r(e):"file"}export{n as a};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as ye}from"./4YRBWDTE.js";var je={exports:{}};(function(e,t){(function(r,s){e.exports=function(a,l,u,m,h){for(l=l.split?l.split("."):l,m=0;m<l.length;m++)a=a?a[l[m]]:h;return a===h?u:a}})()})(je);var rr=je.exports,te="undefined",be="object",Ke=function(){};var B="__";var U=typeof document<"u";typeof Deno<"u"&&Deno.core;U&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function xe(e,t){return t.charAt(0)[e]()+t.slice(1)}var Be=xe.bind(null,"toUpperCase"),Je=xe.bind(null,"toLowerCase");function Ye(e){return Me(e)?Be("null"):typeof e=="object"?Qe(e):Object.prototype.toString.call(e).slice(8,-1)}function ie(e,t){t===void 0&&(t=!0);var r=Ye(e);return t?Je(r):r}function Q(e,t){return typeof t===e}var pe=Q.bind(null,"function"),ge=Q.bind(null,"string"),nr=Q.bind(null,"undefined"),ir=Q.bind(null,"boolean");Q.bind(null,"symbol");function Me(e){return e===null}function Xe(e){return ie(e)==="number"&&!isNaN(e)}function Fe(e){return ie(e)==="array"}function Qe(e){return pe(e.constructor)?e.constructor.name:null}function Ze(e){return e instanceof Error||ge(e.message)&&e.constructor&&Xe(e.constructor.stackTraceLimit)}function Ce(e,t){if(typeof t!="object"||Me(t))return!1;if(t instanceof e)return!0;var r=ie(new e(""));if(Ze(t))for(;t;){if(ie(t)===r)return!0;t=Object.getPrototypeOf(t)}return!1}Ce.bind(null,TypeError);Ce.bind(null,SyntaxError);function oe(e,t){var r=e instanceof Element||e instanceof HTMLDocument;return r&&t?et(e,t):r}function et(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function se(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}se(oe,"form");se(oe,"button");se(oe,"input");se(oe,"select");function tt(e){return e?Fe(e)?e:[e]:[]}function rt(){if(U){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function nt(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function $e(){for(var e="",t=0,r=4294967295*Math.random()|0;t++<36;){var s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],a=15&r;e+=s=="-"||s=="4"?s:(s=="x"?a:3&a|8).toString(16),r=t%8==0?4294967295*Math.random()|0:r>>4}return e}var J=B+"global"+B,Y=typeof self===be&&self.self===self&&self||typeof global===be&&global.global===global&&global||void 0;function ue(e){return Y[J][e]}function ce(e,t){return Y[J][e]=t}function me(e){delete Y[J][e]}function q(e,t,r){var s;try{if(ve(e)){var a=window[e];s=a[t].bind(a)}}catch{}return s||r}Y[J]||(Y[J]={});var re={};function ve(e){if(typeof re[e]!==te)return re[e];try{var t=window[e];t.setItem(te,te),t.removeItem(te)}catch{return re[e]=!1}return re[e]=!0}var it="function";var ar="@@redux/"+Math.random().toString(36);var or=" != "+it;var sr=B+"anon_id",ur=B+"user_id",cr=B+"user_traits";var at=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"];var lr=at.reduce(function(e,t){return e[t]=t,e},{registerPluginType:function(e){return"registerPlugin:"+e},pluginReadyType:function(e){return"ready:"+e}});var De,Ue,Le,_e;De=(function(){if(!U)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"})(),Ue=U?document.referrer:null,Le=rt(),_e=nt();var fr={initialized:!1,sessionId:$e(),app:null,version:null,debug:!1,offline:!!U&&!navigator.onLine,os:{name:De},userAgent:U?navigator.userAgent:"node",library:{name:"analytics",version:"0.12.16"},timezone:_e,locale:Le,campaign:{},referrer:Ue};var z=ze();function ot(e){return z?Re(e,"",-1):me(e)}function ze(){if(z!==void 0)return z;var e="cookiecookie";try{Re(e,e),z=document.cookie.indexOf(e)!==-1,ot(e)}catch{z=!1}return z}function Re(e,t,r,s,a,l){if(typeof window<"u"){var u=arguments.length>1;return z===!1&&(u?ce(e,t):ue(e)),u?document.cookie=e+"="+encodeURIComponent(t)+(r?"; expires="+new Date(+new Date+1e3*r).toUTCString()+(s?"; path="+s:"")+(a?"; domain="+a:"")+(l?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var st=ve.bind(null,"localStorage"),dr=q("localStorage","getItem",ue),pr=q("localStorage","setItem",ce),gr=q("localStorage","removeItem",me);var ut=ve.bind(null,"sessionStorage"),ct=q("sessionStorage","getItem",ue),lt=q("sessionStorage","setItem",ce);q("sessionStorage","removeItem",me);var hr=st(),mr=ut(),vr=ze();var We={exports:{}};(function(e){var t=(function(r){var s=Object.prototype,a=s.hasOwnProperty,l,u=typeof Symbol=="function"?Symbol:{},m=u.iterator||"@@iterator",h=u.asyncIterator||"@@asyncIterator",w=u.toStringTag||"@@toStringTag";function I(n,i,o,f){var c=i&&i.prototype instanceof S?i:S,E=Object.create(c.prototype),A=new H(f||[]);return E._invoke=fe(n,o,A),E}r.wrap=I;function O(n,i,o){try{return{type:"normal",arg:n.call(i,o)}}catch(f){return{type:"throw",arg:f}}}var $="suspendedStart",b="suspendedYield",g="executing",p="completed",y={};function S(){}function d(){}function v(){}var P={};P[m]=function(){return this};var x=Object.getPrototypeOf,L=x&&x(x(M([])));L&&L!==s&&a.call(L,m)&&(P=L);var D=v.prototype=S.prototype=Object.create(P);d.prototype=D.constructor=v,v.constructor=d,v[w]=d.displayName="GeneratorFunction";function Z(n){["next","throw","return"].forEach(function(i){n[i]=function(o){return this._invoke(i,o)}})}r.isGeneratorFunction=function(n){var i=typeof n=="function"&&n.constructor;return i?i===d||(i.displayName||i.name)==="GeneratorFunction":!1},r.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,v):(n.__proto__=v,w in n||(n[w]="GeneratorFunction")),n.prototype=Object.create(D),n},r.awrap=function(n){return{__await:n}};function R(n){function i(c,E,A,N){var C=O(n[c],n,E);if(C.type==="throw")N(C.arg);else{var j=C.arg,K=j.value;return K&&typeof K=="object"&&a.call(K,"__await")?Promise.resolve(K.__await).then(function(_){i("next",_,A,N)},function(_){i("throw",_,A,N)}):Promise.resolve(K).then(function(_){j.value=_,A(j)},function(_){return i("throw",_,A,N)})}}var o;function f(c,E){function A(){return new Promise(function(N,C){i(c,E,N,C)})}return o=o?o.then(A,A):A()}this._invoke=f}Z(R.prototype),R.prototype[h]=function(){return this},r.AsyncIterator=R,r.async=function(n,i,o,f){var c=new R(I(n,i,o,f));return r.isGeneratorFunction(i)?c:c.next().then(function(E){return E.done?E.value:c.next()})};function fe(n,i,o){var f=$;return function(E,A){if(f===g)throw new Error("Generator is already running");if(f===p){if(E==="throw")throw A;return G()}for(o.method=E,o.arg=A;;){var N=o.delegate;if(N){var C=ee(N,o);if(C){if(C===y)continue;return C}}if(o.method==="next")o.sent=o._sent=o.arg;else if(o.method==="throw"){if(f===$)throw f=p,o.arg;o.dispatchException(o.arg)}else o.method==="return"&&o.abrupt("return",o.arg);f=g;var j=O(n,i,o);if(j.type==="normal"){if(f=o.done?p:b,j.arg===y)continue;return{value:j.arg,done:o.done}}else j.type==="throw"&&(f=p,o.method="throw",o.arg=j.arg)}}}function ee(n,i){var o=n.iterator[i.method];if(o===l){if(i.delegate=null,i.method==="throw"){if(n.iterator.return&&(i.method="return",i.arg=l,ee(n,i),i.method==="throw"))return y;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var f=O(o,n.iterator,i.arg);if(f.type==="throw")return i.method="throw",i.arg=f.arg,i.delegate=null,y;var c=f.arg;if(!c)return i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,y;if(c.done)i[n.resultName]=c.value,i.next=n.nextLoc,i.method!=="return"&&(i.method="next",i.arg=l);else return c;return i.delegate=null,y}Z(D),D[w]="Generator",D[m]=function(){return this},D.toString=function(){return"[object Generator]"};function de(n){var i={tryLoc:n[0]};1 in n&&(i.catchLoc=n[1]),2 in n&&(i.finallyLoc=n[2],i.afterLoc=n[3]),this.tryEntries.push(i)}function W(n){var i=n.completion||{};i.type="normal",delete i.arg,n.completion=i}function H(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(de,this),this.reset(!0)}r.keys=function(n){var i=[];for(var o in n)i.push(o);return i.reverse(),function f(){for(;i.length;){var c=i.pop();if(c in n)return f.value=c,f.done=!1,f}return f.done=!0,f}};function M(n){if(n){var i=n[m];if(i)return i.call(n);if(typeof n.next=="function")return n;if(!isNaN(n.length)){var o=-1,f=function c(){for(;++o<n.length;)if(a.call(n,o))return c.value=n[o],c.done=!1,c;return c.value=l,c.done=!0,c};return f.next=f}}return{next:G}}r.values=M;function G(){return{value:l,done:!0}}return H.prototype={constructor:H,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(W),!n)for(var i in this)i.charAt(0)==="t"&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=l)},stop:function(){this.done=!0;var n=this.tryEntries[0],i=n.completion;if(i.type==="throw")throw i.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var i=this;function o(C,j){return E.type="throw",E.arg=n,i.next=C,j&&(i.method="next",i.arg=l),!!j}for(var f=this.tryEntries.length-1;f>=0;--f){var c=this.tryEntries[f],E=c.completion;if(c.tryLoc==="root")return o("end");if(c.tryLoc<=this.prev){var A=a.call(c,"catchLoc"),N=a.call(c,"finallyLoc");if(A&&N){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(A){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else if(N){if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(n,i){for(var o=this.tryEntries.length-1;o>=0;--o){var f=this.tryEntries[o];if(f.tryLoc<=this.prev&&a.call(f,"finallyLoc")&&this.prev<f.finallyLoc){var c=f;break}}c&&(n==="break"||n==="continue")&&c.tryLoc<=i&&i<=c.finallyLoc&&(c=null);var E=c?c.completion:{};return E.type=n,E.arg=i,c?(this.method="next",this.next=c.finallyLoc,y):this.complete(E)},complete:function(n,i){if(n.type==="throw")throw n.arg;return n.type==="break"||n.type==="continue"?this.next=n.arg:n.type==="return"?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):n.type==="normal"&&i&&(this.next=i),y},finish:function(n){for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i];if(o.finallyLoc===n)return this.complete(o.completion,o.afterLoc),W(o),y}},catch:function(n){for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i];if(o.tryLoc===n){var f=o.completion;if(f.type==="throw"){var c=f.arg;W(o)}return c}}throw new Error("illegal catch attempt")},delegateYield:function(n,i,o){return this.delegate={iterator:M(n),resultName:i,nextLoc:o},this.method==="next"&&(this.arg=l),y}},r})(e.exports);try{regeneratorRuntime=t}catch{Function("r","regeneratorRuntime = r")(t)}})(We);var yr=We.exports;var we=["id","createdAt","created"];function ft(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function dt(){var e=ft(),t=e[0],r=e[1];return{id:$e(),created:r,createdAt:t}}var pt={session:[ct,lt],page:[ue,ce]};function le(e,t){for(var r=pt[e],s=r[0],a=r[1],l=dt(),u=!1,m={},h=0;h<we.length;h++){var w=we[h],I="__"+e+"__session__"+w,O=s(I);u=t||!O,(t||!t&&!O)&&a(I,l[w]);var $=O&&!t?O:l[w],b=w!=="created"?$:Number($);m[w]=b}return gt(m,u)}function gt(e,t){var r=Date.now();return e.elapsed=r-e.created,e.expires&&(e.remaining=Math.max(e.expires-r,0),e.isExpired=e.remaining===0),e.isNew=t,e}var br=le.bind(null,"session"),wr=le.bind(null,"session",!0),Sr=le.bind(null,"page"),Er=le.bind(null,"page",!0);function ne(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?he=ne=function(r){return typeof r}:he=ne=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ne(e)}var he=ne,V=he,ht=function(t){return mt(t)&&!vt(t)};function mt(e){return!!e&&typeof e=="object"}function vt(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wt(e)}var yt=typeof Symbol=="function"&&Symbol.for,bt=yt?Symbol.for("react.element"):60103;function wt(e){return e.$$typeof===bt}function St(e){return Array.isArray(e)?[]:{}}function X(e,t){return t.clone!==!1&&t.isMergeableObject(e)?F(St(e),e,t):e}function Et(e,t,r){return e.concat(t).map(function(s){return X(s,r)})}function It(e,t){if(!t.customMerge)return F;var r=t.customMerge(e);return typeof r=="function"?r:F}function Ot(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function Se(e){return Object.keys(e).concat(Ot(e))}function He(e,t){try{return t in e}catch{return!1}}function At(e,t){return He(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Pt(e,t,r){var s={};return r.isMergeableObject(e)&&Se(e).forEach(function(a){s[a]=X(e[a],r)}),Se(t).forEach(function(a){At(e,a)||(He(e,a)&&r.isMergeableObject(t[a])?s[a]=It(a,r)(e[a],t[a],r):s[a]=X(t[a],r))}),s}function F(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Et,r.isMergeableObject=r.isMergeableObject||ht,r.cloneUnlessOtherwiseSpecified=X;var s=Array.isArray(t),a=Array.isArray(e),l=s===a;return l?s?r.arrayMerge(e,t,r):Pt(e,t,r):X(t,r)}F.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(s,a){return F(s,a,r)},{})};var Ee={exports:{}};(function(e,t){(function(r,s){s(t)})(ye,(function(r){let s=new TextEncoder,a={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},l=["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"];class u{constructor({accessKeyId:g,secretAccessKey:p,sessionToken:y,service:S,region:d,cache:v,retries:P,initRetryMs:x}){if(g==null)throw new TypeError("accessKeyId is a required option");if(p==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=g,this.secretAccessKey=p,this.sessionToken=y,this.service=S,this.region=d,this.cache=v||new Map,this.retries=P??10,this.initRetryMs=x||50}async sign(g,p){if(g instanceof Request){let{method:d,url:v,headers:P,body:x}=g;p=Object.assign({method:d,url:v,headers:P},p),p.body==null&&P.has("Content-Type")&&(p.body=x!=null&&P.has("X-Amz-Content-Sha256")?x:await g.clone().arrayBuffer()),g=v}let y=new m(Object.assign({url:g},p,this,p&&p.aws)),S=Object.assign({},p,await y.sign());return delete S.aws,new Request(S.url.toString(),S)}async fetch(g,p){for(let y=0;y<=this.retries;y++){let S=fetch(await this.sign(g,p));if(y===this.retries)return S;let d=await S;if(d.status<500&&d.status!==429)return d;await new Promise(v=>setTimeout(v,Math.random()*this.initRetryMs*Math.pow(2,y)))}throw new Error("An unknown error occurred, ensure retries is not negative")}}class m{constructor({method:g,url:p,headers:y,body:S,accessKeyId:d,secretAccessKey:v,sessionToken:P,service:x,region:L,cache:D,datetime:Z,signQuery:R,appendSessionToken:fe,allHeaders:ee,singleEncode:de}){if(p==null)throw new TypeError("url is a required option");if(d==null)throw new TypeError("accessKeyId is a required option");if(v==null)throw new TypeError("secretAccessKey is a required option");this.method=g||(S?"POST":"GET"),this.url=new URL(p),this.headers=new Headers(y||{}),this.body=S,this.accessKeyId=d,this.secretAccessKey=v,this.sessionToken=P;let W,H;(!x||!L)&&([W,H]=$(this.url,this.headers)),this.service=x||W||"",this.region=L||H||"us-east-1",this.cache=D||new Map,this.datetime=Z||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=R,this.appendSessionToken=fe||this.service==="iotdevicegateway",this.headers.delete("Host");let M=this.signQuery?this.url.searchParams:this.headers;if(this.service==="s3"&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD"),M.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&M.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(n=>ee||!l.includes(n)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(n=>n+":"+(n==="host"?this.url.host:(this.headers.get(n)||"").replace(/\s+/g," "))).join(`
|
|
5
|
+
`),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&(this.service==="s3"&&!M.has("X-Amz-Expires")&&M.set("X-Amz-Expires","86400"),M.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),M.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),M.set("X-Amz-SignedHeaders",this.signedHeaders)),this.service==="s3")try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch{this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");de||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=O(this.encodedPath);let G=new Set;this.encodedSearch=[...this.url.searchParams].filter(([n])=>{if(!n)return!1;if(this.service==="s3"){if(G.has(n))return!1;G.add(n)}return!0}).map(n=>n.map(i=>O(encodeURIComponent(i)))).sort(([n,i],[o,f])=>n<o?-1:n>o?1:i<f?-1:i>f?1:0).map(n=>n.join("=")).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){let g=this.datetime.slice(0,8),p=[this.secretAccessKey,g,this.region,this.service].join(),y=this.cache.get(p);if(!y){let S=await h("AWS4"+this.secretAccessKey,g),d=await h(S,this.region),v=await h(d,this.service);y=await h(v,"aws4_request"),this.cache.set(p,y)}return I(await h(y,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,I(await w(await this.canonicalString()))].join(`
|
|
6
|
+
`)}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+`
|
|
7
|
+
`,this.signedHeaders,await this.hexBodyHash()].join(`
|
|
8
|
+
`)}async hexBodyHash(){let g=this.headers.get("X-Amz-Content-Sha256");if(g==null){if(this.body&&typeof this.body!="string"&&!("byteLength"in this.body))throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");g=I(await w(this.body||""))}return g}}async function h(b,g){let p=await crypto.subtle.importKey("raw",typeof b=="string"?s.encode(b):b,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return crypto.subtle.sign("HMAC",p,s.encode(g))}async function w(b){return crypto.subtle.digest("SHA-256",typeof b=="string"?s.encode(b):b)}function I(b){return Array.prototype.map.call(new Uint8Array(b),g=>("0"+g.toString(16)).slice(-2)).join("")}function O(b){return b.replace(/[!'()*]/g,g=>"%"+g.charCodeAt(0).toString(16).toUpperCase())}function $(b,g){let{hostname:p,pathname:y}=b,S=p.replace("dualstack.","").match(/([^.]+)\.(?:([^.]*)\.)?amazonaws\.com(?:\.cn)?$/),[d,v]=(S||["",""]).slice(1,3);if(v==="us-gov")v="us-gov-west-1";else if(v==="s3"||v==="s3-accelerate")v="us-east-1",d="s3";else if(d==="iot")p.startsWith("iot.")?d="execute-api":p.startsWith("data.jobs.iot.")?d="iot-jobs-data":d=y==="/mqtt"?"iotdevicegateway":"iotdata";else if(d==="autoscaling"){let P=(g.get("X-Amz-Target")||"").split(".")[0];P==="AnyScaleFrontendService"?d="application-autoscaling":P==="AnyScaleScalingPlannerFrontendService"&&(d="autoscaling-plans")}else v==null&&d.startsWith("s3-")?(v=d.slice(3).replace(/^fips-|^external-1/,""),d="s3"):d.endsWith("-fips")?d=d.slice(0,-5):v&&/-\d$/.test(d)&&!/-\d$/.test(v)&&([d,v]=[v,d]);return[a[d]||d,v]}r.AwsClient=u,r.AwsV4Signer=m,Object.defineProperty(r,"__esModule",{value:!0})}))})(Ee,Ee.exports);var Ie="EventListener";function Tt(e){return function(t,r,s,a){var l=s||Ke,u=a||!1;if(!U)return l;var m=ae(r),h=ae(t,!0);if(!h.length)throw new Error("noElements");if(!m.length)throw new Error("noEvent");var w=[];return(function I(O){O&&(w=[]);for(var $=O?"add"+Ie:"remove"+Ie,b=0;b<h.length;b++){var g=h[b];w[b]=O?u&&u.once?kt(l):l:w[b]||l;for(var p=0;p<m.length;p++)g[$]?g["on"+m[p]]=O?w[b]:null:g[$](m[p],w[b],u)}return I.bind(null,!O)})(e)}}function ae(e,t){if(ge(e))return t?ae(document.querySelectorAll(e)):(r=e).split(r.indexOf(",")>-1?",":" ").map(function(u){return u.trim()});var r;if(NodeList.prototype.isPrototypeOf(e)){for(var s=[],a=e.length>>>0;a--;)s[a]=e[a];return s}var l=tt(e);return t?l.map(function(u){return ge(u)?ae(u,!0):u}).flat():l}function kt(e,t){var r;return function(){return e&&(r=e.apply(t||this,arguments),e=null),r}}var Ir=Tt("Event");function Ve(e,t){return U&&pe(window[e])?(r=window[e],s=t,(a=window)===void 0&&(a=null),pe(r)?function(){r.apply(a,arguments),s.apply(a,arguments)}:s):window[e]=t;var r,s,a}Ve.bind(null,"onerror");Ve.bind(null,"onload");var qe="object",Nt="string",Oe="?",T="name",k="version",jt="",Ae="function",xt="undefined",Mt="BlackBerry",Ct="Chrome",$t="Firefox",Pe={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Dt=[[/microsoft (windows) (vista|xp)/i],[T,k],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[T,[k,Te,Pe]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[T,"Windows"],[k,Te,Pe]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[k,/_/g,"."],[T,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[T,"MacOS"],[k,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[k,T],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[T,k],[/\(bb(10);/i],[k,[T,Mt]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[k,[T,$t+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[k,[T,"webOS"]],[/crkey\/([\d\.]+)/i],[k,[T,Ct+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[T,"Chromium OS"],k],[/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/(unix) ?([\w\.]*)/i],[T,k]];function Ut(e,t){for(var r=0,s,a,l,u,m,h;r<t.length&&!m;){var w=t[r],I=t[r+1];for(s=a=0;s<w.length&&!m;)if(m=w[s++].exec(e),m)for(l=0;l<I.length;l++)h=m[++a],u=I[l],V(u)===qe&&u.length>0?u.length==2?V(u[1])==Ae?this[u[0]]=u[1].call(this,h):this[u[0]]=u[1]:u.length==3?V(u[1])===Ae&&!(u[1].exec&&u[1].test)?this[u[0]]=h?u[1].call(this,h,u[2]):void 0:this[u[0]]=h?h.replace(u[1],u[2]):void 0:u.length==4&&(this[u[0]]=h?u[3].call(this,h.replace(u[1],u[2])):void 0):this[u]=h||void 0;r+=2}}function Te(e,t){for(var r in t)if(V(t[r])===qe&&t[r].length>0){for(var s=0;s<t[r].length;s++)if(ke(t[r][s],e))return r===Oe?void 0:r}else if(ke(t[r],e))return r===Oe?void 0:r;return e}function ke(e,t){return V(e)===Nt?Ne(t).indexOf(Ne(e))!==-1:!1}function Ne(e){return e.toLowerCase()}function Lt(e){var t=e||((typeof window>"u"?"undefined":V(window))!==xt&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:jt),r={};return r[T]=void 0,r[k]=void 0,Ut.call(r,t,Dt),r}var Ge="Brave";function _t(){if(typeof window>"u")return{};if(!window.navigator)return{};var e=window.navigator,t=e.platform,r=e.product,s=e.vendor,a=Wt(window.navigator),l=a.type,u=a.version,m=l===Ge?l:(s||"").split(" ")[0];return{platform:t,os:Lt(),make:m||r,model:l,version:u,name:[l,u].join("/"),language:zt(),timezone:Rt()}}function zt(){var e=window.navigator,t=e.language,r=e.browserLanguage,s=e.languages;return(t||r||(s||["en_US"])[0]).toLowerCase().replace("-","_")}function Rt(){var e=/\(([A-Za-z\s].*)\)/.exec(new Date().toString());return e&&e[1]||""}function Wt(e){var t=e.userAgent,r=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(t);if(r)return{type:r[1],version:r[2]};var s=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(t);if(s)return{type:s[1],version:s[2]};var a=/(headlesschrome)(?:\/([\w\.]+)| )/i.exec(t);if(a)return{type:a[1],version:a[2]};var l=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(t);if(l){var u=e.brave&&e.brave.isBrave||!1;return{type:u?Ge:l[1],version:l[2]}}var m=/.+(Safari)\/([0-9\.]+).*/i.exec(t);if(m)return{type:m[1],version:m[2]};var h=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(t);if(h)return{type:h[1],version:h[2]};var w=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(t),I=w||["","NA","0.0.0"];return{type:I[1],version:I[2]}}var Ht=["PUSH","GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX","ADM","SMS","VOICE","EMAIL","BAIDU","CUSTOM"],Or=Ht.reduce(function(e,t){return e[t]=t,e},{}),Ar=_t();var Pr=(e,t)=>e.action===t.action&&e.category===t.category&&e.label===t.label;var Tr=e=>{let{legacyCapabilities:t=[]}=e;return!t.includes("disableActivityTracking")};var kr=e=>{let{id:t,type:r,access:s,orgId:a}=e;return r==="Group"?{groupId:t,groupType:e.isSharedUpdate?"Edit":"View",groupAccess:s,groupOrgId:a}:{id:t,type:r,access:s,contentOrgId:a}};export{Pr as a,Tr as b,kr as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as i,b as c}from"./D5AQU54G.js";import{a as S,c as A,d as f}from"./2YCYU2XM.js";import{g as o,h as s,j as E}from"./TF3F4EC4.js";import{q as v,r as K,s as P,v as D}from"./G7BPDEMI.js";import{a as C}from"./AQOHWXXK.js";function L(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((e,l)=>[...e,{entityKey:l,storeKey:l}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"},{entityKey:"catalog",storeKey:"capabilities.catalog"}])}var h=class extends v{storeToEntity(e,l){var n,a,y,r,d,p,u,m;let t=P(e,l,this.mappings);t.type="Event";let g=e.access.toLowerCase();return g==="private"&&(e.readGroups.length>0||e.editGroups.length>0)?t.access="shared":t.access=g,t.isCanceled=e.status===o.CANCELED,t.isPlanned=e.status===o.PLANNED,t.isRemoved=e.status===o.REMOVED,e.attendanceType.includes(s.IN_PERSON)&&e.attendanceType.includes(s.VIRTUAL)?t.attendanceType=i.Both:e.attendanceType.includes(s.IN_PERSON)?t.attendanceType=i.InPerson:t.attendanceType=i.Online,t.onlineCapacity=(a=(n=e.onlineMeeting)===null||n===void 0?void 0:n.capacity)!==null&&a!==void 0?a:null,t.onlineCapacityType=!((y=e.onlineMeeting)===null||y===void 0)&&y.capacity?c.Fixed:c.Unlimited,t.inPersonCapacity=(r=e.inPersonCapacity)!==null&&r!==void 0?r:null,t.inPersonCapacityType=e.inPersonCapacity?c.Fixed:c.Unlimited,t.onlineDetails=(p=(d=e.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&p!==void 0?p:null,t.onlineUrl=(m=(u=e.onlineMeeting)===null||u===void 0?void 0:u.url)!==null&&m!==void 0?m:null,t.canChangeAccess=[e.permission.canSetAccessToPublic,e.permission.canSetAccessToOrg,e.permission.canSetAccessToPrivate].every(Boolean),t.canChangeStatus=[e.permission.canSetStatusToCancelled,e.permission.canSetStatusToRemoved].some(Boolean),t.referencedContentIds=e.associations.map(({entityId:T})=>T),t.referencedContentIdsByType=e.associations.map(({entityId:T,entityType:I})=>({entityId:T,entityType:I})),t.createdDate=new Date(e.createdAt),t.startDateTime=new Date(e.startDateTime),t.endDateTime=new Date(e.endDateTime),t.isPast=t.endDateTime<new Date,t.createdDateSource="createdAt",t.updatedDate=new Date(e.updatedAt),t.updatedDateSource="updatedAt",t.catalog=D(t.catalog||{}),t.links=A(e),t.slug=S(e),t.view={showMap:!!e.location},t.location=f(e),t}entityToStore(e,l){let n=C(e),a=K(n,l,this.mappings),y=n.access;return y==="shared"?a.access=E.PRIVATE:a.access=y.toUpperCase(),n.isRemoved?a.status=o.REMOVED:n.isCanceled?a.status=o.CANCELED:a.status=o.PLANNED,n.attendanceType===i.Both?a.attendanceType=[s.IN_PERSON,s.VIRTUAL]:n.attendanceType===i.InPerson?a.attendanceType=[s.IN_PERSON]:a.attendanceType=[s.VIRTUAL],[i.Online,i.Both].includes(n.attendanceType)&&(a.onlineMeeting={details:n.onlineDetails,capacity:n.onlineCapacityType===c.Fixed?n.onlineCapacity:null,url:n.onlineUrl}),[i.InPerson,i.Both].includes(n.attendanceType)?a.inPersonCapacity=n.inPersonCapacityType===c.Fixed?n.inPersonCapacity:null:a.inPersonCapacity=null,n.isAllDay&&(n.startTime="00:00:00",n.endTime="23:59:59"),a.location=n.location&&n.location.type!=="none"?{type:n.location.type,spatialReference:n.location.spatialReference,extent:n.location.extent,geometries:n.location.geometries,placeName:n.location.name}:null,a}};export{L as a,h as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import{a as l}from"./IISX6DYN.js";import{b as f}from"./67WXIKQL.js";import"./JHNNMLEF.js";import"./DQIZC7ZD.js";import"./Y7L3N5EB.js";import"./UVVFZM3S.js";import"./YSTEVXNT.js";import"./OE5I3APA.js";import{f as T}from"./UH36XPO5.js";import"./S47BP22K.js";import"./DVPZP5P6.js";import{a as S}from"./D5AQU54G.js";import"./2YCYU2XM.js";import"./TF3F4EC4.js";import"./G7BPDEMI.js";import"./2H5WQNTH.js";import"./B42G5CIW.js";import"./YOMYP2IA.js";import"./IJEBPEAQ.js";import"./NHEA4CXP.js";import"./ZZJB7ZKL.js";import"./KT7AQLTB.js";import"./D47WZTYS.js";import"./2VRB6QBI.js";import"./GXALT5UP.js";import{a as m}from"./FJ4RTBKN.js";import{c as C,g as u}from"./ZVEHBXLB.js";import"./5LQXDSGH.js";import{a as p}from"./EA6ZOVFR.js";import"./4YRBWDTE.js";import{a as b}from"./7NT2O3MX.js";import"./DFH42HYH.js";import"./7P3IKV5W.js";import{b as i,c as k,d as E,e as g,i as w}from"./CFC4VODC.js";import"./XRICSV66.js";import"./CDTE22PZ.js";import"./KZR6WBD2.js";import"./VLHMCPTM.js";import"./KNIZDHSU.js";import"./AEBG25HZ.js";import"./N2XEGODC.js";import"./SW7LHODP.js";import"./AQOHWXXK.js";import"./DKT3HJ6Z.js";import"./33E3LTJR.js";import"./OI7BJ2LB.js";export default $arcgis.t(([])=>{var A='.sc-arcgis-hub-entity-registrants-h{display:block;height:100%}div[slot="title"].sc-arcgis-hub-entity-registrants{display:flex;align-items:center;justify-content:space-between}.content-tab-container.sc-arcgis-hub-entity-registrants{overflow:hidden}div[slot="title"].sc-arcgis-hub-entity-registrants h1.sc-arcgis-hub-entity-registrants{margin:0px;font-size:var(--calcite-font-size-3);line-height:2rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-hub-workspace-pane.sc-arcgis-hub-entity-registrants{--arcgis-hub-workspace-pane-max-width:55rem;--arcgis-configuration-form-footer-max-width:800px;--arcgis-configuration-form-footer-scalable-padding:0.5rem}calcite-tab.sc-arcgis-hub-entity-registrants{margin-top:2rem}arcgis-hub-entity-editor.sc-arcgis-hub-entity-registrants{width:100%}calcite-tabs.sc-arcgis-hub-entity-registrants{display:block;width:100%}calcite-tab.sc-arcgis-hub-entity-registrants{padding:0px}',R=A,h=function(e,t,a,r){var n=arguments.length,s=n<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,a):r,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,r);else for(var y=e.length-1;y>=0;y--)(d=e[y])&&(s=(n<3?d(s):n>3?d(t,a,s):d(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},v={noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success"},o;(function(e){e.REGISTRANTS="Registrants",e.SETTINGS="Settings"})(o||(o={}));var c=class{async componentWillLoad(){this.intl=await b.loadIntlForComponent(this.element)}constructor(e){w(this,e),this.arcgisHubWorkspaceEntityChange=g(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=g(this,"hubTelemetry",7),this.handleEditorChanged=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.values,isDirty:!0})},this.handleEditorSaved=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.entity,isDirty:!t.detail.isSuccess})},this.handleGallerySelection=t=>{this.gallerySelection=t.detail},this.handleOnArcgisHubGalleryBulkAction=async t=>{let{selection:a}=t.detail;try{await Promise.all(a.map(r=>T(r,this._context.hubRequestOptions).then(n=>(this.gallerySelection=Object.assign(Object.assign({},this.gallerySelection),{eventAttendee:this.gallerySelection.eventAttendee.filter(s=>s!==r)}),n)))),u({title:this.intl.t("success.delete",{eventName:this.entity.name}),message:"",configuration:Object.assign(Object.assign({},v),{label:this.intl.t("notice.label")})})}catch(r){console.error(`Failed to remove registration: ${r}`),u({title:this.intl.t("error.delete"),message:"",configuration:Object.assign(Object.assign({},v),{kind:"danger",label:this.intl.t("notice.label")})})}this.galleryElement.refresh()},this.attendeeCardModelCallback=(t,a,r,n)=>Object.assign(Object.assign({},t),{additionalInfo:[...t.additionalInfo,{label:this.intl.t("facets.location.header"),value:this.intl.t({IN_PERSON:"facets.location.in_person",VIRTUAL:"facets.location.online"}[n.rawResult.type])}]}),this.renderRegistrantsTab=()=>i("arcgis-hub-gallery",{bulkActions:this.bulkActions,callback:this.attendeeCardModelCallback,cardTitleTag:"attendee",facets:this.facets,gallerySelection:this.gallerySelection,linkTarget:"siteRelative",mobileView:this.isMobile,onArcgisHubGalleryBulkAction:this.handleOnArcgisHubGalleryBulkAction,onArcgisHubGallerySelect:this.handleGallerySelection,query:this.query,ref:t=>{this.galleryElement=t},selectionMode:"multiple",showAdditionalInfo:!0,showEmptyState:!0,showFacets:!0,showResultsCount:!0,showSearch:!0,showSort:!0,showType:!1,sortField:"modified",sortOptions:this.sortOptions}),this.renderSettingsTab=()=>i("arcgis-hub-entity-editor",{editorType:"hub:event:registrants",entity:this.entity,footerSlotRef:this.footerSlotElement,onArcgisHubEntityEditorChange:this.handleEditorChanged,onArcgisHubEntityEditorSaved:this.handleEditorSaved,variant:f.workspace}),this.entity=void 0,this.isMobile=!1,this.selectedPrimaryTab=o.REGISTRANTS,this.footerSlotElement=void 0,this.galleryElement=void 0,this.gallerySelection={},this.isDirty=!1,this.attemptedClick=void 0,m(this,"handlePrimaryTabSelect","handlePrimaryTabKeyDown","handleEditorChanged","handleEditorSaved","handleGallerySelection","handleOnArcgisHubGalleryBulkAction","handleEntityChange")}get _context(){return C()}get tabConfigurations(){return[{title:this.intl.t("tabs.registrants"),key:o.REGISTRANTS,telemetry:p.dictionary.category.navigation.action.view.label.registrants,content:this.renderRegistrantsTab},{title:this.intl.t("tabs.settings"),key:o.SETTINGS,telemetry:p.dictionary.category.navigation.action.view.label.settings,content:this.renderSettingsTab}]}get query(){return{targetEntity:"eventAttendee",filters:[{predicates:[]}],properties:{eventId:this.entity.id}}}get facets(){let{intl:e}=this,t=[{label:e.t("facets.updatedDate"),field:"updatedDateRange",key:"updatedDateRange",display:"date-range",state:"open"}];return this.entity.attendanceType===S.Both&&t.splice(0,0,{label:e.t("facets.location.header"),key:"attendanceType",display:"multi-select",operation:"OR",options:[{label:e.t("facets.location.online"),key:"virtual",selected:!1,predicates:[{attendanceType:"virtual"}]},{label:e.t("facets.location.in_person"),key:"in_person",selected:!1,predicates:[{attendanceType:"in_person"}]}]}),t}get sortOptions(){return["modified","created","username","firstName","lastName"]}get bulkActions(){return{actions:[{name:"delete",icon:"user-minus",text:this.intl.t("delete.attendee")}]}}handlePrimaryTabSelect(e){if(e.preventDefault(),e.stopImmediatePropagation(),this.isDirty){this.attemptedClick={tab:e.target.tab,clickEvent:e};return}else{this.selectedPrimaryTab=e.target.tab;let{telemetry:t}=this.tabConfigurations.find(({key:a})=>a===this.selectedPrimaryTab);this.hubTelemetry.emit(t)}}handlePrimaryTabKeyDown(e){switch(e.key){case" ":case"Enter":this.handlePrimaryTabSelect(e);return}}handleDirtyStateModalClosed(e){e.detail?this.attemptedClick=null:(this.isDirty=!1,this.selectedPrimaryTab=this.attemptedClick.tab,this.attemptedClick=null)}handleEntityChange(e){this.isDirty=e.detail.isDirty}renderTabs(){let e=this.tabConfigurations;return i("calcite-tabs",null,i("calcite-tab-nav",{slot:"title-group"},e.map(t=>i("calcite-tab-title",{key:t.key,onClick:this.handlePrimaryTabSelect,onKeyDown:this.handlePrimaryTabKeyDown,selected:this.selectedPrimaryTab===t.key,tab:t.key},t.title))),e.map(t=>i("calcite-tab",{class:"registrants-tab-container",key:t.key,selected:this.selectedPrimaryTab===t.key,tab:t.key},t.content())))}get shouldShowDirtyStateModal(){return!!this.attemptedClick}renderDirtyStateModal(){return this.shouldShowDirtyStateModal?i("arcgis-hub-workspace-dirty-state-modal",{"is-open":!0}):null}render(){return i(k,{key:"f4f4f3fe458d627d63c03cebe831f1539230a8db","data-element":"entity-registrants"},i("arcgis-hub-workspace-pane",{key:"39e3756822d712a65019d50cb1f63204ec1bfb39",isMobile:this.isMobile,"sticky-footer":!0},i("div",{key:"465bec9beb676359772eb0b79b6717966f7515af",slot:"title"},i("h1",{key:"48dee1f7d5805c69e2b6cd7da09672e936e0936e"},this.intl.t("registrants"))),this.renderTabs(),this.selectedPrimaryTab===o.SETTINGS&&i("div",{ref:e=>{this.footerSlotElement=e},slot:"footer"})),this.renderDirtyStateModal())}static get assetsDirs(){return["locales"]}get element(){return E(this)}};h([l()],c.prototype,"query",null);h([l("entity.attendanceType")],c.prototype,"facets",null);h([l()],c.prototype,"sortOptions",null);h([l()],c.prototype,"bulkActions",null);c.style=R;return c},"config")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
function u(){function i(t,c,a){let{value:l}=a,e=`_${c}Called`;Object.defineProperty(t,e,{writable:!0,value:!1});let n=`_${c}Cache`;Object.defineProperty(t,n,{writable:!0});let o=function(...s){return this[e]||(this[e]=!0,this[n]=l.apply(this,s)),this[n]};return Object.assign(Object.assign({},a),{value:o})}return i}export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.17/esri/copyright.txt for details.
|
|
3
|
+
v0.17.0 */
|
|
4
|
+
import"./OI7BJ2LB.js";var a={chart:"Diagram",barChart:"S\xF8jlediagram",lineChart:"Linjediagram",pieChart:"Cirkeldiagram",histogram:"Histogram",scatterplot:"Punktdiagram",boxPlot:"Kassediagram"},t={mean:"Middel",median:"Median",sum:"Sum",discretePercentile:"S\xE6rskilt percentil",minimum:"Minimum",maximum:"Maksimum",variance:"Varians",count:"T\xE6lling",aggregation:"${ statistics } for ${ fieldName }",noAggregation:"Ingen aggregering"},e="Diagram",i="T\xE6ller\xE6kke",s="X-akse",r="Ikke tilg\xE6ngelig",g={start:"Fastg\xF8r til det f\xF8rste datapunkt",end:"Fastg\xF8r til det sidste datapunkt"},n={chartType:a,statistics:t,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:g};export{a as chartType,i as countSeries,n as default,e as defaultTitle,r as notAvailable,t as statistics,g as timeAggregationTypes,s as xAxis};
|