@esri/solutions-components 1.2.0-next.17 → 1.2.0-next.18
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/{5ZHHMGZZ.js → 2AZSGVAF.js} +2 -2
- package/dist/cdn/{P4M32O5E.js → 2BJQZQDS.js} +2 -2
- package/dist/cdn/{DW4CLX73.js → 2HTLKBJF.js} +2 -2
- package/dist/cdn/{3X5REHMK.js → 2HWWZUJ6.js} +1 -1
- package/dist/cdn/{7KHRLY2A.js → 2IS67BV5.js} +1 -1
- package/dist/cdn/2PANTSCO.js +4 -0
- package/dist/cdn/{I7OHX6PO.js → 2RQ7ABYQ.js} +2 -2
- package/dist/cdn/{SVB3MCB4.js → 2RSIGGBK.js} +1 -1
- package/dist/cdn/{Z2GLYFWZ.js → 2TOLBZLK.js} +2 -2
- package/dist/cdn/{B3FLSEYU.js → 2UKGBQ3D.js} +2 -2
- package/dist/cdn/{YOKTAT5E.js → 2UQ4DMB6.js} +2 -2
- package/dist/cdn/2VWLMU6P.js +4 -0
- package/dist/cdn/{62Q3SLA3.js → 335EEDS2.js} +2 -2
- package/dist/cdn/{GCBBUA7Q.js → 344U36HQ.js} +2 -2
- package/dist/cdn/{HA7MAWXP.js → 34THQS2Y.js} +2 -2
- package/dist/cdn/{2KGZQDH2.js → 36OQVA4Y.js} +1 -1
- package/dist/cdn/{2FBUYJCK.js → 37JPSHAS.js} +2 -2
- package/dist/cdn/{TCWOZOHF.js → 3C7XY7JZ.js} +2 -2
- package/dist/cdn/{ZBTANS7G.js → 3FQLOXBR.js} +2 -2
- package/dist/cdn/{CGEEY2O4.js → 3JWRLQWB.js} +2 -2
- package/dist/cdn/{KSY6OHNW.js → 3JZYRTNL.js} +2 -2
- package/dist/cdn/{42SJEHYX.js → 3K43WB3E.js} +2 -2
- package/dist/cdn/{Z5Y5RWJT.js → 3L6SKAWC.js} +2 -2
- package/dist/cdn/{Y2Z2DTEP.js → 3OSAGYUU.js} +2 -2
- package/dist/cdn/{W2EG7GOY.js → 3RKBQ6TF.js} +2 -2
- package/dist/cdn/{FKVAAIA2.js → 3UZ47UMG.js} +2 -2
- package/dist/cdn/{6VIADVHK.js → 3WEHXGE6.js} +2 -2
- package/dist/cdn/{JMREX3S5.js → 3ZXNVGWA.js} +2 -2
- package/dist/cdn/{5MVZZM6V.js → 44NSVFKY.js} +2 -2
- package/dist/cdn/{QX7NTJMT.js → 47BDU5QQ.js} +2 -2
- package/dist/cdn/{IKVBCRGA.js → 4GPQPGQN.js} +1 -1
- package/dist/cdn/{2PRRHM2Y.js → 4LNHJLGD.js} +2 -2
- package/dist/cdn/{SU2J5HZD.js → 4MLIZNFM.js} +1 -1
- package/dist/cdn/{UI7GBBEG.js → 4MXZZVRY.js} +2 -2
- package/dist/cdn/{ZWGSLBDU.js → 4NPL5CCL.js} +2 -2
- package/dist/cdn/{P4TVQ6HZ.js → 4OOR24BG.js} +2 -2
- package/dist/cdn/{QJA5DJYL.js → 4ZAEFJET.js} +2 -2
- package/dist/cdn/{EX4NPQG4.js → 5EV5EON6.js} +2 -2
- package/dist/cdn/{34SXZTS2.js → 5G2LT64X.js} +2 -2
- package/dist/cdn/{EYZYTDPR.js → 5KXODXYU.js} +2 -2
- package/dist/cdn/{C43ZM6C5.js → 5LWYHIHX.js} +2 -2
- package/dist/cdn/{MHUOZK4R.js → 5NA4WDWQ.js} +2 -2
- package/dist/cdn/{MESHJKW3.js → 5RXC2UWY.js} +1 -1
- package/dist/cdn/{HBH6H2OI.js → 5VMXTLSX.js} +2 -2
- package/dist/cdn/{CMVISKR5.js → 5XCKQDXQ.js} +2 -2
- package/dist/cdn/{E7NO6EZ6.js → 66AEEYRC.js} +1 -1
- package/dist/cdn/{TZL4KAXW.js → 6DMN3UAX.js} +2 -2
- package/dist/cdn/{Y3OMISYU.js → 6IW535FZ.js} +2 -2
- package/dist/cdn/{3Y77NKTJ.js → 6LIWYTI3.js} +2 -2
- package/dist/cdn/{SQQCS6W7.js → 6LWKT2NF.js} +2 -2
- package/dist/cdn/{NG7G3CC5.js → 6Q4O4SRM.js} +2 -2
- package/dist/cdn/{H6QSE5GL.js → 6QOGIQ3D.js} +1 -1
- package/dist/cdn/{2HCRUNSQ.js → 6SFBTMCG.js} +2 -2
- package/dist/cdn/{PN22WD6L.js → 6SK7JVUJ.js} +2 -2
- package/dist/cdn/{OFXIZNWO.js → 6U4R5SRU.js} +2 -2
- package/dist/cdn/{DMV6IORF.js → 727AITVS.js} +2 -2
- package/dist/cdn/{K5IVCB5B.js → 73KVP23D.js} +2 -2
- package/dist/cdn/{EUNIFQ72.js → 74VQPMLL.js} +2 -2
- package/dist/cdn/{Z7GSRTZU.js → 75KG6F23.js} +2 -2
- package/dist/cdn/{FH57VOJA.js → 76L32TUJ.js} +2 -2
- package/dist/cdn/{GDN4X6TO.js → 76X2PLPU.js} +2 -2
- package/dist/cdn/{3CU2JBY7.js → 7BZCK4ZO.js} +2 -2
- package/dist/cdn/{ZHFEO5HT.js → 7CGB656V.js} +2 -2
- package/dist/cdn/{ARKITXRN.js → 7EI6HAYQ.js} +1 -1
- package/dist/cdn/{FOPTUCYJ.js → 7K3CNHWR.js} +2 -2
- package/dist/cdn/{GRK5SXGG.js → 7KLNMM3S.js} +2 -2
- package/dist/cdn/{A4GTRWDC.js → 7NMS7NYL.js} +1 -1
- package/dist/cdn/{UECWXQLL.js → 7SLLNDRB.js} +2 -2
- package/dist/cdn/{VU3X4U7U.js → A56T26YX.js} +2 -2
- package/dist/cdn/{EGXMVFW7.js → AGB33KKS.js} +2 -2
- package/dist/cdn/{WG4H4RU4.js → AJGQJRWA.js} +2 -2
- package/dist/cdn/{WGFEQGBZ.js → AJMKM6NE.js} +2 -2
- package/dist/cdn/{JGLCZAUL.js → AO44NM6X.js} +2 -2
- package/dist/cdn/{BAIIGCU2.js → AOGXABR4.js} +2 -2
- package/dist/cdn/{ITMUWA35.js → AOQWAQH2.js} +1 -1
- package/dist/cdn/{UO36ASRK.js → AURWDTB5.js} +2 -2
- package/dist/cdn/{MBPWNRYN.js → AYJXUJ2I.js} +1 -1
- package/dist/cdn/{4SL2RRGS.js → B4EWKGZN.js} +2 -2
- package/dist/cdn/{WI5MHDVM.js → B4GC6P3C.js} +2 -2
- package/dist/cdn/{JW24MNHZ.js → B6L4YJJL.js} +2 -2
- package/dist/cdn/{TXDJ6LWQ.js → BAHOMXRS.js} +2 -2
- package/dist/cdn/{SDH326NI.js → BFT6BOOK.js} +2 -2
- package/dist/cdn/{UTROK7UB.js → BGTI2K4E.js} +2 -2
- package/dist/cdn/{KS63246P.js → BOGQTKAN.js} +2 -2
- package/dist/cdn/BPOFWV6A.js +4 -0
- package/dist/cdn/{Y2NQJ6HP.js → BR3DYJKN.js} +2 -2
- package/dist/cdn/{VXEWSLGI.js → BRY2Y4EC.js} +1 -1
- package/dist/cdn/{66PDPDVE.js → BS7GBGCU.js} +2 -2
- package/dist/cdn/{DBWRMI5E.js → BXNWJ3PB.js} +2 -2
- package/dist/cdn/{Y4KAUYJU.js → C3BOTKL3.js} +2 -2
- package/dist/cdn/{OCVSZQ7H.js → CECLSYHO.js} +2 -2
- package/dist/cdn/{HMMBGUGZ.js → CIV544KV.js} +2 -2
- package/dist/cdn/{TX3BH26Y.js → CJGEWPH7.js} +2 -2
- package/dist/cdn/{2GTHNFSE.js → CLEKCDAY.js} +2 -2
- package/dist/cdn/{VHQXOQJ2.js → CLHOJNVZ.js} +2 -2
- package/dist/cdn/{YFFW4WLZ.js → CLQGSLFP.js} +2 -2
- package/dist/cdn/{S32VNNZI.js → CMNRSLYN.js} +2 -2
- package/dist/cdn/{MNZ6BW4N.js → CMPAYAZB.js} +2 -2
- package/dist/cdn/{UQ25NGTK.js → CN4PHBV2.js} +2 -2
- package/dist/cdn/{7XVZ32CS.js → COHBNG2A.js} +2 -2
- package/dist/cdn/{4SHO6M7C.js → CRXUT23O.js} +1 -1
- package/dist/cdn/{Y3ZXSPOY.js → CUDOCXEY.js} +2 -2
- package/dist/cdn/{IBNEYOZG.js → D23MM6QC.js} +2 -2
- package/dist/cdn/{56UBDUWD.js → D64QIKPI.js} +2 -2
- package/dist/cdn/{B7VNWA2I.js → D66SSZXQ.js} +2 -2
- package/dist/cdn/{5GYSKDUA.js → D6MFOG3H.js} +2 -2
- package/dist/cdn/{DPJW2IPD.js → DCNQCIQY.js} +2 -2
- package/dist/cdn/{7WXT73B4.js → DG4ZHO45.js} +2 -2
- package/dist/cdn/{IRUZSWD7.js → DHI5AJ6F.js} +2 -2
- package/dist/cdn/{SG7HE54E.js → DHTPUGNQ.js} +2 -2
- package/dist/cdn/DHVP7AZK.js +4 -0
- package/dist/cdn/{MSFOOONQ.js → DIEZNUTE.js} +2 -2
- package/dist/cdn/{3RWM24EV.js → DIFYD4NS.js} +2 -2
- package/dist/cdn/{FKNPEEI6.js → DOMQ3WO4.js} +2 -2
- package/dist/cdn/{MS6Z2PL4.js → DP7PQ4DJ.js} +2 -2
- package/dist/cdn/{NXKGV7YT.js → DPDL6UZU.js} +2 -2
- package/dist/cdn/{3XSLDIV4.js → DVWTXRCL.js} +2 -2
- package/dist/cdn/{XRKVRBMI.js → EB7TEOU4.js} +2 -2
- package/dist/cdn/{LPMZ6LX4.js → EGTP4QDL.js} +2 -2
- package/dist/cdn/{WWXBVK5X.js → ERE3CLSB.js} +1 -1
- package/dist/cdn/{6GRTHDGT.js → ERST6PKB.js} +2 -2
- package/dist/cdn/{AL6RPFXD.js → EWWCCZSW.js} +2 -2
- package/dist/cdn/{IOM3DORP.js → EXY7PO6K.js} +2 -2
- package/dist/cdn/{5IYPCZW6.js → F47U3NDJ.js} +2 -2
- package/dist/cdn/{EOXVDL7W.js → F72LOXDR.js} +2 -2
- package/dist/cdn/{VTTOHDYS.js → FA3UMPAM.js} +2 -2
- package/dist/cdn/{GKVVEXGN.js → FD2NN7EC.js} +2 -2
- package/dist/cdn/{MY6N5CRA.js → FEKROEH2.js} +2 -2
- package/dist/cdn/{5YPQ4LZ3.js → FF2A7JNL.js} +2 -2
- package/dist/cdn/{TY4OPURB.js → FFNU5BX3.js} +2 -2
- package/dist/cdn/{7KKY5M2N.js → FHSTB5IS.js} +1 -1
- package/dist/cdn/{W4CXKC7H.js → FI4MPPVB.js} +2 -2
- package/dist/cdn/{RPLGE4VG.js → FNXLPN7E.js} +3 -3
- package/dist/cdn/{AB5UPFJB.js → G27T2OU6.js} +2 -2
- package/dist/cdn/G7O6PQQC.js +18 -0
- package/dist/cdn/{QO6QD2UA.js → GDYLDF7A.js} +2 -2
- package/dist/cdn/{X6L6A3RW.js → GF74K5WJ.js} +2 -2
- package/dist/cdn/{4QCS44Z3.js → GFJTHAWX.js} +2 -2
- package/dist/cdn/{4MSQLZ5Y.js → GJMICEJY.js} +2 -2
- package/dist/cdn/{6XU7WJNI.js → GJTUA3YE.js} +2 -2
- package/dist/cdn/{CSKXUBCU.js → GLG2K7L3.js} +2 -2
- package/dist/cdn/{KJWT64C2.js → GNYM4UB5.js} +4 -4
- package/dist/cdn/{X7YHISH3.js → GPOB3C3N.js} +2 -2
- package/dist/cdn/{I3QWGBYF.js → GQ4QWPK6.js} +2 -2
- package/dist/cdn/{X2XJ3W6P.js → GQNRPYJZ.js} +2 -2
- package/dist/cdn/{YCSIAOGC.js → GYMQI5IZ.js} +2 -2
- package/dist/cdn/{BVDZWF5S.js → GZSV26RT.js} +1 -1
- package/dist/cdn/{T3UGCYO3.js → GZU4VCZO.js} +2 -2
- package/dist/cdn/{3GRFO42O.js → HEYTRC7R.js} +2 -2
- package/dist/cdn/{2RZMEB72.js → HFHNUJ7C.js} +1 -1
- package/dist/cdn/{4ESEI5R4.js → HIJABCCI.js} +2 -2
- package/dist/cdn/{FHTNC2HR.js → HMMHACHH.js} +2 -2
- package/dist/cdn/{ABDJATA6.js → HNR7YRPS.js} +2 -2
- package/dist/cdn/{FJYEO22A.js → HNXOAHKU.js} +2 -2
- package/dist/cdn/{Y3XWT7FR.js → HQSSAV6L.js} +2 -2
- package/dist/cdn/{WE6RXE36.js → HXO5QO27.js} +2 -2
- package/dist/cdn/{B2HGNK4E.js → I6YG7HGG.js} +2 -2
- package/dist/cdn/{2LAHNZGS.js → I77T374J.js} +2 -2
- package/dist/cdn/{L5RDQLF7.js → IACZ7LEO.js} +2 -2
- package/dist/cdn/{CBYIZL6Z.js → IAKNKKA4.js} +2 -2
- package/dist/cdn/{BVJQTZWN.js → IAXS7CQU.js} +2 -2
- package/dist/cdn/{7S4FXSIR.js → ID6GZJDC.js} +2 -2
- package/dist/cdn/{DF52UEIX.js → IJ52GW3T.js} +2 -2
- package/dist/cdn/{H5KK4MYX.js → IKWUDQUK.js} +2 -2
- package/dist/cdn/IQ3QYJ7J.js +4 -0
- package/dist/cdn/{XZQVERDX.js → IQFJKEGU.js} +1 -1
- package/dist/cdn/{TF5CR6IC.js → IRKXGS5Y.js} +2 -2
- package/dist/cdn/{OMZIZMEP.js → ISBWHDFD.js} +2 -2
- package/dist/cdn/{NGDOV2K2.js → J4ALHSTM.js} +2 -2
- package/dist/cdn/{ONDC6J54.js → JD6BJZLG.js} +2 -2
- package/dist/cdn/{HVHBVKKQ.js → JLEFYSZX.js} +2 -2
- package/dist/cdn/{BQZLDBCM.js → JPVRJ6QM.js} +2 -2
- package/dist/cdn/{I3X55COD.js → JQMPJQ2S.js} +2 -2
- package/dist/cdn/{ZFKT7KHP.js → K5FP5BHH.js} +2 -2
- package/dist/cdn/{XLBD7W7N.js → K6BRMEJ4.js} +2 -2
- package/dist/cdn/{2Y2SG6DQ.js → KBZA2YIM.js} +2 -2
- package/dist/cdn/{TCI5WS23.js → KDYFOSCD.js} +2 -2
- package/dist/cdn/{2YU7LJ6B.js → KIA7HKQH.js} +2 -2
- package/dist/cdn/{XPUTXW3J.js → KIIJRF3Y.js} +2 -2
- package/dist/cdn/{OKIUNTWP.js → KIMRX6JB.js} +1 -1
- package/dist/cdn/{652RYQFN.js → KJRCDU4A.js} +2 -2
- package/dist/cdn/{JPMW6AZR.js → KLAPVGTP.js} +2 -2
- package/dist/cdn/{JY533DEK.js → KOBLZHQB.js} +2 -2
- package/dist/cdn/KOD5SAAY.js +18 -0
- package/dist/cdn/{BGW7ENSZ.js → KPS53SUR.js} +2 -2
- package/dist/cdn/{ALYHD6EZ.js → KZPIZJYS.js} +2 -2
- package/dist/cdn/{FB44TDEK.js → L3Q7U6KG.js} +2 -2
- package/dist/cdn/{RDUM35IY.js → LG36UBHE.js} +2 -2
- package/dist/cdn/{EQETDODC.js → LRFUMSIF.js} +2 -2
- package/dist/cdn/{KFZHE4FJ.js → LRZELIFV.js} +2 -2
- package/dist/cdn/{TJABFH4J.js → LTOFJYXH.js} +2 -2
- package/dist/cdn/{O5F2ZWVO.js → LTW3LX67.js} +2 -2
- package/dist/cdn/{DZB4RDAF.js → LUELY7JV.js} +2 -2
- package/dist/cdn/{AADEDLYT.js → LVVMCQNI.js} +2 -2
- package/dist/cdn/{WZH6KHYA.js → LVZ5VO6D.js} +1 -1
- package/dist/cdn/{2PJAQGID.js → LX72EG6Q.js} +2 -2
- package/dist/cdn/{4ARUZELT.js → M3F3DEUQ.js} +2 -2
- package/dist/cdn/{SGPCNWI6.js → M6IKYF3D.js} +2 -2
- package/dist/cdn/{DSDUBJ7H.js → M6XY46RZ.js} +2 -2
- package/dist/cdn/{2UXW5KO4.js → M7YRCUUM.js} +2 -2
- package/dist/cdn/{GR7VI3CO.js → MA6IIDKI.js} +1 -1
- package/dist/cdn/{IO7LHPOE.js → MIESJPCM.js} +2 -2
- package/dist/cdn/{QBPCCTWK.js → MJN43LIR.js} +2 -2
- package/dist/cdn/{USOOBDPS.js → MS5RGIW2.js} +2 -2
- package/dist/cdn/{3C47ORNV.js → NA745NQD.js} +2 -2
- package/dist/cdn/{QHTC5IWP.js → NBAOV5BE.js} +1 -1
- package/dist/cdn/{3LVCIFRL.js → NDLQNYFG.js} +2 -2
- package/dist/cdn/{SHB6H2AY.js → NHC2OEUX.js} +2 -2
- package/dist/cdn/{UA4EHWWN.js → NKHXT4TS.js} +2 -2
- package/dist/cdn/{3UH5436X.js → NOIHN6GC.js} +2 -2
- package/dist/cdn/{B4CKWQX4.js → NQPBPMSQ.js} +2 -2
- package/dist/cdn/{GITYOQSJ.js → NT3L3YNG.js} +2 -2
- package/dist/cdn/{MRFSLXLS.js → O24VQ3NC.js} +2 -2
- package/dist/cdn/O4JFTOMG.js +18 -0
- package/dist/cdn/{FRZ5GSSV.js → O7UHCVT7.js} +2 -2
- package/dist/cdn/{VXUOIWSG.js → OCPBV65P.js} +2 -2
- package/dist/cdn/{SVYOYRYN.js → OD7RALFW.js} +2 -2
- package/dist/cdn/{NOCVDMRB.js → ODDNPWKP.js} +2 -2
- package/dist/cdn/{ACALZ6GV.js → OPGICQN4.js} +2 -2
- package/dist/cdn/{D5NTX244.js → OPNCDPSG.js} +2 -2
- package/dist/cdn/{ABGL2HG3.js → P6N7QXDG.js} +2 -2
- package/dist/cdn/{NCVZKXNS.js → PADEPTJM.js} +2 -2
- package/dist/cdn/{XN4NZKWU.js → POLAD3Z4.js} +2 -2
- package/dist/cdn/{F2UORXTI.js → PPCCHTJQ.js} +2 -2
- package/dist/cdn/PPKS3JHJ.js +4 -0
- package/dist/cdn/{TSUACFNM.js → PXFQBOGT.js} +2 -2
- package/dist/cdn/{CIN5HZUI.js → Q2RKVVAF.js} +2 -2
- package/dist/cdn/{7H2RRDEL.js → Q5I2ZTEG.js} +2 -2
- package/dist/cdn/{ZZYYX62Y.js → QNJJJQHG.js} +1 -1
- package/dist/cdn/{2DTYDBXS.js → QR3EO6W4.js} +1 -1
- package/dist/cdn/{46C77Y5Z.js → QSYJ27OF.js} +2 -2
- package/dist/cdn/{DJ4IJPOT.js → QW3KGC6W.js} +2 -2
- package/dist/cdn/{DBE4WPUJ.js → QW5NAIQM.js} +1 -1
- package/dist/cdn/{NYPCINNZ.js → QWFP2WVG.js} +2 -2
- package/dist/cdn/{AJ4T6IK5.js → QXW2O3K2.js} +1 -1
- package/dist/cdn/{3WWKKDE4.js → QYISV7IM.js} +2 -2
- package/dist/cdn/{DBPMUME6.js → R24MTN4N.js} +2 -2
- package/dist/cdn/{4GDX4ZXE.js → R6E5HDXB.js} +2 -2
- package/dist/cdn/{QLLON6ES.js → RAEAEX6X.js} +2 -2
- package/dist/cdn/{MM6AI27P.js → RAUTX7HI.js} +1 -1
- package/dist/cdn/{AMHVEMHP.js → RC34STOK.js} +2 -2
- package/dist/cdn/{AUJEH7WT.js → RDZUI3Q4.js} +2 -2
- package/dist/cdn/{7FHFKLWA.js → RFLKPETF.js} +2 -2
- package/dist/cdn/{ATPO7XCC.js → RJQBRN7F.js} +2 -2
- package/dist/cdn/{D3XPGKZT.js → RLCIS2WQ.js} +2 -2
- package/dist/cdn/{QRY3L7AK.js → RMUFT4FE.js} +2 -2
- package/dist/cdn/{GT3QLTVG.js → RSBNC6LV.js} +2 -2
- package/dist/cdn/{BSTJYCIB.js → RSRKFHGR.js} +2 -2
- package/dist/cdn/{SJFT75LT.js → RSTBBFYB.js} +2 -2
- package/dist/cdn/{3FAMJ4OZ.js → RSXBQNEK.js} +1 -1
- package/dist/cdn/{5B5KYPTC.js → RTB3Q64P.js} +2 -2
- package/dist/cdn/{XZI4XMDG.js → SBIRMBVO.js} +2 -2
- package/dist/cdn/{WL4IX6VR.js → SDAF7OUP.js} +2 -2
- package/dist/cdn/{5I6K7NTD.js → SINKXJJB.js} +1 -1
- package/dist/cdn/{GRUWCAME.js → SLQFG2KY.js} +2 -2
- package/dist/cdn/{OOWXU7Q7.js → SM4C2ZHW.js} +1 -1
- package/dist/cdn/{DXNAVKBQ.js → SNVBNGNK.js} +2 -2
- package/dist/cdn/{SU3SZXNP.js → SPO4PZ6G.js} +2 -2
- package/dist/cdn/SXVLN3BW.js +18 -0
- package/dist/cdn/{B6VXPA2U.js → SYY42766.js} +2 -2
- package/dist/cdn/{OP2LHXOJ.js → T2BDDDGK.js} +2 -2
- package/dist/cdn/{JR337GLV.js → T4AEBJNN.js} +2 -2
- package/dist/cdn/{AG6F6HF7.js → T4M2BIVX.js} +2 -2
- package/dist/cdn/{VZD6APGK.js → TBLKARSH.js} +2 -2
- package/dist/cdn/{Z5KSW6MV.js → TGECUQG2.js} +2 -2
- package/dist/cdn/{RQO77UQI.js → TGPTISCS.js} +2 -2
- package/dist/cdn/{SQU6O5NM.js → TKAKYPX2.js} +2 -2
- package/dist/cdn/{6KQRVWTI.js → TLFAXSUO.js} +2 -2
- package/dist/cdn/{K22CUDDI.js → TNWZBEYF.js} +2 -2
- package/dist/cdn/{Q3JNHWRO.js → TUAX52WW.js} +2 -2
- package/dist/cdn/{J2TJO42Q.js → TVY42DMA.js} +2 -2
- package/dist/cdn/{HNB27GVR.js → TWAITYNQ.js} +1 -1
- package/dist/cdn/{QZGUP7S4.js → UBCSUCUI.js} +2 -2
- package/dist/cdn/{MSOYRSMG.js → UGZ4O4TO.js} +2 -2
- package/dist/cdn/{27BOBMXT.js → UIKSB7N3.js} +2 -2
- package/dist/cdn/{3T7DDHN7.js → UJ3NF4ZH.js} +2 -2
- package/dist/cdn/{GC652FKU.js → UJQY2GWK.js} +2 -2
- package/dist/cdn/{IFTHUL4R.js → ULHFOUZB.js} +2 -2
- package/dist/cdn/{PX2NC6RT.js → USTDT6WJ.js} +2 -2
- package/dist/cdn/{TCUI64QI.js → UZBGG5NO.js} +2 -2
- package/dist/cdn/{EURJJU52.js → V4FBITV6.js} +1 -1
- package/dist/cdn/{5HMNBLKG.js → V4OX5KXS.js} +2 -2
- package/dist/cdn/{YFQJV37X.js → V6DSXP7L.js} +2 -2
- package/dist/cdn/{XH24SHF6.js → V6GT3HO2.js} +2 -2
- package/dist/cdn/{RSHUZE2U.js → VBPXBPO4.js} +2 -2
- package/dist/cdn/{AP2AUIRH.js → VBVOOJ5G.js} +2 -2
- package/dist/cdn/{GCLSSW7P.js → VGOCCLQ2.js} +2 -2
- package/dist/cdn/{63Q66P6F.js → VIP5DMMF.js} +1 -1
- package/dist/cdn/{NXC6ZQGX.js → VKCXWASX.js} +2 -2
- package/dist/cdn/{PVBVVNKG.js → VMSWNUGP.js} +2 -2
- package/dist/cdn/{7PC34Q7O.js → VOEF4C62.js} +2 -2
- package/dist/cdn/{OLPGM6L7.js → VURMUJXX.js} +2 -2
- package/dist/cdn/{NYTRP5FO.js → VXS5JOJ2.js} +2 -2
- package/dist/cdn/VZUFP3G5.js +4 -0
- package/dist/cdn/{CZWVK5EA.js → W34TAZFZ.js} +2 -2
- package/dist/cdn/{QS5OSTSD.js → W5LN2GCV.js} +2 -2
- package/dist/cdn/{IOZQWPI7.js → WHAD4AEN.js} +2 -2
- package/dist/cdn/{KS5CANUK.js → WHPCBWKA.js} +2 -2
- package/dist/cdn/WLYCVDH7.js +4 -0
- package/dist/cdn/{3NEX5ORN.js → WNSEW5G4.js} +2 -2
- package/dist/cdn/{6VWDGFL6.js → WQ3JIIRM.js} +2 -2
- package/dist/cdn/{F7B4W6SN.js → WSMZP3J5.js} +2 -2
- package/dist/cdn/{J3E2BBAK.js → WWYRGPHM.js} +2 -2
- package/dist/cdn/{LSHA4FZB.js → WY6GMXAV.js} +3 -3
- package/dist/cdn/{O5DWH3SO.js → WZ4W4SAR.js} +2 -2
- package/dist/cdn/{Q53KK4EL.js → X6TPYZ6W.js} +2 -2
- package/dist/cdn/{J36FZHRF.js → XABI25AQ.js} +2 -2
- package/dist/cdn/{FDRRD62C.js → XBCKJYHX.js} +2 -2
- package/dist/cdn/{PFJ3SIGW.js → XCS3WFCN.js} +3 -3
- package/dist/cdn/{VYTFYRFY.js → XDZPKCRD.js} +2 -2
- package/dist/cdn/{DHYVTMIA.js → XH456J7G.js} +2 -2
- package/dist/cdn/{G6KP2QQM.js → XIAYTTCE.js} +2 -2
- package/dist/cdn/{XKUGZBQ5.js → XIG4YO5H.js} +2 -2
- package/dist/cdn/{GXRSIH57.js → XMARN6GC.js} +1 -1
- package/dist/cdn/{C327AQYW.js → XNPT5H6Z.js} +2 -2
- package/dist/cdn/{S7VEMRYS.js → XOWFU5MA.js} +2 -2
- package/dist/cdn/{EIU5YTO4.js → XPPBBD3E.js} +2 -2
- package/dist/cdn/{2EOGMSRN.js → XQPKIRQW.js} +2 -2
- package/dist/cdn/{FXSHLDPT.js → XSD4MT6K.js} +2 -2
- package/dist/cdn/{ZHNJ644N.js → XYWNMNDQ.js} +2 -2
- package/dist/cdn/{4LVGOINA.js → Y2YXHZZR.js} +2 -2
- package/dist/cdn/{SKT3KZVN.js → Y3SIQRL4.js} +2 -2
- package/dist/cdn/{SHBK62UO.js → YDWQASOW.js} +2 -2
- package/dist/cdn/{RSRX5ZSQ.js → YF32T3CN.js} +2 -2
- package/dist/cdn/{QFCX3LSO.js → YINV2FBP.js} +2 -2
- package/dist/cdn/{TYTKNIAO.js → YLRKYGCH.js} +2 -2
- package/dist/cdn/{NRMADILD.js → YLZDZOO7.js} +2 -2
- package/dist/cdn/{SG4AMZUD.js → YMIS5UNE.js} +2 -2
- package/dist/cdn/{IXZBLLNR.js → YOGZNZR5.js} +1 -1
- package/dist/cdn/{UUPQPUGK.js → YUYZ5LVI.js} +2 -2
- package/dist/cdn/{IUUVVBCD.js → YV2LERJZ.js} +2 -2
- package/dist/cdn/{CBV6OFST.js → YWPHDKCV.js} +2 -2
- package/dist/cdn/{QBE6BXGP.js → YX5FJ4YV.js} +1 -1
- package/dist/cdn/{2DHFQ4N2.js → YYN4ABFE.js} +2 -2
- package/dist/cdn/{3JURGZ5M.js → Z3HHWA4E.js} +2 -2
- package/dist/cdn/{BZARB46I.js → ZEO66QFT.js} +2 -2
- package/dist/cdn/{QSKPI3OM.js → ZETUROL6.js} +2 -2
- package/dist/cdn/{WM4MCBYB.js → ZH52A76X.js} +2 -2
- package/dist/cdn/{N4SCVSKX.js → ZI3URB4L.js} +1 -1
- package/dist/cdn/{JG34FC2D.js → ZOJQAWGR.js} +2 -2
- package/dist/cdn/{2VT6QFXD.js → ZSQRM3X7.js} +2 -2
- package/dist/cdn/{WFV4PGVA.js → ZWC66YSK.js} +2 -2
- package/dist/cdn/{7FWXRIU7.js → ZZIVECS4.js} +2 -2
- 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 +5 -5
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +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 +3 -1
- package/dist/components/solutions-all-panel/customElement.js +7 -4
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -1
- package/dist/components/solutions-deployed-panel/customElement.js +18 -15
- package/dist/components/solutions-deployed-shell/customElement.js +2 -2
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +9 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +10 -7
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +97 -1
- package/dist/docs/docs.json +89 -1
- package/dist/docs/vscode.html-custom-data.json +3 -3
- package/dist/docs/web-types.json +24 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -0
- package/dist/types/preact.d.ts +2 -0
- package/dist/types/preact10.d.ts +2 -0
- package/dist/types/react.d.ts +2 -0
- package/dist/types/stencil.d.ts +2 -0
- package/dist/utils/interfaces.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cdn/563I356Y.js +0 -18
- package/dist/cdn/6HJAZ3LW.js +0 -4
- package/dist/cdn/7GWOVTJO.js +0 -18
- package/dist/cdn/B6QGXXOB.js +0 -18
- package/dist/cdn/FCKFGJ6W.js +0 -4
- package/dist/cdn/GT6NYEHE.js +0 -4
- package/dist/cdn/HCSUTBKT.js +0 -4
- package/dist/cdn/I2D7I3KR.js +0 -4
- package/dist/cdn/K62GKZZ7.js +0 -4
- package/dist/cdn/NORSIRXT.js +0 -4
- package/dist/cdn/TPEAD2VE.js +0 -18
- package/dist/cdn/WV2CKOO7.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import a from"./GF74K5WJ.js";import{m as i,o as c}from"./TWAITYNQ.js";export default $arcgis.t(([{c:d}])=>{async function I(r,s,o,e,t=c,a="created",l="desc",u=!1,f=[],g=[],m){if(!r?.IsSignedIn)return;let n={q:t,filter:"type:Solution",sortField:a,sortOrder:l,delay:u,categories:f};return n.q+=p(r,m),await y(s,n,e,g)}function p(r,s){let o="",e=r.PortalUserOrg,t=r.PortalUserName;return e&&(o+=" orgid:"+e),s!==i.ORGANIZATION&&t&&(o+=" owner:"+t),o}async function y(r,s,o,e){let t=await o.requestDeployedSolutionCards(s,r),a=d(t.cards,e);return{cards:t.cards,relatedSolutions:a}}return I},a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as e}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{d as e}from"./LX72EG6Q.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as l}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as o}from"./RSBNC6LV.js";import{E as n,h as r,i as a,o as s}from"./CRXUT23O.js";import"./4GPQPGQN.js";var c=r`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as i}from"./V4OX5KXS.js";import{o as r}from"./QW3KGC6W.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as fe}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as ge}from"./GT3QLTVG.js";import{D as O,E as pe,G as de,I as q,h as ae,i as k,k as le,l as Z,o as oe,t as ce,u as he,v as ue}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var R=class extends ue{constructor(e){if(super(e),this.it=Z,e.type!==ce.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Z||e==null)return this._t=void 0,this.it=e;if(e===le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let s=[e];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};R.directiveName="unsafeHTML",R.resultType=1;var ke=he(R);var Ee=ae`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content p:first-child{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.height-32-flex-auto{height:32px;flex:0 0 auto}`;var Pe="https://www.arcgis.com/sharing/rest/content/items/";async function Me(n){return await Be(n)}async function Be(n){let e=Pe+n+"?f=json";try{let s=await fetch(e,{method:"GET"});if(!s.ok)throw new Error(`HTTP error! Status: ${s.status}`);return await s.json()}catch(s){return{error:s.message}}}function G(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var S=G();function ye(n){S=n}var z={exec:()=>null};function u(n,e=""){let s=typeof n=="string"?n:n.source,i={replace:(t,a)=>{let r=typeof a=="string"?a:a.source;return r=r.replace(x.caret,"$1"),s=s.replace(t,r),i},getRegex:()=>new RegExp(s,e)};return i}var x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Qe=/^(?:[ \t]*(?:\n|$))+/,De=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ne=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,C=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ze=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,W=/(?:[*+-]|\d{1,9}[.)])/,$e=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Se=u($e).replace(/bull/g,W).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Oe=u($e).replace(/bull/g,W).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),X=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,je=/^[^\n]+/,J=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Fe=u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",J).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),He=u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,W).getRegex(),B="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ue=u("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",K).replace("tag",B).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=u(X).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex(),Ge=u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),V={blockquote:Ge,code:De,def:Fe,fences:Ne,heading:Ze,hr:C,html:Ue,lheading:Se,list:He,newline:Qe,paragraph:_e,table:z,text:je},me=u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex(),We={...V,lheading:Oe,table:me,paragraph:u(X).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",me).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex()},Xe={...V,html:u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:z,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:u(X).replace("hr",C).replace("heading",` *#{1,6} *[^
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as fe}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as ge}from"./RSBNC6LV.js";import{D as O,E as pe,G as de,I as q,h as ae,i as k,k as le,l as Z,o as oe,t as ce,u as he,v as ue}from"./CRXUT23O.js";import"./4GPQPGQN.js";var R=class extends ue{constructor(e){if(super(e),this.it=Z,e.type!==ce.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Z||e==null)return this._t=void 0,this.it=e;if(e===le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let s=[e];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};R.directiveName="unsafeHTML",R.resultType=1;var ke=he(R);var Ee=ae`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content p:first-child{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.height-32-flex-auto{height:32px;flex:0 0 auto}`;var Pe="https://www.arcgis.com/sharing/rest/content/items/";async function Me(n){return await Be(n)}async function Be(n){let e=Pe+n+"?f=json";try{let s=await fetch(e,{method:"GET"});if(!s.ok)throw new Error(`HTTP error! Status: ${s.status}`);return await s.json()}catch(s){return{error:s.message}}}function G(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var S=G();function ye(n){S=n}var z={exec:()=>null};function u(n,e=""){let s=typeof n=="string"?n:n.source,i={replace:(t,a)=>{let r=typeof a=="string"?a:a.source;return r=r.replace(x.caret,"$1"),s=s.replace(t,r),i},getRegex:()=>new RegExp(s,e)};return i}var x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Qe=/^(?:[ \t]*(?:\n|$))+/,De=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ne=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,C=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ze=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,W=/(?:[*+-]|\d{1,9}[.)])/,$e=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Se=u($e).replace(/bull/g,W).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Oe=u($e).replace(/bull/g,W).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),X=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,je=/^[^\n]+/,J=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Fe=u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",J).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),He=u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,W).getRegex(),B="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ue=u("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",K).replace("tag",B).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=u(X).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex(),Ge=u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),V={blockquote:Ge,code:De,def:Fe,fences:Ne,heading:Ze,hr:C,html:Ue,lheading:Se,list:He,newline:Qe,paragraph:_e,table:z,text:je},me=u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex(),We={...V,lheading:Oe,table:me,paragraph:u(X).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",me).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B).getRegex()},Xe={...V,html:u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:z,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:u(X).replace("hr",C).replace("heading",` *#{1,6} *[^
|
|
5
5
|
]`).replace("lheading",Se).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Je=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ke=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Re=/^( {2,}|\\)\n(?!\s*$)/,Ve=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Q=/[\p{P}\p{S}]/u,Y=/[\s\p{P}\p{S}]/u,Te=/[^\s\p{P}\p{S}]/u,Ye=u(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Y).getRegex(),Ie=/(?!~)[\p{P}\p{S}]/u,et=/(?!~)[\s\p{P}\p{S}]/u,tt=/(?:[^\s\p{P}\p{S}]|~)/u,st=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,Ae=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,nt=u(Ae,"u").replace(/punct/g,Q).getRegex(),it=u(Ae,"u").replace(/punct/g,Ie).getRegex(),ze="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",rt=u(ze,"gu").replace(/notPunctSpace/g,Te).replace(/punctSpace/g,Y).replace(/punct/g,Q).getRegex(),at=u(ze,"gu").replace(/notPunctSpace/g,tt).replace(/punctSpace/g,et).replace(/punct/g,Ie).getRegex(),lt=u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Te).replace(/punctSpace/g,Y).replace(/punct/g,Q).getRegex(),ot=u(/\\(punct)/,"gu").replace(/punct/g,Q).getRegex(),ct=u(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ht=u(K).replace("(?:-->|$)","-->").getRegex(),ut=u("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ht).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),E=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,pt=u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",E).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ce=u(/^!?\[(label)\]\[(ref)\]/).replace("label",E).replace("ref",J).getRegex(),qe=u(/^!?\[(ref)\](?:\[\])?/).replace("ref",J).getRegex(),dt=u("reflink|nolink(?!\\()","g").replace("reflink",Ce).replace("nolink",qe).getRegex(),ee={_backpedal:z,anyPunctuation:ot,autolink:ct,blockSkip:st,br:Re,code:Ke,del:z,emStrongLDelim:nt,emStrongRDelimAst:rt,emStrongRDelimUnd:lt,escape:Je,link:pt,nolink:qe,punctuation:Ye,reflink:Ce,reflinkSearch:dt,tag:ut,text:Ve,url:z},gt={...ee,link:u(/^!?\[(label)\]\((.*?)\)/).replace("label",E).getRegex(),reflink:u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",E).getRegex()},j={...ee,emStrongRDelimAst:at,emStrongLDelim:it,url:u(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ft={...j,br:u(Re).replace("{2,}","*").getRegex(),text:u(j.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},L={normal:V,gfm:We,pedantic:Xe},T={normal:ee,gfm:j,breaks:ft,pedantic:gt},kt={"&":"&","<":"<",">":">",'"':""","'":"'"},xe=n=>kt[n];function w(n,e){if(e){if(x.escapeTest.test(n))return n.replace(x.escapeReplace,xe)}else if(x.escapeTestNoEncode.test(n))return n.replace(x.escapeReplaceNoEncode,xe);return n}function be(n){try{n=encodeURI(n).replace(x.percentDecode,"%")}catch{return null}return n}function we(n,e){let s=n.replace(x.findPipe,(a,r,l)=>{let o=!1,c=r;for(;--c>=0&&l[c]==="\\";)o=!o;return o?"|":" |"}),i=s.split(x.splitPipe),t=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),e)if(i.length>e)i.splice(e);else for(;i.length<e;)i.push("");for(;t<i.length;t++)i[t]=i[t].trim().replace(x.slashPipe,"|");return i}function I(n,e,s){let i=n.length;if(i===0)return"";let t=0;for(;t<i&&n.charAt(i-t-1)===e;)t++;return n.slice(0,i-t)}function mt(n,e){if(n.indexOf(e[1])===-1)return-1;let s=0;for(let i=0;i<n.length;i++)if(n[i]==="\\")i++;else if(n[i]===e[0])s++;else if(n[i]===e[1]&&(s--,s<0))return i;return s>0?-2:-1}function ve(n,e,s,i,t){let a=e.href,r=e.title||null,l=n[1].replace(t.other.outputLinkReplace,"$1");i.state.inLink=!0;let o={type:n[0].charAt(0)==="!"?"image":"link",raw:s,href:a,title:r,text:l,tokens:i.inlineTokens(l)};return i.state.inLink=!1,o}function xt(n,e,s){let i=n.match(s.other.indentCodeCompensation);if(i===null)return e;let t=i[1];return e.split(`
|
|
6
6
|
`).map(a=>{let r=a.match(s.other.beginningSpace);if(r===null)return a;let[l]=r;return l.length>=t.length?a.slice(t.length):a}).join(`
|
|
7
7
|
`)}var P=class{options;rules;lexer;constructor(n){this.options=n||S}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let s=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?s:I(s,`
|
|
@@ -60,4 +60,4 @@ ${n}</tr>
|
|
|
60
60
|
`}tablecell(n){let e=this.parser.parseInline(n.tokens),s=n.header?"th":"td";return(n.align?`<${s} align="${n.align}">`:`<${s}>`)+e+`</${s}>
|
|
61
61
|
`}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${w(n,!0)}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:e,tokens:s}){let i=this.parser.parseInline(s),t=be(n);if(t===null)return i;n=t;let a='<a href="'+n+'"';return e&&(a+=' title="'+w(e)+'"'),a+=">"+i+"</a>",a}image({href:n,title:e,text:s,tokens:i}){i&&(s=this.parser.parseInline(i,this.parser.textRenderer));let t=be(n);if(t===null)return w(s);n=t;let a=`<img src="${n}" alt="${s}"`;return e&&(a+=` title="${w(e)}"`),a+=">",a}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):"escaped"in n&&n.escaped?n.text:w(n.text)}},te=class{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}},y=class H{options;renderer;textRenderer;constructor(e){this.options=e||S,this.options.renderer=this.options.renderer||new M,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new te}static parse(e,s){return new H(s).parse(e)}static parseInline(e,s){return new H(s).parseInline(e)}parse(e,s=!0){let i="";for(let t=0;t<e.length;t++){let a=e[t];if(this.options.extensions?.renderers?.[a.type]){let l=a,o=this.options.extensions.renderers[l.type].call({parser:this},l);if(o!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(l.type)){i+=o||"";continue}}let r=a;switch(r.type){case"space":{i+=this.renderer.space(r);continue}case"hr":{i+=this.renderer.hr(r);continue}case"heading":{i+=this.renderer.heading(r);continue}case"code":{i+=this.renderer.code(r);continue}case"table":{i+=this.renderer.table(r);continue}case"blockquote":{i+=this.renderer.blockquote(r);continue}case"list":{i+=this.renderer.list(r);continue}case"html":{i+=this.renderer.html(r);continue}case"def":{i+=this.renderer.def(r);continue}case"paragraph":{i+=this.renderer.paragraph(r);continue}case"text":{let l=r,o=this.renderer.text(l);for(;t+1<e.length&&e[t+1].type==="text";)l=e[++t],o+=`
|
|
62
62
|
`+this.renderer.text(l);s?i+=this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):i+=o;continue}default:{let l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return i}parseInline(e,s=this.renderer){let i="";for(let t=0;t<e.length;t++){let a=e[t];if(this.options.extensions?.renderers?.[a.type]){let l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){i+=l||"";continue}}let r=a;switch(r.type){case"escape":{i+=s.text(r);break}case"html":{i+=s.html(r);break}case"link":{i+=s.link(r);break}case"image":{i+=s.image(r);break}case"strong":{i+=s.strong(r);break}case"em":{i+=s.em(r);break}case"codespan":{i+=s.codespan(r);break}case"br":{i+=s.br(r);break}case"del":{i+=s.del(r);break}case"text":{i+=s.text(r);break}default:{let l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return i}},A=class{options;block;constructor(n){this.options=n||S}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}emStrongMask(n){return n}provideLexer(){return this.block?v.lex:v.lexInline}provideParser(){return this.block?y.parse:y.parseInline}},bt=class{defaults=G();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=y;Renderer=M;TextRenderer=te;Lexer=v;Tokenizer=P;Hooks=A;constructor(...n){this.use(...n)}walkTokens(n,e){let s=[];for(let i of n)switch(s=s.concat(e.call(this,i)),i.type){case"table":{let t=i;for(let a of t.header)s=s.concat(this.walkTokens(a.tokens,e));for(let a of t.rows)for(let r of a)s=s.concat(this.walkTokens(r.tokens,e));break}case"list":{let t=i;s=s.concat(this.walkTokens(t.items,e));break}default:{let t=i;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(a=>{let r=t[a].flat(1/0);s=s.concat(this.walkTokens(r,e))}):t.tokens&&(s=s.concat(this.walkTokens(t.tokens,e)))}}return s}use(...n){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(s=>{let i={...s};if(i.async=this.defaults.async||i.async||!1,s.extensions&&(s.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){let a=e.renderers[t.name];a?e.renderers[t.name]=function(...r){let l=t.renderer.apply(this,r);return l===!1&&(l=a.apply(this,r)),l}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||t.level!=="block"&&t.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=e[t.level];a?a.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&(t.level==="block"?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:t.level==="inline"&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),i.extensions=e),s.renderer){let t=this.defaults.renderer||new M(this.defaults);for(let a in s.renderer){if(!(a in t))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let r=a,l=s.renderer[r],o=t[r];t[r]=(...c)=>{let h=l.apply(t,c);return h===!1&&(h=o.apply(t,c)),h||""}}i.renderer=t}if(s.tokenizer){let t=this.defaults.tokenizer||new P(this.defaults);for(let a in s.tokenizer){if(!(a in t))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let r=a,l=s.tokenizer[r],o=t[r];t[r]=(...c)=>{let h=l.apply(t,c);return h===!1&&(h=o.apply(t,c)),h}}i.tokenizer=t}if(s.hooks){let t=this.defaults.hooks||new A;for(let a in s.hooks){if(!(a in t))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let r=a,l=s.hooks[r],o=t[r];A.passThroughHooks.has(a)?t[r]=c=>{if(this.defaults.async&&A.passThroughHooksRespectAsync.has(a))return Promise.resolve(l.call(t,c)).then(g=>o.call(t,g));let h=l.call(t,c);return o.call(t,h)}:t[r]=(...c)=>{let h=l.apply(t,c);return h===!1&&(h=o.apply(t,c)),h}}i.hooks=t}if(s.walkTokens){let t=this.defaults.walkTokens,a=s.walkTokens;i.walkTokens=function(r){let l=[];return l.push(a.call(this,r)),t&&(l=l.concat(t.call(this,r))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,e){return v.lex(n,e??this.defaults)}parser(n,e){return y.parse(n,e??this.defaults)}parseMarkdown(n){return(e,s)=>{let i={...s},t={...this.defaults,...i},a=this.onError(!!t.silent,!!t.async);if(this.defaults.async===!0&&i.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));t.hooks&&(t.hooks.options=t,t.hooks.block=n);let r=t.hooks?t.hooks.provideLexer():n?v.lex:v.lexInline,l=t.hooks?t.hooks.provideParser():n?y.parse:y.parseInline;if(t.async)return Promise.resolve(t.hooks?t.hooks.preprocess(e):e).then(o=>r(o,t)).then(o=>t.hooks?t.hooks.processAllTokens(o):o).then(o=>t.walkTokens?Promise.all(this.walkTokens(o,t.walkTokens)).then(()=>o):o).then(o=>l(o,t)).then(o=>t.hooks?t.hooks.postprocess(o):o).catch(a);try{t.hooks&&(e=t.hooks.preprocess(e));let o=r(e,t);t.hooks&&(o=t.hooks.processAllTokens(o)),t.walkTokens&&this.walkTokens(o,t.walkTokens);let c=l(o,t);return t.hooks&&(c=t.hooks.postprocess(c)),c}catch(o){return a(o)}}}onError(n,e){return s=>{if(s.message+=`
|
|
63
|
-
Please report this to https://github.com/markedjs/marked.`,n){let i="<p>An error occurred:</p><pre>"+w(s.message+"",!0)+"</pre>";return e?Promise.resolve(i):i}if(e)return Promise.reject(s);throw s}}},$=new bt;function p(n,e){return $.parse(n,e)}p.options=p.setOptions=function(n){return $.setOptions(n),p.defaults=$.defaults,ye(p.defaults),p};p.getDefaults=G;p.defaults=S;p.use=function(...n){return $.use(...n),p.defaults=$.defaults,ye(p.defaults),p};p.walkTokens=function(n,e){return $.walkTokens(n,e)};p.parseInline=$.parseInline;p.Parser=y;p.parser=y.parse;p.Renderer=M;p.TextRenderer=te;p.Lexer=v;p.lexer=v.lex;p.Tokenizer=P;p.Hooks=A;p.parse=p;p.options;p.setOptions;p.use;p.walkTokens;p.parseInline;y.parse;v.lex;var U=class extends pe{constructor(){super(),this.serverRoot="https://aiservices-beta.arcgis.com/",this.solutionAIurl=`${this.serverRoot}skills/solution_deployment/chat`,this.docAIurl=`${this.serverRoot}skills/doc_ai_assistant/chat`,this.token=null,this.open=!1,this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._translations=fe({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=oe(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_translations:16}}static{this.styles=Ee}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let s={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(s.conversationId=this.conversationStore.conversationId,this.token){let i={author:"human",conversationId:this.conversationStore.conversationId?this.conversationStore.conversationId:"",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,i];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.loopRequest(t,this.token,this.solutionAIurl)}}else if(this.token){let i={author:"human",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,i];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.conversationStore.conversationId=t.conversationId,this.conversationStore.inquiryId=t.inquiryId,this.conversationStore.ackSequenceNumber=t.sequenceNumber,this.loopRequest(t,this.token,this.solutionAIurl)}}async loopRequest(e,s,i){let t=e;for(this._isLoading=!0;t.hasMore;){let a={conversationId:t.conversationId,ackSequenceNumber:t.sequenceNumber,inquiryId:t.inquiryId};if(t=await this.requestAIServer(a,s,i),t.context)if(this.conversationStore.context=t.context,t.context.intent)switch(t.context.intent){case"Solution question":this.messages.push({author:"ai",conversationId:t.conversationId,intent:"Solution question",message:t.message??""});let r={message:t.message,conversationId:a.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};t=await this.requestAIServer(r,s,this.docAIurl);break;case"Recommend solution":if(t.context.results&&t.context.results?.length>0){let l={author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Recommend solution",render:this._renderSuggestedSolutions(t.message??"",t.context.results,t.conversationId,"Recommend solution")};this.messages.push(l)}break;default:this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Other")});break}else if(t.context.results){for(let r of t.context.results)if(r.reply!==""){this._isLoadingText="";let l=await Promise.resolve(p(r.reply));this.messages.push({message:l,author:"ai",conversationId:t.conversationId,intent:"Solution question",render:this._renderDocAssistantResults(l,r.ref,r.followupQuestions,t.conversationId,"Solution question")})}}else{t.context.kind&&t.context.kind==="ArcGISErrorAsContext"?this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Error",render:this._renderSimpleTextMessage(this._translations.genericErrorMessage,"ai",t.conversationId,"Error")}):this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Error")});break}}this._isLoading=!1}async requestAIServer(e,s,i){try{let t=await(await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",token:s},body:JSON.stringify(e)})).json();if(t)return t;throw new Error("No data returned")}catch(t){throw new Error(`Request failed: ${t}`)}}resetChat(){let e=this.messages[this.messages.length-1];if(e.author!=="system"&&e.conversationId!=="-1"){this._resetConversation();let s={author:"system",conversationId:"-1",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system","","Other","speech-bubble-plus")};this.messages=[...this.messages,s],this._inputRef&&(this._inputRef.value="")}}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",conversationId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai","","Other")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderFeedback(e,s,i,t){return k`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Good",i,t)}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Bad",i,t)}}></calcite-button></div>`}_renderSolutionQuestionReferences(e){return e.map(s=>k`<div class="message-content-pad"><a href=${s.url??q} target=_blank>${s.title}</a></div>`)}_renderSolutionQuestionFollowup(e){return e.map(s=>k`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${()=>{this._submitFollowupQuestion(s)}}>${s}</calcite-chip>`)}_renderSolutionsQuestionTable(e,s,i){let t=this._renderSolutionQuestionReferences(s),a=this._renderSolutionQuestionFollowup(i);return k`<div><div slot=description class="message-content">${ke(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${r=>{let l=r.currentTarget.parentElement?.nextElementSibling;l.classList.toggle("collapsed"),r.currentTarget.setAttribute("icon-end",l.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${s.length} ${s.length===1?this._translations.solutionsDocReference:this._translations.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${t}</div></div><div class="padding-top-10">${a}</div></div>`}_renderSolutionCard(e,s){return k`<a class="solution-card" id=${s??q} @click=${()=>{this._emitItemIdFromAI(s)}}>${k`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??q} alt=Thumbnail><calcite-chip icon=launch label="View solution">${this._translations.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`}_renderExistingSolutionsTable(e,s){let i=s.map(t=>{let a=t.thumbnail.match(/\/items\/([a-f0-9]+)\//);return a?this._renderSolutionCard(t,a[1]):null}).filter(t=>t!==null);return k`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${i}</div></div>`}_renderSimpleTextMessage(e,s,i,t,a){let r=this.messages.length>=2?this._getMostRecentQuestion():"",l=typeof r=="string"?"":r?.message??"";return s==="system"?k`<div class="message-content message-content-alignment">${a&&k`<calcite-icon .icon=${a}></calcite-icon>`||""}${e}</div>`:k`<calcite-card class=${de(s==="human"?"user-message":"system-message")}><div class="message-content">${e}${s==="ai"&&i!==""&&this._renderFeedback(e,l,i,t)||""}</div></calcite-card>`}_renderDocAssistantResults(e,s,i,t,a){let r=this._getMostRecentQuestion();return k`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e,s,i)}${this._renderFeedback(e,r?.message??"",t,a)}</div></calcite-card>`}_renderSuggestedSolutions(e,s,i,t){let a=this._getMostRecentQuestion(),r=s.map(l=>l.title);return k`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e,s)}${this._renderFeedback(e+"("+r.toString()+")",a?.message??"",i,t)}</div></calcite-card>`}render(){return k`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}><span class="chat-panel-heading" slot=header-content><span class="padding-right-8">${this._translations.solutionAssistantTitle}</span><calcite-chip .label=${this._translations.betaTag} .value=${this._translations.betaTag}>${this._translations.betaTag}</calcite-chip></span>${this.messages.length>1?k`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>`:""}<div class="chat-messages" ${O(this._setMessageContainerRef)}>${this.messages.map(e=>e.render)}${this._isLoading&&k`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText!=""&&k`<div class="padding-left-10">${this._isLoadingText}</div>`||""}</div></calcite-card>`||""}</div><div slot=footer class="width-100"><div class="chat-input"><calcite-text-area resize=none rows=3 .placeholder=${this._translations.sendMessage} value ${O(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><div class="disclaimer-div padding-top-10" slot=footer><calcite-icon icon=information scale=s></calcite-icon>${this._translations.disclaimerMessage}<a href=https://trust.arcgis.com/en/security-concern/ target=_blank>${this._translations.reportConcern}</a></div></div></calcite-dialog>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}_emitItemIdFromAI(e){this._querySolutions(e).then(s=>{let i=s.typeKeywords.filter(a=>a.includes("solutionid")),t=new CustomEvent("solutionIDFromAssistant",{detail:i.length>0?i[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(t)})}_submitFollowupQuestion(e){let s=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(s)}_getMostRecentQuestion(){return[...this.messages].reverse().find(e=>e.author==="human")||null}async _querySolutions(e){let s=await Me(e);if("error"in s)throw new Error(s.error);return s}_sendFeedback(e,s,i,t,a){let r=`https://survey123.arcgis.com/share/6e349a50b4504ca6b6107216d568db5f?field:_source=${encodeURIComponent("Solutions Assistant")}&field:user_evaluation=${encodeURIComponent(i)}&field:question=${encodeURIComponent(s)}&field:answer=${encodeURIComponent(e)}&field:context=${encodeURIComponent(JSON.stringify({intent:a}))}&field:conversation_id=${encodeURIComponent(t)}&field:version=${encodeURIComponent("v1")}`;window.open(r,"_blank")}};ge("arcgis-solutions-assistant",U);export{U as ArcgisSolutionsAssistant};
|
|
63
|
+
Please report this to https://github.com/markedjs/marked.`,n){let i="<p>An error occurred:</p><pre>"+w(s.message+"",!0)+"</pre>";return e?Promise.resolve(i):i}if(e)return Promise.reject(s);throw s}}},$=new bt;function p(n,e){return $.parse(n,e)}p.options=p.setOptions=function(n){return $.setOptions(n),p.defaults=$.defaults,ye(p.defaults),p};p.getDefaults=G;p.defaults=S;p.use=function(...n){return $.use(...n),p.defaults=$.defaults,ye(p.defaults),p};p.walkTokens=function(n,e){return $.walkTokens(n,e)};p.parseInline=$.parseInline;p.Parser=y;p.parser=y.parse;p.Renderer=M;p.TextRenderer=te;p.Lexer=v;p.lexer=v.lex;p.Tokenizer=P;p.Hooks=A;p.parse=p;p.options;p.setOptions;p.use;p.walkTokens;p.parseInline;y.parse;v.lex;var U=class extends pe{constructor(){super(),this.serverRoot="https://aiservices-beta.arcgis.com/",this.solutionAIurl=`${this.serverRoot}skills/solution_deployment/chat`,this.docAIurl=`${this.serverRoot}skills/doc_ai_assistant/chat`,this.token=null,this.open=!1,this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._translations=fe({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=oe(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_translations:16}}static{this.styles=Ee}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let s={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(s.conversationId=this.conversationStore.conversationId,this.token){let i={author:"human",conversationId:this.conversationStore.conversationId?this.conversationStore.conversationId:"",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,i];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.loopRequest(t,this.token,this.solutionAIurl)}}else if(this.token){let i={author:"human",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,i];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.conversationStore.conversationId=t.conversationId,this.conversationStore.inquiryId=t.inquiryId,this.conversationStore.ackSequenceNumber=t.sequenceNumber,this.loopRequest(t,this.token,this.solutionAIurl)}}async loopRequest(e,s,i){let t=e;for(this._isLoading=!0;t.hasMore;){let a={conversationId:t.conversationId,ackSequenceNumber:t.sequenceNumber,inquiryId:t.inquiryId};if(t=await this.requestAIServer(a,s,i),t.context)if(this.conversationStore.context=t.context,t.context.intent)switch(t.context.intent){case"Solution question":this.messages.push({author:"ai",conversationId:t.conversationId,intent:"Solution question",message:t.message??""});let r={message:t.message,conversationId:a.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};t=await this.requestAIServer(r,s,this.docAIurl);break;case"Recommend solution":if(t.context.results&&t.context.results?.length>0){let l={author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Recommend solution",render:this._renderSuggestedSolutions(t.message??"",t.context.results,t.conversationId,"Recommend solution")};this.messages.push(l)}break;default:this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Other")});break}else if(t.context.results){for(let r of t.context.results)if(r.reply!==""){this._isLoadingText="";let l=await Promise.resolve(p(r.reply));this.messages.push({message:l,author:"ai",conversationId:t.conversationId,intent:"Solution question",render:this._renderDocAssistantResults(l,r.reply,r.ref,r.followupQuestions,t.conversationId,"Solution question")})}}else{t.context.kind&&t.context.kind==="ArcGISErrorAsContext"?this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Error",render:this._renderSimpleTextMessage(this._translations.genericErrorMessage,"ai",t.conversationId,"Error")}):this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Error")});break}}this._isLoading=!1}async requestAIServer(e,s,i){try{let t=await(await fetch(i,{method:"POST",headers:{"Content-Type":"application/json",token:s},body:JSON.stringify(e)})).json();if(t)return t;throw new Error("No data returned")}catch(t){throw new Error(`Request failed: ${t}`)}}resetChat(){let e=this.messages[this.messages.length-1];if(e.author!=="system"&&e.conversationId!=="-1"){this._resetConversation();let s={author:"system",conversationId:"-1",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system","","Other","speech-bubble-plus")};this.messages=[...this.messages,s],this._inputRef&&(this._inputRef.value="")}}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",conversationId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai","","Other")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderFeedback(e,s,i,t){return k`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Good",i,t)}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Bad",i,t)}}></calcite-button></div>`}_renderSolutionQuestionReferences(e){return e.map(s=>k`<div class="message-content-pad"><a href=${s.url??q} target=_blank>${s.title}</a></div>`)}_renderSolutionQuestionFollowup(e){return e.map(s=>k`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${()=>{this._submitFollowupQuestion(s)}}>${s}</calcite-chip>`)}_renderSolutionsQuestionTable(e,s,i){let t=this._renderSolutionQuestionReferences(s),a=this._renderSolutionQuestionFollowup(i);return k`<div><div slot=description class="message-content">${ke(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${r=>{let l=r.currentTarget.parentElement?.nextElementSibling;l.classList.toggle("collapsed"),r.currentTarget.setAttribute("icon-end",l.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${s.length} ${s.length===1?this._translations.solutionsDocReference:this._translations.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${t}</div></div><div class="padding-top-10">${a}</div></div>`}_renderSolutionCard(e,s){return k`<a class="solution-card" id=${s??q} @click=${()=>{this._emitItemIdFromAI(s)}}>${k`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??q} alt=Thumbnail><calcite-chip icon=launch label="View solution">${this._translations.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`}_renderExistingSolutionsTable(e,s){let i=s.map(t=>{let a=t.thumbnail.match(/\/items\/([a-f0-9]+)\//);return a?this._renderSolutionCard(t,a[1]):null}).filter(t=>t!==null);return k`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${i}</div></div>`}_renderSimpleTextMessage(e,s,i,t,a){let r=this.messages.length>=2?this._getMostRecentQuestion():"",l=typeof r=="string"?"":r?.message??"";return s==="system"?k`<div class="message-content message-content-alignment">${a&&k`<calcite-icon .icon=${a}></calcite-icon>`||""}${e}</div>`:k`<calcite-card class=${de(s==="human"?"user-message":"system-message")}><div class="message-content">${e}${s==="ai"&&i!==""&&this._renderFeedback(e,l,i,t)||""}</div></calcite-card>`}_renderDocAssistantResults(e,s,i,t,a,r){let l=this._getMostRecentQuestion();return k`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e,i,t)}${this._renderFeedback(s,l?.message??"",a,r)}</div></calcite-card>`}_renderSuggestedSolutions(e,s,i,t){let a=this._getMostRecentQuestion(),r=s.map(l=>l.title);return k`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e,s)}${this._renderFeedback(e+"("+r.toString()+")",a?.message??"",i,t)}</div></calcite-card>`}render(){return k`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}><span class="chat-panel-heading" slot=header-content><span class="padding-right-8">${this._translations.solutionAssistantTitle}</span><calcite-chip .label=${this._translations.betaTag} .value=${this._translations.betaTag}>${this._translations.betaTag}</calcite-chip></span>${this.messages.length>1?k`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>`:""}<div class="chat-messages" ${O(this._setMessageContainerRef)}>${this.messages.map(e=>e.render)}${this._isLoading&&k`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText!=""&&k`<div class="padding-left-10">${this._isLoadingText}</div>`||""}</div></calcite-card>`||""}</div><div slot=footer class="width-100"><div class="chat-input"><calcite-text-area resize=none rows=3 .placeholder=${this._translations.sendMessage} value ${O(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><div class="disclaimer-div padding-top-10" slot=footer><calcite-icon icon=information scale=s></calcite-icon>${this._translations.disclaimerMessage}<a href=https://trust.arcgis.com/en/security-concern/ target=_blank>${this._translations.reportConcern}</a></div></div></calcite-dialog>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}_emitItemIdFromAI(e){this._querySolutions(e).then(s=>{let i=s.typeKeywords.filter(a=>a.includes("solutionid")),t=new CustomEvent("solutionIDFromAssistant",{detail:i.length>0?i[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(t)})}_submitFollowupQuestion(e){let s=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(s)}_getMostRecentQuestion(){return[...this.messages].reverse().find(e=>e.author==="human")||null}async _querySolutions(e){let s=await Me(e);if("error"in s)throw new Error(s.error);return s}_sendFeedback(e,s,i,t,a){let r=`https://survey123.arcgis.com/share/6e349a50b4504ca6b6107216d568db5f?field:_source=${encodeURIComponent("Solutions Assistant")}&field:user_evaluation=${encodeURIComponent(i)}&field:question=${encodeURIComponent(s)}&field:answer=${encodeURIComponent(e)}&field:context=${encodeURIComponent(JSON.stringify({intent:a}))}&field:conversation_id=${encodeURIComponent(t)}&field:version=${encodeURIComponent("v1")}`;window.open(r,"_blank")}};ge("arcgis-solutions-assistant",U);export{U 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as c}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{d as c}from"./FHSTB5IS.js";import{a as y}from"./QXW2O3K2.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as I,c as b,d as v}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{b as I,c as b,d as v}from"./TLFAXSUO.js";import{a as i}from"./ZWC66YSK.js";import"./75KG6F23.js";import"./SNVBNGNK.js";import"./AYJXUJ2I.js";import"./OCPBV65P.js";import"./QW3KGC6W.js";import"./5VMXTLSX.js";import"./YX5FJ4YV.js";import"./ERE3CLSB.js";import"./RLCIS2WQ.js";import"./7EI6HAYQ.js";import"./2IS67BV5.js";import"./MA6IIDKI.js";import"./XDZPKCRD.js";import"./LX72EG6Q.js";import"./K5FP5BHH.js";import{g as a}from"./FHSTB5IS.js";import"./IQFJKEGU.js";import"./YLRKYGCH.js";import"./QXW2O3K2.js";import"./YOGZNZR5.js";import{a as n}from"./6SK7JVUJ.js";import"./TWAITYNQ.js";import{a as g}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as _}from"./RSBNC6LV.js";import{C as d,D as p,E as f,G as m,h,i as o,l as c,r as u}from"./CRXUT23O.js";import"./4GPQPGQN.js";var y=h`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{f as C}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{f as C}from"./4NPL5CCL.js";import"./TWAITYNQ.js";import"./RSXBQNEK.js";import{b}from"./2HWWZUJ6.js";import{b as g}from"./RSBNC6LV.js";import{C as d,D as p,E as m,h as u,i as r,o as h,r as _}from"./CRXUT23O.js";import"./4GPQPGQN.js";var F=u`@layer{/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Esri
|
|
7
7
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import e from"./344U36HQ.js";import c from"./AJGQJRWA.js";import"./JD6BJZLG.js";import b from"./6SFBTMCG.js";import"./SM4C2ZHW.js";import{b as l}from"./DIEZNUTE.js";import"./WHAD4AEN.js";import{C as i,D as n,E as r,G as o,H as d,h as s,i as a}from"./CRXUT23O.js";import"./4GPQPGQN.js";export default $arcgis.t(([,,{t:p}])=>{var c=s`:host{display:block}:host .esri-legend__service{margin:0;padding:0}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},t=class extends r{constructor(){super(),this.layerCaption=i(),this.expanded=!0,this.isChild=!1,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.expanded=!!this.layerCaption.value?.expanded}render(){return a`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service} ${e.groupLayer}`}><instant-apps-interactive-legend-layer-element-caption class=${o(p(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${this.isChild} ${n(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div class=${`${e.groupContent} ${this.expanded?"show":"hide"}`}><slot name=content></slot></div></div>`}};l("instant-apps-interactive-legend-group-legend-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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
4
|
var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as n}from"./RSBNC6LV.js";import{E as r,I as e,h as s,i as t}from"./CRXUT23O.js";import"./4GPQPGQN.js";var c=s`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as u}from"./GPOB3C3N.js";import{a as m,f as b,z as _}from"./SM4C2ZHW.js";import{b as d}from"./DIEZNUTE.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./CRXUT23O.js";import"./4GPQPGQN.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as r}from"./ZWC66YSK.js";import"./75KG6F23.js";import"./SNVBNGNK.js";import"./AYJXUJ2I.js";import"./OCPBV65P.js";import"./QW3KGC6W.js";import"./5VMXTLSX.js";import"./YX5FJ4YV.js";import"./ERE3CLSB.js";import"./RLCIS2WQ.js";import"./7EI6HAYQ.js";import"./2IS67BV5.js";import"./MA6IIDKI.js";import"./XDZPKCRD.js";import"./LX72EG6Q.js";import"./K5FP5BHH.js";import"./FHSTB5IS.js";import"./IQFJKEGU.js";import"./YLRKYGCH.js";import"./QXW2O3K2.js";import"./YOGZNZR5.js";import"./TWAITYNQ.js";import{a as d}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as p}from"./RSBNC6LV.js";import{E as l,h,i as n,l as a}from"./CRXUT23O.js";import"./4GPQPGQN.js";var g=h`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a,b}from"./SBIRMBVO.js";import"./3UZ47UMG.js";import"./6QOGIQ3D.js";import"./4MLIZNFM.js";import"./4GPQPGQN.js";export{a as TemplateEditorTypes,b as TemplateSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as o}from"./X6TPYZ6W.js";import{d as r}from"./LX72EG6Q.js";import"./YLRKYGCH.js";import"./QXW2O3K2.js";import{a as s}from"./7KLNMM3S.js";import"./KLAPVGTP.js";import"./YINV2FBP.js";import"./2RSIGGBK.js";import"./WQ3JIIRM.js";import"./LVZ5VO6D.js";import"./QW5NAIQM.js";import"./G27T2OU6.js";import"./YOGZNZR5.js";import"./R24MTN4N.js";import"./74VQPMLL.js";import"./BS7GBGCU.js";import"./4LNHJLGD.js";import"./F72LOXDR.js";import"./SBIRMBVO.js";import"./CMPAYAZB.js";import"./FFNU5BX3.js";import"./DCNQCIQY.js";import"./Z3HHWA4E.js";import"./3UZ47UMG.js";import"./6QOGIQ3D.js";import"./4MLIZNFM.js";import"./XMARN6GC.js";import"./4GPQPGQN.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:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{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.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import"./4GPQPGQN.js";var e="Vous ne disposez pas de suffisamment de cr\xE9dits pour effectuer cette op\xE9ration. Contactez votre administrateur syst\xE8me ArcGIS pour obtenir de l\u2019aide.",r="Cet outil a \xE9t\xE9 publi\xE9 \xE0 partir d\u2019un notebook. L\u2019acc\xE8s \xE0 ArcGIS Notebooks est bloqu\xE9 pour votre organisation. Contactez votre administrateur pour lui demander de modifier ce param\xE8tre.",a="${ dataPath } ne doit pas comporter la propri\xE9t\xE9 suivante\xA0: ${ additionalProperty }.",t="${ dataPath } doit correspondre \xE0 l\u2019une des structures suivantes\xA0: ${ schemaOptions }.",s="R\xE9essayez d\u2019enregistrer la carte.",o="\xC9chec de l\u2019estimation des cr\xE9dits. Faites d\xE9filer vers le bas, corrigez les erreurs et relancez l\u2019estimation des cr\xE9dits.",i="Une erreur s\u2019est produite lors de l\u2019ex\xE9cution de l\u2019analyse.",n="${ dataPath } doit correspondre \xE0 l\u2019une des valeurs autoris\xE9es suivantes\xA0: ${ allowedValues }.",c="\xC9chec de l\u2019enregistrement de l\u2019historique d\u2019analyse",l="L\u2019espace de stockage de l\u2019historique est satur\xE9. Supprimez certains \xE9l\xE9ments de l\u2019historique d\u2019analyse et r\xE9essayez d\u2019enregistrer.",d="Le nom du service contient un ou plusieurs caract\xE8res non valides.",u="L\u2019enregistrement de la couche temporaire en tant que couche d\u2019entit\xE9s h\xE9berg\xE9e a \xE9chou\xE9.",m="\xC9chec de l\u2019obtention des propri\xE9t\xE9s cl\xE9s.",p="\xC9chec du chargement de la couche.",h="La couche n\u2019est pas disponible.",v="${ dataPath } ne doit pas comporter plus de ${ limit }\xA0\xE9l\xE9ments.",y="Une erreur est survenue lors de l\u2019enregistrement du mod\xE8le. R\xE9essayez d\u2019enregistrer.",E="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0\xE9l\xE9ments.",f="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0caract\xE8res.",g="\xC9chec du chargement de l\u2019\xE9l\xE9ment de mod\xE8le. Assurez-vous que le mod\xE8le existe et que l\u2019autorisation d\u2019acc\xE8s a \xE9t\xE9 accord\xE9e.",P="\xC9chec du traitement de la requ\xEAte.",b="Vous n\u2019\xEAtes pas autoris\xE9 \xE0 ex\xE9cuter cet outil. <calcite-link target='_blank' href='${ docLink }'>En savoir plus</calcite-link>",S="\xC9chec de la connexion au portail.",L="\xC9chec de la lecture des donn\xE9es en entr\xE9e.",$="${ dataPath } ne comporte pas la propri\xE9t\xE9 suivante\xA0: ${ missingProperty }.",F="Une couche de r\xE9sultat portant ce nom existe d\xE9j\xE0. Les couches de r\xE9sultat doivent porter des noms uniques au sein de l\u2019organisation. Utilisez un autre nom.",k="Le nom en sortie contient un ou plusieurs caract\xE8res non valides. <a href='${docLink}' target='_blank'>En savoir plus.</a>",q="La publication de la couche temporaire en tant que couche h\xE9berg\xE9e a \xE9chou\xE9 car un ou plusieurs champs ne sont pas valides. Relancez l\u2019outil pour cr\xE9er une couche avec des champs valides.",z="\xC9chec de l\u2019envoi de la t\xE2che. Faites d\xE9filer vers le bas, corrigez les erreurs et r\xE9ex\xE9cutez l\u2019analyse.",I="${ dataPath } doit comporter au moins un caract\xE8re autre qu\u2019un espace.",x={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:i,enumValues:n,failedToSaveHistory:c,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:y,minItems:E,minLength:f,modelNotFound:g,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:L,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:q,toolValidationError:z,whiteSpacePattern:I};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,x as default,i as defaultError,n as enumValues,c as failedToSaveHistory,l as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,y as mbFailedToSave,E as minItems,f as minLength,g as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,L as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,k as specialCharactersInServiceNameError,q as temporaryLayerFieldsError,z as toolValidationError,I as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as i}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{c as i}from"./RSBNC6LV.js";function l(r,t){let a=n(r,t),e=i("assets/item-icons/");return a==="group"?`${e}/${a}16.png`:`${e}/${a}16.svg`}function n(r,t){let a=r.toLowerCase(),e=t||[],s=e.includes("Hosted Service");switch(a.trim()){case"360 vr experience":return"360vr";case"3dtiles package":return"3dtileslayerpackage";case"3dtiles service":return e.includes("3DObject")?"3dobjecttileslayer":e.includes("IntegratedMesh")?"integratedmeshtileslayer":"3dobjecttileslayer";case"feature service":case"feature collection":case"kml":case"wfs":if(e.includes("IndoorPositioningDataService"))return"indoorpositioningdataservice";let c=e.includes("Spatiotemporal");return e.includes("Table")?c?"spatiotemporaltable":"table":e.includes("Route Layer")?"routelayer":e.includes("Markup")?"markup":c?"spatiotemporal":e.includes("UtilityNetwork")?"utilitynetwork":s?"featureshosted":"features";case"group":return"group";case"group layer":return e.includes("Map")?"layergroup2d":e.includes("Scene")?"layergroup3d":"layergroup";case"wmts":return"maptiles";case"map service":case"wms":return s||e.includes("Tiled")?"maptiles":"mapimages";case"scene service":return e.includes("Line")?"sceneweblayerline":e.includes("3DObject")?"sceneweblayermultipatch":e.includes("Point")?"sceneweblayerpoint":e.includes("IntegratedMesh")?"sceneweblayermesh":e.includes("PointCloud")?"sceneweblayerpointcloud":e.includes("Polygon")?"sceneweblayerpolygon":e.includes("Building")?"sceneweblayerbuilding":e.includes("Voxel")?"sceneweblayervoxel":"sceneweblayer";case"image service":return e.includes("Elevation 3D Layer")?"elevationlayer":e.includes("Tiled Imagery")?"tiledimagerylayer":"imagery";case"stream service":return"streamlayer";case"video service":return e.includes("Live Stream")?"livestreamvideolayer":"mediaservice";case"vector tile service":return"vectortile";case"datastore catalog service":return"datastorecollection";case"geocoding service":return"geocodeservice";case"geoprocessing service":return e.includes("Web Tool")?"tool":"layers";case"geodata service":return"geodataservice";case"web map":case"cityengine web scene":return"maps";case"web scene":return e.includes("ViewingMode-Local")?"webscenelocal":"websceneglobal";case"application":case"web mapping application":case"mobile application":case"operation view":case"desktop application":return e.includes("configurableApp")?"instantapps":"apps";case"map document":case"map package":case"published map":case"scene document":case"globe document":case"basemap package":case"mobile basemap package":case"mobile map package":case"project package":case"project template":case"pro map":case"layout":return"mapsgray";case"layer":return e.includes("ArcGIS Pro")?"mapsgray":"layersgray";case"explorer map":return e.indexOf("Explorer Document")?"mapsgray":e.includes("Explorer Mapping Application")?"datafilesgray":"mapsgray";case"pro presentation":return"propresentation";case"api key":return"key";case"csv":return"csv";case"shapefile":return"shapefile";case"csv collection":return"csvcollection";case"media layer":return"medialayer";case"microsoft excel":return"excel";case"microsoft powerpoint":return"powerpoint";case"microsoft word":return"word";case"pdf":return"pdf";case"sqlite geodatabase":return"sqlite";case"administrative report":return"report";case"image":return"image";case"cad drawing":return"cad";case"service definition":case"geojson":case"netcdf":return"data";case"explorer add in":case"desktop add in":case"windows viewer add in":case"windows viewer configuration":return"appsgray";case"arcgis pro add in":case"arcgis pro configuration":return"addindesktop";case"rule package":case"file geodatabase":case"kml collection":case"windows mobile package":case"map template":case"desktop application template":case"gml":case"arcpad package":case"code sample":case"document link":case"earth configuration":case"operations dashboard add in":case"rules package":case"workflow manager package":return"datafilesgray";case"form":return e.includes("Survey123")?"survey":"datafilesgray";case"network analysis service":case"geometry service":case"geoprocessing package":case"locator package":case"geoprocessing sample":case"workflow manager service":return"toolsgray";case"layer package":case"explorer layer":return"layersgray";case"scene package":return"scenepackage";case"mobile scene package":return"mobilescenepackage";case"tile package":case"compact tile package":return"tilepackage";case"task file":return"taskfile";case"report template":return"reporttemplate";case"statistical data collection":return"statisticaldatacollection";case"analysis model":return"geoprocessingmodel";case"insights workbook":return"workbook";case"insights model":return"insightsmodel";case"insights page":return"insightspage";case"insights theme":return"insightstheme";case"hub initiative":return"hubinitiative";case"hub page":return"hubpage";case"hub event":return"hubevent";case"hub site application":return"hubsite";case"hub project":return"hubproject";case"relational database connection":return"relationaldatabaseconnection";case"image collection":return"imagecollection";case"style":return e.includes("Dictionary")?"dictionarystyle":"style";case"desktop style":return"desktopstyle";case"dashboard":return"dashboard";case"raster function template":return"rasterprocessingtemplate";case"vector tile package":return"vectortilepackage";case"ortho mapping project":return"orthomappingproject";case"ortho mapping template":return"orthomappingtemplate";case"solution":return"solutions";case"geopackage":return"geopackage";case"deep learning package":return"deeplearningpackage";case"real time analytic":return"realtimeanalytics";case"big data analytic":return"bigdataanalytics";case"feed":return"feed";case"excalibur imagery project":return"excaliburimageryproject";case"notebook":return"notebook";case"reality mapping project":return"realitymappingproject";case"storymap":return e.includes("storymaptemplate")?"storymapstemplate":e.includes("storymapcollection")?"storymapcollection":e.includes("storymapbriefing")?"storymapbriefing":"storymap";case"survey123 add in":return"survey123addin";case"mission":return"mission";case"mission report":return"missionreport";case"quickcapture project":return"quickcaptureproject";case"pro report":return"proreport";case"urban model":return"urbanmodel";case"urban project":return"urbanproject";case"web experience":return"experiencebuilder";case"web experience template":return"webexperiencetemplate";case"experience builder widget":return"experiencebuilderwidget";case"experience builder widget package":return"experiencebuilderwidgetpackage";case"workflow":return"workflow";case"insights script":return"insightsscript";case"kernel gateway connection":return"kernelgatewayconnection";case"hub initiative template":return"hubinitiativetemplate";case"storymap theme":return"storymaptheme";case"knowledge graph":return"knowledgegraph";case"knowledge studio project":return"knowledgestudio";case"knowledge graph layer":return"knowledgegraphlayer";case"native application":return"nativeapp";case"native application installer":return"nativeappinstaller";case"web link chart":return"linkchart";case"knowledge graph web investigation":return"investigation";case"ogcfeatureserver":return"features";case"pro project":return"proproject";case"insights workbook package":return"insightsworkbookpackage";case"apache parquet":return"apacheparquet";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets";case"suitability model":return"suitabilitymodel";case"esri classifier definition":return"classifierdefinition";case"esri classification schema":return"classificationschema";case"insights data engineering workbook":return"dataengineeringworkbook";case"insights data engineering model":return"dataengineeringmodel";case"deep learning studio project":return"deeplearningproject";case"data store":return"datastore";case"data pipeline":return"datapipeline";default:return e.includes("Document")?"datafilesgray":a.includes("service")?"layers":"maps"}}export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v1.2.0-next.18 */
|
|
4
|
+
import{a as l}from"./GPOB3C3N.js";import{b as h}from"./DIEZNUTE.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{E as r,G as n,h as i,i as a}from"./CRXUT23O.js";import"./4GPQPGQN.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|