@esri/solutions-components 1.0.0-next.20250506 → 1.0.0-next.20250506.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{MMQJDH4M.js → 24HG25VK.js} +2 -2
- package/dist/cdn/{QLHSQI3A.js → 25FSOTFW.js} +2 -2
- package/dist/cdn/{GBBL6RYB.js → 277TP75D.js} +2 -2
- package/dist/cdn/{BVCZUB6R.js → 2CTI34Z6.js} +2 -2
- package/dist/cdn/{XB53RDG3.js → 2OUKMEGJ.js} +2 -2
- package/dist/cdn/{IHD5L26J.js → 2OXZPI6J.js} +2 -2
- package/dist/cdn/{FN4YCITS.js → 2VGSUSSJ.js} +2 -2
- package/dist/cdn/32ADEBH7.js +4 -0
- package/dist/cdn/{3PIKDQ7B.js → 343QIIN4.js} +2 -2
- package/dist/cdn/{XEPFDR33.js → 3SIDE2MZ.js} +2 -2
- package/dist/cdn/{TLLOLMEW.js → 3V6CMPYL.js} +2 -2
- package/dist/cdn/{5FDGCTBP.js → 3ZAC7KPY.js} +2 -2
- package/dist/cdn/{TE4BFLBG.js → 44EW25X7.js} +2 -2
- package/dist/cdn/{CZ7QSRM3.js → 47RKZZYU.js} +2 -2
- package/dist/cdn/{54SRG2XP.js → 4C3ALUA4.js} +2 -2
- package/dist/cdn/{EBSKW3LL.js → 4DVIE54A.js} +2 -2
- package/dist/cdn/{AD55O7ES.js → 4FO53H2N.js} +2 -2
- package/dist/cdn/{3GPZVEES.js → 4KMKJ4MQ.js} +2 -2
- package/dist/cdn/{HEOEJ7XC.js → 4NGMIXLU.js} +2 -2
- package/dist/cdn/{YBUDPKCM.js → 4NO5UFRF.js} +1 -1
- package/dist/cdn/{6MVFUDAF.js → 4OVM4MIC.js} +2 -2
- package/dist/cdn/{KIDIMMPV.js → 4PTXN5WN.js} +2 -2
- package/dist/cdn/{VZQJJJ7N.js → 4QTVQTWW.js} +2 -2
- package/dist/cdn/{QNADLQ7I.js → 4S2LGGIS.js} +2 -2
- package/dist/cdn/{NYXG3TT3.js → 4TK6UC7L.js} +2 -2
- package/dist/cdn/{Q6QSFU5G.js → 4TNRV5HQ.js} +2 -2
- package/dist/cdn/{MJSJKWQE.js → 5IPD66RZ.js} +1 -1
- package/dist/cdn/{GRH3FNUR.js → 5KMYTALG.js} +2 -2
- package/dist/cdn/{RCWM332G.js → 5MZCRWR6.js} +2 -2
- package/dist/cdn/{TUSBYZ4U.js → 5RPZREL2.js} +2 -2
- package/dist/cdn/{BOFSVHG2.js → 5S4HGJEN.js} +2 -2
- package/dist/cdn/{2BNBYNZL.js → 5VVYQUIK.js} +2 -2
- package/dist/cdn/{5XNVKERC.js → 5XCBVPEJ.js} +1 -1
- package/dist/cdn/{WIGPC3KR.js → 6ADX5YCX.js} +2 -2
- package/dist/cdn/6IOBEPUO.js +4 -0
- package/dist/cdn/{YBNSJHOY.js → 6MB7FU4Y.js} +2 -2
- package/dist/cdn/{5FCSNF7Z.js → 6MOBEALK.js} +2 -2
- package/dist/cdn/{KBPHRWS4.js → 6YK2RFGE.js} +2 -2
- package/dist/cdn/{WT4NOXZO.js → 77FG2UXK.js} +1 -1
- package/dist/cdn/{QVHT3S4J.js → 7ACSM2YB.js} +2 -2
- package/dist/cdn/{JDW5U5DH.js → 7K2EWZ4V.js} +1 -1
- package/dist/cdn/{GHUCQESF.js → 7KYKOF2I.js} +2 -2
- package/dist/cdn/{EBSDJW3N.js → 7O4PDXW4.js} +2 -2
- package/dist/cdn/{3VQLTGIB.js → 7UJOIQQR.js} +2 -2
- package/dist/cdn/{F5E6TK4C.js → 7ZUTU5RY.js} +2 -2
- package/dist/cdn/A26DEWRW.js +4 -0
- package/dist/cdn/{EBQ6BYPP.js → A2AGIHZY.js} +2 -2
- package/dist/cdn/{3FZWNANP.js → A5UYRD2U.js} +2 -2
- package/dist/cdn/{3BXQBQ54.js → AGGRBVNS.js} +2 -2
- package/dist/cdn/{MALANZ3X.js → AIWA7X7G.js} +2 -2
- package/dist/cdn/{G5VNHWHQ.js → AKMNIUXT.js} +2 -2
- package/dist/cdn/{4ZMC6JAM.js → ALKYMGVV.js} +1 -1
- package/dist/cdn/{7T43FSC7.js → ASGQIVIB.js} +2 -2
- package/dist/cdn/{EVZ2UXRX.js → AY657GGH.js} +2 -2
- package/dist/cdn/{FT4IQX2Z.js → B66A7LZQ.js} +2 -2
- package/dist/cdn/{U7OA3Y5P.js → BB4CBTJK.js} +2 -2
- package/dist/cdn/{KJ64N7XQ.js → BXNFXKXV.js} +2 -2
- package/dist/cdn/{GJ4TW7CF.js → C2RLNEU4.js} +2 -2
- package/dist/cdn/{HLIZJTZF.js → C6XZBUE2.js} +2 -2
- package/dist/cdn/{3A7FXKY2.js → C7EQDZ4M.js} +2 -2
- package/dist/cdn/{ZBFSMOWC.js → CADJZG3Z.js} +2 -2
- package/dist/cdn/{QSDCS2V6.js → CAGLPIPF.js} +2 -2
- package/dist/cdn/{MOBCKLO5.js → CPBVNIA2.js} +2 -2
- package/dist/cdn/{I7EFEOUT.js → CQTEVIDR.js} +2 -2
- package/dist/cdn/{H5DJ47IK.js → D473H7YD.js} +1 -1
- package/dist/cdn/{QLPHOVPS.js → D4XAHC4N.js} +2 -2
- package/dist/cdn/{A4KYPGE5.js → DBN6GJS6.js} +2 -2
- package/dist/cdn/{472FBZK2.js → DC3N7IST.js} +1 -1
- package/dist/cdn/{FTVZ2Y4Y.js → DCZKZQPQ.js} +2 -2
- package/dist/cdn/{4ZCGTKRB.js → DFZH4JDP.js} +2 -2
- package/dist/cdn/{BCQHCY5J.js → DIGEXEVD.js} +2 -2
- package/dist/cdn/{MW3SBXWD.js → DMTCZQGB.js} +1 -1
- package/dist/cdn/DOADYGDB.js +4 -0
- package/dist/cdn/{RJRX6YJH.js → DOTDQSSL.js} +2 -2
- package/dist/cdn/{7BZS2MB3.js → DPNSCBBO.js} +1 -1
- package/dist/cdn/{3CPIHDNH.js → DW6QFLMC.js} +2 -2
- package/dist/cdn/{OOMZPP3K.js → DXQ3LDCB.js} +2 -2
- package/dist/cdn/{ZINUZJUT.js → E4P22JZK.js} +1 -1
- package/dist/cdn/{WBFFCQWF.js → E7BM2VNY.js} +2 -2
- package/dist/cdn/{W2LECCSV.js → EELLYXNN.js} +1 -1
- package/dist/cdn/{DCT33VJ3.js → EIQNRR4P.js} +2 -2
- package/dist/cdn/{HGKMH45K.js → EJZKFB4Z.js} +2 -2
- package/dist/cdn/{3ZRGEQCY.js → EOYZ5MEY.js} +2 -2
- package/dist/cdn/{QANVXL5I.js → EYFKB5UR.js} +1 -1
- package/dist/cdn/{KP5OJ3ZT.js → EYVTUHVJ.js} +2 -2
- package/dist/cdn/{ZXUZYZ63.js → F2NPMFYG.js} +2 -2
- package/dist/cdn/{JT5QQSZM.js → F777BKYK.js} +2 -2
- package/dist/cdn/{RXXW5VAY.js → FAZOBB62.js} +2 -2
- package/dist/cdn/{KP4M7FMS.js → FM3TGG3U.js} +1 -1
- package/dist/cdn/{4FALIKEZ.js → FO33AVRG.js} +2 -2
- package/dist/cdn/{AY3QSNRE.js → FWL2VP7W.js} +2 -2
- package/dist/cdn/{ORCWQHX7.js → FXQSFX4Q.js} +2 -2
- package/dist/cdn/{GLZ263ZP.js → GAQOXRME.js} +1 -1
- package/dist/cdn/{STCY7MQT.js → GG4OVZHW.js} +2 -2
- package/dist/cdn/{CLPKSXFK.js → GQO2KP3I.js} +1 -1
- package/dist/cdn/GVRBVSQP.js +4 -0
- package/dist/cdn/{AIOO2QWL.js → GVS6OC6I.js} +2 -2
- package/dist/cdn/{VXWKIKTD.js → H3GY7WZY.js} +2 -2
- package/dist/cdn/{AYJVDDFY.js → H43GRPO5.js} +2 -2
- package/dist/cdn/{4OKIWPYX.js → HHY7QSTW.js} +2 -2
- package/dist/cdn/{XK7RUU5U.js → HK7ORFOY.js} +2 -2
- package/dist/cdn/{GCXOG3FT.js → HP45S4UO.js} +2 -2
- package/dist/cdn/{TFL3T2ME.js → HPADRK2N.js} +2 -2
- package/dist/cdn/{OWJHYCCR.js → HPLREYIV.js} +2 -2
- package/dist/cdn/{KDSQ5CZA.js → HPSATKU6.js} +2 -2
- package/dist/cdn/{2CIE6LR3.js → HQLVVCY5.js} +2 -2
- package/dist/cdn/{MN3WPQFX.js → HSIGQHGC.js} +2 -2
- package/dist/cdn/{C6ZAXIN6.js → HUP3OLOI.js} +2 -2
- package/dist/cdn/{SL4XZ3A5.js → HVFFPMUB.js} +2 -2
- package/dist/cdn/{UGLKEWDX.js → IC5TQPF6.js} +2 -2
- package/dist/cdn/{OWEVUGJE.js → IDFBPJOG.js} +2 -2
- package/dist/cdn/{DGCQZ6RA.js → IFPYXLV5.js} +2 -2
- package/dist/cdn/{7EMRFRMY.js → INJHMY2P.js} +2 -2
- package/dist/cdn/{2FLOQCFJ.js → IOG3GJFK.js} +2 -2
- package/dist/cdn/{FE2BUSRT.js → ISRQ3BAT.js} +2 -2
- package/dist/cdn/{VN4AH5OX.js → ITICLHXB.js} +2 -2
- package/dist/cdn/{QGQLOURY.js → J22XBVJX.js} +2 -2
- package/dist/cdn/{WRAEKXFO.js → J3KEXR6N.js} +2 -2
- package/dist/cdn/{TU2V5WMX.js → JAH6KVAQ.js} +2 -2
- package/dist/cdn/{YAAHEQLO.js → JALWXGJR.js} +2 -2
- package/dist/cdn/{HNVWWRBO.js → JDFGWL2P.js} +2 -2
- package/dist/cdn/{YYBBUCKA.js → JF22WXGR.js} +2 -2
- package/dist/cdn/{NFBSLKRV.js → JIG5WCW6.js} +2 -2
- package/dist/cdn/{3X7CET35.js → JMLPIAZ5.js} +2 -2
- package/dist/cdn/{5BLFSPAT.js → JOKITFSD.js} +2 -2
- package/dist/cdn/{STNI3XU5.js → JPVITM3R.js} +2 -2
- package/dist/cdn/{CLQIEIJQ.js → JSL7F3AB.js} +1 -1
- package/dist/cdn/{QFH4HW4C.js → K36J5DBT.js} +2 -2
- package/dist/cdn/{RXICRR2Z.js → K6YZHC7R.js} +2 -2
- package/dist/cdn/{3TWUDXKA.js → KA75RHIE.js} +2 -2
- package/dist/cdn/{R2NGOWNQ.js → KIJ2HVBA.js} +2 -2
- package/dist/cdn/{CDLBM5OZ.js → KKHP5J6S.js} +2 -2
- package/dist/cdn/{KTLARGFA.js → KOTWOAEH.js} +2 -2
- package/dist/cdn/{S5W5A5J7.js → KR424OVE.js} +2 -2
- package/dist/cdn/{6Q7ROHDK.js → KTYRFLWJ.js} +1 -1
- package/dist/cdn/{OQPGXB2C.js → KUXTUEIU.js} +2 -2
- package/dist/cdn/{BE3YZGYN.js → KYFGGGZO.js} +2 -2
- package/dist/cdn/{4EGMVXYU.js → LA3TMPSQ.js} +2 -2
- package/dist/cdn/{4NREZRZW.js → LEUJGAQT.js} +2 -2
- package/dist/cdn/{VUO6JDGQ.js → LITGQOKY.js} +2 -2
- package/dist/cdn/{LKBK7FXJ.js → LOAR7D23.js} +2 -2
- package/dist/cdn/{LFLMQMLV.js → LPQXKCT4.js} +2 -2
- package/dist/cdn/{BUL7XHMT.js → LT2L2HN5.js} +2 -2
- package/dist/cdn/{CD63U7CH.js → MAJHV5YB.js} +2 -2
- package/dist/cdn/{7RFDZNLL.js → MBBEW2XH.js} +2 -2
- package/dist/cdn/{ZLHIEPB4.js → MBYSAPXD.js} +2 -2
- package/dist/cdn/{5ATRS4TL.js → MG5AEQHW.js} +2 -2
- package/dist/cdn/{KC63JROC.js → MINRT2AD.js} +2 -2
- package/dist/cdn/{CRCAD7BU.js → MJWRLAA3.js} +2 -2
- package/dist/cdn/{OMJNNLKQ.js → MYNX7A4Q.js} +2 -2
- package/dist/cdn/{FDLJGA75.js → MYSMFQDL.js} +2 -2
- package/dist/cdn/{TU6P27JN.js → MZNCDKNL.js} +2 -2
- package/dist/cdn/{QLPVPSY7.js → NEVOR7UF.js} +1 -1
- package/dist/cdn/NPMFAEBD.js +4 -0
- package/dist/cdn/{QZ2OG4ZJ.js → NRDWJNF4.js} +2 -2
- package/dist/cdn/{I7MNDC3F.js → NS5VBZHP.js} +2 -2
- package/dist/cdn/NU2OXFST.js +4 -0
- package/dist/cdn/{VZOVLKJA.js → NVZHVYYH.js} +2 -2
- package/dist/cdn/{HKSIUKXF.js → NWE65CEC.js} +1 -1
- package/dist/cdn/NWJLUJRF.js +4 -0
- package/dist/cdn/{2YF54KJU.js → NXK4MWLX.js} +2 -2
- package/dist/cdn/{LMPILBZH.js → O3VJRNON.js} +2 -2
- package/dist/cdn/{6BVRDKCQ.js → O55NB5I2.js} +2 -2
- package/dist/cdn/{P22XPKGL.js → OATNKA2V.js} +2 -2
- package/dist/cdn/{UG3LJWJU.js → OLDFMVM6.js} +2 -2
- package/dist/cdn/{RKQKF2D5.js → OWMSCTHB.js} +2 -2
- package/dist/cdn/{MRQ546N3.js → PFUQXONQ.js} +1 -1
- package/dist/cdn/{M4DFLFMZ.js → PJMGGONS.js} +2 -2
- package/dist/cdn/{DY5UIEJA.js → PPFTCKIR.js} +2 -2
- package/dist/cdn/{4WBS6U7F.js → Q2IPYTRX.js} +2 -2
- package/dist/cdn/{YDJNMGKZ.js → Q2S2L2IR.js} +2 -2
- package/dist/cdn/{O2MAWXMU.js → QB6WECAO.js} +2 -2
- package/dist/cdn/{TK7AMW2A.js → QCUKGKOV.js} +2 -2
- package/dist/cdn/{VJBJUXPU.js → QMDKVVH5.js} +2 -2
- package/dist/cdn/{7T7WF7EI.js → QSYR7Q6X.js} +1 -1
- package/dist/cdn/{X2EMSYIO.js → R3MJUZCZ.js} +2 -2
- package/dist/cdn/{VDHBL26E.js → REUOEGNX.js} +2 -2
- package/dist/cdn/{O4B2DT7W.js → RF2VI4N7.js} +2 -2
- package/dist/cdn/{LWHYYFKA.js → RGFAZJP6.js} +2 -2
- package/dist/cdn/{YGLJWGAU.js → RIHR2PJN.js} +2 -2
- package/dist/cdn/{I6YHTRIM.js → RIYF7P2C.js} +2 -2
- package/dist/cdn/{UDHJ5CFN.js → RLWSZ4HQ.js} +2 -2
- package/dist/cdn/{UCYOOMX5.js → ROIVGYSM.js} +1 -1
- package/dist/cdn/{55MKMXGS.js → RUTSW7HN.js} +1 -1
- package/dist/cdn/{7BYZWZW5.js → S622E22B.js} +2 -2
- package/dist/cdn/{DJYP6V6T.js → SKNW5VCU.js} +2 -2
- package/dist/cdn/{LBHMN5IN.js → SPON62E4.js} +2 -2
- package/dist/cdn/{BVQYLN5G.js → SQOEM3P5.js} +1 -1
- package/dist/cdn/{O7GA42LQ.js → SQRWE2MV.js} +2 -2
- package/dist/cdn/{NVFYR6WF.js → STOKDNCN.js} +2 -2
- package/dist/cdn/{5HT54T3T.js → SXRISHGN.js} +1 -1
- package/dist/cdn/{BM3NZBB5.js → SYZ2PD7V.js} +2 -2
- package/dist/cdn/{AQ66RIGB.js → T4FPQT6Q.js} +1 -1
- package/dist/cdn/{MCEPX3HS.js → T6ACGRID.js} +2 -2
- package/dist/cdn/{KBZQB5ZG.js → TKKZCD3D.js} +2 -2
- package/dist/cdn/{5FW2PG4A.js → TSVIA6LX.js} +2 -2
- package/dist/cdn/{QSVT2DE7.js → TT45ZE3U.js} +2 -2
- package/dist/cdn/{N4YIU2XQ.js → TTIEVPAX.js} +2 -2
- package/dist/cdn/{K33KLMEF.js → U4NSDOD5.js} +2 -2
- package/dist/cdn/{QL7QVIQU.js → UBBP433D.js} +1 -1
- package/dist/cdn/{BY66JXUA.js → UBDWCH3J.js} +2 -2
- package/dist/cdn/{T2KV5AD5.js → UBFXRGUL.js} +2 -2
- package/dist/cdn/{7LHSSDR5.js → USL3KX2U.js} +2 -2
- package/dist/cdn/{TEFM3AA3.js → UYJS44LC.js} +2 -2
- package/dist/cdn/{YL7EG5AA.js → V5XUAHEB.js} +1 -1
- package/dist/cdn/{D3XWHE4G.js → V6J4NOFW.js} +2 -2
- package/dist/cdn/{FNPIEXII.js → VERJI2SH.js} +2 -2
- package/dist/cdn/{PD6S74N6.js → VHM7TR5J.js} +2 -2
- package/dist/cdn/{JSC6Q76O.js → VNWXPGNO.js} +2 -2
- package/dist/cdn/{PRRNPYDZ.js → VNZX57M6.js} +1 -1
- package/dist/cdn/{LHDUZO7G.js → VQQVMG7C.js} +1 -1
- package/dist/cdn/{TWWXSJS5.js → VSVG3AWA.js} +4 -4
- package/dist/cdn/{7YWBSS6J.js → VT6U64GN.js} +2 -2
- package/dist/cdn/{UBZEAPAX.js → VWSETFC3.js} +2 -2
- package/dist/cdn/{J3QWUVMY.js → VX7KAJNW.js} +2 -2
- package/dist/cdn/{MPAYLI27.js → VXKC4BYB.js} +2 -2
- package/dist/cdn/{SDRMIMTR.js → VXNDYVZW.js} +2 -2
- package/dist/cdn/{JXNAB5WB.js → VZ37PJTM.js} +2 -2
- package/dist/cdn/{HK5BM2IR.js → VZG427AU.js} +2 -2
- package/dist/cdn/{PNYR3EK6.js → W3ANKXXH.js} +1 -1
- package/dist/cdn/{OOVTB7G5.js → W3XCI5GU.js} +2 -2
- package/dist/cdn/{JPZXVCEU.js → WCO2JYT7.js} +1 -1
- package/dist/cdn/{STB44EY7.js → WD3NSCN4.js} +1 -1
- package/dist/cdn/{AD46D2SM.js → WFHI2T5X.js} +2 -2
- package/dist/cdn/{KO2M3OMZ.js → WFZ4KL2P.js} +2 -2
- package/dist/cdn/{2RC2UMSX.js → WG26EIDL.js} +2 -2
- package/dist/cdn/{YQGEIDBI.js → WKWF4ARW.js} +2 -2
- package/dist/cdn/{A5UPNZVE.js → WNHOXW2E.js} +2 -2
- package/dist/cdn/{HBAHYGF7.js → WNPZHTCP.js} +2 -2
- package/dist/cdn/{CB7FE7TZ.js → WOWOQ2TS.js} +2 -2
- package/dist/cdn/{T77OJIMR.js → WSNDSKW3.js} +2 -2
- package/dist/cdn/{3SG4KYD4.js → WVAVHWQN.js} +2 -2
- package/dist/cdn/{AREJ3VDO.js → WWH37ZAK.js} +1 -1
- package/dist/cdn/{72OD3HKE.js → WXNVFGFS.js} +2 -2
- package/dist/cdn/{LHPBHUX2.js → WY7PHM6L.js} +2 -2
- package/dist/cdn/{U4SXAT5F.js → WZGXEUMM.js} +2 -2
- package/dist/cdn/{LAL3OHQ7.js → X3AF2OQY.js} +1 -1
- package/dist/cdn/{JSS75EUB.js → X3VDJVLL.js} +2 -2
- package/dist/cdn/{WLPQLTES.js → XARWIX77.js} +2 -2
- package/dist/cdn/{W2IA7LER.js → XF7VPD22.js} +2 -2
- package/dist/cdn/{JJG25DHQ.js → XRBMRHXH.js} +2 -2
- package/dist/cdn/{I5TLTNQV.js → XYSFY3W6.js} +2 -2
- package/dist/cdn/{ZVA5E3YN.js → XYWQ6JNM.js} +2 -2
- package/dist/cdn/{LGQBFWDJ.js → Y4BDPKKL.js} +2 -2
- package/dist/cdn/{NHIIJKLQ.js → Y7WVUKZX.js} +2 -2
- package/dist/cdn/{4NJQRXPT.js → YCXOPVSF.js} +2 -2
- package/dist/cdn/{735FUYLP.js → YDW3WSTZ.js} +2 -2
- package/dist/cdn/{XIJKTNHS.js → YEWPTOSA.js} +2 -2
- package/dist/cdn/{5AT6U7IM.js → YHN2YRS5.js} +2 -2
- package/dist/cdn/{ULKSAGQV.js → YIDDZHZJ.js} +2 -2
- package/dist/cdn/{OI4YQ3XL.js → YKDQJMLK.js} +2 -2
- package/dist/cdn/{6UBVRTY3.js → YO66L5EQ.js} +2 -2
- package/dist/cdn/{RBSL4YEZ.js → YVK6HDUD.js} +2 -2
- package/dist/cdn/{A6GN4AGX.js → YWJHRAU6.js} +2 -2
- package/dist/cdn/{WFJQLKTW.js → YXGKJSHK.js} +1 -1
- package/dist/cdn/{D3QJCJFO.js → YYNMVPOT.js} +2 -2
- package/dist/cdn/{Z3PMA3N3.js → Z2FRREMF.js} +1 -1
- package/dist/cdn/{5YYG3KZ3.js → Z5KPLWAQ.js} +2 -2
- package/dist/cdn/{J3MLABD7.js → Z624TXCK.js} +2 -2
- package/dist/cdn/{6L454NXU.js → ZEFQFCIT.js} +1 -1
- package/dist/cdn/{H2VXOJH7.js → ZQ5UT5TX.js} +2 -2
- package/dist/cdn/ZRGZWYVN.js +18 -0
- package/dist/cdn/{CE6F7GKW.js → ZV26VFK3.js} +2 -2
- package/dist/cdn/{H3PEVOTC.js → ZXAYQBSO.js} +2 -2
- package/dist/cdn/{WLUGQLQU.js → ZY26SHW7.js} +2 -2
- package/dist/cdn/{QAHXORCG.js → ZZRTACNG.js} +2 -2
- package/dist/cdn/index.esm.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +1 -1
- 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/publicNotificationStore.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-solution-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 +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- 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.js +1 -1
- 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/solution-arcticle-card/customElement.js +1 -1
- package/dist/components/solution-card/customElement.js +1 -1
- package/dist/components/solution-configuration/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 +1 -1
- package/dist/components/solution-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- 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-icon/customElement.js +6 -6
- 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-item/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-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/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/customElement.js +1 -1
- package/dist/components/solutions-panel/customElement.js +1 -1
- package/dist/components/solutions-shell/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -1
- package/dist/cdn/2EXNFW3A.js +0 -18
- package/dist/cdn/4A6QNOIE.js +0 -4
- package/dist/cdn/5O4AB33V.js +0 -4
- package/dist/cdn/ARLUTHYH.js +0 -4
- package/dist/cdn/R6NRJXSL.js +0 -4
- package/dist/cdn/VBYD2OER.js +0 -4
- package/dist/cdn/VG2YZYBI.js +0 -4
- package/dist/cdn/VTNNA7UU.js +0 -4
- package/dist/cdn/XPN5427G.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250506 */
|
3
|
+
v1.0.0-next.20250506.1 */
|
4
4
|
function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.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 N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;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;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,de=globalThis.File,me=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;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 O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).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-B),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-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){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 G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function qe(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(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 t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}var k=class r extends A{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?m(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.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={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,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=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),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({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,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(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")return new r(e.data.credential);if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}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 t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{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,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.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.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};s?i={type:"arcgis:auth:credential",credential:this.toCredential()}:i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}},t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){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(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.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.`,x.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,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.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 t={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:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.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 v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).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,x.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(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){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."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,qe as c,m as d,k as e};
|