@esri/solutions-components 1.2.0-next.94 → 1.2.0-next.96
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/{XCKV5ZDI.js → 22K2SOD7.js} +2 -2
- package/dist/cdn/{IIOUARO7.js → 23NFP2B6.js} +2 -2
- package/dist/cdn/{KW7BCFLE.js → 275ZPKYI.js} +1 -1
- package/dist/cdn/{VTP2OMKV.js → 27PAMO62.js} +2 -2
- package/dist/cdn/{D6JIX46C.js → 2DIQQSS7.js} +2 -2
- package/dist/cdn/2FJXFYLT.js +4 -0
- package/dist/cdn/{LXVSBUTL.js → 2HC4BML5.js} +2 -2
- package/dist/cdn/{THCKGC7C.js → 2M6EM5T2.js} +1 -1
- package/dist/cdn/{WKPH6OYL.js → 2P4ZNTXN.js} +2 -2
- package/dist/cdn/{RLH4BU27.js → 2XGBTQC2.js} +2 -2
- package/dist/cdn/{YUZ7LTJ4.js → 32HGCR4U.js} +2 -2
- package/dist/cdn/{4NEPLPCV.js → 3AKKKVX7.js} +2 -2
- package/dist/cdn/{7XJR3LM4.js → 3GPMRYM6.js} +2 -2
- package/dist/cdn/{UJHS2RY6.js → 3L5VMECR.js} +2 -2
- package/dist/cdn/{YHLJCDE3.js → 3LG5LVBD.js} +2 -2
- package/dist/cdn/{UP6TQK3T.js → 3S5ALN67.js} +2 -2
- package/dist/cdn/{AGJSUBX3.js → 3S5UQCYK.js} +2 -2
- package/dist/cdn/{45AW7QW3.js → 3SB7BPVC.js} +3 -3
- package/dist/cdn/{JWKY2DTI.js → 3T3EPXGX.js} +2 -2
- package/dist/cdn/{LEBTFB4O.js → 3VOYYYAY.js} +2 -2
- package/dist/cdn/{DQDFMLEV.js → 3WIOC37K.js} +2 -2
- package/dist/cdn/{HPM3QRGL.js → 3WXSIIQX.js} +2 -2
- package/dist/cdn/{YUW62FUJ.js → 3YDLBLGM.js} +2 -2
- package/dist/cdn/{UJWA2GBN.js → 43J3CMJ6.js} +1 -1
- package/dist/cdn/{FWUMA4YG.js → 4BTN2B3R.js} +2 -2
- package/dist/cdn/{P4QHJZTB.js → 4EMHSJHQ.js} +2 -2
- package/dist/cdn/{A6EHBOGQ.js → 4GYJYX6S.js} +2 -2
- package/dist/cdn/{LHMNGCNH.js → 4HWTKLOW.js} +2 -2
- package/dist/cdn/{WWTFG2GO.js → 4LECMI3R.js} +2 -2
- package/dist/cdn/{DCCYE6WL.js → 4N5K4ME5.js} +2 -2
- package/dist/cdn/{IPBRPMIY.js → 4QCPQEM3.js} +2 -2
- package/dist/cdn/{FLU7IWQV.js → 4RKTOBXG.js} +2 -2
- package/dist/cdn/{E6XTFJ4I.js → 4RUYUCKH.js} +2 -2
- package/dist/cdn/{5ORUZ22P.js → 4WQL5G65.js} +2 -2
- package/dist/cdn/{3OWXXQ36.js → 52OB5KCR.js} +2 -2
- package/dist/cdn/{B3XKULOZ.js → 56A35C6P.js} +1 -1
- package/dist/cdn/{CKPVEO36.js → 5BHGOS3J.js} +2 -2
- package/dist/cdn/{V6TGUO47.js → 5CGQRT3T.js} +2 -2
- package/dist/cdn/{V47AH52O.js → 5EFBSE6L.js} +2 -2
- package/dist/cdn/{AGN7UG33.js → 5EFFRTSX.js} +2 -2
- package/dist/cdn/{2F5XZSJO.js → 5FHXJ3CU.js} +2 -2
- package/dist/cdn/{YS6AGCR2.js → 5GYJL6TE.js} +2 -2
- package/dist/cdn/{TEQ6Y7Q6.js → 5M4B43D2.js} +2 -2
- package/dist/cdn/{2E5BV2GY.js → 5Q4RCFQN.js} +2 -2
- package/dist/cdn/{CLBK3TBZ.js → 5QPDO2QX.js} +2 -2
- package/dist/cdn/{RMVKSHFW.js → 5U35PANI.js} +2 -2
- package/dist/cdn/64PUXJTT.js +4 -0
- package/dist/cdn/{XOOSM3T5.js → 6DZIYXEM.js} +2 -2
- package/dist/cdn/{7PITT7LK.js → 6G2FTSFQ.js} +2 -2
- package/dist/cdn/{4FBZ5S6I.js → 6IYRM3GO.js} +2 -2
- package/dist/cdn/{2MAMN5IM.js → 6J7ZEFEX.js} +2 -2
- package/dist/cdn/{CAHBIFEG.js → 6LVNGRGA.js} +2 -2
- package/dist/cdn/{LM3M6IR6.js → 6MBGNT7U.js} +2 -2
- package/dist/cdn/{LW2ZPF2K.js → 6TSZTSHR.js} +2 -2
- package/dist/cdn/{PR2QCUC2.js → 6YPMMLAF.js} +2 -2
- package/dist/cdn/75S3HU43.js +4 -0
- package/dist/cdn/{IN4LJJOE.js → 77A567FP.js} +1 -1
- package/dist/cdn/{EI2464HW.js → 77HK5REE.js} +2 -2
- package/dist/cdn/{U7IYWKSK.js → 7FYEP4A4.js} +1 -1
- package/dist/cdn/{GBOUVIYP.js → 7IQH3HU5.js} +2 -2
- package/dist/cdn/{3QUSD4VN.js → 7J44FCS6.js} +1 -1
- package/dist/cdn/{ZYQAKRJY.js → 7MONX4WW.js} +2 -2
- package/dist/cdn/7Q2OSCZT.js +4 -0
- package/dist/cdn/{JKAC5PVG.js → 7SVNHMAW.js} +1 -1
- package/dist/cdn/{DOFF3WDD.js → 7WHRTZ5H.js} +2 -2
- package/dist/cdn/{KSEGILTK.js → 7YZFGTJT.js} +2 -2
- package/dist/cdn/{T4FNMT6U.js → A7XDSWJ5.js} +2 -2
- package/dist/cdn/{WDGVALMO.js → ADBJ54OV.js} +2 -2
- package/dist/cdn/{VVEVNGHC.js → AEBLDJ6I.js} +2 -2
- package/dist/cdn/{56ULFQNE.js → AHELA4T4.js} +1 -1
- package/dist/cdn/{D2JD436I.js → AHLK4GBO.js} +1 -1
- package/dist/cdn/AO23C6NG.js +4 -0
- package/dist/cdn/{4CF7AYW7.js → AOSZKBKE.js} +1 -1
- package/dist/cdn/{WNPHXCTX.js → ARBLCXP2.js} +2 -2
- package/dist/cdn/ARZ3WSGZ.js +4 -0
- package/dist/cdn/{S4ESQ4NN.js → ATMFUEOD.js} +2 -2
- package/dist/cdn/{WHP5L7QD.js → AVJWZC3G.js} +2 -2
- package/dist/cdn/{UZSK6PJU.js → AWCRUU2F.js} +2 -2
- package/dist/cdn/AYRZKO5Q.js +4 -0
- package/dist/cdn/{VACSX5VR.js → AZUU5ZXS.js} +2 -2
- package/dist/cdn/{67UJESSD.js → AZVO7X2V.js} +2 -2
- package/dist/cdn/{NKLOWH5D.js → B3XVV774.js} +2 -2
- package/dist/cdn/{ZU5NAEZA.js → B4VN5PKX.js} +2 -2
- package/dist/cdn/{XV53FEKH.js → B555K35K.js} +2 -2
- package/dist/cdn/{KFMYW4RX.js → B7GX6WQ2.js} +2 -2
- package/dist/cdn/{EFMVPMDQ.js → BE3FIAFN.js} +2 -2
- package/dist/cdn/{DDK3TCZC.js → BFA4BKBO.js} +2 -2
- package/dist/cdn/{RVJX3A7V.js → BHVHDS4B.js} +4 -4
- package/dist/cdn/{YVEWTF46.js → BI2ZNFKT.js} +2 -2
- package/dist/cdn/{OKHBVWJW.js → BI53W2HV.js} +2 -2
- package/dist/cdn/{REC3D3DG.js → BPW42UFS.js} +2 -2
- package/dist/cdn/{ITCFBAX3.js → BQ6Y5QS4.js} +2 -2
- package/dist/cdn/{U55FJTIQ.js → BQH3N7SQ.js} +2 -2
- package/dist/cdn/{6W5X7CED.js → BU3IS2BF.js} +2 -2
- package/dist/cdn/{6MV6RCOO.js → BWCDG33M.js} +2 -2
- package/dist/cdn/{W277XUYS.js → BWRWVWTV.js} +2 -2
- package/dist/cdn/{SFPVEETL.js → BYC6NCNZ.js} +2 -2
- package/dist/cdn/BYWOGMBB.js +4 -0
- package/dist/cdn/BZAQEA2T.js +4 -0
- package/dist/cdn/{3TS4FOSR.js → C3WNO3F7.js} +2 -2
- package/dist/cdn/{W4PZDF2U.js → C4IIF3HY.js} +2 -2
- package/dist/cdn/{L6WY26O6.js → C4WTLMRX.js} +2 -2
- package/dist/cdn/{I7DWWHUF.js → C546TZBV.js} +2 -2
- package/dist/cdn/{NGWR5UFH.js → C732PWJB.js} +2 -2
- package/dist/cdn/{BXR27SHM.js → CCOMNGDJ.js} +2 -2
- package/dist/cdn/{F2ZX3MQI.js → CGZ5NJNK.js} +2 -2
- package/dist/cdn/{7T7Z7NYD.js → CHONHRWK.js} +2 -2
- package/dist/cdn/{ZFGFO2VU.js → CHS5OOKP.js} +2 -2
- package/dist/cdn/{P7BOUMZ7.js → CIO2VG6T.js} +1 -1
- package/dist/cdn/{NFM4DW4N.js → CK5OTBYO.js} +2 -2
- package/dist/cdn/{5F4YTIWL.js → CLHE25I3.js} +2 -2
- package/dist/cdn/{RVK4KVUN.js → CLKVZFZ3.js} +2 -2
- package/dist/cdn/{EYAFQZYG.js → CUVW3GK4.js} +2 -2
- package/dist/cdn/{Y54MXYY3.js → CV4DHSLG.js} +2 -2
- package/dist/cdn/{NVGX2KCU.js → CV74ZAHK.js} +2 -2
- package/dist/cdn/{QUH7DTQR.js → CWUH4QUQ.js} +2 -2
- package/dist/cdn/{KFRKRJKL.js → CYKGRXBO.js} +2 -2
- package/dist/cdn/CYPDP5ZF.js +4 -0
- package/dist/cdn/{YVMPERZV.js → D4YVUHIU.js} +2 -2
- package/dist/cdn/{YXOEWUT7.js → D7CP4BVE.js} +2 -2
- package/dist/cdn/{D2U4OZRQ.js → DBP6MKV3.js} +2 -2
- package/dist/cdn/{SIFYNDQO.js → DDP2DF3N.js} +2 -2
- package/dist/cdn/{7IEDKAFT.js → DF2IF5MT.js} +2 -2
- package/dist/cdn/{CCRZ6CHF.js → DH2VYHEA.js} +2 -2
- package/dist/cdn/{JBG472DY.js → DIGFSWHK.js} +2 -2
- package/dist/cdn/{RV2M7VMR.js → DKFKZ63L.js} +2 -2
- package/dist/cdn/{H3HPLFQK.js → E47ONF5M.js} +2 -2
- package/dist/cdn/{XHYD6JZS.js → E5QQFCT4.js} +2 -2
- package/dist/cdn/EG3WPMEU.js +4 -0
- package/dist/cdn/{2RPNZKSH.js → EKMVOSOE.js} +2 -2
- package/dist/cdn/{STRLTUQ4.js → EMZHXVIQ.js} +2 -2
- package/dist/cdn/{Q44YAQBW.js → EVB5BCP2.js} +2 -2
- package/dist/cdn/{ATZTCFHP.js → EVEYVVCT.js} +1 -1
- package/dist/cdn/{V362BRQK.js → EWOK66Z4.js} +2 -2
- package/dist/cdn/{IBDSNK2C.js → F3AYRPOL.js} +2 -2
- package/dist/cdn/F3RAFZYD.js +4 -0
- package/dist/cdn/{OYHGJSTO.js → F4AZ6LGR.js} +2 -2
- package/dist/cdn/F6ZXTKHM.js +4 -0
- package/dist/cdn/{JY566DDE.js → FAYOWWZW.js} +2 -2
- package/dist/cdn/{6NH6CYQN.js → FD2ISON4.js} +2 -2
- package/dist/cdn/{NVRADVCO.js → FMRHNUJL.js} +1 -1
- package/dist/cdn/{2BXQMTWS.js → FV6PFXXM.js} +2 -2
- package/dist/cdn/{NNIZJTWV.js → FX5T6DY2.js} +2 -2
- package/dist/cdn/{ZMD7EGEW.js → G5D4GLDZ.js} +2 -2
- package/dist/cdn/{FNI6VUVC.js → GBGG6MGA.js} +2 -2
- package/dist/cdn/{PKVD33PG.js → GBX7ZZLH.js} +2 -2
- package/dist/cdn/{KXP6OPJC.js → GEO5SQPW.js} +2 -2
- package/dist/cdn/{7DXX5EY7.js → GWXEJZXF.js} +2 -2
- package/dist/cdn/{ZJALWSRJ.js → H26VA4BA.js} +2 -2
- package/dist/cdn/{TATVV3CK.js → HA6FW7RF.js} +2 -2
- package/dist/cdn/{XIX2JUL4.js → HDP6J57X.js} +2 -2
- package/dist/cdn/{KCGJBFDS.js → HEPJMKPP.js} +2 -2
- package/dist/cdn/{OVLVRTSJ.js → HPXNQRCD.js} +2 -2
- package/dist/cdn/{UKV46ERA.js → HVOFH5IF.js} +2 -2
- package/dist/cdn/{43RR55HU.js → IETFJRSJ.js} +2 -2
- package/dist/cdn/{X6CGLCB4.js → IFPGXQQN.js} +2 -2
- package/dist/cdn/{KTTRXVD3.js → IJ3Z6B7U.js} +2 -2
- package/dist/cdn/{3ALNLZWE.js → IS7IQIOW.js} +1 -1
- package/dist/cdn/{FD3KXUCY.js → ITJ2SQDF.js} +1 -1
- package/dist/cdn/{2I2PXDZH.js → IUBO7W6A.js} +2 -2
- package/dist/cdn/{UXKVQNVJ.js → IVL6X2PZ.js} +2 -2
- package/dist/cdn/IVTBDY4M.js +4 -0
- package/dist/cdn/{63D63CEB.js → IWQKKA2X.js} +1 -1
- package/dist/cdn/{XD2P7L6A.js → IWZKHCP6.js} +2 -2
- package/dist/cdn/{PICRH6NZ.js → JC2IM5XB.js} +2 -2
- package/dist/cdn/{LTFW26XP.js → JDL56MNA.js} +2 -2
- package/dist/cdn/{4IORMDZA.js → JKM6BLZA.js} +1 -1
- package/dist/cdn/{7HZPNJYQ.js → JNHN7WLW.js} +2 -2
- package/dist/cdn/JOG2SKIS.js +4 -0
- package/dist/cdn/{WN6JURCW.js → JOPYA5RQ.js} +2 -2
- package/dist/cdn/{WMOYZBXG.js → JTIP7ULP.js} +2 -2
- package/dist/cdn/{IGQRNS3J.js → JV3QO6RD.js} +2 -2
- package/dist/cdn/{KTEZ37HL.js → JYN2EVH5.js} +2 -2
- package/dist/cdn/{EDCM254H.js → JYUJABRJ.js} +2 -2
- package/dist/cdn/{WTIZQIZK.js → K25B4OPK.js} +2 -2
- package/dist/cdn/{UHEF3LEW.js → K75AUVKV.js} +2 -2
- package/dist/cdn/{QLPTAPVG.js → KAX2OMRN.js} +2 -2
- package/dist/cdn/{EVZ5GEXX.js → KCZCEE3T.js} +2 -2
- package/dist/cdn/{DH5YDNN7.js → KDS5VU7U.js} +2 -2
- package/dist/cdn/{GOJL76X3.js → KE43GNT7.js} +2 -2
- package/dist/cdn/{HR743APH.js → KHU25CQO.js} +2 -2
- package/dist/cdn/{HVMB3CD5.js → KT56YIKP.js} +2 -2
- package/dist/cdn/{AXNK7UPH.js → KTQWROMB.js} +2 -2
- package/dist/cdn/{PU2O6COA.js → KUDEKGGR.js} +2 -2
- package/dist/cdn/{HBBOZKGV.js → KXG3ACJ4.js} +1 -1
- package/dist/cdn/{SP4PJHW5.js → KXL3WQKN.js} +2 -2
- package/dist/cdn/{23ZTXUFW.js → KZ2LE32W.js} +2 -2
- package/dist/cdn/LE5UAHXH.js +4 -0
- package/dist/cdn/{XJGVOHEI.js → LEENTIW4.js} +1 -1
- package/dist/cdn/{2JYMV7OH.js → LGVBGJWX.js} +2 -2
- package/dist/cdn/{D5SFZW3D.js → LI6DICLE.js} +2 -2
- package/dist/cdn/{32TJ23MD.js → LNVCDYRA.js} +2 -2
- package/dist/cdn/{CGT6BRDE.js → LOKIVJJR.js} +2 -2
- package/dist/cdn/{UGOS4KB5.js → LTY3YEMJ.js} +2 -2
- package/dist/cdn/{RVDWXCUN.js → LUQ7FMMN.js} +1 -1
- package/dist/cdn/{KQGKSFRF.js → LWMZWLH3.js} +2 -2
- package/dist/cdn/{AOXKHSXO.js → LWTQHIG4.js} +2 -2
- package/dist/cdn/{C5VYFCLQ.js → LXJBXXCO.js} +1 -1
- package/dist/cdn/{TJ5PQQX5.js → M4V4BSTN.js} +2 -2
- package/dist/cdn/{GRCR5IQT.js → M6VVLJG7.js} +2 -2
- package/dist/cdn/{FCLDFZF7.js → MM7T6NAK.js} +2 -2
- package/dist/cdn/{YU4SJ6KT.js → MMGEI3E2.js} +2 -2
- package/dist/cdn/{ZZM3O7Y3.js → MP6AV2VT.js} +2 -2
- package/dist/cdn/{6DRFVLTD.js → MQ6S5EKQ.js} +2 -2
- package/dist/cdn/{QMUK5ZWB.js → MRXWSMLR.js} +2 -2
- package/dist/cdn/{3PVHJ26Z.js → MX6QD4JR.js} +2 -2
- package/dist/cdn/{NMSJ6VAS.js → N2EKGFMV.js} +2 -2
- package/dist/cdn/{IXNSPJST.js → N72AFNSJ.js} +2 -2
- package/dist/cdn/{QK5XXQYC.js → N74YODYK.js} +2 -2
- package/dist/cdn/NCQMBI5W.js +4 -0
- package/dist/cdn/{P2AN6ZSR.js → NGDLETFN.js} +2 -2
- package/dist/cdn/{TX7ESCAA.js → NRH2QJCG.js} +2 -2
- package/dist/cdn/{57PAYLME.js → NRIKCZQQ.js} +2 -2
- package/dist/cdn/{UCAGLIQF.js → NYM5X2GW.js} +2 -2
- package/dist/cdn/{YBENP3Y4.js → O3YGNVTR.js} +2 -2
- package/dist/cdn/{F6OZ46KZ.js → OA65JG4F.js} +2 -2
- package/dist/cdn/{OXBRJUYD.js → OBJT5DQL.js} +2 -2
- package/dist/cdn/{2T3EUDW5.js → OC34OB5L.js} +1 -1
- package/dist/cdn/{AZTG4MSR.js → OIESJ3KL.js} +2 -2
- package/dist/cdn/{IGCNXRXE.js → OJQ5Z3EP.js} +2 -2
- package/dist/cdn/{3S257YQK.js → OJZSGHXG.js} +2 -2
- package/dist/cdn/{GPSGN6F5.js → OKHEUPYI.js} +2 -2
- package/dist/cdn/{A2MGHJAT.js → OLSVBERN.js} +2 -2
- package/dist/cdn/{GOQCFGUL.js → OZN2527A.js} +2 -2
- package/dist/cdn/{6MQ3JY2L.js → P3XZAWSF.js} +2 -2
- package/dist/cdn/{GUNLCXW3.js → PEHHNJ6V.js} +2 -2
- package/dist/cdn/{HT24IXID.js → PPTHTB2U.js} +2 -2
- package/dist/cdn/PQT3HOXE.js +4 -0
- package/dist/cdn/{UZYEABTA.js → Q23NQ4QH.js} +2 -2
- package/dist/cdn/{LXJBTLHV.js → Q4YSFEBW.js} +2 -2
- package/dist/cdn/{U2C5RE4Q.js → QFINED2Q.js} +2 -2
- package/dist/cdn/{SBDWVJ5P.js → QGSGVBLL.js} +2 -2
- package/dist/cdn/{OE3PCWYD.js → QHYSA4NO.js} +2 -2
- package/dist/cdn/{BNYQBJYY.js → QJY6TEDI.js} +2 -2
- package/dist/cdn/{F3CWH5UX.js → QMNJ6LO4.js} +2 -2
- package/dist/cdn/{73H4DLVI.js → QOVIWETW.js} +1 -1
- package/dist/cdn/{DWWDMTFP.js → QREZWDMC.js} +1 -1
- package/dist/cdn/{X2UM2V2Z.js → QT6OHKP2.js} +2 -2
- package/dist/cdn/{4WUWCTIP.js → QTAJRFK7.js} +2 -2
- package/dist/cdn/{J6DIEMQ4.js → QWZ5HUEW.js} +1 -1
- package/dist/cdn/{ZKDVFNFO.js → R23K6PCI.js} +2 -2
- package/dist/cdn/{RTTRLSGR.js → R3BYS23P.js} +1 -1
- package/dist/cdn/{N23EEZKL.js → R5GCDLC7.js} +2 -2
- package/dist/cdn/{X2AOCTZK.js → R62PC4UC.js} +2 -2
- package/dist/cdn/R7GKBUYA.js +4 -0
- package/dist/cdn/{M3GA6PHD.js → RLCZV46Z.js} +2 -2
- package/dist/cdn/{F5XBX4KY.js → RO3XM23Z.js} +1 -1
- package/dist/cdn/{KJOHBB7O.js → RR64E3RB.js} +2 -2
- package/dist/cdn/{YXHV4Y3Z.js → RTBG4SAP.js} +2 -2
- package/dist/cdn/SC7P5DTG.js +4 -0
- package/dist/cdn/{3UOOGEX2.js → SDQ62FTZ.js} +2 -2
- package/dist/cdn/{MFDD44PW.js → SE7PAIW6.js} +2 -2
- package/dist/cdn/{KO4236OV.js → SGDPVMUA.js} +2 -2
- package/dist/cdn/{VRK762CZ.js → SOKAL66R.js} +2 -2
- package/dist/cdn/{YH4JCPON.js → SPXZ65SO.js} +1 -1
- package/dist/cdn/{OQA2MOKO.js → SPY5VHAX.js} +2 -2
- package/dist/cdn/{DRH5D6SQ.js → SPZCXXRW.js} +1 -1
- package/dist/cdn/{2BWGKE55.js → SQH47IMI.js} +2 -2
- package/dist/cdn/{VHJCOTP7.js → SUWD6MVR.js} +2 -2
- package/dist/cdn/{ANLYGJXE.js → SZTZCLV2.js} +2 -2
- package/dist/cdn/{4ZOLWQTX.js → T25RIFZ6.js} +2 -2
- package/dist/cdn/{WLSONF72.js → T64ZSN6G.js} +2 -2
- package/dist/cdn/{NHWT37T4.js → TAARC6EU.js} +1 -1
- package/dist/cdn/{3P62QCHF.js → TE4HZG2N.js} +2 -2
- package/dist/cdn/{AZR23PU5.js → TEFND7O6.js} +2 -2
- package/dist/cdn/{3NSEKOJD.js → TEUSUECK.js} +2 -2
- package/dist/cdn/{ZFVPKJNU.js → TEZWM3SV.js} +2 -2
- package/dist/cdn/{X2QDAF4C.js → TJJDAW3G.js} +2 -2
- package/dist/cdn/{JDUEQZDK.js → TMXSPYJH.js} +2 -2
- package/dist/cdn/{X7AZC472.js → TR2NEOEC.js} +2 -2
- package/dist/cdn/{NQI4VGW6.js → TRSLTEH4.js} +2 -2
- package/dist/cdn/{E2PYMW5J.js → TT4AJPTD.js} +2 -2
- package/dist/cdn/{5KE2NKHS.js → TVY5IKVU.js} +1 -1
- package/dist/cdn/{75IC7YWF.js → TZCVWRT6.js} +2 -2
- package/dist/cdn/{RXJC77FC.js → UAWDLR2T.js} +2 -2
- package/dist/cdn/{4YD52774.js → UBSVMWOO.js} +2 -2
- package/dist/cdn/{YEP4LILZ.js → UHK3SADT.js} +2 -2
- package/dist/cdn/{IXN7BPKV.js → UI2N3K2H.js} +2 -2
- package/dist/cdn/{D43FFSMI.js → ULI5AYQL.js} +2 -2
- package/dist/cdn/{OH5K7R2Q.js → USAZCHXS.js} +2 -2
- package/dist/cdn/{GH7YPSY6.js → UTU3EJ4E.js} +2 -2
- package/dist/cdn/{Z2WTZIF5.js → UUD5CUKC.js} +2 -2
- package/dist/cdn/{5ZEDT63C.js → UZF4A3FT.js} +2 -2
- package/dist/cdn/{BW7K2TMH.js → V3RXZGIM.js} +2 -2
- package/dist/cdn/{YIF2W2B5.js → V3YEBL4M.js} +2 -2
- package/dist/cdn/{PCSABK2O.js → V7OVHRCL.js} +2 -2
- package/dist/cdn/{TZGVQLUH.js → VBPQWNQY.js} +2 -2
- package/dist/cdn/{P7PPJFUJ.js → VBUUEEPE.js} +2 -2
- package/dist/cdn/{PXRNZSHG.js → VDLLU4UK.js} +2 -2
- package/dist/cdn/{YGCPWZ37.js → VEN3SQUK.js} +1 -1
- package/dist/cdn/{TJZ3MTMA.js → VJ3KDK54.js} +2 -2
- package/dist/cdn/{IGMG2KSH.js → VMWEYFYK.js} +2 -2
- package/dist/cdn/{7C3ZBZAC.js → VON4I3RU.js} +2 -2
- package/dist/cdn/{YVDVNNPV.js → VQBSJOWS.js} +2 -2
- package/dist/cdn/{QPAMVNP3.js → VSOJ2IZ4.js} +2 -2
- package/dist/cdn/{5MRVZOZ2.js → WEESVU2C.js} +2 -2
- package/dist/cdn/{BETQ5GVR.js → WIJWQ5VY.js} +2 -2
- package/dist/cdn/{DKRNJBU2.js → WK7DUCCV.js} +2 -2
- package/dist/cdn/{BFP2UK2Y.js → WRINZES6.js} +2 -2
- package/dist/cdn/{7NEZZ3WM.js → WZRL4UQM.js} +2 -2
- package/dist/cdn/{WRJBC7IL.js → X44BXCEZ.js} +2 -2
- package/dist/cdn/{VZ5T756A.js → XALX65EN.js} +2 -2
- package/dist/cdn/{DU2VYE3Y.js → XENM7VNA.js} +2 -2
- package/dist/cdn/{ISYYDGMW.js → XFA6AOQY.js} +2 -2
- package/dist/cdn/{IG3WLSAY.js → XKZBWYWQ.js} +2 -2
- package/dist/cdn/{JWD5YSOF.js → XMHK52D3.js} +2 -2
- package/dist/cdn/{NZ4PQMBZ.js → XNGISPIV.js} +2 -2
- package/dist/cdn/{UULADVDX.js → XPT225H2.js} +2 -2
- package/dist/cdn/{FTMKIONY.js → XV5AQCH3.js} +2 -2
- package/dist/cdn/{4E27AMPC.js → XVKHXFUM.js} +2 -2
- package/dist/cdn/{7X7ZYIT2.js → Y2OH3BJ3.js} +2 -2
- package/dist/cdn/{PUPITNRC.js → Y4QXNPFB.js} +2 -2
- package/dist/cdn/Y6OFELWW.js +4 -0
- package/dist/cdn/{M6QUPWVN.js → YBEQAX2S.js} +2 -2
- package/dist/cdn/{FELCM2OE.js → YC375XNT.js} +2 -2
- package/dist/cdn/{JKVG5YWM.js → YENAM6BK.js} +1 -1
- package/dist/cdn/{UPAME2VI.js → YHXGJ43C.js} +2 -2
- package/dist/cdn/{QT4P3IMH.js → YNG2OYHK.js} +2 -2
- package/dist/cdn/{337GP5DN.js → YSK3M7YN.js} +2 -2
- package/dist/cdn/{N6P4EPLM.js → YT3HCIKN.js} +2 -2
- package/dist/cdn/{ASPF3N5W.js → YT7DYR43.js} +2 -2
- package/dist/cdn/{4EIOEO7F.js → YTXLAN6H.js} +2 -2
- package/dist/cdn/{IUWYSYRK.js → YVUKGXA7.js} +2 -2
- package/dist/cdn/{RHVOHLJF.js → YWXO5566.js} +1 -1
- package/dist/cdn/{GPGX5S7M.js → YZ34JPPN.js} +2 -2
- package/dist/cdn/{4DYQILB2.js → Z5V6UEGG.js} +1 -1
- package/dist/cdn/{AZKXJTSY.js → Z66Q7VDZ.js} +2 -2
- package/dist/cdn/{U4YCJYPL.js → Z7VOKCJ2.js} +2 -2
- package/dist/cdn/{AAMCK5I4.js → ZC4RMFOU.js} +2 -2
- package/dist/cdn/{LVBVAKGR.js → ZGNQ4X7A.js} +2 -2
- package/dist/cdn/{TB45WOAA.js → ZOQ3RHTL.js} +2 -2
- package/dist/cdn/{KVSUT2SC.js → ZPPE7VHR.js} +2 -2
- package/dist/cdn/{ZGMXH73J.js → ZVKLVTTG.js} +2 -2
- package/dist/cdn/{23USBDF7.js → ZYPTSYTI.js} +2 -2
- package/dist/cdn/{HUHHPUBX.js → ZYYFYIDO.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/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.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/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/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/info-card/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-basemap-gallery/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-floor-filter/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-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.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/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/solutions-components_commit.txt +5 -8
- package/package.json +1 -1
- package/dist/cdn/4S44BCUP.js +0 -4
- package/dist/cdn/6RSW52DW.js +0 -4
- package/dist/cdn/6SBJEWMD.js +0 -4
- package/dist/cdn/7K3DCEVG.js +0 -4
- package/dist/cdn/A4BMSWZN.js +0 -4
- package/dist/cdn/CSYK2XIJ.js +0 -4
- package/dist/cdn/DYDDCUMB.js +0 -4
- package/dist/cdn/GH6INOEV.js +0 -4
- package/dist/cdn/JXDM5NAY.js +0 -4
- package/dist/cdn/LMCFILQW.js +0 -4
- package/dist/cdn/NBKMZGJE.js +0 -4
- package/dist/cdn/NEQWYHQC.js +0 -4
- package/dist/cdn/OUZB33YD.js +0 -4
- package/dist/cdn/PPNXVVN5.js +0 -4
- package/dist/cdn/QBQALHCA.js +0 -4
- package/dist/cdn/QH7CDIXM.js +0 -4
- package/dist/cdn/QNBWI5N7.js +0 -4
- package/dist/cdn/UHJ2PFQY.js +0 -4
- package/dist/cdn/WKOABKJJ.js +0 -4
- package/dist/cdn/XTARPSQL.js +0 -4
- package/dist/cdn/Z2EEIQ4E.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import d from"./WDGVALMO.js";import c from"./2I2PXDZH.js";import b from"./J6DIEMQ4.js";import a from"./I7DWWHUF.js";import{a as X}from"./IIOUARO7.js";import{b as Pe}from"./GUNLCXW3.js";import"./3OWXXQ36.js";import{G as Se,H as Ie,J as w,K as E,h as Ee,i as L,j as me,l as de,u as ze}from"./HBBOZKGV.js";import{b as st,d as lt}from"./5KE2NKHS.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.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 l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@layer{instant-apps-interactive-legend-classic{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: .875rem;--instant-apps-interactive-legend-info-font-size: .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}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{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)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{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){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--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",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:le.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return le.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import d from"./ADBJ54OV.js";import c from"./IUBO7W6A.js";import b from"./QWZ5HUEW.js";import a from"./C546TZBV.js";import{a as X}from"./23NFP2B6.js";import{b as Pe}from"./PEHHNJ6V.js";import"./52OB5KCR.js";import{G as Se,H as Ie,J as w,K as E,h as Ee,i as L,j as me,l as de,u as ze}from"./KXG3ACJ4.js";import{b as st,d as lt}from"./TVY5IKVU.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.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 l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@layer{instant-apps-interactive-legend-classic{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: .875rem;--instant-apps-interactive-legend-info-font-size: .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}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{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)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{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){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--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",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:le.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return le.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import"./TVY5IKVU.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as n}from"./ZGNQ4X7A.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as t}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as t}from"./TEFND7O6.js";import"./OBJT5DQL.js";import"./6YPMMLAF.js";import"./AVJWZC3G.js";import"./5EFFRTSX.js";import"./ZOQ3RHTL.js";import"./EVEYVVCT.js";import"./ZYPTSYTI.js";import"./7FYEP4A4.js";import"./QOVIWETW.js";import"./F3AYRPOL.js";import"./IWQKKA2X.js";import"./EVB5BCP2.js";import"./WEESVU2C.js";import"./TT4AJPTD.js";import"./R3BYS23P.js";import"./N72AFNSJ.js";import"./EKMVOSOE.js";import"./GWXEJZXF.js";import"./YHXGJ43C.js";import"./Z66Q7VDZ.js";import"./ITJ2SQDF.js";import"./275ZPKYI.js";import"./TVY5IKVU.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{b as e,e as r}from"./F4AZ6LGR.js";import"./IS7IQIOW.js";import"./VJ3KDK54.js";import"./AHLK4GBO.js";import{c as t}from"./7J44FCS6.js";import"./TR2NEOEC.js";import"./77A567FP.js";import"./VON4I3RU.js";import"./SPZCXXRW.js";import"./43J3CMJ6.js";import"./2M6EM5T2.js";import"./QT6OHKP2.js";import"./WK7DUCCV.js";import"./JKM6BLZA.js";import"./SOKAL66R.js";import"./7SVNHMAW.js";import"./IWQKKA2X.js";import"./TVY5IKVU.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as c}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{b as c}from"./V3RXZGIM.js";import{F as n,G as l,H as r,h as i,i as s,r as a}from"./KXG3ACJ4.js";import"./TVY5IKVU.js";export default $arcgis.t(([h,d])=>{var o=i`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import"./TVY5IKVU.js";var e="\u05D0\u05D9\u05DF \u05DC\u05DA \u05DE\u05E1\u05E4\u05D9\u05E7 \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05DC\u05D1\u05D9\u05E6\u05D5\u05E2 \u05E4\u05E2\u05D5\u05DC\u05D4 \u05D6\u05D5. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05DE\u05E2\u05E8\u05DB\u05EA ArcGIS \u05DC\u05E7\u05D1\u05DC\u05EA \u05E1\u05D9\u05D5\u05E2.",a="\u05DB\u05DC\u05D9 \u05D6\u05D4 \u05E4\u05D5\u05E8\u05E1\u05DD \u05DE-Notebook. \u05D4\u05D2\u05D9\u05E9\u05D4 \u05D0\u05DC ArcGIS Notebooks \u05D7\u05E1\u05D5\u05DE\u05D4 \u05E2\u05D1\u05D5\u05E8 \u05D0\u05E8\u05D2\u05D5\u05E0\u05DA. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05D4\u05DE\u05E2\u05E8\u05DB\u05EA \u05E9\u05DC\u05DA \u05DC\u05D4\u05EA\u05D0\u05DE\u05EA \u05D4\u05D4\u05D2\u05D3\u05E8\u05D4.",r="\u05DC-${ dataPath } \u05D0\u05E1\u05D5\u05E8 \u05DC\u05DB\u05DC\u05D5\u05DC ${ additionalProperty }.",t="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05E1\u05DB\u05DE\u05D4 \u05E9\u05DC \u05D0\u05D7\u05D3 \u05DE\u05D0\u05DC\u05D4: ${ schemaOptions }.",o="\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05D0\u05EA \u05D4\u05DE\u05E4\u05D4 \u05E9\u05D5\u05D1.",s="\u05D4\u05E2\u05E8\u05DB\u05EA \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E2\u05E8\u05DA \u05D0\u05EA \u05D4\u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E9\u05D5\u05D1.",i='"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05D4\u05E8\u05E6\u05EA \u05E0\u05D9\u05EA\u05D5\u05D7.',l="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05D5\u05D5\u05D4 \u05DC\u05D0\u05D7\u05D3 \u05DE\u05D4\u05E2\u05E8\u05DB\u05D9\u05DD \u05D4\u05DE\u05D5\u05EA\u05E8\u05D9\u05DD \u05D4\u05D1\u05D0\u05D9\u05DD: ${ allowedValues }.",d="\u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4",n="\u05D0\u05D7\u05E1\u05D5\u05DF \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4 \u05DE\u05DC\u05D0. \u05D4\u05E1\u05E8 \u05DB\u05DE\u05D4 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05DE\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05D5\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",c="\u05E9\u05DD \u05D4\u05E9\u05D9\u05E8\u05D5\u05EA \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8.",m="\u05E9\u05DE\u05D9\u05E8\u05EA \u05E9\u05DB\u05D1\u05D4 \u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05EA \u05D9\u05E9\u05D5\u05EA \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05DC\u05D0 \u05D4\u05D5\u05E9\u05DC\u05DE\u05D4.",u="\u05D4\u05E9\u05D2\u05EA \u05DE\u05D0\u05E4\u05D9\u05D9\u05E0\u05D9 \u05DE\u05E4\u05EA\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4.",E="\u05D8\u05E2\u05D9\u05E0\u05EA \u05D4\u05E9\u05DB\u05D1\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4",h="\u05D4\u05E9\u05DB\u05D1\u05D4 \u05DC\u05D0 \u05D6\u05DE\u05D9\u05E0\u05D4",y="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8 \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",P="\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05DE\u05D5\u05D3\u05DC. \u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",p="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E4\u05D7\u05D5\u05EA \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",S="${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC \u05DC\u05D4\u05D9\u05D5\u05EA \u05E7\u05E6\u05E8 \u05D9\u05D5\u05EA \u05DE-${ limit } \u05EA\u05D5\u05D5\u05D9\u05DD.",$="\u05D8\u05E2\u05D9\u05E0\u05EA \u05E4\u05E8\u05D9\u05D8 \u05DE\u05D5\u05D3\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D5\u05D3\u05D0 \u05E9\u05D4\u05DE\u05D5\u05D3\u05DC \u05E7\u05D9\u05D9\u05DD \u05D5\u05E9\u05E0\u05D9\u05EA\u05E0\u05D4 \u05D4\u05E8\u05E9\u05D0\u05EA \u05D2\u05D9\u05E9\u05D4.",v="\u05D4\u05E9\u05DC\u05DE\u05EA \u05D4\u05D1\u05E7\u05E9\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4.",f="\u05D0\u05D9\u05DF \u05DC\u05DA \u05D4\u05E8\u05E9\u05D0\u05D4 \u05DC\u05D4\u05E8\u05D9\u05E5 \u05DB\u05DC\u05D9 \u05D6\u05D4. <calcite-link target='_blank' href='${ docLink }'>\u05DC\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3</calcite-link>",k="\u05DB\u05E0\u05D9\u05E1\u05D4 \u05D0\u05DC \u05D4\u05E4\u05D5\u05E8\u05D8\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4.",F="\u05E7\u05E8\u05D9\u05D0\u05EA \u05E0\u05EA\u05D5\u05E0\u05D9 \u05D4\u05E7\u05DC\u05D8 \u05E0\u05DB\u05E9\u05DC\u05D4.",I="\u05D1-${ dataPath } \u05D7\u05E1\u05E8 \u05DE\u05D0\u05E4\u05D9\u05D9\u05DF \u05D1\u05E9\u05DD ${ missingProperty }.",T="\u05E7\u05D9\u05D9\u05DE\u05EA \u05DB\u05D1\u05E8 \u05E9\u05DB\u05D1\u05EA \u05EA\u05D5\u05E6\u05D0\u05D4 \u05D1\u05E9\u05DD \u05D6\u05D4. \u05DC\u05E9\u05DB\u05D1\u05D5\u05EA \u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05D7\u05D9\u05D9\u05D1\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05DE\u05D5\u05EA \u05D9\u05D9\u05D7\u05D5\u05D3\u05D9\u05D9\u05DD \u05D1\u05DB\u05DC \u05D4\u05D0\u05E8\u05D2\u05D5\u05DF. \u05D4\u05E9\u05EA\u05DE\u05E9 \u05D1\u05E9\u05DD \u05D0\u05D7\u05E8.",b="\u05E9\u05DD \u05D4\u05E4\u05DC\u05D8 \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. <a href='${docLink}' target='_blank'>\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3.</a>",L="\u05E4\u05E8\u05E1\u05D5\u05DD \u05D4\u05E9\u05DB\u05D1\u05D4 \u05D4\u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05D4 \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05E0\u05DB\u05E9\u05DC \u05E2\u05E7\u05D1 \u05E9\u05D3\u05D4 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. \u05D4\u05E8\u05E5 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05DB\u05DC\u05D9 \u05DB\u05D3\u05D9 \u05DC\u05D9\u05E6\u05D5\u05E8 \u05E9\u05DB\u05D1\u05D4 \u05E2\u05DD \u05E9\u05D3\u05D5\u05EA \u05D7\u05D5\u05E7\u05D9\u05D9\u05DD.",N="\u05E9\u05DC\u05D9\u05D7\u05EA \u05D4\u05E2\u05D1\u05D5\u05D3\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E8\u05E5 \u05D0\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E9\u05D5\u05D1.",g="\u05DC-${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05D7\u05D5\u05EA \u05EA\u05D5 \u05D0\u05D7\u05D3 \u05E9\u05D0\u05D9\u05E0\u05D5 \u05E8\u05D5\u05D5\u05D7 \u05D1\u05DC\u05EA\u05D9 \u05E0\u05E8\u05D0\u05D4.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as r}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{c as r}from"./PEHHNJ6V.js";import{b as o}from"./HPXNQRCD.js";var s=o(r);export{s as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import f from"./T64ZSN6G.js";import e from"./BHVHDS4B.js";import"./56A35C6P.js";import"./QREZWDMC.js";import d from"./KTQWROMB.js";import b from"./VEN3SQUK.js";import a from"./VMWEYFYK.js";import"./JC2IM5XB.js";import"./PPTHTB2U.js";import{a as F}from"./JYUJABRJ.js";import"./HPXNQRCD.js";import"./52OB5KCR.js";import"./AHELA4T4.js";import"./E5QQFCT4.js";import"./LUQ7FMMN.js";import"./CIO2VG6T.js";import"./4N5K4ME5.js";import"./B3XVV774.js";import"./TR2NEOEC.js";import"./VON4I3RU.js";import"./SPZCXXRW.js";import"./43J3CMJ6.js";import"./2M6EM5T2.js";import"./HDP6J57X.js";import"./QT6OHKP2.js";import"./WK7DUCCV.js";import"./JKM6BLZA.js";import"./Z5V6UEGG.js";import"./SOKAL66R.js";import"./7SVNHMAW.js";import"./IWQKKA2X.js";import{b as L}from"./V3RXZGIM.js";import{F as u,G as c,H as w,J as x,K as I,h as m,i as n,l as y,r as p,u as _}from"./KXG3ACJ4.js";import"./TVY5IKVU.js";export default $arcgis.t(([S,E,$,,,{c:d,d:g,g:b},,v])=>{var T=m`@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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import f from"./ADBJ54OV.js";import e from"./IUBO7W6A.js";import c from"./QWZ5HUEW.js";import b from"./C546TZBV.js";import{b as o}from"./PEHHNJ6V.js";import"./52OB5KCR.js";import{F as s,G as r,H as n,J as l,K as d,h as a,i}from"./KXG3ACJ4.js";import"./TVY5IKVU.js";export default $arcgis.t(([,,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e,f)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import h from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import h from"./C732PWJB.js";import g from"./BHVHDS4B.js";import"./56A35C6P.js";import"./JTIP7ULP.js";import"./QREZWDMC.js";import"./PEHHNJ6V.js";import e from"./WIJWQ5VY.js";import d from"./KTQWROMB.js";import c from"./VEN3SQUK.js";import a from"./VMWEYFYK.js";import"./JC2IM5XB.js";import"./PPTHTB2U.js";import{a as y}from"./JYUJABRJ.js";import"./HPXNQRCD.js";import"./52OB5KCR.js";import"./AHELA4T4.js";import"./E5QQFCT4.js";import"./LUQ7FMMN.js";import"./CIO2VG6T.js";import"./4N5K4ME5.js";import"./B3XVV774.js";import"./TR2NEOEC.js";import"./VON4I3RU.js";import"./SPZCXXRW.js";import"./43J3CMJ6.js";import"./2M6EM5T2.js";import"./HDP6J57X.js";import"./QT6OHKP2.js";import"./WK7DUCCV.js";import"./JKM6BLZA.js";import"./Z5V6UEGG.js";import"./SOKAL66R.js";import"./7SVNHMAW.js";import"./IWQKKA2X.js";import{b as u}from"./V3RXZGIM.js";import{G as f,H as b,h as p,i as m}from"./KXG3ACJ4.js";import"./TVY5IKVU.js";export default $arcgis.t(([])=>{var v=p`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as e}from"./TEFND7O6.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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import d from"./FMRHNUJL.js";import c from"./MMGEI3E2.js";import a from"./C546TZBV.js";import{a as S}from"./7IQH3HU5.js";import{a as T}from"./23NFP2B6.js";import{a as y}from"./DBP6MKV3.js";import{b as x}from"./PEHHNJ6V.js";import"./HPXNQRCD.js";import"./52OB5KCR.js";import{H as b,J as r,h as $,i as n,r as f}from"./KXG3ACJ4.js";import"./TVY5IKVU.js";export default $arcgis.t(([d,,{c:h,e:m,f:e,g:L,h:_,j:D,l:k},{a:u,b:w,e:C,f:I}])=>{var E=$`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},v=class extends b{constructor(){super(),this._messages=y({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=f(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(a){e.set("saving",!0);try{let t=await this.getPortalItemResource();if(!t){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...a,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await t.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(t){return console.error("Error writing to portal item resource: ",t),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(a){e.set("portalItemResourceT9n",a)}load(){k()}willUpdate(a){(a.has("locales")||a.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:a,locales:t}=this,s=L(a,t);e.set("uiData",s)}initSelectLanguage(){let a=this.locales?.[0]?.locale??d.getLocale(),t=e.get("currentLanguage");this.locales.filter(s=>s.locale===t).length===0&&e.set("currentLanguage",a)}async initPortalItemResourceT9nData(){try{let a=await I(this.portalItem);e.set("portalItemResource",a);let t=await C(a);e.set("lastSave",t.lastSave),e.set("portalItemResourceT9n",t??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(m.uiData);_().forEach(t=>a.get(t).expanded=this.isCollapse),e.set("uiData",a)}onSuggestionSelect(a){let t=a.detail,s=new Map(m.uiData),o=_(),p=c=>{let g=s.get(c);if(c===t){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(a){let t=a.target.value;e.set("currentLanguage",t)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${h.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let a=this._messages.languages,t=w(),s=a?.[t];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:a,_messages:t}=this,s=a?t?.collapseAll:t?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${h.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let a=e.get("uiData")?.get("locales"),t=D(a),s=Object.keys(u.partial);return S(t,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=u[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?T("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${d.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};x("instant-apps-language-translator",v);return v},"intl",a,c,d)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as xt}from"./FNI6VUVC.js";import{a as M}from"./4CF7AYW7.js";import{a as J}from"./D2U4OZRQ.js";import{b as G}from"./GUNLCXW3.js";import"./OVLVRTSJ.js";import"./3OWXXQ36.js";import{F as m,G as d,H as j,J as h,h as q,i as c,l as L,r as F}from"./HBBOZKGV.js";import{d as ft}from"./5KE2NKHS.js";export default $arcgis.t(([S,Nt,te,ee])=>{function X(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var K=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function x(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function k(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=x(window.getComputedStyle(document.documentElement)),v))}function T(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function wt(e){let t=T(e,"border-left-width"),i=T(e,"border-right-width");return e.clientWidth+t+i}function vt(e){let t=T(e,"border-top-width"),i=T(e,"border-bottom-width");return e.clientHeight+t+i}function R(e,t={}){let i=t.width||wt(e),n=t.height||vt(e);return{width:i,height:n}}function Q(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function Y(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function yt(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function Z(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),yt(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function bt(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Et(e,t){return k(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function _t(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?bt(i):Et(i,n);return document.createTextNode(`${r}{${s}}`)}function N(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=K();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(_t(a,i,r,n)),t.appendChild(o)}function tt(e,t,i){N(e,t,":before",i),N(e,t,":after",i)}var et="application/font-woff",it="image/jpeg",Ct={woff:et,woff2:et,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:it,jpeg:it,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Pt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=Pt(e).toLowerCase();return Ct[t]||""}function St(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function A(e,t){return`data:${t};base64,${e}`}async function B(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var D={};function Tt(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=Tt(e,t,i.includeQueryParams);if(D[n]!=null)return D[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await B(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),St(o)));r=A(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return D[n]=r,r}async function kt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function $t(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function It(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Lt(e,t){return u(e,HTMLCanvasElement)?kt(e):u(e,HTMLVideoElement)?$t(e,t):u(e,HTMLIFrameElement)?It(e,t):e.cloneNode(nt(e))}var Ft=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",nt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function Mt(e,t,i){var n,r;if(nt(t))return t;let s=[];return Ft(e)&&e.assignedNodes?s=x(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=x(e.contentDocument.body.childNodes):s=x(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Rt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):k(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Dt(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function At(e,t){if(u(e,HTMLSelectElement)){let n=Array.from(t.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Bt(e,t,i){return u(t,Element)&&(Rt(e,t,i),tt(e,t,i),Dt(e,t),At(e,t)),t}async function Ht(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Lt(n,t)).then(n=>Mt(e,n,t)).then(n=>Bt(e,n,t)).then(n=>Ht(n,t))}var rt=/url\((['"]?)([^'"]+?)\1\)/g,Ot=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Ut=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Wt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Vt(e){let t=[];return e.replace(rt,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function zt(e,t,i,n,r){try{let s=i?X(t,i):t,a=b(t),o;if(r){let p=await r(s);o=A(p,a)}else o=await E(s,a,n);return e.replace(Wt(t),`$1${o}$3`)}catch{}return e}function qt(e,{preferredFontFormat:t}){return t?e.replace(Ut,i=>{for(;;){let[n,,r]=Ot.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function H(e){return e.search(rt)!==-1}async function $(e,t,i){if(!H(e))return e;let n=qt(e,i);return Vt(n).reduce((s,a)=>s.then(o=>zt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await $(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function jt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Gt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Jt(e,t){let n=x(e.childNodes).map(r=>O(r,t));await Promise.all(n).then(()=>e)}async function O(e,t){u(e,Element)&&(await jt(e,t),await Gt(e,t),await Jt(e,t))}function st(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var at={};async function ot(e){let t=at[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},at[e]=t,t}async function pt(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),B(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function lt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Xt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{x(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ot(p).then(w=>pt(w,t)).then(w=>lt(w).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(gt){console.error("Error inserting rule from remote css",{rule:I,error:gt})}})).catch(w=>{console.error("Error loading remote css",w.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ot(r.href).then(o=>pt(o,t)).then(o=>lt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{x(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Kt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>H(t.style.getPropertyValue("src")))}async function Qt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=x(e.ownerDocument.styleSheets),n=await Xt(i,t);return Kt(n)}function ct(e){return e.trim().replace(/["']/g,"")}function Yt(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ct(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function ht(e,t){let i=await Qt(e,t),n=Yt(e);return(await Promise.all(i.filter(s=>n.has(ct(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return $(s.cssText,a,t)}))).join(`
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as xt}from"./GBGG6MGA.js";import{a as M}from"./AOSZKBKE.js";import{a as J}from"./DBP6MKV3.js";import{b as G}from"./PEHHNJ6V.js";import"./HPXNQRCD.js";import"./52OB5KCR.js";import{F as m,G as d,H as j,J as h,h as q,i as c,l as L,r as F}from"./KXG3ACJ4.js";import{d as ft}from"./TVY5IKVU.js";export default $arcgis.t(([S,Nt,te,ee])=>{function X(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var K=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function x(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var v=null;function k(e={}){return v||(e.includeStyleProperties?(v=e.includeStyleProperties,v):(v=x(window.getComputedStyle(document.documentElement)),v))}function T(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function wt(e){let t=T(e,"border-left-width"),i=T(e,"border-right-width");return e.clientWidth+t+i}function vt(e){let t=T(e,"border-top-width"),i=T(e,"border-bottom-width");return e.clientHeight+t+i}function R(e,t={}){let i=t.width||wt(e),n=t.height||vt(e);return{width:i,height:n}}function Q(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function Y(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function yt(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function Z(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),yt(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function bt(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Et(e,t){return k(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function _t(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?bt(i):Et(i,n);return document.createTextNode(`${r}{${s}}`)}function N(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=K();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(_t(a,i,r,n)),t.appendChild(o)}function tt(e,t,i){N(e,t,":before",i),N(e,t,":after",i)}var et="application/font-woff",it="image/jpeg",Ct={woff:et,woff2:et,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:it,jpeg:it,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Pt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=Pt(e).toLowerCase();return Ct[t]||""}function St(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function A(e,t){return`data:${t};base64,${e}`}async function B(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var D={};function Tt(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=Tt(e,t,i.includeQueryParams);if(D[n]!=null)return D[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await B(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),St(o)));r=A(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return D[n]=r,r}async function kt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function $t(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function It(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Lt(e,t){return u(e,HTMLCanvasElement)?kt(e):u(e,HTMLVideoElement)?$t(e,t):u(e,HTMLIFrameElement)?It(e,t):e.cloneNode(nt(e))}var Ft=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",nt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function Mt(e,t,i){var n,r;if(nt(t))return t;let s=[];return Ft(e)&&e.assignedNodes?s=x(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=x(e.contentDocument.body.childNodes):s=x(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Rt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):k(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Dt(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function At(e,t){if(u(e,HTMLSelectElement)){let n=Array.from(t.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Bt(e,t,i){return u(t,Element)&&(Rt(e,t,i),tt(e,t,i),Dt(e,t),At(e,t)),t}async function Ht(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Lt(n,t)).then(n=>Mt(e,n,t)).then(n=>Bt(e,n,t)).then(n=>Ht(n,t))}var rt=/url\((['"]?)([^'"]+?)\1\)/g,Ot=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Ut=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Wt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Vt(e){let t=[];return e.replace(rt,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function zt(e,t,i,n,r){try{let s=i?X(t,i):t,a=b(t),o;if(r){let p=await r(s);o=A(p,a)}else o=await E(s,a,n);return e.replace(Wt(t),`$1${o}$3`)}catch{}return e}function qt(e,{preferredFontFormat:t}){return t?e.replace(Ut,i=>{for(;;){let[n,,r]=Ot.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function H(e){return e.search(rt)!==-1}async function $(e,t,i){if(!H(e))return e;let n=qt(e,i);return Vt(n).reduce((s,a)=>s.then(o=>zt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await $(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function jt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Gt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Jt(e,t){let n=x(e.childNodes).map(r=>O(r,t));await Promise.all(n).then(()=>e)}async function O(e,t){u(e,Element)&&(await jt(e,t),await Gt(e,t),await Jt(e,t))}function st(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var at={};async function ot(e){let t=at[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},at[e]=t,t}async function pt(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),B(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function lt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Xt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{x(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ot(p).then(w=>pt(w,t)).then(w=>lt(w).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(gt){console.error("Error inserting rule from remote css",{rule:I,error:gt})}})).catch(w=>{console.error("Error loading remote css",w.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ot(r.href).then(o=>pt(o,t)).then(o=>lt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{x(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Kt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>H(t.style.getPropertyValue("src")))}async function Qt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=x(e.ownerDocument.styleSheets),n=await Xt(i,t);return Kt(n)}function ct(e){return e.trim().replace(/["']/g,"")}function Yt(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ct(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function ht(e,t){let i=await Qt(e,t),n=Yt(e);return(await Promise.all(i.filter(s=>n.has(ct(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return $(s.cssText,a,t)}))).join(`
|
|
5
5
|
`)}async function dt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await ht(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function Zt(e,t={}){let{width:i,height:n}=R(e,t),r=await P(e,t,!0);return await dt(r,t),await O(r,t),st(r,t),await Z(r,i,n)}async function ut(e,t={}){let{width:i,height:n}=R(e,t),r=await Zt(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||Q(),f=t.canvasWidth||i,w=t.canvasHeight||n;return a.width=f*p,a.height=w*p,t.skipAutoScale||Y(a),a.style.width=`${f}`,a.style.height=`${w}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function mt(e,t={}){return(await ut(e,t)).toDataURL()}async function U(e,t={}){return(await ut(e,t)).toDataURL("image/jpeg",t.quality||1)}var V=ft(xt(),1);var ie=`
|
|
6
6
|
@media print {
|
|
7
7
|
@page {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as i,d as f}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{c as i,d as f}from"./CIO2VG6T.js";import{l as g}from"./B3XVV774.js";import{a as o}from"./43J3CMJ6.js";import{b as c}from"./HDP6J57X.js";import{c as m,j as l,k as s,l as d,v as p}from"./WK7DUCCV.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as O}from"./AHELA4T4.js";import{e as _}from"./CIO2VG6T.js";import{a as l,f as p}from"./43J3CMJ6.js";import"./7SVNHMAW.js";import"./TVY5IKVU.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./OKHEUPYI.js"),m={"hub:card:stat":()=>import("./O3YGNVTR.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./LOKIVJJR.js"),m={"hub:card:follow":()=>import("./HA6FW7RF.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./X44BXCEZ.js"),m=import("./Y2OH3BJ3.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./JDL56MNA.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./H26VA4BA.js"),"hub:site:create":()=>import("./OIESJ3KL.js"),"hub:site:followers":()=>import("./MP6AV2VT.js"),"hub:site:discussions":()=>import("./YT3HCIKN.js"),"hub:site:settings":()=>import("./TE4HZG2N.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./LTY3YEMJ.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./ATMFUEOD.js"),"hub:discussion:create":()=>import("./5U35PANI.js"),"hub:discussion:settings":()=>import("./TEZWM3SV.js"),"hub:discussion:settings:discussions":()=>import("./C3WNO3F7.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./AYRZKO5Q.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./RLCZV46Z.js"),"hub:channel:create":()=>import("./IVTBDY4M.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./75S3HU43.js");r=l(n);let v=await{"hub:project:edit":()=>import("./CHS5OOKP.js"),"hub:project:create":()=>import("./B4VN5PKX.js"),"hub:project:create2":()=>import("./22K2SOD7.js"),"hub:project:metrics":()=>import("./YC375XNT.js"),"hub:project:settings":()=>import("./CGZ5NJNK.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./R7GKBUYA.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./YVUKGXA7.js"),"hub:initiative:create":()=>import("./XNGISPIV.js"),"hub:initiative:create2":()=>import("./3LG5LVBD.js"),"hub:initiative:metrics":()=>import("./7WHRTZ5H.js"),"hub:initiative:associations":()=>import("./KXL3WQKN.js"),"hub:initiative:settings":()=>import("./RTBG4SAP.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./XVKHXFUM.js");r=l(I);let D=await{"hub:page:edit":()=>import("./3GPMRYM6.js"),"hub:page:create":()=>import("./G5D4GLDZ.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./MRXWSMLR.js");r=l(K);let U=await{"hub:content:edit":()=>import("./YTXLAN6H.js"),"hub:content:discussions":()=>import("./T25RIFZ6.js"),"hub:content:settings":()=>import("./FD2ISON4.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./ZC4RMFOU.js");r=l(y);let k=await{"hub:template:edit":()=>import("./XFA6AOQY.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./PQT3HOXE.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./MX6QD4JR.js"),"hub:group:create:association":()=>import("./UTU3EJ4E.js"),"hub:group:create:view":()=>import("./OJZSGHXG.js"),"hub:group:create:edit":()=>import("./BU3IS2BF.js"),"hub:group:create":()=>import("./FAYOWWZW.js"),"hub:group:edit":()=>import("./USAZCHXS.js"),"hub:group:settings":()=>import("./3S5ALN67.js"),"hub:group:discussions":()=>import("./CV74ZAHK.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./KT56YIKP.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./OLSVBERN.js"),"hub:survey:settings":()=>import("./CYKGRXBO.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./64PUXJTT.js"),"hub:event:edit":()=>import("./2P4ZNTXN.js"),"hub:event:registrants":()=>import("./OA65JG4F.js")}[a](),H=await{"hub:event:create":()=>import("./AEBLDJ6I.js"),"hub:event:edit":()=>import("./M4V4BSTN.js"),"hub:event:registrants":()=>import("./VBUUEEPE.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./YNG2OYHK.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./6J7ZEFEX.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./MQ6S5EKQ.js");r=l(N);let P=await{"hub:user:settings":()=>import("./N74YODYK.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as s}from"./Z66Q7VDZ.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as r}from"./JYUJABRJ.js";import"./HPXNQRCD.js";import"./52OB5KCR.js";import{b as o}from"./V3RXZGIM.js";import{H as n,h as a,i as l,r as i}from"./KXG3ACJ4.js";import"./TVY5IKVU.js";var c=a`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as o,b as s,c as i,d as p}from"./
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
|
+
import{a as o,b as s,c as i,d as p}from"./TT4AJPTD.js";import{c as r}from"./R3BYS23P.js";import{a as e}from"./Z66Q7VDZ.js";import{b as t}from"./ITJ2SQDF.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.95 */
|
|
4
4
|
function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w as b};
|