@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250326.0 → 0.0.0-nightly-20250326.2
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/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- 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.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.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/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x32cf(){const _0x226cd2=['uploader','model','1156593RkdHnI','editor','selection','editing','8826657zdUQjM','\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','listenTo','configElement','uploadcare','#uc-icon-arrow-down','execute','UploadcareEditing','document','uc-upload-ctx-provider','uploadcare.pubkey','contentLanguage','1412630NPWhyK','closeMax','imageBlock','509394rPyBig','iconHrefResolver','getSelectedElement','isOfficialPlugin','upcast','href','ctxElement','102414parqyg','_initCtx','removeAttribute','uc-config','40SZgMhL','attributeToAttribute','isRegistered','4ZoWBYA','isPremiumPlugin','add','PictureEditing','23851443cEnFCa','once','map','uploadcare.uploader','_ctxElement','config','getAttribute','fromCharCode','commands','view','conversion','appendChild','_initConfig','90ykcllS','_initConversion','locale','data-uc-image-id','for','schema','input[uploadcare-file-input]','insertImage','destroy','requires','afterInit','8ODhXUl','true','body','_configElement','downcast','extend','imageInline','querySelector','get','_initImageProcessingIndicator','pluginName','uploadcareImageReplace','elementToAttribute','init','_initSchema','uploadcareImageId','replaceImageSource','remove','render','804075yTgGHs','join','cleanupImage'];_0x32cf=function(){return _0x226cd2;};return _0x32cf();}const _0x56d8e1=_0x8c13;(function(_0x3e9f08,_0x465cb0){const _0x519c81=_0x8c13,_0x5e1166=_0x3e9f08();while(!![]){try{const _0x1fe876=-parseInt(_0x519c81(0x11b))/0x1+-parseInt(_0x519c81(0xe5))/0x2+-parseInt(_0x519c81(0x120))/0x3*(-parseInt(_0x519c81(0xec))/0x4)+-parseInt(_0x519c81(0xe9))/0x5*(-parseInt(_0x519c81(0xde))/0x6)+-parseInt(_0x519c81(0x124))/0x7*(-parseInt(_0x519c81(0x108))/0x8)+-parseInt(_0x519c81(0xfd))/0x9*(-parseInt(_0x519c81(0x130))/0xa)+-parseInt(_0x519c81(0xf0))/0xb;if(_0x1fe876===_0x465cb0)break;else _0x5e1166['push'](_0x5e1166['shift']());}catch(_0x11ee01){_0x5e1166['push'](_0x5e1166['shift']());}}}(_0x32cf,0xae7d5));import{Plugin as _0x4d1561}from'ckeditor5/src/core.js';import{Dialog as _0xb027bd}from'ckeditor5/src/ui.js';import{createElement as _0xb21f96,global as _0x46f2d7,uid as _0x31da50}from'ckeditor5/src/utils.js';import _0x3da093 from'./uploadcarecommand.js';function _0x8c13(_0x40a03a,_0x411e6d){const _0x32cfa4=_0x32cf();return _0x8c13=function(_0x8c1313,_0x2f5ab2){_0x8c1313=_0x8c1313-0xdc;let _0xc6d24f=_0x32cfa4[_0x8c1313];return _0xc6d24f;},_0x8c13(_0x40a03a,_0x411e6d);}import _0x33e4de from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x35a25d}from'./utils/editingutils.js';export default class i extends _0x4d1561{[_0x56d8e1(0x10b)]=null;[_0x56d8e1(0xf4)]=null;static get[_0x56d8e1(0x112)](){const _0x1ef618=_0x56d8e1;return _0x1ef618(0x12b);}static get[_0x56d8e1(0x106)](){const _0x528fe0=_0x56d8e1;return[_0x528fe0(0xef),_0x33e4de,_0xb027bd];}static get[_0x56d8e1(0xe1)](){return!0x0;}static get[_0x56d8e1(0xed)](){return!0x0;}get[_0x56d8e1(0x127)](){const _0x4ab10f=_0x56d8e1;return this[_0x4ab10f(0x10b)];}get[_0x56d8e1(0xe4)](){const _0x475cd6=_0x56d8e1;return this[_0x475cd6(0xf4)];}[_0x56d8e1(0x115)](){const _0x1f5401=_0x56d8e1,_0x2b1ab8=this[_0x1f5401(0x121)];_0x2b1ab8[_0x1f5401(0xf8)][_0x1f5401(0xee)](_0x1f5401(0x128),new _0x3da093(_0x2b1ab8));}[_0x56d8e1(0x107)](){const _0x335e84=_0x56d8e1;this[_0x335e84(0x116)](),this[_0x335e84(0xfe)](),this[_0x335e84(0xfc)](),this[_0x335e84(0xe6)](),this[_0x335e84(0x111)](),this[_0x335e84(0x126)](this[_0x335e84(0x121)],_0x335e84(0x105),()=>{const _0x290b9e=_0x335e84;this[_0x290b9e(0x10b)]&&(this[_0x290b9e(0x10b)][_0x290b9e(0x119)](),this[_0x290b9e(0x10b)]=null),this[_0x290b9e(0xf4)]&&(this[_0x290b9e(0xf4)][_0x290b9e(0x119)](),this[_0x290b9e(0xf4)]=null);const _0x15d172=_0x46f2d7[_0x290b9e(0x12c)][_0x290b9e(0x10f)](_0x290b9e(0x103));_0x15d172&&_0x15d172[_0x290b9e(0x119)]();}),async function(_0x2a64c0){const _0x4c5ceb=_0x460477([0x42,0x73,0x49,0x38,0x53,0x5a,0x6d,0x72,0x6a,0x4d,0x74,0x33,0x30,0x31,0x54,0x79,0x34,0x37,0x4a,0x32,0x68,0x50,0x6b,0x4b,0x61,0x6c,0x63,0x51,0x48,0x65,0x52,0x62,0x4f,0x7a,0x6e,0x67,0x6f,0x71,0x4e,0x56,0x47,0x69,0x46,0x66,0x75,0x41,0x39,0x36,0x43,0x44,0x35,0x4c,0x76,0x64,0x58,0x55,0x70,0x59,0x78,0x77,0x57,0x45]),_0x5936b7=0x12e5975b,_0x5dd9fa=0x12e2f463^_0x5936b7,_0x479be2=window[_0x460477([0x44,0x61,0x74,0x65])][_0x460477([0x6e,0x6f,0x77])](),_0x3c25a6=_0x2a64c0[_0x460477([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e6c38=new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b5f44=>{_0x3c25a6[_0x460477([0x6f,0x6e,0x63,0x65])](_0x460477([0x72,0x65,0x61,0x64,0x79]),_0x3b5f44);}),_0x26b963={[_0x460477([0x6b,0x74,0x79])]:_0x460477([0x45,0x43]),[_0x460477([0x75,0x73,0x65])]:_0x460477([0x73,0x69,0x67]),[_0x460477([0x63,0x72,0x76])]:_0x460477([0x50,0x2d,0x32,0x35,0x36]),[_0x460477([0x78])]:_0x460477([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]),[_0x460477([0x79])]:_0x460477([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]),[_0x460477([0x61,0x6c,0x67])]:_0x460477([0x45,0x53,0x32,0x35,0x36])},_0x5964ea=_0x3c25a6[_0x460477([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x460477([0x67,0x65,0x74])](_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xaaf9a0(){let _0x3a8e6d,_0x3daa22=null,_0x1ccc25=null;try{if(_0x5964ea==_0x460477([0x47,0x50,0x4c]))return _0x460477([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a8e6d=_0x2e102e(),!_0x3a8e6d)return _0x460477([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a8e6d[_0x460477([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ccc25=_0x2d4a4f(_0x3a8e6d[_0x460477([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a8e6d[_0x460477([0x6a,0x74,0x69])])),await _0x2aeaf7()?_0x35a4cc()?_0x29178b()?_0x460477([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1db46b()?(_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x460477([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3daa22=_0x8afd5c(_0x460477([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x460477([0x74,0x72,0x69,0x61,0x6c])&&(_0x3daa22=_0x8afd5c(_0x460477([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x206722()):_0x460477([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x460477([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x460477([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x44f225){return _0x460477([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29178b(){const _0x1a151f=[_0x460477([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x460477([0x74,0x72,0x69,0x61,0x6c])][_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x479be2/0x3e8:0xe10*_0x5dd9fa;return _0x3a8e6d[_0x460477([0x65,0x78,0x70])]<_0x1a151f;}function _0x35a4cc(){const _0x39f0d3=_0x3a8e6d[_0x460477([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39f0d3&&(!!_0x39f0d3[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460477([0x2a]))||!!_0x39f0d3[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460477([0x55,0x50,0x4c,0x43])));}function _0x1db46b(){const _0x3969f3=_0x8c13,_0x3182b3=_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3182b3||0x0==_0x3182b3[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b5eb7}=new URL(window[_0x460477([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3969f3(0xe3)]);if(_0x3182b3[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5eb7))return!0x0;const _0x5d1562=_0x3b5eb7[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e]));return _0x3182b3[_0x460477([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e7fc=>_0x47e7fc[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460477([0x2a])))[_0x460477([0x6d,0x61,0x70])](_0x89d2a8=>_0x89d2a8[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e])))[_0x460477([0x73,0x6f,0x6d,0x65])](_0x124bc2=>_0x5d1562[_0x460477([0x65,0x76,0x65,0x72,0x79])]((_0x13679d,_0x4c9df0)=>_0x124bc2[_0x4c9df0]===_0x13679d||_0x124bc2[_0x4c9df0]===_0x460477([0x2a])));}function _0x206722(){return _0x3daa22&&_0x1ccc25?new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5fcc18,_0x16e74b)=>{_0x3daa22[_0x460477([0x74,0x68,0x65,0x6e])](_0x5fcc18,_0x16e74b),_0x1ccc25[_0x460477([0x74,0x68,0x65,0x6e])](_0x524ce7=>{_0x524ce7!=_0x460477([0x56,0x61,0x6c,0x69,0x64])&&_0x5fcc18(_0x524ce7);},_0x16e74b);}):_0x3daa22||_0x1ccc25||_0x460477([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d4a4f(_0x50e151,_0xd01dcb){return new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x248034=>{if(_0x1f14ec())return _0x248034(_0x460477([0x56,0x61,0x6c,0x69,0x64]));_0xf41bfd(),_0x3c25a6[_0x460477([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x460477([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x130367=!0x1;const _0x324ab7=_0x31da50();function _0x35df8f(_0x5f075c){return!!_0x5f075c&&(typeof _0x5f075c===_0x460477([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f075c===_0x460477([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f075c[_0x460477([0x74,0x68,0x65,0x6e])]===_0x460477([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f075c[_0x460477([0x63,0x61,0x74,0x63,0x68])]===_0x460477([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x242f00(_0x2c92b0){_0x29fae6(_0x2c92b0)[_0x460477([0x74,0x68,0x65,0x6e])](_0x47e41a=>{if(!_0x47e41a||_0x47e41a[_0x460477([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x460477([0x6f,0x6b]))return _0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58e7bd(_0x14197c(_0x324ab7+_0xd01dcb))!=_0x47e41a[_0x460477([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x460477([0x56,0x61,0x6c,0x69,0x64]);})[_0x460477([0x74,0x68,0x65,0x6e])](_0x13b2b3=>(_0x14f571(),_0x13b2b3),()=>{const _0x6ec0aa=_0x2aa8bc();return null==_0x6ec0aa?(_0x14f571(),_0x460477([0x56,0x61,0x6c,0x69,0x64])):_0x460477(_0x479be2-_0x6ec0aa>(0x36e9135b^_0x5936b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x460477([0x74,0x68,0x65,0x6e])](_0x248034)[_0x460477([0x63,0x61,0x74,0x63,0x68])](()=>{_0x248034(_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c4b13=0x12d379db^_0x5936b7;function _0x14f571(){const _0x3ad492=_0x460477([0x6c,0x6c,0x63,0x74,0x2d])+_0x58e7bd(_0x14197c(_0x50e151)),_0xdc959d=_0x30d764(_0x58e7bd(window[_0x460477([0x4d,0x61,0x74,0x68])][_0x460477([0x63,0x65,0x69,0x6c])](_0x479be2/_0x1c4b13)));window[_0x460477([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x460477([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ad492,_0xdc959d);}function _0x2aa8bc(){const _0x43eeed=_0x460477([0x6c,0x6c,0x63,0x74,0x2d])+_0x58e7bd(_0x14197c(_0x50e151)),_0x332613=window[_0x460477([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x460477([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43eeed);return _0x332613?window[_0x460477([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30d764(_0x332613),0x10)*_0x1c4b13:null;}function _0x29fae6(_0xc6fa4a){return new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bfcb3,_0x569499)=>{_0xc6fa4a[_0x460477([0x74,0x68,0x65,0x6e])](_0x3bfcb3,_0x569499),window[_0x460477([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x569499,0x12e4439b^_0x5936b7);});}}_0x3c25a6[_0x460477([0x6f,0x6e])](_0x460477([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c697d,_0x31c1e8)=>{if(_0x31c1e8[0x0]!=_0x50e151)return _0x248034(_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31c1e8[0x1]={..._0x31c1e8[0x1],[_0x460477([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x324ab7};},{[_0x460477([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x460477([0x68,0x69,0x67,0x68])}),_0x3c25a6[_0x460477([0x6f,0x6e])](_0x460477([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c1dd8=>{_0x35df8f(_0x4c1dd8[_0x460477([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x130367=!0x0,_0x242f00(_0x4c1dd8[_0x460477([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x460477([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x460477([0x6c,0x6f,0x77])}),_0x2e6c38[_0x460477([0x74,0x68,0x65,0x6e])](()=>{_0x130367||_0x248034(_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f14ec(){return _0x3c25a6[_0x460477([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x460477([0x76,0x69,0x65,0x77])][_0x460477([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x460477([0x61,0x75,0x74,0x6f]);}function _0xf41bfd(){_0x3c25a6[_0x460477([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x460477([0x76,0x69,0x65,0x77])][_0x460477([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x460477([0x61,0x75,0x74,0x6f]);}}function _0x8afd5c(_0x427fd2){const _0x2cdbb1=[new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ee576=>setTimeout(_0x1ee576,0x12eca997^_0x5936b7)),_0x2e6c38[_0x460477([0x74,0x68,0x65,0x6e])](()=>new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb24f=>{let _0x1058ac=0x0;_0x3c25a6[_0x460477([0x6d,0x6f,0x64,0x65,0x6c])][_0x460477([0x6f,0x6e])](_0x460477([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x371af0,_0x38bc60)=>{_0x38bc60[0x0][_0x460477([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1058ac++,_0x1058ac==(0x12e596a3^_0x5936b7)&&(_0x2eb24f(),_0x371af0[_0x460477([0x6f,0x66,0x66])]());});}))];return window[_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x460477([0x72,0x61,0x63,0x65])](_0x2cdbb1)[_0x460477([0x74,0x68,0x65,0x6e])](()=>_0x427fd2);}async function _0x12c08e(){await _0x2e6c38,_0x3c25a6[_0x460477([0x6d,0x6f,0x64,0x65,0x6c])][_0x460477([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x229255,_0x3c25a6[_0x460477([0x6d,0x6f,0x64,0x65,0x6c])][_0x460477([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x229255,_0x3c25a6[_0x460477([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x460477([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x219337(_0x2d25a6){const _0x142f7c=_0x30d9d3();_0x3c25a6[_0x142f7c]=_0x460477([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d25a6,_0x2d25a6!=_0x460477([0x56,0x61,0x6c,0x69,0x64])&&_0x12c08e();}function _0x30d9d3(){const _0x475bec=window[_0x460477([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x460477([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x460477([0x6e,0x6f,0x77])]())[_0x460477([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x460477([0x2e]),'');let _0x363e84=_0x460477([0x42]);for(let _0x52c6be=0x0;_0x52c6be<_0x475bec[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52c6be+=0x2){let _0x528610=window[_0x460477([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475bec[_0x460477([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52c6be,_0x52c6be+0x2));_0x528610>=_0x4c5ceb[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x528610-=_0x4c5ceb[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x363e84+=_0x4c5ceb[_0x528610];}return _0x363e84;}function _0x2e102e(){const _0x16d3b2=_0x5964ea[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e]));if(0x3!=_0x16d3b2[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe55a5c(_0x16d3b2[0x1]);function _0xe55a5c(_0xecc045){const _0x5ae452=_0x20da91(_0xecc045);return _0x5ae452&&_0x408f44()?_0x5ae452:null;function _0x408f44(){const _0x5dc145=_0x5ae452[_0x460477([0x6a,0x74,0x69])],_0x582e08=window[_0x460477([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dc145[_0x460477([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dc145[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x129271={..._0x5ae452,[_0x460477([0x6a,0x74,0x69])]:_0x5dc145[_0x460477([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dc145[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x129271[_0x460477([0x76,0x63])],_0x14197c(_0x129271)==_0x582e08;}}}async function _0x2aeaf7(){let _0x19d1a5=!0x0;try{const _0x17875e=_0x5964ea[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e])),[_0x104d3a,_0x5e9c59,_0x30a3d8]=_0x17875e;return _0x219d39(_0x104d3a),await _0x4dbf1d(_0x104d3a,_0x5e9c59,_0x30a3d8),_0x19d1a5;}catch(_0x977a58){return!0x1;}function _0x219d39(_0x4b076b){const _0x1e8fea=_0x20da91(_0x4b076b);_0x1e8fea&&_0x1e8fea[_0x460477([0x61,0x6c,0x67])]==_0x460477([0x45,0x53,0x32,0x35,0x36])||(_0x19d1a5=!0x1);}async function _0x4dbf1d(_0x3f8d38,_0x4d5f51,_0x2f9d51){const _0x46e00d=window[_0x460477([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x460477([0x66,0x72,0x6f,0x6d])](_0x582cea(_0x2f9d51),_0x432f7d=>_0x432f7d[_0x460477([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b3d48=new window[(_0x460477([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x460477([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f8d38+_0x460477([0x2e])+_0x4d5f51),_0x3415c8=window[_0x460477([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x460477([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3415c8)return;const _0x98e665=await _0x3415c8[_0x460477([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x460477([0x6a,0x77,0x6b]),_0x26b963,{[_0x460477([0x6e,0x61,0x6d,0x65])]:_0x460477([0x45,0x43,0x44,0x53,0x41]),[_0x460477([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x460477([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x460477([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3415c8[_0x460477([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x460477([0x6e,0x61,0x6d,0x65])]:_0x460477([0x45,0x43,0x44,0x53,0x41]),[_0x460477([0x68,0x61,0x73,0x68])]:{[_0x460477([0x6e,0x61,0x6d,0x65])]:_0x460477([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x98e665,_0x46e00d,_0x4b3d48)||(_0x19d1a5=!0x1);}}function _0x20da91(_0x1ff858){return _0x1ff858[_0x460477([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x460477([0x65,0x79]))?JSON[_0x460477([0x70,0x61,0x72,0x73,0x65])](_0x582cea(_0x1ff858)):null;}function _0x582cea(_0x119f75){return window[_0x460477([0x61,0x74,0x6f,0x62])](_0x119f75[_0x460477([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x460477([0x2b]))[_0x460477([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x460477([0x2f])));}function _0x14197c(_0x2f9527){let _0x53a1d2=0x1505;function _0x2e1cec(_0x4c0009){for(let _0x172edb=0x0;_0x172edb<_0x4c0009[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172edb++){const _0x29ce21=_0x4c0009[_0x460477([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172edb);_0x53a1d2=(_0x53a1d2<<0x5)+_0x53a1d2+_0x29ce21,_0x53a1d2&=_0x53a1d2;}}function _0x5415d1(_0x2129cf){Array[_0x460477([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2129cf)?_0x2129cf[_0x460477([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5415d1):_0x2129cf&&typeof _0x2129cf==_0x460477([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x460477([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2129cf)[_0x460477([0x73,0x6f,0x72,0x74])]()[_0x460477([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a79ab,_0x35a6fa])=>{_0x2e1cec(_0x5a79ab),_0x5415d1(_0x35a6fa);}):_0x2e1cec(window[_0x460477([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2129cf));}return _0x5415d1(_0x2f9527),_0x53a1d2>>>0x0;}function _0x58e7bd(_0x18ccd5){return _0x18ccd5[_0x460477([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x460477([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x460477([0x30]));}function _0x30d764(_0x353bd0){return _0x353bd0[_0x460477([0x73,0x70,0x6c,0x69,0x74])]('')[_0x460477([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x460477([0x6a,0x6f,0x69,0x6e])]('');}function _0x229255(){}function _0x460477(_0x57fcc4){const _0x332935=_0x8c13;return _0x57fcc4[_0x332935(0xf2)](_0x48b9ed=>String[_0x332935(0xf7)](_0x48b9ed))[_0x332935(0x11c)]('');}_0x219337(await _0xaaf9a0());}(this);}[_0x56d8e1(0x116)](){const _0x457dae=_0x56d8e1,_0x7571de=this[_0x457dae(0x121)][_0x457dae(0x11f)][_0x457dae(0x102)];_0x7571de[_0x457dae(0xeb)](_0x457dae(0xdd))&&_0x7571de[_0x457dae(0x10d)](_0x457dae(0xdd),{'allowAttributes':[_0x457dae(0x117)]}),_0x7571de[_0x457dae(0xeb)](_0x457dae(0x10e))&&_0x7571de[_0x457dae(0x10d)](_0x457dae(0x10e),{'allowAttributes':[_0x457dae(0x117)]});}[_0x56d8e1(0xfe)](){const _0x334ee3=_0x56d8e1,_0x123db=this[_0x334ee3(0x121)];_0x123db[_0x334ee3(0xfa)][_0x334ee3(0x101)](_0x334ee3(0x10c))[_0x334ee3(0xea)]({'model':_0x334ee3(0x117),'view':_0x334ee3(0x100)}),_0x123db[_0x334ee3(0xfa)][_0x334ee3(0x101)](_0x334ee3(0xe2))[_0x334ee3(0x114)]({'model':{'key':_0x334ee3(0x117),'value':_0x3d5932=>_0x3d5932[_0x334ee3(0xf6)](_0x334ee3(0x100))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x12142c=_0x123db[_0x334ee3(0xf8)][_0x334ee3(0x110)](_0x334ee3(0x118));_0x12142c&&this[_0x334ee3(0x126)](_0x12142c,_0x334ee3(0x11d),(_0x474484,[_0x3342d1,_0x461fae])=>{const _0x43c8cf=_0x334ee3;_0x3342d1[_0x43c8cf(0xe7)](_0x43c8cf(0x117),_0x461fae);});}[_0x56d8e1(0xfc)](){const _0x4a4eec=_0x56d8e1,_0x97af0a=this[_0x4a4eec(0x121)][_0x4a4eec(0xf5)][_0x4a4eec(0x110)](_0x4a4eec(0xf3))||{},_0x475012=this[_0x4a4eec(0x121)][_0x4a4eec(0xf5)][_0x4a4eec(0x110)](_0x4a4eec(0x12e))||'';this[_0x4a4eec(0x10b)]=_0xb21f96(_0x46f2d7[_0x4a4eec(0x12c)],_0x4a4eec(0xe8),{..._0x97af0a,'pubkey':_0x475012,'ctx-name':_0x4a4eec(0x11e),'sourceList':'','imgOnly':_0x4a4eec(0x109),'removeCopyright':_0x4a4eec(0x109),'localeName':this[_0x4a4eec(0x121)][_0x4a4eec(0xff)][_0x4a4eec(0x12f)],'externalSourcesEmbedCss':_0x4a4eec(0x125)}),this[_0x4a4eec(0x10b)][_0x4a4eec(0xdf)]=_0x46889d=>{const _0x11f2e6=_0x4a4eec;if(_0x11f2e6(0xdc)==_0x46889d)return _0x11f2e6(0x129);},_0x46f2d7[_0x4a4eec(0x12c)][_0x4a4eec(0x10a)][_0x4a4eec(0xfb)](this[_0x4a4eec(0x10b)]);}[_0x56d8e1(0xe6)](){const _0x2bddd6=_0x56d8e1;this[_0x2bddd6(0xf4)]=_0xb21f96(_0x46f2d7[_0x2bddd6(0x12c)],_0x2bddd6(0x12d),{'ctx-name':_0x2bddd6(0x11e)}),_0x46f2d7[_0x2bddd6(0x12c)][_0x2bddd6(0x10a)][_0x2bddd6(0xfb)](this[_0x2bddd6(0xf4)]);}[_0x56d8e1(0x111)](){const _0x311713=_0x56d8e1,_0x1a4006=this[_0x311713(0x121)][_0x311713(0xf8)][_0x311713(0x110)](_0x311713(0x104));_0x1a4006&&this[_0x311713(0x126)](_0x1a4006,_0x311713(0x12a),()=>{const _0x505254=_0x311713,_0x4dd766=this[_0x505254(0x121)][_0x505254(0x11f)][_0x505254(0x12c)][_0x505254(0x122)][_0x505254(0xe0)]();_0x4dd766&&_0x4dd766[_0x505254(0xf6)](_0x505254(0x117))&&this[_0x505254(0x121)][_0x505254(0x123)][_0x505254(0xf9)][_0x505254(0xf1)](_0x505254(0x11a),()=>{const _0x146dbc=_0x505254;_0x35a25d(this[_0x146dbc(0x121)],_0x4dd766);});});const _0x24a6c9=this[_0x311713(0x121)][_0x311713(0xf8)][_0x311713(0x110)](_0x311713(0x113));_0x24a6c9&&this[_0x311713(0x126)](_0x24a6c9,_0x311713(0x12a),()=>{const _0x102a00=_0x311713,_0x45e71c=this[_0x102a00(0x121)][_0x102a00(0x11f)][_0x102a00(0x12c)][_0x102a00(0x122)][_0x102a00(0xe0)]();_0x45e71c&&_0x45e71c[_0x102a00(0xf6)](_0x102a00(0x117))&&this[_0x102a00(0x121)][_0x102a00(0x123)][_0x102a00(0xf9)][_0x102a00(0xf1)](_0x102a00(0x11a),()=>{const _0x13f8dd=_0x102a00;_0x35a25d(this[_0x13f8dd(0x121)],_0x45e71c);});});}}
|
|
23
|
+
const _0x12ef27=_0x3530;(function(_0x4921a8,_0x1b6703){const _0x11ca9c=_0x3530,_0x3d1059=_0x4921a8();while(!![]){try{const _0x138a87=parseInt(_0x11ca9c(0x194))/0x1+parseInt(_0x11ca9c(0x158))/0x2*(parseInt(_0x11ca9c(0x167))/0x3)+-parseInt(_0x11ca9c(0x190))/0x4+-parseInt(_0x11ca9c(0x17e))/0x5+-parseInt(_0x11ca9c(0x180))/0x6*(-parseInt(_0x11ca9c(0x177))/0x7)+-parseInt(_0x11ca9c(0x175))/0x8*(parseInt(_0x11ca9c(0x17c))/0x9)+parseInt(_0x11ca9c(0x173))/0xa;if(_0x138a87===_0x1b6703)break;else _0x3d1059['push'](_0x3d1059['shift']());}catch(_0x3547c9){_0x3d1059['push'](_0x3d1059['shift']());}}}(_0x1e74,0xa8824));import{Plugin as _0x5533d4}from'ckeditor5/src/core.js';function _0x3530(_0x150328,_0x34556f){const _0x1e7445=_0x1e74();return _0x3530=function(_0x353079,_0x38ccfb){_0x353079=_0x353079-0x141;let _0x4aff18=_0x1e7445[_0x353079];return _0x4aff18;},_0x3530(_0x150328,_0x34556f);}import{Dialog as _0x56b4aa}from'ckeditor5/src/ui.js';import{createElement as _0xe9fd83,global as _0x2d8658,uid as _0x22f59e}from'ckeditor5/src/utils.js';import _0x1ca826 from'./uploadcarecommand.js';import _0x3db112 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3ca15f}from'./utils/editingutils.js';export default class i extends _0x5533d4{[_0x12ef27(0x191)]=null;[_0x12ef27(0x168)]=null;static get[_0x12ef27(0x162)](){const _0x22a605=_0x12ef27;return _0x22a605(0x15a);}static get[_0x12ef27(0x16f)](){const _0x48e7ac=_0x12ef27;return[_0x48e7ac(0x188),_0x3db112,_0x56b4aa];}static get[_0x12ef27(0x150)](){return!0x0;}static get[_0x12ef27(0x161)](){return!0x0;}get[_0x12ef27(0x16c)](){const _0x2d27fc=_0x12ef27;return this[_0x2d27fc(0x191)];}get[_0x12ef27(0x171)](){const _0x464f6a=_0x12ef27;return this[_0x464f6a(0x168)];}[_0x12ef27(0x174)](){const _0x49022e=_0x12ef27,_0x2954aa=this[_0x49022e(0x156)];_0x2954aa[_0x49022e(0x14a)][_0x49022e(0x155)](_0x49022e(0x145),new _0x1ca826(_0x2954aa));}[_0x12ef27(0x14e)](){const _0x237938=_0x12ef27;this[_0x237938(0x183)](),this[_0x237938(0x182)](),this[_0x237938(0x187)](),this[_0x237938(0x17a)](),this[_0x237938(0x17b)](),this[_0x237938(0x179)](this[_0x237938(0x156)],_0x237938(0x166),()=>{const _0xd18bc7=_0x237938;this[_0xd18bc7(0x191)]&&(this[_0xd18bc7(0x191)][_0xd18bc7(0x160)](),this[_0xd18bc7(0x191)]=null),this[_0xd18bc7(0x168)]&&(this[_0xd18bc7(0x168)][_0xd18bc7(0x160)](),this[_0xd18bc7(0x168)]=null);const _0x377d14=_0x2d8658[_0xd18bc7(0x15e)][_0xd18bc7(0x16a)](_0xd18bc7(0x14d));_0x377d14&&_0x377d14[_0xd18bc7(0x160)]();}),async function(_0x55614e){const _0x3d7502=_0x428716([0x34,0x65,0x63,0x32,0x6b,0x37,0x75,0x6a,0x74,0x44,0x33,0x79,0x48,0x4c,0x6d,0x58,0x68,0x4e,0x73,0x42,0x4d,0x46,0x4f,0x64,0x30,0x4a,0x6e,0x31,0x70,0x50,0x39,0x76,0x35,0x6c,0x55,0x66,0x71,0x67,0x56,0x49,0x45,0x51,0x77,0x53,0x41,0x4b,0x54,0x5a,0x61,0x78,0x62,0x43,0x69,0x7a,0x47,0x52,0x38,0x72,0x6f,0x57,0x59,0x36]),_0x5dd2b4=0x3ba66e2b,_0x43356f=0x3ba10d13^_0x5dd2b4,_0x3400ff=window[_0x428716([0x44,0x61,0x74,0x65])][_0x428716([0x6e,0x6f,0x77])](),_0x435178=_0x55614e[_0x428716([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x187636=new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cdd82=>{_0x435178[_0x428716([0x6f,0x6e,0x63,0x65])](_0x428716([0x72,0x65,0x61,0x64,0x79]),_0x2cdd82);}),_0x5e56eb={[_0x428716([0x6b,0x74,0x79])]:_0x428716([0x45,0x43]),[_0x428716([0x75,0x73,0x65])]:_0x428716([0x73,0x69,0x67]),[_0x428716([0x63,0x72,0x76])]:_0x428716([0x50,0x2d,0x32,0x35,0x36]),[_0x428716([0x78])]:_0x428716([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]),[_0x428716([0x79])]:_0x428716([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]),[_0x428716([0x61,0x6c,0x67])]:_0x428716([0x45,0x53,0x32,0x35,0x36])},_0x190db4=_0x435178[_0x428716([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x428716([0x67,0x65,0x74])](_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30fd65(){let _0x5311e5,_0x3ea3a4=null,_0x504ddc=null;try{if(_0x190db4==_0x428716([0x47,0x50,0x4c]))return _0x428716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5311e5=_0xc3ac51(),!_0x5311e5)return _0x428716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5311e5[_0x428716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x504ddc=_0x402c02(_0x5311e5[_0x428716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5311e5[_0x428716([0x6a,0x74,0x69])])),await _0x584e98()?_0xd8035c()?_0x247db8()?_0x428716([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7de495()?(_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ea3a4=_0x3444dd(_0x428716([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428716([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ea3a4=_0x3444dd(_0x428716([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x243c2c()):_0x428716([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x428716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x428716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x41f32d){return _0x428716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x247db8(){const _0x4c201d=[_0x428716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x428716([0x74,0x72,0x69,0x61,0x6c])][_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3400ff/0x3e8:0xe10*_0x43356f;return _0x5311e5[_0x428716([0x65,0x78,0x70])]<_0x4c201d;}function _0xd8035c(){const _0x12e875=_0x5311e5[_0x428716([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12e875&&(!!_0x12e875[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428716([0x2a]))||!!_0x12e875[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428716([0x55,0x50,0x4c,0x43])));}function _0x7de495(){const _0x581278=_0x3530,_0x21c6f6=_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21c6f6||0x0==_0x21c6f6[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c348a}=new URL(window[_0x428716([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x581278(0x152)]);if(_0x21c6f6[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c348a))return!0x0;const _0x14d92d=_0x3c348a[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e]));return _0x21c6f6[_0x428716([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc01fc3=>_0xc01fc3[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428716([0x2a])))[_0x428716([0x6d,0x61,0x70])](_0x5de4f2=>_0x5de4f2[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e])))[_0x428716([0x73,0x6f,0x6d,0x65])](_0xdf055f=>_0x14d92d[_0x428716([0x65,0x76,0x65,0x72,0x79])]((_0x470785,_0x2334a7)=>_0xdf055f[_0x2334a7]===_0x470785||_0xdf055f[_0x2334a7]===_0x428716([0x2a])));}function _0x243c2c(){return _0x3ea3a4&&_0x504ddc?new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a01e0,_0x9cf519)=>{_0x3ea3a4[_0x428716([0x74,0x68,0x65,0x6e])](_0x1a01e0,_0x9cf519),_0x504ddc[_0x428716([0x74,0x68,0x65,0x6e])](_0x51dd84=>{_0x51dd84!=_0x428716([0x56,0x61,0x6c,0x69,0x64])&&_0x1a01e0(_0x51dd84);},_0x9cf519);}):_0x3ea3a4||_0x504ddc||_0x428716([0x56,0x61,0x6c,0x69,0x64]);}}function _0x402c02(_0x39b9ea,_0x49979d){return new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b9ff9=>{if(_0x308a62())return _0x3b9ff9(_0x428716([0x56,0x61,0x6c,0x69,0x64]));_0x34f243(),_0x435178[_0x428716([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x428716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe843cc=!0x1;const _0x353dbe=_0x22f59e();function _0x500459(_0x3a0b29){return!!_0x3a0b29&&(typeof _0x3a0b29===_0x428716([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a0b29===_0x428716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a0b29[_0x428716([0x74,0x68,0x65,0x6e])]===_0x428716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a0b29[_0x428716([0x63,0x61,0x74,0x63,0x68])]===_0x428716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cc580(_0x2505b0){_0x162c4c(_0x2505b0)[_0x428716([0x74,0x68,0x65,0x6e])](_0x2e262f=>{if(!_0x2e262f||_0x2e262f[_0x428716([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x428716([0x6f,0x6b]))return _0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3122c0(_0xf801c2(_0x353dbe+_0x49979d))!=_0x2e262f[_0x428716([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x428716([0x56,0x61,0x6c,0x69,0x64]);})[_0x428716([0x74,0x68,0x65,0x6e])](_0x35cf7a=>(_0x3a7cc5(),_0x35cf7a),()=>{const _0x3872d1=_0x6532b5();return null==_0x3872d1?(_0x3a7cc5(),_0x428716([0x56,0x61,0x6c,0x69,0x64])):_0x428716(_0x3400ff-_0x3872d1>(0x1faaea2b^_0x5dd2b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x428716([0x74,0x68,0x65,0x6e])](_0x3b9ff9)[_0x428716([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b9ff9(_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf523d0=0x3b9080ab^_0x5dd2b4;function _0x3a7cc5(){const _0x43bece=_0x428716([0x6c,0x6c,0x63,0x74,0x2d])+_0x3122c0(_0xf801c2(_0x39b9ea)),_0x1ff1d5=_0x2446db(_0x3122c0(window[_0x428716([0x4d,0x61,0x74,0x68])][_0x428716([0x63,0x65,0x69,0x6c])](_0x3400ff/_0xf523d0)));window[_0x428716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428716([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43bece,_0x1ff1d5);}function _0x6532b5(){const _0x408e4e=_0x428716([0x6c,0x6c,0x63,0x74,0x2d])+_0x3122c0(_0xf801c2(_0x39b9ea)),_0x1aa4b9=window[_0x428716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428716([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x408e4e);return _0x1aa4b9?window[_0x428716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2446db(_0x1aa4b9),0x10)*_0xf523d0:null;}function _0x162c4c(_0x467eac){return new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c9dcc,_0x11cf5c)=>{_0x467eac[_0x428716([0x74,0x68,0x65,0x6e])](_0x4c9dcc,_0x11cf5c),window[_0x428716([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11cf5c,0x3ba7baeb^_0x5dd2b4);});}}_0x435178[_0x428716([0x6f,0x6e])](_0x428716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x475b0a,_0x2375ce)=>{if(_0x2375ce[0x0]!=_0x39b9ea)return _0x3b9ff9(_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2375ce[0x1]={..._0x2375ce[0x1],[_0x428716([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x353dbe};},{[_0x428716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428716([0x68,0x69,0x67,0x68])}),_0x435178[_0x428716([0x6f,0x6e])](_0x428716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bf470=>{_0x500459(_0x5bf470[_0x428716([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe843cc=!0x0,_0x1cc580(_0x5bf470[_0x428716([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x428716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428716([0x6c,0x6f,0x77])}),_0x187636[_0x428716([0x74,0x68,0x65,0x6e])](()=>{_0xe843cc||_0x3b9ff9(_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x308a62(){return _0x435178[_0x428716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428716([0x76,0x69,0x65,0x77])][_0x428716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x428716([0x61,0x75,0x74,0x6f]);}function _0x34f243(){_0x435178[_0x428716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428716([0x76,0x69,0x65,0x77])][_0x428716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x428716([0x61,0x75,0x74,0x6f]);}}function _0x3444dd(_0x2d0623){const _0x370285=[new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37588f=>setTimeout(_0x37588f,0x3baf50e7^_0x5dd2b4)),_0x187636[_0x428716([0x74,0x68,0x65,0x6e])](()=>new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeda3b=>{let _0xe86e94=0x0;_0x435178[_0x428716([0x6d,0x6f,0x64,0x65,0x6c])][_0x428716([0x6f,0x6e])](_0x428716([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cff0e,_0x204711)=>{_0x204711[0x0][_0x428716([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe86e94++,_0xe86e94==(0x3ba66fd3^_0x5dd2b4)&&(_0xeda3b(),_0x4cff0e[_0x428716([0x6f,0x66,0x66])]());});}))];return window[_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x428716([0x72,0x61,0x63,0x65])](_0x370285)[_0x428716([0x74,0x68,0x65,0x6e])](()=>_0x2d0623);}async function _0xde9fd7(){await _0x187636,_0x435178[_0x428716([0x6d,0x6f,0x64,0x65,0x6c])][_0x428716([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dd8cf,_0x435178[_0x428716([0x6d,0x6f,0x64,0x65,0x6c])][_0x428716([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dd8cf,_0x435178[_0x428716([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x428716([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4998ee(_0x385419){const _0x500557=_0xa0316a();_0x435178[_0x500557]=_0x428716([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x385419,_0x385419!=_0x428716([0x56,0x61,0x6c,0x69,0x64])&&_0xde9fd7();}function _0xa0316a(){const _0x1e65ad=window[_0x428716([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x428716([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x428716([0x6e,0x6f,0x77])]())[_0x428716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x428716([0x2e]),'');let _0x502ead=_0x428716([0x65]);for(let _0xa769b3=0x0;_0xa769b3<_0x1e65ad[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa769b3+=0x2){let _0x16c7c7=window[_0x428716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e65ad[_0x428716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa769b3,_0xa769b3+0x2));_0x16c7c7>=_0x3d7502[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16c7c7-=_0x3d7502[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x502ead+=_0x3d7502[_0x16c7c7];}return _0x502ead;}function _0xc3ac51(){const _0x50864d=_0x190db4[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e]));if(0x3!=_0x50864d[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58ab39(_0x50864d[0x1]);function _0x58ab39(_0x2269b0){const _0x3851e6=_0x5c8291(_0x2269b0);return _0x3851e6&&_0x5b62e5()?_0x3851e6:null;function _0x5b62e5(){const _0x27456a=_0x3851e6[_0x428716([0x6a,0x74,0x69])],_0x384fb9=window[_0x428716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27456a[_0x428716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27456a[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bd187={..._0x3851e6,[_0x428716([0x6a,0x74,0x69])]:_0x27456a[_0x428716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27456a[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bd187[_0x428716([0x76,0x63])],_0xf801c2(_0x2bd187)==_0x384fb9;}}}async function _0x584e98(){let _0x2d45ef=!0x0;try{const _0x4f986a=_0x190db4[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e])),[_0x5817d1,_0x25a526,_0x112aae]=_0x4f986a;return _0x1b5912(_0x5817d1),await _0x3cb838(_0x5817d1,_0x25a526,_0x112aae),_0x2d45ef;}catch(_0x4adcca){return!0x1;}function _0x1b5912(_0xec286d){const _0x4faeec=_0x5c8291(_0xec286d);_0x4faeec&&_0x4faeec[_0x428716([0x61,0x6c,0x67])]==_0x428716([0x45,0x53,0x32,0x35,0x36])||(_0x2d45ef=!0x1);}async function _0x3cb838(_0x24c838,_0x417e89,_0x300c3d){const _0xc56459=window[_0x428716([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x428716([0x66,0x72,0x6f,0x6d])](_0x2fc55e(_0x300c3d),_0x2aa038=>_0x2aa038[_0x428716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47a459=new window[(_0x428716([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x428716([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24c838+_0x428716([0x2e])+_0x417e89),_0xee3343=window[_0x428716([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x428716([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xee3343)return;const _0x29ba6c=await _0xee3343[_0x428716([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x428716([0x6a,0x77,0x6b]),_0x5e56eb,{[_0x428716([0x6e,0x61,0x6d,0x65])]:_0x428716([0x45,0x43,0x44,0x53,0x41]),[_0x428716([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x428716([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x428716([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xee3343[_0x428716([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x428716([0x6e,0x61,0x6d,0x65])]:_0x428716([0x45,0x43,0x44,0x53,0x41]),[_0x428716([0x68,0x61,0x73,0x68])]:{[_0x428716([0x6e,0x61,0x6d,0x65])]:_0x428716([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29ba6c,_0xc56459,_0x47a459)||(_0x2d45ef=!0x1);}}function _0x5c8291(_0x2fb7d8){return _0x2fb7d8[_0x428716([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x428716([0x65,0x79]))?JSON[_0x428716([0x70,0x61,0x72,0x73,0x65])](_0x2fc55e(_0x2fb7d8)):null;}function _0x2fc55e(_0x86c6e5){return window[_0x428716([0x61,0x74,0x6f,0x62])](_0x86c6e5[_0x428716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x428716([0x2b]))[_0x428716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x428716([0x2f])));}function _0xf801c2(_0x5cc6bc){let _0x3f9ed7=0x1505;function _0xd09f1f(_0x1896b5){for(let _0x441ed3=0x0;_0x441ed3<_0x1896b5[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x441ed3++){const _0x5c7acd=_0x1896b5[_0x428716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x441ed3);_0x3f9ed7=(_0x3f9ed7<<0x5)+_0x3f9ed7+_0x5c7acd,_0x3f9ed7&=_0x3f9ed7;}}function _0x1a28b0(_0x2755ed){Array[_0x428716([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2755ed)?_0x2755ed[_0x428716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a28b0):_0x2755ed&&typeof _0x2755ed==_0x428716([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x428716([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2755ed)[_0x428716([0x73,0x6f,0x72,0x74])]()[_0x428716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cbb29,_0x2d2b8c])=>{_0xd09f1f(_0x5cbb29),_0x1a28b0(_0x2d2b8c);}):_0xd09f1f(window[_0x428716([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2755ed));}return _0x1a28b0(_0x5cc6bc),_0x3f9ed7>>>0x0;}function _0x3122c0(_0x4e3023){return _0x4e3023[_0x428716([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x428716([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x428716([0x30]));}function _0x2446db(_0x77bc47){return _0x77bc47[_0x428716([0x73,0x70,0x6c,0x69,0x74])]('')[_0x428716([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x428716([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dd8cf(){}function _0x428716(_0x207e9d){const _0x1fe637=_0x3530;return _0x207e9d[_0x1fe637(0x16b)](_0xf7cbb5=>String[_0x1fe637(0x184)](_0xf7cbb5))[_0x1fe637(0x143)]('');}_0x4998ee(await _0x30fd65());}(this);}[_0x12ef27(0x183)](){const _0x16178c=_0x12ef27,_0x59515a=this[_0x16178c(0x156)][_0x16178c(0x164)][_0x16178c(0x15c)];_0x59515a[_0x16178c(0x144)](_0x16178c(0x186))&&_0x59515a[_0x16178c(0x18a)](_0x16178c(0x186),{'allowAttributes':[_0x16178c(0x153)]}),_0x59515a[_0x16178c(0x144)](_0x16178c(0x193))&&_0x59515a[_0x16178c(0x18a)](_0x16178c(0x193),{'allowAttributes':[_0x16178c(0x153)]});}[_0x12ef27(0x182)](){const _0x2aa9c3=_0x12ef27,_0x509e1c=this[_0x2aa9c3(0x156)];_0x509e1c[_0x2aa9c3(0x18e)][_0x2aa9c3(0x146)](_0x2aa9c3(0x169))[_0x2aa9c3(0x157)]({'model':_0x2aa9c3(0x153),'view':_0x2aa9c3(0x181)}),_0x509e1c[_0x2aa9c3(0x18e)][_0x2aa9c3(0x146)](_0x2aa9c3(0x14b))[_0x2aa9c3(0x18d)]({'model':{'key':_0x2aa9c3(0x153),'value':_0x468a5e=>_0x468a5e[_0x2aa9c3(0x16e)](_0x2aa9c3(0x181))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x42a91d=_0x509e1c[_0x2aa9c3(0x14a)][_0x2aa9c3(0x163)](_0x2aa9c3(0x176));_0x42a91d&&this[_0x2aa9c3(0x179)](_0x42a91d,_0x2aa9c3(0x151),(_0xfcd2ae,[_0x317b0f,_0x586e24])=>{const _0x4f3b41=_0x2aa9c3;_0x317b0f[_0x4f3b41(0x16d)](_0x4f3b41(0x153),_0x586e24);});}[_0x12ef27(0x187)](){const _0x14ec0d=_0x12ef27,_0x2f0404=this[_0x14ec0d(0x156)][_0x14ec0d(0x192)][_0x14ec0d(0x163)](_0x14ec0d(0x17d))||{},_0x3a9997=this[_0x14ec0d(0x156)][_0x14ec0d(0x192)][_0x14ec0d(0x163)](_0x14ec0d(0x148))||'';this[_0x14ec0d(0x191)]=_0xe9fd83(_0x2d8658[_0x14ec0d(0x15e)],_0x14ec0d(0x189),{..._0x2f0404,'pubkey':_0x3a9997,'ctx-name':_0x14ec0d(0x159),'sourceList':'','imgOnly':_0x14ec0d(0x142),'removeCopyright':_0x14ec0d(0x142),'localeName':this[_0x14ec0d(0x156)][_0x14ec0d(0x154)][_0x14ec0d(0x172)],'externalSourcesEmbedCss':_0x14ec0d(0x18b)}),this[_0x14ec0d(0x191)][_0x14ec0d(0x18f)]=_0x136cac=>{const _0x197b32=_0x14ec0d;if(_0x197b32(0x178)==_0x136cac)return _0x197b32(0x14f);},_0x2d8658[_0x14ec0d(0x15e)][_0x14ec0d(0x141)][_0x14ec0d(0x170)](this[_0x14ec0d(0x191)]);}[_0x12ef27(0x17a)](){const _0x33e750=_0x12ef27;this[_0x33e750(0x168)]=_0xe9fd83(_0x2d8658[_0x33e750(0x15e)],_0x33e750(0x14c),{'ctx-name':_0x33e750(0x159)}),_0x2d8658[_0x33e750(0x15e)][_0x33e750(0x141)][_0x33e750(0x170)](this[_0x33e750(0x168)]);}[_0x12ef27(0x17b)](){const _0x293d15=_0x12ef27,_0x3ffc60=this[_0x293d15(0x156)][_0x293d15(0x14a)][_0x293d15(0x163)](_0x293d15(0x18c));_0x3ffc60&&this[_0x293d15(0x179)](_0x3ffc60,_0x293d15(0x15b),()=>{const _0x5b90a6=_0x293d15,_0x299263=this[_0x5b90a6(0x156)][_0x5b90a6(0x164)][_0x5b90a6(0x15e)][_0x5b90a6(0x17f)][_0x5b90a6(0x185)]();_0x299263&&_0x299263[_0x5b90a6(0x16e)](_0x5b90a6(0x153))&&this[_0x5b90a6(0x156)][_0x5b90a6(0x147)][_0x5b90a6(0x165)][_0x5b90a6(0x15d)](_0x5b90a6(0x15f),()=>{const _0x1ec8f1=_0x5b90a6;_0x3ca15f(this[_0x1ec8f1(0x156)],_0x299263);});});const _0x5329ba=this[_0x293d15(0x156)][_0x293d15(0x14a)][_0x293d15(0x163)](_0x293d15(0x149));_0x5329ba&&this[_0x293d15(0x179)](_0x5329ba,_0x293d15(0x15b),()=>{const _0x557f0c=_0x293d15,_0x5cebae=this[_0x557f0c(0x156)][_0x557f0c(0x164)][_0x557f0c(0x15e)][_0x557f0c(0x17f)][_0x557f0c(0x185)]();_0x5cebae&&_0x5cebae[_0x557f0c(0x16e)](_0x557f0c(0x153))&&this[_0x557f0c(0x156)][_0x557f0c(0x147)][_0x557f0c(0x165)][_0x557f0c(0x15d)](_0x557f0c(0x15f),()=>{const _0x28e110=_0x557f0c;_0x3ca15f(this[_0x28e110(0x156)],_0x5cebae);});});}}function _0x1e74(){const _0x3ab8a7=['\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','insertImage','elementToAttribute','conversion','iconHrefResolver','822248SJXPZl','_configElement','config','imageInline','890167sJwcPD','body','true','join','isRegistered','uploadcare','for','editing','uploadcare.pubkey','uploadcareImageReplace','commands','upcast','uc-upload-ctx-provider','input[uploadcare-file-input]','afterInit','#uc-icon-arrow-down','isOfficialPlugin','cleanupImage','href','uploadcareImageId','locale','add','editor','attributeToAttribute','2XPFhmJ','uploader','UploadcareEditing','execute','schema','once','document','render','remove','isPremiumPlugin','pluginName','get','model','view','destroy','2234301dMdnSV','_ctxElement','downcast','querySelector','map','configElement','removeAttribute','getAttribute','requires','appendChild','ctxElement','contentLanguage','4742370djUoiU','init','4359016lhrwEQ','replaceImageSource','91721uLzngN','closeMax','listenTo','_initCtx','_initImageProcessingIndicator','18vyKjMw','uploadcare.uploader','1469910FKqqIx','selection','78TmpceC','data-uc-image-id','_initConversion','_initSchema','fromCharCode','getSelectedElement','imageBlock','_initConfig','PictureEditing','uc-config','extend'];_0x1e74=function(){return _0x3ab8a7;};return _0x1e74();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x28b03d,ObservableMixin as _0x20ef5f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x162e5f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x38e322}from'ckeditor5/src/icons.js';import _0x818396 from'./uploadcareimageeditformview.js';import _0x4cf638 from'../../utils/uploadutils.js';import{getImageUrls as _0x3222b6,getImageDimension as _0x4cb4e4}from'../../utils/editingutils.js';import{isAncestor as _0xa47186}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20ef5f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x58d6d3,_0x1c902f,_0x1a570a){super(),this['_editor']=_0x58d6d3,this['_dialog']=_0x1c902f,this['_imageElement']=_0x1a570a,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 _0x492eaf=this['_imageElement'],_0x2f6915=_0x492eaf['getAttribute']('uploadcareImageId'),_0xd8752b=_0x492eaf['getAttribute']('src');if(_0x2f6915)await this['_loadImageInfo'](_0x2f6915,_0xd8752b);else{if(this['_imageCache']['has'](_0xd8752b)){const _0x4b5611=this['_imageCache']['get'](_0xd8752b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b5611['url'],this['imageDimension']=_0x4b5611['dimension'],this['imageId']=_0x4b5611['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4b9052}=this['_editor'],t=_0x4b9052['t'],_0xa5bf3f=new _0x818396(_0x4b9052,this['imageStatus'],this['_attributes']);_0xa5bf3f['bind']('status')['to'](this,'imageStatus'),_0xa5bf3f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xa5bf3f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xa5bf3f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xa5bf3f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x38e322,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xa5bf3f,'position':_0x162e5f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xa5bf3f['focus']();},'onHide':()=>{_0xa5bf3f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ad1cd=>!_0xa47186(_0x4ad1cd,_0xa5bf3f['element'])}});}['_loadImageInfo'](_0x5c4637,_0x2bed13){return _0x4cf638['getInfo'](_0x5c4637,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x7efda0=>{const {width:_0x3e1a55,height:_0xeeb3e9}=_0x7efda0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bed13,this['imageDimension']={'width':_0x3e1a55,'height':_0xeeb3e9},this['imageId']=_0x5c4637;})['catch'](_0x5a0022=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a0022['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x125903,_0x51be56){return this['_getImageAsFile'](_0x125903)['then'](_0x16c908=>_0x4cf638['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x51be56['signal'],'file':_0x16c908,'onProgress':_0x1c870c=>{_0x1c870c&&_0x1c870c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c870c['value']));}}))['then'](_0xbae6c9=>{const {width:_0x34ba20,height:_0x92f34a}=_0xbae6c9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbae6c9['cdnUrl'],this['imageDimension']={'width':_0x34ba20,'height':_0x92f34a},this['imageId']=_0xbae6c9['uuid'],this['imageUploadProgress']=null;const _0x200b59=_0x125903['getAttribute']('src');this['_imageCache']['set'](_0x200b59,{'id':_0xbae6c9['uuid'],'url':_0xbae6c9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x319a2b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x319a2b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xea3b45,_0x391260){_0xea3b45['on']('apply',(_0x6685f8,_0x38e67f)=>{this['_replaceImage'](_0x391260,_0x38e67f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xea3b45['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xea3b45['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3541c1,_0x16b4e4,_0x52170c){const _0x1d0a7b=this['_editor'],{width:_0x4acaca,height:_0x1f3560}=_0x4cb4e4(_0x16b4e4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5a9da2,imageSources:_0x2d5ed8}=_0x3222b6(_0x16b4e4,_0x4acaca);_0x1d0a7b['model']['change'](_0x1e1c9d=>{if('$graveyard'===_0x3541c1['root']['rootName']){_0x1d0a7b['execute']('insertImage',{'imageType':_0x3541c1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3541c1['getAttributes']()),'uploadcareImageId':_0x52170c,'src':_0x5a9da2,'sources':_0x2d5ed8,'width':_0x4acaca,'height':_0x1f3560}});const _0x283fa2=_0x3541c1['getChildren']();_0x3541c1=_0x1d0a7b['model']['document']['selection']['getSelectedElement']();for(const _0x29c687 of _0x283fa2)_0x1e1c9d['append'](_0x1e1c9d['cloneElement'](_0x29c687),_0x3541c1);}else _0x1e1c9d['setSelection'](_0x3541c1,'on'),_0x1d0a7b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3541c1['getAttributes']()),'uploadcareImageId':_0x52170c,'src':_0x5a9da2,'sources':_0x2d5ed8,'width':_0x4acaca,'height':_0x1f3560},_0x3541c1);_0x1e1c9d['setSelection'](_0x3541c1,'on');});}async['_getImageAsFile'](_0x57239f){const _0x5c8476=_0x28b03d['window'],_0x3f0aff=_0x28b03d['document']['location']['href'],_0x469973=new _0x5c8476['URL'](_0x57239f['getAttribute']('src'),_0x3f0aff);if('data:'===_0x469973['protocol']){const _0x368b79=_0x469973['href']['split'](','),_0x2c1746=_0x368b79[0x0]['match'](/:(.*?);/)[0x1],_0x152268=_0x2c1746['split']('/')[0x1],_0x5ae4f7=_0x5c8476['atob'](_0x368b79[_0x368b79['length']-0x1]);let _0x72b0d6=_0x5ae4f7['length'];const _0x1bd460=new _0x5c8476['Uint8Array'](_0x72b0d6);for(;_0x72b0d6--;)_0x1bd460[_0x72b0d6]=_0x5ae4f7['charCodeAt'](_0x72b0d6);return new _0x5c8476['File']([_0x1bd460],'image.'+_0x152268,{'type':_0x2c1746});}const _0xa8f3ec=_0x469973['href']['split']('/'),_0x37c789=_0xa8f3ec[_0xa8f3ec['length']-0x1],_0x1fbde4=_0x37c789['split']('.')[0x1];return _0x5c8476['fetch'](_0x469973['href'])['then'](_0x2da9d9=>_0x2da9d9['clone']()['blob']())['then'](_0xdb6d0a=>new _0x5c8476['File']([_0xdb6d0a],_0x37c789,{'type':'image/'+_0x1fbde4}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2f0725,_0x3bd3d6){const _0x3a5e6f=_0x1bb3,_0x5f463a=_0x2f0725();while(!![]){try{const _0x43735b=-parseInt(_0x3a5e6f(0xa5))/0x1+-parseInt(_0x3a5e6f(0xa0))/0x2*(-parseInt(_0x3a5e6f(0xac))/0x3)+-parseInt(_0x3a5e6f(0xa4))/0x4+parseInt(_0x3a5e6f(0xab))/0x5*(parseInt(_0x3a5e6f(0xa1))/0x6)+-parseInt(_0x3a5e6f(0xad))/0x7+-parseInt(_0x3a5e6f(0x9f))/0x8*(-parseInt(_0x3a5e6f(0xb0))/0x9)+-parseInt(_0x3a5e6f(0xaa))/0xa*(parseInt(_0x3a5e6f(0x9e))/0xb);if(_0x43735b===_0x3bd3d6)break;else _0x5f463a['push'](_0x5f463a['shift']());}catch(_0x2037ef){_0x5f463a['push'](_0x5f463a['shift']());}}}(_0x4807,0x9985d));import{View as _0x52352f}from'ckeditor5/src/ui.js';function _0x1bb3(_0x2c83a7,_0x3f56a8){const _0x480759=_0x4807();return _0x1bb3=function(_0x1bb385,_0x2b2ea4){_0x1bb385=_0x1bb385-0x9e;let _0x2d3042=_0x480759[_0x1bb385];return _0x2d3042;},_0x1bb3(_0x2c83a7,_0x3f56a8);}function _0x4807(){const _0x245669=['setTemplate','ck-uploadcare-theme','117mZpxyE','121tJcqeU','589672Sfmxts','2xmCHnh','18iXsiOY','uc-cloud-image-editor','imageSrc','3903848fLemHb','134899HDZfeK','bindTemplate','uc-light','image-edit','set','487180AJTStO','427730YpcgBs','3412218NYMNwQ','536711MoUWUF'];_0x4807=function(){return _0x245669;};return _0x4807();}export default class tt extends _0x52352f{constructor(_0x13d614,_0x304a1b){const _0x2fc86d=_0x1bb3;super(_0x13d614);const _0x5da83f=this[_0x2fc86d(0xa6)];this[_0x2fc86d(0xa9)](_0x2fc86d(0xa3),''),this[_0x2fc86d(0xae)]({'tag':_0x2fc86d(0xa2),'attributes':{..._0x304a1b,'class':[_0x2fc86d(0xa7),_0x2fc86d(0xaf)],'ctx-name':_0x2fc86d(0xa8),'cdn-url':_0x5da83f['to'](_0x2fc86d(0xa3))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d6439,IconView as at,View as _0x546e74}from'ckeditor5/src/ui.js';export default class rt extends _0x546e74{constructor(_0x448355){super(_0x448355);const t=_0x448355['t'];this['set']('errorType',null);const _0x263cb7=new _0x2d6439(_0x448355);_0x263cb7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x263cb7['withText']=!0x0,_0x263cb7['class']='ck-button-action',_0x263cb7['on']('execute',()=>{this['fire']('retry');}),_0x263cb7['bind']('isVisible')['to'](this,'errorType',_0x1a474b=>'NotFound'!==_0x1a474b);const _0x59ed38=new at();_0x59ed38['content']=et,_0x59ed38['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1dcd44=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':[_0x59ed38,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1dcd44['to']('errorType',_0xa55a1a=>t('NotFound'!==_0xa55a1a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x263cb7]},{'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 _0x2220c1,View as _0x131606}from'ckeditor5/src/ui.js';export default class ta extends _0x131606{constructor(_0x34d119){super(_0x34d119);const t=_0x34d119['t'],_0xe60d95=this['bindTemplate'],_0x145d4c=new _0x2220c1();_0x145d4c['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':[_0x145d4c,{'text':_0xe60d95['to']('imageUploadProgress',_0x505d2a=>t('Loading\x20image...')+'\x20('+(_0x505d2a||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 _0x20d9ac=_0x3d14;(function(_0x505ea4,_0xfd0bc0){const _0x18e765=_0x3d14,_0x3009ab=_0x505ea4();while(!![]){try{const _0x2a9de9=-parseInt(_0x18e765(0xd0))/0x1*(-parseInt(_0x18e765(0xe5))/0x2)+parseInt(_0x18e765(0xf4))/0x3*(-parseInt(_0x18e765(0xeb))/0x4)+parseInt(_0x18e765(0x107))/0x5*(parseInt(_0x18e765(0xd9))/0x6)+-parseInt(_0x18e765(0xfa))/0x7*(parseInt(_0x18e765(0x106))/0x8)+-parseInt(_0x18e765(0xf1))/0x9+-parseInt(_0x18e765(0xe3))/0xa*(parseInt(_0x18e765(0x105))/0xb)+-parseInt(_0x18e765(0xd3))/0xc*(-parseInt(_0x18e765(0xfc))/0xd);if(_0x2a9de9===_0xfd0bc0)break;else _0x3009ab['push'](_0x3009ab['shift']());}catch(_0x3f3800){_0x3009ab['push'](_0x3009ab['shift']());}}}(_0x21aa,0x2e874));function _0x3d14(_0x408518,_0x5f3d0f){const _0x21aa1a=_0x21aa();return _0x3d14=function(_0x3d1412,_0x373082){_0x3d1412=_0x3d1412-0xd0;let _0x3bf206=_0x21aa1a[_0x3d1412];return _0x3bf206;},_0x3d14(_0x408518,_0x5f3d0f);}import{View as _0x1da708}from'ckeditor5/src/ui.js';import _0x48fff1 from'./uploadcareimageeditformloadingview.js';import _0xe60628 from'./uploadcareimageeditformerrorview.js';import _0x515721 from'./uploadcareimageeditformeditingview.js';import _0x4ccf1c from'../../utils/dialogfocusmanagerview.js';function _0x21aa(){const _0xaaddfc=['length','3958FacOhj','createCollection','add','_focusableView','fire','toLowerCase','12rtqTpJ','set','addEventListener','addMany','detail','_editingView','2803320qOWGyF','disconnect','target','56169IELGYx','uploading','_errorView','clear','_items','_loadingView','49oOxOKy','querySelector','3783RWrQrS','ck-reset_all-excluded','div','cdnUrl','cancel','focus','error','once','ck-uploadcare-form','994807iIyeSP','300536cEVRtL','40RwzHZM','uc-cloud-image-editor','_waitForImageEditorComponent','2ksGzLk','nodeName','observe','42204jcnDmr','_addErrorViewListeners','change:status','_setView','filter','retry','48828kfmClc','setTemplate','addedNodes','element','status','apply','_addUploadcareImageEditorListeners','getFocusableElement','ready','render','30jakxcy'];_0x21aa=function(){return _0xaaddfc;};return _0x21aa();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x4ccf1c{[_0x20d9ac(0xf8)];[_0x20d9ac(0xf9)];[_0x20d9ac(0xf6)];[_0x20d9ac(0xf0)];[_0x20d9ac(0xe8)];constructor(_0x5373f7,_0x3ef534,_0x19134f){const _0x5e4979=_0x20d9ac;super(_0x5373f7),this[_0x5e4979(0xf8)]=this[_0x5e4979(0xe6)](),this[_0x5e4979(0xf9)]=new _0x48fff1(_0x5373f7),this[_0x5e4979(0xf6)]=new _0xe60628(_0x5373f7),this[_0x5e4979(0xf0)]=new _0x515721(_0x5373f7,_0x19134f),this[_0x5e4979(0xe8)]=new _0x1da708(_0x5373f7),this[_0x5e4979(0xe8)][_0x5e4979(0xda)](this[_0x5e4979(0xe0)]()),this[_0x5e4979(0xec)](_0x5e4979(0xdd),_0x3ef534),this[_0x5e4979(0xda)]({'tag':_0x5e4979(0xfe),'attributes':{'class':['ck',_0x5e4979(0xfd),_0x5e4979(0x104)],'tabindex':'-1'},'children':this[_0x5e4979(0xf8)]}),this[_0x5e4979(0xd6)](),this[_0x5e4979(0x103)](_0x5e4979(0xe2),()=>{const _0x2a679c=_0x5e4979;this[_0x2a679c(0x109)](this[_0x2a679c(0xdc)],_0x21faac=>{const _0x5b3b35=_0x2a679c;this[_0x5b3b35(0xdf)](_0x21faac);});}),this['on'](_0x5e4979(0xd5),()=>{const _0x54b945=_0x5e4979;this[_0x54b945(0xd6)]();}),this[_0x5e4979(0xd4)]();}[_0x20d9ac(0x101)](){const _0x3f6313=_0x20d9ac;this[_0x3f6313(0xdc)][_0x3f6313(0x101)]();}[_0x20d9ac(0xd6)](){const _0x34309b=_0x20d9ac;switch(this[_0x34309b(0xf8)][_0x34309b(0xf7)](),this[_0x34309b(0xdd)]){case _0x34309b(0xf5):this[_0x34309b(0xf8)][_0x34309b(0xe7)](this[_0x34309b(0xf9)]);break;case _0x34309b(0x102):this[_0x34309b(0xf8)][_0x34309b(0xe7)](this[_0x34309b(0xf6)]);break;case _0x34309b(0xe1):this[_0x34309b(0xf8)][_0x34309b(0xee)]([this[_0x34309b(0xf0)],this[_0x34309b(0xe8)]]);}}[_0x20d9ac(0x109)](_0x111619,_0x2407a8){const _0x3b3233=_0x20d9ac,_0x320e90=_0x3b3233(0x108),_0x541de3=_0x111619[_0x3b3233(0xfb)](_0x320e90);if(_0x541de3)return _0x2407a8(_0x541de3);const _0x1d43e3=new MutationObserver(_0x34b7be=>{const _0x100ae9=_0x3b3233,_0x56cb6f=_0x34b7be[_0x100ae9(0xd7)](_0x2f72e7=>_0x2f72e7[_0x100ae9(0xf3)]===_0x111619&&_0x2f72e7[_0x100ae9(0xdb)][_0x100ae9(0xe4)]>0x0&&_0x2f72e7[_0x100ae9(0xdb)][0x0][_0x100ae9(0xd1)][_0x100ae9(0xea)]()===_0x320e90);_0x56cb6f[_0x100ae9(0xe4)]&&(_0x1d43e3[_0x100ae9(0xf2)](),_0x2407a8(_0x56cb6f[0x0][_0x100ae9(0xdb)][0x0]));});_0x1d43e3[_0x3b3233(0xd2)](_0x111619,{'childList':!0x0,'subtree':!0x0});}[_0x20d9ac(0xdf)](_0x55d64f){const _0xda1020=_0x20d9ac;_0x55d64f[_0xda1020(0xed)](_0xda1020(0xde),_0x1e0d14=>{const _0x4f3f28=_0xda1020;this[_0x4f3f28(0xe9)](_0x4f3f28(0xde),{'imageSrc':_0x1e0d14[_0x4f3f28(0xef)][_0x4f3f28(0xff)]});}),_0x55d64f[_0xda1020(0xed)](_0xda1020(0x100),()=>{const _0xd8806a=_0xda1020;this[_0xd8806a(0xe9)](_0xd8806a(0x100));});}[_0x20d9ac(0xd4)](){const _0xc20f46=_0x20d9ac;this[_0xc20f46(0xf6)]['on'](_0xc20f46(0xd8),()=>{const _0x19f7e1=_0xc20f46;this[_0x19f7e1(0xe9)](_0x19f7e1(0xd8));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43db36=_0x3d5f;(function(_0x5e31b6,_0x4d1b01){const _0x29c9a0=_0x3d5f,_0xcde2de=_0x5e31b6();while(!![]){try{const _0x18f566=parseInt(_0x29c9a0(0x142))/0x1+-parseInt(_0x29c9a0(0x152))/0x2+parseInt(_0x29c9a0(0x149))/0x3+parseInt(_0x29c9a0(0x150))/0x4*(-parseInt(_0x29c9a0(0x14a))/0x5)+-parseInt(_0x29c9a0(0x15d))/0x6*(parseInt(_0x29c9a0(0x14d))/0x7)+-parseInt(_0x29c9a0(0x15c))/0x8+parseInt(_0x29c9a0(0x156))/0x9;if(_0x18f566===_0x4d1b01)break;else _0xcde2de['push'](_0xcde2de['shift']());}catch(_0x37d2a0){_0xcde2de['push'](_0xcde2de['shift']());}}}(_0x1c01,0x67a73));import{Command as _0x25614a}from'ckeditor5/src/core.js';import{Dialog as _0x4cacd1}from'ckeditor5/src/ui.js';import _0x44ee8c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x50d729}from'../utils/editingutils.js';function _0x3d5f(_0x247a70,_0x4911d7){const _0x1c012a=_0x1c01();return _0x3d5f=function(_0x3d5fd3,_0x51d9b6){_0x3d5fd3=_0x3d5fd3-0x140;let _0x404985=_0x1c012a[_0x3d5fd3];return _0x404985;},_0x3d5f(_0x247a70,_0x4911d7);}function _0x1c01(){const _0x3eb2a7=['imageInline','element','selection','model','editor','1861425caqFyq','5KiNyCp','document','isEnabled','56cFzEym','imageEditController','unbind','2956636NsuvfC','get','89642MbtPiM','requires','set','imageBlock','11539611MDLEHd','isActive','uploadcare.allowExternalImagesEditing','getSelectedElement','plugins','refresh','2470416oRKoke','305796SllDqC','execute','bind','config','22419PcVKRh','_isEditable'];_0x1c01=function(){return _0x3eb2a7;};return _0x1c01();}export default class J extends _0x25614a{[_0x43db36(0x14e)];static get[_0x43db36(0x153)](){return[_0x4cacd1];}[_0x43db36(0x143)];constructor(_0x41e601){const _0x3b3a19=_0x43db36;super(_0x41e601),this[_0x3b3a19(0x14e)]=void 0x0,this[_0x3b3a19(0x143)]=_0x50d729(_0x41e601[_0x3b3a19(0x141)][_0x3b3a19(0x151)](_0x3b3a19(0x158))||[]),this[_0x3b3a19(0x154)]({'isActive':!0x1});}[_0x43db36(0x15b)](){const _0x17b7ab=_0x43db36,_0x1d52c1=this[_0x17b7ab(0x148)][_0x17b7ab(0x147)][_0x17b7ab(0x14b)][_0x17b7ab(0x146)][_0x17b7ab(0x159)]();this[_0x17b7ab(0x14c)]=this[_0x17b7ab(0x143)](_0x1d52c1);}[_0x43db36(0x15e)](){const _0x4d0099=_0x43db36;this[_0x4d0099(0x14e)]&&(this[_0x4d0099(0x14f)](_0x4d0099(0x157)),this[_0x4d0099(0x14e)]=void 0x0);const _0x3799cf=this[_0x4d0099(0x148)][_0x4d0099(0x147)][_0x4d0099(0x14b)][_0x4d0099(0x146)][_0x4d0099(0x159)]();_0x3799cf&&(_0x3799cf['is'](_0x4d0099(0x145),_0x4d0099(0x155))||_0x3799cf['is'](_0x4d0099(0x145),_0x4d0099(0x144)))&&(this[_0x4d0099(0x14e)]=new _0x44ee8c(this[_0x4d0099(0x148)],this[_0x4d0099(0x148)][_0x4d0099(0x15a)][_0x4d0099(0x151)](_0x4cacd1),_0x3799cf),this[_0x4d0099(0x140)](_0x4d0099(0x157))['to'](this[_0x4d0099(0x14e)],_0x4d0099(0x157)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc6b74e=_0x1589;(function(_0x256bfd,_0x240029){const _0x3eb9f2=_0x1589,_0x5d96d9=_0x256bfd();while(!![]){try{const _0x548d4c=parseInt(_0x3eb9f2(0x166))/0x1*(-parseInt(_0x3eb9f2(0x162))/0x2)+-parseInt(_0x3eb9f2(0x15f))/0x3*(-parseInt(_0x3eb9f2(0x165))/0x4)+-parseInt(_0x3eb9f2(0x163))/0x5*(-parseInt(_0x3eb9f2(0x15c))/0x6)+-parseInt(_0x3eb9f2(0x155))/0x7*(-parseInt(_0x3eb9f2(0x16a))/0x8)+parseInt(_0x3eb9f2(0x158))/0x9*(parseInt(_0x3eb9f2(0x169))/0xa)+-parseInt(_0x3eb9f2(0x15b))/0xb*(parseInt(_0x3eb9f2(0x153))/0xc)+-parseInt(_0x3eb9f2(0x156))/0xd;if(_0x548d4c===_0x240029)break;else _0x5d96d9['push'](_0x5d96d9['shift']());}catch(_0x1a2390){_0x5d96d9['push'](_0x5d96d9['shift']());}}}(_0x3721,0x5f4ec));import{Plugin as _0x1621aa}from'ckeditor5/src/core.js';function _0x1589(_0x20e87c,_0xbcec1a){const _0x372134=_0x3721();return _0x1589=function(_0x1589e9,_0x5a3056){_0x1589e9=_0x1589e9-0x152;let _0x413c70=_0x372134[_0x1589e9];return _0x413c70;},_0x1589(_0x20e87c,_0xbcec1a);}import{Notification as _0x1bfbc6}from'ckeditor5/src/ui.js';function _0x3721(){const _0x1e0b6b=['273940rSeDoY','commands','1966444rQcomE','403dObKGH','isPremiumPlugin','uploadcareImageReplace','344530Elgdbz','296qpXBsd','add','2502012DgTsuL','ImageUtils','68999qJLyEI','3685149zOsChl','UploadcareImageEditEditing','135HrdekB','ImageEditing','requires','22MFOIUd','48zVJfrL','uploadcareImageEdit','init','3zhGOmg','pluginName','isOfficialPlugin','3576JoAJrW'];_0x3721=function(){return _0x1e0b6b;};return _0x3721();}import _0xafb3b3 from'./uploadcareimageeditcommand.js';import _0x4f98b4 from'./uploadcareimagereplacecommand.js';import _0x365ae9 from'../uploadcareediting.js';export default class g extends _0x1621aa{static get[_0xc6b74e(0x160)](){const _0x5ba644=_0xc6b74e;return _0x5ba644(0x157);}static get[_0xc6b74e(0x15a)](){const _0x2324eb=_0xc6b74e;return[_0x365ae9,_0x1bfbc6,_0x2324eb(0x154),_0x2324eb(0x159)];}static get[_0xc6b74e(0x161)](){return!0x0;}static get[_0xc6b74e(0x167)](){return!0x0;}[_0xc6b74e(0x15e)](){const _0x3ade6f=_0xc6b74e,{editor:_0x4a11d8}=this;_0x4a11d8[_0x3ade6f(0x164)][_0x3ade6f(0x152)](_0x3ade6f(0x15d),new _0xafb3b3(_0x4a11d8)),_0x4a11d8[_0x3ade6f(0x164)][_0x3ade6f(0x152)](_0x3ade6f(0x168),new _0x4f98b4(_0x4a11d8));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x537b24}from'ckeditor5/src/core.js';import{ButtonView as _0x1f2bf4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5dfa2d}from'ckeditor5/src/icons.js';import{createElement as _0x22996e}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x537b24{['_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 _0x1ff779=this['editor'];_0x1ff779['ui']['componentFactory']['add']('uploadcareImageEdit',_0x666043=>{const _0x2dbc8f=_0x1ff779['commands']['get']('uploadcareImageEdit'),_0x3312b2=new _0x1f2bf4(_0x666043),t=_0x666043['t'];return _0x3312b2['set']({'icon':_0x5dfa2d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3312b2['bind']('isEnabled')['to'](_0x2dbc8f),_0x3312b2['bind']('isOn')['to'](_0x2dbc8f,'isActive'),this['listenTo'](_0x3312b2,'execute',()=>{_0x1ff779['execute']('uploadcareImageEdit'),_0x1ff779['editing']['view']['focus']();}),_0x3312b2;}),this['_initConfig']();}['_initConfig'](){const _0x47aa89=_0x22996e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x47aa89),this['listenTo'](this['editor'],'destroy',()=>{_0x47aa89['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2c7ad1=_0x3056;(function(_0x5731bc,_0xf28ba2){const _0xd6a566=_0x3056,_0x113a5e=_0x5731bc();while(!![]){try{const _0x293e44=parseInt(_0xd6a566(0xe3))/0x1+parseInt(_0xd6a566(0xed))/0x2*(-parseInt(_0xd6a566(0xef))/0x3)+parseInt(_0xd6a566(0xe4))/0x4*(-parseInt(_0xd6a566(0xe1))/0x5)+parseInt(_0xd6a566(0xf7))/0x6*(parseInt(_0xd6a566(0xe0))/0x7)+-parseInt(_0xd6a566(0xe7))/0x8*(-parseInt(_0xd6a566(0xeb))/0x9)+parseInt(_0xd6a566(0xf3))/0xa+-parseInt(_0xd6a566(0xe9))/0xb;if(_0x293e44===_0xf28ba2)break;else _0x113a5e['push'](_0x113a5e['shift']());}catch(_0x34d224){_0x113a5e['push'](_0x113a5e['shift']());}}}(_0xc491,0x580f0));function _0x3056(_0x5df839,_0xec3c22){const _0xc491a7=_0xc491();return _0x3056=function(_0x305664,_0x4c0aa8){_0x305664=_0x305664-0xe0;let _0x64a3d0=_0xc491a7[_0x305664];return _0x64a3d0;},_0x3056(_0x5df839,_0xec3c22);}import{Command as _0x5424eb}from'ckeditor5/src/core.js';export default class O extends _0x5424eb{[_0x2c7ad1(0xee)](){const _0x1ea38a=_0x2c7ad1,_0x232cc9=this[_0x1ea38a(0xe8)][_0x1ea38a(0xf9)][_0x1ea38a(0xe2)][_0x1ea38a(0xf8)][_0x1ea38a(0xf1)]();this[_0x1ea38a(0xea)]=Boolean(_0x232cc9&&(_0x232cc9['is'](_0x1ea38a(0xe5),_0x1ea38a(0xec))||_0x232cc9['is'](_0x1ea38a(0xe5),_0x1ea38a(0xf2))));}[_0x2c7ad1(0xf4)](_0x343b62){const _0x5b9d91=_0x2c7ad1,_0x3f20c8=this[_0x5b9d91(0xe8)][_0x5b9d91(0xf9)][_0x5b9d91(0xe2)][_0x5b9d91(0xf8)][_0x5b9d91(0xf1)]();this[_0x5b9d91(0xe8)][_0x5b9d91(0xf9)][_0x5b9d91(0xfa)](_0x3b037e=>{const _0x3ffc04=_0x5b9d91;_0x3b037e[_0x3ffc04(0xf0)](_0x343b62,_0x3f20c8),_0x3b037e[_0x3ffc04(0xe6)](_0x3ffc04(0xf6),_0x3f20c8),_0x3b037e[_0x3ffc04(0xe6)](_0x3ffc04(0xf5),_0x3f20c8);});}}function _0xc491(){const _0x4a782e=['imageInline','5437330rapoCM','execute','sizes','srcset','6STzssc','selection','model','change','3866233zHhlGB','5JaReLm','document','405163NnVwho','121612BpScjS','element','removeAttribute','448bvcFip','editor','10288014zGxZNx','isEnabled','53424tQyHHg','imageBlock','1014532VHbwuf','refresh','3AHXNuc','setAttributes','getSelectedElement'];_0xc491=function(){return _0x4a782e;};return _0xc491();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xfc0f5f=_0x3897;(function(_0x25a269,_0x1210c0){var _0x25e5fa=_0x3897,_0x11e55c=_0x25a269();while(!![]){try{var _0x38af4b=parseInt(_0x25e5fa(0x11c))/0x1+-parseInt(_0x25e5fa(0x117))/0x2*(parseInt(_0x25e5fa(0x114))/0x3)+parseInt(_0x25e5fa(0x119))/0x4+-parseInt(_0x25e5fa(0x11b))/0x5+parseInt(_0x25e5fa(0x116))/0x6+parseInt(_0x25e5fa(0x118))/0x7*(parseInt(_0x25e5fa(0x115))/0x8)+-parseInt(_0x25e5fa(0x111))/0x9;if(_0x38af4b===_0x1210c0)break;else _0x11e55c['push'](_0x11e55c['shift']());}catch(_0x2d46a8){_0x11e55c['push'](_0x11e55c['shift']());}}}(_0x30b9,0xccef9));import{Plugin as _0xec41c9}from'ckeditor5/src/core.js';function _0x3897(_0x112e21,_0x397d3f){var _0x30b9fb=_0x30b9();return _0x3897=function(_0x389785,_0x41f8f0){_0x389785=_0x389785-0x111;var _0x21a400=_0x30b9fb[_0x389785];return _0x21a400;},_0x3897(_0x112e21,_0x397d3f);}function _0x30b9(){var _0x4fde03=['7oYQEzJ','5195008lpMSpi','UploadcareImageEdit','401165KBSkdp','1146590kVQVEe','pluginName','requires','24714486nxulsN','isPremiumPlugin','isOfficialPlugin','733071lkDEXs','6481712gfKhYF','3927030fzvYcA','2Lrhcir'];_0x30b9=function(){return _0x4fde03;};return _0x30b9();}import _0x1c783d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x40b403 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xec41c9{static get[_0xfc0f5f(0x11d)](){var _0x405d20=_0xfc0f5f;return _0x405d20(0x11a);}static get[_0xfc0f5f(0x11e)](){return[_0x1c783d,_0x40b403];}static get[_0xfc0f5f(0x113)](){return!0x0;}static get[_0xfc0f5f(0x112)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2b99(){const _0x20822c=['913090LlAclk','uploadcare','uploadcare.uploader.sourceList','9598544XDsheu','36837060quLTgH','isPremiumPlugin','_createToolbarButton','map','assetManager','bind','uploadcareLicenseKeyValid','text','_getIntegrationKey','pluginName','has','_showLicenseError','entries','url','_createMenuBarButtons','forEach','reduce','4AjkAAh','commands','trialLimit','shortText','locale','isEnabled','editor','execute','afterInit','58915bGGiIg','UploadcareUI','Facebook','destroy','ImageInsertUI','Uploadcare','36949XUeZKy','186UJoKYN','uploadcareLicenseKeyUsageLimit','push','plugins','withText','_licenseKeyCheckInterval','isImageSelected','evaluationLimit','20022rRFvco','OneDrive','2796RrBGRA','config','uploadcareLicenseKeyEvaluationLimit','Insert','isOfficialPlugin','uploadcareLicenseKeyInvalid','GPhotos','licenseKey','uploadcareLicenseKeyNotAllowed','domainLimit','upload','init','uploadcareLicenseKeyDomainLimit','expired','get','featureNotAllowed','117bkAmSZ','registerIntegration','uploadcareLicenseKeyExpired','URL','invalid','_normalizeConfigSourceList','3192393EXSBUn','GDrive','Replace','_createDropdownButtons','usageLimit','tooltip','icon','Local','Dropbox','7AXkCnN','label','21LSiPtw','uploadcareLicenseKeyTrialLimit','_createButton','type'];_0x2b99=function(){return _0x20822c;};return _0x2b99();}const _0x5d3d57=_0x1a8f;(function(_0x6378e5,_0x28754f){const _0x4b51a7=_0x1a8f,_0x50374f=_0x6378e5();while(!![]){try{const _0x200e68=parseInt(_0x4b51a7(0xaa))/0x1*(parseInt(_0x4b51a7(0xdb))/0x2)+-parseInt(_0x4b51a7(0xf3))/0x3*(parseInt(_0x4b51a7(0xc3))/0x4)+-parseInt(_0x4b51a7(0xcc))/0x5*(-parseInt(_0x4b51a7(0xd3))/0x6)+-parseInt(_0x4b51a7(0xfc))/0x7*(parseInt(_0x4b51a7(0xb1))/0x8)+-parseInt(_0x4b51a7(0xed))/0x9*(parseInt(_0x4b51a7(0xae))/0xa)+parseInt(_0x4b51a7(0xd2))/0xb*(parseInt(_0x4b51a7(0xdd))/0xc)+parseInt(_0x4b51a7(0xb2))/0xd;if(_0x200e68===_0x28754f)break;else _0x50374f['push'](_0x50374f['shift']());}catch(_0x1a6a2c){_0x50374f['push'](_0x50374f['shift']());}}}(_0x2b99,0xb4dc5));import{Plugin as _0x1b6e47}from'ckeditor5/src/core.js';import{IconDropbox as _0x1d437e,IconFacebook as _0x5efb70,IconGoogleDrive as _0x469c87,IconGooglePhotos as _0x21da56,IconUploadcareImageUpload as _0x4ab804,IconUploadcareLink as _0x1ff59c,IconOneDrive as _0x3eb07a}from'ckeditor5/src/icons.js';import{ButtonView as _0x487aad,MenuBarMenuListItemButtonView as _0x4cfc49}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x41835d}from'./uploadcareconfig.js';import{getTranslation as _0x24a45e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x1a8f(_0x278a5b,_0x23cd52){const _0x2b9945=_0x2b99();return _0x1a8f=function(_0x1a8f2e,_0x2ed445){_0x1a8f2e=_0x1a8f2e-0xaa;let _0x110f40=_0x2b9945[_0x1a8f2e];return _0x110f40;},_0x1a8f(_0x278a5b,_0x23cd52);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1b6e47{[_0x5d3d57(0xe4)];[_0x5d3d57(0xd8)];static get[_0x5d3d57(0xbb)](){const _0x134430=_0x5d3d57;return _0x134430(0xcd);}static get[_0x5d3d57(0xe1)](){return!0x0;}static get[_0x5d3d57(0xb3)](){return!0x0;}[_0x5d3d57(0xe8)](){const _0x4f9f80=_0x5d3d57;this[_0x4f9f80(0xe4)]=this[_0x4f9f80(0xc9)][_0x4f9f80(0xde)][_0x4f9f80(0xeb)](_0x4f9f80(0xe4));const _0x8120e4=this[_0x4f9f80(0xc9)];this[_0x4f9f80(0xd8)]=setInterval(()=>{const _0x36ba5d=_0x4f9f80;let _0x9cb4f6;for(const _0xcfadd0 in _0x8120e4){const _0x4c2671=_0xcfadd0,_0x3a4219=_0x8120e4[_0x4c2671];if(_0x36ba5d(0xb8)==_0x3a4219||_0x36ba5d(0xe2)==_0x3a4219||_0x36ba5d(0xef)==_0x3a4219||_0x36ba5d(0xe9)==_0x3a4219||_0x36ba5d(0xe5)==_0x3a4219||_0x36ba5d(0xdf)==_0x3a4219||_0x36ba5d(0xab)==_0x3a4219||_0x36ba5d(0xd4)==_0x3a4219){delete _0x8120e4[_0x4c2671],_0x9cb4f6=_0x3a4219,clearInterval(this[_0x36ba5d(0xd8)]),this[_0x36ba5d(0xd8)]=void 0x0;break;}}_0x36ba5d(0xe2)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xf1)),_0x36ba5d(0xef)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xea)),_0x36ba5d(0xe9)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xe6)),_0x36ba5d(0xe5)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xec),_0x36ba5d(0xd1)),_0x36ba5d(0xdf)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xda)),_0x36ba5d(0xab)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xc5)),_0x36ba5d(0xd4)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xf7));},0x3e8);}[_0x5d3d57(0xcb)](){const _0x51c2b1=_0x5d3d57,{editor:_0x3283d9}=this,_0x52774d=_0x3283d9[_0x51c2b1(0xc4)][_0x51c2b1(0xeb)](_0x51c2b1(0xaf));if(!_0x52774d)return;const _0x420a4b=this[_0x51c2b1(0xf2)](_0x3283d9[_0x51c2b1(0xde)][_0x51c2b1(0xeb)](_0x51c2b1(0xb0)))[_0x51c2b1(0xc2)]((_0x1004a1,_0x51192f)=>{const _0x4d7d20=_0x51c2b1,_0x3dd8b6=this[_0x4d7d20(0xba)](_0x51192f[_0x4d7d20(0xad)]);return _0x1004a1[_0x3dd8b6]||(_0x1004a1[_0x3dd8b6]=[]),_0x1004a1[_0x3dd8b6][_0x4d7d20(0xd5)](_0x51192f),_0x1004a1;},{});_0x3283d9[_0x51c2b1(0xd6)][_0x51c2b1(0xbc)](_0x51c2b1(0xd0))&&_0x3283d9[_0x51c2b1(0xc4)][_0x51c2b1(0xeb)](_0x51c2b1(0xaf))&&Object[_0x51c2b1(0xbe)](_0x420a4b)[_0x51c2b1(0xc1)](([_0x3029a7,_0x38d09e])=>{const _0x5acbde=_0x51c2b1;_0x3283d9[_0x5acbde(0xd6)][_0x5acbde(0xeb)](_0x5acbde(0xd0))[_0x5acbde(0xee)]({'name':_0x3029a7,'observable':()=>_0x52774d,'buttonViewCreator':()=>this[_0x5acbde(0xb4)](_0x38d09e),'formViewCreator':()=>this[_0x5acbde(0xf6)](_0x38d09e),'menuBarButtonViewCreator':()=>this[_0x5acbde(0xc0)](_0x38d09e),'override':_0x5acbde(0xb6)!==_0x3029a7});});}[_0x5d3d57(0xcf)](){const _0x5d1379=_0x5d3d57;super[_0x5d1379(0xcf)](),this[_0x5d1379(0xd8)]&&clearInterval(this[_0x5d1379(0xd8)]);}[_0x5d3d57(0xf2)](_0x58d7d9){const _0x414512=_0x5d3d57,{locale:_0x5a7d05}=this[_0x414512(0xc9)];return _0x58d7d9[_0x414512(0xb5)](_0x522d3f=>{const _0x4230ac=_0x414512,_0x5199d5=_0x24a45e(_0x5a7d05,_0x522d3f,_0x4230ac(0xe0));switch(_0x522d3f){case _0x41835d[_0x4230ac(0xfa)]:return{'icon':_0x4ab804,'type':_0x41835d[_0x4230ac(0xfa)],..._0x5199d5};case _0x41835d[_0x4230ac(0xf0)]:return{'icon':_0x1ff59c,'type':_0x41835d[_0x4230ac(0xf0)],..._0x5199d5};case _0x41835d[_0x4230ac(0xfb)]:return{'icon':_0x1d437e,'type':_0x41835d[_0x4230ac(0xfb)],..._0x5199d5};case _0x41835d[_0x4230ac(0xce)]:return{'icon':_0x5efb70,'type':_0x41835d[_0x4230ac(0xce)],..._0x5199d5};case _0x41835d[_0x4230ac(0xf4)]:return{'icon':_0x469c87,'type':_0x41835d[_0x4230ac(0xf4)],..._0x5199d5};case _0x41835d[_0x4230ac(0xe3)]:return{'icon':_0x21da56,'type':_0x41835d[_0x4230ac(0xe3)],..._0x5199d5};case _0x41835d[_0x4230ac(0xdc)]:return{'icon':_0x3eb07a,'type':_0x41835d[_0x4230ac(0xdc)],..._0x5199d5};}});}[_0x5d3d57(0xba)](_0x565bd1){const _0x2c9eed=_0x5d3d57;switch(_0x565bd1){case _0x41835d[_0x2c9eed(0xfa)]:return _0x2c9eed(0xe7);case _0x41835d[_0x2c9eed(0xf0)]:return _0x2c9eed(0xbf);default:return _0x2c9eed(0xb6);}}[_0x5d3d57(0xac)](_0x2e32af,_0x5b40bb){const _0x4b47d6=_0x5d3d57,_0x7c1aa3=this[_0x4b47d6(0xc9)],_0xda97b0=new _0x2e32af(_0x7c1aa3[_0x4b47d6(0xc7)]),_0x1a03ca=_0x7c1aa3[_0x4b47d6(0xc4)][_0x4b47d6(0xeb)](_0x4b47d6(0xaf));return _0xda97b0[_0x4b47d6(0xb7)](_0x4b47d6(0xc8))['to'](_0x1a03ca),_0xda97b0['on'](_0x4b47d6(0xca),()=>{const _0x29519f=_0x4b47d6;_0x1a03ca[_0x29519f(0xca)](_0x5b40bb);}),_0xda97b0;}[_0x5d3d57(0xb4)](_0x317113){const _0x4b62a6=_0x5d3d57,{locale:_0xada459}=this[_0x4b62a6(0xc9)],_0x346eeb=this[_0x4b62a6(0xc9)][_0x4b62a6(0xd6)][_0x4b62a6(0xeb)](_0x4b62a6(0xd0)),_0x35a04d=_0x317113[0x0],_0x2bf00f=this[_0x4b62a6(0xac)](_0x487aad,_0x35a04d[_0x4b62a6(0xad)]);return _0x2bf00f[_0x4b62a6(0xf9)]=_0x35a04d[_0x4b62a6(0xf9)],_0x2bf00f[_0x4b62a6(0xb7)](_0x4b62a6(0xfd))['to'](_0x346eeb,_0x4b62a6(0xd9),_0x20a3e8=>_0x24a45e(_0xada459,_0x35a04d[_0x4b62a6(0xad)],_0x20a3e8?_0x4b62a6(0xf5):_0x4b62a6(0xe0))[_0x4b62a6(0xb9)]),_0x2bf00f[_0x4b62a6(0xf8)]=!0x0,_0x2bf00f;}[_0x5d3d57(0xf6)](_0xa9ec7){const _0x48f75e=_0x5d3d57,{locale:_0x5e908d}=this[_0x48f75e(0xc9)],_0x31027f=this[_0x48f75e(0xc9)][_0x48f75e(0xd6)][_0x48f75e(0xeb)](_0x48f75e(0xd0));return _0xa9ec7[_0x48f75e(0xb5)](_0x633f2=>{const _0xbfb006=_0x48f75e,_0x378c3c=this[_0xbfb006(0xac)](_0x487aad,_0x633f2[_0xbfb006(0xad)]);return _0x378c3c[_0xbfb006(0xd7)]=!0x0,_0x378c3c[_0xbfb006(0xf9)]=_0x633f2[_0xbfb006(0xf9)],_0x378c3c[_0xbfb006(0xb7)](_0xbfb006(0xfd))['to'](_0x31027f,_0xbfb006(0xd9),_0x468fcf=>_0x24a45e(_0x5e908d,_0x633f2[_0xbfb006(0xad)],_0x468fcf?_0xbfb006(0xf5):_0xbfb006(0xe0))[_0xbfb006(0xb9)]),_0x378c3c;});}[_0x5d3d57(0xc0)](_0x390c39){const _0x58edeb=_0x5d3d57;return _0x390c39[_0x58edeb(0xb5)](_0x525907=>{const _0x8c8697=_0x58edeb,_0x1030b1=this[_0x8c8697(0xac)](_0x4cfc49,_0x525907[_0x8c8697(0xad)]);return _0x1030b1[_0x8c8697(0xf9)]=_0x525907[_0x8c8697(0xf9)],_0x1030b1[_0x8c8697(0xfd)]=_0x525907[_0x8c8697(0xc6)],_0x1030b1;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4df9ac}from'ckeditor5/src/core.js';import{FileRepository as _0x52b057}from'ckeditor5/src/upload.js';import _0x59b4e2 from'./uploadcareediting.js';import _0x492442 from'./utils/uploadutils.js';import{getImageUrls as _0x5869a7}from'./utils/editingutils.js';export default class p extends _0x4df9ac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52b057,_0x59b4e2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x54b913=this['editor'];if(!!!_0x54b913['config']['get']('uploadcare'))return;_0x54b913['plugins']['get'](_0x52b057)['createUploadAdapter']=_0x5120e9=>new x(_0x5120e9,_0x54b913),_0x54b913['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x420500,{imageElement:_0x358e60,data:_0x3da7bd})=>{_0x54b913['model']['change'](_0x48282d=>{_0x48282d['setAttribute']('uploadcareImageId',_0x3da7bd['uploadcareImageId'],_0x358e60);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1b578a,_0x5145ab){this['loader']=_0x1b578a,this['editor']=_0x5145ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x880743=this['editor']['config']['get']('uploadcare.pubkey'),_0x48e4bb=await this['loader']['file'];return _0x492442['upload']({'file':_0x48e4bb,'publicKey':_0x880743,'signal':this['controller']['signal'],'onProgress':_0x2f0f62=>{_0x2f0f62&&_0x2f0f62['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2f0f62['value']);}})['then'](async _0x2a6cd3=>{const {imageFallbackUrl:_0x1b25e6,imageSources:_0x376d74}=_0x5869a7(_0x2a6cd3['cdnUrl'],_0x2a6cd3['imageInfo']['width']);return{'uploadcareImageId':_0x2a6cd3['uuid'],'default':_0x1b25e6,'sources':_0x376d74};})['catch'](()=>{const _0x297bf5=t('Cannot\x20upload\x20file:')+('\x20'+_0x48e4bb['name']+'.');return Promise['reject'](_0x297bf5);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x30dd6d}from'../uploadcareconfig.js';export function getTranslation(_0x2a3cb5,_0x4f9c25,_0x3ea0a1){const t=_0x2a3cb5['t'],_0x318657=_0x2a3cb5['t'];switch(_0x4f9c25){case _0x30dd6d['Local']:return{'text':_0x318657('Insert'===_0x3ea0a1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x318657('From\x20computer')};case _0x30dd6d['URL']:return{'text':'Insert'===_0x3ea0a1?_0x318657('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x318657('Via\x20URL')};case _0x30dd6d['Dropbox']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x30dd6d['Facebook']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x30dd6d['GDrive']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x30dd6d['GPhotos']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x30dd6d['OneDrive']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f9c25;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1ebfb1=_0x45fd;function _0x5044(){var _0x5c452c=['bindTemplate','createCollection','focusTracker','getFocusableElement','fire','9MjHCij','451489JgWCZm','10ZQktfo','559398VUOJsv','div','27750mGlFgA','8IXUDEq','6599923GmROyj','true','3pyDkWd','1276415XgDjzs','forwardCycle','815786CglBaN','focusCycler','156556Mmsauc'];_0x5044=function(){return _0x5c452c;};return _0x5044();}(function(_0x2a0692,_0x4489d9){var _0x44af42=_0x45fd,_0x49c3ef=_0x2a0692();while(!![]){try{var _0x5af21e=parseInt(_0x44af42(0x1f1))/0x1+-parseInt(_0x44af42(0x1e8))/0x2*(-parseInt(_0x44af42(0x1e5))/0x3)+parseInt(_0x44af42(0x1ea))/0x4*(parseInt(_0x44af42(0x1f2))/0x5)+parseInt(_0x44af42(0x1f3))/0x6+parseInt(_0x44af42(0x1e6))/0x7*(-parseInt(_0x44af42(0x1e2))/0x8)+parseInt(_0x44af42(0x1f0))/0x9*(-parseInt(_0x44af42(0x1e1))/0xa)+-parseInt(_0x44af42(0x1e3))/0xb;if(_0x5af21e===_0x4489d9)break;else _0x49c3ef['push'](_0x49c3ef['shift']());}catch(_0x27e0d1){_0x49c3ef['push'](_0x49c3ef['shift']());}}}(_0x5044,0x3c014));import{FocusTracker as _0x446983}from'ckeditor5/src/utils.js';function _0x45fd(_0x1b2f37,_0x10518f){var _0x504493=_0x5044();return _0x45fd=function(_0x45fd39,_0x3bdf8c){_0x45fd39=_0x45fd39-0x1e1;var _0x4c4511=_0x504493[_0x45fd39];return _0x4c4511;},_0x45fd(_0x1b2f37,_0x10518f);}import{View as _0x16603f,FocusCycler as _0x4f75be}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x16603f{[_0x1ebfb1(0x1ed)];[_0x1ebfb1(0x1e9)];constructor(_0x2d4092){var _0x27eb5e=_0x1ebfb1;super(_0x2d4092),this[_0x27eb5e(0x1ed)]=new _0x446983(),this[_0x27eb5e(0x1e9)]=new _0x4f75be({'focusables':this[_0x27eb5e(0x1ec)](),'focusTracker':this[_0x27eb5e(0x1ed)]});}[_0x1ebfb1(0x1ee)](){var _0x3e105c=_0x1ebfb1;return{'tag':_0x3e105c(0x1f4),'attributes':{'aria-hidden':_0x3e105c(0x1e4),'tabindex':'0'},'on':{'focus':this[_0x3e105c(0x1eb)]['to'](()=>{var _0x37f445=_0x3e105c;this[_0x37f445(0x1e9)][_0x37f445(0x1ef)](_0x37f445(0x1e7));})}};}}
|