@esri/solutions-components 1.1.0-next.20250731.2 → 1.1.0-next.20250805
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/{OAEQVUZY.js → 2GZOS2KK.js} +2 -2
- package/dist/cdn/{TIHHNJA6.js → 2HD2VSDE.js} +2 -2
- package/dist/cdn/{RLGCYEFH.js → 2J6B6MYD.js} +1 -1
- package/dist/cdn/{62UQALSW.js → 2RDZT3HY.js} +2 -2
- package/dist/cdn/{LD47RQ5P.js → 2SKQ276W.js} +1 -1
- package/dist/cdn/{LRUU6SS4.js → 2WV6FKR2.js} +2 -2
- package/dist/cdn/{M3LSDSXW.js → 2ZLOSH7Y.js} +2 -2
- package/dist/cdn/{ZB72KJZD.js → 33BJEK5G.js} +2 -2
- package/dist/cdn/{DKPRV4AI.js → 3I2OPOC3.js} +2 -2
- package/dist/cdn/{4JQP3HFD.js → 3JQ57R5L.js} +1 -1
- package/dist/cdn/{UIPTLMNI.js → 3LO343UW.js} +2 -2
- package/dist/cdn/{RDTGQF7P.js → 3OJA72EQ.js} +2 -2
- package/dist/cdn/{7MZLI63Y.js → 3R2EHQXY.js} +2 -2
- package/dist/cdn/{WWXN5GTA.js → 3RT4YQAX.js} +2 -2
- package/dist/cdn/{EQGEFCKQ.js → 3VVVED3A.js} +2 -2
- package/dist/cdn/{Y35CX7NQ.js → 3WL35JH2.js} +2 -2
- package/dist/cdn/3Z6KYNQU.js +4 -0
- package/dist/cdn/{ICBWNHIN.js → 44GDA3KH.js} +2 -2
- package/dist/cdn/{HYDLS7AR.js → 4E2DDRVF.js} +2 -2
- package/dist/cdn/{5QETJ5GE.js → 4JEVLL6V.js} +2 -2
- package/dist/cdn/{L2D7IZPZ.js → 4R3UNRG6.js} +2 -2
- package/dist/cdn/{HFNEOZ3N.js → 4XFNEG4A.js} +2 -2
- package/dist/cdn/{36MHEPI4.js → 55C6B2OK.js} +2 -2
- package/dist/cdn/{BRBQXQ7W.js → 56PTP455.js} +2 -2
- package/dist/cdn/{IQM6PE4Y.js → 5HTY24LH.js} +2 -2
- package/dist/cdn/{DJS4WZQF.js → 5JWWBXAA.js} +2 -2
- package/dist/cdn/{HKMV2H2F.js → 5LNMUFJT.js} +2 -2
- package/dist/cdn/{ORO2IB3X.js → 5PWG33WO.js} +2 -2
- package/dist/cdn/{RRIUNVA4.js → 6CEYZTZA.js} +2 -2
- package/dist/cdn/{EZNTFEGA.js → 6HCSXP5D.js} +2 -2
- package/dist/cdn/{QHAHXEMQ.js → 6HVOZTQR.js} +2 -2
- package/dist/cdn/{6TI4BSKG.js → 6NH3CCBF.js} +2 -2
- package/dist/cdn/{Z7MD7BKL.js → 6O2T6D6A.js} +2 -2
- package/dist/cdn/{YSV3QO3H.js → 6PHIYPSU.js} +2 -2
- package/dist/cdn/{OMCZXIWL.js → 6PLJ2FYW.js} +2 -2
- package/dist/cdn/{R6XPPHOQ.js → 6ULGEYFE.js} +2 -2
- package/dist/cdn/{AC5YT7WA.js → 6X7BRMEU.js} +2 -2
- package/dist/cdn/{X4VHVB4C.js → 6ZAJFBA6.js} +2 -2
- package/dist/cdn/{QJ4NHKTG.js → 72A27AFF.js} +2 -2
- package/dist/cdn/{XYWF4Z2A.js → 7542BUDO.js} +2 -2
- package/dist/cdn/{27WHYECD.js → 76DEPMZ5.js} +2 -2
- package/dist/cdn/{2YNRJKXV.js → 7FWIZG5Z.js} +2 -2
- package/dist/cdn/{REDZ6QSQ.js → 7WRVU2GG.js} +2 -2
- package/dist/cdn/{RT6D53BJ.js → A3TXUOZ4.js} +1 -1
- package/dist/cdn/{YOIQWSFM.js → AF7FDKVX.js} +2 -2
- package/dist/cdn/{MYQAATUS.js → AG6GYAFP.js} +2 -2
- package/dist/cdn/{VRUCAUKL.js → AJPSBMVC.js} +2 -2
- package/dist/cdn/{OM64KQVG.js → ANRBD6PG.js} +2 -2
- package/dist/cdn/{SC74N7WC.js → AOFFXP2O.js} +2 -2
- package/dist/cdn/{UWZ5PRLF.js → AQNIHDKY.js} +2 -2
- package/dist/cdn/{SM2RFOQL.js → AXUGVBHF.js} +2 -2
- package/dist/cdn/{M337MHA2.js → B2DSQZNG.js} +2 -2
- package/dist/cdn/{A6LDS2AL.js → B54PDB5Z.js} +2 -2
- package/dist/cdn/{LVZ6W2DK.js → BBL4ZXCQ.js} +2 -2
- package/dist/cdn/{FR2OOHQC.js → BDUW5TZD.js} +2 -2
- package/dist/cdn/{7SDHJN3W.js → BFXBQLJK.js} +2 -2
- package/dist/cdn/{76EUAJCU.js → BJBRFG23.js} +2 -2
- package/dist/cdn/{URLCQEP2.js → BM2CTLXF.js} +2 -2
- package/dist/cdn/{VEJRDQWY.js → BMCLDOUD.js} +2 -2
- package/dist/cdn/{GAB4N57H.js → BMVSAQBC.js} +2 -2
- package/dist/cdn/{YRTQMELV.js → BOK5NUWK.js} +2 -2
- package/dist/cdn/{4IPJCF5O.js → BXGDO7U6.js} +2 -2
- package/dist/cdn/{MK6PTR4B.js → BZPXB24X.js} +2 -2
- package/dist/cdn/{WKVJRAIW.js → C26S3PRR.js} +2 -2
- package/dist/cdn/{5OAY4L63.js → C27D5LN3.js} +2 -2
- package/dist/cdn/{PQSRS2TD.js → C4HKMYF3.js} +2 -2
- package/dist/cdn/{V7JDDIAW.js → C73VYQKJ.js} +2 -2
- package/dist/cdn/{523SKJFB.js → CB2M524H.js} +1 -1
- package/dist/cdn/{Y4FOKNUB.js → CD2Z74PV.js} +1 -1
- package/dist/cdn/{GDHF2IHA.js → CE3C7L3R.js} +2 -2
- package/dist/cdn/CNFHE7BS.js +18 -0
- package/dist/cdn/{WMMKMSAT.js → CQ65R2FU.js} +2 -2
- package/dist/cdn/{ULFQRGIA.js → CWNGOD6O.js} +2 -2
- package/dist/cdn/{MB5VDPUJ.js → DBWENNZO.js} +2 -2
- package/dist/cdn/{GMBYILKC.js → DJKGU6GF.js} +2 -2
- package/dist/cdn/{USRX7PXE.js → DP5H6AU6.js} +2 -2
- package/dist/cdn/{YLIL57TN.js → DR7W375Q.js} +2 -2
- package/dist/cdn/{CFS7DQQB.js → DRMGG47C.js} +2 -2
- package/dist/cdn/{IQBGVNAM.js → DSKCT7XX.js} +2 -2
- package/dist/cdn/{2WRYPRH5.js → DSTRDKGN.js} +2 -2
- package/dist/cdn/{KSHJQUUB.js → DTTA3SSA.js} +2 -2
- package/dist/cdn/{SOTZXMZJ.js → DYFGQ6AI.js} +2 -2
- package/dist/cdn/{DU3GNB3L.js → DZD6IVX3.js} +2 -2
- package/dist/cdn/{7O7IOC7I.js → E24TFZEV.js} +2 -2
- package/dist/cdn/{ULPXQE2M.js → E6VM5GOR.js} +2 -2
- package/dist/cdn/{AX6XUSNR.js → EGBZLRDM.js} +1 -1
- package/dist/cdn/{2M4NSKFA.js → EJJ6FMDK.js} +2 -2
- package/dist/cdn/{SB4TPQBH.js → EKKAECED.js} +2 -2
- package/dist/cdn/EOVOQSGB.js +4 -0
- package/dist/cdn/{L6VDN4BR.js → ETAK5KUX.js} +2 -2
- package/dist/cdn/{MD4KHRBV.js → EWFUOGQX.js} +2 -2
- package/dist/cdn/{R7NRTBMU.js → EXCU7FAE.js} +2 -2
- package/dist/cdn/{GB2YEZUP.js → EYB7XSNU.js} +1 -1
- package/dist/cdn/{5J7B2B6P.js → EYBDSN3O.js} +2 -2
- package/dist/cdn/{PI5IHIL6.js → EZGI72AV.js} +2 -2
- package/dist/cdn/{I4GIGKVQ.js → F2NI2IXH.js} +2 -2
- package/dist/cdn/{PDYVPW3V.js → F4H2XOM2.js} +2 -2
- package/dist/cdn/{SBWSDHAP.js → F6XWENXR.js} +2 -2
- package/dist/cdn/{GJ4D6Z5Z.js → FJ5KMDPD.js} +2 -2
- package/dist/cdn/{QRVU2Q5Y.js → FSYK6HM3.js} +2 -2
- package/dist/cdn/{OKJ5QJQW.js → FSZIWGYJ.js} +1 -1
- package/dist/cdn/{ISRWZK33.js → FZXSPOZS.js} +2 -2
- package/dist/cdn/{TLMOQIE6.js → G2ZDC4VQ.js} +2 -2
- package/dist/cdn/{TDNOIIHD.js → G4Y7NNVO.js} +1 -1
- package/dist/cdn/{ZPVAPLEI.js → GAQTA6GD.js} +2 -2
- package/dist/cdn/{3HACIUYM.js → GBPL4KQS.js} +1 -1
- package/dist/cdn/{G4FKFITO.js → GGUYX23F.js} +2 -2
- package/dist/cdn/{CV3NFXC3.js → GIC76A6P.js} +2 -2
- package/dist/cdn/{3QUFP3N2.js → GITSLGDH.js} +2 -2
- package/dist/cdn/{R4RFI3RX.js → GTFYWD6K.js} +2 -2
- package/dist/cdn/{IPTZYIBI.js → H34BRZJT.js} +2 -2
- package/dist/cdn/{OFUW7TNB.js → HA2CQHWG.js} +2 -2
- package/dist/cdn/{CPRTWWHF.js → HBJRA3VT.js} +2 -2
- package/dist/cdn/{YEHLRK4Y.js → HKRCU4W3.js} +1 -1
- package/dist/cdn/{3CRZDUY6.js → HNW4XU3G.js} +1 -1
- package/dist/cdn/{LQ4V6LDA.js → HO62DINJ.js} +2 -2
- package/dist/cdn/{5XJ5HEG6.js → HP4OTJNX.js} +2 -2
- package/dist/cdn/{IVBANGB5.js → HPTSWBMV.js} +2 -2
- package/dist/cdn/{G2BTWXLK.js → HUM5NVWR.js} +2 -2
- package/dist/cdn/{AK6AN5TC.js → HUPM3KUY.js} +2 -2
- package/dist/cdn/{SZF6Q7GY.js → HWMVPAK3.js} +1 -1
- package/dist/cdn/{IKHA6WXD.js → HYSWFFTS.js} +2 -2
- package/dist/cdn/{KMFVNIZD.js → I7B6E52N.js} +2 -2
- package/dist/cdn/{AETAC34J.js → IJW4VIF6.js} +2 -2
- package/dist/cdn/{Z46PZUWY.js → IKP2WHLC.js} +2 -2
- package/dist/cdn/{37FBDON5.js → IKQPJ7HH.js} +2 -2
- package/dist/cdn/{JTFLQ6FM.js → ILVYQG75.js} +2 -2
- package/dist/cdn/{ZXIT6MGR.js → J72AO3O5.js} +2 -2
- package/dist/cdn/{RVK2SXKF.js → JCL4GUN2.js} +2 -2
- package/dist/cdn/{AYBCEAHB.js → JFF5GUX5.js} +2 -2
- package/dist/cdn/{BQN2JJV7.js → JFRS4VIJ.js} +2 -2
- package/dist/cdn/{DYMOSY6I.js → JGZZZZNQ.js} +1 -1
- package/dist/cdn/{LCQO5SVO.js → JHTJPGCO.js} +2 -2
- package/dist/cdn/{ATR5Q3BG.js → JIHFXVKK.js} +2 -2
- package/dist/cdn/{55BBK4MZ.js → JUPTFUOY.js} +1 -1
- package/dist/cdn/{PKPZFPQH.js → JVGFQUPU.js} +2 -2
- package/dist/cdn/{AAZYI25M.js → JYI7HSND.js} +2 -2
- package/dist/cdn/{7T56NWVH.js → JZRND6DJ.js} +2 -2
- package/dist/cdn/{UBS6XZVF.js → K2A64AJY.js} +2 -2
- package/dist/cdn/{O5ONQRJ3.js → K7ZCGDMP.js} +2 -2
- package/dist/cdn/{BOTQZEVA.js → KDKQRUGV.js} +2 -2
- package/dist/cdn/{HOC33RME.js → KFCRRA7F.js} +2 -2
- package/dist/cdn/{SRB5Q4W2.js → KJDK64I4.js} +2 -2
- package/dist/cdn/{F3KQDXEP.js → KKZBLGAZ.js} +2 -2
- package/dist/cdn/{4GM7YKJI.js → KOT4QQK7.js} +2 -2
- package/dist/cdn/KQWBCDF3.js +4 -0
- package/dist/cdn/{UVZCEMNB.js → KT274563.js} +2 -2
- package/dist/cdn/{4QVP77YZ.js → KVKCURZR.js} +2 -2
- package/dist/cdn/{WH5L7GVA.js → KVYCPYT4.js} +2 -2
- package/dist/cdn/{LPQNWID4.js → KYMLJ3F5.js} +2 -2
- package/dist/cdn/{HVZ3XRED.js → L22H5MXZ.js} +1 -1
- package/dist/cdn/{JA66HQXL.js → LHAMRSSH.js} +2 -2
- package/dist/cdn/{LZXZOFNM.js → LJ6MM2LH.js} +2 -2
- package/dist/cdn/{MLMQ4VQR.js → LKTJBKGS.js} +2 -2
- package/dist/cdn/{3FCE2NVI.js → LLVXMJRE.js} +2 -2
- package/dist/cdn/{VKPPPT6O.js → LMOPOQVC.js} +2 -2
- package/dist/cdn/{UVTLLCIK.js → LOWPGRBM.js} +1 -1
- package/dist/cdn/{G2SOT66E.js → LQKSTVYS.js} +2 -2
- package/dist/cdn/{AYEX34WW.js → LRAFDTRN.js} +2 -2
- package/dist/cdn/{2MNJMVJE.js → LRHDJMA4.js} +2 -2
- package/dist/cdn/{5HOQQB3R.js → M4ZMT3GL.js} +2 -2
- package/dist/cdn/{P6NRS7E3.js → M7XSDLV5.js} +2 -2
- package/dist/cdn/{3IGKFZFV.js → MC7DNHNU.js} +2 -2
- package/dist/cdn/{ROVD5N6O.js → MGCPDP7J.js} +2 -2
- package/dist/cdn/{2AHYOBYP.js → MH5VX6AY.js} +2 -2
- package/dist/cdn/{E3B7QQBW.js → MHWX3HRT.js} +1 -1
- package/dist/cdn/{VYCY4P7L.js → MIIRZTEX.js} +2 -2
- package/dist/cdn/{KC5WLSUX.js → MJCJAFTO.js} +2 -2
- package/dist/cdn/{R5LMYRNG.js → MKIJJDTQ.js} +2 -2
- package/dist/cdn/{IJRSY2UD.js → MVWPTPME.js} +2 -2
- package/dist/cdn/{MEUDW73G.js → MXDTDUNL.js} +2 -2
- package/dist/cdn/{OKTZ3TMP.js → N2W4KKO3.js} +2 -2
- package/dist/cdn/{JM3HVV64.js → N7M3WPAA.js} +2 -2
- package/dist/cdn/{VOIVWRDM.js → N7VLQBAU.js} +2 -2
- package/dist/cdn/{N3XAVFW3.js → NBDFFPCF.js} +1 -1
- package/dist/cdn/{CFEG4JP4.js → NGW2D4B7.js} +2 -2
- package/dist/cdn/{HX4XFUVJ.js → NOXF3KIN.js} +2 -2
- package/dist/cdn/{WWZLNEEN.js → NYHDZRED.js} +2 -2
- package/dist/cdn/{YYA7EUOE.js → O4ZHNTVR.js} +2 -2
- package/dist/cdn/{4JXGBBIE.js → O57WNQKN.js} +1 -1
- package/dist/cdn/{OKENUHFF.js → OABISKTH.js} +2 -2
- package/dist/cdn/{2MGF4A5R.js → OD52NBEE.js} +2 -2
- package/dist/cdn/{K26NORBN.js → OG2QO65R.js} +1 -1
- package/dist/cdn/{YOWUIORL.js → OH74GNOX.js} +2 -2
- package/dist/cdn/{7P7SZPQA.js → OQPBJDKU.js} +2 -2
- package/dist/cdn/{4QKPOAU4.js → OUJ7HLKY.js} +2 -2
- package/dist/cdn/{6NDQZEMR.js → P4AJ6PQC.js} +2 -2
- package/dist/cdn/{YO7I6V7B.js → P5EMX3K3.js} +2 -2
- package/dist/cdn/{BFVXA226.js → P6YH2464.js} +2 -2
- package/dist/cdn/{VUQYMXKQ.js → PCOEOT7J.js} +2 -2
- package/dist/cdn/{WVWWDLM5.js → PGKUR4WY.js} +2 -2
- package/dist/cdn/{N2PIHESP.js → PQ3T3ICE.js} +1 -1
- package/dist/cdn/{K52SI4CM.js → PRZV4O3M.js} +2 -2
- package/dist/cdn/{UTPM2FET.js → PSTZGLQY.js} +2 -2
- package/dist/cdn/{HAPWTE6C.js → PVFGUXZQ.js} +2 -2
- package/dist/cdn/{LUK5HK57.js → PYCIIXAT.js} +2 -2
- package/dist/cdn/{F37MGVWZ.js → PZCGP7VV.js} +2 -2
- package/dist/cdn/{527QXG4G.js → Q3EL3SKK.js} +2 -2
- package/dist/cdn/{I357I2R4.js → QANDE5GX.js} +1 -1
- package/dist/cdn/{FH4XD4I5.js → QEHMVIZA.js} +2 -2
- package/dist/cdn/{ZWPUKGQK.js → QESTTPNW.js} +1 -1
- package/dist/cdn/{SXSON5KZ.js → QHXATMTW.js} +2 -2
- package/dist/cdn/{GLPPDXDW.js → QJU2CXDM.js} +2 -2
- package/dist/cdn/{UEZX7JOR.js → QJVJVRC5.js} +2 -2
- package/dist/cdn/{E2H7RG4A.js → QPQFHPU6.js} +2 -2
- package/dist/cdn/{74UACFHN.js → QRBPOHQZ.js} +1 -1
- package/dist/cdn/{53LZJUIL.js → QRY235DW.js} +2 -2
- package/dist/cdn/{S3BH44GF.js → QVC6WY2U.js} +1 -1
- package/dist/cdn/{EVKIWMYF.js → QWO6PGTX.js} +2 -2
- package/dist/cdn/{JHUOBC6K.js → QXM5FILZ.js} +1 -1
- package/dist/cdn/{R7QTSY5B.js → QYCHT4CB.js} +2 -2
- package/dist/cdn/{NF4KQQJJ.js → R4IS4Q4Q.js} +2 -2
- package/dist/cdn/{GKUA4PAK.js → R5IRUI3P.js} +2 -2
- package/dist/cdn/{WVBVIUU4.js → RBBBKVTL.js} +2 -2
- package/dist/cdn/{GYX5FTX4.js → RDUFBDLJ.js} +1 -1
- package/dist/cdn/{F345OUBZ.js → RFB43MAS.js} +2 -2
- package/dist/cdn/{I7UJ2IWI.js → RIMQH6RB.js} +2 -2
- package/dist/cdn/{3CRE5ZKC.js → RKLYOTRA.js} +2 -2
- package/dist/cdn/{ES5S2UDD.js → RMQ5YGFV.js} +2 -2
- package/dist/cdn/{4KR6KWYX.js → RPLKUULS.js} +2 -2
- package/dist/cdn/{3RWVAL2E.js → RTYGNX7B.js} +2 -2
- package/dist/cdn/{P2TPKPUG.js → RV4AOYNF.js} +2 -2
- package/dist/cdn/{ZKGNCJQH.js → RXBIVFHO.js} +2 -2
- package/dist/cdn/{L54NGFZP.js → S3XK2NOE.js} +2 -2
- package/dist/cdn/{JVXXUNYM.js → SAGIFLGH.js} +2 -2
- package/dist/cdn/SINUDLTL.js +4 -0
- package/dist/cdn/{56PTRRFQ.js → SNYTROMC.js} +2 -2
- package/dist/cdn/{OBJ56AE6.js → SRAOUBKB.js} +1 -1
- package/dist/cdn/{PQREORNU.js → SVJHSHJO.js} +2 -2
- package/dist/cdn/{SZT3OYE2.js → SVOPWKZ7.js} +2 -2
- package/dist/cdn/{BTCA7G24.js → SWTVJXVH.js} +1 -1
- package/dist/cdn/{EV3CYQA4.js → SYBEF6K4.js} +2 -2
- package/dist/cdn/SZEBDGPL.js +4 -0
- package/dist/cdn/{JUDYBLOA.js → T2SHWUJU.js} +2 -2
- package/dist/cdn/{PTQF6DSX.js → T7R6C644.js} +2 -2
- package/dist/cdn/{LRPIIC5T.js → TBGXCN4Y.js} +2 -2
- package/dist/cdn/TFYPM4OA.js +4 -0
- package/dist/cdn/{A4TY7MDM.js → TJISIJHC.js} +2 -2
- package/dist/cdn/{VXG7NONJ.js → TLRNKE62.js} +2 -2
- package/dist/cdn/{SPFSGSRN.js → TTRJ5CWU.js} +2 -2
- package/dist/cdn/{QT77NFZK.js → TU3CSFJD.js} +2 -2
- package/dist/cdn/TW3W5D5Z.js +4 -0
- package/dist/cdn/TXOHDU2X.js +18 -0
- package/dist/cdn/{J2KHFI43.js → TZX3DJRS.js} +2 -2
- package/dist/cdn/{DFEUABII.js → U65IWACU.js} +2 -2
- package/dist/cdn/{HTU3LFRO.js → U6E4MGA2.js} +2 -2
- package/dist/cdn/{2RV4X73I.js → U6QU5AWC.js} +2 -2
- package/dist/cdn/{QXHAETVQ.js → U7G6QCWK.js} +2 -2
- package/dist/cdn/{APIZ5OWS.js → UBEYAABT.js} +2 -2
- package/dist/cdn/{RYSF752P.js → UBM654NG.js} +2 -2
- package/dist/cdn/{PKOKBAMD.js → UCKLWKND.js} +2 -2
- package/dist/cdn/{PQSW6BF7.js → UEE7MT2U.js} +2 -2
- package/dist/cdn/{DVW4QC2C.js → UG5AARWL.js} +2 -2
- package/dist/cdn/{7KXIWFEC.js → UKCG2GCK.js} +2 -2
- package/dist/cdn/{HSWSKCTC.js → UNYPWENM.js} +2 -2
- package/dist/cdn/{AGK3E722.js → UOGJGCZD.js} +2 -2
- package/dist/cdn/{HR5L3HVV.js → UPWMPL5L.js} +2 -2
- package/dist/cdn/{OK4WDYAP.js → UV7ZLM4H.js} +1 -1
- package/dist/cdn/{SGVCSGWO.js → UYM5IUGW.js} +2 -2
- package/dist/cdn/{G2C6MUXE.js → UYXL2VZ3.js} +2 -2
- package/dist/cdn/{QOY4MM5R.js → VA6FV427.js} +2 -2
- package/dist/cdn/{CVIIKKXY.js → VD5E2IZ5.js} +2 -2
- package/dist/cdn/{R3MUXFAO.js → VHRWYTD2.js} +2 -2
- package/dist/cdn/{6XFTSG2D.js → VISRN5TF.js} +1 -1
- package/dist/cdn/{AFKWK7ZA.js → VQCKHS53.js} +1 -1
- package/dist/cdn/{N7PVAHUR.js → VWJBKQOG.js} +2 -2
- package/dist/cdn/{2G4H5CSL.js → VYTM5YU5.js} +2 -2
- package/dist/cdn/{UWZDJ6EW.js → W4ZT6LNS.js} +2 -2
- package/dist/cdn/{RDL7OULD.js → WFMWOZHV.js} +1 -1
- package/dist/cdn/{TF6ZCLXZ.js → WG27ANNL.js} +2 -2
- package/dist/cdn/{R7RFAHWZ.js → WG45HABN.js} +2 -2
- package/dist/cdn/{AEW3EFZ7.js → WIBJDSCB.js} +2 -2
- package/dist/cdn/{TINZEYFQ.js → WJE2COKA.js} +2 -2
- package/dist/cdn/{MPS43NDD.js → X5WCK4PL.js} +2 -2
- package/dist/cdn/{UI4SNHX7.js → X6EKAG3F.js} +2 -2
- package/dist/cdn/{43KSEPT3.js → XILH5SAW.js} +2 -2
- package/dist/cdn/{5BCUPB5J.js → XPTUWU57.js} +2 -2
- package/dist/cdn/{SUK2S3RM.js → XW65OD5F.js} +1 -1
- package/dist/cdn/{RQGS5KBZ.js → Y2TV3JE6.js} +2 -2
- package/dist/cdn/{ABPLKNKX.js → YBKY3MCJ.js} +2 -2
- package/dist/cdn/{UO4T5JS2.js → YEAPMC5O.js} +1 -1
- package/dist/cdn/{NS762XL2.js → YJAZPAWN.js} +2 -2
- package/dist/cdn/{4TH6CY6F.js → YMZL25P6.js} +2 -2
- package/dist/cdn/YMZWPY25.js +4 -0
- package/dist/cdn/{YAU77COA.js → YRBRJ6IE.js} +2 -2
- package/dist/cdn/{Q7ZS4RQU.js → YT7ZIYXB.js} +2 -2
- package/dist/cdn/{RAGB7UC7.js → YV2CCNLP.js} +2 -2
- package/dist/cdn/{KGFHUAZZ.js → ZEGVRJQ4.js} +2 -2
- package/dist/cdn/{JJAE7ZS4.js → ZGMAK57M.js} +1 -1
- package/dist/cdn/{6JVBYKRU.js → ZIHEWLDS.js} +2 -2
- package/dist/cdn/{3X42PMYP.js → ZNGYXE52.js} +1 -1
- package/dist/cdn/{Z22K45I7.js → ZRKEB46V.js} +2 -2
- package/dist/cdn/{644ETNKE.js → ZT2STLII.js} +2 -2
- package/dist/cdn/{QDHKVPFF.js → ZVRKMDOD.js} +4 -4
- 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.d.ts +1 -3
- 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.d.ts +1 -3
- 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 +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +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.d.ts +3 -0
- package/dist/components/solutions-all-shell/customElement.js +42 -24
- 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.d.ts +3 -0
- package/dist/components/solutions-deployed-shell/customElement.js +42 -24
- 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 +34 -2
- package/dist/docs/docs.json +46 -2
- package/dist/docs/web-types.json +11 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cdn/25PBMVRL.js +0 -4
- package/dist/cdn/ALAI2UME.js +0 -4
- package/dist/cdn/BOCGYKIY.js +0 -4
- package/dist/cdn/IFEKFBRW.js +0 -4
- package/dist/cdn/JS6ECQR6.js +0 -4
- package/dist/cdn/JT54LDTB.js +0 -4
- package/dist/cdn/LFOHBXXS.js +0 -18
- package/dist/cdn/NKXVREJS.js +0 -18
- package/dist/cdn/OMJP34RJ.js +0 -4
- package/dist/cdn/PTYDWVII.js +0 -4
@@ -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 l}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as l}from"./LKTJBKGS.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{b as o}from"./BMVSAQBC.js";import{h as r,i as a,n as s,y as n}from"./QXM5FILZ.js";import"./SWTVJXVH.js";var c=r`/** @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"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import"./SWTVJXVH.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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{a as O,c as R,d as g,e as u}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as O,c as R,d as g,e as u}from"./E6VM5GOR.js";import{a}from"./QVC6WY2U.js";import"./K7ZCGDMP.js";import"./3JQ57R5L.js";import{b as s,d as o,e as c}from"./2J6B6MYD.js";import"./3LO343UW.js";import"./O57WNQKN.js";import"./AJPSBMVC.js";import"./ZGMAK57M.js";import"./VISRN5TF.js";import"./HWMVPAK3.js";import"./C26S3PRR.js";import"./BMCLDOUD.js";import"./L22H5MXZ.js";import"./B2DSQZNG.js";import"./CD2Z74PV.js";import{c as r}from"./JGZZZZNQ.js";import"./SWTVJXVH.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
|
@@ -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 $,b as D,e as k,f as B}from"./HKMV2H2F.js";import b from"./6NDQZEMR.js";import a from"./IPTZYIBI.js";import{a as m}from"./PQSW6BF7.js";import{a as L}from"./UI4SNHX7.js";import{C as T}from"./TDNOIIHD.js";import{b as w}from"./527QXG4G.js";import"./UWZDJ6EW.js";import"./CVIIKKXY.js";import{A as r,h as S,i as n,n as I,y as C}from"./JHUOBC6K.js";import"./BTCA7G24.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:U,h:_,j:b,l:P,m:f}])=>{var E=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){P()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=U(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await B(this.portalItem);e.set("portalItemResource",t);let a=await k(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);_().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=_(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=D(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return a?.map(o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return m(`translated-lang-option-${o}`,n`<calcite-option .value=${o}>${h}</calcite-option>`)})}renderUIData(){if(!u?.uiData)return;let t=_();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return m(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?m("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as $,b as D,e as k,f as B}from"./5LNMUFJT.js";import b from"./P4AJ6PQC.js";import a from"./H34BRZJT.js";import{a as m}from"./UEE7MT2U.js";import{a as L}from"./X6EKAG3F.js";import{C as T}from"./G4Y7NNVO.js";import{b as w}from"./Q3EL3SKK.js";import"./W4ZT6LNS.js";import"./VD5E2IZ5.js";import{A as r,h as S,i as n,n as I,y as C}from"./QXM5FILZ.js";import"./SWTVJXVH.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:U,h:_,j:b,l:P,m:f}])=>{var E=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){P()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=U(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await B(this.portalItem);e.set("portalItemResource",t);let a=await k(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);_().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=_(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=D(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return a?.map(o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return m(`translated-lang-option-${o}`,n`<calcite-option .value=${o}>${h}</calcite-option>`)})}renderUIData(){if(!u?.uiData)return;let t=_();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return m(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?m("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,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 Tr}from"./OKJ5QJQW.js";import{b as g,d as Z}from"./BTCA7G24.js";var I=g((ki,Gs)=>{"use strict";var Or=function(i){return i&&i.Math===Math&&i};Gs.exports=Or(typeof globalThis=="object"&&globalThis)||Or(typeof window=="object"&&window)||Or(typeof self=="object"&&self)||Or(typeof global=="object"&&global)||Or(typeof ki=="object"&&ki)||function(){return this}()||Function("return this")()});var D=g((VO,Hs)=>{"use strict";Hs.exports=function(i){try{return!!i()}catch{return!0}}});var ue=g((_O,Ys)=>{"use strict";var wg=D();Ys.exports=!wg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Sr=g((DO,Xs)=>{"use strict";var Cg=D();Xs.exports=!Cg(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=g((LO,Ws)=>{"use strict";var qg=Sr(),lt=Function.prototype.call;Ws.exports=qg?lt.bind(lt):function(){return lt.apply(lt,arguments)}});var Js=g(Zs=>{"use strict";var Qs={}.propertyIsEnumerable,Ks=Object.getOwnPropertyDescriptor,Pg=Ks&&!Qs.call({1:2},1);Zs.f=Pg?function(e){var r=Ks(this,e);return!!r&&r.enumerable}:Qs});var ht=g((BO,eo)=>{"use strict";eo.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var L=g((UO,io)=>{"use strict";var ro=Sr(),to=Function.prototype,Bi=to.call,Ag=ro&&to.bind.bind(Bi,Bi);io.exports=ro?Ag:function(i){return function(){return Bi.apply(i,arguments)}}});var Ae=g((jO,no)=>{"use strict";var ao=L(),Rg=ao({}.toString),Ng=ao("".slice);no.exports=function(i){return Ng(Rg(i),8,-1)}});var ji=g((FO,so)=>{"use strict";var Ig=L(),Mg=D(),Vg=Ae(),Ui=Object,_g=Ig("".split);so.exports=Mg(function(){return!Ui("z").propertyIsEnumerable(0)})?function(i){return Vg(i)==="String"?_g(i,""):Ui(i)}:Ui});var Er=g((zO,oo)=>{"use strict";oo.exports=function(i){return i==null}});var le=g(($O,uo)=>{"use strict";var Dg=Er(),Lg=TypeError;uo.exports=function(i){if(Dg(i))throw new Lg("Can't call method on "+i);return i}});var Ke=g((GO,lo)=>{"use strict";var kg=ji(),Bg=le();lo.exports=function(i){return kg(Bg(i))}});var k=g((HO,ho)=>{"use strict";var Fi=typeof document=="object"&&document.all;ho.exports=typeof Fi>"u"&&Fi!==void 0?function(i){return typeof i=="function"||i===Fi}:function(i){return typeof i=="function"}});var te=g((YO,co)=>{"use strict";var Ug=k();co.exports=function(i){return typeof i=="object"?i!==null:Ug(i)}});var Re=g((XO,fo)=>{"use strict";var zi=I(),jg=k(),Fg=function(i){return jg(i)?i:void 0};fo.exports=function(i,e){return arguments.length<2?Fg(zi[i]):zi[i]&&zi[i][e]}});var wr=g((WO,vo)=>{"use strict";var zg=L();vo.exports=zg({}.isPrototypeOf)});var Ze=g((QO,yo)=>{"use strict";var $g=I(),go=$g.navigator,po=go&&go.userAgent;yo.exports=po?String(po):""});var ft=g((KO,So)=>{"use strict";var Oo=I(),$i=Ze(),mo=Oo.process,bo=Oo.Deno,xo=mo&&mo.versions||bo&&bo.version,To=xo&&xo.v8,fe,ct;To&&(fe=To.split("."),ct=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ct&&$i&&(fe=$i.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=$i.match(/Chrome\/(\d+)/),fe&&(ct=+fe[1])));So.exports=ct});var Gi=g((ZO,wo)=>{"use strict";var Eo=ft(),Gg=D(),Hg=I(),Yg=Hg.String;wo.exports=!!Object.getOwnPropertySymbols&&!Gg(function(){var i=Symbol("symbol detection");return!Yg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Eo&&Eo<41})});var Hi=g((JO,Co)=>{"use strict";var Xg=Gi();Co.exports=Xg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yi=g((eS,qo)=>{"use strict";var Wg=Re(),Qg=k(),Kg=wr(),Zg=Hi(),Jg=Object;qo.exports=Zg?function(i){return typeof i=="symbol"}:function(i){var e=Wg("Symbol");return Qg(e)&&Kg(e.prototype,Jg(i))}});var Cr=g((rS,Po)=>{"use strict";var ed=String;Po.exports=function(i){try{return ed(i)}catch{return"Object"}}});var xe=g((tS,Ao)=>{"use strict";var rd=k(),td=Cr(),id=TypeError;Ao.exports=function(i){if(rd(i))return i;throw new id(td(i)+" is not a function")}});var Be=g((iS,Ro)=>{"use strict";var ad=xe(),nd=Er();Ro.exports=function(i,e){var r=i[e];return nd(r)?void 0:ad(r)}});var Io=g((aS,No)=>{"use strict";var Xi=H(),Wi=k(),Qi=te(),sd=TypeError;No.exports=function(i,e){var r,t;if(e==="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i))||Wi(r=i.valueOf)&&!Qi(t=Xi(r,i))||e!=="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i)))return t;throw new sd("Can't convert object to primitive value")}});var ve=g((nS,Mo)=>{"use strict";Mo.exports=!1});var vt=g((sS,_o)=>{"use strict";var Vo=I(),od=Object.defineProperty;_o.exports=function(i,e){try{od(Vo,i,{value:e,configurable:!0,writable:!0})}catch{Vo[i]=e}return e}});var gt=g((oS,ko)=>{"use strict";var ud=ve(),ld=I(),hd=vt(),Do="__core-js_shared__",Lo=ko.exports=ld[Do]||hd(Do,{});(Lo.versions||(Lo.versions=[])).push({version:"3.44.0",mode:ud?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var dt=g((uS,Uo)=>{"use strict";var Bo=gt();Uo.exports=function(i,e){return Bo[i]||(Bo[i]=e||{})}});var qr=g((lS,jo)=>{"use strict";var cd=le(),fd=Object;jo.exports=function(i){return fd(cd(i))}});var he=g((hS,Fo)=>{"use strict";var vd=L(),gd=qr(),dd=vd({}.hasOwnProperty);Fo.exports=Object.hasOwn||function(e,r){return dd(gd(e),r)}});var Ki=g((cS,zo)=>{"use strict";var pd=L(),yd=0,md=Math.random(),bd=pd(1.1.toString);zo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+bd(++yd+md,36)}});var z=g((fS,Go)=>{"use strict";var xd=I(),Td=dt(),$o=he(),Od=Ki(),Sd=Gi(),Ed=Hi(),Je=xd.Symbol,Zi=Td("wks"),wd=Ed?Je.for||Je:Je&&Je.withoutSetter||Od;Go.exports=function(i){return $o(Zi,i)||(Zi[i]=Sd&&$o(Je,i)?Je[i]:wd("Symbol."+i)),Zi[i]}});var Wo=g((vS,Xo)=>{"use strict";var Cd=H(),Ho=te(),Yo=Yi(),qd=Be(),Pd=Io(),Ad=z(),Rd=TypeError,Nd=Ad("toPrimitive");Xo.exports=function(i,e){if(!Ho(i)||Yo(i))return i;var r=qd(i,Nd),t;if(r){if(e===void 0&&(e="default"),t=Cd(r,i,e),!Ho(t)||Yo(t))return t;throw new Rd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Pd(i,e)}});var Ji=g((gS,Qo)=>{"use strict";var Id=Wo(),Md=Yi();Qo.exports=function(i){var e=Id(i,"string");return Md(e)?e:e+""}});var Pr=g((dS,Zo)=>{"use strict";var Vd=I(),Ko=te(),ea=Vd.document,_d=Ko(ea)&&Ko(ea.createElement);Zo.exports=function(i){return _d?ea.createElement(i):{}}});var ra=g((pS,Jo)=>{"use strict";var Dd=ue(),Ld=D(),kd=Pr();Jo.exports=!Dd&&!Ld(function(){return Object.defineProperty(kd("div"),"a",{get:function(){return 7}}).a!==7})});var Ar=g(ru=>{"use strict";var Bd=ue(),Ud=H(),jd=Js(),Fd=ht(),zd=Ke(),$d=Ji(),Gd=he(),Hd=ra(),eu=Object.getOwnPropertyDescriptor;ru.f=Bd?eu:function(e,r){if(e=zd(e),r=$d(r),Hd)try{return eu(e,r)}catch{}if(Gd(e,r))return Fd(!Ud(jd.f,e,r),e[r])}});var ta=g((mS,tu)=>{"use strict";var Yd=ue(),Xd=D();tu.exports=Yd&&Xd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=g((bS,iu)=>{"use strict";var Wd=te(),Qd=String,Kd=TypeError;iu.exports=function(i){if(Wd(i))return i;throw new Kd(Qd(i)+" is not an object")}});var Oe=g(nu=>{"use strict";var Zd=ue(),Jd=ra(),ep=ta(),pt=J(),au=Ji(),rp=TypeError,ia=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,aa="enumerable",na="configurable",sa="writable";nu.f=Zd?ep?function(e,r,t){if(pt(e),r=au(r),pt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&sa in t&&!t[sa]){var a=tp(e,r);a&&a[sa]&&(e[r]=t.value,t={configurable:na in t?t[na]:a[na],enumerable:aa in t?t[aa]:a[aa],writable:!1})}return ia(e,r,t)}:ia:function(e,r,t){if(pt(e),r=au(r),pt(t),Jd)try{return ia(e,r,t)}catch{}if("get"in t||"set"in t)throw new rp("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var er=g((TS,su)=>{"use strict";var ip=ue(),ap=Oe(),np=ht();su.exports=ip?function(i,e,r){return ap.f(i,e,np(1,r))}:function(i,e,r){return i[e]=r,i}});var Rr=g((OS,uu)=>{"use strict";var oa=ue(),sp=he(),ou=Function.prototype,op=oa&&Object.getOwnPropertyDescriptor,ua=sp(ou,"name"),up=ua&&function(){}.name==="something",lp=ua&&(!oa||oa&&op(ou,"name").configurable);uu.exports={EXISTS:ua,PROPER:up,CONFIGURABLE:lp}});var yt=g((SS,lu)=>{"use strict";var hp=L(),cp=k(),la=gt(),fp=hp(Function.toString);cp(la.inspectSource)||(la.inspectSource=function(i){return fp(i)});lu.exports=la.inspectSource});var fu=g((ES,cu)=>{"use strict";var vp=I(),gp=k(),hu=vp.WeakMap;cu.exports=gp(hu)&&/native code/.test(String(hu))});var mt=g((wS,gu)=>{"use strict";var dp=dt(),pp=Ki(),vu=dp("keys");gu.exports=function(i){return vu[i]||(vu[i]=pp(i))}});var bt=g((CS,du)=>{"use strict";du.exports={}});var Ir=g((qS,mu)=>{"use strict";var yp=fu(),yu=I(),mp=te(),bp=er(),ha=he(),ca=gt(),xp=mt(),Tp=bt(),pu="Object already initialized",fa=yu.TypeError,Op=yu.WeakMap,xt,Nr,Tt,Sp=function(i){return Tt(i)?Nr(i):xt(i,{})},Ep=function(i){return function(e){var r;if(!mp(e)||(r=Nr(e)).type!==i)throw new fa("Incompatible receiver, "+i+" required");return r}};yp||ca.state?(ge=ca.state||(ca.state=new Op),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,xt=function(i,e){if(ge.has(i))throw new fa(pu);return e.facade=i,ge.set(i,e),e},Nr=function(i){return ge.get(i)||{}},Tt=function(i){return ge.has(i)}):(Ue=xp("state"),Tp[Ue]=!0,xt=function(i,e){if(ha(i,Ue))throw new fa(pu);return e.facade=i,bp(i,Ue,e),e},Nr=function(i){return ha(i,Ue)?i[Ue]:{}},Tt=function(i){return ha(i,Ue)});var ge,Ue;mu.exports={set:xt,get:Nr,has:Tt,enforce:Sp,getterFor:Ep}});var da=g((PS,Tu)=>{"use strict";var ga=L(),wp=D(),Cp=k(),Ot=he(),va=ue(),qp=Rr().CONFIGURABLE,Pp=yt(),xu=Ir(),Ap=xu.enforce,Rp=xu.get,bu=String,St=Object.defineProperty,Np=ga("".slice),Ip=ga("".replace),Mp=ga([].join),Vp=va&&!wp(function(){return St(function(){},"length",{value:8}).length!==8}),_p=String(String).split("String"),Dp=Tu.exports=function(i,e,r){Np(bu(e),0,7)==="Symbol("&&(e="["+Ip(bu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ot(i,"name")||qp&&i.name!==e)&&(va?St(i,"name",{value:e,configurable:!0}):i.name=e),Vp&&r&&Ot(r,"arity")&&i.length!==r.arity&&St(i,"length",{value:r.arity});try{r&&Ot(r,"constructor")&&r.constructor?va&&St(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Ap(i);return Ot(t,"source")||(t.source=Mp(_p,typeof e=="string"?e:"")),i};Function.prototype.toString=Dp(function(){return Cp(this)&&Rp(this).source||Pp(this)},"toString")});var Ne=g((AS,Ou)=>{"use strict";var Lp=k(),kp=Oe(),Bp=da(),Up=vt();Ou.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Lp(r)&&Bp(r,n,t),t.global)a?i[e]=r:Up(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:kp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Eu=g((RS,Su)=>{"use strict";var jp=Math.ceil,Fp=Math.floor;Su.exports=Math.trunc||function(e){var r=+e;return(r>0?Fp:jp)(r)}});var Mr=g((NS,wu)=>{"use strict";var zp=Eu();wu.exports=function(i){var e=+i;return e!==e||e===0?0:zp(e)}});var qu=g((IS,Cu)=>{"use strict";var $p=Mr(),Gp=Math.max,Hp=Math.min;Cu.exports=function(i,e){var r=$p(i);return r<0?Gp(r+e,0):Hp(r,e)}});var je=g((MS,Pu)=>{"use strict";var Yp=Mr(),Xp=Math.min;Pu.exports=function(i){var e=Yp(i);return e>0?Xp(e,9007199254740991):0}});var Et=g((VS,Au)=>{"use strict";var Wp=je();Au.exports=function(i){return Wp(i.length)}});var pa=g((_S,Nu)=>{"use strict";var Qp=Ke(),Kp=qu(),Zp=Et(),Ru=function(i){return function(e,r,t){var a=Qp(e),n=Zp(a);if(n===0)return!i&&-1;var o=Kp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Nu.exports={includes:Ru(!0),indexOf:Ru(!1)}});var ma=g((DS,Mu)=>{"use strict";var Jp=L(),ya=he(),ey=Ke(),ry=pa().indexOf,ty=bt(),Iu=Jp([].push);Mu.exports=function(i,e){var r=ey(i),t=0,a=[],n;for(n in r)!ya(ty,n)&&ya(r,n)&&Iu(a,n);for(;e.length>t;)ya(r,n=e[t++])&&(~ry(a,n)||Iu(a,n));return a}});var wt=g((LS,Vu)=>{"use strict";Vu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Du=g(_u=>{"use strict";var iy=ma(),ay=wt(),ny=ay.concat("length","prototype");_u.f=Object.getOwnPropertyNames||function(e){return iy(e,ny)}});var ku=g(Lu=>{"use strict";Lu.f=Object.getOwnPropertySymbols});var Uu=g((US,Bu)=>{"use strict";var sy=Re(),oy=L(),uy=Du(),ly=ku(),hy=J(),cy=oy([].concat);Bu.exports=sy("Reflect","ownKeys")||function(e){var r=uy.f(hy(e)),t=ly.f;return t?cy(r,t(e)):r}});var zu=g((jS,Fu)=>{"use strict";var ju=he(),fy=Uu(),vy=Ar(),gy=Oe();Fu.exports=function(i,e,r){for(var t=fy(e),a=gy.f,n=vy.f,o=0;o<t.length;o++){var s=t[o];!ju(i,s)&&!(r&&ju(r,s))&&a(i,s,n(e,s))}}});var ba=g((FS,$u)=>{"use strict";var dy=D(),py=k(),yy=/#|\.prototype\./,Vr=function(i,e){var r=by[my(i)];return r===Ty?!0:r===xy?!1:py(e)?dy(e):!!e},my=Vr.normalize=function(i){return String(i).replace(yy,".").toLowerCase()},by=Vr.data={},xy=Vr.NATIVE="N",Ty=Vr.POLYFILL="P";$u.exports=Vr});var ee=g((zS,Gu)=>{"use strict";var Ct=I(),Oy=Ar().f,Sy=er(),Ey=Ne(),wy=vt(),Cy=zu(),qy=ba();Gu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=Ct:a?o=Ct[r]||wy(r,{}):o=Ct[r]&&Ct[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Oy(o,s),u=h&&h.value):u=o[s],n=qy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;Cy(l,u)}(i.sham||u&&u.sham)&&Sy(l,"sham",!0),Ey(o,s,l,i)}}});var xa=g(($S,Hu)=>{"use strict";var _r=I(),Py=Ze(),Ay=Ae(),qt=function(i){return Py.slice(0,i.length)===i};Hu.exports=function(){return qt("Bun/")?"BUN":qt("Cloudflare-Workers")?"CLOUDFLARE":qt("Deno/")?"DENO":qt("Node.js/")?"NODE":_r.Bun&&typeof Bun.version=="string"?"BUN":_r.Deno&&typeof Deno.version=="object"?"DENO":Ay(_r.process)==="process"?"NODE":_r.window&&_r.document?"BROWSER":"REST"}()});var Dr=g((GS,Yu)=>{"use strict";var Ry=xa();Yu.exports=Ry==="NODE"});var Wu=g((HS,Xu)=>{"use strict";var Ny=I();Xu.exports=Ny});var Ku=g((YS,Qu)=>{"use strict";var Iy=L(),My=xe();Qu.exports=function(i,e,r){try{return Iy(My(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ju=g((XS,Zu)=>{"use strict";var Vy=te();Zu.exports=function(i){return Vy(i)||i===null}});var rl=g((WS,el)=>{"use strict";var _y=Ju(),Dy=String,Ly=TypeError;el.exports=function(i){if(_y(i))return i;throw new Ly("Can't set "+Dy(i)+" as a prototype")}});var Ta=g((QS,tl)=>{"use strict";var ky=Ku(),By=te(),Uy=le(),jy=rl();tl.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,e={},r;try{r=ky(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Uy(a),jy(n),By(a)&&(i?r(a,n):a.__proto__=n),a}}():void 0)});var Lr=g((KS,al)=>{"use strict";var Fy=Oe().f,zy=he(),$y=z(),il=$y("toStringTag");al.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!zy(i,il)&&Fy(i,il,{configurable:!0,value:e})}});var ol=g((ZS,sl)=>{"use strict";var nl=da(),Gy=Oe();sl.exports=function(i,e,r){return r.get&&nl(r.get,e,{getter:!0}),r.set&&nl(r.set,e,{setter:!0}),Gy.f(i,e,r)}});var hl=g((JS,ll)=>{"use strict";var Hy=Re(),Yy=ol(),Xy=z(),Wy=ue(),ul=Xy("species");ll.exports=function(i){var e=Hy(i);Wy&&e&&!e[ul]&&Yy(e,ul,{configurable:!0,get:function(){return this}})}});var fl=g((eE,cl)=>{"use strict";var Qy=wr(),Ky=TypeError;cl.exports=function(i,e){if(Qy(e,i))return i;throw new Ky("Incorrect invocation")}});var dl=g((rE,gl)=>{"use strict";var Zy=z(),Jy=Zy("toStringTag"),vl={};vl[Jy]="z";gl.exports=String(vl)==="[object z]"});var At=g((tE,pl)=>{"use strict";var e0=dl(),r0=k(),Pt=Ae(),t0=z(),i0=t0("toStringTag"),a0=Object,n0=Pt(function(){return arguments}())==="Arguments",s0=function(i,e){try{return i[e]}catch{}};pl.exports=e0?Pt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=s0(e=a0(i),i0))=="string"?r:n0?Pt(e):(t=Pt(e))==="Object"&&r0(e.callee)?"Arguments":t}});var Ol=g((iE,Tl)=>{"use strict";var o0=L(),u0=D(),yl=k(),l0=At(),h0=Re(),c0=yt(),ml=function(){},bl=h0("Reflect","construct"),Oa=/^\s*(?:class|function)\b/,f0=o0(Oa.exec),v0=!Oa.test(ml),kr=function(e){if(!yl(e))return!1;try{return bl(ml,[],e),!0}catch{return!1}},xl=function(e){if(!yl(e))return!1;switch(l0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v0||!!f0(Oa,c0(e))}catch{return!0}};xl.sham=!0;Tl.exports=!bl||u0(function(){var i;return kr(kr.call)||!kr(Object)||!kr(function(){i=!0})||i})?xl:kr});var El=g((aE,Sl)=>{"use strict";var g0=Ol(),d0=Cr(),p0=TypeError;Sl.exports=function(i){if(g0(i))return i;throw new p0(d0(i)+" is not a constructor")}});var Sa=g((nE,Cl)=>{"use strict";var wl=J(),y0=El(),m0=Er(),b0=z(),x0=b0("species");Cl.exports=function(i,e){var r=wl(i).constructor,t;return r===void 0||m0(t=wl(r)[x0])?e:y0(t)}});var Ea=g((sE,Rl)=>{"use strict";var T0=Sr(),Al=Function.prototype,ql=Al.apply,Pl=Al.call;Rl.exports=typeof Reflect=="object"&&Reflect.apply||(T0?Pl.bind(ql):function(){return Pl.apply(ql,arguments)})});var Br=g((oE,Nl)=>{"use strict";var O0=Ae(),S0=L();Nl.exports=function(i){if(O0(i)==="Function")return S0(i)}});var Rt=g((uE,Ml)=>{"use strict";var Il=Br(),E0=xe(),w0=Sr(),C0=Il(Il.bind);Ml.exports=function(i,e){return E0(i),e===void 0?i:w0?C0(i,e):function(){return i.apply(e,arguments)}}});var wa=g((lE,Vl)=>{"use strict";var q0=Re();Vl.exports=q0("document","documentElement")});var Dl=g((hE,_l)=>{"use strict";var P0=L();_l.exports=P0([].slice)});var kl=g((cE,Ll)=>{"use strict";var A0=TypeError;Ll.exports=function(i,e){if(i<e)throw new A0("Not enough arguments");return i}});var Ca=g((fE,Bl)=>{"use strict";var R0=Ze();Bl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(R0)});var _a=g((vE,Xl)=>{"use strict";var ne=I(),N0=Ea(),I0=Rt(),Ul=k(),M0=he(),Yl=D(),jl=wa(),V0=Dl(),Fl=Pr(),_0=kl(),D0=Ca(),L0=Dr(),Ia=ne.setImmediate,Ma=ne.clearImmediate,k0=ne.process,qa=ne.Dispatch,B0=ne.Function,zl=ne.MessageChannel,U0=ne.String,Pa=0,Ur={},$l="onreadystatechange",jr,Fe,Aa,Ra;Yl(function(){jr=ne.location});var Va=function(i){if(M0(Ur,i)){var e=Ur[i];delete Ur[i],e()}},Na=function(i){return function(){Va(i)}},Gl=function(i){Va(i.data)},Hl=function(i){ne.postMessage(U0(i),jr.protocol+"//"+jr.host)};(!Ia||!Ma)&&(Ia=function(e){_0(arguments.length,1);var r=Ul(e)?e:B0(e),t=V0(arguments,1);return Ur[++Pa]=function(){N0(r,void 0,t)},Fe(Pa),Pa},Ma=function(e){delete Ur[e]},L0?Fe=function(i){k0.nextTick(Na(i))}:qa&&qa.now?Fe=function(i){qa.now(Na(i))}:zl&&!D0?(Aa=new zl,Ra=Aa.port2,Aa.port1.onmessage=Gl,Fe=I0(Ra.postMessage,Ra)):ne.addEventListener&&Ul(ne.postMessage)&&!ne.importScripts&&jr&&jr.protocol!=="file:"&&!Yl(Hl)?(Fe=Hl,ne.addEventListener("message",Gl,!1)):$l in Fl("script")?Fe=function(i){jl.appendChild(Fl("script"))[$l]=function(){jl.removeChild(this),Va(i)}}:Fe=function(i){setTimeout(Na(i),0)});Xl.exports={set:Ia,clear:Ma}});var Kl=g((gE,Ql)=>{"use strict";var Wl=I(),j0=ue(),F0=Object.getOwnPropertyDescriptor;Ql.exports=function(i){if(!j0)return Wl[i];var e=F0(Wl,i);return e&&e.value}});var Da=g((dE,Jl)=>{"use strict";var Zl=function(){this.head=null,this.tail=null};Zl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Jl.exports=Zl});var rh=g((pE,eh)=>{"use strict";var z0=Ze();eh.exports=/ipad|iphone|ipod/i.test(z0)&&typeof Pebble<"u"});var ih=g((yE,th)=>{"use strict";var $0=Ze();th.exports=/web0s(?!.*chrome)/i.test($0)});var hh=g((mE,lh)=>{"use strict";var tr=I(),G0=Kl(),ah=Rt(),La=_a().set,H0=Da(),Y0=Ca(),X0=rh(),W0=ih(),ka=Dr(),nh=tr.MutationObserver||tr.WebKitMutationObserver,sh=tr.document,oh=tr.process,Nt=tr.Promise,ja=G0("queueMicrotask"),rr,Ba,Ua,It,uh;ja||(Fr=new H0,zr=function(){var i,e;for(ka&&(i=oh.domain)&&i.exit();e=Fr.get();)try{e()}catch(r){throw Fr.head&&rr(),r}i&&i.enter()},!Y0&&!ka&&!W0&&nh&&sh?(Ba=!0,Ua=sh.createTextNode(""),new nh(zr).observe(Ua,{characterData:!0}),rr=function(){Ua.data=Ba=!Ba}):!X0&&Nt&&Nt.resolve?(It=Nt.resolve(void 0),It.constructor=Nt,uh=ah(It.then,It),rr=function(){uh(zr)}):ka?rr=function(){oh.nextTick(zr)}:(La=ah(La,tr),rr=function(){La(zr)}),ja=function(i){Fr.head||rr(),Fr.add(i)});var Fr,zr;lh.exports=ja});var fh=g((bE,ch)=>{"use strict";ch.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Mt=g((xE,vh)=>{"use strict";vh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var ir=g((TE,gh)=>{"use strict";var Q0=I();gh.exports=Q0.Promise});var ar=g((OE,mh)=>{"use strict";var K0=I(),$r=ir(),Z0=k(),J0=ba(),em=yt(),rm=z(),dh=xa(),tm=ve(),Fa=ft(),ph=$r&&$r.prototype,im=rm("species"),za=!1,yh=Z0(K0.PromiseRejectionEvent),am=J0("Promise",function(){var i=em($r),e=i!==String($r);if(!e&&Fa===66||tm&&!(ph.catch&&ph.finally))return!0;if(!Fa||Fa<51||!/native code/.test(i)){var r=new $r(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[im]=t,za=r.then(function(){})instanceof t,!za)return!0}return!e&&(dh==="BROWSER"||dh==="DENO")&&!yh});mh.exports={CONSTRUCTOR:am,REJECTION_EVENT:yh,SUBCLASSING:za}});var nr=g((SE,xh)=>{"use strict";var bh=xe(),nm=TypeError,sm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new nm("Bad Promise constructor");e=t,r=a}),this.resolve=bh(e),this.reject=bh(r)};xh.exports.f=function(i){return new sm(i)}});var Uh=g(()=>{"use strict";var om=ee(),um=ve(),Lt=Dr(),Ie=I(),lm=Wu(),lr=H(),Th=Ne(),Oh=Ta(),hm=Lr(),cm=hl(),fm=xe(),Dt=k(),vm=te(),gm=fl(),dm=Sa(),qh=_a().set,Xa=hh(),pm=fh(),ym=Mt(),mm=Da(),Ph=Ir(),kt=ir(),Wa=ar(),Ah=nr(),Bt="Promise",Rh=Wa.CONSTRUCTOR,bm=Wa.REJECTION_EVENT,xm=Wa.SUBCLASSING,$a=Ph.getterFor(Bt),Tm=Ph.set,sr=kt&&kt.prototype,ze=kt,Vt=sr,Nh=Ie.TypeError,Ga=Ie.document,Qa=Ie.process,Ha=Ah.f,Om=Ha,Sm=!!(Ga&&Ga.createEvent&&Ie.dispatchEvent),Ih="unhandledrejection",Em="rejectionhandled",Sh=0,Mh=1,wm=2,Ka=1,Vh=2,_t,Eh,_h,wh,Dh=function(i){var e;return vm(i)&&Dt(e=i.then)?e:!1},Lh=function(i,e){var r=e.value,t=e.state===Mh,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Vh&&qm(e),e.rejection=Ka),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Nh("Promise-chain cycle")):(l=Dh(u))?lr(l,u,n,o):n(u)):o(r)}catch(f){s&&!h&&s.exit(),o(f)}},kh=function(i,e){i.notified||(i.notified=!0,Xa(function(){for(var r=i.reactions,t;t=r.get();)Lh(t,i);i.notified=!1,e&&!i.rejection&&Cm(i)}))},Bh=function(i,e,r){var t,a;Sm?(t=Ga.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ie.dispatchEvent(t)):t={promise:e,reason:r},!bm&&(a=Ie["on"+i])?a(t):i===Ih&&pm("Unhandled promise rejection",r)},Cm=function(i){lr(qh,Ie,function(){var e=i.facade,r=i.value,t=Ch(i),a;if(t&&(a=ym(function(){Lt?Qa.emit("unhandledRejection",r,e):Bh(Ih,e,r)}),i.rejection=Lt||Ch(i)?Vh:Ka,a.error))throw a.value})},Ch=function(i){return i.rejection!==Ka&&!i.parent},qm=function(i){lr(qh,Ie,function(){var e=i.facade;Lt?Qa.emit("rejectionHandled",e):Bh(Em,e,i.value)})},or=function(i,e,r){return function(t){i(e,t,r)}},ur=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=wm,kh(i,!0))},Ya=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Nh("Promise can't be resolved itself");var t=Dh(e);t?Xa(function(){var a={done:!1};try{lr(t,e,or(Ya,a,i),or(ur,a,i))}catch(n){ur(a,n,i)}}):(i.value=e,i.state=Mh,kh(i,!1))}catch(a){ur({done:!1},a,i)}}};if(Rh&&(ze=function(e){gm(this,Vt),fm(e),lr(_t,this);var r=$a(this);try{e(or(Ya,r),or(ur,r))}catch(t){ur(r,t)}},Vt=ze.prototype,_t=function(e){Tm(this,{type:Bt,done:!1,notified:!1,parent:!1,reactions:new mm,rejection:!1,state:Sh,value:null})},_t.prototype=Th(Vt,"then",function(e,r){var t=$a(this),a=Ha(dm(this,ze));return t.parent=!0,a.ok=Dt(e)?e:!0,a.fail=Dt(r)&&r,a.domain=Lt?Qa.domain:void 0,t.state===Sh?t.reactions.add(a):Xa(function(){Lh(a,t)}),a.promise}),Eh=function(){var i=new _t,e=$a(i);this.promise=i,this.resolve=or(Ya,e),this.reject=or(ur,e)},Ah.f=Ha=function(i){return i===ze||i===_h?new Eh(i):Om(i)},!um&&Dt(kt)&&sr!==Object.prototype)){wh=sr.then,xm||Th(sr,"then",function(e,r){var t=this;return new ze(function(a,n){lr(wh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete sr.constructor}catch{}Oh&&Oh(sr,Vt)}om({global:!0,constructor:!0,wrap:!0,forced:Rh},{Promise:ze});_h=lm.Promise;hm(ze,Bt,!1,!0);cm(Bt)});var hr=g((CE,jh)=>{"use strict";jh.exports={}});var zh=g((qE,Fh)=>{"use strict";var Pm=z(),Am=hr(),Rm=Pm("iterator"),Nm=Array.prototype;Fh.exports=function(i){return i!==void 0&&(Am.Array===i||Nm[Rm]===i)}});var Za=g((PE,Gh)=>{"use strict";var Im=At(),$h=Be(),Mm=Er(),Vm=hr(),_m=z(),Dm=_m("iterator");Gh.exports=function(i){if(!Mm(i))return $h(i,Dm)||$h(i,"@@iterator")||Vm[Im(i)]}});var Yh=g((AE,Hh)=>{"use strict";var Lm=H(),km=xe(),Bm=J(),Um=Cr(),jm=Za(),Fm=TypeError;Hh.exports=function(i,e){var r=arguments.length<2?jm(i):e;if(km(r))return Bm(Lm(r,i));throw new Fm(Um(i)+" is not iterable")}});var Qh=g((RE,Wh)=>{"use strict";var zm=H(),Xh=J(),$m=Be();Wh.exports=function(i,e,r){var t,a;Xh(i);try{if(t=$m(i,"return"),!t){if(e==="throw")throw r;return r}t=zm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Xh(t),r}});var Ja=g((NE,ec)=>{"use strict";var Gm=Rt(),Hm=H(),Ym=J(),Xm=Cr(),Wm=zh(),Qm=Et(),Kh=wr(),Km=Yh(),Zm=Za(),Zh=Qh(),Jm=TypeError,Ut=function(i,e){this.stopped=i,this.result=e},Jh=Ut.prototype;ec.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=Gm(e,t),l,h,f,v,c,d,p,y=function(T){return l&&Zh(l,"normal"),new Ut(!0,T)},m=function(T){return a?(Ym(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Zm(i),!h)throw new Jm(Xm(i)+" is not iterable");if(Wm(h)){for(f=0,v=Qm(i);v>f;f++)if(c=m(i[f]),c&&Kh(Jh,c))return c;return new Ut(!1)}l=Km(i,h)}for(d=n?i.next:l.next;!(p=Hm(d,l)).done;){try{c=m(p.value)}catch(T){Zh(l,"throw",T)}if(typeof c=="object"&&c&&Kh(Jh,c))return c}return new Ut(!1)}});var nc=g((IE,ac)=>{"use strict";var eb=z(),tc=eb("iterator"),ic=!1;try{rc=0,en={next:function(){return{done:!!rc++}},return:function(){ic=!0}},en[tc]=function(){return this},Array.from(en,function(){throw 2})}catch{}var rc,en;ac.exports=function(i,e){try{if(!e&&!ic)return!1}catch{return!1}var r=!1;try{var t={};t[tc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var rn=g((ME,sc)=>{"use strict";var rb=ir(),tb=nc(),ib=ar().CONSTRUCTOR;sc.exports=ib||!tb(function(i){rb.all(i).then(void 0,function(){})})});var oc=g(()=>{"use strict";var ab=ee(),nb=H(),sb=xe(),ob=nr(),ub=Mt(),lb=Ja(),hb=rn();ab({target:"Promise",stat:!0,forced:hb},{all:function(e){var r=this,t=ob.f(r),a=t.resolve,n=t.reject,o=ub(function(){var s=sb(r.resolve),u=[],l=0,h=1;lb(e,function(f){var v=l++,c=!1;h++,nb(s,r,f).then(function(d){c||(c=!0,u[v]=d,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var lc=g(()=>{"use strict";var cb=ee(),fb=ve(),vb=ar().CONSTRUCTOR,an=ir(),gb=Re(),db=k(),pb=Ne(),uc=an&&an.prototype;cb({target:"Promise",proto:!0,forced:vb,real:!0},{catch:function(i){return this.then(void 0,i)}});!fb&&db(an)&&(tn=gb("Promise").prototype.catch,uc.catch!==tn&&pb(uc,"catch",tn,{unsafe:!0}));var tn});var hc=g(()=>{"use strict";var yb=ee(),mb=H(),bb=xe(),xb=nr(),Tb=Mt(),Ob=Ja(),Sb=rn();yb({target:"Promise",stat:!0,forced:Sb},{race:function(e){var r=this,t=xb.f(r),a=t.reject,n=Tb(function(){var o=bb(r.resolve);Ob(e,function(s){mb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var cc=g(()=>{"use strict";var Eb=ee(),wb=nr(),Cb=ar().CONSTRUCTOR;Eb({target:"Promise",stat:!0,forced:Cb},{reject:function(e){var r=wb.f(this),t=r.reject;return t(e),r.promise}})});var vc=g((FE,fc)=>{"use strict";var qb=J(),Pb=te(),Ab=nr();fc.exports=function(i,e){if(qb(i),Pb(e)&&e.constructor===i)return e;var r=Ab.f(i),t=r.resolve;return t(e),r.promise}});var pc=g(()=>{"use strict";var Rb=ee(),Nb=Re(),gc=ve(),Ib=ir(),dc=ar().CONSTRUCTOR,Mb=vc(),Vb=Nb("Promise"),_b=gc&&!dc;Rb({target:"Promise",stat:!0,forced:gc||dc},{resolve:function(e){return Mb(_b&&this===Vb?Ib:this,e)}})});var yc=g(()=>{"use strict";Uh();oc();lc();hc();cc();pc()});var de=g((XE,bc)=>{"use strict";var Db=At(),Lb=String;bc.exports=function(i){if(Db(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Lb(i)}});var nn=g((WE,xc)=>{"use strict";var kb=J();xc.exports=function(){var i=kb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var ln=g((QE,Tc)=>{"use strict";var sn=D(),Bb=I(),on=Bb.RegExp,un=sn(function(){var i=on("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Ub=un||sn(function(){return!on("a","y").sticky}),jb=un||sn(function(){var i=on("^r","gy");return i.lastIndex=2,i.exec("str")!==null});Tc.exports={BROKEN_CARET:jb,MISSED_STICKY:Ub,UNSUPPORTED_Y:un}});var Sc=g((KE,Oc)=>{"use strict";var Fb=ma(),zb=wt();Oc.exports=Object.keys||function(e){return Fb(e,zb)}});var wc=g(Ec=>{"use strict";var $b=ue(),Gb=ta(),Hb=Oe(),Yb=J(),Xb=Ke(),Wb=Sc();Ec.f=$b&&!Gb?Object.defineProperties:function(e,r){Yb(e);for(var t=Xb(r),a=Wb(r),n=a.length,o=0,s;n>o;)Hb.f(e,s=a[o++],t[s]);return e}});var Gr=g((JE,Ic)=>{"use strict";var Qb=J(),Kb=wc(),Cc=wt(),Zb=bt(),Jb=wa(),ex=Pr(),rx=mt(),qc=">",Pc="<",cn="prototype",fn="script",Rc=rx("IE_PROTO"),hn=function(){},Nc=function(i){return Pc+fn+qc+i+Pc+"/"+fn+qc},Ac=function(i){i.write(Nc("")),i.close();var e=i.parentWindow.Object;return i=null,e},tx=function(){var i=ex("iframe"),e="java"+fn+":",r;return i.style.display="none",Jb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Nc("document.F=Object")),r.close(),r.F},jt,Ft=function(){try{jt=new ActiveXObject("htmlfile")}catch{}Ft=typeof document<"u"?document.domain&&jt?Ac(jt):tx():Ac(jt);for(var i=Cc.length;i--;)delete Ft[cn][Cc[i]];return Ft()};Zb[Rc]=!0;Ic.exports=Object.create||function(e,r){var t;return e!==null?(hn[cn]=Qb(e),t=new hn,hn[cn]=null,t[Rc]=e):t=Ft(),r===void 0?t:Kb.f(t,r)}});var Vc=g((ew,Mc)=>{"use strict";var ix=D(),ax=I(),nx=ax.RegExp;Mc.exports=ix(function(){var i=nx(".","s");return!(i.dotAll&&i.test(`
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as Tr}from"./FSZIWGYJ.js";import{b as g,d as Z}from"./SWTVJXVH.js";var I=g((ki,Gs)=>{"use strict";var Or=function(i){return i&&i.Math===Math&&i};Gs.exports=Or(typeof globalThis=="object"&&globalThis)||Or(typeof window=="object"&&window)||Or(typeof self=="object"&&self)||Or(typeof global=="object"&&global)||Or(typeof ki=="object"&&ki)||function(){return this}()||Function("return this")()});var D=g((VO,Hs)=>{"use strict";Hs.exports=function(i){try{return!!i()}catch{return!0}}});var ue=g((_O,Ys)=>{"use strict";var wg=D();Ys.exports=!wg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Sr=g((DO,Xs)=>{"use strict";var Cg=D();Xs.exports=!Cg(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=g((LO,Ws)=>{"use strict";var qg=Sr(),lt=Function.prototype.call;Ws.exports=qg?lt.bind(lt):function(){return lt.apply(lt,arguments)}});var Js=g(Zs=>{"use strict";var Qs={}.propertyIsEnumerable,Ks=Object.getOwnPropertyDescriptor,Pg=Ks&&!Qs.call({1:2},1);Zs.f=Pg?function(e){var r=Ks(this,e);return!!r&&r.enumerable}:Qs});var ht=g((BO,eo)=>{"use strict";eo.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var L=g((UO,io)=>{"use strict";var ro=Sr(),to=Function.prototype,Bi=to.call,Ag=ro&&to.bind.bind(Bi,Bi);io.exports=ro?Ag:function(i){return function(){return Bi.apply(i,arguments)}}});var Ae=g((jO,no)=>{"use strict";var ao=L(),Rg=ao({}.toString),Ng=ao("".slice);no.exports=function(i){return Ng(Rg(i),8,-1)}});var ji=g((FO,so)=>{"use strict";var Ig=L(),Mg=D(),Vg=Ae(),Ui=Object,_g=Ig("".split);so.exports=Mg(function(){return!Ui("z").propertyIsEnumerable(0)})?function(i){return Vg(i)==="String"?_g(i,""):Ui(i)}:Ui});var Er=g((zO,oo)=>{"use strict";oo.exports=function(i){return i==null}});var le=g(($O,uo)=>{"use strict";var Dg=Er(),Lg=TypeError;uo.exports=function(i){if(Dg(i))throw new Lg("Can't call method on "+i);return i}});var Ke=g((GO,lo)=>{"use strict";var kg=ji(),Bg=le();lo.exports=function(i){return kg(Bg(i))}});var k=g((HO,ho)=>{"use strict";var Fi=typeof document=="object"&&document.all;ho.exports=typeof Fi>"u"&&Fi!==void 0?function(i){return typeof i=="function"||i===Fi}:function(i){return typeof i=="function"}});var te=g((YO,co)=>{"use strict";var Ug=k();co.exports=function(i){return typeof i=="object"?i!==null:Ug(i)}});var Re=g((XO,fo)=>{"use strict";var zi=I(),jg=k(),Fg=function(i){return jg(i)?i:void 0};fo.exports=function(i,e){return arguments.length<2?Fg(zi[i]):zi[i]&&zi[i][e]}});var wr=g((WO,vo)=>{"use strict";var zg=L();vo.exports=zg({}.isPrototypeOf)});var Ze=g((QO,yo)=>{"use strict";var $g=I(),go=$g.navigator,po=go&&go.userAgent;yo.exports=po?String(po):""});var ft=g((KO,So)=>{"use strict";var Oo=I(),$i=Ze(),mo=Oo.process,bo=Oo.Deno,xo=mo&&mo.versions||bo&&bo.version,To=xo&&xo.v8,fe,ct;To&&(fe=To.split("."),ct=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ct&&$i&&(fe=$i.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=$i.match(/Chrome\/(\d+)/),fe&&(ct=+fe[1])));So.exports=ct});var Gi=g((ZO,wo)=>{"use strict";var Eo=ft(),Gg=D(),Hg=I(),Yg=Hg.String;wo.exports=!!Object.getOwnPropertySymbols&&!Gg(function(){var i=Symbol("symbol detection");return!Yg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Eo&&Eo<41})});var Hi=g((JO,Co)=>{"use strict";var Xg=Gi();Co.exports=Xg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yi=g((eS,qo)=>{"use strict";var Wg=Re(),Qg=k(),Kg=wr(),Zg=Hi(),Jg=Object;qo.exports=Zg?function(i){return typeof i=="symbol"}:function(i){var e=Wg("Symbol");return Qg(e)&&Kg(e.prototype,Jg(i))}});var Cr=g((rS,Po)=>{"use strict";var ed=String;Po.exports=function(i){try{return ed(i)}catch{return"Object"}}});var xe=g((tS,Ao)=>{"use strict";var rd=k(),td=Cr(),id=TypeError;Ao.exports=function(i){if(rd(i))return i;throw new id(td(i)+" is not a function")}});var Be=g((iS,Ro)=>{"use strict";var ad=xe(),nd=Er();Ro.exports=function(i,e){var r=i[e];return nd(r)?void 0:ad(r)}});var Io=g((aS,No)=>{"use strict";var Xi=H(),Wi=k(),Qi=te(),sd=TypeError;No.exports=function(i,e){var r,t;if(e==="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i))||Wi(r=i.valueOf)&&!Qi(t=Xi(r,i))||e!=="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i)))return t;throw new sd("Can't convert object to primitive value")}});var ve=g((nS,Mo)=>{"use strict";Mo.exports=!1});var vt=g((sS,_o)=>{"use strict";var Vo=I(),od=Object.defineProperty;_o.exports=function(i,e){try{od(Vo,i,{value:e,configurable:!0,writable:!0})}catch{Vo[i]=e}return e}});var gt=g((oS,ko)=>{"use strict";var ud=ve(),ld=I(),hd=vt(),Do="__core-js_shared__",Lo=ko.exports=ld[Do]||hd(Do,{});(Lo.versions||(Lo.versions=[])).push({version:"3.44.0",mode:ud?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var dt=g((uS,Uo)=>{"use strict";var Bo=gt();Uo.exports=function(i,e){return Bo[i]||(Bo[i]=e||{})}});var qr=g((lS,jo)=>{"use strict";var cd=le(),fd=Object;jo.exports=function(i){return fd(cd(i))}});var he=g((hS,Fo)=>{"use strict";var vd=L(),gd=qr(),dd=vd({}.hasOwnProperty);Fo.exports=Object.hasOwn||function(e,r){return dd(gd(e),r)}});var Ki=g((cS,zo)=>{"use strict";var pd=L(),yd=0,md=Math.random(),bd=pd(1.1.toString);zo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+bd(++yd+md,36)}});var z=g((fS,Go)=>{"use strict";var xd=I(),Td=dt(),$o=he(),Od=Ki(),Sd=Gi(),Ed=Hi(),Je=xd.Symbol,Zi=Td("wks"),wd=Ed?Je.for||Je:Je&&Je.withoutSetter||Od;Go.exports=function(i){return $o(Zi,i)||(Zi[i]=Sd&&$o(Je,i)?Je[i]:wd("Symbol."+i)),Zi[i]}});var Wo=g((vS,Xo)=>{"use strict";var Cd=H(),Ho=te(),Yo=Yi(),qd=Be(),Pd=Io(),Ad=z(),Rd=TypeError,Nd=Ad("toPrimitive");Xo.exports=function(i,e){if(!Ho(i)||Yo(i))return i;var r=qd(i,Nd),t;if(r){if(e===void 0&&(e="default"),t=Cd(r,i,e),!Ho(t)||Yo(t))return t;throw new Rd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Pd(i,e)}});var Ji=g((gS,Qo)=>{"use strict";var Id=Wo(),Md=Yi();Qo.exports=function(i){var e=Id(i,"string");return Md(e)?e:e+""}});var Pr=g((dS,Zo)=>{"use strict";var Vd=I(),Ko=te(),ea=Vd.document,_d=Ko(ea)&&Ko(ea.createElement);Zo.exports=function(i){return _d?ea.createElement(i):{}}});var ra=g((pS,Jo)=>{"use strict";var Dd=ue(),Ld=D(),kd=Pr();Jo.exports=!Dd&&!Ld(function(){return Object.defineProperty(kd("div"),"a",{get:function(){return 7}}).a!==7})});var Ar=g(ru=>{"use strict";var Bd=ue(),Ud=H(),jd=Js(),Fd=ht(),zd=Ke(),$d=Ji(),Gd=he(),Hd=ra(),eu=Object.getOwnPropertyDescriptor;ru.f=Bd?eu:function(e,r){if(e=zd(e),r=$d(r),Hd)try{return eu(e,r)}catch{}if(Gd(e,r))return Fd(!Ud(jd.f,e,r),e[r])}});var ta=g((mS,tu)=>{"use strict";var Yd=ue(),Xd=D();tu.exports=Yd&&Xd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=g((bS,iu)=>{"use strict";var Wd=te(),Qd=String,Kd=TypeError;iu.exports=function(i){if(Wd(i))return i;throw new Kd(Qd(i)+" is not an object")}});var Oe=g(nu=>{"use strict";var Zd=ue(),Jd=ra(),ep=ta(),pt=J(),au=Ji(),rp=TypeError,ia=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,aa="enumerable",na="configurable",sa="writable";nu.f=Zd?ep?function(e,r,t){if(pt(e),r=au(r),pt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&sa in t&&!t[sa]){var a=tp(e,r);a&&a[sa]&&(e[r]=t.value,t={configurable:na in t?t[na]:a[na],enumerable:aa in t?t[aa]:a[aa],writable:!1})}return ia(e,r,t)}:ia:function(e,r,t){if(pt(e),r=au(r),pt(t),Jd)try{return ia(e,r,t)}catch{}if("get"in t||"set"in t)throw new rp("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var er=g((TS,su)=>{"use strict";var ip=ue(),ap=Oe(),np=ht();su.exports=ip?function(i,e,r){return ap.f(i,e,np(1,r))}:function(i,e,r){return i[e]=r,i}});var Rr=g((OS,uu)=>{"use strict";var oa=ue(),sp=he(),ou=Function.prototype,op=oa&&Object.getOwnPropertyDescriptor,ua=sp(ou,"name"),up=ua&&function(){}.name==="something",lp=ua&&(!oa||oa&&op(ou,"name").configurable);uu.exports={EXISTS:ua,PROPER:up,CONFIGURABLE:lp}});var yt=g((SS,lu)=>{"use strict";var hp=L(),cp=k(),la=gt(),fp=hp(Function.toString);cp(la.inspectSource)||(la.inspectSource=function(i){return fp(i)});lu.exports=la.inspectSource});var fu=g((ES,cu)=>{"use strict";var vp=I(),gp=k(),hu=vp.WeakMap;cu.exports=gp(hu)&&/native code/.test(String(hu))});var mt=g((wS,gu)=>{"use strict";var dp=dt(),pp=Ki(),vu=dp("keys");gu.exports=function(i){return vu[i]||(vu[i]=pp(i))}});var bt=g((CS,du)=>{"use strict";du.exports={}});var Ir=g((qS,mu)=>{"use strict";var yp=fu(),yu=I(),mp=te(),bp=er(),ha=he(),ca=gt(),xp=mt(),Tp=bt(),pu="Object already initialized",fa=yu.TypeError,Op=yu.WeakMap,xt,Nr,Tt,Sp=function(i){return Tt(i)?Nr(i):xt(i,{})},Ep=function(i){return function(e){var r;if(!mp(e)||(r=Nr(e)).type!==i)throw new fa("Incompatible receiver, "+i+" required");return r}};yp||ca.state?(ge=ca.state||(ca.state=new Op),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,xt=function(i,e){if(ge.has(i))throw new fa(pu);return e.facade=i,ge.set(i,e),e},Nr=function(i){return ge.get(i)||{}},Tt=function(i){return ge.has(i)}):(Ue=xp("state"),Tp[Ue]=!0,xt=function(i,e){if(ha(i,Ue))throw new fa(pu);return e.facade=i,bp(i,Ue,e),e},Nr=function(i){return ha(i,Ue)?i[Ue]:{}},Tt=function(i){return ha(i,Ue)});var ge,Ue;mu.exports={set:xt,get:Nr,has:Tt,enforce:Sp,getterFor:Ep}});var da=g((PS,Tu)=>{"use strict";var ga=L(),wp=D(),Cp=k(),Ot=he(),va=ue(),qp=Rr().CONFIGURABLE,Pp=yt(),xu=Ir(),Ap=xu.enforce,Rp=xu.get,bu=String,St=Object.defineProperty,Np=ga("".slice),Ip=ga("".replace),Mp=ga([].join),Vp=va&&!wp(function(){return St(function(){},"length",{value:8}).length!==8}),_p=String(String).split("String"),Dp=Tu.exports=function(i,e,r){Np(bu(e),0,7)==="Symbol("&&(e="["+Ip(bu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ot(i,"name")||qp&&i.name!==e)&&(va?St(i,"name",{value:e,configurable:!0}):i.name=e),Vp&&r&&Ot(r,"arity")&&i.length!==r.arity&&St(i,"length",{value:r.arity});try{r&&Ot(r,"constructor")&&r.constructor?va&&St(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Ap(i);return Ot(t,"source")||(t.source=Mp(_p,typeof e=="string"?e:"")),i};Function.prototype.toString=Dp(function(){return Cp(this)&&Rp(this).source||Pp(this)},"toString")});var Ne=g((AS,Ou)=>{"use strict";var Lp=k(),kp=Oe(),Bp=da(),Up=vt();Ou.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Lp(r)&&Bp(r,n,t),t.global)a?i[e]=r:Up(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:kp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Eu=g((RS,Su)=>{"use strict";var jp=Math.ceil,Fp=Math.floor;Su.exports=Math.trunc||function(e){var r=+e;return(r>0?Fp:jp)(r)}});var Mr=g((NS,wu)=>{"use strict";var zp=Eu();wu.exports=function(i){var e=+i;return e!==e||e===0?0:zp(e)}});var qu=g((IS,Cu)=>{"use strict";var $p=Mr(),Gp=Math.max,Hp=Math.min;Cu.exports=function(i,e){var r=$p(i);return r<0?Gp(r+e,0):Hp(r,e)}});var je=g((MS,Pu)=>{"use strict";var Yp=Mr(),Xp=Math.min;Pu.exports=function(i){var e=Yp(i);return e>0?Xp(e,9007199254740991):0}});var Et=g((VS,Au)=>{"use strict";var Wp=je();Au.exports=function(i){return Wp(i.length)}});var pa=g((_S,Nu)=>{"use strict";var Qp=Ke(),Kp=qu(),Zp=Et(),Ru=function(i){return function(e,r,t){var a=Qp(e),n=Zp(a);if(n===0)return!i&&-1;var o=Kp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Nu.exports={includes:Ru(!0),indexOf:Ru(!1)}});var ma=g((DS,Mu)=>{"use strict";var Jp=L(),ya=he(),ey=Ke(),ry=pa().indexOf,ty=bt(),Iu=Jp([].push);Mu.exports=function(i,e){var r=ey(i),t=0,a=[],n;for(n in r)!ya(ty,n)&&ya(r,n)&&Iu(a,n);for(;e.length>t;)ya(r,n=e[t++])&&(~ry(a,n)||Iu(a,n));return a}});var wt=g((LS,Vu)=>{"use strict";Vu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Du=g(_u=>{"use strict";var iy=ma(),ay=wt(),ny=ay.concat("length","prototype");_u.f=Object.getOwnPropertyNames||function(e){return iy(e,ny)}});var ku=g(Lu=>{"use strict";Lu.f=Object.getOwnPropertySymbols});var Uu=g((US,Bu)=>{"use strict";var sy=Re(),oy=L(),uy=Du(),ly=ku(),hy=J(),cy=oy([].concat);Bu.exports=sy("Reflect","ownKeys")||function(e){var r=uy.f(hy(e)),t=ly.f;return t?cy(r,t(e)):r}});var zu=g((jS,Fu)=>{"use strict";var ju=he(),fy=Uu(),vy=Ar(),gy=Oe();Fu.exports=function(i,e,r){for(var t=fy(e),a=gy.f,n=vy.f,o=0;o<t.length;o++){var s=t[o];!ju(i,s)&&!(r&&ju(r,s))&&a(i,s,n(e,s))}}});var ba=g((FS,$u)=>{"use strict";var dy=D(),py=k(),yy=/#|\.prototype\./,Vr=function(i,e){var r=by[my(i)];return r===Ty?!0:r===xy?!1:py(e)?dy(e):!!e},my=Vr.normalize=function(i){return String(i).replace(yy,".").toLowerCase()},by=Vr.data={},xy=Vr.NATIVE="N",Ty=Vr.POLYFILL="P";$u.exports=Vr});var ee=g((zS,Gu)=>{"use strict";var Ct=I(),Oy=Ar().f,Sy=er(),Ey=Ne(),wy=vt(),Cy=zu(),qy=ba();Gu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=Ct:a?o=Ct[r]||wy(r,{}):o=Ct[r]&&Ct[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Oy(o,s),u=h&&h.value):u=o[s],n=qy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;Cy(l,u)}(i.sham||u&&u.sham)&&Sy(l,"sham",!0),Ey(o,s,l,i)}}});var xa=g(($S,Hu)=>{"use strict";var _r=I(),Py=Ze(),Ay=Ae(),qt=function(i){return Py.slice(0,i.length)===i};Hu.exports=function(){return qt("Bun/")?"BUN":qt("Cloudflare-Workers")?"CLOUDFLARE":qt("Deno/")?"DENO":qt("Node.js/")?"NODE":_r.Bun&&typeof Bun.version=="string"?"BUN":_r.Deno&&typeof Deno.version=="object"?"DENO":Ay(_r.process)==="process"?"NODE":_r.window&&_r.document?"BROWSER":"REST"}()});var Dr=g((GS,Yu)=>{"use strict";var Ry=xa();Yu.exports=Ry==="NODE"});var Wu=g((HS,Xu)=>{"use strict";var Ny=I();Xu.exports=Ny});var Ku=g((YS,Qu)=>{"use strict";var Iy=L(),My=xe();Qu.exports=function(i,e,r){try{return Iy(My(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ju=g((XS,Zu)=>{"use strict";var Vy=te();Zu.exports=function(i){return Vy(i)||i===null}});var rl=g((WS,el)=>{"use strict";var _y=Ju(),Dy=String,Ly=TypeError;el.exports=function(i){if(_y(i))return i;throw new Ly("Can't set "+Dy(i)+" as a prototype")}});var Ta=g((QS,tl)=>{"use strict";var ky=Ku(),By=te(),Uy=le(),jy=rl();tl.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,e={},r;try{r=ky(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Uy(a),jy(n),By(a)&&(i?r(a,n):a.__proto__=n),a}}():void 0)});var Lr=g((KS,al)=>{"use strict";var Fy=Oe().f,zy=he(),$y=z(),il=$y("toStringTag");al.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!zy(i,il)&&Fy(i,il,{configurable:!0,value:e})}});var ol=g((ZS,sl)=>{"use strict";var nl=da(),Gy=Oe();sl.exports=function(i,e,r){return r.get&&nl(r.get,e,{getter:!0}),r.set&&nl(r.set,e,{setter:!0}),Gy.f(i,e,r)}});var hl=g((JS,ll)=>{"use strict";var Hy=Re(),Yy=ol(),Xy=z(),Wy=ue(),ul=Xy("species");ll.exports=function(i){var e=Hy(i);Wy&&e&&!e[ul]&&Yy(e,ul,{configurable:!0,get:function(){return this}})}});var fl=g((eE,cl)=>{"use strict";var Qy=wr(),Ky=TypeError;cl.exports=function(i,e){if(Qy(e,i))return i;throw new Ky("Incorrect invocation")}});var dl=g((rE,gl)=>{"use strict";var Zy=z(),Jy=Zy("toStringTag"),vl={};vl[Jy]="z";gl.exports=String(vl)==="[object z]"});var At=g((tE,pl)=>{"use strict";var e0=dl(),r0=k(),Pt=Ae(),t0=z(),i0=t0("toStringTag"),a0=Object,n0=Pt(function(){return arguments}())==="Arguments",s0=function(i,e){try{return i[e]}catch{}};pl.exports=e0?Pt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=s0(e=a0(i),i0))=="string"?r:n0?Pt(e):(t=Pt(e))==="Object"&&r0(e.callee)?"Arguments":t}});var Ol=g((iE,Tl)=>{"use strict";var o0=L(),u0=D(),yl=k(),l0=At(),h0=Re(),c0=yt(),ml=function(){},bl=h0("Reflect","construct"),Oa=/^\s*(?:class|function)\b/,f0=o0(Oa.exec),v0=!Oa.test(ml),kr=function(e){if(!yl(e))return!1;try{return bl(ml,[],e),!0}catch{return!1}},xl=function(e){if(!yl(e))return!1;switch(l0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v0||!!f0(Oa,c0(e))}catch{return!0}};xl.sham=!0;Tl.exports=!bl||u0(function(){var i;return kr(kr.call)||!kr(Object)||!kr(function(){i=!0})||i})?xl:kr});var El=g((aE,Sl)=>{"use strict";var g0=Ol(),d0=Cr(),p0=TypeError;Sl.exports=function(i){if(g0(i))return i;throw new p0(d0(i)+" is not a constructor")}});var Sa=g((nE,Cl)=>{"use strict";var wl=J(),y0=El(),m0=Er(),b0=z(),x0=b0("species");Cl.exports=function(i,e){var r=wl(i).constructor,t;return r===void 0||m0(t=wl(r)[x0])?e:y0(t)}});var Ea=g((sE,Rl)=>{"use strict";var T0=Sr(),Al=Function.prototype,ql=Al.apply,Pl=Al.call;Rl.exports=typeof Reflect=="object"&&Reflect.apply||(T0?Pl.bind(ql):function(){return Pl.apply(ql,arguments)})});var Br=g((oE,Nl)=>{"use strict";var O0=Ae(),S0=L();Nl.exports=function(i){if(O0(i)==="Function")return S0(i)}});var Rt=g((uE,Ml)=>{"use strict";var Il=Br(),E0=xe(),w0=Sr(),C0=Il(Il.bind);Ml.exports=function(i,e){return E0(i),e===void 0?i:w0?C0(i,e):function(){return i.apply(e,arguments)}}});var wa=g((lE,Vl)=>{"use strict";var q0=Re();Vl.exports=q0("document","documentElement")});var Dl=g((hE,_l)=>{"use strict";var P0=L();_l.exports=P0([].slice)});var kl=g((cE,Ll)=>{"use strict";var A0=TypeError;Ll.exports=function(i,e){if(i<e)throw new A0("Not enough arguments");return i}});var Ca=g((fE,Bl)=>{"use strict";var R0=Ze();Bl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(R0)});var _a=g((vE,Xl)=>{"use strict";var ne=I(),N0=Ea(),I0=Rt(),Ul=k(),M0=he(),Yl=D(),jl=wa(),V0=Dl(),Fl=Pr(),_0=kl(),D0=Ca(),L0=Dr(),Ia=ne.setImmediate,Ma=ne.clearImmediate,k0=ne.process,qa=ne.Dispatch,B0=ne.Function,zl=ne.MessageChannel,U0=ne.String,Pa=0,Ur={},$l="onreadystatechange",jr,Fe,Aa,Ra;Yl(function(){jr=ne.location});var Va=function(i){if(M0(Ur,i)){var e=Ur[i];delete Ur[i],e()}},Na=function(i){return function(){Va(i)}},Gl=function(i){Va(i.data)},Hl=function(i){ne.postMessage(U0(i),jr.protocol+"//"+jr.host)};(!Ia||!Ma)&&(Ia=function(e){_0(arguments.length,1);var r=Ul(e)?e:B0(e),t=V0(arguments,1);return Ur[++Pa]=function(){N0(r,void 0,t)},Fe(Pa),Pa},Ma=function(e){delete Ur[e]},L0?Fe=function(i){k0.nextTick(Na(i))}:qa&&qa.now?Fe=function(i){qa.now(Na(i))}:zl&&!D0?(Aa=new zl,Ra=Aa.port2,Aa.port1.onmessage=Gl,Fe=I0(Ra.postMessage,Ra)):ne.addEventListener&&Ul(ne.postMessage)&&!ne.importScripts&&jr&&jr.protocol!=="file:"&&!Yl(Hl)?(Fe=Hl,ne.addEventListener("message",Gl,!1)):$l in Fl("script")?Fe=function(i){jl.appendChild(Fl("script"))[$l]=function(){jl.removeChild(this),Va(i)}}:Fe=function(i){setTimeout(Na(i),0)});Xl.exports={set:Ia,clear:Ma}});var Kl=g((gE,Ql)=>{"use strict";var Wl=I(),j0=ue(),F0=Object.getOwnPropertyDescriptor;Ql.exports=function(i){if(!j0)return Wl[i];var e=F0(Wl,i);return e&&e.value}});var Da=g((dE,Jl)=>{"use strict";var Zl=function(){this.head=null,this.tail=null};Zl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Jl.exports=Zl});var rh=g((pE,eh)=>{"use strict";var z0=Ze();eh.exports=/ipad|iphone|ipod/i.test(z0)&&typeof Pebble<"u"});var ih=g((yE,th)=>{"use strict";var $0=Ze();th.exports=/web0s(?!.*chrome)/i.test($0)});var hh=g((mE,lh)=>{"use strict";var tr=I(),G0=Kl(),ah=Rt(),La=_a().set,H0=Da(),Y0=Ca(),X0=rh(),W0=ih(),ka=Dr(),nh=tr.MutationObserver||tr.WebKitMutationObserver,sh=tr.document,oh=tr.process,Nt=tr.Promise,ja=G0("queueMicrotask"),rr,Ba,Ua,It,uh;ja||(Fr=new H0,zr=function(){var i,e;for(ka&&(i=oh.domain)&&i.exit();e=Fr.get();)try{e()}catch(r){throw Fr.head&&rr(),r}i&&i.enter()},!Y0&&!ka&&!W0&&nh&&sh?(Ba=!0,Ua=sh.createTextNode(""),new nh(zr).observe(Ua,{characterData:!0}),rr=function(){Ua.data=Ba=!Ba}):!X0&&Nt&&Nt.resolve?(It=Nt.resolve(void 0),It.constructor=Nt,uh=ah(It.then,It),rr=function(){uh(zr)}):ka?rr=function(){oh.nextTick(zr)}:(La=ah(La,tr),rr=function(){La(zr)}),ja=function(i){Fr.head||rr(),Fr.add(i)});var Fr,zr;lh.exports=ja});var fh=g((bE,ch)=>{"use strict";ch.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Mt=g((xE,vh)=>{"use strict";vh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var ir=g((TE,gh)=>{"use strict";var Q0=I();gh.exports=Q0.Promise});var ar=g((OE,mh)=>{"use strict";var K0=I(),$r=ir(),Z0=k(),J0=ba(),em=yt(),rm=z(),dh=xa(),tm=ve(),Fa=ft(),ph=$r&&$r.prototype,im=rm("species"),za=!1,yh=Z0(K0.PromiseRejectionEvent),am=J0("Promise",function(){var i=em($r),e=i!==String($r);if(!e&&Fa===66||tm&&!(ph.catch&&ph.finally))return!0;if(!Fa||Fa<51||!/native code/.test(i)){var r=new $r(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[im]=t,za=r.then(function(){})instanceof t,!za)return!0}return!e&&(dh==="BROWSER"||dh==="DENO")&&!yh});mh.exports={CONSTRUCTOR:am,REJECTION_EVENT:yh,SUBCLASSING:za}});var nr=g((SE,xh)=>{"use strict";var bh=xe(),nm=TypeError,sm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new nm("Bad Promise constructor");e=t,r=a}),this.resolve=bh(e),this.reject=bh(r)};xh.exports.f=function(i){return new sm(i)}});var Uh=g(()=>{"use strict";var om=ee(),um=ve(),Lt=Dr(),Ie=I(),lm=Wu(),lr=H(),Th=Ne(),Oh=Ta(),hm=Lr(),cm=hl(),fm=xe(),Dt=k(),vm=te(),gm=fl(),dm=Sa(),qh=_a().set,Xa=hh(),pm=fh(),ym=Mt(),mm=Da(),Ph=Ir(),kt=ir(),Wa=ar(),Ah=nr(),Bt="Promise",Rh=Wa.CONSTRUCTOR,bm=Wa.REJECTION_EVENT,xm=Wa.SUBCLASSING,$a=Ph.getterFor(Bt),Tm=Ph.set,sr=kt&&kt.prototype,ze=kt,Vt=sr,Nh=Ie.TypeError,Ga=Ie.document,Qa=Ie.process,Ha=Ah.f,Om=Ha,Sm=!!(Ga&&Ga.createEvent&&Ie.dispatchEvent),Ih="unhandledrejection",Em="rejectionhandled",Sh=0,Mh=1,wm=2,Ka=1,Vh=2,_t,Eh,_h,wh,Dh=function(i){var e;return vm(i)&&Dt(e=i.then)?e:!1},Lh=function(i,e){var r=e.value,t=e.state===Mh,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Vh&&qm(e),e.rejection=Ka),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Nh("Promise-chain cycle")):(l=Dh(u))?lr(l,u,n,o):n(u)):o(r)}catch(f){s&&!h&&s.exit(),o(f)}},kh=function(i,e){i.notified||(i.notified=!0,Xa(function(){for(var r=i.reactions,t;t=r.get();)Lh(t,i);i.notified=!1,e&&!i.rejection&&Cm(i)}))},Bh=function(i,e,r){var t,a;Sm?(t=Ga.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ie.dispatchEvent(t)):t={promise:e,reason:r},!bm&&(a=Ie["on"+i])?a(t):i===Ih&&pm("Unhandled promise rejection",r)},Cm=function(i){lr(qh,Ie,function(){var e=i.facade,r=i.value,t=Ch(i),a;if(t&&(a=ym(function(){Lt?Qa.emit("unhandledRejection",r,e):Bh(Ih,e,r)}),i.rejection=Lt||Ch(i)?Vh:Ka,a.error))throw a.value})},Ch=function(i){return i.rejection!==Ka&&!i.parent},qm=function(i){lr(qh,Ie,function(){var e=i.facade;Lt?Qa.emit("rejectionHandled",e):Bh(Em,e,i.value)})},or=function(i,e,r){return function(t){i(e,t,r)}},ur=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=wm,kh(i,!0))},Ya=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Nh("Promise can't be resolved itself");var t=Dh(e);t?Xa(function(){var a={done:!1};try{lr(t,e,or(Ya,a,i),or(ur,a,i))}catch(n){ur(a,n,i)}}):(i.value=e,i.state=Mh,kh(i,!1))}catch(a){ur({done:!1},a,i)}}};if(Rh&&(ze=function(e){gm(this,Vt),fm(e),lr(_t,this);var r=$a(this);try{e(or(Ya,r),or(ur,r))}catch(t){ur(r,t)}},Vt=ze.prototype,_t=function(e){Tm(this,{type:Bt,done:!1,notified:!1,parent:!1,reactions:new mm,rejection:!1,state:Sh,value:null})},_t.prototype=Th(Vt,"then",function(e,r){var t=$a(this),a=Ha(dm(this,ze));return t.parent=!0,a.ok=Dt(e)?e:!0,a.fail=Dt(r)&&r,a.domain=Lt?Qa.domain:void 0,t.state===Sh?t.reactions.add(a):Xa(function(){Lh(a,t)}),a.promise}),Eh=function(){var i=new _t,e=$a(i);this.promise=i,this.resolve=or(Ya,e),this.reject=or(ur,e)},Ah.f=Ha=function(i){return i===ze||i===_h?new Eh(i):Om(i)},!um&&Dt(kt)&&sr!==Object.prototype)){wh=sr.then,xm||Th(sr,"then",function(e,r){var t=this;return new ze(function(a,n){lr(wh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete sr.constructor}catch{}Oh&&Oh(sr,Vt)}om({global:!0,constructor:!0,wrap:!0,forced:Rh},{Promise:ze});_h=lm.Promise;hm(ze,Bt,!1,!0);cm(Bt)});var hr=g((CE,jh)=>{"use strict";jh.exports={}});var zh=g((qE,Fh)=>{"use strict";var Pm=z(),Am=hr(),Rm=Pm("iterator"),Nm=Array.prototype;Fh.exports=function(i){return i!==void 0&&(Am.Array===i||Nm[Rm]===i)}});var Za=g((PE,Gh)=>{"use strict";var Im=At(),$h=Be(),Mm=Er(),Vm=hr(),_m=z(),Dm=_m("iterator");Gh.exports=function(i){if(!Mm(i))return $h(i,Dm)||$h(i,"@@iterator")||Vm[Im(i)]}});var Yh=g((AE,Hh)=>{"use strict";var Lm=H(),km=xe(),Bm=J(),Um=Cr(),jm=Za(),Fm=TypeError;Hh.exports=function(i,e){var r=arguments.length<2?jm(i):e;if(km(r))return Bm(Lm(r,i));throw new Fm(Um(i)+" is not iterable")}});var Qh=g((RE,Wh)=>{"use strict";var zm=H(),Xh=J(),$m=Be();Wh.exports=function(i,e,r){var t,a;Xh(i);try{if(t=$m(i,"return"),!t){if(e==="throw")throw r;return r}t=zm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Xh(t),r}});var Ja=g((NE,ec)=>{"use strict";var Gm=Rt(),Hm=H(),Ym=J(),Xm=Cr(),Wm=zh(),Qm=Et(),Kh=wr(),Km=Yh(),Zm=Za(),Zh=Qh(),Jm=TypeError,Ut=function(i,e){this.stopped=i,this.result=e},Jh=Ut.prototype;ec.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=Gm(e,t),l,h,f,v,c,d,p,y=function(T){return l&&Zh(l,"normal"),new Ut(!0,T)},m=function(T){return a?(Ym(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Zm(i),!h)throw new Jm(Xm(i)+" is not iterable");if(Wm(h)){for(f=0,v=Qm(i);v>f;f++)if(c=m(i[f]),c&&Kh(Jh,c))return c;return new Ut(!1)}l=Km(i,h)}for(d=n?i.next:l.next;!(p=Hm(d,l)).done;){try{c=m(p.value)}catch(T){Zh(l,"throw",T)}if(typeof c=="object"&&c&&Kh(Jh,c))return c}return new Ut(!1)}});var nc=g((IE,ac)=>{"use strict";var eb=z(),tc=eb("iterator"),ic=!1;try{rc=0,en={next:function(){return{done:!!rc++}},return:function(){ic=!0}},en[tc]=function(){return this},Array.from(en,function(){throw 2})}catch{}var rc,en;ac.exports=function(i,e){try{if(!e&&!ic)return!1}catch{return!1}var r=!1;try{var t={};t[tc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var rn=g((ME,sc)=>{"use strict";var rb=ir(),tb=nc(),ib=ar().CONSTRUCTOR;sc.exports=ib||!tb(function(i){rb.all(i).then(void 0,function(){})})});var oc=g(()=>{"use strict";var ab=ee(),nb=H(),sb=xe(),ob=nr(),ub=Mt(),lb=Ja(),hb=rn();ab({target:"Promise",stat:!0,forced:hb},{all:function(e){var r=this,t=ob.f(r),a=t.resolve,n=t.reject,o=ub(function(){var s=sb(r.resolve),u=[],l=0,h=1;lb(e,function(f){var v=l++,c=!1;h++,nb(s,r,f).then(function(d){c||(c=!0,u[v]=d,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var lc=g(()=>{"use strict";var cb=ee(),fb=ve(),vb=ar().CONSTRUCTOR,an=ir(),gb=Re(),db=k(),pb=Ne(),uc=an&&an.prototype;cb({target:"Promise",proto:!0,forced:vb,real:!0},{catch:function(i){return this.then(void 0,i)}});!fb&&db(an)&&(tn=gb("Promise").prototype.catch,uc.catch!==tn&&pb(uc,"catch",tn,{unsafe:!0}));var tn});var hc=g(()=>{"use strict";var yb=ee(),mb=H(),bb=xe(),xb=nr(),Tb=Mt(),Ob=Ja(),Sb=rn();yb({target:"Promise",stat:!0,forced:Sb},{race:function(e){var r=this,t=xb.f(r),a=t.reject,n=Tb(function(){var o=bb(r.resolve);Ob(e,function(s){mb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var cc=g(()=>{"use strict";var Eb=ee(),wb=nr(),Cb=ar().CONSTRUCTOR;Eb({target:"Promise",stat:!0,forced:Cb},{reject:function(e){var r=wb.f(this),t=r.reject;return t(e),r.promise}})});var vc=g((FE,fc)=>{"use strict";var qb=J(),Pb=te(),Ab=nr();fc.exports=function(i,e){if(qb(i),Pb(e)&&e.constructor===i)return e;var r=Ab.f(i),t=r.resolve;return t(e),r.promise}});var pc=g(()=>{"use strict";var Rb=ee(),Nb=Re(),gc=ve(),Ib=ir(),dc=ar().CONSTRUCTOR,Mb=vc(),Vb=Nb("Promise"),_b=gc&&!dc;Rb({target:"Promise",stat:!0,forced:gc||dc},{resolve:function(e){return Mb(_b&&this===Vb?Ib:this,e)}})});var yc=g(()=>{"use strict";Uh();oc();lc();hc();cc();pc()});var de=g((XE,bc)=>{"use strict";var Db=At(),Lb=String;bc.exports=function(i){if(Db(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Lb(i)}});var nn=g((WE,xc)=>{"use strict";var kb=J();xc.exports=function(){var i=kb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var ln=g((QE,Tc)=>{"use strict";var sn=D(),Bb=I(),on=Bb.RegExp,un=sn(function(){var i=on("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Ub=un||sn(function(){return!on("a","y").sticky}),jb=un||sn(function(){var i=on("^r","gy");return i.lastIndex=2,i.exec("str")!==null});Tc.exports={BROKEN_CARET:jb,MISSED_STICKY:Ub,UNSUPPORTED_Y:un}});var Sc=g((KE,Oc)=>{"use strict";var Fb=ma(),zb=wt();Oc.exports=Object.keys||function(e){return Fb(e,zb)}});var wc=g(Ec=>{"use strict";var $b=ue(),Gb=ta(),Hb=Oe(),Yb=J(),Xb=Ke(),Wb=Sc();Ec.f=$b&&!Gb?Object.defineProperties:function(e,r){Yb(e);for(var t=Xb(r),a=Wb(r),n=a.length,o=0,s;n>o;)Hb.f(e,s=a[o++],t[s]);return e}});var Gr=g((JE,Ic)=>{"use strict";var Qb=J(),Kb=wc(),Cc=wt(),Zb=bt(),Jb=wa(),ex=Pr(),rx=mt(),qc=">",Pc="<",cn="prototype",fn="script",Rc=rx("IE_PROTO"),hn=function(){},Nc=function(i){return Pc+fn+qc+i+Pc+"/"+fn+qc},Ac=function(i){i.write(Nc("")),i.close();var e=i.parentWindow.Object;return i=null,e},tx=function(){var i=ex("iframe"),e="java"+fn+":",r;return i.style.display="none",Jb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Nc("document.F=Object")),r.close(),r.F},jt,Ft=function(){try{jt=new ActiveXObject("htmlfile")}catch{}Ft=typeof document<"u"?document.domain&&jt?Ac(jt):tx():Ac(jt);for(var i=Cc.length;i--;)delete Ft[cn][Cc[i]];return Ft()};Zb[Rc]=!0;Ic.exports=Object.create||function(e,r){var t;return e!==null?(hn[cn]=Qb(e),t=new hn,hn[cn]=null,t[Rc]=e):t=Ft(),r===void 0?t:Kb.f(t,r)}});var Vc=g((ew,Mc)=>{"use strict";var ix=D(),ax=I(),nx=ax.RegExp;Mc.exports=ix(function(){var i=nx(".","s");return!(i.dotAll&&i.test(`
|
5
5
|
`)&&i.flags==="s")})});var Dc=g((rw,_c)=>{"use strict";var sx=D(),ox=I(),ux=ox.RegExp;_c.exports=sx(function(){var i=ux("(?<a>b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$<a>c")!=="bc"})});var Gt=g((tw,kc)=>{"use strict";var cr=H(),$t=L(),lx=de(),hx=nn(),cx=ln(),fx=dt(),vx=Gr(),gx=Ir().get,dx=Vc(),px=Dc(),yx=fx("native-string-replace",String.prototype.replace),zt=RegExp.prototype.exec,gn=zt,mx=$t("".charAt),bx=$t("".indexOf),xx=$t("".replace),vn=$t("".slice),dn=function(){var i=/a/,e=/b*/g;return cr(zt,i,"a"),cr(zt,e,"a"),i.lastIndex!==0||e.lastIndex!==0}(),Lc=cx.BROKEN_CARET,pn=/()??/.exec("")[1]!==void 0,Tx=dn||pn||Lc||dx||px;Tx&&(gn=function(e){var r=this,t=gx(r),a=lx(e),n=t.raw,o,s,u,l,h,f,v;if(n)return n.lastIndex=r.lastIndex,o=cr(gn,n,a),r.lastIndex=n.lastIndex,o;var c=t.groups,d=Lc&&r.sticky,p=cr(hx,r),y=r.source,m=0,T=a;if(d&&(p=xx(p,"y",""),bx(p,"g")===-1&&(p+="g"),T=vn(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&mx(a,r.lastIndex-1)!==`
|
6
6
|
`)&&(y="(?: "+y+")",T=" "+T,m++),s=new RegExp("^(?:"+y+")",p)),pn&&(s=new RegExp("^"+y+"$(?!\\s)",p)),dn&&(u=r.lastIndex),l=cr(zt,d?s:r,T),d?l?(l.input=vn(l.input,m),l[0]=vn(l[0],m),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:dn&&l&&(r.lastIndex=r.global?l.index+l[0].length:u),pn&&l&&l.length>1&&cr(yx,l[0],s,function(){for(h=1;h<arguments.length-2;h++)arguments[h]===void 0&&(l[h]=void 0)}),l&&c)for(l.groups=f=vx(null),h=0;h<c.length;h++)v=c[h],f[v[0]]=l[v[1]];return l});kc.exports=gn});var Uc=g(()=>{"use strict";var Ox=ee(),Bc=Gt();Ox({target:"RegExp",proto:!0,forced:/./.exec!==Bc},{exec:Bc})});var Ht=g((nw,Gc)=>{"use strict";Uc();var jc=H(),Fc=Ne(),Sx=Gt(),zc=D(),$c=z(),Ex=er(),wx=$c("species"),yn=RegExp.prototype;Gc.exports=function(i,e,r,t){var a=$c(i),n=!zc(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!zc(function(){var l=!1,h=/a/;return i==="split"&&(h={},h.constructor={},h.constructor[wx]=function(){return h},h.flags="",h[a]=/./[a]),h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,f,v,c){var d=h.exec;return d===Sx||d===yn.exec?n&&!c?{done:!0,value:jc(s,h,f,v)}:{done:!0,value:jc(l,f,h,v)}:{done:!1}});Fc(String.prototype,i,u[0]),Fc(yn,a,u[1])}t&&Ex(yn[a],"sham",!0)}});var Wc=g((sw,Xc)=>{"use strict";var mn=L(),Cx=Mr(),qx=de(),Px=le(),Ax=mn("".charAt),Hc=mn("".charCodeAt),Rx=mn("".slice),Yc=function(i){return function(e,r){var t=qx(Px(e)),a=Cx(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=Hc(t,a),o<55296||o>56319||a+1===n||(s=Hc(t,a+1))<56320||s>57343?i?Ax(t,a):o:i?Rx(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};Xc.exports={codeAt:Yc(!1),charAt:Yc(!0)}});var Yt=g((ow,Qc)=>{"use strict";var Nx=Wc().charAt;Qc.exports=function(i,e,r){return e+(r?Nx(i,e).length:1)}});var Jc=g((uw,Zc)=>{"use strict";var Ix=I(),Mx=D(),Kc=Ix.RegExp,Vx=!Mx(function(){var i=!0;try{Kc(".","d")}catch{i=!1}var e={},r="",t=i?"dgimsy":"gimsy",a=function(u,l){Object.defineProperty(e,u,{get:function(){return r+=l,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(n.hasIndices="d");for(var o in n)a(o,n[o]);var s=Object.getOwnPropertyDescriptor(Kc.prototype,"flags").get.call(e);return s!==t||r!==t});Zc.exports={correct:Vx}});var Xt=g((lw,rf)=>{"use strict";var _x=H(),Dx=he(),Lx=wr(),ef=Jc(),kx=nn(),Bx=RegExp.prototype;rf.exports=ef.correct?function(i){return i.flags}:function(i){return!ef.correct&&Lx(Bx,i)&&!Dx(i,"flags")?_x(kx,i):i.flags}});var Wt=g((hw,af)=>{"use strict";var tf=H(),Ux=J(),jx=k(),Fx=Ae(),zx=Gt(),$x=TypeError;af.exports=function(i,e){var r=i.exec;if(jx(r)){var t=tf(r,i,e);return t!==null&&Ux(t),t}if(Fx(i)==="RegExp")return tf(zx,i,e);throw new $x("RegExp#exec called on incompatible receiver")}});var of=g(()=>{"use strict";var Gx=H(),Hx=L(),Yx=Ht(),Xx=J(),Wx=te(),Qx=je(),Qt=de(),Kx=le(),Zx=Be(),Jx=Yt(),e1=Xt(),nf=Wt(),sf=Hx("".indexOf);Yx("match",function(i,e,r){return[function(a){var n=Kx(this),o=Wx(a)?Zx(a,i):void 0;return o?Gx(o,a,n):new RegExp(a)[i](Qt(n))},function(t){var a=Xx(this),n=Qt(t),o=r(e,a,n);if(o.done)return o.value;var s=Qt(e1(a));if(sf(s,"g")===-1)return nf(a,n);var u=sf(s,"u")!==-1;a.lastIndex=0;for(var l=[],h=0,f;(f=nf(a,n))!==null;){var v=Qt(f[0]);l[h]=v,v===""&&(a.lastIndex=Jx(n,Qx(a.lastIndex),u)),h++}return h===0?null:l}]})});var lf=g((vw,uf)=>{"use strict";var Tn=L(),r1=qr(),t1=Math.floor,bn=Tn("".charAt),i1=Tn("".replace),xn=Tn("".slice),a1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,n1=/\$([$&'`]|\d{1,2})/g;uf.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=n1;return a!==void 0&&(a=r1(a),u=a1),i1(n,u,function(l,h){var f;switch(bn(h,0)){case"$":return"$";case"&":return i;case"`":return xn(e,0,r);case"'":return xn(e,o);case"<":f=a[xn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var c=t1(v/10);return c===0?l:c<=s?t[c-1]===void 0?bn(h,1):t[c-1]+bn(h,1):l}f=t[v-1]}return f===void 0?"":f})}});var vf=g(()=>{"use strict";var s1=Ea(),hf=H(),Zt=L(),o1=Ht(),u1=D(),l1=J(),h1=k(),c1=te(),f1=Mr(),v1=je(),$e=de(),g1=le(),d1=Yt(),p1=Be(),y1=lf(),m1=Xt(),b1=Wt(),x1=z(),Sn=x1("replace"),T1=Math.max,O1=Math.min,S1=Zt([].concat),On=Zt([].push),Kt=Zt("".indexOf),cf=Zt("".slice),E1=function(i){return i===void 0?i:String(i)},w1=function(){return"a".replace(/./,"$0")==="$0"}(),ff=function(){return/./[Sn]?/./[Sn]("a","$0")==="":!1}(),C1=!u1(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$<a>")!=="7"});o1("replace",function(i,e,r){var t=ff?"$":"$0";return[function(n,o){var s=g1(this),u=c1(n)?p1(n,Sn):void 0;return u?hf(u,n,s,o):hf(e,$e(s),n,o)},function(a,n){var o=l1(this),s=$e(a);if(typeof n=="string"&&Kt(n,t)===-1&&Kt(n,"$<")===-1){var u=r(e,o,s,n);if(u.done)return u.value}var l=h1(n);l||(n=$e(n));var h=$e(m1(o)),f=Kt(h,"g")!==-1,v;f&&(v=Kt(h,"u")!==-1,o.lastIndex=0);for(var c=[],d;d=b1(o,s),!(d===null||(On(c,d),!f));){var p=$e(d[0]);p===""&&(o.lastIndex=d1(s,v1(o.lastIndex),v))}for(var y="",m=0,T=0;T<c.length;T++){d=c[T];for(var x=$e(d[0]),O=T1(O1(f1(d.index),s.length),0),q=[],w,S=1;S<d.length;S++)On(q,E1(d[S]));var P=d.groups;if(l){var A=S1([x],q,O,s);P!==void 0&&On(A,P),w=$e(s1(n,void 0,A))}else w=y1(x,s,O,q,P,n);O>=m&&(y+=cf(s,m,O)+w,m=O+x.length)}return y+cf(s,m)}]},!C1||!w1||ff)});var df=g((pw,gf)=>{"use strict";var q1=te(),P1=Ae(),A1=z(),R1=A1("match");gf.exports=function(i){var e;return q1(i)&&((e=i[R1])!==void 0?!!e:P1(i)==="RegExp")}});var Jt=g((yw,pf)=>{"use strict";var N1=df(),I1=TypeError;pf.exports=function(i){if(N1(i))throw new I1("The method doesn't accept regular expressions");return i}});var ei=g((mw,yf)=>{"use strict";var M1=z(),V1=M1("match");yf.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[V1]=!1,"/./"[i](e)}catch{}}return!1}});var xf=g(()=>{"use strict";var _1=ee(),D1=Br(),L1=Ar().f,k1=je(),mf=de(),B1=Jt(),U1=le(),j1=ei(),F1=ve(),z1=D1("".slice),$1=Math.min,bf=j1("startsWith"),G1=!F1&&!bf&&!!function(){var i=L1(String.prototype,"startsWith");return i&&!i.writable}();_1({target:"String",proto:!0,forced:!G1&&!bf},{startsWith:function(e){var r=mf(U1(this));B1(e);var t=k1($1(arguments.length>1?arguments[1]:void 0,r.length)),a=mf(e);return z1(r,t,t+a.length)===a}})});var Of=g((Tw,Tf)=>{"use strict";var H1=z(),Y1=Gr(),X1=Oe().f,En=H1("unscopables"),wn=Array.prototype;wn[En]===void 0&&X1(wn,En,{configurable:!0,value:Y1(null)});Tf.exports=function(i){wn[En][i]=!0}});var Ef=g((Ow,Sf)=>{"use strict";var W1=D();Sf.exports=!W1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var qn=g((Sw,Cf)=>{"use strict";var Q1=he(),K1=k(),Z1=qr(),J1=mt(),e2=Ef(),wf=J1("IE_PROTO"),Cn=Object,r2=Cn.prototype;Cf.exports=e2?Cn.getPrototypeOf:function(i){var e=Z1(i);if(Q1(e,wf))return e[wf];var r=e.constructor;return K1(r)&&e instanceof r?r.prototype:e instanceof Cn?r2:null}});var Nn=g((Ew,Af)=>{"use strict";var t2=D(),i2=k(),a2=te(),n2=Gr(),qf=qn(),s2=Ne(),o2=z(),u2=ve(),Rn=o2("iterator"),Pf=!1,Se,Pn,An;[].keys&&(An=[].keys(),"next"in An?(Pn=qf(qf(An)),Pn!==Object.prototype&&(Se=Pn)):Pf=!0);var l2=!a2(Se)||t2(function(){var i={};return Se[Rn].call(i)!==i});l2?Se={}:u2&&(Se=n2(Se));i2(Se[Rn])||s2(Se,Rn,function(){return this});Af.exports={IteratorPrototype:Se,BUGGY_SAFARI_ITERATORS:Pf}});var Nf=g((ww,Rf)=>{"use strict";var h2=Nn().IteratorPrototype,c2=Gr(),f2=ht(),v2=Lr(),g2=hr(),d2=function(){return this};Rf.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=c2(h2,{next:f2(+!t,r)}),v2(i,a,!1,!0),g2[a]=d2,i}});var Ff=g((Cw,jf)=>{"use strict";var p2=ee(),y2=H(),ri=ve(),Bf=Rr(),m2=k(),b2=Nf(),If=qn(),Mf=Ta(),x2=Lr(),T2=er(),In=Ne(),O2=z(),Vf=hr(),Uf=Nn(),S2=Bf.PROPER,E2=Bf.CONFIGURABLE,_f=Uf.IteratorPrototype,ti=Uf.BUGGY_SAFARI_ITERATORS,Hr=O2("iterator"),Df="keys",Yr="values",Lf="entries",kf=function(){return this};jf.exports=function(i,e,r,t,a,n,o){b2(r,e,t);var s=function(m){if(m===a&&v)return v;if(!ti&&m&&m in h)return h[m];switch(m){case Df:return function(){return new r(this,m)};case Yr:return function(){return new r(this,m)};case Lf:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,f=h[Hr]||h["@@iterator"]||a&&h[a],v=!ti&&f||s(a),c=e==="Array"&&h.entries||f,d,p,y;if(c&&(d=If(c.call(new i)),d!==Object.prototype&&d.next&&(!ri&&If(d)!==_f&&(Mf?Mf(d,_f):m2(d[Hr])||In(d,Hr,kf)),x2(d,u,!0,!0),ri&&(Vf[u]=kf))),S2&&a===Yr&&f&&f.name!==Yr&&(!ri&&E2?T2(h,"name",Yr):(l=!0,v=function(){return y2(f,this)})),a)if(p={values:s(Yr),keys:n?v:s(Df),entries:s(Lf)},o)for(y in p)(ti||l||!(y in h))&&In(h,y,p[y]);else p2({target:e,proto:!0,forced:ti||l},p);return(!ri||o)&&h[Hr]!==v&&In(h,Hr,v,{name:a}),Vf[e]=v,p}});var $f=g((qw,zf)=>{"use strict";zf.exports=function(i,e){return{value:i,done:e}}});var Vn=g((Pw,Wf)=>{"use strict";var w2=Ke(),Mn=Of(),Gf=hr(),Yf=Ir(),C2=Oe().f,q2=Ff(),ii=$f(),P2=ve(),A2=ue(),Xf="Array Iterator",R2=Yf.set,N2=Yf.getterFor(Xf);Wf.exports=q2(Array,"Array",function(i,e){R2(this,{type:Xf,target:w2(i),index:0,kind:e})},function(){var i=N2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,ii(void 0,!0);switch(i.kind){case"keys":return ii(r,!1);case"values":return ii(e[r],!1)}return ii([r,e[r]],!1)},"values");var Hf=Gf.Arguments=Gf.Array;Mn("keys");Mn("values");Mn("entries");if(!P2&&A2&&Hf.name!=="values")try{C2(Hf,"name",{value:"values"})}catch{}});var Kf=g((Aw,Qf)=>{"use strict";Qf.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var ev=g((Rw,Jf)=>{"use strict";var I2=Pr(),_n=I2("span").classList,Zf=_n&&_n.constructor&&_n.constructor.prototype;Jf.exports=Zf===Object.prototype?void 0:Zf});var nv=g(()=>{"use strict";var rv=I(),iv=Kf(),M2=ev(),Xr=Vn(),tv=er(),V2=Lr(),_2=z(),Dn=_2("iterator"),Ln=Xr.values,av=function(i,e){if(i){if(i[Dn]!==Ln)try{tv(i,Dn,Ln)}catch{i[Dn]=Ln}if(V2(i,e,!0),iv[e]){for(var r in Xr)if(i[r]!==Xr[r])try{tv(i,r,Xr[r])}catch{i[r]=Xr[r]}}}};for(ai in iv)av(rv[ai]&&rv[ai].prototype,ai);var ai;av(M2,"DOMTokenList")});var fv=g((Uw,cv)=>{"use strict";var D2=xe(),L2=qr(),k2=ji(),B2=Et(),uv=TypeError,lv="Reduce of empty array with no initial value",hv=function(i){return function(e,r,t,a){var n=L2(e),o=k2(n),s=B2(n);if(D2(r),s===0&&t<2)throw new uv(lv);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new uv(lv)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};cv.exports={left:hv(!1),right:hv(!0)}});var kn=g((jw,vv)=>{"use strict";var U2=D();vv.exports=function(i,e){var r=[][i];return!!r&&U2(function(){r.call(null,e||function(){return 1},1)})}});var dv=g(()=>{"use strict";var j2=ee(),F2=fv().left,z2=kn(),gv=ft(),$2=Dr(),G2=!$2&&gv>79&&gv<83,H2=G2||!z2("reduce");j2({target:"Array",proto:!0,forced:H2},{reduce:function(e){var r=arguments.length;return F2(this,e,r,r>1?arguments[1]:void 0)}})});var mv=g(()=>{"use strict";var Y2=ee(),X2=Br(),W2=Ar().f,Q2=je(),pv=de(),K2=Jt(),Z2=le(),J2=ei(),eT=ve(),rT=X2("".slice),tT=Math.min,yv=J2("endsWith"),iT=!eT&&!yv&&!!function(){var i=W2(String.prototype,"endsWith");return i&&!i.writable}();Y2({target:"String",proto:!0,forced:!iT&&!yv},{endsWith:function(e){var r=pv(Z2(this));K2(e);var t=arguments.length>1?arguments[1]:void 0,a=r.length,n=t===void 0?a:tT(Q2(t),a),o=pv(e);return rT(r,n-o.length,n)===o}})});var Sv=g(()=>{"use strict";var Bn=H(),Ov=L(),aT=Ht(),nT=J(),sT=te(),oT=le(),uT=Sa(),lT=Yt(),hT=je(),bv=de(),cT=Be(),xv=Wt(),fT=ln(),vT=D(),fr=fT.UNSUPPORTED_Y,gT=4294967295,dT=Math.min,Un=Ov([].push),jn=Ov("".slice),pT=!vT(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),Tv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;aT("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Bn(e,this,a,n)}:e;return[function(n,o){var s=oT(this),u=sT(n)?cT(n,i):void 0;return u?Bn(u,n,s,o):Bn(t,bv(s),n,o)},function(a,n){var o=nT(this),s=bv(a);if(!Tv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=uT(o,RegExp),h=o.unicode,f=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(fr?"g":"y"),v=new l(fr?"^(?:"+o.source+")":o,f),c=n===void 0?gT:n>>>0;if(c===0)return[];if(s.length===0)return xv(v,s)===null?[s]:[];for(var d=0,p=0,y=[];p<s.length;){v.lastIndex=fr?0:p;var m=xv(v,fr?jn(s,p):s),T;if(m===null||(T=dT(hT(v.lastIndex+(fr?p:0)),s.length))===d)p=lT(s,p,h);else{if(Un(y,jn(s,d,p)),y.length===c)return y;for(var x=1;x<=m.length-1;x++)if(Un(y,m[x]),y.length===c)return y;p=d=T}}return Un(y,jn(s,d)),y}]},Tv||!pT,fr)});var wv=g((Ev,Wr)=>{(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Wr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Wr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Wr.exports=function(){return Date.now()-r},r=Date.now()):(Wr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(Ev)});var qv=g((Xw,ui)=>{var yT=wv(),Ee=typeof window>"u"?global:window,si=["moz","webkit"],gr="AnimationFrame",dr=Ee["request"+gr],Qr=Ee["cancel"+gr]||Ee["cancelRequest"+gr];for(vr=0;!dr&&vr<si.length;vr++)dr=Ee[si[vr]+"Request"+gr],Qr=Ee[si[vr]+"Cancel"+gr]||Ee[si[vr]+"CancelRequest"+gr];var vr;(!dr||!Qr)&&(oi=0,Fn=0,Me=[],Cv=1e3/60,dr=function(i){if(Me.length===0){var e=yT(),r=Math.max(0,Cv-(e-oi));oi=r+e,setTimeout(function(){var t=Me.slice(0);Me.length=0;for(var a=0;a<t.length;a++)if(!t[a].cancelled)try{t[a].callback(oi)}catch(n){setTimeout(function(){throw n},0)}},Math.round(r))}return Me.push({handle:++Fn,callback:i,cancelled:!1}),Fn},Qr=function(i){for(var e=0;e<Me.length;e++)Me[e].handle===i&&(Me[e].cancelled=!0)});var oi,Fn,Me,Cv;ui.exports=function(i){return dr.call(Ee,i)};ui.exports.cancel=function(){Qr.apply(Ee,arguments)};ui.exports.polyfill=function(i){i||(i=Ee),i.requestAnimationFrame=dr,i.cancelAnimationFrame=Qr}});var zn=g((Ww,Pv)=>{"use strict";Pv.exports=`
|
7
7
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Nv=g((Qw,Rv)=>{"use strict";var mT=L(),bT=le(),xT=de(),Gn=zn(),Av=mT("".replace),TT=RegExp("^["+Gn+"]+"),OT=RegExp("(^|[^"+Gn+"])["+Gn+"]+$"),$n=function(i){return function(e){var r=xT(bT(e));return i&1&&(r=Av(r,TT,"")),i&2&&(r=Av(r,OT,"$1")),r}};Rv.exports={start:$n(1),end:$n(2),trim:$n(3)}});var _v=g((Kw,Vv)=>{"use strict";var ST=Rr().PROPER,ET=D(),Iv=zn(),Mv="\u200B\x85\u180E";Vv.exports=function(i){return ET(function(){return!!Iv[i]()||Mv[i]()!==Mv||ST&&Iv[i].name!==i})}});var Dv=g(()=>{"use strict";var wT=ee(),CT=Nv().trim,qT=_v();wT({target:"String",proto:!0,forced:qT("trim")},{trim:function(){return CT(this)}})});var kv=g((eC,Lv)=>{Lv.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t<r.length;t++){var a=r[t].re,n=r[t].process,o=a.exec(i);if(o){var s=n(o);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l<r.length;l++)for(var h=r[l].example,f=0;f<h.length;f++)u[u.length]=h[f];for(var v in e)u[u.length]=v;var c=document.createElement("ul");c.setAttribute("id","rgbcolor-examples");for(var l=0;l<u.length;l++)try{var d=document.createElement("li"),p=new RGBColor(u[l]),y=document.createElement("div");y.style.cssText="margin: 3px; border: 1px solid black; background:"+p.toHex()+"; color:"+p.toHex(),y.appendChild(document.createTextNode("test"));var m=document.createTextNode(" "+u[l]+" -> "+p.toRGB()+" -> "+p.toHex());d.appendChild(y),d.appendChild(m),c.appendChild(d)}catch{}return c}}});var Uv=g(()=>{"use strict";var PT=ee(),AT=Br(),RT=pa().indexOf,NT=kn(),Hn=AT([].indexOf),Bv=!!Hn&&1/Hn([1],1,-0)<0,IT=Bv||!NT("indexOf");PT({target:"Array",proto:!0,forced:IT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return Bv?Hn(this,e,r)||0:RT(this,e,r)}})});var Fv=g(()=>{"use strict";var MT=ee(),VT=L(),_T=Jt(),DT=le(),jv=de(),LT=ei(),kT=VT("".indexOf);MT({target:"String",proto:!0,forced:!LT("includes")},{includes:function(e){return!!~kT(jv(DT(this)),jv(_T(e)),arguments.length>1?arguments[1]:void 0)}})});var $v=g((nC,zv)=>{"use strict";var BT=Ae();zv.exports=Array.isArray||function(e){return BT(e)==="Array"}});var Hv=g(()=>{"use strict";var UT=ee(),jT=L(),FT=$v(),zT=jT([].reverse),Gv=[1,2];UT({target:"Array",proto:!0,forced:String(Gv)===String(Gv.reverse())},{reverse:function(){return FT(this)&&(this.length=this.length),zT(this)}})});var ng=g(()=>{"use strict";var XT=Rr().PROPER,WT=Ne(),QT=J(),tg=de(),KT=D(),ZT=Xt(),Wn="toString",ig=RegExp.prototype,ag=ig[Wn],JT=KT(function(){return ag.call({source:"a",flags:"b"})!=="/a/b"}),eO=XT&&ag.name!==Wn;(JT||eO)&&WT(ig,Wn,function(){var e=QT(this),r=tg(e.source),t=tg(ZT(e));return"/"+r+"/"+t},{unsafe:!0})});var fC=Z(yc(),1);function mc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function Te(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){mc(n,t,a,o,s,"next",u)}function s(u){mc(n,t,a,o,s,"throw",u)}o(void 0)})}}var gC=Z(of(),1),dC=Z(vf(),1),pC=Z(xf(),1),yC=Z(Vn(),1),mC=Z(nv(),1);function sv(i,e){if(Tr(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(Tr(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function ov(i){var e=sv(i,"string");return Tr(e)=="symbol"?e:e+""}function ni(i,e,r){return(e=ov(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var xC=Z(dv(),1),TC=Z(mv(),1),OC=Z(Sv(),1),vi=Z(qv(),1),SC=Z(Dv(),1),gi=Z(kv(),1),EC=Z(Uv(),1),wC=Z(Fv(),1),CC=Z(Hv(),1);var Jv=function(i,e){return(Jv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function eg(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}Jv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function $T(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;r<i.length;r++){var t=i[r];if(t.type===b.CLOSE_PATH)e+="z";else if(t.type===b.HORIZ_LINE_TO)e+=(t.relative?"h":"H")+t.x;else if(t.type===b.VERT_LINE_TO)e+=(t.relative?"v":"V")+t.y;else if(t.type===b.MOVE_TO)e+=(t.relative?"m":"M")+t.x+" "+t.y;else if(t.type===b.LINE_TO)e+=(t.relative?"l":"L")+t.x+" "+t.y;else if(t.type===b.CURVE_TO)e+=(t.relative?"c":"C")+t.x1+" "+t.y1+" "+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_CURVE_TO)e+=(t.relative?"s":"S")+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.QUAD_TO)e+=(t.relative?"q":"Q")+t.x1+" "+t.y1+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_QUAD_TO)e+=(t.relative?"t":"T")+t.x+" "+t.y;else{if(t.type!==b.ARC)throw new Error('Unexpected command type "'+t.type+'" at index '+r+".");e+=(t.relative?"a":"A")+t.rX+" "+t.rY+" "+t.xRot+" "+ +t.lArcFlag+" "+ +t.sweepFlag+" "+t.x+" "+t.y}}return e}function Xn(i,e){var r=i[0],t=i[1];return[r*Math.cos(e)-t*Math.sin(e),r*Math.sin(e)+t*Math.cos(e)]}function ye(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];for(var r=0;r<i.length;r++)if(typeof i[r]!="number")throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof i[r]+" == typeof "+i[r]);return!0}var Ve=Math.PI;function Yn(i,e,r){i.lArcFlag=i.lArcFlag===0?0:1,i.sweepFlag=i.sweepFlag===0?0:1;var t=i.rX,a=i.rY,n=i.x,o=i.y;t=Math.abs(i.rX),a=Math.abs(i.rY);var s=Xn([(e-n)/2,(r-o)/2],-i.xRot/180*Ve),u=s[0],l=s[1],h=Math.pow(u,2)/Math.pow(t,2)+Math.pow(l,2)/Math.pow(a,2);1<h&&(t*=Math.sqrt(h),a*=Math.sqrt(h)),i.rX=t,i.rY=a;var f=Math.pow(t,2)*Math.pow(l,2)+Math.pow(a,2)*Math.pow(u,2),v=(i.lArcFlag!==i.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(t,2)*Math.pow(a,2)-f)/f)),c=t*l/a*v,d=-a*u/t*v,p=Xn([c,d],i.xRot/180*Ve);i.cX=p[0]+(e+n)/2,i.cY=p[1]+(r+o)/2,i.phi1=Math.atan2((l-d)/a,(u-c)/t),i.phi2=Math.atan2((-l-d)/a,(-u-c)/t),i.sweepFlag===0&&i.phi2>i.phi1&&(i.phi2-=2*Ve),i.sweepFlag===1&&i.phi2<i.phi1&&(i.phi2+=2*Ve),i.phi1*=180/Ve,i.phi2*=180/Ve}function Yv(i,e,r){ye(i,e,r);var t=i*i+e*e-r*r;if(0>t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var U,we=Math.PI/180;function Xv(i,e,r){return(1-r)*i+r*e}function Wv(i,e,r,t){return i+Math.cos(t/180*Ve)*e+Math.sin(t/180*Ve)*r}function Qv(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)<a?[-l/u]:function(h,f,v){v===void 0&&(v=1e-6);var c=h*h/4-f;if(c<-v)return[];if(c<=v)return[-h/2];var d=Math.sqrt(c);return[-h/2-d,-h/2+d]}(u/s,l/s,a)}function Kv(i,e,r,t,a){var n=1-a;return i*(n*n*n)+e*(3*n*n*a)+r*(3*n*a*a)+t*(a*a*a)}(function(i){function e(){return a(function(s,u,l){return s.relative&&(s.x1!==void 0&&(s.x1+=u),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=u),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=u),s.y!==void 0&&(s.y+=l),s.relative=!1),s})}function r(){var s=NaN,u=NaN,l=NaN,h=NaN;return a(function(f,v,c){return f.type&b.SMOOTH_CURVE_TO&&(f.type=b.CURVE_TO,s=isNaN(s)?v:s,u=isNaN(u)?c:u,f.x1=f.relative?v-s:2*v-s,f.y1=f.relative?c-u:2*c-u),f.type&b.CURVE_TO?(s=f.relative?v+f.x2:f.x2,u=f.relative?c+f.y2:f.y2):(s=NaN,u=NaN),f.type&b.SMOOTH_QUAD_TO&&(f.type=b.QUAD_TO,l=isNaN(l)?v:l,h=isNaN(h)?c:h,f.x1=f.relative?v-l:2*v-l,f.y1=f.relative?c-h:2*c-h),f.type&b.QUAD_TO?(l=f.relative?v+f.x1:f.x1,h=f.relative?c+f.y1:f.y1):(l=NaN,h=NaN),f})}function t(){var s=NaN,u=NaN;return a(function(l,h,f){if(l.type&b.SMOOTH_QUAD_TO&&(l.type=b.QUAD_TO,s=isNaN(s)?h:s,u=isNaN(u)?f:u,l.x1=l.relative?h-s:2*h-s,l.y1=l.relative?f-u:2*f-u),l.type&b.QUAD_TO){s=l.relative?h+l.x1:l.x1,u=l.relative?f+l.y1:l.y1;var v=l.x1,c=l.y1;l.type=b.CURVE_TO,l.x1=((l.relative?0:h)+2*v)/3,l.y1=((l.relative?0:f)+2*c)/3,l.x2=(l.x+2*v)/3,l.y2=(l.y+2*c)/3}else s=NaN,u=NaN;return l})}function a(s){var u=0,l=0,h=NaN,f=NaN;return function(v){if(isNaN(h)&&!(v.type&b.MOVE_TO))throw new Error("path must start with moveto");var c=s(v,u,l,h,f);return v.type&b.CLOSE_PATH&&(u=h,l=f),v.x!==void 0&&(u=v.relative?u+v.x:v.x),v.y!==void 0&&(l=v.relative?l+v.y:v.y),v.type&b.MOVE_TO&&(h=u,f=l),c}}function n(s,u,l,h,f,v){return ye(s,u,l,h,f,v),a(function(c,d,p,y){var m=c.x1,T=c.x2,x=c.relative&&!isNaN(y),O=c.x!==void 0?c.x:x?0:d,q=c.y!==void 0?c.y:x?0:p;function w(ce){return ce*ce}c.type&b.HORIZ_LINE_TO&&u!==0&&(c.type=b.LINE_TO,c.y=c.relative?0:p),c.type&b.VERT_LINE_TO&&l!==0&&(c.type=b.LINE_TO,c.x=c.relative?0:d),c.x!==void 0&&(c.x=c.x*s+q*l+(x?0:f)),c.y!==void 0&&(c.y=O*u+c.y*h+(x?0:v)),c.x1!==void 0&&(c.x1=c.x1*s+c.y1*l+(x?0:f)),c.y1!==void 0&&(c.y1=m*u+c.y1*h+(x?0:v)),c.x2!==void 0&&(c.x2=c.x2*s+c.y2*l+(x?0:f)),c.y2!==void 0&&(c.y2=T*u+c.y2*h+(x?0:v));var S=s*h-u*l;if(c.xRot!==void 0&&(s!==1||u!==0||l!==0||h!==1))if(S===0)delete c.rX,delete c.rY,delete c.xRot,delete c.lArcFlag,delete c.sweepFlag,c.type=b.LINE_TO;else{var P=c.xRot*Math.PI/180,A=Math.sin(P),_=Math.cos(P),B=1/w(c.rX),R=1/w(c.rY),X=w(_)*B+w(A)*R,W=2*A*_*(B-R),G=w(A)*B+w(_)*R,Q=X*h*h-W*u*h+G*u*u,Y=W*(s*h+u*l)-2*(X*l*h+G*s*u),K=X*l*l-W*s*l+G*s*s,N=(Math.atan2(Y,Q-K)+Math.PI)%Math.PI/2,M=Math.sin(N),re=Math.cos(N);c.rX=Math.abs(S)/Math.sqrt(Q*w(re)+Y*M*re+K*w(M)),c.rY=Math.abs(S)/Math.sqrt(Q*w(M)-Y*M*re+K*w(re)),c.xRot=180*N/Math.PI}return c.sweepFlag!==void 0&&0>S&&(c.sweepFlag=+!c.sweepFlag),c})}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a(function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a(function(h,f,v,c,d){if(isNaN(c)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:f),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?c-f:c,h.y=h.relative?d-v:d),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h})},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,f=NaN;return a(function(v,c,d,p,y){var m=Math.abs,T=!1,x=0,O=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:c-u,O=isNaN(l)?0:d-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?c+v.x2:v.x2,l=v.relative?d+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?c:2*c-h,f=isNaN(f)?d:2*d-f):v.type&b.QUAD_TO?(h=v.relative?c+v.x1:v.x1,f=v.relative?d+v.y1:v.y2):(h=NaN,f=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var q=v.x===void 0?0:v.relative?v.x:v.x-c,w=v.y===void 0?0:v.relative?v.y:v.y-d;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-c:h-c,O=isNaN(f)?v.y1===void 0?O:v.relative?v.y:v.y1-d:f-d;var S=v.x2===void 0?0:v.relative?v.x:v.x2-c,P=v.y2===void 0?0:v.relative?v.y:v.y2-d;m(q)<=s&&m(w)<=s&&m(x)<=s&&m(O)<=s&&m(S)<=s&&m(P)<=s&&(T=!0)}return v.type&b.CLOSE_PATH&&m(c-p)<=s&&m(d-y)<=s&&(T=!0),T?[]:v})},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),f=Math.cos(s);return n(f,h,-h,f,u-u*f+l*h,l-u*h-l*f)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a(function(s,u,l){return b.ARC===s.type?function(h,f,v){var c,d,p,y;h.cX||Yn(h,f,v);for(var m=Math.min(h.phi1,h.phi2),T=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(T/90),O=new Array(x),q=f,w=v,S=0;S<x;S++){var P=Xv(h.phi1,h.phi2,S/x),A=Xv(h.phi1,h.phi2,(S+1)/x),_=A-P,B=4/3*Math.tan(_*we/4),R=[Math.cos(P*we)-B*Math.sin(P*we),Math.sin(P*we)+B*Math.cos(P*we)],X=R[0],W=R[1],G=[Math.cos(A*we),Math.sin(A*we)],Q=G[0],Y=G[1],K=[Q+B*Math.sin(A*we),Y-B*Math.cos(A*we)],N=K[0],M=K[1];O[S]={relative:h.relative,type:b.CURVE_TO};var re=function(ce,be){var Pe=Xn([ce*h.rX,be*h.rY],h.xRot),We=Pe[0],et=Pe[1];return[h.cX+We,h.cY+et]};c=re(X,W),O[S].x1=c[0],O[S].y1=c[1],d=re(N,M),O[S].x2=d[0],O[S].y2=d[1],p=re(Q,Y),O[S].x=p[0],O[S].y=p[1],h.relative&&(O[S].x1-=q,O[S].y1-=w,O[S].x2-=q,O[S].y2-=w,O[S].x-=q,O[S].y-=w),q=(y=[O[S].x,O[S].y])[0],w=y[1]}return O}(s,s.relative?0:u,s.relative?0:l):s})},i.ANNOTATE_ARCS=function(){return a(function(s,u,l){return s.relative&&(u=0,l=0),b.ARC===s.type&&Yn(s,u,l),s})},i.CLONE=o,i.CALCULATE_BOUNDS=function(){var s=function(v){var c={};for(var d in v)c[d]=v[d];return c},u=e(),l=t(),h=r(),f=a(function(v,c,d){var p=h(l(u(s(v))));function y(M){M>f.maxX&&(f.maxX=M),M<f.minX&&(f.minX=M)}function m(M){M>f.maxY&&(f.maxY=M),M<f.minY&&(f.minY=M)}if(p.type&b.DRAWING_COMMANDS&&(y(c),m(d)),p.type&b.HORIZ_LINE_TO&&y(p.x),p.type&b.VERT_LINE_TO&&m(p.y),p.type&b.LINE_TO&&(y(p.x),m(p.y)),p.type&b.CURVE_TO){y(p.x),m(p.y);for(var T=0,x=Qv(c,p.x1,p.x2,p.x);T<x.length;T++)0<(N=x[T])&&1>N&&y(Kv(c,p.x1,p.x2,p.x,N));for(var O=0,q=Qv(d,p.y1,p.y2,p.y);O<q.length;O++)0<(N=q[O])&&1>N&&m(Kv(d,p.y1,p.y2,p.y,N))}if(p.type&b.ARC){y(p.x),m(p.y),Yn(p,c,d);for(var w=p.xRot/180*Math.PI,S=Math.cos(w)*p.rX,P=Math.sin(w)*p.rX,A=-Math.sin(w)*p.rY,_=Math.cos(w)*p.rY,B=p.phi1<p.phi2?[p.phi1,p.phi2]:-180>p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],R=B[0],X=B[1],W=function(M){var re=M[0],ce=M[1],be=180*Math.atan2(ce,re)/Math.PI;return be<R?be+360:be},G=0,Q=Yv(A,-S,0).map(W);G<Q.length;G++)(N=Q[G])>R&&N<X&&y(Wv(p.cX,S,A,N));for(var Y=0,K=Yv(_,-P,0).map(W);Y<K.length;Y++){var N;(N=K[Y])>R&&N<X&&m(Wv(p.cY,P,_,N))}}return v});return f.minX=1/0,f.maxX=-1/0,f.minY=1/0,f.maxY=-1/0,f}})(U||(U={}));var pe,rg=function(){function i(){}return i.prototype.round=function(e){return this.transform(U.ROUND(e))},i.prototype.toAbs=function(){return this.transform(U.TO_ABS())},i.prototype.toRel=function(){return this.transform(U.TO_REL())},i.prototype.normalizeHVZ=function(e,r,t){return this.transform(U.NORMALIZE_HVZ(e,r,t))},i.prototype.normalizeST=function(){return this.transform(U.NORMALIZE_ST())},i.prototype.qtToC=function(){return this.transform(U.QT_TO_C())},i.prototype.aToC=function(){return this.transform(U.A_TO_C())},i.prototype.sanitize=function(e){return this.transform(U.SANITIZE(e))},i.prototype.translate=function(e,r){return this.transform(U.TRANSLATE(e,r))},i.prototype.scale=function(e,r){return this.transform(U.SCALE(e,r))},i.prototype.rotate=function(e,r,t){return this.transform(U.ROTATE(e,r,t))},i.prototype.matrix=function(e,r,t,a,n,o){return this.transform(U.MATRIX(e,r,t,a,n,o))},i.prototype.skewX=function(e){return this.transform(U.SKEW_X(e))},i.prototype.skewY=function(e){return this.transform(U.SKEW_Y(e))},i.prototype.xSymmetry=function(e){return this.transform(U.X_AXIS_SYMMETRY(e))},i.prototype.ySymmetry=function(e){return this.transform(U.Y_AXIS_SYMMETRY(e))},i.prototype.annotateArcs=function(){return this.transform(U.ANNOTATE_ARCS())},i}(),GT=function(i){return i===" "||i===" "||i==="\r"||i===`
|
@@ -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{d as e}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{d as e}from"./C26S3PRR.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{ha as u,ib as l,kc as m}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{ha as u,ib as l,kc as m}from"./ZIHEWLDS.js";import{v as c}from"./BMCLDOUD.js";export default $arcgis.t(([])=>{function x(t){let e="",s="?";return t.forEach(a=>{a.k&&a.v&&(e+=s+a.k+"="+a.v,s="&")}),e}function W(t){return t?m(t,{}).then(e=>Promise.resolve(!!e)):Promise.resolve(!1)}async function d(t,e){let s=e,a=await s.getUsername(),n={q:new c().match(t).in("title").and().match(a).in("owner"),filter:"type:Solution",authentication:s},f=(await l(n)).results.map(r=>r.title),{folders:h}=await u(s),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function q(t,e){return t.length<=0?{status:!1,type:"empty"}:t.length>250?{status:!1,type:"exceed length"}:/[/<>]/u.test(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function C(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function y(t){let e="",s="?";return t.forEach(a=>{a.k&&a.v&&(e+=s+a.k+"="+a.v,s="&")}),e}function E(t,e,s,a){let n="";return e?n=a+"/sharing/rest/content/items/"+t+"/info/"+e+y([{k:"w",v:"400"}]):n=s,n}function L(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function N(t,e,s){return e.some(a=>a.wkid===t?(s=a.defaultExtent,!0):!1),s}function S(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function b(t,e){let s="";return t.some(a=>a.startsWith(e)?(s=a.substring(e.length),!0):!1),s}return{a:x,b:W,c:d,d:q,e:C,f:y,g:E,h:L,i:N,j:S,k:b}},"intl")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{H as l,J as I}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{H as l,J as I}from"./ZIHEWLDS.js";import{h}from"./QRBPOHQZ.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as t}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as t}from"./EGBZLRDM.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import"./SWTVJXVH.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.
|
3
|
+
v1.1.0-next.20250805 */
|
4
4
|
var i=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{i 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 b from"./6NDQZEMR.js";import a from"./IPTZYIBI.js";import{a as _}from"./PQSW6BF7.js";import{b as T}from"./527QXG4G.js";import"./CVIIKKXY.js";import{A as l,C as g,h as C,i as r,n as x,q as L,x as $,y}from"./JHUOBC6K.js";import"./BTCA7G24.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import b from"./P4AJ6PQC.js";import a from"./H34BRZJT.js";import{a as _}from"./UEE7MT2U.js";import{b as T}from"./Q3EL3SKK.js";import"./VD5E2IZ5.js";import{A as l,C as g,h as C,i as r,n as x,q as L,x as $,y}from"./QXM5FILZ.js";import"./SWTVJXVH.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as P}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as P}from"./YEAPMC5O.js";import{$b as F,H as g,J as m,K as d,L as I,bc as y,cc as v,dc as R,e as n,ec as w,fc as T,mb as b,pa as S}from"./ZIHEWLDS.js";import{b as o,h as _}from"./QRBPOHQZ.js";var u={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},f=class{constructor(){this._hasChanges=!1,this._store=P({...u})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(a){let e=this._store.get("solutionData").templates,t;return e.some(s=>a==s.itemId?(t=s,!0):!1),t||void 0}getStoreInfo(a){return this._store.get(a)}async loadSolution(a,e){this._authentication=e;let t=await S(a,e);if(t){let s=m(t,"params.wkid.default","");await this._prepareSolutionItemsForEditing(a,t.templates,e);let r=this._getFeatureServices(t.templates),i=this._getSpatialReferenceInfo(r,s);this._store.set("solutionItemId",a),this._store.set("defaultWkid",s),this._store.set("solutionData",t),this._store.set("featureServices",r),this._store.set("spatialReferenceInfo",i)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(a){a.resourceFilePaths.forEach(e=>{e.type===n.Thumbnail&&(e.updateType===o.None?e.updateType=o.Remove:(e.updateType===o.Add||e.updateType===o.Update)&&(e.updateType=o.Obsolete))}),a.resourceFilePaths=a.resourceFilePaths.filter(e=>e.updateType!=o.Obsolete),a.resourceFilePaths.push({blob:a.thumbnail,filename:a.thumbnail.name,type:n.Thumbnail,updateType:o.Add}),this.setItemInfo(a)}async saveSolution(){let a=this._store.get("solutionItemId"),e=this._store.get("solutionData"),t=this._store.get("spatialReferenceInfo"),s=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(a,e.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(s,e.templates),t.enabled){let r={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};t.default&&(r.default=t.default),d(e,"params.wkid",r)}else d(e,"params.wkid",{});await b({id:a,text:e},this._authentication)}setItemInfo(a){let e=this._store.get("solutionData");e.templates.some(t=>a.itemId==t.itemId?(t=a,this._store.set("solutionData",e),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(a,e){this._store.set(a,e),this._flagStoreHasChanges(!0)}_testAccess(a,e,t,s){switch(a){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(e);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(e,t);case"_getResourceFilePaths":return this._getResourceFilePaths(e,t,s);case"_getResourceStorageName":return this._getResourceStorageName(e,t);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(e,t);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(e,t,s);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(e,t,s);case"_splitFilename":return this._splitFilename(e);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(e,t)}return null}_emptyTheStore(){this._store.set("solutionItemId",u.solutionItemId),this._store.set("defaultWkid",u.defaultWkid),this._store.set("solutionData",u.solutionData),this._store.set("templateEdits",u.templateEdits),this._store.set("featureServices",u.featureServices),this._store.set("spatialReferenceInfo",u.spatialReferenceInfo)}_flagStoreHasChanges(a){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:a,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=a}_getCustomizableFeatureServices(a){return a.reduce((e,t)=>(t.type==="Feature Service"&&(t?.item?.typeKeywords||[]).indexOf("View Service")<0&&e.push(t),e),[])}_getFeatureServices(a){return this._getCustomizableFeatureServices(a).map(e=>{let t=e.item.title||e.item.name,s=g(e,"properties.service.spatialReference.wkid");return{id:e.itemId,name:t,enabled:s.toString().startsWith(_),wkid:s}})}_getItemsSharedWithThisGroup(a,e){return e.reduce((t,s)=>(s.itemId!==a.itemId&&s.type!=="Group"&&t.push({id:s.itemId,title:s.item.name||s.item.title,isShared:(s.groups||[]).indexOf(a.itemId)>-1,shareItem:(s.groups||[]).indexOf(a.itemId)>-1,type:s.type,typeKeywords:s.item.typeKeywords}),t),[])}_getResourceFilePaths(a,e,t){return y(t,a,e.resources,1).map(s=>(s.updateType=o.None,s))}_getResourceStorageName(a,e){let t=a;switch(e.type){case n.Data:t=`${t}_info_data`;break;case n.Info:t=`${t}_info`;break;case n.Metadata:t=`${t}_info_metadata`;break;case n.Resource:break;case n.Thumbnail:t=`${t}_info_thumbnail`;break}let s=e.filename;e.type==n.Data&&s&&!v(s)&&(s=s+".zip",t+="z");let r=e.folder?e.folder+"/"+s:s;return t+"/"+r}_getSpatialReferenceInfo(a,e){let t={};a.forEach(r=>{t[r.name]=r.enabled});let s={enabled:!1,services:t};return e&&(s.default=e),s}async _prepareSolutionItemsForEditing(a,e,t){let s=[];e.forEach(i=>{i.resourceFilePaths=this._getResourceFilePaths(a,i,t.portal),s.push(i.resourceFilePaths.length>0?R(t,i.resourceFilePaths):Promise.resolve()),i.groupDetails=i.type==="Group"?this._getItemsSharedWithThisGroup(i,e):[]});let r=await Promise.all(s);return e.forEach((i,l)=>{i.thumbnail=r[l]?r[l]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(a,e,t){let s=[],r=[];return e.forEach(i=>{i.resourceFilePaths.forEach(async l=>{let p=this._getResourceStorageName(i.itemId,l);switch(l.updateType){case o.Add:let{prefix:k,suffix:E}=this._splitFilename(p);i.resources.push(p),s.push({itemId:i.itemId,file:l.blob,folder:k,filename:E});break;case o.Update:r.push(new Promise(async h=>{try{await T(a,p,l.blob,t)}catch(c){console.log("Unable to update "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break;case o.Remove:r.push(new Promise(async h=>{try{await w(a,p,t),i.resources=i.resources.filter(c=>c!==p)}catch(c){console.log("Unable to remove "+p+" for item "+i.itemId+": "+JSON.stringify(c))}h()}));break}return Promise.resolve()}),delete i.thumbnail,delete i.groupDetails}),Promise.all(r).then(async()=>(s.length>0&&await F(s,a,t),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(a,e){let t=this._getCustomizableFeatureServices(e);t.forEach(s=>{let r=a.find(i=>i.id===s.itemId);if(r){let i=m(s,"properties.service.spatialReference",{});i.wkid=r.wkid,r.enabled&&i.latestWkid&&delete i.latestWkid,I(s,"properties.service.spatialReference",i)}}),e.forEach(s=>{let r=t.find(i=>i.itemId===s.itemId);if(r){s.properties.service.spatialReference={...r.properties.service.spatialReference};let i=Number.parseInt(s.properties.service.spatialReference.wkid);Number.isNaN(i)||(s.properties.service.spatialReference.wkid=i)}})}_splitFilename(a){let e=a.split("/");return{prefix:e.length>1?e.slice(0,e.length-1).join("/"):void 0,suffix:e[e.length-1]}}},O=f.Store;export{O as a};
|
@@ -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 h}from"./
|
3
|
+
v1.1.0-next.20250805 */
|
4
|
+
import{a as h}from"./BMCLDOUD.js";function i(t){if(typeof t=="string")return t.replace(/\/sharing\/rest\/?$/,"");if(typeof t=="object"){let e=t.portalSelf||t,{portalHostname:s,urlKey:o,customBaseUrl:n}=e;if(s||o&&n)return e.isPortal?`https://${e.portalHostname}`:`https://${e.urlKey}.${e.customBaseUrl}`}return i(h(t))}function _(t){let r="enterprise";return t.includes("arcgis.com")&&(r="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(r="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(r="devext"),r}function S(t,r){return`${i(r)}/home/item.html?id=${t}`}var a="/apps/sites";function E(t,r){let e=i(r),s;/(devext|mapsdevext)\.arcgis\.com/.test(e)?s="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(e)?s="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(e)?s="https://hubcdn.arcgis.com/opendata-ui/assets":s=`${e}${a}`;let o=t.startsWith("/")?"":"/";return[s,t].join(o)}function R(t){let{host:r,path:e,query:s}=t,o=r.endsWith("/")?r:`${r}/`,n=new URL(e,o);return n.search=f(s),n.toString()}function f(t={}){let r=Object.keys(t).filter(e=>t[e]!==void 0).reduce((e,s)=>(e[s]=t[s],e),{});return new URLSearchParams(r).toString()}var u={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function q(t){if(t.isPortal)return`${i(t)}${a}`;{let r=t.portalHostname.split(".")[0];return`${u[r]||u.www}/opendata-ui/assets`}}function c(t){return`${i(t)}/sharing/rest`}function N(t){return t=t.toLowerCase(),t.includes("//")&&(t=t.split("//")[1]),t}function p(t){let r;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="https://hubqa.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="https://hubdev.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(r="https://hub.arcgis.com"),r}function K(t){if(t.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return p(t.portalHostname)}var V=(t,r,e)=>{let{id:s,access:o}=t,n=`${c(r)}/content/items/${s}`,l=new URLSearchParams({f:"json"});return o!=="public"&&e&&l.append("token",e),`${n}?${l.toString()}`};var m=/\/(map|feature)server/i,Q=t=>m.test(t);export{R as a,i as b,_ as c,q as d,c as e,N as f,p as g,K as h,S as i,V as j,E as k,Q as l};
|