@esri/solutions-components 1.0.0-next.20250529.1 → 1.0.0-next.20250530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{PZHEASS4.js → 23QD6NT3.js} +2 -2
- package/dist/cdn/{5QPQAJMG.js → 2BKGC3GR.js} +2 -2
- package/dist/cdn/{S6OH6PAD.js → 2EOEAV5E.js} +2 -2
- package/dist/cdn/2NWAL23W.js +4 -0
- package/dist/cdn/{ZOFGHLQB.js → 2VNIKRUP.js} +2 -2
- package/dist/cdn/{UZ2HGN74.js → 2WTCHQJH.js} +2 -2
- package/dist/cdn/{WWXALFP5.js → 2XITJCRB.js} +2 -2
- package/dist/cdn/{V6P4UD6W.js → 2Z3TWB2K.js} +2 -2
- package/dist/cdn/{C4JYYMYJ.js → 36LI3UQA.js} +2 -2
- package/dist/cdn/{DRS4Z435.js → 3CHLZWTV.js} +2 -2
- package/dist/cdn/{HCK5TCOJ.js → 43ULSAMW.js} +2 -2
- package/dist/cdn/{NNKQPDXS.js → 474ZEOFB.js} +1 -1
- package/dist/cdn/{FR4X4TDZ.js → 4AKAPNSY.js} +2 -2
- package/dist/cdn/{WHS2SJGC.js → 4FC3X2PR.js} +2 -2
- package/dist/cdn/{4ZHIBJJZ.js → 4M4MXT54.js} +2 -2
- package/dist/cdn/{RJS3KPCL.js → 4MBXYMTN.js} +2 -2
- package/dist/cdn/{AXBMCFIY.js → 4UN2BYLH.js} +1 -1
- package/dist/cdn/{P2ZWJVGZ.js → 4WQSWJOC.js} +6 -6
- package/dist/cdn/{GX7WAJDW.js → 57KRALMV.js} +2 -2
- package/dist/cdn/{BIGEZCHV.js → 5AXS3KFI.js} +2 -2
- package/dist/cdn/{ATXF6EM5.js → 5HIKUFVB.js} +2 -2
- package/dist/cdn/{OK3FOLOF.js → 5LO4GJR2.js} +2 -2
- package/dist/cdn/{TKOIJYF4.js → 5S2LGZK4.js} +2 -2
- package/dist/cdn/5S33JONB.js +18 -0
- package/dist/cdn/{CH6BDUYO.js → 5TJLMZD4.js} +2 -2
- package/dist/cdn/{2RGHQMD7.js → 5TRKAS2N.js} +1 -1
- package/dist/cdn/{CLTGVNIT.js → 5Y5ORVLB.js} +1 -1
- package/dist/cdn/{EGBONIMT.js → 5ZNOFKZT.js} +2 -2
- package/dist/cdn/{F3APXHAE.js → 623GWCXD.js} +2 -2
- package/dist/cdn/{5ZJ5HMBU.js → 624IUPMH.js} +2 -2
- package/dist/cdn/{NVSZ6TEP.js → 65WW5KKH.js} +2 -2
- package/dist/cdn/{MQSTZCGJ.js → 66KXCMW2.js} +2 -2
- package/dist/cdn/{L5VFVPQH.js → 6B752FN2.js} +2 -2
- package/dist/cdn/{HXCZBWLK.js → 6DWD2XLO.js} +2 -2
- package/dist/cdn/{RNNWBWHE.js → 6EHPMLHH.js} +2 -2
- package/dist/cdn/{DOZSTXHI.js → 6OHWZOS5.js} +2 -2
- package/dist/cdn/{HCV2XISF.js → 6PMWYOH6.js} +2 -2
- package/dist/cdn/{FZAQQCT2.js → 6TLILFC7.js} +2 -2
- package/dist/cdn/{6QYC63ET.js → 6WM4LAYI.js} +1 -1
- package/dist/cdn/{GRGAE7XV.js → 6Y2HFRCC.js} +2 -2
- package/dist/cdn/{I6CL4W66.js → 73MN3UQT.js} +2 -2
- package/dist/cdn/{QMAHKDVR.js → 76ZVHQZN.js} +2 -2
- package/dist/cdn/{T44MUET5.js → 77XUB3YE.js} +2 -2
- package/dist/cdn/7DEB6EKJ.js +4 -0
- package/dist/cdn/{EF6B6NVS.js → 7HKKUGXJ.js} +3 -3
- package/dist/cdn/{V5KXBFEN.js → 7ICYEZEV.js} +1 -1
- package/dist/cdn/{32U4CX5C.js → 7MSPLAAS.js} +1 -1
- package/dist/cdn/{EFQVEZGK.js → 7RRAT3I3.js} +2 -2
- package/dist/cdn/{226TJMEY.js → A3472HMO.js} +2 -2
- package/dist/cdn/{AO367CCB.js → A7QSMG5S.js} +1 -1
- package/dist/cdn/{Q2GQGU3O.js → AAZLISVR.js} +2 -2
- package/dist/cdn/{ZGN6IAVH.js → ACD5DGKO.js} +2 -2
- package/dist/cdn/{FUKHM2ED.js → ADKZI66G.js} +2 -2
- package/dist/cdn/{LGXVU5RZ.js → AOWCHDDD.js} +2 -2
- package/dist/cdn/{OHVQU6ZJ.js → ASAQWYLX.js} +2 -2
- package/dist/cdn/{DW2GOOJO.js → ASMSD26H.js} +2 -2
- package/dist/cdn/{5JSGC5AY.js → AWWFUP7R.js} +2 -2
- package/dist/cdn/{4FINQGFN.js → B5VH5463.js} +2 -2
- package/dist/cdn/{TANB4M2J.js → B6D7BVKN.js} +2 -2
- package/dist/cdn/{FTLPMKAC.js → B6UMTBML.js} +2 -2
- package/dist/cdn/{5BPG7NP4.js → B7LQMG3R.js} +2 -2
- package/dist/cdn/{DCZ6I6AY.js → BHDI3U4H.js} +2 -2
- package/dist/cdn/{2M3XDJVT.js → BJMWCYCG.js} +1 -1
- package/dist/cdn/{XRHJGG6M.js → BLRHWO52.js} +2 -2
- package/dist/cdn/{FLGIBCK5.js → BTLOBHUI.js} +2 -2
- package/dist/cdn/BWUWGBTF.js +4 -0
- package/dist/cdn/{3DGCRE6C.js → C5O32W6W.js} +2 -2
- package/dist/cdn/{AD3MI4SK.js → C6W5EVRT.js} +2 -2
- package/dist/cdn/{UP4YI4TT.js → C7F3GRAL.js} +2 -2
- package/dist/cdn/{PCME4I7V.js → CDW32ZV2.js} +2 -2
- package/dist/cdn/{KMFOS5KM.js → CIR5U4D6.js} +2 -2
- package/dist/cdn/{OQKQMGDN.js → CNE6Q3HD.js} +2 -2
- package/dist/cdn/{YEH3K6PV.js → COHNJZCA.js} +2 -2
- package/dist/cdn/{UD6TTT2A.js → CRVOSDOH.js} +2 -2
- package/dist/cdn/{QQ53NCYV.js → CVHD4WPU.js} +2 -2
- package/dist/cdn/{JGLLOYRV.js → CVY3C2IL.js} +2 -2
- package/dist/cdn/{KZXLFT6A.js → D3CEKY4I.js} +2 -2
- package/dist/cdn/{RIOHLLW6.js → D64CJOFO.js} +2 -2
- package/dist/cdn/{5GRAGQQP.js → DFVGHMS4.js} +2 -2
- package/dist/cdn/DI3ZJNYG.js +4 -0
- package/dist/cdn/{DUZUSI6P.js → DKFDVAPB.js} +2 -2
- package/dist/cdn/{WP6BQVIA.js → DMOHDVMJ.js} +2 -2
- package/dist/cdn/{7C4LS7IK.js → DPCZKJNP.js} +2 -2
- package/dist/cdn/{5YPIARSS.js → DPQI6KC3.js} +2 -2
- package/dist/cdn/{N47B2PFI.js → DTFCT5IZ.js} +2 -2
- package/dist/cdn/{BDSZY6HF.js → DXVTCY4M.js} +2 -2
- package/dist/cdn/{VKBPB4XL.js → EDGMFTA5.js} +1 -1
- package/dist/cdn/{KAYEVXTW.js → FBFPEXXQ.js} +2 -2
- package/dist/cdn/{5LOR6WOH.js → FINGXX6A.js} +2 -2
- package/dist/cdn/{VWNZ5PHO.js → FIZQWFHG.js} +2 -2
- package/dist/cdn/{QUYSAWNZ.js → FJZZPZAP.js} +1 -1
- package/dist/cdn/{TATQRKRO.js → FLMBYBSQ.js} +2 -2
- package/dist/cdn/{RAL76SQT.js → FMBJIOBG.js} +2 -2
- package/dist/cdn/{2VW6H67C.js → FOARVMCU.js} +1 -1
- package/dist/cdn/{N3WHAHAE.js → FT36ADUC.js} +2 -2
- package/dist/cdn/{RSHSVMPO.js → FVYY2V6T.js} +2 -2
- package/dist/cdn/{3GOXEHUM.js → FX4JCXT3.js} +2 -2
- package/dist/cdn/{KWPSUDAQ.js → G2RF3XGL.js} +2 -2
- package/dist/cdn/{SJSKBJDQ.js → G6J2G3OU.js} +2 -2
- package/dist/cdn/{YQ56TKXB.js → G6RPSMZU.js} +2 -2
- package/dist/cdn/{UXS2JZES.js → GAJRZJ5F.js} +2 -2
- package/dist/cdn/{FBJW6XEX.js → GHOZRGNX.js} +2 -2
- package/dist/cdn/GIZRBHCR.js +18 -0
- package/dist/cdn/{WJHLFCHB.js → GNLCPEV7.js} +2 -2
- package/dist/cdn/{KKJXYILX.js → GPVKAG4C.js} +2 -2
- package/dist/cdn/{XXLWKLVG.js → GULDKM5K.js} +2 -2
- package/dist/cdn/{EAVTHFWC.js → GVMSMEI4.js} +2 -2
- package/dist/cdn/{22TLYMB5.js → GWZJKQMN.js} +2 -2
- package/dist/cdn/{TKSTFENU.js → H22ZUYLG.js} +3 -3
- package/dist/cdn/H3WID2XT.js +18 -0
- package/dist/cdn/{CAIDATL7.js → H3YXFKQG.js} +2 -2
- package/dist/cdn/{OJE3CXRA.js → H46M3Z3P.js} +2 -2
- package/dist/cdn/{WGOOZUKO.js → H46O6YAN.js} +2 -2
- package/dist/cdn/{N2ME4PMY.js → H5ZIHIO2.js} +3 -3
- package/dist/cdn/{5OFRMSV6.js → H6V2DNZK.js} +2 -2
- package/dist/cdn/{XIXMB2G5.js → HBZ4X7UP.js} +2 -2
- package/dist/cdn/{TD5MSEEV.js → HF75TXAE.js} +2 -2
- package/dist/cdn/{VJBYZT6W.js → HK4LMSCI.js} +2 -2
- package/dist/cdn/{JNZWDT5I.js → HOZJEHZI.js} +2 -2
- package/dist/cdn/{EFN3IWLQ.js → HPD42QK2.js} +2 -2
- package/dist/cdn/{E6AZUM5D.js → HSDQUCF6.js} +2 -2
- package/dist/cdn/{BAEITQ2C.js → HUJDORKB.js} +2 -2
- package/dist/cdn/{57OJYSCR.js → IAZYT5SM.js} +2 -2
- package/dist/cdn/{G5HPM6N2.js → IFQJHKJ3.js} +2 -2
- package/dist/cdn/{VHODC5K7.js → INHTUKGG.js} +2 -2
- package/dist/cdn/{73CALEXO.js → IOFFIYTL.js} +1 -1
- package/dist/cdn/{Q5577CJV.js → IWEV46QA.js} +2 -2
- package/dist/cdn/{OLAVIJIT.js → IY4EENZ5.js} +2 -2
- package/dist/cdn/{NMOQUXR6.js → JDBE77NZ.js} +2 -2
- package/dist/cdn/{JQOJYSOZ.js → JDPFMWSP.js} +2 -2
- package/dist/cdn/{XWZRUTOX.js → JHW7VZTV.js} +2 -2
- package/dist/cdn/{5UMSFFPF.js → JL5VELML.js} +2 -2
- package/dist/cdn/{LKCOVVSL.js → JQ5YNHDK.js} +2 -2
- package/dist/cdn/{NO53EZBW.js → JRD5PLWA.js} +2 -2
- package/dist/cdn/{A3TE2CYP.js → JSUMCSCE.js} +2 -2
- package/dist/cdn/{IAHGXPQT.js → K4F6G4OQ.js} +1 -1
- package/dist/cdn/{TXF5RICI.js → KPU6AFJN.js} +2 -2
- package/dist/cdn/KVNQHEXQ.js +4 -0
- package/dist/cdn/{N2Q43IJ2.js → LCP3BY3N.js} +2 -2
- package/dist/cdn/{RFC7Q3JW.js → LCUHKJMS.js} +2 -2
- package/dist/cdn/{DB2PWS76.js → LI5GC7CN.js} +2 -2
- package/dist/cdn/{5YLKLSMJ.js → LMGSYVDG.js} +1 -1
- package/dist/cdn/{ABWWFNZH.js → LQRMHTGZ.js} +2 -2
- package/dist/cdn/{BGG35RUD.js → LRUGHWTN.js} +1 -1
- package/dist/cdn/{Y3VKMBT2.js → LXA33IHT.js} +2 -2
- package/dist/cdn/{NB2KN2PS.js → LZS774B3.js} +1 -1
- package/dist/cdn/{3WUBH6ZI.js → MFK4TJVR.js} +2 -2
- package/dist/cdn/{DLLKABZH.js → MHWXPIZF.js} +2 -2
- package/dist/cdn/{3TNNRRLR.js → MJ7SNROO.js} +2 -2
- package/dist/cdn/{E4MUA2ED.js → MJ7WUNVY.js} +2 -2
- package/dist/cdn/{FKBPJVRW.js → MPF442O4.js} +2 -2
- package/dist/cdn/{ZLKFLJAK.js → MPJ2AA4Y.js} +2 -2
- package/dist/cdn/{FRI7HIM7.js → MSAGS3RU.js} +2 -2
- package/dist/cdn/{7YM72QZ3.js → MSC6SQKC.js} +2 -2
- package/dist/cdn/{RMQSJKXT.js → MTI5LVZW.js} +2 -2
- package/dist/cdn/{6FVEXKJS.js → MZNCYU5F.js} +2 -2
- package/dist/cdn/{4HJRJ7KX.js → N4SJLKUB.js} +2 -2
- package/dist/cdn/{JGO5DBSA.js → N6WVCUYZ.js} +2 -2
- package/dist/cdn/{2SNUWJEH.js → NFHEIYMD.js} +2 -2
- package/dist/cdn/{ZHJOJK4D.js → NGOP7PKK.js} +2 -2
- package/dist/cdn/{NBFO57MD.js → NIVL5UGT.js} +2 -2
- package/dist/cdn/{GWPISXDC.js → NKOVTFUU.js} +1 -1
- package/dist/cdn/{TS32X4ID.js → NO2SL2YF.js} +1 -1
- package/dist/cdn/{BQW56YYM.js → NOSOENXA.js} +2 -2
- package/dist/cdn/{IJJ6XUUA.js → NPELRLAT.js} +1 -1
- package/dist/cdn/{KBDBSCXP.js → NQHY7XX2.js} +2 -2
- package/dist/cdn/{RWQERXH4.js → NUCJR6CY.js} +2 -2
- package/dist/cdn/{6BG4LKDW.js → NW4KXWWN.js} +2 -2
- package/dist/cdn/{BDLLR4WH.js → O34SMVFC.js} +2 -2
- package/dist/cdn/{ATBQXDJR.js → O7VNTXYR.js} +1 -1
- package/dist/cdn/{T3ZRKXLY.js → OFMVTSKF.js} +2 -2
- package/dist/cdn/{UPDKM5C4.js → OGSX3AIB.js} +2 -2
- package/dist/cdn/{XMAMECK7.js → OK6EFAL5.js} +2 -2
- package/dist/cdn/{X7VDVXPT.js → OKMLPIEO.js} +2 -2
- package/dist/cdn/{WOWKKDEA.js → OL6BCU24.js} +2 -2
- package/dist/cdn/{EMR2T3VS.js → OLE4GCSZ.js} +2 -2
- package/dist/cdn/{I4GUWHGI.js → OOIVSIXL.js} +2 -2
- package/dist/cdn/{E45HF3Y4.js → OTV4TIHA.js} +1 -1
- package/dist/cdn/{EUCKEPMP.js → OY2EULMD.js} +1 -1
- package/dist/cdn/{WAD3QU5V.js → PC7NVT5O.js} +2 -2
- package/dist/cdn/{NMW6Q45K.js → PKQBHNHV.js} +2 -2
- package/dist/cdn/{44KIKBNN.js → PLZQ55P6.js} +1 -1
- package/dist/cdn/{4KEBF4LC.js → PNYGXVOF.js} +2 -2
- package/dist/cdn/{ERDDFJBU.js → PQ6UKR2D.js} +2 -2
- package/dist/cdn/PQF5AGW3.js +18 -0
- package/dist/cdn/{E6ANX74E.js → PUL6DFZP.js} +2 -2
- package/dist/cdn/{LB4MHZTX.js → PYTYKQXT.js} +2 -2
- package/dist/cdn/{WIJOUEJP.js → Q2NP2O3M.js} +1 -1
- package/dist/cdn/{GOFL3CLI.js → QHCRENJA.js} +2 -2
- package/dist/cdn/{64GGJXW2.js → QKSO2DZS.js} +2 -2
- package/dist/cdn/{LFFZU6FW.js → QQFRILT6.js} +2 -2
- package/dist/cdn/{AQ4EWNIS.js → QSOWUBRL.js} +2 -2
- package/dist/cdn/{XE4V3N2H.js → QUXU6A5O.js} +2 -2
- package/dist/cdn/{EMX7A46W.js → QWW5LVKF.js} +1 -1
- package/dist/cdn/{E2WTZA5A.js → R2MSIDPH.js} +2 -2
- package/dist/cdn/{CINMF5MV.js → R4TKAAQV.js} +2 -2
- package/dist/cdn/{OK6HLZPD.js → R7RG6ML5.js} +2 -2
- package/dist/cdn/{NTIAFN5V.js → RFBPGTLV.js} +2 -2
- package/dist/cdn/{EMSROVVK.js → RJMRH5EB.js} +2 -2
- package/dist/cdn/{ITFUMWIC.js → RM2TEOMI.js} +2 -2
- package/dist/cdn/{IUKZJEZR.js → RTSDGCAZ.js} +2 -2
- package/dist/cdn/{YBYPMK5B.js → RU4LFZ43.js} +2 -2
- package/dist/cdn/{EZZ43ZR6.js → RUXEHYBS.js} +2 -2
- package/dist/cdn/{SAYEB7BP.js → RUZUM5JL.js} +2 -2
- package/dist/cdn/{YFXB4ISW.js → RVP3IPFW.js} +2 -2
- package/dist/cdn/{XJNGHFQY.js → RZ64SXIZ.js} +2 -2
- package/dist/cdn/S3DJ42LQ.js +4 -0
- package/dist/cdn/{6D3RDJX7.js → S76CATML.js} +2 -2
- package/dist/cdn/{7Z62O7FH.js → S7HDN545.js} +2 -2
- package/dist/cdn/{US5FGYHG.js → SAVY6UWC.js} +2 -2
- package/dist/cdn/{INGNQIJ3.js → SFZSSATF.js} +1 -1
- package/dist/cdn/{D4E4KVMH.js → SITUZTCB.js} +1 -1
- package/dist/cdn/{F67L3FFT.js → SM4ERQVS.js} +2 -2
- package/dist/cdn/SOCFGEQX.js +4 -0
- package/dist/cdn/{UTTBCGBU.js → STR7L3II.js} +1 -1
- package/dist/cdn/{UYHG2K2R.js → SUYA6BJE.js} +2 -2
- package/dist/cdn/SWLTPJE7.js +19 -0
- package/dist/cdn/{WIVHCBPP.js → T6ENDM5I.js} +2 -2
- package/dist/cdn/{CQEENTBO.js → TDAFNKRF.js} +2 -2
- package/dist/cdn/{MLEBNSOQ.js → TGF4D4AP.js} +2 -2
- package/dist/cdn/{DJW5RED2.js → TJYWSXAE.js} +2 -2
- package/dist/cdn/{KU56AQD3.js → TNKUKSQO.js} +2 -2
- package/dist/cdn/{LPCTO7JL.js → TZB4SIVB.js} +2 -2
- package/dist/cdn/{BFH5SRQZ.js → U4AOWHPN.js} +2 -2
- package/dist/cdn/{2WOG7EWC.js → UCOGDUDQ.js} +2 -2
- package/dist/cdn/{JNLPWAOW.js → UF7C45QH.js} +1 -1
- package/dist/cdn/{LH2RWSHL.js → UFB3TUWD.js} +2 -2
- package/dist/cdn/{T5M4F7YY.js → UJIWOKHV.js} +2 -2
- package/dist/cdn/ULUZHD23.js +18 -0
- package/dist/cdn/{44BN27VD.js → UMIMUVFB.js} +2 -2
- package/dist/cdn/{6SEI3MD4.js → UMQ6LGJX.js} +2 -2
- package/dist/cdn/{422X4AIN.js → UPY2LA6F.js} +2 -2
- package/dist/cdn/{KHZT65GM.js → USLNR5GM.js} +2 -2
- package/dist/cdn/{CYMZ5TR6.js → UTUTEFAQ.js} +2 -2
- package/dist/cdn/{AQLKL2NA.js → UU5CNOQW.js} +1 -1
- package/dist/cdn/{4YOYUXOM.js → UVD3URNY.js} +2 -2
- package/dist/cdn/{HOSQ2AT7.js → V3UMFOSY.js} +2 -2
- package/dist/cdn/{OVZZDA7E.js → VI4S4LJS.js} +1 -1
- package/dist/cdn/{MXKTM3JR.js → VNKBLONB.js} +2 -2
- package/dist/cdn/{JUFXEC5B.js → VQNKIJYJ.js} +2 -2
- package/dist/cdn/{2H6MMKLC.js → VSFHEXKM.js} +2 -2
- package/dist/cdn/{LVYTI5YO.js → VUE2KPGT.js} +1 -1
- package/dist/cdn/{CUWBKPW3.js → VVBT7KBI.js} +2 -2
- package/dist/cdn/{DIPTKS7N.js → VVKUWUHS.js} +2 -2
- package/dist/cdn/{RZS7265A.js → W3LLXNL3.js} +1 -1
- package/dist/cdn/{XNMPWNJU.js → W77AHKSW.js} +2 -2
- package/dist/cdn/{RPDZRAZN.js → WB3MRH4D.js} +2 -2
- package/dist/cdn/{FWU3TXCH.js → WFQNYZM4.js} +2 -2
- package/dist/cdn/{KLDZGQR7.js → WG6YT6NR.js} +2 -2
- package/dist/cdn/{DE4JUMCH.js → WJF7O2KL.js} +2 -2
- package/dist/cdn/{P6V7CQGP.js → WTHR4PDS.js} +2 -2
- package/dist/cdn/{JAHBNPDG.js → WVOYVMPB.js} +2 -2
- package/dist/cdn/{JC4DSHFM.js → X472G43W.js} +2 -2
- package/dist/cdn/{5OKFWPQF.js → X5I4YW2D.js} +2 -2
- package/dist/cdn/{4L3V2YYV.js → X7YNYBQ7.js} +1 -1
- package/dist/cdn/{5FNUZG6X.js → XANWM4XJ.js} +2 -2
- package/dist/cdn/{XE5DWVXG.js → XJHNY525.js} +2 -2
- package/dist/cdn/XJJZC34E.js +4 -0
- package/dist/cdn/{R3HTIQI4.js → XQTZGROY.js} +2 -2
- package/dist/cdn/{7PPW7OOE.js → XS2PGUTI.js} +2 -2
- package/dist/cdn/{PSTKPUKW.js → XUI76RRO.js} +2 -2
- package/dist/cdn/{5MAI7MEC.js → XXHTK6SD.js} +2 -2
- package/dist/cdn/{UA2S4SRX.js → Y6GOEXCP.js} +1 -1
- package/dist/cdn/{TWKAESRO.js → YDQ3OJQO.js} +1 -1
- package/dist/cdn/{OZ6MXTPT.js → YEZ45MYI.js} +2 -2
- package/dist/cdn/{STM2LDCR.js → YGOJWFRE.js} +1 -1
- package/dist/cdn/{WBEQ7VK3.js → YHPDJ5FN.js} +2 -2
- package/dist/cdn/{XEKWJEF6.js → YUXVO62S.js} +2 -2
- package/dist/cdn/YWKKYK5K.js +18 -0
- package/dist/cdn/{MKZNNMPC.js → YWR7J3GR.js} +2 -2
- package/dist/cdn/{5BWSNQ4C.js → Z25W4Z6L.js} +2 -2
- package/dist/cdn/{CJZSQT35.js → Z3VO6XU3.js} +2 -2
- package/dist/cdn/{QQD353LD.js → ZBE4V2ZL.js} +2 -2
- package/dist/cdn/{6VV6QBNS.js → ZK3VF62M.js} +1 -1
- package/dist/cdn/{NZ6MHZKX.js → ZKKTR3BI.js} +1 -1
- package/dist/cdn/{3OJVS3LV.js → ZKOIDQFC.js} +2 -2
- package/dist/cdn/assets/solution-deploying-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +140 -138
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +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.d.ts +12 -5
- package/dist/components/create-feature/customElement.js +44 -50
- package/dist/components/create-related-feature/customElement.js +3 -3
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.d.ts +0 -6
- package/dist/components/crowdsource-reporter/customElement.js +98 -87
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.d.ts +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.d.ts +2 -0
- package/dist/components/feature-details/customElement.js +7 -5
- package/dist/components/feature-list/customElement.d.ts +2 -0
- package/dist/components/feature-list/customElement.js +20 -20
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +11 -13
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.d.ts +1 -1
- package/dist/components/map-picker/customElement.js +5 -8
- 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-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +1 -0
- package/dist/components/solution-deploy-panel/customElement.js +5 -5
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.d.ts +7 -0
- package/dist/components/solution-deploying-panel/customElement.js +48 -15
- package/dist/components/solution-deploying-panel/index.d.ts +7 -0
- package/dist/components/solution-deploying-panel/index.js +7 -0
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +4 -4
- package/dist/components/solution-item-details/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-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +127 -49
- package/dist/docs/docs.json +149 -38
- package/dist/docs/vscode.html-custom-data.json +14 -14
- package/dist/docs/web-types.json +63 -31
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +6 -4
- package/dist/types/preact.d.ts +6 -4
- package/dist/types/react.d.ts +6 -4
- package/dist/types/stencil.d.ts +6 -4
- package/package.json +1 -1
- package/dist/cdn/4NCQ3IS4.js +0 -18
- package/dist/cdn/5Z3SFZPV.js +0 -19
- package/dist/cdn/627NUP22.js +0 -4
- package/dist/cdn/6K3XKNF7.js +0 -18
- package/dist/cdn/FLEZVTRW.js +0 -4
- package/dist/cdn/KNHIVMQR.js +0 -4
- package/dist/cdn/QY3WDSZE.js +0 -4
- package/dist/cdn/RE3SUTYT.js +0 -18
- package/dist/cdn/RHY65LV5.js +0 -18
- package/dist/cdn/U2HFGKIV.js +0 -18
- package/dist/cdn/VJLQ32GX.js +0 -4
- package/dist/cdn/WRJ2IISI.js +0 -18
- package/dist/cdn/X4XTLJM6.js +0 -4
- package/dist/cdn/X6K34YQK.js +0 -4
- package/dist/cdn/XLPJWPRX.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as e}from"./JHW7VZTV.js";import"./W3LLXNL3.js";import"./H6V2DNZK.js";import"./NKOVTFUU.js";import"./3CHLZWTV.js";import"./UMQ6LGJX.js";import"./RUZUM5JL.js";import"./G6J2G3OU.js";import"./6EHPMLHH.js";import"./5HIKUFVB.js";import"./2WTCHQJH.js";import"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./5ZNOFKZT.js";import"./YUXVO62S.js";import"./UVD3URNY.js";import{a as t}from"./A7QSMG5S.js";import"./UPY2LA6F.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as l}from"./STR7L3II.js";import{b as t,c as u}from"./NKOVTFUU.js";import"./OY2EULMD.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250530 */
|
4
4
|
var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import"./OY2EULMD.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};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as c,b as e,c as s,d as x}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as c,b as e,c as s,d as x}from"./NO2SL2YF.js";function o(r={}){return r.portal?x(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function i(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function h(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function p(r){return r.join(",")}function N(r,t){let n=b(r,t),a=Object.assign({httpMethod:"GET"},t);return e(n,a)}var b=(r,t)=>`${typeof t=="string"?t:o(t)}/content/items/${r}`;function F(r,t){let n=`${b(r,t)}/data`,a=Object.assign({httpMethod:"GET",params:{}},t);return a.file&&(a.params.f=null),e(n,a).catch(m=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(m.message))throw m})}function Y(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/delete`;return e(n,r)})}function z(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),e(n,r)})}function L(r,t){let n=r||"self",a=`${o(t)}/portals/${n}/settings`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}function y(r){return i(r).then(t=>{let n=r.folderId?`${o(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${o(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent)),e(n,r)})}function O(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),e(n,r)})}function nr(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),e(n,r)})}function I(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):i(r).then(t=>{let n=`${o(r)}/content/users/${t}`,a=`${n}/addItem`;r.folderId&&(a=`${n}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent));let m=s(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return e(a,m)})}function dr(r){let t=Object.assign({folderId:null},r);return I(t)}var f=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let n=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(c(`${n} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(c("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(c('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(c('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(c(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(c(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(c(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&c("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function l(r,t){let n;typeof r=="string"||r instanceof f?n={httpMethod:"GET",params:{q:r}}:n=s(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let a;switch(t){case"item":a="/search";break;case"group":a="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof f)&&r.groupId)a=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":a="/community/users";break;default:a="/portals/self/users/search";break}let m=o(n)+a;return e(m,n).then(u=>(u.nextStart&&u.nextStart!==-1&&(u.nextPage=function(){let d;return typeof r=="string"||r instanceof f?d={q:r,start:u.nextStart}:(d=r,d.start=u.nextStart),l(d,t)}),u))}function U(r){return l(r,"item")}function xt(r){return l(r,"groupContent")}function We(r,t){let n=r||"self",a=`${o(t)}/portals/${n}`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}export{o as a,y as b,O as c,nr as d,dr as e,N as f,F as g,Y as h,z as i,f as j,U as k,xt as l,We as m,L as n};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import"./OY2EULMD.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as r}from"./PNYGXVOF.js";import{D as n,I as o,c as t,d as i,q as s}from"./VUE2KPGT.js";import"./OY2EULMD.js";var a=t`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as e}from"./RM2TEOMI.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e,f as t}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{e,f as t}from"./FJZZPZAP.js";import"./OY2EULMD.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{D as d,G as s,I as g,J as i,c as l,d as p,q as u}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{D as d,G as s,I as g,J as i,c as l,d as p,q as u}from"./VUE2KPGT.js";import"./OY2EULMD.js";var m=l`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as O}from"./KHZT65GM.js";import{a as D}from"./EZZ43ZR6.js";import{h as N,i as b}from"./INGNQIJ3.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as O}from"./USLNR5GM.js";import{a as D}from"./RUXEHYBS.js";import{h as N,i as b}from"./SFZSSATF.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as S}from"./RFBPGTLV.js";import"./4WQSWJOC.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./6WM4LAYI.js";import{c as d,d as g,g as v}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as u,b as c}from"./IWEV46QA.js";import{b as F}from"./BJMWCYCG.js";import{a as b}from"./PNYGXVOF.js";import{D as w,E as x,F as I,I as L,c as m,d as r,g as y,o as p,q as _}from"./VUE2KPGT.js";import"./OY2EULMD.js";var $=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
|
+
*/:host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.notice-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500}.feature-list-popup-title-small{font-size:small}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray!important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3)}}`,f=class extends w{constructor(){super(...arguments),this.selectedLayerId="",this.noFeaturesFoundMsg="",this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=[],this._translations=b({name:"feature-list",blocking:!0}),this._pagination=u(),this._calciteList=u(),this._validFieldTypes=["small-integer","integer","big-integer","single","long"],this._abbreviatedLikeCount="",this._likeFieldAvailable=!1,this._searchExpression="",this.featureClick=p(),this.featureSelect=p()}static{this.properties={selectedLayerId:1,mapView:0,noFeaturesFoundMsg:1,pageSize:9,highlightOnMap:5,highlightOnHover:5,sortingInfo:0,whereClause:1,textSize:1,showInitialLoading:5,showErrorWhenNoFeatures:5,showUserImageInList:5,showFeatureSymbol:5,applyLayerViewFilter:5,reportingOptions:0,showFullTitle:5,filterByMapExtent:5,_featureItems:16,_featuresCount:16,_isLoading:16,_searchPlaceHolder:16,_fullTextSearchInfo:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("selectedLayerId")&&this.selectedLayerWatchHandler(),e.has("sortingInfo")&&this.sortingInfoWatchHandler(),e.has("whereClause")&&this.whereClauseHandler(),e.has("filterByMapExtent")&&this.hasUpdated&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}async selectedLayerWatchHandler(){this._selectedLayer=this.mapView&&await g(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(e){if(e&&this._pagination.value){let t={target:{startItem:this._pagination.value.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}async load(){await this.initModules(),this._isLoading=!!this.showInitialLoading,this._popupUtils=new S,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await g(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.initializeFeatureItems()}render(){let e=this._canShowFullTextSearch();return r`<calcite-panel>${e&&r`<calcite-input class=search clearable icon=search @calciteInputChange=${this._searchTextChanged} .placeholder=${this._searchPlaceHolder} title type=search></calcite-input>`||""}${this._isLoading&&r`<calcite-loader label scale=m></calcite-loader>`||""}${this.showErrorWhenNoFeatures&&this._featureItems.length===0&&!this._isLoading&&r`<calcite-notice class="notice-msg" icon=feature-details kind=info open><div slot=message>${this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg}</div></calcite-notice>`||""}<calcite-list class=${x(this.textSize==="small"&&!this.showFullTitle?"overflow-hidden":"")} label selection-appearance=border selection-mode=none ${c(this._calciteList)}>${!this._isLoading&&this._featureItems.length>0&&r`<div>${this.filterByMapExtent&&this.getExtentNotice()||""}${this._featureItems}</div>`||""}</calcite-list>${this.pageSize&&this._featuresCount>this.pageSize&&r`<div class="width-full" slot=footer><calcite-pagination class="pagination" @calcitePaginationChange=${this.pageChanged} .pageSize=${this.pageSize} start-item=1 .totalItems=${this._featuresCount} ${c(this._pagination)}></calcite-pagination></div>`||""}</calcite-panel>`}async initModules(){let[e,t,i,s]=await F(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=e,this.esriConfig=t,this.symbolUtils=i,this.reactiveUtils=s}async getWhereCondition(){let e="1=1";if(this.whereClause&&(e=this.whereClause),this._selectedLayer?.definitionExpression&&(e=e+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){let t=this.mapView&&await d(this.mapView,this.selectedLayerId);t?.filter?.where&&(e=e+" AND "+t.filter.where)}return e}async initializeFeatureItems(){if(this._selectedLayer){this._pagination.value?.goTo("start"),this._isLoading=!!this.showInitialLoading,this._featureItems=await this.queryPage(0);let e={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView?.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(e),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.initializeFeatureItems()},{initial:!0})}async pageChanged(e){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=void 0);let t=e.target.startItem-1;this._featureItems=await this.queryPage(t),this._isLoading=!1}_canShowFullTextSearch(){return this._selectedLayer?.capabilities?.query?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._selectedLayer?.capabilities?.query?.supportsFullTextSearch){let e=this._selectedLayer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._selectedLayer?.getField(s.trim());i.push(a?.alias||"")}),this._searchPlaceHolder=this._translations.searchPlaceholder?this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")):"",this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let e=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){let t=this._selectedLayer?.createQuery();t&&(t.fullText=this._fullTextSearchInfo,e=await this._selectedLayer?.queryObjectIds(t),await this._updateSearchDefinitionExpression(e?.length?e:[-1]))}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(e){if(this._selectedLayer){let t=this._selectedLayer.definitionExpression;if(e?.length){let i=`objectId in(${e})`;this._selectedLayer.definitionExpression=this._searchExpression&&t&&t?.indexOf(this._searchExpression)>-1?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}}_clearSearchDefinitionExpression(){if(this._selectedLayer){let e=this._selectedLayer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._selectedLayer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._selectedLayer.definitionExpression=e.replace(this._searchExpression,""))}this._searchExpression=""}async featureClicked(e,t){if(this.featureClick.emit(),this.clearHighlights(),this.highlightOnMap){let i=Number(e.target.value),s=this.mapView&&await d(this.mapView,this.selectedLayerId);this._highlightHandle=s&&this.mapView?await v([i],s,this.mapView,!0):void 0}await this.emitSelectedFeature(t)}async emitSelectedFeature(e){let t=e.layer,i=t.createQuery();i.returnGeometry=!0;let s=Number(e.getObjectId());if(!Number.isNaN(s)&&i){i.objectIds=[s];let a=await t.queryFeatures(i);this.featureSelect.emit(a.features[0])}}async onFeatureHover(e){if(this.clearHighlights(),this.highlightOnHover){let t=Number(e.getObjectId()),i=this.mapView&&await d(this.mapView,this.selectedLayerId);i&&(this._highlights&&(i.highlights=JSON.parse(this._highlights)),this.Color&&(i.highlightOptions={color:new this.Color("#FFFF00")}),this._highlights=JSON.stringify(i.highlights),this._highlightHandle=i.highlight([t]))}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(e){let t=this._selectedLayer;if(t){let i=this.sortingInfo?.field?this.sortingInfo.field:t.objectIdField,s=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),l={start:e,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView?.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView?.extent:null};i&&s&&(l.orderByFields=[i.toString()+" "+s]);let n=await t.queryFeatures(l);return await this.createFeatureItem(n)}else return}async createFeatureItem(e){let t=e?.features,i=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,s=t.map(async a=>{let l=this.mapView?.map&&await this._popupUtils?.getPopupTitle(a,this.mapView.map)||"",n,h;return this.showUserImageInList&&this._selectedLayer?.editFieldsInfo?.creatorField&&(n=await this.getUserInformation(a)),this.showFeatureSymbol&&(h=await this.getFeatureSymbol(a)),i&&this.getAbbreviatedLikeCount(a),this.getFeatureItem(a,l,h,n)});return Promise.all(s)}getExtentNotice(){return r`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`}getAbbreviatedLikeCount(e){let t=this._selectedLayer;if(t){let i=this.reportingOptions&&this.reportingOptions[t.id].likeField;t.fields.forEach(s=>{if(this._validFieldTypes.indexOf(s.type)>-1&&s.name===i&&this.reportingOptions&&this.reportingOptions[t.id].like){this._likeFieldAvailable=!0;let a=e.attributes[i]||0;a>999&&this._translations.millions_value&&this._translations.thousands_value&&(a=a>999999?this._translations.millions_value.replace("{{millions_value}}",Math.floor(a/1e6).toString()):this._translations.thousands_value.replace("{{thousands_value}}",Math.floor(a/1e3).toString())),this._abbreviatedLikeCount=a}})}}getFeatureItem(e,t,i,s){if(this._selectedLayer?.id&&this._calciteList.value){let a=e.attributes[this._selectedLayer.objectIdField].toString();t=t??a;let l=Number(e.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField||""]).toLocaleString(),n=this.textSize==="small"&&!this.showFullTitle?"feature-list-popup-title-small-ellipsis":this.textSize==="small"?"feature-list-popup-title-small":"feature-list-popup-title",h=this.showUserImageInList?115:65,E=this._calciteList.value.offsetWidth-h;return r`<calcite-list-item @mouseleave=${()=>{this.clearHighlights()}} @mouseover=${()=>{this.onFeatureHover(e)}} @calciteListItemSelect=${o=>{this.featureClicked(o,e)}} .value=${a}>${this.showUserImageInList&&r`<calcite-avatar class=profile-img .fullName=${s?.fullName} scale=m slot=content-start .thumbnail=${s?.userProfileUrl} .userId=${s?.id} .username=${s?.fullName?s.username:void 0}></calcite-avatar>`||""}${this.showFeatureSymbol&&i&&r`<div class=feature-symbol slot=content-start ${c(o=>o&&o.replaceChildren(i))}></div>`||""}<div class=${`popup-title ${n}`} slot=content-start style=${I({maxWidth:this.textSize==="large"?"none":`${E}px`})}>${t}</div>${this._likeFieldAvailable&&r`<div class=like-container id=${a.concat("like")??y} slot=content-end><span>${this._abbreviatedLikeCount}</span><calcite-icon icon=thumbs-up scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${a.concat("like")}>${l}</calcite-tooltip></div>`||""}<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`}else return}async getUserInformation(e){let t=this._selectedLayer?.editFieldsInfo?.creatorField;if(t){e.attributes.hasOwnProperty(t.toLowerCase())?t=t.toLowerCase():e.attributes.hasOwnProperty(t.toUpperCase())&&(t=t.toUpperCase());let i=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${e.attributes[t]}?f=json&returnUserLicensedItems=true`,s=this.mapView?.map?.portalItem.portal?.credential?.token;s&&(i+=`&token=${s}`);let a=await(await fetch(i)).json(),l=a?.username??e.attributes[t],n=`${this.esriConfig?.portalUrl}/sharing/rest/community/users/${l}/info/blob.png`;return a?.access&&s&&(n+=`?token=${s}`),a.userProfileUrl=n,a}else return}async getFeatureSymbol(e){let t=document.createElement("div");return await this.symbolUtils?.getDisplayedSymbol(e).then(async i=>{if(i&&await this.symbolUtils?.renderPreviewHTML(i,{node:t}),t.children?.length){let s=t.children[0];if(s){let a=Number(s.getAttribute("height")),l=Number(s.getAttribute("width"));l>30&&s.setAttribute("width","30"),a>30&&s.setAttribute("height","30"),s.setAttribute("viewBox",`0 0 ${l} ${a}`)}}}),t}};L("feature-list",f);export{f as FeatureList};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as i}from"./H3YXFKQG.js";import{a as s,c as l,d as r}from"./XANWM4XJ.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as m}from"./PUL6DFZP.js";import{a as i}from"./X5I4YW2D.js";import"./AOWCHDDD.js";import{a as c}from"./HBZ4X7UP.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import"./Q2NP2O3M.js";import"./7ICYEZEV.js";import{a as n,b as p}from"./GNLCPEV7.js";import"./H3YXFKQG.js";import"./XANWM4XJ.js";import{a}from"./WVOYVMPB.js";import{a as r}from"./C5O32W6W.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./ZKKTR3BI.js";import"./X7YNYBQ7.js";import"./JHW7VZTV.js";import"./W3LLXNL3.js";import"./H6V2DNZK.js";import"./NKOVTFUU.js";import"./3CHLZWTV.js";import"./UMQ6LGJX.js";import"./RUZUM5JL.js";import"./G6J2G3OU.js";import"./6EHPMLHH.js";import"./5HIKUFVB.js";import"./2WTCHQJH.js";import"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./5ZNOFKZT.js";import"./YUXVO62S.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./UPY2LA6F.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{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"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.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 r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.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.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./EUCKEPMP.js";var{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object,{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});var le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){let o=_t(null);for(let[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){let s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}var ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn}),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn(),o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="",{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s,h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt,{IS_ALLOWED_URI:ke}=pt,m=null,Ue=a({},[...ct,...be,...Ie,...Me,...ft]),d=null,Fe=a({},[...ut,...Ce,...mt,...ce]),f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1,vt="user-content-",Ae=!0,X=!1,k={},U=null,Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,je=a({},["audio","video","img","source","image","track"]),Se=null,Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml",F=b,Re=!1,ye=null,kt=a({},[ie,ae,b],Ne),re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]),Ut=a({},["title","style","font","a","script"]),j=null,Ft=["application/xhtml+xml","text/html"],Ht="text/html",p=null,H=null,zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}let et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;let n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){let u=_.length;for(let y=u-1;y>=0;--y){let M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),De=M,E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});let it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null,n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){let M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);let u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import"./OY2EULMD.js";var{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object,{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});var le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){let o=_t(null);for(let[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){let s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}var ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn}),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn(),o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="",{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s,h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt,{IS_ALLOWED_URI:ke}=pt,m=null,Ue=a({},[...ct,...be,...Ie,...Me,...ft]),d=null,Fe=a({},[...ut,...Ce,...mt,...ce]),f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1,vt="user-content-",Ae=!0,X=!1,k={},U=null,Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,je=a({},["audio","video","img","source","image","track"]),Se=null,Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml",F=b,Re=!1,ye=null,kt=a({},[ie,ae,b],Ne),re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]),Ut=a({},["title","style","font","a","script"]),j=null,Ft=["application/xhtml+xml","text/html"],Ht="text/html",p=null,H=null,zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}let et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;let n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){let u=_.length;for(let y=u-1;y>=0;--y){let M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),De=M,E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});let it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null,n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){let M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);let u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
5
5
|
`+y),P&&le([pe,de,Te],M=>{y=q(y,M," ")}),g&&oe?g.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Oe(i),ge=!0},o.clearConfig=function(){H=null,ge=!1},o.isValidAttribute=function(i,e,t){H||Oe({});let n=p(i),c=p(e);return tt(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&$(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=jt(h[i],e);return t===-1?void 0:Vt(h[i],t,1)[0]}return st(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=dt()},o}var un=ht();export{un as default};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as k}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as k}from"./HSDQUCF6.js";import"./ZK3VF62M.js";import{g as s}from"./5Y5ORVLB.js";import{a as g,b as m}from"./IWEV46QA.js";import{b as y}from"./BJMWCYCG.js";import{a as w}from"./PNYGXVOF.js";import{D as n,E as o,I as p,c,d as l,o as a,q as d}from"./VUE2KPGT.js";import"./OY2EULMD.js";var _=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as g,b as m}from"./
|
3
|
+
v1.0.0-next.20250530 */
|
4
|
+
import{a as g,b as m}from"./624IUPMH.js";import{h as I}from"./NOSOENXA.js";import"./RUXEHYBS.js";import{a as u,c as L,f as b}from"./VQNKIJYJ.js";import{C as w,D as f,m as p}from"./SFZSSATF.js";import"./VI4S4LJS.js";import{a as D,c as d,e as v,f as S}from"./WJF7O2KL.js";import"./OY2EULMD.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
|