@esri/solutions-components 1.1.1 → 1.1.2
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/{EIDWGAQS.js → 23IRBL5F.js} +2 -2
- package/dist/cdn/{6Q3BQ2FC.js → 2BG54SQT.js} +2 -2
- package/dist/cdn/{DTPMMVFN.js → 2NNSKNYF.js} +2 -2
- package/dist/cdn/{4BCG3VKN.js → 2PCYWVDT.js} +2 -2
- package/dist/cdn/{U4VWSAWK.js → 2SPXLWJO.js} +2 -2
- package/dist/cdn/{GQCNQXN5.js → 2TPODPFQ.js} +1 -1
- package/dist/cdn/{VUBDTATP.js → 2TSN3PFX.js} +9 -4
- package/dist/cdn/{PSX4TZJP.js → 2X27XYSX.js} +1 -1
- package/dist/cdn/{HOZ3ZGMX.js → 2YJKIAGN.js} +2 -2
- package/dist/cdn/{UNICLOME.js → 2Z3MNBH3.js} +2 -2
- package/dist/cdn/{5ELVKZK3.js → 3AIKEAXO.js} +2 -2
- package/dist/cdn/{F7KJ6JU5.js → 3CXAQKWJ.js} +2 -2
- package/dist/cdn/{X3KX5MLG.js → 3D6XZSQQ.js} +2 -2
- package/dist/cdn/{P55J63ZU.js → 3NOB3U76.js} +2 -2
- package/dist/cdn/{CWXIDRS2.js → 3Q67Q7SB.js} +1 -1
- package/dist/cdn/{T53MA6GA.js → 3V7OTVXH.js} +2 -2
- package/dist/cdn/{DT2QNJXZ.js → 46CVQ75Q.js} +2 -2
- package/dist/cdn/{2YQAGWB4.js → 4ATJSWKM.js} +2 -2
- package/dist/cdn/{OGDSICU2.js → 4CQTDBOU.js} +2 -2
- package/dist/cdn/{GRQT7TEY.js → 4HHR7PZR.js} +2 -2
- package/dist/cdn/{26YIO67D.js → 4KTBRCKI.js} +2 -2
- package/dist/cdn/{M6O3GAPO.js → 4LC4KY4J.js} +2 -2
- package/dist/cdn/{DHNEONGR.js → 4RFYINXZ.js} +2 -2
- package/dist/cdn/{AXLUQP4L.js → 4S5VXIST.js} +2 -2
- package/dist/cdn/{OYFNC4U6.js → 4VNLVOPL.js} +1 -1
- package/dist/cdn/{K36E76AY.js → 4WXC25SR.js} +2 -2
- package/dist/cdn/{WHOLLTII.js → 52W3R4RL.js} +2 -2
- package/dist/cdn/{UVOSWHK6.js → 52YHWBMR.js} +2 -2
- package/dist/cdn/{7Q36435D.js → 54DZZUSQ.js} +2 -2
- package/dist/cdn/{JFECVDJN.js → 56BEAQZV.js} +1 -1
- package/dist/cdn/{ETND67WR.js → 56F5USQF.js} +2 -2
- package/dist/cdn/{ICHAZGEE.js → 57D4BUE5.js} +2 -2
- package/dist/cdn/{PDBKU4S2.js → 5AT5TJIP.js} +1 -1
- package/dist/cdn/{RYBVU2SH.js → 5ES6SYN7.js} +2 -2
- package/dist/cdn/{3I4KGLJ2.js → 5HDRNMQJ.js} +2 -2
- package/dist/cdn/{GPMIA743.js → 5L5QLMGU.js} +2 -2
- package/dist/cdn/{NE2AVEWI.js → 5MR2SW5F.js} +2 -2
- package/dist/cdn/{CY3IW6EI.js → 5OTGWJLM.js} +2 -2
- package/dist/cdn/{L4UMBNSK.js → 5SL47RKJ.js} +2 -2
- package/dist/cdn/{5K76V7K5.js → 5SPE3LHH.js} +2 -2
- package/dist/cdn/623KYN7N.js +18 -0
- package/dist/cdn/{E7JSS6TZ.js → 65O4PRAV.js} +2 -2
- package/dist/cdn/{5MMYLEOU.js → 6LCAW5ML.js} +2 -2
- package/dist/cdn/{C5IVPFPI.js → 6QBHMCGQ.js} +2 -2
- package/dist/cdn/{XRBYIFHY.js → 6S7UIEGR.js} +2 -2
- package/dist/cdn/{6KGM4ZLO.js → 6SKVVL25.js} +2 -2
- package/dist/cdn/{C25PM233.js → 6TLN7QJA.js} +2 -2
- package/dist/cdn/{5Z2FPM3N.js → 6UG5WDWV.js} +2 -2
- package/dist/cdn/{4LWHDNDR.js → 6XOYHC7J.js} +2 -2
- package/dist/cdn/{KJNHCW6Z.js → 76VH62DU.js} +2 -2
- package/dist/cdn/{2BTAF23L.js → 77DDT2NZ.js} +2 -2
- package/dist/cdn/{6WOQW2IE.js → 7JQBDEYQ.js} +2 -2
- package/dist/cdn/{5BQ6XBFO.js → 7LGPOI25.js} +2 -2
- package/dist/cdn/{2UB4CICT.js → 7MR2GERG.js} +2 -2
- package/dist/cdn/{2IG3IMPC.js → 7MU53L6J.js} +2 -2
- package/dist/cdn/{5RFM6MUZ.js → 7QLTAN6E.js} +2 -2
- package/dist/cdn/{YNPQP3KG.js → 7SQLFBYH.js} +2 -2
- package/dist/cdn/{ELLRXQO4.js → 7SVO5H2S.js} +2 -2
- package/dist/cdn/{MDUZXVAQ.js → 7SW2TDGW.js} +2 -2
- package/dist/cdn/{O7Z57GLZ.js → A2YLMAEB.js} +1 -1
- package/dist/cdn/A5SRIAVS.js +18 -0
- package/dist/cdn/{XZL7GBO2.js → AD4DWMVS.js} +1 -1
- package/dist/cdn/{NJF4SHQQ.js → AJ4JBY3E.js} +2 -2
- package/dist/cdn/{TGVB6RQB.js → AKNFGCOO.js} +2 -2
- package/dist/cdn/{2BWMHRH4.js → ALPBERVX.js} +2 -2
- package/dist/cdn/{K5B6UE4O.js → AQCUMS2V.js} +2 -2
- package/dist/cdn/{VSI5R4LM.js → AQYGK2BV.js} +2 -2
- package/dist/cdn/{7TPSN3OZ.js → AUZAHXSQ.js} +2 -2
- package/dist/cdn/{MGSTYEHN.js → AWBHRN6T.js} +2 -2
- package/dist/cdn/{AHJZ4NUK.js → AWV7PNON.js} +2 -2
- package/dist/cdn/{LG5TLQOT.js → AWYME7F7.js} +2 -2
- package/dist/cdn/{53KQQRS4.js → AXAW5ILZ.js} +2 -2
- package/dist/cdn/{752NXLLE.js → B6OALUXR.js} +2 -2
- package/dist/cdn/{CVHQL36X.js → BBQYN3N7.js} +2 -2
- package/dist/cdn/{UKTDQUNY.js → BDEGFKHR.js} +2 -2
- package/dist/cdn/{RFQTBJV3.js → BFPWVVHF.js} +2 -2
- package/dist/cdn/{DZCKXQ37.js → BFZS6QRQ.js} +2 -2
- package/dist/cdn/{4N5DLQ55.js → BJQAP3O2.js} +2 -2
- package/dist/cdn/{HFVS4CAO.js → BMSCYDPC.js} +1 -1
- package/dist/cdn/{3Z52A6AW.js → BOOF3NBM.js} +2 -2
- package/dist/cdn/{B4SUA3W7.js → BQIRDUCX.js} +2 -2
- package/dist/cdn/{3AKF2NFL.js → BSKFNFRN.js} +1 -1
- package/dist/cdn/BTK7H2UX.js +18 -0
- package/dist/cdn/{6YCAEYPE.js → BVKE6BFN.js} +1 -1
- package/dist/cdn/{YGBNP67C.js → C3RJP556.js} +1 -1
- package/dist/cdn/{ABKXGOLH.js → C72XLEL7.js} +2 -2
- package/dist/cdn/{L4PGMPKA.js → CBGO2YBX.js} +2 -2
- package/dist/cdn/{2JEEZNQU.js → CBVSJH3I.js} +2 -2
- package/dist/cdn/{YHYQGDEU.js → CD46MAFQ.js} +2 -2
- package/dist/cdn/{27ZTA7Z7.js → CD4VLBIG.js} +2 -2
- package/dist/cdn/{ORSXUYDL.js → CEKBH7TV.js} +2 -2
- package/dist/cdn/{4GJOG2F4.js → CEORPQJR.js} +2 -2
- package/dist/cdn/{2CZX6QRM.js → CIVTXV63.js} +2 -2
- package/dist/cdn/{6HHD7W7G.js → CWP75JYL.js} +2 -2
- package/dist/cdn/{RDZOTUWI.js → CZRJGD6M.js} +2 -2
- package/dist/cdn/{IAAUVKHV.js → D2BNLIR4.js} +2 -2
- package/dist/cdn/{PWBUTW4G.js → D33EIGNT.js} +2 -2
- package/dist/cdn/{3SXS6CO7.js → DADQEBSP.js} +2 -2
- package/dist/cdn/{USE6OJ76.js → DCM6XZAR.js} +1 -1
- package/dist/cdn/{XMKDRPPW.js → DDBL2HDT.js} +1 -1
- package/dist/cdn/{IJYKJ7U3.js → DE3YUG4H.js} +2 -2
- package/dist/cdn/{TPQBOF3P.js → DHMSET7H.js} +2 -2
- package/dist/cdn/{UVAXWM4L.js → DOX3JTNJ.js} +1 -1
- package/dist/cdn/{KHEFLBXY.js → DOZB6DFJ.js} +2 -2
- package/dist/cdn/{AM7XZYHN.js → DRUIQVWC.js} +2 -2
- package/dist/cdn/{7KUJV4HC.js → DV3WDXZ7.js} +2 -2
- package/dist/cdn/{CGRUPQKB.js → DZI3NZZS.js} +2 -2
- package/dist/cdn/{KX5ZC2OR.js → EEBZHKDM.js} +2 -2
- package/dist/cdn/{AMQ6Z4TC.js → EGOHOQ75.js} +2 -2
- package/dist/cdn/{KIBCKDDV.js → EHUHNBX5.js} +2 -2
- package/dist/cdn/{H4APLINN.js → ELHKOYWS.js} +2 -2
- package/dist/cdn/{JR7EO46W.js → ENIYIB7V.js} +2 -2
- package/dist/cdn/{3ALCYZ3Q.js → EPZ7O3EU.js} +2 -2
- package/dist/cdn/{6SJDAXKU.js → EQFPI3FP.js} +2 -2
- package/dist/cdn/{ZRPNT6EM.js → ES5BMMHS.js} +2 -2
- package/dist/cdn/{FIUCHRQF.js → ESCVJT5H.js} +2 -2
- package/dist/cdn/{HS4O2ERP.js → EY67YJ3O.js} +2 -2
- package/dist/cdn/{ZXNTEBYO.js → FBIVVIPK.js} +2 -2
- package/dist/cdn/{HODMV4M5.js → FCX66S7M.js} +2 -2
- package/dist/cdn/{CDEY6E3D.js → FHWM6U56.js} +1 -1
- package/dist/cdn/{PCEDSTLJ.js → FNFLIMK4.js} +2 -2
- package/dist/cdn/{LKGNNJ5C.js → FPMQYHKA.js} +2 -2
- package/dist/cdn/{CEMXCEBH.js → FQ4OKLWN.js} +1 -1
- package/dist/cdn/{IL5ASV53.js → FRQXGBUS.js} +2 -2
- package/dist/cdn/{QFMJ7ICF.js → FRUFK6VO.js} +2 -2
- package/dist/cdn/{ICNZOE62.js → FTXGL447.js} +2 -2
- package/dist/cdn/G2I5HABN.js +4 -0
- package/dist/cdn/{IYRAUVEG.js → G2Z7STGZ.js} +2 -2
- package/dist/cdn/{E2H2TMYA.js → G4YRJUBG.js} +2 -2
- package/dist/cdn/{MBGCB6OG.js → GCTPCYBJ.js} +2 -2
- package/dist/cdn/GD4QMW4I.js +4 -0
- package/dist/cdn/{QYGNVH4W.js → GF5KUEBW.js} +1 -1
- package/dist/cdn/GKH6SK5J.js +4 -0
- package/dist/cdn/{SO5JOFTM.js → GLO46OKK.js} +2 -2
- package/dist/cdn/{E4657PTM.js → GMIPLZOK.js} +2 -2
- package/dist/cdn/{DG6X6ND5.js → GPTGQ7YV.js} +2 -2
- package/dist/cdn/{S7PRSYYO.js → GQSDM4R7.js} +2 -2
- package/dist/cdn/{A7HIU3CH.js → GUT2FDGN.js} +1 -1
- package/dist/cdn/{NHT6Z5E2.js → GV62Y43A.js} +2 -2
- package/dist/cdn/{56TBWRRO.js → GX3BMYNP.js} +2 -2
- package/dist/cdn/{NQE4EDAU.js → GYQVTQNA.js} +2 -2
- package/dist/cdn/{4ACOSJ2R.js → H2CI7OUX.js} +2 -2
- package/dist/cdn/{NCBU44KK.js → H6HF6HSD.js} +2 -2
- package/dist/cdn/{3FP74ZYG.js → H7VJRQAW.js} +2 -2
- package/dist/cdn/{D3U545GO.js → HAZITU6Q.js} +2 -2
- package/dist/cdn/{X7ZDHHU4.js → HBUDH3U6.js} +2 -2
- package/dist/cdn/{7DNPNWRU.js → HDRPW73J.js} +2 -2
- package/dist/cdn/{SOHGAMG2.js → HEBJZ2UQ.js} +2 -2
- package/dist/cdn/{SO2FFKO7.js → HKJUYDHF.js} +2 -2
- package/dist/cdn/{UFHCRIJM.js → HKY6SY7D.js} +2 -2
- package/dist/cdn/{YXBR66FZ.js → HOP2FWBH.js} +2 -2
- package/dist/cdn/{OSSABG5C.js → HPI4FZPC.js} +2 -2
- package/dist/cdn/{R2LM4OS3.js → HQVMLALO.js} +2 -2
- package/dist/cdn/{DAR4Z4PY.js → HRLLJHAS.js} +2 -2
- package/dist/cdn/{ZZG6UPJB.js → HSNA2TI3.js} +2 -2
- package/dist/cdn/{6D4MPGC2.js → HUCMZEDU.js} +2 -2
- package/dist/cdn/{ONHXUPVG.js → HUOOT4GV.js} +2 -2
- package/dist/cdn/{2WOT62PD.js → HX72RMB7.js} +2 -2
- package/dist/cdn/{TBQSNIZB.js → HXCAD5K5.js} +2 -2
- package/dist/cdn/{3KQWJHJU.js → HYIFXLL5.js} +2 -2
- package/dist/cdn/{I5LITYX6.js → HZLUYQD7.js} +2 -2
- package/dist/cdn/{DG7ELQI5.js → I5MORTV6.js} +2 -2
- package/dist/cdn/{4MOZP7S7.js → I66U7ET6.js} +1 -1
- package/dist/cdn/{55QFSM4Z.js → IE3XKNUU.js} +2 -2
- package/dist/cdn/{OTTNFPEO.js → IH5CADVW.js} +2 -2
- package/dist/cdn/{SFGQEQN6.js → IIMUYPMO.js} +2 -2
- package/dist/cdn/{YETRMAS4.js → IJNJBT7T.js} +2 -2
- package/dist/cdn/{SPLHZ3N7.js → IMQR7CXF.js} +2 -2
- package/dist/cdn/IMXNLCKH.js +18 -0
- package/dist/cdn/{BKJFP7LT.js → IQVE6W6Y.js} +2 -2
- package/dist/cdn/{LVLT7OO5.js → IRHKLM6Z.js} +2 -2
- package/dist/cdn/{7GCGTHLP.js → J33QV26U.js} +2 -2
- package/dist/cdn/{4P3ZYJQ3.js → J6F3J2Q6.js} +2 -2
- package/dist/cdn/{Q4JIF4ME.js → JB5YQ3CN.js} +2 -2
- package/dist/cdn/{HSQOGPUN.js → JCAPW2PV.js} +2 -2
- package/dist/cdn/{IDTCCLPD.js → JKGMH4J5.js} +2 -2
- package/dist/cdn/{DWLML3AH.js → JN5XM3AT.js} +2 -2
- package/dist/cdn/{3BCMTX5A.js → JRUXKUE3.js} +2 -2
- package/dist/cdn/{6ATB2NEI.js → JZXBOMMZ.js} +1 -1
- package/dist/cdn/{KTABK32D.js → KC24JR4A.js} +2 -2
- package/dist/cdn/{H55NCRTY.js → KDWK7NRY.js} +2 -2
- package/dist/cdn/{PQLAT5KP.js → KERDLSZH.js} +2 -2
- package/dist/cdn/{4REQUGTX.js → KR7ZU66F.js} +2 -2
- package/dist/cdn/KTHJ4VRR.js +4 -0
- package/dist/cdn/{BGNGMZZR.js → LDFEZP62.js} +2 -2
- package/dist/cdn/{TYB33GBX.js → LGYZHAI4.js} +2 -2
- package/dist/cdn/{G2ZE3JDL.js → LN54IQWS.js} +2 -2
- package/dist/cdn/{ELPOHGJW.js → LNTE2YQ6.js} +2 -2
- package/dist/cdn/{XEANXWMN.js → LOKI5I7L.js} +2 -2
- package/dist/cdn/{EXAPAR3S.js → LOLBOPYH.js} +2 -2
- package/dist/cdn/{EVL5ENBM.js → LTSBVHHD.js} +2 -2
- package/dist/cdn/{QI3DTK6Y.js → LW3YV4M2.js} +2 -2
- package/dist/cdn/{FFQ3HGQK.js → LWU5XFP4.js} +2 -2
- package/dist/cdn/{NG46OHWH.js → LXFYLAHF.js} +1 -1
- package/dist/cdn/{LF6IEP2D.js → LXMUEGOO.js} +2 -2
- package/dist/cdn/{4L7ZMWIA.js → LYLKQ45A.js} +1 -1
- package/dist/cdn/{FP7ZWUGT.js → M2L26H4Z.js} +2 -2
- package/dist/cdn/{QE2S7FMO.js → MAFZV4UM.js} +1 -1
- package/dist/cdn/{FX5ZISLR.js → MBF3EUPM.js} +2 -2
- package/dist/cdn/{LG4FCYVC.js → MDL7NF2I.js} +2 -2
- package/dist/cdn/{LV2EHSXJ.js → MIJ52CTW.js} +2 -2
- package/dist/cdn/{65EP7IPW.js → MO5DXYLP.js} +2 -2
- package/dist/cdn/{2BNWBAZJ.js → MSUAXEZP.js} +2 -2
- package/dist/cdn/{NL26TI4R.js → MUZWUHB6.js} +2 -2
- package/dist/cdn/{DQRK65BG.js → MVZNCHUV.js} +2 -2
- package/dist/cdn/{2JFRXKUJ.js → MW5CGGVU.js} +2 -2
- package/dist/cdn/{VIGDHAXV.js → MXOYXNB4.js} +2 -2
- package/dist/cdn/{OLARJ53Z.js → NAV7MYUI.js} +2 -2
- package/dist/cdn/{3G7RVBUA.js → NBT5QLPO.js} +2 -2
- package/dist/cdn/{KB26CFS5.js → NBTALLIF.js} +1 -1
- package/dist/cdn/{DK35UKU7.js → NBW47T6S.js} +1 -1
- package/dist/cdn/{TFCCDEFO.js → NGDFUBVG.js} +2 -2
- package/dist/cdn/{OY6K2PSA.js → NKGKBATM.js} +2 -2
- package/dist/cdn/{5LFFKDSV.js → NSRTVCII.js} +2 -2
- package/dist/cdn/{WNXJPQ3P.js → NV3PO22N.js} +2 -2
- package/dist/cdn/{BFJ3MBJ3.js → O3VQFZ3Z.js} +2 -2
- package/dist/cdn/{TO563LCJ.js → O4MSW7YU.js} +2 -2
- package/dist/cdn/{G5J7AYET.js → ODOM2KDI.js} +1 -1
- package/dist/cdn/{NHLAFRCY.js → OL34ZYRL.js} +2 -2
- package/dist/cdn/{AIECUGLA.js → OOPF4GJM.js} +2 -2
- package/dist/cdn/{JMYTSZCC.js → OR63XKHD.js} +2 -2
- package/dist/cdn/{ZA4AREPP.js → OSKD73JO.js} +2 -2
- package/dist/cdn/OSPMSWIL.js +4 -0
- package/dist/cdn/{SL7A3O2M.js → OY53JN5E.js} +2 -2
- package/dist/cdn/{J6ZDDC7T.js → OYZGMLSA.js} +2 -2
- package/dist/cdn/{ZY4JIOV6.js → P7LLQPML.js} +2 -2
- package/dist/cdn/{RKPQ6P4K.js → PCMVKKEJ.js} +2 -2
- package/dist/cdn/{ENYF3KSA.js → PI7FQ7L6.js} +2 -2
- package/dist/cdn/{6LZA3IU7.js → PKCH4S3D.js} +1 -1
- package/dist/cdn/{TOSZWSLH.js → PODGSK2R.js} +2 -2
- package/dist/cdn/{GE4IM3MX.js → PPRAWJ2S.js} +4 -4
- package/dist/cdn/{4UFKHCT4.js → PR5LDTTA.js} +1 -1
- package/dist/cdn/{YCOUYTAZ.js → PRLO77AT.js} +2 -2
- package/dist/cdn/{XIO74BNK.js → PTROR6FA.js} +2 -2
- package/dist/cdn/{RIUFIUZK.js → Q2PF3RGD.js} +2 -2
- package/dist/cdn/{UYVKGCIC.js → Q5RZXHBC.js} +1 -1
- package/dist/cdn/{YBH5KSXC.js → Q7XKQTSB.js} +2 -2
- package/dist/cdn/{I5ADXZSK.js → QA44KCLS.js} +4 -4
- package/dist/cdn/{I226XVK6.js → QC4PNSX4.js} +1 -1
- package/dist/cdn/{46ZDALTQ.js → QG2MAKZO.js} +2 -2
- package/dist/cdn/{CZG4TQS7.js → QJFIQKTM.js} +2 -2
- package/dist/cdn/{EWNQPSM6.js → QJFO73DP.js} +2 -2
- package/dist/cdn/{B4SZ3AFB.js → QJRRAYAE.js} +2 -2
- package/dist/cdn/{XF3NVRQZ.js → QJSXBPEC.js} +2 -2
- package/dist/cdn/{JI7NN7UZ.js → QKMXHBVJ.js} +2 -2
- package/dist/cdn/{7HBTOAR5.js → QSQJSM3O.js} +2 -2
- package/dist/cdn/{HFFRR5LZ.js → R2D3W4KP.js} +2 -2
- package/dist/cdn/{EDQISJN2.js → R5S6AVJ2.js} +1 -1
- package/dist/cdn/{YJPQ6I7G.js → RC3M6OYO.js} +2 -2
- package/dist/cdn/{5RVCGMJ7.js → RDQHY6XC.js} +2 -2
- package/dist/cdn/{F3LYA4NW.js → RIVQ5IKO.js} +2 -2
- package/dist/cdn/{AL6OH2HL.js → RP3IBJUX.js} +2 -2
- package/dist/cdn/{NH4S2EP6.js → RQSJTZA3.js} +2 -2
- package/dist/cdn/RTKZDB23.js +4 -0
- package/dist/cdn/{E26HA4PU.js → SA7UFUQH.js} +1 -1
- package/dist/cdn/{AUCQU57I.js → SIOIWWJS.js} +2 -2
- package/dist/cdn/{BTIPZNRW.js → SRLF2FFI.js} +2 -2
- package/dist/cdn/{2CDAKBYX.js → SRRYBFQR.js} +2 -2
- package/dist/cdn/{RGWP6ZGP.js → SWSTQ6IK.js} +2 -2
- package/dist/cdn/{5QS55J2V.js → SXCMOFR2.js} +2 -2
- package/dist/cdn/{2V52VLFJ.js → SXDHIKYQ.js} +2 -2
- package/dist/cdn/{7TQGZSOS.js → SZ4MNX2Y.js} +2 -2
- package/dist/cdn/T2YBAYAQ.js +4 -0
- package/dist/cdn/{T2ZH3NKY.js → TEXTVYR5.js} +2 -2
- package/dist/cdn/{BPUJQWHO.js → TGCFM7NB.js} +2 -2
- package/dist/cdn/{XUGHHYWO.js → THCDH2C7.js} +2 -2
- package/dist/cdn/{JNYHCS6W.js → TPVBZJZ3.js} +2 -2
- package/dist/cdn/{GYQWDRLR.js → TQ4AHDWR.js} +2 -2
- package/dist/cdn/{JWYEWEFN.js → TRYF7AHT.js} +2 -2
- package/dist/cdn/{ZUP2X5AU.js → U4IWP4JS.js} +2 -2
- package/dist/cdn/{DYU53Y76.js → U4RWFIG7.js} +2 -2
- package/dist/cdn/U4TVHDBS.js +18 -0
- package/dist/cdn/{5SCFBPOD.js → UB7R344I.js} +2 -2
- package/dist/cdn/{X4YLMHXT.js → UC6BRLFU.js} +2 -2
- package/dist/cdn/{OZ6WFV25.js → UDMGJJ2R.js} +2 -2
- package/dist/cdn/{EMJVLMDF.js → UKMB2MXN.js} +2 -2
- package/dist/cdn/{B54XVRBZ.js → UMHBVDVZ.js} +2 -2
- package/dist/cdn/{B2BJU5HS.js → UN7RXMMP.js} +2 -2
- package/dist/cdn/{3XU5XGKF.js → UNBB5ILE.js} +2 -2
- package/dist/cdn/{WPJ4D5AX.js → UOBW4X3G.js} +2 -2
- package/dist/cdn/{MRQCKP3E.js → UOKZMNT4.js} +2 -2
- package/dist/cdn/{NZVAVQXY.js → UPEGEW7Y.js} +2 -2
- package/dist/cdn/{2J4G54AQ.js → UQMZINRC.js} +2 -2
- package/dist/cdn/UQXXXPST.js +4 -0
- package/dist/cdn/{DELGK4BU.js → UTPRTU5R.js} +2 -2
- package/dist/cdn/UUSA5NAZ.js +4 -0
- package/dist/cdn/{6TRHSJBA.js → UUVWV7UY.js} +2 -2
- package/dist/cdn/{JQSLLFKL.js → UUZDYC3J.js} +2 -2
- package/dist/cdn/{D3AONMYK.js → UWHVRT6G.js} +2 -2
- package/dist/cdn/{U5BYVOCV.js → UXGY5MYQ.js} +2 -2
- package/dist/cdn/{Z263ME6T.js → UXZ5Q6KA.js} +2 -2
- package/dist/cdn/{XOQOHYCH.js → UYHOMAD5.js} +2 -2
- package/dist/cdn/{37LSWZCZ.js → UZMTPRP5.js} +2 -2
- package/dist/cdn/{QRN72H3R.js → V4BMTWGU.js} +2 -2
- package/dist/cdn/{PNOXI4LK.js → V5VD2VNR.js} +2 -2
- package/dist/cdn/{A5NORFQ3.js → VAL2SJOM.js} +2 -2
- package/dist/cdn/{XDMBJPAY.js → VCYRSDYS.js} +2 -2
- package/dist/cdn/{5JGDNIJU.js → VDBTV44L.js} +2 -2
- package/dist/cdn/{PL6BITGI.js → VDO2G3KJ.js} +2 -2
- package/dist/cdn/{NMMNVZIR.js → VDPD373C.js} +2 -2
- package/dist/cdn/{MGYYPLGC.js → VIAYFIIF.js} +2 -2
- package/dist/cdn/{SSUW7XWL.js → VJOMTPB6.js} +2 -2
- package/dist/cdn/{MDMOHF6P.js → VMXZ6QEC.js} +2 -2
- package/dist/cdn/{5OV265N4.js → VOFERCBL.js} +2 -2
- package/dist/cdn/{IOIU2LQ7.js → VON5LFYC.js} +2 -2
- package/dist/cdn/{XW4B55X6.js → VRUSOROS.js} +2 -2
- package/dist/cdn/{V46NQFJY.js → VT6BSI7M.js} +2 -2
- package/dist/cdn/{L4YSSYQH.js → VUDTWZ6S.js} +2 -2
- package/dist/cdn/{KGU6GWRV.js → VXZZHQOR.js} +2 -2
- package/dist/cdn/{RKMHFE6O.js → VYL5GQJJ.js} +2 -2
- package/dist/cdn/{VOYVH7QX.js → W2OWW2KK.js} +2 -2
- package/dist/cdn/{LFR22E5T.js → WBKVVBEW.js} +2 -2
- package/dist/cdn/WCA4MTBT.js +18 -0
- package/dist/cdn/{EO3MW2NL.js → WCEXT5V3.js} +1 -1
- package/dist/cdn/{3WSKTJKP.js → WEE2GK4X.js} +2 -2
- package/dist/cdn/{FCF3N62R.js → WGKEN6KZ.js} +2 -2
- package/dist/cdn/{AGCNKK6G.js → WLVI4UZX.js} +2 -2
- package/dist/cdn/{JXWLSI7W.js → WMISCC5A.js} +2 -2
- package/dist/cdn/{LTCTW5SI.js → WPJSV2F5.js} +1 -1
- package/dist/cdn/{RFLDN7DB.js → WRY74OLQ.js} +2 -2
- package/dist/cdn/{Y7UHPKGK.js → X3JYPDB3.js} +2 -2
- package/dist/cdn/{L3O7A2E6.js → XALSX54V.js} +2 -2
- package/dist/cdn/{F6LLK63V.js → XFFSGMQM.js} +2 -2
- package/dist/cdn/{HQF37WJP.js → XGCOB2WB.js} +2 -2
- package/dist/cdn/{B5LYIFIL.js → XJWO2VWT.js} +2 -2
- package/dist/cdn/{DQZV5B4U.js → XKSMKJKC.js} +2 -2
- package/dist/cdn/{GKB3OPCC.js → XOFA6EHO.js} +1 -1
- package/dist/cdn/{KGOYOPYR.js → XZJXTTWM.js} +2 -2
- package/dist/cdn/{W4GLLZOA.js → Y3LUWNH6.js} +2 -2
- package/dist/cdn/{2BCLZ6CT.js → Y3PZZL73.js} +2 -2
- package/dist/cdn/{B6Z3B7WO.js → Y55AAFJG.js} +2 -2
- package/dist/cdn/{FUYZJXZ3.js → Y6UXZU6F.js} +2 -2
- package/dist/cdn/{AEIXUSBT.js → YGPLVBPY.js} +2 -2
- package/dist/cdn/{TLOJATEQ.js → YKXQPUZE.js} +2 -2
- package/dist/cdn/{4GP2UQG2.js → YPTLSCLI.js} +2 -2
- package/dist/cdn/{XOYKKKBX.js → YQKRAZFZ.js} +2 -2
- package/dist/cdn/{7PZ4UBDR.js → YSP7FBQ7.js} +1 -1
- package/dist/cdn/{EQIDO6DW.js → YVUWCUQ5.js} +2 -2
- package/dist/cdn/{KLEDYY4Y.js → ZF7EIUJK.js} +1 -1
- package/dist/cdn/{YGCKDVK6.js → ZJDQWSA7.js} +2 -2
- package/dist/cdn/{35KT5J6L.js → ZSJ6IAKN.js} +2 -2
- package/dist/cdn/{VT24NQ3G.js → ZWHWHHWW.js} +2 -2
- package/dist/cdn/{GFVWUN5D.js → ZZ4AZSZG.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +4 -3
- package/dist/components/map-card/customElement.js +4 -3
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/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 +2 -2
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +11 -14
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +39 -38
- package/dist/components/solutions-deploy-app-nav/customElement.js +9 -9
- 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-searchsort-toolbar/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +14 -11
- package/dist/docs/docs.json +11 -20
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +3 -13
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +0 -1
- package/dist/types/preact.d.ts +0 -1
- package/dist/types/preact10.d.ts +0 -1
- package/dist/types/react.d.ts +0 -1
- package/dist/types/stencil.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cdn/26A7IUMW.js +0 -18
- package/dist/cdn/3NDVWJHY.js +0 -18
- package/dist/cdn/BUV3Z6DV.js +0 -4
- package/dist/cdn/FUUJFLHK.js +0 -4
- package/dist/cdn/GKFQSVNR.js +0 -18
- package/dist/cdn/HF7PHNIQ.js +0 -18
- package/dist/cdn/HXU762XJ.js +0 -4
- package/dist/cdn/KM72PDVP.js +0 -4
- package/dist/cdn/NLD43RT5.js +0 -4
- package/dist/cdn/OYNCPS5E.js +0 -4
- package/dist/cdn/RHRIOV47.js +0 -18
- package/dist/cdn/S6UDZKPG.js +0 -4
- package/dist/cdn/T5UO2UPO.js +0 -18
- package/dist/cdn/TC4NP6KF.js +0 -4
- package/dist/cdn/VHUAYRQ7.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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import c from"./VSI5R4LM.js";import b from"./ZA4AREPP.js";import"./PQLAT5KP.js";import a from"./2J4G54AQ.js";import{a as K}from"./7Q36435D.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./3KQWJHJU.js";import{b as Ie}from"./KM72PDVP.js";import"./AUCQU57I.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./YGBNP67C.js";import{b as lt,d as ct}from"./4UFKHCT4.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},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,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.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(a.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:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=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&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.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=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=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:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=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},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={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>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<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=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=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)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),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?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@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{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 .esri-legend__layer-caption calcite-action{margin-right:5px}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,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{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=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(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 this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.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:this.intl.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 this.intl.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 c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(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(Y(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 c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(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)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,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(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .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,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .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,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</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)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import c from"./AQYGK2BV.js";import b from"./OSKD73JO.js";import"./KERDLSZH.js";import a from"./UQMZINRC.js";import{a as K}from"./54DZZUSQ.js";import{C as Te,E as Fe,c as ze,z as Pe}from"./HYIFXLL5.js";import{b as Ie}from"./GKH6SK5J.js";import"./SIOIWWJS.js";import{D as Ee,E as Se,G as w,H as E,h as ke,i as L,j as ue,l as ce,r as Re}from"./C3RJP556.js";import{b as lt,d as ct}from"./PR5LDTTA.js";export default $arcgis.t(([,{a:B,b:W},{a:Me,b:oe,d:Ue,e:He,f:he,g:Be,i:De,o:de,s:qe,t:Y,u:me,v:We,w:Ge}])=>{var Ke=lt((fe,Je)=>{(function(b,t){typeof fe=="object"&&typeof Je<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),c="".concat(t,"1999/xlink"),n=[],r=function(e,i){var a={};return Object.keys(e).forEach(function(l){a[l]=e[l]}),i&&Object.keys(i).forEach(function(l){a[l]=i[l]}),a},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,a){if(i.vnodeSelector!==""){for(var l=a;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,a,l){var p=e[i];if(p.vnodeSelector!==""){var o=p.properties,A=o?o.key===void 0?o.bind:o.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(a.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:a,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},I=function(){C=!1,x.forEach(S),x.length=0},z=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},R=function(e){var i=e.domNode;if(e.properties){var a=e.properties.exitAnimation;if(a){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),z(e))};a(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),z(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,a){if(i)for(var l=a.eventHandlerInterceptor,p=Object.keys(i).filter(D),o=p.length,A=0;A<o;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(h(O),a.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ne=0,re=Object.entries(i.on);ne<re.length;ne++){var se=re[ne],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):a.namespace===s?f==="href"?e.setAttributeNS(c,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,a){if(i)for(var l=0,p=i;l<p.length;l++){var o=p[l];F(o,e,void 0,a)}},H=function(e,i,a){Q(e,i.children,a),i.text&&(e.textContent=i.text),ee(e,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,a,i.vnodeSelector,i.properties,i.children])},F=function(e,i,a,l){var p,o,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(o=e.domNode=d.createTextNode(e.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?o.classList.add(m):y==="#"?o.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?o=e.domNode=d.createElementNS(l.namespace,m):(o=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&&o.setAttribute("type",e.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),A=v+1}}H(o,e,l)}},G,te=function(e,i,a){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,a)})},pe=function(e,i,a,l){if(a){for(var p=!1,o=Object.keys(a).filter(D),A=o.length,f=0;f<A;f++){var d=o[f],v=a[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ne=!!k[J];O!==ne&&(p=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(p=!0,q?(h(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(p=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(c,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Ne=function(e,i,a,l,p){if(a===l)return!1;a=a||n,l=l||n;for(var o=a.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<o?a[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))k=G(y,m,p,i,a)||k,f++;else{var U=_(a,m,f+1);if(U>=0){for(v=f;v<U;v++)R(a[v]),$(a,v,e,"removed");k=G(a[U],m,p,i,a)||k,f=U+1}else F(m,i,f<o?a[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(o>f)for(v=f;v<o;v++)R(a[v]),$(a,v,e,"removed");return k};G=function(e,i,a,l,p){var o=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=o.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,o)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=r(a,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,f=Ne(i,o,e.children,i.children,a)||f,f=pe(o,e.properties,i.properties,a)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(a){if(e.vnodeSelector!==a.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=a,G(l,a,i,l.domNode.parentNode,[l])},domNode:e.domNode}},je={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,a){i.charAt(0)==="-"?e.style.setProperty(i,a):e.style[i]=a}},Z=function(e){return r(je,e)},ae={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,a){return a=Z(a),F(i,e,void 0,a),ie(i,a)},insertBefore:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),ie(i,a)},merge:function(e,i,a){return a=Z(a),i.domNode=e,H(e,i,a),ie(i,a)},replace:function(e,i,a){return a=Z(a),F(i,e.parentNode,e,a),e.parentNode.removeChild(e),ie(i,a)}},Ve=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,a){for(var l=0,p=i.length;l<p;l++){var o=i[l];Array.isArray(o)?xe(e,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=Ve(o)),a.push(o))}};function et(e,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return a&&a.length===1&&typeof a[0]=="string"?l=a[0]:a&&(p=[],xe(e,a,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var tt=function(e,i){for(var a=[];e&&e!==i;)a.push(e),e=e.parentNode;return a},ge;Array.prototype.find?ge=function(e,i){return e.find(i)}:ge=function(e,i){return e.filter(i)[0]};var it=function(e,i){var a=e;return i.forEach(function(l){a=a&&a.children?ge(a.children,function(p){return p.domNode===l}):void 0}),a},at=function(e,i,a){return function(p,o,A,f){return l};function l(p){var o,A;a("domEvent",p);var f=i(),d=tt(p.currentTarget,f.domNode);d.reverse();var v=it(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(o=v.properties["on".concat(p.type)])!==null&&o!==void 0?o:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];k=y.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",p),k}},nt=function(e){var i,a=Z(e),l=a.performanceLogger,p=!0,o,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};a.eventHandlerInterceptor=at(i,J,l),T=y(m,U(),a),f.push(T),d.push(U)},k=function(){if(o=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:k,scheduleRender:function(){!o&&!A&&(o=requestAnimationFrame(k))},stop:function(){o&&(cancelAnimationFrame(o),o=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},rt=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(a,l){if(e)for(var p=0;p<a.length;p++)e[p]!==a[p]&&(i=void 0);return i||(i=l(),e=a),i}}},st=function(e,i,a){var l=[],p=[];return{results:p,map:function(o){for(var A=o.map(e),f=p.slice(),d=0,v=0;v<o.length;v++){var k=o[v],y=A[v];if(y===l[d])p[v]=f[d],a(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){p[v]=f[T],a(o[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(k,v))}}p.length=o.length,l=A}}};b.createCache=rt,b.createMapping=st,b.createProjector=nt,b.dom=ae,b.h=et}))});var Qe=ct(Ke(),1);var ot=96;function V(b){return b?b/72*ot:0}var dt=(0,Qe.createProjector)(),Ze=10,_e=20,ve=10,Le=20,Ae={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>${ue`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ue`<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=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Oe(b,t,s="vertical",c){b.infos.forEach((n,r)=>{if(c&&r===2)n.preview=vt(t,s);else{let{size:u}=n,h=V(u)+(s==="horizontal"?Le:ve),_=n.preview.tagName.toLowerCase()==="div",$=_?n.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(n.preview),n.preview=$}})}function Xe(b,t="classic"){let s=b.infos,c=s[0].size,n=s[s.length-1].size;return t==="classic"?(V(c)+ve)/2:(V(c)-V(n))/2}function ye(b,t,s){if(!b)return null;let c=b.infos.map(r=>r.color),n=t.renderColorRampPreviewHTML(s.type==="full"?c:s.type==="above"?c.slice(0,3):c.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return n.className=Ae.colorRamp,s.opacity!=null&&(n.style.opacity=s.opacity.toString()),n}function pt(b,t,s,c="vertical"){let n=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)n+=c==="horizontal"?Ze:_e;else{let P=r[$].size,x=V(P)+(c==="horizontal"?Le:ve);n+=x}return Math.round(n)}function $e(b,t,s,c="vertical"){let n=pt(b,t,s,c),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?c==="vertical"?_e:Ze:0,x=c==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(n-(V($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let c=b.infos,n=c.find(({type:u})=>u==="size-ramp"),r=c.find(({type:u})=>u==="color-ramp");return n&&(n={...n},n.infos=[...n.infos],Oe(n,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(n?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:n,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,c=s.find(({type:r})=>r==="size-ramp"),n=s.find(({type:r})=>r==="color-ramp");return c&&(c={...c},c.infos=[...c.infos],Oe(c,null,t,!1)),n&&(n={...n},n.infos=[...n.infos]),t==="horizontal"&&(c?.infos.reverse(),n?.infos.reverse()),{sizeRampElement:c,colorRampElement:n}}function ht(b,t){return!0}var mt=ke`@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{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 .esri-legend__layer-caption calcite-action{margin-right:5px}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,Ye={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Se{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=Re}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Te(),Pe()]),c=await Fe();this.reactiveUtils=s,this.intl=t,this.symbolUtils=c}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&We(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 this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let c=s?.allLayers?.map(async h=>await h.load()),n=(await Promise.allSettled(c)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];n.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await oe(this.legendvm,this.reactiveUtils);W.set("data",{...B.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:this.intl.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 this.intl.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 c=null;if(s){let r=t;c=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;c=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let n=c==="showField"?"{field}":typeof c=="string"?this.messages[c]:"";return c?this.intl?.substitute(n,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(n=>n?.type==="feature"),s=[];for(let n of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(n));let c=[];try{c=await Promise.all(s)}catch(n){console.error(n)}for(let n of c){let r=`fLayerViewScale-${n.layer.id}`;!this.handles?.has(r)&&n&&this.handles?.add(n.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(n.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(n=>{let r=`fLayer-${n?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>n?.visible,()=>{this.createDataForLayer(n).catch(u=>{console.error(u)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",n=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>n.children,"change",()=>{oe(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(n=>{W.set("data",{...B.data,...n}),this.calculatingFeatureCount=!1}).catch(n=>{console.error(n)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],c=Ge(this.legendvm?.activeLayerInfos)?.find(n=>n?.layer?.id===t?.id);if(!s&&c){let n=await Me(this.legendvm,c,this.reactiveUtils);if(me({intLegendLayerData:n,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,c,n){return async()=>{let r={...B.data?.[s?.id]};n?await he(r,t,c,this.filterMode,n):await he(r,t,c,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${g.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(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(Y(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 c=t.legendElements;if(c&&!c.length)return null;let n=c.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return n.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(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)}>${n}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,c,n,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=De(n,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,c,P,t,n,r,D,C,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(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${n} .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,c)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,c)}if(!x)return null;let I=t.title,z=null;if(typeof I=="string")z=I;else if(I){let R=I,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in I&&(z=`${I.title} (${M})`):z=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${n} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${z} .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,c){let{sizeRampElement:n,colorRampElement:r}=gt(t,s);if(!n)return null;let u=$e(n,"above",!0),h=$e(n,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:c}),P=ye(r,this.symbolUtils,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:c}),x=Xe(n),C=n.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),I=C.length-1,z=Math.floor(C.length/2),R=C.map((H,F)=>F===z||F===I?L`<div class=${w(H?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${u}px`},Q={height:`${h}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map((H,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,c){let{sizeRampElement:n,colorRampElement:r}=ut(t);if(!n)return null;let u=Xe(n),h=12,_=$e(n,"full",!1),$=ye(r,this.symbolUtils,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:c}),P=n.infos.length-1,x=n.infos.map((z,R)=>R===0||R===P?L`<div class=${w(z.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${z.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${u}px`},I={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Ye)}><div class=${w(g.layerBody)}>${n.infos.map(z=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(C)} .innerHTML=${z?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(g.rampLabelsContainer)} style=${E(I)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let c=t.infos,n=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=n?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=c.map(C=>{let S;if(r){let I=this.messages[C.label];S=typeof I=="string"?I:C.label}else u?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?g.rampLabel:"")}>${S}</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)} ${Ee(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,c,n,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,c,u,h,!0,t);let x=null,C=!ht(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",I=n?` ${g.sizeRamp}`:"",z,R=He(s),M=qe(R,P);if(B.data){let G=Ue(R,s,t,M,_),te=M?M?.nestedInfos:R,pe=Be(te);z=R?.categories?.size===1?!G?.selected:pe||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${z?` ${g.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??ce} .ariaPressed=${z?"true":"false"}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!z} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${S}${I}`}>${x}</div><div class=${`${g.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,c){let{label:n,src:r,opacity:u}=t,h=c?` ${g.imageryLayerStretchedImage}`:"",_=c?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(n,!1)??ce} src=${r??ce} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Ie("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import"./PR5LDTTA.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V 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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
3
|
+
v1.1.2 */
|
|
4
4
|
var E=typeof window<"u",l={Promise:E?window.Promise:void 0},m="4.25",u="next";function p(r){if(r.toLowerCase()===u)return u;var e=r&&r.match(/^(\d)\.(\d+)/);return e&&{major:parseInt(e[1],10),minor:parseInt(e[2],10)}}function w(r){return r===void 0&&(r=m),"https://js.arcgis.com/".concat(r,"/")}function g(r){r===void 0&&(r=m);var e=w(r),t=p(r);if(t!==u&&t.major===3){var n=t.minor<=10?"js/":"";return"".concat(e).concat(n,"esri/css/esri.css")}else return"".concat(e,"esri/themes/light/main.css")}function A(r){var e=document.createElement("link");return e.rel="stylesheet",e.href=r,e}function P(r,e){if(e){var t=document.querySelector(e);t.parentNode.insertBefore(r,t)}else document.head.appendChild(r)}function S(r){return document.querySelector('link[href*="'.concat(r,'"]'))}function q(r){return!r||p(r)?g(r):r}function I(r,e){var t=q(r),n=S(t);return n||(n=A(t),P(n,e)),n}var L={};function b(r){var e=document.createElement("script");return e.type="text/javascript",e.src=r,e.setAttribute("data-esri-loader","loading"),e}function f(r,e,t){var n;t&&(n=j(r,t));var o=function(){e(r),r.removeEventListener("load",o,!1),n&&r.removeEventListener("error",n,!1)};r.addEventListener("load",o,!1)}function j(r,e){var t=function(n){e(n.error||new Error("There was an error attempting to load ".concat(r.src))),r.removeEventListener("error",t,!1)};return r.addEventListener("error",t,!1),t}function h(){return document.querySelector("script[data-esri-loader]")}function s(){var r=window.require;return r&&r.on}function C(r){r===void 0&&(r={});var e={};[L,r].forEach(function(o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])});var t=e.version,n=e.url||w(t);return new l.Promise(function(o,i){var a=h();if(a){var d=a.getAttribute("src");d!==n?i(new Error("The ArcGIS API for JavaScript is already loaded (".concat(d,")."))):s()?o(a):f(a,o,i)}else if(s())i(new Error("The ArcGIS API for JavaScript is already loaded."));else{var c=e.css;if(c){var y=c===!0;I(y?t:c,e.insertCssBefore)}a=b(n),f(a,function(){a.setAttribute("data-esri-loader","loaded"),o(a)},i),document.body.appendChild(a)}})}function v(r){return new l.Promise(function(e,t){var n=window.require.on("error",t);window.require(r,function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.remove(),e(o)})})}function T(r,e){if(e===void 0&&(e={}),s())return v(r);var t=h(),n=t&&t.getAttribute("src");return!e.url&&n&&(e.url=n),C(e).then(function(){return v(r)})}var k=async(r,e)=>(await T(r,e)).map(t=>t.__esModule&&t.default?t.default:t);export{T as a,k as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
3
|
+
v1.1.2 */
|
|
4
4
|
var i=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{i 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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import"./PR5LDTTA.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j 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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import{a as u}from"./YSP7FBQ7.js";import{a as m}from"./4CQTDBOU.js";import{b as d}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{E as p,G as n,g as c,h as r,i as e,o as h}from"./C3RJP556.js";import"./PR5LDTTA.js";function f(s){return s==null||typeof s!="function"?null:new s({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0)}function g(s){window?.localStorage.setItem(s,"false")}function b(s){return!!window?.localStorage?.getItem(s)}function _(s){window?.localStorage?.removeItem(s)}var x=r`:host{--instant-apps-splash-content-max-height: 100%;--instant-apps-splash-back-content-display: flex;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:var(--instant-apps-splash-back-content-display);align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom: 0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}:host .instant-apps-splash__confirmation-tooltip{display:inline-block;max-width:200px;word-wrap:break-word}:host .instant-apps-splash__required{display:inline-block;margin-inline-start:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}:host .instant-apps-splash__footer{width:100%;display:flex;justify-content:space-between}:host .instant-apps-splash__button-container{display:flex}:host .instant-apps-splash__button-container calcite-button:not(:last-child){margin-inline-end:var(--calcite-spacing-sm)}@media (max-width: 816px){:host .instant-apps-splash__footer{justify-content:flex-start;flex-direction:column}:host .instant-apps-splash__back-content{margin-bottom:var(--calcite-spacing-sm)}:host .instant-apps-splash__back-content span{display:flex;align-items:center}:host .instant-apps-splash__button-container{width:100%;gap:var(--calcite-spacing-sm);justify-content:space-between}:host .instant-apps-splash__button-container calcite-button:not(:last-child){margin-inline-end:0}:host .instant-apps-splash__button-container>*{flex:1 1 0;min-width:0}}`,a={back:"instant-apps-splash__back-content",confirmationTooltip:"instant-apps-splash__confirmation-tooltip",requiredText:"instant-apps-splash__required",footer:"instant-apps-splash__footer",buttonContainer:"instant-apps-splash__button-container"},l=class extends p{constructor(){super(...arguments),this._messages=m({name:"instant-apps-splash"}),this._sanitizer=f(u),this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.closeBehavior="permanent-dismissal",this.confirmationText="",this.isConfirmed=!1,this.splashClose=h()}static{this.properties={localStorageKey:1,titleText:1,content:1,primaryButtonText:1,open:5,closeButtonDisabled:5,outsideCloseDisabled:5,secondaryButton:5,secondaryButtonText:1,secondaryButtonIcon:1,secondaryButtonCallback:0,closeBehavior:1,confirmationText:1,isConfirmed:32}}static{this.styles=x}load(){let t;if(this.closeBehavior==="confirmation"||this.closeBehavior==="dismissal")t=!0;else{let{localStorageKey:i}=this;i?t=this.open&&!b(i):t=this.open}this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}willUpdate(t){t.has("content")&&this.sanitizeContent()}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}close(){this.open=!1,this.splashClose.emit()}getCheckboxText(){return this.closeBehavior==="confirmation"?this.confirmationText?this.confirmationText:`${this._messages.confirmationText}`:this._messages?.dontShowThisAgain}handleDontShowThisAgain(t){if(this.closeBehavior==="confirmation"){let i=t.target,{checked:o}=i;c(()=>{this.isConfirmed=o})}else if(this.closeBehavior==="permanent-dismissal"){let{localStorageKey:i}=this;if(!i)return;let o=t.target,{checked:y}=o;y?g(i):_(i)}}render(){return e`<calcite-dialog .open=${this.open} .focusTrapOptions=${{allowOutsideClick:!0}} modal .heading=${this.titleText} aria-describedby=description @calciteDialogClose=${this.close} .closeDisabled=${this.closeBehavior==="confirmation"||this.closeButtonDisabled} .outsideCloseDisabled=${this.closeBehavior==="confirmation"||this.outsideCloseDisabled} .escapeDisabled=${this.closeBehavior==="confirmation"}><div id=description .innerHTML=${this.content??""}></div><slot name=custom-action></slot><div class=${n(a.footer)} slot=footer>${this.localStorageKey&&this.closeBehavior==="permanent-dismissal"||this.closeBehavior==="confirmation"?this.renderCheckbox():null}<div class=${n(a.buttonContainer)}>${this.secondaryButton?this.renderSecondaryButton():null}${this.renderPrimaryButton()}</div>${this.closeBehavior==="confirmation"&&!this.isConfirmed&&e`<calcite-tooltip reference-element=primary-button overlay-positioning=fixed placement=top><span class=${n(a.confirmationTooltip)}>${this._messages?.confirmationTooltip}</span></calcite-tooltip>`||""}</div></calcite-dialog>`}renderCheckbox(){let{localStorageKey:t}=this,i=this.closeBehavior!=="confirmation"&&t&&b(t)?!0:null;return e`<div class=${n(a.back)}><calcite-label layout=inline><calcite-checkbox @calciteCheckboxChange=${this.handleDontShowThisAgain} .checked=${i??void 0}></calcite-checkbox><span>${this.getCheckboxText()}<span class=${n(a.requiredText)}>${this.closeBehavior==="confirmation"&&`(${this._messages?.required})`||""}</span></span></calcite-label></div>`}renderPrimaryButton(){let{primaryButtonText:t}=this;return e`<calcite-button id=primary-button @click=${this.close} slot=footer-end .disabled=${this.closeBehavior==="confirmation"?!this.isConfirmed:!1}>${t||this._messages?.enter}</calcite-button>`}renderSecondaryButton(){return e`<calcite-button @click=${this.secondaryButtonCallback} slot=footer-end .iconStart=${this.secondaryButtonIcon} appearance=outline .disabled=${this.closeBehavior==="confirmation"?!this.isConfirmed:!1}>${this.secondaryButtonText}</calcite-button>`}};d("instant-apps-splash",l);export{l as InstantAppsSplash};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import c from"./EGOHOQ75.js";import a from"./52W3R4RL.js";import{J as I,lb as b,mb as P,q as A}from"./NGDFUBVG.js";import{g as p}from"./LXFYLAHF.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import"./PR5LDTTA.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import{a as s}from"./U4IWP4JS.js";import"./2SPXLWJO.js";import"./2Z3MNBH3.js";import"./NBTALLIF.js";import"./KC24JR4A.js";import"./PKCH4S3D.js";import"./QC4PNSX4.js";import"./G2Z7STGZ.js";import"./A2YLMAEB.js";import"./W2OWW2KK.js";import"./6UG5WDWV.js";import"./JRUXKUE3.js";import"./YGPLVBPY.js";import"./7MU53L6J.js";import"./TPVBZJZ3.js";import"./Y55AAFJG.js";import"./Q2PF3RGD.js";import"./46CVQ75Q.js";import"./AUZAHXSQ.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./3Q67Q7SB.js";import"./PR5LDTTA.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.
|
|
4
|
-
import{a as c,b as n,c as y}from"./
|
|
3
|
+
v1.1.2 */
|
|
4
|
+
import{a as c,b as n,c as y}from"./FHWM6U56.js";import{b as d}from"./RIVQ5IKO.js";import{C as a,D as s,E as m,h as u,i as t,o as p}from"./C3RJP556.js";import"./PR5LDTTA.js";var h=u`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|