@esri/solutions-components 1.2.0-next.2 → 1.2.0-next.21
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/assets/config/appConfig.json.d.ts +1 -0
- package/dist/cdn/22WI477F.js +4 -0
- package/dist/cdn/24XF7RBG.js +4 -0
- package/dist/cdn/267XR53J.js +18 -0
- package/dist/cdn/27ESLXAT.js +4 -0
- package/dist/cdn/2CA32FPD.js +4 -0
- package/dist/cdn/2ERLNTHC.js +4 -0
- package/dist/cdn/2L5T7JFI.js +25 -0
- package/dist/cdn/2NN7XORI.js +4 -0
- package/dist/cdn/2OEXTGHX.js +4 -0
- package/dist/cdn/2R5QFP6H.js +18 -0
- package/dist/cdn/2TBAUYG2.js +18 -0
- package/dist/cdn/2WQ4D3JD.js +4 -0
- package/dist/cdn/2XVGJF2S.js +4 -0
- package/dist/cdn/2Z7NZD5S.js +4 -0
- package/dist/cdn/2ZDTHK62.js +4 -0
- package/dist/cdn/374U3GWX.js +4 -0
- package/dist/cdn/37BAVLAP.js +4 -0
- package/dist/cdn/37CBPFRJ.js +4 -0
- package/dist/cdn/3DBJ6LQZ.js +4 -0
- package/dist/cdn/3EUP5SA5.js +18 -0
- package/dist/cdn/3FQZERY2.js +4 -0
- package/dist/cdn/3GSLYS7Y.js +4 -0
- package/dist/cdn/3I365GBL.js +4 -0
- package/dist/cdn/3LUEIDPJ.js +6 -0
- package/dist/cdn/3NBAQVF4.js +4 -0
- package/dist/cdn/3NJ7ZDPK.js +18 -0
- package/dist/cdn/3PWHRLUR.js +4 -0
- package/dist/cdn/3SCGD2CV.js +4 -0
- package/dist/cdn/3SLYHKVF.js +18 -0
- package/dist/cdn/3UZJJ4TA.js +4 -0
- package/dist/cdn/43LM47JM.js +4 -0
- package/dist/cdn/44SOOWCI.js +4 -0
- package/dist/cdn/455DGAYG.js +4 -0
- package/dist/cdn/47JWHU6X.js +4 -0
- package/dist/cdn/4IP3BGGA.js +4 -0
- package/dist/cdn/4J2AL6O3.js +4 -0
- package/dist/cdn/4KAJDNJI.js +4 -0
- package/dist/cdn/4N6PAP2B.js +4 -0
- package/dist/cdn/4PFWZPSF.js +4 -0
- package/dist/cdn/4PJKBI5Q.js +4 -0
- package/dist/cdn/4SB6QW6W.js +4 -0
- package/dist/cdn/4TDPMROA.js +89 -0
- package/dist/cdn/4ZEW55IS.js +4 -0
- package/dist/cdn/4ZXH4AYE.js +4 -0
- package/dist/cdn/5AWE75QZ.js +4 -0
- package/dist/cdn/5BBGQJ5S.js +4 -0
- package/dist/cdn/5CSKRDZM.js +4 -0
- package/dist/cdn/5FODZC2W.js +4 -0
- package/dist/cdn/5KWSM7IU.js +4 -0
- package/dist/cdn/5LQPYHS4.js +4 -0
- package/dist/cdn/5O3P6DBG.js +4 -0
- package/dist/cdn/5QB6QMOQ.js +4 -0
- package/dist/cdn/5TK6DOW6.js +4 -0
- package/dist/cdn/5U25HMRT.js +29 -0
- package/dist/cdn/5UFUXLVC.js +4 -0
- package/dist/cdn/5WF3LHZV.js +4 -0
- package/dist/cdn/5X5I7HXW.js +4 -0
- package/dist/cdn/5X7OT3PW.js +4 -0
- package/dist/cdn/5ZAFAS7S.js +4 -0
- package/dist/cdn/65YYFVKD.js +4 -0
- package/dist/cdn/66KL4C26.js +4 -0
- package/dist/cdn/67PMSKZH.js +4 -0
- package/dist/cdn/6D3JL2AS.js +18 -0
- package/dist/cdn/6ISYJZ3U.js +4 -0
- package/dist/cdn/6J47H6LF.js +4 -0
- package/dist/cdn/6LDGKXHO.js +4 -0
- package/dist/cdn/6MPNFWME.js +4 -0
- package/dist/cdn/6MWYP2QJ.js +18 -0
- package/dist/cdn/6NCUX6NJ.js +4 -0
- package/dist/cdn/6RUEUSIY.js +9 -0
- package/dist/cdn/6UDQYBCT.js +4 -0
- package/dist/cdn/6VPV7EU6.js +4 -0
- package/dist/cdn/766NXEI5.js +4 -0
- package/dist/cdn/7EWH23O4.js +4 -0
- package/dist/cdn/7G2GSKCH.js +4 -0
- package/dist/cdn/7IGMIN2W.js +63 -0
- package/dist/cdn/7NRVWFK5.js +18 -0
- package/dist/cdn/7QZKOSHV.js +18 -0
- package/dist/cdn/7THEDBQV.js +18 -0
- package/dist/cdn/7WJ4AYW6.js +4 -0
- package/dist/cdn/ACASG3D3.js +4 -0
- package/dist/cdn/ADOJOJRJ.js +4 -0
- package/dist/cdn/ALRXJEMN.js +5 -0
- package/dist/cdn/ANG6KH3Q.js +4 -0
- package/dist/cdn/APL5YV6I.js +4 -0
- package/dist/cdn/ARWGMEFD.js +4 -0
- package/dist/cdn/AVXSEI6R.js +4 -0
- package/dist/cdn/AVYP5N5W.js +4 -0
- package/dist/cdn/AWZPH3WI.js +4 -0
- package/dist/cdn/B2M4VAVZ.js +4 -0
- package/dist/cdn/B6NCIDUQ.js +4 -0
- package/dist/cdn/BA7C5JV7.js +4 -0
- package/dist/cdn/BIJS3QDZ.js +4 -0
- package/dist/cdn/BJYU2UEJ.js +4 -0
- package/dist/cdn/BNYHJMNY.js +18 -0
- package/dist/cdn/BOWYOYFF.js +4 -0
- package/dist/cdn/BUNUWO4R.js +4 -0
- package/dist/cdn/BYHP3RDB.js +4 -0
- package/dist/cdn/C36XF7C7.js +4 -0
- package/dist/cdn/C3UGMPFZ.js +18 -0
- package/dist/cdn/C3XGENO2.js +4 -0
- package/dist/cdn/C5V5WACE.js +20 -0
- package/dist/cdn/CKKYPJNF.js +4 -0
- package/dist/cdn/CNPRL7S7.js +4 -0
- package/dist/cdn/CPNBWTEA.js +4 -0
- package/dist/cdn/CURE4DDI.js +4 -0
- package/dist/cdn/CVPVJHLE.js +18 -0
- package/dist/cdn/D4Y37VIF.js +387 -0
- package/dist/cdn/D7QKCBMA.js +4 -0
- package/dist/cdn/DCXFS72L.js +18 -0
- package/dist/cdn/DEWVSB4U.js +18 -0
- package/dist/cdn/DEZPDY4A.js +4 -0
- package/dist/cdn/DOCNMY5H.js +4 -0
- package/dist/cdn/DPPVKLVV.js +4 -0
- package/dist/cdn/DQXONY5W.js +4 -0
- package/dist/cdn/DUVCORIN.js +4 -0
- package/dist/cdn/E2O3EKWU.js +18 -0
- package/dist/cdn/EA4SJ62D.js +4 -0
- package/dist/cdn/EFOK377W.js +4 -0
- package/dist/cdn/EGSL27T3.js +4 -0
- package/dist/cdn/ELFWIFOI.js +4 -0
- package/dist/cdn/EOPQUXDK.js +4 -0
- package/dist/cdn/EQMNEW7B.js +4 -0
- package/dist/cdn/ETVHZ7E4.js +4 -0
- package/dist/cdn/EUKYTCUW.js +4 -0
- package/dist/cdn/EWRHTIXK.js +4 -0
- package/dist/cdn/EWZKQPHY.js +18 -0
- package/dist/cdn/EXX2X63P.js +18 -0
- package/dist/cdn/EYXCH4TQ.js +4 -0
- package/dist/cdn/FASHWN45.js +18 -0
- package/dist/cdn/FH4SRX2G.js +4 -0
- package/dist/cdn/FHQAUSZQ.js +18 -0
- package/dist/cdn/FJKLSPV2.js +9 -0
- package/dist/cdn/FMGMDOXA.js +4 -0
- package/dist/cdn/FO5FDVKS.js +4 -0
- package/dist/cdn/FTCKROY3.js +4 -0
- package/dist/cdn/FUW5X5WX.js +4 -0
- package/dist/cdn/G2UQK6LA.js +4 -0
- package/dist/cdn/G354G2R5.js +4 -0
- package/dist/cdn/G423EZVH.js +18 -0
- package/dist/cdn/G7B5NHVN.js +4 -0
- package/dist/cdn/GBTQSHKA.js +4 -0
- package/dist/cdn/GDAB44P7.js +18 -0
- package/dist/cdn/GFLSAGSA.js +4 -0
- package/dist/cdn/GW3RLVUL.js +4 -0
- package/dist/cdn/GZZHEXNM.js +4 -0
- package/dist/cdn/H23L6B2Q.js +4 -0
- package/dist/cdn/HCWTAUF5.js +4 -0
- package/dist/cdn/HEW6Z5PB.js +18 -0
- package/dist/cdn/HIMSUVUZ.js +4 -0
- package/dist/cdn/HOFOKHEX.js +18 -0
- package/dist/cdn/HOPHRV4L.js +4 -0
- package/dist/cdn/I2POBGHR.js +8 -0
- package/dist/cdn/I5EMUTWF.js +4 -0
- package/dist/cdn/ICV7ZHJA.js +18 -0
- package/dist/cdn/ID2MR3BQ.js +4 -0
- package/dist/cdn/IESWZ7BL.js +4 -0
- package/dist/cdn/IFMVHH6O.js +4 -0
- package/dist/cdn/IJBXFCMT.js +4 -0
- package/dist/cdn/IJI2I4NN.js +4 -0
- package/dist/cdn/IL7KHRPB.js +4 -0
- package/dist/cdn/IM62UGGF.js +4 -0
- package/dist/cdn/IQKAM57E.js +18 -0
- package/dist/cdn/IXNUWHR7.js +18 -0
- package/dist/cdn/J2ZYSYWV.js +18 -0
- package/dist/cdn/J4W3UIZY.js +4 -0
- package/dist/cdn/J7YSM5KG.js +4 -0
- package/dist/cdn/JGLFIWOT.js +18 -0
- package/dist/cdn/JM47OMNA.js +18 -0
- package/dist/cdn/JN7ZBQQT.js +4 -0
- package/dist/cdn/JPNPSA7E.js +4 -0
- package/dist/cdn/JPQEYX6B.js +18 -0
- package/dist/cdn/JTKWC3IN.js +4 -0
- package/dist/cdn/JUHZNCUH.js +4 -0
- package/dist/cdn/JVB44O4S.js +4 -0
- package/dist/cdn/JZ7DDWQB.js +4 -0
- package/dist/cdn/K5RFBVYK.js +4 -0
- package/dist/cdn/KCSAC7EU.js +4 -0
- package/dist/cdn/KEDADGFZ.js +4 -0
- package/dist/cdn/KHGPU4UH.js +4 -0
- package/dist/cdn/KLDJP764.js +4 -0
- package/dist/cdn/KNUWDW23.js +18 -0
- package/dist/cdn/KPLOUVW3.js +4 -0
- package/dist/cdn/KQ3UQWCA.js +4 -0
- package/dist/cdn/KQQVJLMB.js +19 -0
- package/dist/cdn/KRNFP4OP.js +4 -0
- package/dist/cdn/KU7RFZOY.js +4 -0
- package/dist/cdn/L2OHD42I.js +4 -0
- package/dist/cdn/L6LJJRE2.js +4 -0
- package/dist/cdn/L6NUR77H.js +19 -0
- package/dist/cdn/LAER7U5K.js +4 -0
- package/dist/cdn/LLJXBBKJ.js +8 -0
- package/dist/cdn/LPCWCSAE.js +4 -0
- package/dist/cdn/LPHU6MAJ.js +4 -0
- package/dist/cdn/LPVP3TCA.js +4 -0
- package/dist/cdn/LPWJRNE6.js +18 -0
- package/dist/cdn/LQHMW4IA.js +4 -0
- package/dist/cdn/LXKU7WUU.js +5 -0
- package/dist/cdn/MASI4TM4.js +4 -0
- package/dist/cdn/MGF42WWT.js +4 -0
- package/dist/cdn/MGYT2FRC.js +4 -0
- package/dist/cdn/MPPNFL6O.js +4 -0
- package/dist/cdn/MR24E2PT.js +4 -0
- package/dist/cdn/MS66PYWN.js +4 -0
- package/dist/cdn/MWZCZ3GZ.js +18 -0
- package/dist/cdn/MXDK4LDP.js +82 -0
- package/dist/cdn/N3Q6R6TY.js +4 -0
- package/dist/cdn/N4YNUARS.js +4 -0
- package/dist/cdn/N55BTIIP.js +4 -0
- package/dist/cdn/NABUJ3I4.js +4 -0
- package/dist/cdn/NDGWBMSC.js +18 -0
- package/dist/cdn/NDNONWRS.js +4 -0
- package/dist/cdn/NN3W4IUH.js +4 -0
- package/dist/cdn/NOHK26DI.js +4 -0
- package/dist/cdn/NPL77HLA.js +4 -0
- package/dist/cdn/NRDRHGLK.js +4 -0
- package/dist/cdn/NUYH26IF.js +18 -0
- package/dist/cdn/NZGTHZBJ.js +4 -0
- package/dist/cdn/OAYZ7IKH.js +4 -0
- package/dist/cdn/OBTOZOSB.js +4 -0
- package/dist/cdn/OEWCMCHN.js +4 -0
- package/dist/cdn/OJEOXJLD.js +8 -0
- package/dist/cdn/OLLYGSHZ.js +4 -0
- package/dist/cdn/OMCPSQ2N.js +4 -0
- package/dist/cdn/ON53FJXG.js +4 -0
- package/dist/cdn/ORAYN2AR.js +4 -0
- package/dist/cdn/OTF6WC55.js +4 -0
- package/dist/cdn/OTM3WCFO.js +18 -0
- package/dist/cdn/OUALGQPO.js +4 -0
- package/dist/cdn/OVZZ6JTU.js +4 -0
- package/dist/cdn/P2ZHCD37.js +4 -0
- package/dist/cdn/P5564HET.js +4 -0
- package/dist/cdn/PFC743S5.js +18 -0
- package/dist/cdn/PFJ4FP3Z.js +18 -0
- package/dist/cdn/PGBTYK6X.js +4 -0
- package/dist/cdn/PGGYBI5J.js +4 -0
- package/dist/cdn/PHMX4V43.js +4 -0
- package/dist/cdn/PJRC7SHJ.js +4 -0
- package/dist/cdn/PNEU3IS5.js +21 -0
- package/dist/cdn/PQZE6Q45.js +18 -0
- package/dist/cdn/PT5WEO4R.js +4 -0
- package/dist/cdn/PWGDJNXG.js +4 -0
- package/dist/cdn/PYWEHZIC.js +4 -0
- package/dist/cdn/Q2JR6QFV.js +4 -0
- package/dist/cdn/QAFNPAAD.js +4 -0
- package/dist/cdn/QBNFWPNH.js +4 -0
- package/dist/cdn/QDR4D66T.js +6 -0
- package/dist/cdn/QGE56V4L.js +18 -0
- package/dist/cdn/QGUWQFF4.js +4 -0
- package/dist/cdn/QKHTFYET.js +4 -0
- package/dist/cdn/QKRVG65G.js +4 -0
- package/dist/cdn/QMKK7GAS.js +4 -0
- package/dist/cdn/QO2IVYQC.js +4 -0
- package/dist/cdn/QWKYRSVI.js +18 -0
- package/dist/cdn/R4GWAQRV.js +4 -0
- package/dist/cdn/REYSZJE4.js +18 -0
- package/dist/cdn/RUDYNTVM.js +4 -0
- package/dist/cdn/S3TADIJ6.js +4 -0
- package/dist/cdn/S7NGALY2.js +18 -0
- package/dist/cdn/SAMBWFKJ.js +4 -0
- package/dist/cdn/SEQGEOAO.js +18 -0
- package/dist/cdn/SF42TDNB.js +4 -0
- package/dist/cdn/SHSY5TSW.js +4 -0
- package/dist/cdn/SKT4GZ6B.js +4 -0
- package/dist/cdn/SMTIW5ON.js +4 -0
- package/dist/cdn/SPTDTOSM.js +4 -0
- package/dist/cdn/SROQUXLR.js +4 -0
- package/dist/cdn/SULZ3DXA.js +4 -0
- package/dist/cdn/SYAYSQPQ.js +4 -0
- package/dist/cdn/SYQ77RWF.js +4 -0
- package/dist/cdn/T34KE2A2.js +4 -0
- package/dist/cdn/T4NEPGO4.js +4 -0
- package/dist/cdn/T6HJKM4L.js +4 -0
- package/dist/cdn/TCBFVFSX.js +18 -0
- package/dist/cdn/TDSDZEH7.js +4 -0
- package/dist/cdn/TEGIRF2G.js +4 -0
- package/dist/cdn/TKQG2LKN.js +4 -0
- package/dist/cdn/TKYTD63P.js +4 -0
- package/dist/cdn/TLAJKE5F.js +4 -0
- package/dist/cdn/TPVEOX5G.js +18 -0
- package/dist/cdn/TRRMVHNP.js +4 -0
- package/dist/cdn/TWG226PR.js +4 -0
- package/dist/cdn/TWPRIW6W.js +4 -0
- package/dist/cdn/TXUBQSCF.js +4 -0
- package/dist/cdn/U232ZHS5.js +4 -0
- package/dist/cdn/U44X65LX.js +18 -0
- package/dist/cdn/UAMQWJTP.js +18 -0
- package/dist/cdn/UCM63YTG.js +4 -0
- package/dist/cdn/UDRBXNEZ.js +4 -0
- package/dist/cdn/UEFR52YG.js +18 -0
- package/dist/cdn/UFPDER6I.js +4 -0
- package/dist/cdn/UIIKMLZY.js +4 -0
- package/dist/cdn/UNSSBR4O.js +4 -0
- package/dist/cdn/UOEK64W4.js +18 -0
- package/dist/cdn/UYB52TDK.js +4 -0
- package/dist/cdn/V5PS7TPT.js +18 -0
- package/dist/cdn/V7U7DLUJ.js +18 -0
- package/dist/cdn/VC5NFRBK.js +4 -0
- package/dist/cdn/VFXHYKBA.js +4 -0
- package/dist/cdn/VGX5VVVO.js +4 -0
- package/dist/cdn/VJABELHG.js +4 -0
- package/dist/cdn/VPH3MHCJ.js +4 -0
- package/dist/cdn/VRHRENNK.js +4 -0
- package/dist/cdn/VRUHMDUB.js +4 -0
- package/dist/cdn/VXS4KLRE.js +4 -0
- package/dist/cdn/W3TMRYTI.js +4 -0
- package/dist/cdn/W5ZGSETN.js +18 -0
- package/dist/cdn/W7734FGJ.js +4 -0
- package/dist/cdn/WEU6HCGV.js +4 -0
- package/dist/cdn/WL6PEUQB.js +18 -0
- package/dist/cdn/WPMDZZYN.js +19 -0
- package/dist/cdn/WRKHHDEK.js +4 -0
- package/dist/cdn/WUXNFVJD.js +4 -0
- package/dist/cdn/WWKYMX4H.js +4 -0
- package/dist/cdn/WZGEVXYQ.js +18 -0
- package/dist/cdn/WZTL2MCD.js +4 -0
- package/dist/cdn/WZZXQ7ZL.js +4 -0
- package/dist/cdn/X2Q335MK.js +18 -0
- package/dist/cdn/X7SSY7I5.js +18 -0
- package/dist/cdn/XLKIFV2H.js +4 -0
- package/dist/cdn/Y42PHID4.js +4 -0
- package/dist/cdn/Y43WPKIW.js +18 -0
- package/dist/cdn/Y4CU2GK4.js +4 -0
- package/dist/cdn/Y5DN4QU2.js +294 -0
- package/dist/cdn/YHIWZGM7.js +18 -0
- package/dist/cdn/YIBIIFQA.js +4 -0
- package/dist/cdn/YLRL7Y5N.js +4 -0
- package/dist/cdn/YNQJMUXW.js +4 -0
- package/dist/cdn/YUMTADN7.js +4 -0
- package/dist/cdn/Z23HGZYN.js +4 -0
- package/dist/cdn/ZAAZBMVL.js +4 -0
- package/dist/cdn/ZADEJN6X.js +4 -0
- package/dist/cdn/ZBWHTQGY.js +4 -0
- package/dist/cdn/ZCXEHP3I.js +4 -0
- package/dist/cdn/ZDTXP6UH.js +18 -0
- package/dist/cdn/ZGLUS7EY.js +4 -0
- package/dist/cdn/ZGXWBO6S.js +18 -0
- package/dist/cdn/ZHNR6E4I.js +18 -0
- package/dist/cdn/ZMKFBKJ5.js +4 -0
- package/dist/cdn/ZSCNY56E.js +4 -0
- package/dist/cdn/ZTYR32MZ.js +4 -0
- package/dist/cdn/ZWJQQF63.js +4 -0
- package/dist/cdn/ZWLWEEM7.js +18 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
- 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/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +29 -30
- package/dist/chunks/appConfig.js +13 -10
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +30 -20
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +18 -19
- 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 +2 -2
- 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.d.ts +96 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +1366 -60
- package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
- package/dist/components/arcgis-solutions-assistant/index.js +4 -4
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
- 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 +3 -3
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +16 -16
- package/dist/components/map-card/customElement.js +14 -14
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +23 -20
- 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 +3 -3
- package/dist/components/solution-deployed-card/customElement.d.ts +4 -5
- package/dist/components/solution-deployed-card/customElement.js +35 -34
- package/dist/components/solution-deployed-card/index.d.ts +0 -1
- package/dist/components/solution-deployed-card/index.js +0 -1
- package/dist/components/solution-deployed-card-panel/customElement.d.ts +40 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +118 -0
- package/dist/components/solution-deployed-card-panel/index.d.ts +15 -0
- package/dist/components/solution-deployed-card-panel/index.js +15 -0
- package/dist/components/solution-deploying-dialog/customElement.d.ts +2 -0
- package/dist/components/solution-deploying-dialog/customElement.js +94 -18
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-details-panel/customElement.js +72 -72
- package/dist/components/solution-details-panel/index.d.ts +1 -1
- package/dist/components/solution-details-panel/index.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +13 -9
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +37 -0
- package/dist/components/solution-resource-card/customElement.js +49 -0
- 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 +6 -2
- package/dist/components/solutions-all-panel/customElement.js +68 -52
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +38 -33
- package/dist/components/solutions-deploy-app/customElement.d.ts +3 -2
- package/dist/components/solutions-deploy-app/customElement.js +67 -60
- package/dist/components/solutions-deploy-app/index.d.ts +2 -1
- package/dist/components/solutions-deploy-app/index.js +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +4 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +52 -29
- package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
- package/dist/components/solutions-deploy-app-nav/index.js +5 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +4 -2
- package/dist/components/solutions-deployed-panel/customElement.js +45 -40
- package/dist/components/solutions-deployed-shell/customElement.js +11 -11
- package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
- package/dist/components/solutions-filter-panel/customElement.js +79 -62
- package/dist/components/solutions-filter-panel/index.d.ts +1 -0
- package/dist/components/solutions-filter-panel/index.js +1 -0
- package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
- package/dist/components/solutions-resource-panel/customElement.js +43 -0
- package/dist/components/solutions-resources/customElement.d.ts +7 -0
- package/dist/components/solutions-resources/customElement.js +105 -0
- package/dist/components/solutions-resources/index.d.ts +12 -0
- package/dist/components/solutions-resources/index.js +12 -0
- package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
- package/dist/components/solutions-resources-shell/customElement.js +43 -0
- package/dist/components/solutions-resources-shell/index.d.ts +5 -0
- package/dist/components/solutions-resources-shell/index.js +5 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +9 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +47 -37
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2594 -2009
- package/dist/docs/docs.json +1499 -946
- package/dist/docs/vscode.html-custom-data.json +144 -107
- package/dist/docs/web-types.json +474 -312
- package/dist/index.d.ts +104 -71
- package/dist/index.js +35 -36
- package/dist/loader.js +14 -14
- package/dist/types/lumina.d.ts +42 -35
- package/dist/types/preact.d.ts +47 -40
- package/dist/types/preact10.d.ts +52 -45
- package/dist/types/react.d.ts +52 -45
- package/dist/types/stencil.d.ts +42 -35
- package/dist/utils/cardsHelpers.d.ts +14 -0
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +48 -26
- package/package.json +2 -2
- package/dist/cdn/22BFHC2I.js +0 -4
- package/dist/cdn/22LLS6WR.js +0 -18
- package/dist/cdn/24C3TAJY.js +0 -4
- package/dist/cdn/24PILRZT.js +0 -4
- package/dist/cdn/26NSAUFX.js +0 -4
- package/dist/cdn/2AUDRMU3.js +0 -4
- package/dist/cdn/2BOM63KQ.js +0 -18
- package/dist/cdn/2FFHB27Z.js +0 -4
- package/dist/cdn/2IPTMHFY.js +0 -4
- package/dist/cdn/2JQUC3UP.js +0 -4
- package/dist/cdn/2KXRE3QQ.js +0 -4
- package/dist/cdn/2LK2MZZR.js +0 -4
- package/dist/cdn/2LLZMSJV.js +0 -4
- package/dist/cdn/2QP26HSW.js +0 -4
- package/dist/cdn/2RVVSM5J.js +0 -4
- package/dist/cdn/2ZUX4PI4.js +0 -4
- package/dist/cdn/32275IZ5.js +0 -4
- package/dist/cdn/327AKQNH.js +0 -18
- package/dist/cdn/32GCN42P.js +0 -4
- package/dist/cdn/35KI2UZP.js +0 -4
- package/dist/cdn/3AXQAZAI.js +0 -4
- package/dist/cdn/3ENATMAV.js +0 -4
- package/dist/cdn/3MGV3QJV.js +0 -4
- package/dist/cdn/3MON3AIB.js +0 -6
- package/dist/cdn/3NETFEHL.js +0 -18
- package/dist/cdn/3SH6IZWK.js +0 -4
- package/dist/cdn/3UMQAY7D.js +0 -4
- package/dist/cdn/3VJ5JQ7K.js +0 -4
- package/dist/cdn/3VXS23LI.js +0 -4
- package/dist/cdn/3YPL6RCD.js +0 -18
- package/dist/cdn/45ANCG22.js +0 -18
- package/dist/cdn/4CD2LCWF.js +0 -5
- package/dist/cdn/4J6A5LH5.js +0 -4
- package/dist/cdn/4JWTHCFT.js +0 -4
- package/dist/cdn/4NVR4X3L.js +0 -4
- package/dist/cdn/4UUIRHC6.js +0 -4
- package/dist/cdn/4XJKKLD3.js +0 -4
- package/dist/cdn/4XYYUSUA.js +0 -6
- package/dist/cdn/4YNKTXJZ.js +0 -4
- package/dist/cdn/53GNUN6U.js +0 -82
- package/dist/cdn/56QASSI7.js +0 -4
- package/dist/cdn/57S3EVKQ.js +0 -4
- package/dist/cdn/5CCXGSYJ.js +0 -4
- package/dist/cdn/5E2ADQM6.js +0 -18
- package/dist/cdn/5GQ6DHYL.js +0 -4
- package/dist/cdn/5GW6VGYE.js +0 -4
- package/dist/cdn/5HDW32N3.js +0 -4
- package/dist/cdn/5J7IGLEN.js +0 -4
- package/dist/cdn/5K2GKQME.js +0 -4
- package/dist/cdn/5LNUHS4F.js +0 -4
- package/dist/cdn/5T6EZRNO.js +0 -4
- package/dist/cdn/5WP2S2ZH.js +0 -4
- package/dist/cdn/62JXAZTH.js +0 -4
- package/dist/cdn/62NI5UX7.js +0 -4
- package/dist/cdn/62WGZZJQ.js +0 -4
- package/dist/cdn/63PHQLZJ.js +0 -4
- package/dist/cdn/64KPWKOZ.js +0 -4
- package/dist/cdn/67H5AKUO.js +0 -18
- package/dist/cdn/6FCQB3AG.js +0 -4
- package/dist/cdn/6GSFOGSD.js +0 -4
- package/dist/cdn/6M2T3Q2M.js +0 -4
- package/dist/cdn/6QHOYKEI.js +0 -18
- package/dist/cdn/6RJ3S2N4.js +0 -4
- package/dist/cdn/6RN2G5UX.js +0 -18
- package/dist/cdn/6Y4X3UOF.js +0 -4
- package/dist/cdn/73RE22QT.js +0 -4
- package/dist/cdn/7GJSEVPA.js +0 -4
- package/dist/cdn/7L7OMOMR.js +0 -4
- package/dist/cdn/7LML2KAO.js +0 -4
- package/dist/cdn/7M65VSDO.js +0 -4
- package/dist/cdn/7TVK2JZJ.js +0 -18
- package/dist/cdn/7UBRL7BT.js +0 -4
- package/dist/cdn/7XNXOLSM.js +0 -294
- package/dist/cdn/A2D7SAO5.js +0 -18
- package/dist/cdn/A54VVFMV.js +0 -4
- package/dist/cdn/AGNDZTZ6.js +0 -4
- package/dist/cdn/AMP4ZNCP.js +0 -18
- package/dist/cdn/AV64MW2C.js +0 -4
- package/dist/cdn/AZZRAFZ2.js +0 -4
- package/dist/cdn/B37JGOGF.js +0 -18
- package/dist/cdn/B5X7FR3W.js +0 -4
- package/dist/cdn/BBLEZ5WS.js +0 -18
- package/dist/cdn/BCPDT6MV.js +0 -4
- package/dist/cdn/BGMDKWE7.js +0 -4
- package/dist/cdn/BHXQ7QW6.js +0 -18
- package/dist/cdn/BJWPKYKV.js +0 -4
- package/dist/cdn/BL4KF37N.js +0 -18
- package/dist/cdn/BL7TUTFB.js +0 -4
- package/dist/cdn/BN34E5SA.js +0 -4
- package/dist/cdn/BPB3TNH6.js +0 -18
- package/dist/cdn/BS533JHX.js +0 -18
- package/dist/cdn/BSCXWZZC.js +0 -4
- package/dist/cdn/BTHNNVZX.js +0 -4
- package/dist/cdn/BVRRREAU.js +0 -18
- package/dist/cdn/C42K62PR.js +0 -18
- package/dist/cdn/C4GYOXKY.js +0 -4
- package/dist/cdn/C5FQOPJR.js +0 -4
- package/dist/cdn/CFB6TU6B.js +0 -4
- package/dist/cdn/CHPW5FJW.js +0 -4
- package/dist/cdn/CLIXTMET.js +0 -4
- package/dist/cdn/CPC2M7AK.js +0 -18
- package/dist/cdn/CRGYVR4L.js +0 -4
- package/dist/cdn/CUBFKAV6.js +0 -4
- package/dist/cdn/CXJUQMCV.js +0 -4
- package/dist/cdn/DDP5UCZA.js +0 -4
- package/dist/cdn/DH3SAWQO.js +0 -4
- package/dist/cdn/DKRHACVW.js +0 -4
- package/dist/cdn/DM633MDA.js +0 -18
- package/dist/cdn/DMECGLC4.js +0 -4
- package/dist/cdn/DMMMW2BR.js +0 -18
- package/dist/cdn/DMW55L65.js +0 -4
- package/dist/cdn/DXGUMM4O.js +0 -4
- package/dist/cdn/DZ76G2RX.js +0 -4
- package/dist/cdn/DZHVGBZB.js +0 -4
- package/dist/cdn/E4V5RLGM.js +0 -18
- package/dist/cdn/EALUH4BU.js +0 -4
- package/dist/cdn/EBKAKZZU.js +0 -18
- package/dist/cdn/ECKRAOTK.js +0 -4
- package/dist/cdn/ECVB7DM6.js +0 -4
- package/dist/cdn/EG2JBWTE.js +0 -4
- package/dist/cdn/EM5Z3TCD.js +0 -4
- package/dist/cdn/ENS7CZX3.js +0 -18
- package/dist/cdn/EWQ7E45G.js +0 -18
- package/dist/cdn/F23TKPQ3.js +0 -4
- package/dist/cdn/FDZWMY22.js +0 -4
- package/dist/cdn/FELH7PBD.js +0 -4
- package/dist/cdn/FGUX7O4N.js +0 -4
- package/dist/cdn/FHLHSJYN.js +0 -4
- package/dist/cdn/FJ5G5F6F.js +0 -18
- package/dist/cdn/FJYGYKU7.js +0 -4
- package/dist/cdn/FMF65JWL.js +0 -4
- package/dist/cdn/FNLWKSSH.js +0 -4
- package/dist/cdn/FTJZYC6F.js +0 -4
- package/dist/cdn/FUYHWE6S.js +0 -4
- package/dist/cdn/FYFIZWH7.js +0 -18
- package/dist/cdn/FYQALD4I.js +0 -4
- package/dist/cdn/FZW3ZZPU.js +0 -4
- package/dist/cdn/G5MR5SG5.js +0 -4
- package/dist/cdn/G7UTMYYA.js +0 -4
- package/dist/cdn/GA5KNLFJ.js +0 -4
- package/dist/cdn/GK4O6X2B.js +0 -4
- package/dist/cdn/GRC5KYBB.js +0 -4
- package/dist/cdn/GU3R45TN.js +0 -4
- package/dist/cdn/GYZWPVGD.js +0 -4
- package/dist/cdn/H7YFIIKJ.js +0 -18
- package/dist/cdn/HAYDHL6E.js +0 -8
- package/dist/cdn/HCEYPHXZ.js +0 -4
- package/dist/cdn/HJCGCJHG.js +0 -4
- package/dist/cdn/HKUMRXKS.js +0 -4
- package/dist/cdn/HN6L7MEZ.js +0 -4
- package/dist/cdn/HOCJSK24.js +0 -4
- package/dist/cdn/HR44MJZ4.js +0 -9
- package/dist/cdn/HSGU3NPM.js +0 -9
- package/dist/cdn/HV23NBKM.js +0 -4
- package/dist/cdn/HWBSZWSI.js +0 -25
- package/dist/cdn/I3IHBW4I.js +0 -4
- package/dist/cdn/I4E7TVY4.js +0 -18
- package/dist/cdn/I5X57Y6X.js +0 -4
- package/dist/cdn/IAMELUPG.js +0 -4
- package/dist/cdn/IBIR3MNF.js +0 -4
- package/dist/cdn/IGUMVL7J.js +0 -4
- package/dist/cdn/II4ZEXAJ.js +0 -4
- package/dist/cdn/IIBBHZ5N.js +0 -18
- package/dist/cdn/IN3OKM7F.js +0 -4
- package/dist/cdn/IPIW25QW.js +0 -4
- package/dist/cdn/ITIM5MBI.js +0 -4
- package/dist/cdn/IUWPOFEU.js +0 -4
- package/dist/cdn/IWN7UDRD.js +0 -4
- package/dist/cdn/J3AFQ2U2.js +0 -4
- package/dist/cdn/J5HRIE3W.js +0 -4
- package/dist/cdn/J5U3NOSX.js +0 -8
- package/dist/cdn/J6IINHXU.js +0 -4
- package/dist/cdn/JDDI6RWH.js +0 -18
- package/dist/cdn/JDMCVY5U.js +0 -4
- package/dist/cdn/JHPYHESZ.js +0 -4
- package/dist/cdn/JKVDTJCD.js +0 -4
- package/dist/cdn/JOOTU2MN.js +0 -4
- package/dist/cdn/JSMMX4OW.js +0 -4
- package/dist/cdn/JVHOB5XV.js +0 -18
- package/dist/cdn/JWXSAYHC.js +0 -4
- package/dist/cdn/JYKNVSA4.js +0 -4
- package/dist/cdn/JZ2AJ7NV.js +0 -4
- package/dist/cdn/K3ZT5FZ2.js +0 -4
- package/dist/cdn/K5U7ZHCS.js +0 -4
- package/dist/cdn/KCTOUFKC.js +0 -4
- package/dist/cdn/KJEGNTYQ.js +0 -4
- package/dist/cdn/KORLC5U7.js +0 -4
- package/dist/cdn/KQHBJ2QB.js +0 -4
- package/dist/cdn/KQM2NMJJ.js +0 -4
- package/dist/cdn/KSKZZDYX.js +0 -4
- package/dist/cdn/KURD67WP.js +0 -4
- package/dist/cdn/KVSY5222.js +0 -18
- package/dist/cdn/KXEXXT56.js +0 -18
- package/dist/cdn/KXKBIVFJ.js +0 -18
- package/dist/cdn/KYYMWKPV.js +0 -4
- package/dist/cdn/KZ2V3URW.js +0 -4
- package/dist/cdn/L2O6CXOR.js +0 -18
- package/dist/cdn/LA735BCX.js +0 -4
- package/dist/cdn/LETYH73H.js +0 -4
- package/dist/cdn/LNOZBYMZ.js +0 -4
- package/dist/cdn/LPJPNWKA.js +0 -18
- package/dist/cdn/LUKTYB6E.js +0 -18
- package/dist/cdn/LZIYOPAC.js +0 -4
- package/dist/cdn/LZUM3H4J.js +0 -4
- package/dist/cdn/M2TJWZ2F.js +0 -89
- package/dist/cdn/M46DOI6W.js +0 -4
- package/dist/cdn/MB2DM6NF.js +0 -4
- package/dist/cdn/MDL3GASV.js +0 -18
- package/dist/cdn/MEM675A5.js +0 -18
- package/dist/cdn/MGON4SLN.js +0 -4
- package/dist/cdn/MK3C2NWT.js +0 -18
- package/dist/cdn/MNBZZ6G3.js +0 -4
- package/dist/cdn/MOAD2WOZ.js +0 -4
- package/dist/cdn/MOKFQR6C.js +0 -19
- package/dist/cdn/MQDP5X2Y.js +0 -4
- package/dist/cdn/MQE2DTF5.js +0 -4
- package/dist/cdn/MTQRP42U.js +0 -4
- package/dist/cdn/MZFDMEQW.js +0 -4
- package/dist/cdn/NAFDFLKN.js +0 -4
- package/dist/cdn/NAWCG6BY.js +0 -4
- package/dist/cdn/NF5TB4T5.js +0 -4
- package/dist/cdn/NLWFERKV.js +0 -21
- package/dist/cdn/NM6FSLHS.js +0 -4
- package/dist/cdn/NNT3DJXP.js +0 -4
- package/dist/cdn/NR4TU43I.js +0 -18
- package/dist/cdn/NSJNK5YX.js +0 -4
- package/dist/cdn/NTN5IKQX.js +0 -4
- package/dist/cdn/NVBXPDWS.js +0 -4
- package/dist/cdn/NVOMEAQG.js +0 -5
- package/dist/cdn/NW5D2PXR.js +0 -4
- package/dist/cdn/NWAXN6PC.js +0 -4
- package/dist/cdn/NYH5N4UB.js +0 -4
- package/dist/cdn/O3ZWY3L2.js +0 -19
- package/dist/cdn/O6WPAEXC.js +0 -4
- package/dist/cdn/O7K2BTNK.js +0 -18
- package/dist/cdn/O7KVFY2I.js +0 -4
- package/dist/cdn/OFMGQCKQ.js +0 -4
- package/dist/cdn/OGKY3OCB.js +0 -8
- package/dist/cdn/OHBU7SZN.js +0 -4
- package/dist/cdn/OI7TKT4E.js +0 -18
- package/dist/cdn/OLVN3BUK.js +0 -4
- package/dist/cdn/OS2R7DZG.js +0 -18
- package/dist/cdn/OWSYDJWA.js +0 -18
- package/dist/cdn/OXW67XUN.js +0 -4
- package/dist/cdn/OY2ZL2MH.js +0 -4
- package/dist/cdn/P4SJ4TW3.js +0 -18
- package/dist/cdn/PCXV5WCW.js +0 -4
- package/dist/cdn/PDD2INCO.js +0 -18
- package/dist/cdn/PDM2TVRE.js +0 -4
- package/dist/cdn/PHK7ECEK.js +0 -4
- package/dist/cdn/PKW5U5JD.js +0 -4
- package/dist/cdn/PMVAYDID.js +0 -4
- package/dist/cdn/PTQNSUMQ.js +0 -4
- package/dist/cdn/PV3NKFWO.js +0 -385
- package/dist/cdn/Q4ILVP7M.js +0 -4
- package/dist/cdn/Q5JBWZWR.js +0 -4
- package/dist/cdn/Q63YUEPK.js +0 -4
- package/dist/cdn/QAQPOJT3.js +0 -4
- package/dist/cdn/QDOOFKZT.js +0 -4
- package/dist/cdn/QHDUDNQB.js +0 -4
- package/dist/cdn/QK7H3QEZ.js +0 -4
- package/dist/cdn/QLGVQPSP.js +0 -4
- package/dist/cdn/QT7SOK6K.js +0 -18
- package/dist/cdn/QTPWQXFC.js +0 -4
- package/dist/cdn/QVZEI2LS.js +0 -4
- package/dist/cdn/QWFYFDGT.js +0 -4
- package/dist/cdn/R3MDKVZV.js +0 -18
- package/dist/cdn/R5IZJTD3.js +0 -4
- package/dist/cdn/R5SUWIAX.js +0 -18
- package/dist/cdn/RHR64B37.js +0 -4
- package/dist/cdn/RQXTVQCL.js +0 -4
- package/dist/cdn/RR4VEAAE.js +0 -4
- package/dist/cdn/RWC6IC3I.js +0 -4
- package/dist/cdn/RY4AM746.js +0 -4
- package/dist/cdn/S6NACDB2.js +0 -4
- package/dist/cdn/SPZK2YXW.js +0 -4
- package/dist/cdn/SS3YAHMD.js +0 -4
- package/dist/cdn/T3RNILJN.js +0 -4
- package/dist/cdn/T5OCPOMY.js +0 -4
- package/dist/cdn/T5SK6ZJW.js +0 -4
- package/dist/cdn/TB2NFORT.js +0 -4
- package/dist/cdn/TCJAIPWL.js +0 -4
- package/dist/cdn/TCORLZCI.js +0 -4
- package/dist/cdn/TFT2UUZJ.js +0 -20
- package/dist/cdn/TJYHQJCY.js +0 -4
- package/dist/cdn/TMEKDW2G.js +0 -4
- package/dist/cdn/TMNFYXWD.js +0 -4
- package/dist/cdn/TMRDI3WC.js +0 -4
- package/dist/cdn/TTAAIUU3.js +0 -4
- package/dist/cdn/U2MIR3HL.js +0 -4
- package/dist/cdn/U3QZIS3C.js +0 -4
- package/dist/cdn/U3VTY66Y.js +0 -4
- package/dist/cdn/U5XUYD32.js +0 -4
- package/dist/cdn/UBTE3LJB.js +0 -4
- package/dist/cdn/UGI2HCBX.js +0 -18
- package/dist/cdn/ULELHCUW.js +0 -4
- package/dist/cdn/ULHGH3CX.js +0 -4
- package/dist/cdn/UNCK4FW5.js +0 -4
- package/dist/cdn/UQGQFHTP.js +0 -4
- package/dist/cdn/URMO7GLW.js +0 -4
- package/dist/cdn/USO4FEJS.js +0 -4
- package/dist/cdn/UVMWA227.js +0 -18
- package/dist/cdn/UXPF53LA.js +0 -4
- package/dist/cdn/UXZC7IGT.js +0 -4
- package/dist/cdn/V2II4COO.js +0 -4
- package/dist/cdn/V623WVLR.js +0 -4
- package/dist/cdn/V74LH3IK.js +0 -18
- package/dist/cdn/V7H6MEIS.js +0 -4
- package/dist/cdn/VFRHV2HY.js +0 -18
- package/dist/cdn/VLRXMBNG.js +0 -4
- package/dist/cdn/VPFAWHJS.js +0 -4
- package/dist/cdn/W45EDCYZ.js +0 -18
- package/dist/cdn/WBO3VKCK.js +0 -4
- package/dist/cdn/WDPM64EG.js +0 -4
- package/dist/cdn/WJKAHLIO.js +0 -29
- package/dist/cdn/WKQNA7HE.js +0 -4
- package/dist/cdn/WNLGN4CE.js +0 -4
- package/dist/cdn/WTU7JILZ.js +0 -4
- package/dist/cdn/WV4ZCFFT.js +0 -4
- package/dist/cdn/XFW3K5OF.js +0 -18
- package/dist/cdn/XFZNGT7C.js +0 -4
- package/dist/cdn/XINUYSXZ.js +0 -18
- package/dist/cdn/XLHINQDA.js +0 -4
- package/dist/cdn/XQYYFNOC.js +0 -4
- package/dist/cdn/XSERGQVD.js +0 -4
- package/dist/cdn/XUXRXNUV.js +0 -4
- package/dist/cdn/XWYN5XJT.js +0 -4
- package/dist/cdn/XYIEX7QB.js +0 -4
- package/dist/cdn/Y2YYJ66T.js +0 -18
- package/dist/cdn/Y7U5BQY2.js +0 -18
- package/dist/cdn/YFJ3R7UO.js +0 -18
- package/dist/cdn/YGKTKWJH.js +0 -18
- package/dist/cdn/YJUZZNM3.js +0 -4
- package/dist/cdn/YOCF54TS.js +0 -4
- package/dist/cdn/YODKEVX7.js +0 -4
- package/dist/cdn/Z7QQNFJ7.js +0 -4
- package/dist/cdn/ZG7Z2ZV5.js +0 -4
- package/dist/cdn/ZH5IG5IH.js +0 -19
- package/dist/cdn/ZJFAIID3.js +0 -4
- package/dist/cdn/ZN7CNQRT.js +0 -4
- package/dist/cdn/ZSPXSDH4.js +0 -4
- package/dist/cdn/ZTCFEMKZ.js +0 -4
- package/dist/cdn/ZYEOJZ6Z.js +0 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +0 -1
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- package/dist/components/solution-configure-dialog/customElement.d.ts +0 -30
- package/dist/components/solution-configure-dialog/customElement.js +0 -131
- package/dist/components/solution-configure-dialog/index.d.ts +0 -13
- package/dist/components/solution-configure-dialog/index.js +0 -13
- package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-article-panel/customElement.js +0 -43
- package/dist/components/solutions-articles/customElement.d.ts +0 -7
- package/dist/components/solutions-articles/customElement.js +0 -79
- package/dist/components/solutions-articles/index.d.ts +0 -11
- package/dist/components/solutions-articles/index.js +0 -11
- package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
- package/dist/components/solutions-articles-shell/customElement.js +0 -43
- package/dist/components/solutions-articles-shell/index.d.ts +0 -5
- package/dist/components/solutions-articles-shell/index.js +0 -5
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import c from"./4IP3BGGA.js";import{a as x}from"./OMCPSQ2N.js";import a from"./HOPHRV4L.js";import{a as N}from"./3PWHRLUR.js";import{a as D}from"./VPH3MHCJ.js";import{E as k,h as R,i as L}from"./6VPV7EU6.js";import{b as F}from"./T6HJKM4L.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./QDR4D66T.js";import"./C3XGENO2.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
|
5
|
+
rect:hover {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
opacity: 0.8;
|
|
8
|
+
}
|
|
9
|
+
`,e?.appendChild(t)}}setRelationshipRampRef(e){e&&(this.relationshipRamp=e,this.applyRelationshipRampInteractivity(),this.applyRelationshipRampSvgAriaAttributes())}render(){return b`<div ${g(this.addCSS)}><span id=${M} class=${E(Z.instructionalText)}>${this._messages?.relationship?.instructionalText}</span>${this.renderRelationshipRamp()}</div>`}renderRelationshipRamp(){let e=(this.activeLayerInfo?.layer).renderer,t=this.symbolUtils.renderRelationshipRampPreviewHTML(e)?.outerHTML;return N("relationship-ramp-diamond",b`<div .innerHTML=${t??""} ${g(this.setRelationshipRampRef)}></div>`)}};F("instant-apps-interactive-legend-relationship",v);return v},a,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{K as l,M as I}from"./3LUEIDPJ.js";import{h}from"./43LM47JM.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function h(){if(e)return await window.$arcgis.import("esri/identity/IdentityManager");let t=await $arcgis.t(m=>m[0],"identity/IdentityManager");return n(t)?t.default:t}async function i(){if(e)return await window.$arcgis.import("esri/core/Collection");let t=await $arcgis.t(m=>m[0],"core/Collection");return n(t)?t.default:t}async function V(t){let r=await i();return new r(t)}async function o(){if(e)return await window.$arcgis.import("esri/core/Handles");let t=await $arcgis.t(m=>m[0],"core/Handles");return n(t)?t.default:t}async function P(){let t=await o();return new t}async function a(){if(e)return await window.$arcgis.import("esri/geometry/Point");let t=await $arcgis.t(m=>m[0],"geometry/Point");return n(t)?t.default:t}async function b(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/geometry/SpatialReference");let t=await $arcgis.t(m=>m[0],"geometry/SpatialReference");return n(t)?t.default:t}async function I(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/identity/OAuthInfo");let t=await $arcgis.t(m=>m[0],"identity/OAuthInfo");return n(t)?t.default:t}async function W(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/layers/support/FeatureEffect");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureEffect");return n(t)?t.default:t}async function F(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/layers/support/FeatureFilter");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureFilter");return n(t)?t.default:t}async function G(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/portal/PortalItemResource");let t=await $arcgis.t(m=>m[0],"portal/PortalItemResource");return n(t)?t.default:t}async function A(t){let r=await p();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/time/TimeExtent");let t=await $arcgis.t(m=>m[0],"time/TimeExtent");return n(t)?t.default:t}async function T(t){let r=await d();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/time/TimeInterval");let t=await $arcgis.t(m=>m[0],"time/TimeInterval");return n(t)?t.default:t}async function k(t){let r=await m();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.t(m=>m[0],"WebMap");return n(t)?t.default:t}async function D(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/Compass");let t=await $arcgis.t(m=>m[0],"widgets/Compass");return n(t)?t.default:t}async function E(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion");return n(t)?t.default:t}async function v(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion/support/Conversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion/support/Conversion");return n(t)?t.default:t}async function O(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.t(m=>m[0],"widgets/Expand");return n(t)?t.default:t}async function B(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.t(m=>m[0],"widgets/Legend");return n(t)?t.default:t}async function U(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/Legend/LegendViewModel");let t=await $arcgis.t(m=>m[0],"widgets/Legend/LegendViewModel");return n(t)?t.default:t}async function N(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.t(m=>m[0],"widgets/Measurement");return n(t)?t.default:t}async function x(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.t(m=>m[0],"widgets/TimeSlider");return n(t)?t.default:t}async function K(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/Widget");let t=await $arcgis.t(m=>m[0],"widgets/Widget");return n(t)?t.default:t}async function H(t){let r=await R();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.t(m=>m[0],"core/reactiveUtils");return n(t)?t.default:t}async function Q(){if(e)return await window.$arcgis.import("esri/geometry/operators/projectOperator");let t=await $arcgis.t(m=>m[0],"geometry/operators/projectOperator");return n(t)?t.default:t}async function q(){if(e)return await window.$arcgis.import("esri/geometry/support/jsonUtils");let t=await $arcgis.t(m=>m[0],"geometry/support/jsonUtils");return n(t)?t.default:t}async function j(){if(e)return await window.$arcgis.import("esri/intl");let t=await $arcgis.t(m=>m[0],"intl");return n(t)?t.default:t}async function J(){if(e)return await window.$arcgis.import("esri/request");let t=await $arcgis.t(m=>m[0],"request");return n(t)?t.default:t}async function Z(){if(e)return await window.$arcgis.import("esri/symbols/support/symbolUtils");let t=await $arcgis.t(m=>m[0],"symbols/support/symbolUtils");return n(t)?t.default:t}export{h as a,V as b,P as c,b as d,I as e,W as f,c as g,F as h,G as i,A as j,T as k,k as l,D as m,E as n,y as o,v as p,g as q,O as r,B as s,U as t,N as u,$ as v,x as w,K as x,H as y,z,Q as A,q as B,j as C,J as D,Z as E};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import"./C3XGENO2.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import"./C3XGENO2.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z as toolValidationError,T as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a}from"./QMKK7GAS.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import{a as s,b as r}from"./G7B5NHVN.js";import"./OAYZ7IKH.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import{a as o}from"./7WJ4AYW6.js";import{a as i}from"./5O3P6DBG.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as fe}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as ge}from"./VRHRENNK.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"./QDR4D66T.js";import"./C3XGENO2.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
|
+
]`).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
|
+
`).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
|
+
`)}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,`
|
|
8
|
+
`)}}}fences(n){let e=this.rules.block.fences.exec(n);if(e){let s=e[0],i=xt(s,e[3]||"",this.rules);return{type:"code",raw:s,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:i}}}heading(n){let e=this.rules.block.heading.exec(n);if(e){let s=e[2].trim();if(this.rules.other.endingHash.test(s)){let i=I(s,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(s=i.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(n){let e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:I(e[0],`
|
|
9
|
+
`)}}blockquote(n){let e=this.rules.block.blockquote.exec(n);if(e){let s=I(e[0],`
|
|
10
|
+
`).split(`
|
|
11
|
+
`),i="",t="",a=[];for(;s.length>0;){let r=!1,l=[],o;for(o=0;o<s.length;o++)if(this.rules.other.blockquoteStart.test(s[o]))l.push(s[o]),r=!0;else if(!r)l.push(s[o]);else break;s=s.slice(o);let c=l.join(`
|
|
12
|
+
`),h=c.replace(this.rules.other.blockquoteSetextReplace,`
|
|
13
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
|
|
14
|
+
${c}`:c,t=t?`${t}
|
|
15
|
+
${h}`:h;let g=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,a,!0),this.lexer.state.top=g,s.length===0)break;let d=a.at(-1);if(d?.type==="code")break;if(d?.type==="blockquote"){let m=d,f=m.raw+`
|
|
16
|
+
`+s.join(`
|
|
17
|
+
`),b=this.blockquote(f);a[a.length-1]=b,i=i.substring(0,i.length-m.raw.length)+b.raw,t=t.substring(0,t.length-m.text.length)+b.text;break}else if(d?.type==="list"){let m=d,f=m.raw+`
|
|
18
|
+
`+s.join(`
|
|
19
|
+
`),b=this.list(f);a[a.length-1]=b,i=i.substring(0,i.length-d.raw.length)+b.raw,t=t.substring(0,t.length-m.raw.length)+b.raw,s=f.substring(a.at(-1).raw.length).split(`
|
|
20
|
+
`);continue}}return{type:"blockquote",raw:i,tokens:a,text:t}}}list(n){let e=this.rules.block.list.exec(n);if(e){let s=e[1].trim(),i=s.length>1,t={type:"list",raw:"",ordered:i,start:i?+s.slice(0,-1):"",loose:!1,items:[]};s=i?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=i?s:"[*+-]");let a=this.rules.other.listItemRegex(s),r=!1;for(;n;){let o=!1,c="",h="";if(!(e=a.exec(n))||this.rules.block.hr.test(n))break;c=e[0],n=n.substring(c.length);let g=e[2].split(`
|
|
21
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,D=>" ".repeat(3*D.length)),d=n.split(`
|
|
22
|
+
`,1)[0],m=!g.trim(),f=0;if(this.options.pedantic?(f=2,h=g.trimStart()):m?f=e[1].length+1:(f=e[2].search(this.rules.other.nonSpaceChar),f=f>4?1:f,h=g.slice(f),f+=e[1].length),m&&this.rules.other.blankLine.test(d)&&(c+=d+`
|
|
23
|
+
`,n=n.substring(d.length+1),o=!0),!o){let D=this.rules.other.nextBulletRegex(f),ne=this.rules.other.hrRegex(f),ie=this.rules.other.fencesBeginRegex(f),re=this.rules.other.headingBeginRegex(f),Le=this.rules.other.htmlBeginRegex(f);for(;n;){let N=n.split(`
|
|
24
|
+
`,1)[0],_;if(d=N,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),_=d):_=d.replace(this.rules.other.tabCharGlobal," "),ie.test(d)||re.test(d)||Le.test(d)||D.test(d)||ne.test(d))break;if(_.search(this.rules.other.nonSpaceChar)>=f||!d.trim())h+=`
|
|
25
|
+
`+_.slice(f);else{if(m||g.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ie.test(g)||re.test(g)||ne.test(g))break;h+=`
|
|
26
|
+
`+d}!m&&!d.trim()&&(m=!0),c+=N+`
|
|
27
|
+
`,n=n.substring(N.length+1),g=_.slice(f)}}t.loose||(r?t.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(r=!0));let b=null,se;this.options.gfm&&(b=this.rules.other.listIsTask.exec(h),b&&(se=b[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),t.items.push({type:"list_item",raw:c,task:!!b,checked:se,loose:!1,text:h,tokens:[]}),t.raw+=c}let l=t.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;t.raw=t.raw.trimEnd();for(let o=0;o<t.items.length;o++)if(this.lexer.state.top=!1,t.items[o].tokens=this.lexer.blockTokens(t.items[o].text,[]),!t.loose){let c=t.items[o].tokens.filter(g=>g.type==="space"),h=c.length>0&&c.some(g=>this.rules.other.anyLine.test(g.raw));t.loose=h}if(t.loose)for(let o=0;o<t.items.length;o++)t.items[o].loose=!0;return t}}html(n){let e=this.rules.block.html.exec(n);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(n){let e=this.rules.block.def.exec(n);if(e){let s=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",t=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:s,raw:e[0],href:i,title:t}}}table(n){let e=this.rules.block.table.exec(n);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let s=we(e[1]),i=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),t=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
28
|
+
`):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(s.length===i.length){for(let r of i)this.rules.other.tableAlignRight.test(r)?a.align.push("right"):this.rules.other.tableAlignCenter.test(r)?a.align.push("center"):this.rules.other.tableAlignLeft.test(r)?a.align.push("left"):a.align.push(null);for(let r=0;r<s.length;r++)a.header.push({text:s[r],tokens:this.lexer.inline(s[r]),header:!0,align:a.align[r]});for(let r of t)a.rows.push(we(r,a.header.length).map((l,o)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:a.align[o]})));return a}}lheading(n){let e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){let e=this.rules.block.paragraph.exec(n);if(e){let s=e[1].charAt(e[1].length-1)===`
|
|
29
|
+
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:s,tokens:this.lexer.inline(s)}}}text(n){let e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){let e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(n){let e=this.rules.inline.tag.exec(n);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(n){let e=this.rules.inline.link.exec(n);if(e){let s=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;let a=I(s.slice(0,-1),"\\");if((s.length-a.length)%2===0)return}else{let a=mt(e[2],"()");if(a===-2)return;if(a>-1){let r=(e[0].indexOf("!")===0?5:4)+e[1].length+a;e[2]=e[2].substring(0,a),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let i=e[2],t="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(i);a&&(i=a[1],t=a[3])}else t=e[3]?e[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(s)?i=i.slice(1):i=i.slice(1,-1)),ve(e,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:t&&t.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(n,e){let s;if((s=this.rules.inline.reflink.exec(n))||(s=this.rules.inline.nolink.exec(n))){let i=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),t=e[i.toLowerCase()];if(!t){let a=s[0].charAt(0);return{type:"text",raw:a,text:a}}return ve(s,t,s[0],this.lexer,this.rules)}}emStrong(n,e,s=""){let i=this.rules.inline.emStrongLDelim.exec(n);if(!(!i||i[3]&&s.match(this.rules.other.unicodeAlphaNumeric))&&(!(i[1]||i[2])||!s||this.rules.inline.punctuation.exec(s))){let t=[...i[0]].length-1,a,r,l=t,o=0,c=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,e=e.slice(-1*n.length+t);(i=c.exec(e))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(r=[...a].length,i[3]||i[4]){l+=r;continue}else if((i[5]||i[6])&&t%3&&!((t+r)%3)){o+=r;continue}if(l-=r,l>0)continue;r=Math.min(r,r+l+o);let h=[...i[0]][0].length,g=n.slice(0,t+i.index+h+r);if(Math.min(t,r)%2){let m=g.slice(1,-1);return{type:"em",raw:g,text:m,tokens:this.lexer.inlineTokens(m)}}let d=g.slice(2,-2);return{type:"strong",raw:g,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(n){let e=this.rules.inline.code.exec(n);if(e){let s=e[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(s),t=this.rules.other.startingSpaceChar.test(s)&&this.rules.other.endingSpaceChar.test(s);return i&&t&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:e[0],text:s}}}br(n){let e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){let e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){let e=this.rules.inline.autolink.exec(n);if(e){let s,i;return e[2]==="@"?(s=e[1],i="mailto:"+s):(s=e[1],i=s),{type:"link",raw:e[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let s,i;if(e[2]==="@")s=e[0],i="mailto:"+s;else{let t;do t=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(t!==e[0]);s=e[0],e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(n){let e=this.rules.inline.text.exec(n);if(e){let s=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:s}}}},v=class F{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||S,this.options.tokenizer=this.options.tokenizer||new P,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let s={other:x,block:L.normal,inline:T.normal};this.options.pedantic?(s.block=L.pedantic,s.inline=T.pedantic):this.options.gfm&&(s.block=L.gfm,this.options.breaks?s.inline=T.breaks:s.inline=T.gfm),this.tokenizer.rules=s}static get rules(){return{block:L,inline:T}}static lex(e,s){return new F(s).lex(e)}static lexInline(e,s){return new F(s).inlineTokens(e)}lex(e){e=e.replace(x.carriageReturn,`
|
|
30
|
+
`),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){let i=this.inlineQueue[s];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],i=!1){for(this.options.pedantic&&(e=e.replace(x.tabCharGlobal," ").replace(x.spaceLine,""));e;){let t;if(this.options.extensions?.block?.some(r=>(t=r.call({lexer:this},e,s))?(e=e.substring(t.raw.length),s.push(t),!0):!1))continue;if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length);let r=s.at(-1);t.raw.length===1&&r!==void 0?r.raw+=`
|
|
31
|
+
`:s.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length);let r=s.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
|
|
32
|
+
`)?"":`
|
|
33
|
+
`)+t.raw,r.text+=`
|
|
34
|
+
`+t.text,this.inlineQueue.at(-1).src=r.text):s.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length);let r=s.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
|
|
35
|
+
`)?"":`
|
|
36
|
+
`)+t.raw,r.text+=`
|
|
37
|
+
`+t.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title},s.push(t));continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),s.push(t);continue}let a=e;if(this.options.extensions?.startBlock){let r=1/0,l=e.slice(1),o;this.options.extensions.startBlock.forEach(c=>{o=c.call({lexer:this},l),typeof o=="number"&&o>=0&&(r=Math.min(r,o))}),r<1/0&&r>=0&&(a=e.substring(0,r+1))}if(this.state.top&&(t=this.tokenizer.paragraph(a))){let r=s.at(-1);i&&r?.type==="paragraph"?(r.raw+=(r.raw.endsWith(`
|
|
38
|
+
`)?"":`
|
|
39
|
+
`)+t.raw,r.text+=`
|
|
40
|
+
`+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):s.push(t),i=a.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length);let r=s.at(-1);r?.type==="text"?(r.raw+=(r.raw.endsWith(`
|
|
41
|
+
`)?"":`
|
|
42
|
+
`)+t.raw,r.text+=`
|
|
43
|
+
`+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):s.push(t);continue}if(e){let r="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(r);break}else throw new Error(r)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){let i=e,t=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(t=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)l.includes(t[0].slice(t[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,t.index)+"["+"a".repeat(t[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(t=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,t.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(t=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,t.index)+"["+"a".repeat(t[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);i=this.options.hooks?.emStrongMask?.call({lexer:this},i)??i;let a=!1,r="";for(;e;){a||(r=""),a=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},e,s))?(e=e.substring(l.raw.length),s.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=s.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(l=this.tokenizer.emStrong(e,i,r)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),s.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),s.push(l);continue}let o=e;if(this.options.extensions?.startInline){let c=1/0,h=e.slice(1),g;this.options.extensions.startInline.forEach(d=>{g=d.call({lexer:this},h),typeof g=="number"&&g>=0&&(c=Math.min(c,g))}),c<1/0&&c>=0&&(o=e.substring(0,c+1))}if(l=this.tokenizer.inlineText(o)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(r=l.raw.slice(-1)),a=!0;let c=s.at(-1);c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return s}},M=class{options;parser;constructor(n){this.options=n||S}space(n){return""}code({text:n,lang:e,escaped:s}){let i=(e||"").match(x.notSpaceStart)?.[0],t=n.replace(x.endingNewline,"")+`
|
|
44
|
+
`;return i?'<pre><code class="language-'+w(i)+'">'+(s?t:w(t,!0))+`</code></pre>
|
|
45
|
+
`:"<pre><code>"+(s?t:w(t,!0))+`</code></pre>
|
|
46
|
+
`}blockquote({tokens:n}){return`<blockquote>
|
|
47
|
+
${this.parser.parse(n)}</blockquote>
|
|
48
|
+
`}html({text:n}){return n}def(n){return""}heading({tokens:n,depth:e}){return`<h${e}>${this.parser.parseInline(n)}</h${e}>
|
|
49
|
+
`}hr(n){return`<hr>
|
|
50
|
+
`}list(n){let e=n.ordered,s=n.start,i="";for(let r=0;r<n.items.length;r++){let l=n.items[r];i+=this.listitem(l)}let t=e?"ol":"ul",a=e&&s!==1?' start="'+s+'"':"";return"<"+t+a+`>
|
|
51
|
+
`+i+"</"+t+`>
|
|
52
|
+
`}listitem(n){let e="";if(n.task){let s=this.checkbox({checked:!!n.checked});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+" "+w(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+" "}return e+=this.parser.parse(n.tokens,!!n.loose),`<li>${e}</li>
|
|
53
|
+
`}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>
|
|
54
|
+
`}table(n){let e="",s="";for(let t=0;t<n.header.length;t++)s+=this.tablecell(n.header[t]);e+=this.tablerow({text:s});let i="";for(let t=0;t<n.rows.length;t++){let a=n.rows[t];s="";for(let r=0;r<a.length;r++)s+=this.tablecell(a[r]);i+=this.tablerow({text:s})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
|
|
55
|
+
<thead>
|
|
56
|
+
`+e+`</thead>
|
|
57
|
+
`+i+`</table>
|
|
58
|
+
`}tablerow({text:n}){return`<tr>
|
|
59
|
+
${n}</tr>
|
|
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
|
+
`}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
|
+
`+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.reply,r.ref,r.followupQuestions,t.conversationId,"Solution question")})}}else{t.context.kind&&t.context.kind.toLowerCase()==="ArcGISErrorAsContext".toLowerCase()?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};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as u}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as f}from"./VRHRENNK.js";import{C as n,D as r,E as m,G as d,H as b,h as c,i as a,o as p}from"./QDR4D66T.js";import"./C3XGENO2.js";var g=c`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block;--solutions-theme-foreground-color: var(--calcite-color-foreground-1);width:100%}.width-full{width:100%}.width-26{width:26%!important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-bottom-width:1px!important;border-width:0px}.border-bottom-2{border-bottom-width:2px!important;border-width:0px}.border-solid{border-style:solid;border-color:var(--calcite-color-border-3)}.border-left-right{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 68px);overflow-y:auto}.position-absolute{position:absolute}.position-relative{position:relative}.popover-map-list{overflow:auto;width:250px}.max-width-200{max-width:200px}.min-width-150{min-width:150px}`,h=class extends m{constructor(){super(),this.mapInfos=[],this.isMapLayout=!1,this.showMapListInPopover=!1,this.referenceElement="",this.selectedWebMapId="",this._mapListExpanded=!1,this._isValidWebMap=!0,this._translations=u({name:"map-picker",blocking:!0}),this._list=n(),this._loadedId="",this._skipEditCheck=!1,this._popover=n(),this._mapPickerButton=n(),this.beforeMapInfoChange=p(),this.mapInfoChange=p(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={mapInfos:0,isMapLayout:5,height:9,showMapListInPopover:5,referenceElement:1,selectedWebMapId:1,_mapListExpanded:16,_isValidWebMap:16,_translations:16}}static{this.styles=g}willUpdate(e){e.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler(this.mapInfos,e.get("mapInfos")),e.has("selectedWebMapId")&&this.hasUpdated&&this.selectedWebMapIdWatchHandler(this.selectedWebMapId)}_webMapInfoWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&(this._loadedId=e?.id,this.mapInfoChange.emit(e))}async mapInfosWatchHandler(e,t){if(e&&JSON.stringify(e)!==JSON.stringify(t)){let i=this._getWebMapInfo();this._webMapSelected(i)}}async selectedWebMapIdWatchHandler(e){this._loadedId=e}async setMapByID(e,t=!1){this._skipEditCheck=t;let i=this.mapInfos?.filter(s=>s.id===e);e&&i?.length>0&&this._webMapSelected(i[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(e){this._mapListExpanded=e}async mapChanged(e){let t=e.detail.isValid;this._isValidWebMap=t}render(){return a`${!this.showMapListInPopover&&this._getToolbar()||""}${this.showMapListInPopover?this._getMapListPopover():this._getMapNameList(this._mapListExpanded)}`}loaded(){let e=this._getWebMapInfo();e&&this._webMapSelected(e)}_getMapPicker(){let e="map-picker-expand-toggle",t=this._mapListExpanded?"chevron-up":"chevron-down",i=this.isMapLayout?"":"position-absolute",s=this.isMapLayout?"max-width-200":"width-full",l=this._isValidWebMap?"map":"exclamation-mark-triangle";return a`<div class=${d(s)}><calcite-button alignment=icon-end-space-between appearance=transparent class=${`width-full height-full ${i}`} .iconEnd=${t} .iconStart=${l} id=${e} kind=neutral @click=${()=>this._chooseMap()} width=full ${r(this._mapPickerButton)}>${this._getWebMapInfo().name}</calcite-button><calcite-tooltip placement=bottom .referenceElement=${e}><span>${this._translations.switchMap}</span></calcite-tooltip></div>`}_getToolbar(){let e=this.isMapLayout?"border-bottom-1":"border-bottom-2",t=this.isMapLayout?"":"position-relative";return a`<div class=${`display-flex border-left-right ${t}`}><calcite-action-bar class=${`border-solid action-bar-size overflow-hidden ${e}`} expand-disabled layout=horizontal slot=header>${this._getMapPicker()}${this._updateMapPickerIconColor()}</calcite-action-bar></div>`}_updateMapPickerIconColor(){this._mapPickerButton.value?.componentOnReady().then(()=>{let e=this._mapPickerButton.value?.shadowRoot?.lastChild,t=null;if(e&&e instanceof HTMLElement){let i=e.getElementsByClassName("icon icon--start");i.length>0&&(t=i[0])}t&&(this._isValidWebMap?t.style.setProperty("color","var(--calcite-color-text-1)"):t.style.setProperty("color","var(--calcite-color-status-danger)"))})}_getMapNameList(e){let t=this.showMapListInPopover?"position-relative":"position-absolute",i=this.isMapLayout?"max-width-200 min-width-150":"width-full",s=this.isMapLayout?"border-bottom-1":"border-bottom-2",l=e?`map-list border-solid ${s} adjusted-height ${i} ${t}`:"display-none";return a`<div class=${d(l)}><calcite-list id=mapList label selection-appearance=border selection-mode=single-persist ${r(this._list)}>${this.mapInfos.map(o=>a`<calcite-list-item .label=${o.name} @click=${()=>this._webMapSelected(o)} .selected=${o.id===this._loadedId} .value=${o.id}></calcite-list-item>`)}</calcite-list></div>`}_getMapListPopover(){let e=this.height&&this.height>0&&this.showMapListInPopover?{"max-height":`${this.height.toString()}px`}:{};return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} ${r(this._popover)}><div style=${b(e)} class=popover-map-list>${this._getMapNameList(!0)}</div></calcite-popover>`}_getWebMapInfo(){let e=this.mapInfos.find(t=>this.selectedWebMapId===t.id);if(!e&&this.mapInfos.length>0&&(e=this.mapInfos[0]),!e)throw new Error("No valid web map info available");return e}_webMapSelected(e){let t=this._loadedId;this._loadedId=e.id;let i=!1;this._skipEditCheck?i=!0:this.beforeMapInfoChange.emit({currentId:t,mapInfo:e,ref:this.el}).defaultPrevented||(i=!0),i&&(this._webMapInfoWatchHandler(e,this._webMapInfo),this._webMapInfo=e),this._popover.value&&(this._popover.value.open=!1),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}};f("map-picker",h);export{h as MapPicker};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{d as r}from"./EA4SJ62D.js";import{b as n}from"./VRHRENNK.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./QDR4D66T.js";import"./C3XGENO2.js";var p=s`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block;--calcite-label-margin-bottom: 0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-table{display:table}.display-inline-table{display:inline-table}.display-none{display:none}.display-inherit{display:inherit}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0}`,l=class extends o{constructor(){super(...arguments),this.showAddDeduct=!1,this._deductValuesElement=d()}static{this.properties={showAddDeduct:16}}static{this.styles=p}render(){let t=this.showAddDeduct?"display-none":"display-grid",e=this.showAddDeduct?"position-relative":"display-none";return i`<div class=${a(t)}><div class="label-display"><calcite-label class="label-display">\r\n Enter comma delimited deduct values${this._getDeductValuesInput()}</calcite-label></div><div>${this._getCalculateButton()}</div></div><div class=${a(e)}><div class="position-right"><calcite-action appearance=transparent class="float-end" icon=x @click=${()=>this._toggleShowAddDeduct()} scale=s text></calcite-action></div><deduct-calculator class="display-grid padding-top-1" @deductValueComplete=${this._addDeductValue}></deduct-calculator></div>`}_getDeductValuesInput(){return i`<div class="display-flex"><calcite-input class="main-input" ${c(this._deductValuesElement)}></calcite-input><calcite-action appearance=transparent icon=plus-circle @click=${()=>this._toggleShowAddDeduct()} scale=s text></calcite-action></div>`}_getCalculateButton(){return this._deductValuesElement.value?i`<calcite-button @click=${()=>this._calculatePCI(this._deductValuesElement?.value?.value||"")}>\r\n Calculate PCI</calcite-button>`:void 0}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(t){this._toggleShowAddDeduct(),this._deductValuesElement.value&&(this._deductValuesElement.value.value+=Math.abs(Number.parseFloat(this._deductValuesElement.value.value))>0?`,${t.detail}`:t.detail)}_calculatePCI(t){let e=r(t,!0),u=e<=10?"Failed":e<=25?"Serious":e<=40?"Very Poor":e<=55?"Poor":e<=70?"Fair":e<=85?"Satisfactory":"Good";console.log(`PCI: ${e}`),console.log(`Rating: ${u}`),alert("See debug console for results")}};n("pci-calculator",l);export{l as PciCalculator};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as e}from"./NPL77HLA.js";import"./3LUEIDPJ.js";import"./PWGDJNXG.js";import"./JUHZNCUH.js";import"./WUXNFVJD.js";import"./5CSKRDZM.js";import"./UYB52TDK.js";import"./ANG6KH3Q.js";import"./EFOK377W.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import"./FO5FDVKS.js";import"./43LM47JM.js";import{a as p}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as h}from"./VRHRENNK.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./QDR4D66T.js";import"./C3XGENO2.js";var u=m`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.inputBottomSeparation{@apply mt-0 mx-0 mb-6;}.icon-inline--on-left,.icon-inline--on-right{@apply inline align-middle m-inline-end-1.5;}.scale-down{@apply object-scale-down;}.img-container{@apply inline m-inline-end-4;}.summary-count-container{@apply inline flex-grow m-inline-start-3;}.parent-container{@apply max-w-full p-4;}label{@apply relative block mt-0 mx-0 mb-6 min-w-min;}}`,n=class extends c{constructor(){super(),this.itemId="",this.browseForThumbnail=a(),this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemType="",this._translations=p({name:"solution-item-details",blocking:!0}),this.itemSnippetCount=a(),this.thumbnail=a(),this.thumbnailContainer=a(),this.listen("calciteInputInput",this.inputReceivedHandler)}static{this.properties={itemId:3,itemDetails:16,itemEdit:16,_translations:16,thumbnail:16,thumbnailContainer:16}}static{this.styles=u}static{this.shadowRootOptions=r}willUpdate(){this.itemEdit=e.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type)}render(){return l`<div class="parent-container"><div class="inputBottomSeparation"><calcite-input id=item-title .value=${this.itemDetails.title}></calcite-input></div><div class="inputBottomSeparation"><input accept=.jpg,.gif,.png,image/jpg,image/gif,image/png class="display-none" @change=${t=>this._updateThumbnail(t)} type=file ${s(this.browseForThumbnail)}><button class="font-size--3 btn-link inline-block trailer-quarter" @click=${()=>this._getThumbnail()}><svg class="icon-inline icon-inline--on-left" height=16 viewBox="0 0 16 16" width=16>${o`<path d="M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" />`}</svg>${this._translations.editThumbnail}</button><div class="flex"><div class="img-container" ${s(this.thumbnailContainer)}><img class="scale-down" height=133 id=item-thumbnail width=200 ${s(this.thumbnail)}></div><div class="snippet-count-container"><calcite-input id=item-snippet max-length=250 type=textarea .value=${this.itemDetails.snippet}></calcite-input><label class="font-size--3" id=item-snippet-count ${s(this.itemSnippetCount)}></label></div></div></div><calcite-label>${this._translations.description}<label id=item-description-label><calcite-input id=item-description type=textarea .value=${this.itemDetails.description}></calcite-input></label></calcite-label><calcite-label>${this._translations.tags}<label id=item-tags-label><calcite-input id=item-tags .value=${(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}></calcite-input></label></calcite-label>${this.itemType!=="Group"?l`<calcite-label>${this._translations.credits}<label id=item-credits-label><calcite-input id=item-credits .value=${this.itemDetails.accessInformation}></calcite-input></label></calcite-label>`:null}${this.itemType!=="Group"?l`<calcite-label><label id=item-terms-label>${this._translations.termsOfUse}<calcite-input id=item-terms type=textarea .value=${this.itemDetails.licenseInfo}></calcite-input></label></calcite-label>`:null}</div>`}updated(){this._loadThumb()}inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet||""),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore();break}}_getThumbnail(){this.browseForThumbnail.value&&this.browseForThumbnail.value.click()}_loadThumb(){this.thumbnail.value&&this.itemEdit?.thumbnail?(this.thumbnail.value.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.value&&this.thumbnailContainer.value.classList.remove("empty-box"),this.thumbnail.value.classList.remove("display-none")):(this.thumbnailContainer.value&&this.thumbnailContainer.value.classList.add("empty-box"),this.thumbnail.value&&this.thumbnail.value.classList.add("display-none"))}_updateLengthLabel(t){if(this.itemSnippetCount.value){let i=this._translations.snippetCountPattern;this.itemSnippetCount.value.innerText=i.replace("{{n}}",t.length.toString())}}_updateStore(){this.itemEdit=e.getItemInfo(this.itemId),this.itemEdit&&(this.itemEdit.item=this.itemDetails,e.setItemInfo(this.itemEdit))}_updateThumbnail(t){let i=t.target.files;i&&i[0]&&this.thumbnail.value&&(this.thumbnail.value.src=URL.createObjectURL(i[0]),this.itemEdit=e.getItemInfo(this.itemId),this.itemEdit&&(this.itemEdit.thumbnail=i[0],e.replaceItemThumbnail(this.itemEdit)))}};h("solution-item-details",n);export{n as SolutionItemDetails};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{d as i}from"./SYQ77RWF.js";import{a}from"./2NN7XORI.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./QDR4D66T.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as m}from"./SROQUXLR.js";import{a as p}from"./QMKK7GAS.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import{a,b as n}from"./G7B5NHVN.js";import"./OAYZ7IKH.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import{a as r}from"./7WJ4AYW6.js";import{a as s}from"./5O3P6DBG.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import{a as i}from"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var g=async(e,t,l)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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:"shared.fields.purpose.maxLengthError"}]}},...p(e,t.thumbnail,t.thumbnailUrl,"initiative",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await r(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await a(t.location,l.hubRequestOptions),options:await n(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroBannerAppearance.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroBannerAppearance.helperText"}},elements:[{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}},{labelKey:`${e}.fields.featuredImage.label`,scope:"/properties/view/properties/featuredImage",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},options:{control:"hub-field-input-image-picker",imgSrc:m((o=t.view)===null||o===void 0?void 0:o.featuredImageUrl,l.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",rule:{effect:i.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}}}]}]}]}};export{g as buildUiSchema};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
var P=function(){return P=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},P.apply(this,arguments)},z={exports:{}},g={},W={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function le(e,r,t){}function fe(e,r,t){}var ue=/javascript\s*\:/img;function ce(e,r){return ue.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=le;w.onIgnoreAttr=fe;w.safeAttrValue=ce;var ge={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=ge;function de(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
|
|
5
|
+
`&&o()}return L.trim(l)}var pe=de,O=w,he=pe;function G(e){return e==null}function ve(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=ve(e||{}),e.whiteList=e.whiteList||O.whiteList,e.onAttr=e.onAttr||O.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||O.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||O.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=he(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return G(v)?u+":"+f:v}else{var v=i(u,f,m);if(!G(v))return v}}});return o};var me=B;(function(e,r){var t=w,a=me;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(W,W.exports);var $=W.exports,N={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},be=$.FilterCSS,ye=$.getDefaultWhiteList,F=N;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new be;function we(e,r,t){}function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Z(e){return e.replace(ke,"<").replace(Le,">")}function Se(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=F.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(_.lastIndex=0,_.test(t))return""}else if(r==="style"){if(D.lastIndex=0,D.test(t)||(j.lastIndex=0,j.test(t)&&(_.lastIndex=0,_.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var ke=/</g,Le=/>/g,Ee=/"/g,Oe=/"/g,_e=/&#([a-zA-Z0-9]*);?/gim,Ce=/:?/gim,Ie=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(Ee,""")}function K(e){return e.replace(Oe,'"')}function Y(e){return e.replace(_e,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ce,":").replace(Ie," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return F.trim(r)}function re(e){return e=K(e),e=Y(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Fe(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:F.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return F.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Ve(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function Re(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=we;g.onIgnoreTag=Ae;g.onTagAttr=xe;g.onIgnoreTagAttr=Te;g.safeAttrValue=Se;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=K;g.escapeHtmlEntities=Y;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Fe;g.stripCommentTag=Ve;g.stripBlankChar=Re;g.cssFilter=M;g.getDefaultCSSWhiteList=ye;var V={},y=N;function ze(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=ze(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ne=/[^a-zA-Z0-9\\_:.-]/gim;function Ue(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ne,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=Xe(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=De(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function Xe(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function De(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function je(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return je(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Ue;var He=$.FilterCSS,b=g,ie=V,qe=ie.parseTag,Be=ie.parseAttr,I=N;function C(e){return e==null}function Qe(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Me(e){var r={};for(var t in e)r[t]=e[t];return r}function Ze(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Me(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Ze(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new He(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=qe(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Qe(v),oe=a[m],X=Be(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Je=se;(function(e,r){var t=g,a=V,s=Je;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,(function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]})();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},Ye=(function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=P(P({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e})();export{Ye as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as e}from"./3PWHRLUR.js";import{a as _}from"./VPH3MHCJ.js";import{b as f}from"./T6HJKM4L.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{C as d,D as v,E as h,G as o,I as a,h as l,i as t,r as m}from"./QDR4D66T.js";import"./C3XGENO2.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as i}from"./FH4SRX2G.js";import{o as r}from"./5CSKRDZM.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};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{l as c}from"./66KL4C26.js";import{a as o}from"./TKYTD63P.js";import{a as n}from"./ZADEJN6X.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import e from"./VGX5VVVO.js";import c from"./4IP3BGGA.js";import"./OMCPSQ2N.js";import b from"./HOPHRV4L.js";import"./6VPV7EU6.js";import{b as o}from"./T6HJKM4L.js";import"./TXUBQSCF.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./QDR4D66T.js";import"./C3XGENO2.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as o}from"./IL7KHRPB.js";import{d as r}from"./TDSDZEH7.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import{a as s}from"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
|