@esri/solutions-components 1.0.0-next.20250528.2 → 1.0.0-next.20250528.3
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/{WX4ZUMZN.js → 257RHCO3.js} +2 -2
- package/dist/cdn/{Y4M5KS3M.js → 25INXMQ7.js} +1 -1
- package/dist/cdn/{4QWQA7SP.js → 2ZFWVIHB.js} +2 -2
- package/dist/cdn/{YZCPJ5JI.js → 37ZOOYA6.js} +2 -2
- package/dist/cdn/{RTTXS2RX.js → 3DBNRKRY.js} +2 -2
- package/dist/cdn/{4KGZBVTB.js → 3IKHEFIM.js} +2 -2
- package/dist/cdn/{HYTRDNUE.js → 3P5H2MBX.js} +2 -2
- package/dist/cdn/3QEJ6I3X.js +4 -0
- package/dist/cdn/{GUP4UK2N.js → 3SEFRTZS.js} +2 -2
- package/dist/cdn/{6GVJGNRK.js → 3SXC6AOX.js} +2 -2
- package/dist/cdn/{BKQVXWB7.js → 3Z5EZESP.js} +2 -2
- package/dist/cdn/{HM7JZP3A.js → 46JQWJOE.js} +1 -1
- package/dist/cdn/{ARYFWYUR.js → 4BKW6WVP.js} +1 -1
- package/dist/cdn/{IIPLB2RS.js → 4BPV7HBX.js} +2 -2
- package/dist/cdn/{WO7YGQFB.js → 4CX3U6PC.js} +2 -2
- package/dist/cdn/{73NJ4RPV.js → 4E5A4WPJ.js} +1 -1
- package/dist/cdn/{27LQAQ6Y.js → 4G5AFL4H.js} +2 -2
- package/dist/cdn/{YOSMKTOJ.js → 4GNPLNA5.js} +2 -2
- package/dist/cdn/{HOYVNZRK.js → 4KMMWHZB.js} +2 -2
- package/dist/cdn/{HTYN6WXU.js → 4TQV7BER.js} +2 -2
- package/dist/cdn/{N324UTZ5.js → 4VPENS73.js} +2 -2
- package/dist/cdn/{XHZTR3BJ.js → 53SSMHID.js} +2 -2
- package/dist/cdn/{JBG5SAVM.js → 57ANO2DW.js} +1 -1
- package/dist/cdn/{FPWLAJBO.js → 5IVJBGE4.js} +1 -1
- package/dist/cdn/{GLCP6BKS.js → 5KXQH2TS.js} +2 -2
- package/dist/cdn/{4S2I2R2Q.js → 5NBJWXNC.js} +1 -1
- package/dist/cdn/{BANL5YR3.js → 5NMQ55IB.js} +2 -2
- package/dist/cdn/{IBEMOISL.js → 5VQKGIOK.js} +2 -2
- package/dist/cdn/{CQMNR2XZ.js → 5Y2BA7TP.js} +1 -1
- package/dist/cdn/{XFZL2VCD.js → 6GIWU3Q5.js} +2 -2
- package/dist/cdn/{SFJHXT65.js → 6J3VKLVD.js} +1 -1
- package/dist/cdn/{YQHRK3AQ.js → 6KIF7L5Z.js} +2 -2
- package/dist/cdn/{SMLBVO43.js → 6LYEORFR.js} +2 -2
- package/dist/cdn/{XOHNTOVE.js → 6QGYSL5T.js} +2 -2
- package/dist/cdn/{TWGLV5JH.js → 6TZ6MO2O.js} +2 -2
- package/dist/cdn/{YAK6SM64.js → 6VQV2GNN.js} +2 -2
- package/dist/cdn/{2IDGPQJR.js → 6XBPF2IB.js} +2 -2
- package/dist/cdn/{FEWEA7AN.js → 6Z4UGB7L.js} +2 -2
- package/dist/cdn/{ZZAKVFN7.js → 6ZRKBOXK.js} +2 -2
- package/dist/cdn/{JHFAVQVG.js → 72DBGADN.js} +2 -2
- package/dist/cdn/{66IB2PZE.js → 73FJRU3Y.js} +2 -2
- package/dist/cdn/{IE24UY4O.js → 7JZFXQTO.js} +2 -2
- package/dist/cdn/{Z6TJZJH7.js → 7LLQQFEB.js} +2 -2
- package/dist/cdn/{X6GE3EIS.js → 7XDT73TY.js} +2 -2
- package/dist/cdn/{LYQL4O5M.js → 7XJJ6UNT.js} +2 -2
- package/dist/cdn/{LYWU4RZH.js → 7YOYRP5L.js} +2 -2
- package/dist/cdn/{ABYMP2JA.js → A4PGD7XA.js} +2 -2
- package/dist/cdn/{V5UFRWYB.js → A64GN7NT.js} +2 -2
- package/dist/cdn/{DUOJYQGU.js → AAGHN52S.js} +2 -2
- package/dist/cdn/{U2EADFOW.js → ABWO2Y2R.js} +2 -2
- package/dist/cdn/{FTCXP7FD.js → AEDFL2E5.js} +2 -2
- package/dist/cdn/{TWFIXUDH.js → AGULCZFG.js} +2 -2
- package/dist/cdn/{VGPMZBNK.js → AKLAIQPQ.js} +2 -2
- package/dist/cdn/{JBZH2KKN.js → ALV3PJ2R.js} +2 -2
- package/dist/cdn/{XQNKJT3W.js → ASWV5O2Y.js} +2 -2
- package/dist/cdn/{IIX655ZM.js → AWWZW7JA.js} +1 -1
- package/dist/cdn/{TKILZGVC.js → AXBWHDMC.js} +2 -2
- package/dist/cdn/{UOL6LQRJ.js → AYWX3KW6.js} +2 -2
- package/dist/cdn/{IBDFSTWX.js → B3IN3DJY.js} +2 -2
- package/dist/cdn/{ELBSRAMH.js → BEZWSSYS.js} +2 -2
- package/dist/cdn/{M3OFPTT3.js → BPD6VDN3.js} +2 -2
- package/dist/cdn/{N2MZJBHS.js → BR5BGBOX.js} +2 -2
- package/dist/cdn/{XA34OFHO.js → BXTCLUSK.js} +2 -2
- package/dist/cdn/{ZOPBEUAZ.js → BYAPO6P2.js} +2 -2
- package/dist/cdn/{N5UBRYXZ.js → C24L4MSW.js} +2 -2
- package/dist/cdn/{YTSZZUYS.js → C2JRXUXY.js} +2 -2
- package/dist/cdn/{54NDBS5W.js → C55OWKWP.js} +2 -2
- package/dist/cdn/{NZCTTZQJ.js → C7Y7S4NU.js} +2 -2
- package/dist/cdn/{K6SJCTAS.js → CFHWPF7I.js} +1 -1
- package/dist/cdn/{FNHXNPPV.js → CRCPW7XU.js} +2 -2
- package/dist/cdn/{3S4FG2ZZ.js → CRFHO7BW.js} +2 -2
- package/dist/cdn/{J5LWWUIP.js → CSFSBFDF.js} +2 -2
- package/dist/cdn/{ZEIIGNWR.js → CYIFUTLZ.js} +2 -2
- package/dist/cdn/{6CPKRUI3.js → D3BZ4JKK.js} +1 -1
- package/dist/cdn/{QO56HLQG.js → D7SHA6YV.js} +2 -2
- package/dist/cdn/{T2DUZEDU.js → DAHQXZ7C.js} +1 -1
- package/dist/cdn/{A4JM6VWA.js → DHA6CKJ5.js} +2 -2
- package/dist/cdn/{C3A3SGFC.js → DIWZ4EZC.js} +2 -2
- package/dist/cdn/{A3JKO4I4.js → DLLA4WWL.js} +1 -1
- package/dist/cdn/{FCHOLYNH.js → DOSVUJOV.js} +2 -2
- package/dist/cdn/{3SGIDV3I.js → DP7ML6HU.js} +2 -2
- package/dist/cdn/DRFK3L56.js +4 -0
- package/dist/cdn/{Z3T7XWKC.js → DTIQ7MYW.js} +2 -2
- package/dist/cdn/{5APFWJZZ.js → DTX4EEAG.js} +2 -2
- package/dist/cdn/{YUOGYP2W.js → DU5TL74Q.js} +2 -2
- package/dist/cdn/{YVBTB4PY.js → E2CFMMUE.js} +2 -2
- package/dist/cdn/{2HAFNSIE.js → EB4DFEHA.js} +2 -2
- package/dist/cdn/{2MMQZII3.js → EOEBZDQ7.js} +2 -2
- package/dist/cdn/ET752DLS.js +4 -0
- package/dist/cdn/{455HDVF4.js → EWDSC7JU.js} +2 -2
- package/dist/cdn/{NNQAPUKF.js → EZV7ZQF6.js} +1 -1
- package/dist/cdn/{VUHZ6YXM.js → FB2N4NQN.js} +2 -2
- package/dist/cdn/{QZVIZAH5.js → FBZBMUAD.js} +2 -2
- package/dist/cdn/{AT3MTRQS.js → FMJ3IGTU.js} +1 -1
- package/dist/cdn/{6WQKENE2.js → FP2KIDFS.js} +4 -4
- package/dist/cdn/{O4UWY4LV.js → FQYP65V5.js} +2 -2
- package/dist/cdn/{IVXXAKCK.js → G2TXHXIQ.js} +2 -2
- package/dist/cdn/{3LMFSQQR.js → G475MWQ2.js} +2 -2
- package/dist/cdn/{ZA4R3KFB.js → GA725JQR.js} +2 -2
- package/dist/cdn/{DZXTVGRQ.js → GND4GHDV.js} +2 -2
- package/dist/cdn/{RVOILI7H.js → GP52ZICE.js} +2 -2
- package/dist/cdn/{XCO35G7O.js → GTLMVRBQ.js} +2 -2
- package/dist/cdn/{5USKOL72.js → GXBIS6H4.js} +2 -2
- package/dist/cdn/{J62YOWFC.js → GXI3KDOE.js} +2 -2
- package/dist/cdn/{RFYBQIXD.js → GYCPXIJ5.js} +2 -2
- package/dist/cdn/{SDKQPMU5.js → GZNBACBO.js} +2 -2
- package/dist/cdn/{VYMYL6JP.js → HBE3N77B.js} +2 -2
- package/dist/cdn/{SGX5RQ3B.js → HDW5T7V3.js} +2 -2
- package/dist/cdn/{Y3MVHWDO.js → HFXUVSOV.js} +2 -2
- package/dist/cdn/{OW7E6OZU.js → HG6ROEFU.js} +2 -2
- package/dist/cdn/{SFS5GEDR.js → HHFI6AJ6.js} +2 -2
- package/dist/cdn/{QPNL4XAH.js → HHWQZE3T.js} +1 -1
- package/dist/cdn/{DCP6AHDZ.js → HIXLWRCS.js} +2 -2
- package/dist/cdn/{JY7KFFEJ.js → HKP7U3P5.js} +2 -2
- package/dist/cdn/{JSDNVCX7.js → HMJICBL6.js} +2 -2
- package/dist/cdn/{7GY7BTPK.js → HREL2VNY.js} +2 -2
- package/dist/cdn/{6APCAUUT.js → HUL5SQEE.js} +2 -2
- package/dist/cdn/{ETSCX6UD.js → HVU5S3SS.js} +1 -1
- package/dist/cdn/{UZVRS2XU.js → HXKTFHQR.js} +1 -1
- package/dist/cdn/{U4N25UBP.js → HZWWZ5OV.js} +2 -2
- package/dist/cdn/{PZFNMBVW.js → I645STAC.js} +2 -2
- package/dist/cdn/{ARQHAHK5.js → I72S2GNB.js} +2 -2
- package/dist/cdn/{KSMEO6R5.js → IFSKR5NC.js} +2 -2
- package/dist/cdn/{2XZSJ6JD.js → IIQAYHWH.js} +2 -2
- package/dist/cdn/{DT2GGHBN.js → IJ67TGJO.js} +2 -2
- package/dist/cdn/{GPKFZD7B.js → IRTJHTIG.js} +2 -2
- package/dist/cdn/{UOWOGIE5.js → IRZVL4KH.js} +2 -2
- package/dist/cdn/{RVNPJNAS.js → IT4M2IPN.js} +2 -2
- package/dist/cdn/{CR3NXOPF.js → IYMUBGXL.js} +2 -2
- package/dist/cdn/{I4KZ2A5P.js → J44ASWJ4.js} +2 -2
- package/dist/cdn/{RS6TXCOP.js → JGCUTWDH.js} +2 -2
- package/dist/cdn/{BACSZ2Z7.js → JHPW6QLA.js} +1 -1
- package/dist/cdn/{5NIDGVLZ.js → JJ32NDZX.js} +2 -2
- package/dist/cdn/{JKB6LYON.js → JLEFBKIL.js} +2 -2
- package/dist/cdn/{UBUVKOMA.js → JML5Z4SW.js} +2 -2
- package/dist/cdn/{6PWODZF3.js → JQW32XBP.js} +2 -2
- package/dist/cdn/{5PENO4BC.js → JTNM4TFC.js} +2 -2
- package/dist/cdn/{3XJKMZHA.js → JYDPZBDX.js} +1 -1
- package/dist/cdn/{2BECX5WX.js → K24RDTH6.js} +2 -2
- package/dist/cdn/{JATAGG24.js → K6SZWAR3.js} +2 -2
- package/dist/cdn/{QOPQPJ6E.js → KEPRQ3ES.js} +1 -1
- package/dist/cdn/{5P6SZW5B.js → KGR5GOOM.js} +2 -2
- package/dist/cdn/{XN5WML6J.js → KHJP4IY5.js} +2 -2
- package/dist/cdn/{INDADVJP.js → KSE7HHSL.js} +2 -2
- package/dist/cdn/{XEO56VFL.js → KWE6JXSH.js} +2 -2
- package/dist/cdn/{XIJFQNOB.js → L4O6BNWC.js} +2 -2
- package/dist/cdn/{C7TWT6K2.js → LDMCSIBE.js} +2 -2
- package/dist/cdn/{6QWS7JEN.js → LHCD675Z.js} +2 -2
- package/dist/cdn/{UQBMV5BY.js → LHIJT2HG.js} +2 -2
- package/dist/cdn/{PGFLUWJN.js → LKDIV5SU.js} +2 -2
- package/dist/cdn/{72HLVTY7.js → LLCXPW73.js} +2 -2
- package/dist/cdn/{ROR6SI6U.js → LNEC3E7R.js} +2 -2
- package/dist/cdn/{5BKTEPSJ.js → LUGKZDYN.js} +2 -2
- package/dist/cdn/{DJI7J3C3.js → LVEXDYI4.js} +2 -2
- package/dist/cdn/{N4OHCK66.js → LZVWAYZB.js} +2 -2
- package/dist/cdn/{D6KVYJKN.js → M7CNRM6A.js} +2 -2
- package/dist/cdn/{WVVZ4CLC.js → MA5REVSP.js} +2 -2
- package/dist/cdn/{6RHP2Y7C.js → MANSOOOS.js} +1 -1
- package/dist/cdn/{YFG6Q4W4.js → MBMIPTOA.js} +2 -2
- package/dist/cdn/{Z2MJRFIE.js → MEX4YKRX.js} +2 -2
- package/dist/cdn/{3WC22OVN.js → MJFIELVD.js} +2 -2
- package/dist/cdn/{Y5QDB3GF.js → MNEEEIPJ.js} +2 -2
- package/dist/cdn/{KOQOMT46.js → MYVEMTBD.js} +2 -2
- package/dist/cdn/{KFFWCZKY.js → N2YRZNJW.js} +2 -2
- package/dist/cdn/{6XYU4BZS.js → N5QWENGQ.js} +2 -2
- package/dist/cdn/{X4W4ZZ7O.js → NARGNUFD.js} +2 -2
- package/dist/cdn/{IJBFY7JW.js → NBQSWHCM.js} +2 -2
- package/dist/cdn/{BZFFNFXK.js → NDKH42VU.js} +2 -2
- package/dist/cdn/{GLL5XNBZ.js → NLMEJ6OR.js} +2 -2
- package/dist/cdn/{ZEZCVFYU.js → NN72RJBE.js} +2 -2
- package/dist/cdn/{S56UY63G.js → NNFIBE7G.js} +2 -2
- package/dist/cdn/{R53BLRMX.js → NOADX75H.js} +2 -2
- package/dist/cdn/{QIVTK7HW.js → NOARAMKV.js} +2 -2
- package/dist/cdn/{PLAM4ZSV.js → NPTRZOUL.js} +2 -2
- package/dist/cdn/{QDMUSM3I.js → NS5J2QEB.js} +2 -2
- package/dist/cdn/{2TF5G4JI.js → NWMAPEZO.js} +1 -1
- package/dist/cdn/{MHSBM4WB.js → O2V3QWTR.js} +2 -2
- package/dist/cdn/{OPD73MSN.js → O5DQGL2K.js} +2 -2
- package/dist/cdn/{2OOMOXGH.js → OMSNNRI7.js} +2 -2
- package/dist/cdn/{LWBDG7UH.js → OVEB2NLB.js} +2 -2
- package/dist/cdn/{64XCUKMX.js → OXKYDDEZ.js} +2 -2
- package/dist/cdn/{HM7CZ2CI.js → P2IKZYCY.js} +2 -2
- package/dist/cdn/{JBDNXDLS.js → P6VZV53I.js} +2 -2
- package/dist/cdn/{KETC3CAC.js → P7PCKJWP.js} +2 -2
- package/dist/cdn/{SLKM4GXK.js → PAD56U7M.js} +2 -2
- package/dist/cdn/{OC334CIK.js → PAF4B5CR.js} +2 -2
- package/dist/cdn/{ZHXAH2ZO.js → PGKRFU3R.js} +2 -2
- package/dist/cdn/{ZUGYY22V.js → PJYYGD44.js} +2 -2
- package/dist/cdn/{GOHA6HJP.js → PTAN4GLB.js} +2 -2
- package/dist/cdn/{OC44744D.js → PUAEVLQU.js} +2 -2
- package/dist/cdn/{OI3SHZPE.js → PXZK3CBW.js} +2 -2
- package/dist/cdn/{XQKIPHIH.js → PYKJG7SD.js} +2 -2
- package/dist/cdn/{ZJKJXFXC.js → PYRAMUCP.js} +2 -2
- package/dist/cdn/{WYRW7PJT.js → PZONGH5R.js} +2 -2
- package/dist/cdn/{4ME5QMIF.js → Q3WXELPH.js} +2 -2
- package/dist/cdn/{CQ6SIDRV.js → QKPUNN2K.js} +2 -2
- package/dist/cdn/{COLHBQ5X.js → QKUPYWE6.js} +2 -2
- package/dist/cdn/RCTTGANS.js +4 -0
- package/dist/cdn/{GR5ID3PD.js → REY2ZQR6.js} +1 -1
- package/dist/cdn/{C2XKMOX2.js → RFKLI2UC.js} +2 -2
- package/dist/cdn/{DMRVOPBM.js → RLDDKQ2A.js} +2 -2
- package/dist/cdn/{B4HONVWZ.js → RLI3W2QT.js} +1 -1
- package/dist/cdn/{TQ24PIOH.js → RP3ZDJY3.js} +1 -1
- package/dist/cdn/{SGXJZQ4L.js → RPUUF7I5.js} +2 -2
- package/dist/cdn/{JDSGIOVR.js → RSXDYYA2.js} +2 -2
- package/dist/cdn/{Q5HH7VHO.js → RV3CKUUX.js} +2 -2
- package/dist/cdn/{AH5AIEIN.js → RY2PW6Q6.js} +1 -1
- package/dist/cdn/{LBJE5BZD.js → RYIFJU2L.js} +1 -1
- package/dist/cdn/{QPRN44LY.js → S2PDOHOK.js} +2 -2
- package/dist/cdn/{HOYA4JWQ.js → S46J7E35.js} +2 -2
- package/dist/cdn/{UKDRKFWF.js → S4RIRRI3.js} +2 -2
- package/dist/cdn/{FF7R4YTO.js → S6HJ3I7H.js} +2 -2
- package/dist/cdn/{7OZTZCPH.js → SDENIK4H.js} +2 -2
- package/dist/cdn/{3PIEW24G.js → SHU43YTZ.js} +2 -2
- package/dist/cdn/SPI3VQIT.js +4 -0
- package/dist/cdn/SVS5LLYX.js +4 -0
- package/dist/cdn/SX6I6JSI.js +4 -0
- package/dist/cdn/{EU3TXNP2.js → SXAXFCDU.js} +2 -2
- package/dist/cdn/{PRB7DA6V.js → T35NKXTU.js} +2 -2
- package/dist/cdn/{POG7OHTN.js → TI2OAXLC.js} +2 -2
- package/dist/cdn/{KZWHC2ST.js → TLEVVT7A.js} +2 -2
- package/dist/cdn/{XSNJZI7M.js → TNIKKEFN.js} +2 -2
- package/dist/cdn/{UHBAUGQ4.js → TSVG63JR.js} +1 -1
- package/dist/cdn/{ZJXXAWMH.js → TUFSJ5ED.js} +1 -1
- package/dist/cdn/{NGO6CV3G.js → TXOCFG5N.js} +2 -2
- package/dist/cdn/{TCRWJTPW.js → U2Z3YXS7.js} +2 -2
- package/dist/cdn/{PP63JUSI.js → U3NXYF4O.js} +2 -2
- package/dist/cdn/{5ZAVVIAH.js → UFMHHX7B.js} +2 -2
- package/dist/cdn/{IPIQ52KV.js → UGQ4RM5I.js} +2 -2
- package/dist/cdn/{DWBMQBAB.js → UNVA5BAJ.js} +2 -2
- package/dist/cdn/{CLZ42RFU.js → UQ2LJHER.js} +1 -1
- package/dist/cdn/{RJJHXXVX.js → UUZYQKN4.js} +2 -2
- package/dist/cdn/{YXUMTVRG.js → UYTZEYBK.js} +1 -1
- package/dist/cdn/{ZGO54R7R.js → V3PW6EX3.js} +2 -2
- package/dist/cdn/{CPB7DXI3.js → V5YSOVGP.js} +2 -2
- package/dist/cdn/{VXCG5LEV.js → VC7B7NH7.js} +2 -2
- package/dist/cdn/{AHEWCN4W.js → VDQJCQFK.js} +2 -2
- package/dist/cdn/{BGVU5VPJ.js → VFQJ6YON.js} +2 -2
- package/dist/cdn/VHTVJV3F.js +18 -0
- package/dist/cdn/{BB7RJW6E.js → VOBVDUMB.js} +2 -2
- package/dist/cdn/{JFVYQIUH.js → VS43HQSJ.js} +2 -2
- package/dist/cdn/{XFDA7NEB.js → VUTNTYC5.js} +2 -2
- package/dist/cdn/{TMXXOYO3.js → VYVSHVZB.js} +2 -2
- package/dist/cdn/{IP6ATOM6.js → WAUFDV6T.js} +2 -2
- package/dist/cdn/{RIQZUFV2.js → WBO3TCWN.js} +2 -2
- package/dist/cdn/{A2WX4D7A.js → WDWDMQVM.js} +1 -1
- package/dist/cdn/{AJUGJQUJ.js → WF5UX25P.js} +1 -1
- package/dist/cdn/{6WXHOI6Z.js → WN76KRXW.js} +2 -2
- package/dist/cdn/{GVI4R5J2.js → WQSNANI3.js} +2 -2
- package/dist/cdn/{GA7L2IWK.js → WUBGSVNP.js} +2 -2
- package/dist/cdn/{AGRD4ULC.js → X24ZBRHP.js} +2 -2
- package/dist/cdn/{35BOYRXZ.js → X6GWKDIO.js} +2 -2
- package/dist/cdn/{EXWX56R4.js → XFIYMAZN.js} +2 -2
- package/dist/cdn/{KPKDVL2J.js → XJEPTFMD.js} +2 -2
- package/dist/cdn/{CRYN5SYR.js → XKO4R2YH.js} +2 -2
- package/dist/cdn/{IUBGSA3I.js → XPHFZJND.js} +1 -1
- package/dist/cdn/{TSB43IHY.js → XPJTXSVJ.js} +2 -2
- package/dist/cdn/{AF3RJAL5.js → XQIKYMOT.js} +1 -1
- package/dist/cdn/{FATTGIYI.js → XRZVDWVR.js} +2 -2
- package/dist/cdn/{ZLNLCCC6.js → XS7KQI2S.js} +1 -1
- package/dist/cdn/{CXW7Q33E.js → XX5ZE6Q4.js} +2 -2
- package/dist/cdn/XXPXRGUL.js +4 -0
- package/dist/cdn/{QDFSCCOX.js → XYJXY6OR.js} +2 -2
- package/dist/cdn/{XL4TPC5B.js → YCFUCRRU.js} +2 -2
- package/dist/cdn/{RR3GDG64.js → YGL7EHMU.js} +1 -1
- package/dist/cdn/{INY65VHN.js → YGVTWTVP.js} +2 -2
- package/dist/cdn/{UFQAANOF.js → YIMCEBHV.js} +2 -2
- package/dist/cdn/{MRUWYVHI.js → YJ7ODQWE.js} +2 -2
- package/dist/cdn/{L3IX5SCS.js → YNFTQLNB.js} +2 -2
- package/dist/cdn/{MVN27KOI.js → YWMWF52K.js} +2 -2
- package/dist/cdn/{MRMD4H7O.js → Z2O5FTC6.js} +2 -2
- package/dist/cdn/{5IZBEDEU.js → Z4G45C2O.js} +1 -1
- package/dist/cdn/{L32HIJPV.js → ZHF7YFFZ.js} +2 -2
- package/dist/cdn/{HJJD6V2O.js → ZKPAIAU6.js} +2 -2
- package/dist/cdn/{TCDUH4QD.js → ZL6A3Q67.js} +2 -2
- package/dist/cdn/{ZWGDNNV7.js → ZXKUSH35.js} +2 -2
- 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 +1 -1
- 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.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-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.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +8 -0
- package/dist/components/solution-item-accordion/customElement.js +7 -6
- 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 +40 -1
- package/dist/docs/docs.json +28 -1
- package/dist/docs/vscode.html-custom-data.json +12 -0
- package/dist/docs/web-types.json +17 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/CSTT6IAN.js +0 -4
- package/dist/cdn/F7YKY2OF.js +0 -4
- package/dist/cdn/FY5WSCFM.js +0 -4
- package/dist/cdn/K72NRGFR.js +0 -4
- package/dist/cdn/O4YIZH4Y.js +0 -4
- package/dist/cdn/PTLSWZZ2.js +0 -4
- package/dist/cdn/QBYJ6PX6.js +0 -18
- package/dist/cdn/XY544Q64.js +0 -4
- package/dist/cdn/Y236OPC4.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.20250528.
|
4
|
-
import{a as i,c as n,d as p,e as a}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as i,c as n,d as p,e as a}from"./TLEVVT7A.js";import"./RLI3W2QT.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};
|
@@ -0,0 +1,4 @@
|
|
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.20250528.3 */
|
4
|
+
import{a,b}from"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import"./RY2PW6Q6.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";export{a as EventEditorTypes,b as buildSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./L3IX5SCS.js";import"./ZA4R3KFB.js";import"./MRMD4H7O.js";import{C as Ce,E as ke,c as Re,z as Se}from"./CLZ42RFU.js";import{a as Me,c as g,e as Ee,h as ce}from"./KZWHC2ST.js";import"./B4HONVWZ.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./YNFTQLNB.js";import"./GA725JQR.js";import"./Z2O5FTC6.js";import{C as Ce,E as ke,c as Re,z as Se}from"./UQ2LJHER.js";import{a as Me,c as g,e as Ee,h as ce}from"./TLEVVT7A.js";import"./RLI3W2QT.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
|
@@ -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.20250528.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as l}from"./4TQV7BER.js";import"./7XJJ6UNT.js";import"./HHWQZE3T.js";import"./JYDPZBDX.js";import{a as o}from"./QKUPYWE6.js";import"./TUFSJ5ED.js";import"./KWE6JXSH.js";import"./TSVG63JR.js";import"./VOBVDUMB.js";import"./Q3WXELPH.js";import"./NOADX75H.js";import"./VUTNTYC5.js";import"./RSXDYYA2.js";import"./N5QWENGQ.js";import"./WAUFDV6T.js";import"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import"./RY2PW6Q6.js";import"./3SEFRTZS.js";import"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./4VPENS73.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u 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.20250528.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as e}from"./QKUPYWE6.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
|
@@ -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.20250528.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as n}from"./MBMIPTOA.js";import{D as r,I as o,c as t,d as i,q as s}from"./EZV7ZQF6.js";import"./RLI3W2QT.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.20250528.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import"./RLI3W2QT.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
|
@@ -1,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.20250528.
|
4
|
-
import"./B4HONVWZ.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.20250528.3 */
|
4
|
+
import"./RLI3W2QT.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};
|
@@ -0,0 +1,4 @@
|
|
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.20250528.3 */
|
4
|
+
import{a,b}from"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
@@ -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.20250528.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as n}from"./WDWDMQVM.js";import{a as o}from"./4TQV7BER.js";import"./7XJJ6UNT.js";import{a as m}from"./I72S2GNB.js";import"./HFXUVSOV.js";import"./WF5UX25P.js";import"./5IVJBGE4.js";import"./4E5A4WPJ.js";import{a as s}from"./P6VZV53I.js";import{a as i}from"./B3IN3DJY.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./HHWQZE3T.js";import"./JYDPZBDX.js";import{b as r}from"./QKUPYWE6.js";import"./TUFSJ5ED.js";import"./KWE6JXSH.js";import"./TSVG63JR.js";import"./VOBVDUMB.js";import"./Q3WXELPH.js";import"./NOADX75H.js";import"./VUTNTYC5.js";import"./RSXDYYA2.js";import"./N5QWENGQ.js";import"./WAUFDV6T.js";import"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import"./RY2PW6Q6.js";import"./3SEFRTZS.js";import"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./4VPENS73.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
|
@@ -1,6 +1,6 @@
|
|
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.20250528.
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
4
|
var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),kt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new z(typeof o=="string"?o:o+"",void 0,mt),me=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new z(e,o,mt)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Y.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},yt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var vt=globalThis,X=vt.trustedTypes,jt=X?X.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,Et="?"+E,ye=`<${Et}>`,O=document,q=()=>O.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",$t=Array.isArray,Ft=o=>$t(o)||typeof o?.[Symbol.iterator]=="function",gt=`[
|
5
5
|
\f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,w=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,qt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),As=Ct(1),_s=Ct(2),ws=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,x=O.createTreeWalker(O,129);function Kt(o,t){if(!$t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return jt!==void 0?jt.createHTML(t):t}var Gt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let c=o[a],l,p,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,p=i.exec(c),p!==null);)m=i.lastIndex,i===H?p[1]==="!--"?i=Vt:p[1]!==void 0?i=zt:p[2]!==void 0?(Wt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??H,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?qt:Ht):i===qt||i===Ht?i=w:i===Vt||i===zt?i=H:(i=w,n=void 0);let y=i===w&&o[a+1].startsWith("/>")?" ":"";r+=i===H?c+ye:h>=0?(s.push(l),c.slice(0,h)+bt+c.slice(h)+E+y):c+E+(h===-2?a:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},F=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,p]=Gt(t,e);if(this.el=o.createElement(l,s),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(bt)){let m=p[i++],y=n.getAttribute(h).split(E),_=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?et:_[1]==="?"?st:_[1]==="@"?ot:S}),n.removeAttribute(h)}else h.startsWith(E)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Wt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=X?X.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],q()),x.nextNode(),c.push({type:2,index:++r});n.append(h[m],q())}}}else if(n.nodeType===8)if(n.data===Et)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)c.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=O.createElement("template");return s.innerHTML=t,s}};function T(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=B(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=T(o,n._$AS(o,t.values),n,s)),t}var tt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??O).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new U(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new nt(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=x.nextNode(),i++)}return x.currentNode=O,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},U=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=F.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new tt(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new F(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(q()),this.O(q()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},S=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=T(this,t,e,0),i=!B(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=T(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),i||=!B(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},et=class extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},st=class extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},ot=class extends S{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},Jt={M:bt,P:E,A:Et,C:1,L:Gt,R:tt,D:Ft,V:T,I:U,H:S,N:st,U:ot,B:et,F:nt},ge=vt.litHtmlPolyfillSupport;ge?.(F,U),(vt.litHtmlVersions??=[]).push("3.3.0");var At=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new U(t.insertBefore(q(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:ve,defineProperty:be,getOwnPropertyDescriptor:Ee,getOwnPropertyNames:$e,getOwnPropertySymbols:Ce,getPrototypeOf:Ae}=Object,it=globalThis,Qt=it.trustedTypes,_e=Qt?Qt.emptyScript:"",we=it.reactiveElementPolyfillSupport,W=(o,t)=>o,rt={toAttribute(o,t){switch(t){case Boolean:o=o?_e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},K=(o,t)=>!ve(o,t),Yt={attribute:!0,type:String,converter:rt,reflect:!1,useDefault:!1,hasChanged:K};Symbol.metadata??=Symbol("metadata"),it.litPropertyMetadata??=new WeakMap;var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Yt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&be(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ee(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(W("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(W("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(W("properties"))){let e=this.properties,s=[...$e(e),...Ce(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(yt(n))}else t!==void 0&&e.push(yt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:rt).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:rt;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??K)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[W("elementProperties")]=new Map,$[W("finalized")]=new Map,we?.({ReactiveElement:$}),(it.reactiveElementVersions??=[]).push("2.1.0");var _t=globalThis,v=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=At(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};v._$litElement$=!0,v.finalized=!0,_t.litElementHydrateSupport?.({LitElement:v});var xe=_t.litElementPolyfillSupport;xe?.({LitElement:v});(_t.litElementVersions??=[]).push("4.2.0");var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},Oe=(o,t)=>{let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},Te=(o,t,e)=>{let s=Se(t).subscribe;return s(n=>{n.some(i=>Oe(o,i.target))&&e()})},wt={},Se=o=>{let t=o.join(","),e=wt[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe:i=>(s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),wt[t]=void 0)})};return wt[t]=r,r},Pe=(o,t)=>{let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null};var Ne=(o,t,e)=>Pe(o,`[${t}]`)?.getAttribute(t)??e;var u=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},G=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var Le="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),Re=new Set(Le),at="en",De={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},Ue=async(o,t,e="")=>{let s=`${t}/${e}`,n=`${s}${o}.json`;return xt[n]??(xt[n]=Zt(o,s)),await xt[n]},xt={},Zt=async(o,t)=>{let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===at?{}:await Zt(at,t)},ke=o=>{let t=Ne(o,"lang",globalThis.navigator?.language||at);return{lang:t,t9nLocale:Xt(t)}},Xt=o=>{let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=De[n]??n,Re.has(n)?n:e?Xt(s):at},zs=(o,t,e,s)=>{let n,r=()=>Me(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),Te(o,["lang"],r)},Me=async(o,t,e=o.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:n}=ke(o),r=`${t}/${e}/t9n`,a=e===null?{}:await Ue(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}};var ct=o=>o.replace(Ie,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ie=/[A-Z]+(?![a-z])|[A-Z]/gu;var te=(o,t)=>{let e=t>je?Ve:t/ze,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n},je=4e3,Ve=2e3,ze=4;var ht=Symbol.for("controller"),He=o=>typeof o=="object"&&o!==null&&(ht in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ws=o=>typeof o?.then=="function";var J,k=o=>{J!==o&&(J=o,queueMicrotask(()=>J===o?J=void 0:0))},N=o=>J,P=[],qe=o=>{if(o===void 0){P=[];return}let t=P.indexOf(o);P=t===-1?[...P,o]:P.slice(0,t+1),queueMicrotask(()=>P=[])},Be=()=>P,M,Ks=o=>{M!==o&&(M=o,queueMicrotask(()=>M===o?M=void 0:0))},Fe=()=>{let o=M;return M=void 0,o},We=async(o,t)=>{let e=Tt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Ke=async o=>{let t=Tt(o);return await t.ready,t},Tt=o=>{let e=N().manager.X(o);if(e!==void 0)return e;if(He(o))return o;let s=Fe();if(s!==void 0)return s},lt=!1,Gs=o=>{lt=!0;try{return o()}finally{lt=!1}};var Ge=(o,t,e)=>{let s=Object.keys(o),n=s.length;I===void 0&&queueMicrotask(dt),I??=new Map;let r=I.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},I.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},I,dt=()=>{I?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),I=void 0},Je=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((n,r)=>u(t,void 0,e===r?n:void 0)),e},Qe=(o=[N(),...Be()],t,e)=>{let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ge(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&i.manager.component===i){Je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ye=(o="",t={},e=N())=>{let s={emit:n=>{o===""&&dt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>o=n.key,s),s},Ze=Ye.bind(null,""),oe;oe=ht;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#n=[],this.#c=[],this.#l=[],this.#u=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[oe]=!0,this.#a=[];let e=this,s=t??N(new.target.name);e.#r=s,e.ready=e.P.promise,e.#i=se(e),e.component=s,e.#r.addController(e),e.#r.manager===void 0||(qe(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#n;#c;#l;#u;#h;#d;#r;catchUpLifecycle(){let{manager:t}=this.#r;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#i;get exports(){return this.#i}set exports(t){let e=this.#i;e!==t&&(this.#i=t,this.#a.forEach(u),this.connectedCalled&&this.O!==!1&&this.#r.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#i=e?se(t):t,this.#a.forEach(u)}#a;watchExports(t){let e=()=>t(this.#i);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return k(this.#r),We}get useRef(){return k(this.#r),Ke}get useRefSync(){return k(this.#r),Tt}controllerRemoved(){this.#r.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#u.push(t),this.connectedCalled&&this.#r.el.isConnected&&this.#p(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),t.#t.forEach(u),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),t.#e.forEach(u),t.#h.forEach(u),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await G(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(G)),this.P.resolve(this.#i)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&u(this.hostLoaded,this),this.#o.forEach(u),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&u(this.hostUpdate,this,t),this.#n.forEach(ee,t)}triggerUpdated(t){this.hostUpdated&&u(this.hostUpdated,this,t),this.#c.forEach(ee,t)}triggerDestroy(){this.hostDestroy&&u(this.hostDestroy,this),this.#l.forEach(u)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#u.forEach(this.#p,this)}#p(t){k(this.#r);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#h.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#h.push(n.remove)})}};function ee(o){u(o,void 0,this)}var ne=Ot,se=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,n,r){if(!((n==="exports"||n==="_exports")&&n in s&&s[n]===e)&&(n in s||n in Promise.prototype||typeof n=="symbol"))return typeof s=="function"?s[n]:Reflect.get(s,n,r)}},e=new Proxy(o,t);return e};var re=";",ut=",",ie=":";var Pt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Nt={};function Lt(){}var Xe=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[p,h,m]=l.split(re),y=p?p?.split(ut).map(ts):void 0,_=y?.map(([D])=>D),R=class extends St{static{this.observedAttributes=y?.map(([,D])=>D).filter(D=>D!=="")}static{this.C=_}static{this.E=h?h?.split(ut):void 0}static{this.D=m?.split(ut)}static{this.L=a}static{this.K=o}constructor(){!R.B&&(R.B=c(),R.F()),super()}};customElements.define(a,R)}},pt=Object.defineProperty,ts=o=>{let t=o.split(ie);return t.length===1?[t[0],ct(t[0])]:t},es=globalThis.HTMLElement??Lt,St=class extends es{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(n=>typeof n=="function"?{a:n}:n)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])pt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])pt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Pt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);os(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ss,l);let p=this.isConnected;(p||this.G)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ss([o,t]){this[o]=t}var os=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var A=class extends Event{constructor(t,e,s,n){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=s,this.subscribe=n??!1}};var j=class{constructor(t,e,s,n){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(r,i)=>{this.unsubscribe&&(this.unsubscribe!==i&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=r,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(r,i)),this.unsubscribe=i},this.host=t,e.context!==void 0){let r=e;this.context=r.context,this.callback=r.callback,this.subscribe=r.subscribe??!1}else this.context=e,this.callback=s,this.subscribe=n??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new A(this.context,this.host,this.t,this.subscribe))}};var ft=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let s=e||!Object.is(t,this.o);this.o=t,s&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},t!==void 0&&(this.value=t)}addCallback(t,e,s){if(!s)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:n}=this.subscriptions.get(t);t(this.value,n)}clearCallbacks(){this.subscriptions.clear()}};var Rt=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},V=class extends ft{constructor(t,e,s){super(e.context!==void 0?e.initialValue:s),this.onContextRequest=n=>{if(n.context!==this.context)return;let r=n.contextTarget??n.composedPath()[0];r!==this.host&&(n.stopPropagation(),this.addCallback(n.callback,r,n.subscribe))},this.onProviderRequest=n=>{if(n.context!==this.context||(n.contextTarget??n.composedPath()[0])===this.host)return;let r=new Set;for(let[i,{consumerHost:a}]of this.subscriptions)r.has(i)||(r.add(i),a.dispatchEvent(new A(this.context,a,i,!0)));n.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Rt(this.context,this.host))}};var g={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},L=o=>(...t)=>({_$litDirective$:o,values:t}),C=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ae=L(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ce="important",rs=" !"+ce,le=L(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(rs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?ce:""):e[s]=n}}return f}});var{I:is}=Jt;var de=o=>o.strings===void 0,he=()=>document.createComment(""),Fo=(o,t,e)=>{let s=o._$AA.parentNode,n=t===void 0?o._$AB:t._$AA;if(e===void 0){let r=s.insertBefore(he(),n),i=s.insertBefore(he(),n);e=new is(r,i,o,o.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return e},Wo=(o,t,e=o)=>(o._$AI(t,e),o),as={},ue=(o,t=as)=>o._$AH=t,Ko=o=>o._$AH,Go=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var cs=L(class extends C{constructor(o){if(super(o),o.type!==g.PROPERTY&&o.type!==g.ATTRIBUTE&&o.type!==g.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!de(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===g.PROPERTY){if(t===e[s])return f}else if(o.type===g.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===g.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var En=o=>{let t=N(),e=new V(t.el,o);return t.addController(e),e},$n=o=>{let t=N(),e=new j(t.el,o);return t.addController(e),e};var Dt=class extends ne{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",v.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),dt();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):u(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):u(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),k(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=te(t,gs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},gs=1e3,Ut="autoDestroyDisabled",pe=class o extends v{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,n=e.K.o,r=o.prototype.shouldUpdate;t.#o=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Lt,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Nt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??K,i={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let n=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!lt&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&a?.S(t,i)}}}static{this.lumina=!0}#t;#e;#s;#o;#n;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Nt?this.el:this.el.attachShadow(s));if(t)return v.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??Pt(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(G(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#c(t):super.update(t)}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(ht in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},fe=o=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=s,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s};var Cn=o=>typeof o=="object"&&o!=null?ae(o):o,An=o=>typeof o=="object"&&o!=null?le(o):o;var _n=d;var Q=fe({defaultAssetPath:"https://jsdev.arcgis.com/next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:Sn,getAssetPath:Pn,setAssetPath:Nn}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{ke as a,zs as b,me as c,As as d,_s as e,f,d as g,Ws as h,k as i,qe as j,Be as k,Ks as l,Gs as m,Qe as n,Ze as o,Ot as p,Nt as q,Xe as r,g as s,L as t,C as u,de as v,Fo as w,Wo as x,ue as y,Ko as z,Go as A,En as B,$n as C,pe as D,Cn as E,An as F,_n as G,Q as H,Sn as I,Pn as J};
|
@@ -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.20250528.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import"./RLI3W2QT.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",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.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l 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.20250528.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as r}from"./MBMIPTOA.js";import{D as o,I as n,c as t,d as s,q as i}from"./EZV7ZQF6.js";import"./RLI3W2QT.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");
|