@esri/hub-web-components 0.28.1 → 0.29.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/22AHJDSR.js +4 -0
- package/dist/cdn/23VX6O56.js +4 -0
- package/dist/cdn/2C64BB7U.js +4 -0
- package/dist/cdn/2CM5FYUP.js +4 -0
- package/dist/cdn/2HOQW4GX.js +4 -0
- package/dist/cdn/2J3AUXHX.js +4 -0
- package/dist/cdn/2JOPX2ZA.js +4 -0
- package/dist/cdn/2JZZ2JD4.js +4 -0
- package/dist/cdn/2KER4DP5.js +4 -0
- package/dist/cdn/2KTWVZ2J.js +4 -0
- package/dist/cdn/2P6E6REB.js +4 -0
- package/dist/cdn/2PU2VDVO.js +4 -0
- package/dist/cdn/2PX3UZJ2.js +4 -0
- package/dist/cdn/2Q6ATD2A.js +4 -0
- package/dist/cdn/2QBFEHAB.js +4 -0
- package/dist/cdn/2QLZR5YL.js +4 -0
- package/dist/cdn/2RWUJ3XV.js +4 -0
- package/dist/cdn/2S6OYEYO.js +4 -0
- package/dist/cdn/2WRQCD3I.js +4 -0
- package/dist/cdn/2XJFLSKJ.js +4 -0
- package/dist/cdn/2YPL3V4E.js +4 -0
- package/dist/cdn/2ZNVI4LM.js +4 -0
- package/dist/cdn/34J3TQKS.js +4 -0
- package/dist/cdn/35LXCBKT.js +4 -0
- package/dist/cdn/376HZI62.js +4 -0
- package/dist/cdn/3A36DIUD.js +4 -0
- package/dist/cdn/3GNUAHUG.js +4 -0
- package/dist/cdn/3IYR66LG.js +4 -0
- package/dist/cdn/3J356TLH.js +4 -0
- package/dist/cdn/3K4IN7S2.js +4 -0
- package/dist/cdn/3L4HNGD5.js +4 -0
- package/dist/cdn/3LYCGIES.js +4 -0
- package/dist/cdn/3M2UH5RZ.js +4 -0
- package/dist/cdn/3MLL52K7.js +4 -0
- package/dist/cdn/3OPXNSYM.js +4 -0
- package/dist/cdn/3Q4XAY4K.js +4 -0
- package/dist/cdn/3R4MXJ5M.js +4 -0
- package/dist/cdn/3VUHVDDB.js +4 -0
- package/dist/cdn/3WGRB57R.js +4 -0
- package/dist/cdn/3WS6AQFV.js +4 -0
- package/dist/cdn/3XUTMVJA.js +4 -0
- package/dist/cdn/3YWTJVQ6.js +4 -0
- package/dist/cdn/44HOGGTC.js +4 -0
- package/dist/cdn/45KM6LP2.js +4 -0
- package/dist/cdn/46HR4M3T.js +4 -0
- package/dist/cdn/46NTWJ5E.js +6 -0
- package/dist/cdn/4BNP3D2H.js +4 -0
- package/dist/cdn/4BT7DQBO.js +4 -0
- package/dist/cdn/4C67J2YJ.js +4 -0
- package/dist/cdn/4CZLLYGW.js +4 -0
- package/dist/cdn/4EG423AZ.js +4 -0
- package/dist/cdn/4HFGVHYZ.js +4 -0
- package/dist/cdn/4HGOE6CC.js +4 -0
- package/dist/cdn/4LJ77PC6.js +4 -0
- package/dist/cdn/4PP7KWFH.js +4 -0
- package/dist/cdn/4QAKSF6K.js +4 -0
- package/dist/cdn/4TTEQZAD.js +4 -0
- package/dist/cdn/4TVZTZY5.js +5 -0
- package/dist/cdn/4UAZKDL5.js +4 -0
- package/dist/cdn/4VEFWMXJ.js +4 -0
- package/dist/cdn/4VV6YG65.js +4 -0
- package/dist/cdn/4WNOWHZI.js +4 -0
- package/dist/cdn/4Y2ALGF3.js +4 -0
- package/dist/cdn/4Y5NASUU.js +4 -0
- package/dist/cdn/5224UGB5.js +4 -0
- package/dist/cdn/52WR7TYV.js +4 -0
- package/dist/cdn/54IZFPGX.js +4 -0
- package/dist/cdn/565764EU.js +4 -0
- package/dist/cdn/57EYQC7V.js +4 -0
- package/dist/cdn/5AT6KDV3.js +4 -0
- package/dist/cdn/5E4GOXXI.js +4 -0
- package/dist/cdn/5F6QRL7U.js +4 -0
- package/dist/cdn/5FOIFSUU.js +4 -0
- package/dist/cdn/5K6ZUNUC.js +4 -0
- package/dist/cdn/5KJYVAIK.js +4 -0
- package/dist/cdn/5NN2FVUF.js +4 -0
- package/dist/cdn/5OM23AYK.js +4 -0
- package/dist/cdn/5TQJTHJX.js +4 -0
- package/dist/cdn/5ULMCG2L.js +4 -0
- package/dist/cdn/5UXQK6BE.js +4 -0
- package/dist/cdn/5VYJQPI3.js +4 -0
- package/dist/cdn/5YNDBWGJ.js +4 -0
- package/dist/cdn/636WCW4R.js +4 -0
- package/dist/cdn/65BR73G4.js +4 -0
- package/dist/cdn/66MNGXO2.js +4 -0
- package/dist/cdn/673MFJUF.js +4 -0
- package/dist/cdn/6AED5XVE.js +4 -0
- package/dist/cdn/6AFW75KM.js +4 -0
- package/dist/cdn/6APMMLOT.js +4 -0
- package/dist/cdn/6CS4XBQG.js +4 -0
- package/dist/cdn/6DE6RSTD.js +4 -0
- package/dist/cdn/6IRLQMXV.js +4 -0
- package/dist/cdn/6IXTIIUB.js +4 -0
- package/dist/cdn/6L7JP2C3.js +4 -0
- package/dist/cdn/6MGBWDMR.js +4 -0
- package/dist/cdn/6NH2OFTJ.js +4 -0
- package/dist/cdn/6NHDVAJQ.js +4 -0
- package/dist/cdn/6PGDBYCA.js +4 -0
- package/dist/cdn/6QU3MVPR.js +4 -0
- package/dist/cdn/6QUFI36E.js +4 -0
- package/dist/cdn/6UD4XXYA.js +4 -0
- package/dist/cdn/6ULU6THP.js +4 -0
- package/dist/cdn/6VM7QTQ2.js +4 -0
- package/dist/cdn/6WRVJ2YU.js +4 -0
- package/dist/cdn/76CM7RUR.js +4 -0
- package/dist/cdn/77ZB6UKO.js +4 -0
- package/dist/cdn/7BDUBIPO.js +4 -0
- package/dist/cdn/7BHZELPW.js +4 -0
- package/dist/cdn/7CA7LSYI.js +4 -0
- package/dist/cdn/7D4PGZKY.js +4 -0
- package/dist/cdn/7DCMUDSM.js +4 -0
- package/dist/cdn/7DDJTAHA.js +4 -0
- package/dist/cdn/7FFXC2L3.js +4 -0
- package/dist/cdn/7ISGHQMV.js +4 -0
- package/dist/cdn/7IXDEESL.js +4 -0
- package/dist/cdn/7KTIRGN3.js +4 -0
- package/dist/cdn/7NLT6I66.js +4 -0
- package/dist/cdn/7OVISQTL.js +4 -0
- package/dist/cdn/7VWOND6G.js +4 -0
- package/dist/cdn/7XE5OD45.js +4 -0
- package/dist/cdn/7XYTCMGP.js +4 -0
- package/dist/cdn/7YAPQDER.js +4 -0
- package/dist/cdn/7YCCSCN5.js +4 -0
- package/dist/cdn/7Z45QN5N.js +12 -0
- package/dist/cdn/A5DT7NE6.js +4 -0
- package/dist/cdn/ABC2I3ZR.js +4 -0
- package/dist/cdn/ABTIHJNV.js +4 -0
- package/dist/cdn/ADBKULDR.js +4 -0
- package/dist/cdn/ADIPQ4VU.js +4 -0
- package/dist/cdn/AETS43GU.js +4 -0
- package/dist/cdn/AEWLKFBU.js +4 -0
- package/dist/cdn/AHCRPC4L.js +4 -0
- package/dist/cdn/ALKVZFQO.js +4 -0
- package/dist/cdn/ALOODCII.js +4 -0
- package/dist/cdn/ALOTF2JS.js +4 -0
- package/dist/cdn/AOGCOFUL.js +4 -0
- package/dist/cdn/APZRVZOS.js +4 -0
- package/dist/cdn/AQ46NNHU.js +4 -0
- package/dist/cdn/ARRE7HE2.js +4 -0
- package/dist/cdn/ASJS72NM.js +4 -0
- package/dist/cdn/AST5IXCY.js +4 -0
- package/dist/cdn/ASX5STXU.js +4 -0
- package/dist/cdn/AT27P2RX.js +4 -0
- package/dist/cdn/AUUNZDWY.js +4 -0
- package/dist/cdn/AXKLBSGA.js +4 -0
- package/dist/cdn/AY2HO6FN.js +4 -0
- package/dist/cdn/AZ3IEWPS.js +4 -0
- package/dist/cdn/B2R2MIEZ.js +4 -0
- package/dist/cdn/B3WF2US3.js +4 -0
- package/dist/cdn/BAR5PEE5.js +4 -0
- package/dist/cdn/BB52DPT6.js +4 -0
- package/dist/cdn/BBM7UQFW.js +4 -0
- package/dist/cdn/BBYRNE4Y.js +4 -0
- package/dist/cdn/BDAXGRXY.js +4 -0
- package/dist/cdn/BH42DFEL.js +4 -0
- package/dist/cdn/BHDPDSAP.js +4 -0
- package/dist/cdn/BHTPSE2K.js +4 -0
- package/dist/cdn/BIABFBHF.js +4 -0
- package/dist/cdn/BJM64HCL.js +4 -0
- package/dist/cdn/BLWWPPKZ.js +4 -0
- package/dist/cdn/BOLHP6ME.js +5470 -0
- package/dist/cdn/BPEB5TL6.js +4 -0
- package/dist/cdn/BRMLZGYQ.js +4 -0
- package/dist/cdn/BUPSWVQN.js +4 -0
- package/dist/cdn/BXDFE2QL.js +4 -0
- package/dist/cdn/BZHFXNC5.js +4 -0
- package/dist/cdn/C2BE6TOK.js +4 -0
- package/dist/cdn/C2SYSUBB.js +4 -0
- package/dist/cdn/C5CKY5VH.js +4 -0
- package/dist/cdn/CBRYN73L.js +4 -0
- package/dist/cdn/CBTQGIID.js +9 -0
- package/dist/cdn/CCYDXMOQ.js +4 -0
- package/dist/cdn/CDE57SH5.js +4 -0
- package/dist/cdn/CDUANDLC.js +4 -0
- package/dist/cdn/CE5Q3TAF.js +16 -0
- package/dist/cdn/CESPKWMC.js +4 -0
- package/dist/cdn/CGLHNXT7.js +24 -0
- package/dist/cdn/CI6S62PS.js +4 -0
- package/dist/cdn/CJKTAEQ3.js +4 -0
- package/dist/cdn/CK6UVWP3.js +4 -0
- package/dist/cdn/CLC3EG55.js +4 -0
- package/dist/cdn/CLTTYQ2Y.js +4 -0
- package/dist/cdn/CLUJCRQ7.js +4 -0
- package/dist/cdn/CPVBXDV3.js +4 -0
- package/dist/cdn/CPVKT2ID.js +41 -0
- package/dist/cdn/CQUCKKNV.js +4 -0
- package/dist/cdn/CR2JC3CO.js +4 -0
- package/dist/cdn/CTGKFDJZ.js +4 -0
- package/dist/cdn/CYMKWCIH.js +4 -0
- package/dist/cdn/CZ3OVKO7.js +4 -0
- package/dist/cdn/CZQYMDPB.js +4 -0
- package/dist/cdn/D2YWYQGZ.js +4 -0
- package/dist/cdn/D75U427R.js +4 -0
- package/dist/cdn/DD3IPIPX.js +4 -0
- package/dist/cdn/DGF5R54L.js +4 -0
- package/dist/cdn/DGY7EKVO.js +4 -0
- package/dist/cdn/DHRRG7ZP.js +4 -0
- package/dist/cdn/DJHGJ2UY.js +4 -0
- package/dist/cdn/DLUM5TGI.js +4 -0
- package/dist/cdn/DQBHMREK.js +4 -0
- package/dist/cdn/DQUQ24IX.js +4 -0
- package/dist/cdn/DRJUYHWG.js +4 -0
- package/dist/cdn/DSUTE6OR.js +4 -0
- package/dist/cdn/DT2ZLCD6.js +4 -0
- package/dist/cdn/DTO6WAHI.js +4 -0
- package/dist/cdn/DUA4CPK2.js +4 -0
- package/dist/cdn/DWSS7M2M.js +4 -0
- package/dist/cdn/DYW7XT46.js +4 -0
- package/dist/cdn/E2O432KX.js +4 -0
- package/dist/cdn/E5A6ANVZ.js +4 -0
- package/dist/cdn/E6Q3UTBA.js +4 -0
- package/dist/cdn/E7G6CN5C.js +4 -0
- package/dist/cdn/E7JESQFM.js +4 -0
- package/dist/cdn/EAOJJP3Q.js +4 -0
- package/dist/cdn/EBBAOJ26.js +4 -0
- package/dist/cdn/EBMDUFBM.js +4 -0
- package/dist/cdn/ECBTSVYM.js +4 -0
- package/dist/cdn/EDM6FN6X.js +4 -0
- package/dist/cdn/EE7MABSU.js +4 -0
- package/dist/cdn/EHVFG76R.js +4 -0
- package/dist/cdn/EKB3TS5F.js +4 -0
- package/dist/cdn/EKCUXPH3.js +4 -0
- package/dist/cdn/EKS3HSIB.js +4 -0
- package/dist/cdn/ELYHQS4S.js +4 -0
- package/dist/cdn/EM6IA2D7.js +4 -0
- package/dist/cdn/EMYJVXCD.js +4 -0
- package/dist/cdn/ENVA6BQV.js +4 -0
- package/dist/cdn/EPJK23PS.js +4 -0
- package/dist/cdn/ERHDAV5X.js +4 -0
- package/dist/cdn/ETU4HLOS.js +4 -0
- package/dist/cdn/EVANRNGX.js +4 -0
- package/dist/cdn/EWPH4ZGK.js +4 -0
- package/dist/cdn/EZLGYZCL.js +4 -0
- package/dist/cdn/F36I43RJ.js +4 -0
- package/dist/cdn/F4KVA3KL.js +4 -0
- package/dist/cdn/F5DKVCER.js +4 -0
- package/dist/cdn/FBEQKPKM.js +4 -0
- package/dist/cdn/FEGH3M7J.js +4 -0
- package/dist/cdn/FFSKQQB2.js +4 -0
- package/dist/cdn/FGAZFXDU.js +4 -0
- package/dist/cdn/FI5UDICX.js +4 -0
- package/dist/cdn/FI73S54G.js +4 -0
- package/dist/cdn/FMGVM3PL.js +4 -0
- package/dist/cdn/FNKVLB56.js +4 -0
- package/dist/cdn/FOFPPTFX.js +4 -0
- package/dist/cdn/FR3JKRZI.js +4 -0
- package/dist/cdn/FSDXV2LK.js +4 -0
- package/dist/cdn/FSI6WNRL.js +4 -0
- package/dist/cdn/FU65EZAN.js +4 -0
- package/dist/cdn/FV35QIAG.js +11 -0
- package/dist/cdn/FXHXRFCX.js +4 -0
- package/dist/cdn/G2TSVPOP.js +4 -0
- package/dist/cdn/G4LDSCNT.js +4 -0
- package/dist/cdn/G542GJZ6.js +4 -0
- package/dist/cdn/GDHKPKCL.js +4 -0
- package/dist/cdn/GEPRSWUS.js +4 -0
- package/dist/cdn/GERVHENC.js +4 -0
- package/dist/cdn/GJAEHYE4.js +4 -0
- package/dist/cdn/GJMGVQKA.js +4 -0
- package/dist/cdn/GJUDGNVS.js +4 -0
- package/dist/cdn/GKYLIW6Q.js +4 -0
- package/dist/cdn/GOEU3WDV.js +4 -0
- package/dist/cdn/GPZUXEM5.js +4 -0
- package/dist/cdn/GSG2Z7DB.js +4 -0
- package/dist/cdn/GSOOB2TR.js +4 -0
- package/dist/cdn/GXAGKJXB.js +4 -0
- package/dist/cdn/GXRTI76Q.js +4 -0
- package/dist/cdn/GY6KUPFE.js +4 -0
- package/dist/cdn/H2TFOKXW.js +4 -0
- package/dist/cdn/H47TURSU.js +4 -0
- package/dist/cdn/H5MVVEOX.js +4 -0
- package/dist/cdn/H6E7YOCJ.js +4 -0
- package/dist/cdn/H7U4RZQP.js +4 -0
- package/dist/cdn/HCFBUZAD.js +4 -0
- package/dist/cdn/HDWIZ2NC.js +4 -0
- package/dist/cdn/HENYNRGK.js +4 -0
- package/dist/cdn/HHWHHXRI.js +4 -0
- package/dist/cdn/HJ5WZNDT.js +4 -0
- package/dist/cdn/HKCFZILF.js +4 -0
- package/dist/cdn/HPLPS2JT.js +4 -0
- package/dist/cdn/HTZBMGZB.js +4 -0
- package/dist/cdn/HWOTAW6Z.js +4 -0
- package/dist/cdn/HXFOP2HN.js +4 -0
- package/dist/cdn/HZ5SEBTX.js +4 -0
- package/dist/cdn/HZIZ32JA.js +4 -0
- package/dist/cdn/HZMPKAQP.js +4 -0
- package/dist/cdn/HZQK334J.js +4 -0
- package/dist/cdn/I46GDW7X.js +4 -0
- package/dist/cdn/I5DDXCYU.js +4 -0
- package/dist/cdn/I5HKIPIX.js +4 -0
- package/dist/cdn/I5SGU6CJ.js +4 -0
- package/dist/cdn/I5WZ5BPU.js +4 -0
- package/dist/cdn/IDLNSSQH.js +4 -0
- package/dist/cdn/IFX4GW2F.js +4 -0
- package/dist/cdn/IGHCEOJD.js +5 -0
- package/dist/cdn/IHWHDECI.js +4 -0
- package/dist/cdn/IIYXGOTU.js +4 -0
- package/dist/cdn/IJMPHCXA.js +4 -0
- package/dist/cdn/IJMY4PUS.js +4 -0
- package/dist/cdn/IKBXOSFK.js +4 -0
- package/dist/cdn/IKN3F2Z2.js +4 -0
- package/dist/cdn/IKQGF57T.js +4 -0
- package/dist/cdn/IMVDVU5J.js +4 -0
- package/dist/cdn/ITS3KMKT.js +4 -0
- package/dist/cdn/IVAPF4QO.js +4 -0
- package/dist/cdn/J2PECBQT.js +4 -0
- package/dist/cdn/J4MFCABD.js +4 -0
- package/dist/cdn/JCDDALPT.js +4 -0
- package/dist/cdn/JDXTYI6Y.js +4 -0
- package/dist/cdn/JEJIDON5.js +4 -0
- package/dist/cdn/JEQG6ES5.js +4 -0
- package/dist/cdn/JFOJSQD6.js +4 -0
- package/dist/cdn/JFZ5GYML.js +4 -0
- package/dist/cdn/JG2Y4RQG.js +4 -0
- package/dist/cdn/JHSP6XRD.js +4 -0
- package/dist/cdn/JKND3TIV.js +4 -0
- package/dist/cdn/JKYLXN2O.js +4 -0
- package/dist/cdn/JL2RBE6A.js +4 -0
- package/dist/cdn/JOOCEMT5.js +4 -0
- package/dist/cdn/JPS3MCG6.js +4 -0
- package/dist/cdn/JPZLPSFU.js +4 -0
- package/dist/cdn/JROPFWVO.js +4 -0
- package/dist/cdn/JRVERVAC.js +4 -0
- package/dist/cdn/JSNO5ZRF.js +4 -0
- package/dist/cdn/JSOZATGE.js +4 -0
- package/dist/cdn/JXIVGHYT.js +4 -0
- package/dist/cdn/K6LOD6C7.js +4 -0
- package/dist/cdn/K7EUXM5M.js +4 -0
- package/dist/cdn/KAU2APD3.js +4 -0
- package/dist/cdn/KBW72ZZ3.js +4 -0
- package/dist/cdn/KCV7XCTI.js +4 -0
- package/dist/cdn/KEDF2TSP.js +4 -0
- package/dist/cdn/KEPSCC7V.js +4 -0
- package/dist/cdn/KFQ2M336.js +4 -0
- package/dist/cdn/KIRX47PY.js +4 -0
- package/dist/cdn/KK6CFYKF.js +4 -0
- package/dist/cdn/KKBEYANH.js +4 -0
- package/dist/cdn/KNCLSSWL.js +4 -0
- package/dist/cdn/KO6HE3EY.js +4 -0
- package/dist/cdn/KQACWXI2.js +4 -0
- package/dist/cdn/KQEK43HI.js +4 -0
- package/dist/cdn/KRBJZ6SW.js +4 -0
- package/dist/cdn/KSKWZSUE.js +4 -0
- package/dist/cdn/KV2GSRRX.js +51 -0
- package/dist/cdn/KWGUK7G6.js +4 -0
- package/dist/cdn/KZ7VCRUL.js +4 -0
- package/dist/cdn/KZLGGJWN.js +4 -0
- package/dist/cdn/KZU443E5.js +4 -0
- package/dist/cdn/L32MA43M.js +4 -0
- package/dist/cdn/L3DJ74GQ.js +4 -0
- package/dist/cdn/L52YSOGV.js +4 -0
- package/dist/cdn/L5I55DE2.js +4 -0
- package/dist/cdn/L6KNTGSJ.js +4 -0
- package/dist/cdn/LALWV6A6.js +4 -0
- package/dist/cdn/LBL5KMIT.js +4 -0
- package/dist/cdn/LD3NJ7KQ.js +4 -0
- package/dist/cdn/LETSHOZX.js +4 -0
- package/dist/cdn/LGP7V6PM.js +5 -0
- package/dist/cdn/LJZFR2QN.js +4 -0
- package/dist/cdn/LKIDOLIB.js +4 -0
- package/dist/cdn/LKRKN2QF.js +4 -0
- package/dist/cdn/LLQ2HFT3.js +4 -0
- package/dist/cdn/LOD5HXAR.js +4 -0
- package/dist/cdn/LTDJ2QBL.js +52 -0
- package/dist/cdn/LTEYTFVK.js +4 -0
- package/dist/cdn/LTXRBE7M.js +4 -0
- package/dist/cdn/LVQHI6KR.js +4 -0
- package/dist/cdn/LW5OYDFW.js +4 -0
- package/dist/cdn/LWRF4GYP.js +4 -0
- package/dist/cdn/LZFZCIGH.js +4 -0
- package/dist/cdn/LZGUUQBW.js +4 -0
- package/dist/cdn/M25DZELT.js +4 -0
- package/dist/cdn/M4R7BR23.js +4 -0
- package/dist/cdn/MBESX4NJ.js +4 -0
- package/dist/cdn/MCO4VYYZ.js +4 -0
- package/dist/cdn/MEBDPQGN.js +4 -0
- package/dist/cdn/MIILJ5XU.js +4 -0
- package/dist/cdn/MJ7M5XDG.js +4 -0
- package/dist/cdn/MJF5EW7S.js +4 -0
- package/dist/cdn/MKIAL5CE.js +4 -0
- package/dist/cdn/MKY364EQ.js +4 -0
- package/dist/cdn/MMW34LVS.js +4 -0
- package/dist/cdn/MPKB2FO3.js +4 -0
- package/dist/cdn/MPZLREAF.js +59 -0
- package/dist/cdn/MQBO5FDJ.js +4 -0
- package/dist/cdn/MSLJN5CL.js +4 -0
- package/dist/cdn/MTAJL3XZ.js +4 -0
- package/dist/cdn/MV2M3HY3.js +4 -0
- package/dist/cdn/MVPH2TDC.js +4 -0
- package/dist/cdn/MX3PO5SJ.js +4 -0
- package/dist/cdn/MYFRO3H3.js +4 -0
- package/dist/cdn/N3DBXROE.js +4 -0
- package/dist/cdn/N3E2YFA2.js +5 -0
- package/dist/cdn/NB7RWM4J.js +4 -0
- package/dist/cdn/NDKJHAOK.js +4 -0
- package/dist/cdn/NE5HRL26.js +4 -0
- package/dist/cdn/NIFXTC22.js +4 -0
- package/dist/cdn/NJMU4GKE.js +4 -0
- package/dist/cdn/NJR4Y54C.js +4 -0
- package/dist/cdn/NMPSBKLN.js +4 -0
- package/dist/cdn/NU6PEGUF.js +4 -0
- package/dist/cdn/NVNYZZUA.js +4 -0
- package/dist/cdn/NVZ3OWW2.js +4 -0
- package/dist/cdn/NX4ONT62.js +4 -0
- package/dist/cdn/NZIJMV44.js +4 -0
- package/dist/cdn/NZKUGEB2.js +4 -0
- package/dist/cdn/O3ADDHSX.js +4 -0
- package/dist/cdn/O56DI2NP.js +4 -0
- package/dist/cdn/OAB5MYWY.js +4 -0
- package/dist/cdn/OEFJNUWW.js +4 -0
- package/dist/cdn/OFED3QPZ.js +4 -0
- package/dist/cdn/OGNVJ765.js +4 -0
- package/dist/cdn/OGSCYJQK.js +4 -0
- package/dist/cdn/OHH4J4SV.js +4 -0
- package/dist/cdn/OIBXSTXJ.js +4 -0
- package/dist/cdn/OLMR3IJM.js +4 -0
- package/dist/cdn/OM2AIPKK.js +4 -0
- package/dist/cdn/ONI4M4OC.js +4 -0
- package/dist/cdn/OO27PGZ7.js +4 -0
- package/dist/cdn/OR2NNQ53.js +4 -0
- package/dist/cdn/OV25IV7Z.js +4 -0
- package/dist/cdn/OVIRU6L4.js +4 -0
- package/dist/cdn/OWGAN3TA.js +4 -0
- package/dist/cdn/OXFGDBGT.js +4 -0
- package/dist/cdn/OXQTTNE3.js +4 -0
- package/dist/cdn/OYGVQKRA.js +4 -0
- package/dist/cdn/OYZJZA5Z.js +4 -0
- package/dist/cdn/OZPD5RGL.js +4 -0
- package/dist/cdn/P2K4WEDJ.js +4 -0
- package/dist/cdn/P3WBHLDO.js +4 -0
- package/dist/cdn/P4XP3J2S.js +4 -0
- package/dist/cdn/P5NOJJ6X.js +4 -0
- package/dist/cdn/P7GO3LRW.js +4 -0
- package/dist/cdn/P7YQSWNR.js +4 -0
- package/dist/cdn/PA5B54YV.js +4 -0
- package/dist/cdn/PCUZFTYD.js +4 -0
- package/dist/cdn/PE2EEIM5.js +4 -0
- package/dist/cdn/PF7DDKGY.js +4 -0
- package/dist/cdn/PHZJANSX.js +4 -0
- package/dist/cdn/PISEOX5Q.js +4 -0
- package/dist/cdn/PNVO2EU3.js +4 -0
- package/dist/cdn/POA4MQSN.js +4 -0
- package/dist/cdn/POSE46MR.js +4 -0
- package/dist/cdn/PQANUCIQ.js +4 -0
- package/dist/cdn/PYHF7GXO.js +4 -0
- package/dist/cdn/Q4SPFI4D.js +4 -0
- package/dist/cdn/QCX3YY2Y.js +4 -0
- package/dist/cdn/QJBHIAZY.js +4 -0
- package/dist/cdn/QJNRSARZ.js +4 -0
- package/dist/cdn/QKFGOST7.js +4 -0
- package/dist/cdn/QLF72Y5W.js +4 -0
- package/dist/cdn/QOAPCP4X.js +4 -0
- package/dist/cdn/QOKW3RWP.js +4 -0
- package/dist/cdn/QQIZKSP5.js +4 -0
- package/dist/cdn/QQOSTJKE.js +25 -0
- package/dist/cdn/QSBQUT2O.js +4 -0
- package/dist/cdn/QSJEIMIX.js +4 -0
- package/dist/cdn/QTA2OGSJ.js +4 -0
- package/dist/cdn/QUBBZNPN.js +4 -0
- package/dist/cdn/QUFMQ4D2.js +4 -0
- package/dist/cdn/QW3QWCMF.js +4 -0
- package/dist/cdn/QYNB5AJ7.js +4 -0
- package/dist/cdn/QZT5ICRT.js +4 -0
- package/dist/cdn/R2PVK5UN.js +4 -0
- package/dist/cdn/R3I4J3L7.js +4 -0
- package/dist/cdn/R3UDD63K.js +4 -0
- package/dist/cdn/R5LJOROF.js +4 -0
- package/dist/cdn/RA3YKBRT.js +5 -0
- package/dist/cdn/RCTIA5EP.js +4 -0
- package/dist/cdn/RDR7JRIH.js +4 -0
- package/dist/cdn/REJ63WP2.js +4 -0
- package/dist/cdn/RES35CWQ.js +4 -0
- package/dist/cdn/REWJNW4C.js +4 -0
- package/dist/cdn/RFRK7Y2N.js +4 -0
- package/dist/cdn/RIIWH6BS.js +4 -0
- package/dist/cdn/RKDCPP5C.js +4 -0
- package/dist/cdn/RM4JKVDT.js +42 -0
- package/dist/cdn/RNXDFO4J.js +4 -0
- package/dist/cdn/RQJHWA53.js +4 -0
- package/dist/cdn/RQW5LRW4.js +4 -0
- package/dist/cdn/RSIRQOK5.js +4 -0
- package/dist/cdn/RSOPGSCE.js +4 -0
- package/dist/cdn/RSTAFOZD.js +4 -0
- package/dist/cdn/RTSZ536G.js +4 -0
- package/dist/cdn/RTWSGMSN.js +4 -0
- package/dist/cdn/RY6UQNV4.js +4 -0
- package/dist/cdn/RZJY53OX.js +4 -0
- package/dist/cdn/S2RNRPCD.js +4 -0
- package/dist/cdn/S5RPR2FS.js +4 -0
- package/dist/cdn/S6RKOVKR.js +4 -0
- package/dist/cdn/SBAMIHLH.js +4 -0
- package/dist/cdn/SBRFC3RE.js +4 -0
- package/dist/cdn/SEWOKUNR.js +4 -0
- package/dist/cdn/SFJGEYRM.js +4 -0
- package/dist/cdn/SJ34APFJ.js +4 -0
- package/dist/cdn/SKIQ2XLC.js +4 -0
- package/dist/cdn/SKSI2EGH.js +4 -0
- package/dist/cdn/SLLUKHGE.js +4 -0
- package/dist/cdn/SP3APUUG.js +4 -0
- package/dist/cdn/SPW4XUMU.js +4 -0
- package/dist/cdn/SQLDIR4G.js +4 -0
- package/dist/cdn/SS6E7FFW.js +4 -0
- package/dist/cdn/STTZX4NM.js +4 -0
- package/dist/cdn/SVRUPQ4H.js +4 -0
- package/dist/cdn/SYEREYRL.js +4 -0
- package/dist/cdn/SYOOEWQZ.js +4 -0
- package/dist/cdn/T3HXFS5E.js +8 -0
- package/dist/cdn/T4732O3Z.js +4 -0
- package/dist/cdn/T52VQHP2.js +4 -0
- package/dist/cdn/T7RVKJMB.js +4 -0
- package/dist/cdn/T7SLHAA5.js +4 -0
- package/dist/cdn/TBAPHRX5.js +4 -0
- package/dist/cdn/TC46RBXP.js +4 -0
- package/dist/cdn/TE2XW7QM.js +12 -0
- package/dist/cdn/TFQTUZIA.js +4 -0
- package/dist/cdn/TG6ZEHWY.js +4 -0
- package/dist/cdn/TLQKNXCO.js +4 -0
- package/dist/cdn/TLUBNYDN.js +4 -0
- package/dist/cdn/TMZQB324.js +4 -0
- package/dist/cdn/TN6OVP4G.js +4 -0
- package/dist/cdn/TNT7E7JL.js +4 -0
- package/dist/cdn/TOHYZYPW.js +4 -0
- package/dist/cdn/TP5OSMTE.js +4 -0
- package/dist/cdn/TR4IDLV7.js +4 -0
- package/dist/cdn/TUBNOCPT.js +4 -0
- package/dist/cdn/TVC6TZLR.js +4 -0
- package/dist/cdn/TWME2NY3.js +4 -0
- package/dist/cdn/TWOPF52C.js +4 -0
- package/dist/cdn/TWY3Z5LL.js +4 -0
- package/dist/cdn/TXCUF56P.js +4 -0
- package/dist/cdn/TXTE5PL3.js +4 -0
- package/dist/cdn/TYVU4MPL.js +4 -0
- package/dist/cdn/TZKM5SKQ.js +4 -0
- package/dist/cdn/U23QRMXZ.js +4 -0
- package/dist/cdn/U3AFCEGX.js +4 -0
- package/dist/cdn/U57WT5TZ.js +4 -0
- package/dist/cdn/U5ETQWCO.js +4 -0
- package/dist/cdn/U5UGJJLM.js +4 -0
- package/dist/cdn/UAWCHGY6.js +4 -0
- package/dist/cdn/UCMQ3TZO.js +4 -0
- package/dist/cdn/UDT2ACBX.js +4 -0
- package/dist/cdn/UHV4B7RY.js +4 -0
- package/dist/cdn/UIEZB2GH.js +4 -0
- package/dist/cdn/UM73YLN4.js +4 -0
- package/dist/cdn/UMXFPNAN.js +4 -0
- package/dist/cdn/UOFJRL5C.js +4 -0
- package/dist/cdn/UPA3NIBA.js +4 -0
- package/dist/cdn/UQZQQTEJ.js +4 -0
- package/dist/cdn/UTVH4LLV.js +4 -0
- package/dist/cdn/UTZJAYCY.js +4 -0
- package/dist/cdn/UZMIJ53L.js +4 -0
- package/dist/cdn/UZNO6PMZ.js +4 -0
- package/dist/cdn/V23X7OXZ.js +4 -0
- package/dist/cdn/V3OJ3O7B.js +4 -0
- package/dist/cdn/V4TM3IDY.js +6 -0
- package/dist/cdn/V7OG2ZYE.js +4 -0
- package/dist/cdn/VAJGZFLK.js +4 -0
- package/dist/cdn/VB6ZJCYU.js +4 -0
- package/dist/cdn/VB7VSNQV.js +4 -0
- package/dist/cdn/VE4WQW5N.js +8 -0
- package/dist/cdn/VEB6AZPK.js +4 -0
- package/dist/cdn/VEUGVS3T.js +4 -0
- package/dist/cdn/VF6AXDQV.js +4 -0
- package/dist/cdn/VFAPXQKI.js +4 -0
- package/dist/cdn/VFGIWRQ5.js +4 -0
- package/dist/cdn/VFHFDAOP.js +4 -0
- package/dist/cdn/VIIWQIBS.js +4 -0
- package/dist/cdn/VOTIHNJG.js +4 -0
- package/dist/cdn/VTLMWR6A.js +4 -0
- package/dist/cdn/VXOX5OUM.js +4 -0
- package/dist/cdn/VY6ZZJE4.js +6 -0
- package/dist/cdn/VZVFI7FI.js +4 -0
- package/dist/cdn/W2HI5MSG.js +4 -0
- package/dist/cdn/W2LTU3DO.js +4 -0
- package/dist/cdn/W2OMR42G.js +4 -0
- package/dist/cdn/W462UCIU.js +4 -0
- package/dist/cdn/W4CUUQ7S.js +4 -0
- package/dist/cdn/W4XQNEW2.js +4 -0
- package/dist/cdn/W5AOQJ7F.js +4 -0
- package/dist/cdn/WABFUGS6.js +4 -0
- package/dist/cdn/WANC2VLR.js +4 -0
- package/dist/cdn/WAXO2APU.js +4 -0
- package/dist/cdn/WFGLNALD.js +4 -0
- package/dist/cdn/WHEMMJRG.js +4 -0
- package/dist/cdn/WO3I273U.js +4 -0
- package/dist/cdn/WOVWOVZT.js +4 -0
- package/dist/cdn/WOW2GLHN.js +4 -0
- package/dist/cdn/WPD66NZJ.js +4 -0
- package/dist/cdn/WQMTF266.js +4 -0
- package/dist/cdn/WQRLD4B2.js +4 -0
- package/dist/cdn/WRG7XO5K.js +4 -0
- package/dist/cdn/WTB5P2UP.js +4 -0
- package/dist/cdn/WUJYYVCT.js +4 -0
- package/dist/cdn/WXVNSK2H.js +4 -0
- package/dist/cdn/WY2PT3VR.js +4 -0
- package/dist/cdn/X3B2VI43.js +4 -0
- package/dist/cdn/X67LERSF.js +4 -0
- package/dist/cdn/X7SFB7DO.js +4 -0
- package/dist/cdn/XBVRNUX5.js +4 -0
- package/dist/cdn/XEB5NNFP.js +4 -0
- package/dist/cdn/XFGAMS74.js +4 -0
- package/dist/cdn/XGFOAUBN.js +4 -0
- package/dist/cdn/XHBH25LH.js +4 -0
- package/dist/cdn/XHVOB2PT.js +4 -0
- package/dist/cdn/XJR3YYIG.js +4 -0
- package/dist/cdn/XUHS5Q4N.js +4 -0
- package/dist/cdn/XWASMXGR.js +4 -0
- package/dist/cdn/XXBHRWNS.js +4 -0
- package/dist/cdn/XY3C2SW5.js +4 -0
- package/dist/cdn/XYDGAV2W.js +4 -0
- package/dist/cdn/XZAH4KNF.js +4 -0
- package/dist/cdn/XZSY5FUG.js +4 -0
- package/dist/cdn/Y3YQ5JB6.js +4 -0
- package/dist/cdn/Y4TH7I75.js +5 -0
- package/dist/cdn/YEDZN5WH.js +4 -0
- package/dist/cdn/YJ3V74K6.js +4 -0
- package/dist/cdn/YJH563YU.js +4 -0
- package/dist/cdn/YK6MPJUY.js +4 -0
- package/dist/cdn/YKKMWOYG.js +4 -0
- package/dist/cdn/YKO4EDFL.js +4 -0
- package/dist/cdn/YM4OL5WE.js +4 -0
- package/dist/cdn/YNEY3RME.js +4 -0
- package/dist/cdn/YPIWVPPX.js +4 -0
- package/dist/cdn/YPLE7E76.js +4 -0
- package/dist/cdn/YRSQ5V7I.js +4 -0
- package/dist/cdn/YSCQD7O4.js +4 -0
- package/dist/cdn/YSR3WNLV.js +4 -0
- package/dist/cdn/YTLTIQPV.js +4 -0
- package/dist/cdn/YUNR4CYZ.js +4 -0
- package/dist/cdn/YX3VLRQH.js +4 -0
- package/dist/cdn/YYXOEJN2.js +4 -0
- package/dist/cdn/YZS7XGYR.js +4 -0
- package/dist/cdn/Z26OLT3V.js +4 -0
- package/dist/cdn/Z2CEUKFF.js +4 -0
- package/dist/cdn/Z2ZIPFRX.js +4 -0
- package/dist/cdn/Z3QH576N.js +4 -0
- package/dist/cdn/Z7HE7FPN.js +4 -0
- package/dist/cdn/ZBN4USZP.js +4 -0
- package/dist/cdn/ZDHS42A7.js +4 -0
- package/dist/cdn/ZFH7XNYM.js +4 -0
- package/dist/cdn/ZIJVF6PB.js +4 -0
- package/dist/cdn/ZJQH2RT5.js +4 -0
- package/dist/cdn/ZKYQWQWD.js +4 -0
- package/dist/cdn/ZLSWFFXL.js +4 -0
- package/dist/cdn/ZMHFITSU.js +4 -0
- package/dist/cdn/ZPE3OS6A.js +4 -0
- package/dist/cdn/ZQ2VOJ6Z.js +59 -0
- package/dist/cdn/ZQIE7WNO.js +4 -0
- package/dist/cdn/ZR7JG3DG.js +4 -0
- package/dist/cdn/ZRA6E7AP.js +4 -0
- package/dist/cdn/ZU2BVDGM.js +4 -0
- package/dist/cdn/ZU5IVBV6.js +4 -0
- package/dist/cdn/ZVCPDXAL.js +4 -0
- package/dist/cdn/ZVPQUT3G.js +4 -0
- package/dist/cdn/ZWJDK2SI.js +4 -0
- package/dist/cdn/ZXDZ6ADG.js +4 -0
- package/dist/cdn/ZYVEA4S3.js +4 -0
- package/dist/cdn/index.js +3 -3
- package/dist/chunks/findColumnAndNodeIndex.js +2 -2
- package/dist/chunks/getResponsiveClasses.js +2 -2
- package/dist/chunks/interpolate-translations.js +2 -2
- package/dist/chunks/isNodeVisible.js +2 -2
- package/dist/chunks/layoutContext.js +2 -2
- package/dist/chunks/migrateTextCard.js +2 -2
- package/dist/chunks/processLayout.js +2 -2
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/state.js +2 -2
- package/dist/chunks/typeGuards.js +2 -2
- package/dist/chunks/useGlobalContext.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/util.js +2 -2
- package/dist/components/arcgis-chat-shell/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +24 -26
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +101 -105
- package/dist/components/arcgis-hub-ai-assistant/util/customElement.d.ts +11 -0
- package/dist/components/arcgis-hub-ai-assistant/util/types.d.ts +1 -2
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
- package/dist/components/arcgis-layout/customElement.js +3 -3
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.js +2 -2
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +8 -8
- 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 +3 -3
- package/dist/components/arcgis-text-card/customElement.js +2 -2
- package/dist/components/layouts/components/layout-node/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +2 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +2 -2
- package/package.json +2 -2
- package/dist/cdn/224ZGSLP.js +0 -4
- package/dist/cdn/22F2LZ4V.js +0 -4
- package/dist/cdn/25SRPTS5.js +0 -4
- package/dist/cdn/2CP5C62E.js +0 -4
- package/dist/cdn/2DEKDNVZ.js +0 -4
- package/dist/cdn/2EWQSN67.js +0 -4
- package/dist/cdn/2F5AKAMN.js +0 -4
- package/dist/cdn/2GJEBPBQ.js +0 -4
- package/dist/cdn/2K3XEXH6.js +0 -4
- package/dist/cdn/2K7VQMVN.js +0 -4
- package/dist/cdn/2KRK5XT3.js +0 -4
- package/dist/cdn/2KUJHWSS.js +0 -4
- package/dist/cdn/2M7HOGXR.js +0 -4
- package/dist/cdn/2MS724DY.js +0 -4
- package/dist/cdn/2NIRKU4D.js +0 -4
- package/dist/cdn/2Q3YJOUG.js +0 -4
- package/dist/cdn/2QWWICFO.js +0 -4
- package/dist/cdn/2RKLN3JE.js +0 -4
- package/dist/cdn/2RPA55JH.js +0 -4
- package/dist/cdn/2S3BR23E.js +0 -4
- package/dist/cdn/2SACZBUB.js +0 -4
- package/dist/cdn/2TKK3UMD.js +0 -4
- package/dist/cdn/2UIM2AGW.js +0 -4
- package/dist/cdn/2WYJ3RGY.js +0 -4
- package/dist/cdn/2YI2RR6O.js +0 -4
- package/dist/cdn/2ZL56V52.js +0 -4
- package/dist/cdn/33PCWYQM.js +0 -4
- package/dist/cdn/33S2W3CI.js +0 -4
- package/dist/cdn/37L6SROI.js +0 -4
- package/dist/cdn/37MUXYCH.js +0 -5
- package/dist/cdn/3BAZWMR6.js +0 -4
- package/dist/cdn/3BMEZ4DS.js +0 -4
- package/dist/cdn/3CHKQEFC.js +0 -4
- package/dist/cdn/3D5XHWG3.js +0 -4
- package/dist/cdn/3HLBKRWV.js +0 -4
- package/dist/cdn/3HPJE6BG.js +0 -4
- package/dist/cdn/3HXJXMOF.js +0 -4
- package/dist/cdn/3KA3Q46A.js +0 -4
- package/dist/cdn/3L26DTFX.js +0 -4
- package/dist/cdn/3L4C53KA.js +0 -4
- package/dist/cdn/3NO6PT2W.js +0 -4
- package/dist/cdn/3NQMBYWZ.js +0 -4
- package/dist/cdn/3OZ3JMRU.js +0 -4
- package/dist/cdn/3PCOTHTJ.js +0 -4
- package/dist/cdn/3QYD5GU3.js +0 -4
- package/dist/cdn/3QZYEZIK.js +0 -4
- package/dist/cdn/3RFHD26F.js +0 -4
- package/dist/cdn/3RZPUSR7.js +0 -4
- package/dist/cdn/3SEATSJ6.js +0 -4
- package/dist/cdn/3ZBQ3KCG.js +0 -4
- package/dist/cdn/3ZRKB42D.js +0 -4
- package/dist/cdn/443NFTXW.js +0 -4
- package/dist/cdn/44T6EAWJ.js +0 -5
- package/dist/cdn/4B5NKGUJ.js +0 -4
- package/dist/cdn/4DUMWMMB.js +0 -4
- package/dist/cdn/4GQ2RLTD.js +0 -4
- package/dist/cdn/4KZUXRHK.js +0 -4
- package/dist/cdn/4L5RD72B.js +0 -4
- package/dist/cdn/4NTKTUUG.js +0 -4
- package/dist/cdn/4OEA7GNI.js +0 -4
- package/dist/cdn/4OHVEVFT.js +0 -4
- package/dist/cdn/4P5LKHZ4.js +0 -4
- package/dist/cdn/4Q7W2UPQ.js +0 -4
- package/dist/cdn/4QWET6YN.js +0 -4
- package/dist/cdn/4SDPFGDT.js +0 -4
- package/dist/cdn/4TH3PUXF.js +0 -4
- package/dist/cdn/4VDKFP2Q.js +0 -4
- package/dist/cdn/4XFEZGC5.js +0 -4
- package/dist/cdn/4YCMFZFQ.js +0 -4
- package/dist/cdn/52I5IHYQ.js +0 -4
- package/dist/cdn/56IS5MNS.js +0 -4
- package/dist/cdn/57SV5GKA.js +0 -4
- package/dist/cdn/5GLNKSHV.js +0 -4
- package/dist/cdn/5K5HLE5V.js +0 -4
- package/dist/cdn/5KJKBKBF.js +0 -4
- package/dist/cdn/5KMDQQ5Z.js +0 -4
- package/dist/cdn/5NLWVNMT.js +0 -4
- package/dist/cdn/5NW5U3ZM.js +0 -4
- package/dist/cdn/5OBWKNCM.js +0 -4
- package/dist/cdn/5PQ3Q756.js +0 -4
- package/dist/cdn/5PU5FIZF.js +0 -4
- package/dist/cdn/5SI4CVBB.js +0 -4
- package/dist/cdn/5UVFLBTA.js +0 -4
- package/dist/cdn/5VRJIFAQ.js +0 -4
- package/dist/cdn/5XKJWO32.js +0 -4
- package/dist/cdn/5YMNG3KU.js +0 -4
- package/dist/cdn/5Z5K6XKI.js +0 -4
- package/dist/cdn/62NJONSX.js +0 -4
- package/dist/cdn/63KAIKLE.js +0 -4
- package/dist/cdn/64JFRNX4.js +0 -4
- package/dist/cdn/65PWCJUE.js +0 -4
- package/dist/cdn/65YBCZMZ.js +0 -4
- package/dist/cdn/66A2OJAE.js +0 -4
- package/dist/cdn/6B3ILTB3.js +0 -4
- package/dist/cdn/6BRASDRC.js +0 -4
- package/dist/cdn/6CARGNL2.js +0 -4
- package/dist/cdn/6DTRYTLA.js +0 -4
- package/dist/cdn/6EOOI6DK.js +0 -4
- package/dist/cdn/6EWJLKDD.js +0 -4
- package/dist/cdn/6G7X2WWC.js +0 -4
- package/dist/cdn/6G7ZTZ4V.js +0 -4
- package/dist/cdn/6IADREGM.js +0 -4
- package/dist/cdn/6JY2WCKI.js +0 -4
- package/dist/cdn/6K64DYLZ.js +0 -4
- package/dist/cdn/6M626SJJ.js +0 -4
- package/dist/cdn/6MMXS74E.js +0 -4
- package/dist/cdn/6OI3KAL6.js +0 -4
- package/dist/cdn/6OLXMTEY.js +0 -4
- package/dist/cdn/6P6H4YCJ.js +0 -4
- package/dist/cdn/6QFMNN3D.js +0 -4
- package/dist/cdn/6RTFHQ2F.js +0 -4
- package/dist/cdn/6VD5M3LO.js +0 -4
- package/dist/cdn/6WX7PBQK.js +0 -4
- package/dist/cdn/6YJLQ4WM.js +0 -4
- package/dist/cdn/6ZC5RWIQ.js +0 -59
- package/dist/cdn/6ZHP72FN.js +0 -4
- package/dist/cdn/724T3BQS.js +0 -4
- package/dist/cdn/72D2N5UB.js +0 -4
- package/dist/cdn/72IY3WDC.js +0 -4
- package/dist/cdn/72OOPXSD.js +0 -4
- package/dist/cdn/73BONLJX.js +0 -4
- package/dist/cdn/75TVZ6TZ.js +0 -4
- package/dist/cdn/7AOWPO4C.js +0 -4
- package/dist/cdn/7CPTQ323.js +0 -4
- package/dist/cdn/7EPYKRSO.js +0 -4
- package/dist/cdn/7G4FLTFI.js +0 -4
- package/dist/cdn/7H2RNXAF.js +0 -4
- package/dist/cdn/7IR55PYN.js +0 -4
- package/dist/cdn/7ISR52ZY.js +0 -4
- package/dist/cdn/7JU6VAUP.js +0 -4
- package/dist/cdn/7L7TGBXG.js +0 -4
- package/dist/cdn/7P6WINGM.js +0 -4
- package/dist/cdn/7QPCKF4G.js +0 -4
- package/dist/cdn/7RAFKFLJ.js +0 -6
- package/dist/cdn/7UQODCK4.js +0 -4
- package/dist/cdn/7VIOPN3I.js +0 -4
- package/dist/cdn/7XIRR2EV.js +0 -4
- package/dist/cdn/7XIVSMIE.js +0 -4
- package/dist/cdn/7YSSH6DO.js +0 -4
- package/dist/cdn/A4ZMGX4X.js +0 -4
- package/dist/cdn/A6B3QPCL.js +0 -4
- package/dist/cdn/A6ZZ4XPM.js +0 -4
- package/dist/cdn/A7ITHZ7K.js +0 -4
- package/dist/cdn/A7XIRCVU.js +0 -11
- package/dist/cdn/ACHPUUIQ.js +0 -4
- package/dist/cdn/AD3RFO4I.js +0 -4
- package/dist/cdn/AEJPNWE2.js +0 -4
- package/dist/cdn/AEM3H3LG.js +0 -4
- package/dist/cdn/AEYC3AAE.js +0 -4
- package/dist/cdn/AF32PS3Q.js +0 -4
- package/dist/cdn/AHRVSN2I.js +0 -4
- package/dist/cdn/AIHWMG47.js +0 -4
- package/dist/cdn/AQ7FK6WD.js +0 -4
- package/dist/cdn/AUSVG6HM.js +0 -4
- package/dist/cdn/AWFRIYZG.js +0 -4
- package/dist/cdn/AXDVEEBC.js +0 -4
- package/dist/cdn/AY4ZKZ5X.js +0 -4
- package/dist/cdn/BDDU4PJK.js +0 -4
- package/dist/cdn/BEAMDUAX.js +0 -4
- package/dist/cdn/BEBC4N2F.js +0 -4
- package/dist/cdn/BHKXJDGY.js +0 -4
- package/dist/cdn/BKETT7MM.js +0 -4
- package/dist/cdn/BQLMO4NQ.js +0 -4
- package/dist/cdn/BYIGJSOI.js +0 -4
- package/dist/cdn/C354FIZC.js +0 -4
- package/dist/cdn/C56TOSMW.js +0 -8
- package/dist/cdn/CAFPGSKC.js +0 -4
- package/dist/cdn/CBWDVF4S.js +0 -4
- package/dist/cdn/CF2YAFBC.js +0 -4
- package/dist/cdn/CFODV7FI.js +0 -4
- package/dist/cdn/CIHTTRZQ.js +0 -4
- package/dist/cdn/CJG2IRQA.js +0 -4
- package/dist/cdn/CJR6M7EB.js +0 -4
- package/dist/cdn/CKD6VZLT.js +0 -4
- package/dist/cdn/CKI6GXTD.js +0 -4
- package/dist/cdn/CL5RTZ5O.js +0 -4
- package/dist/cdn/CLSLGKKB.js +0 -4
- package/dist/cdn/CMEXEA5G.js +0 -4
- package/dist/cdn/CQSQDZIR.js +0 -4
- package/dist/cdn/CS7GDH3E.js +0 -4
- package/dist/cdn/CTAMIFA4.js +0 -4
- package/dist/cdn/CTHLWI3J.js +0 -4
- package/dist/cdn/CXTBQODA.js +0 -4
- package/dist/cdn/CZPWPFGK.js +0 -4
- package/dist/cdn/D4AIUHDT.js +0 -4
- package/dist/cdn/D7MWMPBX.js +0 -4
- package/dist/cdn/DBRDQ6QY.js +0 -4
- package/dist/cdn/DDFSZSMR.js +0 -4
- package/dist/cdn/DDKA2GGR.js +0 -4
- package/dist/cdn/DDQZX7AF.js +0 -4
- package/dist/cdn/DENUKWRN.js +0 -4
- package/dist/cdn/DEX24E3H.js +0 -4
- package/dist/cdn/DHTX3SJW.js +0 -4
- package/dist/cdn/DIYTIKE4.js +0 -4
- package/dist/cdn/DNBER7NO.js +0 -4
- package/dist/cdn/DNWG5FHR.js +0 -4
- package/dist/cdn/DPBOXKHH.js +0 -4
- package/dist/cdn/DQSPH26K.js +0 -4
- package/dist/cdn/DRRDKIBA.js +0 -42
- package/dist/cdn/DUEQDONG.js +0 -4
- package/dist/cdn/DUHLDPDQ.js +0 -4
- package/dist/cdn/DWCVCJEZ.js +0 -4
- package/dist/cdn/DX4ZXYHD.js +0 -4
- package/dist/cdn/DYWGYIIL.js +0 -4
- package/dist/cdn/DYZWOVQY.js +0 -4
- package/dist/cdn/DZVXA2CL.js +0 -4
- package/dist/cdn/E3XHPVNY.js +0 -4
- package/dist/cdn/E47G54DG.js +0 -4
- package/dist/cdn/E55WUO44.js +0 -4
- package/dist/cdn/E5G64TII.js +0 -4
- package/dist/cdn/E77M5LEA.js +0 -4
- package/dist/cdn/E7EM3HRX.js +0 -4
- package/dist/cdn/EBIPAGP5.js +0 -4
- package/dist/cdn/EC46IVTA.js +0 -4
- package/dist/cdn/EKGAE6K4.js +0 -4
- package/dist/cdn/EMHKVAAN.js +0 -4
- package/dist/cdn/ENH3UIQ3.js +0 -4
- package/dist/cdn/EO5X6N2C.js +0 -4
- package/dist/cdn/EP5KOT4K.js +0 -4
- package/dist/cdn/EX6FZE66.js +0 -4
- package/dist/cdn/EZCMY35W.js +0 -4
- package/dist/cdn/EZOHT5HM.js +0 -4
- package/dist/cdn/F24OW3QV.js +0 -4
- package/dist/cdn/F2PDHNMG.js +0 -4
- package/dist/cdn/F53VGPDI.js +0 -4
- package/dist/cdn/F7NU4OI5.js +0 -4
- package/dist/cdn/FAUBDTIF.js +0 -4
- package/dist/cdn/FCDA245L.js +0 -4
- package/dist/cdn/FH44CVHB.js +0 -4
- package/dist/cdn/FIUMZGLP.js +0 -4
- package/dist/cdn/FJEYVGY7.js +0 -4
- package/dist/cdn/FKIEBO6O.js +0 -4
- package/dist/cdn/FOQPTVB4.js +0 -4
- package/dist/cdn/FOY6AYXZ.js +0 -4
- package/dist/cdn/FQ2IGDEU.js +0 -4
- package/dist/cdn/FQ7B56K7.js +0 -4
- package/dist/cdn/FQD3NMGA.js +0 -4
- package/dist/cdn/FSCMD34U.js +0 -4
- package/dist/cdn/FSHBVJFK.js +0 -4
- package/dist/cdn/FWJ32DTY.js +0 -4
- package/dist/cdn/G3IHI7XA.js +0 -4
- package/dist/cdn/G4DQ6XU5.js +0 -4
- package/dist/cdn/G57NFR2J.js +0 -4
- package/dist/cdn/G5CHIRJE.js +0 -4
- package/dist/cdn/G5SUS4AG.js +0 -4
- package/dist/cdn/G64EXWLP.js +0 -4
- package/dist/cdn/G6CNPPCS.js +0 -4
- package/dist/cdn/GBINT5UN.js +0 -4
- package/dist/cdn/GCUC4EHX.js +0 -4
- package/dist/cdn/GDTWCALC.js +0 -4
- package/dist/cdn/GE4FGWHI.js +0 -4
- package/dist/cdn/GEA4V76J.js +0 -4
- package/dist/cdn/GF6YEHDP.js +0 -4
- package/dist/cdn/GGZJIYGU.js +0 -4
- package/dist/cdn/GLQB2EWQ.js +0 -4
- package/dist/cdn/GPE3MFN3.js +0 -4
- package/dist/cdn/GRSHU2WX.js +0 -4
- package/dist/cdn/GRZQRVYA.js +0 -4
- package/dist/cdn/GS22TQDV.js +0 -4
- package/dist/cdn/GTFNRPVL.js +0 -4
- package/dist/cdn/GUZ5WQXG.js +0 -4
- package/dist/cdn/GZ7ENHJ7.js +0 -4
- package/dist/cdn/GZCF5D2L.js +0 -4
- package/dist/cdn/H57SXED2.js +0 -9
- package/dist/cdn/H6JVRQWC.js +0 -4
- package/dist/cdn/HAV2TCSQ.js +0 -4
- package/dist/cdn/HBH6J6LN.js +0 -4
- package/dist/cdn/HBMJOMHF.js +0 -4
- package/dist/cdn/HCRPOAIB.js +0 -4
- package/dist/cdn/HE5EIFZA.js +0 -4
- package/dist/cdn/HIO5U6S3.js +0 -4
- package/dist/cdn/HIWSAMAB.js +0 -4
- package/dist/cdn/HJGUISYJ.js +0 -4
- package/dist/cdn/HKWGLWDS.js +0 -4
- package/dist/cdn/HT5U3FTZ.js +0 -4
- package/dist/cdn/HVTH5MJW.js +0 -4
- package/dist/cdn/I35FDGLO.js +0 -4
- package/dist/cdn/I3KNMJ7E.js +0 -4
- package/dist/cdn/I4AKIQLT.js +0 -4
- package/dist/cdn/I6TZTKHA.js +0 -4
- package/dist/cdn/IBC6ZFO4.js +0 -4
- package/dist/cdn/ID7TTJGJ.js +0 -4
- package/dist/cdn/IEF5QBNP.js +0 -4
- package/dist/cdn/IEL337CC.js +0 -4
- package/dist/cdn/IFFZH77Q.js +0 -4
- package/dist/cdn/IGH6SWUL.js +0 -4
- package/dist/cdn/IGVYA2AE.js +0 -4
- package/dist/cdn/IIVLHA2T.js +0 -4
- package/dist/cdn/IMAN4EXT.js +0 -4
- package/dist/cdn/IPR2KHMR.js +0 -4
- package/dist/cdn/IQI3OXK4.js +0 -4
- package/dist/cdn/ISDCNUTP.js +0 -4
- package/dist/cdn/IUIVUG6L.js +0 -4
- package/dist/cdn/J24DMG56.js +0 -4
- package/dist/cdn/J754Y5LX.js +0 -4
- package/dist/cdn/JALK6REP.js +0 -4
- package/dist/cdn/JBYDKOC2.js +0 -4
- package/dist/cdn/JDFG66XY.js +0 -4
- package/dist/cdn/JGORLXNM.js +0 -4
- package/dist/cdn/JGPXCGIY.js +0 -4
- package/dist/cdn/JHLQ37ED.js +0 -4
- package/dist/cdn/JHTAMMGS.js +0 -4
- package/dist/cdn/JJ2KCX4T.js +0 -4
- package/dist/cdn/JMMLZI7V.js +0 -4
- package/dist/cdn/JN7TJYAC.js +0 -4
- package/dist/cdn/JO47MIAV.js +0 -4
- package/dist/cdn/JOYWFAQP.js +0 -4
- package/dist/cdn/JPMUZ2FU.js +0 -4
- package/dist/cdn/JPNPJCMN.js +0 -8
- package/dist/cdn/JR23NCY6.js +0 -4
- package/dist/cdn/JT4FFVJS.js +0 -4
- package/dist/cdn/JW3MFZF6.js +0 -4
- package/dist/cdn/JWJ7OWP4.js +0 -4
- package/dist/cdn/JXXXJT2L.js +0 -4
- package/dist/cdn/K4JHEGYJ.js +0 -4
- package/dist/cdn/K4TUANMT.js +0 -4
- package/dist/cdn/K75CDKNQ.js +0 -4
- package/dist/cdn/KBLSIIDF.js +0 -4
- package/dist/cdn/KCTRLBHS.js +0 -4
- package/dist/cdn/KEC6N57I.js +0 -4
- package/dist/cdn/KEXP4MLT.js +0 -4
- package/dist/cdn/KF7U6GPO.js +0 -4
- package/dist/cdn/KMNDRUQ6.js +0 -4
- package/dist/cdn/KMVPMUK7.js +0 -4
- package/dist/cdn/KOZDRZCB.js +0 -4
- package/dist/cdn/KP246HND.js +0 -4
- package/dist/cdn/KSCA7JUC.js +0 -4
- package/dist/cdn/KTITDQFU.js +0 -4
- package/dist/cdn/KU4SHJHO.js +0 -4
- package/dist/cdn/KWLTRRGK.js +0 -4
- package/dist/cdn/KWMU4OV6.js +0 -4
- package/dist/cdn/KWWAN7EF.js +0 -4
- package/dist/cdn/L2IIIPUW.js +0 -4
- package/dist/cdn/L5YDRCSE.js +0 -4
- package/dist/cdn/L6FMIVZS.js +0 -4
- package/dist/cdn/L6KVQP4K.js +0 -4
- package/dist/cdn/L7RWMHIN.js +0 -4
- package/dist/cdn/LBNZ5OMC.js +0 -5
- package/dist/cdn/LC63JF7T.js +0 -4
- package/dist/cdn/LELAICGS.js +0 -4
- package/dist/cdn/LIJEPINK.js +0 -4
- package/dist/cdn/LIQDFVHE.js +0 -4
- package/dist/cdn/LL3JYMZF.js +0 -4
- package/dist/cdn/LLSB7PWP.js +0 -4
- package/dist/cdn/LO5ROPJK.js +0 -4
- package/dist/cdn/LOAV2LPI.js +0 -4
- package/dist/cdn/LOEYT5N3.js +0 -4
- package/dist/cdn/LR53H5V4.js +0 -4
- package/dist/cdn/LSICEK6I.js +0 -4
- package/dist/cdn/LTA4MSHK.js +0 -4
- package/dist/cdn/LXXHZAF2.js +0 -4
- package/dist/cdn/LYUWDJRX.js +0 -4
- package/dist/cdn/M2AHMZT5.js +0 -4
- package/dist/cdn/M5BVAFDV.js +0 -4
- package/dist/cdn/M7SLDH7O.js +0 -4
- package/dist/cdn/M7XZ4WPZ.js +0 -4
- package/dist/cdn/MCHJ2VIR.js +0 -4
- package/dist/cdn/MEPB3EEG.js +0 -4
- package/dist/cdn/MFDRXCYB.js +0 -4
- package/dist/cdn/MGRAOQZK.js +0 -4
- package/dist/cdn/MGZNKNJR.js +0 -4
- package/dist/cdn/MJTLLHHU.js +0 -12
- package/dist/cdn/MKFUJM7O.js +0 -4
- package/dist/cdn/MLMTCOSP.js +0 -4
- package/dist/cdn/MNDISAMM.js +0 -4
- package/dist/cdn/MOGVJEV7.js +0 -4
- package/dist/cdn/MOOPE6WQ.js +0 -4
- package/dist/cdn/MPLFOMCQ.js +0 -4
- package/dist/cdn/MRN4ECFZ.js +0 -4
- package/dist/cdn/MRZWQXC7.js +0 -4
- package/dist/cdn/MSI7COK3.js +0 -4
- package/dist/cdn/MU5CH4QR.js +0 -4
- package/dist/cdn/MVWQYWBB.js +0 -4
- package/dist/cdn/MYYS2L7H.js +0 -4
- package/dist/cdn/N2TFJ5QG.js +0 -4
- package/dist/cdn/N3G62KYB.js +0 -4
- package/dist/cdn/N4GVUOCA.js +0 -59
- package/dist/cdn/N654TUTX.js +0 -4
- package/dist/cdn/N6PIXLOU.js +0 -4
- package/dist/cdn/N74T7Z34.js +0 -4
- package/dist/cdn/NBIW3NLC.js +0 -4
- package/dist/cdn/NCLU7QJN.js +0 -4
- package/dist/cdn/NHQJW77E.js +0 -4
- package/dist/cdn/NJNMWO3E.js +0 -4
- package/dist/cdn/NJUFUPCQ.js +0 -4
- package/dist/cdn/NKDBP4RM.js +0 -4
- package/dist/cdn/NNED42SV.js +0 -4
- package/dist/cdn/NO47MF2E.js +0 -4
- package/dist/cdn/NPNW3SAQ.js +0 -4
- package/dist/cdn/NU4ESDPB.js +0 -52
- package/dist/cdn/NVYNP3AC.js +0 -4
- package/dist/cdn/NYJC4BCX.js +0 -4
- package/dist/cdn/NZACHUMV.js +0 -4
- package/dist/cdn/NZAY3TQ7.js +0 -4
- package/dist/cdn/NZESIQ44.js +0 -25
- package/dist/cdn/O25EEYSN.js +0 -4
- package/dist/cdn/O2CVI3NP.js +0 -4
- package/dist/cdn/O2W7BZSE.js +0 -4
- package/dist/cdn/O4IL5BRE.js +0 -4
- package/dist/cdn/O5ZXDL4J.js +0 -4
- package/dist/cdn/O6SDR7UA.js +0 -4
- package/dist/cdn/O7JTTO3C.js +0 -4
- package/dist/cdn/O7OZQXRP.js +0 -4
- package/dist/cdn/OCJZMNCA.js +0 -4
- package/dist/cdn/OFWTWEER.js +0 -4
- package/dist/cdn/OH5VK2BD.js +0 -4
- package/dist/cdn/OI3V6PQF.js +0 -4
- package/dist/cdn/OKFKCZH7.js +0 -4
- package/dist/cdn/OL6PA6TK.js +0 -4
- package/dist/cdn/OML22U5V.js +0 -4
- package/dist/cdn/OO34IANQ.js +0 -4
- package/dist/cdn/OQASLAHV.js +0 -4
- package/dist/cdn/OQBWZQZN.js +0 -4
- package/dist/cdn/OQTJGNZD.js +0 -4
- package/dist/cdn/OQTUZ53P.js +0 -5
- package/dist/cdn/ORNXYXCN.js +0 -4
- package/dist/cdn/OSV6SQ4T.js +0 -4
- package/dist/cdn/OSYGJWEX.js +0 -4
- package/dist/cdn/OVDL5YZW.js +0 -4
- package/dist/cdn/OVNMENOT.js +0 -4
- package/dist/cdn/OW7QCVNP.js +0 -4
- package/dist/cdn/OWAREGFS.js +0 -4
- package/dist/cdn/OWLRYOYY.js +0 -4
- package/dist/cdn/OXEZPQAH.js +0 -4
- package/dist/cdn/P5OC42PS.js +0 -4
- package/dist/cdn/P7WXZWB2.js +0 -41
- package/dist/cdn/PFNRCDC7.js +0 -4
- package/dist/cdn/PIFQTL22.js +0 -4
- package/dist/cdn/PJBGYFXD.js +0 -4
- package/dist/cdn/PKTUZ5BJ.js +0 -4
- package/dist/cdn/PNP2TBZ4.js +0 -4
- package/dist/cdn/PPEP7LER.js +0 -4
- package/dist/cdn/PSBZ5YRK.js +0 -4
- package/dist/cdn/PX3YC7VB.js +0 -4
- package/dist/cdn/PX6RXN5S.js +0 -51
- package/dist/cdn/PXN4E2MC.js +0 -4
- package/dist/cdn/PZTGSADX.js +0 -4
- package/dist/cdn/PZXFCX54.js +0 -4
- package/dist/cdn/Q3IKDNP4.js +0 -4
- package/dist/cdn/Q4UEC2RG.js +0 -4
- package/dist/cdn/Q5YIBNMQ.js +0 -5
- package/dist/cdn/Q6PSCWNK.js +0 -4
- package/dist/cdn/Q7DJJEUK.js +0 -4
- package/dist/cdn/Q7JCRSUB.js +0 -4
- package/dist/cdn/QAVV7RBS.js +0 -4
- package/dist/cdn/QEPNIIZS.js +0 -12
- package/dist/cdn/QIHNGA4T.js +0 -4
- package/dist/cdn/QMLUKHVC.js +0 -4
- package/dist/cdn/QNOQLM4M.js +0 -4
- package/dist/cdn/QPX244L3.js +0 -4
- package/dist/cdn/QSU5ERYN.js +0 -4
- package/dist/cdn/QV372TIJ.js +0 -4
- package/dist/cdn/QYBRVAE5.js +0 -4
- package/dist/cdn/QYX4H4HH.js +0 -4
- package/dist/cdn/R2DJXORV.js +0 -4
- package/dist/cdn/R2O27POF.js +0 -4
- package/dist/cdn/R3OJEXRM.js +0 -4
- package/dist/cdn/R4B25LXA.js +0 -4
- package/dist/cdn/R5UHFXAG.js +0 -4
- package/dist/cdn/RBITE5DR.js +0 -4
- package/dist/cdn/REOKWHOH.js +0 -4
- package/dist/cdn/RH2G6C7M.js +0 -4
- package/dist/cdn/RH4YN4CC.js +0 -4
- package/dist/cdn/RONVC6MZ.js +0 -4
- package/dist/cdn/ROSEMWTX.js +0 -4
- package/dist/cdn/RQE32CT7.js +0 -4
- package/dist/cdn/RR5SBI5Y.js +0 -4
- package/dist/cdn/RRI4HBN7.js +0 -4
- package/dist/cdn/RS6JYRG4.js +0 -4
- package/dist/cdn/RUB5HJ5P.js +0 -4
- package/dist/cdn/RXHTHGRB.js +0 -6
- package/dist/cdn/RYH3F3PU.js +0 -4
- package/dist/cdn/RZ3XDVZZ.js +0 -4
- package/dist/cdn/RZNB3OFO.js +0 -4
- package/dist/cdn/S6AVKXAJ.js +0 -4
- package/dist/cdn/SAIGWGP6.js +0 -4
- package/dist/cdn/SCD3B4MB.js +0 -4
- package/dist/cdn/SDFB2MQH.js +0 -4
- package/dist/cdn/SFFVTJCM.js +0 -4
- package/dist/cdn/SJVEGN2I.js +0 -4
- package/dist/cdn/SJWWJ5UZ.js +0 -4
- package/dist/cdn/SOT4INP5.js +0 -4
- package/dist/cdn/SOYHTVAM.js +0 -4
- package/dist/cdn/SS6XDBIA.js +0 -4
- package/dist/cdn/ST2G77QN.js +0 -4
- package/dist/cdn/SUVK75C3.js +0 -4
- package/dist/cdn/SVB7CB7D.js +0 -4
- package/dist/cdn/SW6YZCS2.js +0 -4
- package/dist/cdn/SXGH3WEY.js +0 -4
- package/dist/cdn/SZ3HT2IS.js +0 -4
- package/dist/cdn/T2Z4IJJ6.js +0 -4
- package/dist/cdn/T2ZBWBVH.js +0 -4
- package/dist/cdn/T32F5TJ3.js +0 -4
- package/dist/cdn/T32GCXTF.js +0 -4
- package/dist/cdn/T3QX3L5G.js +0 -4
- package/dist/cdn/T4GILEQC.js +0 -4
- package/dist/cdn/TA6EC4XN.js +0 -4
- package/dist/cdn/TATUD3E6.js +0 -4
- package/dist/cdn/TBADGUX7.js +0 -4
- package/dist/cdn/TCAG2JRW.js +0 -4
- package/dist/cdn/TCOGOU2G.js +0 -4
- package/dist/cdn/TDA4GOL6.js +0 -4
- package/dist/cdn/TDSNZXD2.js +0 -4
- package/dist/cdn/TDY4RECC.js +0 -4
- package/dist/cdn/TEH7JFUJ.js +0 -4
- package/dist/cdn/TEZM6G6M.js +0 -4
- package/dist/cdn/TF76R2WL.js +0 -4
- package/dist/cdn/TFXKHVLP.js +0 -4
- package/dist/cdn/TG33KS7T.js +0 -4
- package/dist/cdn/TGJUZC2P.js +0 -4
- package/dist/cdn/TJWXRG2O.js +0 -4
- package/dist/cdn/TKEEU3O4.js +0 -4
- package/dist/cdn/TLIVUQ2G.js +0 -4
- package/dist/cdn/TNKR5FRU.js +0 -4
- package/dist/cdn/TPUNSJV3.js +0 -4
- package/dist/cdn/TRNT355A.js +0 -4
- package/dist/cdn/TTSRMZIU.js +0 -4
- package/dist/cdn/TUN4FQYM.js +0 -4
- package/dist/cdn/TWMLLOZX.js +0 -4
- package/dist/cdn/TXNMPUYM.js +0 -4
- package/dist/cdn/TXO26ZP6.js +0 -4
- package/dist/cdn/TYCJU6VE.js +0 -4
- package/dist/cdn/U232XSYA.js +0 -4
- package/dist/cdn/U25TBPCS.js +0 -4
- package/dist/cdn/U4LWWHZM.js +0 -4
- package/dist/cdn/U4XQAIUD.js +0 -4
- package/dist/cdn/U5BTKPZE.js +0 -4
- package/dist/cdn/U6V24QGM.js +0 -4
- package/dist/cdn/U7SI4YBL.js +0 -4
- package/dist/cdn/UDOT7BRR.js +0 -4
- package/dist/cdn/UDPUWNLM.js +0 -4
- package/dist/cdn/UFH4AVOH.js +0 -4
- package/dist/cdn/UFZWJNIN.js +0 -4
- package/dist/cdn/UGWEZMV7.js +0 -4
- package/dist/cdn/UJOUG44M.js +0 -4
- package/dist/cdn/UKCT6ARD.js +0 -4
- package/dist/cdn/UKOBPGMM.js +0 -4
- package/dist/cdn/UL6T3BSZ.js +0 -4
- package/dist/cdn/UNKCUZNF.js +0 -6
- package/dist/cdn/UPJPXJX7.js +0 -4
- package/dist/cdn/UUTD66NZ.js +0 -4
- package/dist/cdn/UV3DXJEF.js +0 -5470
- package/dist/cdn/UVBDBUMS.js +0 -24
- package/dist/cdn/UW4M4TN4.js +0 -4
- package/dist/cdn/UX2O7D6J.js +0 -4
- package/dist/cdn/UZEJSHDT.js +0 -4
- package/dist/cdn/UZETVGBM.js +0 -4
- package/dist/cdn/V24X2WNR.js +0 -4
- package/dist/cdn/V2R5OFCW.js +0 -4
- package/dist/cdn/V4PNJZOC.js +0 -4
- package/dist/cdn/V4Y2HR2F.js +0 -4
- package/dist/cdn/V5NOTCEH.js +0 -4
- package/dist/cdn/V74KUW6Z.js +0 -4
- package/dist/cdn/V753VGV2.js +0 -4
- package/dist/cdn/VCNB7EAS.js +0 -4
- package/dist/cdn/VCWUO4LA.js +0 -4
- package/dist/cdn/VDYZTNZR.js +0 -4
- package/dist/cdn/VE4YA6S6.js +0 -4
- package/dist/cdn/VEVDLTMH.js +0 -4
- package/dist/cdn/VGCJWDN7.js +0 -4
- package/dist/cdn/VLPSDBJJ.js +0 -4
- package/dist/cdn/VLTZ36I5.js +0 -4
- package/dist/cdn/VMJZTE2U.js +0 -4
- package/dist/cdn/VMLKFU2E.js +0 -4
- package/dist/cdn/VOHNEKSV.js +0 -4
- package/dist/cdn/VOVVYT24.js +0 -4
- package/dist/cdn/VR46TY7L.js +0 -4
- package/dist/cdn/VTCMQTQK.js +0 -4
- package/dist/cdn/W3NF2S6F.js +0 -4
- package/dist/cdn/W57Q3UQY.js +0 -4
- package/dist/cdn/W6YLJSVR.js +0 -4
- package/dist/cdn/W76WS7Z7.js +0 -4
- package/dist/cdn/WDPY76IV.js +0 -4
- package/dist/cdn/WFPRJUDN.js +0 -4
- package/dist/cdn/WFW6SEUF.js +0 -4
- package/dist/cdn/WIYDX4YI.js +0 -4
- package/dist/cdn/WKE6A3A2.js +0 -4
- package/dist/cdn/WKLIAJGA.js +0 -4
- package/dist/cdn/WLYVJYM2.js +0 -4
- package/dist/cdn/WPRUVNXB.js +0 -4
- package/dist/cdn/WPXKAJQF.js +0 -4
- package/dist/cdn/WRHFNSUF.js +0 -4
- package/dist/cdn/WRSNARWE.js +0 -4
- package/dist/cdn/WUOUKFBK.js +0 -4
- package/dist/cdn/WUUTKISQ.js +0 -4
- package/dist/cdn/WUW26I42.js +0 -4
- package/dist/cdn/WVNUYXFM.js +0 -4
- package/dist/cdn/WVWS4YXG.js +0 -4
- package/dist/cdn/WVZG7LOI.js +0 -16
- package/dist/cdn/WWIPN7PO.js +0 -4
- package/dist/cdn/WWMFKLZF.js +0 -4
- package/dist/cdn/WXZY2CUN.js +0 -4
- package/dist/cdn/X2AR6GS7.js +0 -4
- package/dist/cdn/X2CRYK4Q.js +0 -4
- package/dist/cdn/X2G5HLD3.js +0 -4
- package/dist/cdn/X35RWQRU.js +0 -4
- package/dist/cdn/X3A45LF2.js +0 -4
- package/dist/cdn/X3AZ6O4K.js +0 -4
- package/dist/cdn/X4VYBTVM.js +0 -4
- package/dist/cdn/XCPOIAEG.js +0 -4
- package/dist/cdn/XD4PXFM2.js +0 -4
- package/dist/cdn/XFCLUQCB.js +0 -4
- package/dist/cdn/XKDOKZML.js +0 -4
- package/dist/cdn/XKGFDX5E.js +0 -4
- package/dist/cdn/XLHP7WJ3.js +0 -4
- package/dist/cdn/XMWMCNWD.js +0 -4
- package/dist/cdn/XNO5MQ46.js +0 -4
- package/dist/cdn/XNR3PWZA.js +0 -4
- package/dist/cdn/XQG4BD7T.js +0 -4
- package/dist/cdn/XRKTINZI.js +0 -4
- package/dist/cdn/XSPYDTB7.js +0 -4
- package/dist/cdn/XWHQJ7T3.js +0 -4
- package/dist/cdn/XWTUJY3F.js +0 -4
- package/dist/cdn/XXYK56OM.js +0 -4
- package/dist/cdn/Y3DX4SG4.js +0 -4
- package/dist/cdn/Y3S47PGZ.js +0 -4
- package/dist/cdn/Y3TOQDLU.js +0 -4
- package/dist/cdn/Y46HADID.js +0 -4
- package/dist/cdn/Y4I4F6QS.js +0 -4
- package/dist/cdn/Y4J32CAS.js +0 -4
- package/dist/cdn/Y4L4XL3K.js +0 -4
- package/dist/cdn/Y4X3XRPC.js +0 -4
- package/dist/cdn/Y5AML2QL.js +0 -4
- package/dist/cdn/Y5JN4WBD.js +0 -4
- package/dist/cdn/Y7KKVZGE.js +0 -4
- package/dist/cdn/Y7NQCIVO.js +0 -4
- package/dist/cdn/YFFODKHL.js +0 -4
- package/dist/cdn/YJ7H2SC4.js +0 -4
- package/dist/cdn/YLNDYBB7.js +0 -4
- package/dist/cdn/YMQGZQQN.js +0 -4
- package/dist/cdn/YMRCCSPB.js +0 -4
- package/dist/cdn/YNYTXFCG.js +0 -4
- package/dist/cdn/YOA2H3MK.js +0 -4
- package/dist/cdn/YUEKFQFJ.js +0 -4
- package/dist/cdn/YWD24NES.js +0 -4
- package/dist/cdn/YXVQBH66.js +0 -4
- package/dist/cdn/YYLBOQ2O.js +0 -4
- package/dist/cdn/YYXSXVGD.js +0 -5
- package/dist/cdn/Z2IGQUI7.js +0 -4
- package/dist/cdn/Z4IKZRBG.js +0 -4
- package/dist/cdn/Z5UTJDL2.js +0 -4
- package/dist/cdn/Z5WU6UO7.js +0 -4
- package/dist/cdn/Z7YIGCRS.js +0 -4
- package/dist/cdn/ZFCPXG47.js +0 -4
- package/dist/cdn/ZHPG4GSC.js +0 -4
- package/dist/cdn/ZHVZ3ESS.js +0 -4
- package/dist/cdn/ZIS2KBS3.js +0 -4
- package/dist/cdn/ZKDFFS7J.js +0 -4
- package/dist/cdn/ZKPDDVFU.js +0 -4
- package/dist/cdn/ZM3P7HRM.js +0 -4
- package/dist/cdn/ZMFPEDMB.js +0 -4
- package/dist/cdn/ZMIZUUVX.js +0 -4
- package/dist/cdn/ZPDJ2YZH.js +0 -4
- package/dist/cdn/ZVDRETBC.js +0 -4
- package/dist/cdn/ZXF5BE4U.js +0 -4
- package/dist/cdn/ZXSK4ODR.js +0 -4
- package/dist/cdn/ZXSPP3BI.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.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as v}from"./7YCCSCN5.js";import"./IGHCEOJD.js";import{e as y,f as b}from"./T52VQHP2.js";import"./MVPH2TDC.js";import{a as f}from"./AHCRPC4L.js";import"./JHSP6XRD.js";import{a as h,b as p}from"./34J3TQKS.js";import{da as m}from"./6VM7QTQ2.js";import"./YYXOEJN2.js";import"./7VWOND6G.js";import"./XXBHRWNS.js";import"./KRBJZ6SW.js";import"./2PX3UZJ2.js";import"./REJ63WP2.js";import"./XY3C2SW5.js";import"./FI73S54G.js";import"./MKY364EQ.js";import"./ADIPQ4VU.js";import"./OHH4J4SV.js";import"./OYGVQKRA.js";import"./WXVNSK2H.js";import"./6NHDVAJQ.js";import"./SPW4XUMU.js";import"./GOEU3WDV.js";import"./BH42DFEL.js";import"./KKBEYANH.js";import"./7Z45QN5N.js";import"./EHVFG76R.js";import"./EBMDUFBM.js";import"./RZJY53OX.js";import"./CZ3OVKO7.js";import"./JPS3MCG6.js";import"./FU65EZAN.js";import"./P7GO3LRW.js";import"./3A36DIUD.js";import"./3WS6AQFV.js";import"./MMW34LVS.js";import"./PA5B54YV.js";import"./3K4IN7S2.js";import"./3MLL52K7.js";import"./WANC2VLR.js";import"./XZSY5FUG.js";import"./ZKYQWQWD.js";import"./Z7HE7FPN.js";import"./VF6AXDQV.js";import"./MYFRO3H3.js";import"./APZRVZOS.js";import"./RTWSGMSN.js";import"./LTXRBE7M.js";import"./RTSZ536G.js";import"./VFHFDAOP.js";import"./R2PVK5UN.js";import"./SBAMIHLH.js";import{c as T,g as O,j as A}from"./BAR5PEE5.js";import"./EDM6FN6X.js";import"./LZFZCIGH.js";import"./S6RKOVKR.js";import"./FR3JKRZI.js";import"./6DE6RSTD.js";import"./TG6ZEHWY.js";import"./IMVDVU5J.js";import"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import{a as g}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import{a as r}from"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as i,c as C,d as R,e as P,h as d,i as D}from"./R3UDD63K.js";import"./2S6OYEYO.js";import"./PE2EEIM5.js";import{a as u}from"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var E={register:{inPerson:{success:"alerts.inPersonRegistrationConfirmed",unexpected:"alerts.inPersonRegistrationError",capacity:"alerts.inPersonRegistrationAtCapacity",telemetry:Object.assign(Object.assign({},r.dictionary.category.interaction.action.select.label.register.details.event),{type:"In-person"})},online:{success:"alerts.onlineRegistrationConfirmed",unexpected:"alerts.onlineRegistrationError",capacity:"alerts.onlineRegistrationAtCapacity",telemetry:Object.assign(Object.assign({},r.dictionary.category.interaction.action.select.label.register.details.event),{type:"Online"})}},unregister:{inPerson:{success:"alerts.inPersonRegistrationCanceled",error:"alerts.inPersonRegistrationCanceledError",telemetry:Object.assign(Object.assign({},r.dictionary.category.interaction.action.select.label.unregister.details.event),{type:"In-person"})},online:{success:"alerts.onlineRegistrationCanceled",error:"alerts.onlineRegistrationCanceledError",telemetry:Object.assign(Object.assign({},r.dictionary.category.interaction.action.select.label.unregister.details.event),{type:"Online"})}}},_=".sc-arcgis-hub-event-actions-h{display:flex;justify-content:flex-start;gap:1rem}.event-details.sc-arcgis-hub-event-actions{margin-bottom:1rem}",I=_,j=function(t,e,n,o){var l=arguments.length,s=l<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,n):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,o);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(l<3?a(s):l>3?a(e,n,s):a(e,n))||s);return l>3&&s&&Object.defineProperty(e,n,s),s},w=class{constructor(t){D(this,t),this.hubTelemetry=P(this,"hubTelemetry",7),this.intl=null,this.handleRegistration=e=>{var n,o;let l=((o=(n=e.currentTarget)===null||n===void 0?void 0:n.dataset)===null||o===void 0?void 0:o.value)||(this.entity.attendanceType===h.InPerson?"inPerson":"online");this.actionPending=!0;let s=E.register[l];return y({eventId:this.entity.id,role:"ATTENDEE",type:l==="inPerson"?"IN_PERSON":"VIRTUAL"},this._context.hubRequestOptions).then(a=>{this.userRegistration=a,this.showNotice(this.intl.t(s.success),"success"),this.hubTelemetry.emit(Object.assign(Object.assign({},s.telemetry),{response:r.constants.response.SUCCESS}))}).catch(a=>{var c;let x=!((c=a.error)===null||c===void 0)&&c.includes("capacity")?"capacity":"unexpected";this.showNotice(this.intl.t(s[x]),"danger"),this.hubTelemetry.emit(Object.assign(Object.assign({},s.telemetry),{response:r.constants.response.FAILURE}))}).finally(()=>(this.actionPending=!1,this.fetchData()))},this.handleDeregistration=()=>{this.actionPending=!0;let e=E.unregister[this.isAttendingInPerson?"inPerson":"online"];return b(this.userRegistration.id,this._context.hubRequestOptions).then(()=>{this.showNotice(this.intl.t(e.success),"success"),this.hubTelemetry.emit(Object.assign(Object.assign({},e.telemetry),{response:r.constants.response.SUCCESS})),this.userRegistration=null}).catch(()=>{this.showNotice(this.intl.t(e.error),"danger"),this.hubTelemetry.emit(Object.assign(Object.assign({},e.telemetry),{response:r.constants.response.FAILURE}))}).finally(()=>(this.actionPending=!1,this.fetchData()))},this.handleDropdownToggled=e=>{let{open:n}=e.currentTarget;this.registrationDropdownOpen=n},this.handleJoinButtonClick=()=>{this.onlineDetailsDialogOpen=!0},this.handleJoinDialogClose=()=>{this.onlineDetailsDialogOpen=!1},this.userRegistration=null,this.actionPending=!1,this.registrationDropdownOpen=!1,this.onlineDetailsDialogOpen=!1,this._context=T(),this.identifier=void 0,this.entity=void 0}async handleContextChanged(t,e){let n=u(t,"currentUser.id"),o=u(e,"currentUser.id");n!==o&&await this.fetchData()}async handleIdentifierChanged(t){var e;t&&t!==((e=this.entity)===null||e===void 0?void 0:e.id)&&await this.fetchData()}connectedCallback(){A(this)}disconnectedCallback(){this.disconnectContext()}async componentWillLoad(){this.entity&&(this.identifier=this.entity.id),await Promise.all([this.loadIntl(),this.fetchData(!!this.entity)])}async loadIntl(){this.intl=await g.loadIntlForComponent(this.element)}async fetchData(t){t||await this.fetchEntity(),await this.fetchUserRegistration()}async fetchUserRegistration(){var t;if(this.entity&&this._context.currentUser)try{let{results:[e]}=await m({targetEntity:"eventAttendee",filters:[{predicates:[{userId:u(this._context.currentUser,"id")}]}],properties:{eventId:this.entity.id}},{num:1,start:0,requestOptions:this._context.hubRequestOptions});this.userRegistration=(t=e?.rawResult)!==null&&t!==void 0?t:null}catch(e){console.error("Failed to fetch user registration:",e),this.userRegistration=null}else this.userRegistration=null}async fetchEntity(){try{this.entity=await f(this.identifier,this._context.hubRequestOptions),this.identifier=this.entity.id}catch(t){console.error("Failed to fetch event:",t),this.entity=null}}showNotice(t,e){O({title:null,message:t,configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:e,label:t}})}get sanitizedOnlineDetails(){return this.entity.onlineDetails}get isEventJoinable(){let t=new Date;return new Date(t.valueOf()+36e5)>=this.entity.startDateTime&&t<this.entity.endDateTime}get onlineAttendanceFull(){return this.entity.onlineCapacityType===p.Fixed&&this.entity.onlineRegistrationCount>=this.entity.onlineCapacity}get inPersonAttendanceFull(){return this.entity.inPersonCapacityType===p.Fixed&&this.entity.inPersonRegistrationCount>=this.entity.inPersonCapacity}get hybridAttendanceFull(){return this.onlineAttendanceFull&&this.inPersonAttendanceFull}get isAttendingOnline(){var t;return((t=this.userRegistration)===null||t===void 0?void 0:t.type)==="VIRTUAL"}get isAttendingInPerson(){var t;return((t=this.userRegistration)===null||t===void 0?void 0:t.type)==="IN_PERSON"}get joinButtonTooltipText(){let t=null;return this.entity.isCanceled?t=this.intl.t("tooltip.isCanceled"):this.entity.isPast?t=this.intl.t("tooltip.eventHasEnded"):this.isEventJoinable||(t=this.intl.t("tooltip.unavailable")),t}get isInPerson(){return this.entity.attendanceType===h.InPerson}get isOnline(){return this.entity.attendanceType===h.Online}get isHybrid(){return this.entity.attendanceType===h.Both}get isRegisterActionDisabled(){return[this.actionPending,this.entity.isPast,this.entity.isCanceled,this.isInPerson&&this.inPersonAttendanceFull,this.isOnline&&this.onlineAttendanceFull,this.isHybrid&&this.hybridAttendanceFull].some(t=>t)}get isRegisteredActionDisabled(){return[this.actionPending,this.entity.isPast,this.entity.isCanceled].some(t=>t)}get registerButtonTooltipText(){let t=null;return this.entity.isCanceled?t=this.intl.t("tooltip.isCanceled"):this.entity.isPast?t=this.intl.t("tooltip.eventHasEnded"):(this.isHybrid&&this.hybridAttendanceFull||this.isInPerson&&this.inPersonAttendanceFull||this.isOnline&&this.onlineAttendanceFull)&&(t=this.intl.t("tooltip.eventFull")),t}get registeredButtonTooltipText(){let t=null;return this.entity.isCanceled?t=this.intl.t("tooltip.isCanceled"):this.entity.isPast?t=this.intl.t("tooltip.eventHasEnded"):this.isHybrid&&(this.isAttendingOnline?t=this.intl.t("tooltip.online"):this.isAttendingInPerson&&(t=this.intl.t("tooltip.inPerson"))),t}get isJoinButtonDisabled(){return[!this.isEventJoinable,this.entity.isPast,this.entity.isCanceled].some(t=>t)}renderRegisterButton(){if(!this.isHybrid&&!this.userRegistration)return i(d,null,i("calcite-button",{appearance:"solid",disabled:this.isRegisterActionDisabled||this.actionPending,id:"register-button",label:this.intl.t("actions.register"),loading:this.actionPending,onClick:this.handleRegistration,round:!0},this.intl.t("actions.register")),this.registerButtonTooltipText&&i("calcite-tooltip",{referenceElement:"register-button"},this.registerButtonTooltipText))}renderRegisterMenu(){if(this.isHybrid&&!this.userRegistration)return i(d,null,i("calcite-dropdown",{onCalciteDropdownClose:this.handleDropdownToggled,onCalciteDropdownOpen:this.handleDropdownToggled},i("calcite-button",{appearance:"solid",disabled:this.isRegisterActionDisabled||this.actionPending,"icon-end":this.registrationDropdownOpen?"chevron-up":"chevron-down",id:"register-menu",label:this.intl.t("actions.register"),loading:this.actionPending,round:!0,slot:"trigger"},this.intl.t("actions.register")),i("calcite-dropdown-group",null,i("calcite-dropdown-item",{"data-value":"inPerson",disabled:this.inPersonAttendanceFull,onCalciteDropdownItemSelect:this.handleRegistration},this.intl.t(this.inPersonAttendanceFull?"actions.inPersonFull":"actions.in-person")),i("calcite-dropdown-item",{"data-value":"online",disabled:this.onlineAttendanceFull,onCalciteDropdownItemSelect:this.handleRegistration},this.intl.t(this.onlineAttendanceFull?"actions.onlineFull":"actions.online")))),this.registerButtonTooltipText&&i("calcite-tooltip",{referenceElement:"register-menu"},this.registerButtonTooltipText))}renderRegisteredButton(){if(this.userRegistration)return i(d,null,i("calcite-button",{appearance:"outline",disabled:this.isRegisteredActionDisabled||this.actionPending,"icon-start":this.actionPending?null:"check-circle",id:"registered-button",label:this.intl.t("actions.registered"),loading:this.actionPending,onClick:this.handleDeregistration,round:!0},this.intl.t("actions.registered")),this.registeredButtonTooltipText&&i("calcite-tooltip",{referenceElement:"registered-button"},this.registeredButtonTooltipText))}_renderJoinButton(t,e,n,o){return i(d,null,i("calcite-button",{appearance:"solid",disabled:this.isJoinButtonDisabled,href:e,"icon-end":t,id:"join-button",label:this.intl.t("actions.join"),onClick:o,round:!0,target:n},this.intl.t("actions.join")),this.joinButtonTooltipText&&i("calcite-tooltip",{referenceElement:"join-button"},this.joinButtonTooltipText))}renderJoinButtonWithDialog(){return i(d,null,this._renderJoinButton(null,null,null,this.handleJoinButtonClick),i("calcite-dialog",{"aria-labelledby":"modal-header",heading:this.intl.t("actions.join"),modal:!0,onCalciteDialogClose:this.handleJoinDialogClose,open:this.onlineDetailsDialogOpen,scale:"l"},i("div",null,i("div",{class:"event-details",innerHTML:this.sanitizedOnlineDetails}),i("calcite-link",{href:this.entity.onlineUrl,iconEnd:"launch",target:"_blank"},this.intl.t("actions.join"))),i("calcite-button",{appearance:"outline",onClick:this.handleJoinDialogClose,round:!0,slot:"footer-end",width:"l"},this.intl.t("actions.close"))))}renderJoinButton(){if(this.isAttendingOnline)return this.entity.onlineDetails?this.renderJoinButtonWithDialog():this._renderJoinButton("launch",this.entity.onlineUrl,"_blank")}render(){var t;return i(C,{key:"2ba040caf381dc3dacdf30d8602e275bd376eada","data-element":"event-actions"},((t=this.entity)===null||t===void 0?void 0:t.allowRegistration)&&!!this._context.currentUser&&i(d,null,this.renderRegisterButton(),this.renderRegisterMenu(),this.renderRegisteredButton(),this.renderJoinButton()))}static get assetsDirs(){return["locales"]}get element(){return R(this)}static get watchers(){return{_context:["handleContextChanged"],identifier:["handleIdentifierChanged"]}}};j([v()],w.prototype,"sanitizedOnlineDetails",null);w.style=I;export{w as arcgis_hub_event_actions};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{b as s,c as a}from"./QJNRSARZ.js";import{c}from"./BAR5PEE5.js";import"./EDM6FN6X.js";import"./TG6ZEHWY.js";import"./IMVDVU5J.js";import"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as r,c as i,d as o,i as l}from"./R3UDD63K.js";import"./2S6OYEYO.js";import"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./I5WZ5BPU.js";var u=":host{display:block}",h=u,d=class{constructor(e){l(this,e),this.resourceCallback=(t,n,g,m)=>(t.additionalInfo=[],t.actionLinks=[],t),this.headingText=void 0,this.headingLevel=3,this.tags=[],this.limit=4,this._context=c(),this.hasResults=!1}get resourceQuery(){let t={group:this._context.resourceGroupIDs||[],type:["Document Link"]};return this.tags.length&&(t.tags=this.tags),{targetEntity:"item",filters:[{predicates:[t]}]}}renderHeader(){let e=`h${this.headingLevel}`;return this.hasResults?r(e,null,this.headingText):null}onResourceGalleryResultsChanged(e){this.hasResults=e.detail.length>0}render(){return r(i,{key:"fccf54ab9ddb76861c25986d3bcd989b4ea18a2d","data-element":"resource-gallery"},this.renderHeader(),r("arcgis-hub-gallery",{key:"f16f8f756ae23857a845f55ea4bcfc78c525c4d5",baseUrl:this._context.hubHomeUrl,callback:this.resourceCallback,corners:s.round,galleryType:"item",layout:"compact",limit:this.limit,"link-target":"siteRelative",newTab:!0,query:this.resourceQuery,shadow:a.low,showEmptyState:!1,showSearch:!1,showThumbnail:!1,sortField:"modified",sortOrder:"desc"},r("div",{key:"8686a8a8bf87c8522e8448ad2c4f21b216d64674",slot:"loading-screen"})))}get element(){return o(this)}};d.style=h;export{d as arcgis_hub_resource_gallery};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
function o(e,i){let n=e||[],l=i||[],s=!!n.filter(t=>!l.includes(t)).length,d=!!l.filter(t=>!n.includes(t)).length;return s||d}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.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as i}from"./W2LTU3DO.js";import{h as r}from"./CPVBXDV3.js";function t(n,e={}){return i(e,n.orgId)?!0:new r(n).canReadChannel(e)}export{t as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as b}from"./TNT7E7JL.js";import"./TR4IDLV7.js";import{h as y}from"./M4R7BR23.js";import{a as g}from"./VAJGZFLK.js";import{b as m}from"./D2YWYQGZ.js";import"./TP5OSMTE.js";import"./TVC6TZLR.js";import"./P5NOJJ6X.js";import{da as h}from"./6VM7QTQ2.js";import"./YYXOEJN2.js";import"./7VWOND6G.js";import"./XXBHRWNS.js";import"./KRBJZ6SW.js";import"./2PX3UZJ2.js";import"./REJ63WP2.js";import"./XY3C2SW5.js";import"./FI73S54G.js";import"./MKY364EQ.js";import"./ADIPQ4VU.js";import"./OHH4J4SV.js";import"./OYGVQKRA.js";import"./WXVNSK2H.js";import"./6NHDVAJQ.js";import"./SPW4XUMU.js";import"./GOEU3WDV.js";import"./BH42DFEL.js";import"./KKBEYANH.js";import"./7Z45QN5N.js";import"./EHVFG76R.js";import"./EBMDUFBM.js";import"./RZJY53OX.js";import"./CZ3OVKO7.js";import"./JPS3MCG6.js";import"./FU65EZAN.js";import"./P7GO3LRW.js";import"./3A36DIUD.js";import"./3WS6AQFV.js";import"./MMW34LVS.js";import"./PA5B54YV.js";import"./3K4IN7S2.js";import"./3MLL52K7.js";import"./WANC2VLR.js";import"./XZSY5FUG.js";import"./ZKYQWQWD.js";import"./Z7HE7FPN.js";import"./VF6AXDQV.js";import"./MYFRO3H3.js";import"./APZRVZOS.js";import"./RTWSGMSN.js";import"./LTXRBE7M.js";import"./RTSZ536G.js";import"./VFHFDAOP.js";import"./R2PVK5UN.js";import"./SBAMIHLH.js";import{c as M,g as c}from"./BAR5PEE5.js";import"./EDM6FN6X.js";import"./LZFZCIGH.js";import"./S6RKOVKR.js";import"./FR3JKRZI.js";import"./6DE6RSTD.js";import"./TG6ZEHWY.js";import{o as d}from"./IMVDVU5J.js";import"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import{a as u}from"./HPLPS2JT.js";import{a as p}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import{a}from"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as s,c as C,d as f,e as k,i as w}from"./R3UDD63K.js";import"./2S6OYEYO.js";import"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var S=":host{display:block;height:100%}calcite-button{width:-moz-fit-content;width:fit-content}calcite-dialog{--calcite-dialog-size-y:80vh}",O=S,A=class{constructor(t){w(this,t),this.hubTelemetry=k(this,"hubTelemetry",7),this.sharingErrorIds=[],this.isUnsharing=!1,this.handleHubTelemetry=e=>{e.stopPropagation(),this.hubTelemetry.emit(Object.assign({},e.detail))},this.entity=void 0,this.isMobile=!1,this.isAddContentModalOpen=!1,this.isSharingErrorsModalOpen=!1,this._context=M(),this._catalogs=void 0,u(this,"handleAddContentModalOpen","handleAddContentModalClose","handleGalleryPickerSelectionUpdate","handleUnsharedContentModalClose","handleGalleryBulkAction","setTotalResultCount")}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),this.setCatalogs()}get contentFacets(){return[{label:this.intl.t("facets.map.label"),tooltip:this.intl.t("facets.map.tooltip"),key:"bbox",display:"map",field:"bbox",value:null},{label:this.intl.t("facets.type"),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:this.intl.t("facets.tags"),key:"tags",display:"multi-select",field:"tags",options:[],operation:"OR"},{label:this.intl.t("facets.categories"),key:"categories",display:"tree",field:"categories",options:[],operation:"OR"},{label:this.intl.t("facets.dateUpdated"),key:"modified",display:"date-range",field:"modified",state:"open",max:new Date},{label:this.intl.t("facets.sharing"),key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}get contentPickerFacets(){return[{label:this.intl.t("shareContent.facets.type"),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:this.intl.t("shareContent.facets.sharing"),key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}get canShareContentWithGroup(){return d("hub:group:shareContent",this._context,this.entity).access}setCatalogs(){let t=this.entity.isSharedUpdate?["myContent"]:["myContent","favorites","organization","world"];this._catalogs=t.map(e=>{var i;let o={user:(i=this._context)===null||i===void 0?void 0:i.currentUser,filter:{group:{not:this.entity.id}},collectionNames:["appAndMap","dataset","document","feedback","site","projectAndInitiative"]},n=y("shareContent",e,"item",o);return n.scopes.item.filters[0].predicates.push({group:{not:this.entity.id}}),b(this.intl,n)})}handleAddContentModalOpen(){this.isAddContentModalOpen=!0}handleAddContentModalClose(){this.isAddContentModalOpen=!1}handleUnsharedContentModalClose(){this.sharingErrorIds=[],this.isUnsharing=!1,this.isSharingErrorsModalOpen=!1}get bulkActions(){let t={actions:[]};return this.canShareContentWithGroup&&t.actions.push({name:"unshareContent",icon:"x-circle",text:this.intl.t("unshareContent.remove")}),t}setTotalResultCount(t){this.groupContentCount=t.detail.length}async delay(t){return new Promise(e=>setTimeout(e,t))}async handleContentShare(t){await Promise.all(t.map(async e=>{var i,o;try{let n={targetEntity:"item",filters:[{predicates:[{id:e}]}]},r={requestOptions:(i=this._context)===null||i===void 0?void 0:i.hubRequestOptions},{results:l}=await h(n,r);await m({id:e,groupId:this.entity.id,confirmItemControl:this.entity.isSharedUpdate,owner:l[0].owner,authentication:(o=this._context)===null||o===void 0?void 0:o.session})}catch{this.sharingErrorIds=[...this.sharingErrorIds,e]}})),await this.delay(2e3),this.setCatalogs()}async handleContentUnshare(t){await Promise.all(t.map(async e=>{var i,o;try{let n={targetEntity:"item",filters:[{predicates:[{id:e}]}]},r={requestOptions:(i=this._context)===null||i===void 0?void 0:i.hubRequestOptions},{results:l}=await h(n,r);await g({id:e,groupId:this.entity.id,owner:l[0].owner,authentication:(o=this._context)===null||o===void 0?void 0:o.session})}catch{this.sharingErrorIds=[...this.sharingErrorIds,e]}})),await this.delay(2e3),this.setCatalogs()}async handleGalleryPickerSelectionUpdate(t){let e=t.detail.item||[];await this.handleContentShare(e),this.sharingErrorIds.length?(this.isSharingErrorsModalOpen=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},a.dictionary.category.content.action.update.label.groups.details.add),{response:"Failed"}))):(c({title:this.intl.t("shareContent.itemSharedSuccessAlert"),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("notice.label")}}),this.hubTelemetry.emit(Object.assign(Object.assign({},a.dictionary.category.content.action.update.label.groups.details.add),{response:"Success"}))),this.isAddContentModalOpen=!1}async unshareContentFromGroup(t){var e,i;await this.handleContentUnshare(t),this.sharingErrorIds.length?(this.isUnsharing=!0,this.isSharingErrorsModalOpen=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},a.dictionary.category.content.action.update.label.groups.details.remove),{response:"Failure",count:this.groupContentCount}))):(c({title:this.intl.t("unshareContent.success",{groupName:this.entity.name}),message:"",configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("notice.label")}}),this.hubTelemetry.emit(Object.assign(Object.assign({},a.dictionary.category.content.action.update.label.groups.details.remove),{response:"Success",count:this.groupContentCount}))),(e=this.contentGallery)===null||e===void 0||e.refresh(),(i=this.contentGallery)===null||i===void 0||i.clearSelection()}async handleGalleryBulkAction(t){let{action:e,selection:i}=t.detail;switch(e.name){case"unshareContent":this.unshareContentFromGroup(i);break}}renderSharingErrorsNotice(){let t=this.isUnsharing?"unshareContent.unsharedModal.notice":"shareContent.unsharedModal.notice";return s("calcite-notice",{icon:this.intl.t(`${t}.icon`),kind:"danger",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t(`${t}.title`)),s("div",{slot:"message"},this.intl.t(`${t}.message`)),!this.isUnsharing&&s("calcite-link",{"aria-label":this.intl.t("newTab"),href:"https://doc.arcgis.com/en/arcgis-online/share-maps/share-items.htm",iconEnd:"launch",slot:"link",target:"_blank"},this.intl.t(`${t}.linkText`)))}renderSharingErrorsModal(t){let e={targetEntity:"item",filters:[{predicates:[{id:{any:t}}]}]},i=this.isUnsharing?"unshareContent.unsharedModal":"shareContent.unsharedModal";return s("arcgis-wormhole",{elAttributes:{unthemed:""}},s("calcite-dialog",{"data-element":"modal",heading:this.intl.t(`${i}.title`),modal:!0,onCalciteDialogClose:this.handleUnsharedContentModalClose,open:this.isSharingErrorsModalOpen},this.renderSharingErrorsNotice(),s("arcgis-hub-gallery",{linkTarget:"siteRelative",newTab:!0,query:e,showAdditionalInfo:!1,showBackToTopBtn:!0,showMoreResultsBtn:!0,showResultsCount:!0,showThumbnail:!1}),s("calcite-button",{onClick:this.handleUnsharedContentModalClose,slot:"footer-end"},this.intl.t("close"))))}renderContentGallery(){let t={targetEntity:"item",filters:[{predicates:[{group:this.entity.id}]}]};return s("arcgis-hub-gallery",{bulkActions:this.bulkActions,facets:this.contentFacets,linkTarget:"siteRelative",mobileView:this.isMobile,onArcgisHubGalleryBulkAction:this.handleGalleryBulkAction,onArcgisHubGalleryResultsChange:this.setTotalResultCount,query:t,ref:e=>{this.contentGallery=e},selectionMode:this.canShareContentWithGroup?"multiple":"none","show-back-to-top-btn":!0,"show-chips":!0,"show-facets":!0,"show-layout-switcher":!0,"show-more-results-btn":!0,"show-results-count":!0,"show-search":!0,"show-sort":!0,sortField:"modified"})}renderGalleryPicker(){return s("arcgis-wormhole",{elAttributes:{unthemed:""}},s("arcgis-hub-gallery-picker",{catalogs:this._catalogs,facets:this.contentPickerFacets,isMobile:this.isMobile,linkTarget:"siteRelative",modalTitle:this.intl.t("shareContent.modal.title"),onArcgisHubGalleryPickerClose:this.handleAddContentModalClose,onArcgisHubGalleryPickerSelectionUpdate:this.handleGalleryPickerSelectionUpdate,onHubTelemetry:this.handleHubTelemetry,open:this.isAddContentModalOpen,showFacetForSingleCatalog:!0,showSearch:!0}))}render(){return s(C,{key:"7530b7001bfde9a46dac439840c3613c5d92a2e8","data-element":"entity-group-content"},s("arcgis-hub-workspace-pane",{key:"fc5c53c9a6d076f63600389630dc425cf6ec9505",isMobile:this.isMobile},s("h1",{key:"cf7a3ed970357f698812fc95df47d604e6c2b45f",slot:"title"},this.intl.t("title")),s("arcgis-ref-tooltip",{key:"109670dd8a18dd9f5ec9dcaf27152ef8b3fed163",isSlottedElDisabled:!this.canShareContentWithGroup,placement:"right",slot:"primary-actions",text:this.canShareContentWithGroup?"":this.intl.t("shareContent.disabledTooltip")},s("calcite-button",{key:"939550a07793e4664f32d9a0bc24e66df85ed267",appearance:"solid",disabled:!this.canShareContentWithGroup,onClick:this.handleAddContentModalOpen,round:!0},this.intl.t("shareContent.buttonText"))),s("div",{key:"ce312f0939425e224466d50575ca225a6c59fe9a"},this.renderContentGallery())),this.isAddContentModalOpen&&this.renderGalleryPicker(),this.isSharingErrorsModalOpen&&this.renderSharingErrorsModal(this.sharingErrorIds))}static get assetsDirs(){return["locales"]}get element(){return f(this)}};A.style=O;export{A as arcgis_hub_entity_group_content};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as n,b as p}from"./CLTTYQ2Y.js";import{a as u,b as i}from"./BRMLZGYQ.js";import{a as o}from"./TG6ZEHWY.js";async function w(s,a,e){let t=o(s),r;switch(t){case"event":r=await n(a,s,e);break;default:r=s,await i(s.id,a,e.requestOptions,s.owner);break}return r}async function f(s,a,e){let t=o(s),r;switch(t){case"event":r=await p(a,s,e);break;default:r=s,await u(s.id,a,e.requestOptions,s.owner);break}return r}export{w as a,f as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as o,b as a}from"./QJNRSARZ.js";import{da as s}from"./6VM7QTQ2.js";import"./YYXOEJN2.js";import"./7VWOND6G.js";import"./XXBHRWNS.js";import"./KRBJZ6SW.js";import"./2PX3UZJ2.js";import"./REJ63WP2.js";import"./XY3C2SW5.js";import"./FI73S54G.js";import"./MKY364EQ.js";import"./ADIPQ4VU.js";import"./OHH4J4SV.js";import"./OYGVQKRA.js";import"./WXVNSK2H.js";import"./6NHDVAJQ.js";import"./SPW4XUMU.js";import"./GOEU3WDV.js";import"./BH42DFEL.js";import"./KKBEYANH.js";import"./7Z45QN5N.js";import"./EHVFG76R.js";import"./EBMDUFBM.js";import"./RZJY53OX.js";import"./CZ3OVKO7.js";import"./JPS3MCG6.js";import"./FU65EZAN.js";import"./P7GO3LRW.js";import"./3A36DIUD.js";import"./3WS6AQFV.js";import"./MMW34LVS.js";import"./PA5B54YV.js";import"./3K4IN7S2.js";import"./3MLL52K7.js";import"./WANC2VLR.js";import"./XZSY5FUG.js";import"./ZKYQWQWD.js";import"./Z7HE7FPN.js";import"./VF6AXDQV.js";import"./MYFRO3H3.js";import"./APZRVZOS.js";import"./RTWSGMSN.js";import"./LTXRBE7M.js";import"./RTSZ536G.js";import"./VFHFDAOP.js";import"./R2PVK5UN.js";import"./SBAMIHLH.js";import{c as l}from"./BAR5PEE5.js";import"./EDM6FN6X.js";import"./LZFZCIGH.js";import"./S6RKOVKR.js";import"./FR3JKRZI.js";import"./6DE6RSTD.js";import"./TG6ZEHWY.js";import"./IMVDVU5J.js";import"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import{a as n}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as t,c,d as p,i as u}from"./R3UDD63K.js";import"./2S6OYEYO.js";import"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var b=":host{display:block;height:100%}div{flex-direction:column}div.section-header{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}arcgis-stat-card{height:auto}h2{font-weight:var(--calcite-font-weight-bold);font-size:var(--calcite-font-size-2)}",m=b,d=["Hub Site Application","Hub Page"],h=["Hub Site Application","Hub Page","Hub Project","Hub Initiative"],g=["Site Application","Site Page"],f=class{constructor(e){u(this,e),this.entity=void 0,this.isMobile=!1,this.contentCount=void 0,this.groupCount=void 0,this._context=l()}async componentWillLoad(){this.intl=await n.loadIntlForComponent(this.element);let e=await s(this.allContentQuery,{requestOptions:this._context.hubRequestOptions,num:1,httpMethod:"POST"});this.contentCount=e.total;let r=await s(this.recentGroupsQuery,{requestOptions:this._context.hubRequestOptions,num:1,httpMethod:"POST"});this.groupCount=r.total}get entityTypes(){switch(this._context.hubLicense){case"hub-basic":return d;case"hub-premium":return h;case"enterprise-sites":return g;default:return d}}get userEditGroupIds(){return(this._context.currentUser.groups||[]).filter(i=>i.capabilities.includes("updateitemcontrol")).map(i=>i.id)}get recentHubEntityQuery(){return{targetEntity:"item",filters:[{operation:"AND",predicates:[{type:this.entityTypes}]},{operation:"OR",predicates:[{owner:this._context.currentUser.username},{group:this.userEditGroupIds}]}]}}get allContentQuery(){return{targetEntity:"item",filters:[{predicates:[{type:{not:"Code Attachment"}}]},{operation:"OR",predicates:[{owner:this._context.currentUser.username},{group:this.userEditGroupIds}]}]}}get recentContentQuery(){return{targetEntity:"item",filters:[{predicates:[{type:{not:this.entityTypes}}]},{operation:"OR",predicates:[{owner:this._context.currentUser.username},{group:this.userEditGroupIds}]}]}}get recentGroupsQuery(){return{targetEntity:"group",filters:[{predicates:[{searchUserAccess:"groupMember"}]}]}}get galleryProps(){return{baseUrl:this._context.hubHomeUrl,corners:a.round,galleryType:"item",layout:"table",limit:10,linkTarget:"siteRelative",mobileView:this.isMobile,sortField:"modified",sortOrder:"desc"}}get groupsGalleryProps(){let r=["thumbnail","title","managers",{header:this.intl.t("contentCount"),key:"searchResult.contentCount",formatter:i=>this.intl.formatNumber(i),contentCellAlignment:o.end,headerCellAlignment:o.end},"updated"];return Object.assign(Object.assign({},this.galleryProps),{include:"contentCount",tableColumns:r})}render(){return t(c,{key:"bd0113fbd2aadb10f7cdfee9c199a5085bd723e7","data-element":"entity-overview"},t("arcgis-hub-workspace-pane",{key:"20021e4d48039883966c105cd63df8d44ffb49cd",isMobile:this.isMobile},t("h1",{key:"b07650a6861910032446aaa6db15b5ddefefd0b4",slot:"title"},this.intl.t("overview")),t("div",{key:"fb07c16249954b1fe590627b42a188ed914eaf3f"},t("div",{key:"c74b8955cbb144792b434e91450cc89393105625",class:"section"},t("div",{key:"582e38d6a3d8722683a8016f478638640b9894fc",class:"section-header"},t("h2",{key:"b8bc25394ed15d7c47372545ef2f3e3195139ebf"},this.intl.t("hubContent.heading")),t("arcgis-hub-workspace-link",{key:"1beeaf7e4f7258be350611ede6d98280fee29d13",pane:"content"},this.intl.t("hubContent.link"))),t("arcgis-hub-gallery",Object.assign({key:"ebd293675b1c345f2ab32ba6a23aeee8db6fdb18"},this.galleryProps,{query:this.recentHubEntityQuery}))),t("div",{key:"311cc4956ab236b41736b76016f67a56bc418144",class:"section"},t("div",{key:"a398521c50e2c8e3939d995c6f74a95a6cd039af",class:"section-header"},t("h2",{key:"f50001f6457ea7d336e6b63a86a1a5ee8ca51b4f"},this.intl.t("content.heading")),t("arcgis-hub-workspace-link",{key:"e229e7aa5ce9f4c08aa8882eb9f31b4e0fdce434",pane:"content"},this.intl.t("content.link"))),t("arcgis-hub-gallery",Object.assign({key:"d703abd22c58930eb34dab036197868815dbe94c"},this.galleryProps,{query:this.recentContentQuery}))),t("div",{key:"ba957a7adf004303690bf683cb4192f718a2bc06",class:"section"},t("div",{key:"411e179133d321b30e8ea55a2add0e995686431a",class:"section-header"},t("h2",{key:"32d555c9c1fea484b5622d92c37a713c56701390"},this.intl.t("groups.heading")),t("arcgis-hub-workspace-link",{key:"eefc34b0dce7eb3b9206122f5acc03259c65ce2c",pane:"groups"},this.intl.t("groups.link"))),t("arcgis-hub-gallery",Object.assign({key:"ab7d3eb6f52f28a42d556e02d4fbe7f029cc86d2"},this.groupsGalleryProps,{limit:5,query:this.recentGroupsQuery})))),t("div",{key:"3ddc4ed6a61dc9fb3096b510aef10c8ddabb4f39",slot:"side-panel"},t("arcgis-stat-card",{key:"c0b6b160ec03fca6b71524963b87b6be417ad75f",cardTitle:this.intl.t("content.stat"),value:`${this.intl.formatNumber(this.contentCount)}`},t("arcgis-hub-workspace-link",{key:"361dfb843b605daf3c8eb19cb5c1dbe403e1257d",pane:"content",slot:"footer"},this.intl.t("hubContent.link"))),t("arcgis-stat-card",{key:"2b069c9378b54c656259a4824a2431247d2b9622",cardTitle:this.intl.t("groups.stat"),value:`${this.intl.formatNumber(this.groupCount)}`},t("arcgis-hub-workspace-link",{key:"87a303d7499babafc6766158666cfecb13bb3cee",pane:"groups",slot:"footer"},this.intl.t("groups.link"))))))}static get assetsDirs(){return["locales"]}get element(){return p(this)}};f.style=m;export{f as arcgis_hub_user_overview};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import c from"./JRVERVAC.js";import b from"./ZVPQUT3G.js";import a from"./YZS7XGYR.js";export default $arcgis.t(([{ea:t},{b:r},{a:n,b:o,c:a,d:g,e:f,f:h,g:c,h:l,i:S,j:d,k:m,l:_,m:C,n:s,o:k,p:p,q:u,r:L,s:M,t:U,u:b}])=>{var V=class extends t{getSeriesLineStyle(e){return n(e,this._config)}setSeriesLineStyle(e,i){o(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle")}getSeriesLineWidth(e){return a(e,this._config)}setSeriesLineWidth(e,i){g(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth")}getSeriesMarkerColor(e){return f(e,this._config)}setSeriesMarkerColor(e,i){h(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor")}getSeriesMarkerStyle(e){return c(e,this._config)}setSeriesMarkerStyle(e,i){l(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle")}getSeriesMarkerSize(e){return S(e,this._config)}setSeriesMarkerSize(e,i){d(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize")}isLineSmoothed(e){return m(e,this._config)}setLineSmoothed(e,i){_({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed")}getConnectLines(e){return L(e,this._config)}setConnectLines(e,i){M({connect:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setConnectLines")}isAreaVisible(e){return C(e,this._config)}setAreaVisible(e,i){s({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible")}isMarkerVisible(e){return k(e,this._config)}setMarkerVisible(e,i){p({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible")}getAreaColor(e){return u(e,this._config)}setAreaColor(e,i){s({visible:!0,seriesIndex:i,config:this._config}),r(e,i,this._config),this.emitConfigUpdate("setAreaColor")}},x=class extends t{isNegativeValuesStackedToBaseline(e){return U(e,this._config)}setNegativeValuesStackedToBaseline(e,i){b({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline")}};return{a:V,b:x}},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.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as e}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import{b as s,c as i,d as c,i as o}from"./R3UDD63K.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var a=":host{display:block}",n=a,r=class{constructor(t){o(this,t)}async componentWillLoad(){this.intl=await e.loadIntlForComponent(this.el)}render(){let{intl:t}=this;return s(i,{key:"64af21ccd8cdcb4d8229f6d5bcbbb85545935c73"},s("calcite-notice",{key:"955a0d0ac2e2f81889fcfbbe3dd134ca87b2875b",open:!0,scale:"m"},s("div",{key:"0339062546b3b579af19469f1b16f9352a32c03e",slot:"title"},t.t("title")),s("div",{key:"351818a75c419f0675fdf19b4fc33853a2d1e73d",slot:"message"},t.t("message")),s("calcite-link",{key:"bbdcbbbc1965974c024a51ec42272a4813e7cc89",href:"https://doc.arcgis.com/en/hub/team/how-discussions-work.htm",iconEnd:"launch",slot:"link",title:t.t("link.title")},t.t("link.text"))))}static get assetsDirs(){return["locales"]}get el(){return c(this)}};r.style=n;export{r as arcgis_hub_discussions_private_notice};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as b}from"./DT2ZLCD6.js";import{a}from"./YYXOEJN2.js";import{b as p}from"./OYGVQKRA.js";import{b as m}from"./APZRVZOS.js";import{g as i,h as u}from"./RTSZ536G.js";function O(e){return`hubVersion_${e}`}var f="version.json",g=["created","creator","description","id","name","parent","updated"];function j(e){return O(`${e}/${f}`)}async function R(e,s,r){return u(e,Object.assign(Object.assign({},r),{fileName:j(s),readAs:"json"}))}function V(e){let{access:s,resource:r,size:t}=e,o,n=e.properties||"{}";try{o=JSON.parse(n)}catch{o={}}return Object.assign(Object.assign({},o),{access:s,path:r,size:t})}async function N(e,s){return(await i(e,Object.assign(Object.assign({},s),{params:{sortField:"created",sortOrder:"desc"}}))).resources.filter(t=>t.resource.match(/^hubVersion_[a-zA-Z0-9_\s]*\/version.json/)).map(V)}async function S(e,s,r,t){let o=O(s.id),n=a(s,{},g),c=await R(e,s.id,t);a(s,c,g);let d=b(c);return await m(Object.assign(Object.assign({},t),{id:e,name:f,owner:r,params:{properties:n},prefix:o,resource:d})),s}async function y(e,s,r,t){return p(Object.assign(Object.assign({},t),{id:e,owner:r,resource:j(s)}))}export{O as a,f as b,g as c,R as d,N as e,S as f,y as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as s}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import{b as t,d as a,i as r}from"./R3UDD63K.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var l="div{font-size:var(--calcite-font-size--1);line-height:1rem}calcite-notice{margin-bottom:0.5rem}calcite-loader{margin-right:0.5rem}calcite-loader[active]{display:inline-block}",n=l,o=class{constructor(e){r(this,e),this.fileStatus=void 0,this.exportRequested=!1,this.apiError=void 0,this.cannotExport=!1}async componentWillLoad(){this.intl=await s.loadIntlForComponent(this.element),this.setLabels(),this.resetUndefinedProps()}resetUndefinedProps(){["fileStatus","exportRequested","apiError"].forEach(e=>{this[e]=this[e]==="undefined"?void 0:this[e]})}async setLocalization(){this.setLabels()}setLabels(){this.labels={titleFileGeneration:this.intl.t("titleFileGeneration"),titleDatasetNotFound:this.intl.t("titleDatasetNotFound"),titleApiError:this.intl.t("titleApiError"),titleFormatDisabled:this.intl.t("titleFormatDisabled"),titleFileGenerationFailed:this.intl.t("titleFileGenerationFailed"),messageCreatingFile:this.intl.t("messageCreatingFile"),messageUpdatingFile:this.intl.t("messageUpdatingFile"),messageFailedStaleAvailable:this.intl.t("messageFailedStaleAvailable"),messageFileNeedsGenerating:this.intl.t("messageFileNeedsGenerating"),messageFormatDisabled:this.intl.t("messageFormatDisabled")}}getNoticeTitle(){if(this.fileStatus==="disabled")return this.labels.titleFormatDisabled;if(this.exportInProgress())return this.labels.titleFileGeneration;if(this.apiError==="404")return this.labels.titleDatasetNotFound;if(this.apiError)return this.labels.titleApiError;if(this.requestedExportHasFailed())return this.labels.titleFileGenerationFailed}getNoticeMessage(){return this.fileStatus==="disabled"?this.labels.messageFormatDisabled:this.fileStatus==="creating"?this.labels.messageCreatingFile:this.fileStatus==="updating"?this.labels.messageUpdatingFile:this.downloadCached()&&this.requestedExportHasFailed()?this.labels.messageFailedStaleAvailable:this.fileStatus==="ready_unknown"?this.labels.messageFileNeedsGenerating:this.fileStatus==="locked"||this.fileStatus==="stale_locked"?this.labels.messageDataSourceLocked:this.downloadCached()?this.labels.messageFileNeedsGenerating:this.labels.messageFileNeedsGenerating}shouldShowMessage(){return!this.apiError&&!this.exportFailed()&&!this.requestedExportIsReady()}_getNoticeKind(){return this.requestedExportHasFailed()||this.apiError?"danger":"warning"}exportFailed(){return this.fileStatus==="error"||this.fileStatus==="error_creating"||this.fileStatus==="error_updating"}exportInProgress(){return this.fileStatus==="creating"||this.fileStatus==="updating"}requestedExportIsReady(){return this.exportRequested&&this.downloadUpToDate()}requestedExportHasFailed(){let{exportRequested:e,fileStatus:i}=this;return e&&(i==="error"||i==="error_updating"||i==="error_creating")}downloadCached(){return["ready","ready_unknown","stale","updating","error_updating"].includes(this.fileStatus)}downloadUpToDate(){return this.fileStatus==="ready"}shouldHide(){return this.downloadUpToDate()||this.cannotExport||this.exportFailed()&&!this.exportRequested}render(){if(this.shouldHide())return t("calcite-notice",{open:!1});let e=this.shouldShowMessage()?t("div",{slot:"message"},this.getNoticeMessage()):null;return t("calcite-notice",{dir:"ltr",kind:this._getNoticeKind(),open:!0,scale:"m",width:"full"},t("div",{slot:"title"},t("calcite-loader",{hidden:!this.exportInProgress(),inline:!0,label:this.getNoticeMessage()}),this.getNoticeTitle()),e)}static get assetsDirs(){return["locales"]}get element(){return a(this)}};o.style=n;export{o as hub_download_notice};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import"./I5WZ5BPU.js";var e={percent:"\u03A0\u03BF\u03C3\u03BF\u03C3\u03C4\u03CC",values:"\u03A4\u03B9\u03BC\u03AD\u03C2",standardizedValues:"\u03A4\u03C5\u03C0\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B5\u03C2 \u03C4\u03B9\u03BC\u03AD\u03C2",count:"\u03A3\u03C5\u03BD\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2",aggregationOfValues:"${ aggregation } \u03C4\u03B9\u03BC\u03CE\u03BD",aggregationOfFieldName:"${ aggregation } \u03B1\u03C0\u03CC ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u03B5\u03C0\u03AF ${ category }",aggrTypeCategory:"${ aggregationType } \u03B5\u03C0\u03AF ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u03B5\u03C0\u03AF ${ category } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationField } \u03B5\u03C0\u03AF ${ category } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationFields } \u03B5\u03C0\u03AF ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u03B5\u03C0\u03AF ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u03B5\u03C0\u03AF ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u03B5\u03C0\u03AF ${ xAxisField } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationField } \u03B5\u03C0\u03AF ${ xAxisField } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationFields } \u03B5\u03C0\u03AF ${ xAxisField }",distributionOfField:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueField }",distributionOfFields:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueFields }",distributionOfFieldsByCategory:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueFields } \u03B1\u03C0\u03CC ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueFields } \u03B1\u03C0\u03CC ${ category } \u03BA\u03B1\u03B9${ splitByField }",xAndY:"${ x } \u03BA\u03B1\u03B9 ${ y }"},i={barChart:"\u03A1\u03B1\u03B2\u03B4\u03CC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1",lineChart:"\u0393\u03C1\u03AC\u03C6\u03B7\u03BC\u03B1 \u03B3\u03C1\u03B1\u03BC\u03BC\u03CE\u03BD",pieChart:"\u0393\u03C1\u03AC\u03C6\u03B7\u03BC\u03B1 \u03C0\u03AF\u03C4\u03B1\u03C2",histogram:"\u0399\u03C3\u03C4\u03CC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1",scatterplot:"\u0394\u03B9\u03AC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1 \u03B4\u03B9\u03B1\u03C3\u03C0\u03BF\u03C1\u03AC\u03C2"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as s}from"./APZRVZOS.js";import{a as c,b as i,c as f}from"./RTSZ536G.js";import{a as o}from"./VFHFDAOP.js";import{b as m}from"./R2PVK5UN.js";import{h as n}from"./SBAMIHLH.js";function p(a){return c(a).then(r=>{let t=`${`${m(a)}/content/users/${r}`}/createFolder`;return a.params=Object.assign({title:a.title},a.params),n(t,a)})}function u(a){return a.multipart&&!a.filename?Promise.reject(new Error("The filename is required for a multipart request.")):c(a).then(r=>{let e=`${m(a)}/content/users/${r}`,t=`${e}/addItem`;a.folderId&&(t=`${e}/${a.folderId}/addItem`),a.params=Object.assign(Object.assign({},a.params),a.item),a.params.extent&&i(a.params.extent)&&(a.params.extent=f(a.params.extent));let l=o(a,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},a.params)});return n(t,l)})}function b(a){let r=Object.assign({folderId:null},a);return u(r)}function P(a){let r=a.partNum;return!Number.isInteger(r)||r<1||r>1e4?Promise.reject(new Error("The part number must be an integer between 1 to 10000, inclusive.")):c(a).then(e=>{let t=`${m(a)}/content/users/${e}/items/${a.id}/addPart?partNum=${r}`,l=o(a,["file"],{params:Object.assign({},a.params)});return n(t,l)})}function $(a){return c(a).then(r=>{let e=`${m(a)}/content/users/${r}/items/${a.id}/commit`,t=o(a,[],{params:Object.assign(Object.assign({},a.params),a.item)});return n(e,t)})}function w(a){return c(a).then(r=>{let e=`${m(a)}/content/users/${r}/items/${a.id}/cancel`;return n(e,a)})}function d(a){return a.params=Object.assign(Object.assign({},a.params),I(a.item)),a}function I(a){let r=JSON.parse(JSON.stringify(a));return r.data&&(typeof Blob<"u"&&a.data instanceof Blob||a.data.constructor.name==="ReadStream"?r.file=a.data:r.text=a.data,delete r.data),r}function N(...a){return b(d(a[0]))}function B(...a){return s(d(a[0]))}function S(...a){return $(d(a[0]))}export{p as a,P as b,w as c,N as d,B as e,S as f};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{c as y}from"./P7YQSWNR.js";import{b as m,e as b}from"./R5LJOROF.js";import{g as d}from"./M4R7BR23.js";import{a as u}from"./MKY364EQ.js";import{a as s}from"./YEDZN5WH.js";import{o as r}from"./IMVDVU5J.js";import{a as i}from"./PE2EEIM5.js";function g(o){let e=i(o),t=e.properties.layout;t.enum=["grid-filled",...t.enum],t.default="grid-filled";let a=e.properties.layouts.items;return a.enum=["grid-filled",...a.enum],e}var f=i(b);delete f.properties.filters.minItems;var w=g(m),v=o=>({type:"object",properties:{targetEntity:{type:"string",enum:r("hub:feature:gallery-card:enterprise",o).access?["item"]:["item","event"],default:"item"},source:{type:"string",enum:["all","references"],default:"all"},sortField:{type:"string",enum:["numviews","title","created","modified","manual"],default:"numviews"},sortOrder:{type:"string",enum:["asc","desc"],default:"desc"},entityIds:{type:"array",items:{type:"string"},maxItems:1,default:[]},query:f,shouldLimitResults:{type:"boolean",default:!0,enum:[!0,!1]},limit:{type:["integer","null"],minimum:1,maximum:100,default:8},appearance:w,options:{type:"object",properties:{openInNewTab:{type:"boolean",default:!1,enum:[!1,!0]}}}},allOf:[{if:{properties:{source:{const:"references"},entityIds:{type:"array",minItems:1}}},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:0}}}}}},{if:{anyOf:[{properties:{source:{const:"all"}}},{properties:{source:{const:"references"},entityIds:{type:"array",maxItems:0}}}]},then:{properties:{query:{type:"object",properties:{filters:{type:"array",minItems:1}}}}}}]}),F=o=>{let{context:e,targetEntity:t,source:n,hasCatalogSource:a,predicateOptionScopes:l}=o,c=e.hubLicense,h={allowConfig:!0,filters:{max:10,isMinItemsErrorHidden:a,predicates:{categories:Object.assign({},l?.length&&{scope:u(l)}),id:{canReorder:!0}}}},p=[];return t!=="event"&&p.push("calendar","map"),{type:"Layout",elements:[{type:"Section",label:"{{source.section.label:translate}}",options:{section:"block",open:!0},elements:[{scope:"/properties/targetEntity",label:"{{source.targetEntity.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:r("hub:feature:gallery-card:enterprise",e).access?["{{source.targetEntity.item.label:translate}}"]:["{{source.targetEntity.item.label:translate}}","{{source.targetEntity.event.label:translate}}"],disabled:r("hub:feature:gallery-card:enterprise",e).access?[!1]:[!1,c!=="hub-premium"]},rules:[{effect:s.HIDE,conditions:[r("hub:feature:gallery-card:enterprise",e).access]}]},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-edit-license-notice",noticeType:"notice",icon:"lock",closable:!1,kind:"brand",scale:"m"},title:"{{eventsTypeUnavailable.notice.title:translate}}",message:"{{eventsTypeUnavailable.notice.body:translate}}",autoShow:!0,actions:[{label:"{{eventsTypeUnavailable.notice.link:translate}}",ariaLabel:"{{eventsTypeUnavailable.notice.link:translate}}",href:"https://www.esri.com/en-us/arcgis/products/arcgis-hub/purchase-options"}]}},rules:[{effect:s.SHOW,conditions:[!r("hub:feature:gallery-card:enterprise",e).access&&c==="hub-basic"]}]},{scope:"/properties/source",label:"{{source.source.label:translate}}",type:"Control",options:{control:"hub-field-input-tile-select",labels:[r("hub:feature:gallery-card:enterprise",e).access?`{{source.source.org.label.${t}:translate}}`:`{{source.source.all.label.${t}:translate}}`,"{{source.source.references.label:translate}}"],descriptions:[r("hub:feature:gallery-card:enterprise",e).access?`{{source.source.org.description.${t}:translate}}`:`{{source.source.all.description.${t}:translate}}`,`{{source.source.references.description.${t}:translate}}`]}},{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",canReorder:!1,pickerTitle:{label:"{{source.entityIds.label:translate}}"},catalogs:d("source.entityIds","item",r("hub:feature:gallery-card:enterprise",e).access?["myContent","organization"]:["myContent","organization","world"],e,{collectionNames:r("hub:feature:gallery-card:enterprise",e).access?["site"]:["site","project","initiative"]}),facets:y,widthScale:"l"},rules:[{effect:s.SHOW,conditions:[n==="references"]}]},{scope:"/properties/sortField",label:"{{source.sortField.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortField.numviews.label:translate}}","{{source.sortField.title.label:translate}}","{{source.sortField.created.label:translate}}","{{source.sortField.modified.label:translate}}","{{source.sortField.manual.label:translate}}"],messages:[{type:"CUSTOM",display:"notice",kind:"info",titleKey:"source.sortField.manual.filtersNotice.title",labelKey:"source.sortField.manual.filtersNotice.body",allowShowBeforeInteract:!0,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},rules:[{effect:s.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]}]},{scope:"/properties/sortOrder",label:"{{source.sortOrder.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{source.sortOrder.asc.label:translate}}","{{source.sortOrder.desc.label:translate}}"]},rules:[{effect:s.SHOW,conditions:[{scope:"/properties/targetEntity",schema:{const:"item"}}]},{effect:s.HIDE,conditions:[{scope:"/properties/sortField",schema:{const:"manual"}}]}]},{scope:"/properties/shouldLimitResults",label:"{{source.shouldLimitResults.label:translate}}",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:"{{source.shouldLimitResults.helperText:translate}}"}}},{scope:"/properties/limit",label:"{{source.limit.label:translate}}",type:"Control",options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"minimum",icon:!0,label:"{{source.limit.minimumError:translate}}"},{type:"ERROR",keyword:"maximum",icon:!0,label:"{{source.limit.maximumError:translate}}"}]},rules:[{effect:s.SHOW,conditions:[{scope:"/properties/shouldLimitResults",schema:{const:!0}}]}]}]},{type:"Section",label:"{{query.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/query",type:"Control",options:{control:"arcgis-hub-query-builder",targetEntity:t,uiOptions:h}}]},{type:"Section",label:"{{appearance.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/appearance",type:"Control",options:{control:"arcgis-hub-gallery-appearance-builder",visibleSections:["layout","cards"],targetEntity:t,layoutOptionsConfig:{exclude:p}}}]},{type:"Section",label:"{{options.section.label:translate}}",options:{section:"block"},elements:[{scope:"/properties/options/properties/openInNewTab",label:"{{options.openInNewTab.label:translate}}",type:"Control",options:{control:"hub-field-input-select",labels:["{{options.openInNewTab.sameTab.label:translate}}","{{options.openInNewTab.newTab.label:translate}}"]}},{type:"Notice",options:{notice:{configuration:{id:"gallery-card-open-in-notice",noticeType:"notice",closable:!1,kind:"brand",scale:"m"},title:"{{options.openInNewTab.notice.title:translate}}",message:"{{options.openInNewTab.notice.body:translate}}",autoShow:!0,actions:[{label:"{{options.openInNewTab.notice.link:translate}}",ariaLabel:"{{options.openInNewTab.notice.linkAriaLabel:translate}}",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}};export{w as a,v as b,F as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import"./I5WZ5BPU.js";var a="\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u062E\u0637\u0637.",e="\u064A\u062A\u0639\u0630\u0631 \u062A\u0637\u0628\u064A\u0642 \u062A\u062D\u0648\u064A\u0644 \u0627\u0644\u0633\u0651\u0650\u062C\u0644 \u0625\u0644\u0649 \u0642\u064A\u0645 \u0633\u0644\u0628\u064A\u0629 \u0623\u0648 \u0625\u0644\u0649 \u0635\u0641\u0631.",t="\u064A\u062A\u0639\u0630\u0631 \u062A\u0637\u0628\u064A\u0642 \u062A\u062D\u0648\u064A\u0644 \u0627\u0644\u062C\u0630\u0631 \u0627\u0644\u062A\u0631\u0628\u064A\u0639\u064A \u0625\u0644\u0649 \u0642\u064A\u0645 \u0633\u0644\u0628\u064A\u0629.",r="\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0637\u0628\u0642\u0629. URL = ${ url }. \u0645\u0639\u0631\u0641 \u0639\u0646\u0635\u0631 \u0627\u0644\u0628\u0648\u0627\u0628\u0629 = ${ portalItemId }.",i="\u0644\u0645 \u064A\u064F\u0639\u062B\u0631 \u0641\u064A \u0627\u0644\u0637\u0628\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u062D\u0642\u0648\u0644 [${ fieldNames }] \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u0641\u064A \u0627\u0644\u062A\u0643\u0648\u064A\u0646.",s="\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${ dataPath } \u0645\u0645\u064A\u0632\u064B\u0627. \u0627\u0644\u0633\u0644\u0633\u0644\u0629 \u0627\u0644\u062A\u064A \u0627\u0633\u0645\u0647\u0627 ${ seriesName } \u062A\u062A\u0636\u0645\u0646 \u0645\u0639\u0631\u0641\u064B\u0627 (${ seriesID }) \u0645\u0633\u062A\u062E\u062F\u0645\u064B\u0627 \u0628\u0627\u0644\u0641\u0639\u0644 \u0645\u0646 \u0642\u0628\u0644 \u0633\u0644\u0633\u0644\u0629 \u0623\u062E\u0631\u0649.",o="\u064A\u062A\u0639\u0630\u0631 \u0639\u0644\u0649 ${ dataPath } \u0625\u062C\u0631\u0627\u0621 \u062A\u062C\u0645\u064A\u0639 \u0645\u0646 \u062F\u0648\u0646 \u062D\u0633\u0627\u0628 \u0641\u064A \u062D\u0642\u0644 \u063A\u064A\u0631 \u0631\u0642\u0645\u064A.",n="\u064A\u062A\u0641\u0642\u062F ${ dataPath } \u062E\u0627\u0635\u064A\u0629 \u0628\u0627\u0633\u0645 ${ missingProperty }.",d="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0643\u0648\u0646 ${ dataPath } \u0623\u0642\u0635\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u062D\u0631\u0648\u0641.",l="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0642\u0644 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",u="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0643\u062B\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",m="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0646 ${ dataPath } \u062D\u0631\u0641\u064B\u0627 \u0648\u0627\u062D\u062F\u064B\u0627 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 \u0644\u064A\u0633 \u0645\u0633\u0627\u0641\u0629 \u0628\u064A\u0636\u0627\u0621.",$="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 ${ additionalProperty }.",p="\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${ dataPath } \u0645\u0633\u0627\u0648\u064A\u064B\u0627 \u0644\u0625\u062D\u062F\u0649 \u0627\u0644\u0642\u064A\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627: ${ allowedValues }",y="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0637\u0627\u0628\u0642 ${ dataPath } \u0645\u0639 \u0645\u062E\u0637\u0637 \u0623\u062D\u062F \u0645\u0627 \u064A\u0644\u064A: ${ schemaOptions }.",P="Scatterplots \u0630\u0627\u062A \u0627\u0644\u0631\u0645\u0648\u0632 \u0627\u0644\u0645\u062A\u0646\u0627\u0633\u0628\u0629 \u063A\u064A\u0631 \u0645\u062F\u0639\u0648\u0645\u0629. \u062A\u0645 \u062A\u0637\u0628\u064A\u0642 \u062D\u062C\u0645 \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A.",g="\u0641\u0634\u0644\u062A \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062F\u062E\u0644\u0629.",h="\u0644\u0627 \u064A\u062A\u0645 \u062F\u0639\u0645 \u0639\u0645\u0644\u064A\u0629 queryBins \u0639\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u062E\u062F\u0645\u0629.",I="\u0646\u0648\u0639 \u0627\u0644\u0633\u0644\u0633\u0644\u0629 \u0627\u0644\u0645\u062A\u0648\u0642\u0639 \u0641\u064A \u0627\u0644\u0641\u0647\u0631\u0633 ${ seriesIndex } \u0647\u0648 '${ expectedType }' \u0648\u0644\u0643\u0646 \u062A\u0645 \u0627\u0633\u062A\u0644\u0627\u0645 '${ receivedType }' \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643",c="\u0623\u0648",f={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:i,duplicateSeriesID:s,nonNumericAggregation:o,requiredProperty:n,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:$,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:P,queryError:g,queryBinsNotSupported:h,invalidSeriesType:I,or:"\u0623\u0648"};export{$ as additionalProperty,y as anyOfValues,P as bubbleChartValidateMsg,f as default,a as defaultError,s as duplicateSeriesID,p as enumValues,I as invalidSeriesType,i as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,l as minItems,d as minLength,e as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,o as nonNumericAggregation,c as or,h as queryBinsNotSupported,g as queryError,n as requiredProperty,m as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{J as w,b as y,c as E,g as b,h as C,i as m,j as u,k as P,l as f,m as v,o as O}from"./V4TM3IDY.js";var L=e=>(...n)=>{let t=u(),o=new e(...n),s=o.exports;m(t.at(-1));let r=o.component.manager;r.W(o,s),o.watchExports(r.W.bind(r,o)),P(o);let i=[o.component,...t].reverse();return v(i,a=>a===void 0?void 0:A(o,a,s),s)},A=(e,{host:n,key:t,isReactive:o},s)=>{let r=n,i=r[t]!==e.exports,a=r[t]!==s,c=s!==e.exports;if(i&&!a&&c&&(r[t]=e.exports),n===e.component){if(o){let p=e.component.manager;a&&p.W(e,r[t]),e.onUpdate(h=>{if(h.has(t)){let x=r[t];x!==e.exports&&p.W(e,x)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{r[t]!==e.exports&&(d?f(()=>{r[t]=e.exports}):r[t]=e.exports)})};var D=e=>_(void 0,e),Z=e=>n=>_(n,e),g=class extends O{constructor(n,t){super(n);let o=this.exports;try{C(this.component);let s=t(this.component,this),r=this.exports!==o;if(b(s)){r||this.setProvisionalExports(s);let i=s.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!r||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s),console.error(s)}}catchUpLifecycle(){}},_=L(g);var N=e=>(n={})=>D((t,o)=>{let s=y(t.el),r={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=t;o.onLifecycle(()=>E(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),a(i.messageOverrides)},n.name));let a=c=>{let l=o.exports,d=l._original??l,p=V(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in i&&o.onUpdate(c=>{c.has("messageOverrides")&&a(i.messageOverrides)}),n.blocking?(o.setProvisionalExports(r,!1),o.ready):r}),V=(e,n)=>{if(!n)return e;let t={...e};return Object.entries(n).forEach(([o,s])=>{typeof s=="object"?t[o]=V(e[o],s):t[o]=s??e[o]}),t};var se=N(w);export{Z as a,se as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
var a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];function f(t,n={}){let e;t===0?e=a.indexOf(n.unit||"KB"):n.unit?e=a.indexOf(n.unit):e=Math.min(Math.floor(Math.log10(t)/3),a.length-1);let r=Number.isInteger(n.round)?n.round:2,o=Math.pow(10,r);return t=t/Math.pow(1e3,e),t=Math.round(t*o)/o,t.toLocaleString(n.locale)+" "+a[e]}export{f as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as f,b as c,d as O}from"./IIYXGOTU.js";import{a as E,c as u}from"./UPA3NIBA.js";import{a as w}from"./GY6KUPFE.js";import{a as R}from"./HPLPS2JT.js";import{a as p}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import{a as g}from"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as o,c as D,d as y,e as b,i as v}from"./R3UDD63K.js";import{a as C}from"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";var j=":host{display:flex}:host calcite-input-date-picker{width:auto}",I=j,x=class{constructor(t){v(this,t),this.arcgisHubDateRangePickerSelect=b(this,"arcgisHubDateRangePickerSelect",7),this.hubTelemetry=b(this,"hubTelemetry",7),this.options=C(E),this.layout=void 0,this.value=void 0,this.min=void 0,this.max=void 0,this.selectedValue=void 0,this.customStartDate=void 0,this.customEndDate=void 0,R(this,"handleCalciteInputDatePickerRef")}handleSelectedValueChange(){this.isCustom&&(!this.customStartDate||!this.customEndDate)||(this.arcgisHubDateRangePickerSelect.emit({name:this.selectedValue,startDate:this.startDate,endDate:this.endDate}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.search.label.query),{details:this.selectedValue})))}handleCalciteDropdownOpen(){this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.dropdown),{details:"Date Range"}))}handleCalciteDrodownSelect(){this.selectedValue=this.dropdownEl.selectedItems[0].dataset.value}handleCalciteDatePickerRangeChange(){let[t,e]=Array.isArray(this.calciteInputDatePickerEl.valueAsDate)?this.calciteInputDatePickerEl.valueAsDate:[null,null];t&&(this.customStartDate=t),e&&(this.customEndDate=e)}setDropdownEl(t){this.dropdownEl=t}get isCustom(){return this.selectedValue==="custom"}get startDate(){var t;return(t=u(this.customStartDate,this.customEndDate)[this.selectedValue])===null||t===void 0?void 0:t.startDate}get endDate(){var t;return((t=u(this.customStartDate,this.customEndDate)[this.selectedValue])===null||t===void 0?void 0:t.endDate)||new Date}get _messageOverrides(){return{nextMonth:this.intl.t("nextMonth"),prevMonth:this.intl.t("previousMonth"),year:this.intl.t("year")}}async componentWillLoad(){var t;this.intl=await p.loadIntlForComponent(this.element),typeof this.value=="string"?(this.selectedValue=this.value,this.isCustom&&(this.customStartDate=null,this.customEndDate=null)):!((t=this.value)===null||t===void 0)&&t.length&&(this.selectedValue="custom",this.customStartDate=new Date(this.value[0]),this.customEndDate=new Date(this.value[1]))}handleCalciteInputDatePickerRef(t){if(this.calciteInputDatePickerEl=t,t&&t.shadowRoot&&!t.shadowRoot.querySelector("style[data-hub]")){let e=document.createElement("style");e.dataset.hub="",e.innerHTML=".menu-container { pointer-events: auto !important; }",t.shadowRoot.appendChild(e)}}get buttonText(){let{startDate:t,endDate:e}=this;return this.isCustom?null:`${this.intl.formatDate(t)} - ${this.intl.formatDate(e)}`}renderDropdown(){return o("calcite-dropdown",{ref:this.setDropdownEl.bind(this)},o("calcite-button",{appearance:"outline","icon-end":"chevron-down",kind:"neutral",label:this.intl.t("label",{dateRangeString:this.buttonText}),round:!this.isCustom,slot:"trigger"},this.buttonText),o("calcite-dropdown-group",{"group-title":this.intl.t("title"),"selection-mode":"single"},Object.keys(u()).reduce((t,e)=>(this.options.includes(e)&&t.push(o("calcite-dropdown-item",{"data-value":e,key:e,selected:e===this.selectedValue},this.intl.t(`${e}`))),t),[])))}render(){return o(D,{key:"7566bdb3f2d3f301d8843737c7ca943f26c2c478","data-element":"date-range-picker"},this.isCustom&&o("calcite-input-date-picker",{label:this.intl.t("inputDatePickerLabel"),lang:this.intl.locale,layout:this.layout||"horizontal",max:this.max,messageOverrides:this._messageOverrides,min:this.min,range:!0,ref:this.handleCalciteInputDatePickerRef,role:"application",valueAsDate:[this.customStartDate,this.customEndDate]}),this.renderDropdown())}static get assetsDirs(){return["locales"]}get element(){return y(this)}static get watchers(){return{selectedValue:["handleSelectedValueChange"],customStartDate:["handleSelectedValueChange"],customEndDate:["handleSelectedValueChange"]}}};x.style=I;var h;(function(t){t.sessions="sessions",t.referrers="referrers",t["page-views"]="page-views",t["session-activity"]="session-activity"})(h||(h={}));var k=":host{display:block}arcgis-telemetry-chart{height:100%}",V=k,q=function(t,e,s,i){var a=arguments.length,n=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,s):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,s,n):r(e,s))||n);return a>3&&n&&Object.defineProperty(e,s,n),n},P=class{constructor(t){v(this,t),this.context=void 0,this.telemetryContext={},this.type=void 0,this.reportTitle=void 0,this.titleTooltip=void 0,this.subtitle=void 0,this.trailingText=void 0,this.hostname=void 0,this.contentId=void 0,this.telemetryEvent=void 0,this.dimensionFilters=[],this.series=[],this.dataTransforms=[],this.category=void 0,this.startDate=void 0,this.endDate=void 0,this.orderBy=void 0,this.limit=void 0,this.dataLabel=void 0,this.data=[],this.aggregateData=[],this.error=void 0,this.isLoading=!0}onRequestParamsChange(){this.isLoading=!0,this.data=[],this.aggregateData=[],this.getReportData()}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),this.getReportData()}get dataTransformOptions(){return{seriesTransforms:this.seriesTransforms,dataTransforms:this.dataTransforms,requestParams:this.requestParams}}get isCustomEvent(){return this.telemetryEvent&&typeof this.telemetryEvent!="string"}get seriesTransforms(){let t={};return this.series.forEach(e=>{typeof e!="string"&&(t[e.name.toLowerCase()]=Object.assign(Object.assign({},e.title&&{title:e.title}),e.value&&{value:e.value}))}),t}get _dimensionFilters(){let t=[],e=[];this.contentId&&this.hostname&&(t=[{name:"contentId",any:[this.contentId]}]),this.isCustomEvent&&(e=O(this.telemetryEvent));let s=[...e,...t,...this.dimensionFilters];return s.length?s:void 0}get scope(){if(this.hostname)return{hostname:this.hostname};if(this.contentId)return{contentId:this.contentId}}get requestParams(){let t=this.getDimensions(this.telemetryEvent),e=this.getMetric(this.telemetryEvent);return Object.assign({scope:this.scope,startDate:this.startDate,endDate:this.endDate,timeDimension:this.category,orderBy:this.orderBy,limit:this.limit,dimensionFilters:this._dimensionFilters,emptyRows:!0,metrics:[e]},t.length&&{dimensions:t})}get requestOptions(){var t;return Object.assign(Object.assign({},this.context&&((t=this.context)===null||t===void 0?void 0:t.hubRequestOptions)),this.telemetryContext)}get _dataLabel(){var t;if(this.dataLabel)return this.dataLabel;{let e=(t=Object.entries(c).find(([s,i])=>i===this.getMetric(this.telemetryEvent)))===null||t===void 0?void 0:t[0];return this.intl.t(e)}}getMetric(t){let e={[h.sessions]:c.sessions,[h.referrers]:c["page-views"],[h["page-views"]]:c["page-views"],[h["session-activity"]]:c["session-activity"]};return!this.isCustomEvent&&e[t]||c.custom}getDimensions(t){let e={[h.referrers]:"referrer"},s=this.series.map(a=>typeof a=="string"?a:a.name),i=!this.isCustomEvent&&e[t];return i?[i,...s]:s}get shouldAggregateData(){return!!this.category&&this.type==="metric"}async getReportData(){var t;let{endDate:e,metrics:s,scope:i,startDate:a}=this.requestParams;if(this.context&&i&&a&&e&&!!s.length){try{let{requestParams:r,requestOptions:l}=this,d=await Promise.all([f(r,l),this.shouldAggregateData?f(Object.assign(Object.assign({},r),{orderBy:void 0,timeDimension:void 0}),l):void 0]);this.data=d[0].data,this.aggregateData=(t=d[1])===null||t===void 0?void 0:t.data,this.error=void 0}catch(r){this.error=r.toString()}this.isLoading=!1}}get childComponentProps(){let{aggregateData:t,category:e,data:s,error:i,isLoading:a,dataTransformOptions:n,reportTitle:r,subtitle:l,titleTooltip:d,trailingText:T,type:S,_dataLabel:_}=this,m=Object.assign(Object.assign({category:e,data:s,dataLabel:_,error:i,isLoading:a,options:n,reportTitle:r,subtitle:l},e&&{timeLabel:this.intl.t(e)}),{titleTooltip:d,trailingText:T,type:S});return this.shouldAggregateData&&(m.data=t,m.binnedData=s),m}get isChart(){return["bar","line"].includes(this.type)}render(){let t=this.isChart?"arcgis-telemetry-chart":`arcgis-telemetry-${this.type}`;return o(D,{key:"547a0b527e4e74b3a684006019ab36244083730c","data-element":"telemetry-report"},o(t,Object.assign({key:"8371080d8f200c7af6c754c729a67794cfa402fb"},this.childComponentProps)))}static get assetsDirs(){return["locales"]}get element(){return y(this)}static get watchers(){return{context:["onRequestParamsChange"],startDate:["onRequestParamsChange"],endDate:["onRequestParamsChange"],telemetryEvent:["onRequestParamsChange"]}}};q([w({timeout:10})],P.prototype,"getReportData",null);P.style=V;export{x as arcgis_hub_date_range_picker,P as arcgis_telemetry_report};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as g}from"./GJAEHYE4.js";import"./FI5UDICX.js";import{a as m}from"./MV2M3HY3.js";import{a as u}from"./HTZBMGZB.js";import{a as n}from"./66MNGXO2.js";import"./ZWJDK2SI.js";import"./POSE46MR.js";import"./AHCRPC4L.js";import"./W2LTU3DO.js";import"./JROPFWVO.js";import"./HXFOP2HN.js";import"./ZU5IVBV6.js";import"./OM2AIPKK.js";import"./JHSP6XRD.js";import"./34J3TQKS.js";import"./FBEQKPKM.js";import"./VZVFI7FI.js";import"./CPVBXDV3.js";import"./FNKVLB56.js";import"./7BDUBIPO.js";import"./5YNDBWGJ.js";import"./ZR7JG3DG.js";import"./6VM7QTQ2.js";import"./YYXOEJN2.js";import"./7VWOND6G.js";import"./XXBHRWNS.js";import"./KRBJZ6SW.js";import"./2PX3UZJ2.js";import"./ZRA6E7AP.js";import"./REJ63WP2.js";import"./XY3C2SW5.js";import"./FI73S54G.js";import"./MKY364EQ.js";import"./ADIPQ4VU.js";import"./OHH4J4SV.js";import"./OYGVQKRA.js";import"./WXVNSK2H.js";import"./6NHDVAJQ.js";import"./SPW4XUMU.js";import"./GOEU3WDV.js";import"./BH42DFEL.js";import"./KKBEYANH.js";import"./7Z45QN5N.js";import"./EHVFG76R.js";import"./EBMDUFBM.js";import"./RZJY53OX.js";import"./CZ3OVKO7.js";import"./JPS3MCG6.js";import"./FU65EZAN.js";import{b as p}from"./4TTEQZAD.js";import"./DGF5R54L.js";import"./P7GO3LRW.js";import"./3A36DIUD.js";import"./3WS6AQFV.js";import"./MMW34LVS.js";import"./PA5B54YV.js";import"./3K4IN7S2.js";import"./3MLL52K7.js";import"./WANC2VLR.js";import"./XZSY5FUG.js";import"./ZKYQWQWD.js";import"./Z7HE7FPN.js";import"./VF6AXDQV.js";import"./MYFRO3H3.js";import"./APZRVZOS.js";import"./RTWSGMSN.js";import"./LTXRBE7M.js";import"./RTSZ536G.js";import"./VFHFDAOP.js";import"./R2PVK5UN.js";import"./SBAMIHLH.js";import{a as i}from"./CZQYMDPB.js";import{c as b,j as M}from"./BAR5PEE5.js";import"./EDM6FN6X.js";import"./7XE5OD45.js";import"./LZFZCIGH.js";import"./S6RKOVKR.js";import"./FR3JKRZI.js";import"./6DE6RSTD.js";import"./TG6ZEHWY.js";import"./IMVDVU5J.js";import"./BHDPDSAP.js";import"./RFRK7Y2N.js";import"./IJMPHCXA.js";import{a as f}from"./HPLPS2JT.js";import{a as h}from"./QQOSTJKE.js";import"./NDKJHAOK.js";import"./TC46RBXP.js";import"./OFED3QPZ.js";import"./AST5IXCY.js";import{b as a,c as v,d as C,i as y}from"./R3UDD63K.js";import{a as l}from"./2S6OYEYO.js";import{a as d}from"./PE2EEIM5.js";import"./DQUQ24IX.js";import"./S5RPR2FS.js";import"./I5WZ5BPU.js";function _(e){try{return JSON.parse(p(e))}catch(r){l.error("could not parse prop JSON",r)}}var R=new Error("Timeout"),S=(e,r)=>{let t,o=r*1e3;return Promise.race([e,new Promise((s,c)=>t=setTimeout(c,o,R))]).finally(()=>clearTimeout(t))},T=":host{display:block}",L=T,w=class{constructor(e){y(this,e),this.metric=void 0,this.encodedMetric=void 0,this.cardConfig=void 0,this.encodedCardConfig=void 0,this.headingLevel=2,this.resolvedMetric=void 0,this.errorMessage=void 0,this.isLoading=!1,this._context=b(),f(this,"beginResolveMetric")}connectedCallback(){M(this)}disconnectedCallback(){this.disconnectContext()}async resolveMetric(){var e;let r=this.encodedMetric?_(this.encodedMetric):this.prepareMetric(this.metric);this.verifyCompleteSource(r)&&this._context?this.resolvedMetric=await this.resolveMetricWithTimeout(r,this._context,(e=this._cardConfig)===null||e===void 0?void 0:e.serverTimeout):(console.info("Incomplete metric source."),this.resolvedMetric=void 0,this.isLoading=!1)}beginResolveMetric(){this.isLoading=!0,this.resolveMetric()}componentWillLoad(){this.beginResolveMetric(),this.intl=h.getIntlForComponent(this.element)}async resolveMetricWithTimeout(e,r,t){let o;try{o=t&&!isNaN(t)?await S(n(e,r),t):await n(e,r),this.errorMessage=void 0}catch(s){s==R?(this.errorMessage={premadeType:m.timeout},console.error("Timeout error")):(console.error("Error resolving metric: ",s),this.errorMessage={premadeType:m.generic})}return this.isLoading=!1,o}verifyCompleteSource(e){let r=!1;if(e?.source){let{type:t}=e.source;t==="static-value"?r=this.verifyStaticQuery(e.source):t==="service-query"&&(r=this.verifyServiceQuery(e.source))}return r}verifyStaticQuery(e){let{value:r,type:t}=e;return!i(r)&&!i(t)}verifyServiceQuery(e){let{type:r,serviceUrl:t,layerId:o,field:s,statistic:c}=e;return s&&!i(r)&&!i(t)&&!i(o)&&!i(s)&&!i(c)}prepareMetric(e){let r=d(e);if(r?.source&&r.source.where){let t=r.source;t.where=decodeURIComponent(t.where)}return r}get cardComponent(){return{"stat-card":"arcgis-stat-card"}[this._cardConfig.displayType]||"arcgis-stat-card"}get _cardConfig(){let e={metricId:"",displayType:"stat-card"};return this.cardConfig?e=this.cardConfig:this.encodedCardConfig&&(e=_(this.encodedCardConfig)),e}render(){let e=g(this.resolvedMetric,this._cardConfig,this.intl),r=this.cardComponent;return a(v,{key:"3df3385e7e8dff3dd495ee2d89a58f96ca299a6a","data-element":"metrics-card"},a(u,{key:"9b1f0c201401a26e242697fce59d8e6d29bcf5f6",context:{element:this.element,shareable:this._cardConfig.shareable,shareableOnHover:this._cardConfig.shareableOnHover,shareableByReference:this._cardConfig.shareableByReference,shareableByValue:this._cardConfig.shareableByValue},showShareUi:!0},a(r,Object.assign({key:"5bf4cbb608440a2bf3cd40b631d8eef66f3c6a05",errorMessage:this.errorMessage,headingLevel:this.headingLevel},e,{isLoading:this.isLoading}))))}get element(){return C(this)}static get watchers(){return{metric:["beginResolveMetric"],encodedMetric:["beginResolveMetric"],_context:["beginResolveMetric"]}}};w.style=L;export{w as arcgis_hub_metric_card};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as p}from"./7BHZELPW.js";import{a as R}from"./3XUTMVJA.js";import{b as x}from"./D2YWYQGZ.js";import{a as y}from"./7VWOND6G.js";import{a as h}from"./REJ63WP2.js";import{b as I,c as g,d as c,f as b}from"./WXVNSK2H.js";import{a as m}from"./3WS6AQFV.js";import{b as d,h as f}from"./MYFRO3H3.js";import{j as w}from"./RTSZ536G.js";function j(e,t,s,a,o){let r=[],n=1,i=0;for(;i<e.size;)r.push(Object.assign({file:e.slice(i,i+a,e.type),owner:t,id:s,partNum:n},o)),n+=1,i+=a;return r.reverse()}async function U(e,t){let s=e.file;e=Object.assign({},e),delete e.file;let a=await c(Object.assign({item:e,filename:s.name,async:!0,multipart:!0,overwrite:!0},t)),o=a.id;try{let n=j(s,e.owner,o,6e6,t);await y(n,async i=>{if(!(await I(i)).success)throw new Error("addItemPart failed")},5),e.extent&&f(e.extent)&&(e.extent=d(e.extent)),await b(Object.assign({id:o,item:e,owner:e.owner},t))}catch(r){throw await g(Object.assign({id:o,owner:e.owner},t)),r}return a}async function O(e,t){return await c(Object.assign({item:e,owner:e.owner,file:e.file,dataUrl:e.dataUrl,text:e.text,multipart:e.multipart,async:e.async},t))}function S(e){return new Promise(t=>setTimeout(t,e))}async function v(e,t,s){let a;do if(await S(s||2e3),a=await w(Object.assign({id:e},t)),a.status==="failed")throw new Error(a.statusMessage);while(a.status!=="completed")}async function W(e){let{item:t,groups:s}=e,a=h(e,["item","groups"]),o=t.dataUrl||t.file,r,n,i;if(t.file?r=await U(t,a):r=await O(t,a),o&&await v(r.id,a),t.access!=="private"&&(n=await R(Object.assign({id:r.id,owner:t.owner,access:t.access},a))),s?.length){let l=m(x);i=await Promise.all(s.map(u=>l(Object.assign({id:r.id,owner:t.owner,groupId:u.id,confirmItemControl:p(u)},a))))}return{title:t.title,createdItem:r,itemAccessResponse:n,itemSharingResponse:i}}export{U as a,O as b,W as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import"./I5WZ5BPU.js";var a="Do\u0161lo je do pogre\u0161ke tijekom u\u010Ditavanja grafikona.",e="Ne mo\u017Ee se primijeniti transformacija dnevnika na negativne ili nulte vrijednosti.",i="Ne mo\u017Ee se primijeniti transformacija kvadratnog korijena na negativne vrijednosti.",o="Do\u0161lo je do pogre\u0161ke tijekom u\u010Ditavanja sloja. URL = ${ url }. Id stavke portala = ${ portalItemId }.",r="Polja [${ fieldNames }] koja su definirana u konfiguraciji nisu prona\u0111ena u sloju.",t="${ dataPath } mora biti jedinstveno. Serija naziva ${ seriesName } ima ID (${ seriesID }) koji ve\u0107 koristi druga serija.",n="${ dataPath } ne mo\u017Ee izvoditi nebrojeno agregiranje na ne-numeri\u010Dkom polju.",s="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",d="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",m="${ dataPath } ne smije imati manje od ${ limit } stavki.",l="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",u="${ dataPath } mora imati barem jedan znak koji nije razmak.",j="${ dataPath } ne smije imati ${ additionalProperty }.",p="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",v="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",g="Raspr\u0161eni grafikoni s proporcionalnim simbolima nisu podr\u017Eani. Primijenjena je zadana veli\u010Dina simbola.",k="Nije uspjelo \u010Ditanje ulaznih podataka.",$="Radnja queryBins nije podr\u017Eana u sklopu ove usluge.",h="O\u010Dekivana vrsta serije po indeksu je ${ seriesIndex } je '${ expectedType }' ali primljeno je '${ receivedType }' umjesto toga",y="ili",P={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:i,layerLoadFailure:o,layerFieldsNotFound:r,duplicateSeriesID:t,nonNumericAggregation:n,requiredProperty:s,minLength:d,minItems:m,maxItems:l,whiteSpacePattern:u,additionalProperty:j,enumValues:p,anyOfValues:v,bubbleChartValidateMsg:g,queryError:k,queryBinsNotSupported:$,invalidSeriesType:h,or:"ili"};export{j as additionalProperty,v as anyOfValues,g as bubbleChartValidateMsg,P as default,a as defaultError,t as duplicateSeriesID,p as enumValues,h as invalidSeriesType,r as layerFieldsNotFound,o as layerLoadFailure,l as maxItems,m as minItems,d as minLength,e as negativeValueInDataForLogTransformation,i as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,y as or,$ as queryBinsNotSupported,k as queryError,s as requiredProperty,u as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as m}from"./B2R2MIEZ.js";import{b as g}from"./VFAPXQKI.js";import{b as p}from"./KQEK43HI.js";import{a as r}from"./UTVH4LLV.js";import{f as a}from"./TE2XW7QM.js";import"./BJM64HCL.js";import"./XWASMXGR.js";import{C as n,D as i,E as c,I as u,d as s,p as l}from"./V4TM3IDY.js";import"./I5WZ5BPU.js";var e=class extends n{constructor(){super(...arguments),this.debug=!1,this.isEditMode=!1}static{this.properties={node:0,activatedNode:0,utils:0,debug:5,isEditMode:5}}static{this.shadowRootOptions=l}_getChildClasses(o){return g(o)}render(){let{debug:o,utils:h}=this;return(this.node.children??[]).map(t=>{let{id:d}=t;if(!p(t)){a.warn(`Child with id ${d} in arcgis-layout-section is not a row.`);return}try{return r(t.id,s`<arcgis-layout-row class=${i(this._getChildClasses(t).join(" "))} .activatedNode=${this.activatedNode} .debug=${o} .isEditMode=${this.isEditMode} .node=${t} .utils=${h} style=${c(t.styles)} .role=${t.rowProps?.role} .ariaLabel=${t.rowProps?.ariaLabel} ${m(t.properties??{})}></arcgis-layout-row>`)}catch(w){return a.error(`Error rendering row with id ${d} in arcgis-hub-layout-row:`,w),r(t.id,s`<arcgis-layout-row class=${i({"layout-error":o})} .debug=${o} .node=${{id:t.id,tag:"arcgis-layout-row"}}></arcgis-layout-row>`)}})}};u("arcgis-layout-section",e);export{e as ArcgisLayoutSection};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{a as n}from"./TXCUF56P.js";import{a as p}from"./EAOJJP3Q.js";import{a as u}from"./3XUTMVJA.js";import{a as i}from"./FBEQKPKM.js";import{r as o}from"./2PX3UZJ2.js";import{a as r}from"./TG6ZEHWY.js";async function b(a,s){let t=r(a),e;switch(t){case"event":e=await n(a.id,s);break;default:e=await p(a.id,s.requestOptions);break}return e}async function h(a,s,t){switch(r(a)){case"event":await o(Object.assign({eventId:a.id,data:{access:s.toUpperCase()}},t.hubRequestOptions));break;case"group":await i({group:{id:a.id,access:s},authentication:t.session});break;default:await u({id:a.id,access:s,owner:a.owner,authentication:t.session});break}}export{b 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.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{b as l}from"./KQEK43HI.js";function d(t,r){if(!(!r.sections||r.sections.length===0)){for(let s of r.sections)if(s.children){for(let c of s.children)if(c.children){for(let e of c.children)if(e.children)for(let n=0;n<e.children.length;n++){let i=e.children[n];if(i.id===t.id)return{column:e,index:n,isFirstInColumn:n===0,isLastInColumn:n===e.children.length-1};if(i.tag==="arcgis-nav-card"){let o=i.properties?.sections,f=d(t,{sections:o||[]});if(f)return f}if(l(i)&&i.children){let o=d(t,{sections:[{children:[i]}]});if(o)return o}}}}}}export{d as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{n as c}from"./POSE46MR.js";import{b as s}from"./R2PVK5UN.js";import{h as e}from"./SBAMIHLH.js";function g(r){let o=`${s(r)}/community/groups/${r.id}/join`;return e(o,r)}function f(r){let o=`${s(r)}/community/groups/${r.id}/leave`;return e(o,r)}async function l(r,o,i){let t;try{return t=await c(o,r,i),t.followersGroupId}catch(n){throw new Error(`Error fetching entity followers group ID: ${n}`)}}async function w(r,o,i,t){let n;return typeof r=="string"?n=await l(r,i,t):n=r.followersGroupId,!!o.groups.find(a=>a.id===n)}async function y(r,o,i,t){if(await w(r,o,i,t))return Promise.reject("User is already following this entity.");let u=await l(r,i,t);try{return await g({id:u,authentication:t.hubRequestOptions.authentication}),{success:!0,username:o.username}}catch(a){throw new Error(`Error joining group: ${a}`)}}async function E(r,o,i,t){if(!await w(r,o,i,t))return Promise.reject("User is not following this entity.");let u=await l(r,i,t);try{return await f({id:u,authentication:t.hubRequestOptions.authentication}),{success:!0,username:o.username}}catch(a){throw new Error(`Error leaving group: ${a}`)}}export{l as a,w as b,y as c,E as d};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{c as ut,e as lt}from"./I5WZ5BPU.js";var pt={};lt(pt,{__addDisposableResource:()=>Ge,__assign:()=>O,__asyncDelegator:()=>ve,__asyncGenerator:()=>$e,__asyncValues:()=>je,__await:()=>N,__awaiter:()=>_e,__classPrivateFieldGet:()=>Ce,__classPrivateFieldIn:()=>Ne,__classPrivateFieldSet:()=>De,__createBinding:()=>Y,__decorate:()=>de,__disposeResources:()=>Me,__esDecorate:()=>xe,__exportStar:()=>Ie,__extends:()=>pe,__generator:()=>Te,__importDefault:()=>Ae,__importStar:()=>Pe,__makeTemplateObject:()=>Ue,__metadata:()=>Ee,__param:()=>ge,__propKey:()=>we,__read:()=>oe,__rest:()=>B,__rewriteRelativeImportExtension:()=>Fe,__runInitializers:()=>be,__setFunctionName:()=>ye,__spread:()=>ke,__spreadArray:()=>Se,__spreadArrays:()=>Re,__values:()=>V,default:()=>ft});function pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");re(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function B(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function de(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,r,o):s(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function ge(e,t){return function(r,n){t(r,n,e)}}function xe(e,t,r,n,i,o){function s(x){if(x!==void 0&&typeof x!="function")throw new TypeError("Function expected");return x}for(var a=n.kind,m=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?n.static?e:e.prototype:null,p=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),g,y=!1,d=r.length-1;d>=0;d--){var u={};for(var f in n)u[f]=f==="access"?{}:n[f];for(var f in n.access)u.access[f]=n.access[f];u.addInitializer=function(x){if(y)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(x||null))};var b=(0,r[d])(a==="accessor"?{get:p.get,set:p.set}:p[m],u);if(a==="accessor"){if(b===void 0)continue;if(b===null||typeof b!="object")throw new TypeError("Object expected");(g=s(b.get))&&(p.get=g),(g=s(b.set))&&(p.set=g),(g=s(b.init))&&i.unshift(g)}else(g=s(b))&&(a==="field"?i.unshift(g):p[m]=g)}l&&Object.defineProperty(l,n.name,p),y=!0}function be(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function we(e){return typeof e=="symbol"?e:"".concat(e)}function ye(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ee(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function _e(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(p){try{l(n.next(p))}catch(g){s(g)}}function m(p){try{l(n.throw(p))}catch(g){s(g)}}function l(p){p.done?o(p.value):i(p.value).then(a,m)}l((n=n.apply(e,t||[])).next())})}function Te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return m([l,p])}}function m(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ie(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Y(t,e,r)}function V(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(oe(arguments[t]));return e}function Re(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function Se(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function N(e){return this instanceof N?(this.v=e,this):new N(e)}function $e(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(d){return function(u){return Promise.resolve(u).then(d,g)}}function a(d,u){n[d]&&(i[d]=function(f){return new Promise(function(b,x){o.push([d,f,b,x])>1||m(d,f)})},u&&(i[d]=u(i[d])))}function m(d,u){try{l(n[d](u))}catch(f){y(o[0][3],f)}}function l(d){d.value instanceof N?Promise.resolve(d.value.v).then(p,g):y(o[0][2],d)}function p(d){m("next",d)}function g(d){m("throw",d)}function y(d,u){d(u),o.shift(),o.length&&m(o[0][0],o[0][1])}}function ve(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(s){return(r=!r)?{value:N(e[i](s)),done:!1}:o?o(s):s}:o}}function je(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof V=="function"?V(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(s){return new Promise(function(a,m){s=e[o](s),i(a,m,s.done,s.value)})}}function i(o,s,a,m){Promise.resolve(m).then(function(l){o({value:l,done:a})},s)}}function Ue(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Pe(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ne(e),n=0;n<r.length;n++)r[n]!=="default"&&Y(t,e,r[n]);return mt(t,e),t}function Ae(e){return e&&e.__esModule?e:{default:e}}function Ce(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function De(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function Ne(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function Ge(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}function Me(e){function t(o){e.error=e.hasError?new ht(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(s){return t(s),i()})}else n|=1}catch(s){t(s)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function Fe(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,s){return n?t?".jsx":".js":i&&(!o||!s)?r:i+o+"."+s.toLowerCase()+"js"}):e}var re,O,Y,mt,ne,ht,ft,Le=ut(()=>{re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},re(e,t)};O=function(){return O=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},O.apply(this,arguments)};Y=Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]});mt=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},ne=function(e){return ne=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},ne(e)};ht=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};ft={__extends:pe,__assign:O,__rest:B,__decorate:de,__param:ge,__esDecorate:xe,__runInitializers:be,__propKey:we,__setFunctionName:ye,__metadata:Ee,__awaiter:_e,__generator:Te,__createBinding:Y,__exportStar:Ie,__values:V,__read:oe,__spread:ke,__spreadArrays:Re,__spreadArray:Se,__await:N,__asyncGenerator:$e,__asyncDelegator:ve,__asyncValues:je,__makeTemplateObject:Ue,__importStar:Pe,__importDefault:Ae,__classPrivateFieldGet:Ce,__classPrivateFieldSet:De,__classPrivateFieldIn:Ne,__addDisposableResource:Ge,__disposeResources:Me,__rewriteRelativeImportExtension:Fe}});Le();function Q(e){return Object.keys(e).some(t=>{let r=e[t];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function X(e){let t={};return Object.keys(e).forEach(r=>{var n,i;let o=e[r];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let s=o.constructor.name,a;switch(s){case"Array":let m=(i=(n=o[0])===null||n===void 0?void 0:n.constructor)===null||i===void 0?void 0:i.name;a=m==="Array"?o:m==="Object"?JSON.stringify(o):o.join(",");break;case"Object":a=JSON.stringify(o);break;case"Date":a=o.valueOf();break;case"Function":a=null;break;case"Boolean":a=o+"";break;default:a=o;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(t[r]=a)}),t}function ze(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(r=>ze(e,r)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function j(e){let t=X(e);return Object.keys(t).map(r=>ze(r,t[r])).join("&")}var Je=globalThis.FormData,Ct=globalThis.File,Dt=globalThis.Blob;function We(e,t){let r=Q(e)||t,n=X(e);if(r){let i=new Je;return Object.keys(n).forEach(o=>{if(typeof Blob<"u"&&n[o]instanceof Blob){let s=n.fileName||n[o].name||o;i.append(o,n[o],s)}else i.append(o,n[o])}),i}else return j(e)}var S=class extends Error{constructor(t,r,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),t=t||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?t:`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var dt={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},ie="ARCGIS_REST_JS_NO_CORS";globalThis[ie]||(globalThis[ie]=Object.assign({},dt));var _=globalThis[ie];function He(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let r=t.origin;return _.pendingNoCorsRequests[r]?_.pendingNoCorsRequests[r]:(_.pendingNoCorsRequests[r]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r),_.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete _.pendingNoCorsRequests[r]}).catch(n=>(delete _.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),_.pendingNoCorsRequests[r])}function Ke(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?se(t):(se("http://"+t),se("https://"+t))})}function se(e){let r=new URL(e).origin;_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r)}function ae(e){let t=!1;if(_.noCorsDomains.length){let r=new URL(e).origin.toLowerCase();t=_.noCorsDomains.some(n=>r.includes(n))}return t}function Oe(e){let t=!1;if(ae(e)){let r=new URL(e).origin.toLowerCase(),n=_.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(t=!0)}return t}function $(e){console&&console.warn&&console.warn.apply(console,[e])}function Ve(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function Be(e,t){var r;if(!t&&!window||!e)return!1;{t=t||window;let n=(r=t.location)===null||r===void 0?void 0:r.origin;return e.startsWith(n)}}var ce="@esri/arcgis-rest-js";function gt(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends S{constructor(t="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,i,o){super(t,r,n,i,o),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?t:`${r}: ${t}`;let s=new.target.prototype;Object.setPrototypeOf(this,s)}retry(t,r=1){let n=0,i=(o,s)=>{n=n+1,t(this.url,this.options).then(a=>{let m=Object.assign(Object.assign({},this.options),{authentication:a});return Ye(this.url,m)}).then(a=>{o(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<r?i(o,s):a.name===this.name&&a.message===this.message&&n>=r?s(this):s(a)})};return new Promise((o,s)=>{i(o,s)})}};function xt(e,t,r,n,i){if(e.code>=400){let{message:o,code:s}=e;throw new S(o,s,e,t,n)}if(e.error){let{message:o,code:s,messageCode:a}=e.error,m=a||s||"UNKNOWN_ERROR_CODE";throw s===498||s===499?i||new A(o,m,e,t,n):new S(o,m,e,t,n)}if(e.status==="failed"||e.status==="failure"){let o,s="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,s=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new S(o,s,e,t,n)}return e}function Ye(e,t){let r=gt(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),t),{params:Object.assign(Object.assign({},r.params),t.params),headers:Object.assign(Object.assign({},r.headers),t.headers)}),{httpMethod:i,rawResponse:o}=n,s=Object.assign({f:"json"},n.params),a=null,m={method:i,signal:n.signal,credentials:n.credentials||"same-origin"};ae(e)&&(m.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let l;if(typeof n.authentication=="string"){let u=n.authentication;l={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(u)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&($("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else l=n.authentication;let p=e,g=!1;typeof window<"u"&&(g=Be(e));let y=!g&&Oe(e);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let d=Promise.resolve();return y&&(m.credentials="include",d=He(e)),d.then(()=>l?l.getToken(e).catch(u=>(u.url=e,u.options=n,a=u,Promise.resolve(""))):Promise.resolve("")).then(u=>{u.length&&(s.token=u),l&&l.getDomainCredentials&&(m.credentials=l.getDomainCredentials(e));let f={};if(m.method==="GET"){s.token&&n.hideToken&&typeof window>"u"&&(f["X-Esri-Authorization"]=`Bearer ${s.token}`,delete s.token);let R=j(s)===""?e:e+"?"+j(s);n.maxUrlLength&&R.length>n.maxUrlLength||!n.maxUrlLength&&R.length>2e3||s.token&&n.hideToken?(m.method="POST",u.length&&n.hideToken&&(s.token=u,delete f["X-Esri-Authorization"])):e=R}let b=new RegExp("/items/.+/updateResources").test(e);return m.method==="POST"&&(m.body=We(s,b)),m.headers=Object.assign(Object.assign({},f),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!m.headers.referer&&(m.headers.referer=ce),!Q(s)&&!b&&(m.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,m):Ve().then(({fetch:x})=>x(e,m))}).then(u=>{if(!u.ok)return u.json().then(f=>{let{status:b,statusText:x}=u,{message:R,details:D}=f.error,P=`${R}. ${D?D.join(" "):""}`.trim();throw new S(P,`HTTP ${b} ${x}`,f,e,n)}).catch(f=>{if(f.name==="ArcGISRequestError")throw f;let{status:b,statusText:x}=u;throw new S(x,`HTTP ${b}`,u,e,n)});if(o)return u;switch(s.f){case"json":return u.json();case"geojson":return u.json();case"html":return u.text();case"text":return u.text();default:return u.blob()}}).then(u=>{if((s.f==="json"||s.f==="geojson")&&!o){let f=xt(u,p,s,n,a);if(u&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(u.authorizedCrossOriginNoCorsDomains)&&Ke(u.authorizedCrossOriginNoCorsDomains),a){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return f}else return u})}function c(e,t={params:{f:"json"}}){let{request:r}=t,n=B(t,["request"]);return r?r(e,n):Ye(e,n).catch(i=>i instanceof A&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function U(e,t,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],i=Object.assign(Object.assign({params:{}},r),e);return i.params=t.reduce((o,s)=>((e[s]||typeof e[s]=="boolean"||typeof e[s]=="number"&&e[s]===0)&&(o[s]=e[s]),o),i.params),n.reduce((o,s)=>(i[s]&&(o[s]=i[s]),o),{})}var T;(function(e){e.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",e.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",e.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",e.NOT_FEDERATED="NOT_FEDERATED",e.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(T||(T={}));var I=class extends Error{constructor(t="UNKNOWN_ERROR",r=T.UNKNOWN_ERROR_CODE,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),this.name="ArcGISTokenRequestError",this.message=`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var z=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};function w(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function bt(e){let[t,r]=e.split("=");return{key:decodeURIComponent(t),value:decodeURIComponent(r)}}function Qe(e){return!e||e.length<=0?{}:e.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((t,r)=>{let{key:n,value:i}=bt(r);return t[n]=i,t},{})}var Xe;(function(e){e.ArcGISRequestError="ArcGISRequestError",e.ArcGISAuthError="ArcGISAuthError",e.ArcGISAccessDeniedError="ArcGISAccessDeniedError",e.ArcGISTokenRequestError="ArcGISTokenRequestError"})(Xe||(Xe={}));var Ze=300*1e3;function G(e,t){let r=t;return r.rawResponse=!1,c(e,r).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:t.params.username,expires:new Date(n.expires)};let i={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-Ze),ssl:n.ssl===!0};return n.refresh_token&&(i.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(i.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-Ze)),i})}var M=class{constructor(t){this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this._username=t.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(t=>t.username)}getUser(t){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(r,n).then(i=>(this._user=i,this._pendingUserRequest=null,i)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var Z=/^https?:\/\/(\S+)\.arcgis\.com.+/;function qe(e){return Z.test(e)}function wt(e){if(!Z.test(e))return e;switch(ue(e)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function ue(e){if(!Z.test(e))return null;let r=e.match(Z)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function et(e,t){let r=w(wt(t)).replace(/https?:\/\//,""),n=w(e).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function tt(e,t){let r=qe(e),n=qe(t),i=ue(e),o=ue(t);return!!(r&&n&&i===o)}function rt(e,t,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return c(n,{method:"POST",params:{f:"json",client_id:t,token:e}})}function nt(e){let t=`${w(e.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=e.token,n=e.clientId;delete e.portal,delete e.clientId,delete e.token;let i=Object.assign(Object.assign({},e),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return c(t,i).then(o=>{if(!o.success)throw new S("Unable to revoke token",500,o,t,i);return o})}function q(e,t=window){return!t&&window&&(t=window),t.btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function ot(e,t=window){if(!t&&window&&(t=window),e&&t.isSecureContext&&t.crypto&&t.crypto.subtle){let n=new t.TextEncoder().encode(e);return t.crypto.subtle.digest("SHA-256",n).then(i=>q(new Uint8Array(i),t))}return Promise.resolve(null)}function ee(e){!e&&window&&(e=window);let t=e.crypto.getRandomValues(new Uint8Array(32));return q(t)}function it(e,t){return typeof e=="string"?e:typeof e=="object"?e.id:ee(t)}function st(e,t,r){return JSON.stringify(typeof t=="string"||!t?{id:e,originalUrl:r}:Object.assign({id:e},t))}function yt(e){return typeof e.userId=="string"||typeof e.expires=="number"}var v=class e extends M{constructor(t){if(super(t),this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.server=t.server,this.referer=t.referer,this.state=t.state,this.federatedServers={},this.trustedDomains=[],t.server){let r=this.getServerRootUrl(t.server);this.federatedServers[r]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(t,r){!r&&window&&(r=window);let{portal:n,provider:i,clientId:o,expiration:s,redirectUri:a,popup:m,popupWindowFeatures:l,locale:p,params:g,style:y,pkce:d,state:u}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},t),f=it(u,r),b=`ARCGIS_REST_JS_AUTH_STATE_${o}`;r.localStorage.setItem(b,f);let x=`${w(n)}/oauth2/authorize`,R={client_id:o,response_type:d?"code":"token",expiration:s,redirect_uri:a,state:st(f,u,r.location.href),locale:p,style:y};i!=="arcgis"&&(x=`${w(n)}/oauth2/social/authorize`,R.socialLoginProviderName=i,R.autoAccountCreateForSocial=!0);let D;if(d){let P=ee(r),K=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`;r.localStorage.setItem(K,P),D=ot(P,r).then(function(E){R.code_challenge_method=E?"S256":"plain",R.code_challenge=E||P})}else D=Promise.resolve();return D.then(()=>{if(x=`${x}?${j(R)}`,g&&(x=`${x}&${j(g)}`),m)return new Promise((P,K)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${o}`,E=>{if(E.detail.error==="access_denied"){let L=new z;return K(L),L}if(E.detail.errorMessage){let L=new A(E.detail.errorMessage,E.detail.error);return K(L),L}P(new e({clientId:o,portal:n,ssl:E.detail.ssl,token:E.detail.token,tokenExpires:E.detail.expires,username:E.detail.username,refreshToken:E.detail.refreshToken,refreshTokenExpires:E.detail.refreshTokenExpires,redirectUri:a,state:E.detail.state}))},{once:!0}),r.open(x,"oauth-window",l),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=x})}static completeOAuth2(t,r){!r&&window&&(r=window);let{portal:n,clientId:i,popup:o,pkce:s,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},t),m=`ARCGIS_REST_JS_AUTH_STATE_${i}`,l=r.localStorage.getItem(m),p=Qe(s?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),g=p&&p.state?JSON.parse(p.state):void 0;function y(u,f,b){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:{error:f,errorMessage:u}})),r.close();return}return b&&r.history.replaceState(r.history.state,"",b),f==="access_denied"?Promise.reject(new z):Promise.reject(new A(u,f))}function d(u,f){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:Object.assign(Object.assign({},u),{state:f})})),r.close();return}return f.originalUrl&&r.history.replaceState(r.history.state,"",f.originalUrl),new e({clientId:i,portal:n,ssl:u.ssl,token:u.token,tokenExpires:u.expires,username:u.username,refreshToken:u.refreshToken,refreshTokenExpires:u.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,""),state:f})}if(!l||!g)return y("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(g.id!==l)return y("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let u=p.error,f=p.error_description||"Unknown error";return y(f,u,g.originalUrl)}if(s&&p.code){let u=w(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${i}`,b=r.localStorage.getItem(f);return r.localStorage.removeItem(f),G(u,{httpMethod:"POST",params:{client_id:i,code_verifier:b,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(x=>d(Object.assign(Object.assign({},x),g),g)).catch(x=>y(x.originalMessage,x.code,g.originalUrl))}return!s&&p.access_token?Promise.resolve(d(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},g),g)):y("Unknown error","oauth-error",g.originalUrl)}static fromParent(t,r){!r&&window&&(r=window);let n;return new Promise((i,o)=>{n=s=>{if(s.source===r.parent&&s.data)try{return i(e.parentMessageHandler(s))}catch(a){return o(a)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},t)}).then(i=>(r.removeEventListener("message",n,!1),i))}static authorize(t,r){let{portal:n,clientId:i,expiration:o,redirectUri:s,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},t),m={client_id:i,expiration:o,response_type:"code",redirect_uri:s};a&&(m.state=a);let l=`${n}/oauth2/authorize?${j(m)}`;r.writeHead(301,{Location:l}),r.end()}static exchangeAuthorizationCode(t,r){let{portal:n,clientId:i,redirectUri:o}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},t);return G(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:i,redirect_uri:o,code:r}}).then(s=>new e({clientId:i,portal:n,ssl:s.ssl,redirectUri:o,refreshToken:s.refreshToken,refreshTokenExpires:s.refreshTokenExpires,token:s.token,tokenExpires:s.expires,username:s.username})).catch(s=>{throw new I(s.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,s.response,s.url,s.options)})}static deserialize(t){let r=JSON.parse(t);return new e({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(t,r){let n=typeof t.ssl<"u"?t.ssl:!0,i=t.expires||Date.now()+72e5;return r.hasServer?new e({server:t.server,ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)}):new e({portal:w(t.server.includes("sharing/rest")?t.server:t.server+"/sharing/rest"),ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)})}static parentMessageHandler(t){if(t.data.type==="arcgis:auth:credential"){let r=t.data.credential;return yt(r)?e.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new e(r)}if(t.data.type==="arcgis:auth:error"){let r=new Error(t.data.error.message);throw r.name=t.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(t){return nt({clientId:t.clientId,portal:t.portal,token:t.refreshToken||t.token})}static fromToken(t){let r=new e(t);return r.getUser().then(()=>r)}static signIn(t){let r=new e(t);return r.getUser().then(()=>r)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(t){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(r,n).then(i=>(this._portalInfo=i,this._pendingPortalRequest=null,i)),this._pendingPortalRequest}}getToken(t,r){return tt(this.portal,t)?this.getFreshToken(r):new RegExp(this.portal,"i").test(t)?this.getFreshToken(r):this.getTokenForServer(t,r)}validateAppAccess(t){return this.getToken(this.portal).then(r=>rt(r,t))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(t,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(t),r.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(t){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new I("Unable to refresh token. No refresh token or password present.",T.TOKEN_REFRESH_FAILED))}getServerRootUrl(t){let[r]=w(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,i,o]=r.match(/(https?:\/\/)(.+)/),[s,...a]=o.split("/");return`${i}${s.toLowerCase()}/${a.join("/")}`}getDomainCredentials(t){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(t=t.toLowerCase(),this.trustedDomains.some(r=>t.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return e.destroy(this)}createPostMessageHandler(t){return r=>{let n=t.indexOf(r.origin)>-1,i=r.data.type==="arcgis:auth:requestCredential",o=this.tokenExpires.getTime()>Date.now();if(n&&i){let s={};if(o){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),s={type:"arcgis:auth:credential",credential:a}}else s={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(s,r.origin)}}}getTokenForServer(t,r){let n=this.getServerRootUrl(t),i=this.federatedServers[n];return i&&i.expires&&i.expires.getTime()>Date.now()?Promise.resolve(i.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>c(`${n}/rest/info`,{credentials:this.getDomainCredentials(t)}).then(o=>{if(o.owningSystemUrl){if(et(o.owningSystemUrl,this.portal))return c(`${o.owningSystemUrl}/sharing/rest/info`,r);throw new I(`${t} is not federated with ${this.portal}.`,T.NOT_FEDERATED)}else{if(o.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:o.authInfo});throw new I(`${t} is not federated with any portal and is not explicitly trusted.`,T.NOT_FEDERATED)}}).then(o=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)).then(o=>(this.federatedServers[n]=o,delete this._pendingTokenRequests[n],o.token))),this._pendingTokenRequests[n])}generateTokenForServer(t,r){return c(t,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new I(n.message,T.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(t){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(t).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(t){let r={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:ce};return(this.server?c(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>c(n.authInfo.tokenServicesUrl,Object.assign({params:r},t))):c(`${this.portal}/generateToken`,Object.assign({params:r},t))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new I(n.message,T.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(t){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(t);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return G(`${this.portal}/oauth2/token`,n).then(i=>this.updateToken(i.token,i.expires)).catch(i=>{throw new I(i.message,T.TOKEN_REFRESH_FAILED,i.response,i.url,i.options)})}updateToken(t,r){return this._token=t,this._tokenExpires=r,this}exchangeRefreshToken(t){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return G(`${this.portal}/oauth2/token`,r).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new I(n.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(t=>(t.authorizedCrossOriginDomains&&t.authorizedCrossOriginDomains.length&&(this.trustedDomains=t.authorizedCrossOriginDomains.filter(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function C(e){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new v(e)}C.beginOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),v.beginOAuth2(...e)};C.completeOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),e.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),v.completeOAuth2(...e)};C.fromParent=function(...e){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),v.fromParent(...e)};C.authorize=function(...e){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),v.authorize(...e)};C.exchangeAuthorizationCode=function(...e){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),v.exchangeAuthorizationCode(...e)};C.fromCredential=function(...e){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),v.fromCredential(...e)};C.deserialize=function(...e){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),v.deserialize(...e)};var le;(function(e){e.Success="Succeeded",e.Failed="Failed",e.Waiting="Waiting",e.Cancelled="Cancelled",e.Cancelling="Cancelling",e.New="New",e.Executing="Executing",e.Submitted="Submitted",e.Failure="Failure",e.TimedOut="TimedOut",e.Error="Error",e.Status="Etatus",e.Unknown="Unknown"})(le||(le={}));function h(e={}){return e.portal?w(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}var Et=/[\x00-\x1F\x7F-\x9F\xA0]/g;function at(e){return e.replace(Et,"")}function k(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function me(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function he(e){return e.join(",")}function te(e,t,r){if(!e)return e;let n=null;return typeof e.thumbnail=="string"&&(n=`${t}/content/items/${e.id}/info/${e.thumbnail}`,n&&e.access!=="public"&&r&&(n+=`?${r}`)),Object.assign(Object.assign({},e),n?{thumbnailUrl:n}:{})}function bo(e,t){let r=J(e,t),n=Object.assign({httpMethod:"GET"},t);return c(r,n).then(async i=>{let o=t?.portal||h(t),s;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(s=await t.authentication.getToken(r)),te(i,o,s)})}var J=(e,t)=>`${typeof t=="string"?t:h(t)}/content/items/${e}`;function wo(e,t){let r=`${J(e,t)}/data`,n=Object.assign({httpMethod:"GET",params:{}},t);return n.file&&(n.params.f=null),c(r,n).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function yo(e,t){let r=`${J(e,t)}/resources`,n=Object.assign({},t);return n.params=Object.assign({num:1e3},n.params),c(r,n)}function Eo(e,t){let r=`${J(e,t)}/groups`;return c(r,t)}function _t(e,t){let{fileName:r="iteminfo.xml",readAs:n="text"}=t||{},i=Object.assign({httpMethod:"GET"},t);return Tt(e,`/info/${r}`,n,i)}function _o(e,t){let r=Object.assign(Object.assign({},t),{fileName:"metadata/metadata.xml"});return _t(e,r)}function Tt(e,t,r,n){let i=`${J(e,n)}${t}`,o=Object.assign({params:{}},n),s=o.rawResponse;return o.rawResponse=!0,o.params.f=null,c(i,o).then(a=>s?a:r!=="json"?a[r]():a.text().then(m=>JSON.parse(at(m))))}function It(e){return k(e).then(t=>{let r=e.folderId?`${h(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${h(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&me(e.params.extent)&&(e.params.extent=he(e.params.extent));let n=h(e),i=te(Object.assign(Object.assign({},e.item),{access:e.item.access}),n),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,c(r,e)})}function Po(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/addResources`;return e.params=Object.assign({file:e.resource,fileName:e.name,resourcesPrefix:e.prefix,text:e.content,access:e.private?"private":"inherit"},e.params),c(r,e)})}function kt(e,t){let r=`${h(t)}/community/groups/${e}`,n=Object.assign({httpMethod:"GET"},t);return c(r,n)}function ui(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/removeResources`;return e.params=Object.assign(Object.assign({},e.params),{resource:e.resource}),typeof e.deleteAll<"u"&&(e.params.deleteAll=e.deleteAll),c(r,e)})}var F=class e{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let r=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?($(`${r} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?($("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?($('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?($('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new e(this.q+"")}addModifier(t){return this.currentModifer?($(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?($(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for($(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&$("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function W(e,t){let r;typeof e=="string"||e instanceof F?r={httpMethod:"GET",params:{q:e}}:r=U(e,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let n;switch(t){case"item":n="/search";break;case"group":n="/community/groups";break;case"groupContent":if(typeof e!="string"&&!(e instanceof F)&&e.groupId)n=`/content/groups/${e.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":n="/community/users";break;default:n="/portals/self/users/search";break}let i=h(r)+n;return c(i,r).then(o=>(o.nextStart&&o.nextStart!==-1&&(o.nextPage=function(){let s;return typeof e=="string"||e instanceof F?s={q:e,start:o.nextStart}:(s=e,s.start=o.nextStart),W(s,t)}),o))}function St(e){return W(e,"item")}function Zi(e){let t=`${h(e)}/community/groups/${e.group.id}/update`;return e.params=Object.assign(Object.assign({},e.params),e.group),c(t,e)}async function H(e){var t;if(e.username)return encodeURIComponent(e.username);if(!((t=e.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(e.authentication.username);if(e.authentication)return e.authentication.getUsername().then(encodeURIComponent)}async function ct(e){let t,r={httpMethod:"GET"};if(typeof e=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${e}`;else{let n=await H(e);t=`${h(e)}/community/users/${n}`,r=Object.assign(Object.assign({},e),r)}return c(t,r)}function ba(e){return jt(null,e)}function jt(e,t){let r=e||"self",n=`${h(t)}/portals/${r}`,i=Object.assign({httpMethod:"GET"},t);return c(n,i)}export{B as a,pt as b,Le as c,c as d,U as e,w as f,h as g,It as h,Po as i,bo as j,wo as k,yo as l,Eo as m,_o as n,kt as o,ui as p,St as q,Zi as r,ct as s,ba as t,jt as u};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{k as o,l as c,m as l,n as t}from"./2PX3UZJ2.js";import{t as r}from"./6NHDVAJQ.js";import{d as s}from"./SPW4XUMU.js";import{n as i}from"./Z7HE7FPN.js";function u(e){return[r(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function g(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function p(e){var a;let n=i("event",u(e));return{self:n,siteRelative:n,siteRelativeEntityType:i("event"),workspaceRelative:s("Event",e.id),thumbnail:(a=e.thumbnailUrl)!==null&&a!==void 0?a:g()}}function y(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function b(e){return e.token=await t(e),o(e.data,e)}async function h(e){return e.token=await t(e),c(e.data,e)}async function k(e){return e.token=await t(e),l(e.registrationId,e)}export{u as a,g as b,p as c,y as d,b as e,h as f,k as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
+
v0.29.0 */
|
|
4
|
+
import{b as Ie}from"./FI73S54G.js";import{a as Ae}from"./MKY364EQ.js";import{a as we}from"./ADIPQ4VU.js";import{c as K,d as E,e as z,f as B,g as G,i as W,j as T,k as Y,ka as X,m as Ke,n as J,o as b,p as D,q as Ee,r as A,s as I}from"./OHH4J4SV.js";import{a as Q}from"./OYGVQKRA.js";import{g as C,q as p,t as Pe,v as H}from"./6NHDVAJQ.js";import{d as Se}from"./SPW4XUMU.js";import{b as Te}from"./BH42DFEL.js";import{c as De}from"./KKBEYANH.js";import{f as w}from"./7Z45QN5N.js";import{b as S,e as be}from"./RZJY53OX.js";import{a as M}from"./P7GO3LRW.js";import{e as fe,f as ye,m as me,n as V,o as ge}from"./MMW34LVS.js";import{k as h,n as O}from"./Z7HE7FPN.js";import{b as pe}from"./VF6AXDQV.js";import{c as x}from"./RTWSGMSN.js";import{a as v}from"./LTXRBE7M.js";import{d as y}from"./RTSZ536G.js";import{a as he}from"./6DE6RSTD.js";import{a as $,b as le,g as ue,j as de,n as m}from"./IMVDVU5J.js";import{c as g}from"./IJMPHCXA.js";import{a as f,k as d,s as ce}from"./PE2EEIM5.js";import{a as u}from"./DQUQ24IX.js";function Re(e,t=""){let n=Pe(e);return n?Y(n,t.toLowerCase(),4):""}function Ye(e,t){let r=e.filter(n=>!n.startsWith(`${T}|`));return r.push([T,t.toLowerCase()].join("|")),r}function ee(e,t){let r=W(e);return _({slug:r},t).then(n=>n.length?y(n[0].id,t):null)}async function _(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${T}|`)?e.slug:[T,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await x(n)).results}function Ue(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return _({slug:n,exclude:e.existingId},t).then(s=>s.length?Ue(e,t,r+1):n).catch(s=>{throw Error(`Error in getUniqueSlug ${s}`)})}var F=async(e,t)=>{let r=e.slug,n=e.orgUrlKey.toLowerCase();r&&!r.startsWith(`${n}|`)&&(r=Y(r,n));let{id:s}=e,a=s?{slug:r,existingId:s}:{slug:r};return e.slug=await Ue(a,t),e.typeKeywords=Ye(e.typeKeywords,e.slug),e},k;(function(e){e.map="map",e.image="image"})(k||(k={}));var P;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(P||(P={}));var Je="Hub Initiative",$e=2.2,Xe={name:"",tags:[],typeKeywords:["hubInitiativeV2"],catalog:{schemaVersion:0},permissions:[],schemaVersion:$e,status:P.notStarted,features:$,view:{featuredContentIds:[],hero:k.map,metricDisplays:[]}},Ze={item:{type:Je,title:"",description:"",snippet:"",tags:[],typeKeywords:["hubInitiativeV2"],properties:{slug:"",schemaVersion:$e}},data:{catalog:{schemaVersion:0},status:P.notStarted,view:{featuredContentIds:[],hero:k.map,metricDisplays:[]}}};function te(){let e=K();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"contacts",storeKey:"data.contacts"}),e.push({entityKey:"timeline",storeKey:"data.timeline"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e.push({entityKey:"followersGroupId",storeKey:"item.properties.followersGroupId"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e}function ve(e,t){return A(e,t)}function re(e,t,r){var n,s;let a;return r.authentication&&(a=r.authentication.token),t=E(e.item,t),t.thumbnailUrl=S(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(n=e.data.view)===null||n===void 0?void 0:n.featuredImageUrl}),t.catalog=H(t.catalog||{}),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},$),t.links=ve(e.item,r),t}function qe(e){if(!e)return;let t=ye(e);return t.filters.forEach(r=>{r.predicates.forEach(n=>{n.group&&(n.group.not=[...n.group.any||[],...n.group.all||[]],n.group.any=[],n.group.all=[])})}),t}function xe(e,t){let r=e.filter(n=>!n.startsWith("status|"));return r.push(`status|${t}`),r}async function Kr(e,t){let r=Object.assign(Object.assign({},Xe),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=Re(r.name,r.orgUrlKey)),await F(r,t),r.typeKeywords=xe(r.typeKeywords,r.status),r.typeKeywords=C(r.typeKeywords,r.isDiscussable);let n=new p(te()),s=n.entityToStore(r,f(Ze));s=await B(s,t);let a=n.storeToEntity(s,{});return a=re(s,a,t),a}async function Er(e,t){await F(e,t),e.typeKeywords=xe(e.typeKeywords,e.status),e.typeKeywords=C(e.typeKeywords,e.isDiscussable);let r=await z(e.id,t),n=new p(te()),s=n.entityToStore(e,r),a=await G(s,t),o=n.storeToEntity(a,e);return o=re(r,o,t),o}function Tr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?et(n,t):null)}async function Dr(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function et(e,t){let r=await I(e,t),s=new p(te()).storeToEntity(r,{});return re(r,s,t)}async function tt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=ve(e,r),n}function Ar(e){let t=Ie("Hub Project",`initiative|${e.id}`),r=u(e,"catalog.scopes.item");return t=Ae([t,qe(r)]),t}var q="Hub Project",ne=1.2,Ir={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:ne,status:P.notStarted,tags:[],typeKeywords:[q],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:$},Rr={item:{type:q,title:"",description:"",snippet:"",tags:[],typeKeywords:[q],properties:{slug:"",schemaVersion:ne}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:P.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function _e(e,t){return A(e,t)}function rt(e){if(e.schemaVersion>=1.2)return e;let t=f(e);return t.view&&t.view.timeline&&t.view.timeline.stages&&Array.isArray(t.view.timeline.stages)&&(t.view.timeline.stages=t.view.timeline.stages.filter(r=>!!r.title)),t.schemaVersion=1.2,t}function nt(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:n,typeKeywords:s}=J(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=n,t.typeKeywords=s,t.schemaVersion=1.1,t}function st(e){if(e.schemaVersion===ne)return e;let t=nt(e);return t=rt(t),t}function at(e,t,r){var n,s;let a;return r.authentication&&(a=r.authentication.token),t=E(e.item,t),t.thumbnailUrl=S(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(n=e.data.view)===null||n===void 0?void 0:n.featuredImageUrl}),t.catalog=H(t.catalog||{}),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},le),t.links=_e(e.item,r),t=st(t),t}function ot(){let e=K();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function se(){let e=K();return["headContent","layout"].forEach(r=>{e.push({entityKey:r,storeKey:`data.values.${r}`})}),e}function ke(e,t){let r=A(e,t),n=O(e.type,Ee(e,!0),e.typeKeywords);return Object.assign(Object.assign({},r),{siteRelative:n,layoutRelative:`/pages/${e.id}/edit`})}var it="Hub Page",Ur="Site Page",Ne="hubPage",ae=1.1,ct={name:"",permissions:[],schemaVersion:ae,tags:[],typeKeywords:[Ne],view:{contacts:[],featuredContentIds:[],showMap:!0},layout:{sections:[]}},lt={item:{type:it,title:"",description:"",snippet:"",tags:[],typeKeywords:[Ne],properties:{slug:"",schemaVersion:ae}},data:{values:{layout:{}}}};function ut(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:n,typeKeywords:s}=J(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=n,t.typeKeywords=s,t.schemaVersion=1.1,t}function dt(e){return e.schemaVersion===ae?e:ut(e)}function oe(e,t,r){var n;let s;r.authentication&&(s=r.authentication.token),t=E(e.item,t);let a=S(e.item,r,s);return t.thumbnailUrl=a,t.links=ke(e.item,r),t.features=D(((n=e.data.settings)===null||n===void 0?void 0:n.features)||{},ue),t=dt(t),t}function pt(e,t){let{id:r,slug:n,orgKey:s}=Ke(e);if(r)return y(r,t);let a=De(n,s||t.siteOrgKey),o=W(a);return _({slug:o},t).then(i=>{if(i.length)return i;{let c=o.split("|").slice(1).join("|");return _({slug:c},t)}}).then(i=>i.length?y(i[0].id,t):null)}async function $r(e,t){let r=Object.assign(Object.assign({},ct),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=Re(r.name,r.orgUrlKey)),await F(r,t);let n=new p(se()),s=n.entityToStore(r,f(lt));s=await B(s,t);let a=n.storeToEntity(s,{});return a=oe(s,a,t),a}async function vr(e,t){await F(e,t);let r=await z(e.id,t),n=new p(se()),s=n.entityToStore(e,r),a=await G(s,t),o=n.storeToEntity(a,e);return o=oe(r,o,t),o}async function xr(e,t){let r=await pt(e,t);return r?yt(r,t):null}function ft(e,t){let n=new p(se()).storeToEntity(e,{});return oe(e,n,t)}async function yt(e,t){let r=await I(e,t);return ft(r,t)}async function _r(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function mt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=ke(e,r),n}function gt(){let e=K();return e.push({entityKey:"previewUrl",storeKey:"item.properties.previewUrl"}),e}function je(e,t){var r;let n=A(e,t),s=(r=e.typeKeywords)===null||r===void 0?void 0:r.includes("Deployed"),{self:a,siteRelative:o,workspaceRelative:i}=n,c=`${o.split("/").slice(0,-1).join("/")}/edit/advanced`;return Object.assign(Object.assign({},n),{workspaceRelative:s?a:i,advancedEditRelative:c})}var Fe=e=>{let t="Solution",r=e.typeKeywords.find(n=>n.startsWith("hubSolutionType|"));if(r){let n=r.split("|")[1];t=he(n).split("-").map(a=>ce(a)).join(" ");let s={storyMap:"StoryMap"};s[n]&&(t=s[n])}return t};function ht(e,t,r){return t=E(e.item,t),t.links=je(e.item,r),t.thumbnailUrl=t.links.thumbnail,t.features=D(u(e,"data.settings.features")||{},de),t.isDeployed=(u(e,"item.typeKeywords")||[]).includes("Deployed"),t.deployedType=Fe(e.item),t}function N(e){return e==null||e===""}function R(e,t){let r=null,n=t.filter(s=>s.predicates.find(a=>!N(a[e])));if(n.length>1)throw new Error(`Only 1 IFilter can have a '${e}' predicate but ${n.length} were detected`);if(n.length){let s=n[0],a=s.predicates.filter(l=>!N(l[e]));if(a.length>1)throw new Error(`Only 1 '${e}' predicate is allowed but ${a.length} were detected`);if(s.operation!=="AND"&&s.predicates.length>1)throw new Error(`'${e}' predicates cannot be OR'd to other predicates`);let o=a[0],i=o[e];if(!(typeof i=="string"||typeof i=="boolean"))throw new Error(`'${e}' predicate must be a string or boolean primitive. string[] and IMatchOptions are not allowed.`);r=o}return r}function wt(e){let r=e.filters.map(bt).filter(Le),n=ie(r,"AND"),s=R("bbox",e.filters);return s&&(n.params={bbox:s.bbox}),n}function Le(e){return!(typeof e>"u"||e===null||e==="")}function ie(e,t){return e.reduce((n,s)=>(Object.entries(s).forEach(([a,o])=>{n[a]&&o!==""?n[a]=`${n[a]} ${t} ${o}`:o!==""&&(n[a]=o)}),n),{q:""})}function bt(e){let t=e.operation||"AND",r=e.predicates.map(fe),n=r.map(Pt).filter(a=>a!=null),s=ie(n,t);return r.length>1&&(s.q=`(${s.q})`),s}function Pt(e){let t=["created","modified"],r=["isopendata","isviewonly"],n=["searchUserAccess","searchUserName","memberType","name","categoriesAsParam","categoryFilter","bbox","joined"],s=["filterType","term",...t,...r,...n],a=["access","capabilities","created","categories","categoriesAsParam","categoryFilter","contentstatus","description","disabled","email","emailstatus","firstname","fullname","group","id","isInvitationOnly","isopendata","joined","lastlogin","lastname","memberType","modified","name","orgid","orgIds","owner","provider","role","searchUserAccess","searchUserName","snippet","tags","term","title","type","typekeywords","userlicensetype","username","isviewonly"],o=Object.entries(e).map(([i,c])=>{if(a.includes(i)){let l={q:""};return!s.includes(i)&&i!=="term"&&(l.q=St(i,c)),(t.includes(i)||Et(c))&&(l.q=Kt(i,c)),r.includes(i)&&(l.q=`${i}:${c}`),n.includes(i)&&(i==="joined"?l[i]=`${c.from},${c.to}`:l[i]=c),i==="term"&&(l.q=c),l}}).filter(Le);if(o.length){let i=ie(o,"AND");return i.q&&(i.q=`(${i.q})`),i}else return null}function St(e,t){var r,n,s;let a="";return!((r=t.any)===null||r===void 0)&&r.length&&(a=`${Z("OR",e,t.any)}`),!((n=t.all)===null||n===void 0)&&n.length&&(a=(a?a+" AND ":"")+`${Z("AND",e,t.all)}`),!((s=t.not)===null||s===void 0)&&s.length&&(a=(a?a+" AND ":"")+`${Z("OR",`-${e}`,t.not)}`),a}function Kt(e,t){return`${e}:[${t.from} TO ${t.to}]`}function Z(e,t,r){let n="";return Array.isArray(r)&&r.length?(n=`${t}:"${r.join(`" ${e} ${t}:"`)}"`,r.length>1&&(n=`(${n})`)):n=`${t}:"${r}"`,n}function Et(e){return typeof e=="object"&&e!==null&&["from","to"].every(t=>typeof e[t]<"u")}function Me(e,t,r,n){let s=f(e);return e.authentication&&(s.authentication=M.deserialize(e.authentication.serialize())),u(e,"requestOptions.authentication")&&(s.requestOptions.authentication=M.deserialize(e.requestOptions.authentication.serialize())),s.start=t>-1?t:r+1,()=>n(s)}async function kr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?Tt(n,t):null)}async function Tt(e,t){let r=await I(e,t),s=new p(gt()).storeToEntity(r,{});return ht(r,s,t)}async function Dt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=je(e,r),n.deployedType=Fe(e),n}function Oe(e){var t;return!((t=e.aggregations)===null||t===void 0)&&t.counts?e.aggregations.counts.map(r=>({mode:"terms",field:r.fieldName,values:r.fieldValues})):[]}async function Ve(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,tags:e.tags,typeKeywords:e.typeKeywords,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links.thumbnail=S(e,r),n.links.self=pe(n.id,r),n.links.siteRelative=O(n.type,n.id,e.typeKeywords),n.links.workspaceRelative=Se(n.type,n.id),n}async function At(e,t,r){let n=await Ve(e,t,r),s=be(e,r);return n.links.thumbnail||(n.links.thumbnail=s),n}async function Nr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?It(n,t):null)}async function It(e,t){let r=await I(e,t),s=new p(ot()).storeToEntity(r,{});return at(r,s,t)}async function Rt(e,t,r){let n={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{n[c.prop]=u(i,c.path)}),n.links=_e(e,r),n}async function jr(e,t){let r=me(e),n=Ce(t,r);return Qe(n)}function Fr(e,t){let r=Ce(t,e);return He(r)}function Ce(e,t){var r;if(!e.requestOptions)throw new we("portalSearchItems","options.requestOptions is required.");let n=ge(t),s=wt(n);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(o=>{Object.prototype.hasOwnProperty.call(e,o)&&(s[o]=e[o])}),e.requestOptions.authentication?s.authentication=e.requestOptions.authentication:s.portal=e.requestOptions.portal,!((r=e.aggFields)===null||r===void 0)&&r.length&&(s.countFields=e.aggFields.join(","),s.countSize=e.aggLimit||10),s}async function He(e){let t=await x(e),r=Oe(t);return{total:t.total,results:t.results,aggregations:r,hasNext:t.nextStart>-1,next:Me(e,t.nextStart,t.total,He),executedQuerySize:V(e.q)}}async function Qe(e){let t=await x(e),r=a=>ze(a,e.include,e.requestOptions),n=await Promise.all(t.results.map(r)),s=Oe(t);return{total:t.total,results:n,aggregations:s,hasNext:t.nextStart>-1,next:Me(e,t.nextStart,t.total,Qe),executedQuerySize:V(e.q)}}async function ze(e,t=[],r){let n=Ve;switch(e.type){case"Hub Site Application":case"Site Application":n=X;break;case"Hub Page":case"Site Page":n=mt;break;case"Hub Project":n=Rt;break;case"Hub Initiative":n=tt;break;case"Solution":n=Dt;break;case"Web Mapping Application":e.typeKeywords.includes("hubSite")&&(n=X);break;case"Image":n=At;break}return n(e,t,r)}function Lr(e,t){let r=new URL(t.requestOptions.hubApiUrl).hostname;return e.targetEntity==="discussionPost"?`https://${r}/api/search/v2/collections/discussion-post`:`https://${r}/api/search/v1/collections/all`}function Ut(e){return e.filters.map($t).filter(Be).join(" AND ")}function $t(e){let t=e.operation||"OR";return`(${e.predicates.map(vt).filter(Be).join(` ${t} `)})`}function vt(e){return`(${Object.entries(e).filter(([r,n])=>r!=="term"&&r!=="bbox"&&r!=="fields"&&r!=="flatten"&&!N(n)).reduce((r,[n,s])=>{let a;return typeof s=="string"||typeof s=="boolean"?a=j(n,s):Array.isArray(s)?a=kt(n,s):xt(s)?a=_t(n,s):a=Nt(n,s),r.push(a),r},[]).join(" AND ")})`}function xt(e){return Number.isInteger(e.from)&&Number.isInteger(e.to)}function _t(e,t){return`${e} BETWEEN ${t.from} AND ${t.to}`}function j(e,t){let r=typeof t=="string"?L(t):t;return`${e}=${r.toString()}`}function kt(e,t){let r=t.map(L);return`${e} IN (${r.join(", ")})`}function Nt(e,t){let r=jt(e,t.any),n=Ft(e,t.all),s=Lt(e,t.not);return[r,n,s].filter(a=>!!a).join(" AND ")}function jt(e,t){let r;if(Array.isArray(t)){let n=t.map(L);r=`${e} IN (${n.join(", ")})`}else t&&(r=j(e,t));return r}function Ft(e,t){let r;return Array.isArray(t)?r=t.map(n=>j(e,n)).join(" AND "):t&&(r=j(e,t)),r}function Lt(e,t){let r;if(t){let s=(Array.isArray(t)?t:[t]).map(L);r=`${e} NOT IN (${s.join(", ")})`}return r}function L(e){return/\s/.test(e)?`'${e}'`:e}function Be(e){return e!=="()"}function Mt(e){let t=R("term",e.filters);return t?.term}function Ot(e){let t=R("bbox",e.filters);return t?.bbox}function Vt(e){let t=Object.entries(e).filter(([r,n])=>!N(n)).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&");return t&&`?${t}`}async function Ct(e,t,r){let n=f(t),s=e+Vt(n),o=await(r.requestOptions.fetch||fetch)(s,{method:"GET"});if(!o.ok)throw new Te(o.statusText,s,o.status);return o.json()}function Ht(e){let t=R("fields",e.filters);return t?.fields}function Qt(e){let t=R("flatten",e.filters);return t?.flatten}function zt(e){let{sortField:t,sortOrder:r}=e,n;return t&&(n=r==="desc"?`-properties.${t}`:`properties.${t}`),n}function Bt(e,t){let r=Ut(e),n=u(t,"requestOptions.authentication.token"),s=t.num,a=t.start,o=Mt(e),i=zt(t),c=Ot(e),l=Qt(e),We=Ht(e);return{filter:r,token:n,limit:s,startindex:a,q:o,sortBy:i,bbox:c,flatten:l,fields:We}}async function Gt(e,t,r){let n=e.properties,s=await ze(n,t,r);return s.source=e.properties.source,s.license=e.properties.license,s}function Wt(e){return Promise.resolve({id:e.id,name:e.properties.title,summary:e.properties.body,createdDate:new Date(e.properties.createdAt),createdDateSource:"properties.createdAt",updatedDate:new Date(e.properties.updatedAt),updatedDateSource:"properties.updatedAt",type:"post",owner:e.properties.creator,location:null,created:new Date(e.properties.createdAt),modified:new Date(e.properties.updatedAt),title:e.properties.title,rawResult:e,access:null,family:null})}var U={searchOgcItems:Yt,formatOgcItemsResponse:Jt,formatDiscussionPostTargetEntityResponse:Xt,formatItemTargetEntityResponse:Ge,getNextOgcCallback:Zt};async function Yt(e,t,r){let n=Bt(t,r),s=await Ct(e,n,r);return U.formatOgcItemsResponse(s,e,t,r)}async function Jt(e,t,r,n){return r.targetEntity==="discussionPost"?U.formatDiscussionPostTargetEntityResponse(e,t,r,n):Ge(e,t,r,n)}async function Xt(e,t,r,n){let s=await Promise.all(e.features.map(i=>Wt(i))),a=U.getNextOgcCallback(e,t,r,n),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:s,hasNext:!!o,next:a}}async function Ge(e,t,r,n){let s=await Promise.all(e.features.map(i=>Gt(i,n.include,n.requestOptions))),a=U.getNextOgcCallback(e,t,r,n),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:s,hasNext:!!o,next:a}}function Zt(e,t,r,n){let s=e.links.find(o=>o.rel==="next"),a=()=>null;return s&&(a=()=>{let i=+new URL(s.href).searchParams.get("startindex"),c=Object.assign(Object.assign({},n),{start:i});return U.searchOgcItems(t,r,c)}),a}export{Re as a,Ye as b,ee as c,_ as d,Ue as e,F as f,k as g,P as h,Xe as i,qe as j,xe as k,Kr as l,Er as m,Tr as n,Dr as o,et as p,tt as q,Ar as r,Ir as s,Rr as t,at as u,ot as v,it as w,Ur as x,ct as y,pt as z,$r as A,vr as B,xr as C,ft as D,yt as E,_r as F,mt as G,gt as H,ht as I,wt as J,Me as K,kr as L,Tt as M,Dt as N,Ve as O,At as P,Nr as Q,It as R,Rt as S,jr as T,Fr as U,Lr as V,Ut as W,Mt as X,Ot as Y,Ct as Z,Yt as _};
|