@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.1 → 45.0.0-alpha.11
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/be.js +1 -1
- package/dist/translations/be.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 _0x5d38(){const _0x252782=['uploadcare','commands','config','add','cleanupImage','render','25744266pfDOsh','data-uc-image-id','remove','fromCharCode','downcast','listenTo','isRegistered','uploadcare.uploader','input[uploadcare-file-input]','closeMax','_initImageProcessingIndicator','PictureEditing','_initConversion','224CdQMsV','body','1869984gpEzYI','imageBlock','79177Fgijmg','UploadcareEditing','_initSchema','imageInline','schema','model','60qqutCd','get','init','appendChild','configElement','isPremiumPlugin','removeAttribute','_configElement','uc-upload-ctx-provider','selection','uc-config','extend','uploadcare.pubkey','iconHrefResolver','replaceImageSource','map','isOfficialPlugin','view','272387cyTZUw','true','upcast','requires','document','#uc-icon-arrow-down','uploadcareImageReplace','\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','destroy','execute','uploader','afterInit','getSelectedElement','editing','6301392tUqHgu','_initCtx','locale','_initConfig','conversion','269884xWpOcE','uploadcareImageId','attributeToAttribute','ctxElement','pluginName','join','once','contentLanguage','querySelector','editor','elementToAttribute','_ctxElement','insertImage','for','getAttribute','href','1718872HVGKyy'];_0x5d38=function(){return _0x252782;};return _0x5d38();}const _0x44ddc7=_0x1987;(function(_0x24aef7,_0x140d86){const _0x1fe471=_0x1987,_0xcb2a03=_0x24aef7();while(!![]){try{const _0x3e12ae=-parseInt(_0x1fe471(0xa3))/0x1+parseInt(_0x1fe471(0xc6))/0x2+parseInt(_0x1fe471(0x89))/0x3+-parseInt(_0x1fe471(0xb6))/0x4*(-parseInt(_0x1fe471(0x91))/0x5)+parseInt(_0x1fe471(0xb1))/0x6+-parseInt(_0x1fe471(0x8b))/0x7*(-parseInt(_0x1fe471(0x87))/0x8)+-parseInt(_0x1fe471(0xcd))/0x9;if(_0x3e12ae===_0x140d86)break;else _0xcb2a03['push'](_0xcb2a03['shift']());}catch(_0xd7236d){_0xcb2a03['push'](_0xcb2a03['shift']());}}}(_0x5d38,0x8089f));function _0x1987(_0x1aad04,_0x3bbd44){const _0x5d38ba=_0x5d38();return _0x1987=function(_0x19875f,_0x35411f){_0x19875f=_0x19875f-0x7b;let _0x5dc2c7=_0x5d38ba[_0x19875f];return _0x5dc2c7;},_0x1987(_0x1aad04,_0x3bbd44);}import{Plugin as _0x4c10e3}from'ckeditor5/src/core.js';import{Dialog as _0x183cda}from'ckeditor5/src/ui.js';import{createElement as _0x22ea2b,global as _0x35a9b3,uid as _0x4834b4}from'ckeditor5/src/utils.js';import _0x1c413 from'./uploadcarecommand.js';import _0x455f42 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23c86e}from'./utils/editingutils.js';export default class i extends _0x4c10e3{[_0x44ddc7(0x98)]=null;[_0x44ddc7(0xc1)]=null;static get[_0x44ddc7(0xba)](){const _0x1f4d40=_0x44ddc7;return _0x1f4d40(0x8c);}static get[_0x44ddc7(0xa6)](){const _0x2696cf=_0x44ddc7;return[_0x2696cf(0x85),_0x455f42,_0x183cda];}static get[_0x44ddc7(0xa1)](){return!0x0;}static get[_0x44ddc7(0x96)](){return!0x0;}get[_0x44ddc7(0x95)](){const _0x90efac=_0x44ddc7;return this[_0x90efac(0x98)];}get[_0x44ddc7(0xb9)](){const _0x490cc0=_0x44ddc7;return this[_0x490cc0(0xc1)];}[_0x44ddc7(0x93)](){const _0x29c7a2=_0x44ddc7,_0x3c6f02=this[_0x29c7a2(0xbf)];_0x3c6f02[_0x29c7a2(0xc8)][_0x29c7a2(0xca)](_0x29c7a2(0xc7),new _0x1c413(_0x3c6f02));}[_0x44ddc7(0xae)](){const _0x58b35c=_0x44ddc7;this[_0x58b35c(0x8d)](),this[_0x58b35c(0x86)](),this[_0x58b35c(0xb4)](),this[_0x58b35c(0xb2)](),this[_0x58b35c(0x84)](),this[_0x58b35c(0x7f)](this[_0x58b35c(0xbf)],_0x58b35c(0xab),()=>{const _0x58e767=_0x58b35c;this[_0x58e767(0x98)]&&(this[_0x58e767(0x98)][_0x58e767(0x7c)](),this[_0x58e767(0x98)]=null),this[_0x58e767(0xc1)]&&(this[_0x58e767(0xc1)][_0x58e767(0x7c)](),this[_0x58e767(0xc1)]=null);const _0x52b001=_0x35a9b3[_0x58e767(0xa7)][_0x58e767(0xbe)](_0x58e767(0x82));_0x52b001&&_0x52b001[_0x58e767(0x7c)]();}),async function(_0x359289){const _0x2138b8=_0x38f610([0x68,0x6f,0x75,0x63,0x35,0x32,0x44,0x66,0x76,0x51,0x4e,0x58,0x55,0x62,0x65,0x4c,0x43,0x61,0x7a,0x72,0x73,0x69,0x4b,0x6c,0x49,0x56,0x6d,0x45,0x48,0x6e,0x53,0x41,0x4a,0x6b,0x47,0x67,0x33,0x54,0x78,0x36,0x30,0x5a,0x70,0x42,0x4f,0x38,0x37,0x34,0x74,0x46,0x64,0x4d,0x52,0x79,0x50,0x57,0x31,0x71,0x77,0x6a,0x39,0x59]),_0x4d0a0e=0x619ff3c8,_0x508cf7=0x61989098^_0x4d0a0e,_0x3df227=window[_0x38f610([0x44,0x61,0x74,0x65])][_0x38f610([0x6e,0x6f,0x77])](),_0x5e35ba=_0x359289[_0x38f610([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46f717=new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cfa9b=>{_0x5e35ba[_0x38f610([0x6f,0x6e,0x63,0x65])](_0x38f610([0x72,0x65,0x61,0x64,0x79]),_0x1cfa9b);}),_0x573847={[_0x38f610([0x6b,0x74,0x79])]:_0x38f610([0x45,0x43]),[_0x38f610([0x75,0x73,0x65])]:_0x38f610([0x73,0x69,0x67]),[_0x38f610([0x63,0x72,0x76])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36]),[_0x38f610([0x78])]:_0x38f610([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]),[_0x38f610([0x79])]:_0x38f610([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]),[_0x38f610([0x61,0x6c,0x67])]:_0x38f610([0x45,0x53,0x32,0x35,0x36])},_0x3bc7fe=_0x5e35ba[_0x38f610([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38f610([0x67,0x65,0x74])](_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x383770(){let _0x2b1777,_0x4f8d2c=null,_0x120b94=null;try{if(_0x3bc7fe==_0x38f610([0x47,0x50,0x4c]))return _0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b1777=_0x4832a4(),!_0x2b1777)return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x120b94=_0x344778(_0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b1777[_0x38f610([0x6a,0x74,0x69])])),await _0xc99bef()?_0x28caef()?_0x5c11f5()?_0x38f610([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39c443()?(_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x575735()):_0x38f610([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59fd4f){return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c11f5(){const _0x37109f=[_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38f610([0x74,0x72,0x69,0x61,0x6c])][_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3df227/0x3e8:0xe10*_0x508cf7;return _0x2b1777[_0x38f610([0x65,0x78,0x70])]<_0x37109f;}function _0x28caef(){const _0x665e66=_0x2b1777[_0x38f610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x665e66&&(!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a]))||!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x55,0x50,0x4c,0x43])));}function _0x39c443(){const _0x4509f2=_0x1987,_0x5308c8=_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5308c8||0x0==_0x5308c8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34dcb5}=new URL(window[_0x38f610([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4509f2(0xc5)]);if(_0x5308c8[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dcb5))return!0x0;const _0x2eb3e3=_0x34dcb5[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));return _0x5308c8[_0x38f610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e8b8d=>_0x3e8b8d[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a])))[_0x38f610([0x6d,0x61,0x70])](_0x1b4c4d=>_0x1b4c4d[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])))[_0x38f610([0x73,0x6f,0x6d,0x65])](_0x9ca9d7=>_0x2eb3e3[_0x38f610([0x65,0x76,0x65,0x72,0x79])]((_0x27a503,_0x259b74)=>_0x9ca9d7[_0x259b74]===_0x27a503||_0x9ca9d7[_0x259b74]===_0x38f610([0x2a])));}function _0x575735(){return _0x4f8d2c&&_0x120b94?new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f585a,_0x413ac4)=>{_0x4f8d2c[_0x38f610([0x74,0x68,0x65,0x6e])](_0x2f585a,_0x413ac4),_0x120b94[_0x38f610([0x74,0x68,0x65,0x6e])](_0x50c73c=>{_0x50c73c!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x2f585a(_0x50c73c);},_0x413ac4);}):_0x4f8d2c||_0x120b94||_0x38f610([0x56,0x61,0x6c,0x69,0x64]);}}function _0x344778(_0x427a5b,_0x45392b){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8d49=>{if(_0x478ba2())return _0x5e8d49(_0x38f610([0x56,0x61,0x6c,0x69,0x64]));_0x3f04f1(),_0x5e35ba[_0x38f610([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37f7c5=!0x1;const _0x49770f=_0x4834b4();function _0x480eca(_0x29eb93){return!!_0x29eb93&&(typeof _0x29eb93===_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29eb93===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29eb93[_0x38f610([0x74,0x68,0x65,0x6e])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29eb93[_0x38f610([0x63,0x61,0x74,0x63,0x68])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e4770(_0x224d06){_0x4a60fa(_0x224d06)[_0x38f610([0x74,0x68,0x65,0x6e])](_0x10149f=>{if(!_0x10149f||_0x10149f[_0x38f610([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38f610([0x6f,0x6b]))return _0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11882f(_0x3cf28a(_0x49770f+_0x45392b))!=_0x10149f[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0xb45559=>(_0x38d613(),_0xb45559),()=>{const _0x3fc7ae=_0x11728b();return null==_0x3fc7ae?(_0x38d613(),_0x38f610([0x56,0x61,0x6c,0x69,0x64])):_0x38f610(_0x3df227-_0x3fc7ae>(0x459377c8^_0x4d0a0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0x5e8d49)[_0x38f610([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44c978=0x61a91d48^_0x4d0a0e;function _0x38d613(){const _0x27cbb1=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x55128=_0x22f029(_0x11882f(window[_0x38f610([0x4d,0x61,0x74,0x68])][_0x38f610([0x63,0x65,0x69,0x6c])](_0x3df227/_0x44c978)));window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27cbb1,_0x55128);}function _0x11728b(){const _0x21bcb8=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x1a83dc=window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21bcb8);return _0x1a83dc?window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f029(_0x1a83dc),0x10)*_0x44c978:null;}function _0x4a60fa(_0x47a9b8){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c55d3,_0x3380c1)=>{_0x47a9b8[_0x38f610([0x74,0x68,0x65,0x6e])](_0x4c55d3,_0x3380c1),window[_0x38f610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3380c1,0x619e2708^_0x4d0a0e);});}}_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x93b8a8,_0x101bc8)=>{if(_0x101bc8[0x0]!=_0x427a5b)return _0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x101bc8[0x1]={..._0x101bc8[0x1],[_0x38f610([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49770f};},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x68,0x69,0x67,0x68])}),_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbbd6bb=>{_0x480eca(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37f7c5=!0x0,_0x4e4770(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x6c,0x6f,0x77])}),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>{_0x37f7c5||_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x478ba2(){return _0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38f610([0x61,0x75,0x74,0x6f]);}function _0x3f04f1(){_0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38f610([0x61,0x75,0x74,0x6f]);}}function _0x380ba6(_0x420922){const _0x29d104=[new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8187=>setTimeout(_0x1c8187,0x6196cd04^_0x4d0a0e)),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208ca3=>{let _0x40cb2a=0x0;_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x6f,0x6e])](_0x38f610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2054d0,_0xca8f18)=>{_0xca8f18[0x0][_0x38f610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40cb2a++,_0x40cb2a==(0x619ff230^_0x4d0a0e)&&(_0x208ca3(),_0x2054d0[_0x38f610([0x6f,0x66,0x66])]());});}))];return window[_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38f610([0x72,0x61,0x63,0x65])](_0x29d104)[_0x38f610([0x74,0x68,0x65,0x6e])](()=>_0x420922);}async function _0x3514e4(){await _0x46f717,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38f610([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4aef16(_0x1334a6){const _0x3a51e3=_0x2dd4ce();_0x5e35ba[_0x3a51e3]=_0x38f610([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1334a6,_0x1334a6!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x3514e4();}function _0x2dd4ce(){const _0x1a1726=window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38f610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38f610([0x6e,0x6f,0x77])]())[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38f610([0x2e]),'');let _0x1611e4=_0x38f610([0x68]);for(let _0x30bc64=0x0;_0x30bc64<_0x1a1726[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30bc64+=0x2){let _0x3299c4=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1726[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30bc64,_0x30bc64+0x2));_0x3299c4>=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3299c4-=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1611e4+=_0x2138b8[_0x3299c4];}return _0x1611e4;}function _0x4832a4(){const _0x297c23=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));if(0x3!=_0x297c23[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36c718(_0x297c23[0x1]);function _0x36c718(_0xe7c600){const _0x2fd007=_0x1c84fa(_0xe7c600);return _0x2fd007&&_0x10ffe8()?_0x2fd007:null;function _0x10ffe8(){const _0x201b9a=_0x2fd007[_0x38f610([0x6a,0x74,0x69])],_0x26f304=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160a8f={..._0x2fd007,[_0x38f610([0x6a,0x74,0x69])]:_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160a8f[_0x38f610([0x76,0x63])],_0x3cf28a(_0x160a8f)==_0x26f304;}}}async function _0xc99bef(){let _0x173faf=!0x0;try{const _0x4cb412=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])),[_0x3aa549,_0x486192,_0x3cb206]=_0x4cb412;return _0x1f055e(_0x3aa549),await _0x4a99b2(_0x3aa549,_0x486192,_0x3cb206),_0x173faf;}catch(_0x1df8f7){return!0x1;}function _0x1f055e(_0x2518d0){const _0x2f275e=_0x1c84fa(_0x2518d0);_0x2f275e&&_0x2f275e[_0x38f610([0x61,0x6c,0x67])]==_0x38f610([0x45,0x53,0x32,0x35,0x36])||(_0x173faf=!0x1);}async function _0x4a99b2(_0x20be0e,_0x46d371,_0x1d029b){const _0x3d9a13=window[_0x38f610([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38f610([0x66,0x72,0x6f,0x6d])](_0xee9f54(_0x1d029b),_0x317346=>_0x317346[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c76c6=new window[(_0x38f610([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38f610([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20be0e+_0x38f610([0x2e])+_0x46d371),_0x5bf7da=window[_0x38f610([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38f610([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bf7da)return;const _0x2e12e9=await _0x5bf7da[_0x38f610([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38f610([0x6a,0x77,0x6b]),_0x573847,{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bf7da[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x68,0x61,0x73,0x68])]:{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e12e9,_0x3d9a13,_0x4c76c6)||(_0x173faf=!0x1);}}function _0x1c84fa(_0x2dba30){return _0x2dba30[_0x38f610([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38f610([0x65,0x79]))?JSON[_0x38f610([0x70,0x61,0x72,0x73,0x65])](_0xee9f54(_0x2dba30)):null;}function _0xee9f54(_0xe30dad){return window[_0x38f610([0x61,0x74,0x6f,0x62])](_0xe30dad[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38f610([0x2b]))[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38f610([0x2f])));}function _0x3cf28a(_0x531609){let _0xfabfd9=0x1505;function _0x52853a(_0x236cf8){for(let _0xd20603=0x0;_0xd20603<_0x236cf8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd20603++){const _0x4a2c78=_0x236cf8[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd20603);_0xfabfd9=(_0xfabfd9<<0x5)+_0xfabfd9+_0x4a2c78,_0xfabfd9&=_0xfabfd9;}}function _0x719342(_0x48c08e){Array[_0x38f610([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48c08e)?_0x48c08e[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x719342):_0x48c08e&&typeof _0x48c08e==_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38f610([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48c08e)[_0x38f610([0x73,0x6f,0x72,0x74])]()[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d697a,_0x42c560])=>{_0x52853a(_0x2d697a),_0x719342(_0x42c560);}):_0x52853a(window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48c08e));}return _0x719342(_0x531609),_0xfabfd9>>>0x0;}function _0x11882f(_0x1008f0){return _0x1008f0[_0x38f610([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38f610([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38f610([0x30]));}function _0x22f029(_0x10f2fa){return _0x10f2fa[_0x38f610([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38f610([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38f610([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ee120(){}function _0x38f610(_0x1ebd6b){const _0xdce773=_0x1987;return _0x1ebd6b[_0xdce773(0xa0)](_0x473eaf=>String[_0xdce773(0x7d)](_0x473eaf))[_0xdce773(0xbb)]('');}_0x4aef16(await _0x383770());}(this);}[_0x44ddc7(0x8d)](){const _0x439e19=_0x44ddc7,_0x4ec2b7=this[_0x439e19(0xbf)][_0x439e19(0x90)][_0x439e19(0x8f)];_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8a))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8a),{'allowAttributes':[_0x439e19(0xb7)]}),_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8e))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8e),{'allowAttributes':[_0x439e19(0xb7)]});}[_0x44ddc7(0x86)](){const _0x314073=_0x44ddc7,_0x5b3572=this[_0x314073(0xbf)];_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0x7e))[_0x314073(0xb8)]({'model':_0x314073(0xb7),'view':_0x314073(0x7b)}),_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0xa5))[_0x314073(0xc0)]({'model':{'key':_0x314073(0xb7),'value':_0x2165f1=>_0x2165f1[_0x314073(0xc4)](_0x314073(0x7b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x72663b=_0x5b3572[_0x314073(0xc8)][_0x314073(0x92)](_0x314073(0x9f));_0x72663b&&this[_0x314073(0x7f)](_0x72663b,_0x314073(0xcb),(_0x824f83,[_0x59044c,_0x37c2af])=>{const _0x756ce5=_0x314073;_0x59044c[_0x756ce5(0x97)](_0x756ce5(0xb7),_0x37c2af);});}[_0x44ddc7(0xb4)](){const _0x17e8ad=_0x44ddc7,_0x4d0d8f=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x81))||{},_0x6da933=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x9d))||'';this[_0x17e8ad(0x98)]=_0x22ea2b(_0x35a9b3[_0x17e8ad(0xa7)],_0x17e8ad(0x9b),{..._0x4d0d8f,'pubkey':_0x6da933,'ctx-name':_0x17e8ad(0xad),'sourceList':'','imgOnly':_0x17e8ad(0xa4),'removeCopyright':_0x17e8ad(0xa4),'localeName':this[_0x17e8ad(0xbf)][_0x17e8ad(0xb3)][_0x17e8ad(0xbd)],'externalSourcesEmbedCss':_0x17e8ad(0xaa)}),this[_0x17e8ad(0x98)][_0x17e8ad(0x9e)]=_0x5ec1e3=>{const _0x36f110=_0x17e8ad;if(_0x36f110(0x83)==_0x5ec1e3)return _0x36f110(0xa8);},_0x35a9b3[_0x17e8ad(0xa7)][_0x17e8ad(0x88)][_0x17e8ad(0x94)](this[_0x17e8ad(0x98)]);}[_0x44ddc7(0xb2)](){const _0x532dd0=_0x44ddc7;this[_0x532dd0(0xc1)]=_0x22ea2b(_0x35a9b3[_0x532dd0(0xa7)],_0x532dd0(0x99),{'ctx-name':_0x532dd0(0xad)}),_0x35a9b3[_0x532dd0(0xa7)][_0x532dd0(0x88)][_0x532dd0(0x94)](this[_0x532dd0(0xc1)]);}[_0x44ddc7(0x84)](){const _0x5665e9=_0x44ddc7,_0x22a764=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xc2));_0x22a764&&this[_0x5665e9(0x7f)](_0x22a764,_0x5665e9(0xac),()=>{const _0x2b8b19=_0x5665e9,_0x512902=this[_0x2b8b19(0xbf)][_0x2b8b19(0x90)][_0x2b8b19(0xa7)][_0x2b8b19(0x9a)][_0x2b8b19(0xaf)]();_0x512902&&_0x512902[_0x2b8b19(0xc4)](_0x2b8b19(0xb7))&&this[_0x2b8b19(0xbf)][_0x2b8b19(0xb0)][_0x2b8b19(0xa2)][_0x2b8b19(0xbc)](_0x2b8b19(0xcc),()=>{const _0x2b5904=_0x2b8b19;_0x23c86e(this[_0x2b5904(0xbf)],_0x512902);});});const _0x561fa9=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xa9));_0x561fa9&&this[_0x5665e9(0x7f)](_0x561fa9,_0x5665e9(0xac),()=>{const _0x3a2fe9=_0x5665e9,_0x1157f8=this[_0x3a2fe9(0xbf)][_0x3a2fe9(0x90)][_0x3a2fe9(0xa7)][_0x3a2fe9(0x9a)][_0x3a2fe9(0xaf)]();_0x1157f8&&_0x1157f8[_0x3a2fe9(0xc4)](_0x3a2fe9(0xb7))&&this[_0x3a2fe9(0xbf)][_0x3a2fe9(0xb0)][_0x3a2fe9(0xa2)][_0x3a2fe9(0xbc)](_0x3a2fe9(0xcc),()=>{const _0xfe23b3=_0x3a2fe9;_0x23c86e(this[_0xfe23b3(0xbf)],_0x1157f8);});});}}
|
|
23
|
+
const _0x410956=_0x2231;(function(_0x2e6d67,_0x25f221){const _0x4f8d40=_0x2231,_0x4f313c=_0x2e6d67();while(!![]){try{const _0x251c18=parseInt(_0x4f8d40(0x1aa))/0x1*(parseInt(_0x4f8d40(0x17a))/0x2)+parseInt(_0x4f8d40(0x1a9))/0x3*(parseInt(_0x4f8d40(0x1af))/0x4)+-parseInt(_0x4f8d40(0x1a7))/0x5*(-parseInt(_0x4f8d40(0x184))/0x6)+parseInt(_0x4f8d40(0x176))/0x7+-parseInt(_0x4f8d40(0x199))/0x8*(parseInt(_0x4f8d40(0x1b3))/0x9)+parseInt(_0x4f8d40(0x1a5))/0xa+-parseInt(_0x4f8d40(0x162))/0xb;if(_0x251c18===_0x25f221)break;else _0x4f313c['push'](_0x4f313c['shift']());}catch(_0x43be9b){_0x4f313c['push'](_0x4f313c['shift']());}}}(_0x1c53,0xaadfc));function _0x1c53(){const _0x461bff=['editor','requires','\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','1690102OTwDYV','isRegistered','once','getSelectedElement','uc-upload-ctx-provider','upcast','conversion','add','contentLanguage','document','6CbIzKA','downcast','uploadcare','configElement','#uc-icon-arrow-down','view','listenTo','map','uploadcareImageId','uploadcare.uploader','PictureEditing','attributeToAttribute','href','cleanupImage','pluginName','get','_ctxElement','imageBlock','selection','input[uploadcare-file-input]','commands','16xdmYNh','removeAttribute','getAttribute','for','model','render','locale','insertImage','editing','afterInit','extend','querySelector','9401150tkvaHw','_initCtx','4613610UNtafx','elementToAttribute','366chpUyX','1MttbhN','appendChild','schema','_initConfig','imageInline','28076lQVkNs','closeMax','uc-config','uploadcare.pubkey','3265659DuMMpt','config','execute','fromCharCode','32420300JLuprp','uploader','ctxElement','UploadcareEditing','destroy','iconHrefResolver','isPremiumPlugin','true','_initImageProcessingIndicator','uploadcareImageReplace','replaceImageSource','remove','isOfficialPlugin','_initSchema','data-uc-image-id','init','body','_configElement','join','_initConversion','5660872TWSZTT'];_0x1c53=function(){return _0x461bff;};return _0x1c53();}import{Plugin as _0x2c5f6b}from'ckeditor5/src/core.js';import{Dialog as _0x197835}from'ckeditor5/src/ui.js';function _0x2231(_0x1819d4,_0x4fe9d6){const _0x1c53cc=_0x1c53();return _0x2231=function(_0x2231a4,_0xd2cc8f){_0x2231a4=_0x2231a4-0x162;let _0x3af7bd=_0x1c53cc[_0x2231a4];return _0x3af7bd;},_0x2231(_0x1819d4,_0x4fe9d6);}import{createElement as _0x138ba3,global as _0x399f84,uid as _0x107751}from'ckeditor5/src/utils.js';import _0x3a598e from'./uploadcarecommand.js';import _0x156673 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x44675a}from'./utils/editingutils.js';export default class i extends _0x2c5f6b{[_0x410956(0x173)]=null;[_0x410956(0x194)]=null;static get[_0x410956(0x192)](){const _0x3ead64=_0x410956;return _0x3ead64(0x165);}static get[_0x410956(0x178)](){const _0xdef61=_0x410956;return[_0xdef61(0x18e),_0x156673,_0x197835];}static get[_0x410956(0x16e)](){return!0x0;}static get[_0x410956(0x168)](){return!0x0;}get[_0x410956(0x187)](){const _0x559c3f=_0x410956;return this[_0x559c3f(0x173)];}get[_0x410956(0x164)](){const _0x463b87=_0x410956;return this[_0x463b87(0x194)];}[_0x410956(0x171)](){const _0x4e9fcd=_0x410956,_0x173705=this[_0x4e9fcd(0x177)];_0x173705[_0x4e9fcd(0x198)][_0x4e9fcd(0x181)](_0x4e9fcd(0x186),new _0x3a598e(_0x173705));}[_0x410956(0x1a2)](){const _0x17852e=_0x410956;this[_0x17852e(0x16f)](),this[_0x17852e(0x175)](),this[_0x17852e(0x1ad)](),this[_0x17852e(0x1a6)](),this[_0x17852e(0x16a)](),this[_0x17852e(0x18a)](this[_0x17852e(0x177)],_0x17852e(0x166),()=>{const _0x2d7978=_0x17852e;this[_0x2d7978(0x173)]&&(this[_0x2d7978(0x173)][_0x2d7978(0x16d)](),this[_0x2d7978(0x173)]=null),this[_0x2d7978(0x194)]&&(this[_0x2d7978(0x194)][_0x2d7978(0x16d)](),this[_0x2d7978(0x194)]=null);const _0x1bf92f=_0x399f84[_0x2d7978(0x183)][_0x2d7978(0x1a4)](_0x2d7978(0x197));_0x1bf92f&&_0x1bf92f[_0x2d7978(0x16d)]();}),async function(_0x13d02f){const _0x10d51c=_0x494d93([0x65,0x31,0x6d,0x43,0x70,0x4f,0x48,0x6a,0x64,0x6e,0x6f,0x51,0x44,0x6b,0x46,0x56,0x74,0x4a,0x58,0x69,0x75,0x68,0x76,0x52,0x61,0x38,0x37,0x34,0x47,0x55,0x35,0x67,0x78,0x71,0x49,0x66,0x5a,0x4c,0x63,0x50,0x73,0x7a,0x41,0x62,0x30,0x42,0x53,0x57,0x4b,0x54,0x36,0x6c,0x32,0x59,0x4d,0x4e,0x45,0x77,0x72,0x33,0x39,0x79]),_0x2f9f5b=0x79a48d67,_0x46ad56=0x79a3e927^_0x2f9f5b,_0x5738ef=window[_0x494d93([0x44,0x61,0x74,0x65])][_0x494d93([0x6e,0x6f,0x77])](),_0x13c0ae=_0x13d02f[_0x494d93([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25339c=new window[(_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d661=>{_0x13c0ae[_0x494d93([0x6f,0x6e,0x63,0x65])](_0x494d93([0x72,0x65,0x61,0x64,0x79]),_0x40d661);}),_0x2834f3={[_0x494d93([0x6b,0x74,0x79])]:_0x494d93([0x45,0x43]),[_0x494d93([0x75,0x73,0x65])]:_0x494d93([0x73,0x69,0x67]),[_0x494d93([0x63,0x72,0x76])]:_0x494d93([0x50,0x2d,0x32,0x35,0x36]),[_0x494d93([0x78])]:_0x494d93([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]),[_0x494d93([0x79])]:_0x494d93([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]),[_0x494d93([0x61,0x6c,0x67])]:_0x494d93([0x45,0x53,0x32,0x35,0x36])},_0x33ad36=_0x13c0ae[_0x494d93([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x494d93([0x67,0x65,0x74])](_0x494d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b3d32(){let _0x36a10d,_0x290245=null,_0x38a048=null;try{if(_0x33ad36==_0x494d93([0x47,0x50,0x4c]))return _0x494d93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36a10d=_0x1c1e78(),!_0x36a10d)return _0x494d93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36a10d[_0x494d93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38a048=_0x57971d(_0x36a10d[_0x494d93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36a10d[_0x494d93([0x6a,0x74,0x69])])),await _0x32ab5a()?_0xa68833()?_0x34362c()?_0x494d93([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58f4de()?(_0x36a10d[_0x494d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494d93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x290245=_0x5cbc92(_0x494d93([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36a10d[_0x494d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494d93([0x74,0x72,0x69,0x61,0x6c])&&(_0x290245=_0x5cbc92(_0x494d93([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31c665()):_0x494d93([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x494d93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x494d93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3cf867){return _0x494d93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34362c(){const _0xaa48e8=[_0x494d93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x494d93([0x74,0x72,0x69,0x61,0x6c])][_0x494d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a10d[_0x494d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5738ef/0x3e8:0xe10*_0x46ad56;return _0x36a10d[_0x494d93([0x65,0x78,0x70])]<_0xaa48e8;}function _0xa68833(){const _0x457ab6=_0x36a10d[_0x494d93([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x457ab6&&(!!_0x457ab6[_0x494d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494d93([0x2a]))||!!_0x457ab6[_0x494d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494d93([0x55,0x50,0x4c,0x43])));}function _0x58f4de(){const _0x5eca1c=_0x2231,_0x408620=_0x36a10d[_0x494d93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x408620||0x0==_0x408620[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30f619}=new URL(window[_0x494d93([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5eca1c(0x190)]);if(_0x408620[_0x494d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f619))return!0x0;const _0xb5580c=_0x30f619[_0x494d93([0x73,0x70,0x6c,0x69,0x74])](_0x494d93([0x2e]));return _0x408620[_0x494d93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x90f842=>_0x90f842[_0x494d93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494d93([0x2a])))[_0x494d93([0x6d,0x61,0x70])](_0x2898da=>_0x2898da[_0x494d93([0x73,0x70,0x6c,0x69,0x74])](_0x494d93([0x2e])))[_0x494d93([0x73,0x6f,0x6d,0x65])](_0x361c8a=>_0xb5580c[_0x494d93([0x65,0x76,0x65,0x72,0x79])]((_0x4500b6,_0x17c88c)=>_0x361c8a[_0x17c88c]===_0x4500b6||_0x361c8a[_0x17c88c]===_0x494d93([0x2a])));}function _0x31c665(){return _0x290245&&_0x38a048?new window[(_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x715b9e,_0x355056)=>{_0x290245[_0x494d93([0x74,0x68,0x65,0x6e])](_0x715b9e,_0x355056),_0x38a048[_0x494d93([0x74,0x68,0x65,0x6e])](_0x9ad4c0=>{_0x9ad4c0!=_0x494d93([0x56,0x61,0x6c,0x69,0x64])&&_0x715b9e(_0x9ad4c0);},_0x355056);}):_0x290245||_0x38a048||_0x494d93([0x56,0x61,0x6c,0x69,0x64]);}}function _0x57971d(_0x29f3f2,_0x45bd4f){return new window[(_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216766=>{if(_0x1f8d60())return _0x216766(_0x494d93([0x56,0x61,0x6c,0x69,0x64]));_0x42c644(),_0x13c0ae[_0x494d93([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x494d93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x195485=!0x1;const _0x49d441=_0x107751();function _0x20e11a(_0x2ae0b3){return!!_0x2ae0b3&&(typeof _0x2ae0b3===_0x494d93([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ae0b3===_0x494d93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ae0b3[_0x494d93([0x74,0x68,0x65,0x6e])]===_0x494d93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ae0b3[_0x494d93([0x63,0x61,0x74,0x63,0x68])]===_0x494d93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x494f16(_0x3eb2d0){_0x3c7529(_0x3eb2d0)[_0x494d93([0x74,0x68,0x65,0x6e])](_0x48ff04=>{if(!_0x48ff04||_0x48ff04[_0x494d93([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x494d93([0x6f,0x6b]))return _0x494d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ae0df(_0x55a3bf(_0x49d441+_0x45bd4f))!=_0x48ff04[_0x494d93([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x494d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x494d93([0x56,0x61,0x6c,0x69,0x64]);})[_0x494d93([0x74,0x68,0x65,0x6e])](_0x2f4279=>(_0x17b66c(),_0x2f4279),()=>{const _0x4ed996=_0x15bdaa();return null==_0x4ed996?(_0x17b66c(),_0x494d93([0x56,0x61,0x6c,0x69,0x64])):_0x494d93(_0x5738ef-_0x4ed996>(0x5da80967^_0x2f9f5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x494d93([0x74,0x68,0x65,0x6e])](_0x216766)[_0x494d93([0x63,0x61,0x74,0x63,0x68])](()=>{_0x216766(_0x494d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48e4ed=0x799263e7^_0x2f9f5b;function _0x17b66c(){const _0x3ac1a7=_0x494d93([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae0df(_0x55a3bf(_0x29f3f2)),_0x1c14bf=_0xe48d29(_0x5ae0df(window[_0x494d93([0x4d,0x61,0x74,0x68])][_0x494d93([0x63,0x65,0x69,0x6c])](_0x5738ef/_0x48e4ed)));window[_0x494d93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494d93([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ac1a7,_0x1c14bf);}function _0x15bdaa(){const _0x3e15a5=_0x494d93([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae0df(_0x55a3bf(_0x29f3f2)),_0x1c6d6e=window[_0x494d93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494d93([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e15a5);return _0x1c6d6e?window[_0x494d93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe48d29(_0x1c6d6e),0x10)*_0x48e4ed:null;}function _0x3c7529(_0xd4c36e){return new window[(_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35c7ae,_0x532b6a)=>{_0xd4c36e[_0x494d93([0x74,0x68,0x65,0x6e])](_0x35c7ae,_0x532b6a),window[_0x494d93([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x532b6a,0x79a559a7^_0x2f9f5b);});}}_0x13c0ae[_0x494d93([0x6f,0x6e])](_0x494d93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cf48b,_0xd39416)=>{if(_0xd39416[0x0]!=_0x29f3f2)return _0x216766(_0x494d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd39416[0x1]={..._0xd39416[0x1],[_0x494d93([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49d441};},{[_0x494d93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494d93([0x68,0x69,0x67,0x68])}),_0x13c0ae[_0x494d93([0x6f,0x6e])](_0x494d93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x509893=>{_0x20e11a(_0x509893[_0x494d93([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x195485=!0x0,_0x494f16(_0x509893[_0x494d93([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x494d93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494d93([0x6c,0x6f,0x77])}),_0x25339c[_0x494d93([0x74,0x68,0x65,0x6e])](()=>{_0x195485||_0x216766(_0x494d93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f8d60(){return _0x13c0ae[_0x494d93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494d93([0x76,0x69,0x65,0x77])][_0x494d93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x494d93([0x61,0x75,0x74,0x6f]);}function _0x42c644(){_0x13c0ae[_0x494d93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494d93([0x76,0x69,0x65,0x77])][_0x494d93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x494d93([0x61,0x75,0x74,0x6f]);}}function _0x5cbc92(_0x55ecc1){const _0x2f1879=[new window[(_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d4042=>setTimeout(_0x2d4042,0x79adb3ab^_0x2f9f5b)),_0x25339c[_0x494d93([0x74,0x68,0x65,0x6e])](()=>new window[(_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e2eca=>{let _0x3681b1=0x0;_0x13c0ae[_0x494d93([0x6d,0x6f,0x64,0x65,0x6c])][_0x494d93([0x6f,0x6e])](_0x494d93([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x514320,_0xfcbef5)=>{_0xfcbef5[0x0][_0x494d93([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3681b1++,_0x3681b1==(0x79a48c9f^_0x2f9f5b)&&(_0x4e2eca(),_0x514320[_0x494d93([0x6f,0x66,0x66])]());});}))];return window[_0x494d93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x494d93([0x72,0x61,0x63,0x65])](_0x2f1879)[_0x494d93([0x74,0x68,0x65,0x6e])](()=>_0x55ecc1);}async function _0x52dfa2(){await _0x25339c,_0x13c0ae[_0x494d93([0x6d,0x6f,0x64,0x65,0x6c])][_0x494d93([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19653f,_0x13c0ae[_0x494d93([0x6d,0x6f,0x64,0x65,0x6c])][_0x494d93([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19653f,_0x13c0ae[_0x494d93([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x494d93([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb42478(_0x37a52c){const _0x5da9b0=_0x4f5638();_0x13c0ae[_0x5da9b0]=_0x494d93([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37a52c,_0x37a52c!=_0x494d93([0x56,0x61,0x6c,0x69,0x64])&&_0x52dfa2();}function _0x4f5638(){const _0x599ade=window[_0x494d93([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x494d93([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x494d93([0x6e,0x6f,0x77])]())[_0x494d93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x494d93([0x2e]),'');let _0x1d4c56=_0x494d93([0x65]);for(let _0x577750=0x0;_0x577750<_0x599ade[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x577750+=0x2){let _0x1f4236=window[_0x494d93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x599ade[_0x494d93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x577750,_0x577750+0x2));_0x1f4236>=_0x10d51c[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f4236-=_0x10d51c[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d4c56+=_0x10d51c[_0x1f4236];}return _0x1d4c56;}function _0x1c1e78(){const _0x4cd29c=_0x33ad36[_0x494d93([0x73,0x70,0x6c,0x69,0x74])](_0x494d93([0x2e]));if(0x3!=_0x4cd29c[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9d78(_0x4cd29c[0x1]);function _0x3e9d78(_0x2a68a0){const _0x15644f=_0x32f93b(_0x2a68a0);return _0x15644f&&_0x1a7e5a()?_0x15644f:null;function _0x1a7e5a(){const _0x89c737=_0x15644f[_0x494d93([0x6a,0x74,0x69])],_0x30e476=window[_0x494d93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x89c737[_0x494d93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x89c737[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21ebc4={..._0x15644f,[_0x494d93([0x6a,0x74,0x69])]:_0x89c737[_0x494d93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x89c737[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21ebc4[_0x494d93([0x76,0x63])],_0x55a3bf(_0x21ebc4)==_0x30e476;}}}async function _0x32ab5a(){let _0x37b1a0=!0x0;try{const _0x145b8c=_0x33ad36[_0x494d93([0x73,0x70,0x6c,0x69,0x74])](_0x494d93([0x2e])),[_0x49f6ca,_0x192f92,_0x3fd5d1]=_0x145b8c;return _0x250f79(_0x49f6ca),await _0x15a5c7(_0x49f6ca,_0x192f92,_0x3fd5d1),_0x37b1a0;}catch(_0x5de60e){return!0x1;}function _0x250f79(_0x4e8933){const _0x2e7fde=_0x32f93b(_0x4e8933);_0x2e7fde&&_0x2e7fde[_0x494d93([0x61,0x6c,0x67])]==_0x494d93([0x45,0x53,0x32,0x35,0x36])||(_0x37b1a0=!0x1);}async function _0x15a5c7(_0x59a5ca,_0x22f228,_0xe02230){const _0x4e3189=window[_0x494d93([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x494d93([0x66,0x72,0x6f,0x6d])](_0x4657bf(_0xe02230),_0x174011=>_0x174011[_0x494d93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x246508=new window[(_0x494d93([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x494d93([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59a5ca+_0x494d93([0x2e])+_0x22f228),_0x5c0acc=window[_0x494d93([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x494d93([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c0acc)return;const _0x3f3699=await _0x5c0acc[_0x494d93([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x494d93([0x6a,0x77,0x6b]),_0x2834f3,{[_0x494d93([0x6e,0x61,0x6d,0x65])]:_0x494d93([0x45,0x43,0x44,0x53,0x41]),[_0x494d93([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x494d93([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x494d93([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c0acc[_0x494d93([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x494d93([0x6e,0x61,0x6d,0x65])]:_0x494d93([0x45,0x43,0x44,0x53,0x41]),[_0x494d93([0x68,0x61,0x73,0x68])]:{[_0x494d93([0x6e,0x61,0x6d,0x65])]:_0x494d93([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f3699,_0x4e3189,_0x246508)||(_0x37b1a0=!0x1);}}function _0x32f93b(_0x144fb2){return _0x144fb2[_0x494d93([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x494d93([0x65,0x79]))?JSON[_0x494d93([0x70,0x61,0x72,0x73,0x65])](_0x4657bf(_0x144fb2)):null;}function _0x4657bf(_0x24972c){return window[_0x494d93([0x61,0x74,0x6f,0x62])](_0x24972c[_0x494d93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x494d93([0x2b]))[_0x494d93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x494d93([0x2f])));}function _0x55a3bf(_0x4b7957){let _0x15dde7=0x1505;function _0x10c916(_0x34879b){for(let _0x4ce778=0x0;_0x4ce778<_0x34879b[_0x494d93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ce778++){const _0x29384f=_0x34879b[_0x494d93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ce778);_0x15dde7=(_0x15dde7<<0x5)+_0x15dde7+_0x29384f,_0x15dde7&=_0x15dde7;}}function _0x7025be(_0x558f14){Array[_0x494d93([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x558f14)?_0x558f14[_0x494d93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7025be):_0x558f14&&typeof _0x558f14==_0x494d93([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x494d93([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x558f14)[_0x494d93([0x73,0x6f,0x72,0x74])]()[_0x494d93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ab620,_0x5b3514])=>{_0x10c916(_0x5ab620),_0x7025be(_0x5b3514);}):_0x10c916(window[_0x494d93([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x558f14));}return _0x7025be(_0x4b7957),_0x15dde7>>>0x0;}function _0x5ae0df(_0x3962f3){return _0x3962f3[_0x494d93([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x494d93([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x494d93([0x30]));}function _0xe48d29(_0x144ab8){return _0x144ab8[_0x494d93([0x73,0x70,0x6c,0x69,0x74])]('')[_0x494d93([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x494d93([0x6a,0x6f,0x69,0x6e])]('');}function _0x19653f(){}function _0x494d93(_0x489448){const _0x12765e=_0x2231;return _0x489448[_0x12765e(0x18b)](_0x5d7d63=>String[_0x12765e(0x1b6)](_0x5d7d63))[_0x12765e(0x174)]('');}_0xb42478(await _0x5b3d32());}(this);}[_0x410956(0x16f)](){const _0x2ec7ca=_0x410956,_0xdaad02=this[_0x2ec7ca(0x177)][_0x2ec7ca(0x19d)][_0x2ec7ca(0x1ac)];_0xdaad02[_0x2ec7ca(0x17b)](_0x2ec7ca(0x195))&&_0xdaad02[_0x2ec7ca(0x1a3)](_0x2ec7ca(0x195),{'allowAttributes':[_0x2ec7ca(0x18c)]}),_0xdaad02[_0x2ec7ca(0x17b)](_0x2ec7ca(0x1ae))&&_0xdaad02[_0x2ec7ca(0x1a3)](_0x2ec7ca(0x1ae),{'allowAttributes':[_0x2ec7ca(0x18c)]});}[_0x410956(0x175)](){const _0x234fa8=_0x410956,_0x58057c=this[_0x234fa8(0x177)];_0x58057c[_0x234fa8(0x180)][_0x234fa8(0x19c)](_0x234fa8(0x185))[_0x234fa8(0x18f)]({'model':_0x234fa8(0x18c),'view':_0x234fa8(0x170)}),_0x58057c[_0x234fa8(0x180)][_0x234fa8(0x19c)](_0x234fa8(0x17f))[_0x234fa8(0x1a8)]({'model':{'key':_0x234fa8(0x18c),'value':_0x18ef57=>_0x18ef57[_0x234fa8(0x19b)](_0x234fa8(0x170))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3f503d=_0x58057c[_0x234fa8(0x198)][_0x234fa8(0x193)](_0x234fa8(0x16c));_0x3f503d&&this[_0x234fa8(0x18a)](_0x3f503d,_0x234fa8(0x191),(_0x115940,[_0x1c3692,_0x297ecb])=>{const _0x2f0f74=_0x234fa8;_0x1c3692[_0x2f0f74(0x19a)](_0x2f0f74(0x18c),_0x297ecb);});}[_0x410956(0x1ad)](){const _0xdbd9a1=_0x410956,_0x49d2c9=this[_0xdbd9a1(0x177)][_0xdbd9a1(0x1b4)][_0xdbd9a1(0x193)](_0xdbd9a1(0x18d))||{},_0x3077cc=this[_0xdbd9a1(0x177)][_0xdbd9a1(0x1b4)][_0xdbd9a1(0x193)](_0xdbd9a1(0x1b2))||'';this[_0xdbd9a1(0x173)]=_0x138ba3(_0x399f84[_0xdbd9a1(0x183)],_0xdbd9a1(0x1b1),{..._0x49d2c9,'pubkey':_0x3077cc,'ctx-name':_0xdbd9a1(0x163),'sourceList':'','imgOnly':_0xdbd9a1(0x169),'removeCopyright':_0xdbd9a1(0x169),'localeName':this[_0xdbd9a1(0x177)][_0xdbd9a1(0x19f)][_0xdbd9a1(0x182)],'externalSourcesEmbedCss':_0xdbd9a1(0x179)}),this[_0xdbd9a1(0x173)][_0xdbd9a1(0x167)]=_0x23ade0=>{const _0x5ab412=_0xdbd9a1;if(_0x5ab412(0x1b0)==_0x23ade0)return _0x5ab412(0x188);},_0x399f84[_0xdbd9a1(0x183)][_0xdbd9a1(0x172)][_0xdbd9a1(0x1ab)](this[_0xdbd9a1(0x173)]);}[_0x410956(0x1a6)](){const _0x108442=_0x410956;this[_0x108442(0x194)]=_0x138ba3(_0x399f84[_0x108442(0x183)],_0x108442(0x17e),{'ctx-name':_0x108442(0x163)}),_0x399f84[_0x108442(0x183)][_0x108442(0x172)][_0x108442(0x1ab)](this[_0x108442(0x194)]);}[_0x410956(0x16a)](){const _0x41e955=_0x410956,_0x1ac7bd=this[_0x41e955(0x177)][_0x41e955(0x198)][_0x41e955(0x193)](_0x41e955(0x1a0));_0x1ac7bd&&this[_0x41e955(0x18a)](_0x1ac7bd,_0x41e955(0x1b5),()=>{const _0x12a47c=_0x41e955,_0x2ec207=this[_0x12a47c(0x177)][_0x12a47c(0x19d)][_0x12a47c(0x183)][_0x12a47c(0x196)][_0x12a47c(0x17d)]();_0x2ec207&&_0x2ec207[_0x12a47c(0x19b)](_0x12a47c(0x18c))&&this[_0x12a47c(0x177)][_0x12a47c(0x1a1)][_0x12a47c(0x189)][_0x12a47c(0x17c)](_0x12a47c(0x19e),()=>{const _0xd6b598=_0x12a47c;_0x44675a(this[_0xd6b598(0x177)],_0x2ec207);});});const _0x2f8340=this[_0x41e955(0x177)][_0x41e955(0x198)][_0x41e955(0x193)](_0x41e955(0x16b));_0x2f8340&&this[_0x41e955(0x18a)](_0x2f8340,_0x41e955(0x1b5),()=>{const _0xabce63=_0x41e955,_0x538c4e=this[_0xabce63(0x177)][_0xabce63(0x19d)][_0xabce63(0x183)][_0xabce63(0x196)][_0xabce63(0x17d)]();_0x538c4e&&_0x538c4e[_0xabce63(0x19b)](_0xabce63(0x18c))&&this[_0xabce63(0x177)][_0xabce63(0x1a1)][_0xabce63(0x189)][_0xabce63(0x17c)](_0xabce63(0x19e),()=>{const _0x2e27e9=_0xabce63;_0x44675a(this[_0x2e27e9(0x177)],_0x538c4e);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x20410f,ObservableMixin as _0x3639de}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2fe0fa}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x382179}from'ckeditor5/src/icons.js';import _0x173f2a from'./uploadcareimageeditformview.js';import _0x43aafe from'../../utils/uploadutils.js';import{getImageUrls as _0x4a427e,getImageDimension as _0x5e27ce}from'../../utils/editingutils.js';import{isAncestor as _0x96645b}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3639de(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x409e28,_0x1be5f9,_0xed53e9){super(),this['_editor']=_0x409e28,this['_dialog']=_0x1be5f9,this['_imageElement']=_0xed53e9,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 _0x338125=this['_imageElement'],_0x4cc58a=_0x338125['getAttribute']('uploadcareImageId'),_0x517d5c=_0x338125['getAttribute']('src');if(_0x4cc58a)await this['_loadImageInfo'](_0x4cc58a,_0x517d5c);else{if(this['_imageCache']['has'](_0x517d5c)){const _0x472d83=this['_imageCache']['get'](_0x517d5c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x472d83['url'],this['imageDimension']=_0x472d83['dimension'],this['imageId']=_0x472d83['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42dc69}=this['_editor'],t=_0x42dc69['t'],_0x160e8c=new _0x173f2a(_0x42dc69,this['imageStatus'],this['_attributes']);_0x160e8c['bind']('status')['to'](this,'imageStatus'),_0x160e8c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x160e8c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x160e8c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x160e8c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x382179,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x160e8c,'position':_0x2fe0fa['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x160e8c['focus']();},'onHide':()=>{_0x160e8c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d341a=>!_0x96645b(_0x3d341a,_0x160e8c['element'])}});}['_loadImageInfo'](_0x5490b4,_0x2843bb){return _0x43aafe['getInfo'](_0x5490b4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xcd7a97=>{const {width:_0x47b98d,height:_0x52183c}=_0xcd7a97['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2843bb,this['imageDimension']={'width':_0x47b98d,'height':_0x52183c},this['imageId']=_0x5490b4;})['catch'](_0x3f4a42=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f4a42['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7f76c4,_0x158cff){return this['_getImageAsFile'](_0x7f76c4)['then'](_0x3587bd=>_0x43aafe['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x158cff['signal'],'file':_0x3587bd,'onProgress':_0x2738ff=>{_0x2738ff&&_0x2738ff['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2738ff['value']));}}))['then'](_0x4c77d5=>{const {width:_0x1440d4,height:_0x387c9c}=_0x4c77d5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c77d5['cdnUrl'],this['imageDimension']={'width':_0x1440d4,'height':_0x387c9c},this['imageId']=_0x4c77d5['uuid'],this['imageUploadProgress']=null;const _0x573f3f=_0x7f76c4['getAttribute']('src');this['_imageCache']['set'](_0x573f3f,{'id':_0x4c77d5['uuid'],'url':_0x4c77d5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3a1d16=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a1d16['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x56ab53,_0x1b84bd){_0x56ab53['on']('apply',(_0xf049cd,_0x5939fd)=>{this['_replaceImage'](_0x1b84bd,_0x5939fd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x56ab53['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x56ab53['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x339ec2,_0x5ca6cc,_0x398e77){const _0x59c3ee=this['_editor'],{width:_0x2ddf62,height:_0x2287d6}=_0x5e27ce(_0x5ca6cc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x52bad1,imageSources:_0x2dc089}=_0x4a427e(_0x5ca6cc,_0x2ddf62);_0x59c3ee['model']['change'](_0x496cf2=>{if('$graveyard'===_0x339ec2['root']['rootName']){_0x59c3ee['execute']('insertImage',{'imageType':_0x339ec2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x339ec2['getAttributes']()),'uploadcareImageId':_0x398e77,'src':_0x52bad1,'sources':_0x2dc089,'width':_0x2ddf62,'height':_0x2287d6}});const _0x13500c=_0x339ec2['getChildren']();_0x339ec2=_0x59c3ee['model']['document']['selection']['getSelectedElement']();for(const _0x4822da of _0x13500c)_0x496cf2['append'](_0x496cf2['cloneElement'](_0x4822da),_0x339ec2);}else _0x496cf2['setSelection'](_0x339ec2,'on'),_0x59c3ee['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x339ec2['getAttributes']()),'uploadcareImageId':_0x398e77,'src':_0x52bad1,'sources':_0x2dc089,'width':_0x2ddf62,'height':_0x2287d6},_0x339ec2);_0x496cf2['setSelection'](_0x339ec2,'on');});}async['_getImageAsFile'](_0x131ee1){const _0x131f7f=_0x20410f['window'],_0x575eb6=_0x20410f['document']['location']['href'],_0x3d7777=new _0x131f7f['URL'](_0x131ee1['getAttribute']('src'),_0x575eb6);if('data:'===_0x3d7777['protocol']){const _0x52b6de=_0x3d7777['href']['split'](','),_0xe12b95=_0x52b6de[0x0]['match'](/:(.*?);/)[0x1],_0x597658=_0xe12b95['split']('/')[0x1],_0x374c96=_0x131f7f['atob'](_0x52b6de[_0x52b6de['length']-0x1]);let _0x4000f2=_0x374c96['length'];const _0x1fccc7=new _0x131f7f['Uint8Array'](_0x4000f2);for(;_0x4000f2--;)_0x1fccc7[_0x4000f2]=_0x374c96['charCodeAt'](_0x4000f2);return new _0x131f7f['File']([_0x1fccc7],'image.'+_0x597658,{'type':_0xe12b95});}const _0x1d25da=_0x3d7777['href']['split']('/'),_0x301428=_0x1d25da[_0x1d25da['length']-0x1],_0x45c87b=_0x301428['split']('.')[0x1];return _0x131f7f['fetch'](_0x3d7777['href'])['then'](_0x3deafc=>_0x3deafc['clone']()['blob']())['then'](_0x14e798=>new _0x131f7f['File']([_0x14e798],_0x301428,{'type':'image/'+_0x45c87b}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5f0d(_0x35e053,_0x1f2738){const _0x585e0e=_0x585e();return _0x5f0d=function(_0x5f0d31,_0x4ade9b){_0x5f0d31=_0x5f0d31-0x15c;let _0x2a108c=_0x585e0e[_0x5f0d31];return _0x2a108c;},_0x5f0d(_0x35e053,_0x1f2738);}(function(_0x789e99,_0x316b67){const _0x123965=_0x5f0d,_0xf58454=_0x789e99();while(!![]){try{const _0x370c2f=parseInt(_0x123965(0x15e))/0x1*(-parseInt(_0x123965(0x169))/0x2)+-parseInt(_0x123965(0x164))/0x3+-parseInt(_0x123965(0x160))/0x4*(parseInt(_0x123965(0x16a))/0x5)+parseInt(_0x123965(0x16b))/0x6*(-parseInt(_0x123965(0x168))/0x7)+parseInt(_0x123965(0x165))/0x8+parseInt(_0x123965(0x166))/0x9*(-parseInt(_0x123965(0x167))/0xa)+parseInt(_0x123965(0x162))/0xb;if(_0x370c2f===_0x316b67)break;else _0xf58454['push'](_0xf58454['shift']());}catch(_0x15f44f){_0xf58454['push'](_0xf58454['shift']());}}}(_0x585e,0x74661));function _0x585e(){const _0x10863d=['43630uZJFsz','125766tiZDFW','uc-light','uc-cloud-image-editor','setTemplate','ck-uploadcare-theme','imageSrc','1eHSBkS','bindTemplate','140NUTJtr','set','19310544kxNZRF','image-edit','329526KGpUCB','7182008ndbaSX','333uaMgie','3820cuviFk','301bzhIgl','1691554pbsPBn'];_0x585e=function(){return _0x10863d;};return _0x585e();}import{View as _0x229175}from'ckeditor5/src/ui.js';export default class tt extends _0x229175{constructor(_0x28a50b,_0x6c688e){const _0x4da712=_0x5f0d;super(_0x28a50b);const _0x30b480=this[_0x4da712(0x15f)];this[_0x4da712(0x161)](_0x4da712(0x15d),''),this[_0x4da712(0x16e)]({'tag':_0x4da712(0x16d),'attributes':{..._0x6c688e,'class':[_0x4da712(0x16c),_0x4da712(0x15c)],'ctx-name':_0x4da712(0x163),'cdn-url':_0x30b480['to'](_0x4da712(0x15d))}});}}
|
|
@@ -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 _0x409029,IconView as at,View as _0x1893ba}from'ckeditor5/src/ui.js';export default class rt extends _0x1893ba{constructor(_0x314f30){super(_0x314f30);const t=_0x314f30['t'];this['set']('errorType',null);const _0x215997=new _0x409029(_0x314f30);_0x215997['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x215997['withText']=!0x0,_0x215997['class']='ck-button-action',_0x215997['on']('execute',()=>{this['fire']('retry');}),_0x215997['bind']('isVisible')['to'](this,'errorType',_0x3f2af=>'NotFound'!==_0x3f2af);const _0x28d4fa=new at();_0x28d4fa['content']=et,_0x28d4fa['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4950ed=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':[_0x28d4fa,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4950ed['to']('errorType',_0x377178=>t('NotFound'!==_0x377178?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x215997]},{'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 _0x4b1341,View as _0x43f37e}from'ckeditor5/src/ui.js';export default class ta extends _0x43f37e{constructor(_0x1a5feb){super(_0x1a5feb);const t=_0x1a5feb['t'],_0xcafb84=this['bindTemplate'],_0x29814d=new _0x4b1341();_0x29814d['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':[_0x29814d,{'text':_0xcafb84['to']('imageUploadProgress',_0x139978=>t('Loading\x20image...')+'\x20('+(_0x139978||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
|
-
|
|
23
|
+
const _0x41a19b=_0x209d;(function(_0x5b9844,_0x1d1d6e){const _0x5919b8=_0x209d,_0xd41acb=_0x5b9844();while(!![]){try{const _0x4b0811=parseInt(_0x5919b8(0x182))/0x1*(-parseInt(_0x5919b8(0x157))/0x2)+-parseInt(_0x5919b8(0x168))/0x3*(parseInt(_0x5919b8(0x14e))/0x4)+parseInt(_0x5919b8(0x170))/0x5*(-parseInt(_0x5919b8(0x16f))/0x6)+-parseInt(_0x5919b8(0x156))/0x7+parseInt(_0x5919b8(0x15a))/0x8*(-parseInt(_0x5919b8(0x14c))/0x9)+-parseInt(_0x5919b8(0x16c))/0xa+parseInt(_0x5919b8(0x180))/0xb;if(_0x4b0811===_0x1d1d6e)break;else _0xd41acb['push'](_0xd41acb['shift']());}catch(_0x2f938c){_0xd41acb['push'](_0xd41acb['shift']());}}}(_0x4bac,0xb702d));function _0x209d(_0x3f22e5,_0x530930){const _0x4bac05=_0x4bac();return _0x209d=function(_0x209d64,_0x30e571){_0x209d64=_0x209d64-0x14c;let _0x7e5e15=_0x4bac05[_0x209d64];return _0x7e5e15;},_0x209d(_0x3f22e5,_0x530930);}import{View as _0x1ca401}from'ckeditor5/src/ui.js';import _0x589d7d from'./uploadcareimageeditformloadingview.js';import _0x156f21 from'./uploadcareimageeditformerrorview.js';function _0x4bac(){const _0x1cf3cb=['apply','error','detail','status','add','nodeName','ck-uploadcare-form','_editingView','createCollection','cancel','set','56363967DnyaOj','div','526063aplTMN','cdnUrl','27VDMmRR','once','4lTmaPm','ck-reset_all-excluded','setTemplate','toLowerCase','_waitForImageEditorComponent','render','addMany','addEventListener','7668374iVgkSX','2mqKRzX','_addErrorViewListeners','addedNodes','1177800NeIvLe','element','_focusableView','getFocusableElement','uploading','retry','fire','_addUploadcareImageEditorListeners','_setView','target','filter','ready','observe','length','1789473CMUgtL','uc-cloud-image-editor','_items','change:status','8856870iuuaam','_loadingView','querySelector','4973916tgJbLY','5QRTAeu','clear','disconnect','_errorView','focus'];_0x4bac=function(){return _0x1cf3cb;};return _0x4bac();}import _0x68a364 from'./uploadcareimageeditformeditingview.js';import _0x4923cc from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x4923cc{[_0x41a19b(0x16a)];[_0x41a19b(0x16d)];[_0x41a19b(0x173)];[_0x41a19b(0x17c)];[_0x41a19b(0x15c)];constructor(_0x1ce683,_0x589df6,_0x599e51){const _0x474d75=_0x41a19b;super(_0x1ce683),this[_0x474d75(0x16a)]=this[_0x474d75(0x17d)](),this[_0x474d75(0x16d)]=new _0x589d7d(_0x1ce683),this[_0x474d75(0x173)]=new _0x156f21(_0x1ce683),this[_0x474d75(0x17c)]=new _0x68a364(_0x1ce683,_0x599e51),this[_0x474d75(0x15c)]=new _0x1ca401(_0x1ce683),this[_0x474d75(0x15c)][_0x474d75(0x150)](this[_0x474d75(0x15d)]()),this[_0x474d75(0x17f)](_0x474d75(0x178),_0x589df6),this[_0x474d75(0x150)]({'tag':_0x474d75(0x181),'attributes':{'class':['ck',_0x474d75(0x14f),_0x474d75(0x17b)],'tabindex':'-1'},'children':this[_0x474d75(0x16a)]}),this[_0x474d75(0x162)](),this[_0x474d75(0x14d)](_0x474d75(0x153),()=>{const _0x472cf7=_0x474d75;this[_0x472cf7(0x152)](this[_0x472cf7(0x15b)],_0x9099bf=>{const _0x1b895e=_0x472cf7;this[_0x1b895e(0x161)](_0x9099bf);});}),this['on'](_0x474d75(0x16b),()=>{const _0x2298c0=_0x474d75;this[_0x2298c0(0x162)]();}),this[_0x474d75(0x158)]();}[_0x41a19b(0x174)](){const _0x1e12e0=_0x41a19b;this[_0x1e12e0(0x15b)][_0x1e12e0(0x174)]();}[_0x41a19b(0x162)](){const _0x2da4c3=_0x41a19b;switch(this[_0x2da4c3(0x16a)][_0x2da4c3(0x171)](),this[_0x2da4c3(0x178)]){case _0x2da4c3(0x15e):this[_0x2da4c3(0x16a)][_0x2da4c3(0x179)](this[_0x2da4c3(0x16d)]);break;case _0x2da4c3(0x176):this[_0x2da4c3(0x16a)][_0x2da4c3(0x179)](this[_0x2da4c3(0x173)]);break;case _0x2da4c3(0x165):this[_0x2da4c3(0x16a)][_0x2da4c3(0x154)]([this[_0x2da4c3(0x17c)],this[_0x2da4c3(0x15c)]]);}}[_0x41a19b(0x152)](_0xfd9e8c,_0x1f72db){const _0x5967af=_0x41a19b,_0x5a8a9a=_0x5967af(0x169),_0x200dea=_0xfd9e8c[_0x5967af(0x16e)](_0x5a8a9a);if(_0x200dea)return _0x1f72db(_0x200dea);const _0x4e8b54=new MutationObserver(_0x12fb6=>{const _0x3211b=_0x5967af,_0x23172c=_0x12fb6[_0x3211b(0x164)](_0x4bb776=>_0x4bb776[_0x3211b(0x163)]===_0xfd9e8c&&_0x4bb776[_0x3211b(0x159)][_0x3211b(0x167)]>0x0&&_0x4bb776[_0x3211b(0x159)][0x0][_0x3211b(0x17a)][_0x3211b(0x151)]()===_0x5a8a9a);_0x23172c[_0x3211b(0x167)]&&(_0x4e8b54[_0x3211b(0x172)](),_0x1f72db(_0x23172c[0x0][_0x3211b(0x159)][0x0]));});_0x4e8b54[_0x5967af(0x166)](_0xfd9e8c,{'childList':!0x0,'subtree':!0x0});}[_0x41a19b(0x161)](_0x5ef3d4){const _0x19eb72=_0x41a19b;_0x5ef3d4[_0x19eb72(0x155)](_0x19eb72(0x175),_0x3292ea=>{const _0x2d84a2=_0x19eb72;this[_0x2d84a2(0x160)](_0x2d84a2(0x175),{'imageSrc':_0x3292ea[_0x2d84a2(0x177)][_0x2d84a2(0x183)]});}),_0x5ef3d4[_0x19eb72(0x155)](_0x19eb72(0x17e),()=>{const _0x3d30ce=_0x19eb72;this[_0x3d30ce(0x160)](_0x3d30ce(0x17e));});}[_0x41a19b(0x158)](){const _0x3dca3e=_0x41a19b;this[_0x3dca3e(0x173)]['on'](_0x3dca3e(0x15f),()=>{const _0x13d193=_0x3dca3e;this[_0x13d193(0x160)](_0x13d193(0x15f));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ff79c=_0x4cdf;(function(_0xc48135,_0x46295b){const _0x41082e=_0x4cdf,_0x5503c4=_0xc48135();while(!![]){try{const _0xd09477=-parseInt(_0x41082e(0x10c))/0x1+parseInt(_0x41082e(0x104))/0x2*(-parseInt(_0x41082e(0x117))/0x3)+-parseInt(_0x41082e(0xfb))/0x4*(-parseInt(_0x41082e(0x10e))/0x5)+-parseInt(_0x41082e(0x102))/0x6+parseInt(_0x41082e(0x10a))/0x7+-parseInt(_0x41082e(0x111))/0x8+parseInt(_0x41082e(0xff))/0x9*(parseInt(_0x41082e(0x115))/0xa);if(_0xd09477===_0x46295b)break;else _0x5503c4['push'](_0x5503c4['shift']());}catch(_0x27e394){_0x5503c4['push'](_0x5503c4['shift']());}}}(_0x5530,0x2c505));function _0x4cdf(_0x57ece0,_0x354456){const _0x55309a=_0x5530();return _0x4cdf=function(_0x4cdfd7,_0x2f1d49){_0x4cdfd7=_0x4cdfd7-0xf8;let _0x6f96ad=_0x55309a[_0x4cdfd7];return _0x6f96ad;},_0x4cdf(_0x57ece0,_0x354456);}import{Command as _0x4868fe}from'ckeditor5/src/core.js';import{Dialog as _0x4f7f60}from'ckeditor5/src/ui.js';function _0x5530(){const _0x15d058=['isEnabled','178209GPCZrh','refresh','getSelectedElement','2011872swhlZG','set','2914abNoyi','imageInline','document','plugins','imageBlock','execute','2183573MMtazE','uploadcare.allowExternalImagesEditing','311276mdzQLN','_isEditable','1955SnqoMk','requires','editor','2641488dEYnCX','bind','imageEditController','get','290cPtmVf','isActive','120fZoEmY','model','element','config','3380Brwmqy','selection','unbind'];_0x5530=function(){return _0x15d058;};return _0x5530();}import _0x26dd96 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3601c0}from'../utils/editingutils.js';export default class V extends _0x4868fe{[_0x4ff79c(0x113)];static get[_0x4ff79c(0x10f)](){return[_0x4f7f60];}[_0x4ff79c(0x10d)];constructor(_0x323619){const _0x4ba1a7=_0x4ff79c;super(_0x323619),this[_0x4ba1a7(0x113)]=void 0x0,this[_0x4ba1a7(0x10d)]=_0x3601c0(_0x323619[_0x4ba1a7(0xfa)][_0x4ba1a7(0x114)](_0x4ba1a7(0x10b))||[]),this[_0x4ba1a7(0x103)]({'isActive':!0x1});}[_0x4ff79c(0x100)](){const _0x291700=_0x4ff79c,_0x53c607=this[_0x291700(0x110)][_0x291700(0xf8)][_0x291700(0x106)][_0x291700(0xfc)][_0x291700(0x101)]();this[_0x291700(0xfe)]=this[_0x291700(0x10d)](_0x53c607);}[_0x4ff79c(0x109)](){const _0x1d2468=_0x4ff79c;this[_0x1d2468(0x113)]&&(this[_0x1d2468(0xfd)](_0x1d2468(0x116)),this[_0x1d2468(0x113)]=void 0x0);const _0x5ad26a=this[_0x1d2468(0x110)][_0x1d2468(0xf8)][_0x1d2468(0x106)][_0x1d2468(0xfc)][_0x1d2468(0x101)]();_0x5ad26a&&(_0x5ad26a['is'](_0x1d2468(0xf9),_0x1d2468(0x108))||_0x5ad26a['is'](_0x1d2468(0xf9),_0x1d2468(0x105)))&&(this[_0x1d2468(0x113)]=new _0x26dd96(this[_0x1d2468(0x110)],this[_0x1d2468(0x110)][_0x1d2468(0x107)][_0x1d2468(0x114)](_0x4f7f60),_0x5ad26a),this[_0x1d2468(0x112)](_0x1d2468(0x116))['to'](this[_0x1d2468(0x113)],_0x1d2468(0x116)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54843d=_0x296b;function _0x296b(_0x33d94a,_0x3765cf){const _0x43d380=_0x43d3();return _0x296b=function(_0x296b4b,_0x31ca2e){_0x296b4b=_0x296b4b-0x1c3;let _0x816831=_0x43d380[_0x296b4b];return _0x816831;},_0x296b(_0x33d94a,_0x3765cf);}(function(_0x5e791e,_0x387521){const _0x1d31fe=_0x296b,_0x52d2e5=_0x5e791e();while(!![]){try{const _0x385498=parseInt(_0x1d31fe(0x1c7))/0x1*(parseInt(_0x1d31fe(0x1cd))/0x2)+-parseInt(_0x1d31fe(0x1d3))/0x3+-parseInt(_0x1d31fe(0x1c5))/0x4*(-parseInt(_0x1d31fe(0x1d9))/0x5)+parseInt(_0x1d31fe(0x1d1))/0x6*(parseInt(_0x1d31fe(0x1c9))/0x7)+parseInt(_0x1d31fe(0x1d4))/0x8*(-parseInt(_0x1d31fe(0x1c8))/0x9)+parseInt(_0x1d31fe(0x1c3))/0xa+-parseInt(_0x1d31fe(0x1d6))/0xb;if(_0x385498===_0x387521)break;else _0x52d2e5['push'](_0x52d2e5['shift']());}catch(_0x4d2b7b){_0x52d2e5['push'](_0x52d2e5['shift']());}}}(_0x43d3,0x92a9e));import{Plugin as _0x5c5a53}from'ckeditor5/src/core.js';import{Notification as _0x2d3486}from'ckeditor5/src/ui.js';function _0x43d3(){const _0x5d2094=['557922CXGGiS','isOfficialPlugin','requires','ImageEditing','2204772LRoGZf','UploadcareImageEditEditing','3236118UvZhgI','400IgOofm','pluginName','4646587bgjafs','init','uploadcareImageEdit','45VbiVIG','1344670IDjahZ','commands','289876vObAdM','ImageUtils','3WbHILs','112338hZmIqE','21UMkStZ','uploadcareImageReplace','add','isPremiumPlugin'];_0x43d3=function(){return _0x5d2094;};return _0x43d3();}import _0x200f7b from'./uploadcareimageeditcommand.js';import _0x3abaad from'./uploadcareimagereplacecommand.js';import _0x57a58d from'../uploadcareediting.js';export default class g extends _0x5c5a53{static get[_0x54843d(0x1d5)](){const _0x596d8a=_0x54843d;return _0x596d8a(0x1d2);}static get[_0x54843d(0x1cf)](){const _0x53f51b=_0x54843d;return[_0x57a58d,_0x2d3486,_0x53f51b(0x1c6),_0x53f51b(0x1d0)];}static get[_0x54843d(0x1ce)](){return!0x0;}static get[_0x54843d(0x1cc)](){return!0x0;}[_0x54843d(0x1d7)](){const _0xc87967=_0x54843d,{editor:_0x4fecc0}=this;_0x4fecc0[_0xc87967(0x1c4)][_0xc87967(0x1cb)](_0xc87967(0x1d8),new _0x200f7b(_0x4fecc0)),_0x4fecc0[_0xc87967(0x1c4)][_0xc87967(0x1cb)](_0xc87967(0x1ca),new _0x3abaad(_0x4fecc0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x6fb2ad}from'ckeditor5/src/core.js';import{ButtonView as _0x338753}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x46326e}from'ckeditor5/src/icons.js';import{createElement as _0xdcaafd}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 _0x6fb2ad{['_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 _0x5f25dc=this['editor'];_0x5f25dc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ab38a=>{const _0x352ac3=_0x5f25dc['commands']['get']('uploadcareImageEdit'),_0x33b365=new _0x338753(_0x4ab38a),t=_0x4ab38a['t'];return _0x33b365['set']({'icon':_0x46326e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x33b365['bind']('isEnabled')['to'](_0x352ac3),_0x33b365['bind']('isOn')['to'](_0x352ac3,'isActive'),this['listenTo'](_0x33b365,'execute',()=>{_0x5f25dc['execute']('uploadcareImageEdit'),_0x5f25dc['editing']['view']['focus']();}),_0x33b365;}),this['_initConfig']();}['_initConfig'](){const _0x5d44bd=_0xdcaafd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d44bd),this['listenTo'](this['editor'],'destroy',()=>{_0x5d44bd['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ed0(_0xf57089,_0x46fc94){const _0x578b42=_0x578b();return _0x5ed0=function(_0x5ed011,_0x165caf){_0x5ed011=_0x5ed011-0x140;let _0x47c628=_0x578b42[_0x5ed011];return _0x47c628;},_0x5ed0(_0xf57089,_0x46fc94);}const _0x56531b=_0x5ed0;(function(_0x3997ee,_0x4f746d){const _0x3d7d09=_0x5ed0,_0x4f873b=_0x3997ee();while(!![]){try{const _0x1f42fe=parseInt(_0x3d7d09(0x145))/0x1*(parseInt(_0x3d7d09(0x14a))/0x2)+parseInt(_0x3d7d09(0x14e))/0x3*(-parseInt(_0x3d7d09(0x152))/0x4)+-parseInt(_0x3d7d09(0x14f))/0x5*(parseInt(_0x3d7d09(0x141))/0x6)+parseInt(_0x3d7d09(0x14b))/0x7+-parseInt(_0x3d7d09(0x151))/0x8+-parseInt(_0x3d7d09(0x159))/0x9+parseInt(_0x3d7d09(0x147))/0xa;if(_0x1f42fe===_0x4f746d)break;else _0x4f873b['push'](_0x4f873b['shift']());}catch(_0x5e84ee){_0x4f873b['push'](_0x4f873b['shift']());}}}(_0x578b,0xd9376));function _0x578b(){const _0x168bd5=['27209080mGEllx','element','change','4640ikUeWb','6649958RHhIiR','selection','setAttributes','1240905tCSgeO','84380btAFsL','sizes','8456808GGvzRX','12ijyNzM','execute','imageInline','document','srcset','refresh','removeAttribute','1948446kDzxSW','isEnabled','174KlYxum','editor','model','imageBlock','96JSwjcX','getSelectedElement'];_0x578b=function(){return _0x168bd5;};return _0x578b();}import{Command as _0x424570}from'ckeditor5/src/core.js';export default class X extends _0x424570{[_0x56531b(0x157)](){const _0x3dfc4e=_0x56531b,_0x14ac5a=this[_0x3dfc4e(0x142)][_0x3dfc4e(0x143)][_0x3dfc4e(0x155)][_0x3dfc4e(0x14c)][_0x3dfc4e(0x146)]();this[_0x3dfc4e(0x140)]=Boolean(_0x14ac5a&&(_0x14ac5a['is'](_0x3dfc4e(0x148),_0x3dfc4e(0x144))||_0x14ac5a['is'](_0x3dfc4e(0x148),_0x3dfc4e(0x154))));}[_0x56531b(0x153)](_0xa79fa4){const _0x527777=_0x56531b,_0x3c37ed=this[_0x527777(0x142)][_0x527777(0x143)][_0x527777(0x155)][_0x527777(0x14c)][_0x527777(0x146)]();this[_0x527777(0x142)][_0x527777(0x143)][_0x527777(0x149)](_0x5e1976=>{const _0x10478a=_0x527777;_0x5e1976[_0x10478a(0x14d)](_0xa79fa4,_0x3c37ed),_0x5e1976[_0x10478a(0x158)](_0x10478a(0x156),_0x3c37ed),_0x5e1976[_0x10478a(0x158)](_0x10478a(0x150),_0x3c37ed);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x588e38=_0x2ee1;(function(_0x46b2f8,_0xa4d6ad){var _0x34abe1=_0x2ee1,_0x16621c=_0x46b2f8();while(!![]){try{var _0x377594=-parseInt(_0x34abe1(0x84))/0x1+parseInt(_0x34abe1(0x78))/0x2*(-parseInt(_0x34abe1(0x77))/0x3)+parseInt(_0x34abe1(0x7d))/0x4+parseInt(_0x34abe1(0x82))/0x5*(-parseInt(_0x34abe1(0x79))/0x6)+parseInt(_0x34abe1(0x7a))/0x7+parseInt(_0x34abe1(0x7c))/0x8+parseInt(_0x34abe1(0x85))/0x9*(parseInt(_0x34abe1(0x83))/0xa);if(_0x377594===_0xa4d6ad)break;else _0x16621c['push'](_0x16621c['shift']());}catch(_0x13c10e){_0x16621c['push'](_0x16621c['shift']());}}}(_0x19d4,0x86ce5));import{Plugin as _0x5f26fa}from'ckeditor5/src/core.js';function _0x19d4(){var _0x51cb7f=['8943xtcbkH','218qEVNfE','1942602lburJL','5785689SDxjca','requires','8324624GBWvOx','2122272hDUlSv','pluginName','isOfficialPlugin','UploadcareImageEdit','isPremiumPlugin','15rQFUrT','20nBqvSW','905672wVholn','1603773SseMzj'];_0x19d4=function(){return _0x51cb7f;};return _0x19d4();}import _0x598f30 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2ee1(_0x293ec1,_0x5cf9c5){var _0x19d40f=_0x19d4();return _0x2ee1=function(_0x2ee105,_0x2a63bc){_0x2ee105=_0x2ee105-0x77;var _0x33b7a1=_0x19d40f[_0x2ee105];return _0x33b7a1;},_0x2ee1(_0x293ec1,_0x5cf9c5);}import _0x45a3ab from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5f26fa{static get[_0x588e38(0x7e)](){var _0x4ba87d=_0x588e38;return _0x4ba87d(0x80);}static get[_0x588e38(0x7b)](){return[_0x598f30,_0x45a3ab];}static get[_0x588e38(0x7f)](){return!0x0;}static get[_0x588e38(0x81)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44153d=_0xeac7;(function(_0x17515b,_0x12d7f6){const _0x12604a=_0xeac7,_0x3a458e=_0x17515b();while(!![]){try{const _0x70855=parseInt(_0x12604a(0x104))/0x1*(-parseInt(_0x12604a(0x146))/0x2)+-parseInt(_0x12604a(0x145))/0x3+-parseInt(_0x12604a(0x125))/0x4+-parseInt(_0x12604a(0x10a))/0x5+parseInt(_0x12604a(0x112))/0x6*(-parseInt(_0x12604a(0x13b))/0x7)+parseInt(_0x12604a(0x148))/0x8*(-parseInt(_0x12604a(0x141))/0x9)+parseInt(_0x12604a(0x124))/0xa*(parseInt(_0x12604a(0x10f))/0xb);if(_0x70855===_0x12d7f6)break;else _0x3a458e['push'](_0x3a458e['shift']());}catch(_0x3f7ea0){_0x3a458e['push'](_0x3a458e['shift']());}}}(_0x4c62,0x5f46e));import{Plugin as _0x16a906}from'ckeditor5/src/core.js';import{IconDropbox as _0x3a5451,IconFacebook as _0x10a634,IconGoogleDrive as _0x4bc46d,IconGooglePhotos as _0x360462,IconUploadcareImageUpload as _0x20144b,IconUploadcareLink as _0x1d4bea,IconOneDrive as _0x3b418b}from'ckeditor5/src/icons.js';function _0xeac7(_0x467c7a,_0x45a2e9){const _0x4c62db=_0x4c62();return _0xeac7=function(_0xeac754,_0x4c3a20){_0xeac754=_0xeac754-0x101;let _0x46a061=_0x4c62db[_0xeac754];return _0x46a061;},_0xeac7(_0x467c7a,_0x45a2e9);}import{ButtonView as _0x43609b,MenuBarMenuListItemButtonView as _0x69d12e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x215cd9}from'./uploadcareconfig.js';import{getTranslation as _0x1af1d0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x16a906{[_0x44153d(0x152)];[_0x44153d(0x133)];static get[_0x44153d(0x142)](){const _0x487ed4=_0x44153d;return _0x487ed4(0x143);}static get[_0x44153d(0x149)](){return!0x0;}static get[_0x44153d(0x14c)](){return!0x0;}[_0x44153d(0x107)](){const _0x43afd1=_0x44153d;this[_0x43afd1(0x152)]=this[_0x43afd1(0x111)][_0x43afd1(0x126)][_0x43afd1(0x13a)](_0x43afd1(0x152));const _0x42a7b7=this[_0x43afd1(0x111)];this[_0x43afd1(0x133)]=setInterval(()=>{const _0x432385=_0x43afd1;let _0x2493d6;for(const _0x2c0fc3 in _0x42a7b7){const _0x539ad9=_0x2c0fc3,_0x53e33e=_0x42a7b7[_0x539ad9];if(_0x432385(0x122)==_0x53e33e||_0x432385(0x139)==_0x53e33e||_0x432385(0x13f)==_0x53e33e||_0x432385(0x14a)==_0x53e33e||_0x432385(0x150)==_0x53e33e||_0x432385(0x11b)==_0x53e33e||_0x432385(0x116)==_0x53e33e||_0x432385(0x108)==_0x53e33e){delete _0x42a7b7[_0x539ad9],_0x2493d6=_0x53e33e,clearInterval(this[_0x432385(0x133)]),this[_0x432385(0x133)]=void 0x0;break;}}_0x432385(0x139)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x147)),_0x432385(0x13f)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x12a)),_0x432385(0x14a)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x11e)),_0x432385(0x150)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x10b),_0x432385(0x132)),_0x432385(0x11b)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x12b)),_0x432385(0x116)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x137)),_0x432385(0x108)==_0x2493d6&&_0x42a7b7[_0x432385(0x10d)](_0x432385(0x115));},0x3e8);}[_0x44153d(0x13e)](){const _0x1831b9=_0x44153d,{editor:_0x4e4532}=this,_0xa2f55b=_0x4e4532[_0x1831b9(0x11f)][_0x1831b9(0x13a)](_0x1831b9(0x121));if(!_0xa2f55b)return;const _0x274514=this[_0x1831b9(0x135)](_0x4e4532[_0x1831b9(0x126)][_0x1831b9(0x13a)](_0x1831b9(0x117)))[_0x1831b9(0x113)]((_0x36207a,_0x198db8)=>{const _0x4fe77b=_0x1831b9,_0x15d650=this[_0x4fe77b(0x12d)](_0x198db8[_0x4fe77b(0x110)]);return _0x36207a[_0x15d650]||(_0x36207a[_0x15d650]=[]),_0x36207a[_0x15d650][_0x4fe77b(0x11c)](_0x198db8),_0x36207a;},{});_0x4e4532[_0x1831b9(0x14f)][_0x1831b9(0x10e)](_0x1831b9(0x12e))&&_0x4e4532[_0x1831b9(0x11f)][_0x1831b9(0x13a)](_0x1831b9(0x121))&&Object[_0x1831b9(0x118)](_0x274514)[_0x1831b9(0x14b)](([_0x4feddd,_0x28a528])=>{const _0x3d80ab=_0x1831b9;_0x4e4532[_0x3d80ab(0x14f)][_0x3d80ab(0x13a)](_0x3d80ab(0x12e))[_0x3d80ab(0x129)]({'name':_0x4feddd,'observable':()=>_0xa2f55b,'buttonViewCreator':()=>this[_0x3d80ab(0x136)](_0x28a528),'formViewCreator':()=>this[_0x3d80ab(0x105)](_0x28a528),'menuBarButtonViewCreator':()=>this[_0x3d80ab(0x12f)](_0x28a528),'override':_0x3d80ab(0x101)!==_0x4feddd});});}[_0x44153d(0x130)](){const _0x19acf3=_0x44153d;super[_0x19acf3(0x130)](),this[_0x19acf3(0x133)]&&clearInterval(this[_0x19acf3(0x133)]);}[_0x44153d(0x135)](_0x461f5e){const _0xb0f2a=_0x44153d,{locale:_0x505f08}=this[_0xb0f2a(0x111)];return _0x461f5e[_0xb0f2a(0x144)](_0x54afa5=>{const _0x184de2=_0xb0f2a,_0x5d2b8b=_0x1af1d0(_0x505f08,_0x54afa5,_0x184de2(0x10c));switch(_0x54afa5){case _0x215cd9[_0x184de2(0x106)]:return{'icon':_0x20144b,'type':_0x215cd9[_0x184de2(0x106)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x103)]:return{'icon':_0x1d4bea,'type':_0x215cd9[_0x184de2(0x103)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x14d)]:return{'icon':_0x3a5451,'type':_0x215cd9[_0x184de2(0x14d)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x140)]:return{'icon':_0x10a634,'type':_0x215cd9[_0x184de2(0x140)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x13c)]:return{'icon':_0x4bc46d,'type':_0x215cd9[_0x184de2(0x13c)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x131)]:return{'icon':_0x360462,'type':_0x215cd9[_0x184de2(0x131)],..._0x5d2b8b};case _0x215cd9[_0x184de2(0x11d)]:return{'icon':_0x3b418b,'type':_0x215cd9[_0x184de2(0x11d)],..._0x5d2b8b};}});}[_0x44153d(0x12d)](_0x3f9530){const _0x2a10ac=_0x44153d;switch(_0x3f9530){case _0x215cd9[_0x2a10ac(0x106)]:return _0x2a10ac(0x14e);case _0x215cd9[_0x2a10ac(0x103)]:return _0x2a10ac(0x102);default:return _0x2a10ac(0x101);}}[_0x44153d(0x120)](_0x5cb6c2,_0x191bdd){const _0x1ab195=_0x44153d,_0x2b4788=this[_0x1ab195(0x111)],_0x440069=new _0x5cb6c2(_0x2b4788[_0x1ab195(0x12c)]),_0x39de8a=_0x2b4788[_0x1ab195(0x11f)][_0x1ab195(0x13a)](_0x1ab195(0x121));return _0x440069[_0x1ab195(0x114)](_0x1ab195(0x109))['to'](_0x39de8a),_0x440069['on'](_0x1ab195(0x123),()=>{const _0x477945=_0x1ab195;_0x39de8a[_0x477945(0x123)](_0x191bdd);}),_0x440069;}[_0x44153d(0x136)](_0x40413a){const _0x43c9e4=_0x44153d,{locale:_0x2b6a83}=this[_0x43c9e4(0x111)],_0x4e4695=this[_0x43c9e4(0x111)][_0x43c9e4(0x14f)][_0x43c9e4(0x13a)](_0x43c9e4(0x12e)),_0x3961dc=_0x40413a[0x0],_0x1ea5ae=this[_0x43c9e4(0x120)](_0x43609b,_0x3961dc[_0x43c9e4(0x110)]);return _0x1ea5ae[_0x43c9e4(0x13d)]=_0x3961dc[_0x43c9e4(0x13d)],_0x1ea5ae[_0x43c9e4(0x114)](_0x43c9e4(0x138))['to'](_0x4e4695,_0x43c9e4(0x11a),_0x4445a5=>_0x1af1d0(_0x2b6a83,_0x3961dc[_0x43c9e4(0x110)],_0x4445a5?_0x43c9e4(0x127):_0x43c9e4(0x10c))[_0x43c9e4(0x119)]),_0x1ea5ae[_0x43c9e4(0x151)]=!0x0,_0x1ea5ae;}[_0x44153d(0x105)](_0x2abb81){const _0x5cf5d4=_0x44153d,{locale:_0x20b35e}=this[_0x5cf5d4(0x111)],_0x419014=this[_0x5cf5d4(0x111)][_0x5cf5d4(0x14f)][_0x5cf5d4(0x13a)](_0x5cf5d4(0x12e));return _0x2abb81[_0x5cf5d4(0x144)](_0x29764a=>{const _0x57b2ca=_0x5cf5d4,_0x199ea2=this[_0x57b2ca(0x120)](_0x43609b,_0x29764a[_0x57b2ca(0x110)]);return _0x199ea2[_0x57b2ca(0x128)]=!0x0,_0x199ea2[_0x57b2ca(0x13d)]=_0x29764a[_0x57b2ca(0x13d)],_0x199ea2[_0x57b2ca(0x114)](_0x57b2ca(0x138))['to'](_0x419014,_0x57b2ca(0x11a),_0x4f59b0=>_0x1af1d0(_0x20b35e,_0x29764a[_0x57b2ca(0x110)],_0x4f59b0?_0x57b2ca(0x127):_0x57b2ca(0x10c))[_0x57b2ca(0x119)]),_0x199ea2;});}[_0x44153d(0x12f)](_0x3b811c){const _0x29773a=_0x44153d;return _0x3b811c[_0x29773a(0x144)](_0x10070e=>{const _0x5387fa=_0x29773a,_0x4af5ca=this[_0x5387fa(0x120)](_0x69d12e,_0x10070e[_0x5387fa(0x110)]);return _0x4af5ca[_0x5387fa(0x13d)]=_0x10070e[_0x5387fa(0x13d)],_0x4af5ca[_0x5387fa(0x138)]=_0x10070e[_0x5387fa(0x134)],_0x4af5ca;});}}function _0x4c62(){const _0x4f8fe1=['forEach','isPremiumPlugin','Dropbox','upload','plugins','uploadcareLicenseKeyNotAllowed','tooltip','licenseKey','assetManager','url','URL','633577seVodZ','_createDropdownButtons','Local','init','uploadcareLicenseKeyUsageLimit','isEnabled','3305500YfEkWZ','featureNotAllowed','Insert','_showLicenseError','has','33oTIHqs','type','editor','222tHwfEL','reduce','bind','usageLimit','uploadcareLicenseKeyTrialLimit','uploadcare.uploader.sourceList','entries','text','isImageSelected','uploadcareLicenseKeyEvaluationLimit','push','OneDrive','domainLimit','commands','_createButton','uploadcare','uploadcareLicenseKeyValid','execute','10397620UlRAIt','1470148QGDXby','config','Replace','withText','registerIntegration','expired','evaluationLimit','locale','_getIntegrationKey','ImageInsertUI','_createMenuBarButtons','destroy','GPhotos','Uploadcare','_licenseKeyCheckInterval','shortText','_normalizeConfigSourceList','_createToolbarButton','trialLimit','label','uploadcareLicenseKeyInvalid','get','77133kzFgzh','GDrive','icon','afterInit','uploadcareLicenseKeyExpired','Facebook','65907eLRGpI','pluginName','UploadcareUI','map','461484qMLXTD','2oIYNKP','invalid','552kcvbYd','isOfficialPlugin','uploadcareLicenseKeyDomainLimit'];_0x4c62=function(){return _0x4f8fe1;};return _0x4c62();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5ba6cf}from'ckeditor5/src/core.js';import{FileRepository as _0x35f9b4}from'ckeditor5/src/upload.js';import _0x449dba from'./uploadcareediting.js';import _0x54931a from'./utils/uploadutils.js';import{getImageUrls as _0x4081e7}from'./utils/editingutils.js';export default class p extends _0x5ba6cf{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x35f9b4,_0x449dba];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x596296=this['editor'];if(!!!_0x596296['config']['get']('uploadcare'))return;_0x596296['plugins']['get'](_0x35f9b4)['createUploadAdapter']=_0x201615=>new x(_0x201615,_0x596296),_0x596296['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x15b2cd,{imageElement:_0x3a6249,data:_0xc557c6})=>{_0x596296['model']['change'](_0x31bfc3=>{_0x31bfc3['setAttribute']('uploadcareImageId',_0xc557c6['uploadcareImageId'],_0x3a6249);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x395cc4,_0x361d87){this['loader']=_0x395cc4,this['editor']=_0x361d87,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x52e6a5=this['editor']['config']['get']('uploadcare.pubkey'),_0x2e0e2=await this['loader']['file'];return _0x54931a['upload']({'file':_0x2e0e2,'publicKey':_0x52e6a5,'signal':this['controller']['signal'],'onProgress':_0x2a5254=>{_0x2a5254&&_0x2a5254['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a5254['value']);}})['then'](async _0x43f47d=>{const {imageFallbackUrl:_0x4185f8,imageSources:_0x35c869}=_0x4081e7(_0x43f47d['cdnUrl'],_0x43f47d['imageInfo']['width']);return{'uploadcareImageId':_0x43f47d['uuid'],'default':_0x4185f8,'sources':_0x35c869};})['catch'](()=>{const _0x76840c=t('Cannot\x20upload\x20file:')+('\x20'+_0x2e0e2['name']+'.');return Promise['reject'](_0x76840c);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x149eeb}from'../uploadcareconfig.js';export function getTranslation(_0x37ce9c,_0x5af8a0,_0x12030d){const t=_0x37ce9c['t'],_0x30fde3=_0x37ce9c['t'];switch(_0x5af8a0){case _0x149eeb['Local']:return{'text':_0x30fde3('Insert'===_0x12030d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30fde3('From\x20computer')};case _0x149eeb['URL']:return{'text':'Insert'===_0x12030d?_0x30fde3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30fde3('Via\x20URL')};case _0x149eeb['Dropbox']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x149eeb['Facebook']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x149eeb['GDrive']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x149eeb['GPhotos']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x149eeb['OneDrive']:return{'text':t('Insert'===_0x12030d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5af8a0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x476062=_0x4685;(function(_0x8d6a2e,_0x2f8d28){var _0x9787=_0x4685,_0x126b1f=_0x8d6a2e();while(!![]){try{var _0x10368b=-parseInt(_0x9787(0x10c))/0x1+-parseInt(_0x9787(0x102))/0x2+-parseInt(_0x9787(0x103))/0x3*(-parseInt(_0x9787(0x107))/0x4)+parseInt(_0x9787(0x105))/0x5+-parseInt(_0x9787(0x10b))/0x6+-parseInt(_0x9787(0x113))/0x7*(parseInt(_0x9787(0x112))/0x8)+-parseInt(_0x9787(0x10f))/0x9*(-parseInt(_0x9787(0x110))/0xa);if(_0x10368b===_0x2f8d28)break;else _0x126b1f['push'](_0x126b1f['shift']());}catch(_0x4d18a8){_0x126b1f['push'](_0x126b1f['shift']());}}}(_0x4df4,0x36f17));import{FocusTracker as _0xd63dba}from'ckeditor5/src/utils.js';function _0x4df4(){var _0x4951f8=['824udhLic','focusTracker','fire','true','2552028kcBAPd','74532fFxbTx','focusCycler','div','5337IkSWJn','14180eIYbFF','forwardCycle','33008YlfGcC','476SpIgRr','bindTemplate','447302SDECDz','4236VQTXap','getFocusableElement','486950HFSJmt','createCollection'];_0x4df4=function(){return _0x4951f8;};return _0x4df4();}import{View as _0x3655bb,FocusCycler as _0x255e4b}from'ckeditor5/src/ui.js';function _0x4685(_0xce2a59,_0x37bb44){var _0x4df4af=_0x4df4();return _0x4685=function(_0x4685ad,_0x4fca82){_0x4685ad=_0x4685ad-0x101;var _0x1cff11=_0x4df4af[_0x4685ad];return _0x1cff11;},_0x4685(_0xce2a59,_0x37bb44);}import'../../theme/uploadcare-form.css';export default class q extends _0x3655bb{[_0x476062(0x108)];[_0x476062(0x10d)];constructor(_0x477a79){var _0x1014b3=_0x476062;super(_0x477a79),this[_0x1014b3(0x108)]=new _0xd63dba(),this[_0x1014b3(0x10d)]=new _0x255e4b({'focusables':this[_0x1014b3(0x106)](),'focusTracker':this[_0x1014b3(0x108)]});}[_0x476062(0x104)](){var _0x1e82d4=_0x476062;return{'tag':_0x1e82d4(0x10e),'attributes':{'aria-hidden':_0x1e82d4(0x10a),'tabindex':'0'},'on':{'focus':this[_0x1e82d4(0x101)]['to'](()=>{var _0x31b231=_0x1e82d4;this[_0x31b231(0x10d)][_0x31b231(0x109)](_0x31b231(0x111));})}};}}
|