@esri/solutions-components 1.1.0-next.20250818 → 1.1.0-next.20250819
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/{BBOFQYSI.js → 24BDVPNH.js} +2 -2
- package/dist/cdn/{SIUTUIBK.js → 2CEVCB6G.js} +2 -2
- package/dist/cdn/{KVGTI5QA.js → 2KLVK3DF.js} +2 -2
- package/dist/cdn/{F4ZZRUWR.js → 2NX64ETW.js} +2 -2
- package/dist/cdn/{INBZA4PD.js → 2PX7QCE5.js} +2 -2
- package/dist/cdn/{YL66GN2Y.js → 2QN6VCK5.js} +2 -2
- package/dist/cdn/{PCYKZD5L.js → 2XM25TAX.js} +2 -2
- package/dist/cdn/{ADH4AX7Q.js → 34E2LY63.js} +2 -2
- package/dist/cdn/{SPI5UOFW.js → 3HMTTM32.js} +2 -2
- package/dist/cdn/{FD4NI5CR.js → 3KRR3EWC.js} +2 -2
- package/dist/cdn/{KX7NEVCY.js → 3NDKI6NH.js} +2 -2
- package/dist/cdn/{BNC6L2YK.js → 3OHVOUJI.js} +2 -2
- package/dist/cdn/3R27T5NF.js +4 -0
- package/dist/cdn/{67EYEWRI.js → 3T3QPZTS.js} +1 -1
- package/dist/cdn/{62UEKGMB.js → 3VJ2UAF3.js} +2 -2
- package/dist/cdn/{AWSF3FLP.js → 3Z752QPI.js} +2 -2
- package/dist/cdn/{DUGVJ3DH.js → 3ZSBXV3T.js} +2 -2
- package/dist/cdn/{U3JJMI52.js → 4ACHVJAT.js} +2 -2
- package/dist/cdn/{C5VCROIZ.js → 4BBJTWZM.js} +2 -2
- package/dist/cdn/{PCNVSKMW.js → 4NXWAPLL.js} +2 -2
- package/dist/cdn/{DT6EEEKP.js → 4RPS5OUS.js} +2 -2
- package/dist/cdn/4TAO7CZ6.js +18 -0
- package/dist/cdn/{HH54FB6Q.js → 4VMTPD3X.js} +2 -2
- package/dist/cdn/{OISZDHT5.js → 4XQLIJVE.js} +2 -2
- package/dist/cdn/{4Y3ESBVN.js → 4XY265GH.js} +2 -2
- package/dist/cdn/{FPZJX6ZR.js → 52DTSHHU.js} +3 -3
- package/dist/cdn/56HI5OZX.js +4 -0
- package/dist/cdn/{GV4WSWWJ.js → 57MRFRBK.js} +1 -1
- package/dist/cdn/{WLTGE5IP.js → 5GSANUEI.js} +2 -2
- package/dist/cdn/{D3RNWLZZ.js → 5PAFS5IG.js} +2 -2
- package/dist/cdn/5U4JK67I.js +4 -0
- package/dist/cdn/{GMSO7XSN.js → 5UQVMELP.js} +2 -2
- package/dist/cdn/{KD7R6SE5.js → 654EUDXI.js} +2 -2
- package/dist/cdn/{RPEKDGLF.js → 65YWJHM4.js} +2 -2
- package/dist/cdn/{XBSJRLOR.js → 67XBBPRO.js} +1 -1
- package/dist/cdn/{X5W7YYAG.js → 6I65R44J.js} +1 -1
- package/dist/cdn/{WFIE3NVJ.js → 6LCQVOOF.js} +2 -2
- package/dist/cdn/{LMSKXNKA.js → 6LX6EBYJ.js} +2 -2
- package/dist/cdn/{4UE66F3J.js → 6U3K5YN7.js} +2 -2
- package/dist/cdn/{ME3AJWAA.js → 6VYGTDV4.js} +2 -2
- package/dist/cdn/{UYNFGAMY.js → 72XFI4RT.js} +2 -2
- package/dist/cdn/{INGTJOFW.js → 742IZCHX.js} +2 -2
- package/dist/cdn/{M5UQNDPQ.js → 7BTFQ7GB.js} +2 -2
- package/dist/cdn/{YIGNOL2J.js → 7DM3LKUS.js} +2 -2
- package/dist/cdn/{UZNINYDJ.js → 7MLPJTWX.js} +2 -2
- package/dist/cdn/{6CFB563X.js → 7MM6S4IL.js} +1 -1
- package/dist/cdn/7QS77URH.js +18 -0
- package/dist/cdn/{UPWRM3QA.js → 7XCWJLB2.js} +2 -2
- package/dist/cdn/{IZUBTNJH.js → 7XT6DNUL.js} +1 -1
- package/dist/cdn/{BA3EUAIL.js → A3O6JMNA.js} +2 -2
- package/dist/cdn/A6AHNC5I.js +4 -0
- package/dist/cdn/{TDRPNFQG.js → A76UWUIW.js} +2 -2
- package/dist/cdn/{SDHMDRBG.js → ACRCQUQS.js} +2 -2
- package/dist/cdn/{TYEXQ25P.js → AFKXBLKS.js} +2 -2
- package/dist/cdn/{2B2N2WJX.js → AMXYZ4OK.js} +1 -1
- package/dist/cdn/{SGWTQLXQ.js → ANCO2LXL.js} +2 -2
- package/dist/cdn/{QLQ5MXCS.js → ANEQF73J.js} +2 -2
- package/dist/cdn/ATSKQV75.js +4 -0
- package/dist/cdn/{ISECMQZA.js → AXWVCHHB.js} +2 -2
- package/dist/cdn/{62NOWEZE.js → AY5CM33Y.js} +2 -2
- package/dist/cdn/{TX4YE4H7.js → BBAR5XKN.js} +2 -2
- package/dist/cdn/{DUBPN4RS.js → BCPDYBW6.js} +2 -2
- package/dist/cdn/{Y5VRLGRE.js → BG6GLWG2.js} +1 -1
- package/dist/cdn/{DL6IDDDM.js → BGANBCPS.js} +2 -2
- package/dist/cdn/{PHXMOTDV.js → BHNIWP2D.js} +1 -1
- package/dist/cdn/{YRUUAQCT.js → BKO27JVX.js} +2 -2
- package/dist/cdn/{PEH22CAL.js → BLDAOYIG.js} +2 -2
- package/dist/cdn/{HZIODVWR.js → BOKOWFEO.js} +2 -2
- package/dist/cdn/{LPI2REVF.js → BXAORZL4.js} +2 -2
- package/dist/cdn/{N3HPXKNC.js → BYDCJ4VZ.js} +1 -1
- package/dist/cdn/{DUNYDQAY.js → C66LGOL3.js} +2 -2
- package/dist/cdn/{MVM4NLH6.js → CLESAR42.js} +2 -2
- package/dist/cdn/{SXU5EP2Q.js → DEAO7LKH.js} +2 -2
- package/dist/cdn/{3WYMKLFQ.js → DIID6F24.js} +2 -2
- package/dist/cdn/{KKHZBUFB.js → DIUE32QA.js} +2 -2
- package/dist/cdn/{BA2GSOLJ.js → DNAHE6B3.js} +2 -2
- package/dist/cdn/{Y2IKSIPY.js → DNE6MITH.js} +2 -2
- package/dist/cdn/{RIVJQEZV.js → DP6MNEO2.js} +2 -2
- package/dist/cdn/{NGSZCEKR.js → DPYO4UNZ.js} +1 -1
- package/dist/cdn/{S3WVR6DZ.js → DWL3QSPA.js} +2 -2
- package/dist/cdn/{BUG336RI.js → E2B4PX5E.js} +2 -2
- package/dist/cdn/{BTE46Y5Q.js → E5O3SDQO.js} +2 -2
- package/dist/cdn/{NTMHPTFP.js → EAGLALAQ.js} +1 -1
- package/dist/cdn/{IYZLWG7W.js → EB2PKDO6.js} +2 -2
- package/dist/cdn/{ZBLOJL6N.js → EFCGDNV5.js} +2 -2
- package/dist/cdn/{QZ7ACKEY.js → EJAPQXFI.js} +2 -2
- package/dist/cdn/{LBW4QNC4.js → EJD4FG7F.js} +2 -2
- package/dist/cdn/{NMPXEPPL.js → ELYCXPDG.js} +2 -2
- package/dist/cdn/{RWMTRFMU.js → EMQCI6RG.js} +2 -2
- package/dist/cdn/{UICHQ5XS.js → F2FAIAU2.js} +2 -2
- package/dist/cdn/{GW5PRU3X.js → F7BRX5TN.js} +2 -2
- package/dist/cdn/{HLAUGMQ2.js → F7EZLC62.js} +2 -2
- package/dist/cdn/{WJPPWAOI.js → FAPGFPOJ.js} +1 -1
- package/dist/cdn/{5BZ3RNAC.js → FKJ74KL2.js} +2 -2
- package/dist/cdn/{COZZW6V3.js → FN2WRV4R.js} +2 -2
- package/dist/cdn/{23TMCFRN.js → FOGK56KV.js} +1 -1
- package/dist/cdn/{AYNLOBV4.js → FPVE7DKQ.js} +2 -2
- package/dist/cdn/{6LNJ4H2K.js → FV5ATVEG.js} +2 -2
- package/dist/cdn/{KUKTXMSX.js → FVXZDOFO.js} +2 -2
- package/dist/cdn/{UYPERMZC.js → FY5UZTY6.js} +1 -1
- package/dist/cdn/{AYTVFDPL.js → FZTZRSVE.js} +3 -3
- package/dist/cdn/{SXJLK5RU.js → GAIWNYWL.js} +2 -2
- package/dist/cdn/{UOEISUZB.js → GE225ZJ6.js} +1 -1
- package/dist/cdn/{NVTUQPZC.js → GGG4CDGN.js} +1 -1
- package/dist/cdn/{O5NQYW4S.js → GK6IMCNG.js} +2 -2
- package/dist/cdn/{ML4IONJI.js → GMCNEOK7.js} +2 -2
- package/dist/cdn/{XX32FBMH.js → GNRZEXFN.js} +2 -2
- package/dist/cdn/{ICW3CQ5K.js → GOISV2LT.js} +2 -2
- package/dist/cdn/{235XLQAM.js → GTUZ7LWY.js} +4 -4
- package/dist/cdn/{WTLEVLOM.js → GUJC76WT.js} +2 -2
- package/dist/cdn/{QX44EA3W.js → GW66TTO2.js} +2 -2
- package/dist/cdn/{OSBOGUD2.js → GX2F4JGM.js} +1 -1
- package/dist/cdn/{R2HQSEAY.js → GX36OVTS.js} +2 -2
- package/dist/cdn/{UIRBSZJJ.js → H465VNWN.js} +2 -2
- package/dist/cdn/{5WWQIU6C.js → H6MJF5YU.js} +2 -2
- package/dist/cdn/{65UAYDBN.js → H6N72YM6.js} +1 -1
- package/dist/cdn/{3G3U5DAY.js → HCN44RZN.js} +2 -2
- package/dist/cdn/{4OFQDJ6A.js → HFIFNLE6.js} +2 -2
- package/dist/cdn/{MARG7OKX.js → HNGEXL62.js} +2 -2
- package/dist/cdn/{X7KJN7BB.js → HUHERRGE.js} +2 -2
- package/dist/cdn/I5HJNSNJ.js +4 -0
- package/dist/cdn/{6Q63AOMU.js → I6W4OLBS.js} +2 -2
- package/dist/cdn/{IQHSSVKC.js → ICENJ546.js} +2 -2
- package/dist/cdn/{5IEZZPUO.js → IGVLUS3C.js} +2 -2
- package/dist/cdn/{RMMB2BCE.js → IJSMSB7D.js} +2 -2
- package/dist/cdn/INHVYJZT.js +4 -0
- package/dist/cdn/{LEYZSHPB.js → INZPC2AB.js} +2 -2
- package/dist/cdn/{JM3ZPWGY.js → IRNQSIXL.js} +2 -2
- package/dist/cdn/{SSKFDLNA.js → IUYH43JJ.js} +2 -2
- package/dist/cdn/{HAWBRFO4.js → IWJ2ZMNS.js} +2 -2
- package/dist/cdn/{V7N4SGEA.js → IXAWNCC5.js} +1 -1
- package/dist/cdn/{ZMGI6JKK.js → J2QF245E.js} +2 -2
- package/dist/cdn/{Q2KYLW44.js → J5ZCK3TK.js} +2 -2
- package/dist/cdn/{CAHIXJAC.js → J76PFNGB.js} +1 -1
- package/dist/cdn/{TXQ5AKTD.js → J7YCPSUF.js} +2 -2
- package/dist/cdn/{QP2GTGLR.js → JHVO3CP7.js} +2 -2
- package/dist/cdn/{GFEGTT65.js → JI2SAYCM.js} +2 -2
- package/dist/cdn/{PEODTGHZ.js → JJPZUFAZ.js} +2 -2
- package/dist/cdn/{R2PG52G4.js → JONOM255.js} +2 -2
- package/dist/cdn/{HJ6GYEOT.js → JQ22K6BZ.js} +2 -2
- package/dist/cdn/{TK2VN4M6.js → JTXFOO3I.js} +2 -2
- package/dist/cdn/{L5VLMTR2.js → K22KBOKY.js} +2 -2
- package/dist/cdn/{2YRCAX6G.js → K2LV3XD3.js} +2 -2
- package/dist/cdn/{FQOP3IHB.js → K2NMCDVM.js} +2 -2
- package/dist/cdn/{CCUURDN3.js → K3YIW6KT.js} +1 -1
- package/dist/cdn/{7QA2XWHF.js → K53OL6JR.js} +2 -2
- package/dist/cdn/{ZGDVZBA6.js → K73ZDL6T.js} +2 -2
- package/dist/cdn/K7ZA3FFC.js +4 -0
- package/dist/cdn/{H2QTIFW6.js → KQECYLAL.js} +2 -2
- package/dist/cdn/{7BASGBL3.js → L2ZBG3JF.js} +2 -2
- package/dist/cdn/{HCY45Z6P.js → L3DBBV2W.js} +2 -2
- package/dist/cdn/{REJEFRE4.js → L4CC4KNJ.js} +2 -2
- package/dist/cdn/{5UGF2RMZ.js → LB3TT43G.js} +2 -2
- package/dist/cdn/{6TDGLMGN.js → LDJYSN5D.js} +2 -2
- package/dist/cdn/{PDK2DEEN.js → LDVZXGKZ.js} +2 -2
- package/dist/cdn/{BD4EMRO4.js → LHFFIZ22.js} +2 -2
- package/dist/cdn/{UQEGIZ4V.js → LJWVIPZW.js} +2 -2
- package/dist/cdn/{AVCRNRY7.js → LKCO6XND.js} +2 -2
- package/dist/cdn/{KKV4AQ4S.js → LLILUCX4.js} +2 -2
- package/dist/cdn/{MMYJSIWO.js → LQACV2LW.js} +1 -1
- package/dist/cdn/{MAW34AAC.js → LXH2SO43.js} +2 -2
- package/dist/cdn/{SE7FWOIT.js → LZQICKVC.js} +2 -2
- package/dist/cdn/{E4ETWC64.js → M6D4LGKQ.js} +2 -2
- package/dist/cdn/{J76MNH4M.js → M7GBGDGE.js} +2 -2
- package/dist/cdn/{DLATCFHU.js → MBUU52CZ.js} +2 -2
- package/dist/cdn/{EVRJVAJE.js → MCGFHROH.js} +2 -2
- package/dist/cdn/{TUZJGYK3.js → MF3OG4VY.js} +2 -2
- package/dist/cdn/{UWUTEATX.js → MK3RPYXC.js} +2 -2
- package/dist/cdn/{4MTMZVF5.js → MQGQPICI.js} +2 -2
- package/dist/cdn/{5SIXJEJI.js → N4BBS2LR.js} +2 -2
- package/dist/cdn/{EQAQHKCK.js → NBAZK6OZ.js} +2 -2
- package/dist/cdn/{LSY2W6B3.js → NJVZY5MD.js} +2 -2
- package/dist/cdn/{Q5LB4FH4.js → NLFYNOUR.js} +2 -2
- package/dist/cdn/{PCWDJAJI.js → NOEXEMV5.js} +2 -2
- package/dist/cdn/{5E4GIVQX.js → NOLFW52G.js} +2 -2
- package/dist/cdn/{LXGML76O.js → NQ6M4LUU.js} +2 -2
- package/dist/cdn/{E6D2PGYQ.js → NTRY3XB6.js} +2 -2
- package/dist/cdn/{SNREOFIS.js → NVHT3Y7W.js} +2 -2
- package/dist/cdn/{I3W5HGYT.js → NYNSAPTM.js} +2 -2
- package/dist/cdn/{W2EHLCS7.js → O2EOV3CJ.js} +2 -2
- package/dist/cdn/{OT5TS4TQ.js → O2IV4JMW.js} +2 -2
- package/dist/cdn/O7BZMNSE.js +4 -0
- package/dist/cdn/{SYDMVCSS.js → ODW4STKJ.js} +2 -2
- package/dist/cdn/{PJG2WCDK.js → OFD6SR37.js} +2 -2
- package/dist/cdn/{UJMBIDYA.js → ONWGDZT5.js} +2 -2
- package/dist/cdn/{3PRN6OLE.js → OO6IJCH4.js} +2 -2
- package/dist/cdn/{JPJYYNWV.js → OPTN3ME6.js} +2 -2
- package/dist/cdn/{BIE43IGH.js → OSCAEMPD.js} +2 -2
- package/dist/cdn/{O3J7UQKM.js → OVJQ6OFH.js} +2 -2
- package/dist/cdn/{VSRZDUZU.js → OYZEM335.js} +1 -1
- package/dist/cdn/{7FPBQA7H.js → PIVVK35A.js} +2 -2
- package/dist/cdn/{WIXP6VK5.js → PR3CDOEP.js} +2 -2
- package/dist/cdn/{FZQAN6YM.js → PXCMVTKZ.js} +2 -2
- package/dist/cdn/{3BVUEJ3Z.js → PXX4HFO5.js} +2 -2
- package/dist/cdn/{Y36ZRJKA.js → QAHIP2GX.js} +2 -2
- package/dist/cdn/{EOXVRJW6.js → QDQOYMUU.js} +2 -2
- package/dist/cdn/{ZHNSAXID.js → QHOELTKY.js} +2 -2
- package/dist/cdn/{JU42ZLID.js → QJCXGJ6L.js} +2 -2
- package/dist/cdn/{I2K4QP6G.js → QPUATAAE.js} +2 -2
- package/dist/cdn/{URRT3KMU.js → QR6CKG42.js} +2 -2
- package/dist/cdn/{CBKG3TN3.js → QRR2NNVK.js} +2 -2
- package/dist/cdn/{2BCOKAO7.js → QY7M2QSI.js} +2 -2
- package/dist/cdn/{N5O6ZEGZ.js → R22QQKTW.js} +2 -2
- package/dist/cdn/{BQOJWWEZ.js → RAKIXVX2.js} +2 -2
- package/dist/cdn/{OY5THM4A.js → RCWLSY6I.js} +2 -2
- package/dist/cdn/{ENUR7R4D.js → RDI63QRY.js} +2 -2
- package/dist/cdn/{TDD3NYSA.js → RHADMR4Z.js} +2 -2
- package/dist/cdn/{CXU36IAR.js → ROYZJIEE.js} +2 -2
- package/dist/cdn/{Z7Q74DHT.js → S6ZH56JW.js} +2 -2
- package/dist/cdn/{2LTH7RJS.js → SA64VJDS.js} +2 -2
- package/dist/cdn/{333HWSMJ.js → SAH5BHRY.js} +1 -1
- package/dist/cdn/{4LE4JATK.js → SDJB7VSM.js} +2 -2
- package/dist/cdn/{OFIZBJGO.js → SE23DFGC.js} +2 -2
- package/dist/cdn/{IYILGYBJ.js → SQEH2DIV.js} +2 -2
- package/dist/cdn/{TBYYM43L.js → SQLK6YCV.js} +1 -1
- package/dist/cdn/{JCLNCFM3.js → SUOAKQEN.js} +2 -2
- package/dist/cdn/{QHOEROKY.js → SX3XDGQ6.js} +2 -2
- package/dist/cdn/{JBJSL4N4.js → SY5E3AVJ.js} +2 -2
- package/dist/cdn/{XLYSANTE.js → T2H7M2DI.js} +2 -2
- package/dist/cdn/{LQ2HAAUQ.js → T7F435GA.js} +2 -2
- package/dist/cdn/{A3WZDLWT.js → TACC72BQ.js} +2 -2
- package/dist/cdn/TAQN3MIW.js +18 -0
- package/dist/cdn/{XRKZLEW4.js → TEUVGOIY.js} +1 -1
- package/dist/cdn/{IGSK5BG4.js → TEXRB7NV.js} +2 -2
- package/dist/cdn/{MM6KIAWC.js → TFCKOEWL.js} +2 -2
- package/dist/cdn/{KIQ7MTLX.js → TGBNBAXL.js} +2 -2
- package/dist/cdn/{4MTWHCFA.js → THBUB5W7.js} +2 -2
- package/dist/cdn/{N3UZMVOV.js → TK77BTJO.js} +2 -2
- package/dist/cdn/TNISXZRI.js +4 -0
- package/dist/cdn/{GOQGQPLA.js → TR4FJOX7.js} +1 -1
- package/dist/cdn/{7S2VPPXW.js → TS7OFSKI.js} +2 -2
- package/dist/cdn/{HYT7WWQL.js → TTGOCUOI.js} +2 -2
- package/dist/cdn/{TSHP6LR6.js → TU2VOXF6.js} +2 -2
- package/dist/cdn/{J6UNPK46.js → TWGXRZ74.js} +2 -2
- package/dist/cdn/{CFFP3TGO.js → TYJ45GML.js} +2 -2
- package/dist/cdn/{SZ4ULADV.js → U24LTB7J.js} +2 -2
- package/dist/cdn/{JAM34U3G.js → U2G7TTSF.js} +1 -1
- package/dist/cdn/{VXJKSC6F.js → U5G7EA6M.js} +2 -2
- package/dist/cdn/{OF6E54NK.js → U63F2JDU.js} +2 -2
- package/dist/cdn/{25UOXMDB.js → U7OHC5AQ.js} +2 -2
- package/dist/cdn/{UUDJYULL.js → UALKPXS3.js} +2 -2
- package/dist/cdn/{QVZSFAEQ.js → UAVULCVS.js} +2 -2
- package/dist/cdn/{KPEP6OST.js → UAXZFV4N.js} +2 -2
- package/dist/cdn/{G6KEW64X.js → UB7PE3AY.js} +2 -2
- package/dist/cdn/{3SPNSK2M.js → UMGOFUDS.js} +2 -2
- package/dist/cdn/{DMXP3IHB.js → UNUUESGY.js} +2 -2
- package/dist/cdn/{6EKR2ASQ.js → UTV27VN5.js} +2 -2
- package/dist/cdn/{C33FC7RC.js → UUIXKWJE.js} +2 -2
- package/dist/cdn/{JUCP6VJN.js → UXLMABXA.js} +2 -2
- package/dist/cdn/UZJSQPSQ.js +4 -0
- package/dist/cdn/{FUCVRAVQ.js → VBF5CTG3.js} +2 -2
- package/dist/cdn/{TWEAJRSR.js → VK2K5XNT.js} +2 -2
- package/dist/cdn/{B3EYCFHY.js → VLHVZ4SR.js} +2 -2
- package/dist/cdn/{P27EQTXP.js → VMWDPJTM.js} +1 -1
- package/dist/cdn/VRAOCHFE.js +18 -0
- package/dist/cdn/{TCX2HCL4.js → VYLW2IDP.js} +2 -2
- package/dist/cdn/{RRDR2763.js → VYMRAN74.js} +2 -2
- package/dist/cdn/{UEVH4ZIG.js → W4HZTMNT.js} +1 -1
- package/dist/cdn/WB4LTDQP.js +4 -0
- package/dist/cdn/{26VSVB7G.js → WEP26LHX.js} +2 -2
- package/dist/cdn/{2CPXQ3XO.js → WG2NYCMG.js} +2 -2
- package/dist/cdn/{NEAWOVAT.js → WQ4TGR3C.js} +2 -2
- package/dist/cdn/{S4CH3KVO.js → WQ6KFVZN.js} +2 -2
- package/dist/cdn/{MCRN33XB.js → WV64QIRZ.js} +2 -2
- package/dist/cdn/{UOA2YAXC.js → WZMJH2DL.js} +1 -1
- package/dist/cdn/{R7NXQS2H.js → X2H43HYH.js} +1 -1
- package/dist/cdn/{XQF5WBLB.js → X3XSZ65Y.js} +2 -2
- package/dist/cdn/{IDBGIPXB.js → XB5P4EQI.js} +1 -1
- package/dist/cdn/{BN4BZNL3.js → XCEMSPXE.js} +2 -2
- package/dist/cdn/{FJHYTGL3.js → XSIKQNNC.js} +2 -2
- package/dist/cdn/XSLY3IGZ.js +4 -0
- package/dist/cdn/{WUKYRBFW.js → XVEEFPUJ.js} +2 -2
- package/dist/cdn/XXCFRRLF.js +4 -0
- package/dist/cdn/{XYP4MM7Y.js → Y6JZAFOX.js} +2 -2
- package/dist/cdn/Y7NS4JZS.js +18 -0
- package/dist/cdn/{BLGTW3P7.js → YA3RB4C4.js} +2 -2
- package/dist/cdn/{MBGN7PRL.js → YABH5PBS.js} +2 -2
- package/dist/cdn/{J23SUAVE.js → YC3RTILK.js} +2 -2
- package/dist/cdn/{MJHDVXB5.js → YM6V6R3R.js} +2 -2
- package/dist/cdn/{ETWLI3UW.js → YN55LX3C.js} +1 -1
- package/dist/cdn/{CVWDWQZG.js → YRTVPKDV.js} +2 -2
- package/dist/cdn/{DHERKA4G.js → YXHCXL4G.js} +2 -2
- package/dist/cdn/{NSCSVPLE.js → Z422BYVK.js} +2 -2
- package/dist/cdn/ZBCWEZ6Q.js +4 -0
- package/dist/cdn/{AVAQFCMA.js → ZCJWOG36.js} +2 -2
- package/dist/cdn/{ORAWEOF6.js → ZCZBE7ES.js} +2 -2
- package/dist/cdn/{53H4O4KK.js → ZD5J7YJA.js} +2 -2
- package/dist/cdn/{YP6HMNUN.js → ZDPXDUJD.js} +2 -2
- package/dist/cdn/{XXYUKCG6.js → ZIL5UCFT.js} +2 -2
- package/dist/cdn/{HIG6WAET.js → ZJAISNB5.js} +2 -2
- package/dist/cdn/{AEHWVDBQ.js → ZJE4EEE4.js} +2 -2
- package/dist/cdn/{AXH7MWTJ.js → ZP3BQCVA.js} +1 -1
- package/dist/cdn/{BCCYBMSW.js → ZR74FN7G.js} +1 -1
- package/dist/cdn/{BJYA7WKW.js → ZSX3D43K.js} +1 -1
- package/dist/cdn/{MGYKS4CA.js → ZZC4NGY5.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +18 -15
- package/dist/components/solution-configure-dialog/index.d.ts +1 -1
- package/dist/components/solution-configure-dialog/index.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-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 +25 -25
- 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.js +13 -13
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +8 -8
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2IAXWN6T.js +0 -4
- package/dist/cdn/3B3A5TS3.js +0 -4
- package/dist/cdn/3QKRY7AN.js +0 -18
- package/dist/cdn/4KH3V75Z.js +0 -4
- package/dist/cdn/5INUHIM3.js +0 -4
- package/dist/cdn/BXYYFFJR.js +0 -4
- package/dist/cdn/EB64EA6V.js +0 -4
- package/dist/cdn/H4P4SOOU.js +0 -18
- package/dist/cdn/HXMEN564.js +0 -18
- package/dist/cdn/JIWLPRYN.js +0 -4
- package/dist/cdn/KEBMEHQB.js +0 -4
- package/dist/cdn/MNTW36LR.js +0 -4
- package/dist/cdn/MRKES3TY.js +0 -4
- package/dist/cdn/RM6O54I7.js +0 -18
- package/dist/cdn/SMYPLT36.js +0 -4
- package/dist/cdn/TIIH4KX4.js +0 -4
- package/dist/cdn/UGBEJX6A.js +0 -4
- package/dist/cdn/UK7WAVOZ.js +0 -4
- package/dist/cdn/VEVWVLSN.js +0 -4
- package/dist/cdn/VOTU75AB.js +0 -18
@@ -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.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a as s}from"./ZP3BQCVA.js";import{c as x}from"./U2G7TTSF.js";import{a as X}from"./2PX7QCE5.js";import{a as J,b as H}from"./FKJ74KL2.js";import{b as R,c as w}from"./GW66TTO2.js";import"./OYZEM335.js";import{h as V,i as z}from"./SQEH2DIV.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./JONOM255.js";import"./IRNQSIXL.js";import"./W4HZTMNT.js";import"./FY5UZTY6.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./A76UWUIW.js";import"./X2H43HYH.js";import{i as G}from"./H465VNWN.js";import"./BHNIWP2D.js";import{a as p}from"./XB5P4EQI.js";import"./7XT6DNUL.js";import"./UAVULCVS.js";import"./EB2PKDO6.js";import"./BOKOWFEO.js";import{k as O,s as j}from"./EFCGDNV5.js";import"./BYDCJ4VZ.js";import"./LQACV2LW.js";import"./XVEEFPUJ.js";import{a as d}from"./WZMJH2DL.js";import"./TR4FJOX7.js";import"./FOGK56KV.js";import"./SAH5BHRY.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
|
@@ -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.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a,b}from"./LB3TT43G.js";import"./R22QQKTW.js";import"./FOGK56KV.js";import"./J76PFNGB.js";import"./SAH5BHRY.js";export{a as ContentEditorTypes,b as ContentSchema};
|
@@ -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.0-next.
|
4
|
-
import c from"./KKHZBUFB.js";import b from"./COZZW6V3.js";import"./SDHMDRBG.js";import a from"./MRKES3TY.js";import{a as K}from"./SMYPLT36.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./CCUURDN3.js";import{b as Se}from"./KX7NEVCY.js";import"./TWEAJRSR.js";import{A as w,B as E,h as ke,i as L,j as ge,k as oe,x as Re,y as Ee}from"./FPZJX6ZR.js";import{b as st,d as lt}from"./333HWSMJ.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"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"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=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},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},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])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[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&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],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):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[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],ae=!!k[J];O!==ae&&(h=!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&&(h=!0,q?(u(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&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,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),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!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),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(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){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(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()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{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}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .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)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .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){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={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"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{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=ut}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([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(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 o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),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:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),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(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(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(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.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(p.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(g=>this.renderLegendForLayer(g,!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 o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.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(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.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=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.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(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.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(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||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=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import c from"./DIUE32QA.js";import b from"./FN2WRV4R.js";import"./ACRCQUQS.js";import a from"./O7BZMNSE.js";import{a as K}from"./A6AHNC5I.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./K3YIW6KT.js";import{b as Se}from"./3NDKI6NH.js";import"./VK2K5XNT.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./52DTSHHU.js";import{b as st,d as lt}from"./SAH5BHRY.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"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"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=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},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},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])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[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&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],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):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[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],ae=!!k[J];O!==ae&&(h=!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&&(h=!0,q?(u(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&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,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),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!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),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(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){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(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()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{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}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .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)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .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){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={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"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{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=ut}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([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(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 o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),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:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),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(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(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(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.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(p.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(g=>this.renderLegendForLayer(g,!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 o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.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(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.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=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.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(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.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(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||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=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("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.0-next.
|
4
|
-
import{a as w}from"./SMYPLT36.js";import{a as M}from"./L5VLMTR2.js";import{C as T,b as v,c as F,z as P}from"./CCUURDN3.js";import{a as q}from"./XRKZLEW4.js";import{b as S}from"./KX7NEVCY.js";import"./KUKTXMSX.js";import"./TWEAJRSR.js";import{A as y,h as E,i as h,k as $,n as U,y as k}from"./FPZJX6ZR.js";import"./333HWSMJ.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a as w}from"./A6AHNC5I.js";import{a as M}from"./K22KBOKY.js";import{C as T,b as v,c as F,z as P}from"./K3YIW6KT.js";import{a as q}from"./TEUVGOIY.js";import{b as S}from"./3NDKI6NH.js";import"./FVXZDOFO.js";import"./VK2K5XNT.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./52DTSHHU.js";import"./SAH5BHRY.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
@@ -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.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a as m}from"./OYZEM335.js";import{a as f}from"./H465VNWN.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P 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.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a as r}from"./FVXZDOFO.js";import{c as o}from"./ELYCXPDG.js";var s=r(o);export{s 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.0-next.
|
4
|
-
import e from"./
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import e from"./DIUE32QA.js";import c from"./FN2WRV4R.js";import"./ACRCQUQS.js";import b from"./O7BZMNSE.js";import"./K3YIW6KT.js";import{b as o}from"./3NDKI6NH.js";import"./VK2K5XNT.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./52DTSHHU.js";import"./SAH5BHRY.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
|
@@ -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.0-next.
|
3
|
+
v1.1.0-next.20250819 */
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as 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.0-next.
|
3
|
+
v1.1.0-next.20250819 */
|
4
4
|
var s="calcite-mode-light",c="calcite-mode-dark";function a(e){let t=e?.closest(`.${c}, .${s}`);return t==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t?.classList.contains(c)?"dark":"light"}export{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.0-next.
|
3
|
+
v1.1.0-next.20250819 */
|
4
4
|
var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./LZQICKVC.js";import{a as r}from"./NJVZY5MD.js";import"./LXH2SO43.js";import"./TR4FJOX7.js";import"./TK77BTJO.js";import"./LB3TT43G.js";import"./J2QF245E.js";import"./FV5ATVEG.js";import"./UTV27VN5.js";import"./QAHIP2GX.js";import"./PR3CDOEP.js";import"./GX2F4JGM.js";import"./5UQVMELP.js";import"./57MRFRBK.js";import"./AMXYZ4OK.js";import"./2NX64ETW.js";import"./EMQCI6RG.js";import"./6LX6EBYJ.js";import"./IXAWNCC5.js";import"./7XCWJLB2.js";import"./JHVO3CP7.js";import"./R22QQKTW.js";import"./FOGK56KV.js";import"./J76PFNGB.js";import"./SAH5BHRY.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
package/dist/cdn/index.js
CHANGED
@@ -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.0-next.
|
4
|
-
import{a as o}from"./NMPXEPPL.js";import{r as e}from"./FPZJX6ZR.js";import"./333HWSMJ.js";var t=e(o,{"arcgis-solutions-assistant":[()=>import("./2YRCAX6G.js"),"AIServerUrl,token"],"basemap-gallery":[()=>import("./5E4GIVQX.js"),"basemapConfig:,basemapWidget:,mapView:"],"buffer-tools":[()=>import("./AVCRNRY7.js"),"appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./G6KEW64X.js"),"customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./DHERKA4G.js"),"amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./OT5TS4TQ.js"),"allowMultipleCreation,customizeSubmit,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./JBJSL4N4.js"),"customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./4LE4JATK.js"),"appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./MBGN7PRL.js"),"center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./M5UQNDPQ.js")],"delete-button":[()=>import("./7QA2XWHF.js"),"buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./WLTGE5IP.js"),"ids:,layer:,open"],"edit-card":[()=>import("./BBOFQYSI.js"),"allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./NSCSVPLE.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./ML4IONJI.js"),"applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./26VSVB7G.js"),"layer:,mapView:,table:"],"floor-filter":[()=>import("./3BVUEJ3Z.js"),"enabled,floorFilterWidget:,mapView:"],"info-card":[()=>import("./YL66GN2Y.js"),"allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"json-editor":[()=>import("./I2K4QP6G.js"),"hasChanges,hasErrors,instanceid,value;getEditorContents,prepareForDeletion,replaceCurrentSelection,reset"],"layer-list":[()=>import("./J76MNH4M.js"),"applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-table":[()=>import("./BUG336RI.js"),"appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,validateActiveEdits,validateTableUpdate"],"map-card":[()=>import("./KVGTI5QA.js"),"appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./WTLEVLOM.js"),"active,drawMode:,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-fullscreen":[()=>import("./PEH22CAL.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./RRDR2763.js"),"appearance,defaultLayerId,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./FQOP3IHB.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./WFIE3NVJ.js"),"height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./LBW4QNC4.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./RPEKDGLF.js"),"bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./UICHQ5XS.js"),"basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedLayer:,selectedWebMapId,showOnlyUpdatableLayers,stackTools,toolOrder:,zoomToolsSize"],"pci-calculator":[()=>import("./PCWDJAJI.js")],"pdf-download":[()=>import("./Z7Q74DHT.js"),"defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./UUDJYULL.js"),"addresseeLayerIds:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./UQEGIZ4V.js"),"addresseeLayer:,enabledLayerIds:,mapView:,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./KIQ7MTLX.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-article-card":[()=>import("./PCYKZD5L.js"),"date,heading,href,src,type"],"solution-configuration":[()=>import("./4Y3ESBVN.js"),"authentication:,serializedAuthentication,showLoading,solutionItemId;getSpatialReferenceInfo,saveSolution,unloadSolution"],"solution-configure-dialog":[()=>import("./RM6O54I7.js"),"card:,cardRef,open,showSuccessAlert,templateInfos:"],"solution-configure-titles":[()=>import("./62NOWEZE.js"),"card:,open,templateInfos:"],"solution-contents":[()=>import("./W2EHLCS7.js"),"selectedItemId,templateHierarchy:"],"solution-delete-dialog":[()=>import("./BD4EMRO4.js"),"card:,open;;close,delete"],"solution-deploy-dialog":[()=>import("./X7KJN7BB.js"),"card:,open,userOptions:,wkid;;close,deploy"],"solution-deployed-card":[()=>import("./C5VCROIZ.js"),"allowDelete,card:,deployedDate,description,heading,itemId,owner,thumbnail,updateAvailable;getTemplates,renderConfigureDialog,renderDeleteDialog,renderDiagramDialog"],"solution-deploying-dialog":[()=>import("./GFEGTT65.js"),"abortController:,card:,deploymentProgress,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./UJMBIDYA.js"),"card:"],"solution-details-panel":[()=>import("./H4P4SOOU.js"),"appConfig,authentication:,card:,useLocalAppConfig"],"solution-item":[()=>import("./A3WZDLWT.js"),"authentication:,itemId,organizationVariables,solutionVariables"],"solution-item-accordion":[()=>import("./HCY45Z6P.js"),"itemRelationshipDependencies:,linkType,listSelectionMode,templateInfos:,typeKeywords:;collapseAll,deselectAll,selectItem"],"solution-item-details":[()=>import("./LPI2REVF.js"),"itemId"],"solution-item-diagram":[()=>import("./O3J7UQKM.js"),"templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./S4CH3KVO.js"),"isPortal,type,typeKeywords:"],"solution-item-sharing":[()=>import("./PCNVSKMW.js"),"groupId;getShareInfo"],"solution-organization-variables":[()=>import("./INGTJOFW.js"),"value"],"solution-resource-item":[()=>import("./4UE66F3J.js"),"authentication:,itemId"],"solution-snapshot-gallery":[()=>import("./4MTWHCFA.js"),"card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./S3WVR6DZ.js"),"actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage"],"solution-spatial-ref":[()=>import("./EQAQHKCK.js"),"enabled,enableDefault,featureServices:;_testAccess"],"solution-template-data":[()=>import("./MCRN33XB.js"),"instanceid,itemId,organizationVariables,solutionVariables,varsOpen"],"solution-variables":[()=>import("./ISECMQZA.js"),"value"],"solutions-all-panel":[()=>import("./4OFQDJ6A.js"),"agoSolutionsGroupId,enterpriseSolutionsGroupId,locale,orgUrl,portalUrl,sortType;searchSolutions"],"solutions-all-shell":[()=>import("./HXMEN564.js"),"appConfig,authentication:,solutionsCount,sortType,useLocalAppConfig"],"solutions-article-panel":[()=>import("./O5NQYW4S.js"),"heading,href"],"solutions-articles":[()=>import("./SZ4ULADV.js"),"showAssistant"],"solutions-articles-shell":[()=>import("./DUBPN4RS.js")],"solutions-deployed-panel":[()=>import("./HAWBRFO4.js"),"agoSolutionsGroupId,enterpriseSolutionsGroupId,locale,orgUrl,portalUrl,sortType;reload,searchSolutions"],"solutions-deployed-shell":[()=>import("./3QKRY7AN.js"),"appConfig,authentication:,solutionsCount,sortType,useLocalAppConfig"],"solutions-filter-panel":[()=>import("./BN4BZNL3.js"),"isAIsettingEnabled,isAllSolutions;;changeIndustryFilter,changeOwnerFilter,changeSearchFilter,clearFilters"],"spatial-ref":[()=>import("./VOTU75AB.js"),"defaultWkid,disabled,value;createSpatialRefDisplay,getSpatialRef,wkidToDisplay"],"store-manager":[()=>import("./KEBMEHQB.js"),"authentication:,templates:,value;getStoreInfo"]});t({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,basemap-gallery,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,floor-filter,info-card,json-editor,layer-list,layer-table,map-card,map-draw-tools,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-article-card,solution-configuration,solution-configure-dialog,solution-configure-titles,solution-contents,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item,solution-item-accordion,solution-item-details,solution-item-diagram,solution-item-icon,solution-item-sharing,solution-organization-variables,solution-resource-item,solution-snapshot-gallery,solution-social-share,solution-spatial-ref,solution-template-data,solution-variables,solutions-all-panel,solutions-all-shell,solutions-article-panel,solutions-articles,solutions-articles-shell,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,spatial-ref,store-manager){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,a];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,o)
|
3
|
+
v1.1.0-next.20250819 */
|
4
|
+
import{a as o}from"./ELYCXPDG.js";import{s as e}from"./52DTSHHU.js";import"./SAH5BHRY.js";var t=e(o,{"arcgis-solutions-assistant":[()=>import("./K2LV3XD3.js"),"AIServerUrl,token"],"basemap-gallery":[()=>import("./NOLFW52G.js"),"basemapConfig:,basemapWidget:,mapView:"],"buffer-tools":[()=>import("./LKCO6XND.js"),"appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./UB7PE3AY.js"),"customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./YXHCXL4G.js"),"amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./O2IV4JMW.js"),"allowMultipleCreation,customizeSubmit,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./SY5E3AVJ.js"),"customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./SDJB7VSM.js"),"appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./YABH5PBS.js"),"center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./7BTFQ7GB.js")],"delete-button":[()=>import("./K53OL6JR.js"),"buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./5GSANUEI.js"),"ids:,layer:,open"],"edit-card":[()=>import("./24BDVPNH.js"),"allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./Z422BYVK.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./GMCNEOK7.js"),"applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./WEP26LHX.js"),"layer:,mapView:,table:"],"floor-filter":[()=>import("./PXX4HFO5.js"),"enabled,floorFilterWidget:,mapView:"],"info-card":[()=>import("./2QN6VCK5.js"),"allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"json-editor":[()=>import("./QPUATAAE.js"),"hasChanges,hasErrors,instanceid,value;getEditorContents,prepareForDeletion,replaceCurrentSelection,reset"],"layer-list":[()=>import("./M7GBGDGE.js"),"applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-table":[()=>import("./E2B4PX5E.js"),"appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,validateActiveEdits,validateTableUpdate"],"map-card":[()=>import("./2KLVK3DF.js"),"appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./GUJC76WT.js"),"active,drawMode:,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-fullscreen":[()=>import("./BLDAOYIG.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./VYMRAN74.js"),"appearance,defaultLayerId,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./K2NMCDVM.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./6LCQVOOF.js"),"height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./EJD4FG7F.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./65YWJHM4.js"),"bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./F2FAIAU2.js"),"basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedLayer:,selectedWebMapId,showOnlyUpdatableLayers,stackTools,toolOrder:,zoomToolsSize"],"pci-calculator":[()=>import("./NOEXEMV5.js")],"pdf-download":[()=>import("./S6ZH56JW.js"),"defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./UALKPXS3.js"),"addresseeLayerIds:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./LJWVIPZW.js"),"addresseeLayer:,enabledLayerIds:,mapView:,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./TGBNBAXL.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-article-card":[()=>import("./2XM25TAX.js"),"date,heading,href,src,type"],"solution-configuration":[()=>import("./4XY265GH.js"),"authentication:,serializedAuthentication,showLoading,solutionItemId;getSpatialReferenceInfo,saveSolution,unloadSolution"],"solution-configure-dialog":[()=>import("./TAQN3MIW.js"),"card:,cardRef,open,showSuccessAlert,templateInfos:"],"solution-configure-titles":[()=>import("./AY5CM33Y.js"),"card:,open,templateInfos:"],"solution-contents":[()=>import("./O2EOV3CJ.js"),"selectedItemId,templateHierarchy:"],"solution-delete-dialog":[()=>import("./LHFFIZ22.js"),"card:,open;;close,delete"],"solution-deploy-dialog":[()=>import("./HUHERRGE.js"),"card:,open,userOptions:,wkid;;close,deploy"],"solution-deployed-card":[()=>import("./4BBJTWZM.js"),"allowDelete,card:,deployedDate,description,heading,itemId,owner,thumbnail,updateAvailable;getTemplates,renderConfigureDialog,renderDeleteDialog,renderDiagramDialog"],"solution-deploying-dialog":[()=>import("./JI2SAYCM.js"),"abortController:,card:,deploymentProgress,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./ONWGDZT5.js"),"card:"],"solution-details-panel":[()=>import("./4TAO7CZ6.js"),"appConfig,authentication:,card:,useLocalAppConfig"],"solution-item":[()=>import("./TACC72BQ.js"),"authentication:,itemId,organizationVariables,solutionVariables"],"solution-item-accordion":[()=>import("./L3DBBV2W.js"),"itemRelationshipDependencies:,linkType,listSelectionMode,templateInfos:,typeKeywords:;collapseAll,deselectAll,selectItem"],"solution-item-details":[()=>import("./BXAORZL4.js"),"itemId"],"solution-item-diagram":[()=>import("./OVJQ6OFH.js"),"templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./WQ6KFVZN.js"),"isPortal,type,typeKeywords:"],"solution-item-sharing":[()=>import("./4NXWAPLL.js"),"groupId;getShareInfo"],"solution-organization-variables":[()=>import("./742IZCHX.js"),"value"],"solution-resource-item":[()=>import("./6U3K5YN7.js"),"authentication:,itemId"],"solution-snapshot-gallery":[()=>import("./THBUB5W7.js"),"card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./DWL3QSPA.js"),"actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage"],"solution-spatial-ref":[()=>import("./NBAZK6OZ.js"),"enabled,enableDefault,featureServices:;_testAccess"],"solution-template-data":[()=>import("./WV64QIRZ.js"),"instanceid,itemId,organizationVariables,solutionVariables,varsOpen"],"solution-variables":[()=>import("./AXWVCHHB.js"),"value"],"solutions-all-panel":[()=>import("./HFIFNLE6.js"),"agoSolutionsGroupId,enterpriseSolutionsGroupId,locale,orgUrl,portalUrl,sortType;searchSolutions"],"solutions-all-shell":[()=>import("./VRAOCHFE.js"),"appConfig,authentication:,solutionsCount,sortType,useLocalAppConfig"],"solutions-article-panel":[()=>import("./GK6IMCNG.js"),"heading,href"],"solutions-articles":[()=>import("./U24LTB7J.js"),"showAssistant"],"solutions-articles-shell":[()=>import("./BCPDYBW6.js")],"solutions-deployed-panel":[()=>import("./IWJ2ZMNS.js"),"agoSolutionsGroupId,enterpriseSolutionsGroupId,locale,orgUrl,portalUrl,sortType;reload,searchSolutions"],"solutions-deployed-shell":[()=>import("./Y7NS4JZS.js"),"appConfig,authentication:,solutionsCount,sortType,useLocalAppConfig"],"solutions-filter-panel":[()=>import("./XCEMSPXE.js"),"isAIsettingEnabled,isAllSolutions;;changeIndustryFilter,changeOwnerFilter,changeSearchFilter,clearFilters"],"spatial-ref":[()=>import("./7QS77URH.js"),"defaultWkid,disabled,value;createSpatialRefDisplay,getSpatialRef,wkidToDisplay"],"store-manager":[()=>import("./56HI5OZX.js"),"authentication:,templates:,value;getStoreInfo"]});t({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,basemap-gallery,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,floor-filter,info-card,json-editor,layer-list,layer-table,map-card,map-draw-tools,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-article-card,solution-configuration,solution-configure-dialog,solution-configure-titles,solution-contents,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item,solution-item-accordion,solution-item-details,solution-item-diagram,solution-item-icon,solution-item-sharing,solution-organization-variables,solution-resource-item,solution-snapshot-gallery,solution-social-share,solution-spatial-ref,solution-template-data,solution-variables,solutions-all-panel,solutions-all-shell,solutions-article-panel,solutions-articles,solutions-articles-shell,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,spatial-ref,store-manager){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,a];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,o)
|
package/dist/chunks/Auth.js
CHANGED
@@ -4,7 +4,7 @@ import h from "@arcgis/core/identity/OAuthInfo";
|
|
4
4
|
import u from "@arcgis/core/portal/Portal";
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
6
6
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
7
|
-
v1.1.0-next.
|
7
|
+
v1.1.0-next.20250819 */
|
8
8
|
/** @license
|
9
9
|
*
|
10
10
|
* Copyright 2018 Esri
|
package/dist/chunks/appConfig.js
CHANGED
@@ -1,6 +1,6 @@
|
|
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.0-next.
|
3
|
+
v1.1.0-next.20250819 */
|
4
4
|
const e = "WNufTOT96eMYwAik", a = "https://www.arcgis.com", o = "8f741b82179543fe884bed012dd5f049", s = "1d3a7ed66deb47269beea05ff9afd4c1";
|
5
5
|
const n = "solutions-deployment-first-use";
|
6
6
|
const c = { name: "solution-deployment-app", version: "1.0", dev: { amazon: { userPoolID: "us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef", app: { id: "7e2fd97553644e5f99b1129fbcee3c2e" } } }, qa: { amazon: { userPoolID: "us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef", app: { id: "a3beba911bd14847ada5c9ffed2a2111" } } }, prod: { amazon: { userPoolID: "us-east-1:8c41b2dc-7563-403d-ba64-673b103debce", app: { id: "35a920e0e7f84680be076e57dd5cb728" } } } }, t = {
|
@@ -3,7 +3,7 @@ import { g as v, c as M, b as y, d as k, e as x } from "./helpers.js";
|
|
3
3
|
import { B, q as N } from "./interfaces.js";
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
5
5
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
6
|
-
v1.1.0-next.
|
6
|
+
v1.1.0-next.20250819 */
|
7
7
|
/**
|
8
8
|
* @license
|
9
9
|
* Copyright 2025 Esri
|
package/dist/chunks/common.js
CHANGED
@@ -2,7 +2,7 @@ import "@esri/solution-common";
|
|
2
2
|
import { a } from "./helpers.js";
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
4
4
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
5
|
-
v1.1.0-next.
|
5
|
+
v1.1.0-next.20250819 */
|
6
6
|
/**
|
7
7
|
* @license
|
8
8
|
* Copyright 2025 Esri
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { createContext as t } from "@lit/context";
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
4
|
-
v1.1.0-next.
|
4
|
+
v1.1.0-next.20250819 */
|
5
5
|
/**
|
6
6
|
* @license
|
7
7
|
* Copyright 2025 Esri
|
@@ -6,7 +6,7 @@ import { Sanitizer as G } from "@esri/arcgis-html-sanitizer";
|
|
6
6
|
import * as S from "@esri/solution-common";
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
8
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
9
|
-
v1.1.0-next.
|
9
|
+
v1.1.0-next.20250819 */
|
10
10
|
/**
|
11
11
|
* @license
|
12
12
|
* Copyright 2025 Esri
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { g as c } from "./runtime.js";
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
4
|
-
v1.1.0-next.
|
4
|
+
v1.1.0-next.20250819 */
|
5
5
|
/** @license
|
6
6
|
*
|
7
7
|
* Copyright 2018 Esri
|
package/dist/chunks/helpers.js
CHANGED
@@ -3,7 +3,7 @@ import "@arcgis/core/intl";
|
|
3
3
|
import { I as w } from "./interfaces.js";
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
5
5
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
6
|
-
v1.1.0-next.
|
6
|
+
v1.1.0-next.20250819 */
|
7
7
|
/**
|
8
8
|
* @license
|
9
9
|
* Copyright 2025 Esri
|
package/dist/chunks/index.js
CHANGED