@esri/solutions-components 5.1.0-next.158 → 5.1.0-next.159
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/{O4YFJXGF.js → 22BJ76LD.js} +1 -1
- package/dist/cdn/24DOFCUH.js +2 -0
- package/dist/cdn/{OBD737XY.js → 26EKIZQ3.js} +1 -1
- package/dist/cdn/{DOXKOGC2.js → 26QXT6ZT.js} +1 -1
- package/dist/cdn/{A7PEHKA2.js → 2OCRSUSE.js} +1 -1
- package/dist/cdn/{NC34DM4N.js → 2UCURPVT.js} +1 -1
- package/dist/cdn/{DZB3263I.js → 2X3SHREV.js} +1 -1
- package/dist/cdn/{YXCHECNE.js → 3A5WS2II.js} +1 -1
- package/dist/cdn/{LQABMPPT.js → 3D5OFNW5.js} +1 -1
- package/dist/cdn/{IO5DIUTT.js → 3E7MYA66.js} +1 -1
- package/dist/cdn/{YWXDNRE2.js → 3IHDWRXV.js} +1 -1
- package/dist/cdn/3IO2JXVB.js +2 -0
- package/dist/cdn/{OOP3DI7Y.js → 3KRXI2TQ.js} +1 -1
- package/dist/cdn/{GDDMG3Q4.js → 3NKGACT7.js} +1 -1
- package/dist/cdn/{7Y32UJS4.js → 3QIWKYQY.js} +1 -1
- package/dist/cdn/3SDEIO24.js +2 -0
- package/dist/cdn/{N3ENJ6TJ.js → 3Z7EYDFO.js} +2 -2
- package/dist/cdn/{57DEUKTH.js → 4ALVWOG7.js} +1 -1
- package/dist/cdn/{QLOWHDGX.js → 4OKIVS32.js} +1 -1
- package/dist/cdn/{YKSW755L.js → 4PNNKMNH.js} +1 -1
- package/dist/cdn/{Y3Q6SFIV.js → 55QBAVPE.js} +1 -1
- package/dist/cdn/{7ZJQQBSR.js → 57SZHKM5.js} +1 -1
- package/dist/cdn/{MDNGEZ2V.js → 5BN62I7L.js} +1 -1
- package/dist/cdn/{LKVCSRAJ.js → 5EXKQXLZ.js} +1 -1
- package/dist/cdn/{JQANOMEB.js → 5F6KCXYP.js} +1 -1
- package/dist/cdn/{RYETW3AF.js → 5JBZ6L5Q.js} +1 -1
- package/dist/cdn/{ZQAD6SUE.js → 5K5GHKON.js} +1 -1
- package/dist/cdn/{KP3AJBAI.js → 5VIB2BPJ.js} +1 -1
- package/dist/cdn/{X26QOEYN.js → 62CPZJO5.js} +1 -1
- package/dist/cdn/{5XDPNTYE.js → 62QGEVBO.js} +1 -1
- package/dist/cdn/{VCL4OTSQ.js → 632J5NXN.js} +1 -1
- package/dist/cdn/{67UYAVGW.js → 6LHIJG7J.js} +1 -1
- package/dist/cdn/{SSZBIVTK.js → 6XWFCHCJ.js} +1 -1
- package/dist/cdn/73EY5SIB.js +2 -0
- package/dist/cdn/{HGONAEKC.js → 7FZDDT7D.js} +1 -1
- package/dist/cdn/{CSW2JRVE.js → 7MNSZGMB.js} +1 -1
- package/dist/cdn/{5GHZQ66V.js → 7NUJ4IS5.js} +1 -1
- package/dist/cdn/{WFHPQFNH.js → 7OHSJ5SV.js} +1 -1
- package/dist/cdn/{HEI6GMZN.js → 7VQB43WL.js} +1 -1
- package/dist/cdn/{GXIGM56I.js → 7YJMTZFC.js} +1 -1
- package/dist/cdn/{LI7Q44Z6.js → 7ZJBP3SS.js} +1 -1
- package/dist/cdn/{3SRDS4KQ.js → 7ZSO7MSX.js} +1 -1
- package/dist/cdn/{CA4YH6B3.js → A2VP46QZ.js} +1 -1
- package/dist/cdn/{MPSNK45A.js → A62EWI7L.js} +1 -1
- package/dist/cdn/{MSUQVQBX.js → ACTJS4TX.js} +3 -3
- package/dist/cdn/{LF3HQQMS.js → AEALFROI.js} +1 -1
- package/dist/cdn/{UNJV2PKC.js → AM6QSTRH.js} +1 -1
- package/dist/cdn/{MZXUUA7G.js → AS6VINEU.js} +1 -1
- package/dist/cdn/{KXT52OBS.js → AYJ5ZPU6.js} +1 -1
- package/dist/cdn/{2UIPY2ED.js → BATEZR3T.js} +1 -1
- package/dist/cdn/{C5PGLCTJ.js → BEKMMPB7.js} +1 -1
- package/dist/cdn/{AXFB53AQ.js → BQ7O62CG.js} +1 -1
- package/dist/cdn/{YELTRFZZ.js → BVG2SE55.js} +1 -1
- package/dist/cdn/{KZSBETIP.js → C5BQAX2M.js} +1 -1
- package/dist/cdn/{M7GWNGTJ.js → CARCFJRD.js} +1 -1
- package/dist/cdn/{DOHGEFCF.js → CAXDDYGL.js} +1 -1
- package/dist/cdn/{NVEAYDYI.js → CAYWD56D.js} +1 -1
- package/dist/cdn/{CRDJXHSQ.js → CFJ4FEY3.js} +1 -1
- package/dist/cdn/{KZFMPHCV.js → CLRLOHTR.js} +1 -1
- package/dist/cdn/{M5ZEJF3J.js → CPOZIWVH.js} +1 -1
- package/dist/cdn/{UVHM4PU5.js → CUG5CROK.js} +1 -1
- package/dist/cdn/{O7O4T4G4.js → CYEFGPUM.js} +3 -3
- package/dist/cdn/{XLB42ULH.js → CZVHNBQN.js} +1 -1
- package/dist/cdn/{F7FCYGIB.js → D2EVPZ5K.js} +1 -1
- package/dist/cdn/{JJV3TD42.js → D4TEADUS.js} +1 -1
- package/dist/cdn/{CZJPS7CF.js → D52QVYYU.js} +1 -1
- package/dist/cdn/{66VSNZFA.js → D5JF7XQN.js} +1 -1
- package/dist/cdn/{35HRMJUI.js → D6ZGMSQF.js} +1 -1
- package/dist/cdn/{MWFCDDBC.js → D7G4LZRG.js} +1 -1
- package/dist/cdn/{73O55ZBJ.js → DGQQF6WF.js} +1 -1
- package/dist/cdn/{JTENM3PQ.js → DJYT367X.js} +1 -1
- package/dist/cdn/{YAUQSIXM.js → DKQRECGR.js} +1 -1
- package/dist/cdn/{EPKRNLRL.js → DKXVDY6L.js} +1 -1
- package/dist/cdn/{RFSPNC4B.js → DLDR5V2P.js} +1 -1
- package/dist/cdn/{7KEONOFN.js → DMENKRSP.js} +1 -1
- package/dist/cdn/{DWAYOC2L.js → DWKKP34X.js} +1 -1
- package/dist/cdn/{JDCZUOU6.js → E25ZWVBK.js} +1 -1
- package/dist/cdn/{HYB5LBMY.js → E7CWZMS4.js} +1 -1
- package/dist/cdn/{AVBZ2B75.js → EF2TTWG5.js} +1 -1
- package/dist/cdn/{XDZPQACK.js → EG5KPZQ2.js} +1 -1
- package/dist/cdn/{6BIHAEOS.js → EHSIODIO.js} +1 -1
- package/dist/cdn/{SNJPMQCE.js → EKK5FR2V.js} +1 -1
- package/dist/cdn/{AOJP5RQ6.js → EMPMQDRQ.js} +1 -1
- package/dist/cdn/{XBFG3KX6.js → ENLFOYSI.js} +1 -1
- package/dist/cdn/{6Q52JBZW.js → ES63XK5X.js} +1 -1
- package/dist/cdn/EXBEKVP5.js +2 -0
- package/dist/cdn/{NM2PQIH6.js → EYJQEBDF.js} +1 -1
- package/dist/cdn/{EF4LWVLU.js → F3A22NPP.js} +1 -1
- package/dist/cdn/{Y6KZTCZD.js → F5SUVMAE.js} +1 -1
- package/dist/cdn/{CTREZRNZ.js → F6J3OLVZ.js} +1 -1
- package/dist/cdn/{RKWTJT6L.js → FA5CJT2S.js} +1 -1
- package/dist/cdn/{S6J35GRM.js → FBGCV6YJ.js} +1 -1
- package/dist/cdn/{XSOTJ56B.js → FBSKACM2.js} +1 -1
- package/dist/cdn/{V52O7WYV.js → FCJFAZ4S.js} +1 -1
- package/dist/cdn/{ANVT6ANQ.js → FE6JCIZY.js} +1 -1
- package/dist/cdn/{HJW2JW4G.js → FVR5S6DL.js} +1 -1
- package/dist/cdn/{YJBXJNUR.js → FZNRD2XJ.js} +1 -1
- package/dist/cdn/{TRXDA7G2.js → G2RMWJ7R.js} +1 -1
- package/dist/cdn/{6OJALTOU.js → G63OYQ7G.js} +1 -1
- package/dist/cdn/{RXOPHYUF.js → GABDTUB7.js} +1 -1
- package/dist/cdn/{BLR4MTOP.js → GLC7JVKG.js} +1 -1
- package/dist/cdn/{B3BR2NG5.js → GXZWJXHM.js} +1 -1
- package/dist/cdn/H3NPAQ3U.js +2 -0
- package/dist/cdn/{UUHDVB24.js → HB56DBBP.js} +1 -1
- package/dist/cdn/{LLDACDFC.js → HGOYPWOK.js} +1 -1
- package/dist/cdn/{K5ZIHTQC.js → HJZRCLYP.js} +1 -1
- package/dist/cdn/{SQ3AHKIW.js → I4EEOB6Y.js} +1 -1
- package/dist/cdn/{KCTWFRCW.js → I4VWG355.js} +1 -1
- package/dist/cdn/{MZ73EAAV.js → I5E3PM26.js} +1 -1
- package/dist/cdn/ICY4O6XV.js +2 -0
- package/dist/cdn/{U6M4Q7V3.js → IGQJLEEJ.js} +1 -1
- package/dist/cdn/{PIJDUFKZ.js → IOFIC3IG.js} +1 -1
- package/dist/cdn/{FJAJKPL6.js → IQVJCQTP.js} +1 -1
- package/dist/cdn/{BSBNPUTI.js → IXJFVKYN.js} +1 -1
- package/dist/cdn/{TK235QG4.js → J6OVONBB.js} +1 -1
- package/dist/cdn/{ORMBTE2Z.js → JEIP7CJK.js} +1 -1
- package/dist/cdn/{P6VUY7UX.js → JFLG3EKT.js} +1 -1
- package/dist/cdn/{POVGKQPO.js → JJDAJ7CL.js} +1 -1
- package/dist/cdn/{ZF724O2R.js → JUPIKTGO.js} +1 -1
- package/dist/cdn/{YKM2YRZP.js → KAGDNHPY.js} +1 -1
- package/dist/cdn/{JLQYLRUP.js → KDHI3OWQ.js} +1 -1
- package/dist/cdn/{7HJCFDJN.js → KIKSO3OQ.js} +1 -1
- package/dist/cdn/{PRM47E4O.js → KKEERGX7.js} +1 -1
- package/dist/cdn/{L5WLXC4P.js → KMKZEHDS.js} +1 -1
- package/dist/cdn/{EVZXWT6K.js → KMTYPOFM.js} +1 -1
- package/dist/cdn/{6RONZCGM.js → KTRKTBPS.js} +1 -1
- package/dist/cdn/{QLRGY4WQ.js → KU2LYW6K.js} +1 -1
- package/dist/cdn/{YZ3OYKNY.js → L4BYLII5.js} +1 -1
- package/dist/cdn/{W5M4XQVO.js → LHLLMC6K.js} +1 -1
- package/dist/cdn/{4SABCB6V.js → LM46YQCN.js} +1 -1
- package/dist/cdn/{BROZWKD5.js → LOWGHGDS.js} +1 -1
- package/dist/cdn/{PRXFYNIG.js → LPFG5XTA.js} +1 -1
- package/dist/cdn/{ZFK6UU3O.js → LSBUPU7F.js} +1 -1
- package/dist/cdn/{FDO2JBGW.js → LVK2J23W.js} +1 -1
- package/dist/cdn/{2C6OKRTL.js → LXGY2E55.js} +1 -1
- package/dist/cdn/{6RNSFI2J.js → LY3WRG7K.js} +1 -1
- package/dist/cdn/{XG3T3NF3.js → MBAQ324M.js} +1 -1
- package/dist/cdn/{7IXJB2CS.js → MBVY6OPY.js} +1 -1
- package/dist/cdn/{EW4MNCWO.js → MDKHW7NM.js} +1 -1
- package/dist/cdn/MISU75DC.js +2 -0
- package/dist/cdn/{QUG6GIG2.js → MJ6JD7WX.js} +1 -1
- package/dist/cdn/{XIUYW7RN.js → MKDVJPNY.js} +1 -1
- package/dist/cdn/{PKKPFNOP.js → MLNGJEKI.js} +1 -1
- package/dist/cdn/{KR7U7SH5.js → MTEVQC6W.js} +1 -1
- package/dist/cdn/{VTI5LEQY.js → MW3IJQRQ.js} +1 -1
- package/dist/cdn/{3OQ24P5P.js → N33J6JX2.js} +1 -1
- package/dist/cdn/{YUPT4BTA.js → NKEQVKHZ.js} +1 -1
- package/dist/cdn/{KDE2RXEH.js → NVIMZ7ZS.js} +1 -1
- package/dist/cdn/{X67LNBJP.js → O4VFFJLQ.js} +1 -1
- package/dist/cdn/{E4BPYNC5.js → O7VRD3Z3.js} +3 -3
- package/dist/cdn/{BIRAQCVT.js → OAEZN4D5.js} +1 -1
- package/dist/cdn/{AL7O7ZB2.js → OGH565H7.js} +1 -1
- package/dist/cdn/{MURYADCX.js → OJDW3XGU.js} +1 -1
- package/dist/cdn/{DIMSALHW.js → OMRM5EXN.js} +1 -1
- package/dist/cdn/{7ZKKR7QO.js → OZ7YBTKR.js} +1 -1
- package/dist/cdn/{U2ZKJCSY.js → P7LSYADG.js} +1 -1
- package/dist/cdn/{BRARQOMY.js → PEQUHMTU.js} +1 -1
- package/dist/cdn/{3OLSNMWN.js → PKOJQT4I.js} +1 -1
- package/dist/cdn/{R3C2X4CM.js → PSBOV4IR.js} +1 -1
- package/dist/cdn/{QF2IXVAT.js → PWER63DX.js} +1 -1
- package/dist/cdn/{IEAOGMAM.js → PYPVVSIX.js} +1 -1
- package/dist/cdn/{SNE4DYFB.js → Q2K6BUCN.js} +1 -1
- package/dist/cdn/{232XXYVJ.js → Q3WGKNJH.js} +1 -1
- package/dist/cdn/{KGU32CDZ.js → Q4X6GXRI.js} +1 -1
- package/dist/cdn/{K6P6WBLX.js → QBARJMJE.js} +1 -1
- package/dist/cdn/{IV7RVOFY.js → QH343537.js} +1 -1
- package/dist/cdn/{X3CDW2ME.js → QLX3XORL.js} +1 -1
- package/dist/cdn/{V73HMWMC.js → QPX33Y62.js} +1 -1
- package/dist/cdn/{UH4IH4MC.js → QQYN7RED.js} +1 -1
- package/dist/cdn/{BWRBYYGI.js → QTFTJ4DQ.js} +1 -1
- package/dist/cdn/{CPAUDT36.js → QWNRGCQS.js} +1 -1
- package/dist/cdn/{AUZDYI27.js → R2JOPHL5.js} +1 -1
- package/dist/cdn/{NO74CJDB.js → R4PQI4LJ.js} +1 -1
- package/dist/cdn/{TRIDH4TQ.js → RLYLBYMX.js} +1 -1
- package/dist/cdn/{P2NKBGLG.js → RQIGAX6O.js} +1 -1
- package/dist/cdn/{WRLN7DLT.js → S47SVZPE.js} +1 -1
- package/dist/cdn/{HNFDCPQY.js → S4ZMJ42A.js} +1 -1
- package/dist/cdn/{KFUO64SR.js → SC4UAHYZ.js} +1 -1
- package/dist/cdn/{DBHZRNFR.js → SDX7YG23.js} +1 -1
- package/dist/cdn/{HIGIIHUC.js → SGU3KCZB.js} +1 -1
- package/dist/cdn/{RLV5JHIU.js → SHI2ULEO.js} +1 -1
- package/dist/cdn/{V6VJJHYJ.js → SMN3CVM5.js} +1 -1
- package/dist/cdn/{EJQJPFFI.js → SNZRQPXI.js} +1 -1
- package/dist/cdn/SYISCXZY.js +4 -0
- package/dist/cdn/{PQEOFKJR.js → T6BYV326.js} +4 -4
- package/dist/cdn/{3T3GPK27.js → T6EKXYZA.js} +1 -1
- package/dist/cdn/T6FQ2A4O.js +2 -0
- package/dist/cdn/{JM4BUUFY.js → TLRBE2TZ.js} +1 -1
- package/dist/cdn/{RPBIUBGZ.js → TLY6ZEKN.js} +1 -1
- package/dist/cdn/{IUNUJ6GU.js → TTCTODAR.js} +1 -1
- package/dist/cdn/{B6IICRWD.js → U2LBV6VU.js} +1 -1
- package/dist/cdn/{HRH3YBW4.js → U6DXEFHP.js} +1 -1
- package/dist/cdn/{SRLQU37I.js → UA6XD7SQ.js} +1 -1
- package/dist/cdn/{A4RRYLNO.js → UBPCOTIY.js} +1 -1
- package/dist/cdn/{S4MPBLJP.js → UNBGBQPR.js} +1 -1
- package/dist/cdn/{KVYNN3MF.js → UUIKE2AH.js} +1 -1
- package/dist/cdn/{E5X2RW5Y.js → UUKV62PY.js} +1 -1
- package/dist/cdn/{XA2AVWSV.js → UXN2MYLX.js} +1 -1
- package/dist/cdn/{RCF3ARQ3.js → V74POSPP.js} +1 -1
- package/dist/cdn/{PCP5UFZR.js → V7WSQCQY.js} +1 -1
- package/dist/cdn/VHSGX4DC.js +2 -0
- package/dist/cdn/{6LDTUOZL.js → VHYS3SP3.js} +1 -1
- package/dist/cdn/{B7J5RZIJ.js → VJDUPEFF.js} +1 -1
- package/dist/cdn/{4V4CR63B.js → VNTPM6CQ.js} +1 -1
- package/dist/cdn/{HDRMSU3L.js → VPFXIGOI.js} +1 -1
- package/dist/cdn/{AZDHGEBN.js → VTAQ6NBB.js} +1 -1
- package/dist/cdn/{V3MSUKLX.js → VXGLGWIF.js} +1 -1
- package/dist/cdn/{JQ7K6OQ5.js → W7VD3QDN.js} +1 -1
- package/dist/cdn/{AHYKJXK2.js → WCD4U7UJ.js} +1 -1
- package/dist/cdn/{QX7YVGEN.js → WCXR46D4.js} +1 -1
- package/dist/cdn/{2TR3Y7HD.js → WFIMYIS3.js} +1 -1
- package/dist/cdn/WQHJMFGP.js +2 -0
- package/dist/cdn/{OUNL2UWX.js → WXM3KMEV.js} +1 -1
- package/dist/cdn/{CM5MBWMG.js → X52T6DJT.js} +1 -1
- package/dist/cdn/{NR5ZHMQJ.js → XA3SV62A.js} +1 -1
- package/dist/cdn/{EUPJV6QI.js → XH6MM3RE.js} +1 -1
- package/dist/cdn/{SHGAD5MK.js → XHFFDKEQ.js} +1 -1
- package/dist/cdn/{BFC6PQCO.js → XKEKXTL2.js} +1 -1
- package/dist/cdn/{VYFFJEA4.js → YCIKY6QN.js} +1 -1
- package/dist/cdn/{EDNQFSEX.js → YGWYD3LU.js} +1 -1
- package/dist/cdn/{2BTU374O.js → YUKIKHOU.js} +1 -1
- package/dist/cdn/{W2ZZLJGQ.js → ZBX2SDO5.js} +1 -1
- package/dist/cdn/{WKZOT33F.js → ZI7OWB5M.js} +1 -1
- package/dist/cdn/{LJIX7K76.js → ZNC2XEOJ.js} +1 -1
- package/dist/cdn/{QNRKGTZT.js → ZPEVEBJD.js} +1 -1
- package/dist/cdn/{5ZVSYUD7.js → ZSO2PDMV.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ar.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/solution-builder-assistant.js +3 -3
- package/dist/components/arcgis-solutions-assistant/customElement.js +3 -3
- package/dist/components/buffer-tools/customElement.d.ts +5 -1
- package/dist/components/card-manager/customElement.d.ts +3 -0
- package/dist/components/card-manager/customElement.js +60 -30
- package/dist/components/create-feature/customElement.d.ts +10 -0
- package/dist/components/create-feature/customElement.js +66 -60
- package/dist/components/crowdsource-manager/customElement.js +7 -4
- package/dist/components/layer-table/customElement.d.ts +6 -0
- package/dist/components/layer-table/customElement.js +38 -29
- package/dist/components/map-card/customElement.js +40 -34
- package/dist/components/map-tools/customElement.js +14 -15
- package/dist/components/map-tools/index.js +1 -0
- package/dist/components/solution-details-panel/customElement.js +5 -3
- package/dist/components/solutions-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/lumina.d.ts +5 -0
- package/dist/types/preact.d.ts +5 -0
- package/dist/types/react.d.ts +5 -0
- package/dist/types/stencil.d.ts +5 -0
- package/package.json +1 -1
- package/dist/cdn/2L7O5T7N.js +0 -2
- package/dist/cdn/BPOWO72Z.js +0 -2
- package/dist/cdn/CQQH3XK5.js +0 -2
- package/dist/cdn/DMX66TUK.js +0 -2
- package/dist/cdn/E4ZB3BPD.js +0 -2
- package/dist/cdn/HDTRW7I6.js +0 -4
- package/dist/cdn/HXAKVGDN.js +0 -2
- package/dist/cdn/MG4GXXGQ.js +0 -2
- package/dist/cdn/QPIMTXPL.js +0 -2
- package/dist/cdn/RFRP75GX.js +0 -2
- package/dist/cdn/XOEFU24R.js +0 -2
- package/dist/cdn/ZIDWIYAR.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import f from"./7HJCFDJN.js";import e from"./ZFK6UU3O.js";import d from"./A4RRYLNO.js";import a from"./IEAOGMAM.js";import{a as $,b as C}from"./2B4SGB3I.js";import{b as g}from"./I2NTSKBD.js";import{la as S,ra as k}from"./MSUQVQBX.js";import{a as w}from"./XF5N3NI5.js";import{b as y}from"./2I5LGZNX.js";import{G as _,I as x,J as v,K as c,h as b,i as t,q as r}from"./FFF5HUPM.js";export default $arcgis.t(([{h:h,m:d,t:D,u:I},{a:T,c:O,g:N,r:l},{d:m,h:P,i:u},{a:M}])=>{var U=b`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.solution-deployed-action.padding-bottom-lg,.solution-deployed-action.padding-bottom-1{padding-bottom:0;margin-bottom:var(--calcite-spacing-lg)}.solution-deployed-action.padding-top-1{padding-top:0;margin-top:var(--calcite-spacing-lg)}.chipClass{padding-left:var(--calcite-spacing-sm)!important;padding-right:var(--calcite-spacing-sm)!important}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`,f=class extends _{constructor(){super(),this.diagramKey="",this.open=!1,this.readOnlyNotice="",this.templateInfos=[],this._accordionLoading=!1,this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._hasNewVersion=!1,this._hasSourceSolution=!1,this._isDiagramOpen=!1,this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this.isMobile=!1,this._templateInfoGraph=[],this._thumbnailUrl="",this._folderName="",this._folderId=null,this._folderLoading=!1,this._translations=w({name:"solution-deployed-card-panel",blocking:!0}),this._configContextConsumer=g({context:C,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=O(e.authentication),this._user=e.authentication?.Portal?.user)}}),this._isOrgAdmin=!1,this._isMobileContextConsumer=g({context:$,subscribe:!0,callback:e=>this.isMobile=e}),this.navTabSelected=r(),this.forceSelectTab=r(),this.sortTypeChanged=r(),this.solutionConfigureDialogClose=r(),this._nonSolutionDependencyItems=[],this._openFolder=e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Folder",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]});let i=this._configContextConsumer.value?.orgUrl;if(!i)return;let a=this._configContextConsumer.value?.userSession?.username,n=this.card?.owner===a,o;if(n){let s=this._folderId||this.card?.owner;o=`${i}/home/content.html?folder=${s}`}else this._folderId?o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this._folderId}`:o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this.card?.owner}`;window.open(o,"_blank")},this._openSourceSolutionDetails=async e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=u(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})},this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected),this.listenOn(window,"displayDeployedCard",()=>{D({kind:"success",icon:"check-circle",title:this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title??""),message:"",autoClose:!0,autoCloseDuration:"medium"})}),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,cardRef:1,diagramKey:1,open:5,readOnlyNotice:1,templateInfos:0,_accordionLoading:16,_configureTitlesOpen:16,_deleteDialogOpen:16,_hasNewVersion:16,_hasSourceSolution:16,_isDiagramOpen:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,isMobile:16,_templateInfoGraph:16,_thumbnailUrl:16,_folderName:16,_folderId:16,_folderLoading:16,_translations:16,_nonSolutionDependencyItems:16}}static{this.styles=U}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){if(this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value),this.card?.thumbnailUrl){let e=this._configContextConsumer.value?.userSession,i=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${i}&token=${e?.token}`}}willUpdate(e){if(e.has("card")){let i=this._configContextConsumer.value?.userSession,a=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${a}&token=${i?.token}`,this._folderLoading=!0,this._folderName="",this._folderId=null}}render(){let e=this.card&&this.card.typeKeywords?.includes("AIAssistant");return this.isMobile?t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="background-color-2 padding-top-lg">${this._getSolutionPanel()}</div><div class="background-color-1 margin-top-xxl">${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}${!e&&t`<div class="bottom-border margin-start-end-xxl"></div>`||""}${!e&&this._getSolutionVersionCard()||""}</div>${this._getSolutionContents()}</calcite-panel></calcite-shell>`:t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}${!e&&t`<div class="bottom-border margin-start-end-xxl"></div>`||""}${!e&&this._getSolutionVersionCard()||""}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`}async _deployedCardSelected(e){let i=e.detail;this.card=i.card,this.cardRef=i.cardRef,this.templateInfos=[],this._accordionLoading=!0,this.templateInfos=await this._getTemplates(),this._accordionLoading=!1;let a=await M(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=a._nonSolutionDependencyItems;let n=P(this._configContextConsumer.value?.allCards||[],this.card.deployCommonId);this._hasSourceSolution=!!n;let o=!1;if(n){let s=m(n),p=m(this.card);o=s>p}this._hasNewVersion=o,this._folderLoading=!0,this._folderName="",this._folderId=null,await this._fetchFolderInfo(),this._folderLoading=!1}_handleDeployAppTabSelected(e){e.detail==="deployed-card"&&this.sortTypeChanged.emit("")}_getButtons(){let e=this._configContextConsumer.value?.userSession?.username,i=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution,n=h(this._configContextConsumer.value),o=this.card?.owner===e||this._isOrgAdmin||i,s=this.card?.owner===e||this._isOrgAdmin||a,p=o?"display-none":"",L=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`display-flex flex-direction-column ${L}`}>${!this.isMobile&&t`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._openDiagram} scale=m width=full>${this._translations.viewTheDiagram}</calcite-button>`||""}<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._viewDocumentation} scale=m width=full>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._openItemDetails} scale=m width=full>${this._translations.itemDetails}</calcite-button>${o&&!this.isMobile&&t`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" .disabled=${n} id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog} scale=m width=full>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${x(p)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>`||""}${s&&!this.isMobile&&t`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" .disabled=${n} kind=neutral @click=${this._deleteSolution} scale=m width=full>${this._translations.deleteSolution}</calcite-button>`||""}</div>`}_getReadOnlyNotice(){return t`<calcite-notice class="padding-bottom-lg" icon=exclamation-mark-triangle kind=warning open scale=s><div slot=message .innerHTML=${this.readOnlyNotice??""}></div></calcite-notice>`}_openConfigureTitlesDialog(){this._configureTitlesOpen=!0}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this.templateInfos=await this._getTemplates(),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this._getTemplates()}} .open=${this._configureTitlesOpen} source="Details Page" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page",d(this.card?.typeKeywords)]}),window.open(this.card.learnMoreUrl,"_blank")}_openItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page",d(this.card?.typeKeywords)]}),window.open(this.card.itemUrl,"_blank")}_getOwnerSection(){if(!this._configContextConsumer?.value)return;let e=this.isMobile?"margin-start-end-lg":"margin-start-end-xxl";return t`<div class=${`display-flex padding-bottom-xxl ${e} flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l tabindex=0>${this._translations.aboutYourSolutionOwner}</calcite-label></div><solution-user-avatar .fullname=${this._user?.username===this.card?.owner?this._user?.fullName:void 0} .lookupProfile=${this._user?.username!==this.card?.owner} .thumbnailUrl=${this._user?.username===this.card?.owner?this._user?.thumbnailUrl:void 0} .username=${this.card?.owner}></solution-user-avatar></div>`}async _openDiagram(e){e.stopPropagation();let i=await this._getTemplates();i&&(this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page",d(this.card?.typeKeywords)]}),this._templateInfoGraph=i,this._isDiagramOpen=!0)}async _getTemplates(){return this.cardRef?await this.cardRef.getTemplates():this.card?await T(this.card.id,this._configContextConsumer.value.userSession):void 0}async _fetchFolderInfo(){if(this.card?.id)try{let e=this._configContextConsumer.value?.userSession;if(!e)return;let i=await k(this.card.id,e);if(this._folderId=i.ownerFolder??null,this._folderId){let a=await S(this.card.owner,this._folderId,e);this._folderName=a?.currentFolder?.title||this._folderId}else this._folderName=this.card.owner||"Root"}catch(e){console.error("Error fetching folder info:",e),this._folderId=null,this._folderName=""}}_getFolderSection(){let e=this.isMobile?"padding-lg":"padding-xxl",i=this._folderId?"folder":"home";return t`<div class=${`${e} display-flex flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.folder}</calcite-label><calcite-button appearance=transparent aria-label=${this._translations.openFolder??c} .disabled=${this._folderLoading} kind=neutral icon-start=launch2 @click=${this._openFolder}>${this._translations.openFolder}</calcite-button></div><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center">${this._folderLoading?t`<div class="skeleton-loader skeleton-folder"></div>`:t`<calcite-icon aria-hidden=true class="icon-color" .icon=${i} scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${this._folderName||"Root"}</span></div>`}</div></div></div>`}_getSolutionVersionCard(){let e=this._hasNewVersion?this._translations.newVersionAvailable:this._translations.youHaveTheLatestVersion,i=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`${i} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}",this.card?.deployVersion||"")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon aria-hidden=true class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion?t`<calcite-button appearance=outline-fill class="padding-top-1 solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} scale=m width=full>${this._translations.learnMoreNewVersion}</calcite-button>`:this._hasSourceSolution?t`<calcite-button appearance=outline-fill class="padding-top-1 solution-deployed-action" kind=neutral @click=${this._openSourceSolutionDetails} scale=m width=full>${this._translations.openDetails}</calcite-button>`:null}</div>`}async _openNewVersionSolution(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Latest Version",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=u(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})}_getSolutionPanel(){let e=this.card&&this.card.typeKeywords?.includes("AIAssistant");return t`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title??c} src=${this._thumbnailUrl??c}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1 negative-tabbing-offset" tabindex=0>${this.card?.title}${e&&this._getChips()||""}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><div class="font-1 padding-end-1 line-height-xxl negative-tabbing-offset" tabindex=0>${this.card?.snippet}</div></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color tabbing-offset" layout=inline tabindex=0><calcite-icon aria-hidden=true class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}",this.card?.created||"")}</calcite-label></div></div>${h(this._configContextConsumer.value)&&t`<div class="display-flex flex-direction-row padding-end-xxl" style=${v({paddingTop:"1rem"})}>${this._getReadOnlyNotice()}</div>`||""}</div></div></div></calcite-panel>`}_getSolutionContents(){let e=this.card?I(this._nonSolutionDependencyItems,this.card.id):[];return t`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading?t`<calcite-loader .label=${this._translations.loadingText} scale=m></calcite-loader>`:t`<solution-item-accordion .itemRelationshipDependencies=${e} .listSelectionMode=${e.length>0?"multiple":"single"} .reuseWarning=${this._translations.itemUsedInOtherSolutions} .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${()=>setTimeout(()=>this.navTabSelected.emit({tabType:"deployments"}),100)} @solutionDeleteDialogBeforeClose=${()=>{this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen} source="Details Page"></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")??c} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey!==""?this.diagramKey:this._configContextConsumer.value?.diagramKey??""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_getChips(){return t`<calcite-chip class="chipClass" icon=effects .label=${this._translations.builtWithAI} scale=s>${this._translations.builtWithAI}</calcite-chip>`}async _deleteSolution(){this._deleteDialogOpen=!0}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=N(this._thumbnailUrl,e))}};y("solution-deployed-card-panel",f);return f},a,d,e,f)
|
|
2
|
+
import f from"./KIKSO3OQ.js";import e from"./LSBUPU7F.js";import d from"./UBPCOTIY.js";import a from"./PYPVVSIX.js";import{a as $,b as C}from"./2B4SGB3I.js";import{b as g}from"./I2NTSKBD.js";import{la as S,ra as k}from"./ACTJS4TX.js";import{a as w}from"./XF5N3NI5.js";import{b as y}from"./2I5LGZNX.js";import{G as _,I as x,J as v,K as c,h as b,i as t,q as r}from"./FFF5HUPM.js";export default $arcgis.t(([{h:h,m:d,t:D,u:I},{a:T,c:O,g:N,r:l},{d:m,h:P,i:u},{a:M}])=>{var U=b`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.solution-deployed-action.padding-bottom-lg,.solution-deployed-action.padding-bottom-1{padding-bottom:0;margin-bottom:var(--calcite-spacing-lg)}.solution-deployed-action.padding-top-1{padding-top:0;margin-top:var(--calcite-spacing-lg)}.chipClass{padding-left:var(--calcite-spacing-sm)!important;padding-right:var(--calcite-spacing-sm)!important}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`,f=class extends _{constructor(){super(),this.diagramKey="",this.open=!1,this.readOnlyNotice="",this.templateInfos=[],this._accordionLoading=!1,this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._hasNewVersion=!1,this._hasSourceSolution=!1,this._isDiagramOpen=!1,this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this.isMobile=!1,this._templateInfoGraph=[],this._thumbnailUrl="",this._folderName="",this._folderId=null,this._folderLoading=!1,this._translations=w({name:"solution-deployed-card-panel",blocking:!0}),this._configContextConsumer=g({context:C,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=O(e.authentication),this._user=e.authentication?.Portal?.user)}}),this._isOrgAdmin=!1,this._isMobileContextConsumer=g({context:$,subscribe:!0,callback:e=>this.isMobile=e}),this.navTabSelected=r(),this.forceSelectTab=r(),this.sortTypeChanged=r(),this.solutionConfigureDialogClose=r(),this._nonSolutionDependencyItems=[],this._openFolder=e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Folder",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]});let i=this._configContextConsumer.value?.orgUrl;if(!i)return;let a=this._configContextConsumer.value?.userSession?.username,n=this.card?.owner===a,o;if(n){let s=this._folderId||this.card?.owner;o=`${i}/home/content.html?folder=${s}`}else this._folderId?o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this._folderId}`:o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this.card?.owner}`;window.open(o,"_blank")},this._openSourceSolutionDetails=async e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=u(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})},this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected),this.listenOn(window,"displayDeployedCard",()=>{D({kind:"success",icon:"check-circle",title:this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title??""),message:"",autoClose:!0,autoCloseDuration:"medium"})}),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,cardRef:1,diagramKey:1,open:5,readOnlyNotice:1,templateInfos:0,_accordionLoading:16,_configureTitlesOpen:16,_deleteDialogOpen:16,_hasNewVersion:16,_hasSourceSolution:16,_isDiagramOpen:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,isMobile:16,_templateInfoGraph:16,_thumbnailUrl:16,_folderName:16,_folderId:16,_folderLoading:16,_translations:16,_nonSolutionDependencyItems:16}}static{this.styles=U}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){if(this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value),this.card?.thumbnailUrl){let e=this._configContextConsumer.value?.userSession,i=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${i}&token=${e?.token}`}}willUpdate(e){if(e.has("card")){let i=this._configContextConsumer.value?.userSession,a=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${a}&token=${i?.token}`,this._folderLoading=!0,this._folderName="",this._folderId=null}}render(){let e=this.card&&this.card.typeKeywords?.includes("AIAssistant");return this.isMobile?t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="background-color-2 padding-top-lg">${this._getSolutionPanel()}</div><div class="background-color-1 margin-top-xxl">${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}${!e&&t`<div class="bottom-border margin-start-end-xxl"></div>`||""}${!e&&this._getSolutionVersionCard()||""}</div>${this._getSolutionContents()}</calcite-panel></calcite-shell>`:t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}${!e&&t`<div class="bottom-border margin-start-end-xxl"></div>`||""}${!e&&this._getSolutionVersionCard()||""}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`}async _deployedCardSelected(e){let i=e.detail;this.card=i.card,this.cardRef=i.cardRef,this.templateInfos=[],this._accordionLoading=!0,this.templateInfos=await this._getTemplates(),this._accordionLoading=!1;let a=await M(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=a._nonSolutionDependencyItems;let n=P(this._configContextConsumer.value?.allCards||[],this.card.deployCommonId);this._hasSourceSolution=!!n;let o=!1;if(n){let s=m(n),p=m(this.card);o=s>p}this._hasNewVersion=o,this._folderLoading=!0,this._folderName="",this._folderId=null,await this._fetchFolderInfo(),this._folderLoading=!1}_handleDeployAppTabSelected(e){e.detail==="deployed-card"&&this.sortTypeChanged.emit("")}_getButtons(){let e=this._configContextConsumer.value?.userSession?.username,i=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution,n=h(this._configContextConsumer.value),o=this.card?.owner===e||this._isOrgAdmin||i,s=this.card?.owner===e||this._isOrgAdmin||a,p=o?"display-none":"",L=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`display-flex flex-direction-column ${L}`}>${!this.isMobile&&t`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._openDiagram} scale=m width=full>${this._translations.viewTheDiagram}</calcite-button>`||""}<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._viewDocumentation} scale=m width=full>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" kind=neutral @click=${this._openItemDetails} scale=m width=full>${this._translations.itemDetails}</calcite-button>${o&&!this.isMobile&&t`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" .disabled=${n} id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog} scale=m width=full>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${x(p)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>`||""}${s&&!this.isMobile&&t`<calcite-button appearance=outline-fill class="padding-bottom-1 solution-deployed-action" .disabled=${n} kind=neutral @click=${this._deleteSolution} scale=m width=full>${this._translations.deleteSolution}</calcite-button>`||""}</div>`}_getReadOnlyNotice(){return t`<calcite-notice class="padding-bottom-lg" icon=exclamation-mark-triangle kind=warning open scale=s><div slot=message .innerHTML=${this.readOnlyNotice??""}></div></calcite-notice>`}_openConfigureTitlesDialog(){this._configureTitlesOpen=!0}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this.templateInfos=await this._getTemplates(),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this._getTemplates()}} .open=${this._configureTitlesOpen} source="Details Page" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page",d(this.card?.typeKeywords)]}),window.open(this.card.learnMoreUrl,"_blank")}_openItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page",d(this.card?.typeKeywords)]}),window.open(this.card.itemUrl,"_blank")}_getOwnerSection(){if(!this._configContextConsumer?.value)return;let e=this.isMobile?"margin-start-end-lg":"margin-start-end-xxl";return t`<div class=${`display-flex padding-bottom-xxl ${e} flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l tabindex=0>${this._translations.aboutYourSolutionOwner}</calcite-label></div><solution-user-avatar .fullname=${this._user?.username===this.card?.owner?this._user?.fullName:void 0} .lookupProfile=${this._user?.username!==this.card?.owner} .thumbnailUrl=${this._user?.username===this.card?.owner?this._user?.thumbnailUrl:void 0} .username=${this.card?.owner}></solution-user-avatar></div>`}async _openDiagram(e){e.stopPropagation();let i=await this._getTemplates();i&&(this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page",d(this.card?.typeKeywords)]}),this._templateInfoGraph=i,this._isDiagramOpen=!0)}async _getTemplates(){return this.cardRef?await this.cardRef.getTemplates():this.card?await T(this.card.id,this._configContextConsumer.value.userSession):void 0}async _fetchFolderInfo(){if(this.card?.id)try{let e=this._configContextConsumer.value?.userSession;if(!e)return;let i=await k(this.card.id,e);if(this._folderId=i.ownerFolder??null,this._folderId){let a=await S(this.card.owner,this._folderId,e);this._folderName=a?.currentFolder?.title||this._folderId}else this._folderName=this.card.owner||"Root"}catch(e){console.error("Error fetching folder info:",e),this._folderId=null,this._folderName=""}}_getFolderSection(){let e=this.isMobile?"padding-lg":"padding-xxl",i=this._folderId?"folder":"home";return t`<div class=${`${e} display-flex flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.folder}</calcite-label><calcite-button appearance=transparent aria-label=${this._translations.openFolder??c} .disabled=${this._folderLoading} kind=neutral icon-start=launch2 @click=${this._openFolder}>${this._translations.openFolder}</calcite-button></div><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center">${this._folderLoading?t`<div class="skeleton-loader skeleton-folder"></div>`:t`<calcite-icon aria-hidden=true class="icon-color" .icon=${i} scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${this._folderName||"Root"}</span></div>`}</div></div></div>`}_getSolutionVersionCard(){let e=this._hasNewVersion?this._translations.newVersionAvailable:this._translations.youHaveTheLatestVersion,i=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`${i} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}",this.card?.deployVersion||"")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon aria-hidden=true class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion?t`<calcite-button appearance=outline-fill class="padding-top-1 solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} scale=m width=full>${this._translations.learnMoreNewVersion}</calcite-button>`:this._hasSourceSolution?t`<calcite-button appearance=outline-fill class="padding-top-1 solution-deployed-action" kind=neutral @click=${this._openSourceSolutionDetails} scale=m width=full>${this._translations.openDetails}</calcite-button>`:null}</div>`}async _openNewVersionSolution(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Latest Version",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=u(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})}_getSolutionPanel(){let e=this.card&&this.card.typeKeywords?.includes("AIAssistant");return t`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title??c} src=${this._thumbnailUrl??c}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1 negative-tabbing-offset" tabindex=0>${this.card?.title}${e&&this._getChips()||""}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><div class="font-1 padding-end-1 line-height-xxl negative-tabbing-offset" tabindex=0>${this.card?.snippet}</div></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color tabbing-offset" layout=inline tabindex=0><calcite-icon aria-hidden=true class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}",this.card?.created||"")}</calcite-label></div></div>${h(this._configContextConsumer.value)&&t`<div class="display-flex flex-direction-row padding-end-xxl" style=${v({paddingTop:"1rem"})}>${this._getReadOnlyNotice()}</div>`||""}</div></div></div></calcite-panel>`}_getSolutionContents(){let e=this.card?I(this._nonSolutionDependencyItems,this.card.id):[];return t`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading?t`<calcite-loader .label=${this._translations.loadingText} scale=m></calcite-loader>`:t`<solution-item-accordion .itemRelationshipDependencies=${e} .listSelectionMode=${e.length>0?"multiple":"single"} .reuseWarning=${this._translations.itemUsedInOtherSolutions} .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${()=>setTimeout(()=>this.navTabSelected.emit({tabType:"deployments"}),100)} @solutionDeleteDialogBeforeClose=${()=>{this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen} source="Details Page"></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")??c} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey!==""?this.diagramKey:this._configContextConsumer.value?.diagramKey??""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_getChips(){return t`<calcite-chip class="chipClass" icon=effects .label=${this._translations.builtWithAI} scale=s>${this._translations.builtWithAI}</calcite-chip>`}async _deleteSolution(){this._deleteDialogOpen=!0}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=N(this._thumbnailUrl,e))}};y("solution-deployed-card-panel",f);return f},a,d,e,f)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./UNBGBQPR.js";import b from"./UBPCOTIY.js";import a from"./PYPVVSIX.js";import"./2B4SGB3I.js";import"./I2NTSKBD.js";import"./ACTJS4TX.js";import"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./2I5LGZNX.js";import"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{b as u}from"./2I5LGZNX.js";import{E as l,F as p,G as d,h,i as n}from"./FFF5HUPM.js";import"./
|
|
2
|
+
import{b as u}from"./2I5LGZNX.js";import{E as l,F as p,G as d,h,i as n}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([g])=>{var y=h`:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`,i=class extends d{constructor(){super(...arguments),this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchTerm="",this.searchComponent=l()}static{this.properties={mapView:0,popupEnabled:5,resultGraphicEnabled:5,searchConfiguration:0,searchTerm:1,searchComponent:0}}static{this.styles=y}render(){let r=this.searchConfiguration&&this.mapView?this._getSearchConfig(this.searchConfiguration,this.mapView):void 0;return this.mapView&&n`<arcgis-search auto-destroy-disabled class="search-widget" .view=${this.mapView} .popupDisabled=${!this.popupEnabled} .resultGraphicDisabled=${!this.resultGraphicEnabled} .sources=${r?.sources} .searchTerm=${this.searchTerm} ${p(this.searchComponent)}></arcgis-search>`||""}_getSearchConfig(r,m){let f="includeDefaultSources",a=r.sources;return a&&a?.length>0?(r[f]=!1,a.forEach(s=>{if(s.hasOwnProperty("layer")){let e=s,t=e.layer?.id,o=t?m.map?.findLayerById(t):null,c=e?.layer?.url;o?e.layer=o:c&&(e.layer=new g(c))}}),a?.forEach(s=>{if(s.hasOwnProperty("locator")){let e=s;if(e?.name==="ArcGIS World Geocoding Service"){let t=e.outFields||["Addr_type","Match_addr","StAddr","City"];e.outFields=t,e.singleLineFieldName="SingleLine"}e.url=e.url,delete e.url}})):r={...r,includeDefaultSources:!0},r}};u("map-search",i);return i},"layers/FeatureLayer")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a,b}from"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./YF26KIY5.js";import"./
|
|
2
|
+
import{a,b}from"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./YF26KIY5.js";import"./EXBEKVP5.js";export{a as EventEditorTypes,b as buildSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{b as c}from"./HVT2WBVC.js";import{E as r,F as u,G as l,h as n,i}from"./FFF5HUPM.js";import"./
|
|
2
|
+
import{b as c}from"./HVT2WBVC.js";import{E as r,F as u,G as l,h as n,i}from"./FFF5HUPM.js";import"./EXBEKVP5.js";var o=n`:host{display:block;margin-block-start:var(--padding)}[role=group],li{display:grid;grid-template-columns:1fr auto}[role=group]{align-items:end;gap:var(--padding);calcite-label{--calcite-label-margin-bottom: 0}calcite-button{height:32px;margin-block:var(--add-btn-margin, 0)}}ol,li{list-style:none;padding:0;margin:0}ol{border:var(--border-style);margin-block-start:var(--padding)}li{align-items:center;padding-inline-start:var(--padding);&:not(:last-child){border-bottom:var(--border-style)}span{color:inherit;font-size:inherit;font-weight:var(--calcite-font-weight-normal)}calcite-button{--calcite-icon-color: var(--calcite-color-text-3);width:var(--close-button-size);height:var(--close-button-size)}}`;function f(a){return i`<li class="buffer-distance-value"><span>${a.value}</span><calcite-button kind=neutral appearance=transparent scale=s @click=${a.onRemoveClick} .label=${a.removeValueLabel}><calcite-icon icon=x scale=s></calcite-icon></calcite-button></li>`}var s=class extends l{constructor(){super(...arguments),this.#e=r(),this.#t=3,this.inputNumberInvalid=!1,this._uniqueDistanceValues=new Set,this.showMissingDistanceValueErrorMessage=!1}static{this.properties={inputNumberInvalid:16,_uniqueDistanceValues:16,distanceValuesSorted:32,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,labels:0,showMissingDistanceValueErrorMessage:5}}static{this.styles=o}#e;#t;#i;#a;#s;#n;get distanceValuesSorted(){return[...this._uniqueDistanceValues].sort((e,t)=>e-t)}get bufferInputStep(){return this.#n}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this.#n=e}get bufferDistance(){return this.#i}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this.#i=e}get bufferMinDistance(){return this.#a}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this.#a=e}get bufferMaxDistance(){return this.#s}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this.#s=e}clearDistanceValues(){this._uniqueDistanceValues.size&&(this._uniqueDistanceValues=new Set([]))}maybeAddDistanceValue(){this.bufferDistance&&this._uniqueDistanceValues.size<this.#t&&(this.showMissingDistanceValueErrorMessage=!1,this._uniqueDistanceValues=new Set([...this._uniqueDistanceValues,this.bufferDistance]))}_handleNumberInputValidity(){let e=this.#e.value,t=Number(e?.value);Number.isNaN(t)||!t?this.inputNumberInvalid=!0:this.inputNumberInvalid=!1}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_removeDistanceValue(e){this._uniqueDistanceValues.size&&(this._uniqueDistanceValues.delete(e),this._uniqueDistanceValues=new Set(this._uniqueDistanceValues))}_getRemoveValueLabel(e){return this.labels.removeDistanceValue.replace("{number}",`${e}`)}_onBufferDistanceInputInput(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_renderMissingDistanceValueErrorMessage(){return this.showMissingDistanceValueErrorMessage?i`<calcite-input-message icon=exclamation-mark-triangle status=invalid style="margin-top: 1rem;">${this.labels.missingDistanceValue}</calcite-input-message>`:null}_renderDistanceValuesList(){return this._uniqueDistanceValues.size?i`<ol role=list>${this.distanceValuesSorted.map(e=>f({value:e,removeValueLabel:this._getRemoveValueLabel(e),onRemoveClick:()=>this._removeDistanceValue(e)}))}</ol>`:null}render(){let e=this.inputNumberInvalid?"auto":0;return i`<div style=${`--add-btn-margin: ${e}`}><div role=group><calcite-label><span>${this.labels.distance}</span><calcite-input-number .value=${this.bufferDistance.toString()} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} @calciteInputNumberInput=${this._onBufferDistanceInputInput} @blur=${this._handleNumberInputValidity} .validationMessage=${this.labels.distanceValueValidation} validation-icon=exclamation-mark-triangle .status=${this.inputNumberInvalid?"invalid":"idle"} ${u(this.#e)}></calcite-input-number></calcite-label><calcite-button icon-start=plus @click=${this.maybeAddDistanceValue} appearance=outline>${this.labels.add}</calcite-button></div>${this._renderMissingDistanceValueErrorMessage()}${this._renderDistanceValuesList()}</div>`}};c("instant-apps-buffer-distance-manager",s);export{s as InstantAppsBufferDistanceManager};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./EXBEKVP5.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as s}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./
|
|
2
|
+
import{a as s}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./EXBEKVP5.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a,b}from"./MPGXSCG5.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./
|
|
2
|
+
import{a,b}from"./MPGXSCG5.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./EXBEKVP5.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as S}from"./7VD3Y4IF.js";import{a as _}from"./BM4VSEDV.js";import{b as L}from"./HVT2WBVC.js";import{d as w}from"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{E as l,F as o,G as v,h as y,i as c,q as p}from"./FFF5HUPM.js";import"./QPIMTXPL.js";export default $arcgis.t(([b,B,V,k,{execute:A},{formatNumber:D,prefersRTL:x,getLocale:I,convertNumberFormatToIntlOptions:O},E,R,u,U,T,C])=>{var z=y`:host{--default-width: 375px;--width: var(--default-width);--padding: 10px;--border-style: 1px solid var(--calcite-color-border-1);--calcite-icon-color: var(--calcite-color-text-3);display:block;background:var(--background-color, var(--calcite-color-foreground-1));color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1);box-sizing:border-box}::slotted(arcgis-sketch),::slotted(arcgis-search){display:flex;justify-content:center;align-items:center}::slotted(arcgis-sketch){--calcite-action-bar-shadow: none;--calcite-action-bar-corner-radius: none;--calcite-action-group-border-color: var(--calcite-color-border-1)}::slotted(arcgis-search){width:100%;padding:var(--padding)}[hidden]{display:none}[role=dialog]{width:var(--width);>*{padding-inline:var(--padding)}}header calcite-input-message{margin-block-end:var(--calcite-spacing-lg)}h2{color:inherit;font-size:inherit;font-weight:var(--calcite-font-weight-medium);line-height:1;margin-block:var(--padding);padding-block-end:var(--calcite-spacing-md);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1)}.border-bottom{height:1px;border-bottom:var(--border-style)}calcite-label:first-of-type span{padding-block-start:var(--padding)}.buffer-labels-label{margin-block:var(--padding);>span{display:flex;justify-content:space-between;width:100%}}.main-buttons-wrapper{display:flex;flex-direction:column;gap:var(--padding);padding-block:var(--padding)}`,F=O({places:1,digitSeparator:!0});function P({bufferDistance:s,bufferGraphic:e,bufferUnit:t,unitsAbbrLookup:i,view:a}){try{let n=W(s,t,i),r=j(n,a.type==="3d"),h=q(e.geometry);return new k({symbol:r,geometry:h})}catch(n){console.error(String(n))}}function W(s,e,t){let i=t[e],a=D(s,F);return x(I())?`${i} ${a}`:`${a} ${i}`}function j(s,e){return e?new R({verticalOffset:{screenLength:40,maxWorldLength:60,minWorldLength:20},symbolLayers:[new E({font:{size:12,family:"sans-serif"},text:s,halo:{color:[0,0,0],size:1},material:{color:"white"},size:12})]}):new V({color:"white",haloColor:"black",haloSize:"1px",text:s,xoffset:0,yoffset:30,font:{size:12,family:"sans-serif"}})}function q(s){try{return A(s)}catch(e){console.error(String(e))}}var d={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(s,e){return new T({geometry:s,symbol:e})}async function $({graphic:s,distance:e,unit:t,isGeodesic:i}){i&&!u.isLoaded()&&await u.load();let a=i?u:U;try{let n={unit:t},r=a.execute(s.geometry,e,n);if(!r)throw new Error("buffer failed");return r}catch(n){console.error(String(n))}}async function N({graphic:s,unit:e,isGeodesic:t,distanceValues:i}){let a=0,n=s,r=[];for(;a<i.length;){let h=i[a],f=await $({graphic:s,distance:h,unit:e,isGeodesic:t});if(!f)continue;let m=C.execute(f,n.geometry);m&&r.push(m),n=M(f,s.symbol),a++}return r}function G(s){let e=s?.assignedElements?.({flatten:!0});if(e?.length)return e.at(0)}var J=["meters","kilometers","miles","yards","feet","us-feet"],g=class extends v{constructor(){super(),this._messages=_({name:"instant-apps-buffer",blocking:!0}),this.#t=l(),this.#e=l(),this.#s=l(),this.#a=l(),this.#r=l(),this.inputMethod="select-feature",this.bufferLabelsVisible=!1,this.inputGraphics=[],this.bufferUnit="miles",this.bufferInputStep=1,this.bufferDistance=1,this.bufferMinDistance=.1,this.bufferMaxDistance=1e6,this.geodesicBufferEnabled=!1,this.bufferColor=d.color,this.bufferStyle=d.style,this.bufferOutlineColor=d.outline.color,this.bufferOutlineWidth=d.outline.width,this.elevationInfoMode="on-the-ground",this.arcgisPropertyChange=w()("inputMethod","inputGraphics"),this.arcgisBufferCreate=p(),this.arcgisBufferClear=p(),this.bufferLayer=new b({title:"buffer-graphics",listMode:"hide"}),this.bufferLabelsLayer=new b({title:"buffer-graphics-labels",visible:this.bufferLabelsVisible,listMode:"hide"}),this.miscGraphicsLayer=new b({title:"misc-graphics",listMode:"hide"}),this.listen("calciteRadioButtonGroupChange",this._handleBufferInputChange),this.listen("arcgisCreate",this._handleArcgisSketchEventCreate),this.listen("arcgisDelete",this._handleArcgisSketchEventDelete),this.listen("arcgisSearchClear",this._handleArcgisSearchClear),this.listen("arcgisSelectResult",this._handleArcgisSearchSelect),this.listen("arcgisPropertyChange",this._onArcgisPropertyChange)}static{this.properties={inputMethod:131,bufferLayer:0,bufferLabelsLayer:0,miscGraphicsLayer:0,bufferLabelsVisible:135,inputGraphics:0,view:0,sources:0,bufferUnit:131,bufferInputStep:139,bufferDistance:139,distanceValuesSorted:32,bufferMinDistance:139,bufferMaxDistance:139,geodesicBufferEnabled:135,readyToBuffer:32,bufferColor:0,bufferStyle:1,bufferOutlineColor:0,bufferOutlineWidth:9,bufferGraphicSymbol:32,elevationInfoMode:1}}static{this.styles=z}#t;#e;#s;#a;#r;get#i(){let e=this.#a.value;return G(e)}get#n(){let e=this.#r.value;return G(e)}get distanceValuesSorted(){return this.#s.value?.distanceValuesSorted||[]}get readyToBuffer(){return!!this.view&&!!this.bufferLayer&&!!this.inputGraphics?.length&&!!this.distanceValuesSorted?.length}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new B({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){this.#t.value&&await this.#t.value.setFocus()}async setSelectionInput(e){let t=e.clone();this.inputMethod="select-feature",await this.updateComplete,await this.#e.value?.componentOnReady(),this.miscGraphicsLayer?.add(t),this.#e.value?.selectionManager?.add(this.miscGraphicsLayer,[t]),await this.updateComplete,await new Promise(i=>window.requestAnimationFrame(i)),this.inputGraphics=[t]}async setAddedBufferDistance(){let e=this.#s.value;await e.componentOnReady(),e.clearDistanceValues(),await e.updateComplete,e.bufferDistance=this.bufferDistance,e.maybeAddDistanceValue()}async cancelActiveSelection(){let e=this.#e.value;e&&e.toolbarState==="active"&&(await e.componentOnReady(),e.selectionToolbarViewModel?.cancel(),e.enabledTool=null)}async cancelSketchAction(){let e=this.#i;e&&e.state==="active"&&(await e.componentOnReady(),await e.cancel())}willUpdate(e){this.view&&this.view.type==="3d"&&(e.has("view")||e.has("elevationInfoMode"))&&(this.bufferLayer.elevationInfo={mode:this.elevationInfoMode}),e.has("bufferLabelsVisible")&&this.bufferLabelsLayer&&(this.bufferLabelsLayer.visible=this.bufferLabelsVisible),e.has("view")&&this.view&&this.view!==e.get("view")&&this.view.when().then(()=>{this.view.map&&!this.view.map.layers.includes(this.miscGraphicsLayer)&&this.view.map.add(this.miscGraphicsLayer)}),e.has("sources")&&this.sources&&(this.sources?.includes(this.miscGraphicsLayer)||this.sources.add(this.miscGraphicsLayer))}_handleBufferInputChange(){let e=(this.#t.value.shadowRoot?.querySelector("calcite-radio-button-group")).selectedItem.value;this.inputMethod=e}_handleArcgisSketchEventCreate(e){e.detail.state==="complete"&&this._assignInputGraphicsFromArcgisSketch()}_handleArcgisSketchEventDelete(e){this._assignInputGraphicsFromArcgisSketch()}_assignInputGraphicsFromArcgisSketch(){this.#i&&(this.inputGraphics=[...this.#i?.layer?.graphics?.toArray()??[]])}async _handleArcgisSearchSelect(){let e=this.#n.resultGraphic;e&&(this.inputGraphics=[e.clone()])}_handleArcgisSearchClear(){this.inputGraphics=[]}async _handleSelectionChange(e){this._getSelectedGraphics(),this._maybeClearMiscGraphicsOnDeselect(e)}async _getSelectedGraphics(){let e=await this.#e.value.getSelectedFeatures(),t=[];for(let i of e)t=[...t,...i.data.features];this.inputGraphics=t}_maybeClearMiscGraphicsOnDeselect(e){if(!e.detail?.changes?.length)return;let{changes:t}=e.detail;t.some(({removed:i,layer:a})=>i?.length&&a===this.miscGraphicsLayer)&&this._clearMiscGraphicsLayer()}_clearMiscGraphicsLayer(){this.miscGraphicsLayer?.graphics?.removeAll()}_onLabelsSwitchChange(e){this.bufferLabelsVisible=e.target.checked}_clearBufferLayer(){this.bufferLayer?.removeAll()}_clearBufferLabelsLayer(){this.bufferLabelsLayer?.removeAll()}async _onCreateBufferClick(){console.log("readyToBuffer: ",this.readyToBuffer),this._handleBufferValidation(),await this._bufferInputGraphics()}_handleBufferValidation(){this._handleBufferInputValidation(),this._handleBufferDistanceValidation()}_handleBufferInputValidation(){let e=this.#t.value;e&&(this.inputGraphics.length?e.showErrorMessage=!1:e.showErrorMessage=!0)}_handleBufferDistanceValidation(){let e=this.#s.value;e&&(this.distanceValuesSorted.length?e.showMissingDistanceValueErrorMessage=!1:e.showMissingDistanceValueErrorMessage=!0)}_clearAllGraphics(){this.inputGraphics=[],this._clearBufferLayer(),this._clearBufferLabelsLayer(),this._clearMiscGraphicsLayer(),this.#e?.value?.clearSelection?.(),this.#n?.clear?.(),this.#i?.cancel?.(),this.#i?.delete?.(),this.#i?.layer?.removeAll?.(),this.arcgisBufferClear.emit()}_onArcgisPropertyChange(e){e.detail.name==="inputGraphics"&&this.inputGraphics.length&&this._handleBufferInputValidation()}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}async _bufferInputGraphics(){if(!this.readyToBuffer)return;this.view.map?.layers.includes(this.bufferLayer)?this.bufferLayer.removeAll():this.view.map.add(this.bufferLayer),this.view.map?.layers.includes(this.bufferLabelsLayer)?this.bufferLabelsLayer.removeAll():this.view.map.add(this.bufferLabelsLayer);let e=[];for(let a of this.inputGraphics){let n={graphic:a,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled},r;this.distanceValuesSorted.length>1&&(r=N({...n,distanceValues:this.distanceValuesSorted})),this.distanceValuesSorted?.length===1&&(r=$({...n,distance:this.distanceValuesSorted[0]})),e.push(r)}let t=this.bufferGraphicSymbol,i=await Promise.all(e).catch(a=>console.error(String(a)));if(i&&i?.length){let a=i.flat().filter(r=>!!r).map(r=>M(r,t)),n=a.map((r,h)=>{let f=this.distanceValuesSorted[h%this.distanceValuesSorted.length];return P({bufferGraphic:r,bufferDistance:f,bufferUnit:this.bufferUnit,view:this.view,unitsAbbrLookup:this._messages.unitsAbbr})});this.bufferLayer.addMany(a),this.bufferLabelsLayer.addMany(n),this.arcgisBufferCreate.emit()}}_renderInputMethod(){return this.inputMethod==="select-feature"?c`<instant-apps-selection-toolbar .view=${this.view} .sources=${this.sources} @selectionChange=${this._handleSelectionChange} continuous-selection-enabled selection-operation-type=add ${o(this.#e)}></instant-apps-selection-toolbar>`:this.inputMethod==="draw-graphic"?c`<slot name=arcgis-sketch ${o(this.#a)}></slot>`:this.inputMethod==="search-location"?c`<slot name=arcgis-search ${o(this.#r)}></slot>`:null}render(){return c`<div role=dialog aria-labelledby=buffer-title><header><h2 id=buffer-title>${this._messages.title}</h2><calcite-input-message icon=information>${this._messages.labels.helpText}</calcite-input-message></header><instant-apps-buffer-input-radiogroup .labels=${this._messages.inputRadioButtonLabels} .selectedValue=${this.inputMethod} ${o(this.#t)}></instant-apps-buffer-input-radiogroup>${this._renderInputMethod()}<instant-apps-buffer-distance-manager .bufferDistance=${this.bufferDistance} .bufferInputStep=${this.bufferInputStep} .bufferMinDistance=${this.bufferMinDistance} .bufferMaxDistance=${this.bufferMaxDistance} .labels=${this._messages.labels} ${o(this.#s)}></instant-apps-buffer-distance-manager><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange}>${S(J,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><calcite-label class="buffer-labels-label" layout=inline><span><span>${this._messages.labels.showDistanceLabel}</span><calcite-switch .checked=${this.bufferLabelsVisible} @calciteSwitchChange=${this._onLabelsSwitchChange}></calcite-switch></span></calcite-label><div class="main-buttons-wrapper"><calcite-button @click=${this._onCreateBufferClick}>${this._messages.labels.draw}</calcite-button><calcite-button appearance=outline @click=${this._clearAllGraphics}>${this._messages.labels.clear}</calcite-button></div></div>`}};L("instant-apps-buffer",g);return g},"layers/GraphicsLayer","symbols/SimpleFillSymbol","symbols/TextSymbol","Graphic","geometry/operators/labelPointOperator","intl","symbols/TextSymbol3DLayer","symbols/PointSymbol3D","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic","geometry/operators/differenceOperator")
|
|
2
|
+
import{a as S}from"./7VD3Y4IF.js";import{a as _}from"./BM4VSEDV.js";import{b as L}from"./HVT2WBVC.js";import{d as w}from"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{E as l,F as o,G as v,h as y,i as c,q as p}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([b,B,V,k,{execute:A},{formatNumber:D,prefersRTL:x,getLocale:I,convertNumberFormatToIntlOptions:O},E,R,u,U,T,C])=>{var z=y`:host{--default-width: 375px;--width: var(--default-width);--padding: 10px;--border-style: 1px solid var(--calcite-color-border-1);--calcite-icon-color: var(--calcite-color-text-3);display:block;background:var(--background-color, var(--calcite-color-foreground-1));color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1);box-sizing:border-box}::slotted(arcgis-sketch),::slotted(arcgis-search){display:flex;justify-content:center;align-items:center}::slotted(arcgis-sketch){--calcite-action-bar-shadow: none;--calcite-action-bar-corner-radius: none;--calcite-action-group-border-color: var(--calcite-color-border-1)}::slotted(arcgis-search){width:100%;padding:var(--padding)}[hidden]{display:none}[role=dialog]{width:var(--width);>*{padding-inline:var(--padding)}}header calcite-input-message{margin-block-end:var(--calcite-spacing-lg)}h2{color:inherit;font-size:inherit;font-weight:var(--calcite-font-weight-medium);line-height:1;margin-block:var(--padding);padding-block-end:var(--calcite-spacing-md);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1)}.border-bottom{height:1px;border-bottom:var(--border-style)}calcite-label:first-of-type span{padding-block-start:var(--padding)}.buffer-labels-label{margin-block:var(--padding);>span{display:flex;justify-content:space-between;width:100%}}.main-buttons-wrapper{display:flex;flex-direction:column;gap:var(--padding);padding-block:var(--padding)}`,F=O({places:1,digitSeparator:!0});function P({bufferDistance:s,bufferGraphic:e,bufferUnit:t,unitsAbbrLookup:i,view:a}){try{let n=W(s,t,i),r=j(n,a.type==="3d"),h=q(e.geometry);return new k({symbol:r,geometry:h})}catch(n){console.error(String(n))}}function W(s,e,t){let i=t[e],a=D(s,F);return x(I())?`${i} ${a}`:`${a} ${i}`}function j(s,e){return e?new R({verticalOffset:{screenLength:40,maxWorldLength:60,minWorldLength:20},symbolLayers:[new E({font:{size:12,family:"sans-serif"},text:s,halo:{color:[0,0,0],size:1},material:{color:"white"},size:12})]}):new V({color:"white",haloColor:"black",haloSize:"1px",text:s,xoffset:0,yoffset:30,font:{size:12,family:"sans-serif"}})}function q(s){try{return A(s)}catch(e){console.error(String(e))}}var d={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(s,e){return new T({geometry:s,symbol:e})}async function $({graphic:s,distance:e,unit:t,isGeodesic:i}){i&&!u.isLoaded()&&await u.load();let a=i?u:U;try{let n={unit:t},r=a.execute(s.geometry,e,n);if(!r)throw new Error("buffer failed");return r}catch(n){console.error(String(n))}}async function N({graphic:s,unit:e,isGeodesic:t,distanceValues:i}){let a=0,n=s,r=[];for(;a<i.length;){let h=i[a],f=await $({graphic:s,distance:h,unit:e,isGeodesic:t});if(!f)continue;let m=C.execute(f,n.geometry);m&&r.push(m),n=M(f,s.symbol),a++}return r}function G(s){let e=s?.assignedElements?.({flatten:!0});if(e?.length)return e.at(0)}var J=["meters","kilometers","miles","yards","feet","us-feet"],g=class extends v{constructor(){super(),this._messages=_({name:"instant-apps-buffer",blocking:!0}),this.#t=l(),this.#e=l(),this.#s=l(),this.#a=l(),this.#r=l(),this.inputMethod="select-feature",this.bufferLabelsVisible=!1,this.inputGraphics=[],this.bufferUnit="miles",this.bufferInputStep=1,this.bufferDistance=1,this.bufferMinDistance=.1,this.bufferMaxDistance=1e6,this.geodesicBufferEnabled=!1,this.bufferColor=d.color,this.bufferStyle=d.style,this.bufferOutlineColor=d.outline.color,this.bufferOutlineWidth=d.outline.width,this.elevationInfoMode="on-the-ground",this.arcgisPropertyChange=w()("inputMethod","inputGraphics"),this.arcgisBufferCreate=p(),this.arcgisBufferClear=p(),this.bufferLayer=new b({title:"buffer-graphics",listMode:"hide"}),this.bufferLabelsLayer=new b({title:"buffer-graphics-labels",visible:this.bufferLabelsVisible,listMode:"hide"}),this.miscGraphicsLayer=new b({title:"misc-graphics",listMode:"hide"}),this.listen("calciteRadioButtonGroupChange",this._handleBufferInputChange),this.listen("arcgisCreate",this._handleArcgisSketchEventCreate),this.listen("arcgisDelete",this._handleArcgisSketchEventDelete),this.listen("arcgisSearchClear",this._handleArcgisSearchClear),this.listen("arcgisSelectResult",this._handleArcgisSearchSelect),this.listen("arcgisPropertyChange",this._onArcgisPropertyChange)}static{this.properties={inputMethod:131,bufferLayer:0,bufferLabelsLayer:0,miscGraphicsLayer:0,bufferLabelsVisible:135,inputGraphics:0,view:0,sources:0,bufferUnit:131,bufferInputStep:139,bufferDistance:139,distanceValuesSorted:32,bufferMinDistance:139,bufferMaxDistance:139,geodesicBufferEnabled:135,readyToBuffer:32,bufferColor:0,bufferStyle:1,bufferOutlineColor:0,bufferOutlineWidth:9,bufferGraphicSymbol:32,elevationInfoMode:1}}static{this.styles=z}#t;#e;#s;#a;#r;get#i(){let e=this.#a.value;return G(e)}get#n(){let e=this.#r.value;return G(e)}get distanceValuesSorted(){return this.#s.value?.distanceValuesSorted||[]}get readyToBuffer(){return!!this.view&&!!this.bufferLayer&&!!this.inputGraphics?.length&&!!this.distanceValuesSorted?.length}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new B({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){this.#t.value&&await this.#t.value.setFocus()}async setSelectionInput(e){let t=e.clone();this.inputMethod="select-feature",await this.updateComplete,await this.#e.value?.componentOnReady(),this.miscGraphicsLayer?.add(t),this.#e.value?.selectionManager?.add(this.miscGraphicsLayer,[t]),await this.updateComplete,await new Promise(i=>window.requestAnimationFrame(i)),this.inputGraphics=[t]}async setAddedBufferDistance(){let e=this.#s.value;await e.componentOnReady(),e.clearDistanceValues(),await e.updateComplete,e.bufferDistance=this.bufferDistance,e.maybeAddDistanceValue()}async cancelActiveSelection(){let e=this.#e.value;e&&e.toolbarState==="active"&&(await e.componentOnReady(),e.selectionToolbarViewModel?.cancel(),e.enabledTool=null)}async cancelSketchAction(){let e=this.#i;e&&e.state==="active"&&(await e.componentOnReady(),await e.cancel())}willUpdate(e){this.view&&this.view.type==="3d"&&(e.has("view")||e.has("elevationInfoMode"))&&(this.bufferLayer.elevationInfo={mode:this.elevationInfoMode}),e.has("bufferLabelsVisible")&&this.bufferLabelsLayer&&(this.bufferLabelsLayer.visible=this.bufferLabelsVisible),e.has("view")&&this.view&&this.view!==e.get("view")&&this.view.when().then(()=>{this.view.map&&!this.view.map.layers.includes(this.miscGraphicsLayer)&&this.view.map.add(this.miscGraphicsLayer)}),e.has("sources")&&this.sources&&(this.sources?.includes(this.miscGraphicsLayer)||this.sources.add(this.miscGraphicsLayer))}_handleBufferInputChange(){let e=(this.#t.value.shadowRoot?.querySelector("calcite-radio-button-group")).selectedItem.value;this.inputMethod=e}_handleArcgisSketchEventCreate(e){e.detail.state==="complete"&&this._assignInputGraphicsFromArcgisSketch()}_handleArcgisSketchEventDelete(e){this._assignInputGraphicsFromArcgisSketch()}_assignInputGraphicsFromArcgisSketch(){this.#i&&(this.inputGraphics=[...this.#i?.layer?.graphics?.toArray()??[]])}async _handleArcgisSearchSelect(){let e=this.#n.resultGraphic;e&&(this.inputGraphics=[e.clone()])}_handleArcgisSearchClear(){this.inputGraphics=[]}async _handleSelectionChange(e){this._getSelectedGraphics(),this._maybeClearMiscGraphicsOnDeselect(e)}async _getSelectedGraphics(){let e=await this.#e.value.getSelectedFeatures(),t=[];for(let i of e)t=[...t,...i.data.features];this.inputGraphics=t}_maybeClearMiscGraphicsOnDeselect(e){if(!e.detail?.changes?.length)return;let{changes:t}=e.detail;t.some(({removed:i,layer:a})=>i?.length&&a===this.miscGraphicsLayer)&&this._clearMiscGraphicsLayer()}_clearMiscGraphicsLayer(){this.miscGraphicsLayer?.graphics?.removeAll()}_onLabelsSwitchChange(e){this.bufferLabelsVisible=e.target.checked}_clearBufferLayer(){this.bufferLayer?.removeAll()}_clearBufferLabelsLayer(){this.bufferLabelsLayer?.removeAll()}async _onCreateBufferClick(){console.log("readyToBuffer: ",this.readyToBuffer),this._handleBufferValidation(),await this._bufferInputGraphics()}_handleBufferValidation(){this._handleBufferInputValidation(),this._handleBufferDistanceValidation()}_handleBufferInputValidation(){let e=this.#t.value;e&&(this.inputGraphics.length?e.showErrorMessage=!1:e.showErrorMessage=!0)}_handleBufferDistanceValidation(){let e=this.#s.value;e&&(this.distanceValuesSorted.length?e.showMissingDistanceValueErrorMessage=!1:e.showMissingDistanceValueErrorMessage=!0)}_clearAllGraphics(){this.inputGraphics=[],this._clearBufferLayer(),this._clearBufferLabelsLayer(),this._clearMiscGraphicsLayer(),this.#e?.value?.clearSelection?.(),this.#n?.clear?.(),this.#i?.cancel?.(),this.#i?.delete?.(),this.#i?.layer?.removeAll?.(),this.arcgisBufferClear.emit()}_onArcgisPropertyChange(e){e.detail.name==="inputGraphics"&&this.inputGraphics.length&&this._handleBufferInputValidation()}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}async _bufferInputGraphics(){if(!this.readyToBuffer)return;this.view.map?.layers.includes(this.bufferLayer)?this.bufferLayer.removeAll():this.view.map.add(this.bufferLayer),this.view.map?.layers.includes(this.bufferLabelsLayer)?this.bufferLabelsLayer.removeAll():this.view.map.add(this.bufferLabelsLayer);let e=[];for(let a of this.inputGraphics){let n={graphic:a,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled},r;this.distanceValuesSorted.length>1&&(r=N({...n,distanceValues:this.distanceValuesSorted})),this.distanceValuesSorted?.length===1&&(r=$({...n,distance:this.distanceValuesSorted[0]})),e.push(r)}let t=this.bufferGraphicSymbol,i=await Promise.all(e).catch(a=>console.error(String(a)));if(i&&i?.length){let a=i.flat().filter(r=>!!r).map(r=>M(r,t)),n=a.map((r,h)=>{let f=this.distanceValuesSorted[h%this.distanceValuesSorted.length];return P({bufferGraphic:r,bufferDistance:f,bufferUnit:this.bufferUnit,view:this.view,unitsAbbrLookup:this._messages.unitsAbbr})});this.bufferLayer.addMany(a),this.bufferLabelsLayer.addMany(n),this.arcgisBufferCreate.emit()}}_renderInputMethod(){return this.inputMethod==="select-feature"?c`<instant-apps-selection-toolbar .view=${this.view} .sources=${this.sources} @selectionChange=${this._handleSelectionChange} continuous-selection-enabled selection-operation-type=add ${o(this.#e)}></instant-apps-selection-toolbar>`:this.inputMethod==="draw-graphic"?c`<slot name=arcgis-sketch ${o(this.#a)}></slot>`:this.inputMethod==="search-location"?c`<slot name=arcgis-search ${o(this.#r)}></slot>`:null}render(){return c`<div role=dialog aria-labelledby=buffer-title><header><h2 id=buffer-title>${this._messages.title}</h2><calcite-input-message icon=information>${this._messages.labels.helpText}</calcite-input-message></header><instant-apps-buffer-input-radiogroup .labels=${this._messages.inputRadioButtonLabels} .selectedValue=${this.inputMethod} ${o(this.#t)}></instant-apps-buffer-input-radiogroup>${this._renderInputMethod()}<instant-apps-buffer-distance-manager .bufferDistance=${this.bufferDistance} .bufferInputStep=${this.bufferInputStep} .bufferMinDistance=${this.bufferMinDistance} .bufferMaxDistance=${this.bufferMaxDistance} .labels=${this._messages.labels} ${o(this.#s)}></instant-apps-buffer-distance-manager><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange}>${S(J,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><calcite-label class="buffer-labels-label" layout=inline><span><span>${this._messages.labels.showDistanceLabel}</span><calcite-switch .checked=${this.bufferLabelsVisible} @calciteSwitchChange=${this._onLabelsSwitchChange}></calcite-switch></span></calcite-label><div class="main-buttons-wrapper"><calcite-button @click=${this._onCreateBufferClick}>${this._messages.labels.draw}</calcite-button><calcite-button appearance=outline @click=${this._clearAllGraphics}>${this._messages.labels.clear}</calcite-button></div></div>`}};L("instant-apps-buffer",g);return g},"layers/GraphicsLayer","symbols/SimpleFillSymbol","symbols/TextSymbol","Graphic","geometry/operators/labelPointOperator","intl","symbols/TextSymbol3DLayer","symbols/PointSymbol3D","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic","geometry/operators/differenceOperator")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./DF7TCZUS.js";import"./X65HFYH4.js";import d from"./
|
|
2
|
+
import{a}from"./DF7TCZUS.js";import"./X65HFYH4.js";import d from"./UNBGBQPR.js";import c from"./UBPCOTIY.js";import b from"./PYPVVSIX.js";import"./2B4SGB3I.js";import"./I2NTSKBD.js";import"./ACTJS4TX.js";import"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./2I5LGZNX.js";import"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([])=>{return a},b,c,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import e from"./KGUELU4O.js";import{a as xe,b as Ge,c as ue}from"./TCUNTTNI.js";import d from"./C4F2OOUL.js";import c from"./SIODWUWX.js";import b from"./7JC52SFZ.js";import a from"./4AFANEZZ.js";import{a as je}from"./CJ3EZE7U.js";import{d as Ne}from"./C5KDPY7R.js";import{a as Ke,b as de,c as Ee,d as me,e as Qe,f as Xe,g as ye,h as Re,i as Ye,j as Ze,k as Oe}from"./YM4U4HSN.js";import{a as j}from"./IADXB53D.js";import{a as Q}from"./ONARC6AZ.js";import{b as We}from"./HVT2WBVC.js";import"./ISFTCFSJ.js";import{E as Ue,F as Le,G as qe,I as x,J as k,h as Be,i as L,j as _e,l as ge,t as De}from"./FFF5HUPM.js";import"./QPIMTXPL.js";export default $arcgis.t(([ct,vt,gt,q,fe,Ct,,{a:N,b:J,c:Je,d:he},{a:be,b:Ve,d:et,f:tt,g:Ae,h:it,i:nt,j:at},{a:rt,b:Ce,c:st,g:lt},oe])=>{(function(d,e){typeof exports=="object"&&typeof module<"u"?e(exports):typeof define=="function"&&define.amd?define(["exports"],e):(d=typeof globalThis<"u"?globalThis:d||self,e(d.maquette={}))})(void 0,(function(d){"use strict";var e=function(){var t,i;return{invalidate:function(){i=void 0,t=void 0},result:function(a,c){if(t)for(var g=0;g<a.length;g++)t[g]!==a[g]&&(i=void 0);return i||(i=c(),t=a),i}}},n="http://www.w3.org/",l="".concat(n,"2000/svg"),r="".concat(n,"1999/xlink"),s=[],u=function(t,i){var a={};return Object.keys(t).forEach(function(c){a[c]=t[c]}),i&&Object.keys(i).forEach(function(c){a[c]=i[c]}),a},h=function(t,i){return t.vnodeSelector!==i.vnodeSelector?!1:t.properties&&i.properties?t.properties.key!==i.properties.key?!1:t.properties.bind===i.properties.bind:!t.properties&&!i.properties},$=function(t){if(typeof t!="string")throw new Error("Style values must be strings")},w=function(t,i,a){if(i.vnodeSelector!==""){for(var c=a;c<t.length;c++)if(h(t[c],i))return c}return-1},S=function(t,i,a,c){var g=t[i];if(g.vnodeSelector!==""){var o=g.properties,E=o?o.key===void 0?o.bind:o.key:void 0;if(!E){for(var p=0;p<t.length;p++)if(p!==i){var f=t[p];if(h(f,g))throw Object.assign(new Error("".concat(a.vnodeSelector," had a ").concat(g.vnodeSelector," child ").concat(c==="added"?c:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),{parentNode:a,childNode:g})}}}},R=function(t){if(t.properties){var i=t.properties.enterAnimation;i&&i(t.domNode,t.properties)}},_=[],T=!1,M=function(t){(t.children||[]).forEach(M),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},I=function(){T=!1,_.forEach(M),_.length=0},P=function(t){_.push(t),T||(T=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},C=function(t){var i=t.domNode;if(t.properties){var a=t.properties.exitAnimation;if(a){i.style.pointerEvents="none";var c=function(){i.parentNode&&(i.parentNode.removeChild(i),P(t))};a(i,c,t.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),P(t))},B=["on","afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(t){return!B.includes(t)}var K=function(t,i,a){if(i){for(var c=a.eventHandlerInterceptor,g=Object.keys(i).filter(U),o=g.length,E=0;E<o;E++){var p=g[E],f=i[p];if(p==="className")throw new Error('Property "className" is not supported, use "class".');if(p==="class")se(t,f,!0);else if(p==="classes")for(var v=Object.keys(f),A=v.length,b=0;b<A;b++){var y=v[b];f[y]&&t.classList.add(y)}else if(p==="styles")for(var z=Object.keys(f),F=z.length,b=0;b<F;b++){var G=z[b],te=f[G];te&&($(te),a.styleApplyer(t,G,te))}else if(p!=="key"&&f!==null&&f!==void 0){var ve=typeof f;ve==="function"?(p.lastIndexOf("on",0)===0&&c&&(f=c(p,f,t,i)),t[p]=f):a.namespace===l?p==="href"?t.setAttributeNS(r,p,f):t.setAttribute(p,f):ve==="string"&&p!=="value"&&p!=="innerHTML"?t.setAttribute(p,f):t[p]=f}}if(i.on)for(var ie=0,pe=Object.entries(i.on);ie<pe.length;ie++){var Y=pe[ie],Z=Y[0],O=Y[1],ne=typeof O=="function"?O:O.listener;c&&(ne=c(Z,ne,t,i)),ne&&t.addEventListener(Z,ne,typeof O=="function"?void 0:O.options)}}},H=function(t,i,a){if(i)for(var c=0,g=i;c<g.length;c++){var o=g[c];W(o,t,void 0,a)}},D=function(t,i,a){H(t,i.children,a),i.text&&(t.textContent=i.text),K(t,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[t,a,i.vnodeSelector,i.properties,i.children])},W=function(t,i,a,c){var g,o,E=0,p=t.vnodeSelector,f=i.ownerDocument;if(p==="")t.domNode?t.domNode.nodeValue=t.text:(o=t.domNode=f.createTextNode(t.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=p.length;++v){var A=p.charAt(v);if(v===p.length||A==="."||A==="#"){var b=p.charAt(E-1),y=p.slice(E,v);b==="."?o.classList.add(y):b==="#"?o.id=y:(y==="svg"&&(c=u(c,{namespace:l})),c.namespace!==void 0?o=t.domNode=f.createElementNS(c.namespace,y):(o=t.domNode=t.domNode||(!((g=t.properties)===null||g===void 0)&&g.is?f.createElement(y,{is:t.properties.is}):f.createElement(y)),y==="input"&&t.properties&&t.properties.type!==void 0&&o.setAttribute("type",t.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),E=v+1}}D(o,t,c)}},V,se=function(t,i,a){i&&i.split(" ").forEach(function(c){c&&t.classList.toggle(c,a)})},we=function(t,i,a,c){if(a){for(var g=!1,o=Object.keys(a).filter(U),E=o.length,p=0;p<E;p++){var f=o[p],v=a[f],A=i[f];if(f==="class")A!==v&&(se(t,A,!1),se(t,v,!0));else if(f==="classes")for(var b=t.classList,y=Object.keys(v),z=y.length,F=0;F<z;F++){var G=y[F],te=!!v[G],ve=!!A[G];te!==ve&&(g=!0,te?b.add(G):b.remove(G))}else if(f==="styles")for(var ie=Object.keys(v),pe=ie.length,F=0;F<pe;F++){var Y=ie[F],Z=v[Y],O=A[Y];Z!==O&&(g=!0,Z?($(Z),c.styleApplyer(t,Y,Z)):c.styleApplyer(t,Y,""))}else if(!v&&typeof A=="string"&&(v=""),f==="value"){var ne=t[f];ne!==v&&v!==A&&(t[f]=v),v!==A&&(g=!0)}else if(v!==A){var He=typeof v;(He!=="function"||!c.eventHandlerInterceptor)&&(c.namespace===l?f==="href"?t.setAttributeNS(r,f,v):t.setAttribute(f,v):He==="string"&&f!=="innerHTML"?f==="role"&&v===""?t.removeAttribute(f):t.setAttribute(f,v):t[f]!==v&&(t[f]=v),g=!0)}}return g}},bt=function(t,i,a,c,g){if(a===c)return!1;a=a||s,c=c||s;for(var o=a.length,E=c.length,p=0,f=0,v,A=!1;f<E;){var b=p<o?a[p]:void 0,y=c[f];if(b!==void 0&&h(b,y))A=V(b,y,g,i,a)||A,p++;else{var z=w(a,y,p+1);if(z>=0){for(v=p;v<z;v++)C(a[v]),S(a,v,t,"removed");A=V(a[z],y,g,i,a)||A,p=z+1}else W(y,i,p<o?a[p].domNode:void 0,g),R(y),S(c,f,t,"added")}f++}if(o>p)for(v=p;v<o;v++)C(a[v]),S(a,v,t,"removed");return A};V=function(t,i,a,c,g){var o=t.domNode,E=!1;if(t===i)return!1;var p=!1;if(i.vnodeSelector===""){if(i.text!==t.text){var f=o.ownerDocument.createTextNode(i.text);try{c.replaceChild(f,o)}catch{c.replaceChild(f,c.childNodes[g.indexOf(t)])}return i.domNode=f,E=!0,E}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=u(a,{namespace:l})),t.text!==i.text&&(p=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,p=bt(i,o,t.children,i.children,a)||p,p=we(o,t.properties,i.properties,a)||p,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return p&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,t.properties),E};var le=function(t,i){return{getLastRender:function(){return t},update:function(a){if(t.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var c=t;t=a,V(c,a,i,c.domNode.parentNode,[c])},domNode:t.domNode}},$t={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(t,i,a){i.charAt(0)==="-"?t.style.setProperty(i,a):t.style[i]=a}},ee=function(t){return u($t,t)},ce={create:function(t,i){return i=ee(i),W(t,document.createElement("div"),void 0,i),le(t,i)},append:function(t,i,a){return a=ee(a),W(i,t,void 0,a),le(i,a)},insertBefore:function(t,i,a){return a=ee(a),W(i,t.parentNode,t,a),le(i,a)},merge:function(t,i,a){return a=ee(a),i.domNode=t,D(t,i,a),le(i,a)},replace:function(t,i,a){return a=ee(a),W(i,t.parentNode,t,a),t.parentNode.removeChild(t),le(i,a)}},wt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},Me=function(t,i,a){for(var c=0,g=i.length;c<g;c++){var o=i[c];Array.isArray(o)?Me(t,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=wt(o)),a.push(o))}};function _t(t,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var c,g;return a&&a.length===1&&typeof a[0]=="string"?c=a[0]:a&&(g=[],Me(t,a,g),g.length===0&&(g=void 0)),{vnodeSelector:t,properties:i,children:g,text:c===""?void 0:c,domNode:null}}var Lt=function(t,i,a){var c=[],g=[];return{results:g,map:function(o){for(var E=o.map(t),p=g.slice(),f=0,v=0;v<o.length;v++){var A=o[v],b=E[v];if(b===c[f])g[v]=p[f],a(A,p[f],v),f++;else{for(var y=!1,z=1;z<c.length+1;z++){var F=(f+z)%c.length;if(c[F]===b){g[v]=p[F],a(o[v],p[F],v),f=F+1,y=!0;break}}y||(g[v]=i(A,v))}}g.length=o.length,c=E}}},xt=function(t,i){for(var a=[];t&&t!==i;)a.push(t),t=t.parentNode;return a},Et=function(t,i){var a=t;return i.forEach(function(c){a=a&&a.children?a.children.find(function(g){return g.domNode===c}):void 0}),a},Rt=function(t,i,a){return function(g,o,E,p){return c};function c(g){var o,E;a("domEvent",g);var p=i(),f=xt(g.currentTarget,p.domNode);f.reverse();var v=Et(p.getLastRender(),f);t.scheduleRender();var A;if(v){var b=(E=(o=v.properties["on".concat(g.type)])!==null&&o!==void 0?o:v.properties.on[g.type].listener)!==null&&E!==void 0?E:v.properties.on[g.type];A=b.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",g),A}},At=function(t){var i,a=ee(t),c=a.performanceLogger,g=!0,o,E=!1,p=[],f=[],v=function(b,y,z){var F,G=function(){return F};a.eventHandlerInterceptor=Rt(i,G,c),F=b(y,z(),a),p.push(F),f.push(z)},A=function(){if(o=void 0,!!g){g=!1,c("renderStart",void 0);for(var b=0;b<p.length;b++){var y=f[b]();c("rendered",void 0),p[b].update(y),c("patched",void 0)}c("renderDone",void 0),g=!0}};return i={renderNow:A,scheduleRender:function(){!o&&!E&&(o=requestAnimationFrame(A))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),E=!0},resume:function(){E=!1,g=!0,i.scheduleRender()},append:function(b,y){v(ce.append,b,y)},insertBefore:function(b,y){v(ce.insertBefore,b,y)},merge:function(b,y){v(ce.merge,b,y)},replace:function(b,y){v(ce.replace,b,y)},detach:function(b){for(var y=0;y<f.length;y++)if(f[y]===b)return f.splice(y,1),p.splice(y,1)[0];throw new Error("renderFunction was not found")}},i};d.createCache=e,d.createMapping=Lt,d.createProjector=At,d.dom=ce,d.h=_t}));function kt(d,e,n,l){let r=st(d,e,n,l),s=St(r);return r.join(s)}function St(d){return d.every(e=>e&&e.includes(rt.NOT_EQUAL))?Ce.AND:Ce.OR}async function dt(d,e,n,l,r){let{fLayerView:s}=d,u=kt(d,e,n,r),h=s?.filter?.timeExtent??s?.featureEffect?.filter?.timeExtent??null,{type:$}=l;if(ue($))s.filter=new ct({where:u,timeExtent:h});else if(l.effect){let{includedEffect:w,excludedEffect:S}=l.effect,R=await oe(S,s,"excludedEffect"),_=await oe(w,s,"includedEffect");s.featureEffect=new vt({filter:new ct({where:u,timeExtent:h}),includedEffect:_,excludedEffect:R})}return await Promise.resolve()}function It(d,e){let{type:n}=d;ue(n)?Tt(e):Ge(n)&&Ft(d,e)}function Tt(d){d?.allLayerViews?.filter(e=>be(e?.layer?.type))?.forEach(e=>{let n=e,l=ut(n);n.filter=l,n.set("featureEffect",null)})}function Ft(d,e){e?.allLayerViews?.filter(n=>be(n?.layer?.type)).forEach(async n=>{let l=n;if(d?.effect&&l){let{includedEffect:r,excludedEffect:s}=d.effect,u=await oe(s,l,"excludedEffect"),h=await oe(r,l,"includedEffect"),$=ut(l);l.featureEffect=new vt({filter:$,includedEffect:h,excludedEffect:u}),l.set(xe.FILTER,null)}})}function ut(d){return d?.filter||d?.featureEffect?.filter}var Pt=80,zt=.2,Mt=6;function X(d){let e=typeof d=="number"?d:Number(d);return Number.isFinite(e)?e:0}function ht(d){if("infos"in d)return Math.max(...d.infos.map(e=>ht(e)),0);if("preview"in d&&d.preview){let e=d.preview,n=e.querySelector("svg"),l=X(n?.getAttribute("width")),r=X(n?.getAttribute("height")),s=X(e.style.width?.replace("px","")),u=X(e.style.height?.replace("px","")),h=X(e.clientWidth),$=X(e.clientHeight);return Math.max(l,r,s,u,h,$)}return"src"in d?Math.max(X(d.width),X(d.height)):0}function Ht(d,e){let n=ht(d);return n>=Pt?!0:typeof e!="number"||e<=0?!1:n+Mt>=e}function Bt(d){if(!(d<=0))return d*zt}var Dt=(void 0)(),mt=10,Fe=20,$e=10,Pe=20,ze={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function Ut(d="vertical"){let e={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return d==="vertical"?L`<svg height=4 width=10>${_e`<line x1=0 y1=2 x2=10 y2=2 style=${k(e)} />`}</svg>`:L`<svg height=10 width=10>${_e`<line x1=5 y1=0 x2=5 y2=10 style=${k(e)} />`}</svg>`}function qt(d,e="vertical"){let n=document.createElement("div");return n.style.height=`${Fe}px`,n.className=ze.univariateAboveAndBelowSymbol,d!=null&&(n.style.opacity=d.toString()),Dt.append(n,Ut.bind(null,e)),n}function yt(d,e,n="vertical",l){d.infos.forEach((r,s)=>{if(l&&s===2)r.preview=qt(e,n);else{let{size:u}=r,h=re(u)+(n==="horizontal"?Pe:$e),$=r.preview.tagName.toLowerCase()==="div",w=$?r.preview:document.createElement("div");w&&(w.className=ze.univariateAboveAndBelowSymbol),n==="horizontal"?w&&(w.style.width=`${h}px`):w&&(w.style.height=`${h}px`),$||w&&w.appendChild(r.preview),r.preview=w}})}var Wt=96;function re(d){return d?d/72*Wt:0}function ot(d,e="classic"){let n=d.infos,l=n[0].size,r=n[n.length-1].size;return e==="classic"?(re(l)+$e)/2:(re(l)-re(r))/2}function ke(d,e){if(!d)return null;let n=d.infos.map(r=>r.color),l=gt.renderColorRampPreviewHTML(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width,height:e.height,align:e.rampAlignment,effectList:e.effectList});return l.className=ze.colorRamp,e.opacity!=null&&(l.style.opacity=e.opacity.toString()),l}function Gt(d,e,n,l="vertical"){let r=0,s=d.infos,u=Math.floor(s.length/2),h=e==="full"||e==="above"?0:u,$=e==="full"||e==="below"?s.length-1:u;for(let w=h;w<=$;w++)if(n&&w===u)r+=l==="horizontal"?mt:Fe;else{let S=s[w].size,R=re(S)+(l==="horizontal"?Pe:$e);r+=R}return Math.round(r)}function Se(d,e,n,l="vertical"){let r=Gt(d,e,n,l),s=d.infos,u=Math.floor(s.length/2),h=e==="full"||e==="above"?0:u,$=e==="full"||e==="below"?s.length-1:u,w=e==="full"?s[h].size+s[$].size:e==="above"?s[h].size:s[$].size,S=n?l==="vertical"?Fe:mt:0,R=l==="vertical"?$e*(e==="full"?2:1):Pe*(e==="full"?2:1);return Math.round(r-(re(w)/2+S/2+R/2))}function Jt(d,e,n="vertical"){let l=d.infos,r=l.find(u=>ye(u)),s=l.find(u=>de(u));return r&&(r={...r},r.infos=[...r.infos],yt(r,e,n,!0)),s&&(s={...s},s.infos=[...s.infos]),n==="horizontal"&&(r?.infos.reverse(),s?.infos.reverse()),{sizeRampElement:r,colorRampElement:s}}function Kt(d,e="vertical"){let n=d.infos,l=n.find(s=>ye(s)),r=n.find(s=>de(s));return l&&(l={...l},l.infos=[...l.infos],yt(l,null,e,!1)),r&&(r={...r},r.infos=[...r.infos]),e==="horizontal"&&(l?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:l,colorRampElement:r}}var Qt=Be`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-body.instant-apps-interactive-legend__layer-body--large-symbol>.esri-legend__layer-row{display:grid;grid-template-columns:minmax(35%,max-content) minmax(0,1fr);column-gap:clamp(.125rem,.3vw,.25rem);align-items:center;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-body.instant-apps-interactive-legend__layer-body--large-symbol>.esri-legend__layer-row>.esri-legend__layer-cell--symbols{width:35%;box-sizing:border-box;padding-inline:clamp(.125rem,.3vw,.25rem);display:flex;align-items:center;justify-content:center}instant-apps-interactive-legend-classic .esri-legend__layer-body.instant-apps-interactive-legend__layer-body--large-symbol>.esri-legend__layer-row>.esri-legend__layer-cell--info{display:block;width:auto;min-width:0}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info:not(:has(.esri-legend__ramp-labels)){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media(min-width:992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,m={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",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",layerBodyLargeSymbol:"instant-apps-interactive-legend__layer-body--large-symbol",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},Xt=24,ft={display:"flex",alignItems:"flex-start"},Ie={marginLeft:"3px"},ae={display:"table-cell",verticalAlign:"middle"},Te=class extends qe{constructor(){super(...arguments),this.featureCountRequestId=0,this._legendContainerRef=Ue(),this._hiddenLegendState={},this._pendingRestore={},this._restoreTimeouts={},this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:xe.FILTER}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=Qt}static{this.shadowRootOptions=De}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new Ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),J.onChange("data",()=>this.requestUpdate())}willUpdate(e){e.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||!ue(this.filterMode.type))&&It(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 q.whenOnce(()=>this.legendvm?.view);let e=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let l=n?.allLayers?.map(async h=>await h.load()),r=(await Promise.allSettled(l)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),s=[];r.forEach(h=>{this.legendvm?.view&&s.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(s);let u=await Ae(this.legendvm);J.set("data",{...N.data,...u}),await this.refreshFeatureCount(),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(e),this.legendvm?.view?.map?.layers?.on("after-changes",e)}catch{this.isLoading=!1}}getStretchStopLabel(e){let n=this.messages[e.label];return e.label?`${n}: ${typeof e.value=="string"?e.value:fe.formatNumber(e.value,{style:"decimal",notation:e.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(e,n){if(!e)return;if(typeof e=="string"||typeof e=="number")return e;if("value"in e||"unit"in e){let s=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return fe.substitute(s,e)}if("colorName"in e||"bandName"in e){let{colorName:s,bandName:u}=e,h=this.messages[s],$=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${$}`}if("showCount"in e)return e.showCount?this.messages.clusterCountTitle:null;let l=null;if(n){let s=e;l=s.ratioPercentTotal?"showRatioPercentTotal":s.ratioPercent?"showRatioPercent":s.ratio?"showRatio":e.normField?"showNormField":e.field?"showField":null}else if(this.isRendererTitle(n)){let s=e;l=s.normField?"showNormField":s.normByPct?"showNormPct":s.field?"showField":null}let r=l==="showField"?"{field}":typeof l=="string"?this.messages[l]:"";return l?fe.substitute(r,{field:e.field,normField:e.normField}):""}isRendererTitle(e){return!e}async setupWatchersAndListeners(){let e=this.legendvm?.view?.map?.allLayers?.filter(r=>be(r?.type)),n=[];for(let r of e)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(r));let l=[];try{l=await Promise.all(n)}catch(r){console.error(r)}for(let r of l){let s=`fLayerViewScale-${r.layer.id}`;!this.handles?.has(s)&&r&&this.handles?.add(r.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(r.layer).catch(u=>{console.error(u)})}),s)}e?.forEach(r=>{let s=`fLayer-${r?.id}`;this.handles?.has(s)||this.handles?.add(q?.watch(()=>r?.visible,()=>this.handleFeatureLayerVisibilityChange(r)),s)}),this.handles?.add(q.when(()=>this.legendvm,()=>{q.watch(()=>this.legendvm?.view?.updating,()=>{this.legendvm?.view?.updating&&q.when(()=>!this.legendvm?.view?.updating,()=>{this.refreshFeatureCount().catch(r=>{console.error(r)})},{once:!0,initial:!0})},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(q.on(()=>this.legendvm?.activeLayerInfos,"change",r=>{this.regenerateData().then(()=>{this.handles?.add(q.on(()=>r.children,"change",()=>{this.regenerateData().catch(s=>{console.error(s)})}))}).catch(s=>{console.error(s)})})),this.handles?.add(q.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{this.refreshFeatureCount().catch(r=>{console.error(r)})}))}async createDataForLayer(e){let n=e?.id;if(nt(n,this._pendingRestore,this._hiddenLegendState))return;let l=J.get("data")?.[n],r=it(this.legendvm?.activeLayerInfos)?.find(s=>s?.layer?.id===n);if(!l&&r){let s=await Ve(this.legendvm,r);he({intLegendLayerData:s,layerId:n}),await this.refreshFeatureCount()}}applyFilter(e,n,l,r){return async()=>{let s={...N.data?.[n?.id]};r?await dt(s,e,l,this.filterMode,r):await dt(s,e,l,this.filterMode),he({intLegendLayerData:s,layerId:n?.id})}}async regenerateData(){let e=await Ae(this.legendvm),n=at(e,N.data,this._pendingRestore,this._hiddenLegendState);J.set("data",n),await this.refreshFeatureCount(),this.requestUpdate()}async refreshFeatureCount(){if(!this.featureCount)return;let e=++this.featureCountRequestId;try{let n=await lt(this.legendvm,N.data);if(e!==this.featureCountRequestId)return;J.set("data",{...N.data,...n})}catch{}}handleFeatureLayerVisibilityChange(e){let n=e.id,l=J.get("data")?.[n];if(e.visible){this.handleFeatureLayerVisible(n,e);return}this.handleFeatureLayerHidden(n,l)}handleFeatureLayerVisible(e,n){if(this._hiddenLegendState[e]){let l=this._hiddenLegendState[e];this._pendingRestore[e]=l,he({intLegendLayerData:l,layerId:e}),delete this._hiddenLegendState[e],this.clearRestoreGuard(e),this._restoreTimeouts[e]=window.setTimeout(()=>{delete this._pendingRestore[e],delete this._restoreTimeouts[e]},250);return}this.createDataForLayer(n).catch(l=>{console.error(l)})}handleFeatureLayerHidden(e,n){this.clearRestoreGuard(e),n&&(this._hiddenLegendState[e]=n)}clearRestoreGuard(e){this._restoreTimeouts[e]&&(clearTimeout(this._restoreTimeouts[e]),delete this._restoreTimeouts[e]),delete this._pendingRestore[e]}isImageryStretchedLegend(e,n){return!0}render(){let e=this.renderFilteredLayers(),n=J.get("compact")?` ${m.compact}`:"";return this.isLoading?Q("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):Q("interactive-legend-classic-container",L`<div class=${`${j(this.el)}${n}`} ${Le(this._legendContainerRef)}>${e?.length>0?e:L`<div class=${x(m.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(e=>this.renderLegendForLayer(e)).filter(e=>!!e)}renderLegendForLayer(e,n){if(!e.ready)return null;if(e.children.length){let s=e.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${x(j(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${e} .isChild=${n}><div style=${k({paddingLeft:"20px"})} .id=${`${e?.layer?.id}-legend-layer`} slot=content>${s}</div></instant-apps-interactive-legend-group-legend-element>`}let l=e.legendElements;if(l&&!l.length)return null;let r=l.map((s,u)=>this.renderLegendForElement(s,e.layer,e.effectList,e,u)).filter(s=>!!s);return r.length?L`<instant-apps-interactive-legend-layer-element class=${x(j(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${e} .isChild=${!!n}><div slot=content .id=${`${e?.layer?.id}-legend-layer`} class=${x(m.layer)}>${r}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(e,n,l,r,s,u,h){let $=de(e),w=me(e),S=ye(e),R=null,_=je(r,e,s),T=Xe(e),M=Bt(this._legendContainerRef?.value?.clientWidth||this.el?.clientWidth);if(Ye(e)||S){let C=e.infos.some(U=>Ht(U,M)),B=e.infos.map((U,K)=>this.renderLegendForElementInfo(U,n,l,S,e,r,s,K,_,h)).filter(U=>!!U);B.length&&(R=L`<div class=${`${m.layerBody}${C?` ${m.layerBodyLargeSymbol}`:""}`}>${B}</div>`)}else if(de(e)||me(e)||Ee(e)||Re(e)){let C=e;R=this.renderLegendForRamp(C,n.opacity)}else if(T){let C=e;R=Q(Ke.RELATIONSHIP_RAMP,L`<instant-apps-interactive-legend-relationship class=${x(j(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${r} .legendElement=${C}></instant-apps-interactive-legend-relationship>`)}else if(Qe(e)){let C=e;R=this.renderPieChartRamp(C)}else if(Ze(e)){let C=e;R=this.renderUnivariateAboveAndBelowRamp(C,n.opacity,l)}else if(Oe(e)){let C=e;R=this.renderUnivariateColorSizeRamp(C,n.opacity,l)}if(!R)return null;let I=e.title,P=null;if(typeof I=="string")P=I;else if(I){let C=I,B=this.getTitle(C,$||w);this.isRendererTitle($||w)?"title"in I&&(P=`${I.title} (${B})`):P=B}return L`<instant-apps-interactive-legend-legend-element class=${x(j(this.el))} .activeLayerInfo=${r} .isSizeRamp=${S} .isChild=${!!u} .isColorRamp=${$} .isRelationshipRamp=${T} .isInteractive=${_} .zoomTo=${this.zoomTo} .legendElement=${e} .titleText=${P} .legendvm=${this.legendvm} .legendElementIndex=${s}><div slot=content>${R}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(e){return L`<div .innerHTML=${`${e.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(e,n,l){let{sizeRampElement:r,colorRampElement:s}=Jt(e,n);if(!r)return null;let u=Se(r,"above",!0),h=Se(r,"below",!0),$=12,w=ke(s,{width:$,height:u,rampAlignment:"vertical",opacity:n,type:"above",effectList:l}),S=ke(s,{width:$,height:h,rampAlignment:"vertical",opacity:n,type:"below",effectList:l}),R=ot(r),_=r.infos.map(H=>H.label),T=_.map((H,D)=>D===0?L`<div class=${x(H?w?m.univariateAboveAndBelowLabel:m.rampLabel:"")}>${H}</div>`:D===2?L`<div></div>`:null),M=_.length-1,I=Math.floor(_.length/2),P=_.map((H,D)=>D===I||D===M?L`<div class=${x(H?w?m.univariateAboveAndBelowLabel:m.rampLabel:"")}>${H}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${R}px`},U={height:`${u}px`},K={height:`${h}px`};return Q("univariate-above-and-below-ramp-preview",L`<div style=${k(ft)}><div class=${x(m.layerBody)}>${r.infos.map((H,D)=>L`<div class=${`${m.layerRow} ${m.sizeRamp}`}><div class=${x(m.symbol)} style=${k(C)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!w&&D%2===0?L`<div class=${x(m.layerInfo)}>${_[D]}</div>`:null}</div>`)}</div>${w?Q("color-ramp-preview",L`<div style=${k(B)}><div style=${k(Ie)}><div style=${k(ae)}><div class=${x(m.rampContainer)}>${w}</div></div><div style=${k(ae)}><div class=${x(m.rampLabelsContainer)} style=${k(U)}>${T}</div></div></div><div style=${k(Ie)}><div style=${k(ae)}><div class=${x(m.rampContainer)}>${S}</div></div><div style=${k(ae)}><div class=${x(m.rampLabelsContainer)} style=${k(K)}>${P}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(e,n,l){let{sizeRampElement:r,colorRampElement:s}=Kt(e);if(!r)return null;let u=ot(r),h=12,$=Se(r,"full",!1),w=ke(s,{width:h,height:$,rampAlignment:"vertical",opacity:n,type:"full",effectList:l}),S=r.infos.length-1,R=r.infos.map((I,P)=>P===0||P===S?L`<div class=${x(I.label?s?m.univariateAboveAndBelowLabel:m.rampLabel:"")}>${I.label}</div>`:null),_={display:"table-cell",verticalAlign:"middle"},T={marginTop:`${u}px`},M={height:`${$}px`};return Q("univariate-above-and-below-ramp-preview",L`<div style=${k(ft)}><div class=${x(m.layerBody)}>${r.infos.map(I=>L`<div class=${`${m.layerRow} ${m.sizeRamp}`}><div class=${x(m.symbol)} style=${k(_)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${Q("color-ramp-preview",L`<div style=${k(T)}><div style=${k(Ie)}><div style=${k(ae)}><div class=${x(m.rampContainer)}>${w}</div></div><div style=${k(ae)}><div class=${x(m.rampLabelsContainer)} style=${k(M)}>${R}</div></div></div></div>`)}</div>`)}renderLegendForRamp(e,n){let l=e.infos,r=me(e),s=Ee(e),u=Re(e),h=e.preview,$=r?m.opacityRamp:"";h&&(h.classList.add(m.colorRamp),$&&h.classList.add($)),n!=null&&h&&(h.style.opacity=n.toString());let w=l.map(_=>{let T;if(s){let M=this.messages[_.label];T=typeof M=="string"?M:_.label}else u?T="value"in _?this.getStretchStopLabel(_):_.label:T=_.label;return L`<div class=${x(_.label?m.rampLabel:"")}>${T}</div>`}),S={width:`${Xt}px`},R={height:h?.style?.height};return L`<div class=${x(m.layerRow)}><div class=${x(m.symbolContainer)} style=${k({...S})}><div class=${x(m.rampContainer)} ${Le(_=>{_?.firstChild&&_?.firstChild?.remove(),_?.appendChild(h)})}></div></div><div class=${x(m.layerInfo)}><div class=${x(m.rampLabelsContainer)} style=${k({...R})}>${w}</div></div></div>`}renderLegendForElementInfo(e,n,l,r,s,u,h,$,w,S){if("infos"in e)return this.renderLegendForElement(e,n,l,u,h,!0,e);let R=null,_=!this.isImageryStretchedLegend(n,s.type);if("preview"in e){let{outerHTML:W}=e.preview;R=L`<div class=${x(m.symbol)} .innerHTML=${W??""}></div>`}else"src"in e&&(R=this.renderImage(e,n,_));if(!R)return null;let T=_?` ${m.imageryLayerInfoStretched}`:"",M=!_&&r?` ${m.sizeRamp}`:"",I,P=Je(n),C=tt(P,S);if(N.data){let W=et(P,n,e,C,$),V=C?C?.nestedInfos:P,se=Ne(V),we=!!u?.children?.length||!!C;I=P?.categories?.size===1&&!we?!W?.selected:se||W?.selected}let B="label"in e?e.label:null,U=C&&!("value"in e)?!1:w,K=J.get("compact"),H=this.getTitle(B,!1)||"",D=C?s.title:B??n?.id;return U?L`<button @click=${this.applyFilter(e,n,$,S)} class=${`${m.layerRow} ${m.interactiveLayerRow}${I?` ${m.infoSelected}`:""}`} title=${(K?`${H}`:void 0)??ge} .ariaPressed=${I?"true":"false"}><div class=${`${m.symbolContainer}${T}${M}`}>${R}</div><div class=${`${m.layerInfo}${T}`}>${this.getTitle(B,!1)||""}</div>${this.featureCount&&!K?L`<instant-apps-interactive-legend-count class=${x(j(this.el))} .categoryId=${D} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${s} .infoIndex=${$}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${x(m.layerRow)}><div class=${`${m.symbolContainer}${T}${M}`}>${R}</div><div class=${`${m.layerInfo}${T}`}>${H}</div></div>`}renderImage(e,n,l){let{label:r,src:s,opacity:u}=e,h=l?` ${m.imageryLayerStretchedImage}`:"",$=l?"":` ${m.symbol}`,w={opacity:`${u??n.opacity}`};return L`<img alt=${this.getTitle(r,!1)??ge} src=${s??ge} width=${e.width} height=${e.height} class=${`$${h}${$}`} style=${k(w)}>`}};We("instant-apps-interactive-legend-classic",Te);return Te},"layers/support/FeatureFilter","layers/support/FeatureEffect","symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d,e)
|
|
2
|
+
import e from"./KGUELU4O.js";import{a as xe,b as Ge,c as ue}from"./TCUNTTNI.js";import d from"./C4F2OOUL.js";import c from"./SIODWUWX.js";import b from"./7JC52SFZ.js";import a from"./4AFANEZZ.js";import{a as je}from"./CJ3EZE7U.js";import{d as Ne}from"./C5KDPY7R.js";import{a as Ke,b as de,c as Ee,d as me,e as Qe,f as Xe,g as ye,h as Re,i as Ye,j as Ze,k as Oe}from"./YM4U4HSN.js";import{a as j}from"./IADXB53D.js";import{a as Q}from"./ONARC6AZ.js";import{b as We}from"./HVT2WBVC.js";import"./ISFTCFSJ.js";import{E as Ue,F as Le,G as qe,I as x,J as k,h as Be,i as L,j as _e,l as ge,t as De}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([ct,vt,gt,q,fe,Ct,,{a:N,b:J,c:Je,d:he},{a:be,b:Ve,d:et,f:tt,g:Ae,h:it,i:nt,j:at},{a:rt,b:Ce,c:st,g:lt},oe])=>{(function(d,e){typeof exports=="object"&&typeof module<"u"?e(exports):typeof define=="function"&&define.amd?define(["exports"],e):(d=typeof globalThis<"u"?globalThis:d||self,e(d.maquette={}))})(void 0,(function(d){"use strict";var e=function(){var t,i;return{invalidate:function(){i=void 0,t=void 0},result:function(a,c){if(t)for(var g=0;g<a.length;g++)t[g]!==a[g]&&(i=void 0);return i||(i=c(),t=a),i}}},n="http://www.w3.org/",l="".concat(n,"2000/svg"),r="".concat(n,"1999/xlink"),s=[],u=function(t,i){var a={};return Object.keys(t).forEach(function(c){a[c]=t[c]}),i&&Object.keys(i).forEach(function(c){a[c]=i[c]}),a},h=function(t,i){return t.vnodeSelector!==i.vnodeSelector?!1:t.properties&&i.properties?t.properties.key!==i.properties.key?!1:t.properties.bind===i.properties.bind:!t.properties&&!i.properties},$=function(t){if(typeof t!="string")throw new Error("Style values must be strings")},w=function(t,i,a){if(i.vnodeSelector!==""){for(var c=a;c<t.length;c++)if(h(t[c],i))return c}return-1},S=function(t,i,a,c){var g=t[i];if(g.vnodeSelector!==""){var o=g.properties,E=o?o.key===void 0?o.bind:o.key:void 0;if(!E){for(var p=0;p<t.length;p++)if(p!==i){var f=t[p];if(h(f,g))throw Object.assign(new Error("".concat(a.vnodeSelector," had a ").concat(g.vnodeSelector," child ").concat(c==="added"?c:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),{parentNode:a,childNode:g})}}}},R=function(t){if(t.properties){var i=t.properties.enterAnimation;i&&i(t.domNode,t.properties)}},_=[],T=!1,M=function(t){(t.children||[]).forEach(M),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},I=function(){T=!1,_.forEach(M),_.length=0},P=function(t){_.push(t),T||(T=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(I,{timeout:16}):setTimeout(I,16))},C=function(t){var i=t.domNode;if(t.properties){var a=t.properties.exitAnimation;if(a){i.style.pointerEvents="none";var c=function(){i.parentNode&&(i.parentNode.removeChild(i),P(t))};a(i,c,t.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),P(t))},B=["on","afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(t){return!B.includes(t)}var K=function(t,i,a){if(i){for(var c=a.eventHandlerInterceptor,g=Object.keys(i).filter(U),o=g.length,E=0;E<o;E++){var p=g[E],f=i[p];if(p==="className")throw new Error('Property "className" is not supported, use "class".');if(p==="class")se(t,f,!0);else if(p==="classes")for(var v=Object.keys(f),A=v.length,b=0;b<A;b++){var y=v[b];f[y]&&t.classList.add(y)}else if(p==="styles")for(var z=Object.keys(f),F=z.length,b=0;b<F;b++){var G=z[b],te=f[G];te&&($(te),a.styleApplyer(t,G,te))}else if(p!=="key"&&f!==null&&f!==void 0){var ve=typeof f;ve==="function"?(p.lastIndexOf("on",0)===0&&c&&(f=c(p,f,t,i)),t[p]=f):a.namespace===l?p==="href"?t.setAttributeNS(r,p,f):t.setAttribute(p,f):ve==="string"&&p!=="value"&&p!=="innerHTML"?t.setAttribute(p,f):t[p]=f}}if(i.on)for(var ie=0,pe=Object.entries(i.on);ie<pe.length;ie++){var Y=pe[ie],Z=Y[0],O=Y[1],ne=typeof O=="function"?O:O.listener;c&&(ne=c(Z,ne,t,i)),ne&&t.addEventListener(Z,ne,typeof O=="function"?void 0:O.options)}}},H=function(t,i,a){if(i)for(var c=0,g=i;c<g.length;c++){var o=g[c];W(o,t,void 0,a)}},D=function(t,i,a){H(t,i.children,a),i.text&&(t.textContent=i.text),K(t,i.properties,a),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[t,a,i.vnodeSelector,i.properties,i.children])},W=function(t,i,a,c){var g,o,E=0,p=t.vnodeSelector,f=i.ownerDocument;if(p==="")t.domNode?t.domNode.nodeValue=t.text:(o=t.domNode=f.createTextNode(t.text),a!==void 0?i.insertBefore(o,a):i.appendChild(o));else{for(var v=0;v<=p.length;++v){var A=p.charAt(v);if(v===p.length||A==="."||A==="#"){var b=p.charAt(E-1),y=p.slice(E,v);b==="."?o.classList.add(y):b==="#"?o.id=y:(y==="svg"&&(c=u(c,{namespace:l})),c.namespace!==void 0?o=t.domNode=f.createElementNS(c.namespace,y):(o=t.domNode=t.domNode||(!((g=t.properties)===null||g===void 0)&&g.is?f.createElement(y,{is:t.properties.is}):f.createElement(y)),y==="input"&&t.properties&&t.properties.type!==void 0&&o.setAttribute("type",t.properties.type)),a!==void 0?i.insertBefore(o,a):o.parentNode!==i&&i.appendChild(o)),E=v+1}}D(o,t,c)}},V,se=function(t,i,a){i&&i.split(" ").forEach(function(c){c&&t.classList.toggle(c,a)})},we=function(t,i,a,c){if(a){for(var g=!1,o=Object.keys(a).filter(U),E=o.length,p=0;p<E;p++){var f=o[p],v=a[f],A=i[f];if(f==="class")A!==v&&(se(t,A,!1),se(t,v,!0));else if(f==="classes")for(var b=t.classList,y=Object.keys(v),z=y.length,F=0;F<z;F++){var G=y[F],te=!!v[G],ve=!!A[G];te!==ve&&(g=!0,te?b.add(G):b.remove(G))}else if(f==="styles")for(var ie=Object.keys(v),pe=ie.length,F=0;F<pe;F++){var Y=ie[F],Z=v[Y],O=A[Y];Z!==O&&(g=!0,Z?($(Z),c.styleApplyer(t,Y,Z)):c.styleApplyer(t,Y,""))}else if(!v&&typeof A=="string"&&(v=""),f==="value"){var ne=t[f];ne!==v&&v!==A&&(t[f]=v),v!==A&&(g=!0)}else if(v!==A){var He=typeof v;(He!=="function"||!c.eventHandlerInterceptor)&&(c.namespace===l?f==="href"?t.setAttributeNS(r,f,v):t.setAttribute(f,v):He==="string"&&f!=="innerHTML"?f==="role"&&v===""?t.removeAttribute(f):t.setAttribute(f,v):t[f]!==v&&(t[f]=v),g=!0)}}return g}},bt=function(t,i,a,c,g){if(a===c)return!1;a=a||s,c=c||s;for(var o=a.length,E=c.length,p=0,f=0,v,A=!1;f<E;){var b=p<o?a[p]:void 0,y=c[f];if(b!==void 0&&h(b,y))A=V(b,y,g,i,a)||A,p++;else{var z=w(a,y,p+1);if(z>=0){for(v=p;v<z;v++)C(a[v]),S(a,v,t,"removed");A=V(a[z],y,g,i,a)||A,p=z+1}else W(y,i,p<o?a[p].domNode:void 0,g),R(y),S(c,f,t,"added")}f++}if(o>p)for(v=p;v<o;v++)C(a[v]),S(a,v,t,"removed");return A};V=function(t,i,a,c,g){var o=t.domNode,E=!1;if(t===i)return!1;var p=!1;if(i.vnodeSelector===""){if(i.text!==t.text){var f=o.ownerDocument.createTextNode(i.text);try{c.replaceChild(f,o)}catch{c.replaceChild(f,c.childNodes[g.indexOf(t)])}return i.domNode=f,E=!0,E}i.domNode=o}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(a=u(a,{namespace:l})),t.text!==i.text&&(p=!0,i.text===void 0?o.removeChild(o.firstChild):o.textContent=i.text),i.domNode=o,p=bt(i,o,t.children,i.children,a)||p,p=we(o,t.properties,i.properties,a)||p,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[o,a,i.vnodeSelector,i.properties,i.children]);return p&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(o,i.properties,t.properties),E};var le=function(t,i){return{getLastRender:function(){return t},update:function(a){if(t.vnodeSelector!==a.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var c=t;t=a,V(c,a,i,c.domNode.parentNode,[c])},domNode:t.domNode}},$t={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(t,i,a){i.charAt(0)==="-"?t.style.setProperty(i,a):t.style[i]=a}},ee=function(t){return u($t,t)},ce={create:function(t,i){return i=ee(i),W(t,document.createElement("div"),void 0,i),le(t,i)},append:function(t,i,a){return a=ee(a),W(i,t,void 0,a),le(i,a)},insertBefore:function(t,i,a){return a=ee(a),W(i,t.parentNode,t,a),le(i,a)},merge:function(t,i,a){return a=ee(a),i.domNode=t,D(t,i,a),le(i,a)},replace:function(t,i,a){return a=ee(a),W(i,t.parentNode,t,a),t.parentNode.removeChild(t),le(i,a)}},wt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},Me=function(t,i,a){for(var c=0,g=i.length;c<g;c++){var o=i[c];Array.isArray(o)?Me(t,o,a):o!=null&&o!==!1&&(typeof o=="string"&&(o=wt(o)),a.push(o))}};function _t(t,i,a){if(Array.isArray(i))a=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||a&&(typeof a=="string"||a.vnodeSelector))throw new Error("h called with invalid arguments");var c,g;return a&&a.length===1&&typeof a[0]=="string"?c=a[0]:a&&(g=[],Me(t,a,g),g.length===0&&(g=void 0)),{vnodeSelector:t,properties:i,children:g,text:c===""?void 0:c,domNode:null}}var Lt=function(t,i,a){var c=[],g=[];return{results:g,map:function(o){for(var E=o.map(t),p=g.slice(),f=0,v=0;v<o.length;v++){var A=o[v],b=E[v];if(b===c[f])g[v]=p[f],a(A,p[f],v),f++;else{for(var y=!1,z=1;z<c.length+1;z++){var F=(f+z)%c.length;if(c[F]===b){g[v]=p[F],a(o[v],p[F],v),f=F+1,y=!0;break}}y||(g[v]=i(A,v))}}g.length=o.length,c=E}}},xt=function(t,i){for(var a=[];t&&t!==i;)a.push(t),t=t.parentNode;return a},Et=function(t,i){var a=t;return i.forEach(function(c){a=a&&a.children?a.children.find(function(g){return g.domNode===c}):void 0}),a},Rt=function(t,i,a){return function(g,o,E,p){return c};function c(g){var o,E;a("domEvent",g);var p=i(),f=xt(g.currentTarget,p.domNode);f.reverse();var v=Et(p.getLastRender(),f);t.scheduleRender();var A;if(v){var b=(E=(o=v.properties["on".concat(g.type)])!==null&&o!==void 0?o:v.properties.on[g.type].listener)!==null&&E!==void 0?E:v.properties.on[g.type];A=b.apply(v.properties.bind||this,arguments)}return a("domEventProcessed",g),A}},At=function(t){var i,a=ee(t),c=a.performanceLogger,g=!0,o,E=!1,p=[],f=[],v=function(b,y,z){var F,G=function(){return F};a.eventHandlerInterceptor=Rt(i,G,c),F=b(y,z(),a),p.push(F),f.push(z)},A=function(){if(o=void 0,!!g){g=!1,c("renderStart",void 0);for(var b=0;b<p.length;b++){var y=f[b]();c("rendered",void 0),p[b].update(y),c("patched",void 0)}c("renderDone",void 0),g=!0}};return i={renderNow:A,scheduleRender:function(){!o&&!E&&(o=requestAnimationFrame(A))},stop:function(){o&&(cancelAnimationFrame(o),o=void 0),E=!0},resume:function(){E=!1,g=!0,i.scheduleRender()},append:function(b,y){v(ce.append,b,y)},insertBefore:function(b,y){v(ce.insertBefore,b,y)},merge:function(b,y){v(ce.merge,b,y)},replace:function(b,y){v(ce.replace,b,y)},detach:function(b){for(var y=0;y<f.length;y++)if(f[y]===b)return f.splice(y,1),p.splice(y,1)[0];throw new Error("renderFunction was not found")}},i};d.createCache=e,d.createMapping=Lt,d.createProjector=At,d.dom=ce,d.h=_t}));function kt(d,e,n,l){let r=st(d,e,n,l),s=St(r);return r.join(s)}function St(d){return d.every(e=>e&&e.includes(rt.NOT_EQUAL))?Ce.AND:Ce.OR}async function dt(d,e,n,l,r){let{fLayerView:s}=d,u=kt(d,e,n,r),h=s?.filter?.timeExtent??s?.featureEffect?.filter?.timeExtent??null,{type:$}=l;if(ue($))s.filter=new ct({where:u,timeExtent:h});else if(l.effect){let{includedEffect:w,excludedEffect:S}=l.effect,R=await oe(S,s,"excludedEffect"),_=await oe(w,s,"includedEffect");s.featureEffect=new vt({filter:new ct({where:u,timeExtent:h}),includedEffect:_,excludedEffect:R})}return await Promise.resolve()}function It(d,e){let{type:n}=d;ue(n)?Tt(e):Ge(n)&&Ft(d,e)}function Tt(d){d?.allLayerViews?.filter(e=>be(e?.layer?.type))?.forEach(e=>{let n=e,l=ut(n);n.filter=l,n.set("featureEffect",null)})}function Ft(d,e){e?.allLayerViews?.filter(n=>be(n?.layer?.type)).forEach(async n=>{let l=n;if(d?.effect&&l){let{includedEffect:r,excludedEffect:s}=d.effect,u=await oe(s,l,"excludedEffect"),h=await oe(r,l,"includedEffect"),$=ut(l);l.featureEffect=new vt({filter:$,includedEffect:h,excludedEffect:u}),l.set(xe.FILTER,null)}})}function ut(d){return d?.filter||d?.featureEffect?.filter}var Pt=80,zt=.2,Mt=6;function X(d){let e=typeof d=="number"?d:Number(d);return Number.isFinite(e)?e:0}function ht(d){if("infos"in d)return Math.max(...d.infos.map(e=>ht(e)),0);if("preview"in d&&d.preview){let e=d.preview,n=e.querySelector("svg"),l=X(n?.getAttribute("width")),r=X(n?.getAttribute("height")),s=X(e.style.width?.replace("px","")),u=X(e.style.height?.replace("px","")),h=X(e.clientWidth),$=X(e.clientHeight);return Math.max(l,r,s,u,h,$)}return"src"in d?Math.max(X(d.width),X(d.height)):0}function Ht(d,e){let n=ht(d);return n>=Pt?!0:typeof e!="number"||e<=0?!1:n+Mt>=e}function Bt(d){if(!(d<=0))return d*zt}var Dt=(void 0)(),mt=10,Fe=20,$e=10,Pe=20,ze={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function Ut(d="vertical"){let e={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return d==="vertical"?L`<svg height=4 width=10>${_e`<line x1=0 y1=2 x2=10 y2=2 style=${k(e)} />`}</svg>`:L`<svg height=10 width=10>${_e`<line x1=5 y1=0 x2=5 y2=10 style=${k(e)} />`}</svg>`}function qt(d,e="vertical"){let n=document.createElement("div");return n.style.height=`${Fe}px`,n.className=ze.univariateAboveAndBelowSymbol,d!=null&&(n.style.opacity=d.toString()),Dt.append(n,Ut.bind(null,e)),n}function yt(d,e,n="vertical",l){d.infos.forEach((r,s)=>{if(l&&s===2)r.preview=qt(e,n);else{let{size:u}=r,h=re(u)+(n==="horizontal"?Pe:$e),$=r.preview.tagName.toLowerCase()==="div",w=$?r.preview:document.createElement("div");w&&(w.className=ze.univariateAboveAndBelowSymbol),n==="horizontal"?w&&(w.style.width=`${h}px`):w&&(w.style.height=`${h}px`),$||w&&w.appendChild(r.preview),r.preview=w}})}var Wt=96;function re(d){return d?d/72*Wt:0}function ot(d,e="classic"){let n=d.infos,l=n[0].size,r=n[n.length-1].size;return e==="classic"?(re(l)+$e)/2:(re(l)-re(r))/2}function ke(d,e){if(!d)return null;let n=d.infos.map(r=>r.color),l=gt.renderColorRampPreviewHTML(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width,height:e.height,align:e.rampAlignment,effectList:e.effectList});return l.className=ze.colorRamp,e.opacity!=null&&(l.style.opacity=e.opacity.toString()),l}function Gt(d,e,n,l="vertical"){let r=0,s=d.infos,u=Math.floor(s.length/2),h=e==="full"||e==="above"?0:u,$=e==="full"||e==="below"?s.length-1:u;for(let w=h;w<=$;w++)if(n&&w===u)r+=l==="horizontal"?mt:Fe;else{let S=s[w].size,R=re(S)+(l==="horizontal"?Pe:$e);r+=R}return Math.round(r)}function Se(d,e,n,l="vertical"){let r=Gt(d,e,n,l),s=d.infos,u=Math.floor(s.length/2),h=e==="full"||e==="above"?0:u,$=e==="full"||e==="below"?s.length-1:u,w=e==="full"?s[h].size+s[$].size:e==="above"?s[h].size:s[$].size,S=n?l==="vertical"?Fe:mt:0,R=l==="vertical"?$e*(e==="full"?2:1):Pe*(e==="full"?2:1);return Math.round(r-(re(w)/2+S/2+R/2))}function Jt(d,e,n="vertical"){let l=d.infos,r=l.find(u=>ye(u)),s=l.find(u=>de(u));return r&&(r={...r},r.infos=[...r.infos],yt(r,e,n,!0)),s&&(s={...s},s.infos=[...s.infos]),n==="horizontal"&&(r?.infos.reverse(),s?.infos.reverse()),{sizeRampElement:r,colorRampElement:s}}function Kt(d,e="vertical"){let n=d.infos,l=n.find(s=>ye(s)),r=n.find(s=>de(s));return l&&(l={...l},l.infos=[...l.infos],yt(l,null,e,!1)),r&&(r={...r},r.infos=[...r.infos]),e==="horizontal"&&(l?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:l,colorRampElement:r}}var Qt=Be`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-body.instant-apps-interactive-legend__layer-body--large-symbol>.esri-legend__layer-row{display:grid;grid-template-columns:minmax(35%,max-content) minmax(0,1fr);column-gap:clamp(.125rem,.3vw,.25rem);align-items:center;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-body.instant-apps-interactive-legend__layer-body--large-symbol>.esri-legend__layer-row>.esri-legend__layer-cell--symbols{width:35%;box-sizing:border-box;padding-inline:clamp(.125rem,.3vw,.25rem);display:flex;align-items:center;justify-content:center}instant-apps-interactive-legend-classic .esri-legend__layer-body.instant-apps-interactive-legend__layer-body--large-symbol>.esri-legend__layer-row>.esri-legend__layer-cell--info{display:block;width:auto;min-width:0}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info:not(:has(.esri-legend__ramp-labels)){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media(min-width:992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,m={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",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",layerBodyLargeSymbol:"instant-apps-interactive-legend__layer-body--large-symbol",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},Xt=24,ft={display:"flex",alignItems:"flex-start"},Ie={marginLeft:"3px"},ae={display:"table-cell",verticalAlign:"middle"},Te=class extends qe{constructor(){super(...arguments),this.featureCountRequestId=0,this._legendContainerRef=Ue(),this._hiddenLegendState={},this._pendingRestore={},this._restoreTimeouts={},this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:xe.FILTER}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=Qt}static{this.shadowRootOptions=De}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new Ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),J.onChange("data",()=>this.requestUpdate())}willUpdate(e){e.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||!ue(this.filterMode.type))&&It(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 q.whenOnce(()=>this.legendvm?.view);let e=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let l=n?.allLayers?.map(async h=>await h.load()),r=(await Promise.allSettled(l)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),s=[];r.forEach(h=>{this.legendvm?.view&&s.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(s);let u=await Ae(this.legendvm);J.set("data",{...N.data,...u}),await this.refreshFeatureCount(),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(e),this.legendvm?.view?.map?.layers?.on("after-changes",e)}catch{this.isLoading=!1}}getStretchStopLabel(e){let n=this.messages[e.label];return e.label?`${n}: ${typeof e.value=="string"?e.value:fe.formatNumber(e.value,{style:"decimal",notation:e.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(e,n){if(!e)return;if(typeof e=="string"||typeof e=="number")return e;if("value"in e||"unit"in e){let s=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return fe.substitute(s,e)}if("colorName"in e||"bandName"in e){let{colorName:s,bandName:u}=e,h=this.messages[s],$=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${$}`}if("showCount"in e)return e.showCount?this.messages.clusterCountTitle:null;let l=null;if(n){let s=e;l=s.ratioPercentTotal?"showRatioPercentTotal":s.ratioPercent?"showRatioPercent":s.ratio?"showRatio":e.normField?"showNormField":e.field?"showField":null}else if(this.isRendererTitle(n)){let s=e;l=s.normField?"showNormField":s.normByPct?"showNormPct":s.field?"showField":null}let r=l==="showField"?"{field}":typeof l=="string"?this.messages[l]:"";return l?fe.substitute(r,{field:e.field,normField:e.normField}):""}isRendererTitle(e){return!e}async setupWatchersAndListeners(){let e=this.legendvm?.view?.map?.allLayers?.filter(r=>be(r?.type)),n=[];for(let r of e)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(r));let l=[];try{l=await Promise.all(n)}catch(r){console.error(r)}for(let r of l){let s=`fLayerViewScale-${r.layer.id}`;!this.handles?.has(s)&&r&&this.handles?.add(r.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(r.layer).catch(u=>{console.error(u)})}),s)}e?.forEach(r=>{let s=`fLayer-${r?.id}`;this.handles?.has(s)||this.handles?.add(q?.watch(()=>r?.visible,()=>this.handleFeatureLayerVisibilityChange(r)),s)}),this.handles?.add(q.when(()=>this.legendvm,()=>{q.watch(()=>this.legendvm?.view?.updating,()=>{this.legendvm?.view?.updating&&q.when(()=>!this.legendvm?.view?.updating,()=>{this.refreshFeatureCount().catch(r=>{console.error(r)})},{once:!0,initial:!0})},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(q.on(()=>this.legendvm?.activeLayerInfos,"change",r=>{this.regenerateData().then(()=>{this.handles?.add(q.on(()=>r.children,"change",()=>{this.regenerateData().catch(s=>{console.error(s)})}))}).catch(s=>{console.error(s)})})),this.handles?.add(q.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{this.refreshFeatureCount().catch(r=>{console.error(r)})}))}async createDataForLayer(e){let n=e?.id;if(nt(n,this._pendingRestore,this._hiddenLegendState))return;let l=J.get("data")?.[n],r=it(this.legendvm?.activeLayerInfos)?.find(s=>s?.layer?.id===n);if(!l&&r){let s=await Ve(this.legendvm,r);he({intLegendLayerData:s,layerId:n}),await this.refreshFeatureCount()}}applyFilter(e,n,l,r){return async()=>{let s={...N.data?.[n?.id]};r?await dt(s,e,l,this.filterMode,r):await dt(s,e,l,this.filterMode),he({intLegendLayerData:s,layerId:n?.id})}}async regenerateData(){let e=await Ae(this.legendvm),n=at(e,N.data,this._pendingRestore,this._hiddenLegendState);J.set("data",n),await this.refreshFeatureCount(),this.requestUpdate()}async refreshFeatureCount(){if(!this.featureCount)return;let e=++this.featureCountRequestId;try{let n=await lt(this.legendvm,N.data);if(e!==this.featureCountRequestId)return;J.set("data",{...N.data,...n})}catch{}}handleFeatureLayerVisibilityChange(e){let n=e.id,l=J.get("data")?.[n];if(e.visible){this.handleFeatureLayerVisible(n,e);return}this.handleFeatureLayerHidden(n,l)}handleFeatureLayerVisible(e,n){if(this._hiddenLegendState[e]){let l=this._hiddenLegendState[e];this._pendingRestore[e]=l,he({intLegendLayerData:l,layerId:e}),delete this._hiddenLegendState[e],this.clearRestoreGuard(e),this._restoreTimeouts[e]=window.setTimeout(()=>{delete this._pendingRestore[e],delete this._restoreTimeouts[e]},250);return}this.createDataForLayer(n).catch(l=>{console.error(l)})}handleFeatureLayerHidden(e,n){this.clearRestoreGuard(e),n&&(this._hiddenLegendState[e]=n)}clearRestoreGuard(e){this._restoreTimeouts[e]&&(clearTimeout(this._restoreTimeouts[e]),delete this._restoreTimeouts[e]),delete this._pendingRestore[e]}isImageryStretchedLegend(e,n){return!0}render(){let e=this.renderFilteredLayers(),n=J.get("compact")?` ${m.compact}`:"";return this.isLoading?Q("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):Q("interactive-legend-classic-container",L`<div class=${`${j(this.el)}${n}`} ${Le(this._legendContainerRef)}>${e?.length>0?e:L`<div class=${x(m.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(e=>this.renderLegendForLayer(e)).filter(e=>!!e)}renderLegendForLayer(e,n){if(!e.ready)return null;if(e.children.length){let s=e.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${x(j(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${e} .isChild=${n}><div style=${k({paddingLeft:"20px"})} .id=${`${e?.layer?.id}-legend-layer`} slot=content>${s}</div></instant-apps-interactive-legend-group-legend-element>`}let l=e.legendElements;if(l&&!l.length)return null;let r=l.map((s,u)=>this.renderLegendForElement(s,e.layer,e.effectList,e,u)).filter(s=>!!s);return r.length?L`<instant-apps-interactive-legend-layer-element class=${x(j(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${e} .isChild=${!!n}><div slot=content .id=${`${e?.layer?.id}-legend-layer`} class=${x(m.layer)}>${r}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(e,n,l,r,s,u,h){let $=de(e),w=me(e),S=ye(e),R=null,_=je(r,e,s),T=Xe(e),M=Bt(this._legendContainerRef?.value?.clientWidth||this.el?.clientWidth);if(Ye(e)||S){let C=e.infos.some(U=>Ht(U,M)),B=e.infos.map((U,K)=>this.renderLegendForElementInfo(U,n,l,S,e,r,s,K,_,h)).filter(U=>!!U);B.length&&(R=L`<div class=${`${m.layerBody}${C?` ${m.layerBodyLargeSymbol}`:""}`}>${B}</div>`)}else if(de(e)||me(e)||Ee(e)||Re(e)){let C=e;R=this.renderLegendForRamp(C,n.opacity)}else if(T){let C=e;R=Q(Ke.RELATIONSHIP_RAMP,L`<instant-apps-interactive-legend-relationship class=${x(j(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${r} .legendElement=${C}></instant-apps-interactive-legend-relationship>`)}else if(Qe(e)){let C=e;R=this.renderPieChartRamp(C)}else if(Ze(e)){let C=e;R=this.renderUnivariateAboveAndBelowRamp(C,n.opacity,l)}else if(Oe(e)){let C=e;R=this.renderUnivariateColorSizeRamp(C,n.opacity,l)}if(!R)return null;let I=e.title,P=null;if(typeof I=="string")P=I;else if(I){let C=I,B=this.getTitle(C,$||w);this.isRendererTitle($||w)?"title"in I&&(P=`${I.title} (${B})`):P=B}return L`<instant-apps-interactive-legend-legend-element class=${x(j(this.el))} .activeLayerInfo=${r} .isSizeRamp=${S} .isChild=${!!u} .isColorRamp=${$} .isRelationshipRamp=${T} .isInteractive=${_} .zoomTo=${this.zoomTo} .legendElement=${e} .titleText=${P} .legendvm=${this.legendvm} .legendElementIndex=${s}><div slot=content>${R}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(e){return L`<div .innerHTML=${`${e.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(e,n,l){let{sizeRampElement:r,colorRampElement:s}=Jt(e,n);if(!r)return null;let u=Se(r,"above",!0),h=Se(r,"below",!0),$=12,w=ke(s,{width:$,height:u,rampAlignment:"vertical",opacity:n,type:"above",effectList:l}),S=ke(s,{width:$,height:h,rampAlignment:"vertical",opacity:n,type:"below",effectList:l}),R=ot(r),_=r.infos.map(H=>H.label),T=_.map((H,D)=>D===0?L`<div class=${x(H?w?m.univariateAboveAndBelowLabel:m.rampLabel:"")}>${H}</div>`:D===2?L`<div></div>`:null),M=_.length-1,I=Math.floor(_.length/2),P=_.map((H,D)=>D===I||D===M?L`<div class=${x(H?w?m.univariateAboveAndBelowLabel:m.rampLabel:"")}>${H}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${R}px`},U={height:`${u}px`},K={height:`${h}px`};return Q("univariate-above-and-below-ramp-preview",L`<div style=${k(ft)}><div class=${x(m.layerBody)}>${r.infos.map((H,D)=>L`<div class=${`${m.layerRow} ${m.sizeRamp}`}><div class=${x(m.symbol)} style=${k(C)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!w&&D%2===0?L`<div class=${x(m.layerInfo)}>${_[D]}</div>`:null}</div>`)}</div>${w?Q("color-ramp-preview",L`<div style=${k(B)}><div style=${k(Ie)}><div style=${k(ae)}><div class=${x(m.rampContainer)}>${w}</div></div><div style=${k(ae)}><div class=${x(m.rampLabelsContainer)} style=${k(U)}>${T}</div></div></div><div style=${k(Ie)}><div style=${k(ae)}><div class=${x(m.rampContainer)}>${S}</div></div><div style=${k(ae)}><div class=${x(m.rampLabelsContainer)} style=${k(K)}>${P}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(e,n,l){let{sizeRampElement:r,colorRampElement:s}=Kt(e);if(!r)return null;let u=ot(r),h=12,$=Se(r,"full",!1),w=ke(s,{width:h,height:$,rampAlignment:"vertical",opacity:n,type:"full",effectList:l}),S=r.infos.length-1,R=r.infos.map((I,P)=>P===0||P===S?L`<div class=${x(I.label?s?m.univariateAboveAndBelowLabel:m.rampLabel:"")}>${I.label}</div>`:null),_={display:"table-cell",verticalAlign:"middle"},T={marginTop:`${u}px`},M={height:`${$}px`};return Q("univariate-above-and-below-ramp-preview",L`<div style=${k(ft)}><div class=${x(m.layerBody)}>${r.infos.map(I=>L`<div class=${`${m.layerRow} ${m.sizeRamp}`}><div class=${x(m.symbol)} style=${k(_)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${Q("color-ramp-preview",L`<div style=${k(T)}><div style=${k(Ie)}><div style=${k(ae)}><div class=${x(m.rampContainer)}>${w}</div></div><div style=${k(ae)}><div class=${x(m.rampLabelsContainer)} style=${k(M)}>${R}</div></div></div></div>`)}</div>`)}renderLegendForRamp(e,n){let l=e.infos,r=me(e),s=Ee(e),u=Re(e),h=e.preview,$=r?m.opacityRamp:"";h&&(h.classList.add(m.colorRamp),$&&h.classList.add($)),n!=null&&h&&(h.style.opacity=n.toString());let w=l.map(_=>{let T;if(s){let M=this.messages[_.label];T=typeof M=="string"?M:_.label}else u?T="value"in _?this.getStretchStopLabel(_):_.label:T=_.label;return L`<div class=${x(_.label?m.rampLabel:"")}>${T}</div>`}),S={width:`${Xt}px`},R={height:h?.style?.height};return L`<div class=${x(m.layerRow)}><div class=${x(m.symbolContainer)} style=${k({...S})}><div class=${x(m.rampContainer)} ${Le(_=>{_?.firstChild&&_?.firstChild?.remove(),_?.appendChild(h)})}></div></div><div class=${x(m.layerInfo)}><div class=${x(m.rampLabelsContainer)} style=${k({...R})}>${w}</div></div></div>`}renderLegendForElementInfo(e,n,l,r,s,u,h,$,w,S){if("infos"in e)return this.renderLegendForElement(e,n,l,u,h,!0,e);let R=null,_=!this.isImageryStretchedLegend(n,s.type);if("preview"in e){let{outerHTML:W}=e.preview;R=L`<div class=${x(m.symbol)} .innerHTML=${W??""}></div>`}else"src"in e&&(R=this.renderImage(e,n,_));if(!R)return null;let T=_?` ${m.imageryLayerInfoStretched}`:"",M=!_&&r?` ${m.sizeRamp}`:"",I,P=Je(n),C=tt(P,S);if(N.data){let W=et(P,n,e,C,$),V=C?C?.nestedInfos:P,se=Ne(V),we=!!u?.children?.length||!!C;I=P?.categories?.size===1&&!we?!W?.selected:se||W?.selected}let B="label"in e?e.label:null,U=C&&!("value"in e)?!1:w,K=J.get("compact"),H=this.getTitle(B,!1)||"",D=C?s.title:B??n?.id;return U?L`<button @click=${this.applyFilter(e,n,$,S)} class=${`${m.layerRow} ${m.interactiveLayerRow}${I?` ${m.infoSelected}`:""}`} title=${(K?`${H}`:void 0)??ge} .ariaPressed=${I?"true":"false"}><div class=${`${m.symbolContainer}${T}${M}`}>${R}</div><div class=${`${m.layerInfo}${T}`}>${this.getTitle(B,!1)||""}</div>${this.featureCount&&!K?L`<instant-apps-interactive-legend-count class=${x(j(this.el))} .categoryId=${D} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${s} .infoIndex=${$}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${x(m.layerRow)}><div class=${`${m.symbolContainer}${T}${M}`}>${R}</div><div class=${`${m.layerInfo}${T}`}>${H}</div></div>`}renderImage(e,n,l){let{label:r,src:s,opacity:u}=e,h=l?` ${m.imageryLayerStretchedImage}`:"",$=l?"":` ${m.symbol}`,w={opacity:`${u??n.opacity}`};return L`<img alt=${this.getTitle(r,!1)??ge} src=${s??ge} width=${e.width} height=${e.height} class=${`$${h}${$}`} style=${k(w)}>`}};We("instant-apps-interactive-legend-classic",Te);return Te},"layers/support/FeatureFilter","layers/support/FeatureEffect","symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d,e)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./EXBEKVP5.js";var e=`# Your Role\r
|
|
3
3
|
You are the build request guardrail classifier for the ArcGIS Solution Builder agent. Your job is to determine whether the user's request is valid for solution design and whether it aligns with one or more available solution templates.\r
|
|
4
4
|
\r
|
|
5
5
|
# Your Task\r
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./HJ4N3RZN.js";import{a as r}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./
|
|
2
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./HJ4N3RZN.js";import{a as r}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./EXBEKVP5.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",clearOnHidden:!0,type:"number",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};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a,b}from"./UKXDAOCN.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./
|
|
2
|
+
import{a,b}from"./UKXDAOCN.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./EXBEKVP5.js";export{a as TemplateEditorTypes,b as TemplateSchema};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./EXBEKVP5.js";var e=`The Solution Builder Agent **guides, creates, and updates custom solutions** based on explicit user intent.\r
|
|
3
3
|
\r
|
|
4
4
|
**Use this agent when the user:**\r
|
|
5
5
|
- Asks how to build a solution or what kinds of solutions they can build\r
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./EXBEKVP5.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as y}from"./ONARC6AZ.js";import{a as E}from"./2D6XDWYA.js";import{a as $}from"./BM4VSEDV.js";import{b as f}from"./HVT2WBVC.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{E as h,F as u,G as m,I as p,h as b,i as o,l as _,q as w}from"./FFF5HUPM.js";import"./
|
|
2
|
+
import{a as y}from"./ONARC6AZ.js";import{a as E}from"./2D6XDWYA.js";import{a as $}from"./BM4VSEDV.js";import{b as f}from"./HVT2WBVC.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{E as h,F as u,G as m,I as p,h as b,i as o,l as _,q as w}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([c,S,L])=>{var C=`
|
|
3
3
|
@media print {
|
|
4
4
|
@page {
|
|
5
5
|
size: Portrait;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as s}from"./TJDAE43J.js";import{a as l,b as p}from"./6AFP7DRB.js";import{e as m}from"./YQHYMLC7.js";import"./5O53T3SW.js";import{a}from"./AJZDBHB6.js";import"./
|
|
2
|
+
import{a as s}from"./TJDAE43J.js";import{a as l,b as p}from"./6AFP7DRB.js";import{e as m}from"./YQHYMLC7.js";import"./5O53T3SW.js";import{a}from"./AJZDBHB6.js";import"./EXBEKVP5.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
|