@esri/solutions-components 1.0.1 → 1.0.3
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/{O5NUSUPU.js → 23KPU4GQ.js} +1 -1
- package/dist/cdn/{4LAC6IBS.js → 25MVNDYY.js} +2 -2
- package/dist/cdn/{4U4XW77U.js → 26CFA6NB.js} +2 -2
- package/dist/cdn/{OJLPY774.js → 2F4XUH2B.js} +2 -2
- package/dist/cdn/{KKYPHXOP.js → 2H7MTCHN.js} +2 -2
- package/dist/cdn/2JUQQJOQ.js +4 -0
- package/dist/cdn/{QU7J46DX.js → 2KV5NHCA.js} +2 -2
- package/dist/cdn/{NJX24G7O.js → 2MGMAN6M.js} +2 -2
- package/dist/cdn/{FNWUB6GJ.js → 2S6VPY6M.js} +2 -2
- package/dist/cdn/{D7HY5OWZ.js → 2TLBO4KI.js} +2 -2
- package/dist/cdn/36DIJFDW.js +18 -0
- package/dist/cdn/{N4VYHF37.js → 374EIYTN.js} +2 -2
- package/dist/cdn/{7SCM56QW.js → 3K2JVPRP.js} +2 -2
- package/dist/cdn/{HG7I73HP.js → 3O5UNJZ5.js} +2 -2
- package/dist/cdn/3RYX2KRP.js +4 -0
- package/dist/cdn/{LVF5XFSJ.js → 3U5MCBML.js} +2 -2
- package/dist/cdn/{ERVPNOOE.js → 3WBD7HCV.js} +2 -2
- package/dist/cdn/{NCR7SCD4.js → 42D6SGED.js} +2 -2
- package/dist/cdn/{UTLWN6N7.js → 4L6E3M5G.js} +2 -2
- package/dist/cdn/{HGY2TGZZ.js → 4PHIBFBK.js} +2 -2
- package/dist/cdn/{6IKP3GLY.js → 54VXW2B6.js} +2 -2
- package/dist/cdn/{MWWVKDRQ.js → 5FB3DI4G.js} +2 -2
- package/dist/cdn/5JPHH76I.js +4 -0
- package/dist/cdn/{LTQVQQV3.js → 5QYTBWNM.js} +2 -2
- package/dist/cdn/5VTF2S3V.js +4 -0
- package/dist/cdn/{5WH7QYAO.js → 5Y3YCWRM.js} +2 -2
- package/dist/cdn/{2CC32CPA.js → 62ZWA6O7.js} +1 -1
- package/dist/cdn/{ZV2QHOXX.js → 662JMFYU.js} +2 -2
- package/dist/cdn/{LDGERXGM.js → 67BKTI47.js} +2 -2
- package/dist/cdn/{7T5OVZJR.js → 6BX7KLOB.js} +1 -1
- package/dist/cdn/{BQ6W6B2V.js → 6DFZGD4Y.js} +1 -1
- package/dist/cdn/{RK2B65CQ.js → 6EP36Y7F.js} +2 -2
- package/dist/cdn/{E4FOTYSK.js → 6FHHBRRB.js} +2 -2
- package/dist/cdn/{TKLPH6MB.js → 6GCYWKFS.js} +1 -1
- package/dist/cdn/{JVIJAD4Z.js → 6IAXNX3E.js} +1 -1
- package/dist/cdn/{IRMQ5QUZ.js → 6ILYUU4G.js} +2 -2
- package/dist/cdn/{JXB7JVDB.js → 6QV3LFXT.js} +2 -2
- package/dist/cdn/{3ADKTMOT.js → 6TTGY74E.js} +2 -2
- package/dist/cdn/{V55ZE6QF.js → 6XG23GK2.js} +2 -2
- package/dist/cdn/{NXNAWCBW.js → 757B2YT4.js} +2 -2
- package/dist/cdn/{ACTLIYVY.js → 7ANMAQXN.js} +1 -1
- package/dist/cdn/{467UGXS6.js → 7CDY7L44.js} +2 -2
- package/dist/cdn/7QEYVLH4.js +20 -0
- package/dist/cdn/{USLJNUGC.js → 7SATBHPG.js} +2 -2
- package/dist/cdn/{ZFECRVJQ.js → 7VB4EGOH.js} +2 -2
- package/dist/cdn/{ZOMUTHCL.js → 7XCWAN5G.js} +2 -2
- package/dist/cdn/{GLEKE5MB.js → A4H6OMJ4.js} +2 -2
- package/dist/cdn/{QLLSLSBN.js → A7TRZP7N.js} +1 -1
- package/dist/cdn/{VGUHMA6Y.js → AD4OROQI.js} +2 -2
- package/dist/cdn/AGKANRB2.js +4 -0
- package/dist/cdn/{AJ4YAPGC.js → AHAZLVQ4.js} +2 -2
- package/dist/cdn/{W2I3RJRK.js → ASBGMXK6.js} +2 -2
- package/dist/cdn/B34U6ISQ.js +4 -0
- package/dist/cdn/{3RAYGCP4.js → B6P5GUKS.js} +2 -2
- package/dist/cdn/{IBVPZZZL.js → B75MQOOF.js} +1 -1
- package/dist/cdn/{VS4B5DD2.js → BEQE76XU.js} +2 -2
- package/dist/cdn/{7XNXAJF3.js → BGK6GNQ2.js} +2 -2
- package/dist/cdn/{QLU4XVVT.js → BJDRPNDP.js} +2 -2
- package/dist/cdn/{X5B3HI7H.js → BK4BKQMD.js} +2 -2
- package/dist/cdn/{Q4BR636Z.js → BQIN6I6Z.js} +2 -2
- package/dist/cdn/{FBCRLSBX.js → BR63TLFP.js} +25 -25
- package/dist/cdn/{OOAOVEB5.js → BT6EYE4X.js} +2 -2
- package/dist/cdn/C23KGGFI.js +4 -0
- package/dist/cdn/{SJEANN4A.js → C4OSLESX.js} +2 -2
- package/dist/cdn/{AAW4M5UY.js → CDJIJD2S.js} +1 -1
- package/dist/cdn/CM4AL2I7.js +4 -0
- package/dist/cdn/{NDLXIAZ2.js → COF6OUJT.js} +2 -2
- package/dist/cdn/CYFSOW6X.js +18 -0
- package/dist/cdn/{R6EOKADJ.js → D33LMOKH.js} +2 -2
- package/dist/cdn/{727TY5WA.js → DDZUXMVO.js} +1 -1
- package/dist/cdn/{74KF43Q7.js → DLYWKQDY.js} +2 -2
- package/dist/cdn/{TIZVAXWN.js → DP4UK5MF.js} +2 -2
- package/dist/cdn/DT6LXM6J.js +4 -0
- package/dist/cdn/{IW7MKKD5.js → DYAASCEQ.js} +2 -2
- package/dist/cdn/{XF4JI76V.js → E5MMH3QZ.js} +2 -2
- package/dist/cdn/EFD7INAF.js +4 -0
- package/dist/cdn/{QSIK5PN7.js → EFQOQ4XM.js} +2 -2
- package/dist/cdn/{AX2IRDRE.js → EGOHB7G6.js} +2 -2
- package/dist/cdn/{6WQZRPWK.js → EKILMPMP.js} +2 -2
- package/dist/cdn/{2UPCSZ4S.js → EL2ASFX3.js} +2 -2
- package/dist/cdn/{ZG7KYN4E.js → ENWJIRTW.js} +2 -2
- package/dist/cdn/EOIHR5PX.js +4 -0
- package/dist/cdn/EQDEFLKQ.js +4 -0
- package/dist/cdn/{FSLY3Q32.js → ERJKLBV2.js} +2 -2
- package/dist/cdn/{MIQF66D6.js → ESRPIZDO.js} +2 -2
- package/dist/cdn/{HU3NU6NO.js → ETUG5HUX.js} +2 -2
- package/dist/cdn/{WQN5K2ZY.js → EV4XJGO3.js} +2 -2
- package/dist/cdn/EXLYOLGD.js +4 -0
- package/dist/cdn/{4GAUFXRB.js → EYRRGEDQ.js} +1 -1
- package/dist/cdn/{6EUBWF2M.js → F4YYWP73.js} +2 -2
- package/dist/cdn/F7LDLM6P.js +4 -0
- package/dist/cdn/{ZJQDRWP2.js → FAZP4TDB.js} +2 -2
- package/dist/cdn/{HZ247CLQ.js → FCK3OBGA.js} +2 -2
- package/dist/cdn/{KAJVJKOH.js → FGYAYTAY.js} +2 -2
- package/dist/cdn/{M5BRHZXV.js → FJG2Y4MT.js} +2 -2
- package/dist/cdn/{PFYARW7S.js → FJMY5BVP.js} +2 -2
- package/dist/cdn/{BV7WAP3N.js → FL6PET5V.js} +2 -2
- package/dist/cdn/{JLYYEGO6.js → FNWEYQDD.js} +2 -2
- package/dist/cdn/{SSBXWLZH.js → FP7ZUAH6.js} +2 -2
- package/dist/cdn/{5BFFCPDO.js → FR3CBOZY.js} +2 -2
- package/dist/cdn/FSDJA4MR.js +4 -0
- package/dist/cdn/FSH3VY4W.js +4 -0
- package/dist/cdn/FX4GM76R.js +4 -0
- package/dist/cdn/{WDUYYHOZ.js → G4JWUXWW.js} +2 -2
- package/dist/cdn/G5TN4YYX.js +4 -0
- package/dist/cdn/{3RJYN2DN.js → GGXBJUNZ.js} +2 -2
- package/dist/cdn/{2LZJQN7R.js → GKSL27GK.js} +1 -1
- package/dist/cdn/{XJEKCHNF.js → GNONOVEA.js} +2 -2
- package/dist/cdn/{TOETAVWD.js → GTEHENBQ.js} +2 -2
- package/dist/cdn/{JNK7VRHJ.js → GTFFXKQ2.js} +2 -2
- package/dist/cdn/{MPOB2AAE.js → H5NKKY63.js} +2 -2
- package/dist/cdn/{2ZTS3WNB.js → HE4HDKLZ.js} +2 -2
- package/dist/cdn/{PTHS5BTD.js → HQGW6OLO.js} +1 -1
- package/dist/cdn/{GERXYYJ5.js → HUHLOYKI.js} +2 -2
- package/dist/cdn/HWGQUCPH.js +4 -0
- package/dist/cdn/{JRSOJV5U.js → HYI5EZI4.js} +2 -2
- package/dist/cdn/{ZD2443DU.js → HYZDGSVF.js} +2 -2
- package/dist/cdn/{4U4WVITW.js → HZQ2DNC7.js} +2 -2
- package/dist/cdn/I2QMTG55.js +4 -0
- package/dist/cdn/{5VKFD2YO.js → I75QXGU6.js} +2 -2
- package/dist/cdn/{MCEAO75V.js → IAGXR3NP.js} +1 -1
- package/dist/cdn/{UUUTNXB4.js → ICTEUNHA.js} +1 -1
- package/dist/cdn/{XH56YQ5M.js → IGGGIS6G.js} +2 -2
- package/dist/cdn/{5NTNQARK.js → IGM6T5LG.js} +2 -2
- package/dist/cdn/{5PZ5I3C4.js → IKXIA6DX.js} +2 -2
- package/dist/cdn/{VRBUE2RB.js → IP5TND75.js} +2 -2
- package/dist/cdn/{FUNSSHRI.js → IU5ETFJQ.js} +2 -2
- package/dist/cdn/{2JA5VZ4Q.js → IYR7CWGB.js} +2 -2
- package/dist/cdn/IYVUU2KK.js +4 -0
- package/dist/cdn/{J2RTL6TV.js → IZG3VEFG.js} +1 -1
- package/dist/cdn/J5Z6XBH5.js +4 -0
- package/dist/cdn/{QGYS53RR.js → JDBACJRP.js} +4 -4
- package/dist/cdn/{ARAFKGS2.js → JEJY27MQ.js} +2 -2
- package/dist/cdn/{OK6QGXX6.js → JFAFRMBB.js} +2 -2
- package/dist/cdn/{DWHGFYZ3.js → JFDXJGIJ.js} +1 -1
- package/dist/cdn/JGLFDJFF.js +4 -0
- package/dist/cdn/{QBMJV5OP.js → JGYXU6MT.js} +2 -2
- package/dist/cdn/{GXY74GGJ.js → JI7QBF2J.js} +2 -2
- package/dist/cdn/JIYQEZGV.js +4 -0
- package/dist/cdn/{CC3G7K6T.js → JMGTSAK6.js} +2 -2
- package/dist/cdn/{XNUHTFDS.js → JMQV4UK4.js} +1 -1
- package/dist/cdn/JVJODSGL.js +4 -0
- package/dist/cdn/{MOKLXZ34.js → JZNSQN5C.js} +2 -2
- package/dist/cdn/{E33KGT3U.js → JZUBI6LB.js} +1 -1
- package/dist/cdn/{EXNI3E3V.js → K6A5BZGW.js} +1 -1
- package/dist/cdn/KDL2CC6G.js +4 -0
- package/dist/cdn/{6CL5S7CF.js → KJ5OTXP6.js} +2 -2
- package/dist/cdn/{5B34RYXT.js → KJDCKGFK.js} +2 -2
- package/dist/cdn/{NMCIL4AU.js → KJL5HNOR.js} +2 -2
- package/dist/cdn/{TC5DHEWZ.js → KJOKXQZU.js} +2 -2
- package/dist/cdn/{QMSEY6QZ.js → KLABUUYY.js} +2 -2
- package/dist/cdn/{H5Q2TVQ7.js → KQRJJTQ5.js} +2 -2
- package/dist/cdn/{GLGJ4TDS.js → KQTQK4OJ.js} +2 -2
- package/dist/cdn/{RJWYLFLD.js → KU6NIERJ.js} +2 -2
- package/dist/cdn/{PMFBRSOS.js → KUJTRCCI.js} +2 -2
- package/dist/cdn/L36YOWRK.js +4 -0
- package/dist/cdn/{3D2A2GR6.js → LHUMSMJ6.js} +2 -2
- package/dist/cdn/{RD7ZS2W6.js → LIGPP436.js} +2 -2
- package/dist/cdn/{KPQBFQZB.js → LN5LFFQL.js} +2 -2
- package/dist/cdn/{OPZKDVLB.js → LN6SBKS6.js} +2 -2
- package/dist/cdn/{E5WY7EJU.js → LPDDFOTY.js} +2 -2
- package/dist/cdn/{TBO2D36S.js → LVGWOKF7.js} +1 -1
- package/dist/cdn/{HSZ7M7T7.js → M5R3XZG4.js} +2 -2
- package/dist/cdn/M5UPX2J7.js +4 -0
- package/dist/cdn/{FBPGHBBN.js → M7HTAQHD.js} +1 -1
- package/dist/cdn/{54HVDRDS.js → METZPEKO.js} +2 -2
- package/dist/cdn/{TNYU5475.js → MGVUU433.js} +2 -2
- package/dist/cdn/{JXDP3DWB.js → MKX2QKK2.js} +2 -2
- package/dist/cdn/MMLZ4JEL.js +4 -0
- package/dist/cdn/{FPCDPUTH.js → N372V6ZZ.js} +2 -2
- package/dist/cdn/{C4ZYMWDM.js → NCB45ISZ.js} +2 -2
- package/dist/cdn/{SEYKRRTC.js → ND6B7H5G.js} +2 -2
- package/dist/cdn/{TWNZJBQA.js → NIIZBG5D.js} +2 -2
- package/dist/cdn/{O52M27Z5.js → NMDV24RB.js} +2 -2
- package/dist/cdn/{TP5XDVEG.js → NNUFXWGF.js} +2 -2
- package/dist/cdn/{5IH2NEYC.js → NPHCFVY5.js} +2 -2
- package/dist/cdn/{XUEE63KO.js → NRBFWIU7.js} +1 -1
- package/dist/cdn/{EAZUJFAP.js → NUECMUNR.js} +2 -2
- package/dist/cdn/{M2M3Q6IH.js → NUUEBECA.js} +2 -2
- package/dist/cdn/{WMHD7E5R.js → NZJICJCJ.js} +2 -2
- package/dist/cdn/{GPDF625C.js → O2PJYMGL.js} +1 -1
- package/dist/cdn/{5C4MSN6W.js → OA6N3UPU.js} +2 -2
- package/dist/cdn/OCMNVWI4.js +8 -0
- package/dist/cdn/{7LRZQ562.js → OF36TDKR.js} +2 -2
- package/dist/cdn/{WMYYW4X6.js → OHTIVF6F.js} +2 -2
- package/dist/cdn/{NOQQVVJO.js → OHVFUCPD.js} +2 -2
- package/dist/cdn/{W377GATJ.js → OIKCCXRR.js} +2 -2
- package/dist/cdn/{KMSR2MGE.js → OVCAOTN3.js} +1 -1
- package/dist/cdn/OW7UYJ4J.js +4 -0
- package/dist/cdn/{UY5FQRLE.js → PKYOZYLI.js} +2 -2
- package/dist/cdn/{5HLL7D2P.js → PLA5JT3G.js} +2 -2
- package/dist/cdn/PQAE7N6I.js +4 -0
- package/dist/cdn/{OYP7AQ6G.js → PRIAU7QU.js} +2 -2
- package/dist/cdn/{2LWO2DTN.js → PVTQGF36.js} +2 -2
- package/dist/cdn/{WLNWGHXO.js → QA65PTZZ.js} +2 -2
- package/dist/cdn/{FNKZV5FF.js → QDY6ZNGH.js} +2 -2
- package/dist/cdn/{VAVI46B5.js → QEC76CAD.js} +2 -2
- package/dist/cdn/{VTZILRDE.js → QIQSY5XY.js} +2 -2
- package/dist/cdn/QLVDQY5R.js +4 -0
- package/dist/cdn/{VZFXG3TX.js → QQUJHAOI.js} +2 -2
- package/dist/cdn/{F66BID67.js → QSBF5CAO.js} +1 -1
- package/dist/cdn/{BDHYDLFO.js → QSMNEUAM.js} +2 -2
- package/dist/cdn/{DMP3KEG5.js → QZN2ALHA.js} +2 -2
- package/dist/cdn/{VYNJ3IAK.js → R47YRNRP.js} +2 -2
- package/dist/cdn/{XF3QMPYW.js → RC5OYDLU.js} +2 -2
- package/dist/cdn/{PCVCGUBO.js → RCCJWWIB.js} +2 -2
- package/dist/cdn/{H26UVKPN.js → RHHKJQMD.js} +1 -1
- package/dist/cdn/{OP7BMHEO.js → RIVVWLOA.js} +2 -2
- package/dist/cdn/{K6SIK44G.js → RM45AKVD.js} +2 -2
- package/dist/cdn/{KUTMCNDR.js → RMNBDS6F.js} +2 -2
- package/dist/cdn/RRF3ACRD.js +4 -0
- package/dist/cdn/{6INDIN6I.js → S4E4IPBZ.js} +1 -1
- package/dist/cdn/S7NHJP4N.js +4 -0
- package/dist/cdn/{6CIFKKHA.js → SCRDPL23.js} +2 -2
- package/dist/cdn/SJO75TT4.js +4 -0
- package/dist/cdn/{NNTKYQHM.js → SL2K7YIF.js} +1 -1
- package/dist/cdn/{EVLPNGVY.js → SSP7KXPL.js} +2 -2
- package/dist/cdn/SUWPBAZX.js +4 -0
- package/dist/cdn/{XNQ27MXZ.js → SWMF2YA5.js} +2 -2
- package/dist/cdn/SXUAMVZO.js +4 -0
- package/dist/cdn/{5IBY2FQU.js → SYSMKBTI.js} +1 -1
- package/dist/cdn/T3FQL6TN.js +4 -0
- package/dist/cdn/{TTX7PTAO.js → T3TRA4FC.js} +2 -2
- package/dist/cdn/T4OHAC5G.js +4 -0
- package/dist/cdn/{WZ2Y55GH.js → T5PIC2NF.js} +2 -2
- package/dist/cdn/{MF7K3QIL.js → T6ANMRE3.js} +2 -2
- package/dist/cdn/T7OXALTG.js +4 -0
- package/dist/cdn/TFH7GJUO.js +4 -0
- package/dist/cdn/{7XKZ3CKS.js → TI3IPN2K.js} +1 -1
- package/dist/cdn/{2F7ZIXE4.js → TJ4EAB2X.js} +2 -2
- package/dist/cdn/{OBZAUMYX.js → TJMDZV66.js} +2 -2
- package/dist/cdn/{PLMRWY6C.js → TSUZDZYM.js} +2 -2
- package/dist/cdn/{S32ETE5A.js → TTOLHIJV.js} +2 -2
- package/dist/cdn/U3K7MHYO.js +6 -0
- package/dist/cdn/U3NZPNKZ.js +18 -0
- package/dist/cdn/{4SSQ22MK.js → U4FYJZJP.js} +2 -2
- package/dist/cdn/{KB37GULW.js → UCX6I6GZ.js} +1 -1
- package/dist/cdn/UDOULYDC.js +4 -0
- package/dist/cdn/{VWO7O6IS.js → UEYWAQCQ.js} +2 -2
- package/dist/cdn/{EZWQ3FN6.js → UIZ5RNY5.js} +2 -2
- package/dist/cdn/UKWTBSYT.js +4 -0
- package/dist/cdn/USL5VVU7.js +4 -0
- package/dist/cdn/{DMSA5MQS.js → UY2ZBEHZ.js} +2 -2
- package/dist/cdn/{H7LKWL6W.js → UYB7XUC7.js} +2 -2
- package/dist/cdn/{6YGUHVIL.js → UYOJLBLJ.js} +2 -2
- package/dist/cdn/V2FHJSTQ.js +4 -0
- package/dist/cdn/{KM7TRF5W.js → V2V2PODO.js} +2 -2
- package/dist/cdn/{EER4N6Z4.js → VJOELFDU.js} +2 -2
- package/dist/cdn/{JWQQXCKE.js → VLQOV3NQ.js} +2 -2
- package/dist/cdn/{UOD4T3ON.js → VS4BFKL3.js} +1 -1
- package/dist/cdn/{UUHKWZ2Z.js → WCEI4GB5.js} +2 -2
- package/dist/cdn/WFX5NIY6.js +4 -0
- package/dist/cdn/WMIMNCJL.js +4 -0
- package/dist/cdn/{WEWB3BRG.js → WOW7ES6W.js} +1 -1
- package/dist/cdn/{WSSBOJ5N.js → X24JTDBX.js} +2 -2
- package/dist/cdn/{EXGARZ53.js → X6CICXR6.js} +2 -2
- package/dist/cdn/{QRWG2TYR.js → XIXNUDIE.js} +2 -2
- package/dist/cdn/{XT5ITDOM.js → XNBFYXGC.js} +2 -2
- package/dist/cdn/{QCHE4DVW.js → XNRVLUGL.js} +2 -2
- package/dist/cdn/{ML4GJWGS.js → XPXOPI63.js} +2 -2
- package/dist/cdn/{2VSWXPDT.js → XRFRTU7J.js} +2 -2
- package/dist/cdn/{T2XCKYU7.js → XUHIMDFC.js} +2 -2
- package/dist/cdn/{B5QR4WI6.js → XUYTRG7D.js} +2 -2
- package/dist/cdn/{AILRWBPO.js → XX3BIAK6.js} +2 -2
- package/dist/cdn/{5IBDEJNP.js → Y4H3CA2O.js} +2 -2
- package/dist/cdn/{NUCELJUA.js → Y4V6VBRL.js} +2 -2
- package/dist/cdn/{FGUFX7HJ.js → YAAW6QK6.js} +1 -1
- package/dist/cdn/{5CRWOCNH.js → YBKACDGP.js} +2 -2
- package/dist/cdn/{O24JVO6E.js → YDXJCA4W.js} +2 -2
- package/dist/cdn/YEGN6TNL.js +18 -0
- package/dist/cdn/{IGPECNF7.js → YGDA57Y2.js} +2 -2
- package/dist/cdn/{YIIADRZZ.js → YXUJQUV6.js} +2 -2
- package/dist/cdn/{3SDE2CZG.js → YYRFIXIU.js} +2 -2
- package/dist/cdn/{WOD4EWNY.js → Z4655QBA.js} +2 -2
- package/dist/cdn/{B3J5GWRK.js → Z5LX6R34.js} +1 -1
- package/dist/cdn/{4C2LIMJZ.js → ZA5MIGE2.js} +2 -2
- package/dist/cdn/{GMHTFC5D.js → ZIBNROWW.js} +2 -2
- package/dist/cdn/{D5VM7347.js → ZJO4B77W.js} +2 -2
- package/dist/cdn/{LWMS3PYA.js → ZMPOAOPQ.js} +2 -2
- package/dist/cdn/{3WPFW6HO.js → ZMWBSBOD.js} +2 -2
- package/dist/cdn/{MLOQ5K45.js → ZSTVKND7.js} +3 -3
- package/dist/cdn/{RKMDSDH2.js → ZVCG3MTM.js} +2 -2
- package/dist/cdn/{C2ERTRIZ.js → ZWTSIAER.js} +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/layer-table/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/map-card/t9n/messages.zh-TW.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 +1 -1
- 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 +2 -2
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +2 -2
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.d.ts +7 -1
- package/dist/components/solution-configure-dialog/customElement.js +36 -22
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.d.ts +13 -0
- package/dist/components/solution-deployed-card/customElement.js +39 -30
- package/dist/components/solution-deployed-card/index.d.ts +2 -1
- package/dist/components/solution-deployed-card/index.js +2 -1
- 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.js +1 -1
- 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 +2 -2
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-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 +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +128 -3
- package/dist/docs/docs.json +134 -3
- package/dist/docs/vscode.html-custom-data.json +7 -2
- package/dist/docs/web-types.json +35 -6
- package/dist/index.d.ts +15 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/2W44KQT2.js +0 -4
- package/dist/cdn/36PJ5WL5.js +0 -8
- package/dist/cdn/3O5P6PXO.js +0 -4
- package/dist/cdn/3V6F3XIS.js +0 -18
- package/dist/cdn/444IDO3Z.js +0 -4
- package/dist/cdn/4EOWY4WA.js +0 -4
- package/dist/cdn/4MCP26Y4.js +0 -4
- package/dist/cdn/4QTSIIRU.js +0 -4
- package/dist/cdn/5KQ3IDBU.js +0 -4
- package/dist/cdn/6JJTBX53.js +0 -18
- package/dist/cdn/6OB4W3O5.js +0 -32
- package/dist/cdn/6ZFBCODW.js +0 -4
- package/dist/cdn/77NGJJRC.js +0 -4
- package/dist/cdn/7ETOIECJ.js +0 -4
- package/dist/cdn/7WJWSOJH.js +0 -4
- package/dist/cdn/AOPIUSEK.js +0 -4
- package/dist/cdn/AVAUHONF.js +0 -4
- package/dist/cdn/BAPJICUA.js +0 -4
- package/dist/cdn/BPEPRRF3.js +0 -4
- package/dist/cdn/CVYZLOIA.js +0 -4
- package/dist/cdn/DGUC2FBD.js +0 -4
- package/dist/cdn/E3AUWVZ5.js +0 -4
- package/dist/cdn/ECID3BOS.js +0 -18
- package/dist/cdn/FB42MKVI.js +0 -4
- package/dist/cdn/FJJXJF2V.js +0 -6
- package/dist/cdn/G4UGKO7I.js +0 -4
- package/dist/cdn/GHJ65L2F.js +0 -4
- package/dist/cdn/GPFSHKEQ.js +0 -4
- package/dist/cdn/GS5KTDPD.js +0 -4
- package/dist/cdn/HACP2EXZ.js +0 -4
- package/dist/cdn/HEDVVSMN.js +0 -4
- package/dist/cdn/HUFTJBPT.js +0 -4
- package/dist/cdn/IYHBIGDU.js +0 -4
- package/dist/cdn/JKLJ2PP4.js +0 -4
- package/dist/cdn/JQWOQPMK.js +0 -4
- package/dist/cdn/KFIZVENE.js +0 -4
- package/dist/cdn/KRCWP4LH.js +0 -4
- package/dist/cdn/MLARWD73.js +0 -4
- package/dist/cdn/NFNJC6DC.js +0 -4
- package/dist/cdn/OOTUQXHB.js +0 -4
- package/dist/cdn/PGC6RJRM.js +0 -4
- package/dist/cdn/RKBLAY36.js +0 -4
- package/dist/cdn/SONLDZKZ.js +0 -4
- package/dist/cdn/TAV3B2GU.js +0 -4
- package/dist/cdn/TZQH4GMU.js +0 -4
- package/dist/cdn/UROIIN7O.js +0 -4
- package/dist/cdn/VQHGM66B.js +0 -4
- package/dist/cdn/VU5B3BJJ.js +0 -4
- package/dist/cdn/VZFDFVGG.js +0 -4
- package/dist/cdn/W4D3Q2KE.js +0 -4
- package/dist/cdn/WW7D6SSQ.js +0 -4
- package/dist/cdn/WYKOLNUO.js +0 -4
- package/dist/cdn/X6GUL5YM.js +0 -4
- package/dist/cdn/Y34VPW3D.js +0 -18
- package/dist/cdn/Z47UTABF.js +0 -4
- package/dist/cdn/ZLLEYAP3.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.
|
4
|
-
import{a as g,b as m}from"./
|
3
|
+
v1.0.3 */
|
4
|
+
import{a as g,b as m}from"./XNRVLUGL.js";import{h as I}from"./MKX2QKK2.js";import"./KU6NIERJ.js";import{a as u,c as L,f as b}from"./3U5MCBML.js";import{C as w,D as f,m as p}from"./ZWTSIAER.js";import"./ICTEUNHA.js";import{a as D,c as d,e as v,f as S}from"./QEC76CAD.js";import"./K6A5BZGW.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
|
@@ -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.3 */
|
4
|
+
import{a as u,e as h}from"./5JPHH76I.js";import{a}from"./T7OXALTG.js";import"./FNWEYQDD.js";import"./U3K7MHYO.js";import"./TSUZDZYM.js";import"./VS4BFKL3.js";import"./RRF3ACRD.js";import"./QLVDQY5R.js";import"./7XCWAN5G.js";import"./JMQV4UK4.js";import"./J5Z6XBH5.js";import"./WFX5NIY6.js";import"./7ANMAQXN.js";import"./EYRRGEDQ.js";import"./OVCAOTN3.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import"./RIVVWLOA.js";import"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import"./RHHKJQMD.js";import"./YAAW6QK6.js";import{D as l,n as o,p as n,y as i}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
|
@@ -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.3 */
|
4
|
+
import"./K6A5BZGW.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|
@@ -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.3 */
|
4
|
+
import{a}from"./GGXBJUNZ.js";import"./WFX5NIY6.js";import"./7ANMAQXN.js";import"./EYRRGEDQ.js";import"./OVCAOTN3.js";import{a as s,b as r}from"./U4FYJZJP.js";import"./XRFRTU7J.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import{a as o}from"./IYR7CWGB.js";import{a as i}from"./7SATBHPG.js";import"./RIVVWLOA.js";import"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import"./25MVNDYY.js";import"./2JUQQJOQ.js";import"./IGGGIS6G.js";import"./RHHKJQMD.js";import"./662JMFYU.js";import"./QA65PTZZ.js";import"./OHTIVF6F.js";import"./HUHLOYKI.js";import"./5QYTBWNM.js";import"./LHUMSMJ6.js";import"./FAZP4TDB.js";import"./UYOJLBLJ.js";import"./HQGW6OLO.js";import"./ERJKLBV2.js";import"./GKSL27GK.js";import"./NNUFXWGF.js";import"./GTEHENBQ.js";import"./2S6VPY6M.js";import"./JFDXJGIJ.js";import"./AHAZLVQ4.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",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 i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c 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.
|
3
|
+
v1.0.3 */
|
4
4
|
function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,me=globalThis.File,ge=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||!n.maxUrlLength&&f.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Ge(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}function le(r){return typeof r.userId=="string"||typeof r.expires=="number"}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return le(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{W as a,V as b,R as c,p as d,Ge as e,m as f,k as g};
|
@@ -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.3 */
|
4
|
+
import{a as o}from"./YBKACDGP.js";import{d as r}from"./JIYQEZGV.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import{a as s}from"./25MVNDYY.js";import"./2JUQQJOQ.js";import"./IGGGIS6G.js";import"./RHHKJQMD.js";import"./662JMFYU.js";import"./QA65PTZZ.js";import"./OHTIVF6F.js";import"./HUHLOYKI.js";import"./5QYTBWNM.js";import"./LHUMSMJ6.js";import"./FAZP4TDB.js";import"./UYOJLBLJ.js";import"./HQGW6OLO.js";import"./ERJKLBV2.js";import"./GKSL27GK.js";import"./NNUFXWGF.js";import"./GTEHENBQ.js";import"./2S6VPY6M.js";import"./JFDXJGIJ.js";import"./AHAZLVQ4.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},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,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as E}from"./XUEE63KO.js";import{e as F}from"./LVF5XFSJ.js";import{c as T,n as I,t as L,z as M}from"./C2ERTRIZ.js";import"./UUUTNXB4.js";import{a as R,c as l,d as D,e as A,f as B}from"./VAVI46B5.js";import"./EXNI3E3V.js";function nt(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}var st=(()=>{let t=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function m(t){let e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}var f=null;function q(t={}){return f||(t.includeStyleProperties?(f=t.includeStyleProperties,f):(f=m(window.getComputedStyle(document.documentElement)),f))}function x(t,e){let n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function rt(t){let e=x(t,"border-left-width"),i=x(t,"border-right-width");return t.clientWidth+e+i}function at(t){let e=x(t,"border-top-width"),i=x(t,"border-bottom-width");return t.clientHeight+e+i}function G(t,e={}){let i=e.width||rt(t),n=e.height||at(t);return{width:i,height:n}}function ot(){let t,e;try{e=process}catch{}let i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}var d=16384;function pt(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}function v(t){return new Promise((e,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function lt(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ct(t,e,i){let n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),lt(s)}var h=(t,e)=>{if(t instanceof e)return!0;let i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||h(i,e)};function ht(t){let e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function dt(t,e){return q(e).map(i=>{let n=t.getPropertyValue(i),s=t.getPropertyPriority(i);return`${i}: ${n}${s?" !important":""};`}).join(" ")}function ut(t,e,i,n){let s=`.${t}:${e}`,r=i.cssText?ht(i):dt(i,n);return document.createTextNode(`${s}{${r}}`)}function H(t,e,i,n){let s=window.getComputedStyle(t,i),r=s.getPropertyValue("content");if(r===""||r==="none")return;let a=st();try{e.className=`${e.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(ut(a,i,s,n)),e.appendChild(o)}function gt(t,e,i){H(t,e,":before",i),H(t,e,":after",i)}var $="application/font-woff",W="image/jpeg",mt={woff:$,woff2:$,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:W,jpeg:W,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ft(t){let e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function P(t){let e=ft(t).toLowerCase();return mt[e]||""}function wt(t){return t.split(/,/)[1]}function S(t){return t.search(/^(data:)/)!==-1}function K(t,e){return`data:${e};base64,${t}`}async function J(t,e,i){let n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let s=await n.blob();return new Promise((r,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(s)})}var _={};function xt(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function k(t,e,i){let n=xt(t,e,i.includeQueryParams);if(_[n]!=null)return _[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{let r=await J(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),wt(o)));s=K(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return _[n]=s,s}async function vt(t){let e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):v(e)}async function yt(t,e){if(t.currentSrc){let r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a?.drawImage(t,0,0,r.width,r.height);let o=r.toDataURL();return v(o)}let i=t.poster,n=P(i),s=await k(i,n,e);return v(s)}async function bt(t,e){var i;try{if(!((i=t?.contentDocument)===null||i===void 0)&&i.body)return await y(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Et(t,e){return h(t,HTMLCanvasElement)?vt(t):h(t,HTMLVideoElement)?yt(t,e):h(t,HTMLIFrameElement)?bt(t,e):t.cloneNode(X(t))}var _t=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",X=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Ct(t,e,i){var n,s;if(X(e))return e;let r=[];return _t(t)&&t.assignedNodes?r=m(t.assignedNodes()):h(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=m(t.contentDocument.body.childNodes):r=m(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||h(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>y(o,i)).then(p=>{p&&e.appendChild(p)}),Promise.resolve()),e}function St(t,e,i){let n=e.style;if(!n)return;let s=window.getComputedStyle(t);s.cssText?(n.cssText=s.cssText,n.transformOrigin=s.transformOrigin):q(i).forEach(r=>{let a=s.getPropertyValue(r);r==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),h(t,HTMLIFrameElement)&&r==="display"&&a==="inline"&&(a="block"),r==="d"&&e.getAttribute("d")&&(a=`path(${e.getAttribute("d")})`),n.setProperty(r,a,s.getPropertyPriority(r))})}function Pt(t,e){h(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),h(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function kt(t,e){if(h(t,HTMLSelectElement)){let i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function Tt(t,e,i){return h(e,Element)&&(St(t,e,i),gt(t,e,i),Pt(t,e),kt(t,e)),e}async function It(t,e){let i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;let n={};for(let r=0;r<i.length;r++){let o=i[r].getAttribute("xlink:href");if(o){let p=t.querySelector(o),u=document.querySelector(o);!p&&u&&!n[o]&&(n[o]=await y(u,e,!0))}}let s=Object.values(n);if(s.length){let r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(r,"defs");a.appendChild(o);for(let p=0;p<s.length;p++)o.appendChild(s[p]);t.appendChild(a)}return t}async function y(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>Et(n,e)).then(n=>Ct(t,n,e)).then(n=>Tt(t,n,e)).then(n=>It(n,e))}var Q=/url\((['"]?)([^'"]+?)\1\)/g,Lt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Mt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ft(t){let e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function Rt(t){let e=[];return t.replace(Q,(i,n,s)=>(e.push(s),i)),e.filter(i=>!S(i))}async function Dt(t,e,i,n,s){try{let r=i?nt(e,i):e,a=P(e),o;if(s){let p=await s(r);o=K(p,a)}else o=await k(r,a,n);return t.replace(Ft(e),`$1${o}$3`)}catch{}return t}function At(t,{preferredFontFormat:e}){return e?t.replace(Mt,i=>{for(;;){let[n,,s]=Lt.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function Y(t){return t.search(Q)!==-1}async function Z(t,e,i){if(!Y(t))return t;let n=At(t,i);return Rt(n).reduce((r,a)=>r.then(o=>Dt(o,a,e,i)),Promise.resolve(n))}async function w(t,e,i){var n;let s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){let r=await Z(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function Bt(t,e){await w("background",t,e)||await w("background-image",t,e),await w("mask",t,e)||await w("-webkit-mask",t,e)||await w("mask-image",t,e)||await w("-webkit-mask-image",t,e)}async function Ht(t,e){let i=h(t,HTMLImageElement);if(!(i&&!S(t.src))&&!(h(t,SVGImageElement)&&!S(t.href.baseVal)))return;let n=i?t.src:t.href.baseVal,s=await k(n,P(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=e.onImageErrorHandler?(...p)=>{try{r(e.onImageErrorHandler(...p))}catch(u){a(u)}}:a;let o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function $t(t,e){let n=m(t.childNodes).map(s=>N(s,e));await Promise.all(n).then(()=>t)}async function N(t,e){h(t,Element)&&(await Bt(t,e),await Ht(t,e),await $t(t,e))}function Wt(t,e){let{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);let n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}var O={};async function V(t){let e=O[t];if(e!=null)return e;let n=await(await fetch(t)).text();return e={url:t,cssText:n},O[t]=e,e}async function U(t,e){let i=t.cssText,n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),J(o,e.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(r).then(()=>i)}function z(t){if(t==null)return[];let e=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=t.replace(i,""),s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=s.exec(n);if(p===null)break;e.push(p[0])}n=n.replace(s,"");let r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=r.exec(n);if(p===null){if(p=o.exec(n),p===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(p[0])}return e}async function Ot(t,e){let i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1,p=r.href,u=V(p).then(g=>U(g,e)).then(g=>z(g).forEach(b=>{try{s.insertRule(b,b.startsWith("@import")?o+=1:s.cssRules.length)}catch(it){console.error("Error inserting rule from remote css",{rule:b,error:it})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(u)}})}catch(r){let a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(V(s.href).then(o=>U(o,e)).then(o=>z(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function Vt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Y(e.style.getPropertyValue("src")))}async function Ut(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=m(t.ownerDocument.styleSheets),n=await Ot(i,e);return Vt(n)}function tt(t){return t.trim().replace(/["']/g,"")}function zt(t){let e=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(r=>{e.add(tt(r))}),Array.from(n.children).forEach(r=>{r instanceof HTMLElement&&i(r)})}return i(t),e}async function jt(t,e){let i=await Ut(t,e),n=zt(t);return(await Promise.all(i.filter(r=>n.has(tt(r.style.fontFamily))).map(r=>{let a=r.parentStyleSheet?r.parentStyleSheet.href:null;return Z(r.cssText,a,e)}))).join(`
|
3
|
+
v1.0.3 */
|
4
|
+
import{a as E}from"./NRBFWIU7.js";import{e as F}from"./3U5MCBML.js";import{c as T,n as I,t as L,z as M}from"./ZWTSIAER.js";import"./ICTEUNHA.js";import{a as R,c as l,d as D,e as A,f as B}from"./QEC76CAD.js";import"./K6A5BZGW.js";function nt(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}var st=(()=>{let t=0,e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function m(t){let e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}var f=null;function q(t={}){return f||(t.includeStyleProperties?(f=t.includeStyleProperties,f):(f=m(window.getComputedStyle(document.documentElement)),f))}function x(t,e){let n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function rt(t){let e=x(t,"border-left-width"),i=x(t,"border-right-width");return t.clientWidth+e+i}function at(t){let e=x(t,"border-top-width"),i=x(t,"border-bottom-width");return t.clientHeight+e+i}function G(t,e={}){let i=e.width||rt(t),n=e.height||at(t);return{width:i,height:n}}function ot(){let t,e;try{e=process}catch{}let i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}var d=16384;function pt(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}function v(t){return new Promise((e,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>e(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function lt(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function ct(t,e,i){let n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),lt(s)}var h=(t,e)=>{if(t instanceof e)return!0;let i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||h(i,e)};function ht(t){let e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function dt(t,e){return q(e).map(i=>{let n=t.getPropertyValue(i),s=t.getPropertyPriority(i);return`${i}: ${n}${s?" !important":""};`}).join(" ")}function ut(t,e,i,n){let s=`.${t}:${e}`,r=i.cssText?ht(i):dt(i,n);return document.createTextNode(`${s}{${r}}`)}function H(t,e,i,n){let s=window.getComputedStyle(t,i),r=s.getPropertyValue("content");if(r===""||r==="none")return;let a=st();try{e.className=`${e.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(ut(a,i,s,n)),e.appendChild(o)}function gt(t,e,i){H(t,e,":before",i),H(t,e,":after",i)}var $="application/font-woff",W="image/jpeg",mt={woff:$,woff2:$,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:W,jpeg:W,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ft(t){let e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function P(t){let e=ft(t).toLowerCase();return mt[e]||""}function wt(t){return t.split(/,/)[1]}function S(t){return t.search(/^(data:)/)!==-1}function K(t,e){return`data:${e};base64,${t}`}async function J(t,e,i){let n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let s=await n.blob();return new Promise((r,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(s)})}var _={};function xt(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function k(t,e,i){let n=xt(t,e,i.includeQueryParams);if(_[n]!=null)return _[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{let r=await J(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),wt(o)));s=K(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return _[n]=s,s}async function vt(t){let e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):v(e)}async function yt(t,e){if(t.currentSrc){let r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a?.drawImage(t,0,0,r.width,r.height);let o=r.toDataURL();return v(o)}let i=t.poster,n=P(i),s=await k(i,n,e);return v(s)}async function bt(t,e){var i;try{if(!((i=t?.contentDocument)===null||i===void 0)&&i.body)return await y(t.contentDocument.body,e,!0)}catch{}return t.cloneNode(!1)}async function Et(t,e){return h(t,HTMLCanvasElement)?vt(t):h(t,HTMLVideoElement)?yt(t,e):h(t,HTMLIFrameElement)?bt(t,e):t.cloneNode(X(t))}var _t=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",X=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function Ct(t,e,i){var n,s;if(X(e))return e;let r=[];return _t(t)&&t.assignedNodes?r=m(t.assignedNodes()):h(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=m(t.contentDocument.body.childNodes):r=m(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||h(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>y(o,i)).then(p=>{p&&e.appendChild(p)}),Promise.resolve()),e}function St(t,e,i){let n=e.style;if(!n)return;let s=window.getComputedStyle(t);s.cssText?(n.cssText=s.cssText,n.transformOrigin=s.transformOrigin):q(i).forEach(r=>{let a=s.getPropertyValue(r);r==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),h(t,HTMLIFrameElement)&&r==="display"&&a==="inline"&&(a="block"),r==="d"&&e.getAttribute("d")&&(a=`path(${e.getAttribute("d")})`),n.setProperty(r,a,s.getPropertyPriority(r))})}function Pt(t,e){h(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),h(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function kt(t,e){if(h(t,HTMLSelectElement)){let i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function Tt(t,e,i){return h(e,Element)&&(St(t,e,i),gt(t,e,i),Pt(t,e),kt(t,e)),e}async function It(t,e){let i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;let n={};for(let r=0;r<i.length;r++){let o=i[r].getAttribute("xlink:href");if(o){let p=t.querySelector(o),u=document.querySelector(o);!p&&u&&!n[o]&&(n[o]=await y(u,e,!0))}}let s=Object.values(n);if(s.length){let r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(r,"defs");a.appendChild(o);for(let p=0;p<s.length;p++)o.appendChild(s[p]);t.appendChild(a)}return t}async function y(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>Et(n,e)).then(n=>Ct(t,n,e)).then(n=>Tt(t,n,e)).then(n=>It(n,e))}var Q=/url\((['"]?)([^'"]+?)\1\)/g,Lt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Mt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Ft(t){let e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function Rt(t){let e=[];return t.replace(Q,(i,n,s)=>(e.push(s),i)),e.filter(i=>!S(i))}async function Dt(t,e,i,n,s){try{let r=i?nt(e,i):e,a=P(e),o;if(s){let p=await s(r);o=K(p,a)}else o=await k(r,a,n);return t.replace(Ft(e),`$1${o}$3`)}catch{}return t}function At(t,{preferredFontFormat:e}){return e?t.replace(Mt,i=>{for(;;){let[n,,s]=Lt.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function Y(t){return t.search(Q)!==-1}async function Z(t,e,i){if(!Y(t))return t;let n=At(t,i);return Rt(n).reduce((r,a)=>r.then(o=>Dt(o,a,e,i)),Promise.resolve(n))}async function w(t,e,i){var n;let s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){let r=await Z(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function Bt(t,e){await w("background",t,e)||await w("background-image",t,e),await w("mask",t,e)||await w("-webkit-mask",t,e)||await w("mask-image",t,e)||await w("-webkit-mask-image",t,e)}async function Ht(t,e){let i=h(t,HTMLImageElement);if(!(i&&!S(t.src))&&!(h(t,SVGImageElement)&&!S(t.href.baseVal)))return;let n=i?t.src:t.href.baseVal,s=await k(n,P(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=e.onImageErrorHandler?(...p)=>{try{r(e.onImageErrorHandler(...p))}catch(u){a(u)}}:a;let o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function $t(t,e){let n=m(t.childNodes).map(s=>N(s,e));await Promise.all(n).then(()=>t)}async function N(t,e){h(t,Element)&&(await Bt(t,e),await Ht(t,e),await $t(t,e))}function Wt(t,e){let{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);let n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}var O={};async function V(t){let e=O[t];if(e!=null)return e;let n=await(await fetch(t)).text();return e={url:t,cssText:n},O[t]=e,e}async function U(t,e){let i=t.cssText,n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),J(o,e.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(r).then(()=>i)}function z(t){if(t==null)return[];let e=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=t.replace(i,""),s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=s.exec(n);if(p===null)break;e.push(p[0])}n=n.replace(s,"");let r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=r.exec(n);if(p===null){if(p=o.exec(n),p===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(p[0])}return e}async function Ot(t,e){let i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1,p=r.href,u=V(p).then(g=>U(g,e)).then(g=>z(g).forEach(b=>{try{s.insertRule(b,b.startsWith("@import")?o+=1:s.cssRules.length)}catch(it){console.error("Error inserting rule from remote css",{rule:b,error:it})}})).catch(g=>{console.error("Error loading remote css",g.toString())});n.push(u)}})}catch(r){let a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(V(s.href).then(o=>U(o,e)).then(o=>z(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{m(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function Vt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Y(e.style.getPropertyValue("src")))}async function Ut(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=m(t.ownerDocument.styleSheets),n=await Ot(i,e);return Vt(n)}function tt(t){return t.trim().replace(/["']/g,"")}function zt(t){let e=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(r=>{e.add(tt(r))}),Array.from(n.children).forEach(r=>{r instanceof HTMLElement&&i(r)})}return i(t),e}async function jt(t,e){let i=await Ut(t,e),n=zt(t);return(await Promise.all(i.filter(r=>n.has(tt(r.style.fontFamily))).map(r=>{let a=r.parentStyleSheet?r.parentStyleSheet.href:null;return Z(r.cssText,a,e)}))).join(`
|
5
5
|
`)}async function qt(t,e){let i=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await jt(t,e);if(i){let n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function Gt(t,e={}){let{width:i,height:n}=G(t,e),s=await y(t,e,!0);return await qt(s,e),await N(s,e),Wt(s,e),await ct(s,i,n)}async function et(t,e={}){let{width:i,height:n}=G(t,e),s=await Gt(t,e),r=await v(s),a=document.createElement("canvas"),o=a.getContext("2d"),p=e.pixelRatio||ot(),u=e.canvasWidth||i,g=e.canvasHeight||n;return a.width=u*p,a.height=g*p,e.skipAutoScale||pt(a),a.style.width=`${u}`,a.style.height=`${g}`,e.backgroundColor&&(o.fillStyle=e.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(r,0,0,a.width,a.height),a}async function Kt(t,e={}){return(await et(t,e)).toDataURL()}async function j(t,e={}){return(await et(t,e)).toDataURL("image/jpeg",e.quality||1)}var Jt=`
|
6
6
|
@media print {
|
7
7
|
@page {
|
@@ -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.3 */
|
4
|
+
import{a}from"./JMQV4UK4.js";import{a as d}from"./7ANMAQXN.js";import{K as b,L as m}from"./RIVVWLOA.js";import"./SYSMKBTI.js";import{a as l}from"./Z5LX6R34.js";import{a as i}from"./25MVNDYY.js";import"./2JUQQJOQ.js";import"./IGGGIS6G.js";import"./RHHKJQMD.js";import"./662JMFYU.js";import"./QA65PTZZ.js";import"./OHTIVF6F.js";import"./HUHLOYKI.js";import"./5QYTBWNM.js";import"./LHUMSMJ6.js";import"./FAZP4TDB.js";import"./UYOJLBLJ.js";import"./HQGW6OLO.js";import"./ERJKLBV2.js";import"./GKSL27GK.js";import"./NNUFXWGF.js";import"./GTEHENBQ.js";import"./2S6VPY6M.js";import"./JFDXJGIJ.js";import"./AHAZLVQ4.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ 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 as t}from"./
|
3
|
+
v1.0.3 */
|
4
|
+
import{a as t}from"./25MVNDYY.js";import"./2JUQQJOQ.js";import"./IGGGIS6G.js";import"./RHHKJQMD.js";import"./662JMFYU.js";import"./QA65PTZZ.js";import"./OHTIVF6F.js";import"./HUHLOYKI.js";import"./5QYTBWNM.js";import"./LHUMSMJ6.js";import"./FAZP4TDB.js";import"./UYOJLBLJ.js";import{a as r}from"./HQGW6OLO.js";import"./ERJKLBV2.js";import"./GKSL27GK.js";import"./NNUFXWGF.js";import"./GTEHENBQ.js";import"./2S6VPY6M.js";import"./JFDXJGIJ.js";import"./AHAZLVQ4.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import"./
|
3
|
+
v1.0.3 */
|
4
|
+
import"./6GCYWKFS.js";import e from"./UKWTBSYT.js";import{a as S,b as o,c as x,d as C,e as d}from"./WOW7ES6W.js";import{a as _,b as v,c as w}from"./23KPU4GQ.js";import"./U3K7MHYO.js";import"./TSUZDZYM.js";import"./VS4BFKL3.js";import"./RRF3ACRD.js";import"./QLVDQY5R.js";import"./7XCWAN5G.js";import"./JMQV4UK4.js";import"./J5Z6XBH5.js";import"./WFX5NIY6.js";import"./7ANMAQXN.js";import"./EYRRGEDQ.js";import"./OVCAOTN3.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import"./RIVVWLOA.js";import{g as b}from"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import"./RHHKJQMD.js";import{a as g,b as m}from"./XPXOPI63.js";import{a as y}from"./LN5LFFQL.js";import{A as a,B as c,D as f,c as h,d as i,n,w as l,y as u}from"./QSBF5CAO.js";import"./K6A5BZGW.js";export default $arcgis.t(([k])=>{var P=h`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -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.3 */
|
4
|
+
import{a as P}from"./FNWEYQDD.js";import{G as g,I as m,J as d,K as I,_b as F,ac as y,bc as v,cc as R,dc as w,e as n,ec as T,lb as b,oa as S}from"./U3K7MHYO.js";import{b as o,h as _}from"./YAAW6QK6.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
|
@@ -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.3 */
|
4
|
+
import{jc as i}from"./U3K7MHYO.js";export default $arcgis.t(([])=>{function u(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function m(e){return e?i(e,{}).then(t=>Promise.resolve(!!t)):Promise.resolve(!1)}function f(e){if(e){let t=e.trim();return t?"<div>"+t+"</div>":""}else return""}function o(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function l(e,t,r,n){let s="";return t?s=n+"/sharing/rest/content/items/"+e+"/info/"+t+o([{k:"w",v:"400"}]):s=r,s}function h(e){let t=e?e.replace("https://","").replace("www.",""):"";return t.endsWith("devext.arcgis.com")||t.endsWith("mapsqa.arcgis.com")||t.endsWith("qaext.arcgis.com")?e??"https://www.arcgis.com":"https://www.arcgis.com"}function w(e,t,r){return t.some(n=>n.wkid===e?(r=n.defaultExtent,!0):!1),r}function g(e,t="en"){return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(e)}function d(e,t){let r="";return e.some(n=>n.startsWith(t)?(r=n.substring(t.length),!0):!1),r}return{a:u,b:m,c:f,d:o,e:l,f:h,g:w,h:g,i:d}},"intl")
|
@@ -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 s}from"./
|
3
|
+
v1.0.3 */
|
4
|
+
import{a as s}from"./IP5TND75.js";import{a as l,b as p}from"./62ZWA6O7.js";import{d as m}from"./SYSMKBTI.js";import"./ASBGMXK6.js";import{a}from"./Z5LX6R34.js";import"./K6A5BZGW.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
|
@@ -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 l,b as a}from"./
|
3
|
+
v1.0.3 */
|
4
|
+
import{a as l,b as a}from"./XPXOPI63.js";import{b}from"./UCX6I6GZ.js";import{a as f}from"./LN5LFFQL.js";import{D as u,c as _,d as h,f as c,y as w,z as o}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var $=_`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.
|
4
|
-
import{a as p}from"./
|
3
|
+
v1.0.3 */
|
4
|
+
import{a as p}from"./EYRRGEDQ.js";import{a as n}from"./Z5LX6R34.js";var l=1,f=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],u=e=>[{orgId:e}],O={item:f,event:u};function j(e){if(n(e,"schemaVersion")===l)return e;{let t=p(e);return t=d(t),t}}function d(e){if(n(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},s=n(e,"groups")||[],c=[];Array.isArray(s)&&s.length?c=s:typeof s=="string"&&(c=[s]),c.length&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>Object.assign(Object.assign({},o),{[r[0]]:Object.assign(Object.assign({},r[1]),{filters:[{predicates:[{group:c}]}]})}),{}));let i=n(e,"orgId");return i&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>{let a=r[0],g=r[1];return Object.assign(Object.assign({},o),{[a]:Object.assign(Object.assign({},g),{filters:[...g.filters,{operation:"AND",predicates:O[a](i)}]})})},{})),t}}export{j 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{e as l,f as o}from"./
|
3
|
+
v1.0.3 */
|
4
|
+
import{e as l,f as o}from"./RRF3ACRD.js";import{d as g}from"./J5Z6XBH5.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
|