@esri/solutions-components 1.1.0-next.20250918 → 1.1.0-next.20250919
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/{EXG2LWFP.js → 23PYPGNV.js} +2 -2
- package/dist/cdn/{TMHDYLCU.js → 25RSKNFE.js} +1 -1
- package/dist/cdn/{ZQBEJ3MF.js → 26MPYGIG.js} +2 -2
- package/dist/cdn/{TS2S5UD5.js → 2CYK7INL.js} +2 -2
- package/dist/cdn/2FRHPWIV.js +4 -0
- package/dist/cdn/{YWEGWOL6.js → 2FZTXLJF.js} +2 -2
- package/dist/cdn/{SBVCJO27.js → 2HHL5GDO.js} +2 -2
- package/dist/cdn/{AFXXIHHB.js → 2IATHBU2.js} +2 -2
- package/dist/cdn/{C3UFW4SD.js → 2JLY6GXH.js} +2 -2
- package/dist/cdn/{ACHXDMP2.js → 2RFUKAEH.js} +2 -2
- package/dist/cdn/{WUCKWIIK.js → 2SWWWDL6.js} +2 -2
- package/dist/cdn/{7CGSADF3.js → 2THMEY2A.js} +1 -1
- package/dist/cdn/{5M5WXY5D.js → 2UL3FVHJ.js} +2 -2
- package/dist/cdn/{4RG432JP.js → 2ZGO34ET.js} +2 -2
- package/dist/cdn/{MH67CIKF.js → 32ZWYM5U.js} +2 -2
- package/dist/cdn/{DP3BAPZ3.js → 3IKWHSM3.js} +1 -1
- package/dist/cdn/{TOATMX5G.js → 3LO2HODF.js} +2 -2
- package/dist/cdn/{TTOT3E4E.js → 3R3QLLTE.js} +2 -2
- package/dist/cdn/{WSVDVGIR.js → 3SQVIDB5.js} +1 -1
- package/dist/cdn/{TAGQ3DKZ.js → 3SYAT77C.js} +2 -2
- package/dist/cdn/{RM52RVBY.js → 432VI57E.js} +2 -2
- package/dist/cdn/{TOHRIUAY.js → 47YJBMJV.js} +2 -2
- package/dist/cdn/4AW7FNWE.js +4 -0
- package/dist/cdn/{K6NI3MV5.js → 4C2TWNV7.js} +2 -2
- package/dist/cdn/{HRBNLS4P.js → 4IAWWLSP.js} +2 -2
- package/dist/cdn/{2JHXJXBE.js → 4IQHWCQJ.js} +2 -2
- package/dist/cdn/{7APNF3CK.js → 4JSDFSS5.js} +2 -2
- package/dist/cdn/{DLOVBBP3.js → 4QU2JMD2.js} +2 -2
- package/dist/cdn/{WKKNCL3G.js → 4QVGUD3F.js} +2 -2
- package/dist/cdn/{SP6MBBO5.js → 4U5X6NU6.js} +2 -2
- package/dist/cdn/{C5S4VCT6.js → 4VCJMFAX.js} +2 -2
- package/dist/cdn/{WSZ3RAHC.js → 55LKJ2ER.js} +2 -2
- package/dist/cdn/{4G7JHOBE.js → 562AZEPG.js} +2 -2
- package/dist/cdn/{Q35FCICJ.js → 56UNA6ID.js} +2 -2
- package/dist/cdn/{FIFPIYRS.js → 5AQUM4X3.js} +2 -2
- package/dist/cdn/{RG7GGCLZ.js → 5H5VNAXA.js} +2 -2
- package/dist/cdn/{WTLKOIXV.js → 5HUKHE2P.js} +2 -2
- package/dist/cdn/{LQIO7OQK.js → 5JGZBRBO.js} +2 -2
- package/dist/cdn/{4PI3HRJ6.js → 5K55CNJH.js} +1 -1
- package/dist/cdn/{QZ7TGTUR.js → 5LJN7KVI.js} +2 -2
- package/dist/cdn/{XFXQJODU.js → 5NIHP2K2.js} +1 -1
- package/dist/cdn/{Y3TT3XZT.js → 5OZKEGRZ.js} +2 -2
- package/dist/cdn/{7PTFDMWD.js → 5QVK2VWY.js} +2 -2
- package/dist/cdn/{GDGFGQVP.js → 5TDJQGLS.js} +2 -2
- package/dist/cdn/{QCYE43LA.js → 5UQQ2RDV.js} +2 -2
- package/dist/cdn/{JHQ6T7YQ.js → 5YP4AERJ.js} +2 -2
- package/dist/cdn/{XCVUU4D2.js → 5YPAOQZ6.js} +1 -1
- package/dist/cdn/{HJALSQ2B.js → 64QGVYDL.js} +2 -2
- package/dist/cdn/{7TXL6ZXS.js → 6EP7EYXF.js} +2 -2
- package/dist/cdn/{NB7W646W.js → 6Q2D4LH4.js} +2 -2
- package/dist/cdn/{QSVVVRGK.js → 6U7GCOZ5.js} +2 -2
- package/dist/cdn/6UPSEFSF.js +18 -0
- package/dist/cdn/{TQGSPNPH.js → 6YNWD75J.js} +2 -2
- package/dist/cdn/{E7CWH6TZ.js → 72DHPFOS.js} +2 -2
- package/dist/cdn/{YJVNB2M3.js → 74AF7Q4V.js} +2 -2
- package/dist/cdn/7E7MOB3V.js +4 -0
- package/dist/cdn/{GZIJS2GU.js → 7EVMSXGI.js} +1 -1
- package/dist/cdn/{C6U6B3CU.js → 7MAKRCEP.js} +2 -2
- package/dist/cdn/{V4T2ETXO.js → 7POFPYPL.js} +2 -2
- package/dist/cdn/{MNBX566Z.js → 7WCO6UHS.js} +3 -3
- package/dist/cdn/{E3KVGF4L.js → 7Z73FBIK.js} +2 -2
- package/dist/cdn/{TZM4KKKJ.js → 7Z7DPYIV.js} +2 -2
- package/dist/cdn/{5L6DT27J.js → ADNYNIMK.js} +2 -2
- package/dist/cdn/{M2Z3HXZQ.js → AE6GZGAF.js} +2 -2
- package/dist/cdn/{I4W4K4MF.js → AF4N3OIS.js} +2 -2
- package/dist/cdn/{4ZLU7JSS.js → AFOJQ2IE.js} +2 -2
- package/dist/cdn/{UFZWSZKP.js → AJ5SJVVJ.js} +1 -1
- package/dist/cdn/{PIB7AAJI.js → ALVRVNPS.js} +2 -2
- package/dist/cdn/{KBEGFMPW.js → AN4LWKCH.js} +2 -2
- package/dist/cdn/{ZVCEA3AV.js → ARWKSZYZ.js} +2 -2
- package/dist/cdn/{MIQMPLJK.js → ATEIJZEP.js} +1 -1
- package/dist/cdn/{2UJVL4QQ.js → AUII4R6E.js} +2 -2
- package/dist/cdn/{2LYCBURA.js → AXIZYYOD.js} +1 -1
- package/dist/cdn/{W7KH3DOF.js → B2T3TKPT.js} +2 -2
- package/dist/cdn/{2CM55YDX.js → B5XKFTAI.js} +2 -2
- package/dist/cdn/{A2G2CVO3.js → BANPC5UN.js} +2 -2
- package/dist/cdn/BASOFVFN.js +18 -0
- package/dist/cdn/{VGPUNQ46.js → BB6FNZS2.js} +2 -2
- package/dist/cdn/{DXU2MDXQ.js → BIE7H7F2.js} +2 -2
- package/dist/cdn/{IXDPZDG7.js → BJ5ZJE23.js} +1 -1
- package/dist/cdn/{EL3AZ2TE.js → BU4X4WFA.js} +2 -2
- package/dist/cdn/{CNOZUDIC.js → CBE2FWWU.js} +2 -2
- package/dist/cdn/{XJHXUHBP.js → CC2LNAHG.js} +1 -1
- package/dist/cdn/{FJ3JMDO3.js → CCYIGVA2.js} +2 -2
- package/dist/cdn/{4YVCMLLQ.js → CH3ZEWSV.js} +2 -2
- package/dist/cdn/{NXSAOV4D.js → CI66WKOX.js} +2 -2
- package/dist/cdn/{3VFOCUIY.js → CJSVQ6LG.js} +2 -2
- package/dist/cdn/{SBULVRIS.js → CT5VPZ32.js} +2 -2
- package/dist/cdn/{FHJVCNBC.js → CTLPAA4F.js} +2 -2
- package/dist/cdn/{IJOXGPSG.js → CVEXPD4L.js} +2 -2
- package/dist/cdn/{FY7BQW5O.js → CZ3DHUQ3.js} +2 -2
- package/dist/cdn/{CF2GDYJF.js → D2I2ESY7.js} +3 -3
- package/dist/cdn/{W7B5L4CK.js → D3DQOXP7.js} +1 -1
- package/dist/cdn/{CAYGVNCE.js → D5EZNHFT.js} +2 -2
- package/dist/cdn/{GYVJCGWT.js → D6ZXJZNV.js} +2 -2
- package/dist/cdn/{NAXWZGD6.js → DA7EQQQU.js} +2 -2
- package/dist/cdn/{42FLSICQ.js → DCUZHEWF.js} +2 -2
- package/dist/cdn/{AORJT52X.js → DENX5YNF.js} +1 -1
- package/dist/cdn/{NX4AX3KO.js → DG3NCHON.js} +2 -2
- package/dist/cdn/{L7GVW7QX.js → DSTJEDHH.js} +2 -2
- package/dist/cdn/{UQSQ4VHS.js → E5GL7ZOO.js} +2 -2
- package/dist/cdn/{VIUPYQTS.js → E6QXIUK2.js} +2 -2
- package/dist/cdn/{YYGOSYSC.js → E7LSVQOS.js} +2 -2
- package/dist/cdn/{5OB5A7JZ.js → E7VUQI3W.js} +2 -2
- package/dist/cdn/{UW6BLDIL.js → EA7EXXPZ.js} +2 -2
- package/dist/cdn/{23S6EEJJ.js → EB3NEWYB.js} +2 -2
- package/dist/cdn/{NOZZ6JIN.js → EBWLV674.js} +2 -2
- package/dist/cdn/{ZJ6Q46KE.js → EI7LNKKF.js} +2 -2
- package/dist/cdn/{WEJZMSBP.js → EIBMPHPY.js} +1 -1
- package/dist/cdn/{JMNMXQC2.js → ESSLZVVZ.js} +2 -2
- package/dist/cdn/{MHKLL3MA.js → EU6EU6DN.js} +2 -2
- package/dist/cdn/{KBETDJ3V.js → EW5FRZQQ.js} +2 -2
- package/dist/cdn/{I544OLET.js → FA4AWNDK.js} +2 -2
- package/dist/cdn/{C7RBG54V.js → FE3NYFDU.js} +2 -2
- package/dist/cdn/{BZ4VVHFA.js → FE6WEO2D.js} +2 -2
- package/dist/cdn/{E2VWNKDB.js → FNFPOYOS.js} +2 -2
- package/dist/cdn/{CFXAWTUK.js → FNL2JJQX.js} +2 -2
- package/dist/cdn/{BCB4CHS5.js → FPUFZF74.js} +2 -2
- package/dist/cdn/{RWNIACAM.js → FQ5GITBB.js} +2 -2
- package/dist/cdn/{OK2VUH32.js → FQRFXUNP.js} +2 -2
- package/dist/cdn/{MC2YIBML.js → FRAOXURA.js} +2 -2
- package/dist/cdn/{7MPWUI3A.js → FRWWQJ2M.js} +2 -2
- package/dist/cdn/{I6QPTEL4.js → FT3M26O4.js} +2 -2
- package/dist/cdn/{I2JGJUCH.js → FU4RJFYP.js} +2 -2
- package/dist/cdn/{F7FYEDQY.js → FVOE74BK.js} +2 -2
- package/dist/cdn/{MYHIWH5I.js → FXUBY7ZI.js} +1 -1
- package/dist/cdn/{6TW6R4II.js → G3MLFCP4.js} +2 -2
- package/dist/cdn/{2KXD4HDZ.js → G7SMBZCG.js} +2 -2
- package/dist/cdn/GDU5C2F2.js +18 -0
- package/dist/cdn/{CB643KCV.js → GEMXWNPC.js} +2 -2
- package/dist/cdn/{BHOGCHDC.js → GG5SR2DN.js} +2 -2
- package/dist/cdn/{CYT3IRRK.js → GMP3K42J.js} +1 -1
- package/dist/cdn/{NTUGXWFS.js → GOWHF3XU.js} +2 -2
- package/dist/cdn/{L642BNGD.js → GQ4HJK47.js} +2 -2
- package/dist/cdn/{ZQVCE55H.js → GS2ZMY5L.js} +2 -2
- package/dist/cdn/{PY3L2YRP.js → GUCS3IQJ.js} +1 -1
- package/dist/cdn/{TNE2A2UZ.js → H7TNBG6I.js} +2 -2
- package/dist/cdn/{6TP52DHM.js → HAUOB7H3.js} +2 -2
- package/dist/cdn/{YTSY5IPE.js → HBIOS5LM.js} +2 -2
- package/dist/cdn/{7AFU26ST.js → HC6RX3Q6.js} +2 -2
- package/dist/cdn/{6JHAGIGY.js → HEA4GVJW.js} +2 -2
- package/dist/cdn/HEKH6UA4.js +18 -0
- package/dist/cdn/HINOYDAA.js +4 -0
- package/dist/cdn/{RN7COLOT.js → HJW6V57X.js} +2 -2
- package/dist/cdn/{GIMBZWRY.js → HN3XNEVJ.js} +2 -2
- package/dist/cdn/{GXEJURTW.js → HNF32GWL.js} +2 -2
- package/dist/cdn/{AD7JQFFW.js → HNQV5CFC.js} +2 -2
- package/dist/cdn/{Z6D7ZWHG.js → HOSXLV5P.js} +2 -2
- package/dist/cdn/{YAP4GEUM.js → HPDRWYXH.js} +2 -2
- package/dist/cdn/{DOI6UXL3.js → HXCLPF67.js} +1 -1
- package/dist/cdn/{BODQC5VO.js → HXQHIZRM.js} +2 -2
- package/dist/cdn/{7NFNHDZW.js → HYFTYDHW.js} +2 -2
- package/dist/cdn/{EGXFDWON.js → HYG2GVSK.js} +2 -2
- package/dist/cdn/{7N3YHDOZ.js → HZ3XYDCO.js} +2 -2
- package/dist/cdn/{BJO4PB2J.js → HZPUJDQL.js} +2 -2
- package/dist/cdn/{MYZBNHTG.js → I3IEGFQU.js} +2 -2
- package/dist/cdn/{KR2KJPAN.js → I4KIQZD5.js} +2 -2
- package/dist/cdn/{43HS5FLJ.js → IFFNZMC4.js} +2 -2
- package/dist/cdn/IHMGQ7TE.js +4 -0
- package/dist/cdn/{5GKUSQ6E.js → IQ5TNSK7.js} +2 -2
- package/dist/cdn/{IOQBPAW4.js → J753SYSS.js} +2 -2
- package/dist/cdn/{CTBD64ZT.js → JAWGITGA.js} +2 -2
- package/dist/cdn/{RHFEB5P3.js → JAWSSA66.js} +2 -2
- package/dist/cdn/{IKG4ESDZ.js → JG7WE5VY.js} +2 -2
- package/dist/cdn/{HYXUBDTL.js → JHFT7ED3.js} +2 -2
- package/dist/cdn/JJEPRKG5.js +18 -0
- package/dist/cdn/{5KFT2SWV.js → JNRRGIAL.js} +2 -2
- package/dist/cdn/{M5KF2LTL.js → K23NB7A3.js} +2 -2
- package/dist/cdn/{OG4GTXKF.js → KAVFVYGQ.js} +2 -2
- package/dist/cdn/{LO5JM2WU.js → KCOXJNV4.js} +2 -2
- package/dist/cdn/{S47ZMQFF.js → KE6H3BHJ.js} +2 -2
- package/dist/cdn/{H5MLZBXO.js → KELWC65W.js} +2 -2
- package/dist/cdn/{DGJMED3Y.js → KETZORZX.js} +2 -2
- package/dist/cdn/KIXKAXP2.js +4 -0
- package/dist/cdn/{6KE5L5X3.js → KPLHATSJ.js} +2 -2
- package/dist/cdn/{RFLYSZJY.js → KTFGWGKB.js} +2 -2
- package/dist/cdn/{QH2EQ6AB.js → KXIJTBOH.js} +2 -2
- package/dist/cdn/{UYXSHQJ6.js → L26VEW5I.js} +2 -2
- package/dist/cdn/L4NNDOQH.js +18 -0
- package/dist/cdn/{5RKIZ47W.js → L5NKIU4P.js} +2 -2
- package/dist/cdn/{DSTTPTV5.js → LA5337YO.js} +2 -2
- package/dist/cdn/LD2K4YDV.js +18 -0
- package/dist/cdn/{UP4YECDB.js → LG3XRLMB.js} +2 -2
- package/dist/cdn/{JE3Y33VM.js → LK7VF7MT.js} +2 -2
- package/dist/cdn/{PRQ3BN6D.js → LNY7QBOX.js} +2 -2
- package/dist/cdn/{ULS5MVPL.js → LSANVT5Q.js} +2 -2
- package/dist/cdn/{KWX75IDR.js → LWUXNH2Y.js} +2 -2
- package/dist/cdn/LY2B7R4M.js +18 -0
- package/dist/cdn/LYEKZJKW.js +18 -0
- package/dist/cdn/{OS2GJMH7.js → MCTZ4C5W.js} +2 -2
- package/dist/cdn/{YTDCQH3V.js → MHRZJSSA.js} +2 -2
- package/dist/cdn/{3WX42QWG.js → MMXXIBS5.js} +2 -2
- package/dist/cdn/{M5AP2JG7.js → MO6MKYJW.js} +2 -2
- package/dist/cdn/{PNFPRYIT.js → MQ7EBB2U.js} +2 -2
- package/dist/cdn/{4FXJXLF3.js → MWENB3XH.js} +1 -1
- package/dist/cdn/{57BWNUQN.js → MWUM2627.js} +2 -2
- package/dist/cdn/{MJNA3JR4.js → MYOX7NAJ.js} +2 -2
- package/dist/cdn/{2MT6SRIN.js → MZVKU4TZ.js} +2 -2
- package/dist/cdn/{UXZHHHLG.js → N2STUL4S.js} +1 -1
- package/dist/cdn/{CLI65JRJ.js → NEUTRLHU.js} +2 -2
- package/dist/cdn/{4JXYUHRY.js → NFQH774I.js} +2 -2
- package/dist/cdn/{AAWBBS2Z.js → NJW7I7SS.js} +2 -2
- package/dist/cdn/{55TRBFNW.js → NM2BHX26.js} +2 -2
- package/dist/cdn/NQP4VUTT.js +4 -0
- package/dist/cdn/{5ADHMROB.js → NR4A5JZV.js} +2 -2
- package/dist/cdn/{4BHQRR43.js → NU4UFWQN.js} +1 -1
- package/dist/cdn/{GHDED6RA.js → NWY6LVXU.js} +2 -2
- package/dist/cdn/{XDEQL5FG.js → O7KPE4S2.js} +2 -2
- package/dist/cdn/{AQXNG4JP.js → OHZPPS2Y.js} +2 -2
- package/dist/cdn/{L4LPFRHU.js → OIVD6L7F.js} +2 -2
- package/dist/cdn/{RVE3I7IB.js → OKM7IFJT.js} +2 -2
- package/dist/cdn/{FAC3FIXQ.js → OKPUOSNJ.js} +2 -2
- package/dist/cdn/ORMHAQB7.js +18 -0
- package/dist/cdn/{C5PS67BK.js → OSDOJ6EG.js} +2 -2
- package/dist/cdn/{HU2M2QL5.js → P4UQORJJ.js} +2 -2
- package/dist/cdn/{6KUNGOBE.js → PA4DS7UD.js} +2 -2
- package/dist/cdn/{5WJEMFP4.js → PCNIUE3B.js} +2 -2
- package/dist/cdn/{SDUBMK5P.js → PF35JCH7.js} +2 -2
- package/dist/cdn/{HEODNUCF.js → PFPNBDCQ.js} +2 -2
- package/dist/cdn/{7OKAR2WW.js → PGB5HKNC.js} +3 -3
- package/dist/cdn/{WOLUDKVM.js → PH6GKCBC.js} +2 -2
- package/dist/cdn/{OQU2M7TW.js → PJB6T3JY.js} +2 -2
- package/dist/cdn/{PR6GFK4E.js → PO2ONXW6.js} +1 -1
- package/dist/cdn/{N4TGQB52.js → PQVTEZTM.js} +1 -1
- package/dist/cdn/{C5CLRKXN.js → PS6GNZFQ.js} +2 -2
- package/dist/cdn/{73CASDEI.js → PUXC5C63.js} +2 -2
- package/dist/cdn/{WBGJSXJT.js → PV6TADBQ.js} +2 -2
- package/dist/cdn/{HGGBDR6W.js → PX67KWPD.js} +1 -1
- package/dist/cdn/{V6PVEI6X.js → PYH362OX.js} +2 -2
- package/dist/cdn/{2FPOATKA.js → PYJ724PJ.js} +1 -1
- package/dist/cdn/{XULVZZCR.js → PYZAQTM4.js} +2 -2
- package/dist/cdn/{VFLFL5RJ.js → Q2ZQ2IC7.js} +2 -2
- package/dist/cdn/{3RYVOOFK.js → QAGKIOBD.js} +2 -2
- package/dist/cdn/QBJU6IP5.js +18 -0
- package/dist/cdn/{P6QWU3HN.js → QDQJTLHQ.js} +1 -1
- package/dist/cdn/{523PAUYV.js → QGBTVRJY.js} +2 -2
- package/dist/cdn/{SOBKIHPD.js → QGJBCH3J.js} +2 -2
- package/dist/cdn/{MBLC5XEC.js → QJSJ4SPQ.js} +2 -2
- package/dist/cdn/{JAEOEKLB.js → QQN3GEXF.js} +2 -2
- package/dist/cdn/{XR4RMWBZ.js → QQW4IRIB.js} +2 -2
- package/dist/cdn/{LSVNZAPZ.js → QRDUEB4Y.js} +2 -2
- package/dist/cdn/{7WXOR2FW.js → QT2ICYK5.js} +1 -1
- package/dist/cdn/{JLOQF4OC.js → QTFRNZEA.js} +2 -2
- package/dist/cdn/{XIXZ3LRX.js → QU3FFVKQ.js} +2 -2
- package/dist/cdn/{EDGJP4IP.js → QZRPG5CX.js} +1 -1
- package/dist/cdn/{Q7WWCBUJ.js → R66SCXZQ.js} +1 -1
- package/dist/cdn/{GODZUS3A.js → RFSRITZ3.js} +2 -2
- package/dist/cdn/{3FLXGP5N.js → RI55VV32.js} +2 -2
- package/dist/cdn/{267ILKAW.js → RK2UE6FN.js} +2 -2
- package/dist/cdn/{WNRVYBAM.js → RLUV6QYP.js} +2 -2
- package/dist/cdn/RPM34J5M.js +4 -0
- package/dist/cdn/{LZOLHH3N.js → RQB6F4ZT.js} +1 -1
- package/dist/cdn/{EWAQ4SPD.js → RSM3GJKQ.js} +2 -2
- package/dist/cdn/{VJ26REKL.js → RUCBQVDF.js} +2 -2
- package/dist/cdn/{66KIM34X.js → RVQIOSL2.js} +2 -2
- package/dist/cdn/RXZDN6NU.js +18 -0
- package/dist/cdn/S27232YD.js +4 -0
- package/dist/cdn/{VOP3SI3L.js → S6KPAYGB.js} +2 -2
- package/dist/cdn/{EH3YDHP6.js → SGQEROKT.js} +2 -2
- package/dist/cdn/{N3TAKO2X.js → SIE7WLV5.js} +2 -2
- package/dist/cdn/SKPLZFNI.js +4 -0
- package/dist/cdn/{4XKIISXN.js → SL2LNMCO.js} +2 -2
- package/dist/cdn/{TYQUUGL4.js → SLKBOCZL.js} +2 -2
- package/dist/cdn/{OY3VJZ5U.js → SN3TXCGK.js} +2 -2
- package/dist/cdn/{47SWZ6TT.js → SQB5VJDS.js} +2 -2
- package/dist/cdn/{KRBS447Y.js → SXCP2T6E.js} +2 -2
- package/dist/cdn/{O65FO3OA.js → T2N7VC65.js} +2 -2
- package/dist/cdn/{NMJGXHJ5.js → TA35OO54.js} +1 -1
- package/dist/cdn/{YWTJP55I.js → TFMNN3QH.js} +2 -2
- package/dist/cdn/{6ZRMB6DD.js → THUK2QLB.js} +2 -2
- package/dist/cdn/{UEHLGNLF.js → TJZ2QWYE.js} +2 -2
- package/dist/cdn/{356U3AGS.js → TLOO6GT2.js} +2 -2
- package/dist/cdn/{HYCRM4CP.js → TNZZQREZ.js} +1 -1
- package/dist/cdn/{I3XLBATE.js → TRPCOGWZ.js} +2 -2
- package/dist/cdn/{JG4LPMWJ.js → U3M35BAO.js} +2 -2
- package/dist/cdn/U44AVH5Y.js +18 -0
- package/dist/cdn/{KJVS54S2.js → U4SIV6SN.js} +2 -2
- package/dist/cdn/{MFBGM4WK.js → U57PST54.js} +2 -2
- package/dist/cdn/{U2JYNV6E.js → UGC33LAX.js} +2 -2
- package/dist/cdn/{EDULPK3Y.js → UMOWAYHA.js} +2 -2
- package/dist/cdn/{WZE3AUQY.js → UNYTEEQV.js} +2 -2
- package/dist/cdn/{3P72MRKR.js → UR7TIUZF.js} +2 -2
- package/dist/cdn/{XS2IY2B5.js → UU6AAXJP.js} +2 -2
- package/dist/cdn/{F4GJWTGK.js → UUADKV5W.js} +2 -2
- package/dist/cdn/{CCJFC54C.js → UVWMFGUU.js} +4 -4
- package/dist/cdn/{QWPYDYAF.js → UYGXKJNM.js} +3 -3
- package/dist/cdn/{OIUFE5VJ.js → UZQZVSQD.js} +2 -2
- package/dist/cdn/{WMAGU74P.js → V3SNI5H2.js} +2 -2
- package/dist/cdn/{RLPBI3FM.js → V3ZOI4XV.js} +2 -2
- package/dist/cdn/{ZLA67MLJ.js → V4IDVZKR.js} +2 -2
- package/dist/cdn/{EL4DMLJ4.js → V5NNJMHK.js} +2 -2
- package/dist/cdn/{OCUWRCVO.js → V7E3LE7X.js} +2 -2
- package/dist/cdn/{57HVUMUV.js → V7KS5YMF.js} +2 -2
- package/dist/cdn/{KT4SWIVA.js → VG2ZP6YR.js} +2 -2
- package/dist/cdn/{GBO2INNV.js → VKTYC5RV.js} +2 -2
- package/dist/cdn/{HRBA3DQH.js → VM2ZXL7L.js} +2 -2
- package/dist/cdn/{6HPLUYFF.js → VUF6ZPJJ.js} +2 -2
- package/dist/cdn/{IYTM4DLE.js → VVUGVETI.js} +2 -2
- package/dist/cdn/{Q2EKFRJV.js → WGQ3BAPY.js} +2 -2
- package/dist/cdn/{GJC6WAZN.js → WHB6PGTX.js} +2 -2
- package/dist/cdn/{RSUBIG6G.js → WHQBQBQO.js} +2 -2
- package/dist/cdn/{ROPLCDMX.js → WJGQQRX2.js} +2 -2
- package/dist/cdn/{GMMMSDQP.js → WTHVFXJB.js} +2 -2
- package/dist/cdn/{MSXXA6RI.js → WTXX37R3.js} +2 -2
- package/dist/cdn/{DWNUQADA.js → WXICUJ23.js} +2 -2
- package/dist/cdn/{SBG5PBF4.js → X3XJ5ILF.js} +2 -2
- package/dist/cdn/{Z7S7GDD2.js → X4DPUBIL.js} +2 -2
- package/dist/cdn/{6DS6ZO67.js → XG4TIED2.js} +2 -2
- package/dist/cdn/{KVCKEWOB.js → XI7PHODP.js} +2 -2
- package/dist/cdn/{DUIQAQHS.js → XKGFKXIJ.js} +4 -4
- package/dist/cdn/{AVF4T5CW.js → XO5UMF4F.js} +2 -2
- package/dist/cdn/{2JYSDDCE.js → XPDIQAH2.js} +2 -2
- package/dist/cdn/{O7OKE2PN.js → XRZSNVB5.js} +2 -2
- package/dist/cdn/{FWASWMTC.js → XWWEONFO.js} +2 -2
- package/dist/cdn/{IVDBT5K6.js → XXR4BGO2.js} +2 -2
- package/dist/cdn/{PKLCZ6KE.js → XYPES4NY.js} +2 -2
- package/dist/cdn/{DJPFENB6.js → YBYKYXVG.js} +2 -2
- package/dist/cdn/{REYKTB7Z.js → YF4CPLBO.js} +2 -2
- package/dist/cdn/{OC42FDOJ.js → YGU5ONQK.js} +2 -2
- package/dist/cdn/{3X343PCD.js → YIJU3CFJ.js} +1 -1
- package/dist/cdn/{JD626743.js → YJDWVMSX.js} +2 -2
- package/dist/cdn/{H24P4PA2.js → YN6KNB56.js} +2 -2
- package/dist/cdn/{4DCSH5TV.js → YRCLQILQ.js} +2 -2
- package/dist/cdn/{DQB2TSI3.js → YS2IKZ3R.js} +2 -2
- package/dist/cdn/{IVYZCEOK.js → YSHTOQ6Z.js} +2 -2
- package/dist/cdn/{7L77O7JG.js → YXQJQV2U.js} +2 -2
- package/dist/cdn/{WCLO26J4.js → YZCOFSVF.js} +2 -2
- package/dist/cdn/{VBEI6EDT.js → Z2TDHXQC.js} +2 -2
- package/dist/cdn/{ZFUCUGNJ.js → Z4SA5HX7.js} +2 -2
- package/dist/cdn/{LDYIKFEJ.js → Z4TXATS4.js} +1 -1
- package/dist/cdn/{2UUZVX4N.js → Z6Z36OMO.js} +1 -1
- package/dist/cdn/{X6PGFPTQ.js → Z7DPN4Q7.js} +2 -2
- package/dist/cdn/{RCRAYSXU.js → ZDYHNNR5.js} +2 -2
- package/dist/cdn/{PD62IC7W.js → ZG5775EA.js} +1 -1
- package/dist/cdn/{K6A7A3JC.js → ZH3L7E5H.js} +2 -2
- package/dist/cdn/{XFIDAAZT.js → ZKNJZXGX.js} +2 -2
- package/dist/cdn/{OAEMMAHU.js → ZMAVDEDI.js} +1 -1
- package/dist/cdn/{CLP7WGVJ.js → ZNRHJ2RK.js} +2 -2
- package/dist/cdn/{GNBQIATI.js → ZORDTYNP.js} +2 -2
- package/dist/cdn/{YKEZROWG.js → ZTACEYD6.js} +2 -2
- package/dist/cdn/assets/crowdsource-manager/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/crowdsource-manager/t9n/messages.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/refine-selection/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- 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 +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/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 +32 -27
- package/dist/components/crowdsource-manager/index.d.ts +1 -0
- package/dist/components/crowdsource-manager/index.js +1 -0
- 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 +2 -2
- 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 +71 -51
- package/dist/components/map-card/customElement.js +52 -35
- 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 +29 -27
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +28 -13
- 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.d.ts +2 -0
- package/dist/components/map-tools/customElement.js +46 -39
- 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-article-card/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 +79 -85
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- 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 +3 -3
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +9 -9
- 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-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.d.ts +7 -0
- package/dist/components/solutions-all-panel/customElement.js +13 -10
- package/dist/components/solutions-all-shell/customElement.js +3 -4
- 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-deploy-app/customElement.js +26 -25
- package/dist/components/solutions-deployed-filter-panel/customElement.js +7 -7
- package/dist/components/solutions-deployed-panel/customElement.d.ts +7 -0
- package/dist/components/solutions-deployed-panel/customElement.js +27 -42
- package/dist/components/solutions-deployed-shell/customElement.js +23 -20
- package/dist/components/solutions-filter-panel/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 +158 -2
- package/dist/docs/docs.json +134 -2
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +8 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/interfaces.d.ts +3 -1
- package/package.json +1 -1
- package/dist/cdn/2T5TODNM.js +0 -4
- package/dist/cdn/6RP2W573.js +0 -4
- package/dist/cdn/6ZCDFHVZ.js +0 -18
- package/dist/cdn/B2P4HZ4A.js +0 -18
- package/dist/cdn/BEVD4UPH.js +0 -18
- package/dist/cdn/E5TX56YC.js +0 -18
- package/dist/cdn/E66X45EE.js +0 -4
- package/dist/cdn/F4O4RVUG.js +0 -18
- package/dist/cdn/GNQRFWIP.js +0 -18
- package/dist/cdn/JE5SQDYP.js +0 -18
- package/dist/cdn/K3UXBGBS.js +0 -18
- package/dist/cdn/KOSABRPM.js +0 -18
- package/dist/cdn/L6ODTMSI.js +0 -18
- package/dist/cdn/N522EEE5.js +0 -18
- package/dist/cdn/NAKER4VF.js +0 -4
- package/dist/cdn/ODCDUFI4.js +0 -4
- package/dist/cdn/S47BFXRX.js +0 -18
- package/dist/cdn/TEHMT2LM.js +0 -18
- package/dist/cdn/VJPQYLWD.js +0 -4
- package/dist/cdn/VQNQGNNM.js +0 -4
- package/dist/cdn/WDSIGZKO.js +0 -4
- package/dist/cdn/XW4EUXBY.js +0 -4
- package/dist/cdn/ZUOT6FCM.js +0 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as Pn}from"./WUCKWIIK.js";import"./SBVCJO27.js";import"./BJO4PB2J.js";import{b as En}from"./ZJ6Q46KE.js";import{E as jn,h as In,o as kn}from"./LZOLHH3N.js";import"./MYHIWH5I.js";function Xo(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Bo(n)||Qo(n)||Yo(n))}function Bo(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function Qo(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Yo(e){return!e.user&&e.ipCntryCode==="US"}var Le={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},Fr="esri-telemetry";function Zo(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!ti(e)||e.body)&&t()})}function ei(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${Fr}="${n}"]`)}function ti(e){let{body:t,src:n,id:r,dataAttribute:o,section:i="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new tt("Window is undefined: Cannot add script element.");if(ei(e)){console.log(`script (${r||o}) is already present, skipping`);return}let p=ni({id:r,dataAttribute:o,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return i==="body"?document.body.appendChild(p):document.head.appendChild(p)}var tt=class extends Error{};function ni({id:e,dataAttribute:t,type:n,async:r,defer:o,body:i,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${Fr}`,t),a&&(c.src=a),i&&(c.innerText=i),c.type=n,c.async=r,c.defer=o,s&&(c.onload=s),u&&(c.onerror=u),c}function ri(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let o=r;r==="dataAttribute"&&(o="data-esri-telemetry"),t[r]&&n.push(`${o}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var oi=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],_t=class{constructor(t){var n,r,o;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=Xo(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let i=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;i&&this.setUser(i,(o=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||o===void 0?void 0:o.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let o=t.email.split("@")[1];r=oi.filter(i=>o===i).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let o=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!o.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(i));let a=o.map(s=>s.logPageView(t,i));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(o));let i=r.map(a=>a.logEvent(o));return Promise.all(i).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let o=Object.assign({name:t,step:"start"},n);return this.logWorkflow(o),r}stepWorkflow(t,n,r={}){let o=typeof r=="string"?r:r.details,i=Object.assign({name:t,step:n,details:o},r);this.logWorkflow(i)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Le.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,o=1800*1e3;if(r<o)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Le.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Le.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(ii(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:o})=>o===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:o})=>o===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function ii(e,t){return function(n,[r,o]){return ai(o)?n[r]=o:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(o)}. This will get logged as [object Object]`),n[r]=o),n}}function ai(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var Ct=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return ri(this._getScripts())}async init(){if(typeof window>"u")throw new tt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Zo(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),o=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",o),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),o=n||"other",i=this.buildCustomParams(r);return window.gtag("event",o,i),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:o}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),o&&(n=Object.assign(Object.assign({},n),{event_label:o})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(o=>r.includes(o)).reduce((o,i)=>Object.assign(o,{[i]:t[i]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),o=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),o)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:o})=>(n[r]=o,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:o})=>(n[r]=o,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function si(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Le.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let o={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,o).then(i=>{if(!i.ok)throw new Error(i.statusText);return i.json()}).then(i=>{let{IdentityId:a}=i,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(i=>{if(!i.ok)throw new Error(i.statusText);return i.json()}).then(({Credentials:i})=>(Le.set(Tn,i),i))}function Gr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:ci(t,r),value:e[r]}:{key:r,value:ui(e,r)}).reduce((r,{key:o,value:i})=>(r[o]=i,r),{})}function ui(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function ci(e,t){return`dimension${e[t]}`}var li=["size","duration","position","number","count"];function Jr(e,t={}){return Object.keys(e).filter(n=>t[n]||li.includes(n)).map(n=>t[n]?{key:fi(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:o})=>(n[r]=o,n),{})}function fi(e,t){return`metric${e[t]}`}function di({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,o;let{pathname:i,eventType:a="other"}=e,s=Jr(e,n),u=Gr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(o=window.location)===null||o===void 0?void 0:o.pathname:i,c}function pi({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:o={}}){let i=Jr(n,o),a=Gr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(i),...Object.keys(o)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),i)}function Nn(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}var gi="function",hi="string",oe="undefined",mi="boolean",Mt="object",yi="array",vi="number",bi="symbol",wi="null",xi=function(){},_n="__",Oi="form",Si="input",Ai="button",Ii="select",nt=typeof process!==oe?process:{};nt.env&&nt.env.NODE_ENV;var qe=typeof document!==oe;nt.versions!=null&&nt.versions.node!=null;typeof Deno!==oe&&Deno.core;qe&&window.name==="nodejs"||typeof navigator!==oe&&typeof navigator.userAgent!==oe&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Xr(e,t){return t.charAt(0)[e]()+t.slice(1)}var ki=Xr.bind(null,"toUpperCase"),ji=Xr.bind(null,"toLowerCase");function Ei(e){return Br(e)?ki(wi):typeof e===Mt?Ni(e):Object.prototype.toString.call(e).slice(8,-1)}function rt(e,t){t===void 0&&(t=!0);var n=Ei(e);return t?ji(n):n}function Ke(e,t){return typeof t===e}var Dt=Ke.bind(null,gi),Ut=Ke.bind(null,hi);Ke.bind(null,oe);Ke.bind(null,mi);Ke.bind(null,bi);function Br(e){return e===null}function Pi(e){return rt(e)===vi&&!isNaN(e)}function Ti(e){return rt(e)===yi}function Ni(e){return Dt(e.constructor)?e.constructor.name:null}function _i(e){return e instanceof Error||Ut(e.message)&&e.constructor&&Pi(e.constructor.stackTraceLimit)}function Qr(e,t){if(typeof t!="object"||Br(t))return!1;if(t instanceof e)return!0;var n=rt(new e(""));if(_i(t))for(;t;){if(rt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Qr.bind(null,TypeError);Qr.bind(null,SyntaxError);function ut(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Ci(e,t):n}function Ci(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function ct(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}ct(ut,Oi);ct(ut,Ai);ct(ut,Si);ct(ut,Ii);function Mi(e){return e?Ti(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function Di(){if(qe){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Ui(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Li(e){return(function(t){for(var n,r=Object.create(null),o=/([^&=]+)=?([^&]*)/g;n=o.exec(t);){var i=Cn(n[1]),a=Cn(n[2]);if(i)if(i.substring(i.length-2)==="[]"){var s=r[i=i.substring(0,i.length-2)]||(r[i]=[]);r[i]=Array.isArray(s)?s:[],r[i].push(a)}else r[i]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(Ri(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return qe&&window.location.search.substring(1)})())}function Ri(e,t,n){for(var r=t.length-1,o=0;o<r;++o){var i=t[o];if(i==="__proto__"||i==="constructor")break;i in e||(e[i]={}),e=e[i]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],o=15&n;e+=r=="-"||r=="4"?r:(r=="x"?o:3&o|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=_n+we+_n,Ne=typeof self===Mt&&self.self===self&&self||typeof global===Mt&&global[we]===global&&global||void 0;function de(e){return Ne[Te][e]}function le(e,t){return Ne[Te][e]=t}function Ie(e){delete Ne[Te][e]}function pe(e,t,n){var r;try{if(lt(e)){var o=window[e];r=o[t].bind(o)}}catch{}return r||n}Ne[Te]||(Ne[Te]={});var Je={};function lt(e){if(typeof Je[e]!==oe)return Je[e];try{var t=window[e];t.setItem(oe,oe),t.removeItem(oe)}catch{return Je[e]=!1}return Je[e]=!0}var Mn,$e="__",Lt=typeof process<"u"?process:{};(Mn=Lt.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";Lt.versions!=null&&Lt.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}var ae=ft.bind(null,"function"),Ze=ft.bind(null,"string");ft.bind(null,"undefined");var zi=ft.bind(null,"boolean");function Wi(e){return Object.prototype.toString.call(e)==="[object Array]"}function $i(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!$i(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Rt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vi(e){if(Array.isArray(e))return Rt(e)}function Hi(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yr(e,t){if(e){if(typeof e=="string")return Rt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rt(e,t)}}function qi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{a as Pn}from"./2SWWWDL6.js";import"./2HHL5GDO.js";import"./HZPUJDQL.js";import{b as En}from"./EI7LNKKF.js";import{E as jn,h as In,o as kn}from"./RQB6F4ZT.js";import"./FXUBY7ZI.js";function Xo(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Bo(n)||Qo(n)||Yo(n))}function Bo(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function Qo(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Yo(e){return!e.user&&e.ipCntryCode==="US"}var Le={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},Fr="esri-telemetry";function Zo(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!ti(e)||e.body)&&t()})}function ei(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${Fr}="${n}"]`)}function ti(e){let{body:t,src:n,id:r,dataAttribute:o,section:i="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new tt("Window is undefined: Cannot add script element.");if(ei(e)){console.log(`script (${r||o}) is already present, skipping`);return}let p=ni({id:r,dataAttribute:o,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return i==="body"?document.body.appendChild(p):document.head.appendChild(p)}var tt=class extends Error{};function ni({id:e,dataAttribute:t,type:n,async:r,defer:o,body:i,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${Fr}`,t),a&&(c.src=a),i&&(c.innerText=i),c.type=n,c.async=r,c.defer=o,s&&(c.onload=s),u&&(c.onerror=u),c}function ri(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let o=r;r==="dataAttribute"&&(o="data-esri-telemetry"),t[r]&&n.push(`${o}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var oi=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],_t=class{constructor(t){var n,r,o;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=Xo(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let i=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;i&&this.setUser(i,(o=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||o===void 0?void 0:o.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let o=t.email.split("@")[1];r=oi.filter(i=>o===i).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let o=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!o.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(i));let a=o.map(s=>s.logPageView(t,i));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(o));let i=r.map(a=>a.logEvent(o));return Promise.all(i).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let o=Object.assign({name:t,step:"start"},n);return this.logWorkflow(o),r}stepWorkflow(t,n,r={}){let o=typeof r=="string"?r:r.details,i=Object.assign({name:t,step:n,details:o},r);this.logWorkflow(i)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Le.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,o=1800*1e3;if(r<o)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Le.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Le.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(ii(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:o})=>o===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:o})=>o===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function ii(e,t){return function(n,[r,o]){return ai(o)?n[r]=o:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(o)}. This will get logged as [object Object]`),n[r]=o),n}}function ai(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var Ct=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return ri(this._getScripts())}async init(){if(typeof window>"u")throw new tt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Zo(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),o=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",o),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),o=n||"other",i=this.buildCustomParams(r);return window.gtag("event",o,i),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:o}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),o&&(n=Object.assign(Object.assign({},n),{event_label:o})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(o=>r.includes(o)).reduce((o,i)=>Object.assign(o,{[i]:t[i]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),o=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),o)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:o})=>(n[r]=o,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:o})=>(n[r]=o,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function si(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Le.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let o={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,o).then(i=>{if(!i.ok)throw new Error(i.statusText);return i.json()}).then(i=>{let{IdentityId:a}=i,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(i=>{if(!i.ok)throw new Error(i.statusText);return i.json()}).then(({Credentials:i})=>(Le.set(Tn,i),i))}function Gr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:ci(t,r),value:e[r]}:{key:r,value:ui(e,r)}).reduce((r,{key:o,value:i})=>(r[o]=i,r),{})}function ui(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function ci(e,t){return`dimension${e[t]}`}var li=["size","duration","position","number","count"];function Jr(e,t={}){return Object.keys(e).filter(n=>t[n]||li.includes(n)).map(n=>t[n]?{key:fi(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:o})=>(n[r]=o,n),{})}function fi(e,t){return`metric${e[t]}`}function di({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,o;let{pathname:i,eventType:a="other"}=e,s=Jr(e,n),u=Gr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(o=window.location)===null||o===void 0?void 0:o.pathname:i,c}function pi({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:o={}}){let i=Jr(n,o),a=Gr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(i),...Object.keys(o)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),i)}function Nn(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}var gi="function",hi="string",oe="undefined",mi="boolean",Mt="object",yi="array",vi="number",bi="symbol",wi="null",xi=function(){},_n="__",Oi="form",Si="input",Ai="button",Ii="select",nt=typeof process!==oe?process:{};nt.env&&nt.env.NODE_ENV;var qe=typeof document!==oe;nt.versions!=null&&nt.versions.node!=null;typeof Deno!==oe&&Deno.core;qe&&window.name==="nodejs"||typeof navigator!==oe&&typeof navigator.userAgent!==oe&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Xr(e,t){return t.charAt(0)[e]()+t.slice(1)}var ki=Xr.bind(null,"toUpperCase"),ji=Xr.bind(null,"toLowerCase");function Ei(e){return Br(e)?ki(wi):typeof e===Mt?Ni(e):Object.prototype.toString.call(e).slice(8,-1)}function rt(e,t){t===void 0&&(t=!0);var n=Ei(e);return t?ji(n):n}function Ke(e,t){return typeof t===e}var Dt=Ke.bind(null,gi),Ut=Ke.bind(null,hi);Ke.bind(null,oe);Ke.bind(null,mi);Ke.bind(null,bi);function Br(e){return e===null}function Pi(e){return rt(e)===vi&&!isNaN(e)}function Ti(e){return rt(e)===yi}function Ni(e){return Dt(e.constructor)?e.constructor.name:null}function _i(e){return e instanceof Error||Ut(e.message)&&e.constructor&&Pi(e.constructor.stackTraceLimit)}function Qr(e,t){if(typeof t!="object"||Br(t))return!1;if(t instanceof e)return!0;var n=rt(new e(""));if(_i(t))for(;t;){if(rt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Qr.bind(null,TypeError);Qr.bind(null,SyntaxError);function ut(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Ci(e,t):n}function Ci(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function ct(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}ct(ut,Oi);ct(ut,Ai);ct(ut,Si);ct(ut,Ii);function Mi(e){return e?Ti(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function Di(){if(qe){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Ui(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Li(e){return(function(t){for(var n,r=Object.create(null),o=/([^&=]+)=?([^&]*)/g;n=o.exec(t);){var i=Cn(n[1]),a=Cn(n[2]);if(i)if(i.substring(i.length-2)==="[]"){var s=r[i=i.substring(0,i.length-2)]||(r[i]=[]);r[i]=Array.isArray(s)?s:[],r[i].push(a)}else r[i]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(Ri(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return qe&&window.location.search.substring(1)})())}function Ri(e,t,n){for(var r=t.length-1,o=0;o<r;++o){var i=t[o];if(i==="__proto__"||i==="constructor")break;i in e||(e[i]={}),e=e[i]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],o=15&n;e+=r=="-"||r=="4"?r:(r=="x"?o:3&o|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=_n+we+_n,Ne=typeof self===Mt&&self.self===self&&self||typeof global===Mt&&global[we]===global&&global||void 0;function de(e){return Ne[Te][e]}function le(e,t){return Ne[Te][e]=t}function Ie(e){delete Ne[Te][e]}function pe(e,t,n){var r;try{if(lt(e)){var o=window[e];r=o[t].bind(o)}}catch{}return r||n}Ne[Te]||(Ne[Te]={});var Je={};function lt(e){if(typeof Je[e]!==oe)return Je[e];try{var t=window[e];t.setItem(oe,oe),t.removeItem(oe)}catch{return Je[e]=!1}return Je[e]=!0}var Mn,$e="__",Lt=typeof process<"u"?process:{};(Mn=Lt.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";Lt.versions!=null&&Lt.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}var ae=ft.bind(null,"function"),Ze=ft.bind(null,"string");ft.bind(null,"undefined");var zi=ft.bind(null,"boolean");function Wi(e){return Object.prototype.toString.call(e)==="[object Array]"}function $i(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!$i(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Rt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vi(e){if(Array.isArray(e))return Rt(e)}function Hi(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yr(e,t){if(e){if(typeof e=="string")return Rt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rt(e,t)}}function qi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Re(e){return Vi(e)||Hi(e)||Yr(e)||qi()}function Q(e){"@babel/helpers - typeof";return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Dn(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(c){n(c);return}s.done?t(u):Promise.resolve(u).then(r,o)}function se(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(u){Dn(i,r,o,a,s,"next",u)}function s(u){Dn(i,r,o,a,s,"throw",u)}a(void 0)})}}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Un(Object(n),!0).forEach(function(r){he(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Zr={exports:{}};(function(e){var t=(function(n){var r=Object.prototype,o=r.hasOwnProperty,i,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(h,b,l){return Object.defineProperty(h,b,{value:l,enumerable:!0,configurable:!0,writable:!0}),h[b]}try{d({},"")}catch{d=function(h,b,l){return h[b]=l}}function p(h,b,l,m){var O=b&&b.prototype instanceof w?b:w,k=Object.create(O.prototype),M=new q(m||[]);return k._invoke=C(h,l,M),k}n.wrap=p;function g(h,b,l){try{return{type:"normal",arg:h.call(b,l)}}catch(m){return{type:"throw",arg:m}}}var x="suspendedStart",y="suspendedYield",A="executing",v="completed",f={};function w(){}function j(){}function S(){}var E={};d(E,s,function(){return this});var P=Object.getPrototypeOf,T=P&&P(P(G([])));T&&T!==r&&o.call(T,s)&&(E=T);var L=S.prototype=w.prototype=Object.create(E);j.prototype=S,d(L,"constructor",S),d(S,"constructor",j),j.displayName=d(S,c,"GeneratorFunction");function R(h){["next","throw","return"].forEach(function(b){d(h,b,function(l){return this._invoke(b,l)})})}n.isGeneratorFunction=function(h){var b=typeof h=="function"&&h.constructor;return b?b===j||(b.displayName||b.name)==="GeneratorFunction":!1},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,S):(h.__proto__=S,d(h,c,"GeneratorFunction")),h.prototype=Object.create(L),h},n.awrap=function(h){return{__await:h}};function _(h,b){function l(k,M,U,$){var K=g(h[k],h,M);if(K.type==="throw")$(K.arg);else{var H=K.arg,V=H.value;return V&&typeof V=="object"&&o.call(V,"__await")?b.resolve(V.__await).then(function(X){l("next",X,U,$)},function(X){l("throw",X,U,$)}):b.resolve(V).then(function(X){H.value=X,U(H)},function(X){return l("throw",X,U,$)})}}var m;function O(k,M){function U(){return new b(function($,K){l(k,M,$,K)})}return m=m?m.then(U,U):U()}this._invoke=O}R(_.prototype),d(_.prototype,u,function(){return this}),n.AsyncIterator=_,n.async=function(h,b,l,m,O){O===void 0&&(O=Promise);var k=new _(p(h,b,l,m),O);return n.isGeneratorFunction(b)?k:k.next().then(function(M){return M.done?M.value:k.next()})};function C(h,b,l){var m=x;return function(O,k){if(m===A)throw new Error("Generator is already running");if(m===v){if(O==="throw")throw k;return z()}for(l.method=O,l.arg=k;;){var M=l.delegate;if(M){var U=F(M,l);if(U){if(U===f)continue;return U}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m===x)throw m=v,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m=A;var $=g(h,b,l);if($.type==="normal"){if(m=l.done?v:y,$.arg===f)continue;return{value:$.arg,done:l.done}}else $.type==="throw"&&(m=v,l.method="throw",l.arg=$.arg)}}}function F(h,b){var l=h.iterator[b.method];if(l===i){if(b.delegate=null,b.method==="throw"){if(h.iterator.return&&(b.method="return",b.arg=i,F(h,b),b.method==="throw"))return f;b.method="throw",b.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var m=g(l,h.iterator,b.arg);if(m.type==="throw")return b.method="throw",b.arg=m.arg,b.delegate=null,f;var O=m.arg;if(!O)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,f;if(O.done)b[h.resultName]=O.value,b.next=h.nextLoc,b.method!=="return"&&(b.method="next",b.arg=i);else return O;return b.delegate=null,f}R(L),d(L,c,"Generator"),d(L,s,function(){return this}),d(L,"toString",function(){return"[object Generator]"});function W(h){var b={tryLoc:h[0]};1 in h&&(b.catchLoc=h[1]),2 in h&&(b.finallyLoc=h[2],b.afterLoc=h[3]),this.tryEntries.push(b)}function D(h){var b=h.completion||{};b.type="normal",delete b.arg,h.completion=b}function q(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(W,this),this.reset(!0)}n.keys=function(h){var b=[];for(var l in h)b.push(l);return b.reverse(),function m(){for(;b.length;){var O=b.pop();if(O in h)return m.value=O,m.done=!1,m}return m.done=!0,m}};function G(h){if(h){var b=h[s];if(b)return b.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var l=-1,m=function O(){for(;++l<h.length;)if(o.call(h,l))return O.value=h[l],O.done=!1,O;return O.value=i,O.done=!0,O};return m.next=m}}return{next:z}}n.values=G;function z(){return{value:i,done:!0}}return q.prototype={constructor:q,reset:function(h){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(D),!h)for(var b in this)b.charAt(0)==="t"&&o.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=i)},stop:function(){this.done=!0;var h=this.tryEntries[0],b=h.completion;if(b.type==="throw")throw b.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var b=this;function l($,K){return k.type="throw",k.arg=h,b.next=$,K&&(b.method="next",b.arg=i),!!K}for(var m=this.tryEntries.length-1;m>=0;--m){var O=this.tryEntries[m],k=O.completion;if(O.tryLoc==="root")return l("end");if(O.tryLoc<=this.prev){var M=o.call(O,"catchLoc"),U=o.call(O,"finallyLoc");if(M&&U){if(this.prev<O.catchLoc)return l(O.catchLoc,!0);if(this.prev<O.finallyLoc)return l(O.finallyLoc)}else if(M){if(this.prev<O.catchLoc)return l(O.catchLoc,!0)}else if(U){if(this.prev<O.finallyLoc)return l(O.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(h,b){for(var l=this.tryEntries.length-1;l>=0;--l){var m=this.tryEntries[l];if(m.tryLoc<=this.prev&&o.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var O=m;break}}O&&(h==="break"||h==="continue")&&O.tryLoc<=b&&b<=O.finallyLoc&&(O=null);var k=O?O.completion:{};return k.type=h,k.arg=b,O?(this.method="next",this.next=O.finallyLoc,f):this.complete(k)},complete:function(h,b){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&b&&(this.next=b),f},finish:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.finallyLoc===h)return this.complete(l.completion,l.afterLoc),D(l),f}},catch:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.tryLoc===h){var m=l.completion;if(m.type==="throw"){var O=m.arg;D(l)}return O}}throw new Error("illegal catch attempt")},delegateYield:function(h,b,l){return this.delegate={iterator:G(h),resultName:b,nextLoc:l},this.method==="next"&&(this.arg=i),f}},n})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Zr);var B=Zr.exports,me="function",ue="undefined",ze="reducer",eo="@@redux/",zt=eo+"INIT",Ki=eo+Math.random().toString(36),Ln=(function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===me&&Symbol.observable||"@@observable"})(),Xe=" != "+me;function to(e,t,n){if(Q(t)===me&&Q(n)===ue&&(n=t,t=void 0),Q(n)!==ue){if(Q(n)!==me)throw new Error("enhancer"+Xe);return n(to)(e,t)}if(Q(e)!==me)throw new Error(ze+Xe);var r=e,o=t,i=[],a=i,s=!1;function u(){a===i&&(a=i.slice())}function c(){return o}function d(y){if(Q(y)!==me)throw new Error("Listener"+Xe);var A=!0;return u(),a.push(y),function(){if(A){A=!1,u();var v=a.indexOf(y);a.splice(v,1)}}}function p(y){if(!ne(y))throw new Error("Act != obj");if(Q(y.type)===ue)throw new Error("ActType "+ue);if(s)throw new Error("Dispatch in "+ze);try{s=!0,o=r(o,y)}finally{s=!1}for(var A=i=a,v=0;v<A.length;v++){var f=A[v];f()}return y}function g(y){if(Q(y)!==me)throw new Error("next "+ze+Xe);r=y,p({type:zt})}function x(){var y=d;return he({subscribe:function(A){if(Q(A)!=="object")throw new TypeError("Observer != obj");function v(){A.next&&A.next(c())}v();var f=y(v);return{unsubscribe:f}}},Ln,function(){return this})}return p({type:zt}),he({dispatch:p,subscribe:d,getState:c,replaceReducer:g},Ln,x)}function Fi(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+ze+" "+e+" returns "+ue}function Gi(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:zt});if(Q(r)===ue||Q(n(void 0,{type:Ki}))===ue)throw new Error(ze+" "+t+" "+ue)})}function Ji(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];Q(e[o])===me&&(n[o]=e[o])}var i=Object.keys(n),a;try{Gi(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var c=!1,d={},p=0;p<i.length;p++){var g=i[p],x=n[g],y=s[g],A=x(y,u);if(Q(A)===ue){var v=Fi(g,u);throw new Error(v)}d[g]=A,c=c||A!==y}return c?d:s}}function _e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,o){return function(){return r(o.apply(void 0,arguments))}})}function Xi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(o,i,a){var s=r(o,i,a),u=s.dispatch,c=[],d={getState:s.getState,dispatch:function(p){return u(p)}};return c=t.map(function(p){return p(d)}),u=_e.apply(void 0,Re(c))(s.dispatch),I(I({},s),{},{dispatch:u})}}}var ye=$e+"anon_id",xe=$e+"user_id",Ee=$e+"user_traits",Wt="analytics",ge="userId",ke="anonymousId",Bi="https://lytics.dev/errors/",ot=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],$t=["name","EVENTS","config","loaded"],Qi={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},Yi=ot.reduce(function(e,t){return e[t]=t,e},Qi),N=Yi;function Zi(e){return ot.includes(e)}var Rn=/^utm_/,zn=/^an_prop_/,Wn=/^an_trait_/;function ea(e){var t=e.storage.setItem;return function(n){return function(r){return function(o){if(o.type===N.bootstrap){var i=o.params,a=o.user,s=o.persistedUser,u=o.initialUser,c=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(ye,a.anonymousId),c||t(xe,a.userId),u.traits&&t(Ee,I(I({},c&&s.traits?s.traits:{}),u.traits));var d=Object.keys(o.params);if(d.length){var p=i.an_uid,g=i.an_event,x=d.reduce(function(y,A){if(A.match(Rn)||A.match(/^(d|g)clid/)){var v=A.replace(Rn,""),f=v==="campaign"?"name":v;y.campaign[f]=i[A]}return A.match(zn)&&(y.props[A.replace(zn,"")]=i[A]),A.match(Wn)&&(y.traits[A.replace(Wn,"")]=i[A]),y},{campaign:{},props:{},traits:{}});n.dispatch(I(I({type:N.params,raw:i},x),p?{userId:p}:{})),p&&setTimeout(function(){return e.identify(p,x.traits)},0),g&&setTimeout(function(){return e.track(g,x.props)},0),Object.keys(x.campaign).length&&n.dispatch({type:N.campaign,campaign:x.campaign})}}return r(o)}}}}function ta(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===N.setItemEnd){if(n.key===ye)return I(I({},t),{anonymousId:n.value});if(n.key===xe)return I(I({},t),{userId:n.value})}switch(n.type){case N.identify:return Object.assign({},t,{userId:n.userId,traits:I(I({},t.traits),n.traits)});case N.reset:return[xe,ye,Ee].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function no(e){return{userId:e.getItem(xe),anonymousId:e.getItem(ye),traits:e.getItem(Ee)}}var fn=function(e){return $e+"TEMP"+$e+e};function na(e){return function(t,n,r){var o=n.getState("user")[t];if(o)return o;if(r&&ne(r)&&r[t])return r[t];var i=no(e)[t];return i||de(fn(t))||null}}function ra(e){var t=e.storage,n=t.setItem,r=t.removeItem,o=t.getItem;return function(i){return function(a){return function(s){var u=s.userId,c=s.traits,d=s.options;if(s.type===N.reset&&([xe,Ee,ye].forEach(function(x){r(x)}),[ge,ke,"traits"].forEach(function(x){Ie(fn(x))})),s.type===N.identify){o(ye)||n(ye,Ae());var p=o(xe),g=o(Ee)||{};p&&p!==u&&i.dispatch({type:N.userIdChanged,old:{userId:p,traits:g},new:{userId:u,traits:c},options:d}),u&&n(xe,u),c&&n(Ee,I(I({},g),c))}return a(s)}}}}var Ue={};function ro(e,t){Ue[e]&&ae(Ue[e])&&(Ue[e](t),delete Ue[e])}function oo(e,t,n){return new Promise(function(r,o){return t()?r(e):n<1?o(I(I({},e),{},{queue:!0})):oa(10).then(function(i){return oo(e,t,n-10).then(r,o)})})}function oa(e){return new Promise(function(t){return setTimeout(t,e)})}function io(e,t,n){var r=t(),o=e.getState(),i=o.plugins,a=o.context,s=o.queue,u=o.user,c=!a.offline;if(c&&s&&s.actions&&s.actions.length){var d=s.actions.reduce(function(g,x,y){var A=i[x.plugin].loaded;return A?(g.process.push(x),g.processIndex.push(y)):(g.requeue.push(x),g.requeueIndex.push(y)),g},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(d.processIndex&&d.processIndex.length){d.processIndex.forEach(function(g){var x=s.actions[g],y=x.plugin,A=x.payload.type,v=r[y][A];if(v&&ae(v)){var f=aa(x.payload,u);v({payload:f,config:i[y].config,instance:n});var w="".concat(A,":").concat(y);e.dispatch(I(I({},f),{},{type:w,_:{called:w,from:"queueDrain"}}))}});var p=s.actions.filter(function(g,x){return!~d.processIndex.indexOf(x)});s.actions=p}}}function ia(e,t,n){return setInterval(function(){return io(e,t,n)},3e3)}function aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[ge,ke].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function sa(e){if(Array.isArray(e))return e}function ua(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,s=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function ca(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function la(e,t){return sa(e)||ua(e,t)||Yr(e,t)||ca()}function fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(r){var o=n.plugins||{};return zi(o[r])?o[r]:!(o.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var Ce=/Start$/,$n=/^bootstrap/,Vn=/^ready/;function da(e,t,n,r,o){return Vt.apply(this,arguments)}function Vt(){return Vt=se(B.mark(function e(t,n,r,o,i){var a,s,u,c,d,p,g,x,y,A,v;return B.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=ae(n)?n():n,s=t.type,u=s.replace(Ce,""),!(t._&&t._.called)){f.next=5;break}return f.abrupt("return",t);case 5:return c=r.getState(),d=fa(a,c.plugins,t.options),s===N.initializeStart&&t.fromEnable&&(d=Object.keys(c.plugins).filter(function(w){var j=c.plugins[w];return t.plugins.includes(w)&&!j.initialized}).map(function(w){return a[w]})),p=d.map(function(w){return w.name}),g=ga(s,d),f.next=12,wt({action:t,data:{exact:g.before,namespaced:g.beforeNS},state:c,allPlugins:a,allMatches:g,instance:r,store:o,EVENTS:i});case 12:if(x=f.sent,!ao(x,p.length)){f.next=15;break}return f.abrupt("return",x);case 15:if(s!==u){f.next=19;break}y=x,f.next=22;break;case 19:return f.next=21,wt({action:I(I({},x),{},{type:u}),data:{exact:g.during,namespaced:g.duringNS},state:c,allPlugins:a,allMatches:g,instance:r,store:o,EVENTS:i});case 21:y=f.sent;case 22:if(!s.match(Ce)){f.next=28;break}return A="".concat(u,"End"),f.next=26,wt({action:I(I({},y),{},{type:A}),data:{exact:g.after,namespaced:g.afterNS},state:c,allPlugins:a,allMatches:g,instance:r,store:o,EVENTS:i});case 26:v=f.sent,v.meta&&v.meta.hasCallback&&ro(v.meta.rid,{payload:v});case 28:return f.abrupt("return",x);case 29:case"end":return f.stop()}},e)})),Vt.apply(this,arguments)}function wt(e){return Ht.apply(this,arguments)}function Ht(){return Ht=se(B.mark(function e(t){var n,r,o,i,a,s,u,c,d,p,g,x,y,A,v,f,w,j;return B.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return n=t.data,r=t.action,o=t.instance,i=t.state,a=t.allPlugins,s=t.allMatches,u=t.store,c=t.EVENTS,d=i.plugins,p=i.context,g=r.type,x=g.match(Ce),y=n.exact.map(function(E){return E.pluginName}),x&&(y=s.during.map(function(E){return E.pluginName})),A=ha(o,y),v=n.exact.reduce(function(E,P){var T=P.pluginName,L=P.methodName,R=!1;return!L.match(/^initialize/)&&!L.match(/^reset/)&&(R=!d[T].loaded),p.offline&&L.match(/^(page|track|identify)/)&&(R=!0),E["".concat(T)]=R,E},{}),S.next=10,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var _,C,F;return B.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return _=L.pluginName,W.next=3,T;case 3:if(C=W.sent,!(n.namespaced&&n.namespaced[_])){W.next=11;break}return W.next=7,n.namespaced[_].reduce((function(){var D=se(B.mark(function q(G,z,h){var b,l,m,O;return B.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return l=function(M,U,$){return function(K,H){var V=$||U;return I(I({},M),{},{abort:{reason:K,plugins:H||[U],caller:g,from:V}})}},k.next=3,G;case 3:if(b=k.sent,!(!z.method||!ae(z.method))){k.next=6;break}return k.abrupt("return",b);case 6:return va(z.methodName,z.pluginName),k.next=9,z.method({payload:b,instance:o,abort:l(b,_,z.pluginName),config:Hn(z.pluginName,d,a),plugins:d});case 9:return m=k.sent,O=ne(m)?m:{},k.abrupt("return",Promise.resolve(I(I({},b),O)));case 12:case"end":return k.stop()}},q)}));return function(q,G,z){return D.apply(this,arguments)}})(),Promise.resolve(r));case 7:F=W.sent,C[_]=F,W.next=12;break;case 11:C[_]=r;case 12:return W.abrupt("return",Promise.resolve(C));case 13:case"end":return W.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve({}));case 10:return f=S.sent,S.next=13,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var _,C,F,W,D,q,G,z,h,b,l,m,O;return B.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return _=n.exact.length===R+1,C=L.pluginName,F=a[C],k.next=5,T;case 5:if(W=k.sent,D=f[C]?f[C]:{},x&&(D=W),!Ot(D,C)){k.next=11;break}return xt({data:D,method:g,instance:o,pluginName:C,store:u}),k.abrupt("return",Promise.resolve(W));case 11:if(!Ot(W,C)){k.next=14;break}return _&&xt({data:W,method:g,instance:o,store:u}),k.abrupt("return",Promise.resolve(W));case 14:if(!(v.hasOwnProperty(C)&&v[C]===!0)){k.next=17;break}return u.dispatch({type:"queue",plugin:C,payload:D,_:{called:"queue",from:"queueMechanism"}}),k.abrupt("return",Promise.resolve(W));case 17:return q=A(f[C],a[C]),k.next=20,F[g]({abort:q.abort,payload:D,instance:o,config:Hn(C,d,a),plugins:d});case 20:return G=k.sent,z=ne(G)?G:{},h=I(I({},W),z),b=f[C],Ot(b,C)?xt({data:b,method:g,instance:o,pluginName:C,store:u}):(l="".concat(g,":").concat(C),m=(l.match(/:/g)||[]).length,m<2&&!g.match($n)&&!g.match(Vn)&&(O=x?h:D,o.dispatch(I(I({},O),{},{type:l,_:{called:l,from:"submethod"}})))),k.abrupt("return",Promise.resolve(h));case 26:case"end":return k.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve(r));case 13:if(w=S.sent,!(!g.match(Ce)&&!g.match(/^registerPlugin/)&&!g.match(Vn)&&!g.match($n)&&!g.match(/^params/)&&!g.match(/^userIdChanged/))){S.next=21;break}if(c.plugins.includes(g),!(w._&&w._.originalAction===g)){S.next=18;break}return S.abrupt("return",w);case 18:j=I(I({},w),{_:{originalAction:w.type,called:w.type,from:"engineEnd"}}),ao(w,n.exact.length)&&!g.match(/End$/)&&(j=I(I({},j),{type:w.type+"Aborted"})),u.dispatch(j);case 21:return S.abrupt("return",w);case 22:case"end":return S.stop()}},e)})),Ht.apply(this,arguments)}function xt(e){var t=e.data,n=e.method;e.instance;var r=e.pluginName,o=e.store,i=r?":"+r:"",a=n+"Aborted"+i;o.dispatch(I(I({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Hn(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function qn(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function pa(e){return e.replace(Ce,"")}function Kn(e,t){var n=pa(e),r=t?":".concat(t):"",o="".concat(e).concat(r),i="".concat(n).concat(r),a="".concat(n,"End").concat(r);return[o,i,a]}function ga(e,t,n){var r=Kn(e),o=r.map(function(i){return qn(i,t)});return t.reduce(function(i,a){var s=a.name,u=Kn(e,s),c=u.map(function(y){return qn(y,t)}),d=la(c,3),p=d[0],g=d[1],x=d[2];return p.length&&(i.beforeNS[s]=p),g.length&&(i.duringNS[s]=g),x.length&&(i.afterNS[s]=x),i},{before:o[0],beforeNS:{},during:o[1],duringNS:{},after:o[2],afterNS:{}})}function Ot(e,t){var n=e.abort;return n?n===!0?!0:Fn(n,t)||n&&Fn(n.plugins,t):!1}function ao(e,t){var n=e.abort;if(!n)return!1;if(n===!0||Ze(n))return!0;var r=n.plugins;return Ve(n)&&n.length===t||Ve(r)&&r.length===t}function Ve(e){return Array.isArray(e)}function Fn(e,t){return!e||!Ve(e)?!1:e.includes(t)}function ha(e,t){return function(n,r,o){var i=r.config,a=r.name,s="".concat(a,".").concat(n.type);o&&(s=o.event);var u=n.type.match(Ce)?ma(a,s,t,o,n):ya(n,s);return{payload:ba(n),instance:e,config:i||{},abort:u}}}function ma(e,t,n,r,o){return function(i,a){var s=r?r.name:e,u=a&&Ve(a)?a:n;if(r&&(u=a&&Ve(a)?a:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return I(I({},o),{},{abort:{reason:i,plugins:u,caller:t,_:s}})}}function ya(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function va(e,t){var n=Gn(e),r=n&&n.name===t;if(r){var o=Gn(n.method),i=o?"or "+o.method:"";throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(n.method," ").concat(i," in ").concat(t," plugin insteadof ").concat(e)].join(`
|
7
7
|
`))}}function Gn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function ba(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(ne(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function wa(e,t,n){var r={};return function(o){return function(i){return(function(){var a=se(B.mark(function s(u){var c,d,p,g,x,y,A,v,f,w,j,S;return B.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(c=u.type,d=u.abort,p=u.plugins,g=u,!d){E.next=4;break}return E.abrupt("return",i(u));case 4:if(c===N.enablePlugin&&o.dispatch({type:N.initializeStart,plugins:p,disabled:[],fromEnable:!0,meta:u.meta}),c===N.disablePlugin&&setTimeout(function(){return ro(u.meta.rid,{payload:u})},0),c===N.initializeEnd&&(x=t(),y=Object.keys(x),A=y.filter(function(P){return p.includes(P)}).map(function(P){return x[P]}),v=[],f=[],w=u.disabled,j=A.map(function(P){var T=P.loaded,L=P.name;return oo(P,T,1e4).then(function(R){return r[L]||(o.dispatch({type:N.pluginReadyType(L),name:L,events:Object.keys(P).filter(function(_){return!$t.includes(_)})}),r[L]=!0),v=v.concat(L),P}).catch(function(R){if(R instanceof Error)throw new Error(R);return f=f.concat(R.name),R})}),Promise.all(j).then(function(P){var T={plugins:v,failed:f,disabled:w};setTimeout(function(){y.length===j.length+w.length&&o.dispatch(I(I({},{type:N.ready}),T))},0)})),c===N.bootstrap){E.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout(function(){return io(o,t,e)},0),E.next=11,da(u,t,e,o,n);case 11:return S=E.sent,E.abrupt("return",i(S));case 13:return E.abrupt("return",i(g));case 14:case"end":return E.stop()}},s)}));return function(s){return a.apply(this,arguments)}})()}}}function xa(e){return function(t){return function(n){return function(r){var o=r.type,i=r.key,a=r.value,s=r.options;if(o===N.setItem||o===N.removeItem){if(r.abort)return n(r);o===N.setItem?e.setItem(i,a,s):e.removeItem(i,s)}return n(r)}}}}function Oa(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Sa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Aa=Oa(function e(){var t=this;Sa(this,e),he(this,"before",[]),he(this,"after",[]),he(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),he(this,"removeMiddleware",function(n,r){var o=t[r].findIndex(function(i){return i===n});o!==-1&&(t[r]=[].concat(Re(t[r].slice(0,o)),Re(t[r].slice(o+1))))}),he(this,"dynamicMiddlewares",function(n){return function(r){return function(o){return function(i){var a={getState:r.getState,dispatch:function(u){return r.dispatch(u)}},s=t[n].map(function(u){return u(a)});return _e.apply(void 0,Re(s))(o)(i)}}}})});function Ia(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var o=Jn(n.type,"registerPlugin"),i=e()[o];if(!i||!o)return t;var a=n.enabled;return r[o]={enabled:a,initialized:a?!i.initialize:!1,loaded:a?!!i.loaded():!1,config:i.config||{}},I(I({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=Jn(n.type,N.initialize),u=e()[s];return!u||!s?t:(r[s]=I(I({},t[s]),{initialized:!0,loaded:!!u.loaded()}),I(I({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=I(I({},t[n.name]),{loaded:!0}),I(I({},t),r);switch(n.type){case N.disablePlugin:return I(I({},t),Xn(n.plugins,!1,t));case N.enablePlugin:return I(I({},t),Xn(n.plugins,!0,t));default:return t}}}function Jn(e,t){return e.substring(t.length+1,e.length)}function Xn(e,t,n){return e.reduce(function(r,o){return r[o]=I(I({},n[o]),{enabled:t}),r},n)}function so(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var ka={last:{},history:[]};function ja(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ka,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,o=t.properties,i=t.options,a=t.meta;switch(n){case N.track:var s=so(I(I({event:r,properties:o},Object.keys(i).length&&{options:i}),{},{meta:a}));return I(I({},e),{last:s,history:e.history.concat(s)});default:return e}}var Ea={actions:[]};function Pa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ea,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"queue":var o;return r&&r.type&&r.type===N.identify?o=[t].concat(e.actions):o=e.actions.concat(t),I(I({},e),{},{actions:o});case"dequeue":return[];default:return e}}var uo=/#.*$/;function Ta(){if(fe){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function Na(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(uo,""):"";return"/"+r}function _a(e){var t=Ta();return t?t.match(/\?/)?t:t+e:window.location.href.replace(uo,"")}var Ca=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!fe)return e;var t=document,n=t.title,r=t.referrer,o=window,i=o.location,a=o.innerWidth,s=o.innerHeight,u=i.hash,c=i.search,d=_a(c),p={title:n,url:d,path:Na(d),hash:u,search:c,width:a,height:s};return r&&r!==""&&(p.referrer=r),I(I({},p),e)},Ma={last:{},history:[]};function Da(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ma,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,o=t.meta;switch(t.type){case N.page:var i=so(I({properties:n,meta:o},Object.keys(r).length&&{options:r}));return I(I({},e),{last:i,history:e.history.concat(i)});default:return e}}function Ua(){if(!fe)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var co,lo,fo,po;co=Ua(),lo=fe?document.referrer:null,fo=Di(),po=Ui();var Bn={initialized:!1,sessionId:Ae(),app:null,version:null,debug:!1,offline:fe?!navigator.onLine:!1,os:{name:co},userAgent:fe?navigator.userAgent:"node",library:{name:Wt,version:"0.10.22"},timezone:po,locale:fo,campaign:{},referrer:lo};function La(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,o=t.campaign;switch(r){case N.campaign:return I(I({},e),{campaign:o});case N.offline:return I(I({},e),{offline:!0});case N.online:return I(I({},e),{offline:!1});default:return n?e:I(I(I({},Bn),e),{initialized:!0})}}var Ra=["plugins","reducers","storage"];function za(e){return Object.keys(e).reduce(function(t,n){return Ra.includes(n)||(t[n]=e[n]),t},{})}function Wa(e,t,n){if(fe){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(o){r(o,t)})}}function $a(){return Promise.resolve(!navigator.onLine)}function Va(e){var t=function(r){return $a().then(e)},n=Wa.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function go(){return le(Wt,[]),function(e){return function(t,n,r){var o=e(t,n,r),i=o.dispatch,a=function(s){var u=s.action||s;return Ne[Te][Wt].push(u),i(s)};return Object.assign(o,{dispatch:a})}}}function Qn(e){return function(){return _e(_e.apply(null,arguments),go())}}function St(e){return e?Wi(e)?e:[e]:[]}function Ha(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ae(t[r])){n=t[r];break}return n}function qa(){return new Date().getTime()}function Ka(e,t){return function(n){t&&t(n),e(n)}}function Yn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Ae();return t&&(Ue[r]=Ka(t,Ha(n))),I(I({},e),{},{rid:r,ts:qa()},t?{hasCallback:!0}:{})}function Fa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(l,m){if(ae(m))return l.middlewares=l.middlewares.concat(m),l;if(m.NAMESPACE&&(m.name=m.NAMESPACE),!m.name)throw new Error(Bi+"1");var O=m.EVENTS?Object.keys(m.EVENTS).map(function(H){return m.EVENTS[H]}):[],k=m.enabled!==!1,M=!(m.config&&m.config.enabled===!1);l.pluginEnabled[m.name]=k&&M,delete m.enabled,m.methods&&(l.methods[m.name]=Object.keys(m.methods).reduce(function(H,V){return H[V]=b(m.methods[V]),H},{}),delete m.methods);var U=Object.keys(m),$=U.concat(O),K=new Set(l.events.concat($));if(l.events=Array.from(K),l.pluginsArray=l.pluginsArray.concat(m),l.plugins[m.name])throw new Error(m.name+"AlreadyLoaded");return l.plugins[m.name]=m,l.plugins[m.name].loaded||(l.plugins[m.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),o=e.storage?e.storage:{getItem:de,setItem:le,removeItem:Ie},i=na(o),a=r.plugins,s=r.events.filter(function(l){return!$t.includes(l)}).sort(),u=new Set(s.concat(ot).filter(function(l){return!$t.includes(l)})),c=Array.from(u).sort(),d=function(){return a},p=new Aa,g=p.addMiddleware,x=p.removeMiddleware,y=p.dynamicMiddlewares,A=function(){throw new Error("Abort disabled inListener")},v=Li(),f=no(o),w=I(I(I(I({},f),n),v.an_uid?{userId:v.an_uid}:{}),v.an_aid?{anonymousId:v.an_aid}:{});w.anonymousId||(w.anonymousId=Ae());var j=I({enable:function(l,m){return new Promise(function(O){D.dispatch({type:N.enablePlugin,plugins:St(l),_:{originalAction:N.enablePlugin}},O,[m])})},disable:function(l,m){return new Promise(function(O){D.dispatch({type:N.disablePlugin,plugins:St(l),_:{originalAction:N.disablePlugin}},O,[m])})}},r.methods),S={identify:(function(){var l=se(B.mark(function O(k,M,U,$){var K,H,V,X,Fe;return B.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:return K=Ze(k)?k:null,H=ne(k)?k:M,V=U||{},X=S.user(),le(fn(ge),K),Fe=K||H.userId||i(ge,S,H),Ge.abrupt("return",new Promise(function(Jo){D.dispatch(I({type:N.identifyStart,userId:Fe,traits:H||{},options:V,anonymousId:X.anonymousId},X.id&&X.id!==K&&{previousId:X.id}),Jo,[M,U,$])}));case 7:case"end":return Ge.stop()}},O)}));function m(O,k,M,U){return l.apply(this,arguments)}return m})(),track:(function(){var l=se(B.mark(function O(k,M,U,$){var K,H,V;return B.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(K=ne(k)?k.event:k,!(!K||!Ze(K))){X.next=3;break}throw new Error("EventMissing");case 3:return H=ne(k)?k:M||{},V=ne(U)?U:{},X.abrupt("return",new Promise(function(Fe){D.dispatch({type:N.trackStart,event:K,properties:H,options:V,userId:i(ge,S,M),anonymousId:i(ke,S,M)},Fe,[M,U,$])}));case 6:case"end":return X.stop()}},O)}));function m(O,k,M,U){return l.apply(this,arguments)}return m})(),page:(function(){var l=se(B.mark(function O(k,M,U){var $,K;return B.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return $=ne(k)?k:{},K=ne(M)?M:{},H.abrupt("return",new Promise(function(V){D.dispatch({type:N.pageStart,properties:Ca($),options:K,userId:i(ge,S,$),anonymousId:i(ke,S,$)},V,[k,M,U])}));case 3:case"end":return H.stop()}},O)}));function m(O,k,M){return l.apply(this,arguments)}return m})(),user:function(l){if(l===ge||l==="id")return i(ge,S);if(l===ke||l==="anonId")return i(ke,S);var m=S.getState("user");return l?Nn(m,l):m},reset:function(l){return new Promise(function(m){D.dispatch({type:N.resetStart},m,l)})},ready:function(l){return S.on(N.ready,l)},on:function(l,m){if(!l||!ae(m))return!1;if(l===N.bootstrap)throw new Error(".on disabled for "+l);var O=/Start$|Start:/;if(l==="*"){var k=function(K){return function(H){return function(V){return V.type.match(O)&&m({payload:V,instance:S,plugins:a}),H(V)}}},M=function(K){return function(H){return function(V){return V.type.match(O)||m({payload:V,instance:S,plugins:a}),H(V)}}};return g(k,Be),g(M,Qe),function(){x(k,Be),x(M,Qe)}}var U=l.match(O)?Be:Qe,$=function(K){return function(H){return function(V){return V.type===l&&m({payload:V,instance:S,plugins:a,abort:A}),H(V)}}};return g($,U),function(){return x($,U)}},once:function(l,m){if(!l||!ae(m))return!1;if(l===N.bootstrap)throw new Error(".once disabled for "+l);var O=S.on(l,function(k){var M=k.payload;m({payload:M,instance:S,plugins:a,abort:A}),O()});return O},getState:function(l){var m=D.getState();return l?Nn(m,l):Object.assign({},m)},dispatch:function(l){var m=Ze(l)?{type:l}:l;if(Zi(m.type))throw new Error("reserved action "+m.type);var O=l._||{},k=I(I({},m),{},{_:I({originalAction:m.type},O)});D.dispatch(k)},enablePlugin:j.enable,disablePlugin:j.disable,plugins:j,storage:{getItem:o.getItem,setItem:function(l,m,O){D.dispatch({type:N.setItemStart,key:l,value:m,options:O})},removeItem:function(l,m){D.dispatch({type:N.removeItemStart,key:l,options:m})}},setAnonymousId:function(l,m){S.storage.setItem(ye,l,m)},events:{all:c,core:ot,plugins:s}},E=function(l){return function(m){return function(O){return O.meta||(O.meta=Yn()),m(O)}}},P=r.middlewares.concat([E,y(Be),wa(S,d,{all:c,plugins:s}),xa(o),ea(S),ra(S),y(Qe)]),T={context:La,user:ta(o),page:Da,track:ja,plugins:Ia(d),queue:Pa},L=_e,R=_e;if(fe&&e.debug){var _=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;_&&(L=_({trace:!0,traceLimit:25})),R=function(){return arguments.length===0?go():ne(Q(arguments[0]))?Qn():Qn().apply(null,arguments)}}var C=za(e),F=r.pluginsArray.reduce(function(l,m){var O=m.name,k=m.config,M=m.loaded,U=r.pluginEnabled[O];return l[O]={enabled:U,initialized:U?!m.initialize:!1,loaded:!!M(),config:k||{}},l},{}),W={context:C,user:w,plugins:F},D=to(Ji(I(I({},T),t)),W,R(L(Xi.apply(void 0,Re(P)))));function q(l){return function(m,O,k){var M=Yn(m.meta,O,St(k)),U=I(I({},m),{meta:M});return l.apply(null,[U])}}D.dispatch=q(D.dispatch);var G=Object.keys(a);D.dispatch({type:N.bootstrap,plugins:G,config:C,params:v,user:w,initialUser:n,persistedUser:f});var z=G.filter(function(l){return r.pluginEnabled[l]}),h=G.filter(function(l){return!r.pluginEnabled[l]});D.dispatch({type:N.registerPlugins,plugins:G,enabled:r.pluginEnabled}),r.pluginsArray.map(function(l,m){var O=l.bootstrap,k=l.config,M=l.name;O&&ae(O)&&O({instance:S,config:k,payload:l}),D.dispatch({type:N.registerPluginType(M),name:M,enabled:r.pluginEnabled[M],plugin:l}),r.pluginsArray.length===m+1&&D.dispatch({type:N.initializeStart,plugins:z,disabled:h})}),Va(function(l){D.dispatch({type:l?N.offline:N.online})}),ia(D,d,S);function b(l){return function(){for(var m=Array.prototype.slice.call(arguments),O=new Array(l.length),k=0;k<m.length;k++)O[k]=m[k];return O[O.length]=S,l.apply({instance:S},O)}}return S}var Be="before",Qe="after",Oe="cookie",be=yo(),dn=dt,ho=dt;function mo(e){return be?dt(e,"",-1):Ie(e)}function yo(){if(be!==void 0)return be;var e=Oe+Oe;try{dt(e,e),be=document.cookie.indexOf(e)!==-1,mo(e)}catch{be=!1}return be}function dt(e,t,n,r,o,i){if(typeof window<"u"){var a=arguments.length>1;return be===!1&&(a?le(e,t):de(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(o?"; domain="+o:"")+(i?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var ce="localStorage",Ga=lt.bind(null,ce),pn=pe(ce,"getItem",de),Ja=pe(ce,"setItem",le),vo=pe(ce,"removeItem",Ie),We="sessionStorage",Xa=lt.bind(null,"sessionStorage");pe("sessionStorage","getItem",de);pe("sessionStorage","setItem",le);pe("sessionStorage","removeItem",Ie);var Zn,bo="any",wo="*",qt=typeof process<"u"?process:{};(Zn=qt.env)!=null&&Zn.NODE_ENV;var Ba=typeof window<"u";qt.versions!=null&&qt.versions.node!=null;typeof Deno<"u"&&Deno.core;Ba&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function pt(e,t){return typeof t===e}pt.bind(null,"function");var Qa=pt.bind(null,"string"),je=pt.bind(null,"undefined");pt.bind(null,"boolean");function Ya(e){return e&&(typeof e=="object"||e!==null)}function Za(e){if(!Ya(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Pe(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(Za(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var es=Ga(),ts=Xa(),ns=yo();function xo(e,t){if(e){var n=gn(t),r=!vn(n),o=hn(n)?Pe(localStorage.getItem(e)):void 0;if(r&&!je(o))return o;var i=mn(n)?Pe(dn(e)):void 0;if(r&&i)return i;var a=yn(n)?Pe(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=de(e);return r?s:{localStorage:o,sessionStorage:a,cookie:i,global:s}}}function rs(e,t,n){if(e&&!je(t)){var r={},o=gn(n),i=JSON.stringify(t),a=!vn(o);return hn(o)&&(r[ce]=Ye(ce,t,Pe(localStorage.getItem(e))),localStorage.setItem(e,i),a)?r[ce]:mn(o)&&(r[Oe]=Ye(Oe,t,Pe(dn(e))),ho(e,i),a)?r[Oe]:yn(o)&&(r[We]=Ye(We,t,Pe(sessionStorage.getItem(e))),sessionStorage.setItem(e,i),a)?r[We]:(r[we]=Ye(we,t,de(e)),le(e,t),a?r[we]:r)}}function os(e,t){if(e){var n=gn(t),r=xo(e,wo),o={};return!je(r.localStorage)&&hn(n)&&(localStorage.removeItem(e),o[ce]=r.localStorage),!je(r.cookie)&&mn(n)&&(mo(e),o[Oe]=r.cookie),!je(r.sessionStorage)&&yn(n)&&(sessionStorage.removeItem(e),o[We]=r.sessionStorage),!je(r.global)&>(n,we)&&(Ie(e),o[we]=r.global),o}}function gn(e){return e?Qa(e)?e:e.storage:bo}function hn(e){return es&>(e,ce)}function mn(e){return ns&>(e,Oe)}function yn(e){return ts&>(e,We)}function vn(e){return e===wo||e==="all"}function gt(e,t){return e===bo||e===t||vn(e)}function Ye(e,t,n){return{location:e,current:t,previous:n}}var is={setItem:rs,getItem:xo,removeItem:os};function as(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?er(Object(n),!0).forEach(function(r){as(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ss(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:is};return Fa(tr(tr({},t),e))}function re(e){"@babel/helpers - typeof";return re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(e)}function us(e,t){if(re(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(re(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cs(e){var t=us(e,"string");return re(t)=="symbol"?t:t+""}function bn(e,t,n){return(t=cs(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nr(Object(n),!0).forEach(function(r){bn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}},or={exports:{}},ir;function So(){return ir||(ir=1,(function(e){function t(n,r){this.v=n,this.k=r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(or)),or.exports}var ar={exports:{}},sr={exports:{}},ur;function Ao(){return ur||(ur=1,(function(e){function t(n,r,o,i){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}e.exports=t=function(s,u,c,d){function p(g,x){t(s,g,function(y){return this._invoke(g,x,y)})}u?a?a(s,u,{value:c,enumerable:!d,configurable:!d,writable:!d}):s[u]=c:(p("next",0),p("throw",1),p("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,o,i)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(sr)),sr.exports}var cr;function Io(){return cr||(cr=1,(function(e){var t=Ao();function n(){var r,o,i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function u(v,f,w,j){var S=f&&f.prototype instanceof d?f:d,E=Object.create(S.prototype);return t(E,"_invoke",(function(P,T,L){var R,_,C,F=0,W=L||[],D=!1,q={p:0,n:0,v:r,a:G,f:G.bind(r,4),d:function(z,h){return R=z,_=0,C=r,q.n=h,c}};function G(z,h){for(_=z,C=h,o=0;!D&&F&&!b&&o<W.length;o++){var b,l=W[o],m=q.p,O=l[2];z>3?(b=O===h)&&(C=l[(_=l[4])?5:(_=3,3)],l[4]=l[5]=r):l[0]<=m&&((b=z<2&&m<l[1])?(_=0,q.v=h,q.n=l[1]):m<O&&(b=z<3||l[0]>h||h>O)&&(l[4]=z,l[5]=h,q.n=O,_=0))}if(b||z>1)return c;throw D=!0,h}return function(z,h,b){if(F>1)throw TypeError("Generator is already running");for(D&&h===1&&G(h,b),_=h,C=b;(o=_<2?r:C)||!D;){R||(_?_<3?(_>1&&(q.n=-1),G(_,C)):q.n=C:q.v=C);try{if(F=2,R){if(_||(z="next"),o=R[z]){if(!(o=o.call(R,C)))throw TypeError("iterator result is not an object");if(!o.done)return o;C=o.value,_<2&&(_=0)}else _===1&&(o=R.return)&&o.call(R),_<2&&(C=TypeError("The iterator does not provide a '"+z+"' method"),_=1);R=r}else if((o=(D=q.n<0)?C:P.call(T,q))!==c)break}catch(l){R=r,_=1,C=l}finally{F=1}}return{value:o,done:D}}})(v,w,j),!0),E}var c={};function d(){}function p(){}function g(){}o=Object.getPrototypeOf;var x=[][a]?o(o([][a]())):(t(o={},a,function(){return this}),o),y=g.prototype=d.prototype=Object.create(x);function A(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,g):(v.__proto__=g,t(v,s,"GeneratorFunction")),v.prototype=Object.create(y),v}return p.prototype=g,t(y,"constructor",g),t(g,"constructor",p),p.displayName="GeneratorFunction",t(g,s,"GeneratorFunction"),t(y),t(y,s,"Generator"),t(y,a,function(){return this}),t(y,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:u,m:A}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ar)),ar.exports}var lr={exports:{}},fr={exports:{}},dr={exports:{}},pr;function ko(){return pr||(pr=1,(function(e){var t=So(),n=Ao();function r(o,i){function a(u,c,d,p){try{var g=o[u](c),x=g.value;return x instanceof t?i.resolve(x.v).then(function(y){a("next",y,d,p)},function(y){a("throw",y,d,p)}):i.resolve(x).then(function(y){g.value=y,d(g)},function(y){return a("throw",y,d,p)})}catch(y){p(y)}}var s;this.next||(n(r.prototype),n(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(u,c,d){function p(){return new i(function(g,x){a(u,d,g,x)})}return s=s?s.then(p,p):p()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(dr)),dr.exports}var gr;function jo(){return gr||(gr=1,(function(e){var t=Io(),n=ko();function r(o,i,a,s,u){return new n(t().w(o,i,a,s),u||Promise)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(fr)),fr.exports}var hr;function ls(){return hr||(hr=1,(function(e){var t=jo();function n(r,o,i,a,s){var u=t(r,o,i,a,s);return u.next().then(function(c){return c.done?c.value:u.next()})}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(lr)),lr.exports}var mr={exports:{}},yr;function fs(){return yr||(yr=1,(function(e){function t(n){var r=Object(n),o=[];for(var i in r)o.unshift(i);return function a(){for(;o.length;)if((i=o.pop())in r)return a.value=i,a.done=!1,a;return a.done=!0,a}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mr)),mr.exports}var vr={exports:{}},br={exports:{}},wr;function ds(){return wr||(wr=1,(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(br)),br.exports}var xr;function ps(){return xr||(xr=1,(function(e){var t=ds().default;function n(r){if(r!=null){var o=r[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],i=0;if(o)return o.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length))return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}}}throw new TypeError(t(r)+" is not iterable")}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(vr)),vr.exports}var Or;function gs(){return Or||(Or=1,(function(e){var t=So(),n=Io(),r=ls(),o=jo(),i=ko(),a=fs(),s=ps();function u(){var c=n(),d=c.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(d):d.__proto__).constructor;function g(A){var v=typeof A=="function"&&A.constructor;return!!v&&(v===p||(v.displayName||v.name)==="GeneratorFunction")}var x={throw:1,return:2,break:3,continue:3};function y(A){var v,f;return function(w){v||(v={stop:function(){return f(w.a,2)},catch:function(){return w.v},abrupt:function(j,S){return f(w.a,x[j],S)},delegateYield:function(j,S,E){return v.resultName=S,f(w.d,s(j),E)},finish:function(j){return f(w.f,j)}},f=function(j,S,E){w.p=v.prev,w.n=v.next;try{return j(S,E)}finally{v.next=w.n}}),v.resultName&&(v[v.resultName]=w.v,v.resultName=void 0),v.sent=w.v,v.next=w.n;try{return A.call(this,v)}finally{w.p=v.prev,w.n=v.next}}}return(e.exports=u=function(){return{wrap:function(A,v,f,w){return c.w(y(A),v,f,w&&w.reverse())},isGeneratorFunction:g,mark:c.m,awrap:function(A,v){return new t(A,v)},AsyncIterator:i,async:function(A,v,f,w,j){return(g(v)?o:r)(y(A),v,f,w,j)},keys:a,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(rr)),rr.exports}var At,Sr;function hs(){if(Sr)return At;Sr=1;var e=gs()();At=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return At}var ms=hs(),J=Oo(ms);function Ar(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,o)}function ie(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(u){Ar(i,r,o,a,s,"next",u)}function s(u){Ar(i,r,o,a,s,"throw",u)}a(void 0)})}}var Ir=function(){};function ys(e,t){var n,r,o,i=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||Ir,c=t.onPause||Ir;function d(g){clearInterval(n);var x=i.splice(0,a);return x.length&&e(x,i),i.length?g?d():p():(o=!1,u(i))}function p(){o=!0,n=setInterval(d,s)}return i.length&&p(),{flush:function(g){d(g)},resume:d,push:function(g){return(r=i.push(g))>=a&&!t.throttle&&d(),o||p(),r},size:function(){return i.length},pause:function(g){g&&d(),clearInterval(n),o=!1,c(i)}}}var ht="sessionStorage";lt.bind(null,ht);var vs=pe(ht,"getItem",de),bs=pe(ht,"setItem",le);pe(ht,"removeItem",Ie);var et="__",mt="session",Eo=et+mt,Po="page",kr=["id","createdAt","created"];function Kt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function To(){var e=Kt(),t=e[0],n=e[1];return{id:Ae(),created:n,createdAt:t}}var ws={session:[vs,bs],page:[de,le]};function yt(e,t){for(var n=ws[e],r=n[0],o=n[1],i=To(),a=!1,s={},u=0;u<kr.length;u++){var c=kr[u],d=et+e+et+mt+et+c,p=r(d);a=t||!p,(t||!t&&!p)&&o(d,i[c]);var g=p&&!t?p:i[c],x=c!=="created"?g:Number(g);s[c]=x}return wn(s,a)}function wn(e,t){var n=Date.now();return e.elapsed=n-e.created,e.expires&&(e.remaining=Math.max(e.expires-n,0),e.isExpired=e.remaining===0),e.isNew=t,e}function He(e,t){e===void 0&&(e=30);var n=dn(Eo),r=n?JSON.parse(n):it(e);return t?r:wn(r,!n)}function it(e,t,n){e===void 0&&(e=30);var r=n?He(e,!0):To(),o=60*e,i=r.created;if(n){var a=Kt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,i=u}var c=Kt(i+1e3*o),d=c[0];return r.expires=c[1],r.expiresAt=d,r.duration=1e3*o,t&&(r=Object.assign(r,t)),ho(Eo,JSON.stringify(r),o),wn(r,!n)}var xs=function(e,t){return it(e,t,!0)},No=yt.bind(null,mt),Os=yt.bind(null,mt,!0),xn=yt.bind(null,Po),jr=yt.bind(null,Po,!0),Se=typeof window<"u";function Ss(e){return typeof e=="string"}function Er(e){return typeof e=="boolean"}var It,Pr;function As(){if(Pr)return It;Pr=1;var e=function(f){return t(f)&&!n(f)};function t(f){return!!f&&typeof f=="object"}function n(f){var w=Object.prototype.toString.call(f);return w==="[object RegExp]"||w==="[object Date]"||i(f)}var r=typeof Symbol=="function"&&Symbol.for,o=r?Symbol.for("react.element"):60103;function i(f){return f.$$typeof===o}function a(f){return Array.isArray(f)?[]:{}}function s(f,w){return w.clone!==!1&&w.isMergeableObject(f)?A(a(f),f,w):f}function u(f,w,j){return f.concat(w).map(function(S){return s(S,j)})}function c(f,w){if(!w.customMerge)return A;var j=w.customMerge(f);return typeof j=="function"?j:A}function d(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(w){return Object.propertyIsEnumerable.call(f,w)}):[]}function p(f){return Object.keys(f).concat(d(f))}function g(f,w){try{return w in f}catch{return!1}}function x(f,w){return g(f,w)&&!(Object.hasOwnProperty.call(f,w)&&Object.propertyIsEnumerable.call(f,w))}function y(f,w,j){var S={};return j.isMergeableObject(f)&&p(f).forEach(function(E){S[E]=s(f[E],j)}),p(w).forEach(function(E){x(f,E)||(g(f,E)&&j.isMergeableObject(w[E])?S[E]=c(E,j)(f[E],w[E],j):S[E]=s(w[E],j))}),S}function A(f,w,j){j=j||{},j.arrayMerge=j.arrayMerge||u,j.isMergeableObject=j.isMergeableObject||e,j.cloneUnlessOtherwiseSpecified=s;var S=Array.isArray(w),E=Array.isArray(f),P=S===E;return P?S?j.arrayMerge(f,w,j):y(f,w,j):s(w,j)}A.all=function(f,w){if(!Array.isArray(f))throw new Error("first argument should be an array");return f.reduce(function(j,S){return A(j,S,w)},{})};var v=A;return It=v,It}var Is=As(),ks=Oo(Is);var Ft=new TextEncoder,js={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},Es=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Gt=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:o,region:i,cache:a,retries:s,initRetryMs:u}){if(t==null)throw new TypeError("accessKeyId is a required option");if(n==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=r,this.service=o,this.region=i,this.cache=a||new Map,this.retries=s??10,this.initRetryMs=u||50}async sign(t,n){if(t instanceof Request){let{method:i,url:a,headers:s,body:u}=t;n=Object.assign({method:i,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=u!=null&&s.has("X-Amz-Content-Sha256")?u:await t.clone().arrayBuffer()),t=a}let r=new Jt(Object.assign({url:t.toString()},n,this,n&&n.aws)),o=Object.assign({},n,await r.sign());delete o.aws;try{return new Request(o.url.toString(),o)}catch(i){if(i instanceof TypeError)return new Request(o.url.toString(),Object.assign({duplex:"half"},o));throw i}}async fetch(t,n){for(let r=0;r<=this.retries;r++){let o=fetch(await this.sign(t,n));if(r===this.retries)return o;let i=await o;if(i.status<500&&i.status!==429)return i;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,r)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},Jt=class{constructor({method:t,url:n,headers:r,body:o,accessKeyId:i,secretAccessKey:a,sessionToken:s,service:u,region:c,cache:d,datetime:p,signQuery:g,appendSessionToken:x,allHeaders:y,singleEncode:A}){if(n==null)throw new TypeError("url is a required option");if(i==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=t||(o?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(r||{}),this.body=o,this.accessKeyId=i,this.secretAccessKey=a,this.sessionToken=s;let v,f;(!u||!c)&&([v,f]=Ps(this.url,this.headers)),this.service=u||v||"",this.region=c||f||"us-east-1",this.cache=d||new Map,this.datetime=p||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=g,this.appendSessionToken=x||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let w=this.signQuery?this.url.searchParams:this.headers;if(w.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&w.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(S=>y||!Es.has(S)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(S=>S+":"+(S==="host"?this.url.host:(this.headers.get(S)||"").replace(/\s+/g," "))).join(`
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import i from"./HAUOB7H3.js";import g from"./HZ3XYDCO.js";import e from"./Q2ZQ2IC7.js";import a from"./YBYKYXVG.js";import{a as I,c as b}from"./Z4TXATS4.js";import{b as u}from"./JG7WE5VY.js";import"./7WCO6UHS.js";import"./YSHTOQ6Z.js";import"./ATEIJZEP.js";import"./DG3NCHON.js";import"./YGU5ONQK.js";import"./5UQQ2RDV.js";import"./CC2LNAHG.js";import"./GUCS3IQJ.js";import"./6U7GCOZ5.js";import"./MWENB3XH.js";import"./PYJ724PJ.js";import"./TA35OO54.js";import"./56UNA6ID.js";import"./RUCBQVDF.js";import"./CI66WKOX.js";import"./PQVTEZTM.js";import"./QDQJTLHQ.js";import"./7POFPYPL.js";import"./NU4UFWQN.js";import"./ZG5775EA.js";import{k as w,l as v,o as x,p as h,q as T}from"./Z6Z36OMO.js";import{a as f}from"./2SWWWDL6.js";import"./2HHL5GDO.js";import"./HZPUJDQL.js";import{b as C}from"./EI7LNKKF.js";import{E as S,h as _,i as d,j as y,o as c}from"./RQB6F4ZT.js";import"./FXUBY7ZI.js";export default $arcgis.t(([,{c:A},p,F])=>{var O=_`/** @license
|
5
|
+
* Copyright 2025 Esri
|
6
|
+
*
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
+
* you may not use this file except in compliance with the License.
|
9
|
+
* You may obtain a copy of the License at
|
10
|
+
*
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
*
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
* See the License for the specific language governing permissions and
|
17
|
+
* limitations under the License.
|
18
|
+
*/calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,g=class extends S{constructor(){super(),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="relevance",this.cards=[],this._translations=f({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${h} OR ${T}`,this._allCards=[],this._authContextConsumer=u({context:b,subscribe:!0}),this._baseAgoTerms=h,this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this._userSessionContextConsumer=u({context:I,subscribe:!0}),this.cardsFetched=c(),this.allCardsFetched=c(),this.listenOn(window,"deployProgressEnd",this._loadUpdateProcedures),this.listenOn(window,"solutionDeleted",this._loadUpdateProcedures)}static{this.properties={agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,cards:16,_translations:16}}static{this.styles=O}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&this._textSearch(e.searchTerm),"sortType"in e&&this._sortCards(e))}async load(){await this._loadUpdateProcedures()}render(){return d`<calcite-panel class="background-override"><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>d`<solution-details-card .card=${e}></solution-details-card>`):d`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,n)=>a.categories.includes(s)&&!n.categories.includes(s)?-1:!a.categories.includes(s)&&n.categories.includes(s)?1:a.categories.includes(s)&&n.categories.includes(s)?a.categories.length-n.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of t){let r=s.get(i.deployCommonId),l=Number(i.deployVersion);(!r||l>r)&&s.set(i.deployCommonId,l)}let a=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),n=new Set(a.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!n.has(i))),t.sort((i,r)=>{let l=this._relatedSolutions.has(i.deployCommonId),m=this._relatedSolutions.has(r.deployCommonId);return l&&!m?-1:!l&&m?1:0})}let o=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,n=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;return this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":n?"updated":i&&r?"deployed":"none",s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=A(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),o}async _loadUpdateProcedures(){this._cardsFetcher=new p(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new p(this.locale,this.orgUrl,this.portalUrl),await this._getDeployedSolutions(),this.cards=await this._getSolutions(),this.allCardsFetched.emit(this.cards)}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t){let o=await F(e,t,this._cardsFetcher,this._cardsFetcherDeployed,x,"created");o&&(this._deployedSolutions=o)}}_getSolutionsBriefcase(){return d`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${y`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let o=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(e){return v[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}};C("solutions-all-panel",g);return g},a,e,g,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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as d}from"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{b as d}from"./EI7LNKKF.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./RQB6F4ZT.js";import"./FXUBY7ZI.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import e from"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import e from"./5H5VNAXA.js";import c from"./PF35JCH7.js";import"./VKTYC5RV.js";import b from"./ZNRHJ2RK.js";import"./AXIZYYOD.js";import{b as o}from"./VM2ZXL7L.js";import"./HZPUJDQL.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./RQB6F4ZT.js";import"./FXUBY7ZI.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{a as o}from"./55LKJ2ER.js";import{d as r}from"./RUCBQVDF.js";import"./7POFPYPL.js";import"./NU4UFWQN.js";import{a as s}from"./LA5337YO.js";import"./ALVRVNPS.js";import"./N2STUL4S.js";import"./E7VUQI3W.js";import"./5YPAOQZ6.js";import"./BJ5ZJE23.js";import"./XRZSNVB5.js";import"./ZG5775EA.js";import"./FNL2JJQX.js";import"./HJW6V57X.js";import"./5JGZBRBO.js";import"./J753SYSS.js";import"./DA7EQQQU.js";import"./2ZGO34ET.js";import"./XYPES4NY.js";import"./4JSDFSS5.js";import"./MO6MKYJW.js";import"./5AQUM4X3.js";import"./PA4DS7UD.js";import"./UNYTEEQV.js";import"./R66SCXZQ.js";import"./ZMAVDEDI.js";import"./PO2ONXW6.js";import"./FXUBY7ZI.js";var p=async(e,l,t)=>({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:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{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.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{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.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import"./FXUBY7ZI.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./E7VUQI3W.js";import{a as t,b as e}from"./5YPAOQZ6.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./ZMAVDEDI.js";import"./FXUBY7ZI.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import"./FXUBY7ZI.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./MYHIWH5I.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import"./FXUBY7ZI.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{a,b}from"./2ZGO34ET.js";import"./ZMAVDEDI.js";import"./FXUBY7ZI.js";export{a as GroupEditorTypes,b as GroupSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as G}from"./IVYZCEOK.js";import{a as L}from"./6JHAGIGY.js";import{c as K,d as _,e as U}from"./RLPBI3FM.js";import{l as j,p as P}from"./OC42FDOJ.js";import"./WEJZMSBP.js";import"./QCYE43LA.js";import"./XFXQJODU.js";import"./QSVVVRGK.js";import"./4FXJXLF3.js";import{a as S}from"./2FPOATKA.js";import"./NMJGXHJ5.js";import"./SP6MBBO5.js";import"./Q35FCICJ.js";import"./VJ26REKL.js";import{w}from"./NXSAOV4D.js";import"./N4TGQB52.js";import"./P6QWU3HN.js";import"./V4T2ETXO.js";import"./4BHQRR43.js";import{b as A}from"./UXZHHHLG.js";import{a as c,b as p}from"./XCVUU4D2.js";import"./PD62IC7W.js";import"./MYHIWH5I.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.1.0-next.20250919 */
|
4
|
+
import{a as G}from"./YSHTOQ6Z.js";import{a as L}from"./HEA4GVJW.js";import{c as K,d as _,e as U}from"./V3ZOI4XV.js";import{l as j,p as P}from"./YGU5ONQK.js";import"./EIBMPHPY.js";import"./5UQQ2RDV.js";import"./5NIHP2K2.js";import"./6U7GCOZ5.js";import"./MWENB3XH.js";import{a as S}from"./PYJ724PJ.js";import"./TA35OO54.js";import"./4U5X6NU6.js";import"./56UNA6ID.js";import"./RUCBQVDF.js";import{w}from"./CI66WKOX.js";import"./PQVTEZTM.js";import"./QDQJTLHQ.js";import"./7POFPYPL.js";import"./NU4UFWQN.js";import{b as A}from"./N2STUL4S.js";import{a as c,b as p}from"./5YPAOQZ6.js";import"./ZG5775EA.js";import"./FXUBY7ZI.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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as p}from"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{b as p}from"./VM2ZXL7L.js";import{E as a,h as i,i as n,r}from"./RQB6F4ZT.js";import"./FXUBY7ZI.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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as O,c as R,d as g,e as u}from"./
|
3
|
+
v1.1.0-next.20250919 */
|
4
|
+
import{a as O,c as R,d as g,e as u}from"./QGBTVRJY.js";import"./YIJU3CFJ.js";import{a}from"./25RSKNFE.js";import"./SN3TXCGK.js";import{b as s,d as o,e as c}from"./EIBMPHPY.js";import"./5UQQ2RDV.js";import"./5NIHP2K2.js";import"./6U7GCOZ5.js";import"./MWENB3XH.js";import"./PYJ724PJ.js";import"./TA35OO54.js";import"./RUCBQVDF.js";import"./CI66WKOX.js";import"./PQVTEZTM.js";import"./7POFPYPL.js";import"./NU4UFWQN.js";import{c as r}from"./ZG5775EA.js";import"./FXUBY7ZI.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
|