@esri/solutions-components 1.1.0-next.20250811 → 1.1.0-next.20250812
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/{D5LUMTLN.js → 2BXUT6DX.js} +1 -1
- package/dist/cdn/{H36K2KKY.js → 2DLPB4EO.js} +2 -2
- package/dist/cdn/{RECU3VB6.js → 2DT63QLW.js} +2 -2
- package/dist/cdn/{C52XX5ZG.js → 2GOI3U6A.js} +2 -2
- package/dist/cdn/{QSFRU6ZE.js → 2GVD2PNS.js} +2 -2
- package/dist/cdn/{2RZAN4J3.js → 2IO3QS6R.js} +2 -2
- package/dist/cdn/{VZTVT7W4.js → 2KL46Q2D.js} +2 -2
- package/dist/cdn/{OCARJJQL.js → 2SBZXCJH.js} +2 -2
- package/dist/cdn/{AB3EXVBZ.js → 2XJYA7PT.js} +2 -2
- package/dist/cdn/{ZBIVULLU.js → 2YT2RFVI.js} +2 -2
- package/dist/cdn/{TAHX7L7N.js → 32SEVXRM.js} +1 -1
- package/dist/cdn/{RQHAO57B.js → 32VJQFM7.js} +1 -1
- package/dist/cdn/{ULGNQG43.js → 34UNGHTX.js} +2 -2
- package/dist/cdn/{N5T6H735.js → 36V7KPBK.js} +2 -2
- package/dist/cdn/{DSKVWLGY.js → 37RUKMXJ.js} +2 -2
- package/dist/cdn/3BCTRIX2.js +4 -0
- package/dist/cdn/{F527WKRH.js → 3EHO5HEG.js} +2 -2
- package/dist/cdn/3FWBTG2Q.js +4 -0
- package/dist/cdn/{MQBQ5D5G.js → 3GPBADMZ.js} +2 -2
- package/dist/cdn/{FQO2HG7M.js → 3L47ZYJD.js} +2 -2
- package/dist/cdn/{2DLI4Y75.js → 3MFMNW62.js} +2 -2
- package/dist/cdn/{5KN2AFRH.js → 3MHOTTLM.js} +2 -2
- package/dist/cdn/{2YZRRBF7.js → 3NLPELR7.js} +2 -2
- package/dist/cdn/{6GXM6APH.js → 3O7U5WLR.js} +2 -2
- package/dist/cdn/{A3XXT3VU.js → 3SQSGBUH.js} +2 -2
- package/dist/cdn/{BXW3TA6O.js → 3VSZ6HWZ.js} +2 -2
- package/dist/cdn/{CXF62MZS.js → 3Y7SBEPM.js} +2 -2
- package/dist/cdn/436PERQP.js +18 -0
- package/dist/cdn/{Q6G6KGZ3.js → 4IJYUSHX.js} +2 -2
- package/dist/cdn/{ELFWTILT.js → 4SGAX2MI.js} +2 -2
- package/dist/cdn/{ZHO4ZAWI.js → 4X7GWY5N.js} +2 -2
- package/dist/cdn/{BSBEZTMF.js → 4XQIRZLX.js} +2 -2
- package/dist/cdn/{2D4J4M2J.js → 53LZK2NX.js} +1 -1
- package/dist/cdn/{MN2EPGVQ.js → 55MFPGX2.js} +2 -2
- package/dist/cdn/{SEE5QR2R.js → 57B7RYSF.js} +2 -2
- package/dist/cdn/{4FHN36IJ.js → 5HLMGC77.js} +2 -2
- package/dist/cdn/5HZLCNU2.js +18 -0
- package/dist/cdn/{PE3SSYAD.js → 5JIEUQRM.js} +2 -2
- package/dist/cdn/{RLYWJIWS.js → 5L3UCLOY.js} +2 -2
- package/dist/cdn/{M4PMDTEE.js → 5ORK2Y44.js} +2 -2
- package/dist/cdn/{WCAMEDNK.js → 5PNJQEHL.js} +2 -2
- package/dist/cdn/{KQH7RQH7.js → 5PXYAS3B.js} +2 -2
- package/dist/cdn/{CBIUUXGC.js → 5QRNJRKJ.js} +2 -2
- package/dist/cdn/{67IWZ3KD.js → 5ZUHX3VT.js} +2 -2
- package/dist/cdn/{QU74S4RI.js → 66Z5F3Z2.js} +2 -2
- package/dist/cdn/{UG2VB4I7.js → 6IIIEY74.js} +2 -2
- package/dist/cdn/{N7CCSN2V.js → 6IJOFEAH.js} +1 -1
- package/dist/cdn/{3FBYTHDB.js → 6K4LQMAX.js} +1 -1
- package/dist/cdn/{S3GATO3B.js → 7DLIAJCU.js} +2 -2
- package/dist/cdn/{B4ACCQYI.js → 7EDFUMWK.js} +2 -2
- package/dist/cdn/{4TZFTGP5.js → 7HTPHT6R.js} +2 -2
- package/dist/cdn/{UBBCUI4G.js → 7KQ2BBGH.js} +2 -2
- package/dist/cdn/{NWWSZQFW.js → 7MBIJWN3.js} +2 -2
- package/dist/cdn/{MUN27JUW.js → 7NNOBYSQ.js} +2 -2
- package/dist/cdn/{SD2CLQWR.js → 7R37WICF.js} +1 -1
- package/dist/cdn/{G5PJOI2S.js → 7S2YYGKB.js} +2 -2
- package/dist/cdn/{CVY6NXHC.js → 7VPDZBJR.js} +2 -2
- package/dist/cdn/{IGWBDOPR.js → 7X7D4YVD.js} +2 -2
- package/dist/cdn/{FINOANYC.js → 7Y37SBXY.js} +2 -2
- package/dist/cdn/{GNS3QL7M.js → 7ZJMMRH4.js} +1 -1
- package/dist/cdn/{KO3ONQ7A.js → A6JEFTX2.js} +2 -2
- package/dist/cdn/{ZOSUIDTX.js → ABYLFJWS.js} +2 -2
- package/dist/cdn/{5NHYI3W6.js → AGAYVTUV.js} +2 -2
- package/dist/cdn/{7RA5VI2M.js → AP6ERTGB.js} +2 -2
- package/dist/cdn/APXHE3B3.js +4 -0
- package/dist/cdn/{ETSR4DTU.js → AQIJR4XD.js} +2 -2
- package/dist/cdn/{KJEZ63MM.js → AQMF7NA2.js} +2 -2
- package/dist/cdn/{UBITOVMY.js → ATWKDQMR.js} +2 -2
- package/dist/cdn/{4B5UZHGF.js → AXUX37GT.js} +1 -1
- package/dist/cdn/{7QRMYMOR.js → AXZ3Q7NZ.js} +2 -2
- package/dist/cdn/AZAD32ZX.js +4 -0
- package/dist/cdn/{KZSEXK4T.js → AZH3EEU4.js} +2 -2
- package/dist/cdn/{DUYAP33V.js → BADS5XZD.js} +2 -2
- package/dist/cdn/{DIYKBW3U.js → BDUN32OS.js} +2 -2
- package/dist/cdn/{M4O6K73H.js → BGOOKLPG.js} +2 -2
- package/dist/cdn/{7KVWVAR4.js → BKODTFFO.js} +2 -2
- package/dist/cdn/{YKW4FGXP.js → BMVUDTTY.js} +2 -2
- package/dist/cdn/{ETN3A2QC.js → BPDYH25K.js} +2 -2
- package/dist/cdn/{UM332TFA.js → BTKBHKQO.js} +2 -2
- package/dist/cdn/{Q2SKOFQP.js → BVCJBJQL.js} +2 -2
- package/dist/cdn/{UFH2ESKV.js → BVXKRSGL.js} +1 -1
- package/dist/cdn/{GHAEWQ4U.js → BYKFCMXP.js} +2 -2
- package/dist/cdn/{CO6Y4JQA.js → C4OQIYFQ.js} +2 -2
- package/dist/cdn/C7LOQ7OI.js +18 -0
- package/dist/cdn/{CC7GNQZN.js → CGQI4TYR.js} +2 -2
- package/dist/cdn/{NBQUUMZE.js → CQY3643E.js} +2 -2
- package/dist/cdn/CTWEU7QD.js +4 -0
- package/dist/cdn/{PYTEXGKE.js → D6UC7QOS.js} +2 -2
- package/dist/cdn/{BI64QLWY.js → DBI5MALT.js} +2 -2
- package/dist/cdn/{RSOVP27Q.js → DCUNQVC7.js} +2 -2
- package/dist/cdn/{LEGB4PPF.js → DEYWCDYE.js} +1 -1
- package/dist/cdn/{KWP3A7C6.js → DF4U7UQT.js} +2 -2
- package/dist/cdn/{MILUGKNK.js → DIR5ZFRB.js} +2 -2
- package/dist/cdn/{VYQNTISJ.js → DKGXGDIG.js} +2 -2
- package/dist/cdn/{WUDMEAHZ.js → DPASP522.js} +2 -2
- package/dist/cdn/{PFFJNYXP.js → DU3EVUJQ.js} +2 -2
- package/dist/cdn/{LKQE3JX7.js → DYYDQJ3C.js} +2 -2
- package/dist/cdn/{3Y2HEM7T.js → EBAIG4UF.js} +1 -1
- package/dist/cdn/{DNEPWMNI.js → EBYK2JMV.js} +2 -2
- package/dist/cdn/{U37LWH4D.js → ECDV3RJN.js} +2 -2
- package/dist/cdn/{5NLTGNGB.js → EL3O7SU5.js} +2 -2
- package/dist/cdn/{QLWQDLYJ.js → EMCSETR3.js} +2 -2
- package/dist/cdn/{YJY766UU.js → EQF7354P.js} +2 -2
- package/dist/cdn/{ZQCQVKSK.js → EQWZKX6V.js} +2 -2
- package/dist/cdn/{FFGPVCLB.js → ERINYIS2.js} +2 -2
- package/dist/cdn/{5LZ4OM3G.js → EUSLG7J4.js} +1 -1
- package/dist/cdn/{S7LILHZ6.js → EWFTPTDF.js} +2 -2
- package/dist/cdn/F2PLJZ35.js +4 -0
- package/dist/cdn/{ZQ6TRYQI.js → F5TW6HEN.js} +1 -1
- package/dist/cdn/{GU74TCNP.js → FBYQBRBZ.js} +2 -2
- package/dist/cdn/{ZPQHWXVT.js → FFFJSA6E.js} +2 -2
- package/dist/cdn/{Z2TQAG2W.js → FGBLMTAS.js} +2 -2
- package/dist/cdn/{4OPYQ2ZV.js → FJMBBCIQ.js} +2 -2
- package/dist/cdn/{JYBX6OYZ.js → FM4G2RSJ.js} +2 -2
- package/dist/cdn/{DSGRTZC7.js → FMFPTEIS.js} +2 -2
- package/dist/cdn/{QZMNFU3O.js → FY6AWVVF.js} +2 -2
- package/dist/cdn/{2ROXBM6C.js → FYH6THZZ.js} +2 -2
- package/dist/cdn/{5LBKY3ZB.js → G3ONBCRX.js} +2 -2
- package/dist/cdn/{QSEHUKUK.js → GCJO7NBJ.js} +2 -2
- package/dist/cdn/{C4EGGW6P.js → GKMDZTC3.js} +1 -1
- package/dist/cdn/{NAM4J36C.js → GLD46N72.js} +2 -2
- package/dist/cdn/{32BEPLL5.js → GNLEYSDW.js} +2 -2
- package/dist/cdn/{PJ4OOX6H.js → GREGLFM2.js} +2 -2
- package/dist/cdn/{TGLYOQNV.js → GUCZWBGM.js} +3 -3
- package/dist/cdn/{DDV5UYE5.js → GV7IXPU6.js} +1 -1
- package/dist/cdn/{5LHOUR5X.js → GXHWOEWG.js} +2 -2
- package/dist/cdn/{PKS62HB2.js → HBONMRUG.js} +2 -2
- package/dist/cdn/{EPUOFHKO.js → HGCM2FE2.js} +1 -1
- package/dist/cdn/{P5NIA3Y5.js → HGTXMUFL.js} +2 -2
- package/dist/cdn/{JNHPEUSM.js → HLH3CEN7.js} +1 -1
- package/dist/cdn/{CGC5HVLI.js → HMNRBKGU.js} +2 -2
- package/dist/cdn/{6D2PTEFV.js → HP6EZ4T6.js} +2 -2
- package/dist/cdn/{FKJHLJPA.js → HRPINX2P.js} +2 -2
- package/dist/cdn/{7VKBF2FF.js → HRS2ULJX.js} +2 -2
- package/dist/cdn/{EBYHWRAD.js → HSNJFDZI.js} +2 -2
- package/dist/cdn/{JHG32IWY.js → HV3ZJ75V.js} +2 -2
- package/dist/cdn/{PSUXO4NH.js → HV42PHN2.js} +2 -2
- package/dist/cdn/{CD53XWYA.js → HW3PYGRO.js} +2 -2
- package/dist/cdn/{N5ILEPMJ.js → I3OWRWKV.js} +2 -2
- package/dist/cdn/{D4QGPQND.js → I65TCXEV.js} +2 -2
- package/dist/cdn/{Q3TRQVCN.js → IJWZ2QGC.js} +2 -2
- package/dist/cdn/{V67M3XNW.js → IKJ2MUXC.js} +2 -2
- package/dist/cdn/{FRUGMWTJ.js → IOZP453D.js} +2 -2
- package/dist/cdn/{NBSLCKRM.js → IQEIWTTQ.js} +1 -1
- package/dist/cdn/{IMFSUJYA.js → IQJONGSP.js} +2 -2
- package/dist/cdn/{QABYI35N.js → IYGXOL5A.js} +2 -2
- package/dist/cdn/{SGXSUJVY.js → J3RLAMMG.js} +2 -2
- package/dist/cdn/{WVCE4HNT.js → JDQXOW4N.js} +2 -2
- package/dist/cdn/{ONBSV4YT.js → JJM7DPRD.js} +2 -2
- package/dist/cdn/{QUWBDRBE.js → JLQSRAJA.js} +2 -2
- package/dist/cdn/JOXQDPXR.js +18 -0
- package/dist/cdn/{I7LH7SU3.js → JQLK37UG.js} +2 -2
- package/dist/cdn/{3JIZ4OVA.js → JWCO6WYR.js} +2 -2
- package/dist/cdn/{ZDR25IQ2.js → JX7OUCFF.js} +2 -2
- package/dist/cdn/{GUAMN5PO.js → K4UNKJ5H.js} +2 -2
- package/dist/cdn/{VDRZPPZC.js → K5AQ47LY.js} +2 -2
- package/dist/cdn/{XKWWXYCP.js → K6TIKSGU.js} +2 -2
- package/dist/cdn/{TZD5MGUT.js → KAR4LTJL.js} +1 -1
- package/dist/cdn/{YSF3U2S4.js → KN2HYDVW.js} +2 -2
- package/dist/cdn/KYJV4K4T.js +18 -0
- package/dist/cdn/{VXNYWTA2.js → L3I2MLN4.js} +2 -2
- package/dist/cdn/L3PM24PZ.js +18 -0
- package/dist/cdn/{I6YRZF2Z.js → L3VAHI62.js} +2 -2
- package/dist/cdn/{WN7I3CLH.js → L7USSUAB.js} +2 -2
- package/dist/cdn/{5V5IWZML.js → LA7NDNWK.js} +3 -3
- package/dist/cdn/{UQVY46LL.js → LFJA4ZL7.js} +2 -2
- package/dist/cdn/{TGXRWCA5.js → LGV5OMRP.js} +2 -2
- package/dist/cdn/{FOEUECEM.js → LLOZFHAC.js} +2 -2
- package/dist/cdn/{AVJALFKF.js → LQ43QFI2.js} +2 -2
- package/dist/cdn/{DT5LM7Y4.js → LWJFG2TB.js} +1 -1
- package/dist/cdn/{D3HBPTA4.js → M344WSRV.js} +1 -1
- package/dist/cdn/{PHJF3WTM.js → MHQCPSLE.js} +2 -2
- package/dist/cdn/{LLHTR24H.js → MKDZNMY7.js} +1 -1
- package/dist/cdn/{MM4EA25Z.js → MNJN2GFB.js} +2 -2
- package/dist/cdn/{N4YEVO4Y.js → MT54TTK3.js} +2 -2
- package/dist/cdn/{R2QN2NVA.js → MWH2EIKG.js} +2 -2
- package/dist/cdn/{3RYCYG6M.js → MXAI3H2Y.js} +2 -2
- package/dist/cdn/{6I3NSNO2.js → N2NJILWN.js} +2 -2
- package/dist/cdn/N5NEHLCX.js +4 -0
- package/dist/cdn/{R6NWJH2T.js → NACVBQNC.js} +1 -1
- package/dist/cdn/{5KHJ2Q7T.js → NAWILONU.js} +2 -2
- package/dist/cdn/{PJC6SXTD.js → NB4YH3JV.js} +2 -2
- package/dist/cdn/{J7JR3RI7.js → NBPBOJ23.js} +2 -2
- package/dist/cdn/{OEUYYOHY.js → NFSHI4K2.js} +2 -2
- package/dist/cdn/{CGVNTPMW.js → NMZ3OE4M.js} +2 -2
- package/dist/cdn/{3FZJXHAQ.js → NPE5VGIJ.js} +1 -1
- package/dist/cdn/{BE7WZVUC.js → NQ43PDWK.js} +1 -1
- package/dist/cdn/{XGCJQZRI.js → NS4JA7V7.js} +2 -2
- package/dist/cdn/{WL2QS77G.js → NTZWVSZY.js} +2 -2
- package/dist/cdn/{D7XRMPPD.js → NY6QTBWO.js} +2 -2
- package/dist/cdn/{XETIOQJS.js → NZYOPIF7.js} +2 -2
- package/dist/cdn/{NLW3FUGS.js → O4DAQ76R.js} +2 -2
- package/dist/cdn/{62NXY2XK.js → O5MZPOPH.js} +2 -2
- package/dist/cdn/{VAQT7ARN.js → OBWKJWXC.js} +2 -2
- package/dist/cdn/{TT3JSL5E.js → OCAI32J3.js} +2 -2
- package/dist/cdn/{LWFA6HIB.js → ODRWQOSM.js} +2 -2
- package/dist/cdn/{EO6UJOYB.js → OEESZ5OV.js} +2 -2
- package/dist/cdn/{VDKRDZJM.js → OFKLFPJB.js} +2 -2
- package/dist/cdn/{5HYO7JGY.js → OM3XGHUN.js} +2 -2
- package/dist/cdn/{KGY74VYL.js → OQPHC3L2.js} +2 -2
- package/dist/cdn/{25BPRYOW.js → OUK52IIO.js} +2 -2
- package/dist/cdn/{U7HGDUHD.js → P2PRJL62.js} +2 -2
- package/dist/cdn/{PZLYNDNS.js → PAUAKCLM.js} +2 -2
- package/dist/cdn/{GDMJG5O6.js → PIVTTIXY.js} +2 -2
- package/dist/cdn/{3BO2FDBN.js → PJZTESVI.js} +2 -2
- package/dist/cdn/{S5LJNAVJ.js → PNUTIPX7.js} +2 -2
- package/dist/cdn/{BVTZQPBH.js → PNVFVVE6.js} +2 -2
- package/dist/cdn/{5ZDDGZJ2.js → POM4C6DI.js} +2 -2
- package/dist/cdn/{GPLQK6HM.js → PTEALRQR.js} +2 -2
- package/dist/cdn/{7WGHDJ4F.js → PTSO747J.js} +2 -2
- package/dist/cdn/{CA2EPZXH.js → PUM7WU5Q.js} +2 -2
- package/dist/cdn/{5XNY2IPV.js → PUNA6UWM.js} +2 -2
- package/dist/cdn/{YZWFSEWM.js → PWGBFNR2.js} +2 -2
- package/dist/cdn/{IX46G3WW.js → PWJSDFB5.js} +1 -1
- package/dist/cdn/{WT27D7OF.js → Q7PTMTBS.js} +2 -2
- package/dist/cdn/{LU4ZYEEQ.js → Q7YYCBYQ.js} +2 -2
- package/dist/cdn/{YNLF6CBA.js → QADRNTEK.js} +2 -2
- package/dist/cdn/{CNFZJ3VN.js → QHBTS47Z.js} +2 -2
- package/dist/cdn/{W3IPZTUY.js → QIXFH7VY.js} +1 -1
- package/dist/cdn/{F3NKARWH.js → RAZFH54Z.js} +2 -2
- package/dist/cdn/{27FMVAFE.js → ROR6YUGT.js} +2 -2
- package/dist/cdn/{OYY2X6G5.js → RSS4NWVZ.js} +2 -2
- package/dist/cdn/{HH7VHJVF.js → RVT3UAUI.js} +2 -2
- package/dist/cdn/{HZGI4IYF.js → RZXR3T2O.js} +2 -2
- package/dist/cdn/{LG5UWDJZ.js → S6RJHHML.js} +2 -2
- package/dist/cdn/{NXWK2VRW.js → SKHXGZWX.js} +1 -1
- package/dist/cdn/{6THHSLTV.js → SLEI7LYC.js} +2 -2
- package/dist/cdn/{ANFQG7LD.js → SOGF7JLH.js} +1 -1
- package/dist/cdn/{GBVJR7G4.js → SPF74Q42.js} +1 -1
- package/dist/cdn/{XKB4YYB6.js → SPFFRGBK.js} +1 -1
- package/dist/cdn/{N7XVZJMY.js → STV67PIO.js} +2 -2
- package/dist/cdn/{EX7VYQYO.js → SUIDIWD6.js} +2 -2
- package/dist/cdn/{NUWXRXBH.js → SV2EP4JK.js} +2 -2
- package/dist/cdn/{JIKGR7Y6.js → SVKS7KL3.js} +2 -2
- package/dist/cdn/{4GFQFORZ.js → TDSZPVPL.js} +2 -2
- package/dist/cdn/{Z46YZXN7.js → TLR6GDUP.js} +2 -2
- package/dist/cdn/{VSTHZ6AJ.js → TMFTNPLJ.js} +2 -2
- package/dist/cdn/{QFZD7GCJ.js → TP3Q4JTG.js} +2 -2
- package/dist/cdn/{WOWM46JN.js → TRZDIDEA.js} +2 -2
- package/dist/cdn/{JU5GXMWH.js → TS5QLE3W.js} +1 -1
- package/dist/cdn/{UTMGYYPC.js → TSFAXIQQ.js} +2 -2
- package/dist/cdn/{VWFYEGZK.js → U4BFCSBQ.js} +2 -2
- package/dist/cdn/{N4VN6R7P.js → UGC4M3L5.js} +2 -2
- package/dist/cdn/{GI4X7A5E.js → UGHZODS3.js} +2 -2
- package/dist/cdn/{TJI4XQVF.js → UMYOEGMF.js} +2 -2
- package/dist/cdn/{7PUAGOWX.js → USBUOYSE.js} +1 -1
- package/dist/cdn/{UBSSSD4F.js → USJC532U.js} +2 -2
- package/dist/cdn/{GLN7BTBK.js → UT4B76ZF.js} +2 -2
- package/dist/cdn/{NV33KYL6.js → UWRGESW6.js} +2 -2
- package/dist/cdn/{YAGUTU2N.js → V4ICHA6X.js} +2 -2
- package/dist/cdn/{47GUYAPC.js → V4P44XCJ.js} +2 -2
- package/dist/cdn/{4M6QLQL3.js → VEECODKP.js} +2 -2
- package/dist/cdn/{3GPCAH34.js → VGRCZ36H.js} +1 -1
- package/dist/cdn/{SL2Z2VTM.js → VN3B4LBI.js} +2 -2
- package/dist/cdn/{GNYR5T7P.js → VVERV2QI.js} +2 -2
- package/dist/cdn/{PQVYRUBP.js → VYCPFHKG.js} +2 -2
- package/dist/cdn/{GTLD5NIN.js → W23M33N7.js} +2 -2
- package/dist/cdn/{ELWIFWTO.js → WD5PKUU3.js} +1 -1
- package/dist/cdn/{L7XDT5RE.js → WDMSDRPI.js} +4 -4
- package/dist/cdn/{LQFPA4NV.js → WJDR4FIK.js} +2 -2
- package/dist/cdn/{UHVWYTHM.js → WKTJ6QCW.js} +2 -2
- package/dist/cdn/{PVQZBQBD.js → WNHJ7PIL.js} +1 -1
- package/dist/cdn/{MDUE7TQA.js → WUYHEMVC.js} +2 -2
- package/dist/cdn/{LWLLBQ5N.js → WX2FTC64.js} +2 -2
- package/dist/cdn/{IODYGL3H.js → WYZ7SQQN.js} +2 -2
- package/dist/cdn/{JV6ZKXC4.js → WZDAHV2W.js} +2 -2
- package/dist/cdn/{7MFEM32P.js → WZVCVIBP.js} +2 -2
- package/dist/cdn/XHQSKNX6.js +18 -0
- package/dist/cdn/{PMMQB3WH.js → XIHWGWOZ.js} +2 -2
- package/dist/cdn/{DWZUCJFG.js → XK4QSY24.js} +2 -2
- package/dist/cdn/{PMUI6RJ4.js → XQP3EVFG.js} +2 -2
- package/dist/cdn/{WYVS67DX.js → XRX2HXXR.js} +2 -2
- package/dist/cdn/{6FFTVBS4.js → XU6BRRA7.js} +2 -2
- package/dist/cdn/{3FFRXMAG.js → XVPETWSD.js} +2 -2
- package/dist/cdn/Y32USNTH.js +4 -0
- package/dist/cdn/{7VJLUWJW.js → Y4PJZPVR.js} +2 -2
- package/dist/cdn/{KLT2SHIJ.js → Y55NNV6M.js} +2 -2
- package/dist/cdn/{4CSTDFLN.js → Y5ROBTLH.js} +2 -2
- package/dist/cdn/{5UWVK7QB.js → Y5ZZUWEB.js} +3 -3
- package/dist/cdn/{BBWZXQIW.js → YETOFDZ6.js} +2 -2
- package/dist/cdn/{PE4QKLMA.js → YFTHYPT3.js} +2 -2
- package/dist/cdn/{PDR2NMR5.js → YGKFRUZE.js} +1 -1
- package/dist/cdn/{LB5UU74B.js → YIJFEDFW.js} +2 -2
- package/dist/cdn/{4TMVLWUO.js → YUL3FLGS.js} +2 -2
- package/dist/cdn/{4GN7SIYX.js → YYNOCEWC.js} +2 -2
- package/dist/cdn/{IFJSYBIO.js → YZJXEOMV.js} +2 -2
- package/dist/cdn/{SDEYHR34.js → Z7WNEKTH.js} +2 -2
- package/dist/cdn/{ODAHMIEG.js → ZK4MHDHC.js} +2 -2
- package/dist/cdn/{QU7JNZVG.js → ZOPYH7VG.js} +2 -2
- package/dist/cdn/{YGDH5YVZ.js → ZQ2UYMNA.js} +2 -2
- package/dist/cdn/{BJ7XQIDM.js → ZRAWON53.js} +2 -2
- package/dist/cdn/{5MVQM3XO.js → ZTW7APB3.js} +2 -2
- package/dist/cdn/{4BSGFS3K.js → ZZWLXC4D.js} +2 -2
- package/dist/cdn/{VEFFB5HW.js → ZZYWNVZZ.js} +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +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 +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +13 -15
- package/dist/components/solution-configure-dialog/index.d.ts +1 -0
- package/dist/components/solution-configure-dialog/index.js +1 -0
- 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 +6 -6
- package/dist/components/solution-deploy-dialog/customElement.d.ts +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +11 -9
- package/dist/components/solution-deploy-dialog/index.d.ts +0 -1
- package/dist/components/solution-deploy-dialog/index.js +0 -1
- package/dist/components/solution-deployed-card/customElement.js +17 -20
- package/dist/components/solution-deployed-card/index.d.ts +0 -3
- package/dist/components/solution-deployed-card/index.js +0 -3
- package/dist/components/solution-deploying-dialog/customElement.d.ts +4 -0
- package/dist/components/solution-deploying-dialog/customElement.js +19 -17
- package/dist/components/solution-details-card/customElement.js +4 -4
- package/dist/components/solution-details-panel/customElement.js +6 -6
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +2 -2
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +3 -3
- 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 +12 -12
- 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 +41 -2
- package/dist/docs/docs.json +50 -5
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +9 -4
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/4WAKHUFX.js +0 -18
- package/dist/cdn/AHCZJWA5.js +0 -4
- package/dist/cdn/B65VFI5R.js +0 -18
- package/dist/cdn/FZCKTFLA.js +0 -4
- package/dist/cdn/GSM6TAUA.js +0 -4
- package/dist/cdn/HANAFVAT.js +0 -18
- package/dist/cdn/KCVS4LMM.js +0 -18
- package/dist/cdn/KV53YB72.js +0 -4
- package/dist/cdn/PDMQWXIW.js +0 -4
- package/dist/cdn/PWFUVQTO.js +0 -4
- package/dist/cdn/RRQM3WWS.js +0 -18
- package/dist/cdn/UB6QDVHQ.js +0 -4
- package/dist/cdn/UITXXEST.js +0 -4
- package/dist/cdn/VXHKEQOL.js +0 -18
- package/dist/cdn/Z76A5P6D.js +0 -18
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250812 */
|
4
4
|
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{yb as h}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{yb as h}from"./7S2YYGKB.js";import{g as n}from"./AXUX37GT.js";export default $arcgis.t(([l,u,c])=>{var p=class{constructor(t,r,e){this._credential=null,this._locale="en",this._portalSubset=null,this._isEnterprise=!1,this._portalUserSubset=null,this._clientId=t,this._locale=e,this._portalUrl=r,this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:r;let s=new u({appId:t,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});l.registerOAuthInfos([s]),this._portal=new c({url:this._portalUrl})}async init(){try{await this._init()}catch{this.destroy()}return this}async _init(){this._credential=await l.checkSignInStatus(this._portalUrl+"/sharing");try{let t=await l.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}catch{window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl,portalUrl:this._portal.url,urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&(this._portalSubset.workflowURL=await h(this._portal.restUrl,this.RestUserSession||new n({}))),this._portal.user?.roleId&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}get SignedIn(){return this._credential!==null}get Credential(){return this._credential}get Portal(){return this._portal}get PortalUrl(){return this._portalUrl}get PortalSubset(){return this._portalSubset}get PortalUserSubset(){return this._portalUserSubset}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserCulture(){return this._portalUserSubset&&this._portalUserSubset.culture||""}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get IsEnterprisePortal(){return this._isEnterprise}get RestUserSession(){let t=this.Credential;if(!t)return null;let r={server:this.PortalUrl,hasPortal:this.IsEnterprisePortal,hasServer:this.IsEnterprisePortal},e=n.fromCredential(t,r);return e.clientId=this._credential._oAuthCred?.appId,e._refreshToken=this._credential._oAuthCred?.refreshToken,e}refreshSession(){let t=this.RestUserSession;return t?t.exchangeRefreshToken():null}signIn(t=""){l.setOAuthRedirectionHandler(r=>{let e=r.authorizeParams.redirect_uri;if(t.length>0){let s=e.split("?"),i=s[0],a="";if(s[1]){let o=new URLSearchParams(s[1]);o.append("signInParam",t),a="?"+o.toString()}r.authorizeParams.redirect_uri=i+a}window.location.href=r.authorizeUrl+"?"+this._objectToQuery(r.authorizeParams)}),l.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(()=>{window.location.reload()})}signOut(){let t="https://"+this._portalSubset?.hostName;window.location.hostname===this._portalSubset?.hostName?t+="/index.html":this._portalSubset?.urlKey&&window.location.hostname.indexOf(this._portalSubset?.urlKey)>-1?t=window.location.origin+"/home/index.html":t=this._portalUrl+"/home",this.signOutAndRedirect(t)}signOutAndRedirect(t){let r=`${this._portalSubset?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(t)}`;this.destroy(),window.location.replace(r)}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,l.destroyCredentials()}_getOrgUrl(t,r,e){return r&&e?window.location.protocol+"//"+r.toLowerCase()+"."+e:t}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,r){return t?r&&typeof r=="function"?Object.keys(t).map(e=>encodeURIComponent(e)+"="+encodeURIComponent(r(e,t[e]))).join("&"):Object.keys(t).map(e=>{let s=t[e];if(s==null)return"";let i=encodeURIComponent(e)+"=",a=r&&r[e];return a?i+encodeURIComponent(a(s)):Array.isArray(s)?s.map(o=>this._isSerializable(o)?i+encodeURIComponent(JSON.stringify(o)):i+encodeURIComponent(o)).join("&"):this._isSerializable(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)}).filter(e=>e).join("&"):""}};return p},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import"./2BXUT6DX.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as r}from"./HV42PHN2.js";import{C as e,h as t,i as s,y as n}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var o=t`/** @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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as p}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as p}from"./IQEIWTTQ.js";import{a as n}from"./WD5PKUU3.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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as o}from"./DEYWCDYE.js";import{b as l}from"./32VJQFM7.js";import"./2BXUT6DX.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as O}from"./47GUYAPC.js";import{A as H,C as M,D as F,d as B,e as L}from"./PDR2NMR5.js";import{b as U}from"./4M6QLQL3.js";import"./KWP3A7C6.js";import"./IFJSYBIO.js";import{A as a,B as b,C,h as T,i as n,j as w,v as S,w as m,x as h,y as I}from"./W3IPZTUY.js";import"./D5LUMTLN.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as O}from"./V4P44XCJ.js";import{A as H,C as M,D as F,d as B,e as L}from"./YGKFRUZE.js";import{b as U}from"./VEECODKP.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{A as a,B as b,C,h as T,i as n,j as w,v as S,w as m,x as h,y as I}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a}from"./NY6QTBWO.js";import"./3O7U5WLR.js";import"./32SEVXRM.js";import"./IQEIWTTQ.js";import"./WNHJ7PIL.js";import{a as s,b as r}from"./MHQCPSLE.js";import"./AQMF7NA2.js";import"./DYYDQJ3C.js";import"./XIHWGWOZ.js";import{a as o}from"./XQP3EVFG.js";import{a as i}from"./RVT3UAUI.js";import"./7HTPHT6R.js";import"./AXUX37GT.js";import"./6K4LQMAX.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import"./S6RJHHML.js";import"./34UNGHTX.js";import"./32VJQFM7.js";import"./FBYQBRBZ.js";import"./YYNOCEWC.js";import"./3GPBADMZ.js";import"./SV2EP4JK.js";import"./TP3Q4JTG.js";import"./MXAI3H2Y.js";import"./IQJONGSP.js";import"./NACVBQNC.js";import"./PTSO747J.js";import"./KAR4LTJL.js";import"./SPFFRGBK.js";import"./XRX2HXXR.js";import"./YETOFDZ6.js";import"./2YT2RFVI.js";import"./ZZYWNVZZ.js";import"./3EHO5HEG.js";import"./OUK52IIO.js";import"./OBWKJWXC.js";import"./SPF74Q42.js";import"./6IJOFEAH.js";import"./2BXUT6DX.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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import"./2BXUT6DX.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t 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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as e}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{b as e}from"./ZZYWNVZZ.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250812 */
|
4
4
|
function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250812 */
|
4
4
|
var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as t,c as e}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{b as t,c as e}from"./32VJQFM7.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as g,c as i}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{b as g,c as i}from"./HV42PHN2.js";import{C as s,h as l,i as p,q as u,y as d}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var m=l`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as r}from"./7MBIJWN3.js";import"./VGRCZ36H.js";import{e as n}from"./7S2YYGKB.js";import"./SOGF7JLH.js";import"./2GVD2PNS.js";import"./CGQI4TYR.js";import"./EQWZKX6V.js";import"./5ORK2Y44.js";import"./SKHXGZWX.js";import"./EBAIG4UF.js";import"./3O7U5WLR.js";import"./32SEVXRM.js";import"./IQEIWTTQ.js";import"./WNHJ7PIL.js";import"./DYYDQJ3C.js";import"./XIHWGWOZ.js";import"./7HTPHT6R.js";import"./AXUX37GT.js";import"./6K4LQMAX.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import"./32VJQFM7.js";import{b as i}from"./MKDZNMY7.js";import{a as f}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as _}from"./HV42PHN2.js";import{A as p,B as m,h,i as a,k as o,y as u}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var b=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.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{b as e,e as r}from"./KN2HYDVW.js";import"./DEYWCDYE.js";import"./7EDFUMWK.js";import"./GV7IXPU6.js";import{c as t}from"./F5TW6HEN.js";import"./5ORK2Y44.js";import"./GKMDZTC3.js";import"./3O7U5WLR.js";import"./32SEVXRM.js";import"./IQEIWTTQ.js";import"./WNHJ7PIL.js";import"./XIHWGWOZ.js";import"./7HTPHT6R.js";import"./AXUX37GT.js";import"./HMNRBKGU.js";import"./WD5PKUU3.js";import"./32VJQFM7.js";import"./2BXUT6DX.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as e}from"./OBWKJWXC.js";import{b as t,g as s,m as i}from"./6IJOFEAH.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as O}from"./SOGF7JLH.js";import{e as _}from"./EBAIG4UF.js";import{a as l,f as p}from"./IQEIWTTQ.js";import"./WD5PKUU3.js";import"./2BXUT6DX.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./NAWILONU.js"),m={"hub:card:stat":()=>import("./GXHWOEWG.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./TSFAXIQQ.js"),m={"hub:card:follow":()=>import("./BGOOKLPG.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./N2NJILWN.js"),m=import("./BKODTFFO.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./FGBLMTAS.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./PNVFVVE6.js"),"hub:site:create":()=>import("./2DT63QLW.js"),"hub:site:followers":()=>import("./WYZ7SQQN.js"),"hub:site:discussions":()=>import("./YFTHYPT3.js"),"hub:site:settings":()=>import("./C4OQIYFQ.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./ZK4MHDHC.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./WKTJ6QCW.js"),"hub:discussion:create":()=>import("./BYKFCMXP.js"),"hub:discussion:settings":()=>import("./XVPETWSD.js"),"hub:discussion:settings:discussions":()=>import("./SLEI7LYC.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./F2PLJZ35.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./FYH6THZZ.js"),"hub:channel:create":()=>import("./Y32USNTH.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./CTWEU7QD.js");r=l(n);let v=await{"hub:project:edit":()=>import("./VN3B4LBI.js"),"hub:project:create":()=>import("./7KQ2BBGH.js"),"hub:project:create2":()=>import("./LGV5OMRP.js"),"hub:project:metrics":()=>import("./DIR5ZFRB.js"),"hub:project:settings":()=>import("./NFSHI4K2.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./APXHE3B3.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./Y5ROBTLH.js"),"hub:initiative:create":()=>import("./Z7WNEKTH.js"),"hub:initiative:create2":()=>import("./7VPDZBJR.js"),"hub:initiative:metrics":()=>import("./XK4QSY24.js"),"hub:initiative:associations":()=>import("./IJWZ2QGC.js"),"hub:initiative:settings":()=>import("./EBYK2JMV.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./7NNOBYSQ.js");r=l(I);let D=await{"hub:page:edit":()=>import("./FFFJSA6E.js"),"hub:page:create":()=>import("./EWFTPTDF.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./HSNJFDZI.js");r=l(K);let U=await{"hub:content:edit":()=>import("./2SBZXCJH.js"),"hub:content:discussions":()=>import("./2XJYA7PT.js"),"hub:content:settings":()=>import("./ROR6YUGT.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./IOZP453D.js");r=l(y);let k=await{"hub:template:edit":()=>import("./MWH2EIKG.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./N5NEHLCX.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./HV3ZJ75V.js"),"hub:group:create:association":()=>import("./UWRGESW6.js"),"hub:group:create:view":()=>import("./HP6EZ4T6.js"),"hub:group:create:edit":()=>import("./OM3XGHUN.js"),"hub:group:create":()=>import("./EMCSETR3.js"),"hub:group:edit":()=>import("./L7USSUAB.js"),"hub:group:settings":()=>import("./K4UNKJ5H.js"),"hub:group:discussions":()=>import("./PUM7WU5Q.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./WZVCVIBP.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./ZQ2UYMNA.js"),"hub:survey:settings":()=>import("./D6UC7QOS.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./AZAD32ZX.js"),"hub:event:edit":()=>import("./GLD46N72.js"),"hub:event:registrants":()=>import("./UMYOEGMF.js")}[a](),H=await{"hub:event:create":()=>import("./JJM7DPRD.js"),"hub:event:edit":()=>import("./7DLIAJCU.js"),"hub:event:registrants":()=>import("./3SQSGBUH.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./BADS5XZD.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./RAZFH54Z.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./5JIEUQRM.js");r=l(N);let P=await{"hub:user:settings":()=>import("./RSS4NWVZ.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as e}from"./OBWKJWXC.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as _}from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import{a as _}from"./QADRNTEK.js";import"./VGRCZ36H.js";import{c as g,g as $,j as F}from"./5PNJQEHL.js";import{e as d}from"./MKDZNMY7.js";import{a as E,d as O,f as T}from"./EUSLG7J4.js";import{b as I}from"./HLH3CEN7.js";import{a as k}from"./BPDYH25K.js";import"./DF4U7UQT.js";import"./YZJXEOMV.js";import{b as G}from"./HV42PHN2.js";import{A as y,B as V,h as L,i as c,n as S,q as v,w as u,x as p,y as C}from"./QIXFH7VY.js";import"./2BXUT6DX.js";var N=L`@layer{/** @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.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import e from"./
|
3
|
+
v1.1.0-next.20250812 */
|
4
|
+
import e from"./AXZ3Q7NZ.js";import c from"./NTZWVSZY.js";import"./GREGLFM2.js";import b from"./WX2FTC64.js";import"./YGKFRUZE.js";import{b as l}from"./VEECODKP.js";import"./YZJXEOMV.js";import{A as o,B as d,h as s,i as a,w as i,x as n,y as r}from"./QIXFH7VY.js";import"./2BXUT6DX.js";export default $arcgis.t(([,,{t:p}])=>{var c=s`:host{display:block}:host .esri-legend__service{margin:0;padding:0}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},t=class extends r{constructor(){super(),this.layerCaption=i(),this.expanded=!0,this.isChild=!1,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption.value?.expanded}render(){return a`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service} ${e.groupLayer}`}><instant-apps-interactive-legend-layer-element-caption class=${o(p(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${this.isChild} ${n(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div class=${`${e.groupContent} ${this.expanded?"show":"hide"}`}><slot name=content></slot></div></div>`}};l("instant-apps-interactive-legend-group-legend-element",t);return t},b,c,e)
|