@esri/solutions-components 1.2.0-next.24 → 1.2.0-next.26
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/README.md +1 -5
- package/dist/cdn/{OJG6HIKN.js → 24KLA2WP.js} +2 -2
- package/dist/cdn/{BLIFIP2J.js → 26PRQQXA.js} +2 -2
- package/dist/cdn/{JIREIGOU.js → 27JLOUCD.js} +2 -2
- package/dist/cdn/{H2UXJKPU.js → 2E65E2R5.js} +1 -1
- package/dist/cdn/{T6KDHTIZ.js → 2FXH5IFF.js} +2 -2
- package/dist/cdn/{TKRGPMED.js → 2K3D4PUK.js} +2 -2
- package/dist/cdn/{YWXJ2RX3.js → 2K42LZML.js} +2 -2
- package/dist/cdn/2KGAPBDA.js +4 -0
- package/dist/cdn/{HP4JIDLF.js → 2KWGOUSP.js} +2 -2
- package/dist/cdn/{LYXGPO4K.js → 2PE7MVDM.js} +1 -1
- package/dist/cdn/{VK5SHRI7.js → 2XCNU24T.js} +2 -2
- package/dist/cdn/{34HAWRGI.js → 2YXTQZ2M.js} +2 -2
- package/dist/cdn/{ZT7KJDTU.js → 32EE3BJJ.js} +2 -2
- package/dist/cdn/336D6QU2.js +4 -0
- package/dist/cdn/{6JJBGLJE.js → 374JGWU7.js} +2 -2
- package/dist/cdn/{WUTY55ZF.js → 3ARUJDS5.js} +1 -1
- package/dist/cdn/{DED6BDXL.js → 3DMU4F6J.js} +2 -2
- package/dist/cdn/{X5FANKH6.js → 3HFPZ2M5.js} +2 -2
- package/dist/cdn/{3G3I5XU7.js → 3HYLAH6Q.js} +2 -2
- package/dist/cdn/{CELVLTD3.js → 3LW4ZKOW.js} +2 -2
- package/dist/cdn/{UQVFINXF.js → 3SXUN3QE.js} +2 -2
- package/dist/cdn/3X2KUHTY.js +18 -0
- package/dist/cdn/3XPNU7BI.js +18 -0
- package/dist/cdn/{W75YFHYB.js → 3XSBXJ4X.js} +2 -2
- package/dist/cdn/{4SOCIVF6.js → 42MWP46P.js} +1 -1
- package/dist/cdn/{WOXREBHW.js → 45665FH2.js} +2 -2
- package/dist/cdn/{G7OBBNFQ.js → 45OKFNZ2.js} +2 -2
- package/dist/cdn/{3VUSEXMB.js → 4C52EB73.js} +2 -2
- package/dist/cdn/{FLA5RSAG.js → 4ERQXLFA.js} +2 -2
- package/dist/cdn/4JVMPJCO.js +18 -0
- package/dist/cdn/{HRKWHIYV.js → 4LC5QHLO.js} +2 -2
- package/dist/cdn/{KSO7CXKH.js → 4MEHIVYA.js} +2 -2
- package/dist/cdn/{PRIALFET.js → 4NPMWF3B.js} +2 -2
- package/dist/cdn/{OC7V7KCG.js → 4PNJYQGR.js} +2 -2
- package/dist/cdn/{VX2H4KEW.js → 4R3STD7G.js} +2 -2
- package/dist/cdn/{NBZ4SJV4.js → 4TN73SUG.js} +2 -2
- package/dist/cdn/{5V5O4IVZ.js → 4VMPLQZP.js} +2 -2
- package/dist/cdn/{XCDDDB5R.js → 56NF367P.js} +2 -2
- package/dist/cdn/{TNHXSGP4.js → 56RMHUL3.js} +2 -2
- package/dist/cdn/{ZVYGJ3ZV.js → 5A2Y5ZFB.js} +2 -2
- package/dist/cdn/{GKD47RX5.js → 5CKOR2L6.js} +1 -1
- package/dist/cdn/{BR65SFX2.js → 5DRAJUEZ.js} +1 -1
- package/dist/cdn/{LNFEAJAZ.js → 5FZXFZOF.js} +2 -2
- package/dist/cdn/{TDZ7C2M7.js → 62R2473V.js} +2 -2
- package/dist/cdn/{QGWCUXVU.js → 62Y7ETSQ.js} +2 -2
- package/dist/cdn/{H34VS27L.js → 6AV5GFKS.js} +2 -2
- package/dist/cdn/{4BXRZ62B.js → 6DHRO6RA.js} +1 -1
- package/dist/cdn/6DSHNSXV.js +18 -0
- package/dist/cdn/{27VT6FGO.js → 6ESVYRQV.js} +1 -1
- package/dist/cdn/{NDJVE732.js → 6R45U63P.js} +2 -2
- package/dist/cdn/{CSH7RK4L.js → 6SYXTJP7.js} +2 -2
- package/dist/cdn/{XIKGCL6Z.js → 6WLLVDOT.js} +1 -1
- package/dist/cdn/{WNFEGMNZ.js → 72JGKJQE.js} +2 -2
- package/dist/cdn/{YOIQKWPE.js → 7FGP4726.js} +2 -2
- package/dist/cdn/{NEDCAXJL.js → 7IOXGCXM.js} +2 -2
- package/dist/cdn/{I5JM65X6.js → 7KVQG3XG.js} +2 -2
- package/dist/cdn/{FLMVVIYI.js → 7NF5X427.js} +2 -2
- package/dist/cdn/{FWE4FUJH.js → 7P3IUHDL.js} +2 -2
- package/dist/cdn/{AAXTQRZG.js → 7RH6MIWB.js} +2 -2
- package/dist/cdn/{RPY6EG62.js → A5S6W3ON.js} +2 -2
- package/dist/cdn/{YAYHUH5G.js → AHXERPRN.js} +2 -2
- package/dist/cdn/{E4JZL5IT.js → APDFHZ74.js} +2 -2
- package/dist/cdn/{SZNJD54W.js → AYVYACFY.js} +1 -1
- package/dist/cdn/{DCNEHZTW.js → B5CDNQXT.js} +2 -2
- package/dist/cdn/{J4UA37P6.js → BBGM24NN.js} +2 -2
- package/dist/cdn/{F37UKUAV.js → BFJAMA4P.js} +2 -2
- package/dist/cdn/{JKYLZXQW.js → BJ5Q672G.js} +2 -2
- package/dist/cdn/{GWYYMTWP.js → BLC5IKHB.js} +2 -2
- package/dist/cdn/BNC25SSV.js +4 -0
- package/dist/cdn/{6R6WIO6H.js → BVY3FHES.js} +2 -2
- package/dist/cdn/{5AERAR2L.js → BXQI3ZMZ.js} +1 -1
- package/dist/cdn/{RGGUA4QF.js → BXZEMWKO.js} +2 -2
- package/dist/cdn/{KTJDLUIU.js → C2Q4A3RV.js} +2 -2
- package/dist/cdn/{CZIXYCET.js → CLD74LLR.js} +2 -2
- package/dist/cdn/CLLIH2ZL.js +4 -0
- package/dist/cdn/{NWOOAUG7.js → CLNFH4AB.js} +2 -2
- package/dist/cdn/{T3HXN3EN.js → CSOWDE4B.js} +2 -2
- package/dist/cdn/{36BDQG6C.js → CW4WK6UQ.js} +2 -2
- package/dist/cdn/{TZ4BYOUZ.js → CXQBUQIR.js} +2 -2
- package/dist/cdn/{443EHILD.js → CY5N72KD.js} +2 -2
- package/dist/cdn/{55A2KYUG.js → D2BXHG6B.js} +2 -2
- package/dist/cdn/{GHD3JMA4.js → D2LUCAAV.js} +2 -2
- package/dist/cdn/{WFZWW33X.js → DCZGPVZS.js} +2 -2
- package/dist/cdn/{FAFTQRQY.js → DD7IRMU2.js} +2 -2
- package/dist/cdn/{LOIGPO5O.js → DPSJLIG2.js} +2 -2
- package/dist/cdn/{BTLVFHR2.js → DQJS2BRD.js} +1 -1
- package/dist/cdn/{RFLU2ZRI.js → DRWQMKPL.js} +2 -2
- package/dist/cdn/{WYDM2CB5.js → DTLBV43H.js} +2 -2
- package/dist/cdn/{5TKI4FG4.js → DVB6GNMC.js} +2 -2
- package/dist/cdn/{NZO56NNR.js → DVGMUBNT.js} +2 -2
- package/dist/cdn/{VJU2J222.js → DXDM36O6.js} +2 -2
- package/dist/cdn/DXS7UOD7.js +18 -0
- package/dist/cdn/E2CWYXA3.js +18 -0
- package/dist/cdn/{6Z7A2SPS.js → E2VNGWSV.js} +2 -2
- package/dist/cdn/{VW2WEXVP.js → E4IY2TLO.js} +1 -1
- package/dist/cdn/{4JCL7LZR.js → E5NMCTJI.js} +2 -2
- package/dist/cdn/{EYIL3WCN.js → E7ZSOO5U.js} +2 -2
- package/dist/cdn/{HBOBM65G.js → EAEMSYLV.js} +2 -2
- package/dist/cdn/{WL4NQCES.js → EC5SUG3Q.js} +2 -2
- package/dist/cdn/{STHO3HPO.js → EJIOAJIG.js} +2 -2
- package/dist/cdn/{GJEPJCWP.js → EUG54QVH.js} +2 -2
- package/dist/cdn/{FLMS2TR4.js → EUO5OQ77.js} +2 -2
- package/dist/cdn/{2M4ILWS4.js → EV7VDGQ3.js} +2 -2
- package/dist/cdn/EYX3CJXI.js +18 -0
- package/dist/cdn/{DFO6WKOY.js → F63I4BUN.js} +2 -2
- package/dist/cdn/{XH2Q2TTU.js → FE3Y2N3O.js} +2 -2
- package/dist/cdn/{3DQY36BR.js → FF4CBWT2.js} +2 -2
- package/dist/cdn/FHA6I7IB.js +18 -0
- package/dist/cdn/{RY2JRQIA.js → FI4EBVUK.js} +2 -2
- package/dist/cdn/{UMEH46X4.js → FJ7O47AQ.js} +2 -2
- package/dist/cdn/{VDTXZ2OC.js → FJAIG4PZ.js} +2 -2
- package/dist/cdn/{IJEJXWF7.js → FJFXKCW3.js} +2 -2
- package/dist/cdn/{NI64NXLH.js → FVQTX4DX.js} +1 -1
- package/dist/cdn/{7QBFHK6I.js → G2K266CK.js} +2 -2
- package/dist/cdn/{SU5NQO2Y.js → G3OR3RD4.js} +2 -2
- package/dist/cdn/{K2VMZCUX.js → G4JVAMYO.js} +2 -2
- package/dist/cdn/{V2K3CARG.js → G7J6NS5P.js} +2 -2
- package/dist/cdn/GBCQDVGN.js +18 -0
- package/dist/cdn/{FDGI4V7M.js → GLD6QMMM.js} +2 -2
- package/dist/cdn/{4RNO5M22.js → GLORY2Q3.js} +2 -2
- package/dist/cdn/{6EHWI7JM.js → GM3NQPFV.js} +2 -2
- package/dist/cdn/{4EQVVEVL.js → GNI64PEL.js} +2 -2
- package/dist/cdn/{K4HRSAES.js → GOYLOPJ3.js} +2 -2
- package/dist/cdn/GQCSOOLC.js +4 -0
- package/dist/cdn/{HXHGWVUO.js → GQWKR6ZH.js} +2 -2
- package/dist/cdn/{CO3TU24E.js → GRGSWHAS.js} +2 -2
- package/dist/cdn/{FCJJ2E2N.js → GS5HDZIE.js} +2 -2
- package/dist/cdn/{EAS42GZC.js → GTPA67XZ.js} +1 -1
- package/dist/cdn/{4WOSAZZE.js → GYRRBG6L.js} +2 -2
- package/dist/cdn/{EROCJUGG.js → HBZNFHQK.js} +2 -2
- package/dist/cdn/{L2WHYM3J.js → HCBYY275.js} +1 -1
- package/dist/cdn/{ZL7IV42Y.js → HEDBXJM7.js} +2 -2
- package/dist/cdn/HESZ3C6M.js +18 -0
- package/dist/cdn/{5NLABLUG.js → HFRCOLMH.js} +2 -2
- package/dist/cdn/{KZD2C2ML.js → HPT7FTOX.js} +2 -2
- package/dist/cdn/{7LEW57R4.js → HSCFJPMS.js} +2 -2
- package/dist/cdn/{XUNRNHCK.js → HTCTIT57.js} +2 -2
- package/dist/cdn/{4JHKVR7I.js → HXMNNJXU.js} +2 -2
- package/dist/cdn/HXWJEHNQ.js +18 -0
- package/dist/cdn/{QC34FER4.js → HYRSJC32.js} +2 -2
- package/dist/cdn/{URRLKSMA.js → HZO7UEFB.js} +2 -2
- package/dist/cdn/{CQIWHMR3.js → I2FGXEDE.js} +1 -1
- package/dist/cdn/{QUO6TIFZ.js → I2YPPOOM.js} +1 -1
- package/dist/cdn/{KRZ6DGKX.js → IJFJWLYK.js} +2 -2
- package/dist/cdn/{EOZZELAV.js → ILLNJSZ5.js} +2 -2
- package/dist/cdn/{PZ5GGYLN.js → ITJXBRWP.js} +2 -2
- package/dist/cdn/{O4ZKMCDY.js → IV45DYHD.js} +1 -1
- package/dist/cdn/{QBBC7A4Y.js → IXNDA5VZ.js} +1 -1
- package/dist/cdn/{J5GBXHV7.js → IXOCAJWG.js} +2 -2
- package/dist/cdn/{NAUVQEGN.js → IZUHNA5W.js} +2 -2
- package/dist/cdn/J3QX7P6J.js +18 -0
- package/dist/cdn/{A65SF5TP.js → JB2P6SXN.js} +2 -2
- package/dist/cdn/{BUQMZQDZ.js → JB5NDXDH.js} +2 -2
- package/dist/cdn/{GFXNHLR7.js → JEF4UV2K.js} +2 -2
- package/dist/cdn/{FBAY6DO3.js → JFPBJLVG.js} +2 -2
- package/dist/cdn/{PSACJE2J.js → JGHCMS5P.js} +2 -2
- package/dist/cdn/{VHW5YMZI.js → JLO4K7LS.js} +2 -2
- package/dist/cdn/{GHZ256AS.js → JNUMH3BN.js} +4 -4
- package/dist/cdn/{OPFB2Y4V.js → JP4K6XQE.js} +2 -2
- package/dist/cdn/JRTPZ6ES.js +18 -0
- package/dist/cdn/{2PC724CH.js → JWY4OWS3.js} +2 -2
- package/dist/cdn/{7OW5IQNG.js → K2BWFQJM.js} +2 -2
- package/dist/cdn/{XSE22DX2.js → K4J34WLO.js} +2 -2
- package/dist/cdn/{HST46P5Y.js → K4MCLE46.js} +2 -2
- package/dist/cdn/{5XHMHEC7.js → K5Q2KDOU.js} +2 -2
- package/dist/cdn/{JGT3UVSS.js → KCEWHR2X.js} +2 -2
- package/dist/cdn/{B6DL7APO.js → KD6VFEYI.js} +2 -2
- package/dist/cdn/{PFXC7WOR.js → KDVE3TUH.js} +2 -2
- package/dist/cdn/{2AI475Q6.js → KEFQKJ6B.js} +2 -2
- package/dist/cdn/{EIXF5OZH.js → KFX3THDY.js} +1 -1
- package/dist/cdn/{ANWXMLC5.js → KJJM3OEK.js} +2 -2
- package/dist/cdn/{R6MJ3BWC.js → KLPZNVNH.js} +1 -1
- package/dist/cdn/{2BLFCKKA.js → KOCZ4OFZ.js} +2 -2
- package/dist/cdn/{DWL4LXGS.js → KONPCHXM.js} +3 -3
- package/dist/cdn/{6Z47NIFS.js → KQFR7R2N.js} +2 -2
- package/dist/cdn/{VEUQH5L3.js → KQULX67Q.js} +2 -2
- package/dist/cdn/{QH2BEMM6.js → KVV4M7BE.js} +2 -2
- package/dist/cdn/{67TNRLBR.js → KVVPA63Y.js} +2 -2
- package/dist/cdn/{R22HIDGZ.js → KYAKBPGR.js} +2 -2
- package/dist/cdn/{KESHQJDL.js → L42KDYQE.js} +2 -2
- package/dist/cdn/{OLKLMVT2.js → L5MLUGPD.js} +2 -2
- package/dist/cdn/{MWLY3N7C.js → L6PQQN5H.js} +2 -2
- package/dist/cdn/{TEY2ATFL.js → L7H2XLV6.js} +2 -2
- package/dist/cdn/{DW7PYNVR.js → L7T2IR73.js} +2 -2
- package/dist/cdn/{YEKIMYDO.js → L7WBMNMV.js} +2 -2
- package/dist/cdn/LCGASXTT.js +18 -0
- package/dist/cdn/{FY6XKBZS.js → LCNXICCQ.js} +2 -2
- package/dist/cdn/{EOLIKK4H.js → LCZQP4VM.js} +2 -2
- package/dist/cdn/{TOEQLEDG.js → LHP76MB7.js} +2 -2
- package/dist/cdn/{WWSSJEOD.js → LIQPYHJK.js} +2 -2
- package/dist/cdn/{II25P5CO.js → LKHIMH3W.js} +2 -2
- package/dist/cdn/{QJRGXDSI.js → LTYO7BRS.js} +2 -2
- package/dist/cdn/{X4DEDSCC.js → LWGGLCXI.js} +2 -2
- package/dist/cdn/LXAALX4E.js +18 -0
- package/dist/cdn/{Z2EMCTSK.js → M3ZIJZJ3.js} +2 -2
- package/dist/cdn/{DVGLTRJU.js → MAYQRSPQ.js} +1 -1
- package/dist/cdn/{P7H776WT.js → MBZH2YNN.js} +2 -2
- package/dist/cdn/{LG6DSYZW.js → MCMZEYAP.js} +2 -2
- package/dist/cdn/{T74GGRMS.js → MEQMYPP3.js} +2 -2
- package/dist/cdn/{OABMD66T.js → MHQOCO5S.js} +2 -2
- package/dist/cdn/{UIGYM74T.js → MN2543D7.js} +2 -2
- package/dist/cdn/{7UWI5KWK.js → MNAFT2GX.js} +2 -2
- package/dist/cdn/MOJYKPVX.js +4 -0
- package/dist/cdn/{ZAL2JPN6.js → MSKT77WV.js} +1 -1
- package/dist/cdn/{6MECJUZM.js → MT7G72VG.js} +2 -2
- package/dist/cdn/N22RCG3K.js +4 -0
- package/dist/cdn/NFU4CVAT.js +18 -0
- package/dist/cdn/{P3LUAT4F.js → NGTTND2O.js} +2 -2
- package/dist/cdn/{MTH7WCDT.js → NICJBX5S.js} +2 -2
- package/dist/cdn/{FEODTSQT.js → NJ3BAM2B.js} +2 -2
- package/dist/cdn/{SKGMLLPH.js → NOONCQZF.js} +7 -7
- package/dist/cdn/{P6OT3PMN.js → NPRJ2MDW.js} +2 -2
- package/dist/cdn/NQUDNN5L.js +18 -0
- package/dist/cdn/{5D7BHC5A.js → NZVTYNMW.js} +2 -2
- package/dist/cdn/{27YRRENY.js → O45B5X3J.js} +2 -2
- package/dist/cdn/{SKZURFAS.js → O7JHHK3X.js} +2 -2
- package/dist/cdn/{KG4IFWCZ.js → OFEX5K4J.js} +2 -2
- package/dist/cdn/{2KZX4PSI.js → OGAMGH5M.js} +2 -2
- package/dist/cdn/{CYG5JUF7.js → OIRXB4BU.js} +1 -1
- package/dist/cdn/{ASC5OMBD.js → OVQLLUEP.js} +2 -2
- package/dist/cdn/{GZK6A527.js → OWPILYU5.js} +2 -2
- package/dist/cdn/{SNLUBEJI.js → P5D72UDZ.js} +2 -2
- package/dist/cdn/{HF6CCTGX.js → P6QBSSBF.js} +2 -2
- package/dist/cdn/{JEWJNGE6.js → PHRVNU5S.js} +2 -2
- package/dist/cdn/{4QNOYSPY.js → PLADJNNW.js} +2 -2
- package/dist/cdn/{SVTYAHMC.js → PLKB5BAY.js} +2 -2
- package/dist/cdn/{WP7F5HRM.js → PMAEYX5B.js} +2 -2
- package/dist/cdn/{PHHVQRLL.js → PMCKR77M.js} +2 -2
- package/dist/cdn/{AVA46ODH.js → PN3EXCUI.js} +2 -2
- package/dist/cdn/{4Y7ZVP46.js → PNC7GJX5.js} +2 -2
- package/dist/cdn/{3E3IBLXH.js → PNEXLQI2.js} +2 -2
- package/dist/cdn/{CYADZ6PK.js → POF72VTV.js} +2 -2
- package/dist/cdn/{ERSOKPXT.js → POKCZ3V4.js} +2 -2
- package/dist/cdn/{WOZIGPUB.js → PV2RRQIK.js} +2 -2
- package/dist/cdn/{ZJ5VS3XI.js → Q3RYWEUP.js} +2 -2
- package/dist/cdn/Q7LKYYVG.js +18 -0
- package/dist/cdn/{R47VKS7S.js → QALG5MCX.js} +2 -2
- package/dist/cdn/{T6DIELVZ.js → QF54B5PZ.js} +2 -2
- package/dist/cdn/{AO32HRV6.js → QG3USF4Y.js} +2 -2
- package/dist/cdn/{YFOSFQMV.js → QGW5FNJT.js} +1 -1
- package/dist/cdn/{BF6B5YPC.js → QKALFXP5.js} +1 -1
- package/dist/cdn/{43NXLAVY.js → QLCJCIZJ.js} +2 -2
- package/dist/cdn/{GKS4SDRE.js → QM4W7JMJ.js} +2 -2
- package/dist/cdn/{35KLNGC5.js → QMYZGGJI.js} +2 -2
- package/dist/cdn/{DK5FUIGH.js → QO6KCGB7.js} +1 -1
- package/dist/cdn/{BGC5OXBC.js → QQKQSMEB.js} +2 -2
- package/dist/cdn/{EHS77SRG.js → QRMAFUI4.js} +2 -2
- package/dist/cdn/{KXKFOLKN.js → QTTDHRAA.js} +1 -1
- package/dist/cdn/{IBLOFUUX.js → QUMKP3MN.js} +2 -2
- package/dist/cdn/{FFLBALPH.js → QXVWOTDR.js} +2 -2
- package/dist/cdn/{SSHAOTEK.js → R5UYZSKU.js} +2 -2
- package/dist/cdn/{GYIUJFGM.js → R6QDW36Y.js} +2 -2
- package/dist/cdn/REQ6SUUW.js +18 -0
- package/dist/cdn/{QYQTOIF6.js → RIALL5SY.js} +1 -1
- package/dist/cdn/RPEOATB5.js +18 -0
- package/dist/cdn/{NX4JHBIH.js → RR6DYONH.js} +2 -2
- package/dist/cdn/{WTVABM3O.js → RUBBHHA2.js} +2 -2
- package/dist/cdn/{VBGQ7FE6.js → RWPAQKNE.js} +2 -2
- package/dist/cdn/{BEV4LNQI.js → RYCN2WNH.js} +2 -2
- package/dist/cdn/RZGCWE6B.js +4 -0
- package/dist/cdn/{SMZGBF7A.js → S35DEH4O.js} +2 -2
- package/dist/cdn/{Q4ZZ6NDL.js → S4ZGRNK3.js} +2 -2
- package/dist/cdn/{T6FIJDJK.js → S6KONP5D.js} +2 -2
- package/dist/cdn/{TO6ZG5LX.js → S7WZDGWE.js} +1 -1
- package/dist/cdn/SCFWJINO.js +18 -0
- package/dist/cdn/{LH3A7YCF.js → SH3KFLOT.js} +3 -3
- package/dist/cdn/{KIUNRSQA.js → SIL26OVP.js} +2 -2
- package/dist/cdn/{MSBJECJS.js → SL2WOYUA.js} +2 -2
- package/dist/cdn/{2JWUVZ2L.js → SLMZ3EXF.js} +1 -1
- package/dist/cdn/{KWTCG2SE.js → SOQQPZYP.js} +2 -2
- package/dist/cdn/{2KHJ7DAR.js → SXNTJLJ5.js} +2 -2
- package/dist/cdn/{GGQUPRRV.js → SYR63WS4.js} +2 -2
- package/dist/cdn/SYYINKMJ.js +18 -0
- package/dist/cdn/T2ZL626B.js +64 -0
- package/dist/cdn/{BOHI7OOB.js → T4GHTIOI.js} +1 -1
- package/dist/cdn/{7GAWPJYN.js → T7PSBD2K.js} +2 -2
- package/dist/cdn/{QXX2SNE5.js → TCNQHM62.js} +2 -2
- package/dist/cdn/{QO2AZMFP.js → TCSANST6.js} +2 -2
- package/dist/cdn/{T7GSBDIG.js → TDOLI3MJ.js} +2 -2
- package/dist/cdn/{REW2XBKZ.js → TEZMIOXN.js} +1 -1
- package/dist/cdn/{IKBTX6QZ.js → TF7EVNSZ.js} +2 -2
- package/dist/cdn/{KOT36X5I.js → TP2TOJCY.js} +2 -2
- package/dist/cdn/{PHLPFYN3.js → TYK2KN46.js} +1 -1
- package/dist/cdn/{UNOFD42Q.js → U2DYOKUT.js} +1 -1
- package/dist/cdn/U5Q7L7IV.js +18 -0
- package/dist/cdn/{RRNRGQVC.js → UEUGCRSS.js} +2 -2
- package/dist/cdn/{CLFLK4OG.js → UEYUMFJR.js} +2 -2
- package/dist/cdn/{73OBTSKG.js → UFBKZY2Y.js} +2 -2
- package/dist/cdn/{3WHGZJJS.js → UFLRMHOA.js} +2 -2
- package/dist/cdn/{3WPZIU5L.js → UTXJRKVN.js} +2 -2
- package/dist/cdn/{SERCADIE.js → UVO4N63O.js} +2 -2
- package/dist/cdn/{2YG6C32T.js → V2XWGRQ4.js} +2 -2
- package/dist/cdn/{2S3FX57Y.js → V3TOUD4G.js} +2 -2
- package/dist/cdn/{MLY5XS76.js → V5B2ANE5.js} +2 -2
- package/dist/cdn/{FFZY7CPX.js → V6N2BOHM.js} +2 -2
- package/dist/cdn/{2ZWVBNPH.js → VBJBCOA4.js} +2 -2
- package/dist/cdn/VCHF7VKK.js +21 -0
- package/dist/cdn/{CFRDPWXR.js → VESAWDFI.js} +2 -2
- package/dist/cdn/{OQF6YVUK.js → VI5QNKY4.js} +2 -2
- package/dist/cdn/{ENUF5QK4.js → VIH4XUBT.js} +2 -2
- package/dist/cdn/{CHNYABSO.js → VLEOLXN7.js} +2 -2
- package/dist/cdn/{L6PIPEF2.js → VP644CSD.js} +2 -2
- package/dist/cdn/{6WW2DA2G.js → VYZBZ6Y7.js} +1 -1
- package/dist/cdn/{XVG5AXU3.js → W5J5NEH6.js} +2 -2
- package/dist/cdn/{OYGODC65.js → WBTYMW42.js} +2 -2
- package/dist/cdn/{LQVI3NR7.js → WCQUEVMF.js} +2 -2
- package/dist/cdn/WHOYKD3P.js +18 -0
- package/dist/cdn/{BUJ7HMXE.js → WIOAHEDF.js} +2 -2
- package/dist/cdn/{VK3OPHNA.js → WJWYDP5A.js} +2 -2
- package/dist/cdn/WLTAPFFM.js +18 -0
- package/dist/cdn/{4HFOPNFI.js → WOYZGDP4.js} +2 -2
- package/dist/cdn/{C7RFHH22.js → WPIWNKXJ.js} +2 -2
- package/dist/cdn/{76RER7LN.js → WRDZQGLN.js} +2 -2
- package/dist/cdn/{KX7PNFBK.js → WUCV5AYV.js} +2 -2
- package/dist/cdn/{Z2MGL6AZ.js → X463GSCH.js} +2 -2
- package/dist/cdn/{E23BMOKL.js → X5S5VG6G.js} +2 -2
- package/dist/cdn/{3P4LQ4TN.js → XBSAUMWE.js} +2 -2
- package/dist/cdn/{GQYBA7GH.js → XCJNZ6FA.js} +2 -2
- package/dist/cdn/{CE2PWV2T.js → XDQBYMET.js} +2 -2
- package/dist/cdn/XF4KJ7M4.js +18 -0
- package/dist/cdn/{T5CPOSYR.js → XF7HMOOJ.js} +1 -1
- package/dist/cdn/XFUMVODK.js +18 -0
- package/dist/cdn/XLWTPCSP.js +18 -0
- package/dist/cdn/{6XXBH32V.js → XOB3RAC7.js} +2 -2
- package/dist/cdn/XQ55W7BG.js +18 -0
- package/dist/cdn/{IMPPWVVG.js → XU4C7MA6.js} +2 -2
- package/dist/cdn/{UM5O6SR4.js → XWNG4K3N.js} +2 -2
- package/dist/cdn/{OUYGAAGX.js → YBQZUOZZ.js} +2 -2
- package/dist/cdn/{75CES5F2.js → YFOOZMDL.js} +2 -2
- package/dist/cdn/{HBNX26U7.js → YGQDCOUP.js} +2 -2
- package/dist/cdn/{W6XHOAIY.js → YJBALGDU.js} +2 -2
- package/dist/cdn/{W5O6BHYJ.js → YJGETEBD.js} +2 -2
- package/dist/cdn/{ANOEINZT.js → YRHLAWNX.js} +2 -2
- package/dist/cdn/{YMNTHO2F.js → Z2XWW7ZN.js} +2 -2
- package/dist/cdn/{G24DNHCB.js → Z5IRLGOP.js} +2 -2
- package/dist/cdn/{G37T64CV.js → Z7LU4D7Q.js} +2 -2
- package/dist/cdn/{JOSEALSV.js → Z7ML4UNP.js} +2 -2
- package/dist/cdn/{ZGXAJOK6.js → ZBDMKHIL.js} +2 -2
- package/dist/cdn/{YHMAN2VX.js → ZF56DPTU.js} +2 -2
- package/dist/cdn/{74AIX5RH.js → ZFEVJ556.js} +1 -1
- package/dist/cdn/{SGEGTSUZ.js → ZGS6ENKJ.js} +2 -2
- package/dist/cdn/{63DFPGXG.js → ZL6AJSDF.js} +2 -2
- package/dist/cdn/{7HWYZVCJ.js → ZMG4Y2N6.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +148 -133
- package/dist/components/arcgis-solutions-assistant/index.d.ts +0 -1
- package/dist/components/arcgis-solutions-assistant/index.js +0 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.d.ts +2 -2
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +1 -2
- package/dist/components/card-manager/customElement.js +2 -2
- package/dist/components/consent-manager/customElement.d.ts +5 -5
- package/dist/components/consent-manager/customElement.js +142 -142
- 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 +2 -2
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -6
- package/dist/components/crowdsource-reporter/customElement.js +6 -6
- package/dist/components/deduct-calculator/customElement.d.ts +0 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +2 -2
- package/dist/components/delete-dialog/customElement.js +2 -2
- package/dist/components/edit-card/customElement.js +6 -6
- package/dist/components/feature-details/customElement.d.ts +0 -2
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +44 -45
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.d.ts +0 -1
- package/dist/components/info-card/customElement.js +2 -2
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.d.ts +0 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +1 -2
- package/dist/components/layer-table/customElement.js +12 -12
- package/dist/components/map-card/customElement.d.ts +6 -9
- package/dist/components/map-card/customElement.js +17 -27
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +7 -7
- 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 +5 -5
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.d.ts +3 -5
- package/dist/components/map-select-tools/customElement.js +13 -13
- package/dist/components/map-tools/customElement.d.ts +4 -10
- package/dist/components/map-tools/customElement.js +7 -7
- package/dist/components/pci-calculator/customElement.js +9 -9
- package/dist/components/pdf-download/customElement.js +29 -37
- package/dist/components/public-notification/customElement.d.ts +5 -6
- package/dist/components/public-notification/customElement.js +6 -9
- package/dist/components/refine-selection/customElement.d.ts +1 -4
- package/dist/components/refine-selection/customElement.js +15 -15
- package/dist/components/selection-tool/customElement.d.ts +2 -2
- 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 +2 -2
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +0 -1
- package/dist/components/solution-delete-dialog/customElement.js +12 -10
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +8 -8
- package/dist/components/solution-deployed-card-panel/customElement.js +20 -19
- package/dist/components/solution-deployed-card-panel/index.d.ts +1 -0
- package/dist/components/solution-deployed-card-panel/index.js +1 -0
- package/dist/components/solution-deploying-dialog/customElement.js +20 -33
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +46 -53
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +2 -2
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +2 -2
- 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.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +34 -31
- package/dist/components/solutions-all-shell/index.d.ts +1 -1
- package/dist/components/solutions-all-shell/index.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +3 -3
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +70 -31
- package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
- package/dist/components/solutions-deploy-app-nav/index.js +4 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +12 -15
- package/dist/components/solutions-deployed-shell/index.d.ts +0 -1
- package/dist/components/solutions-deployed-shell/index.js +0 -1
- 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 +2 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +73 -63
- package/dist/components/solutions-searchsort-toolbar/index.d.ts +1 -1
- package/dist/components/solutions-searchsort-toolbar/index.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +74 -55
- package/dist/docs/docs.json +57 -33
- package/dist/docs/vscode.html-custom-data.json +17 -17
- package/dist/docs/web-types.json +57 -47
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/preact10.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/2CCBXSKK.js +0 -4
- package/dist/cdn/2PHLVPTR.js +0 -4
- package/dist/cdn/3LF35Q54.js +0 -4
- package/dist/cdn/4RTC5XWR.js +0 -18
- package/dist/cdn/5JZITWD2.js +0 -18
- package/dist/cdn/5N7W6CKG.js +0 -18
- package/dist/cdn/5ROXJJIZ.js +0 -18
- package/dist/cdn/C5H65524.js +0 -18
- package/dist/cdn/D67LKKO3.js +0 -18
- package/dist/cdn/D7WDGASK.js +0 -65
- package/dist/cdn/DQZF7IPW.js +0 -18
- package/dist/cdn/DUYSEICC.js +0 -18
- package/dist/cdn/EE3RLK54.js +0 -18
- package/dist/cdn/EJX4TNGV.js +0 -18
- package/dist/cdn/EY4LNEPF.js +0 -18
- package/dist/cdn/FVLOODPF.js +0 -18
- package/dist/cdn/GDO7SFZU.js +0 -18
- package/dist/cdn/HFSAMU3B.js +0 -18
- package/dist/cdn/HWKBNZEW.js +0 -18
- package/dist/cdn/ILRIV2PZ.js +0 -18
- package/dist/cdn/JYBZAUFS.js +0 -18
- package/dist/cdn/K2C56RZ4.js +0 -21
- package/dist/cdn/K3OZMGZ3.js +0 -4
- package/dist/cdn/LCZYX2MS.js +0 -18
- package/dist/cdn/LPQM324E.js +0 -18
- package/dist/cdn/MZVQVHJA.js +0 -18
- package/dist/cdn/OOSMF7MX.js +0 -18
- package/dist/cdn/P7A24J32.js +0 -18
- package/dist/cdn/QU33YK2I.js +0 -4
- package/dist/cdn/RXDDH7T7.js +0 -4
- package/dist/cdn/T6NNOIF5.js +0 -4
- package/dist/cdn/TRN3X66C.js +0 -18
- package/dist/cdn/TW7EJR75.js +0 -18
- package/dist/cdn/VGHU623Q.js +0 -18
- package/dist/cdn/XDEV64FQ.js +0 -18
- package/dist/cdn/Y5S76IXI.js +0 -4
- package/dist/cdn/ZDTIXH2P.js +0 -18
- package/dist/cdn/ZF5KTUHD.js +0 -18
- package/dist/cdn/ZLEHSIQE.js +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { ref as
|
|
3
|
-
import { u as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { unsafeHTML as
|
|
1
|
+
import { c as we } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as te } from "lit/directives/ref.js";
|
|
3
|
+
import { u as ve } from "../../chunks/useT9n.js";
|
|
4
|
+
import { LitElement as ye, createEvent as Se, nothing as O, safeClassMap as $e } from "@arcgis/lumina";
|
|
5
|
+
import { css as _e, html as b } from "lit";
|
|
6
|
+
import { unsafeHTML as Re } from "lit/directives/unsafe-html.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
9
|
-
v1.2.0-next.
|
|
10
|
-
const
|
|
9
|
+
v1.2.0-next.26 */
|
|
10
|
+
const Te = _e`: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}`;
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
13
13
|
* Copyright 2025 Esri
|
|
@@ -24,12 +24,12 @@ const Ie = Re`:host{display:block;height:100%}.display-flex-row{display:flex;fle
|
|
|
24
24
|
* See the License for the specific language governing permissions and
|
|
25
25
|
* limitations under the License.
|
|
26
26
|
*/
|
|
27
|
-
const
|
|
28
|
-
async function
|
|
29
|
-
return await
|
|
27
|
+
const Ie = "https://www.arcgis.com/sharing/rest/content/items/";
|
|
28
|
+
async function Ae(n) {
|
|
29
|
+
return await ze(n);
|
|
30
30
|
}
|
|
31
|
-
async function
|
|
32
|
-
const e =
|
|
31
|
+
async function ze(n) {
|
|
32
|
+
const e = Ie + n + "?f=json";
|
|
33
33
|
try {
|
|
34
34
|
const s = await fetch(
|
|
35
35
|
e,
|
|
@@ -45,9 +45,9 @@ async function Ce(n) {
|
|
|
45
45
|
function j() {
|
|
46
46
|
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
|
|
47
47
|
}
|
|
48
|
-
var
|
|
49
|
-
function
|
|
50
|
-
|
|
48
|
+
var $ = j();
|
|
49
|
+
function oe(n) {
|
|
50
|
+
$ = n;
|
|
51
51
|
}
|
|
52
52
|
var A = { exec: () => null };
|
|
53
53
|
function u(n, e = "") {
|
|
@@ -57,21 +57,21 @@ function u(n, e = "") {
|
|
|
57
57
|
}, getRegex: () => new RegExp(s, e) };
|
|
58
58
|
return r;
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var Ce = (() => {
|
|
61
61
|
try {
|
|
62
62
|
return !!new RegExp("(?<=1)(?<!1)");
|
|
63
63
|
} catch {
|
|
64
64
|
return !1;
|
|
65
65
|
}
|
|
66
|
-
})(), 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") },
|
|
67
|
-
]`).replace("lheading",
|
|
66
|
+
})(), 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]\] +/, listTaskCheckbox: /\[[ 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|$))+/, Le = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ee = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, z = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Me = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ce = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, he = u(ce).replace(/bull/g, F).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(), Pe = u(ce).replace(/bull/g, F).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(), U = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Be = /^[^\n]+/, H = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Qe = u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", H).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Oe = u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), M = "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", G = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ze = 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", G).replace("tag", M).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ue = u(U).replace("hr", z).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", M).getRegex(), De = u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ue).getRegex(), K = { blockquote: De, code: Le, def: Qe, fences: Ee, heading: Me, hr: z, html: Ze, lheading: he, list: Oe, newline: qe, paragraph: ue, table: A, text: Be }, se = u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", z).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", M).getRegex(), Ne = { ...K, lheading: Pe, table: se, paragraph: u(U).replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", se).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", M).getRegex() }, je = { ...K, html: u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", G).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: A, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: u(U).replace("hr", z).replace("heading", ` *#{1,6} *[^
|
|
67
|
+
]`).replace("lheading", he).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Fe = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ue = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, pe = /^( {2,}|\\)\n(?!\s*$)/, He = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, P = /[\p{P}\p{S}]/u, X = /[\s\p{P}\p{S}]/u, de = /[^\s\p{P}\p{S}]/u, Ge = u(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, X).getRegex(), ge = /(?!~)[\p{P}\p{S}]/u, Ke = /(?!~)[\s\p{P}\p{S}]/u, Xe = /(?:[^\s\p{P}\p{S}]|~)/u, We = u(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Ce ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), fe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Je = u(fe, "u").replace(/punct/g, P).getRegex(), Ve = u(fe, "u").replace(/punct/g, ge).getRegex(), ke = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ye = u(ke, "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, X).replace(/punct/g, P).getRegex(), et = u(ke, "gu").replace(/notPunctSpace/g, Xe).replace(/punctSpace/g, Ke).replace(/punct/g, ge).getRegex(), tt = u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, X).replace(/punct/g, P).getRegex(), st = u(/\\(punct)/, "gu").replace(/punct/g, P).getRegex(), nt = 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(), rt = u(G).replace("(?:-->|$)", "-->").getRegex(), it = 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", rt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, at = u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), be = u(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", H).getRegex(), xe = u(/^!?\[(ref)\](?:\[\])?/).replace("ref", H).getRegex(), lt = u("reflink|nolink(?!\\()", "g").replace("reflink", be).replace("nolink", xe).getRegex(), ne = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, W = { _backpedal: A, anyPunctuation: st, autolink: nt, blockSkip: We, br: pe, code: Ue, del: A, emStrongLDelim: Je, emStrongRDelimAst: Ye, emStrongRDelimUnd: tt, escape: Fe, link: at, nolink: xe, punctuation: Ge, reflink: be, reflinkSearch: lt, tag: it, text: He, url: A }, ot = { ...W, link: u(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, Z = { ...W, emStrongRDelimAst: et, emStrongLDelim: Ve, url: u(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", ne).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: u(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", ne).getRegex() }, ct = { ...Z, br: u(pe).replace("{2,}", "*").getRegex(), text: u(Z.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K, gfm: Ne, pedantic: je }, R = { normal: W, gfm: Z, breaks: ct, pedantic: ot }, ht = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, re = (n) => ht[n];
|
|
68
68
|
function y(n, e) {
|
|
69
69
|
if (e) {
|
|
70
|
-
if (x.escapeTest.test(n)) return n.replace(x.escapeReplace,
|
|
71
|
-
} else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode,
|
|
70
|
+
if (x.escapeTest.test(n)) return n.replace(x.escapeReplace, re);
|
|
71
|
+
} else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode, re);
|
|
72
72
|
return n;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ie(n) {
|
|
75
75
|
try {
|
|
76
76
|
n = encodeURI(n).replace(x.percentDecode, "%");
|
|
77
77
|
} catch {
|
|
@@ -79,7 +79,7 @@ function ae(n) {
|
|
|
79
79
|
}
|
|
80
80
|
return n;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ae(n, e) {
|
|
83
83
|
let s = n.replace(x.findPipe, (a, i, o) => {
|
|
84
84
|
let l = !1, h = i;
|
|
85
85
|
for (; --h >= 0 && o[h] === "\\"; ) l = !l;
|
|
@@ -98,7 +98,7 @@ function T(n, e, s) {
|
|
|
98
98
|
t++;
|
|
99
99
|
return n.slice(0, r - t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ut(n, e) {
|
|
102
102
|
if (n.indexOf(e[1]) === -1) return -1;
|
|
103
103
|
let s = 0;
|
|
104
104
|
for (let r = 0; r < n.length; r++) if (n[r] === "\\") r++;
|
|
@@ -106,13 +106,13 @@ function pt(n, e) {
|
|
|
106
106
|
else if (n[r] === e[1] && (s--, s < 0)) return r;
|
|
107
107
|
return s > 0 ? -2 : -1;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function le(n, e, s, r, t) {
|
|
110
110
|
let a = e.href, i = e.title || null, o = n[1].replace(t.other.outputLinkReplace, "$1");
|
|
111
111
|
r.state.inLink = !0;
|
|
112
112
|
let l = { type: n[0].charAt(0) === "!" ? "image" : "link", raw: s, href: a, title: i, text: o, tokens: r.inlineTokens(o) };
|
|
113
113
|
return r.state.inLink = !1, l;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function pt(n, e, s) {
|
|
116
116
|
let r = n.match(s.other.indentCodeCompensation);
|
|
117
117
|
if (r === null) return e;
|
|
118
118
|
let t = r[1];
|
|
@@ -130,7 +130,7 @@ var L = class {
|
|
|
130
130
|
rules;
|
|
131
131
|
lexer;
|
|
132
132
|
constructor(n) {
|
|
133
|
-
this.options = n ||
|
|
133
|
+
this.options = n || $;
|
|
134
134
|
}
|
|
135
135
|
space(n) {
|
|
136
136
|
let e = this.rules.block.newline.exec(n);
|
|
@@ -147,7 +147,7 @@ var L = class {
|
|
|
147
147
|
fences(n) {
|
|
148
148
|
let e = this.rules.block.fences.exec(n);
|
|
149
149
|
if (e) {
|
|
150
|
-
let s = e[0], r =
|
|
150
|
+
let s = e[0], r = pt(s, e[3] || "", this.rules);
|
|
151
151
|
return { type: "code", raw: s, lang: e[2] ? e[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : e[2], text: r };
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -192,14 +192,14 @@ ${c}` : c;
|
|
|
192
192
|
if (p?.type === "blockquote") {
|
|
193
193
|
let k = p, f = k.raw + `
|
|
194
194
|
` + s.join(`
|
|
195
|
-
`),
|
|
196
|
-
a[a.length - 1] =
|
|
195
|
+
`), m = this.blockquote(f);
|
|
196
|
+
a[a.length - 1] = m, r = r.substring(0, r.length - k.raw.length) + m.raw, t = t.substring(0, t.length - k.text.length) + m.text;
|
|
197
197
|
break;
|
|
198
198
|
} else if (p?.type === "list") {
|
|
199
199
|
let k = p, f = k.raw + `
|
|
200
200
|
` + s.join(`
|
|
201
|
-
`),
|
|
202
|
-
a[a.length - 1] =
|
|
201
|
+
`), m = this.list(f);
|
|
202
|
+
a[a.length - 1] = m, r = r.substring(0, r.length - p.raw.length) + m.raw, t = t.substring(0, t.length - k.raw.length) + m.raw, s = f.substring(a.at(-1).raw.length).split(`
|
|
203
203
|
`);
|
|
204
204
|
continue;
|
|
205
205
|
}
|
|
@@ -222,15 +222,15 @@ ${c}` : c;
|
|
|
222
222
|
`, 1)[0], k = !g.trim(), f = 0;
|
|
223
223
|
if (this.options.pedantic ? (f = 2, c = g.trimStart()) : k ? f = e[1].length + 1 : (f = e[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c = g.slice(f), f += e[1].length), k && this.rules.other.blankLine.test(p) && (h += p + `
|
|
224
224
|
`, n = n.substring(p.length + 1), l = !0), !l) {
|
|
225
|
-
let B = this.rules.other.nextBulletRegex(f),
|
|
225
|
+
let B = this.rules.other.nextBulletRegex(f), V = this.rules.other.hrRegex(f), Y = this.rules.other.fencesBeginRegex(f), ee = this.rules.other.headingBeginRegex(f), me = this.rules.other.htmlBeginRegex(f);
|
|
226
226
|
for (; n; ) {
|
|
227
227
|
let Q = n.split(`
|
|
228
228
|
`, 1)[0], _;
|
|
229
|
-
if (p = Q, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), _ = p) : _ = p.replace(this.rules.other.tabCharGlobal, " "),
|
|
229
|
+
if (p = Q, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), _ = p) : _ = p.replace(this.rules.other.tabCharGlobal, " "), Y.test(p) || ee.test(p) || me.test(p) || B.test(p) || V.test(p)) break;
|
|
230
230
|
if (_.search(this.rules.other.nonSpaceChar) >= f || !p.trim()) c += `
|
|
231
231
|
` + _.slice(f);
|
|
232
232
|
else {
|
|
233
|
-
if (k || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
233
|
+
if (k || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Y.test(g) || ee.test(g) || V.test(g)) break;
|
|
234
234
|
c += `
|
|
235
235
|
` + p;
|
|
236
236
|
}
|
|
@@ -239,18 +239,30 @@ ${c}` : c;
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
t.loose || (i ? t.loose = !0 : this.rules.other.doubleBlankLine.test(h) && (i = !0));
|
|
242
|
-
let
|
|
243
|
-
this.options.gfm && (
|
|
242
|
+
let m = null;
|
|
243
|
+
this.options.gfm && (m = this.rules.other.listIsTask.exec(c), m && (c = c.replace(this.rules.other.listReplaceTask, ""))), t.items.push({ type: "list_item", raw: h, task: !!m, loose: !1, text: c, tokens: [] }), t.raw += h;
|
|
244
244
|
}
|
|
245
245
|
let o = t.items.at(-1);
|
|
246
246
|
if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
|
|
247
247
|
else return;
|
|
248
248
|
t.raw = t.raw.trimEnd();
|
|
249
|
-
for (let l
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
for (let l of t.items) {
|
|
250
|
+
if (this.lexer.state.top = !1, l.tokens = this.lexer.blockTokens(l.text, []), l.task) {
|
|
251
|
+
let h = this.rules.other.listTaskCheckbox.exec(l.raw);
|
|
252
|
+
if (h) {
|
|
253
|
+
let c = { type: "checkbox", raw: h[0] + " ", checked: h[0] !== "[ ]" };
|
|
254
|
+
l.checked = c.checked, t.loose ? l.tokens[0] && ["paragraph", "text"].includes(l.tokens[0].type) && "tokens" in l.tokens[0] && l.tokens[0].tokens ? (l.tokens[0].raw = c.raw + l.tokens[0].raw, l.tokens[0].text = c.raw + l.tokens[0].text, l.tokens[0].tokens.unshift(c)) : l.tokens.unshift({ type: "paragraph", raw: c.raw, text: c.raw, tokens: [c] }) : l.tokens.unshift(c);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
if (!t.loose) {
|
|
258
|
+
let h = l.tokens.filter((g) => g.type === "space"), c = h.length > 0 && h.some((g) => this.rules.other.anyLine.test(g.raw));
|
|
259
|
+
t.loose = c;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
if (t.loose) for (let l of t.items) {
|
|
263
|
+
l.loose = !0;
|
|
264
|
+
for (let h of l.tokens) h.type === "text" && (h.type = "paragraph");
|
|
252
265
|
}
|
|
253
|
-
if (t.loose) for (let l = 0; l < t.items.length; l++) t.items[l].loose = !0;
|
|
254
266
|
return t;
|
|
255
267
|
}
|
|
256
268
|
}
|
|
@@ -268,12 +280,12 @@ ${c}` : c;
|
|
|
268
280
|
table(n) {
|
|
269
281
|
let e = this.rules.block.table.exec(n);
|
|
270
282
|
if (!e || !this.rules.other.tableDelimiter.test(e[2])) return;
|
|
271
|
-
let s =
|
|
283
|
+
let s = ae(e[1]), r = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), t = e[3]?.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
|
|
272
284
|
`) : [], a = { type: "table", raw: e[0], header: [], align: [], rows: [] };
|
|
273
285
|
if (s.length === r.length) {
|
|
274
286
|
for (let i of r) this.rules.other.tableAlignRight.test(i) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(i) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(i) ? a.align.push("left") : a.align.push(null);
|
|
275
287
|
for (let i = 0; i < s.length; i++) a.header.push({ text: s[i], tokens: this.lexer.inline(s[i]), header: !0, align: a.align[i] });
|
|
276
|
-
for (let i of t) a.rows.push(
|
|
288
|
+
for (let i of t) a.rows.push(ae(i, a.header.length).map((o, l) => ({ text: o, tokens: this.lexer.inline(o), header: !1, align: a.align[l] })));
|
|
277
289
|
return a;
|
|
278
290
|
}
|
|
279
291
|
}
|
|
@@ -310,7 +322,7 @@ ${c}` : c;
|
|
|
310
322
|
let a = T(s.slice(0, -1), "\\");
|
|
311
323
|
if ((s.length - a.length) % 2 === 0) return;
|
|
312
324
|
} else {
|
|
313
|
-
let a =
|
|
325
|
+
let a = ut(e[2], "()");
|
|
314
326
|
if (a === -2) return;
|
|
315
327
|
if (a > -1) {
|
|
316
328
|
let i = (e[0].indexOf("!") === 0 ? 5 : 4) + e[1].length + a;
|
|
@@ -322,7 +334,7 @@ ${c}` : c;
|
|
|
322
334
|
let a = this.rules.other.pedanticHrefTitle.exec(r);
|
|
323
335
|
a && (r = a[1], t = a[3]);
|
|
324
336
|
} else t = e[3] ? e[3].slice(1, -1) : "";
|
|
325
|
-
return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? r = r.slice(1) : r = r.slice(1, -1)),
|
|
337
|
+
return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? r = r.slice(1) : r = r.slice(1, -1)), le(e, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: t && t.replace(this.rules.inline.anyPunctuation, "$1") }, e[0], this.lexer, this.rules);
|
|
326
338
|
}
|
|
327
339
|
}
|
|
328
340
|
reflink(n, e) {
|
|
@@ -333,7 +345,7 @@ ${c}` : c;
|
|
|
333
345
|
let a = s[0].charAt(0);
|
|
334
346
|
return { type: "text", raw: a, text: a };
|
|
335
347
|
}
|
|
336
|
-
return
|
|
348
|
+
return le(s, t, s[0], this.lexer, this.rules);
|
|
337
349
|
}
|
|
338
350
|
}
|
|
339
351
|
emStrong(n, e, s = "") {
|
|
@@ -412,7 +424,7 @@ ${c}` : c;
|
|
|
412
424
|
tokenizer;
|
|
413
425
|
inlineQueue;
|
|
414
426
|
constructor(e) {
|
|
415
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e ||
|
|
427
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || $, this.options.tokenizer = this.options.tokenizer || new L(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
|
|
416
428
|
let s = { other: x, block: C.normal, inline: R.normal };
|
|
417
429
|
this.options.pedantic ? (s.block = C.pedantic, s.inline = R.pedantic) : this.options.gfm && (s.block = C.gfm, this.options.breaks ? s.inline = R.breaks : s.inline = R.gfm), this.tokenizer.rules = s;
|
|
418
430
|
}
|
|
@@ -616,7 +628,7 @@ ${c}` : c;
|
|
|
616
628
|
options;
|
|
617
629
|
parser;
|
|
618
630
|
constructor(n) {
|
|
619
|
-
this.options = n ||
|
|
631
|
+
this.options = n || $;
|
|
620
632
|
}
|
|
621
633
|
space(n) {
|
|
622
634
|
return "";
|
|
@@ -659,16 +671,11 @@ ${this.parser.parse(n)}</blockquote>
|
|
|
659
671
|
`;
|
|
660
672
|
}
|
|
661
673
|
listitem(n) {
|
|
662
|
-
|
|
663
|
-
if (n.task) {
|
|
664
|
-
let s = this.checkbox({ checked: !!n.checked });
|
|
665
|
-
n.loose ? n.tokens[0]?.type === "paragraph" ? (n.tokens[0].text = s + " " + n.tokens[0].text, n.tokens[0].tokens && n.tokens[0].tokens.length > 0 && n.tokens[0].tokens[0].type === "text" && (n.tokens[0].tokens[0].text = s + " " + y(n.tokens[0].tokens[0].text), n.tokens[0].tokens[0].escaped = !0)) : n.tokens.unshift({ type: "text", raw: s + " ", text: s + " ", escaped: !0 }) : e += s + " ";
|
|
666
|
-
}
|
|
667
|
-
return e += this.parser.parse(n.tokens, !!n.loose), `<li>${e}</li>
|
|
674
|
+
return `<li>${this.parser.parse(n.tokens)}</li>
|
|
668
675
|
`;
|
|
669
676
|
}
|
|
670
677
|
checkbox({ checked: n }) {
|
|
671
|
-
return "<input " + (n ? 'checked="" ' : "") + 'disabled="" type="checkbox">';
|
|
678
|
+
return "<input " + (n ? 'checked="" ' : "") + 'disabled="" type="checkbox"> ';
|
|
672
679
|
}
|
|
673
680
|
paragraph({ tokens: n }) {
|
|
674
681
|
return `<p>${this.parser.parseInline(n)}</p>
|
|
@@ -717,7 +724,7 @@ ${n}</tr>
|
|
|
717
724
|
return `<del>${this.parser.parseInline(n)}</del>`;
|
|
718
725
|
}
|
|
719
726
|
link({ href: n, title: e, tokens: s }) {
|
|
720
|
-
let r = this.parser.parseInline(s), t =
|
|
727
|
+
let r = this.parser.parseInline(s), t = ie(n);
|
|
721
728
|
if (t === null) return r;
|
|
722
729
|
n = t;
|
|
723
730
|
let a = '<a href="' + n + '"';
|
|
@@ -725,7 +732,7 @@ ${n}</tr>
|
|
|
725
732
|
}
|
|
726
733
|
image({ href: n, title: e, text: s, tokens: r }) {
|
|
727
734
|
r && (s = this.parser.parseInline(r, this.parser.textRenderer));
|
|
728
|
-
let t =
|
|
735
|
+
let t = ie(n);
|
|
729
736
|
if (t === null) return y(s);
|
|
730
737
|
n = t;
|
|
731
738
|
let a = `<img src="${n}" alt="${s}"`;
|
|
@@ -762,12 +769,15 @@ ${n}</tr>
|
|
|
762
769
|
br() {
|
|
763
770
|
return "";
|
|
764
771
|
}
|
|
772
|
+
checkbox({ raw: n }) {
|
|
773
|
+
return n;
|
|
774
|
+
}
|
|
765
775
|
}, v = class N {
|
|
766
776
|
options;
|
|
767
777
|
renderer;
|
|
768
778
|
textRenderer;
|
|
769
779
|
constructor(e) {
|
|
770
|
-
this.options = e ||
|
|
780
|
+
this.options = e || $, this.options.renderer = this.options.renderer || new E(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new J();
|
|
771
781
|
}
|
|
772
782
|
static parse(e, s) {
|
|
773
783
|
return new N(s).parse(e);
|
|
@@ -775,74 +785,75 @@ ${n}</tr>
|
|
|
775
785
|
static parseInline(e, s) {
|
|
776
786
|
return new N(s).parseInline(e);
|
|
777
787
|
}
|
|
778
|
-
parse(e
|
|
779
|
-
let
|
|
780
|
-
for (let
|
|
781
|
-
let
|
|
782
|
-
if (this.options.extensions?.renderers?.[
|
|
783
|
-
let
|
|
784
|
-
if (
|
|
785
|
-
|
|
788
|
+
parse(e) {
|
|
789
|
+
let s = "";
|
|
790
|
+
for (let r = 0; r < e.length; r++) {
|
|
791
|
+
let t = e[r];
|
|
792
|
+
if (this.options.extensions?.renderers?.[t.type]) {
|
|
793
|
+
let i = t, o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
|
|
794
|
+
if (o !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(i.type)) {
|
|
795
|
+
s += o || "";
|
|
786
796
|
continue;
|
|
787
797
|
}
|
|
788
798
|
}
|
|
789
|
-
let
|
|
790
|
-
switch (
|
|
799
|
+
let a = t;
|
|
800
|
+
switch (a.type) {
|
|
791
801
|
case "space": {
|
|
792
|
-
|
|
793
|
-
|
|
802
|
+
s += this.renderer.space(a);
|
|
803
|
+
break;
|
|
794
804
|
}
|
|
795
805
|
case "hr": {
|
|
796
|
-
|
|
797
|
-
|
|
806
|
+
s += this.renderer.hr(a);
|
|
807
|
+
break;
|
|
798
808
|
}
|
|
799
809
|
case "heading": {
|
|
800
|
-
|
|
801
|
-
|
|
810
|
+
s += this.renderer.heading(a);
|
|
811
|
+
break;
|
|
802
812
|
}
|
|
803
813
|
case "code": {
|
|
804
|
-
|
|
805
|
-
|
|
814
|
+
s += this.renderer.code(a);
|
|
815
|
+
break;
|
|
806
816
|
}
|
|
807
817
|
case "table": {
|
|
808
|
-
|
|
809
|
-
|
|
818
|
+
s += this.renderer.table(a);
|
|
819
|
+
break;
|
|
810
820
|
}
|
|
811
821
|
case "blockquote": {
|
|
812
|
-
|
|
813
|
-
|
|
822
|
+
s += this.renderer.blockquote(a);
|
|
823
|
+
break;
|
|
814
824
|
}
|
|
815
825
|
case "list": {
|
|
816
|
-
|
|
817
|
-
|
|
826
|
+
s += this.renderer.list(a);
|
|
827
|
+
break;
|
|
828
|
+
}
|
|
829
|
+
case "checkbox": {
|
|
830
|
+
s += this.renderer.checkbox(a);
|
|
831
|
+
break;
|
|
818
832
|
}
|
|
819
833
|
case "html": {
|
|
820
|
-
|
|
821
|
-
|
|
834
|
+
s += this.renderer.html(a);
|
|
835
|
+
break;
|
|
822
836
|
}
|
|
823
837
|
case "def": {
|
|
824
|
-
|
|
825
|
-
|
|
838
|
+
s += this.renderer.def(a);
|
|
839
|
+
break;
|
|
826
840
|
}
|
|
827
841
|
case "paragraph": {
|
|
828
|
-
|
|
829
|
-
|
|
842
|
+
s += this.renderer.paragraph(a);
|
|
843
|
+
break;
|
|
830
844
|
}
|
|
831
845
|
case "text": {
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
` + this.renderer.text(o);
|
|
835
|
-
s ? r += this.renderer.paragraph({ type: "paragraph", raw: l, text: l, tokens: [{ type: "text", raw: l, text: l, escaped: !0 }] }) : r += l;
|
|
836
|
-
continue;
|
|
846
|
+
s += this.renderer.text(a);
|
|
847
|
+
break;
|
|
837
848
|
}
|
|
838
849
|
default: {
|
|
839
|
-
let
|
|
840
|
-
if (this.options.silent) return console.error(
|
|
841
|
-
throw new Error(
|
|
850
|
+
let i = 'Token with "' + a.type + '" type was not found.';
|
|
851
|
+
if (this.options.silent) return console.error(i), "";
|
|
852
|
+
throw new Error(i);
|
|
842
853
|
}
|
|
843
854
|
}
|
|
844
855
|
}
|
|
845
|
-
return
|
|
856
|
+
return s;
|
|
846
857
|
}
|
|
847
858
|
parseInline(e, s = this.renderer) {
|
|
848
859
|
let r = "";
|
|
@@ -873,6 +884,10 @@ ${n}</tr>
|
|
|
873
884
|
r += s.image(i);
|
|
874
885
|
break;
|
|
875
886
|
}
|
|
887
|
+
case "checkbox": {
|
|
888
|
+
r += s.checkbox(i);
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
876
891
|
case "strong": {
|
|
877
892
|
r += s.strong(i);
|
|
878
893
|
break;
|
|
@@ -910,7 +925,7 @@ ${n}</tr>
|
|
|
910
925
|
options;
|
|
911
926
|
block;
|
|
912
927
|
constructor(n) {
|
|
913
|
-
this.options = n ||
|
|
928
|
+
this.options = n || $;
|
|
914
929
|
}
|
|
915
930
|
static passThroughHooks = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"]);
|
|
916
931
|
static passThroughHooksRespectAsync = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"]);
|
|
@@ -932,7 +947,7 @@ ${n}</tr>
|
|
|
932
947
|
provideParser() {
|
|
933
948
|
return this.block ? v.parse : v.parseInline;
|
|
934
949
|
}
|
|
935
|
-
},
|
|
950
|
+
}, dt = class {
|
|
936
951
|
defaults = j();
|
|
937
952
|
options = this.setOptions;
|
|
938
953
|
parse = this.parseMarkdown(!0);
|
|
@@ -1092,22 +1107,22 @@ Please report this to https://github.com/markedjs/marked.`, n) {
|
|
|
1092
1107
|
throw s;
|
|
1093
1108
|
};
|
|
1094
1109
|
}
|
|
1095
|
-
},
|
|
1110
|
+
}, S = new dt();
|
|
1096
1111
|
function d(n, e) {
|
|
1097
|
-
return
|
|
1112
|
+
return S.parse(n, e);
|
|
1098
1113
|
}
|
|
1099
1114
|
d.options = d.setOptions = function(n) {
|
|
1100
|
-
return
|
|
1115
|
+
return S.setOptions(n), d.defaults = S.defaults, oe(d.defaults), d;
|
|
1101
1116
|
};
|
|
1102
1117
|
d.getDefaults = j;
|
|
1103
|
-
d.defaults =
|
|
1118
|
+
d.defaults = $;
|
|
1104
1119
|
d.use = function(...n) {
|
|
1105
|
-
return
|
|
1120
|
+
return S.use(...n), d.defaults = S.defaults, oe(d.defaults), d;
|
|
1106
1121
|
};
|
|
1107
1122
|
d.walkTokens = function(n, e) {
|
|
1108
|
-
return
|
|
1123
|
+
return S.walkTokens(n, e);
|
|
1109
1124
|
};
|
|
1110
|
-
d.parseInline =
|
|
1125
|
+
d.parseInline = S.parseInline;
|
|
1111
1126
|
d.Parser = v;
|
|
1112
1127
|
d.parser = v.parse;
|
|
1113
1128
|
d.Renderer = E;
|
|
@@ -1124,13 +1139,13 @@ d.walkTokens;
|
|
|
1124
1139
|
d.parseInline;
|
|
1125
1140
|
v.parse;
|
|
1126
1141
|
w.lex;
|
|
1127
|
-
class
|
|
1142
|
+
class gt extends ye {
|
|
1128
1143
|
constructor() {
|
|
1129
1144
|
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 = {
|
|
1130
1145
|
conversationId: null,
|
|
1131
1146
|
inquiryId: null,
|
|
1132
1147
|
ackSequenceNumber: null
|
|
1133
|
-
}, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this.
|
|
1148
|
+
}, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this._translations = ve({ name: "arcgis-solutions-assistant", blocking: !0 }), this.closeAssistant = Se(), this._resetConversation = () => {
|
|
1134
1149
|
this.conversationStore.conversationId = null, this.conversationStore.inquiryId = null, this.conversationStore.ackSequenceNumber = null;
|
|
1135
1150
|
}, this._setMessageContainerRef = (e) => {
|
|
1136
1151
|
this._chatContainer = e;
|
|
@@ -1147,10 +1162,10 @@ class ft extends $e {
|
|
|
1147
1162
|
});
|
|
1148
1163
|
}
|
|
1149
1164
|
static {
|
|
1150
|
-
this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16,
|
|
1165
|
+
this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16, _translations: 16 };
|
|
1151
1166
|
}
|
|
1152
1167
|
static {
|
|
1153
|
-
this.styles =
|
|
1168
|
+
this.styles = Te;
|
|
1154
1169
|
}
|
|
1155
1170
|
async handleSendMessage() {
|
|
1156
1171
|
if (!this._inputRef?.value.trim())
|
|
@@ -1316,63 +1331,59 @@ class ft extends $e {
|
|
|
1316
1331
|
(e.size || this._isLoading) && this._scrollToBottom();
|
|
1317
1332
|
}
|
|
1318
1333
|
_renderFeedback(e, s, r, t) {
|
|
1319
|
-
return
|
|
1334
|
+
return b`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${() => {
|
|
1320
1335
|
this._sendFeedback(e, s, "Good", r, t);
|
|
1321
1336
|
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${() => {
|
|
1322
1337
|
this._sendFeedback(e, s, "Bad", r, t);
|
|
1323
|
-
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${() => {
|
|
1324
|
-
this._copyResponseToClipboard(e);
|
|
1338
|
+
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${(a) => {
|
|
1339
|
+
this._copyResponseToClipboard(e, a);
|
|
1325
1340
|
}}></calcite-button></div>`;
|
|
1326
1341
|
}
|
|
1327
1342
|
_renderSolutionQuestionReferences(e) {
|
|
1328
|
-
return e.map((s) =>
|
|
1343
|
+
return e.map((s) => b`<div class="message-content-pad"><a href=${s.url ?? O} target=_blank>${s.title}</a></div>`);
|
|
1329
1344
|
}
|
|
1330
1345
|
_renderSolutionQuestionFollowup(e) {
|
|
1331
|
-
return e.map((s) =>
|
|
1346
|
+
return e.map((s) => b`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${() => {
|
|
1332
1347
|
this._submitFollowupQuestion(s);
|
|
1333
1348
|
}}>${s}</calcite-chip>`);
|
|
1334
1349
|
}
|
|
1335
1350
|
_renderSolutionsQuestionTable(e, s, r) {
|
|
1336
1351
|
const t = this._renderSolutionQuestionReferences(s), a = this._renderSolutionQuestionFollowup(r);
|
|
1337
|
-
return
|
|
1352
|
+
return b`<div><div slot=description class="message-content">${Re(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${(i) => {
|
|
1338
1353
|
const o = i.currentTarget.parentElement?.nextElementSibling;
|
|
1339
1354
|
o.classList.toggle("collapsed"), i.currentTarget.setAttribute("icon-end", o.classList.contains("collapsed") ? "chevron-down" : "chevron-up");
|
|
1340
1355
|
}}>${`${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>`;
|
|
1341
1356
|
}
|
|
1342
1357
|
_renderSolutionCard(e, s) {
|
|
1343
|
-
return
|
|
1358
|
+
return b`<a class="solution-card" id=${s ?? O} @click=${() => {
|
|
1344
1359
|
this._emitItemIdFromAI(s);
|
|
1345
|
-
}}>${
|
|
1360
|
+
}}>${b`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail ?? O} 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>`;
|
|
1346
1361
|
}
|
|
1347
1362
|
_renderExistingSolutionsTable(e, s) {
|
|
1348
1363
|
const r = s.map((t) => {
|
|
1349
1364
|
const a = t.thumbnail.match(/\/items\/([a-f0-9]+)\//);
|
|
1350
1365
|
return a ? this._renderSolutionCard(t, a[1]) : null;
|
|
1351
1366
|
}).filter((t) => t !== null);
|
|
1352
|
-
return
|
|
1367
|
+
return b`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${r}</div></div>`;
|
|
1353
1368
|
}
|
|
1354
1369
|
_renderSimpleTextMessage(e, s, r, t, a) {
|
|
1355
1370
|
const i = this.messages.length >= 2 ? this._getMostRecentQuestion() : "", o = typeof i == "string" ? "" : i?.message ?? "";
|
|
1356
|
-
return s === "system" ?
|
|
1371
|
+
return s === "system" ? b`<div class="message-content message-content-alignment">${a && b`<calcite-icon .icon=${a}></calcite-icon>` || ""}${e}</div>` : b`<calcite-card class=${$e(s === "human" ? "user-message" : "system-message")}><div class="message-content">${e}${s === "ai" && r !== "" && this._renderFeedback(e, o, r, t) || ""}</div></calcite-card>`;
|
|
1357
1372
|
}
|
|
1358
1373
|
_renderDocAssistantResults(e, s, r, t, a, i) {
|
|
1359
1374
|
const o = this._getMostRecentQuestion();
|
|
1360
|
-
return
|
|
1375
|
+
return b`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e, r, t)}${this._renderFeedback(s, o?.message ?? "", a, i)}</div></calcite-card>`;
|
|
1361
1376
|
}
|
|
1362
1377
|
_renderSuggestedSolutions(e, s, r, t) {
|
|
1363
1378
|
const a = this._getMostRecentQuestion(), i = s.map((o) => `- ${o.title}`).join(`
|
|
1364
1379
|
`);
|
|
1365
|
-
return
|
|
1380
|
+
return b`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e, s)}${this._renderFeedback(e + `
|
|
1366
1381
|
` + i.toString(), a?.message ?? "", r, t)}</div></calcite-card>`;
|
|
1367
1382
|
}
|
|
1368
1383
|
render() {
|
|
1369
|
-
return
|
|
1384
|
+
return b`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${() => {
|
|
1370
1385
|
this.closeAssistant.emit(!0), this.open = !1;
|
|
1371
|
-
}}><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 ?
|
|
1372
|
-
this._showCopyAlert = !1;
|
|
1373
|
-
}} @calciteAlertClose=${() => {
|
|
1374
|
-
this._showCopyAlert = !1;
|
|
1375
|
-
}}><div slot=title>${this._translations.copyResponse}</div></calcite-alert></calcite-dialog>`;
|
|
1386
|
+
}}><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 ? b`<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" ${te(this._setMessageContainerRef)}>${this.messages.map((e) => e.render)}${this._isLoading && b`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText != "" && b`<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 ${te(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>`;
|
|
1376
1387
|
}
|
|
1377
1388
|
_scrollToBottom() {
|
|
1378
1389
|
this._chatContainer && setTimeout(() => {
|
|
@@ -1401,7 +1412,7 @@ class ft extends $e {
|
|
|
1401
1412
|
return [...this.messages].reverse().find((e) => e.author === "human") || null;
|
|
1402
1413
|
}
|
|
1403
1414
|
async _querySolutions(e) {
|
|
1404
|
-
const s = await
|
|
1415
|
+
const s = await Ae(e);
|
|
1405
1416
|
if ("error" in s)
|
|
1406
1417
|
throw new Error(s.error);
|
|
1407
1418
|
return s;
|
|
@@ -1410,11 +1421,15 @@ class ft extends $e {
|
|
|
1410
1421
|
const i = `https://survey123.arcgis.com/share/6e349a50b4504ca6b6107216d568db5f?field:_source=${encodeURIComponent("Solutions Assistant")}&field:user_evaluation=${encodeURIComponent(r)}&field:question=${encodeURIComponent(s)}&field:answer=${encodeURIComponent(e)}&field:context=${encodeURIComponent(JSON.stringify({ intent: a }))}&field:conversation_id=${encodeURIComponent(t)}&field:version=${encodeURIComponent("v1")}`;
|
|
1411
1422
|
window.open(i, "_blank");
|
|
1412
1423
|
}
|
|
1413
|
-
_copyResponseToClipboard(e) {
|
|
1414
|
-
navigator.clipboard.writeText(e)
|
|
1424
|
+
_copyResponseToClipboard(e, s) {
|
|
1425
|
+
navigator.clipboard.writeText(e);
|
|
1426
|
+
const r = s.currentTarget;
|
|
1427
|
+
r.iconStart = "check", setTimeout(() => {
|
|
1428
|
+
r.iconStart = "copy";
|
|
1429
|
+
}, 3e3);
|
|
1415
1430
|
}
|
|
1416
1431
|
}
|
|
1417
|
-
|
|
1432
|
+
we("arcgis-solutions-assistant", gt);
|
|
1418
1433
|
export {
|
|
1419
|
-
|
|
1434
|
+
gt as ArcgisSolutionsAssistant
|
|
1420
1435
|
};
|