@esri/solutions-components 1.2.0-next.6 → 1.2.0-next.8
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/{Y5DBURZM.js → 23PHCUDC.js} +2 -2
- package/dist/cdn/{HPB356BE.js → 242ZJVDU.js} +2 -2
- package/dist/cdn/{CT5OPGW5.js → 265MN7VO.js} +2 -2
- package/dist/cdn/{Q2ZBJ5N6.js → 2E36RQGW.js} +2 -2
- package/dist/cdn/{GVZGXTDK.js → 2IEFFZ3C.js} +2 -2
- package/dist/cdn/{RKE526NJ.js → 2IH2YK5J.js} +2 -2
- package/dist/cdn/{5RDDXPRM.js → 2JUGBF5Z.js} +2 -2
- package/dist/cdn/{Q6ET57BS.js → 2MW5FFFN.js} +2 -2
- package/dist/cdn/{BDU6FBLG.js → 2OHDQ4WD.js} +2 -2
- package/dist/cdn/{ZRBRPLDW.js → 2QOQTUKN.js} +2 -2
- package/dist/cdn/{YYBA5O22.js → 2RLW3UK3.js} +2 -2
- package/dist/cdn/{OSKFOBPJ.js → 3EQBZRGH.js} +2 -2
- package/dist/cdn/{3KY6MGOJ.js → 3HBBMXHE.js} +2 -2
- package/dist/cdn/{GRSIJT3T.js → 3PWT6WTG.js} +2 -2
- package/dist/cdn/{DCHFQUOM.js → 3QUOCTEG.js} +2 -2
- package/dist/cdn/{EFYU4OWN.js → 3T5VFHCP.js} +2 -2
- package/dist/cdn/{Y4CZ7XFH.js → 3TST23TQ.js} +1 -1
- package/dist/cdn/{2NYFZ3GV.js → 3YWCFLWG.js} +2 -2
- package/dist/cdn/3ZH4K4KA.js +18 -0
- package/dist/cdn/{LFDSMJEU.js → 424CEK2Z.js} +2 -2
- package/dist/cdn/{OYYZVOIN.js → 42H5I7EW.js} +2 -2
- package/dist/cdn/43C44DKY.js +4 -0
- package/dist/cdn/{NK5IEUBF.js → 46CRLSME.js} +2 -2
- package/dist/cdn/{4AJTL34Z.js → 46UESGJK.js} +2 -2
- package/dist/cdn/{NR4CTORR.js → 4A3PG7XO.js} +2 -2
- package/dist/cdn/{PHF75FIZ.js → 4K27XVR4.js} +2 -2
- package/dist/cdn/{NQKLCRO4.js → 4MSGOASS.js} +2 -2
- package/dist/cdn/{7LDGOYUE.js → 4RXHDK6Z.js} +2 -2
- package/dist/cdn/{VTKU26GJ.js → 4UPTPCCV.js} +2 -2
- package/dist/cdn/{QMVHLMJD.js → 4UW2NAO4.js} +1 -1
- package/dist/cdn/{LNKLEGM7.js → 4WW3ICHW.js} +2 -2
- package/dist/cdn/{B3HDMUHB.js → 4Z3QZTQ5.js} +2 -2
- package/dist/cdn/{IAOE36VC.js → 56NWL3SJ.js} +2 -2
- package/dist/cdn/{3AKHI3FX.js → 57FEDGKP.js} +2 -2
- package/dist/cdn/{TSX6N6FB.js → 5AQ3AC2W.js} +2 -2
- package/dist/cdn/{ND4CBCIS.js → 5FN3WVHK.js} +1 -1
- package/dist/cdn/{JBCMZE55.js → 5H6Q6OC2.js} +2 -2
- package/dist/cdn/{43AII6JW.js → 5J45SC6T.js} +2 -2
- package/dist/cdn/{4ZBQDA7G.js → 5LBJMJRE.js} +2 -2
- package/dist/cdn/{GLY2GMK3.js → 5PBSBYXZ.js} +2 -2
- package/dist/cdn/{HIXYDI5J.js → 5QWPDEIM.js} +2 -2
- package/dist/cdn/{EWPFEAMD.js → 5TJAX6CN.js} +2 -2
- package/dist/cdn/{3U3CU6DD.js → 5TVT25KG.js} +2 -2
- package/dist/cdn/{HJ5OK6QT.js → 5ZUFRNFY.js} +2 -2
- package/dist/cdn/{OWKKFB6L.js → 66HNDUZX.js} +2 -2
- package/dist/cdn/{SWZKHEQX.js → 6B3I5H3V.js} +2 -2
- package/dist/cdn/{AN4ZPBV5.js → 6DNV5PJB.js} +1 -1
- package/dist/cdn/6GYEDZMT.js +4 -0
- package/dist/cdn/{WTMEVWQW.js → 6MOR7L6N.js} +2 -2
- package/dist/cdn/{W5BIA42K.js → 6RJJZZGW.js} +1 -1
- package/dist/cdn/{HLXK72ZK.js → 6RZ4KMTE.js} +2 -2
- package/dist/cdn/{YNAZN7XO.js → 6V3QGIDI.js} +2 -2
- package/dist/cdn/{D6VPFPWH.js → 7EZUBE7B.js} +2 -2
- package/dist/cdn/{YD7BBK2M.js → 7FJ6I4E7.js} +2 -2
- package/dist/cdn/{UOSJKW7E.js → 7H3RLLAJ.js} +1 -1
- package/dist/cdn/{BFLK4MV3.js → 7H6T2HT6.js} +2 -2
- package/dist/cdn/{DBIXZJBF.js → 7HKMMQDW.js} +2 -2
- package/dist/cdn/{OSRWBYQ2.js → 7HYAMVPE.js} +4 -4
- package/dist/cdn/{SWCTZZ5M.js → 7J23JVW4.js} +2 -2
- package/dist/cdn/{5G5N3YGW.js → 7JQD4FB2.js} +2 -2
- package/dist/cdn/{MA3THZBT.js → 7JZCGT73.js} +2 -2
- package/dist/cdn/{YJEFD5S2.js → 7O6HZBSM.js} +2 -2
- package/dist/cdn/{GXKTKNRR.js → 7PGJVX4U.js} +2 -2
- package/dist/cdn/{75HEJGBB.js → 7RHPWT7M.js} +2 -2
- package/dist/cdn/{C3YT4ILF.js → 7TZZHMOS.js} +2 -2
- package/dist/cdn/7Z2OMIDX.js +4 -0
- package/dist/cdn/{IQTDOEWO.js → A4NXH4OO.js} +2 -2
- package/dist/cdn/{FLHENYCD.js → A5EE6OCZ.js} +2 -2
- package/dist/cdn/{R53JAHXC.js → A76NURAD.js} +2 -2
- package/dist/cdn/{GRMJQUC5.js → AIKNRIPT.js} +1 -1
- package/dist/cdn/{3R3HPZAK.js → ALTJ7ILH.js} +2 -2
- package/dist/cdn/ANRRSKMN.js +4 -0
- package/dist/cdn/{4VRBEE4E.js → AWUMOVFD.js} +1 -1
- package/dist/cdn/B4BRIUKH.js +18 -0
- package/dist/cdn/{C2OY2PS6.js → B4T5V46H.js} +1 -1
- package/dist/cdn/{R7ZD74W4.js → BD72WU7W.js} +2 -2
- package/dist/cdn/{R6JKKEMB.js → BN4ZRCRV.js} +2 -2
- package/dist/cdn/{OIGW2DAZ.js → BR4RWSPE.js} +2 -2
- package/dist/cdn/{WUJ53CX4.js → BS2IH672.js} +2 -2
- package/dist/cdn/{NFU53Y7C.js → BUAWSEWJ.js} +2 -2
- package/dist/cdn/{SRTKEQJS.js → BZOHPBSK.js} +1 -1
- package/dist/cdn/{UWFX6UHY.js → C3XEHNWJ.js} +2 -2
- package/dist/cdn/{KS6EZ4SP.js → C3ZYJFGZ.js} +2 -2
- package/dist/cdn/{PF5AT3NA.js → CEGZZ3VM.js} +2 -2
- package/dist/cdn/{CRRLSSMP.js → CHMYBHXC.js} +2 -2
- package/dist/cdn/{7F75Q6X6.js → CIAMCYZF.js} +2 -2
- package/dist/cdn/{EEUJQ4PE.js → CL3RGGOT.js} +2 -2
- package/dist/cdn/{MVA2DOPM.js → CQR6ZJ3Y.js} +2 -2
- package/dist/cdn/{64P5PANG.js → CRWMIW6E.js} +3 -3
- package/dist/cdn/{6OU6VXZE.js → CSOVKKCB.js} +1 -1
- package/dist/cdn/{C3VQSVMI.js → CTBKFIFY.js} +1 -1
- package/dist/cdn/{7LCAN4QM.js → CTREVWEG.js} +2 -2
- package/dist/cdn/{RX4SFFGS.js → CUQU47MV.js} +2 -2
- package/dist/cdn/{R23EOL5Y.js → CUW2FL7B.js} +2 -2
- package/dist/cdn/CV2FNRYE.js +4 -0
- package/dist/cdn/{YA6EJEOH.js → CYBRHVMD.js} +2 -2
- package/dist/cdn/{CMPTEVJI.js → CZ4VSMAQ.js} +2 -2
- package/dist/cdn/{43IHB26O.js → CZJ3RSCF.js} +2 -2
- package/dist/cdn/{UW26Z7RU.js → D3UIWRVA.js} +2 -2
- package/dist/cdn/{SVF7MDUC.js → D7W6V2FZ.js} +2 -2
- package/dist/cdn/{TMCHHM55.js → DAJPL7A6.js} +1 -1
- package/dist/cdn/{LDLEQ6CC.js → DHTY4OOW.js} +2 -2
- package/dist/cdn/{I5ZRIC3T.js → DJBQAKM7.js} +2 -2
- package/dist/cdn/{XMUV2USG.js → DJDNTU6V.js} +2 -2
- package/dist/cdn/{UXBBI55T.js → DKW6UBER.js} +2 -2
- package/dist/cdn/{VPQLYHEX.js → DOEH5ZVT.js} +2 -2
- package/dist/cdn/{7ASCWQCT.js → DT5VPDH3.js} +2 -2
- package/dist/cdn/{SGHNBHUF.js → DTHGPPXC.js} +2 -2
- package/dist/cdn/{JJLDTGMR.js → DTUYSMPI.js} +2 -2
- package/dist/cdn/{RDMEIRHP.js → E3MFERQX.js} +2 -2
- package/dist/cdn/EAQS4FUG.js +18 -0
- package/dist/cdn/EEKOQVBB.js +18 -0
- package/dist/cdn/{UWXPCF47.js → EG7OXLBP.js} +2 -2
- package/dist/cdn/{OKBR2JNZ.js → EKKHOK27.js} +2 -2
- package/dist/cdn/{Q5S5ARM5.js → ERFMMLHY.js} +2 -2
- package/dist/cdn/{OTUI5EVK.js → ERI2I4QD.js} +2 -2
- package/dist/cdn/{RKTPYPYJ.js → ESHX67OS.js} +2 -2
- package/dist/cdn/{RJ47PZ2M.js → ESUFDLJP.js} +2 -2
- package/dist/cdn/{CLZFMS77.js → EVFLREAG.js} +2 -2
- package/dist/cdn/{IYTGK3X3.js → EYXMOG4T.js} +2 -2
- package/dist/cdn/{2M3SOJDG.js → F3UJ3XFL.js} +2 -2
- package/dist/cdn/{EGW2IVRZ.js → F4SE4CYU.js} +2 -2
- package/dist/cdn/{JDTP4G5P.js → FAYUH4ZL.js} +2 -2
- package/dist/cdn/{5CXTZ7NA.js → FGP2FQZM.js} +2 -2
- package/dist/cdn/{RGNOHVXO.js → FORF6B3Z.js} +1 -1
- package/dist/cdn/{6YSZRWQG.js → FUKMDGE5.js} +2 -2
- package/dist/cdn/{AYBN7RSJ.js → FWC5JTS2.js} +1 -1
- package/dist/cdn/{SBXHMIGN.js → FWGZLF34.js} +2 -2
- package/dist/cdn/{6OUC5SZJ.js → FZPDQRLQ.js} +2 -2
- package/dist/cdn/{NJRBMGQU.js → G2GKF7F7.js} +2 -2
- package/dist/cdn/{RHNCXWTD.js → G3COLP6O.js} +2 -2
- package/dist/cdn/{5GNTAQBB.js → G56EFDF5.js} +2 -2
- package/dist/cdn/{6BZPVMC3.js → G67WQ7EK.js} +2 -2
- package/dist/cdn/G73VJ3M7.js +18 -0
- package/dist/cdn/{VVWDTGJA.js → GETIEY2N.js} +2 -2
- package/dist/cdn/{LY6TIHQF.js → GEWRTAEY.js} +1 -1
- package/dist/cdn/{ASILD6CB.js → GODHBW4D.js} +2 -2
- package/dist/cdn/{FQYAST2K.js → GRBWDUAE.js} +2 -2
- package/dist/cdn/{7OLQQGDE.js → GRGYG6ZB.js} +2 -2
- package/dist/cdn/{KOVCA4QV.js → GU3X6WVU.js} +2 -2
- package/dist/cdn/{ZD6YAEWR.js → GUE2KLZF.js} +2 -2
- package/dist/cdn/{DZIWUAHO.js → GVLGCQV5.js} +2 -2
- package/dist/cdn/{YUTI6A3R.js → H57UXYLC.js} +2 -2
- package/dist/cdn/{4HZ73PXZ.js → HB7GFW2F.js} +2 -2
- package/dist/cdn/{EPOTUER2.js → HBFAHBYK.js} +2 -2
- package/dist/cdn/{POVFCWA4.js → HDB2LOU3.js} +2 -2
- package/dist/cdn/{5DBXMD4E.js → HIZ63N6P.js} +1 -1
- package/dist/cdn/{K6OWNAQ2.js → HLW755DY.js} +2 -2
- package/dist/cdn/{WEZ56UHN.js → HNJBDRZK.js} +2 -2
- package/dist/cdn/{I4WG6VZ7.js → HNTUTNCA.js} +2 -2
- package/dist/cdn/HPA3S6EH.js +4 -0
- package/dist/cdn/{42QAHP2H.js → HSIQ7LDL.js} +2 -2
- package/dist/cdn/{SEYIBXFF.js → HSJ5YBGH.js} +1 -1
- package/dist/cdn/{CKRFN5RP.js → HSPCD4MZ.js} +1 -1
- package/dist/cdn/{ISDT7CP2.js → HUBKDQDZ.js} +2 -2
- package/dist/cdn/{7D6B7W25.js → HUICZ36N.js} +2 -2
- package/dist/cdn/{C6XO55UG.js → I3KEQ3N4.js} +2 -2
- package/dist/cdn/{GTZDDRKB.js → I7BGTKQQ.js} +1 -1
- package/dist/cdn/{P3U5VVRM.js → IC376S4N.js} +2 -2
- package/dist/cdn/{AZ4GC4RH.js → IC5D5ZEG.js} +2 -2
- package/dist/cdn/{MMOLUBH6.js → IFYMP3RJ.js} +2 -2
- package/dist/cdn/IJZ7RH3K.js +18 -0
- package/dist/cdn/{3C4J2KTB.js → INDGQ7I5.js} +2 -2
- package/dist/cdn/{WDQUXD5I.js → INYDJYFF.js} +1 -1
- package/dist/cdn/{EJHIYSSF.js → IQHOW6B3.js} +2 -2
- package/dist/cdn/{NNP5DIE4.js → IZPEE7EA.js} +2 -2
- package/dist/cdn/{OHFKWVKT.js → J36ELBGN.js} +2 -2
- package/dist/cdn/{LJRZYCQX.js → J4ZFOKWR.js} +2 -2
- package/dist/cdn/{EHEL3Y7B.js → J7CSWKH2.js} +2 -2
- package/dist/cdn/{6TG774RB.js → JAB46Q2U.js} +1 -1
- package/dist/cdn/{P2SYJ24C.js → JC7D7DR7.js} +2 -2
- package/dist/cdn/{KEVAPUV7.js → JHH2YZMO.js} +2 -2
- package/dist/cdn/{P2XBWR3K.js → JJLMC76G.js} +2 -2
- package/dist/cdn/{UHRZV2BI.js → JKSI5ZMB.js} +1 -1
- package/dist/cdn/{KN7GU34G.js → JOLFA4BG.js} +2 -2
- package/dist/cdn/{AHQC773M.js → JQB2ZVA6.js} +1 -1
- package/dist/cdn/JRO6YHAM.js +18 -0
- package/dist/cdn/{G7REA73G.js → JUZZFAAP.js} +2 -2
- package/dist/cdn/{7QXVNVSY.js → JWECLXIX.js} +1 -1
- package/dist/cdn/{CWSEEEMU.js → K66IIFGC.js} +2 -2
- package/dist/cdn/{X74PFPTS.js → K6VGFWR2.js} +2 -2
- package/dist/cdn/{3BHENULJ.js → KCPULRL4.js} +2 -2
- package/dist/cdn/KE3ZSZN4.js +4 -0
- package/dist/cdn/{K65QHEEW.js → KFJTURDK.js} +2 -2
- package/dist/cdn/{KOHDKHHL.js → L76MWZ6D.js} +2 -2
- package/dist/cdn/{M3TJ57X3.js → LE7HR7IW.js} +2 -2
- package/dist/cdn/{3QQBHMCG.js → LKFPSHUQ.js} +2 -2
- package/dist/cdn/{CNTAXM77.js → LLRKW666.js} +2 -2
- package/dist/cdn/{MIC6LQDI.js → LX2HTLJY.js} +2 -2
- package/dist/cdn/{BPYQOBRF.js → LYLCY3W4.js} +2 -2
- package/dist/cdn/{3KSTQFBT.js → M4RN56A5.js} +2 -2
- package/dist/cdn/{EX5IS2G6.js → MFO6ZTSP.js} +2 -2
- package/dist/cdn/{4DQWCLKY.js → MHTAOZQX.js} +1 -1
- package/dist/cdn/{MOYCNENS.js → MKDC2SCX.js} +2 -2
- package/dist/cdn/{7SQMKKG6.js → MLE72YF6.js} +2 -2
- package/dist/cdn/{TK5ARS6D.js → MMT5FM7A.js} +1 -1
- package/dist/cdn/{W4JEA3XE.js → MMTDGLQL.js} +2 -2
- package/dist/cdn/{S2PNPUQV.js → MNICPHAG.js} +2 -2
- package/dist/cdn/{YURM35K7.js → MRTVZ3FA.js} +2 -2
- package/dist/cdn/{HOZF62NG.js → MUAZDQVZ.js} +1 -1
- package/dist/cdn/{OQK3SNUT.js → MWMU7J4N.js} +2 -2
- package/dist/cdn/{3CTIZI7X.js → MYIWNWBX.js} +2 -2
- package/dist/cdn/{NHRWEIDY.js → N2ES5H7J.js} +2 -2
- package/dist/cdn/{KFK2QLX7.js → N2JVWR36.js} +2 -2
- package/dist/cdn/{O2CTIODV.js → N5UQMJ5B.js} +2 -2
- package/dist/cdn/{GYJUGCFY.js → NGIFYBG2.js} +2 -2
- package/dist/cdn/{PECFRP4P.js → NOMPCMGQ.js} +2 -2
- package/dist/cdn/{2I7ZXFLR.js → NPKGD2UW.js} +2 -2
- package/dist/cdn/{EC4BDQTX.js → NSW4XQCX.js} +2 -2
- package/dist/cdn/{DABFIHQ5.js → NTXNU5KJ.js} +2 -2
- package/dist/cdn/{CYYJ37UQ.js → NUBZKYGY.js} +1 -1
- package/dist/cdn/{FYA2RJLA.js → NZ7X7RNA.js} +2 -2
- package/dist/cdn/{55OACR4S.js → O2UDI5ZG.js} +2 -2
- package/dist/cdn/{BZ4XGUDM.js → O4YYSHMA.js} +2 -2
- package/dist/cdn/{644DJYKF.js → O75MXYU2.js} +2 -2
- package/dist/cdn/{5IOHRNFC.js → O7LZYDDA.js} +2 -2
- package/dist/cdn/{W3IJZ4HC.js → ODBYLGRJ.js} +2 -2
- package/dist/cdn/{FXYCWGPH.js → OEAH7BZO.js} +2 -2
- package/dist/cdn/{Z3YUGK3I.js → OFW75QJ5.js} +2 -2
- package/dist/cdn/{OI4YOMGG.js → OLNUCAY2.js} +1 -1
- package/dist/cdn/{3MHZEKGJ.js → ON35LOWT.js} +2 -2
- package/dist/cdn/{2EHFNAOJ.js → OR3N345S.js} +2 -2
- package/dist/cdn/{REH3U565.js → ORAQKCNZ.js} +2 -2
- package/dist/cdn/{KKP7HGNJ.js → OSRVKFMN.js} +2 -2
- package/dist/cdn/{YOPR6ELM.js → OUBHFNCT.js} +2 -2
- package/dist/cdn/{YQWNS5T6.js → OUH6GVIE.js} +2 -2
- package/dist/cdn/{HLI457TP.js → OUVL2CVN.js} +2 -2
- package/dist/cdn/{GCTTXEYI.js → OZWY6LCF.js} +2 -2
- package/dist/cdn/{MYB6PMPD.js → PEUJKF6B.js} +2 -2
- package/dist/cdn/{KB5XSYOH.js → PMNEPCAP.js} +2 -2
- package/dist/cdn/{C3ABCUGF.js → PPSHZUDG.js} +2 -2
- package/dist/cdn/{NB2MJP3T.js → PUMJHO6N.js} +2 -2
- package/dist/cdn/{UCWHVM3U.js → Q3WVWC55.js} +2 -2
- package/dist/cdn/{R6J3F2YU.js → Q4CRDRQG.js} +2 -2
- package/dist/cdn/{LPJY4EKV.js → Q5ZT6WRY.js} +1 -1
- package/dist/cdn/{AKC6SE65.js → QJXOEAET.js} +2 -2
- package/dist/cdn/{Q55L5Q3P.js → QM75PUNH.js} +2 -2
- package/dist/cdn/{VKL63NGD.js → QNVIGXOV.js} +1 -1
- package/dist/cdn/{YWSSWWW4.js → QUTXEUWF.js} +3 -3
- package/dist/cdn/{DYURGKBB.js → QVMJ2ERO.js} +2 -2
- package/dist/cdn/{HPHQDHOY.js → QVXNMCUG.js} +2 -2
- package/dist/cdn/{A6SDFMS4.js → QWORBXNV.js} +1 -1
- package/dist/cdn/{OQX77LVX.js → QY2SAW3T.js} +1 -1
- package/dist/cdn/{TBFTL5AS.js → R5XEOHRY.js} +2 -2
- package/dist/cdn/{XZCYXYAE.js → RAVAPNJT.js} +2 -2
- package/dist/cdn/{FT735SKP.js → RB5BFVBH.js} +2 -2
- package/dist/cdn/{JV55LN2M.js → RF2MZ6L4.js} +2 -2
- package/dist/cdn/{VIFGQWKG.js → RFLMWIV3.js} +2 -2
- package/dist/cdn/{RY44DI5D.js → RHG4ERFD.js} +2 -2
- package/dist/cdn/{RYN2SWCM.js → RJGQ2WIC.js} +2 -2
- package/dist/cdn/{7WK46WPW.js → RK7BITG7.js} +2 -2
- package/dist/cdn/{OEYJFMXJ.js → RLOP37O7.js} +2 -2
- package/dist/cdn/{NQISLIAP.js → RNRJYQR6.js} +2 -2
- package/dist/cdn/{JZC43XNE.js → RSZOXRB2.js} +2 -2
- package/dist/cdn/{LHFLSDVZ.js → RTT255CD.js} +2 -2
- package/dist/cdn/{72IRHFJ6.js → RYOFNHME.js} +2 -2
- package/dist/cdn/{QF6CYRL2.js → RZWPCLBI.js} +2 -2
- package/dist/cdn/{Q3A4PDPW.js → S6PZ4TQV.js} +2 -2
- package/dist/cdn/{PDCOACTW.js → S6SVJ7VM.js} +2 -2
- package/dist/cdn/{SSSE76D7.js → S7QNSRRI.js} +2 -2
- package/dist/cdn/{JS6X6QAW.js → S7YU3JX3.js} +2 -2
- package/dist/cdn/{Z5GGVIDD.js → SFSDK76O.js} +2 -2
- package/dist/cdn/{7XJB7VS7.js → SFWMPPCI.js} +2 -2
- package/dist/cdn/{3WLCCGUI.js → SQTYYN33.js} +2 -2
- package/dist/cdn/{URNU7X7T.js → SRIPMBTE.js} +2 -2
- package/dist/cdn/{BBXNS3EX.js → SU5KDQ2B.js} +2 -2
- package/dist/cdn/{46V3IO5X.js → T6DS55WX.js} +2 -2
- package/dist/cdn/{PP7NRPXZ.js → TBBJWCCR.js} +2 -2
- package/dist/cdn/{ZMAQKYQ6.js → TCZHHWHS.js} +2 -2
- package/dist/cdn/{3N2ZNCG2.js → THU44NOX.js} +1 -1
- package/dist/cdn/{RPLH7QHP.js → TJRGBV6E.js} +2 -2
- package/dist/cdn/{RQU6SEUA.js → TLSJZ2PC.js} +2 -2
- package/dist/cdn/{4WIF7IWJ.js → TOATY2NQ.js} +2 -2
- package/dist/cdn/{MGNNQNEI.js → TPAHJWIM.js} +2 -2
- package/dist/cdn/{63PYENHX.js → TSS3ICXX.js} +2 -2
- package/dist/cdn/{RYXX6HET.js → TTCKLGK7.js} +1 -1
- package/dist/cdn/{6MDG4NZX.js → TTYIUEPD.js} +2 -2
- package/dist/cdn/{7OLNN2MW.js → TYTEAAIQ.js} +2 -2
- package/dist/cdn/{YH6ADAVW.js → U2APIL5F.js} +2 -2
- package/dist/cdn/{V4HWOWHO.js → U6NBLLMQ.js} +2 -2
- package/dist/cdn/{JJIKYQZZ.js → U7OBIL3K.js} +2 -2
- package/dist/cdn/{AAJ34PVZ.js → UC2SS2QW.js} +2 -2
- package/dist/cdn/{LQUAXFLK.js → UDCDDGJR.js} +2 -2
- package/dist/cdn/{65LDPG2Z.js → UEZ73OO4.js} +2 -2
- package/dist/cdn/{3NOU63QC.js → UGX25KQA.js} +2 -2
- package/dist/cdn/{ZFWM4LAN.js → UJQYAOZR.js} +2 -2
- package/dist/cdn/{ZGHTOGQP.js → UNBTQP3H.js} +1 -1
- package/dist/cdn/UPKVTJ7R.js +4 -0
- package/dist/cdn/{RL3HBL5T.js → UU2Z7JBX.js} +2 -2
- package/dist/cdn/{R4UPUL7H.js → UZRP7ING.js} +2 -2
- package/dist/cdn/{LCCWTX2N.js → V22SW5BK.js} +2 -2
- package/dist/cdn/{XJGOAOI7.js → V5ZMR33N.js} +2 -2
- package/dist/cdn/{HTDQGAID.js → VAUSKOCH.js} +2 -2
- package/dist/cdn/{6NEMUKY7.js → VE3DGEUA.js} +2 -2
- package/dist/cdn/{KQSZKMVW.js → VKKWJXHO.js} +2 -2
- package/dist/cdn/{PGAZAITH.js → VQUBJW6R.js} +2 -2
- package/dist/cdn/{DER4LPHP.js → VSU4V6G6.js} +2 -2
- package/dist/cdn/{G26LLXS4.js → VV5SPLXA.js} +2 -2
- package/dist/cdn/{ZHJK7BD5.js → VXR3KDB7.js} +2 -2
- package/dist/cdn/{ELQB37S3.js → VXRAXWUC.js} +2 -2
- package/dist/cdn/{M6YGWTQ7.js → VXY4YS6I.js} +2 -2
- package/dist/cdn/{GNTRINMX.js → W6EJ2GL5.js} +2 -2
- package/dist/cdn/{3EW7ECME.js → W6Q6433S.js} +2 -2
- package/dist/cdn/{WXYU7L46.js → WGEFBZZV.js} +4 -4
- package/dist/cdn/{2B5AGHXF.js → WGY44T74.js} +2 -2
- package/dist/cdn/{Q5HKWIQ4.js → WH52X2WQ.js} +2 -2
- package/dist/cdn/{LN2I5LVU.js → WKVFZ37W.js} +2 -2
- package/dist/cdn/{VGIBWAX6.js → WLBCVFRX.js} +2 -2
- package/dist/cdn/{O3MIRFNV.js → WNX5GG4H.js} +2 -2
- package/dist/cdn/{TKYYVFBF.js → WXFDEIGF.js} +2 -2
- package/dist/cdn/{OADJ55J2.js → X7NMFGRR.js} +2 -2
- package/dist/cdn/{LSZ3JKFT.js → XAU5QP66.js} +2 -2
- package/dist/cdn/{BX5K5GT6.js → XCQZ6ASI.js} +2 -2
- package/dist/cdn/{CNZNQ3UI.js → XEYFGJYD.js} +2 -2
- package/dist/cdn/{P4FFI3FD.js → XKO4D6DI.js} +2 -2
- package/dist/cdn/{S6KMTGDZ.js → XLHMGVQW.js} +2 -2
- package/dist/cdn/{RFPZWOT4.js → XLQA6KJQ.js} +2 -2
- package/dist/cdn/XMRN7HDU.js +18 -0
- package/dist/cdn/{EGQGYDCU.js → XOHYWI6Z.js} +2 -2
- package/dist/cdn/{MBPZZJHU.js → XSQ3F75X.js} +2 -2
- package/dist/cdn/{FT3J6HPU.js → XZGSTRDT.js} +2 -2
- package/dist/cdn/XZKSDEYJ.js +18 -0
- package/dist/cdn/{V7YYPSUZ.js → Y2ATELTM.js} +2 -2
- package/dist/cdn/{ZN3QGUDV.js → Y3FH6SWD.js} +2 -2
- package/dist/cdn/{L4PBJ66Y.js → Y3FHW4MG.js} +2 -2
- package/dist/cdn/{ECNSXEJQ.js → Y4TAB6DZ.js} +1 -1
- package/dist/cdn/{XECYHGO2.js → Y5BRDADM.js} +2 -2
- package/dist/cdn/{PIKL7Y7Z.js → YFMWAKPP.js} +1 -1
- package/dist/cdn/{PFJBD3IN.js → YHZEZ73W.js} +2 -2
- package/dist/cdn/{LRAV7OBQ.js → YKVMQATP.js} +2 -2
- package/dist/cdn/{T36HJPUB.js → YOT3LZNC.js} +2 -2
- package/dist/cdn/{U4MDUHGI.js → YSM46MQM.js} +2 -2
- package/dist/cdn/{EYUS5GPS.js → YUBHAZNE.js} +2 -2
- package/dist/cdn/{TXXXMTGQ.js → YVLTKRLF.js} +2 -2
- package/dist/cdn/{RQSZEJEQ.js → YY2RTG4T.js} +2 -2
- package/dist/cdn/{CPKI7S65.js → Z3FUHTWT.js} +2 -2
- package/dist/cdn/{VIB4V3LB.js → Z7UP2YPN.js} +2 -2
- package/dist/cdn/{NOOGHUHO.js → ZBDBARFW.js} +2 -2
- package/dist/cdn/{XRK3LYSA.js → ZD4IAE56.js} +2 -2
- package/dist/cdn/{M3RICNEU.js → ZJIISPCN.js} +2 -2
- package/dist/cdn/{5CHNKTZ7.js → ZSYR27QK.js} +2 -2
- package/dist/cdn/{RNJUJD2O.js → ZZ3Y6MJT.js} +2 -2
- package/dist/cdn/{NFOXMEDQ.js → ZZRK2MDR.js} +2 -2
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.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/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- 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/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +16 -17
- package/dist/components/map-card/customElement.js +14 -15
- 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.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- 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-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 +2 -2
- 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 +6 -6
- package/dist/components/solution-details-panel/customElement.js +19 -22
- 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-card/customElement.js +2 -2
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +25 -20
- package/dist/components/solutions-deploy-app/customElement.js +7 -8
- package/dist/components/solutions-deploy-app-nav/customElement.js +28 -22
- package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
- package/dist/components/solutions-deploy-app-nav/index.js +4 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
- package/dist/components/solutions-filter-panel/customElement.js +63 -55
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +59 -1
- package/dist/docs/docs.json +45 -1
- package/dist/docs/vscode.html-custom-data.json +10 -0
- package/dist/docs/web-types.json +27 -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/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/helpers.d.ts +8 -1
- package/package.json +1 -1
- package/dist/cdn/7LVVHGLQ.js +0 -4
- package/dist/cdn/BVFYUULI.js +0 -18
- package/dist/cdn/BZQNZGIF.js +0 -18
- package/dist/cdn/C3OBOQOO.js +0 -18
- package/dist/cdn/E4MWWQ52.js +0 -18
- package/dist/cdn/GRTQAPQC.js +0 -18
- package/dist/cdn/HR5YMULP.js +0 -4
- package/dist/cdn/HX6UBWDB.js +0 -4
- package/dist/cdn/JWNDNXKO.js +0 -4
- package/dist/cdn/LRHWDN4E.js +0 -4
- package/dist/cdn/OWWSN3B2.js +0 -4
- package/dist/cdn/P5VGADLR.js +0 -18
- package/dist/cdn/PAAUUG27.js +0 -18
- package/dist/cdn/WL6MLDUU.js +0 -18
- package/dist/cdn/XGYQYEAR.js +0 -4
- package/dist/cdn/YPLTRSYP.js +0 -4
- package/dist/cdn/ZXKZXNEZ.js +0 -18
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as D}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a as D}from"./JQB2ZVA6.js";import{b as F}from"./ZZ3Y6MJT.js";import{c as y,g as O,j as $}from"./UJQYAOZR.js";import{e as d}from"./JWECLXIX.js";import{a as k,d as E,f as T}from"./NUBZKYGY.js";import{b as G}from"./HSJ5YBGH.js";import{a as I}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as V}from"./5J45SC6T.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var N=w`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./JWECLXIX.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return S(i,p,e),R(i,r),I(i,a),i}function I(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function S(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import"./CSOVKKCB.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as m}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a as m}from"./FORF6B3Z.js";import{a as f}from"./EVFLREAG.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{F as s}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{F as s}from"./4UW2NAO4.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as r}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{d as r}from"./I7BGTKQQ.js";import{b as n}from"./5J45SC6T.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var p=s`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{l as g}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{l as g}from"./NGIFYBG2.js";import{c as i,d as f}from"./7H3RLLAJ.js";import{a as o}from"./HIZ63N6P.js";import{b as c}from"./2MW5FFFN.js";import{c as m,j as l,k as s,l as d,w as p}from"./DT5VPDH3.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as C}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a as C}from"./YSM46MQM.js";import{a as v,b as E,p as y}from"./4UW2NAO4.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a as u}from"./7H6T2HT6.js";import{a as m,f as b,z as _}from"./INYDJYFF.js";import{b as d}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import"./CSOVKKCB.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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import"./CSOVKKCB.js";var a="N\xE3o tem cr\xE9ditos suficientes para executar esta opera\xE7\xE3o. Contacte o seu Administrador de Sistemas ArcGIS para obter assist\xEAncia.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para a sua organiza\xE7\xE3o. Contacte o seu administrador para ajustar a defini\xE7\xE3o.",r="${ dataPath } n\xE3o pode conter ${ additionalProperty }.",o="${ dataPath } tem de corresponder ao esquema de um dos seguintes: ${ schemaOptions }.",t="Experimente guardar o mapa novamente.",s="A Estimativa de Cr\xE9dito falhou. Percorra para baixo, corrija os erros e fa\xE7a novamente a estimativa.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } tem de ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao guardar o hist\xF3rico de an\xE1lise",m="O armazenamento do hist\xF3rico est\xE1 cheio. Remova alguns itens do hist\xF3rico de an\xE1lise e experimente guardar novamente.",c="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",l="A grava\xE7\xE3o da camada tempor\xE1ria como camada de elementos alojada n\xE3o foi conclu\xEDda.",u="Falha ao obter propriedades essenciais.",p="Falha ao carregar a camada.",h="A camada n\xE3o est\xE1 dispon\xEDvel.",v="${ dataPath } n\xE3o pode conter mais do que ${ limit } itens.",f="Ocorreu um erro ao guardar o modelo. Experimente guardar novamente.",E="${ dataPath } n\xE3o pode conter menos do que ${ limit } itens.",P="${ dataPath } n\xE3o pode ser inferior a ${ limit } caracteres.",y="Falha ao carregar o item de modelo. Certifique-se de que o modelo existe e de que a permiss\xE3o de acesso foi concedida.",F="Falha ao concluir o pedido.",S="N\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao iniciar sess\xE3o no portal.",g="Falha ao ler os dados de entrada.",x="${ dataPath } tem uma propriedade com o nome ${ missingProperty } em falta.",$="J\xE1 existe uma camada de resultado com este nome. As camadas de resultado t\xEAm de ter um nome \xFAnico em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome de sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como uma camada alojada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",q="O envio da tarefa falhou. Percorra para baixo, corrija os erros e execute novamente a an\xE1lise.",T="${ dataPath } tem de ter, pelo menos, um car\xE1ter que n\xE3o seja um espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:l,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:f,minItems:E,minLength:P,modelNotFound:y,networkError:F,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:g,requiredProperty:x,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:q,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,l as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,f as mbFailedToSave,E as minItems,P as minLength,y as modelNotFound,F as networkError,S as noPermissionToAccessTool,b as portalLoadError,g as queryFeaturesError,x as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,q as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as X}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a as X}from"./F3UJ3XFL.js";import{a as s}from"./5FN3WVHK.js";import{c as x}from"./QY2SAW3T.js";import{a as J,b as H}from"./JOLFA4BG.js";import{h as V,i as z}from"./5PBSBYXZ.js";import{b as R,c as w}from"./UU2Z7JBX.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./NGIFYBG2.js";import"./FORF6B3Z.js";import"./RJGQ2WIC.js";import"./YFMWAKPP.js";import"./7H3RLLAJ.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./JHH2YZMO.js";import"./FWC5JTS2.js";import{i as G}from"./EVFLREAG.js";import"./GEWRTAEY.js";import{a as p}from"./HIZ63N6P.js";import"./TTCKLGK7.js";import"./XKO4D6DI.js";import"./2MW5FFFN.js";import"./Y5BRDADM.js";import{k as O,s as j}from"./DT5VPDH3.js";import"./DAJPL7A6.js";import"./QWORBXNV.js";import"./EYXMOG4T.js";import{a as d}from"./BZOHPBSK.js";import"./6DNV5PJB.js";import"./AWUMOVFD.js";import"./CSOVKKCB.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a as n}from"./7H6T2HT6.js";import{b as i}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{E as o,h as a,i as s}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
4
|
var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import{a}from"./IZPEE7EA.js";import"./FWC5JTS2.js";import"./NOMPCMGQ.js";import"./QWORBXNV.js";import"./EYXMOG4T.js";import"./BZOHPBSK.js";import"./6DNV5PJB.js";import"./CSOVKKCB.js";export{a as buildUiSchema};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./6OU6VXZE.js";var{entries:_t,setPrototypeOf:ct,isFrozen:Yt,getPrototypeOf:Xt,getOwnPropertyDescriptor:jt}=Object,{freeze:S,seal:L,create:Pe}=Object,{apply:ve,construct:ke}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});L||(L=function(o){return o});ve||(ve=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)});ke||(ke=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});var ce=R(Array.prototype.forEach),Vt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),q=R(Array.prototype.push),$t=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),Ie=R(String.prototype.match),K=R(String.prototype.replace),qt=R(String.prototype.indexOf),Kt=R(String.prototype.trim),b=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),Z=Zt(TypeError);function R(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ve(s,o,a)}}function Zt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return ke(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ct&&ct(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){let O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o<s.length;o++)b(s,o)||(s[o]=null);return s}function M(s){let o=Pe(null);for(let[l,a]of _t(s))b(s,l)&&(Array.isArray(a)?o[l]=Jt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=M(a):o[l]=a);return o}function J(s,o){for(;s!==null;){let a=jt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Xt(s)}function l(){return null}return l}var ut=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ce=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Me=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),we=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),en=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),pt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),xe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),dt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tn=L(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nn=L(/<%[\w\W]*|[\w\W]*%>/gm),on=L(/\$\{[\w\W]*/gm),an=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=L(/^aria-[\-\w]+$/),gt=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=L(/^(?:\w+script|data):/i),ln=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ht=L(/^html$/i),cn=L(/^[a-z][.\w]*(-[.\w]+)+$/i),Tt=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:ht,ERB_EXPR:nn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on}),Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null,c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));let O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(P){return P},createScriptURL(P){return P}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function At(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn(),o=i=>At(i);if(o.version="3.3.0",o.removed=[],!s||!s.document||s.document.nodeType!==Q.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s,a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:P,Node:me,Element:Ue,NodeFilter:B,NamedNodeMap:St=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:Ot,trustedTypes:ee}=s,Y=Ue.prototype,yt=J(Y,"cloneNode"),Lt=J(Y,"remove"),bt=J(Y,"nextSibling"),Dt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof P=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,X="",{implementation:pe,createNodeIterator:Nt,createDocumentFragment:It,getElementsByTagName:Ct}=l,{importNode:Mt}=a,h=Et();o.isSupported=typeof _t=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:Fe,CUSTOM_ELEMENT:vt}=Tt,{IS_ALLOWED_URI:He}=Tt,p=null,ze=r({},[...ut,...Ce,...Me,...we,...mt]),T=null,Ge=r({},[...pt,...xe,...dt,...fe]),u=Object.seal(Pe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,_e=null,v=Object.seal(Pe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),We=!0,ge=!0,Be=!1,Ye=!0,k=!1,ne=!0,w=!1,he=!1,Ae=!1,U=!1,oe=!1,ie=!1,Xe=!0,je=!1,kt="user-content-",Se=!0,V=!1,F={},H=null,Ve=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,qe=r({},["audio","video","img","source","image","track"]),Re=null,Ke=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml",z=N,Oe=!1,ye=null,Ut=r({},[ae,re,N],Ne),se=r({},["mi","mo","mn","ms","mtext"]),le=r({},["annotation-xml"]),Ft=r({},["title","style","font","a","script"]),$=null,Ht=["application/xhtml+xml","text/html"],zt="text/html",d=null,G=null,Gt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=M(e),$=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,d=$==="application/xhtml+xml"?Ne:ue,p=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,d):ze,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,d):Ge,ye=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ne):Ut,Re=b(e,"ADD_URI_SAFE_ATTR")?r(M(Ke),e.ADD_URI_SAFE_ATTR,d):Ke,$e=b(e,"ADD_DATA_URI_TAGS")?r(M(qe),e.ADD_DATA_URI_TAGS,d):qe,H=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,d):Ve,j=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,d):M({}),_e=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,d):M({}),F=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,We=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Be=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ye=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Xe=e.SANITIZE_DOM!==!1,je=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,He=e.ALLOWED_URI_REGEXP||gt,z=e.NAMESPACE||N,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),k&&(ge=!1),oe&&(U=!0),F&&(p=r({},mt),T=[],F.html===!0&&(r(p,ut),r(T,pt)),F.svg===!0&&(r(p,Ce),r(T,xe),r(T,fe)),F.svgFilters===!0&&(r(p,Me),r(T,xe),r(T,fe)),F.mathMl===!0&&(r(p,we),r(T,dt),r(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?v.tagCheck=e.ADD_TAGS:(p===ze&&(p=M(p)),r(p,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?v.attributeCheck=e.ADD_ATTR:(T===Ge&&(T=M(T)),r(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&r(Re,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===Ve&&(H=M(H)),r(H,e.FORBID_CONTENTS,d)),Se&&(p["#text"]=!0),w&&r(p,["html","head","body"]),p.table&&(r(p,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,X=g.createHTML("")}else g===void 0&&(g=un(ee,c)),g!==null&&typeof X=="string"&&(X=g.createHTML(""));S&&S(e),G=e}},Je=r({},[...Ce,...Me,...Qt]),Qe=r({},[...we,...en]),Wt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});let n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===N?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Je[n]:e.namespaceURI===ae?t.namespaceURI===N?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!Qe[n]:e.namespaceURI===N?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!Qe[n]&&(Ft[n]||!Je[n]):!!($==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){q(o.removed,{element:e});try{te(e).removeChild(e)}catch{Lt(e)}},x=function(e,t){try{q(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||oe)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,n=null;if(Ae)e="<remove></remove>"+e;else{let m=Ie(e,/^[\r\n\t ]+/);n=m&&m[0]}$==="application/xhtml+xml"&&z===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let f=g?g.createHTML(e):e;if(z===N)try{t=new Ot().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=Oe?X:f}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===N?Ct.call(t,w?"html":"body")[0]:w?t.documentElement:_},tt=function(e){return Nt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof me=="function"&&e instanceof me};function I(i,e,t){ce(i,n=>{n.call(o,e,t,G)})}let ot=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),be(e))return D(e),!0;let n=d(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:p}),ne&&e.hasChildNodes()&&!nt(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!(v.tagCheck instanceof Function&&v.tagCheck(n))&&(!p[n]||j[n])){if(!j[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Se&&!H[n]){let f=te(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&f){let m=_.length;for(let y=m-1;y>=0;--y){let C=yt(_[y],!0);C.__removalCount=(e.__removalCount||0)+1,f.insertBefore(C,bt(e))}}}return D(e),!0}return e instanceof Ue&&!Wt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(k&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(Xe&&(t==="id"||t==="name")&&(n in l||n in Gt))return!1;if(!(ge&&!_e[t]&&A(wt,t))){if(!(We&&A(xt,t))){if(!(v.attributeCheck instanceof Function&&v.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&A(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Re[t]){if(!A(He,K(n,Fe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&$e[e])){if(!(Be&&!A(Pt,K(n,Fe,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&Ie(e,vt)},rt=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||be(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},f=t.length;for(;f--;){let _=t[f],{name:m,namespaceURI:y,value:C}=_,W=d(m),De=C,E=m==="value"?De:Kt(De);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,je&&(W==="id"||W==="name")&&(x(m,e),E=kt+E),ne&&A(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(W==="attributename"&&Ie(E,"href")){x(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){x(m,e);continue}if(!Ye&&A(/\/>/i,E)){x(m,e);continue}k&&ce([de,Te,Ee],lt=>{E=K(E,lt," ")});let st=d(e.nodeName);if(!it(st,W,E)){x(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!y)switch(ee.getAttributeType(st,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,m,E):e.setAttribute(m,E),be(e)?D(e):ft(o.removed)}catch{x(m,e)}}I(h.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null,n=tt(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(Oe=!i,Oe&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return i;if(he||Le(e),o.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){let C=d(i.nodeName);if(!p[C]||j[C])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!U&&!k&&!w&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=et(i),!t)return U?null:ie?X:""}t&&Ae&&D(t.firstChild);let m=tt(V?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&Bt(f.content);if(V)return i;if(U){if(oe)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=Mt.call(a,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(ht,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import"./CSOVKKCB.js";var{entries:_t,setPrototypeOf:ct,isFrozen:Yt,getPrototypeOf:Xt,getOwnPropertyDescriptor:jt}=Object,{freeze:S,seal:L,create:Pe}=Object,{apply:ve,construct:ke}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});L||(L=function(o){return o});ve||(ve=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)});ke||(ke=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});var ce=R(Array.prototype.forEach),Vt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),q=R(Array.prototype.push),$t=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),Ie=R(String.prototype.match),K=R(String.prototype.replace),qt=R(String.prototype.indexOf),Kt=R(String.prototype.trim),b=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),Z=Zt(TypeError);function R(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ve(s,o,a)}}function Zt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return ke(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ct&&ct(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){let O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o<s.length;o++)b(s,o)||(s[o]=null);return s}function M(s){let o=Pe(null);for(let[l,a]of _t(s))b(s,l)&&(Array.isArray(a)?o[l]=Jt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=M(a):o[l]=a);return o}function J(s,o){for(;s!==null;){let a=jt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Xt(s)}function l(){return null}return l}var ut=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ce=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Me=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),we=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),en=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),pt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),xe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),dt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tn=L(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nn=L(/<%[\w\W]*|[\w\W]*%>/gm),on=L(/\$\{[\w\W]*/gm),an=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=L(/^aria-[\-\w]+$/),gt=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=L(/^(?:\w+script|data):/i),ln=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ht=L(/^html$/i),cn=L(/^[a-z][.\w]*(-[.\w]+)+$/i),Tt=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:ht,ERB_EXPR:nn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on}),Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null,c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));let O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(P){return P},createScriptURL(P){return P}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function At(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn(),o=i=>At(i);if(o.version="3.3.0",o.removed=[],!s||!s.document||s.document.nodeType!==Q.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s,a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:P,Node:me,Element:Ue,NodeFilter:B,NamedNodeMap:St=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:Ot,trustedTypes:ee}=s,Y=Ue.prototype,yt=J(Y,"cloneNode"),Lt=J(Y,"remove"),bt=J(Y,"nextSibling"),Dt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof P=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,X="",{implementation:pe,createNodeIterator:Nt,createDocumentFragment:It,getElementsByTagName:Ct}=l,{importNode:Mt}=a,h=Et();o.isSupported=typeof _t=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:Fe,CUSTOM_ELEMENT:vt}=Tt,{IS_ALLOWED_URI:He}=Tt,p=null,ze=r({},[...ut,...Ce,...Me,...we,...mt]),T=null,Ge=r({},[...pt,...xe,...dt,...fe]),u=Object.seal(Pe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,_e=null,v=Object.seal(Pe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),We=!0,ge=!0,Be=!1,Ye=!0,k=!1,ne=!0,w=!1,he=!1,Ae=!1,U=!1,oe=!1,ie=!1,Xe=!0,je=!1,kt="user-content-",Se=!0,V=!1,F={},H=null,Ve=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,qe=r({},["audio","video","img","source","image","track"]),Re=null,Ke=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml",z=N,Oe=!1,ye=null,Ut=r({},[ae,re,N],Ne),se=r({},["mi","mo","mn","ms","mtext"]),le=r({},["annotation-xml"]),Ft=r({},["title","style","font","a","script"]),$=null,Ht=["application/xhtml+xml","text/html"],zt="text/html",d=null,G=null,Gt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=M(e),$=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,d=$==="application/xhtml+xml"?Ne:ue,p=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,d):ze,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,d):Ge,ye=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ne):Ut,Re=b(e,"ADD_URI_SAFE_ATTR")?r(M(Ke),e.ADD_URI_SAFE_ATTR,d):Ke,$e=b(e,"ADD_DATA_URI_TAGS")?r(M(qe),e.ADD_DATA_URI_TAGS,d):qe,H=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,d):Ve,j=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,d):M({}),_e=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,d):M({}),F=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,We=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Be=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ye=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Xe=e.SANITIZE_DOM!==!1,je=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,He=e.ALLOWED_URI_REGEXP||gt,z=e.NAMESPACE||N,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),k&&(ge=!1),oe&&(U=!0),F&&(p=r({},mt),T=[],F.html===!0&&(r(p,ut),r(T,pt)),F.svg===!0&&(r(p,Ce),r(T,xe),r(T,fe)),F.svgFilters===!0&&(r(p,Me),r(T,xe),r(T,fe)),F.mathMl===!0&&(r(p,we),r(T,dt),r(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?v.tagCheck=e.ADD_TAGS:(p===ze&&(p=M(p)),r(p,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?v.attributeCheck=e.ADD_ATTR:(T===Ge&&(T=M(T)),r(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&r(Re,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===Ve&&(H=M(H)),r(H,e.FORBID_CONTENTS,d)),Se&&(p["#text"]=!0),w&&r(p,["html","head","body"]),p.table&&(r(p,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,X=g.createHTML("")}else g===void 0&&(g=un(ee,c)),g!==null&&typeof X=="string"&&(X=g.createHTML(""));S&&S(e),G=e}},Je=r({},[...Ce,...Me,...Qt]),Qe=r({},[...we,...en]),Wt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});let n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===N?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Je[n]:e.namespaceURI===ae?t.namespaceURI===N?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!Qe[n]:e.namespaceURI===N?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!Qe[n]&&(Ft[n]||!Je[n]):!!($==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){q(o.removed,{element:e});try{te(e).removeChild(e)}catch{Lt(e)}},x=function(e,t){try{q(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||oe)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,n=null;if(Ae)e="<remove></remove>"+e;else{let m=Ie(e,/^[\r\n\t ]+/);n=m&&m[0]}$==="application/xhtml+xml"&&z===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let f=g?g.createHTML(e):e;if(z===N)try{t=new Ot().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=Oe?X:f}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===N?Ct.call(t,w?"html":"body")[0]:w?t.documentElement:_},tt=function(e){return Nt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof me=="function"&&e instanceof me};function I(i,e,t){ce(i,n=>{n.call(o,e,t,G)})}let ot=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),be(e))return D(e),!0;let n=d(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:p}),ne&&e.hasChildNodes()&&!nt(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!(v.tagCheck instanceof Function&&v.tagCheck(n))&&(!p[n]||j[n])){if(!j[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Se&&!H[n]){let f=te(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&f){let m=_.length;for(let y=m-1;y>=0;--y){let C=yt(_[y],!0);C.__removalCount=(e.__removalCount||0)+1,f.insertBefore(C,bt(e))}}}return D(e),!0}return e instanceof Ue&&!Wt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(k&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(Xe&&(t==="id"||t==="name")&&(n in l||n in Gt))return!1;if(!(ge&&!_e[t]&&A(wt,t))){if(!(We&&A(xt,t))){if(!(v.attributeCheck instanceof Function&&v.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&A(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Re[t]){if(!A(He,K(n,Fe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&$e[e])){if(!(Be&&!A(Pt,K(n,Fe,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&Ie(e,vt)},rt=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||be(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},f=t.length;for(;f--;){let _=t[f],{name:m,namespaceURI:y,value:C}=_,W=d(m),De=C,E=m==="value"?De:Kt(De);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,je&&(W==="id"||W==="name")&&(x(m,e),E=kt+E),ne&&A(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(W==="attributename"&&Ie(E,"href")){x(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){x(m,e);continue}if(!Ye&&A(/\/>/i,E)){x(m,e);continue}k&&ce([de,Te,Ee],lt=>{E=K(E,lt," ")});let st=d(e.nodeName);if(!it(st,W,E)){x(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!y)switch(ee.getAttributeType(st,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,m,E):e.setAttribute(m,E),be(e)?D(e):ft(o.removed)}catch{x(m,e)}}I(h.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null,n=tt(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(Oe=!i,Oe&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return i;if(he||Le(e),o.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){let C=d(i.nodeName);if(!p[C]||j[C])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!U&&!k&&!w&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=et(i),!t)return U?null:ie?X:""}t&&Ae&&D(t.firstChild);let m=tt(V?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&Bt(f.content);if(V)return i;if(U){if(oe)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=Mt.call(a,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(ht,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
5
5
|
`+y),k&&ce([de,Te,Ee],C=>{y=K(y,C," ")}),g&&ie?g.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(i),he=!0},o.clearConfig=function(){G=null,he=!1},o.isValidAttribute=function(i,e,t){G||Le({});let n=d(i),f=d(e);return it(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&q(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=Vt(h[i],e);return t===-1?void 0:$t(h[i],t,1)[0]}return ft(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=Et()},o}var mn=At();export{mn as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
4
|
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./SGHNBHUF.js";import a from"./GNTRINMX.js";import{a as _}from"./PDCOACTW.js";import{b as y}from"./V4HWOWHO.js";import"./U4MDUHGI.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./QMVHLMJD.js";import"./6OU6VXZE.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.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%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.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)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.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`},b=class extends T{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===v.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===v.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>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
3
|
+
v1.2.0-next.8 */
|
|
4
|
+
import b from"./DTHGPPXC.js";import a from"./W6EJ2GL5.js";import{a as _}from"./S6SVJ7VM.js";import{b as y}from"./U6NBLLMQ.js";import"./YSM46MQM.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./4UW2NAO4.js";import"./CSOVKKCB.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.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%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.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)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.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`},b=class extends T{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===v.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===v.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>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|