@esri/solutions-components 1.0.0 → 1.0.1
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/{5JQYCQWD.js → 2CC32CPA.js} +1 -1
- package/dist/cdn/{B5KSOIAE.js → 2F7ZIXE4.js} +2 -2
- package/dist/cdn/{VXZ2B534.js → 2JA5VZ4Q.js} +2 -2
- package/dist/cdn/{5C2W5W6U.js → 2LWO2DTN.js} +2 -2
- package/dist/cdn/{3EVGRBFY.js → 2LZJQN7R.js} +1 -1
- package/dist/cdn/{AMW6PLM5.js → 2UPCSZ4S.js} +2 -2
- package/dist/cdn/{AB4XPYGH.js → 2VSWXPDT.js} +2 -2
- package/dist/cdn/2W44KQT2.js +4 -0
- package/dist/cdn/{UUUHJN3K.js → 2ZTS3WNB.js} +2 -2
- package/dist/cdn/{A5FGCYNW.js → 36PJ5WL5.js} +2 -2
- package/dist/cdn/{X4I3726V.js → 3ADKTMOT.js} +2 -2
- package/dist/cdn/{VUHPVY6F.js → 3D2A2GR6.js} +2 -2
- package/dist/cdn/{P325FJIH.js → 3O5P6PXO.js} +2 -2
- package/dist/cdn/{QQBRQOVF.js → 3RAYGCP4.js} +2 -2
- package/dist/cdn/{LZC5OKYE.js → 3RJYN2DN.js} +2 -2
- package/dist/cdn/{KSLSMSNN.js → 3SDE2CZG.js} +2 -2
- package/dist/cdn/3V6F3XIS.js +18 -0
- package/dist/cdn/{J4JPFH2C.js → 3WPFW6HO.js} +2 -2
- package/dist/cdn/{OS2XMULM.js → 444IDO3Z.js} +2 -2
- package/dist/cdn/{4AMMMHQL.js → 467UGXS6.js} +2 -2
- package/dist/cdn/{C5POLXJA.js → 4C2LIMJZ.js} +2 -2
- package/dist/cdn/{VTR2E6HB.js → 4EOWY4WA.js} +2 -2
- package/dist/cdn/{PSP2JCLX.js → 4GAUFXRB.js} +1 -1
- package/dist/cdn/{WIZLQW7N.js → 4LAC6IBS.js} +2 -2
- package/dist/cdn/{NP4W7EDK.js → 4MCP26Y4.js} +2 -2
- package/dist/cdn/{4H2V4B6C.js → 4QTSIIRU.js} +2 -2
- package/dist/cdn/{JYTMSQVX.js → 4SSQ22MK.js} +2 -2
- package/dist/cdn/{4BIK73M6.js → 4U4WVITW.js} +2 -2
- package/dist/cdn/{6C3QGOV2.js → 4U4XW77U.js} +2 -2
- package/dist/cdn/{ZRPPJQRE.js → 54HVDRDS.js} +2 -2
- package/dist/cdn/{TBQ6UDD2.js → 5B34RYXT.js} +2 -2
- package/dist/cdn/{BZES2KJM.js → 5BFFCPDO.js} +2 -2
- package/dist/cdn/{PYIX27UL.js → 5C4MSN6W.js} +2 -2
- package/dist/cdn/{PPVPQPWQ.js → 5CRWOCNH.js} +2 -2
- package/dist/cdn/{XXLQWESJ.js → 5HLL7D2P.js} +2 -2
- package/dist/cdn/{BM7MU2L4.js → 5IBDEJNP.js} +2 -2
- package/dist/cdn/{5YSFQ4E3.js → 5IBY2FQU.js} +1 -1
- package/dist/cdn/{6NDD2A2S.js → 5IH2NEYC.js} +2 -2
- package/dist/cdn/5KQ3IDBU.js +4 -0
- package/dist/cdn/{RV44MYN7.js → 5NTNQARK.js} +2 -2
- package/dist/cdn/{AF27BERT.js → 5PZ5I3C4.js} +2 -2
- package/dist/cdn/{RV5R7U2A.js → 5VKFD2YO.js} +2 -2
- package/dist/cdn/{SRZKPJVK.js → 5WH7QYAO.js} +2 -2
- package/dist/cdn/6CIFKKHA.js +18 -0
- package/dist/cdn/{PFD6TBZM.js → 6CL5S7CF.js} +2 -2
- package/dist/cdn/{OIK6EGQ7.js → 6EUBWF2M.js} +2 -2
- package/dist/cdn/{GK2GYSCW.js → 6IKP3GLY.js} +2 -2
- package/dist/cdn/{RUKTK5PF.js → 6INDIN6I.js} +1 -1
- package/dist/cdn/{2DNLAFAS.js → 6JJTBX53.js} +2 -2
- package/dist/cdn/{UANGRMJE.js → 6OB4W3O5.js} +2 -2
- package/dist/cdn/{KQRRNLN7.js → 6WQZRPWK.js} +2 -2
- package/dist/cdn/{UZFCVNKV.js → 6YGUHVIL.js} +2 -2
- package/dist/cdn/{KTI5QE2K.js → 6ZFBCODW.js} +2 -2
- package/dist/cdn/{TKP6ZIYO.js → 727TY5WA.js} +1 -1
- package/dist/cdn/{VXCPN4DG.js → 74KF43Q7.js} +2 -2
- package/dist/cdn/{5LUSAPPH.js → 77NGJJRC.js} +2 -2
- package/dist/cdn/{O3JIKJGK.js → 7ETOIECJ.js} +2 -2
- package/dist/cdn/{PUKJYYTH.js → 7LRZQ562.js} +2 -2
- package/dist/cdn/{JSPHL3ZQ.js → 7SCM56QW.js} +2 -2
- package/dist/cdn/{FGCO2ORF.js → 7T5OVZJR.js} +1 -1
- package/dist/cdn/{I3E3JX77.js → 7WJWSOJH.js} +2 -2
- package/dist/cdn/{ORH5XZIQ.js → 7XKZ3CKS.js} +1 -1
- package/dist/cdn/{YT3HXHZX.js → 7XNXAJF3.js} +2 -2
- package/dist/cdn/{4DELYGXR.js → AAW4M5UY.js} +1 -1
- package/dist/cdn/{M3JQHFSU.js → ACTLIYVY.js} +1 -1
- package/dist/cdn/AILRWBPO.js +4 -0
- package/dist/cdn/{BOHONSFJ.js → AJ4YAPGC.js} +2 -2
- package/dist/cdn/AOPIUSEK.js +4 -0
- package/dist/cdn/{G4UJUDJT.js → ARAFKGS2.js} +2 -2
- package/dist/cdn/{DJG2ZUWK.js → AVAUHONF.js} +2 -2
- package/dist/cdn/{RFH4QYOD.js → AX2IRDRE.js} +2 -2
- package/dist/cdn/{L72F3CMH.js → B3J5GWRK.js} +1 -1
- package/dist/cdn/{OKHJNJQ3.js → B5QR4WI6.js} +2 -2
- package/dist/cdn/{HYWAINS4.js → BAPJICUA.js} +2 -2
- package/dist/cdn/{QPGA66A2.js → BDHYDLFO.js} +2 -2
- package/dist/cdn/BPEPRRF3.js +4 -0
- package/dist/cdn/{O5NFMICR.js → BQ6W6B2V.js} +1 -1
- package/dist/cdn/{EFEMVR7H.js → BV7WAP3N.js} +2 -2
- package/dist/cdn/C2ERTRIZ.js +4 -0
- package/dist/cdn/{I4QX6RMP.js → C4ZYMWDM.js} +2 -2
- package/dist/cdn/{6PD2H4JH.js → CC3G7K6T.js} +2 -2
- package/dist/cdn/{KNPFBJQA.js → CVYZLOIA.js} +2 -2
- package/dist/cdn/{GU6ODYX3.js → D5VM7347.js} +2 -2
- package/dist/cdn/D7HY5OWZ.js +18 -0
- package/dist/cdn/{HI7D2U25.js → DGUC2FBD.js} +2 -2
- package/dist/cdn/DMP3KEG5.js +4 -0
- package/dist/cdn/{753QAV4W.js → DMSA5MQS.js} +2 -2
- package/dist/cdn/{EHTK6HWZ.js → DWHGFYZ3.js} +1 -1
- package/dist/cdn/{TQWK6V5V.js → E33KGT3U.js} +1 -1
- package/dist/cdn/{MU4OTO47.js → E3AUWVZ5.js} +2 -2
- package/dist/cdn/{OGW4H5WS.js → E4FOTYSK.js} +2 -2
- package/dist/cdn/E5WY7EJU.js +18 -0
- package/dist/cdn/{WC247XQ6.js → EAZUJFAP.js} +2 -2
- package/dist/cdn/ECID3BOS.js +18 -0
- package/dist/cdn/{7XRIDSQA.js → EER4N6Z4.js} +2 -2
- package/dist/cdn/ERVPNOOE.js +4 -0
- package/dist/cdn/{FSQJF7E4.js → EVLPNGVY.js} +2 -2
- package/dist/cdn/{ZFJUFWKG.js → EXGARZ53.js} +2 -2
- package/dist/cdn/{PLASWOCJ.js → EXNI3E3V.js} +1 -1
- package/dist/cdn/{KQT4EINQ.js → EZWQ3FN6.js} +2 -2
- package/dist/cdn/{ZGA5KQXP.js → F66BID67.js} +1 -1
- package/dist/cdn/{PGXDDG5S.js → FB42MKVI.js} +2 -2
- package/dist/cdn/{TXLKUYV2.js → FBCRLSBX.js} +2 -2
- package/dist/cdn/{CLZ76DFI.js → FBPGHBBN.js} +1 -1
- package/dist/cdn/{XM4IJDWV.js → FGUFX7HJ.js} +1 -1
- package/dist/cdn/{FVAP4UBB.js → FJJXJF2V.js} +2 -2
- package/dist/cdn/{NCU6UX4Y.js → FNKZV5FF.js} +2 -2
- package/dist/cdn/{NMZOOVD5.js → FNWUB6GJ.js} +2 -2
- package/dist/cdn/{IXTBS5WJ.js → FPCDPUTH.js} +2 -2
- package/dist/cdn/{FFU546ZJ.js → FSLY3Q32.js} +2 -2
- package/dist/cdn/{7V252QBT.js → FUNSSHRI.js} +2 -2
- package/dist/cdn/{MW3TOC4O.js → G4UGKO7I.js} +2 -2
- package/dist/cdn/{TNPHUDU5.js → GERXYYJ5.js} +2 -2
- package/dist/cdn/GHJ65L2F.js +4 -0
- package/dist/cdn/GLEKE5MB.js +4 -0
- package/dist/cdn/{2JQ2BEIQ.js → GLGJ4TDS.js} +2 -2
- package/dist/cdn/{YLMMX2OH.js → GMHTFC5D.js} +2 -2
- package/dist/cdn/{VF3OE7WS.js → GPDF625C.js} +1 -1
- package/dist/cdn/{C6BGGFEF.js → GPFSHKEQ.js} +2 -2
- package/dist/cdn/{4RYZ25UY.js → GS5KTDPD.js} +1 -1
- package/dist/cdn/{F3GQ2KDF.js → GXY74GGJ.js} +2 -2
- package/dist/cdn/{F2T2S2QU.js → H26UVKPN.js} +1 -1
- package/dist/cdn/{4OJANGG2.js → H5Q2TVQ7.js} +2 -2
- package/dist/cdn/{WTQ4CUVN.js → H7LKWL6W.js} +2 -2
- package/dist/cdn/{CDDGYF3K.js → HACP2EXZ.js} +1 -1
- package/dist/cdn/{U45DGMUG.js → HEDVVSMN.js} +2 -2
- package/dist/cdn/{OGLT2FNT.js → HG7I73HP.js} +2 -2
- package/dist/cdn/{4RVVEL4U.js → HGY2TGZZ.js} +2 -2
- package/dist/cdn/{KVEA5E7H.js → HSZ7M7T7.js} +2 -2
- package/dist/cdn/{OZVC6WF4.js → HU3NU6NO.js} +2 -2
- package/dist/cdn/{7N6NOB6I.js → HUFTJBPT.js} +2 -2
- package/dist/cdn/{B4IYKBMJ.js → HZ247CLQ.js} +2 -2
- package/dist/cdn/{2AZTGGQP.js → IBVPZZZL.js} +1 -1
- package/dist/cdn/{DZWNJWAP.js → IGPECNF7.js} +2 -2
- package/dist/cdn/{6EBCWPAA.js → IRMQ5QUZ.js} +2 -2
- package/dist/cdn/{K3GLXE2P.js → IW7MKKD5.js} +2 -2
- package/dist/cdn/{TZRKKXAD.js → IYHBIGDU.js} +2 -2
- package/dist/cdn/{BF4MLXML.js → J2RTL6TV.js} +1 -1
- package/dist/cdn/{ZUVIZNK3.js → JKLJ2PP4.js} +2 -2
- package/dist/cdn/{WZT6CYOJ.js → JLYYEGO6.js} +1 -1
- package/dist/cdn/{65FSH56H.js → JNK7VRHJ.js} +2 -2
- package/dist/cdn/{WSWWUPOS.js → JQWOQPMK.js} +2 -2
- package/dist/cdn/{4LOK3JWB.js → JRSOJV5U.js} +2 -2
- package/dist/cdn/{A534RBYP.js → JVIJAD4Z.js} +1 -1
- package/dist/cdn/{AABCWF4V.js → JWQQXCKE.js} +2 -2
- package/dist/cdn/{MUWEJYVI.js → JXB7JVDB.js} +2 -2
- package/dist/cdn/{RPF35HAJ.js → JXDP3DWB.js} +2 -2
- package/dist/cdn/{PE2TLSRM.js → K6SIK44G.js} +2 -2
- package/dist/cdn/{Y33UFW64.js → KAJVJKOH.js} +2 -2
- package/dist/cdn/{KAZSBKHX.js → KB37GULW.js} +1 -1
- package/dist/cdn/{Q5AWSODM.js → KFIZVENE.js} +2 -2
- package/dist/cdn/{QZYPXSAV.js → KKYPHXOP.js} +2 -2
- package/dist/cdn/{2IP6OT43.js → KM7TRF5W.js} +2 -2
- package/dist/cdn/{HQIAVN67.js → KMSR2MGE.js} +1 -1
- package/dist/cdn/{IXJEV6RS.js → KPQBFQZB.js} +2 -2
- package/dist/cdn/{TARGNPVA.js → KRCWP4LH.js} +2 -2
- package/dist/cdn/{JVW5HI2D.js → KUTMCNDR.js} +2 -2
- package/dist/cdn/{UUIMWX7O.js → LDGERXGM.js} +2 -2
- package/dist/cdn/{PS7XJL2U.js → LTQVQQV3.js} +2 -2
- package/dist/cdn/{CX2QWWHL.js → LVF5XFSJ.js} +2 -2
- package/dist/cdn/{TGHZAXVE.js → LWMS3PYA.js} +2 -2
- package/dist/cdn/{SGGYFQLR.js → M2M3Q6IH.js} +2 -2
- package/dist/cdn/{7VTP4EVO.js → M5BRHZXV.js} +2 -2
- package/dist/cdn/{I6ZE3VUY.js → MCEAO75V.js} +1 -1
- package/dist/cdn/{S2NGFTAF.js → MF7K3QIL.js} +2 -2
- package/dist/cdn/MIQF66D6.js +4 -0
- package/dist/cdn/{DUVNOIA7.js → ML4GJWGS.js} +2 -2
- package/dist/cdn/MLARWD73.js +4 -0
- package/dist/cdn/{KTKSUQ5S.js → MLOQ5K45.js} +2 -2
- package/dist/cdn/{IKVFAXUB.js → MOKLXZ34.js} +2 -2
- package/dist/cdn/{6WGXTLF4.js → MPOB2AAE.js} +2 -2
- package/dist/cdn/{GQVTZIV3.js → MWWVKDRQ.js} +2 -2
- package/dist/cdn/N4VYHF37.js +18 -0
- package/dist/cdn/{VKXA2IQW.js → NCR7SCD4.js} +2 -2
- package/dist/cdn/{ZPNUYCYC.js → NDLXIAZ2.js} +2 -2
- package/dist/cdn/NFNJC6DC.js +4 -0
- package/dist/cdn/{7ESWUYD7.js → NJX24G7O.js} +2 -2
- package/dist/cdn/{4P66S2XD.js → NMCIL4AU.js} +2 -2
- package/dist/cdn/{UKSUWA3B.js → NNTKYQHM.js} +1 -1
- package/dist/cdn/{2ETHF7OM.js → NOQQVVJO.js} +2 -2
- package/dist/cdn/{LWNLZFMB.js → NUCELJUA.js} +2 -2
- package/dist/cdn/{PY55NBB3.js → NXNAWCBW.js} +2 -2
- package/dist/cdn/{TSYBPIHM.js → O24JVO6E.js} +2 -2
- package/dist/cdn/{XGBQUYNN.js → O52M27Z5.js} +2 -2
- package/dist/cdn/{GH7MZ4TU.js → O5NUSUPU.js} +1 -1
- package/dist/cdn/{RM3ZEQXS.js → OBZAUMYX.js} +2 -2
- package/dist/cdn/{ASHWLSNH.js → OJLPY774.js} +2 -2
- package/dist/cdn/{MAFJTGI7.js → OK6QGXX6.js} +2 -2
- package/dist/cdn/{VXPBZUD6.js → OOAOVEB5.js} +2 -2
- package/dist/cdn/{BVSTBYJQ.js → OOTUQXHB.js} +2 -2
- package/dist/cdn/{WP57L3ZR.js → OP7BMHEO.js} +2 -2
- package/dist/cdn/OPZKDVLB.js +18 -0
- package/dist/cdn/{GFKIE25D.js → OYP7AQ6G.js} +2 -2
- package/dist/cdn/{45CNJSWY.js → PCVCGUBO.js} +2 -2
- package/dist/cdn/{3GL66CHB.js → PFYARW7S.js} +2 -2
- package/dist/cdn/{RRC2IGCL.js → PGC6RJRM.js} +2 -2
- package/dist/cdn/{YXHUA4CI.js → PLMRWY6C.js} +2 -2
- package/dist/cdn/{YWSDRWQN.js → PMFBRSOS.js} +2 -2
- package/dist/cdn/{WY2YAJV2.js → PTHS5BTD.js} +1 -1
- package/dist/cdn/{WVJNLVM2.js → Q4BR636Z.js} +2 -2
- package/dist/cdn/{FJDXAEGB.js → QBMJV5OP.js} +2 -2
- package/dist/cdn/{ZUSLGKOQ.js → QCHE4DVW.js} +2 -2
- package/dist/cdn/{XDTSRIUV.js → QGYS53RR.js} +4 -4
- package/dist/cdn/{7QIEPJRP.js → QLLSLSBN.js} +1 -1
- package/dist/cdn/{77US24T3.js → QLU4XVVT.js} +2 -2
- package/dist/cdn/{PCAPJGRX.js → QMSEY6QZ.js} +2 -2
- package/dist/cdn/{JQ7HMAJD.js → QRWG2TYR.js} +2 -2
- package/dist/cdn/{SFY7JL2D.js → QSIK5PN7.js} +2 -2
- package/dist/cdn/{GUNSWZAV.js → QU7J46DX.js} +2 -2
- package/dist/cdn/{DEQ6UPN5.js → R6EOKADJ.js} +2 -2
- package/dist/cdn/{DBQ42J5H.js → RD7ZS2W6.js} +2 -2
- package/dist/cdn/{7C7SXM4M.js → RJWYLFLD.js} +2 -2
- package/dist/cdn/{M2MY5G5H.js → RK2B65CQ.js} +2 -2
- package/dist/cdn/{AH6XEMQ2.js → RKBLAY36.js} +2 -2
- package/dist/cdn/{PYNMB3I2.js → RKMDSDH2.js} +2 -2
- package/dist/cdn/{PXCWZJ7U.js → S32ETE5A.js} +2 -2
- package/dist/cdn/{LKE4PKVZ.js → SEYKRRTC.js} +2 -2
- package/dist/cdn/{DC22KAGH.js → SJEANN4A.js} +2 -2
- package/dist/cdn/{MTPMC5GM.js → SONLDZKZ.js} +2 -2
- package/dist/cdn/{ATNDBD4K.js → SSBXWLZH.js} +2 -2
- package/dist/cdn/{N2SMCNLL.js → T2XCKYU7.js} +2 -2
- package/dist/cdn/{4QO4KGLF.js → TAV3B2GU.js} +1 -1
- package/dist/cdn/{UNYBJ7BO.js → TBO2D36S.js} +1 -1
- package/dist/cdn/{LDJU7VV4.js → TC5DHEWZ.js} +2 -2
- package/dist/cdn/{GEOD3XEI.js → TIZVAXWN.js} +2 -2
- package/dist/cdn/{KIQPCYN6.js → TKLPH6MB.js} +1 -1
- package/dist/cdn/TNYU5475.js +4 -0
- package/dist/cdn/{QUGE5UIB.js → TOETAVWD.js} +2 -2
- package/dist/cdn/{KFYEVP5G.js → TP5XDVEG.js} +2 -2
- package/dist/cdn/{375NF2W7.js → TTX7PTAO.js} +2 -2
- package/dist/cdn/{RX5LSG2B.js → TWNZJBQA.js} +2 -2
- package/dist/cdn/{6JY7QTCS.js → TZQH4GMU.js} +2 -2
- package/dist/cdn/{FWP6XYXK.js → UOD4T3ON.js} +1 -1
- package/dist/cdn/{Q7M5LNDV.js → UROIIN7O.js} +2 -2
- package/dist/cdn/{562IDXBA.js → USLJNUGC.js} +2 -2
- package/dist/cdn/{YQMCID5Z.js → UTLWN6N7.js} +2 -2
- package/dist/cdn/{GVD3BPTW.js → UUHKWZ2Z.js} +2 -2
- package/dist/cdn/{CXK3KS6W.js → UUUTNXB4.js} +1 -1
- package/dist/cdn/{YHQYMIPA.js → UY5FQRLE.js} +3 -3
- package/dist/cdn/{X6AY6CXE.js → V55ZE6QF.js} +2 -2
- package/dist/cdn/{D55TK32T.js → VAVI46B5.js} +2 -2
- package/dist/cdn/{JOYJ7K2X.js → VGUHMA6Y.js} +2 -2
- package/dist/cdn/{UUIA7SBZ.js → VQHGM66B.js} +2 -2
- package/dist/cdn/{W3GM72GU.js → VRBUE2RB.js} +2 -2
- package/dist/cdn/{CGUIDOP7.js → VS4B5DD2.js} +2 -2
- package/dist/cdn/{T7T6X6O5.js → VTZILRDE.js} +2 -2
- package/dist/cdn/{MC2Q2QYK.js → VU5B3BJJ.js} +2 -2
- package/dist/cdn/{Y737Y2JU.js → VWO7O6IS.js} +2 -2
- package/dist/cdn/VYNJ3IAK.js +4 -0
- package/dist/cdn/{CUK7OF76.js → VZFDFVGG.js} +2 -2
- package/dist/cdn/{QPA3WWD5.js → VZFXG3TX.js} +2 -2
- package/dist/cdn/{QEZIPKKL.js → W2I3RJRK.js} +2 -2
- package/dist/cdn/{37FXFNVH.js → W377GATJ.js} +2 -2
- package/dist/cdn/{TY7GL3FG.js → W4D3Q2KE.js} +2 -2
- package/dist/cdn/{VU6ZKOYY.js → WDUYYHOZ.js} +2 -2
- package/dist/cdn/{IKGNORRI.js → WEWB3BRG.js} +1 -1
- package/dist/cdn/{DMWC3BFF.js → WLNWGHXO.js} +2 -2
- package/dist/cdn/{MAVOVPIB.js → WMHD7E5R.js} +2 -2
- package/dist/cdn/{7S572CXN.js → WMYYW4X6.js} +2 -2
- package/dist/cdn/{K7A26VQP.js → WOD4EWNY.js} +2 -2
- package/dist/cdn/{A3YY7YT4.js → WQN5K2ZY.js} +2 -2
- package/dist/cdn/WSSBOJ5N.js +18 -0
- package/dist/cdn/{KZFFQCTK.js → WW7D6SSQ.js} +1 -1
- package/dist/cdn/WYKOLNUO.js +4 -0
- package/dist/cdn/{H4S5Q3QE.js → WZ2Y55GH.js} +2 -2
- package/dist/cdn/{C5B7DSSA.js → X5B3HI7H.js} +2 -2
- package/dist/cdn/X6GUL5YM.js +4 -0
- package/dist/cdn/{G457BSKN.js → XF3QMPYW.js} +2 -2
- package/dist/cdn/XF4JI76V.js +18 -0
- package/dist/cdn/{2VDJE4V4.js → XH56YQ5M.js} +2 -2
- package/dist/cdn/{COE4KJBH.js → XJEKCHNF.js} +2 -2
- package/dist/cdn/{4MI7L2IM.js → XNQ27MXZ.js} +2 -2
- package/dist/cdn/{FDRKGYGJ.js → XNUHTFDS.js} +1 -1
- package/dist/cdn/{YMQZBSVF.js → XT5ITDOM.js} +2 -2
- package/dist/cdn/{7U4V4KQD.js → XUEE63KO.js} +1 -1
- package/dist/cdn/{JKOAF37V.js → Y34VPW3D.js} +2 -2
- package/dist/cdn/{USSUHCJG.js → YIIADRZZ.js} +2 -2
- package/dist/cdn/{YO3NHOIF.js → Z47UTABF.js} +2 -2
- package/dist/cdn/{3NF274CX.js → ZD2443DU.js} +2 -2
- package/dist/cdn/{BAUJD3CH.js → ZFECRVJQ.js} +2 -2
- package/dist/cdn/{BMVYNMLV.js → ZG7KYN4E.js} +2 -2
- package/dist/cdn/{HG3L3JDR.js → ZJQDRWP2.js} +2 -2
- package/dist/cdn/{SZEHA4OQ.js → ZLLEYAP3.js} +2 -2
- package/dist/cdn/{3EO7HXAA.js → ZOMUTHCL.js} +2 -2
- package/dist/cdn/{OWK6VKPV.js → ZV2QHOXX.js} +2 -2
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +17 -3
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +57 -0
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +13 -10
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +8 -8
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +25 -26
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +1 -0
- package/dist/components/solution-delete-dialog/customElement.js +42 -46
- package/dist/components/solution-delete-dialog/index.d.ts +1 -0
- package/dist/components/solution-delete-dialog/index.js +1 -0
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +25 -75
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.d.ts +1 -1
- package/dist/components/solution-details-panel/customElement.js +54 -59
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +24 -0
- package/dist/components/solution-snapshot-gallery/customElement.js +45 -17
- package/dist/components/solution-snapshot-gallery/index.d.ts +4 -0
- package/dist/components/solution-snapshot-gallery/index.js +4 -0
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +19 -15
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +198 -71
- package/dist/docs/docs.json +216 -73
- package/dist/docs/vscode.html-custom-data.json +8 -2
- package/dist/docs/web-types.json +48 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/common.d.ts +16 -0
- package/package.json +22 -22
- package/dist/cdn/2V47J56C.js +0 -18
- package/dist/cdn/3O4G5XDF.js +0 -18
- package/dist/cdn/3WWZQYHU.js +0 -18
- package/dist/cdn/4W4XMW2A.js +0 -4
- package/dist/cdn/6KPH5V5K.js +0 -4
- package/dist/cdn/A6RESCXF.js +0 -4
- package/dist/cdn/B7B5O4K4.js +0 -18
- package/dist/cdn/DYWRP4H5.js +0 -18
- package/dist/cdn/G4CYMD2F.js +0 -4
- package/dist/cdn/HLGUH3Z5.js +0 -4
- package/dist/cdn/IRZGR6FA.js +0 -18
- package/dist/cdn/JUIF3JFS.js +0 -4
- package/dist/cdn/M5DV4YRX.js +0 -18
- package/dist/cdn/MI54WZOS.js +0 -18
- package/dist/cdn/N6EHMAJL.js +0 -4
- package/dist/cdn/NF2EHSNV.js +0 -4
- package/dist/cdn/NKZQ7OVS.js +0 -4
- package/dist/cdn/PUQGIVUM.js +0 -4
- package/dist/cdn/T2HT5CMC.js +0 -18
- package/dist/cdn/T6E7HFWP.js +0 -4
- package/dist/cdn/TCDPSWNN.js +0 -4
- package/dist/cdn/U3YAUOKI.js +0 -4
- package/dist/cdn/YLTGHBKB.js +0 -4
- package/dist/cdn/ZEVGAANR.js +0 -4
- package/dist/cdn/ZRK24AZH.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
3
|
+
v1.0.1 */
|
4
4
|
var l=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["no","no"],["nb","no"],["nn","no"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]);function h(t){return s(t,"dir","ltr")}function s(t,e,n){let r=t.closest(`[${e}]`);return r?r.getAttribute(e):n}export{l as a,h as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import
|
3
|
+
v1.0.1 */
|
4
|
+
import c from"./AILRWBPO.js";import b from"./7WJWSOJH.js";import{a}from"./7ETOIECJ.js";import"./JLYYEGO6.js";import"./FJJXJF2V.js";import"./PLMRWY6C.js";import"./UOD4T3ON.js";import"./ZLLEYAP3.js";import"./JQWOQPMK.js";import"./ZOMUTHCL.js";import"./XNUHTFDS.js";import"./HACP2EXZ.js";import"./TAV3B2GU.js";import"./W2I3RJRK.js";import"./4MCP26Y4.js";import"./ACTLIYVY.js";import"./4GAUFXRB.js";import"./KMSR2MGE.js";import"./SSBXWLZH.js";import"./OP7BMHEO.js";import"./5IBY2FQU.js";import"./FBPGHBBN.js";import"./B3J5GWRK.js";import{h as l,i as h}from"./FGUFX7HJ.js";import{a as m}from"./KPQBFQZB.js";import{D as u,c as d,d as r,n,p as f,y as p}from"./F66BID67.js";import"./EXNI3E3V.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -15,4 +15,4 @@ import{a as b}from"./NKZQ7OVS.js";import{a}from"./O3JIKJGK.js";import"./WZT6CYOJ
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
16
|
* See the License for the specific language governing permissions and
|
17
17
|
* limitations under the License.
|
18
|
-
*/.spatial-ref-switch{@apply m-inline-end-2;}.spatial-ref-component{@apply mt-2.5 m-inline-start-10;}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{@apply m-0;}.spatial-ref-item-title{@apply mb-2 text-sm;}.spatial-ref-item-switch{@apply m-inline-end-2;}.switch-label{@apply text-sm;}.spatial-ref-services-list{margin-block-start:.5em;margin-block-end:.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:.25rem}}`,S="3857",o=class extends p{constructor(){super(),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this._translations=m({name:"solution-spatial-ref",blocking:!0}),this.featureServiceSpatialReferenceChange=n(),this.enableDefaultSpatialReferenceChange=n(),this.enabledSpatialReferenceChange=n(),this.listenOn(window,"solutionStoreHasChanges",this.solutionStoreHasChanges)}static{this.properties={enabled:7,enableDefault:7,featureServices:2,_translations:16}}static{this.styles=g}static{this.shadowRootOptions=f}willUpdate(e){e.has("enabled")&&(this.hasUpdated||this.enabled!==!1)&&this.enabledChanged(),e.has("enableDefault")&&(this.hasUpdated||this.enableDefault!==!1)&&this.enableDefaultChanged()}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}load(){this._updateUIFromStore()}render(){return this._updateUIFromStore(),r`<label class="switch-label"><calcite-switch .checked=${this.enabled} class="spatial-ref-switch" @calciteSwitchChange=${e=>this.enabled=e.target.checked} scale=m></calcite-switch>${this._translations.enableSpatialReference}</label><br><div class="spatial-ref-component" id=spatialRefDefn>${this._renderFeatureServicesList(this.featureServices)}</div><label class="switch-label spatial-ref-component"><calcite-switch .checked=${this.enableDefault} class="spatial-ref-switch" .disabled=${!this.enabled} @calciteSwitchChange=${e=>this.enableDefault=e.target.checked} scale=m></calcite-switch>${this._translations.enableDefaultSpatialReference}</label>`}solutionStoreHasChanges(){this.featureServices=a.getStoreInfo("featureServices")}async _testAccess(e,t,s,i){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){b(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach(t=>t.checked=!1),e.forEach(t=>this._updateEnabledServices({detail:{switched:!1}},t))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?S:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e&&(e.toString().startsWith(l)?e:`${l}${e}${h}`)}_renderFeatureServicesList(e){let t=a.getStoreInfo("spatialReferenceInfo"),s=e.filter(i=>Object.keys(t.services).some(c=>c===i.id));return s.length>0?r`<div><label class="spatial-ref-item-title">${this._translations.featureServicesHeading}</label><ul class="spatial-ref-services-list">${s.map(i=>r`<li class="spatial-ref-services-list-item"><label class="switch-label"><calcite-switch .checked=${t.services[i.id]} class="spatial-ref-item-switch" .disabled=${!this.enabled} @calciteSwitchChange=${c=>this._updateEnabledServices(c,i)} scale=m></calcite-switch>${i.name}</label></li>`)}</ul></div>`:null}_updateEnabledServices(e,t){let s=a.getStoreInfo("spatialReferenceInfo"),i=e.detail?.switched!==void 0?e.detail.switched:e.target?.checked!==void 0?e.target.checked:!0;s.services[t.id]=i,a.setStoreInfo("spatialReferenceInfo",s),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(l)?e.substring(l.length,e.length-h.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach(t=>{e.services[t]=!1}),this.featureServices.forEach(t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)}),a.setStoreInfo("featureServices",this.featureServices)}_updateStore(){let e=a.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=S:e.hasOwnProperty("default")&&delete e.default,a.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){let e=a.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=a.getStoreInfo("featureServices")}};u("solution-spatial-ref",o);
|
18
|
+
*/.spatial-ref-switch{@apply m-inline-end-2;}.spatial-ref-component{@apply mt-2.5 m-inline-start-10;}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{@apply m-0;}.spatial-ref-item-title{@apply mb-2 text-sm;}.spatial-ref-item-switch{@apply m-inline-end-2;}.switch-label{@apply text-sm;}.spatial-ref-services-list{margin-block-start:.5em;margin-block-end:.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:.25rem}}`,S="3857",o=class extends p{constructor(){super(),this.enabled=!1,this.enableDefault=!1,this.featureServices=[],this._translations=m({name:"solution-spatial-ref",blocking:!0}),this.featureServiceSpatialReferenceChange=n(),this.enableDefaultSpatialReferenceChange=n(),this.enabledSpatialReferenceChange=n(),this.listenOn(window,"solutionStoreHasChanges",this.solutionStoreHasChanges)}static{this.properties={enabled:7,enableDefault:7,featureServices:2,_translations:16}}static{this.styles=g}static{this.shadowRootOptions=f}willUpdate(e){e.has("enabled")&&(this.hasUpdated||this.enabled!==!1)&&this.enabledChanged(),e.has("enableDefault")&&(this.hasUpdated||this.enableDefault!==!1)&&this.enableDefaultChanged()}enabledChanged(){this._handleSpatialRefParamChange()}enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}load(){this._updateUIFromStore()}render(){return this._updateUIFromStore(),r`<label class="switch-label"><calcite-switch .checked=${this.enabled} class="spatial-ref-switch" @calciteSwitchChange=${e=>this.enabled=e.target.checked} scale=m></calcite-switch>${this._translations.enableSpatialReference}</label><br><div class="spatial-ref-component" id=spatialRefDefn>${this._renderFeatureServicesList(this.featureServices)}</div><label class="switch-label spatial-ref-component"><calcite-switch .checked=${this.enableDefault} class="spatial-ref-switch" .disabled=${!this.enabled} @calciteSwitchChange=${e=>this.enableDefault=e.target.checked} scale=m></calcite-switch>${this._translations.enableDefaultSpatialReference}</label>`}solutionStoreHasChanges(){this.featureServices=a.getStoreInfo("featureServices")}async _testAccess(e,t,s,i){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){b(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach(t=>t.checked=!1),e.forEach(t=>this._updateEnabledServices({detail:{switched:!1}},t))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?S:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e&&(e.toString().startsWith(l)?e:`${l}${e}${h}`)}_renderFeatureServicesList(e){let t=a.getStoreInfo("spatialReferenceInfo"),s=e.filter(i=>Object.keys(t.services).some(c=>c===i.id));return s.length>0?r`<div><label class="spatial-ref-item-title">${this._translations.featureServicesHeading}</label><ul class="spatial-ref-services-list">${s.map(i=>r`<li class="spatial-ref-services-list-item"><label class="switch-label"><calcite-switch .checked=${t.services[i.id]} class="spatial-ref-item-switch" .disabled=${!this.enabled} @calciteSwitchChange=${c=>this._updateEnabledServices(c,i)} scale=m></calcite-switch>${i.name}</label></li>`)}</ul></div>`:null}_updateEnabledServices(e,t){let s=a.getStoreInfo("spatialReferenceInfo"),i=e.detail?.switched!==void 0?e.detail.switched:e.target?.checked!==void 0?e.target.checked:!0;s.services[t.id]=i,a.setStoreInfo("spatialReferenceInfo",s),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(l)?e.substring(l.length,e.length-h.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach(t=>{e.services[t]=!1}),this.featureServices.forEach(t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)}),a.setStoreInfo("featureServices",this.featureServices)}_updateStore(){let e=a.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=S:e.hasOwnProperty("default")&&delete e.default,a.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){let e=a.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=a.getStoreInfo("featureServices")}};u("solution-spatial-ref",o);return o},b,c)
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as o}from"./KMSR2MGE.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{b as ee}from"./PLASWOCJ.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./7ESWUYD7.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./G457BSKN.js"),"./instant-apps-control-panel.entry.js":()=>import("./UUUHJN3K.js"),"./instant-apps-create.entry.js":()=>import("./JOYJ7K2X.js"),"./instant-apps-export-views.entry.js":()=>import("./6C3QGOV2.js"),"./instant-apps-export.entry.js":()=>import("./375NF2W7.js"),"./instant-apps-filter-list.entry.js":()=>import("./X4I3726V.js"),"./instant-apps-header.entry.js":()=>import("./G4CYMD2F.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./4P66S2XD.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./YMQZBSVF.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./GVD3BPTW.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./CGUIDOP7.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./F3GQ2KDF.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./XXLQWESJ.js"),"./instant-apps-landing-page.entry.js":()=>import("./NF2EHSNV.js"),"./instant-apps-language-switcher.entry.js":()=>import("./FSQJF7E4.js"),"./instant-apps-language-translator.entry.js":()=>import("./KQRRNLN7.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./B4IYKBMJ.js"),"./instant-apps-measurement.entry.js":()=>import("./PE2TLSRM.js"),"./instant-apps-popover.entry.js":()=>import("./VKXA2IQW.js"),"./instant-apps-popovers.entry.js":()=>import("./COE4KJBH.js"),"./instant-apps-scoreboard.entry.js":()=>import("./KSLSMSNN.js"),"./instant-apps-sign-in.entry.js":()=>import("./U3YAUOKI.js"),"./instant-apps-social-share.entry.js":()=>import("./A6RESCXF.js"),"./instant-apps-splash.entry.js":()=>import("./N6EHMAJL.js"),"./instant-apps-time-filter.entry.js":()=>import("./A3YY7YT4.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
|
3
|
+
v1.0.1 */
|
4
|
+
import{b as ee}from"./EXNI3E3V.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./NJX24G7O.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./XF3QMPYW.js"),"./instant-apps-control-panel.entry.js":()=>import("./2ZTS3WNB.js"),"./instant-apps-create.entry.js":()=>import("./VGUHMA6Y.js"),"./instant-apps-export-views.entry.js":()=>import("./4U4XW77U.js"),"./instant-apps-export.entry.js":()=>import("./TTX7PTAO.js"),"./instant-apps-filter-list.entry.js":()=>import("./3ADKTMOT.js"),"./instant-apps-header.entry.js":()=>import("./GLEKE5MB.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./NMCIL4AU.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./XT5ITDOM.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./UUHKWZ2Z.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./VS4B5DD2.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./GXY74GGJ.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./5HLL7D2P.js"),"./instant-apps-landing-page.entry.js":()=>import("./DMP3KEG5.js"),"./instant-apps-language-switcher.entry.js":()=>import("./EVLPNGVY.js"),"./instant-apps-language-translator.entry.js":()=>import("./6WQZRPWK.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./HZ247CLQ.js"),"./instant-apps-measurement.entry.js":()=>import("./K6SIK44G.js"),"./instant-apps-popover.entry.js":()=>import("./NCR7SCD4.js"),"./instant-apps-popovers.entry.js":()=>import("./XJEKCHNF.js"),"./instant-apps-scoreboard.entry.js":()=>import("./3SDE2CZG.js"),"./instant-apps-sign-in.entry.js":()=>import("./VYNJ3IAK.js"),"./instant-apps-social-share.entry.js":()=>import("./ERVPNOOE.js"),"./instant-apps-splash.entry.js":()=>import("./MIQF66D6.js"),"./instant-apps-time-filter.entry.js":()=>import("./WQN5K2ZY.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as d}from"./7U4V4KQD.js";import{e as h}from"./CX2QWWHL.js";import{c as l}from"./JUIF3JFS.js";import"./CXK3KS6W.js";import{a as v,c as a,d as m,e as u}from"./D55TK32T.js";import"./PLASWOCJ.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as d}from"./XUEE63KO.js";import{e as h}from"./LVF5XFSJ.js";import{c as l}from"./C2ERTRIZ.js";import"./UUUTNXB4.js";import{a as v,c as a,d as m,e as u}from"./VAVI46B5.js";import"./EXNI3E3V.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{z as h}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{z as h}from"./FJJXJF2V.js";import{g as n}from"./5IBY2FQU.js";export default $arcgis.t(([l,u,c])=>{var p=class{constructor(t,r,e){this._credential=null,this._locale="en",this._portalSubset=null,this._isEnterprise=!1,this._portalUserSubset=null,this._clientId=t,this._locale=e,this._portalUrl=r,this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:r;let s=new u({appId:t,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});l.registerOAuthInfos([s]),this._portal=new c({url:this._portalUrl})}async init(){try{await this._init()}catch{this.destroy()}return this}async _init(){this._credential=await l.checkSignInStatus(this._portalUrl+"/sharing");try{let t=await l.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}catch{window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl,portalUrl:this._portal.url,urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&(this._portalSubset.workflowURL=await h(this._portal.restUrl,this.RestUserSession||new n({}))),this._portal.user?.roleId&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}get SignedIn(){return this._credential!==null}get Credential(){return this._credential}get Portal(){return this._portal}get PortalUrl(){return this._portalUrl}get PortalSubset(){return this._portalSubset}get PortalUserSubset(){return this._portalUserSubset}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserCulture(){return this._portalUserSubset&&this._portalUserSubset.culture||""}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get IsEnterprisePortal(){return this._isEnterprise}get RestUserSession(){let t=this.Credential;if(!t)return null;let r={server:this.PortalUrl,hasPortal:this.IsEnterprisePortal,hasServer:this.IsEnterprisePortal},e=n.fromCredential(t,r);return e.clientId=this._credential._oAuthCred?.appId,e._refreshToken=this._credential._oAuthCred?.refreshToken,e}refreshSession(){let t=this.RestUserSession;return t?t.exchangeRefreshToken():null}signIn(t=""){l.setOAuthRedirectionHandler(r=>{let e=r.authorizeParams.redirect_uri;if(t.length>0){let s=e.split("?"),i=s[0],a="";if(s[1]){let o=new URLSearchParams(s[1]);o.append("signInParam",t),a="?"+o.toString()}r.authorizeParams.redirect_uri=i+a}window.location.href=r.authorizeUrl+"?"+this._objectToQuery(r.authorizeParams)}),l.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(()=>{window.location.reload()})}signOut(){let t="https://"+this._portalSubset?.hostName;window.location.hostname===this._portalSubset?.hostName?t+="/index.html":this._portalSubset?.urlKey&&window.location.hostname.indexOf(this._portalSubset?.urlKey)>-1?t=window.location.origin+"/home/index.html":t=this._portalUrl+"/home",this.signOutAndRedirect(t)}signOutAndRedirect(t){let r=`${this._portalSubset?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(t)}`;this.destroy(),window.location.replace(r)}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,l.destroyCredentials()}_getOrgUrl(t,r,e){return r&&e?window.location.protocol+"//"+r.toLowerCase()+"."+e:t}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,r){return t?r&&typeof r=="function"?Object.keys(t).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(r(e,t[e]))).join("&"):Object.keys(t).map(e=>{let s=t[e];if(s==null)return"";let i=encodeURIComponent(e)+"=",a=r&&r[e];return a?i+encodeURIComponent(a(s)):Array.isArray(s)?s.map(o=>this._isSerializable(o)?i+encodeURIComponent(JSON.stringify(o)):i+encodeURIComponent(o)).join("&"):this._isSerializable(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)}).filter(e=>e).join("&"):""}};return p},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as i}from"./W2I3RJRK.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./PUQGIVUM.js";import{a as E}from"./QPA3WWD5.js";import"./7C7SXM4M.js";import{E as N,h as M,i as A}from"./JUIF3JFS.js";import{a as u,c as s,e as L,f as T,h as R}from"./D55TK32T.js";import"./PLASWOCJ.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-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)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as p,b as f,g as V,j as U,l as q,m as B,n as O,t as w,u as S,v as $,w as k}from"./TNYU5475.js";import{a as E}from"./VZFXG3TX.js";import"./RJWYLFLD.js";import{E as N,h as M,i as A}from"./C2ERTRIZ.js";import{a as u,c as s,e as L,f as T,h as R}from"./VAVI46B5.js";import"./EXNI3E3V.js";var X=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}",Y=X,D={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},ee=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption?.expanded}async componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){return s("div",{key:"cf9f8f643477fc66b5ab9d4f69faa3591664e1a0",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${D.service} ${D.groupLayer}`},s("instant-apps-interactive-legend-layer-element-caption",{key:"10339df7a9d65d87f20c6bf8f84f4bd578495085",ref:e=>this.layerCaption=e,class:$(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),s("div",{key:"c41488c758479a0c3820187641b27d97a7de824d",class:`${D.groupContent} ${this.expanded?"show":"hide"}`},s("slot",{key:"4778c2674ac10a464aa4cca6ec080dfbdca53afa",name:"content"})))}get el(){return L(this)}};ee.style=Y;var te=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}",ne=te,z={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},ae=class{constructor(e){u(this,e),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver(()=>{R(this.el)}).observe(this.el,{attributes:!0})}render(){let e=this.activeLayerInfo.parent?` ${z.groupLayerChild}`:"";return s("div",{key:"aa39da1dd64aae1630988e2a1af8a2b7faea97d9",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:`${z.service}${e}`,tabIndex:0},s("instant-apps-interactive-legend-layer-element-caption",{key:"e7013faace5d61da9062c53c3336bddc3f87c1b4",ref:n=>{n&&(this.layerCaption=n)},legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:$(this.el)}),s("div",{key:"c54f12b6f0a1b1c17ff97c368fac17795e62e74a",id:`${this.activeLayerInfo?.layer?.id}-legend-layer`,class:`${z.layer}${this.expanded?" show":" hide"}`},s("slot",{key:"af29568610f22a76e2d9792c178b0b220cc0bb5d",name:"content"})))}get el(){return L(this)}};ae.style=ne;var ie=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",se=ie,v={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},le=class{constructor(e){u(this,e),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText="",this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){let e=this.isChild?v.layerChildTable:v.layerTable,n=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,t=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${v.layerTableSizeRamp}`:"",a=this.isInteractive?"":` ${v.nonInteractive}`,i=w(this.activeLayerInfo)?` ${v.nestedUniqueSymbol}`:"",l=n&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let c=f.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];l=c===void 0?!0:c}return s("div",{key:"cea3abec3b0d96dd275cadbf6c2446d92c4d39dd",class:`${e}${t}${a}${i}`},s("div",{key:"6124c13d37dee96cb88498f25b275196fd899af5",id:`${this.activeLayerInfo?.layer?.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&n?"hide":"show"},s("instant-apps-interactive-legend-legend-element-caption",{key:"2c89bf0cb37046f020bdfed08e15abadd6513a1c",ref:r=>{r&&(this.legendLayerCaption=r)},legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),s("div",{key:"content",id:`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`,class:l?"show":"hide"},s("slot",{key:"3ddd3cfe429bcd1a21c020dccc307395d89ba5c9",name:"content"})))}};le.style=se;var re=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-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)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-legend-element-caption-h:dir(rtl) .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}",oe=re,b;(function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"})(b||(b={}));var g={layerCaption:"esri-legend__layer-caption",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",layerCaptionBtnContainerNoText:"instant-apps-interactive-legend__layer-caption-btn-container--no-text",layerCaptionText:"instant-apps-interactive-legend__legend-layer-caption-text",compact:"instant-apps-interactive-legend__layer-caption--compact",showAll:"instant-apps-interactive-legend__show-all-btn",zoomTo:"instant-apps-interactive-legend__zoom-to-btn"},ce=class{constructor(e){u(this,e),this.showAllSelectedEvent=T(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=T(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){let e=w(this.activeLayerInfo),n=U(this.activeLayerInfo)&&(this.legendElement?.type==="relationship-ramp"||!this.legendElement?.type?.includes("-ramp")),{expanded:t}=this,a=f.get("compact"),i=a?` ${g.compact}`:"";if(e&&!this.titleText)return null;let l=this.titleText&&s("span",{class:g.layerCaptionText,title:this.titleText},this.titleText),r=(this.isInteractive||n)&&this.renderLegendElementCaptionControls();return s("div",{class:`${g.layerCaption}${i}`},s("calcite-action",{onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:t?this.messages?.collapse:this.messages?.expand,label:t?this.messages?.collapse:this.messages?.expand,scale:"s"}),a?[l,r]:[r,l])}renderLegendElementCaptionControls(){let e=this.titleText?"":` ${g.layerCaptionBtnContainerNoText}`;return s("div",{key:"layer-caption-btn-container",class:`${g.layerCaptionBtnContainer}${e}`},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return f.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="zoomToCompact",i=this.zoomTo&&[s("calcite-action",{id:a,class:g.zoomTo,onClick:this.handleZoomTo(),icon:b.ZoomTo,appearance:"transparent",scale:"s",text:this.messages?.zoomTo}),s("calcite-tooltip",{"reference-element":a,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)],l=t&&s("button",{onClick:this.handleShowAll(),class:g.showAll},this.messages?.showAll);return[i,l]}renderButtonUI(){let{data:e}=p,{id:n}=this.layer||{},t=e?.[n]?.categories?.size>1,a="showAll",i="zoomTo",l=t&&[s("calcite-button",{key:"show-all-button",id:a,label:this.messages?.showAll,onClick:this.handleShowAll(),iconStart:b.ShowAll,appearance:"outline",round:!0}),s("calcite-tooltip",{referenceElement:a,placement:"top",label:this.messages?.showAll},this.messages?.showAll)],r=this.zoomTo&&[s("calcite-button",{key:"zoom-to-button",id:i,label:this.messages?.zoomTo,onClick:this.handleZoomTo(),iconStart:b.ZoomTo,appearance:"outline",round:!0}),s("calcite-tooltip",{"reference-element":i,placement:"top",label:this.messages?.zoomTo},this.messages?.zoomTo)];return[l,r]}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(this.activeLayerInfo?.legendElements?.filter(n=>n.type==="relationship-ramp")).length>0&&f.set("relationshipRampExpandStates",{...p.relationshipRampExpandStates,[this.activeLayerInfo.layer.id]:this.expanded})}}handleZoomTo(){return()=>{let e=V(this.layer),n=S(e,this.legendElement);O(e,this.legendvm.view,n)}}handleShowAll(){return()=>{let e=()=>{let i=B(t,this.legendElement.title);k({intLegendLayerData:i,layerId:this.layer.id})},n=()=>{let i=q(t);k({intLegendLayerData:i,layerId:this.layer.id})},t=p.data?.[this.layer?.id];if(S(t,this.legendElement)){e();return}n(),this.showAllSelectedEvent.emit()}}get el(){return L(this)}};ce.style=oe;var P=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),de=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),pe=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function he(e,n){return n===null?P.get("HH")[e]:P.get(n)?.[e]??null}function ge(e,n){return n===null?e:de.get(n)?.[e]??e}function J(e,n){return n===null?J(e,"HH"):pe.get(n)?.[e]??null}var ue=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}",me=ue,fe=".sc-instant-apps-interactive-legend-relationship svg",Z=".sc-instant-apps-interactive-legend-relationship svg g:first-of-type",ve=".sc-instant-apps-interactive-legend-relationship svg g:last-of-type",y="esri-interactive-legend--selected-cell",j="esri-interactive-legend--instructional-text",G=2,W=3,ye=4,be=Object.freeze({0:"L",1:"H"}),xe=Object.freeze({0:"L",1:"M",2:"H"}),Le=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Ie={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},Ce=class{constructor(e){u(this,e),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){let e=p.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,n=this.relationshipRamp.querySelector(Z),t=Array.from(n.children);e&&t?.forEach(a=>{a.removeAttribute("stroke"),a.removeAttribute("stroke-width"),a.removeAttribute("stroke-opacity"),a.setAttribute("aria-pressed","false"),a.classList.remove(y)})}async componentWillLoad(){let e=await N();this.symbolUtils=e}render(){return s("div",{key:"f5cf665a22adaa3f9e5529937fd96d7334e51933",ref:e=>{if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
5
5
|
rect:hover {
|
6
6
|
cursor: pointer;
|
7
7
|
opacity: 0.8;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./KUTMCNDR.js";import{a as r}from"./4LAC6IBS.js";import"./GS5KTDPD.js";import"./XH56YQ5M.js";import"./H26UVKPN.js";import"./ZV2QHOXX.js";import"./WLNWGHXO.js";import"./WMYYW4X6.js";import"./GERXYYJ5.js";import"./LTQVQQV3.js";import"./3D2A2GR6.js";import"./ZJQDRWP2.js";import"./6YGUHVIL.js";import"./PTHS5BTD.js";import"./FSLY3Q32.js";import"./2LZJQN7R.js";import"./TP5XDVEG.js";import"./TOETAVWD.js";import"./FNWUB6GJ.js";import"./DWHGFYZ3.js";import"./AJ4YAPGC.js";import"./5NTNQARK.js";import"./NNTKYQHM.js";import"./7T5OVZJR.js";import"./EXNI3E3V.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{a}from"./GPDF625C.js";import{a as i}from"./4EOWY4WA.js";import"./TAV3B2GU.js";import"./WW7D6SSQ.js";import"./W2I3RJRK.js";import{a as l,b as r}from"./4SSQ22MK.js";import"./2VSWXPDT.js";import"./SSBXWLZH.js";import"./5IBY2FQU.js";import"./FBPGHBBN.js";import"./B3J5GWRK.js";import{a as t}from"./4LAC6IBS.js";import"./GS5KTDPD.js";import"./XH56YQ5M.js";import"./H26UVKPN.js";import"./ZV2QHOXX.js";import"./WLNWGHXO.js";import"./WMYYW4X6.js";import"./GERXYYJ5.js";import"./LTQVQQV3.js";import"./3D2A2GR6.js";import"./ZJQDRWP2.js";import"./6YGUHVIL.js";import"./PTHS5BTD.js";import"./FSLY3Q32.js";import"./2LZJQN7R.js";import"./TP5XDVEG.js";import"./TOETAVWD.js";import"./FNWUB6GJ.js";import"./DWHGFYZ3.js";import"./AJ4YAPGC.js";import"./5NTNQARK.js";import"./NNTKYQHM.js";import"./7T5OVZJR.js";import"./EXNI3E3V.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,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`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
3
|
+
v1.0.1 */
|
4
|
+
import"./EXNI3E3V.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};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
+
v1.0.1 */
|
4
|
+
import{e as l}from"./LVF5XFSJ.js";import{a as o,f as r,z as c}from"./C2ERTRIZ.js";import"./UUUTNXB4.js";import{a as p,c as n,d as g,e as h,j as d}from"./VAVI46B5.js";import"./EXNI3E3V.js";var m=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color:var(--calcite-color-text-1);--calcite-font-size--2:var(--calcite-font-size--1);--calcite-internal-action-padding-inline:12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color:var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',b=m,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},f=class{constructor(t){p(this,t),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInPopoverItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let t=this.ready?this.renderContent():null;return n(g,{key:"5b006e2927584e4cb2d8396cb8d68ec9e073e6d3"},t)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:a.base},this.isSignedIn?this.renderSignInPopover():this.renderSignInButton())}renderSignInPopover(){let t=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",e=this.user?.id??this.user?.sourceJSON?.id;return n(d,null,this.type==="navigation"?n("calcite-navigation-user",{class:i,id:"instant-apps-sign-in-user-button",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":e,textDisabled:!0}):n("button",{id:"instant-apps-sign-in-user-button"},n("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":e})),n("calcite-popover",{ref:s=>{s&&(this.signInPopover=s)},placement:"bottom-end",scale:t,referenceElement:"instant-apps-sign-in-user-button","offset-distance":"0","pointer-disabled":!0,"focus-trap-disabled":!0,"auto-close":!0,label:"User settings"},n("div",{class:a.signInContainer},n("slot",{name:"sign-in-popover-top"}),this.signInPopoverItems?.map(s=>n("calcite-action",{scale:"s",onClick:u=>{s.onClick(u),this.signInPopover&&(this.signInPopover.open=!1)},text:s.label,textEnabled:!0})),n("calcite-action",{scale:"s",onClick:this.signOut.bind(this),text:this.messages?.signOut,textEnabled:!0}))))}renderSignInButton(){let t=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return n("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},this.messages?.signIn)}renderLandingPageSignIn(){return n("div",{class:a.buttonContainer},n("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),n("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[t,i]=await Promise.all([o(),c()]);this.idManager=t,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let t=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${t}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let t=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=t,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let t=new Date,i=2e3;localStorage.setItem("signing-in",t.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return h(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};f.style=b;export{f as instant_apps_sign_in};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as n}from"./IBVPZZZL.js";import{a as s}from"./3RJYN2DN.js";import"./4MCP26Y4.js";import"./ACTLIYVY.js";import"./4GAUFXRB.js";import"./KMSR2MGE.js";import{a as r,b as i}from"./4SSQ22MK.js";import"./2VSWXPDT.js";import"./SSBXWLZH.js";import{a as o}from"./2JA5VZ4Q.js";import{a}from"./USLJNUGC.js";import"./OP7BMHEO.js";import"./5IBY2FQU.js";import"./FBPGHBBN.js";import"./B3J5GWRK.js";import"./4LAC6IBS.js";import"./GS5KTDPD.js";import"./XH56YQ5M.js";import"./H26UVKPN.js";import"./ZV2QHOXX.js";import"./WLNWGHXO.js";import"./WMYYW4X6.js";import"./GERXYYJ5.js";import"./LTQVQQV3.js";import"./3D2A2GR6.js";import"./ZJQDRWP2.js";import"./6YGUHVIL.js";import"./PTHS5BTD.js";import"./FSLY3Q32.js";import"./2LZJQN7R.js";import"./TP5XDVEG.js";import"./TOETAVWD.js";import"./FNWUB6GJ.js";import"./DWHGFYZ3.js";import"./AJ4YAPGC.js";import"./5NTNQARK.js";import"./NNTKYQHM.js";import"./7T5OVZJR.js";import"./EXNI3E3V.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},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`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{g as N}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{g as N}from"./C2ERTRIZ.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.1 */
|
4
|
+
import{a as e}from"./B3J5GWRK.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
|