@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250214.0 → 0.0.0-nightly-20250214.0
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/LICENSE.md +5 -0
- package/README.md +16 -5
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +2 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/contexts.json +0 -3
- package/lang/translations/af.po +100 -0
- package/lang/translations/ar.po +100 -0
- package/lang/translations/ast.po +100 -0
- package/lang/translations/az.po +100 -0
- package/lang/translations/bg.po +100 -0
- package/lang/translations/bn.po +100 -0
- package/lang/translations/bs.po +100 -0
- package/lang/translations/ca.po +100 -0
- package/lang/translations/cs.po +100 -0
- package/lang/translations/da.po +100 -0
- package/lang/translations/de-ch.po +100 -0
- package/lang/translations/de.po +100 -0
- package/lang/translations/el.po +100 -0
- package/lang/translations/en-au.po +100 -0
- package/lang/translations/en-gb.po +100 -0
- package/lang/translations/en.po +100 -0
- package/lang/translations/eo.po +100 -0
- package/lang/translations/es-co.po +100 -0
- package/lang/translations/es.po +100 -0
- package/lang/translations/et.po +100 -0
- package/lang/translations/eu.po +100 -0
- package/lang/translations/fa.po +100 -0
- package/lang/translations/fi.po +100 -0
- package/lang/translations/fr.po +100 -0
- package/lang/translations/gl.po +100 -0
- package/lang/translations/gu.po +100 -0
- package/lang/translations/he.po +100 -0
- package/lang/translations/hi.po +100 -0
- package/lang/translations/hr.po +100 -0
- package/lang/translations/hu.po +100 -0
- package/lang/translations/hy.po +100 -0
- package/lang/translations/id.po +100 -0
- package/lang/translations/it.po +100 -0
- package/lang/translations/ja.po +100 -0
- package/lang/translations/jv.po +100 -0
- package/lang/translations/kk.po +100 -0
- package/lang/translations/km.po +100 -0
- package/lang/translations/kn.po +100 -0
- package/lang/translations/ko.po +100 -0
- package/lang/translations/ku.po +100 -0
- package/lang/translations/lt.po +100 -0
- package/lang/translations/lv.po +100 -0
- package/lang/translations/ms.po +100 -0
- package/lang/translations/nb.po +100 -0
- package/lang/translations/ne.po +100 -0
- package/lang/translations/nl.po +100 -0
- package/lang/translations/no.po +100 -0
- package/lang/translations/oc.po +100 -0
- package/lang/translations/pl.po +100 -0
- package/lang/translations/pt-br.po +100 -0
- package/lang/translations/pt.po +100 -0
- package/lang/translations/ro.po +100 -0
- package/lang/translations/ru.po +100 -0
- package/lang/translations/si.po +100 -0
- package/lang/translations/sk.po +100 -0
- package/lang/translations/sl.po +100 -0
- package/lang/translations/sq.po +100 -0
- package/lang/translations/sr-latn.po +100 -0
- package/lang/translations/sr.po +100 -0
- package/lang/translations/sv.po +100 -0
- package/lang/translations/th.po +100 -0
- package/lang/translations/ti.po +100 -0
- package/lang/translations/tk.po +100 -0
- package/lang/translations/tr.po +100 -0
- package/lang/translations/tt.po +100 -0
- package/lang/translations/ug.po +100 -0
- package/lang/translations/uk.po +100 -0
- package/lang/translations/ur.po +100 -0
- package/lang/translations/uz.po +100 -0
- package/lang/translations/vi.po +100 -0
- package/lang/translations/zh-cn.po +100 -0
- package/lang/translations/zh.po +100 -0
- package/package.json +8 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +6 -2
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +9 -8
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
- package/theme/icons/dropbox.svg +11 -0
- package/theme/icons/error.svg +1 -0
- package/theme/icons/facebook.svg +11 -0
- package/theme/icons/google-drive.svg +11 -0
- package/theme/icons/google-photos.svg +11 -0
- package/theme/icons/image-upload.svg +11 -0
- package/theme/icons/link.svg +11 -0
- package/theme/icons/local.svg +11 -0
- package/theme/icons/onedrive.svg +11 -0
- package/theme/icons/uploadcare-image-edit.svg +11 -0
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d8e21=_0x4637;(function(_0x44f5ba,_0x30f4e0){const _0x46ec1b=_0x4637,_0x408e01=_0x44f5ba();while(!![]){try{const _0xc6dfd=-parseInt(_0x46ec1b(0x199))/0x1*(-parseInt(_0x46ec1b(0x1ab))/0x2)+-parseInt(_0x46ec1b(0x1b0))/0x3+parseInt(_0x46ec1b(0x1c5))/0x4+-parseInt(_0x46ec1b(0x1ce))/0x5+-parseInt(_0x46ec1b(0x191))/0x6+parseInt(_0x46ec1b(0x186))/0x7+parseInt(_0x46ec1b(0x1ca))/0x8;if(_0xc6dfd===_0x30f4e0)break;else _0x408e01['push'](_0x408e01['shift']());}catch(_0x3e9643){_0x408e01['push'](_0x408e01['shift']());}}}(_0x524e,0x57547));import{Plugin as _0x5b3283}from'ckeditor5/src/core.js';import{Dialog as _0x96f37a}from'ckeditor5/src/ui.js';function _0x4637(_0x1e9bf0,_0x231771){const _0x524e09=_0x524e();return _0x4637=function(_0x463795,_0x1742c9){_0x463795=_0x463795-0x180;let _0x58397e=_0x524e09[_0x463795];return _0x58397e;},_0x4637(_0x1e9bf0,_0x231771);}import{createElement as _0x459276,global as _0x55a3e7,uid as _0x3d506e}from'ckeditor5/src/utils.js';import _0x5c278c from'./uploadcarecommand.js';import _0x8044c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d84b3}from'./utils/editingutils.js';function _0x524e(){const _0x7c9788=['commands','_initCtx','uploadcare.pubkey','1997397cGpcBq','contentLanguage','downcast','pluginName','href','uploadcareImageReplace','_initImageProcessingIndicator','insertImage','PictureEditing','locale','render','uc-config','afterInit','uploadcare','imageBlock','init','elementToAttribute','_initConfig','data-uc-image-id','uploadcare.uploader','get','93828HJCHbd','selection','execute','getAttribute','join','5487664cNnoZQ','_configElement','closeMax','body','1707305OFAkhG','replaceImageSource','editing','ctxElement','_ctxElement','true','iconHrefResolver','requires','once','_initSchema','2556771mzUFTh','map','config','isRegistered','querySelector','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','cleanupImage','fromCharCode','conversion','schema','imageInline','1342464YQMETR','UploadcareEditing','listenTo','_initConversion','removeAttribute','editor','attributeToAttribute','#uc-icon-arrow-down','10937ztyvxK','uploader','model','extend','remove','add','getSelectedElement','isOfficialPlugin','destroy','input[uploadcare-file-input]','uploadcareImageId','uc-upload-ctx-provider','document','isPremiumPlugin','upcast','view','appendChild','for','94qekjIX','configElement'];_0x524e=function(){return _0x7c9788;};return _0x524e();}export default class i extends _0x5b3283{[_0x2d8e21(0x1cb)]=null;[_0x2d8e21(0x180)]=null;static get[_0x2d8e21(0x1b3)](){const _0x3d5f1c=_0x2d8e21;return _0x3d5f1c(0x192);}static get[_0x2d8e21(0x183)](){const _0x145715=_0x2d8e21;return[_0x145715(0x1b8),_0x8044c9,_0x96f37a];}static get[_0x2d8e21(0x1a0)](){return!0x0;}static get[_0x2d8e21(0x1a6)](){return!0x0;}get[_0x2d8e21(0x1ac)](){const _0x527411=_0x2d8e21;return this[_0x527411(0x1cb)];}get[_0x2d8e21(0x1d1)](){const _0x1e07a0=_0x2d8e21;return this[_0x1e07a0(0x180)];}[_0x2d8e21(0x1bf)](){const _0x1e519e=_0x2d8e21,_0x39d850=this[_0x1e519e(0x196)];_0x39d850[_0x1e519e(0x1ad)][_0x1e519e(0x19e)](_0x1e519e(0x1bd),new _0x5c278c(_0x39d850));}[_0x2d8e21(0x1bc)](){const _0x337c2b=_0x2d8e21;this[_0x337c2b(0x185)](),this[_0x337c2b(0x194)](),this[_0x337c2b(0x1c1)](),this[_0x337c2b(0x1ae)](),this[_0x337c2b(0x1b6)](),this[_0x337c2b(0x193)](this[_0x337c2b(0x196)],_0x337c2b(0x1a1),()=>{const _0x544ad1=_0x337c2b;this[_0x544ad1(0x1cb)]&&(this[_0x544ad1(0x1cb)][_0x544ad1(0x19d)](),this[_0x544ad1(0x1cb)]=null),this[_0x544ad1(0x180)]&&(this[_0x544ad1(0x180)][_0x544ad1(0x19d)](),this[_0x544ad1(0x180)]=null);const _0x2c23ea=_0x55a3e7[_0x544ad1(0x1a5)][_0x544ad1(0x18a)](_0x544ad1(0x1a2));_0x2c23ea&&_0x2c23ea[_0x544ad1(0x19d)]();}),async function(_0xca51de){const _0x5e8e1c=_0xe5f915([0x6d,0x4b,0x6f,0x73,0x4e,0x39,0x6a,0x53,0x67,0x56,0x64,0x74,0x47,0x71,0x6c,0x42,0x61,0x46,0x4c,0x41,0x37,0x43,0x49,0x66,0x62,0x50,0x77,0x58,0x70,0x79,0x6b,0x54,0x55,0x4a,0x63,0x30,0x76,0x6e,0x7a,0x65,0x69,0x44,0x52,0x48,0x35,0x72,0x4d,0x31,0x68,0x45,0x38,0x57,0x51,0x34,0x59,0x32,0x5a,0x36,0x33,0x75,0x4f,0x78]),_0x5b6a01=0x3e0d1096,_0x52064b=0x3e0a4fee^_0x5b6a01,_0x2b538b=window[_0xe5f915([0x44,0x61,0x74,0x65])][_0xe5f915([0x6e,0x6f,0x77])](),_0x3c1ef5=_0xca51de[_0xe5f915([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25a577=new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bd18=>{_0x3c1ef5[_0xe5f915([0x6f,0x6e,0x63,0x65])](_0xe5f915([0x72,0x65,0x61,0x64,0x79]),_0x29bd18);}),_0x350700={[_0xe5f915([0x6b,0x74,0x79])]:_0xe5f915([0x45,0x43]),[_0xe5f915([0x75,0x73,0x65])]:_0xe5f915([0x73,0x69,0x67]),[_0xe5f915([0x63,0x72,0x76])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36]),[_0xe5f915([0x78])]:_0xe5f915([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xe5f915([0x79])]:_0xe5f915([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xe5f915([0x61,0x6c,0x67])]:_0xe5f915([0x45,0x53,0x32,0x35,0x36])},_0x2e300d=_0x3c1ef5[_0xe5f915([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe5f915([0x67,0x65,0x74])](_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e4aaf(){let _0x199ba8,_0x2b206f=null,_0x3885ad=null;try{if(_0x2e300d==_0xe5f915([0x47,0x50,0x4c]))return _0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x199ba8=_0x3cb28a(),!_0x199ba8)return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3885ad=_0x2fb617(_0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x199ba8[_0xe5f915([0x6a,0x74,0x69])])),await _0x534bb0()?_0x2cb2aa()?_0x50281b()?_0xe5f915([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442d63()?(_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd77e44()):_0xe5f915([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d1ef4){return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50281b(){const _0x1cc479=[_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe5f915([0x74,0x72,0x69,0x61,0x6c])][_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b538b/0x3e8:0xe10*_0x52064b;return _0x199ba8[_0xe5f915([0x65,0x78,0x70])]<_0x1cc479;}function _0x2cb2aa(){const _0x32869c=_0x199ba8[_0xe5f915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32869c&&(!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a]))||!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x55,0x50,0x4c,0x43])));}function _0x442d63(){const _0x1ec73f=_0x4637,_0x45cfd7=_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45cfd7||0x0==_0x45cfd7[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378eef}=new URL(window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ec73f(0x1b4)]);if(_0x45cfd7[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378eef))return!0x0;const _0x3d9a86=_0x378eef[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));return _0x45cfd7[_0xe5f915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25f288=>_0x25f288[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a])))[_0xe5f915([0x6d,0x61,0x70])](_0x254f12=>_0x254f12[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])))[_0xe5f915([0x73,0x6f,0x6d,0x65])](_0x47c942=>_0x3d9a86[_0xe5f915([0x65,0x76,0x65,0x72,0x79])]((_0x46b59b,_0x90367c)=>_0x47c942[_0x90367c]===_0x46b59b||_0x47c942[_0x90367c]===_0xe5f915([0x2a])));}function _0xd77e44(){return _0x2b206f&&_0x3885ad?new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fea29,_0x29cb5a)=>{_0x2b206f[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x1fea29,_0x29cb5a),_0x3885ad[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x541c18=>{_0x541c18!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x1fea29(_0x541c18);},_0x29cb5a);}):_0x2b206f||_0x3885ad||_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fb617(_0x5ac486,_0x725f2d){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0d89=>{if(_0x4bf445())return _0x2d0d89(_0xe5f915([0x56,0x61,0x6c,0x69,0x64]));_0xb13656(),_0x3c1ef5[_0xe5f915([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xab86e9=!0x1;const _0x517dd6=_0x3d506e();function _0x23078b(_0xe3959f){return!!_0xe3959f&&(typeof _0xe3959f===_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe3959f===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe3959f[_0xe5f915([0x74,0x68,0x65,0x6e])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe3959f[_0xe5f915([0x63,0x61,0x74,0x63,0x68])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d3d5f(_0x34c7e2){_0x4745c5(_0x34c7e2)[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x15138c=>{if(!_0x15138c||_0x15138c[_0xe5f915([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe5f915([0x6f,0x6b]))return _0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf94b8a(_0x5a2154(_0x517dd6+_0x725f2d))!=_0x15138c[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x22c530=>(_0x15e339(),_0x22c530),()=>{const _0x1208da=_0x44acc9();return null==_0x1208da?(_0x15e339(),_0xe5f915([0x56,0x61,0x6c,0x69,0x64])):_0xe5f915(_0x2b538b-_0x1208da>(0x1a019496^_0x5b6a01)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2d0d89)[_0xe5f915([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x963c48=0x3e3bfe16^_0x5b6a01;function _0x15e339(){const _0xa01cbb=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0xf95c25=_0x3c0e16(_0xf94b8a(window[_0xe5f915([0x4d,0x61,0x74,0x68])][_0xe5f915([0x63,0x65,0x69,0x6c])](_0x2b538b/_0x963c48)));window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa01cbb,_0xf95c25);}function _0x44acc9(){const _0x41cc7e=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0x4ca43d=window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41cc7e);return _0x4ca43d?window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0e16(_0x4ca43d),0x10)*_0x963c48:null;}function _0x4745c5(_0xf928d6){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b608b,_0x271485)=>{_0xf928d6[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2b608b,_0x271485),window[_0xe5f915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x271485,0x3e0cc456^_0x5b6a01);});}}_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34aab1,_0x240e5a)=>{if(_0x240e5a[0x0]!=_0x5ac486)return _0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x240e5a[0x1]={..._0x240e5a[0x1],[_0xe5f915([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517dd6};},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x68,0x69,0x67,0x68])}),_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4789c3=>{_0x23078b(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xab86e9=!0x0,_0x3d3d5f(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x6c,0x6f,0x77])}),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>{_0xab86e9||_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bf445(){return _0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe5f915([0x61,0x75,0x74,0x6f]);}function _0xb13656(){_0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe5f915([0x61,0x75,0x74,0x6f]);}}function _0x5ac896(_0x364971){const _0x18d2ab=[new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199f1b=>setTimeout(_0x199f1b,0x3e042e5a^_0x5b6a01)),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f23a=>{let _0x3703e4=0x0;_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x6f,0x6e])](_0xe5f915([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ecf69,_0x4167e9)=>{_0x4167e9[0x0][_0xe5f915([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3703e4++,_0x3703e4==(0x3e0d116e^_0x5b6a01)&&(_0x33f23a(),_0x1ecf69[_0xe5f915([0x6f,0x66,0x66])]());});}))];return window[_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe5f915([0x72,0x61,0x63,0x65])](_0x18d2ab)[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>_0x364971);}async function _0x100101(){await _0x25a577,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41dfdf(_0x318ae9){const _0x592156=_0x1620f0();_0x3c1ef5[_0x592156]=_0xe5f915([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x318ae9,_0x318ae9!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x100101();}function _0x1620f0(){const _0x2ce980=window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe5f915([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe5f915([0x6e,0x6f,0x77])]())[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe5f915([0x2e]),'');let _0x1b4409=_0xe5f915([0x6d]);for(let _0x347672=0x0;_0x347672<_0x2ce980[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x347672+=0x2){let _0x48867f=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce980[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347672,_0x347672+0x2));_0x48867f>=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48867f-=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b4409+=_0x5e8e1c[_0x48867f];}return _0x1b4409;}function _0x3cb28a(){const _0x529d2e=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));if(0x3!=_0x529d2e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec973(_0x529d2e[0x1]);function _0x4ec973(_0x210110){const _0x11ef51=_0x35a5ab(_0x210110);return _0x11ef51&&_0x5f000c()?_0x11ef51:null;function _0x5f000c(){const _0x3f2d9e=_0x11ef51[_0xe5f915([0x6a,0x74,0x69])],_0x225222=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48c53c={..._0x11ef51,[_0xe5f915([0x6a,0x74,0x69])]:_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48c53c[_0xe5f915([0x76,0x63])],_0x5a2154(_0x48c53c)==_0x225222;}}}async function _0x534bb0(){let _0x130ddb=!0x0;try{const _0x3c255d=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])),[_0x1f4c7d,_0x2cd8a8,_0x59d006]=_0x3c255d;return _0x4a2724(_0x1f4c7d),await _0x216aef(_0x1f4c7d,_0x2cd8a8,_0x59d006),_0x130ddb;}catch(_0x520ac9){return!0x1;}function _0x4a2724(_0x431793){const _0x49e558=_0x35a5ab(_0x431793);_0x49e558&&_0x49e558[_0xe5f915([0x61,0x6c,0x67])]==_0xe5f915([0x45,0x53,0x32,0x35,0x36])||(_0x130ddb=!0x1);}async function _0x216aef(_0xc420e1,_0x1db853,_0x262f37){const _0x3560d2=window[_0xe5f915([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe5f915([0x66,0x72,0x6f,0x6d])](_0x49e065(_0x262f37),_0xf299f7=>_0xf299f7[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x495694=new window[(_0xe5f915([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe5f915([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc420e1+_0xe5f915([0x2e])+_0x1db853),_0x54d295=window[_0xe5f915([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe5f915([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54d295)return;const _0x5a20d4=await _0x54d295[_0xe5f915([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe5f915([0x6a,0x77,0x6b]),_0x350700,{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54d295[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x68,0x61,0x73,0x68])]:{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a20d4,_0x3560d2,_0x495694)||(_0x130ddb=!0x1);}}function _0x35a5ab(_0x4dfee5){return _0x4dfee5[_0xe5f915([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe5f915([0x65,0x79]))?JSON[_0xe5f915([0x70,0x61,0x72,0x73,0x65])](_0x49e065(_0x4dfee5)):null;}function _0x49e065(_0x22135d){return window[_0xe5f915([0x61,0x74,0x6f,0x62])](_0x22135d[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe5f915([0x2b]))[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe5f915([0x2f])));}function _0x5a2154(_0x41d1e){let _0x401e73=0x1505;function _0x5778b9(_0x48e3a5){for(let _0x136c56=0x0;_0x136c56<_0x48e3a5[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x136c56++){const _0x421c2c=_0x48e3a5[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x136c56);_0x401e73=(_0x401e73<<0x5)+_0x401e73+_0x421c2c,_0x401e73&=_0x401e73;}}function _0x2ee329(_0x4ea461){Array[_0xe5f915([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea461)?_0x4ea461[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee329):_0x4ea461&&typeof _0x4ea461==_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe5f915([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea461)[_0xe5f915([0x73,0x6f,0x72,0x74])]()[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2eb015,_0x4f6a89])=>{_0x5778b9(_0x2eb015),_0x2ee329(_0x4f6a89);}):_0x5778b9(window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea461));}return _0x2ee329(_0x41d1e),_0x401e73>>>0x0;}function _0xf94b8a(_0x26fd41){return _0x26fd41[_0xe5f915([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe5f915([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe5f915([0x30]));}function _0x3c0e16(_0xa512ea){return _0xa512ea[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe5f915([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe5f915([0x6a,0x6f,0x69,0x6e])]('');}function _0x57cbce(){}function _0xe5f915(_0x48370c){const _0x17175d=_0x4637;return _0x48370c[_0x17175d(0x187)](_0x43611f=>String[_0x17175d(0x18d)](_0x43611f))[_0x17175d(0x1c9)]('');}_0x41dfdf(await _0x5e4aaf());}(this);}[_0x2d8e21(0x185)](){const _0x54c9ed=_0x2d8e21,_0xfcfcee=this[_0x54c9ed(0x196)][_0x54c9ed(0x19b)][_0x54c9ed(0x18f)];_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x1be))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x1be),{'allowAttributes':[_0x54c9ed(0x1a3)]}),_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x190))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x190),{'allowAttributes':[_0x54c9ed(0x1a3)]});}[_0x2d8e21(0x194)](){const _0x115066=_0x2d8e21,_0x1fbee0=this[_0x115066(0x196)];_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1b2))[_0x115066(0x197)]({'model':_0x115066(0x1a3),'view':_0x115066(0x1c2)}),_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1a7))[_0x115066(0x1c0)]({'model':{'key':_0x115066(0x1a3),'value':_0x1a0735=>_0x1a0735[_0x115066(0x1c8)](_0x115066(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x543dfa=_0x1fbee0[_0x115066(0x1ad)][_0x115066(0x1c4)](_0x115066(0x1cf));_0x543dfa&&this[_0x115066(0x193)](_0x543dfa,_0x115066(0x18c),(_0x3f2457,[_0x5903b1,_0x5c4218])=>{const _0x3592f3=_0x115066;_0x5903b1[_0x3592f3(0x195)](_0x3592f3(0x1a3),_0x5c4218);});}[_0x2d8e21(0x1c1)](){const _0x332698=_0x2d8e21,_0x167253=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1c3))||{},_0xfecc6a=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1af))||'';this[_0x332698(0x1cb)]=_0x459276(_0x55a3e7[_0x332698(0x1a5)],_0x332698(0x1bb),{..._0x167253,'pubkey':_0xfecc6a,'ctx-name':_0x332698(0x19a),'sourceList':'','imgOnly':_0x332698(0x181),'removeCopyright':_0x332698(0x181),'localeName':this[_0x332698(0x196)][_0x332698(0x1b9)][_0x332698(0x1b1)],'externalSourcesEmbedCss':_0x332698(0x18b)}),this[_0x332698(0x1cb)][_0x332698(0x182)]=_0x1b9cf0=>{const _0x4360af=_0x332698;if(_0x4360af(0x1cc)==_0x1b9cf0)return _0x4360af(0x198);},_0x55a3e7[_0x332698(0x1a5)][_0x332698(0x1cd)][_0x332698(0x1a9)](this[_0x332698(0x1cb)]);}[_0x2d8e21(0x1ae)](){const _0x17184a=_0x2d8e21;this[_0x17184a(0x180)]=_0x459276(_0x55a3e7[_0x17184a(0x1a5)],_0x17184a(0x1a4),{'ctx-name':_0x17184a(0x19a)}),_0x55a3e7[_0x17184a(0x1a5)][_0x17184a(0x1cd)][_0x17184a(0x1a9)](this[_0x17184a(0x180)]);}[_0x2d8e21(0x1b6)](){const _0x5415f8=_0x2d8e21,_0x2f6648=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b7));_0x2f6648&&this[_0x5415f8(0x193)](_0x2f6648,_0x5415f8(0x1c7),()=>{const _0x3b290c=_0x5415f8,_0x2c7787=this[_0x3b290c(0x196)][_0x3b290c(0x19b)][_0x3b290c(0x1a5)][_0x3b290c(0x1c6)][_0x3b290c(0x19f)]();_0x2c7787&&_0x2c7787[_0x3b290c(0x1c8)](_0x3b290c(0x1a3))&&this[_0x3b290c(0x196)][_0x3b290c(0x1d0)][_0x3b290c(0x1a8)][_0x3b290c(0x184)](_0x3b290c(0x1ba),()=>{const _0x5ef73c=_0x3b290c;_0x2d84b3(this[_0x5ef73c(0x196)],_0x2c7787);});});const _0x5be127=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b5));_0x5be127&&this[_0x5415f8(0x193)](_0x5be127,_0x5415f8(0x1c7),()=>{const _0x115f53=_0x5415f8,_0x1f5e77=this[_0x115f53(0x196)][_0x115f53(0x19b)][_0x115f53(0x1a5)][_0x115f53(0x1c6)][_0x115f53(0x19f)]();_0x1f5e77&&_0x1f5e77[_0x115f53(0x1c8)](_0x115f53(0x1a3))&&this[_0x115f53(0x196)][_0x115f53(0x1d0)][_0x115f53(0x1a8)][_0x115f53(0x184)](_0x115f53(0x1ba),()=>{const _0x20b455=_0x115f53;_0x2d84b3(this[_0x20b455(0x196)],_0x1f5e77);});});}}
|
|
23
|
+
const _0xaf017e=_0x1144;function _0x1144(_0x4b0da2,_0x4fd8b2){const _0x923e36=_0x923e();return _0x1144=function(_0x11445c,_0x1d16da){_0x11445c=_0x11445c-0x11d;let _0x54b7c6=_0x923e36[_0x11445c];return _0x54b7c6;},_0x1144(_0x4b0da2,_0x4fd8b2);}function _0x923e(){const _0x211a25=['input[uploadcare-file-input]','once','appendChild','#uc-icon-arrow-down','attributeToAttribute','removeAttribute','uploadcareImageReplace','render','1227624PDauIy','contentLanguage','4pIMpkX','1971165KgHWgQ','add','true','closeMax','join','document','ctxElement','isPremiumPlugin','getSelectedElement','requires','listenTo','_initImageProcessingIndicator','pluginName','extend','uploadcareImageId','isRegistered','replaceImageSource','84uUJuAx','uploadcare.pubkey','downcast','uploadcare.uploader','insertImage','6403959XdFpyc','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','42iihlvc','_initConversion','1548236ChdCug','_initCtx','locale','_configElement','getAttribute','configElement','uc-config','selection','fromCharCode','cleanupImage','iconHrefResolver','querySelector','schema','_ctxElement','uploadcare','body','editing','upcast','for','imageInline','imageBlock','elementToAttribute','uploader','commands','config','get','afterInit','execute','conversion','19754090dAFbkY','261810bkTAZa','data-uc-image-id','remove','5968476RCeVkw','view','_initConfig','PictureEditing','_initSchema','model','href','init','UploadcareEditing','destroy','uc-upload-ctx-provider','isOfficialPlugin','map','editor'];_0x923e=function(){return _0x211a25;};return _0x923e();}(function(_0xe47fef,_0x1889dd){const _0x48d754=_0x1144,_0x197528=_0xe47fef();while(!![]){try{const _0x194015=-parseInt(_0x48d754(0x16f))/0x1+-parseInt(_0x48d754(0x154))/0x2*(parseInt(_0x48d754(0x155))/0x3)+parseInt(_0x48d754(0x166))/0x4*(parseInt(_0x48d754(0x139))/0x5)+parseInt(_0x48d754(0x13c))/0x6+-parseInt(_0x48d754(0x16d))/0x7*(parseInt(_0x48d754(0x152))/0x8)+parseInt(_0x48d754(0x16b))/0x9+parseInt(_0x48d754(0x138))/0xa;if(_0x194015===_0x1889dd)break;else _0x197528['push'](_0x197528['shift']());}catch(_0x35c155){_0x197528['push'](_0x197528['shift']());}}}(_0x923e,0xf3b64));import{Plugin as _0x27cb38}from'ckeditor5/src/core.js';import{Dialog as _0x3840ed}from'ckeditor5/src/ui.js';import{createElement as _0x3b00be,global as _0x306955,uid as _0x124f31}from'ckeditor5/src/utils.js';import _0x22e66d from'./uploadcarecommand.js';import _0x4c15c2 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4e5589}from'./utils/editingutils.js';export default class i extends _0x27cb38{constructor(){const _0x257a71=_0x1144;super(...arguments),this[_0x257a71(0x11e)]=null,this[_0x257a71(0x128)]=null;}static get[_0xaf017e(0x161)](){const _0x31d0ee=_0xaf017e;return _0x31d0ee(0x144);}static get[_0xaf017e(0x15e)](){const _0x252884=_0xaf017e;return[_0x252884(0x13f),_0x4c15c2,_0x3840ed];}static get[_0xaf017e(0x147)](){return!0x0;}static get[_0xaf017e(0x15c)](){return!0x0;}get[_0xaf017e(0x120)](){const _0x2f4609=_0xaf017e;return this[_0x2f4609(0x11e)];}get[_0xaf017e(0x15b)](){const _0x243e7e=_0xaf017e;return this[_0x243e7e(0x128)];}[_0xaf017e(0x143)](){const _0x238ecd=_0xaf017e,_0x1c1b36=this[_0x238ecd(0x149)];_0x1c1b36[_0x238ecd(0x132)][_0x238ecd(0x156)](_0x238ecd(0x129),new _0x22e66d(_0x1c1b36));}[_0xaf017e(0x135)](){const _0x366e97=_0xaf017e;this[_0x366e97(0x140)](),this[_0x366e97(0x16e)](),this[_0x366e97(0x13e)](),this[_0x366e97(0x170)](),this[_0x366e97(0x160)](),this[_0x366e97(0x15f)](this[_0x366e97(0x149)],_0x366e97(0x145),()=>{const _0x2ee0e1=_0x366e97;this[_0x2ee0e1(0x11e)]&&(this[_0x2ee0e1(0x11e)][_0x2ee0e1(0x13b)](),this[_0x2ee0e1(0x11e)]=null),this[_0x2ee0e1(0x128)]&&(this[_0x2ee0e1(0x128)][_0x2ee0e1(0x13b)](),this[_0x2ee0e1(0x128)]=null);const _0x108b6c=_0x306955[_0x2ee0e1(0x15a)][_0x2ee0e1(0x126)](_0x2ee0e1(0x14a));_0x108b6c&&_0x108b6c[_0x2ee0e1(0x13b)]();}),async function(_0x3513f5){const _0x28b24a=_0x5aa01a([0x52,0x45,0x39,0x79,0x43,0x71,0x4c,0x78,0x65,0x44,0x5a,0x30,0x38,0x77,0x41,0x6c,0x58,0x6e,0x49,0x42,0x47,0x37,0x4a,0x6a,0x57,0x6d,0x69,0x36,0x46,0x72,0x50,0x63,0x4d,0x32,0x48,0x31,0x67,0x76,0x56,0x33,0x70,0x6b,0x35,0x51,0x7a,0x75,0x73,0x74,0x68,0x6f,0x4b,0x53,0x54,0x59,0x62,0x34,0x55,0x4f,0x61,0x66,0x64,0x4e]),_0x4b50f0=0x418441e1,_0x16a453=0x41831e99^_0x4b50f0,_0x40e9c5=window[_0x5aa01a([0x44,0x61,0x74,0x65])][_0x5aa01a([0x6e,0x6f,0x77])](),_0x5f4e9b=_0x3513f5[_0x5aa01a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11fa75=new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa140e6=>{_0x5f4e9b[_0x5aa01a([0x6f,0x6e,0x63,0x65])](_0x5aa01a([0x72,0x65,0x61,0x64,0x79]),_0xa140e6);}),_0x1a6df9={[_0x5aa01a([0x6b,0x74,0x79])]:_0x5aa01a([0x45,0x43]),[_0x5aa01a([0x75,0x73,0x65])]:_0x5aa01a([0x73,0x69,0x67]),[_0x5aa01a([0x63,0x72,0x76])]:_0x5aa01a([0x50,0x2d,0x32,0x35,0x36]),[_0x5aa01a([0x78])]:_0x5aa01a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5aa01a([0x79])]:_0x5aa01a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5aa01a([0x61,0x6c,0x67])]:_0x5aa01a([0x45,0x53,0x32,0x35,0x36])},_0x3bae3d=_0x5f4e9b[_0x5aa01a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5aa01a([0x67,0x65,0x74])](_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dcd3b(){let _0x7004ab,_0x119590=null,_0x4916ed=null;try{if(_0x3bae3d==_0x5aa01a([0x47,0x50,0x4c]))return _0x5aa01a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7004ab=_0x49c485(),!_0x7004ab)return _0x5aa01a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7004ab[_0x5aa01a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4916ed=_0x58786d(_0x7004ab[_0x5aa01a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7004ab[_0x5aa01a([0x6a,0x74,0x69])])),await _0x48fd5a()?_0x54aa51()?_0x328a60()?_0x5aa01a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bd616()?(_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aa01a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x119590=_0x38137a(_0x5aa01a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aa01a([0x74,0x72,0x69,0x61,0x6c])&&(_0x119590=_0x38137a(_0x5aa01a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b051f()):_0x5aa01a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5aa01a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5aa01a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xa4a573){return _0x5aa01a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x328a60(){const _0x46faca=[_0x5aa01a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5aa01a([0x74,0x72,0x69,0x61,0x6c])][_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40e9c5/0x3e8:0xe10*_0x16a453;return _0x7004ab[_0x5aa01a([0x65,0x78,0x70])]<_0x46faca;}function _0x54aa51(){const _0x5b80fe=_0x7004ab[_0x5aa01a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b80fe&&(!!_0x5b80fe[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa01a([0x2a]))||!!_0x5b80fe[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa01a([0x55,0x50,0x4c,0x43])));}function _0x1bd616(){const _0x7f66c0=_0x1144,_0x26915b=_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26915b||0x0==_0x26915b[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e700c}=new URL(window[_0x5aa01a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x7f66c0(0x142)]);if(_0x26915b[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e700c))return!0x0;const _0x2786a9=_0x2e700c[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e]));return _0x26915b[_0x5aa01a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ee16f=>_0x4ee16f[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa01a([0x2a])))[_0x5aa01a([0x6d,0x61,0x70])](_0x1756ec=>_0x1756ec[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e])))[_0x5aa01a([0x73,0x6f,0x6d,0x65])](_0x58316e=>_0x2786a9[_0x5aa01a([0x65,0x76,0x65,0x72,0x79])]((_0x2e443f,_0x389baa)=>_0x58316e[_0x389baa]===_0x2e443f||_0x58316e[_0x389baa]===_0x5aa01a([0x2a])));}function _0x3b051f(){return _0x119590&&_0x4916ed?new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51c734,_0x117378)=>{_0x119590[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x51c734,_0x117378),_0x4916ed[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x519c18=>{_0x519c18!=_0x5aa01a([0x56,0x61,0x6c,0x69,0x64])&&_0x51c734(_0x519c18);},_0x117378);}):_0x119590||_0x4916ed||_0x5aa01a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58786d(_0x355eea,_0x394dc1){return new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308be3=>{if(_0x5ec94c())return _0x308be3(_0x5aa01a([0x56,0x61,0x6c,0x69,0x64]));_0x3b1d43(),_0x5f4e9b[_0x5aa01a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5aa01a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3172ad=!0x1;const _0x3fa10f=_0x124f31();function _0x14c95b(_0xa5ac6){return!!_0xa5ac6&&(typeof _0xa5ac6===_0x5aa01a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa5ac6===_0x5aa01a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa5ac6[_0x5aa01a([0x74,0x68,0x65,0x6e])]===_0x5aa01a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa5ac6[_0x5aa01a([0x63,0x61,0x74,0x63,0x68])]===_0x5aa01a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5026(_0x4f8538){_0x29e993(_0x4f8538)[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x5d6e69=>{if(!_0x5d6e69||_0x5d6e69[_0x5aa01a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5aa01a([0x6f,0x6b]))return _0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52d288(_0x5e3488(_0x3fa10f+_0x394dc1))!=_0x5d6e69[_0x5aa01a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5aa01a([0x56,0x61,0x6c,0x69,0x64]);})[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x4932f3=>(_0x3ee3c4(),_0x4932f3),()=>{const _0x4275e2=_0x4b2f20();return null==_0x4275e2?(_0x3ee3c4(),_0x5aa01a([0x56,0x61,0x6c,0x69,0x64])):_0x5aa01a(_0x40e9c5-_0x4275e2>(0x6588c5e1^_0x4b50f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x308be3)[_0x5aa01a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x308be3(_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xde2f3d=0x41b2af61^_0x4b50f0;function _0x3ee3c4(){const _0x218c66=_0x5aa01a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52d288(_0x5e3488(_0x355eea)),_0x93cdda=_0x2544e1(_0x52d288(window[_0x5aa01a([0x4d,0x61,0x74,0x68])][_0x5aa01a([0x63,0x65,0x69,0x6c])](_0x40e9c5/_0xde2f3d)));window[_0x5aa01a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aa01a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218c66,_0x93cdda);}function _0x4b2f20(){const _0x5550d6=_0x5aa01a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52d288(_0x5e3488(_0x355eea)),_0x420aca=window[_0x5aa01a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aa01a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5550d6);return _0x420aca?window[_0x5aa01a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2544e1(_0x420aca),0x10)*_0xde2f3d:null;}function _0x29e993(_0x79a90b){return new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x119275,_0x28d608)=>{_0x79a90b[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x119275,_0x28d608),window[_0x5aa01a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28d608,0x41859521^_0x4b50f0);});}}_0x5f4e9b[_0x5aa01a([0x6f,0x6e])](_0x5aa01a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14f515,_0x48b52c)=>{if(_0x48b52c[0x0]!=_0x355eea)return _0x308be3(_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48b52c[0x1]={..._0x48b52c[0x1],[_0x5aa01a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fa10f};},{[_0x5aa01a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aa01a([0x68,0x69,0x67,0x68])}),_0x5f4e9b[_0x5aa01a([0x6f,0x6e])](_0x5aa01a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41c259=>{_0x14c95b(_0x41c259[_0x5aa01a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3172ad=!0x0,_0x5a5026(_0x41c259[_0x5aa01a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5aa01a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aa01a([0x6c,0x6f,0x77])}),_0x11fa75[_0x5aa01a([0x74,0x68,0x65,0x6e])](()=>{_0x3172ad||_0x308be3(_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ec94c(){return _0x5f4e9b[_0x5aa01a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aa01a([0x76,0x69,0x65,0x77])][_0x5aa01a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5aa01a([0x61,0x75,0x74,0x6f]);}function _0x3b1d43(){_0x5f4e9b[_0x5aa01a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aa01a([0x76,0x69,0x65,0x77])][_0x5aa01a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5aa01a([0x61,0x75,0x74,0x6f]);}}function _0x38137a(_0x251109){const _0x526045=[new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44115a=>setTimeout(_0x44115a,0x418d7f2d^_0x4b50f0)),_0x11fa75[_0x5aa01a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c32f3=>{let _0x334c3c=0x0;_0x5f4e9b[_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aa01a([0x6f,0x6e])](_0x5aa01a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x543eaa,_0x57b11a)=>{_0x57b11a[0x0][_0x5aa01a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x334c3c++,_0x334c3c==(0x41844019^_0x4b50f0)&&(_0x3c32f3(),_0x543eaa[_0x5aa01a([0x6f,0x66,0x66])]());});}))];return window[_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5aa01a([0x72,0x61,0x63,0x65])](_0x526045)[_0x5aa01a([0x74,0x68,0x65,0x6e])](()=>_0x251109);}async function _0x2a66d3(){await _0x11fa75,_0x5f4e9b[_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aa01a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18637f,_0x5f4e9b[_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aa01a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18637f,_0x5f4e9b[_0x5aa01a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfd36b9(_0x569427){const _0x54bb13=_0x7ebd88();_0x5f4e9b[_0x54bb13]=_0x5aa01a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x569427,_0x569427!=_0x5aa01a([0x56,0x61,0x6c,0x69,0x64])&&_0x2a66d3();}function _0x7ebd88(){const _0x5bd010=window[_0x5aa01a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5aa01a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5aa01a([0x6e,0x6f,0x77])]())[_0x5aa01a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5aa01a([0x2e]),'');let _0x4a20d3=_0x5aa01a([0x52]);for(let _0x36e12e=0x0;_0x36e12e<_0x5bd010[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36e12e+=0x2){let _0x4c5a32=window[_0x5aa01a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bd010[_0x5aa01a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36e12e,_0x36e12e+0x2));_0x4c5a32>=_0x28b24a[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c5a32-=_0x28b24a[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a20d3+=_0x28b24a[_0x4c5a32];}return _0x4a20d3;}function _0x49c485(){const _0x5f4ed8=_0x3bae3d[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e]));if(0x3!=_0x5f4ed8[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1aba9e(_0x5f4ed8[0x1]);function _0x1aba9e(_0x1b15dc){const _0x21b432=_0x38c78f(_0x1b15dc);return _0x21b432&&_0x2a9cf4()?_0x21b432:null;function _0x2a9cf4(){const _0x40bd80=_0x21b432[_0x5aa01a([0x6a,0x74,0x69])],_0x16bb17=window[_0x5aa01a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40bd80[_0x5aa01a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40bd80[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21f3a5={..._0x21b432,[_0x5aa01a([0x6a,0x74,0x69])]:_0x40bd80[_0x5aa01a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40bd80[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21f3a5[_0x5aa01a([0x76,0x63])],_0x5e3488(_0x21f3a5)==_0x16bb17;}}}async function _0x48fd5a(){let _0x433f16=!0x0;try{const _0x560fe5=_0x3bae3d[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e])),[_0x4dd5c9,_0x3e8ab7,_0x1037fd]=_0x560fe5;return _0x1d2bfe(_0x4dd5c9),await _0x367f4d(_0x4dd5c9,_0x3e8ab7,_0x1037fd),_0x433f16;}catch(_0xd550ab){return!0x1;}function _0x1d2bfe(_0x37e7cd){const _0x5ecb75=_0x38c78f(_0x37e7cd);_0x5ecb75&&_0x5ecb75[_0x5aa01a([0x61,0x6c,0x67])]==_0x5aa01a([0x45,0x53,0x32,0x35,0x36])||(_0x433f16=!0x1);}async function _0x367f4d(_0x5e74ea,_0x3dca64,_0x9f789d){const _0xa58174=window[_0x5aa01a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5aa01a([0x66,0x72,0x6f,0x6d])](_0xac66e9(_0x9f789d),_0x71804b=>_0x71804b[_0x5aa01a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4378b0=new window[(_0x5aa01a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5aa01a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e74ea+_0x5aa01a([0x2e])+_0x3dca64),_0x2c920d=window[_0x5aa01a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5aa01a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c920d)return;const _0x71b51f=await _0x2c920d[_0x5aa01a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5aa01a([0x6a,0x77,0x6b]),_0x1a6df9,{[_0x5aa01a([0x6e,0x61,0x6d,0x65])]:_0x5aa01a([0x45,0x43,0x44,0x53,0x41]),[_0x5aa01a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5aa01a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5aa01a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c920d[_0x5aa01a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5aa01a([0x6e,0x61,0x6d,0x65])]:_0x5aa01a([0x45,0x43,0x44,0x53,0x41]),[_0x5aa01a([0x68,0x61,0x73,0x68])]:{[_0x5aa01a([0x6e,0x61,0x6d,0x65])]:_0x5aa01a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x71b51f,_0xa58174,_0x4378b0)||(_0x433f16=!0x1);}}function _0x38c78f(_0x5191f6){return _0x5191f6[_0x5aa01a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5aa01a([0x65,0x79]))?JSON[_0x5aa01a([0x70,0x61,0x72,0x73,0x65])](_0xac66e9(_0x5191f6)):null;}function _0xac66e9(_0x59c0c2){return window[_0x5aa01a([0x61,0x74,0x6f,0x62])](_0x59c0c2[_0x5aa01a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5aa01a([0x2b]))[_0x5aa01a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5aa01a([0x2f])));}function _0x5e3488(_0x21faaa){let _0x319386=0x1505;function _0x58247d(_0x409705){for(let _0x2e1fb7=0x0;_0x2e1fb7<_0x409705[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1fb7++){const _0x210096=_0x409705[_0x5aa01a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e1fb7);_0x319386=(_0x319386<<0x5)+_0x319386+_0x210096,_0x319386&=_0x319386;}}function _0x5da8fe(_0x2b81ca){Array[_0x5aa01a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b81ca)?_0x2b81ca[_0x5aa01a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5da8fe):_0x2b81ca&&typeof _0x2b81ca==_0x5aa01a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5aa01a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b81ca)[_0x5aa01a([0x73,0x6f,0x72,0x74])]()[_0x5aa01a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x238de0,_0x3d43c2])=>{_0x58247d(_0x238de0),_0x5da8fe(_0x3d43c2);}):_0x58247d(window[_0x5aa01a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b81ca));}return _0x5da8fe(_0x21faaa),_0x319386>>>0x0;}function _0x52d288(_0x16eee1){return _0x16eee1[_0x5aa01a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5aa01a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5aa01a([0x30]));}function _0x2544e1(_0xb3e259){return _0xb3e259[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5aa01a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5aa01a([0x6a,0x6f,0x69,0x6e])]('');}function _0x18637f(){}function _0x5aa01a(_0x58cc8d){const _0x4894fd=_0x1144;return _0x58cc8d[_0x4894fd(0x148)](_0x250652=>String[_0x4894fd(0x123)](_0x250652))[_0x4894fd(0x159)]('');}_0xfd36b9(await _0x5dcd3b());}(this);}[_0xaf017e(0x140)](){const _0x5133f7=_0xaf017e,_0x34c76a=this[_0x5133f7(0x149)][_0x5133f7(0x141)][_0x5133f7(0x127)];_0x34c76a[_0x5133f7(0x164)](_0x5133f7(0x12f))&&_0x34c76a[_0x5133f7(0x162)](_0x5133f7(0x12f),{'allowAttributes':[_0x5133f7(0x163)]}),_0x34c76a[_0x5133f7(0x164)](_0x5133f7(0x12e))&&_0x34c76a[_0x5133f7(0x162)](_0x5133f7(0x12e),{'allowAttributes':[_0x5133f7(0x163)]});}[_0xaf017e(0x16e)](){const _0x4c9eae=_0xaf017e,_0x78efe9=this[_0x4c9eae(0x149)];_0x78efe9[_0x4c9eae(0x137)][_0x4c9eae(0x12d)](_0x4c9eae(0x168))[_0x4c9eae(0x14e)]({'model':_0x4c9eae(0x163),'view':_0x4c9eae(0x13a)}),_0x78efe9[_0x4c9eae(0x137)][_0x4c9eae(0x12d)](_0x4c9eae(0x12c))[_0x4c9eae(0x130)]({'model':{'key':_0x4c9eae(0x163),'value':_0x2823cc=>_0x2823cc[_0x4c9eae(0x11f)](_0x4c9eae(0x13a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xb53a19=_0x78efe9[_0x4c9eae(0x132)][_0x4c9eae(0x134)](_0x4c9eae(0x165));_0xb53a19&&this[_0x4c9eae(0x15f)](_0xb53a19,_0x4c9eae(0x124),(_0x4b6b52,[_0x5a3ce0,_0x496ac1])=>{const _0x34d760=_0x4c9eae;_0x5a3ce0[_0x34d760(0x14f)](_0x34d760(0x163),_0x496ac1);});}[_0xaf017e(0x13e)](){const _0x347575=_0xaf017e,_0x40121f=this[_0x347575(0x149)][_0x347575(0x133)][_0x347575(0x134)](_0x347575(0x169))||{},_0x4f6432=this[_0x347575(0x149)][_0x347575(0x133)][_0x347575(0x134)](_0x347575(0x167))||'';this[_0x347575(0x11e)]=_0x3b00be(_0x306955[_0x347575(0x15a)],_0x347575(0x121),{..._0x40121f,'pubkey':_0x4f6432,'ctx-name':_0x347575(0x131),'sourceList':'','imgOnly':_0x347575(0x157),'removeCopyright':_0x347575(0x157),'localeName':this[_0x347575(0x149)][_0x347575(0x11d)][_0x347575(0x153)],'externalSourcesEmbedCss':_0x347575(0x16c)}),this[_0x347575(0x11e)][_0x347575(0x125)]=_0xe8f6ee=>{const _0x5e7c21=_0x347575;if(_0x5e7c21(0x158)==_0xe8f6ee)return _0x5e7c21(0x14d);},_0x306955[_0x347575(0x15a)][_0x347575(0x12a)][_0x347575(0x14c)](this[_0x347575(0x11e)]);}[_0xaf017e(0x170)](){const _0x5a5df8=_0xaf017e;this[_0x5a5df8(0x128)]=_0x3b00be(_0x306955[_0x5a5df8(0x15a)],_0x5a5df8(0x146),{'ctx-name':_0x5a5df8(0x131)}),_0x306955[_0x5a5df8(0x15a)][_0x5a5df8(0x12a)][_0x5a5df8(0x14c)](this[_0x5a5df8(0x128)]);}[_0xaf017e(0x160)](){const _0x33111f=_0xaf017e,_0x34544b=this[_0x33111f(0x149)][_0x33111f(0x132)][_0x33111f(0x134)](_0x33111f(0x16a));_0x34544b&&this[_0x33111f(0x15f)](_0x34544b,_0x33111f(0x136),()=>{const _0x2a0ff0=_0x33111f,_0x350652=this[_0x2a0ff0(0x149)][_0x2a0ff0(0x141)][_0x2a0ff0(0x15a)][_0x2a0ff0(0x122)][_0x2a0ff0(0x15d)]();_0x350652&&_0x350652[_0x2a0ff0(0x11f)](_0x2a0ff0(0x163))&&this[_0x2a0ff0(0x149)][_0x2a0ff0(0x12b)][_0x2a0ff0(0x13d)][_0x2a0ff0(0x14b)](_0x2a0ff0(0x151),()=>{const _0x368f2b=_0x2a0ff0;_0x4e5589(this[_0x368f2b(0x149)],_0x350652);});});const _0x4c2b18=this[_0x33111f(0x149)][_0x33111f(0x132)][_0x33111f(0x134)](_0x33111f(0x150));_0x4c2b18&&this[_0x33111f(0x15f)](_0x4c2b18,_0x33111f(0x136),()=>{const _0x3078ef=_0x33111f,_0xd250c2=this[_0x3078ef(0x149)][_0x3078ef(0x141)][_0x3078ef(0x15a)][_0x3078ef(0x122)][_0x3078ef(0x15d)]();_0xd250c2&&_0xd250c2[_0x3078ef(0x11f)](_0x3078ef(0x163))&&this[_0x3078ef(0x149)][_0x3078ef(0x12b)][_0x3078ef(0x13d)][_0x3078ef(0x14b)](_0x3078ef(0x151),()=>{const _0x2be975=_0x3078ef;_0x4e5589(this[_0x2be975(0x149)],_0xd250c2);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x3f289d,ObservableMixin as _0x28d3b9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5892b3}from'ckeditor5/src/ui.js';import _0x2bf3d0 from'./uploadcareimageeditformview.js';import _0x30a3d2 from'../../utils/uploadutils.js';import _0xe4c306 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x1bf605,getImageDimension as _0x56ffdc}from'../../utils/editingutils.js';import{isAncestor as _0x371ef5}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28d3b9(){constructor(_0x1700ba,_0x62b3bf,_0x437655){super(),this['_editor']=_0x1700ba,this['_dialog']=_0x62b3bf,this['_imageElement']=_0x437655,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x132783=this['_imageElement'],_0x11963a=_0x132783['getAttribute']('uploadcareImageId'),_0x44962a=_0x132783['getAttribute']('src');if(_0x11963a)await this['_loadImageInfo'](_0x11963a,_0x44962a);else{if(this['_imageCache']['has'](_0x44962a)){const _0x3786df=this['_imageCache']['get'](_0x44962a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3786df['url'],this['imageDimension']=_0x3786df['dimension'],this['imageId']=_0x3786df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x58336f}=this['_editor'],t=_0x58336f['t'],_0x5471e8=new _0x2bf3d0(_0x58336f,this['imageStatus'],this['_attributes']);_0x5471e8['bind']('status')['to'](this,'imageStatus'),_0x5471e8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5471e8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5471e8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5471e8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe4c306,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5471e8,'position':_0x5892b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5471e8['focus']();},'onHide':()=>{_0x5471e8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2418cc=>!_0x371ef5(_0x2418cc,_0x5471e8['element'])}});}['_loadImageInfo'](_0x2ec87a,_0x4a6bb9){return _0x30a3d2['getInfo'](_0x2ec87a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x172496=>{const {width:_0x5d05d4,height:_0x579814}=_0x172496['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a6bb9,this['imageDimension']={'width':_0x5d05d4,'height':_0x579814},this['imageId']=_0x2ec87a;})['catch'](_0x215f77=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x215f77['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5aa678,_0x5bc41f){return this['_getImageAsFile'](_0x5aa678)['then'](_0x59b3ef=>_0x30a3d2['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5bc41f['signal'],'file':_0x59b3ef,'onProgress':_0x35ef27=>{_0x35ef27&&_0x35ef27['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x35ef27['value']));}}))['then'](_0x449833=>{const {width:_0x16810e,height:_0x2db071}=_0x449833['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x449833['cdnUrl'],this['imageDimension']={'width':_0x16810e,'height':_0x2db071},this['imageId']=_0x449833['uuid'],this['imageUploadProgress']=null;const _0x2f98a3=_0x5aa678['getAttribute']('src');this['_imageCache']['set'](_0x2f98a3,{'id':_0x449833['uuid'],'url':_0x449833['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x24cd48=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24cd48['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2764ba,_0x56edbd){_0x2764ba['on']('apply',(_0x3d42dc,_0x5b6659)=>{this['_replaceImage'](_0x56edbd,_0x5b6659['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2764ba['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2764ba['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x42dec3,_0x2e3cca,_0x6dcd3b){const _0x156e41=this['_editor'],{width:_0x55e025,height:_0x1ccee1}=_0x56ffdc(_0x2e3cca,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x508d95,imageSources:_0x30ae40}=_0x1bf605(_0x2e3cca,_0x55e025);_0x156e41['model']['change'](_0x22634e=>{if('$graveyard'===_0x42dec3['root']['rootName']){_0x156e41['execute']('insertImage',{'imageType':_0x42dec3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x42dec3['getAttributes']()),'uploadcareImageId':_0x6dcd3b,'src':_0x508d95,'sources':_0x30ae40,'width':_0x55e025,'height':_0x1ccee1}});const _0x1231af=_0x42dec3['getChildren']();_0x42dec3=_0x156e41['model']['document']['selection']['getSelectedElement']();for(const _0x52403a of _0x1231af)_0x22634e['append'](_0x22634e['cloneElement'](_0x52403a),_0x42dec3);}else _0x22634e['setSelection'](_0x42dec3,'on'),_0x156e41['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x42dec3['getAttributes']()),'uploadcareImageId':_0x6dcd3b,'src':_0x508d95,'sources':_0x30ae40,'width':_0x55e025,'height':_0x1ccee1},_0x42dec3);_0x22634e['setSelection'](_0x42dec3,'on');});}async['_getImageAsFile'](_0x214ebb){const _0x156e51=_0x3f289d['window'],_0x1bc18b=_0x3f289d['document']['location']['href'],_0x2f48a4=new _0x156e51['URL'](_0x214ebb['getAttribute']('src'),_0x1bc18b);if('data:'===_0x2f48a4['protocol']){const _0x1b8be0=_0x2f48a4['href']['split'](','),_0x3965fe=_0x1b8be0[0x0]['match'](/:(.*?);/)[0x1],_0x232b04=_0x3965fe['split']('/')[0x1],_0x5f084c=_0x156e51['atob'](_0x1b8be0[_0x1b8be0['length']-0x1]);let _0x144f71=_0x5f084c['length'];const _0x4bd7a0=new _0x156e51['Uint8Array'](_0x144f71);for(;_0x144f71--;)_0x4bd7a0[_0x144f71]=_0x5f084c['charCodeAt'](_0x144f71);return new _0x156e51['File']([_0x4bd7a0],'image.'+_0x232b04,{'type':_0x3965fe});}const _0x4a426d=_0x2f48a4['href']['split']('/'),_0x1c158f=_0x4a426d[_0x4a426d['length']-0x1],_0x10ec7b=_0x1c158f['split']('.')[0x1];return _0x156e51['fetch'](_0x2f48a4['href'])['then'](_0x4394fa=>_0x4394fa['clone']()['blob']())['then'](_0x8da5ff=>new _0x156e51['File']([_0x8da5ff],_0x1c158f,{'type':'image/'+_0x10ec7b}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x23b958,_0x181cf6){const _0x3ea4f8=_0x56d9,_0x490136=_0x23b958();while(!![]){try{const _0x241fb3=parseInt(_0x3ea4f8(0xfc))/0x1*(-parseInt(_0x3ea4f8(0xf9))/0x2)+parseInt(_0x3ea4f8(0xf0))/0x3+-parseInt(_0x3ea4f8(0xec))/0x4*(-parseInt(_0x3ea4f8(0xed))/0x5)+parseInt(_0x3ea4f8(0xfa))/0x6*(-parseInt(_0x3ea4f8(0xef))/0x7)+-parseInt(_0x3ea4f8(0xe9))/0x8*(-parseInt(_0x3ea4f8(0xf3))/0x9)+-parseInt(_0x3ea4f8(0xf2))/0xa+-parseInt(_0x3ea4f8(0xea))/0xb*(-parseInt(_0x3ea4f8(0xfb))/0xc);if(_0x241fb3===_0x181cf6)break;else _0x490136['push'](_0x490136['shift']());}catch(_0x247d99){_0x490136['push'](_0x490136['shift']());}}}(_0x1cbd,0x1a50d));function _0x56d9(_0x5a23ac,_0x53cbf1){const _0x1cbd39=_0x1cbd();return _0x56d9=function(_0x56d94f,_0x19022c){_0x56d94f=_0x56d94f-0xe9;let _0x173cc6=_0x1cbd39[_0x56d94f];return _0x173cc6;},_0x56d9(_0x5a23ac,_0x53cbf1);}function _0x1cbd(){const _0x550da7=['image-edit','222NQVSLh','24XVfFrK','519756gGWhpo','571WiwMKl','1096dDLLIs','11IDBxjb','uc-cloud-image-editor','6940HBvHYL','275wtzKcz','set','286818mOxTiy','646419iZnuXb','uc-light','1640910aCyBLx','9522GwZbaf','ck-uploadcare-theme','imageSrc','bindTemplate','setTemplate'];_0x1cbd=function(){return _0x550da7;};return _0x1cbd();}import{View as _0xe96ee9}from'ckeditor5/src/ui.js';export default class tt extends _0xe96ee9{constructor(_0x1247b4,_0x1e97d8){const _0x2d0097=_0x56d9;super(_0x1247b4);const _0x29db71=this[_0x2d0097(0xf6)];this[_0x2d0097(0xee)](_0x2d0097(0xf5),''),this[_0x2d0097(0xf7)]({'tag':_0x2d0097(0xeb),'attributes':{..._0x1e97d8,'class':[_0x2d0097(0xf1),_0x2d0097(0xf4)],'ctx-name':_0x2d0097(0xf8),'cdn-url':_0x29db71['to'](_0x2d0097(0xf5))}});}}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
|
|
7
|
+
*/
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
5
9
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
7
10
|
import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
|
|
8
11
|
/**
|
|
9
12
|
* A class representing the form error view of the Uploadcare image edit feature.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{
|
|
23
|
+
import{ButtonView as _0x2b4c8b,IconView as et,View as _0x156254}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x156254{constructor(_0x5acb6d){super(_0x5acb6d);const t=_0x5acb6d['t'];this['set']('errorType',null);const _0x4bcff7=new _0x2b4c8b(_0x5acb6d);_0x4bcff7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4bcff7['withText']=!0x0,_0x4bcff7['class']='ck-button-action',_0x4bcff7['on']('execute',()=>{this['fire']('retry');}),_0x4bcff7['bind']('isVisible')['to'](this,'errorType',_0x1f2b3a=>'NotFound'!==_0x1f2b3a);const _0x5a71e1=new et();_0x5a71e1['content']=at,_0x5a71e1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1faa07=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x5a71e1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1faa07['to']('errorType',_0x166f4a=>t('NotFound'!==_0x166f4a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4bcff7]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x2759a2,View as _0x49a21c}from'ckeditor5/src/ui.js';export default class ta extends _0x49a21c{constructor(_0x87f534){super(_0x87f534);const t=_0x87f534['t'],_0x3c7613=this['bindTemplate'],_0x131ae5=new _0x2759a2();_0x131ae5['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x131ae5,{'text':_0x3c7613['to']('imageUploadProgress',_0x37e32a=>t('Loading\x20image...')+'\x20('+(_0x37e32a||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36d90e=_0x2fcd;(function(_0x53c598,_0x3499e8){const _0x3b8574=_0x2fcd,_0x50f64d=_0x53c598();while(!![]){try{const _0xbb3470=parseInt(_0x3b8574(0xc4))/0x1*(parseInt(_0x3b8574(0xd6))/0x2)+-parseInt(_0x3b8574(0xd2))/0x3*(-parseInt(_0x3b8574(0xe0))/0x4)+parseInt(_0x3b8574(0xd7))/0x5*(parseInt(_0x3b8574(0xde))/0x6)+parseInt(_0x3b8574(0xcb))/0x7+-parseInt(_0x3b8574(0xaf))/0x8+-parseInt(_0x3b8574(0xb8))/0x9+parseInt(_0x3b8574(0xad))/0xa*(parseInt(_0x3b8574(0xc3))/0xb);if(_0xbb3470===_0x3499e8)break;else _0x50f64d['push'](_0x50f64d['shift']());}catch(_0x30458f){_0x50f64d['push'](_0x50f64d['shift']());}}}(_0x1ce1,0x4cd4f));import{View as _0x46bf73}from'ckeditor5/src/ui.js';import _0x482b4c from'./uploadcareimageeditformloadingview.js';import _0x249746 from'./uploadcareimageeditformerrorview.js';import _0x1f20b3 from'./uploadcareimageeditformeditingview.js';import _0x474b7d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2fcd(_0x1df7c9,_0x5894e4){const _0x1ce103=_0x1ce1();return _0x2fcd=function(_0x2fcd0d,_0x508209){_0x2fcd0d=_0x2fcd0d-0xad;let _0x26af86=_0x1ce103[_0x2fcd0d];return _0x26af86;},_0x2fcd(_0x1df7c9,_0x5894e4);}export default class Z extends _0x474b7d{constructor(_0x4fd605,_0x731c21,_0x291167){const _0x5adad0=_0x2fcd;super(_0x4fd605),this[_0x5adad0(0xb3)]=this[_0x5adad0(0xae)](),this[_0x5adad0(0xc5)]=new _0x482b4c(_0x4fd605),this[_0x5adad0(0xd9)]=new _0x249746(_0x4fd605),this[_0x5adad0(0xc6)]=new _0x1f20b3(_0x4fd605,_0x291167),this[_0x5adad0(0xe4)]=new _0x46bf73(_0x4fd605),this[_0x5adad0(0xe4)][_0x5adad0(0xc2)](this[_0x5adad0(0xbe)]()),this[_0x5adad0(0xd5)](_0x5adad0(0xcc),_0x731c21),this[_0x5adad0(0xc2)]({'tag':_0x5adad0(0xba),'attributes':{'class':['ck',_0x5adad0(0xbf),_0x5adad0(0xe3)],'tabindex':'-1'},'children':this[_0x5adad0(0xb3)]}),this[_0x5adad0(0xe1)](),this[_0x5adad0(0xb4)](_0x5adad0(0xda),()=>{const _0x5d2a45=_0x5adad0;this[_0x5d2a45(0xc0)](this[_0x5d2a45(0xb7)],_0x4312b2=>{const _0x2b2469=_0x5d2a45;this[_0x2b2469(0xb9)](_0x4312b2);});}),this['on'](_0x5adad0(0xb1),()=>{const _0x43d251=_0x5adad0;this[_0x43d251(0xe1)]();}),this[_0x5adad0(0xdb)]();}[_0x36d90e(0xd1)](){const _0x539317=_0x36d90e;this[_0x539317(0xb7)][_0x539317(0xd1)]();}[_0x36d90e(0xe1)](){const _0xa07f8f=_0x36d90e;switch(this[_0xa07f8f(0xb3)][_0xa07f8f(0xd3)](),this[_0xa07f8f(0xcc)]){case _0xa07f8f(0xc9):this[_0xa07f8f(0xb3)][_0xa07f8f(0xcf)](this[_0xa07f8f(0xc5)]);break;case _0xa07f8f(0xbd):this[_0xa07f8f(0xb3)][_0xa07f8f(0xcf)](this[_0xa07f8f(0xd9)]);break;case _0xa07f8f(0xb2):this[_0xa07f8f(0xb3)][_0xa07f8f(0xc8)]([this[_0xa07f8f(0xc6)],this[_0xa07f8f(0xe4)]]);}}[_0x36d90e(0xc0)](_0x82ef65,_0x4fba64){const _0x31296d=_0x36d90e,_0x3f8866=_0x31296d(0xc1),_0x2f9342=_0x82ef65[_0x31296d(0xb6)](_0x3f8866);if(_0x2f9342)return _0x4fba64(_0x2f9342);const _0x50908a=new MutationObserver(_0x553f37=>{const _0x2ec182=_0x31296d,_0x16c9f7=_0x553f37[_0x2ec182(0xb5)](_0x1b1d0d=>_0x1b1d0d[_0x2ec182(0xd4)]===_0x82ef65&&_0x1b1d0d[_0x2ec182(0xce)][_0x2ec182(0xcd)]>0x0&&_0x1b1d0d[_0x2ec182(0xce)][0x0][_0x2ec182(0xdc)][_0x2ec182(0xdd)]()===_0x3f8866);_0x16c9f7[_0x2ec182(0xcd)]&&(_0x50908a[_0x2ec182(0xdf)](),_0x4fba64(_0x16c9f7[0x0][_0x2ec182(0xce)][0x0]));});_0x50908a[_0x31296d(0xd0)](_0x82ef65,{'childList':!0x0,'subtree':!0x0});}[_0x36d90e(0xb9)](_0x1e1b55){const _0xc59257=_0x36d90e;_0x1e1b55[_0xc59257(0xd8)](_0xc59257(0xc7),_0x47bdb4=>{const _0x20d57b=_0xc59257;this[_0x20d57b(0xb0)](_0x20d57b(0xc7),{'imageSrc':_0x47bdb4[_0x20d57b(0xca)][_0x20d57b(0xe2)]});}),_0x1e1b55[_0xc59257(0xd8)](_0xc59257(0xbc),()=>{const _0x1800b2=_0xc59257;this[_0x1800b2(0xb0)](_0x1800b2(0xbc));});}[_0x36d90e(0xdb)](){const _0x3e3947=_0x36d90e;this[_0x3e3947(0xd9)]['on'](_0x3e3947(0xbb),()=>{const _0xc17e26=_0x3e3947;this[_0xc17e26(0xb0)](_0xc17e26(0xbb));});}}function _0x1ce1(){const _0x5435d9=['addEventListener','_errorView','render','_addErrorViewListeners','nodeName','toLowerCase','126cTbkUw','disconnect','1834932IcccmV','_setView','cdnUrl','ck-uploadcare-form','_focusableView','10RIWwCt','createCollection','4719416AIdIVU','fire','change:status','ready','_items','once','filter','querySelector','element','549990ReDtSY','_addUploadcareImageEditorListeners','div','retry','cancel','error','getFocusableElement','ck-reset_all-excluded','_waitForImageEditorComponent','uc-cloud-image-editor','setTemplate','893574eoqOoI','1JtIGYp','_loadingView','_editingView','apply','addMany','uploading','detail','2009469jfRvyh','status','length','addedNodes','add','observe','focus','3UxsnnI','clear','target','set','220670HtOXxW','6755bYogKP'];_0x1ce1=function(){return _0x5435d9;};return _0x1ce1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x59e5(_0x59af50,_0x39f4db){const _0xbea459=_0xbea4();return _0x59e5=function(_0x59e5d2,_0xf80768){_0x59e5d2=_0x59e5d2-0x109;let _0x4a2841=_0xbea459[_0x59e5d2];return _0x4a2841;},_0x59e5(_0x59af50,_0x39f4db);}const _0x92bf06=_0x59e5;(function(_0x23165d,_0x31e8af){const _0x1284a8=_0x59e5,_0x22e4aa=_0x23165d();while(!![]){try{const _0x526dda=parseInt(_0x1284a8(0x116))/0x1*(-parseInt(_0x1284a8(0x111))/0x2)+-parseInt(_0x1284a8(0x126))/0x3+-parseInt(_0x1284a8(0x119))/0x4+-parseInt(_0x1284a8(0x109))/0x5+parseInt(_0x1284a8(0x118))/0x6*(parseInt(_0x1284a8(0x11f))/0x7)+-parseInt(_0x1284a8(0x120))/0x8+parseInt(_0x1284a8(0x10e))/0x9;if(_0x526dda===_0x31e8af)break;else _0x22e4aa['push'](_0x22e4aa['shift']());}catch(_0x94bfd8){_0x22e4aa['push'](_0x22e4aa['shift']());}}}(_0xbea4,0xdbfc9));import{Command as _0x6ea7a6}from'ckeditor5/src/core.js';import{Dialog as _0x2f9666}from'ckeditor5/src/ui.js';import _0x3bc191 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x20b443}from'../utils/editingutils.js';function _0xbea4(){const _0x5e9431=['10032234OnkVgX','1977532hFKSoV','isActive','isEnabled','document','bind','getSelectedElement','7kCRPUO','9146816DyzdmF','uploadcare.allowExternalImagesEditing','imageInline','plugins','imageEditController','model','3868584TBYDuW','editor','717530grkGEb','refresh','execute','requires','selection','24796395wagcxB','config','element','910720tIqByj','imageBlock','get','unbind','set','1aghvsf','_isEditable'];_0xbea4=function(){return _0x5e9431;};return _0xbea4();}export default class J extends _0x6ea7a6{static get[_0x92bf06(0x10c)](){return[_0x2f9666];}constructor(_0x459a85){const _0x403f24=_0x92bf06;super(_0x459a85),this[_0x403f24(0x124)]=void 0x0,this[_0x403f24(0x117)]=_0x20b443(_0x459a85[_0x403f24(0x10f)][_0x403f24(0x113)](_0x403f24(0x121))||[]),this[_0x403f24(0x115)]({'isActive':!0x1});}[_0x92bf06(0x10a)](){const _0x2c1e0c=_0x92bf06,_0x4a5bd6=this[_0x2c1e0c(0x127)][_0x2c1e0c(0x125)][_0x2c1e0c(0x11c)][_0x2c1e0c(0x10d)][_0x2c1e0c(0x11e)]();this[_0x2c1e0c(0x11b)]=this[_0x2c1e0c(0x117)](_0x4a5bd6);}[_0x92bf06(0x10b)](){const _0x1ee259=_0x92bf06;this[_0x1ee259(0x124)]&&(this[_0x1ee259(0x114)](_0x1ee259(0x11a)),this[_0x1ee259(0x124)]=void 0x0);const _0x3b0f1f=this[_0x1ee259(0x127)][_0x1ee259(0x125)][_0x1ee259(0x11c)][_0x1ee259(0x10d)][_0x1ee259(0x11e)]();_0x3b0f1f&&(_0x3b0f1f['is'](_0x1ee259(0x110),_0x1ee259(0x112))||_0x3b0f1f['is'](_0x1ee259(0x110),_0x1ee259(0x122)))&&(this[_0x1ee259(0x124)]=new _0x3bc191(this[_0x1ee259(0x127)],this[_0x1ee259(0x127)][_0x1ee259(0x123)][_0x1ee259(0x113)](_0x2f9666),_0x3b0f1f),this[_0x1ee259(0x11d)](_0x1ee259(0x11a))['to'](this[_0x1ee259(0x124)],_0x1ee259(0x11a)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x267d(){const _0x39bde5=['276dkTnDG','ImageUtils','requires','isPremiumPlugin','12530203UyQFrJ','58128370JwWfVf','8LddJNA','11DhyTtE','uploadcareImageEdit','pluginName','add','13135428CIRkQd','481167OcmUDR','init','5JiNyBq','1637332ulhUpF','uploadcareImageReplace','ImageEditing','commands','isOfficialPlugin','27848elPYah','UploadcareImageEditEditing','2644188IClFur'];_0x267d=function(){return _0x39bde5;};return _0x267d();}function _0x715a(_0x55f942,_0x145c14){const _0x267da2=_0x267d();return _0x715a=function(_0x715a2,_0x277146){_0x715a2=_0x715a2-0x1ef;let _0x1e6c3c=_0x267da2[_0x715a2];return _0x1e6c3c;},_0x715a(_0x55f942,_0x145c14);}const _0x128dae=_0x715a;(function(_0x2973ba,_0x130e7c){const _0x365621=_0x715a,_0x5520fe=_0x2973ba();while(!![]){try{const _0x404695=parseInt(_0x365621(0x205))/0x1+parseInt(_0x365621(0x1f6))/0x2*(-parseInt(_0x365621(0x1f9))/0x3)+parseInt(_0x365621(0x1f1))/0x4*(-parseInt(_0x365621(0x1f0))/0x5)+-parseInt(_0x365621(0x1f8))/0x6+parseInt(_0x365621(0x1fd))/0x7*(-parseInt(_0x365621(0x1ff))/0x8)+-parseInt(_0x365621(0x204))/0x9+parseInt(_0x365621(0x1fe))/0xa*(parseInt(_0x365621(0x200))/0xb);if(_0x404695===_0x130e7c)break;else _0x5520fe['push'](_0x5520fe['shift']());}catch(_0x9c1815){_0x5520fe['push'](_0x5520fe['shift']());}}}(_0x267d,0xdf024));import{Plugin as _0x5b82f0}from'ckeditor5/src/core.js';import{Notification as _0x3c1d4a}from'ckeditor5/src/ui.js';import _0x2e9c91 from'./uploadcareimageeditcommand.js';import _0x6b9b01 from'./uploadcareimagereplacecommand.js';import _0x387600 from'../uploadcareediting.js';export default class m extends _0x5b82f0{static get[_0x128dae(0x202)](){const _0x4f39ce=_0x128dae;return _0x4f39ce(0x1f7);}static get[_0x128dae(0x1fb)](){const _0x574143=_0x128dae;return[_0x387600,_0x3c1d4a,_0x574143(0x1fa),_0x574143(0x1f3)];}static get[_0x128dae(0x1f5)](){return!0x0;}static get[_0x128dae(0x1fc)](){return!0x0;}[_0x128dae(0x1ef)](){const _0x2200f2=_0x128dae,{editor:_0x4727b8}=this;_0x4727b8[_0x2200f2(0x1f4)][_0x2200f2(0x203)](_0x2200f2(0x201),new _0x2e9c91(_0x4727b8)),_0x4727b8[_0x2200f2(0x1f4)][_0x2200f2(0x203)](_0x2200f2(0x1f2),new _0x6b9b01(_0x4727b8));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4aff9c}from'ckeditor5/src/core.js';import{ButtonView as _0x4343af}from'ckeditor5/src/ui.js';import{createElement as _0xaed0ec}from'ckeditor5/src/utils.js';import _0x40298d from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x4aff9c{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x2b0453=this['editor'];_0x2b0453['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c7c47=>{const _0x2f3ed1=_0x2b0453['commands']['get']('uploadcareImageEdit'),_0x54dc1f=new _0x4343af(_0x3c7c47),t=_0x3c7c47['t'];return _0x54dc1f['set']({'icon':_0x40298d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x54dc1f['bind']('isEnabled')['to'](_0x2f3ed1),_0x54dc1f['bind']('isOn')['to'](_0x2f3ed1,'isActive'),this['listenTo'](_0x54dc1f,'execute',()=>{_0x2b0453['execute']('uploadcareImageEdit'),_0x2b0453['editing']['view']['focus']();}),_0x54dc1f;}),this['_initConfig']();}['_initConfig'](){const _0x360d1a=_0xaed0ec(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x360d1a),this['listenTo'](this['editor'],'destroy',()=>{_0x360d1a['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50f225=_0x52fe;function _0x52fe(_0x26f5a6,_0x13b849){const _0x1a341b=_0x1a34();return _0x52fe=function(_0x52fec9,_0x4ca530){_0x52fec9=_0x52fec9-0x1db;let _0x4eeb9d=_0x1a341b[_0x52fec9];return _0x4eeb9d;},_0x52fe(_0x26f5a6,_0x13b849);}(function(_0xa260ae,_0x95788f){const _0x3961b4=_0x52fe,_0x68e821=_0xa260ae();while(!![]){try{const _0x407234=-parseInt(_0x3961b4(0x1e4))/0x1+parseInt(_0x3961b4(0x1e9))/0x2+parseInt(_0x3961b4(0x1e8))/0x3*(parseInt(_0x3961b4(0x1ec))/0x4)+parseInt(_0x3961b4(0x1ee))/0x5+parseInt(_0x3961b4(0x1e0))/0x6+parseInt(_0x3961b4(0x1e2))/0x7*(-parseInt(_0x3961b4(0x1e1))/0x8)+-parseInt(_0x3961b4(0x1dd))/0x9;if(_0x407234===_0x95788f)break;else _0x68e821['push'](_0x68e821['shift']());}catch(_0x54cb9b){_0x68e821['push'](_0x68e821['shift']());}}}(_0x1a34,0x90c57));import{Command as _0x2b2952}from'ckeditor5/src/core.js';function _0x1a34(){const _0x3fb7fe=['3493693iiMIeF','editor','1025417iUDJvm','removeAttribute','isEnabled','srcset','121665JnUpeZ','2204498MJeAMR','document','setAttributes','24QsnAaw','imageBlock','4670520GbHCef','sizes','getSelectedElement','element','model','change','imageInline','selection','9972738JeEBjr','execute','refresh','5675388QiZGyv','8rnNoBC'];_0x1a34=function(){return _0x3fb7fe;};return _0x1a34();}export default class O extends _0x2b2952{[_0x50f225(0x1df)](){const _0x4e0516=_0x50f225,_0x295dc1=this[_0x4e0516(0x1e3)][_0x4e0516(0x1f2)][_0x4e0516(0x1ea)][_0x4e0516(0x1dc)][_0x4e0516(0x1f0)]();this[_0x4e0516(0x1e6)]=Boolean(_0x295dc1&&(_0x295dc1['is'](_0x4e0516(0x1f1),_0x4e0516(0x1ed))||_0x295dc1['is'](_0x4e0516(0x1f1),_0x4e0516(0x1db))));}[_0x50f225(0x1de)](_0x403130){const _0x29c6c1=_0x50f225,_0xd4d540=this[_0x29c6c1(0x1e3)][_0x29c6c1(0x1f2)][_0x29c6c1(0x1ea)][_0x29c6c1(0x1dc)][_0x29c6c1(0x1f0)]();this[_0x29c6c1(0x1e3)][_0x29c6c1(0x1f2)][_0x29c6c1(0x1f3)](_0x22252d=>{const _0x54027f=_0x29c6c1;_0x22252d[_0x54027f(0x1eb)](_0x403130,_0xd4d540),_0x22252d[_0x54027f(0x1e5)](_0x54027f(0x1e7),_0xd4d540),_0x22252d[_0x54027f(0x1e5)](_0x54027f(0x1ef),_0xd4d540);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3f502a=_0xf506;function _0xf506(_0x43c6d2,_0x15ba41){var _0xf05f82=_0xf05f();return _0xf506=function(_0xf50629,_0x2ab550){_0xf50629=_0xf50629-0x142;var _0x542b29=_0xf05f82[_0xf50629];return _0x542b29;},_0xf506(_0x43c6d2,_0x15ba41);}function _0xf05f(){var _0x4e9db5=['4768355bxqdyv','8qrdAQY','43837728nYXqJv','isPremiumPlugin','9TXzQiG','643334rDFcJz','pluginName','requires','12COFVZj','5048184RODNwL','41979jqdwyv','UploadcareImageEdit','8681950oCYveG','isOfficialPlugin','12030277jEFcZt','6jGtTKq'];_0xf05f=function(){return _0x4e9db5;};return _0xf05f();}(function(_0x4f6460,_0x15ca5c){var _0x531f17=_0xf506,_0x137646=_0x4f6460();while(!![]){try{var _0x50ba3d=-parseInt(_0x531f17(0x151))/0x1+-parseInt(_0x531f17(0x14c))/0x2*(parseInt(_0x531f17(0x14f))/0x3)+-parseInt(_0x531f17(0x148))/0x4*(parseInt(_0x531f17(0x147))/0x5)+parseInt(_0x531f17(0x146))/0x6*(parseInt(_0x531f17(0x145))/0x7)+-parseInt(_0x531f17(0x150))/0x8*(parseInt(_0x531f17(0x14b))/0x9)+-parseInt(_0x531f17(0x143))/0xa+parseInt(_0x531f17(0x149))/0xb;if(_0x50ba3d===_0x15ca5c)break;else _0x137646['push'](_0x137646['shift']());}catch(_0x225a41){_0x137646['push'](_0x137646['shift']());}}}(_0xf05f,0xec7cc));import{Plugin as _0x3babf2}from'ckeditor5/src/core.js';import _0x34883d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x39a868 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x3babf2{static get[_0x3f502a(0x14d)](){var _0x2d7016=_0x3f502a;return _0x2d7016(0x142);}static get[_0x3f502a(0x14e)](){return[_0x34883d,_0x39a868];}static get[_0x3f502a(0x144)](){return!0x0;}static get[_0x3f502a(0x14a)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ca830=_0x4627;(function(_0x2d18fa,_0x3be09d){const _0x2e4b7b=_0x4627,_0x48e8ae=_0x2d18fa();while(!![]){try{const _0x25c9aa=parseInt(_0x2e4b7b(0x175))/0x1+-parseInt(_0x2e4b7b(0x162))/0x2+-parseInt(_0x2e4b7b(0x165))/0x3+parseInt(_0x2e4b7b(0x169))/0x4+-parseInt(_0x2e4b7b(0x18b))/0x5*(parseInt(_0x2e4b7b(0x158))/0x6)+parseInt(_0x2e4b7b(0x150))/0x7*(parseInt(_0x2e4b7b(0x16d))/0x8)+-parseInt(_0x2e4b7b(0x141))/0x9*(parseInt(_0x2e4b7b(0x164))/0xa);if(_0x25c9aa===_0x3be09d)break;else _0x48e8ae['push'](_0x48e8ae['shift']());}catch(_0x499e81){_0x48e8ae['push'](_0x48e8ae['shift']());}}}(_0xf11a,0xec28a));import{Plugin as _0x424594,icons as _0x295fe5}from'ckeditor5/src/core.js';import{ButtonView as _0x21fe9e,MenuBarMenuListItemButtonView as _0x4edd2a}from'ckeditor5/src/ui.js';import _0x414324 from'../theme/icons/dropbox.svg';import _0x6f3aec from'../theme/icons/facebook.svg';import _0x5448f0 from'../theme/icons/google-drive.svg';import _0x2d7eb0 from'../theme/icons/google-photos.svg';import _0x3929cd from'../theme/icons/link.svg';import _0x5234fb from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x577e1e}from'./uploadcareconfig.js';import{getTranslation as _0x1c184e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x4627(_0x389988,_0x20ad57){const _0xf11a5b=_0xf11a();return _0x4627=function(_0x462730,_0x51fed0){_0x462730=_0x462730-0x13d;let _0x302469=_0xf11a5b[_0x462730];return _0x302469;},_0x4627(_0x389988,_0x20ad57);}function _0xf11a(){const _0x44cbc0=['destroy','_createToolbarButton','evaluationLimit','_normalizeConfigSourceList','featureNotAllowed','_createMenuBarButtons','upload','bind','icon','map','domainLimit','invalid','get','text','usageLimit','OneDrive','uploadcareLicenseKeyDomainLimit','_getIntegrationKey','plugins','url','pluginName','618960pMHgFi','trialLimit','Insert','isPremiumPlugin','Facebook','uploadcareLicenseKeyInvalid','_createDropdownButtons','UploadcareUI','9JqzteL','type','uploadcareLicenseKeyNotAllowed','tooltip','Dropbox','label','config','_showLicenseError','locale','URL','withText','commands','uploadcareLicenseKeyUsageLimit','entries','init','133SIPvHG','uploadcareLicenseKeyValid','expired','uploadcareLicenseKeyEvaluationLimit','uploadcare','uploadcareLicenseKeyTrialLimit','isOfficialPlugin','has','18aZqeib','Local','_licenseKeyCheckInterval','Replace','shortText','reduce','imageUpload','GDrive','forEach','_createButton','1885440SlEJFE','Uploadcare','17783790EYTcUm','3332733zECObw','push','registerIntegration','uploadcareLicenseKeyExpired','7264044OJOeip','uploadcare.uploader.sourceList','execute','isEnabled','786104eVstTq','editor','licenseKey','GPhotos','afterInit','ImageInsertUI','assetManager','isImageSelected','1487684jGGFok'];_0xf11a=function(){return _0x44cbc0;};return _0xf11a();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x424594{static get[_0x5ca830(0x18a)](){const _0x5dbe1e=_0x5ca830;return _0x5dbe1e(0x140);}static get[_0x5ca830(0x156)](){return!0x0;}static get[_0x5ca830(0x18e)](){return!0x0;}[_0x5ca830(0x14f)](){const _0x1d509a=_0x5ca830;this[_0x1d509a(0x16f)]=this[_0x1d509a(0x16e)][_0x1d509a(0x147)][_0x1d509a(0x182)](_0x1d509a(0x16f));const _0x3304ad=this[_0x1d509a(0x16e)];this[_0x1d509a(0x15a)]=setInterval(()=>{const _0xc20660=_0x1d509a;let _0x53fb89;for(const _0x1bbba0 in _0x3304ad){const _0x4aa909=_0x1bbba0,_0x4094dd=_0x3304ad[_0x4aa909];if(_0xc20660(0x151)==_0x4094dd||_0xc20660(0x13e)==_0x4094dd||_0xc20660(0x168)==_0x4094dd||_0xc20660(0x186)==_0x4094dd||_0xc20660(0x143)==_0x4094dd||_0xc20660(0x153)==_0x4094dd||_0xc20660(0x155)==_0x4094dd||_0xc20660(0x14d)==_0x4094dd){delete _0x3304ad[_0x4aa909],_0x53fb89=_0x4094dd,clearInterval(this[_0xc20660(0x15a)]),this[_0xc20660(0x15a)]=void 0x0;break;}}_0xc20660(0x13e)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x181)),_0xc20660(0x168)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x152)),_0xc20660(0x186)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x180)),_0xc20660(0x143)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x17a),_0xc20660(0x163)),_0xc20660(0x153)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x178)),_0xc20660(0x155)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x18c)),_0xc20660(0x14d)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x184));},0x3e8);}[_0x5ca830(0x171)](){const _0x53daf6=_0x5ca830,{editor:_0x276a0e}=this,_0x278552=_0x276a0e[_0x53daf6(0x14c)][_0x53daf6(0x182)](_0x53daf6(0x154));if(!_0x278552)return;const _0x1c3eaa=this[_0x53daf6(0x179)](_0x276a0e[_0x53daf6(0x147)][_0x53daf6(0x182)](_0x53daf6(0x16a)))[_0x53daf6(0x15d)]((_0x3a0569,_0x19a47)=>{const _0xba8a6a=_0x53daf6,_0x1983fe=this[_0xba8a6a(0x187)](_0x19a47[_0xba8a6a(0x142)]);return _0x3a0569[_0x1983fe]||(_0x3a0569[_0x1983fe]=[]),_0x3a0569[_0x1983fe][_0xba8a6a(0x166)](_0x19a47),_0x3a0569;},{});_0x276a0e[_0x53daf6(0x188)][_0x53daf6(0x157)](_0x53daf6(0x172))&&_0x276a0e[_0x53daf6(0x14c)][_0x53daf6(0x182)](_0x53daf6(0x154))&&Object[_0x53daf6(0x14e)](_0x1c3eaa)[_0x53daf6(0x160)](([_0x3e79bc,_0x40710c])=>{const _0x43a76d=_0x53daf6;_0x276a0e[_0x43a76d(0x188)][_0x43a76d(0x182)](_0x43a76d(0x172))[_0x43a76d(0x167)]({'name':_0x3e79bc,'observable':()=>_0x278552,'buttonViewCreator':()=>this[_0x43a76d(0x177)](_0x40710c),'formViewCreator':()=>this[_0x43a76d(0x13f)](_0x40710c),'menuBarButtonViewCreator':()=>this[_0x43a76d(0x17b)](_0x40710c),'override':_0x43a76d(0x173)!==_0x3e79bc});});}[_0x5ca830(0x176)](){const _0x57ca72=_0x5ca830;super[_0x57ca72(0x176)](),this[_0x57ca72(0x15a)]&&clearInterval(this[_0x57ca72(0x15a)]);}[_0x5ca830(0x179)](_0x2e2001){const _0x1a4fe6=_0x5ca830,{locale:_0x1c54a5}=this[_0x1a4fe6(0x16e)];return _0x2e2001[_0x1a4fe6(0x17f)](_0x2e98ca=>{const _0x59c648=_0x1a4fe6,_0x3d6bf5=_0x1c184e(_0x1c54a5,_0x2e98ca,_0x59c648(0x18d));switch(_0x2e98ca){case _0x577e1e[_0x59c648(0x159)]:return{'icon':_0x295fe5[_0x59c648(0x15e)],'type':_0x577e1e[_0x59c648(0x159)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x14a)]:return{'icon':_0x3929cd,'type':_0x577e1e[_0x59c648(0x14a)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x145)]:return{'icon':_0x414324,'type':_0x577e1e[_0x59c648(0x145)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x13d)]:return{'icon':_0x6f3aec,'type':_0x577e1e[_0x59c648(0x13d)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x15f)]:return{'icon':_0x5448f0,'type':_0x577e1e[_0x59c648(0x15f)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x170)]:return{'icon':_0x2d7eb0,'type':_0x577e1e[_0x59c648(0x170)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x185)]:return{'icon':_0x5234fb,'type':_0x577e1e[_0x59c648(0x185)],..._0x3d6bf5};}});}[_0x5ca830(0x187)](_0x3e0a04){const _0x3b7c7d=_0x5ca830;switch(_0x3e0a04){case _0x577e1e[_0x3b7c7d(0x159)]:return _0x3b7c7d(0x17c);case _0x577e1e[_0x3b7c7d(0x14a)]:return _0x3b7c7d(0x189);default:return _0x3b7c7d(0x173);}}[_0x5ca830(0x161)](_0x3cce26,_0x229640){const _0x35425d=_0x5ca830,_0x370b3a=this[_0x35425d(0x16e)],_0x396ad8=new _0x3cce26(_0x370b3a[_0x35425d(0x149)]),_0x9564d5=_0x370b3a[_0x35425d(0x14c)][_0x35425d(0x182)](_0x35425d(0x154));return _0x396ad8[_0x35425d(0x17d)](_0x35425d(0x16c))['to'](_0x9564d5),_0x396ad8['on'](_0x35425d(0x16b),()=>{const _0x350c85=_0x35425d;_0x9564d5[_0x350c85(0x16b)](_0x229640);}),_0x396ad8;}[_0x5ca830(0x177)](_0x2df247){const _0x3786c4=_0x5ca830,{locale:_0x277779}=this[_0x3786c4(0x16e)],_0x315ba7=this[_0x3786c4(0x16e)][_0x3786c4(0x188)][_0x3786c4(0x182)](_0x3786c4(0x172)),_0x496bf5=_0x2df247[0x0],_0x90592d=this[_0x3786c4(0x161)](_0x21fe9e,_0x496bf5[_0x3786c4(0x142)]);return _0x90592d[_0x3786c4(0x17e)]=_0x496bf5[_0x3786c4(0x17e)],_0x90592d[_0x3786c4(0x17d)](_0x3786c4(0x146))['to'](_0x315ba7,_0x3786c4(0x174),_0x4a5a8c=>_0x1c184e(_0x277779,_0x496bf5[_0x3786c4(0x142)],_0x4a5a8c?_0x3786c4(0x15b):_0x3786c4(0x18d))[_0x3786c4(0x183)]),_0x90592d[_0x3786c4(0x144)]=!0x0,_0x90592d;}[_0x5ca830(0x13f)](_0x44a451){const _0x54e0d3=_0x5ca830,{locale:_0x5ad8fb}=this[_0x54e0d3(0x16e)],_0x38eb06=this[_0x54e0d3(0x16e)][_0x54e0d3(0x188)][_0x54e0d3(0x182)](_0x54e0d3(0x172));return _0x44a451[_0x54e0d3(0x17f)](_0x5492f3=>{const _0x4dd74e=_0x54e0d3,_0x3159da=this[_0x4dd74e(0x161)](_0x21fe9e,_0x5492f3[_0x4dd74e(0x142)]);return _0x3159da[_0x4dd74e(0x14b)]=!0x0,_0x3159da[_0x4dd74e(0x17e)]=_0x5492f3[_0x4dd74e(0x17e)],_0x3159da[_0x4dd74e(0x17d)](_0x4dd74e(0x146))['to'](_0x38eb06,_0x4dd74e(0x174),_0x55b474=>_0x1c184e(_0x5ad8fb,_0x5492f3[_0x4dd74e(0x142)],_0x55b474?_0x4dd74e(0x15b):_0x4dd74e(0x18d))[_0x4dd74e(0x183)]),_0x3159da;});}[_0x5ca830(0x17b)](_0x2aa3ae){const _0x453e97=_0x5ca830;return _0x2aa3ae[_0x453e97(0x17f)](_0x468d4f=>{const _0x315a4b=_0x453e97,_0x3988ba=this[_0x315a4b(0x161)](_0x4edd2a,_0x468d4f[_0x315a4b(0x142)]);return _0x3988ba[_0x315a4b(0x17e)]=_0x468d4f[_0x315a4b(0x17e)],_0x3988ba[_0x315a4b(0x146)]=_0x468d4f[_0x315a4b(0x15c)],_0x3988ba;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x30b588}from'ckeditor5/src/core.js';import{FileRepository as _0xbed306}from'ckeditor5/src/upload.js';import _0x4e263f from'./uploadcareediting.js';import _0x10ab1b from'./utils/uploadutils.js';import{getImageUrls as _0x2fae43}from'./utils/editingutils.js';export default class f extends _0x30b588{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbed306,_0x4e263f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x62a480=this['editor'];if(!!!_0x62a480['config']['get']('uploadcare'))return;_0x62a480['plugins']['get'](_0xbed306)['createUploadAdapter']=_0x566ea4=>new E(_0x566ea4,_0x62a480),_0x62a480['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e7384,{imageElement:_0x5ed666,data:_0x5470e7})=>{_0x62a480['model']['change'](_0x36ce82=>{_0x36ce82['setAttribute']('uploadcareImageId',_0x5470e7['uploadcareImageId'],_0x5ed666);});});}}class E{constructor(_0x2b590c,_0x585fed){this['loader']=_0x2b590c,this['editor']=_0x585fed,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x328acc=this['editor']['config']['get']('uploadcare.pubkey'),_0x188c76=await this['loader']['file'];return _0x10ab1b['upload']({'file':_0x188c76,'publicKey':_0x328acc,'signal':this['controller']['signal'],'onProgress':_0x1b5453=>{_0x1b5453&&_0x1b5453['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b5453['value']);}})['then'](async _0x6a1d53=>{const {imageFallbackUrl:_0x1fa42f,imageSources:_0x38d1eb}=_0x2fae43(_0x6a1d53['cdnUrl'],_0x6a1d53['imageInfo']['width']);return{'uploadcareImageId':_0x6a1d53['uuid'],'default':_0x1fa42f,'sources':_0x38d1eb};})['catch'](()=>{const _0x4fc4a7=t('Cannot\x20upload\x20file:')+('\x20'+_0x188c76['name']+'.');return Promise['reject'](_0x4fc4a7);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x1c8de5}from'../uploadcareconfig.js';export function getTranslation(_0x5f2a7a,_0x189b9c,_0x4970ca){const t=_0x5f2a7a['t'],_0xf50075=_0x5f2a7a['t'];switch(_0x189b9c){case _0x1c8de5['Local']:return{'text':_0xf50075('Insert'===_0x4970ca?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf50075('From\x20computer')};case _0x1c8de5['URL']:return{'text':'Insert'===_0x4970ca?_0xf50075('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf50075('Via\x20URL')};case _0x1c8de5['Dropbox']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1c8de5['Facebook']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1c8de5['GDrive']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1c8de5['GPhotos']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1c8de5['OneDrive']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x189b9c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x25effe=_0x571e;(function(_0x62e50d,_0x222a02){var _0x5a7946=_0x571e,_0x57d915=_0x62e50d();while(!![]){try{var _0x3e7c20=-parseInt(_0x5a7946(0xb8))/0x1+parseInt(_0x5a7946(0xab))/0x2*(-parseInt(_0x5a7946(0xbb))/0x3)+parseInt(_0x5a7946(0xb9))/0x4+-parseInt(_0x5a7946(0xae))/0x5*(parseInt(_0x5a7946(0xaf))/0x6)+parseInt(_0x5a7946(0xb3))/0x7*(parseInt(_0x5a7946(0xbd))/0x8)+parseInt(_0x5a7946(0xb0))/0x9*(-parseInt(_0x5a7946(0xac))/0xa)+parseInt(_0x5a7946(0xb5))/0xb;if(_0x3e7c20===_0x222a02)break;else _0x57d915['push'](_0x57d915['shift']());}catch(_0xa7c912){_0x57d915['push'](_0x57d915['shift']());}}}(_0x9ffb,0x228f7));function _0x571e(_0x5ae4db,_0x521e44){var _0x9ffbca=_0x9ffb();return _0x571e=function(_0x571e9f,_0x5b7f7e){_0x571e9f=_0x571e9f-0xaa;var _0x5b024a=_0x9ffbca[_0x571e9f];return _0x5b024a;},_0x571e(_0x5ae4db,_0x521e44);}import{FocusTracker as _0x16e034}from'ckeditor5/src/utils.js';import{View as _0x464374,FocusCycler as _0x3a84b1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x464374{constructor(_0x52e280){var _0x43a162=_0x571e;super(_0x52e280),this[_0x43a162(0xb4)]=new _0x16e034(),this[_0x43a162(0xb1)]=new _0x3a84b1({'focusables':this[_0x43a162(0xb6)](),'focusTracker':this[_0x43a162(0xb4)]});}[_0x25effe(0xaa)](){var _0x11932c=_0x25effe;return{'tag':_0x11932c(0xba),'attributes':{'aria-hidden':_0x11932c(0xb7),'tabindex':'0'},'on':{'focus':this[_0x11932c(0xad)]['to'](()=>{var _0x295793=_0x11932c;this[_0x295793(0xb1)][_0x295793(0xb2)](_0x295793(0xbc));})}};}}function _0x9ffb(){var _0x411d56=['72UxClpX','focusCycler','fire','335146YzxhoB','focusTracker','6451005MisKPL','createCollection','true','177790iQCwcU','454940QBRUrx','div','295341spfaPh','forwardCycle','24VCXpSh','getFocusableElement','2AoqgTP','249520DxZfdu','bindTemplate','230hoXcET','29532OvFBGj'];_0x9ffb=function(){return _0x411d56;};return _0x9ffb();}
|