@esri/solutions-components 1.2.0-next.6 → 1.2.0-next.7
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/{6OUC5SZJ.js → 24IQFT7O.js} +2 -2
- package/dist/cdn/{Q3A4PDPW.js → 27KJAQWJ.js} +2 -2
- package/dist/cdn/{4DQWCLKY.js → 2BBIUN2T.js} +1 -1
- package/dist/cdn/{LJRZYCQX.js → 2IDKXRM6.js} +2 -2
- package/dist/cdn/{VVWDTGJA.js → 2IIMW7KZ.js} +2 -2
- package/dist/cdn/{644DJYKF.js → 2KCM6CYY.js} +2 -2
- package/dist/cdn/{ECNSXEJQ.js → 2NWVUYTE.js} +1 -1
- package/dist/cdn/{3BHENULJ.js → 2SYGO5SF.js} +2 -2
- package/dist/cdn/{YA6EJEOH.js → 2SZCUKBG.js} +2 -2
- package/dist/cdn/{U4MDUHGI.js → 2SZRO43C.js} +2 -2
- package/dist/cdn/{ZGHTOGQP.js → 2UAZTD7Q.js} +1 -1
- package/dist/cdn/{75HEJGBB.js → 2V46CJ37.js} +2 -2
- package/dist/cdn/{6BZPVMC3.js → 2WMDR35S.js} +2 -2
- package/dist/cdn/{Y4CZ7XFH.js → 2XWJ46TT.js} +1 -1
- package/dist/cdn/{KN7GU34G.js → 3D2Z3DBU.js} +2 -2
- package/dist/cdn/{SWZKHEQX.js → 3EFK23HV.js} +2 -2
- package/dist/cdn/{BFLK4MV3.js → 3FDC2PNP.js} +2 -2
- package/dist/cdn/{65LDPG2Z.js → 3FPFP6U4.js} +2 -2
- package/dist/cdn/{OSRWBYQ2.js → 3G6LJECA.js} +4 -4
- package/dist/cdn/{XJGOAOI7.js → 3JZ6B3VG.js} +2 -2
- package/dist/cdn/{OYYZVOIN.js → 3LG7PVWA.js} +2 -2
- package/dist/cdn/{RFPZWOT4.js → 3LHCQY5M.js} +2 -2
- package/dist/cdn/{IAOE36VC.js → 3WBICA44.js} +2 -2
- package/dist/cdn/{IQTDOEWO.js → 3YR7FYTM.js} +2 -2
- package/dist/cdn/{RX4SFFGS.js → 43BS56MV.js} +2 -2
- package/dist/cdn/{PHF75FIZ.js → 4AALASXV.js} +2 -2
- package/dist/cdn/{CKRFN5RP.js → 4DMVA5XD.js} +1 -1
- package/dist/cdn/{FLHENYCD.js → 4E3CF6RE.js} +2 -2
- package/dist/cdn/{ASILD6CB.js → 4FE7VZGU.js} +2 -2
- package/dist/cdn/{EEUJQ4PE.js → 4FI6PV22.js} +2 -2
- package/dist/cdn/{UW26Z7RU.js → 4OWAB2A2.js} +2 -2
- package/dist/cdn/{OTUI5EVK.js → 4TPPEOPB.js} +2 -2
- package/dist/cdn/{4WIF7IWJ.js → 4UEOLBYG.js} +2 -2
- package/dist/cdn/{UWXPCF47.js → 4VG73MVT.js} +2 -2
- package/dist/cdn/{GRSIJT3T.js → 52OVRAWR.js} +2 -2
- package/dist/cdn/{MMOLUBH6.js → 545T7SRQ.js} +2 -2
- package/dist/cdn/{HLXK72ZK.js → 5BYI5F5E.js} +2 -2
- package/dist/cdn/{NR4CTORR.js → 5E5T5X4U.js} +2 -2
- package/dist/cdn/{URNU7X7T.js → 5MXC3AEO.js} +2 -2
- package/dist/cdn/{VGIBWAX6.js → 5RXTPH23.js} +2 -2
- package/dist/cdn/{3KSTQFBT.js → 5SPTHQL6.js} +2 -2
- package/dist/cdn/{HTDQGAID.js → 63DMOJ2T.js} +2 -2
- package/dist/cdn/{FYA2RJLA.js → 63WU763U.js} +2 -2
- package/dist/cdn/{NFU53Y7C.js → 66VZ62ND.js} +2 -2
- package/dist/cdn/{RY44DI5D.js → 6CR2TFPT.js} +2 -2
- package/dist/cdn/{C6XO55UG.js → 6LKHUBOH.js} +2 -2
- package/dist/cdn/{7WK46WPW.js → 6NERUD73.js} +2 -2
- package/dist/cdn/{TSX6N6FB.js → 6Q67BEJ2.js} +2 -2
- package/dist/cdn/{UOSJKW7E.js → 6R7NKEMV.js} +1 -1
- package/dist/cdn/{EYUS5GPS.js → 6TTC7ZFD.js} +2 -2
- package/dist/cdn/{YD7BBK2M.js → 6VYUBZGX.js} +2 -2
- package/dist/cdn/{MA3THZBT.js → 6XGDGUTA.js} +2 -2
- package/dist/cdn/{3AKHI3FX.js → 7FTRNBAX.js} +2 -2
- package/dist/cdn/{5G5N3YGW.js → 7G7NYNLT.js} +2 -2
- package/dist/cdn/{EHEL3Y7B.js → 7I775T2S.js} +2 -2
- package/dist/cdn/{P4FFI3FD.js → 7OY5RPOS.js} +2 -2
- package/dist/cdn/{D6VPFPWH.js → 7RFNBPIC.js} +2 -2
- package/dist/cdn/{ZHJK7BD5.js → 7VA4NOU2.js} +2 -2
- package/dist/cdn/{WXYU7L46.js → 7WQ5EE74.js} +4 -4
- package/dist/cdn/{CRRLSSMP.js → 7XMCJSRJ.js} +2 -2
- package/dist/cdn/{FT3J6HPU.js → ACQ2777F.js} +2 -2
- package/dist/cdn/{JJIKYQZZ.js → AFKUFFEA.js} +2 -2
- package/dist/cdn/{EPOTUER2.js → AHJ7XAYI.js} +2 -2
- package/dist/cdn/{P2SYJ24C.js → AOOXAEOV.js} +2 -2
- package/dist/cdn/AP6277DE.js +4 -0
- package/dist/cdn/APIKBMW7.js +4 -0
- package/dist/cdn/{4VRBEE4E.js → AQ45HO6P.js} +1 -1
- package/dist/cdn/{JJLDTGMR.js → ATEJZAG7.js} +2 -2
- package/dist/cdn/{LQUAXFLK.js → AXT7H3M5.js} +2 -2
- package/dist/cdn/{SVF7MDUC.js → B2BTF7R6.js} +2 -2
- package/dist/cdn/B34LFYV4.js +18 -0
- package/dist/cdn/{S2PNPUQV.js → B4ERX267.js} +2 -2
- package/dist/cdn/{XMUV2USG.js → B5GJVF6W.js} +2 -2
- package/dist/cdn/{YWSSWWW4.js → B7X7HFII.js} +3 -3
- package/dist/cdn/{WEZ56UHN.js → BEU4EZ4O.js} +2 -2
- package/dist/cdn/{EJHIYSSF.js → BJCUTLYZ.js} +2 -2
- package/dist/cdn/{REH3U565.js → BJDNUK2Y.js} +2 -2
- package/dist/cdn/{4AJTL34Z.js → BTFCCELS.js} +2 -2
- package/dist/cdn/{R7ZD74W4.js → BTGNGFDY.js} +2 -2
- package/dist/cdn/{GCTTXEYI.js → BU6EXRF7.js} +2 -2
- package/dist/cdn/{NQISLIAP.js → BU7H53U2.js} +2 -2
- package/dist/cdn/{BX5K5GT6.js → BX3JVHAG.js} +2 -2
- package/dist/cdn/{MYB6PMPD.js → C46USBRI.js} +2 -2
- package/dist/cdn/{K65QHEEW.js → C5R5SVFU.js} +2 -2
- package/dist/cdn/{PFJBD3IN.js → C6TOPSKX.js} +2 -2
- package/dist/cdn/{RKTPYPYJ.js → CAUNRV5X.js} +2 -2
- package/dist/cdn/{CWSEEEMU.js → CCTJFJSB.js} +2 -2
- package/dist/cdn/{FQYAST2K.js → CEE26YF4.js} +2 -2
- package/dist/cdn/{O2CTIODV.js → CENNAULO.js} +2 -2
- package/dist/cdn/{EX5IS2G6.js → CF75YQZH.js} +2 -2
- package/dist/cdn/{YNAZN7XO.js → CHGD4MZJ.js} +2 -2
- package/dist/cdn/{UWFX6UHY.js → CHZOYTDJ.js} +2 -2
- package/dist/cdn/{YH6ADAVW.js → CLOQWOEC.js} +2 -2
- package/dist/cdn/{POVFCWA4.js → CSJGGVEM.js} +2 -2
- package/dist/cdn/{5CXTZ7NA.js → D7Q5RT2U.js} +2 -2
- package/dist/cdn/DBJXZGZS.js +18 -0
- package/dist/cdn/{CNZNQ3UI.js → DE6KD7OP.js} +2 -2
- package/dist/cdn/DGJSN5OQ.js +4 -0
- package/dist/cdn/{YUTI6A3R.js → DGNZGNGJ.js} +2 -2
- package/dist/cdn/{A6SDFMS4.js → DGXGVR2Z.js} +1 -1
- package/dist/cdn/{3MHZEKGJ.js → DHUU3UCT.js} +2 -2
- package/dist/cdn/{7F75Q6X6.js → DRCIJWFA.js} +2 -2
- package/dist/cdn/{R6JKKEMB.js → DUWT6T22.js} +2 -2
- package/dist/cdn/DVU4D66W.js +4 -0
- package/dist/cdn/{3KY6MGOJ.js → DX6XPIPV.js} +2 -2
- package/dist/cdn/{XZCYXYAE.js → E5CIT5KL.js} +2 -2
- package/dist/cdn/{C3YT4ILF.js → EAYJET3G.js} +2 -2
- package/dist/cdn/{AHQC773M.js → EBI7ETZC.js} +1 -1
- package/dist/cdn/{WTMEVWQW.js → ECILS3DF.js} +2 -2
- package/dist/cdn/{R53JAHXC.js → EKODBE6K.js} +2 -2
- package/dist/cdn/{3NOU63QC.js → EM5B5JJF.js} +2 -2
- package/dist/cdn/{V4HWOWHO.js → EPAC26GM.js} +2 -2
- package/dist/cdn/{SSSE76D7.js → EPXKVI6O.js} +2 -2
- package/dist/cdn/{RYXX6HET.js → EQTBIP6U.js} +1 -1
- package/dist/cdn/ER36FG33.js +4 -0
- package/dist/cdn/{2B5AGHXF.js → ESMGPS5K.js} +2 -2
- package/dist/cdn/{7LCAN4QM.js → EV6JFTBW.js} +2 -2
- package/dist/cdn/{W3IJZ4HC.js → EXZ4VMBH.js} +2 -2
- package/dist/cdn/{RGNOHVXO.js → F5ALSWOY.js} +1 -1
- package/dist/cdn/{TKYYVFBF.js → FAU3V3DD.js} +2 -2
- package/dist/cdn/{NFOXMEDQ.js → FB5463BR.js} +2 -2
- package/dist/cdn/{C3VQSVMI.js → FCO2B3K7.js} +1 -1
- package/dist/cdn/{Q6ET57BS.js → FHOJGZI7.js} +2 -2
- package/dist/cdn/{W4JEA3XE.js → FHYK7YVY.js} +2 -2
- package/dist/cdn/{LDLEQ6CC.js → FJCCTPUY.js} +2 -2
- package/dist/cdn/{PGAZAITH.js → FNTYR5WV.js} +2 -2
- package/dist/cdn/{PECFRP4P.js → FRA7NPJI.js} +2 -2
- package/dist/cdn/{L4PBJ66Y.js → FSYWVCVA.js} +2 -2
- package/dist/cdn/{JV55LN2M.js → FYFGL7YM.js} +2 -2
- package/dist/cdn/{7OLQQGDE.js → FYH5PUT2.js} +2 -2
- package/dist/cdn/{VIB4V3LB.js → FYPY5M3I.js} +2 -2
- package/dist/cdn/{CT5OPGW5.js → G5QCXXMB.js} +2 -2
- package/dist/cdn/{6MDG4NZX.js → G7T7PL2A.js} +2 -2
- package/dist/cdn/{GLY2GMK3.js → GBTX7JHX.js} +2 -2
- package/dist/cdn/{LN2I5LVU.js → GD5J5HWX.js} +2 -2
- package/dist/cdn/GH5RM57Y.js +18 -0
- package/dist/cdn/{YOPR6ELM.js → GHDABYES.js} +2 -2
- package/dist/cdn/{ZRBRPLDW.js → GPYIP5PI.js} +2 -2
- package/dist/cdn/{DABFIHQ5.js → GRJR6ZN5.js} +2 -2
- package/dist/cdn/{Q5S5ARM5.js → GSTWP5ZM.js} +2 -2
- package/dist/cdn/GUY36UW6.js +4 -0
- package/dist/cdn/{KFK2QLX7.js → GWPDSOKC.js} +2 -2
- package/dist/cdn/{LFDSMJEU.js → GZIE32IS.js} +2 -2
- package/dist/cdn/{MBPZZJHU.js → H3Z56RZY.js} +2 -2
- package/dist/cdn/{BZ4XGUDM.js → H4HNZZID.js} +2 -2
- package/dist/cdn/{OWKKFB6L.js → H5RJG4B4.js} +2 -2
- package/dist/cdn/{QF6CYRL2.js → HB63G4E2.js} +2 -2
- package/dist/cdn/{AAJ34PVZ.js → HISURMT2.js} +2 -2
- package/dist/cdn/{CYYJ37UQ.js → HJQ464S3.js} +1 -1
- package/dist/cdn/{KKP7HGNJ.js → HK3NTX5L.js} +2 -2
- package/dist/cdn/{4ZBQDA7G.js → HVLZF6NX.js} +2 -2
- package/dist/cdn/I3GT3PAD.js +18 -0
- package/dist/cdn/{LSZ3JKFT.js → I6T2LPO7.js} +2 -2
- package/dist/cdn/{Q55L5Q3P.js → I7EHWLGZ.js} +2 -2
- package/dist/cdn/{EGQGYDCU.js → I7UQ76S6.js} +2 -2
- package/dist/cdn/{X74PFPTS.js → IBSQEVYG.js} +2 -2
- package/dist/cdn/IFQGNQQ3.js +18 -0
- package/dist/cdn/{BBXNS3EX.js → IHCBGJUX.js} +2 -2
- package/dist/cdn/{RQSZEJEQ.js → IIQKO4NV.js} +2 -2
- package/dist/cdn/{DER4LPHP.js → IJQGNRQY.js} +2 -2
- package/dist/cdn/{GVZGXTDK.js → IMUSY3LQ.js} +2 -2
- package/dist/cdn/{YURM35K7.js → IPUEIFZ4.js} +2 -2
- package/dist/cdn/{MOYCNENS.js → IS6A26EI.js} +2 -2
- package/dist/cdn/{RDMEIRHP.js → ISGFV7UG.js} +2 -2
- package/dist/cdn/{PIKL7Y7Z.js → IYEVDJDU.js} +1 -1
- package/dist/cdn/{LY6TIHQF.js → JCFSOF6S.js} +1 -1
- package/dist/cdn/{HOZF62NG.js → JCSZQSGX.js} +1 -1
- package/dist/cdn/{55OACR4S.js → JKFZNMGP.js} +2 -2
- package/dist/cdn/{6YSZRWQG.js → JQ3L67YC.js} +2 -2
- package/dist/cdn/{ND4CBCIS.js → JQB4BFWJ.js} +1 -1
- package/dist/cdn/{BDU6FBLG.js → JQYJNIUC.js} +2 -2
- package/dist/cdn/{OI4YOMGG.js → JVCZA5SP.js} +1 -1
- package/dist/cdn/{VTKU26GJ.js → JZLR7ZSG.js} +2 -2
- package/dist/cdn/{Z5GGVIDD.js → K6LCVX7I.js} +2 -2
- package/dist/cdn/{RPLH7QHP.js → K75TQNXT.js} +2 -2
- package/dist/cdn/{AZ4GC4RH.js → KEYV63ER.js} +2 -2
- package/dist/cdn/{MGNNQNEI.js → KHLLYTI4.js} +2 -2
- package/dist/cdn/{JBCMZE55.js → KIKCKFJ6.js} +2 -2
- package/dist/cdn/{RNJUJD2O.js → KJEEKYDH.js} +2 -2
- package/dist/cdn/{IYTGK3X3.js → KJVMFBBS.js} +2 -2
- package/dist/cdn/{OQX77LVX.js → KRB4UOT2.js} +1 -1
- package/dist/cdn/{3WLCCGUI.js → KVOLGBWM.js} +2 -2
- package/dist/cdn/{W5BIA42K.js → KVRVG23D.js} +1 -1
- package/dist/cdn/{63PYENHX.js → KZQGM25A.js} +2 -2
- package/dist/cdn/{UCWHVM3U.js → KZTR7QWA.js} +2 -2
- package/dist/cdn/L6LREIT2.js +18 -0
- package/dist/cdn/{UXBBI55T.js → LAD5VELF.js} +2 -2
- package/dist/cdn/{AN4ZPBV5.js → LDDJNGGS.js} +1 -1
- package/dist/cdn/{S6KMTGDZ.js → LDIDINTU.js} +2 -2
- package/dist/cdn/{5GNTAQBB.js → LEMKJ45K.js} +2 -2
- package/dist/cdn/{XECYHGO2.js → LOJTB56C.js} +2 -2
- package/dist/cdn/{VPQLYHEX.js → LQHD4NTE.js} +2 -2
- package/dist/cdn/{6NEMUKY7.js → LRTYQ7TB.js} +2 -2
- package/dist/cdn/{7LDGOYUE.js → M275BFKI.js} +2 -2
- package/dist/cdn/{G7REA73G.js → M6LGGBV6.js} +2 -2
- package/dist/cdn/{VIFGQWKG.js → MDCCDX56.js} +2 -2
- package/dist/cdn/{ISDT7CP2.js → ME74BYC6.js} +2 -2
- package/dist/cdn/{GRMJQUC5.js → MEJLJFNB.js} +1 -1
- package/dist/cdn/{FXYCWGPH.js → MI7OU4OK.js} +2 -2
- package/dist/cdn/{KOVCA4QV.js → MKAZLIEQ.js} +2 -2
- package/dist/cdn/{3CTIZI7X.js → MKVY3JPB.js} +2 -2
- package/dist/cdn/{G26LLXS4.js → MN47MBJI.js} +2 -2
- package/dist/cdn/{O3MIRFNV.js → MR4NYU5P.js} +2 -2
- package/dist/cdn/{P2XBWR3K.js → MUW2HXBO.js} +2 -2
- package/dist/cdn/{MVA2DOPM.js → MV4UCN6W.js} +2 -2
- package/dist/cdn/{NNP5DIE4.js → MXFNZBL7.js} +2 -2
- package/dist/cdn/{Y5DBURZM.js → MYJRAXAU.js} +2 -2
- package/dist/cdn/{3N2ZNCG2.js → N2MIOX2Y.js} +1 -1
- package/dist/cdn/{KQSZKMVW.js → N6KRQV36.js} +2 -2
- package/dist/cdn/{OSKFOBPJ.js → NAJHJWME.js} +2 -2
- package/dist/cdn/{3QQBHMCG.js → NBX6ARVA.js} +2 -2
- package/dist/cdn/{7D6B7W25.js → NDQPDM3D.js} +2 -2
- package/dist/cdn/{M6YGWTQ7.js → NEVS6AYB.js} +2 -2
- package/dist/cdn/{T36HJPUB.js → NIJ6LGXH.js} +2 -2
- package/dist/cdn/{2NYFZ3GV.js → NWZAJQCU.js} +2 -2
- package/dist/cdn/{ZN3QGUDV.js → NZYWCOIU.js} +2 -2
- package/dist/cdn/{OHFKWVKT.js → O2FVTDUQ.js} +2 -2
- package/dist/cdn/{EGW2IVRZ.js → O724YZBU.js} +2 -2
- package/dist/cdn/{NQKLCRO4.js → OCXFABOG.js} +2 -2
- package/dist/cdn/{3EW7ECME.js → OGP5QIB2.js} +2 -2
- package/dist/cdn/{YJEFD5S2.js → ONZZLGSE.js} +2 -2
- package/dist/cdn/{2I7ZXFLR.js → OP67YGQY.js} +2 -2
- package/dist/cdn/{AKC6SE65.js → OXEWM6WY.js} +2 -2
- package/dist/cdn/{HPHQDHOY.js → OZNXNIGV.js} +2 -2
- package/dist/cdn/{I5ZRIC3T.js → P2ZCV72Y.js} +2 -2
- package/dist/cdn/{V7YYPSUZ.js → P4ZNB7TV.js} +2 -2
- package/dist/cdn/{FT735SKP.js → PBCU45S4.js} +2 -2
- package/dist/cdn/{NOOGHUHO.js → PGVUWJHV.js} +2 -2
- package/dist/cdn/{6TG774RB.js → PIJF7ZFV.js} +1 -1
- package/dist/cdn/{CMPTEVJI.js → PJLLV4DN.js} +2 -2
- package/dist/cdn/{TK5ARS6D.js → PLEVCFO6.js} +1 -1
- package/dist/cdn/{RYN2SWCM.js → PP4Q3ULO.js} +2 -2
- package/dist/cdn/{3U3CU6DD.js → PQHGP45P.js} +2 -2
- package/dist/cdn/{GNTRINMX.js → PSZSQA3T.js} +2 -2
- package/dist/cdn/{DZIWUAHO.js → PUUXEH2C.js} +2 -2
- package/dist/cdn/{OQK3SNUT.js → PYMGOIHW.js} +2 -2
- package/dist/cdn/{SBXHMIGN.js → PZI2AVA5.js} +2 -2
- package/dist/cdn/{TXXXMTGQ.js → Q2KGES2T.js} +2 -2
- package/dist/cdn/{HJ5OK6QT.js → Q5UE4DXS.js} +2 -2
- package/dist/cdn/{OIGW2DAZ.js → Q6G674Q2.js} +2 -2
- package/dist/cdn/{OKBR2JNZ.js → Q7STFYTI.js} +2 -2
- package/dist/cdn/{TBFTL5AS.js → QCDCX4DW.js} +2 -2
- package/dist/cdn/{RJ47PZ2M.js → QFONBBRD.js} +2 -2
- package/dist/cdn/{XRK3LYSA.js → QHEGVPF3.js} +2 -2
- package/dist/cdn/{43IHB26O.js → QOKRGQML.js} +2 -2
- package/dist/cdn/{EWPFEAMD.js → QONAHI74.js} +2 -2
- package/dist/cdn/{Q2ZBJ5N6.js → QQDVZSP3.js} +2 -2
- package/dist/cdn/{BPYQOBRF.js → QQPPCPEK.js} +2 -2
- package/dist/cdn/{TMCHHM55.js → QTIL33DB.js} +1 -1
- package/dist/cdn/{KS6EZ4SP.js → R5BOZ7VE.js} +2 -2
- package/dist/cdn/{KEVAPUV7.js → R72CY2T7.js} +2 -2
- package/dist/cdn/{Q5HKWIQ4.js → RBM4VG2D.js} +2 -2
- package/dist/cdn/RBN46G6Q.js +4 -0
- package/dist/cdn/{4HZ73PXZ.js → RCLP6XHT.js} +2 -2
- package/dist/cdn/{JZC43XNE.js → RCNI7IQN.js} +2 -2
- package/dist/cdn/{NK5IEUBF.js → REMQQQ23.js} +2 -2
- package/dist/cdn/{UHRZV2BI.js → RUECP25V.js} +1 -1
- package/dist/cdn/{72IRHFJ6.js → RZYQZ6JI.js} +2 -2
- package/dist/cdn/{EFYU4OWN.js → SEL6VXCB.js} +2 -2
- package/dist/cdn/{JDTP4G5P.js → SEYXACWE.js} +2 -2
- package/dist/cdn/{7SQMKKG6.js → SFAXECVE.js} +2 -2
- package/dist/cdn/{SGHNBHUF.js → SIY7BNTT.js} +2 -2
- package/dist/cdn/{QMVHLMJD.js → SMHGPEVR.js} +1 -1
- package/dist/cdn/{OEYJFMXJ.js → SMSNEKU2.js} +2 -2
- package/dist/cdn/{SRTKEQJS.js → STVSBNLJ.js} +1 -1
- package/dist/cdn/{7ASCWQCT.js → SW27NFSU.js} +2 -2
- package/dist/cdn/{YQWNS5T6.js → SXLYAREQ.js} +2 -2
- package/dist/cdn/{GTZDDRKB.js → T3XJJDUF.js} +1 -1
- package/dist/cdn/{PP7NRPXZ.js → T5E6H5II.js} +2 -2
- package/dist/cdn/{I4WG6VZ7.js → TBJ3OD6K.js} +2 -2
- package/dist/cdn/{SEYIBXFF.js → TCV7CZHS.js} +1 -1
- package/dist/cdn/{ZD6YAEWR.js → THVTZKYI.js} +2 -2
- package/dist/cdn/{EC4BDQTX.js → TIOF5XB6.js} +2 -2
- package/dist/cdn/{WUJ53CX4.js → TOHG4HYF.js} +2 -2
- package/dist/cdn/{KB5XSYOH.js → TOJBGC5P.js} +2 -2
- package/dist/cdn/{YYBA5O22.js → TPJG4M4T.js} +2 -2
- package/dist/cdn/{2EHFNAOJ.js → TSLAPINM.js} +2 -2
- package/dist/cdn/{HIXYDI5J.js → TTCGIOAI.js} +2 -2
- package/dist/cdn/{42QAHP2H.js → TWGK6M6C.js} +2 -2
- package/dist/cdn/{OADJ55J2.js → TWXFKUEC.js} +2 -2
- package/dist/cdn/{3R3HPZAK.js → TZSH2ARS.js} +2 -2
- package/dist/cdn/{ZFWM4LAN.js → U7UKQ4DG.js} +2 -2
- package/dist/cdn/{ZMAQKYQ6.js → UB5O6ERK.js} +2 -2
- package/dist/cdn/{ELQB37S3.js → UFXBXSKS.js} +2 -2
- package/dist/cdn/{CNTAXM77.js → ULGTFJSW.js} +2 -2
- package/dist/cdn/{VKL63NGD.js → UTAYW2K6.js} +1 -1
- package/dist/cdn/{MIC6LQDI.js → UW77PU4X.js} +2 -2
- package/dist/cdn/{HPB356BE.js → UWORLSOX.js} +2 -2
- package/dist/cdn/{5IOHRNFC.js → UX2J2SYV.js} +2 -2
- package/dist/cdn/{K6OWNAQ2.js → UYOTK5RM.js} +2 -2
- package/dist/cdn/{R6J3F2YU.js → V4GPI42Y.js} +2 -2
- package/dist/cdn/{LCCWTX2N.js → VBGF7QRZ.js} +2 -2
- package/dist/cdn/{SWCTZZ5M.js → VDGFZDK4.js} +2 -2
- package/dist/cdn/{NB2MJP3T.js → VM5KEKMQ.js} +2 -2
- package/dist/cdn/{NJRBMGQU.js → VMF2F7QB.js} +2 -2
- package/dist/cdn/{3C4J2KTB.js → VPT23YTB.js} +2 -2
- package/dist/cdn/{43AII6JW.js → VR3MHHIC.js} +2 -2
- package/dist/cdn/{AYBN7RSJ.js → VSM5ACRS.js} +1 -1
- package/dist/cdn/VYKNUPRO.js +18 -0
- package/dist/cdn/{5DBXMD4E.js → VZT5KWR5.js} +1 -1
- package/dist/cdn/{7OLNN2MW.js → W4KMC3NB.js} +2 -2
- package/dist/cdn/{PDCOACTW.js → W6WSYHNW.js} +2 -2
- package/dist/cdn/{RL3HBL5T.js → WC4KBS23.js} +2 -2
- package/dist/cdn/{M3TJ57X3.js → WDNP7HTK.js} +2 -2
- package/dist/cdn/{5RDDXPRM.js → WL77FNT3.js} +2 -2
- package/dist/cdn/{NHRWEIDY.js → WOO5BOCB.js} +2 -2
- package/dist/cdn/{RQU6SEUA.js → WP4EKSX2.js} +2 -2
- package/dist/cdn/{RKE526NJ.js → WQE73AJC.js} +2 -2
- package/dist/cdn/{GXKTKNRR.js → WXFPTRJR.js} +2 -2
- package/dist/cdn/{WDQUXD5I.js → WXNM6KFK.js} +1 -1
- package/dist/cdn/{6OU6VXZE.js → WYA2FORR.js} +1 -1
- package/dist/cdn/{LHFLSDVZ.js → WZBZLGNL.js} +2 -2
- package/dist/cdn/{GYJUGCFY.js → X2OLHDL4.js} +2 -2
- package/dist/cdn/{P3U5VVRM.js → XDIAXG7W.js} +2 -2
- package/dist/cdn/{DYURGKBB.js → XDZWOIXT.js} +2 -2
- package/dist/cdn/{R4UPUL7H.js → XFO3NKFA.js} +2 -2
- package/dist/cdn/{C3ABCUGF.js → XL2VPXSI.js} +2 -2
- package/dist/cdn/XLVNDBS4.js +18 -0
- package/dist/cdn/{JS6X6QAW.js → XWMJJTFT.js} +2 -2
- package/dist/cdn/{M3RICNEU.js → XYBOITJQ.js} +2 -2
- package/dist/cdn/{PF5AT3NA.js → Y5NASHCV.js} +2 -2
- package/dist/cdn/Y7B2IPGW.js +4 -0
- package/dist/cdn/{HLI457TP.js → YHNGZWXX.js} +2 -2
- package/dist/cdn/{5CHNKTZ7.js → YKNVONIM.js} +2 -2
- package/dist/cdn/{2M3SOJDG.js → YPZ6CNKI.js} +2 -2
- package/dist/cdn/{LNKLEGM7.js → YRN2WYUP.js} +2 -2
- package/dist/cdn/{LRAV7OBQ.js → YTSXJMMI.js} +2 -2
- package/dist/cdn/{RHNCXWTD.js → YU4NAMP6.js} +2 -2
- package/dist/cdn/{DCHFQUOM.js → YV5B46AL.js} +2 -2
- package/dist/cdn/{7QXVNVSY.js → YXRG5OPF.js} +1 -1
- package/dist/cdn/{CPKI7S65.js → YY7WPHWE.js} +2 -2
- package/dist/cdn/{B3HDMUHB.js → YZED6W3H.js} +2 -2
- package/dist/cdn/{46V3IO5X.js → Z2OK65KU.js} +2 -2
- package/dist/cdn/{KOHDKHHL.js → Z7GSGDAA.js} +2 -2
- package/dist/cdn/{Z3YUGK3I.js → ZDSNPHUL.js} +2 -2
- package/dist/cdn/{64P5PANG.js → ZE7ROH6H.js} +3 -3
- package/dist/cdn/{DBIXZJBF.js → ZL65LK5Q.js} +2 -2
- package/dist/cdn/{C2OY2PS6.js → ZQ7AEYGF.js} +1 -1
- package/dist/cdn/{7XJB7VS7.js → ZQWBJKYN.js} +2 -2
- package/dist/cdn/{LPJY4EKV.js → ZSDIEOW7.js} +1 -1
- package/dist/cdn/ZU5MCLNF.js +18 -0
- package/dist/cdn/{CLZFMS77.js → ZYG3NNP5.js} +2 -2
- package/dist/cdn/{R23EOL5Y.js → ZZZ3XDEV.js} +2 -2
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +16 -17
- package/dist/components/map-card/customElement.js +14 -15
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-details-panel/customElement.js +19 -22
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +2 -2
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +25 -20
- package/dist/components/solutions-deploy-app/customElement.js +6 -7
- package/dist/components/solutions-deploy-app-nav/customElement.js +28 -22
- package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
- package/dist/components/solutions-deploy-app-nav/index.js +4 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
- package/dist/components/solutions-filter-panel/customElement.js +63 -55
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +59 -1
- package/dist/docs/docs.json +45 -1
- package/dist/docs/vscode.html-custom-data.json +10 -0
- package/dist/docs/web-types.json +27 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/helpers.d.ts +8 -1
- package/package.json +1 -1
- package/dist/cdn/7LVVHGLQ.js +0 -4
- package/dist/cdn/BVFYUULI.js +0 -18
- package/dist/cdn/BZQNZGIF.js +0 -18
- package/dist/cdn/C3OBOQOO.js +0 -18
- package/dist/cdn/E4MWWQ52.js +0 -18
- package/dist/cdn/GRTQAPQC.js +0 -18
- package/dist/cdn/HR5YMULP.js +0 -4
- package/dist/cdn/HX6UBWDB.js +0 -4
- package/dist/cdn/JWNDNXKO.js +0 -4
- package/dist/cdn/LRHWDN4E.js +0 -4
- package/dist/cdn/OWWSN3B2.js +0 -4
- package/dist/cdn/P5VGADLR.js +0 -18
- package/dist/cdn/PAAUUG27.js +0 -18
- package/dist/cdn/WL6MLDUU.js +0 -18
- package/dist/cdn/XGYQYEAR.js +0 -4
- package/dist/cdn/YPLTRSYP.js +0 -4
- package/dist/cdn/ZXKZXNEZ.js +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
4
|
function V(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function F(t){return Object.keys(t).some(e=>{let r=t[e];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 M(t){let e={};return Object.keys(t).forEach(r=>{var n,o;let s=t[r];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,c;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;c=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":c=JSON.stringify(s);break;case"Date":c=s.valueOf();break;case"Function":c=null;break;case"Boolean":c=s+"";break;default:c=s;break}(c||c===0||typeof c=="string"||Array.isArray(c))&&(e[r]=c)}),e}function Q(t,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(r=>Q(t,r)).join("&"):encodeURIComponent(t)+"="+encodeURIComponent(e)}function T(t){let e=M(t);return Object.keys(e).map(r=>Q(r,e[r])).join("&")}var X=globalThis.FormData,Te=globalThis.File,Se=globalThis.Blob;function Y(t,e){let r=F(t)||e,n=M(t);if(r){let o=new X;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return T(t)}var k=class extends Error{constructor(e,r,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?e:`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var ge={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},L="ARCGIS_REST_JS_NO_CORS";globalThis[L]||(globalThis[L]=Object.assign({},ge));var w=globalThis[L];function B(t){let e=new URL(t);t=e.origin+e.pathname,e.search.includes("f=json")&&(t+="?f=json");let r=e.origin;return w.pendingNoCorsRequests[r]?w.pendingNoCorsRequests[r]:(w.pendingNoCorsRequests[r]=fetch(t,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r),w.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete w.pendingNoCorsRequests[r]}).catch(n=>(delete w.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),w.pendingNoCorsRequests[r])}function Z(t){t.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?z(e):(z("http://"+e),z("https://"+e))})}function z(t){let r=new URL(t).origin;w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r)}function J(t){let e=!1;if(w.noCorsDomains.length){let r=new URL(t).origin.toLowerCase();e=w.noCorsDomains.some(n=>r.includes(n))}return e}function ee(t){let e=!1;if(J(t)){let r=new URL(t).origin.toLowerCase(),n=w.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(t){console&&console.warn&&console.warn.apply(console,[t])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(t,e){var r;if(!e&&!window||!t)return!1;{e=e||window;let n=(r=e.location)===null||r===void 0?void 0:r.origin;return t.startsWith(n)}}var H="@esri/arcgis-rest-js";function we(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{constructor(e="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,r,n,o,s),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?e:`${r}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,r=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(c=>{let u=Object.assign(Object.assign({},this.options),{authentication:c});return oe(this.url,u)}).then(c=>{s(c)}).catch(c=>{c.name==="ArcGISAuthError"&&n<r?o(s,i):c.name===this.name&&c.message===this.message&&n>=r?i(this):i(c)})};return new Promise((s,i)=>{o(s,i)})}};function Ee(t,e,r,n,o){if(t.code>=400){let{message:s,code:i}=t;throw new k(s,i,t,e,n)}if(t.error){let{message:s,code:i,messageCode:c}=t.error,u=c||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new A(s,u,t,e,n):new k(s,u,t,e,n)}if(t.status==="failed"||t.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(t.statusMessage).message,i=JSON.parse(t.statusMessage).code}catch{s=t.statusMessage||t.message}throw new k(s,i,t,e,n)}return t}function oe(t,e){let r=we(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),e),{params:Object.assign(Object.assign({},r.params),e.params),headers:Object.assign(Object.assign({},r.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),c=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};J(t)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let x;if(typeof n.authentication=="string"){let a=n.authentication;x={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!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&&(te("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 x=n.authentication;let p=t,d=!1;typeof window<"u"&&(d=ne(t));let R=!d&&ee(t);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(t)),S.then(()=>x?x.getToken(t).catch(a=>(a.url=t,a.options=n,c=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(i.token=a),x&&x.getDomainCredentials&&(u.credentials=x.getDomainCredentials(t));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?t:t+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",a.length&&n.hideToken&&(i.token=a,delete l["X-Esri-Authorization"])):t=b}let m=new RegExp("/items/.+/updateResources").test(t);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=H),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(t,u):re().then(({fetch:h})=>h(t,u))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:m,statusText:h}=a,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,t,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=a;throw new k(h,`HTTP ${m}`,a,t,n)});if(s)return a;switch(i.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((i.f==="json"||i.f==="geojson")&&!s){let l=Ee(a,p,i,n,c);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(t)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&Z(a.authorizedCrossOriginNoCorsDomains),c){let m=t.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},c=null}return l}else return a})}function f(t,e={params:{f:"json"}}){let{request:r}=e,n=V(e,["request"]);return r?r(t,n):oe(t,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function xe(t){let[e,r]=t.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(r)}}function se(t){return!t||t.length<=0?{}:t.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,r)=>{let{key:n,value:o}=xe(r);return e[n]=o,e},{})}var ie=300*1e3;function C(t,e){let r=e;return r.rawResponse=!1,f(t,r).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-ie),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-ie)),o})}function E(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(t){return q.test(t)}function _e(t){if(!q.test(t))return t;switch(K(t)){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 K(t){if(!q.test(t))return null;let r=t.match(q)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function ce(t,e){let r=E(_e(e)).replace(/https?:\/\//,""),n=E(t).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function ue(t,e){let r=ae(t),n=ae(e),o=K(t),s=K(e);return!!(r&&n&&o===s)}function le(t,e,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:t}})}function ot(t,e,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},r),t);return o.params=e.reduce((s,i)=>((t[i]||typeof t[i]=="boolean"||typeof t[i]=="number"&&t[i]===0)&&(s[i]=t[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var _;(function(t){t.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",t.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",t.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",t.NOT_FEDERATED="NOT_FEDERATED",t.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(_||(_={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",r=_.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var N=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};var he;(function(t){t.ArcGISRequestError="ArcGISRequestError",t.ArcGISAuthError="ArcGISAuthError",t.ArcGISAccessDeniedError="ArcGISAccessDeniedError",t.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var j=class{constructor(e){this.portal=e.portal?E(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.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(e=>e.username)}getUser(e){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},e),{rawResponse:!1});return this._pendingUserRequest=f(r,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var W;(function(t){t.Success="Succeeded",t.Failed="Failed",t.Waiting="Waiting",t.Cancelled="Cancelled",t.Cancelling="Cancelling",t.New="New",t.Executing="Executing",t.Submitted="Submitted",t.Failure="Failure",t.TimedOut="TimedOut",t.Error="Error",t.Status="Etatus",t.Unknown="Unknown"})(W||(W={}));function fe(t){let e=`${E(t.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=t.token,n=t.clientId;delete t.portal,delete t.clientId,delete t.token;let o=Object.assign(Object.assign({},t),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(t,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(t,e=window){if(!e&&window&&(e=window),t&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(t);return e.crypto.subtle.digest("SHA-256",n).then(o=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function G(t){!t&&window&&(t=window);let e=t.crypto.getRandomValues(new Uint8Array(32));return $(e)}function de(t,e){return typeof t=="string"?t:typeof t=="object"?t.id:G(e)}function me(t,e,r){return JSON.stringify(typeof e=="string"||!e?{id:t,originalUrl:r}:Object.assign({id:t},e))}function ye(t){return typeof t.userId=="string"||typeof t.expires=="number"}var O=class t extends j{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?E(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.state=e.state,this.federatedServers={},this.trustedDomains=[],e.server){let r=this.getServerRootUrl(e.server);this.federatedServers[r]={token:e.token,expires:e.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(e,r){!r&&window&&(r=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:c,popup:u,popupWindowFeatures:x,locale:p,params:d,style:R,pkce:S,state:a}=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},e),l=de(a,r),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;r.localStorage.setItem(m,l);let h=`${E(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:c,state:me(l,a,r.location.href),locale:p,style:R};o!=="arcgis"&&(h=`${E(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=G(r),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;r.localStorage.setItem(U,v),D=pe(v,r).then(function(g){b.code_challenge_method=g?"S256":"plain",b.code_challenge=g||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${s}`,g=>{if(g.detail.error==="access_denied"){let P=new N;return U(P),P}if(g.detail.errorMessage){let P=new A(g.detail.errorMessage,g.detail.error);return U(P),P}v(new t({clientId:s,portal:n,ssl:g.detail.ssl,token:g.detail.token,tokenExpires:g.detail.expires,username:g.detail.username,refreshToken:g.detail.refreshToken,refreshTokenExpires:g.detail.refreshTokenExpires,redirectUri:c,state:g.detail.state}))},{once:!0}),r.open(h,"oauth-window",x),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=h})}static completeOAuth2(e,r){!r&&window&&(r=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:c}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,x=r.localStorage.getItem(u),p=se(i?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(a,l,m){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:a}})),r.close();return}return m&&r.history.replaceState(r.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(a,l))}function S(a,l){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign(Object.assign({},a),{state:l})})),r.close();return}return l.originalUrl&&r.history.replaceState(r.history.state,"",l.originalUrl),new t({clientId:o,portal:n,ssl:a.ssl,token:a.token,tokenExpires:a.expires,username:a.username,refreshToken:a.refreshToken,refreshTokenExpires:a.refreshTokenExpires,redirectUri:c||location.href.replace(location.search,""),state:l})}if(!x||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==x)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let a=p.error,l=p.error_description||"Unknown error";return R(l,a,d.originalUrl)}if(i&&p.code){let a=E(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=r.localStorage.getItem(l);return r.localStorage.removeItem(l),C(a,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:c||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d)):R("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,r){!r&&window&&(r=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===r.parent&&i.data)try{return o(t.parentMessageHandler(i))}catch(c){return s(c)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(r.removeEventListener("message",n,!1),o))}static authorize(e,r){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:c}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};c&&(u.state=c);let x=`${n}/oauth2/authorize?${T(u)}`;r.writeHead(301,{Location:x}),r.end()}static exchangeAuthorizationCode(e,r){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:r}}).then(i=>new t({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,_.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let r=JSON.parse(e);return new t({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(e,r){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return r.hasServer?new t({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new t({portal:E(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let r=e.data.credential;return ye(r)?t.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new t(r)}if(e.data.type==="arcgis:auth:error"){let r=new Error(e.data.error.message);throw r.name=e.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(e){return fe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let r=new t(e);return r.getUser().then(()=>r)}static signIn(e){let r=new t(e);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(e){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},e),{rawResponse:!1});return this._pendingPortalRequest=f(r,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,r){return ue(this.portal,e)?this.getFreshToken(r):new RegExp(this.portal,"i").test(e)?this.getFreshToken(r):this.getTokenForServer(e,r)}validateAppAccess(e){return this.getToken(this.portal).then(r=>le(r,e))}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(e,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(e),r.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",_.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[r]=E(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=r.match(/(https?:\/\/)(.+)/),[i,...c]=s.split("/");return`${o}${i.toLowerCase()}/${c.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(r=>e.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return t.destroy(this)}createPostMessageHandler(e){return r=>{let n=e.indexOf(r.origin)>-1,o=r.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let c=this.toCredential();c.server=c.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:c}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(i,r.origin)}}}getTokenForServer(e,r){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ce(s.owningSystemUrl,this.portal))return f(`${s.owningSystemUrl}/sharing/rest/info`,r);throw new y(`${e} is not federated with ${this.portal}.`,_.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,_.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,r){return f(e,{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 y(n.message,_.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){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(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){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:H};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:r},e))):f(`${this.portal}/generateToken`,Object.assign({params:r},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,_.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return C(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,_.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,r){return this._token=e,this._tokenExpires=r,this}exchangeRefreshToken(e){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return C(`${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 y(n.message,_.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function I(t){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(t)}I.beginOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...t)};I.completeOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),t.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),O.completeOAuth2(...t)};I.fromParent=function(...t){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...t)};I.authorize=function(...t){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...t)};I.exchangeAuthorizationCode=function(...t){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...t)};I.fromCredential=function(...t){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."),O.fromCredential(...t)};I.deserialize=function(...t){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...t)};export{Y as a,te as b,A as c,f as d,ot as e,E as f,O as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e,c as t,e as a,g as s,k as o}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as e,c as t,e as a,g as s,k as o}from"./2UAZTD7Q.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{l as c}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{l as c}from"./ZYG3NNP5.js";import{a as o}from"./STVSBNLJ.js";import{a as n}from"./AQ45HO6P.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as x}from"./4DQWCLKY.js";import{a as b}from"./BFLK4MV3.js";import{c as _}from"./WDQUXD5I.js";import{b as w}from"./V4HWOWHO.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{C as u,D as g,E as f,G as o,h as m,i as s,l as h}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var d={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},z=new Map;Object.keys(d).forEach(r=>{z.set(r,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${d[r].fill}"><path d="${d[r].path}"/></svg>`)});function c(r){return z.get(r)||""}var V=m`:host{display:block;--instant-apps-create-action-background: var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-create-action-background-press: var(--calcite-color-foreground-3);--instant-apps-create-action-height: 100%;--instant-apps-create-action-width: fit-content;--instant-apps-create-action-icon-color: var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-create-background: var(--calcite-color-foreground-1);--instant-apps-create-text-color: var(--calcite-color-text-1);--instant-apps-create-popover-width: 450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1: var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1: var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 .5rem;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:.5rem;cursor:pointer;--calcite-color-text-link: var(--calcite-color-text-1);align-items:stretch;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.instant-apps-create__option:first-of-type{margin-top:.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:.75rem;color:var(--calcite-color-text-2);padding:.75rem 0 0 .75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:.25rem;color:#7e7e7e;--tw-translate-x: 0px;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}`,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",header:"instant-apps-create__header",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle"},v=class extends f{constructor(){super(...arguments),this._messages=b({name:"instant-apps-create",blocking:!0}),this.popoverEl=u(),this.baseClass=i.baseLight,this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"]}static{this.properties={baseClass:16,popoverIcon:1,mode:3,popoverPositioning:1,popoverPlacement:1,showHeader:5,content:0,options:0,portal:0}}static{this.styles=V}async load(){this.baseClass=x(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),this.initializePredefinedOptions()}willUpdate(t){t.has("content")&&this._createOptionsLookup&&Object.keys(this._createOptionsLookup).forEach(e=>{this._createOptionsLookup[e].href=this.hrefLookup(e)})}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initializeModules(){this.handles=await _()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:a,mapViewerDesc:n,arcgisStoryMaps:p,storyMapsDesc:l,experienceBuilder:A,experienceBuilderDesc:$,dashboards:y,dashboardsDesc:k}=this._messages;this._createOptionsLookup={"instant-apps":{title:t,subtitle:e,img:c("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:a,subtitle:n,img:c("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:p,subtitle:l,img:c("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:A,subtitle:$,img:c("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:y,subtitle:k,img:c("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),a=this._getEnvironment(e),n=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${n}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${n}`;case"story-maps":return`https://storymaps${a==="prod"?"":a}.arcgis.com/stories/new?${n}`;case"experience-builder":return`https://experience${a==="prod"?"":a}.arcgis.com/builder/page/template/?${n}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:a,urlKey:n}=t,{protocol:p}=window.location,l=n?`${n}.${e}`:a;return`${p}//${l}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return s`<div class=${o(this.baseClass)}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[s`<calcite-popover reference-element=create-popover-btn .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close .label=${this._messages.createLabel} ${g(this.popoverEl)}>${t}</calcite-popover>`,s`<calcite-action id=create-popover-btn alignment=center .icon=${this.popoverIcon} title=${this._messages.create??h} .text=${this._messages.create}></calcite-action>`]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderPanelOptions(),a=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return s`<div class=${o(a)}>${t}${e}</div>`}renderHeader(){return s`<div class=${o(i.header)}><h3>${this._messages.create}</h3><p>${this._messages.createSubheading}</p></div>`}renderPanelOptions(){return s`<nav>${this.options.map(t=>this.renderOption(t))}</nav>`}renderOption(t){if(typeof t=="string"&&(t=this._createOptionsLookup?.[t]),t==null)return s`<div></div>`;let{title:e,subtitle:a,img:n,href:p}=t;return s`<a class=${o(i.option)} href=${p??h} target=_blank>${s`<span class=${o(i.optionIcon)} .innerHTML=${n??""}></span><span class=${o(i.optionText)}><span class=${o(i.optionTextWrapper)}><h3 class=${o(i.optionTitle)}>${e}</h3><calcite-icon scale=s icon=launch></calcite-icon></span><p class=${o(i.optionSubtitle)}>${a}</p></span>`}</a>`}};w("instant-apps-create",v);export{v as InstantAppsCreate};
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as x}from"./2BBIUN2T.js";import{a as b}from"./3FDC2PNP.js";import{c as _}from"./WXNM6KFK.js";import{b as w}from"./EPAC26GM.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{C as u,D as g,E as f,G as o,h as m,i as s,l as h}from"./SMHGPEVR.js";import"./WYA2FORR.js";var d={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},z=new Map;Object.keys(d).forEach(r=>{z.set(r,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${d[r].fill}"><path d="${d[r].path}"/></svg>`)});function c(r){return z.get(r)||""}var V=m`:host{display:block;--instant-apps-create-action-background: var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-create-action-background-press: var(--calcite-color-foreground-3);--instant-apps-create-action-height: 100%;--instant-apps-create-action-width: fit-content;--instant-apps-create-action-icon-color: var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-create-background: var(--calcite-color-foreground-1);--instant-apps-create-text-color: var(--calcite-color-text-1);--instant-apps-create-popover-width: 450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1: var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1: var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 .5rem;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:.5rem;cursor:pointer;--calcite-color-text-link: var(--calcite-color-text-1);align-items:stretch;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.instant-apps-create__option:first-of-type{margin-top:.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:.75rem;color:var(--calcite-color-text-2);padding:.75rem 0 0 .75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:.25rem;color:#7e7e7e;--tw-translate-x: 0px;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}`,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",header:"instant-apps-create__header",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle"},v=class extends f{constructor(){super(...arguments),this._messages=b({name:"instant-apps-create",blocking:!0}),this.popoverEl=u(),this.baseClass=i.baseLight,this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"]}static{this.properties={baseClass:16,popoverIcon:1,mode:3,popoverPositioning:1,popoverPlacement:1,showHeader:5,content:0,options:0,portal:0}}static{this.styles=V}async load(){this.baseClass=x(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),this.initializePredefinedOptions()}willUpdate(t){t.has("content")&&this._createOptionsLookup&&Object.keys(this._createOptionsLookup).forEach(e=>{this._createOptionsLookup[e].href=this.hrefLookup(e)})}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initializeModules(){this.handles=await _()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:a,mapViewerDesc:n,arcgisStoryMaps:p,storyMapsDesc:l,experienceBuilder:A,experienceBuilderDesc:$,dashboards:y,dashboardsDesc:k}=this._messages;this._createOptionsLookup={"instant-apps":{title:t,subtitle:e,img:c("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:a,subtitle:n,img:c("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:p,subtitle:l,img:c("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:A,subtitle:$,img:c("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:y,subtitle:k,img:c("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),a=this._getEnvironment(e),n=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${n}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${n}`;case"story-maps":return`https://storymaps${a==="prod"?"":a}.arcgis.com/stories/new?${n}`;case"experience-builder":return`https://experience${a==="prod"?"":a}.arcgis.com/builder/page/template/?${n}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:a,urlKey:n}=t,{protocol:p}=window.location,l=n?`${n}.${e}`:a;return`${p}//${l}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return s`<div class=${o(this.baseClass)}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[s`<calcite-popover reference-element=create-popover-btn .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close .label=${this._messages.createLabel} ${g(this.popoverEl)}>${t}</calcite-popover>`,s`<calcite-action id=create-popover-btn alignment=center .icon=${this.popoverIcon} title=${this._messages.create??h} .text=${this._messages.create}></calcite-action>`]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderPanelOptions(),a=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return s`<div class=${o(a)}>${t}${e}</div>`}renderHeader(){return s`<div class=${o(i.header)}><h3>${this._messages.create}</h3><p>${this._messages.createSubheading}</p></div>`}renderPanelOptions(){return s`<nav>${this.options.map(t=>this.renderOption(t))}</nav>`}renderOption(t){if(typeof t=="string"&&(t=this._createOptionsLookup?.[t]),t==null)return s`<div></div>`;let{title:e,subtitle:a,img:n,href:p}=t;return s`<a class=${o(i.option)} href=${p??h} target=_blank>${s`<span class=${o(i.optionIcon)} .innerHTML=${n??""}></span><span class=${o(i.optionText)}><span class=${o(i.optionTextWrapper)}><h3 class=${o(i.optionTitle)}>${e}</h3><calcite-icon scale=s icon=launch></calcite-icon></span><p class=${o(i.optionSubtitle)}>${a}</p></span>`}</a>`}};w("instant-apps-create",v);export{v as InstantAppsCreate};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a,b}from"./R5BOZ7VE.js";import"./2UAZTD7Q.js";import"./WYA2FORR.js";export{a as GroupEditorTypes,b as GroupSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as g}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{d as g}from"./U7UKQ4DG.js";import"./YXRG5OPF.js";import{b as m}from"./HJQ464S3.js";import{a as u}from"./H3Z56RZY.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{b as p}from"./VR3MHHIC.js";import{C as c,D as h,E as d,h as n,i,o as a,r as l}from"./SMHGPEVR.js";import"./WYA2FORR.js";var C=n`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as G}from"./Q5S5ARM5.js";import{a as L}from"./2M3SOJDG.js";import{c as K,d as _,e as U}from"./RL3HBL5T.js";import{l as j,p as P}from"./GYJUGCFY.js";import"./RGNOHVXO.js";import"./RYN2SWCM.js";import"./AYBN7RSJ.js";import"./CLZFMS77.js";import"./LY6TIHQF.js";import{a as S}from"./5DBXMD4E.js";import"./RYXX6HET.js";import"./P4FFI3FD.js";import"./Q6ET57BS.js";import"./XECYHGO2.js";import{w}from"./7ASCWQCT.js";import"./TMCHHM55.js";import"./A6SDFMS4.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import{b as A}from"./ECNSXEJQ.js";import{a as c,b as p}from"./Y4CZ7XFH.js";import"./AN4ZPBV5.js";import"./6OU6VXZE.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(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 se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as G}from"./GSTWP5ZM.js";import{a as L}from"./YPZ6CNKI.js";import{c as K,d as _,e as U}from"./WC4KBS23.js";import{l as j,p as P}from"./X2OLHDL4.js";import"./F5ALSWOY.js";import"./PP4Q3ULO.js";import"./VSM5ACRS.js";import"./ZYG3NNP5.js";import"./JCFSOF6S.js";import{a as S}from"./VZT5KWR5.js";import"./EQTBIP6U.js";import"./7OY5RPOS.js";import"./FHOJGZI7.js";import"./LOJTB56C.js";import{w}from"./SW27NFSU.js";import"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import{b as A}from"./2NWVUYTE.js";import{a as c,b as p}from"./2XWJ46TT.js";import"./LDDJNGGS.js";import"./WYA2FORR.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(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 se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import"./WYA2FORR.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
4
|
var e="UserSession",a="isMobile",t="Auth";var i="config";export{e as a,a as b,t as c,i as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a,b}from"./VDGFZDK4.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./WYA2FORR.js";export{a as SurveyEditorTypes,b as SurveySchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{e as w}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{e as w}from"./U7UKQ4DG.js";import"./YXRG5OPF.js";import"./HJQ464S3.js";import{b as m}from"./TCV7CZHS.js";import{a as _}from"./H3Z56RZY.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{b as g}from"./VR3MHHIC.js";import{C as l,D as c,E as p,G as r,h,i as o,o as s,r as d}from"./SMHGPEVR.js";import"./WYA2FORR.js";var f=h`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as p}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{b as p}from"./EPAC26GM.js";import{E as a,h as i,i as n,r}from"./SMHGPEVR.js";import"./WYA2FORR.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{e,f as t}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{e,f as t}from"./2UAZTD7Q.js";import"./WYA2FORR.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import a from"./PSZSQA3T.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
|
|
5
5
|
.instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
|
|
6
6
|
margin-left: 30px !important;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
4
|
var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},I=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var j=Symbol.for("controller"),ue=o=>typeof o=="object"&&o!==null&&(j in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),as=o=>typeof o?.then=="function";var k,O=o=>{k!==o&&(k=o,queueMicrotask(()=>k===o?k=void 0:0))},H=o=>k,w=[],Rt=o=>{if(o===void 0){w=[];return}let t=w.indexOf(o);w=t===-1?[...w,o]:w.slice(0,t+1),queueMicrotask(()=>w=[])},Mt=()=>w,L,cs=o=>{L!==o&&(L=o,queueMicrotask(()=>L===o?L=void 0:0))},fe=()=>{let o=L;return L=void 0,o},It=async(o,t)=>{let e=Y(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},kt=async o=>{let t=Y(o);return await t.ready,t},Y=o=>{let e=H().manager.X(o);if(e!==void 0)return e;if(ue(o))return o;let s=fe();if(s!==void 0)return s},Q=!1,ls=o=>{Q=!0;try{return o()}finally{Q=!1}};var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),jt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&jt.set(e,t))}return t}toString(){return this.cssText}},Ht=o=>new z(typeof o=="string"?o:o+"",void 0,ut),me=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new z(e,o,ut)},zt=(o,t)=>{if(X)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},ft=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Ht(e)})(o):o;var{is:ye,defineProperty:ge,getOwnPropertyDescriptor:ve,getOwnPropertyNames:Ee,getOwnPropertySymbols:$e,getPrototypeOf:be}=Object,et=globalThis,Vt=et.trustedTypes,_e=Vt?Vt.emptyScript:"",Ae=et.reactiveElementPolyfillSupport,V=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?_e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},B=(o,t)=>!ye(o,t),Bt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:B};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&ge(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=ve(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(V("elementProperties")))return;let t=be(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(V("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(V("properties"))){let e=this.properties,s=[...Ee(e),...$e(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(ft(r))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return zt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:tt;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??B)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[V("elementProperties")]=new Map,b[V("finalized")]=new Map,Ae?.({ReactiveElement:b}),(et.reactiveElementVersions??=[]).push("2.1.1");var yt=globalThis,st=yt.trustedTypes,Wt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,gt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+_,Ce=`<${vt}>`,P=document,F=()=>P.createComment(""),q=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,Qt=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",mt=`[
|
|
5
5
|
\f\r]`,W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,T=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ms=$t(1),ys=$t(2),gs=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,S=P.createTreeWalker(P,129);function Zt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Xt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=W;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===W?u[1]==="!--"?n=Ft:u[1]!==void 0?n=qt:u[2]!==void 0?(Yt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=T):u[3]!==void 0&&(n=T):n===T?u[0]===">"?(n=r??W,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?T:u[3]==='"'?Kt:Gt):n===Kt||n===Gt?n=T:n===Ft||n===qt?n=W:(n=T,r=void 0);let g=n===T&&o[a+1].startsWith("/>")?" ":"";i+=n===W?c+Ce:h>=0?(s.push(l),c.slice(0,h)+gt+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Zt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},G=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Xt(t,e);if(this.el=o.createElement(l,s),S.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=S.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(gt)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?rt:C[1]==="?"?it:C[1]==="@"?nt:x}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Yt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=st?st.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],F()),S.nextNode(),c.push({type:2,index:++i});r.append(h[y],F())}}}else if(r.nodeType===8)if(r.data===vt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function N(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=q(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=N(o,r._$AS(o,t.values),r,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);S.currentNode=r;let i=S.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new R(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new at(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=S.nextNode(),n++)}return S.currentNode=P,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),q(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&q(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=G.createElement(Zt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new ot(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new G(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(F()),this.O(F()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},x=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=N(this,t,e,0),n=!q(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=N(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!q(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends x{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},it=class extends x{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends x{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}},te={M:gt,P:_,A:vt,C:1,L:Xt,R:ot,D:Qt,V:N,I:R,H:x,N:it,U:nt,B:rt,F:at},we=yt.litHtmlPolyfillSupport;we?.(G,R),(yt.litHtmlVersions??=[]).push("3.3.1");var bt=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new R(t.insertBefore(F(),i),i,void 0,e??{})}return r._$AI(o),r};var _t=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,_t.litElementHydrateSupport?.({LitElement:A});var Oe=_t.litElementPolyfillSupport;Oe?.({LitElement:A});(_t.litElementVersions??=[]).push("4.2.1");var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ee=(o,t)=>{let e=t>Te?Se:t/Pe,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Te=4e3,Se=2e3,Pe=4;var Ne=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},xe=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},De=(o=[H(),...Mt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ne(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){xe(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ue=(o="",t={},e=H())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&De(void 0,r=>o=r.key,s),s},Le=Ue.bind(null,""),re;re=j;var At=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[re]=!0,this.#a=[];let e=this,s=t??H(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=oe(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Rt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?oe(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return O(this.#i),It}get useRef(){return O(this.#i),kt}get useRefSync(){return O(this.#i),Y}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await I(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(I)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(se,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(se,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){O(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function se(o){p(o,void 0,this)}var ie=At,oe=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(Re,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Re=/[A-Z]+(?![a-z])|[A-Z]/gu;var Is="randomUUID"in crypto;var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var ke=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(je):void 0,C=g?.map(([U])=>U),D=class extends wt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},lt=Object.defineProperty,je=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},He=globalThis.HTMLElement??St,wt=class extends He{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ve(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(ze,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ze([o,t]){this[o]=t}var Ve=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Be}=te;var ht=o=>o.strings===void 0,ne=()=>document.createComment(""),Gs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ne(),r),n=s.insertBefore(ne(),r);e=new Be(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Ks=(o,t,e=o)=>(o._$AI(t,e),o),We={},ae=(o,t=We)=>o._$AH=t,Js=o=>o._$AH,Qs=o=>{o._$AR(),o._$AA.remove()};var Fe=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ae(o),t}});var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ce=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Ke(t)}};function qe(o){this._$AN!==void 0?(dt(this),this._$AM=o,ce(this)):this._$AM=o}function Ge(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Ke=o=>{o.type==m.CHILD&&(o._$AP??=Ge,o._$AQ??=qe)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ce(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var uo=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var le=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var he="important",Qe=" !"+he,de=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Qe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?he:""):e[s]=r}}return f}});var Dt=class extends ie{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),O(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ee(t,is)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},is=1e3,Ut="autoDestroyDisabled",pe=class o extends A{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??B,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!Q&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(I(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(j in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var nr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var ar=o=>typeof o=="object"&&o!=null?le(o):o,cr=o=>typeof o=="object"&&o!=null?de(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},lr=E(Lt);var hr=d;export{as as a,O as b,H as c,Rt as d,Mt as e,cs as f,ls as g,me as h,ms as i,ys as j,f as k,d as l,xe as m,De as n,Le as o,At as p,ie as q,Tt as r,ke as s,m as t,E as u,v,Gs as w,Ks as x,ae as y,Js as z,Qs as A,Fe as B,uo as C,xt as D,pe as E,nr as F,ar as G,cr as H,hr as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
|
+
import{a as l}from"./2IIMW7KZ.js";import"./LOJTB56C.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import{a as t}from"./DRCIJWFA.js";import"./VDGFZDK4.js";import"./AOOXAEOV.js";import"./2NWVUYTE.js";import"./ZL65LK5Q.js";import"./2XWJ46TT.js";import"./PLEVCFO6.js";import"./P2ZCV72Y.js";import"./LDDJNGGS.js";import"./WP4EKSX2.js";import"./QQDVZSP3.js";import"./TSLAPINM.js";import"./4AALASXV.js";import"./YHNGZWXX.js";import"./CEE26YF4.js";import"./R5BOZ7VE.js";import"./UW77PU4X.js";import"./7I775T2S.js";import"./IBSQEVYG.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./UTAYW2K6.js";import"./WYA2FORR.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.7 */
|
|
4
4
|
var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
|