@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250130.0 → 0.0.0-nightly-20250201.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +8 -8
- 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/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1087(_0x5b40ec,_0x209abd){var _0x1b8bdb=_0x1b8b();return _0x1087=function(_0x1087d8,_0x3ec870){_0x1087d8=_0x1087d8-0x1e7;var _0x521065=_0x1b8bdb[_0x1087d8];return _0x521065;},_0x1087(_0x5b40ec,_0x209abd);}(function(_0x3c1739,_0x33bf14){var _0x591bf5=_0x1087,_0x585f84=_0x3c1739();while(!![]){try{var _0x3f104c=parseInt(_0x591bf5(0x1f1))/0x1+parseInt(_0x591bf5(0x1f8))/0x2+parseInt(_0x591bf5(0x1e8))/0x3+parseInt(_0x591bf5(0x1ee))/0x4*(-parseInt(_0x591bf5(0x1fa))/0x5)+-parseInt(_0x591bf5(0x1fb))/0x6+parseInt(_0x591bf5(0x1fd))/0x7+parseInt(_0x591bf5(0x1f2))/0x8*(-parseInt(_0x591bf5(0x1f0))/0x9);if(_0x3f104c===_0x33bf14)break;else _0x585f84['push'](_0x585f84['shift']());}catch(_0x1fdc26){_0x585f84['push'](_0x585f84['shift']());}}}(_0x1b8b,0x1ad36));function _0x1b8b(){var _0x3ffb60=['664MBZJga','Dropbox','instagram','gdrive','local','url','157010KiYJQb','gphotos','5SFQTGj','986502AQsaON','dropbox','1309315aeShhL','Instagram','onedrive','GDrive','4779zCbgoq','Local','GPhotos','Facebook','facebook','URL','519952UUlKjI','OneDrive','3006RalolJ','164862KShODe'];_0x1b8b=function(){return _0x3ffb60;};return _0x1b8b();}export var UploadcareSource;!function(_0x39fbd6){var _0x33f310=_0x1087;_0x39fbd6[_0x33f310(0x1e9)]=_0x33f310(0x1f6),_0x39fbd6[_0x33f310(0x1ed)]=_0x33f310(0x1f7),_0x39fbd6[_0x33f310(0x1f3)]=_0x33f310(0x1fc),_0x39fbd6[_0x33f310(0x1e7)]=_0x33f310(0x1f5),_0x39fbd6[_0x33f310(0x1eb)]=_0x33f310(0x1ec),_0x39fbd6[_0x33f310(0x1ea)]=_0x33f310(0x1f9),_0x39fbd6[_0x33f310(0x1fe)]=_0x33f310(0x1f4),_0x39fbd6[_0x33f310(0x1ef)]=_0x33f310(0x1ff);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x451f79=_0x3344;(function(_0x451043,_0x3b00c2){const _0x19fd67=_0x3344,_0x1d89d7=_0x451043();while(!![]){try{const _0x5dca75=-parseInt(_0x19fd67(0x1a1))/0x1*(-parseInt(_0x19fd67(0x199))/0x2)+parseInt(_0x19fd67(0x1b1))/0x3+parseInt(_0x19fd67(0x1b9))/0x4*(parseInt(_0x19fd67(0x1b3))/0x5)+-parseInt(_0x19fd67(0x1b8))/0x6*(-parseInt(_0x19fd67(0x1c6))/0x7)+-parseInt(_0x19fd67(0x1cd))/0x8+parseInt(_0x19fd67(0x1a7))/0x9+-parseInt(_0x19fd67(0x1b5))/0xa*(parseInt(_0x19fd67(0x1be))/0xb);if(_0x5dca75===_0x3b00c2)break;else _0x1d89d7['push'](_0x1d89d7['shift']());}catch(_0x4da86e){_0x1d89d7['push'](_0x1d89d7['shift']());}}}(_0x1349,0x28e4d));import{Plugin as _0x2e95c8}from'ckeditor5/src/core.js';function _0x1349(){const _0x225b22=['editor','view','downcast','map','afterInit','1999536pLjsfB','querySelector','document','model','_initConfig','pluginName','\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','true','get','locale','remove','appendChild','_initSchema','uploadcare.uploader','render','once','closeMax','uploader','UploadcareEditing','imageInline','init','destroy','insertImage','ctxElement','#uc-icon-arrow-down','input[uploadcare-file-input]','requires','listenTo','isOfficialPlugin','removeAttribute','selection','getSelectedElement','href','2eBwpAR','data-uc-image-id','extend','iconHrefResolver','fromCharCode','uc-upload-ctx-provider','uploadcareImageId','add','40487HlWbgm','uploadcareImageReplace','PictureEditing','_configElement','uc-config','_initImageProcessingIndicator','1280853wDZZRr','commands','body','uploadcare.pubkey','attributeToAttribute','config','isRegistered','schema','_ctxElement','upcast','74295ENqPcw','uploadcare','211095GXkcAc','getAttribute','75580oFPvjZ','editing','contentLanguage','30hjoLnX','28lCNQXg','cleanupImage','execute','imageBlock','configElement','143awzGXY','join','_initCtx','isPremiumPlugin','elementToAttribute','for','conversion','_initConversion','17633BVRVfq','replaceImageSource'];_0x1349=function(){return _0x225b22;};return _0x1349();}import{Dialog as _0x3786ce}from'ckeditor5/src/ui.js';import{createElement as _0x3aec1c,global as _0x4b6759,uid as _0x314e88}from'ckeditor5/src/utils.js';import _0xab927b from'./uploadcarecommand.js';function _0x3344(_0x57f814,_0x5a0ea7){const _0x134945=_0x1349();return _0x3344=function(_0x3344f6,_0x437306){_0x3344f6=_0x3344f6-0x17d;let _0x38e532=_0x134945[_0x3344f6];return _0x38e532;},_0x3344(_0x57f814,_0x5a0ea7);}import _0x5cff52 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xb088b2}from'./utils/editingutils.js';export default class i extends _0x2e95c8{constructor(){const _0x3c9a36=_0x3344;super(...arguments),this[_0x3c9a36(0x1a4)]=null,this[_0x3c9a36(0x1af)]=null;}static get[_0x451f79(0x17d)](){const _0x3ab5f1=_0x451f79;return _0x3ab5f1(0x18a);}static get[_0x451f79(0x192)](){const _0x4dd250=_0x451f79;return[_0x4dd250(0x1a3),_0x5cff52,_0x3786ce];}static get[_0x451f79(0x194)](){return!0x0;}static get[_0x451f79(0x1c1)](){return!0x0;}get[_0x451f79(0x1bd)](){const _0x2248f6=_0x451f79;return this[_0x2248f6(0x1a4)];}get[_0x451f79(0x18f)](){const _0x28a649=_0x451f79;return this[_0x28a649(0x1af)];}[_0x451f79(0x18c)](){const _0x53ad98=_0x451f79,_0x4540b6=this[_0x53ad98(0x1c8)];_0x4540b6[_0x53ad98(0x1a8)][_0x53ad98(0x1a0)](_0x53ad98(0x1b2),new _0xab927b(_0x4540b6));}[_0x451f79(0x1cc)](){const _0xd5f0b3=_0x451f79;this[_0xd5f0b3(0x184)](),this[_0xd5f0b3(0x1c5)](),this[_0xd5f0b3(0x1d1)](),this[_0xd5f0b3(0x1c0)](),this[_0xd5f0b3(0x1a6)](),this[_0xd5f0b3(0x193)](this[_0xd5f0b3(0x1c8)],_0xd5f0b3(0x18d),()=>{const _0x222cd8=_0xd5f0b3;this[_0x222cd8(0x1a4)]&&(this[_0x222cd8(0x1a4)][_0x222cd8(0x182)](),this[_0x222cd8(0x1a4)]=null),this[_0x222cd8(0x1af)]&&(this[_0x222cd8(0x1af)][_0x222cd8(0x182)](),this[_0x222cd8(0x1af)]=null);const _0x53f977=_0x4b6759[_0x222cd8(0x1cf)][_0x222cd8(0x1ce)](_0x222cd8(0x191));_0x53f977&&_0x53f977[_0x222cd8(0x182)]();}),async function(_0x2b3be9){const _0x4a85ca=_0x1e15c7([0x34,0x44,0x68,0x41,0x5a,0x62,0x39,0x46,0x4d,0x78,0x59,0x70,0x47,0x6f,0x38,0x57,0x50,0x48,0x61,0x31,0x55,0x73,0x53,0x51,0x76,0x42,0x4b,0x33,0x7a,0x56,0x6d,0x4a,0x54,0x77,0x74,0x45,0x36,0x69,0x71,0x4e,0x6c,0x35,0x37,0x49,0x30,0x6b,0x6e,0x6a,0x32,0x79,0x67,0x4c,0x64,0x52,0x75,0x43,0x65,0x58,0x4f,0x72,0x66,0x63]),_0x4f6256=0x3465f2ea,_0x15483a=0x3462acfa^_0x4f6256,_0x295ce3=window[_0x1e15c7([0x44,0x61,0x74,0x65])][_0x1e15c7([0x6e,0x6f,0x77])](),_0x51e25a=_0x2b3be9[_0x1e15c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fa60e=new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x484b1c=>{_0x51e25a[_0x1e15c7([0x6f,0x6e,0x63,0x65])](_0x1e15c7([0x72,0x65,0x61,0x64,0x79]),_0x484b1c);}),_0x3eafab={[_0x1e15c7([0x6b,0x74,0x79])]:_0x1e15c7([0x45,0x43]),[_0x1e15c7([0x75,0x73,0x65])]:_0x1e15c7([0x73,0x69,0x67]),[_0x1e15c7([0x63,0x72,0x76])]:_0x1e15c7([0x50,0x2d,0x32,0x35,0x36]),[_0x1e15c7([0x78])]:_0x1e15c7([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]),[_0x1e15c7([0x79])]:_0x1e15c7([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]),[_0x1e15c7([0x61,0x6c,0x67])]:_0x1e15c7([0x45,0x53,0x32,0x35,0x36])},_0x3ecb4f=_0x51e25a[_0x1e15c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e15c7([0x67,0x65,0x74])](_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x189078(){let _0x313af5,_0x9bf203=null,_0x58fc4d=null;try{if(_0x3ecb4f==_0x1e15c7([0x47,0x50,0x4c]))return _0x1e15c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x313af5=_0x2e0578(),!_0x313af5)return _0x1e15c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x313af5[_0x1e15c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58fc4d=_0x5335f4(_0x313af5[_0x1e15c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x313af5[_0x1e15c7([0x6a,0x74,0x69])])),await _0x11c9c6()?_0x37ad03()?_0x4c19c5()?_0x1e15c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x289351()?(_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e15c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9bf203=_0x2f8ef8(_0x1e15c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e15c7([0x74,0x72,0x69,0x61,0x6c])&&(_0x9bf203=_0x2f8ef8(_0x1e15c7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ca4c4()):_0x1e15c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e15c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e15c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x31b4e0){return _0x1e15c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c19c5(){const _0x55ce33=[_0x1e15c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e15c7([0x74,0x72,0x69,0x61,0x6c])][_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x295ce3/0x3e8:0xe10*_0x15483a;return _0x313af5[_0x1e15c7([0x65,0x78,0x70])]<_0x55ce33;}function _0x37ad03(){const _0x3e0208=_0x313af5[_0x1e15c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e0208&&(!!_0x3e0208[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e15c7([0x2a]))||!!_0x3e0208[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e15c7([0x55,0x50,0x4c,0x43])));}function _0x289351(){const _0x422384=_0x3344,_0x33caab=_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33caab||0x0==_0x33caab[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29d744}=new URL(window[_0x1e15c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x422384(0x198)]);if(_0x33caab[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d744))return!0x0;const _0x34adef=_0x29d744[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e]));return _0x33caab[_0x1e15c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ed999=>_0x4ed999[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e15c7([0x2a])))[_0x1e15c7([0x6d,0x61,0x70])](_0x1c8faf=>_0x1c8faf[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e])))[_0x1e15c7([0x73,0x6f,0x6d,0x65])](_0x429be8=>_0x34adef[_0x1e15c7([0x65,0x76,0x65,0x72,0x79])]((_0x5002fb,_0x5c75cf)=>_0x429be8[_0x5c75cf]===_0x5002fb||_0x429be8[_0x5c75cf]===_0x1e15c7([0x2a])));}function _0x1ca4c4(){return _0x9bf203&&_0x58fc4d?new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c8f21,_0x49354c)=>{_0x9bf203[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x1c8f21,_0x49354c),_0x58fc4d[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x68379d=>{_0x68379d!=_0x1e15c7([0x56,0x61,0x6c,0x69,0x64])&&_0x1c8f21(_0x68379d);},_0x49354c);}):_0x9bf203||_0x58fc4d||_0x1e15c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5335f4(_0x3514e4,_0x57c553){return new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x644119=>{if(_0x20b1a0())return _0x644119(_0x1e15c7([0x56,0x61,0x6c,0x69,0x64]));_0x2527a4(),_0x51e25a[_0x1e15c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e15c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b957f=!0x1;const _0x5bc3b4=_0x314e88();function _0x20cea2(_0x1d152f){return!!_0x1d152f&&(typeof _0x1d152f===_0x1e15c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d152f===_0x1e15c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d152f[_0x1e15c7([0x74,0x68,0x65,0x6e])]===_0x1e15c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d152f[_0x1e15c7([0x63,0x61,0x74,0x63,0x68])]===_0x1e15c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cc77b(_0x384cd5){_0x36301a(_0x384cd5)[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x104ac0=>{if(!_0x104ac0||_0x104ac0[_0x1e15c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e15c7([0x6f,0x6b]))return _0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5147b5(_0x16d60a(_0x5bc3b4+_0x57c553))!=_0x104ac0[_0x1e15c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e15c7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x3b7569=>(_0x3a82c5(),_0x3b7569),()=>{const _0x16d1de=_0xfc492a();return null==_0x16d1de?(_0x3a82c5(),_0x1e15c7([0x56,0x61,0x6c,0x69,0x64])):_0x1e15c7(_0x295ce3-_0x16d1de>(0x106976ea^_0x4f6256)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x644119)[_0x1e15c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x644119(_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b45ba=0x34531c6a^_0x4f6256;function _0x3a82c5(){const _0x454996=_0x1e15c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5147b5(_0x16d60a(_0x3514e4)),_0x27c249=_0x3fe816(_0x5147b5(window[_0x1e15c7([0x4d,0x61,0x74,0x68])][_0x1e15c7([0x63,0x65,0x69,0x6c])](_0x295ce3/_0x4b45ba)));window[_0x1e15c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e15c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x454996,_0x27c249);}function _0xfc492a(){const _0x2d8058=_0x1e15c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5147b5(_0x16d60a(_0x3514e4)),_0x4ea2b2=window[_0x1e15c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e15c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d8058);return _0x4ea2b2?window[_0x1e15c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe816(_0x4ea2b2),0x10)*_0x4b45ba:null;}function _0x36301a(_0x75b346){return new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29bcf1,_0x461c75)=>{_0x75b346[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x29bcf1,_0x461c75),window[_0x1e15c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x461c75,0x3464262a^_0x4f6256);});}}_0x51e25a[_0x1e15c7([0x6f,0x6e])](_0x1e15c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d7b7b,_0x33787b)=>{if(_0x33787b[0x0]!=_0x3514e4)return _0x644119(_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33787b[0x1]={..._0x33787b[0x1],[_0x1e15c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc3b4};},{[_0x1e15c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e15c7([0x68,0x69,0x67,0x68])}),_0x51e25a[_0x1e15c7([0x6f,0x6e])](_0x1e15c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2dc411=>{_0x20cea2(_0x2dc411[_0x1e15c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b957f=!0x0,_0x5cc77b(_0x2dc411[_0x1e15c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e15c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e15c7([0x6c,0x6f,0x77])}),_0x3fa60e[_0x1e15c7([0x74,0x68,0x65,0x6e])](()=>{_0x4b957f||_0x644119(_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b1a0(){return _0x51e25a[_0x1e15c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e15c7([0x76,0x69,0x65,0x77])][_0x1e15c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e15c7([0x61,0x75,0x74,0x6f]);}function _0x2527a4(){_0x51e25a[_0x1e15c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e15c7([0x76,0x69,0x65,0x77])][_0x1e15c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e15c7([0x61,0x75,0x74,0x6f]);}}function _0x2f8ef8(_0xeab212){const _0x43a31f=[new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f06f4=>setTimeout(_0x4f06f4,0x346ccc26^_0x4f6256)),_0x3fa60e[_0x1e15c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ee1d=>{let _0x25cdc1=0x0;_0x51e25a[_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e15c7([0x6f,0x6e])](_0x1e15c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56f643,_0x13b583)=>{_0x13b583[0x0][_0x1e15c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25cdc1++,_0x25cdc1==(0x3465f312^_0x4f6256)&&(_0x19ee1d(),_0x56f643[_0x1e15c7([0x6f,0x66,0x66])]());});}))];return window[_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e15c7([0x72,0x61,0x63,0x65])](_0x43a31f)[_0x1e15c7([0x74,0x68,0x65,0x6e])](()=>_0xeab212);}async function _0x270595(){await _0x3fa60e,_0x51e25a[_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e15c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbc0de,_0x51e25a[_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e15c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbc0de,_0x51e25a[_0x1e15c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d1fc2(_0xdcfeeb){const _0x45c4a=_0x3aac3c();_0x51e25a[_0x45c4a]=_0x1e15c7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdcfeeb,_0xdcfeeb!=_0x1e15c7([0x56,0x61,0x6c,0x69,0x64])&&_0x270595();}function _0x3aac3c(){const _0x32ee72=window[_0x1e15c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e15c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e15c7([0x6e,0x6f,0x77])]())[_0x1e15c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e15c7([0x2e]),'');let _0x49786b=_0x1e15c7([0x44]);for(let _0x244cff=0x0;_0x244cff<_0x32ee72[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244cff+=0x2){let _0x2892b9=window[_0x1e15c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ee72[_0x1e15c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244cff,_0x244cff+0x2));_0x2892b9>=_0x4a85ca[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2892b9-=_0x4a85ca[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49786b+=_0x4a85ca[_0x2892b9];}return _0x49786b;}function _0x2e0578(){const _0x1661e0=_0x3ecb4f[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e]));if(0x3!=_0x1661e0[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4eab5d(_0x1661e0[0x1]);function _0x4eab5d(_0x2cbf9e){const _0x26c317=_0x3ecbbc(_0x2cbf9e);return _0x26c317&&_0x48299c()?_0x26c317:null;function _0x48299c(){const _0xf6bab9=_0x26c317[_0x1e15c7([0x6a,0x74,0x69])],_0x2eeb43=window[_0x1e15c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf6bab9[_0x1e15c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf6bab9[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5595b0={..._0x26c317,[_0x1e15c7([0x6a,0x74,0x69])]:_0xf6bab9[_0x1e15c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf6bab9[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5595b0[_0x1e15c7([0x76,0x63])],_0x16d60a(_0x5595b0)==_0x2eeb43;}}}async function _0x11c9c6(){let _0x4d47b0=!0x0;try{const _0x38ff4e=_0x3ecb4f[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e])),[_0x36c50e,_0x5256e9,_0x483def]=_0x38ff4e;return _0x36fe0e(_0x36c50e),await _0x143af2(_0x36c50e,_0x5256e9,_0x483def),_0x4d47b0;}catch(_0x1c3657){return!0x1;}function _0x36fe0e(_0x5dedff){const _0x4a6c05=_0x3ecbbc(_0x5dedff);_0x4a6c05&&_0x4a6c05[_0x1e15c7([0x61,0x6c,0x67])]==_0x1e15c7([0x45,0x53,0x32,0x35,0x36])||(_0x4d47b0=!0x1);}async function _0x143af2(_0x3958a1,_0x2275ea,_0x1511ba){const _0x4b56cf=window[_0x1e15c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e15c7([0x66,0x72,0x6f,0x6d])](_0x14f524(_0x1511ba),_0x129c49=>_0x129c49[_0x1e15c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb48578=new window[(_0x1e15c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e15c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3958a1+_0x1e15c7([0x2e])+_0x2275ea),_0x33d7ce=window[_0x1e15c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e15c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33d7ce)return;const _0x3f863c=await _0x33d7ce[_0x1e15c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e15c7([0x6a,0x77,0x6b]),_0x3eafab,{[_0x1e15c7([0x6e,0x61,0x6d,0x65])]:_0x1e15c7([0x45,0x43,0x44,0x53,0x41]),[_0x1e15c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e15c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e15c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33d7ce[_0x1e15c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e15c7([0x6e,0x61,0x6d,0x65])]:_0x1e15c7([0x45,0x43,0x44,0x53,0x41]),[_0x1e15c7([0x68,0x61,0x73,0x68])]:{[_0x1e15c7([0x6e,0x61,0x6d,0x65])]:_0x1e15c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f863c,_0x4b56cf,_0xb48578)||(_0x4d47b0=!0x1);}}function _0x3ecbbc(_0x2147e4){return _0x2147e4[_0x1e15c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e15c7([0x65,0x79]))?JSON[_0x1e15c7([0x70,0x61,0x72,0x73,0x65])](_0x14f524(_0x2147e4)):null;}function _0x14f524(_0x482e28){return window[_0x1e15c7([0x61,0x74,0x6f,0x62])](_0x482e28[_0x1e15c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e15c7([0x2b]))[_0x1e15c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e15c7([0x2f])));}function _0x16d60a(_0x501168){let _0x335d10=0x1505;function _0x2c94d5(_0x51b158){for(let _0x2a4271=0x0;_0x2a4271<_0x51b158[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a4271++){const _0x4869fb=_0x51b158[_0x1e15c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a4271);_0x335d10=(_0x335d10<<0x5)+_0x335d10+_0x4869fb,_0x335d10&=_0x335d10;}}function _0x39d701(_0x4d1449){Array[_0x1e15c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d1449)?_0x4d1449[_0x1e15c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39d701):_0x4d1449&&typeof _0x4d1449==_0x1e15c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e15c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d1449)[_0x1e15c7([0x73,0x6f,0x72,0x74])]()[_0x1e15c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x168aa0,_0x1a421a])=>{_0x2c94d5(_0x168aa0),_0x39d701(_0x1a421a);}):_0x2c94d5(window[_0x1e15c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d1449));}return _0x39d701(_0x501168),_0x335d10>>>0x0;}function _0x5147b5(_0xd3de18){return _0xd3de18[_0x1e15c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e15c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e15c7([0x30]));}function _0x3fe816(_0x34cd54){return _0x34cd54[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e15c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e15c7([0x6a,0x6f,0x69,0x6e])]('');}function _0xbc0de(){}function _0x1e15c7(_0x4f836b){const _0x447049=_0x3344;return _0x4f836b[_0x447049(0x1cb)](_0x37b8c6=>String[_0x447049(0x19d)](_0x37b8c6))[_0x447049(0x1bf)]('');}_0x3d1fc2(await _0x189078());}(this);}[_0x451f79(0x184)](){const _0x23805f=_0x451f79,_0x5b9b51=this[_0x23805f(0x1c8)][_0x23805f(0x1d0)][_0x23805f(0x1ae)];_0x5b9b51[_0x23805f(0x1ad)](_0x23805f(0x1bc))&&_0x5b9b51[_0x23805f(0x19b)](_0x23805f(0x1bc),{'allowAttributes':[_0x23805f(0x19f)]}),_0x5b9b51[_0x23805f(0x1ad)](_0x23805f(0x18b))&&_0x5b9b51[_0x23805f(0x19b)](_0x23805f(0x18b),{'allowAttributes':[_0x23805f(0x19f)]});}[_0x451f79(0x1c5)](){const _0x272110=_0x451f79,_0x3bb810=this[_0x272110(0x1c8)];_0x3bb810[_0x272110(0x1c4)][_0x272110(0x1c3)](_0x272110(0x1ca))[_0x272110(0x1ab)]({'model':_0x272110(0x19f),'view':_0x272110(0x19a)}),_0x3bb810[_0x272110(0x1c4)][_0x272110(0x1c3)](_0x272110(0x1b0))[_0x272110(0x1c2)]({'model':{'key':_0x272110(0x19f),'value':_0x39714c=>_0x39714c[_0x272110(0x1b4)](_0x272110(0x19a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x23ae03=_0x3bb810[_0x272110(0x1a8)][_0x272110(0x180)](_0x272110(0x1c7));_0x23ae03&&this[_0x272110(0x193)](_0x23ae03,_0x272110(0x1ba),(_0x143e3e,[_0x1b5624,_0x1bec21])=>{const _0x3b4be6=_0x272110;_0x1b5624[_0x3b4be6(0x195)](_0x3b4be6(0x19f),_0x1bec21);});}[_0x451f79(0x1d1)](){const _0x14a38b=_0x451f79,_0xeb7f1=this[_0x14a38b(0x1c8)][_0x14a38b(0x1ac)][_0x14a38b(0x180)](_0x14a38b(0x185))||{},_0x2c1b1f=this[_0x14a38b(0x1c8)][_0x14a38b(0x1ac)][_0x14a38b(0x180)](_0x14a38b(0x1aa))||'';this[_0x14a38b(0x1a4)]=_0x3aec1c(_0x4b6759[_0x14a38b(0x1cf)],_0x14a38b(0x1a5),{..._0xeb7f1,'pubkey':_0x2c1b1f,'ctx-name':_0x14a38b(0x189),'sourceList':'','imgOnly':_0x14a38b(0x17f),'removeCopyright':_0x14a38b(0x17f),'localeName':this[_0x14a38b(0x1c8)][_0x14a38b(0x181)][_0x14a38b(0x1b7)],'externalSourcesEmbedCss':_0x14a38b(0x17e)}),this[_0x14a38b(0x1a4)][_0x14a38b(0x19c)]=_0x24c04c=>{const _0x3ca44f=_0x14a38b;if(_0x3ca44f(0x188)==_0x24c04c)return _0x3ca44f(0x190);},_0x4b6759[_0x14a38b(0x1cf)][_0x14a38b(0x1a9)][_0x14a38b(0x183)](this[_0x14a38b(0x1a4)]);}[_0x451f79(0x1c0)](){const _0x1829e9=_0x451f79;this[_0x1829e9(0x1af)]=_0x3aec1c(_0x4b6759[_0x1829e9(0x1cf)],_0x1829e9(0x19e),{'ctx-name':_0x1829e9(0x189)}),_0x4b6759[_0x1829e9(0x1cf)][_0x1829e9(0x1a9)][_0x1829e9(0x183)](this[_0x1829e9(0x1af)]);}[_0x451f79(0x1a6)](){const _0x1e4a63=_0x451f79,_0x67e13=this[_0x1e4a63(0x1c8)][_0x1e4a63(0x1a8)][_0x1e4a63(0x180)](_0x1e4a63(0x18e));_0x67e13&&this[_0x1e4a63(0x193)](_0x67e13,_0x1e4a63(0x1bb),()=>{const _0x4f2048=_0x1e4a63,_0x22d04c=this[_0x4f2048(0x1c8)][_0x4f2048(0x1d0)][_0x4f2048(0x1cf)][_0x4f2048(0x196)][_0x4f2048(0x197)]();_0x22d04c&&_0x22d04c[_0x4f2048(0x1b4)](_0x4f2048(0x19f))&&this[_0x4f2048(0x1c8)][_0x4f2048(0x1b6)][_0x4f2048(0x1c9)][_0x4f2048(0x187)](_0x4f2048(0x186),()=>{const _0x762653=_0x4f2048;_0xb088b2(this[_0x762653(0x1c8)],_0x22d04c);});});const _0x41f884=this[_0x1e4a63(0x1c8)][_0x1e4a63(0x1a8)][_0x1e4a63(0x180)](_0x1e4a63(0x1a2));_0x41f884&&this[_0x1e4a63(0x193)](_0x41f884,_0x1e4a63(0x1bb),()=>{const _0x104f85=_0x1e4a63,_0x58e5c0=this[_0x104f85(0x1c8)][_0x104f85(0x1d0)][_0x104f85(0x1cf)][_0x104f85(0x196)][_0x104f85(0x197)]();_0x58e5c0&&_0x58e5c0[_0x104f85(0x1b4)](_0x104f85(0x19f))&&this[_0x104f85(0x1c8)][_0x104f85(0x1b6)][_0x104f85(0x1c9)][_0x104f85(0x187)](_0x104f85(0x186),()=>{const _0x5d06bf=_0x104f85;_0xb088b2(this[_0x5d06bf(0x1c8)],_0x58e5c0);});});}}
|
|
23
|
+
const _0xfbe644=_0x5200;(function(_0x515e6b,_0x32362b){const _0x24b08d=_0x5200,_0x264381=_0x515e6b();while(!![]){try{const _0x4194a1=parseInt(_0x24b08d(0x18a))/0x1*(parseInt(_0x24b08d(0x17b))/0x2)+parseInt(_0x24b08d(0x16b))/0x3*(parseInt(_0x24b08d(0x178))/0x4)+-parseInt(_0x24b08d(0x189))/0x5*(-parseInt(_0x24b08d(0x162))/0x6)+-parseInt(_0x24b08d(0x16f))/0x7+-parseInt(_0x24b08d(0x1a9))/0x8+-parseInt(_0x24b08d(0x163))/0x9*(parseInt(_0x24b08d(0x164))/0xa)+parseInt(_0x24b08d(0x199))/0xb*(parseInt(_0x24b08d(0x1af))/0xc);if(_0x4194a1===_0x32362b)break;else _0x264381['push'](_0x264381['shift']());}catch(_0x360230){_0x264381['push'](_0x264381['shift']());}}}(_0x56c3,0xf1dd4));import{Plugin as _0xa558c6}from'ckeditor5/src/core.js';function _0x56c3(){const _0x4c065c=['remove','_ctxElement','879378URQTvN','25722auTPpB','4630mRnCMX','commands','locale','init','elementToAttribute','true','contentLanguage','61020fptTBe','uc-upload-ctx-provider','pluginName','afterInit','11792935IIGEzb','once','imageBlock','querySelector','downcast','replaceImageSource','uploadcare','join','closeMax','156oKboRW','uploadcareImageId','config','62392lDYqrQ','getAttribute','ctxElement','#uc-icon-arrow-down','upcast','uploader','destroy','attributeToAttribute','isPremiumPlugin','_initSchema','iconHrefResolver','extend','uploadcare.pubkey','body','5RQuUve','57oGNfkT','_initImageProcessingIndicator','document','view','schema','editing','editor','appendChild','uploadcare.uploader','input[uploadcare-file-input]','_initConfig','cleanupImage','_initCtx','get','_configElement','11AdyvLh','fromCharCode','getSelectedElement','add','imageInline','selection','requires','configElement','execute','removeAttribute','PictureEditing','uc-config','_initConversion','for','render','map','11543480xuPTDS','insertImage','listenTo','\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','href','uploadcareImageReplace','32682900PltQmd','UploadcareEditing','model','conversion','isRegistered','isOfficialPlugin','data-uc-image-id'];_0x56c3=function(){return _0x4c065c;};return _0x56c3();}import{Dialog as _0xf7a888}from'ckeditor5/src/ui.js';import{createElement as _0x1cc2ce,global as _0x4cb2d9,uid as _0x460c5f}from'ckeditor5/src/utils.js';function _0x5200(_0x121174,_0x3cdea6){const _0x56c377=_0x56c3();return _0x5200=function(_0x520094,_0x5de50f){_0x520094=_0x520094-0x15f;let _0x5c1692=_0x56c377[_0x520094];return _0x5c1692;},_0x5200(_0x121174,_0x3cdea6);}import _0x44b690 from'./uploadcarecommand.js';import _0x145ee from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x49539b}from'./utils/editingutils.js';export default class i extends _0xa558c6{constructor(){const _0x2b5e1d=_0x5200;super(...arguments),this[_0x2b5e1d(0x198)]=null,this[_0x2b5e1d(0x161)]=null;}static get[_0xfbe644(0x16d)](){const _0x351824=_0xfbe644;return _0x351824(0x1b0);}static get[_0xfbe644(0x19f)](){const _0x121450=_0xfbe644;return[_0x121450(0x1a3),_0x145ee,_0xf7a888];}static get[_0xfbe644(0x1b4)](){return!0x0;}static get[_0xfbe644(0x183)](){return!0x0;}get[_0xfbe644(0x1a0)](){const _0x481c26=_0xfbe644;return this[_0x481c26(0x198)];}get[_0xfbe644(0x17d)](){const _0x184159=_0xfbe644;return this[_0x184159(0x161)];}[_0xfbe644(0x167)](){const _0x1439c9=_0xfbe644,_0x241cff=this[_0x1439c9(0x190)];_0x241cff[_0x1439c9(0x165)][_0x1439c9(0x19c)](_0x1439c9(0x175),new _0x44b690(_0x241cff));}[_0xfbe644(0x16e)](){const _0x2bd72a=_0xfbe644;this[_0x2bd72a(0x184)](),this[_0x2bd72a(0x1a5)](),this[_0x2bd72a(0x194)](),this[_0x2bd72a(0x196)](),this[_0x2bd72a(0x18b)](),this[_0x2bd72a(0x1ab)](this[_0x2bd72a(0x190)],_0x2bd72a(0x181),()=>{const _0x22b86a=_0x2bd72a;this[_0x22b86a(0x198)]&&(this[_0x22b86a(0x198)][_0x22b86a(0x160)](),this[_0x22b86a(0x198)]=null),this[_0x22b86a(0x161)]&&(this[_0x22b86a(0x161)][_0x22b86a(0x160)](),this[_0x22b86a(0x161)]=null);const _0x3f8033=_0x4cb2d9[_0x22b86a(0x18c)][_0x22b86a(0x172)](_0x22b86a(0x193));_0x3f8033&&_0x3f8033[_0x22b86a(0x160)]();}),async function(_0xeb4d2b){const _0x47416f=_0x4f98c9([0x63,0x31,0x39,0x72,0x4a,0x77,0x53,0x6e,0x57,0x7a,0x65,0x66,0x37,0x33,0x71,0x6c,0x56,0x45,0x30,0x41,0x78,0x35,0x4f,0x46,0x42,0x6f,0x55,0x6b,0x76,0x44,0x43,0x4d,0x38,0x51,0x52,0x67,0x49,0x69,0x75,0x4e,0x73,0x79,0x74,0x59,0x47,0x62,0x4b,0x6a,0x4c,0x61,0x70,0x36,0x64,0x6d,0x5a,0x50,0x58,0x34,0x68,0x48,0x32,0x54]),_0x270f9b=0x2bae127d,_0x308e12=0x2ba94c3d^_0x270f9b,_0xf7d394=window[_0x4f98c9([0x44,0x61,0x74,0x65])][_0x4f98c9([0x6e,0x6f,0x77])](),_0xa438b6=_0xeb4d2b[_0x4f98c9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25edb7=new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a0641=>{_0xa438b6[_0x4f98c9([0x6f,0x6e,0x63,0x65])](_0x4f98c9([0x72,0x65,0x61,0x64,0x79]),_0x4a0641);}),_0xa4a9e1={[_0x4f98c9([0x6b,0x74,0x79])]:_0x4f98c9([0x45,0x43]),[_0x4f98c9([0x75,0x73,0x65])]:_0x4f98c9([0x73,0x69,0x67]),[_0x4f98c9([0x63,0x72,0x76])]:_0x4f98c9([0x50,0x2d,0x32,0x35,0x36]),[_0x4f98c9([0x78])]:_0x4f98c9([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]),[_0x4f98c9([0x79])]:_0x4f98c9([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]),[_0x4f98c9([0x61,0x6c,0x67])]:_0x4f98c9([0x45,0x53,0x32,0x35,0x36])},_0x15fc5d=_0xa438b6[_0x4f98c9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f98c9([0x67,0x65,0x74])](_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x106eee(){let _0x23c968,_0x1b1ade=null,_0x260590=null;try{if(_0x15fc5d==_0x4f98c9([0x47,0x50,0x4c]))return _0x4f98c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23c968=_0x56bd74(),!_0x23c968)return _0x4f98c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23c968[_0x4f98c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x260590=_0x3cfe98(_0x23c968[_0x4f98c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23c968[_0x4f98c9([0x6a,0x74,0x69])])),await _0x3523bd()?_0x21d30b()?_0x29bcb3()?_0x4f98c9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e4965()?(_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f98c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b1ade=_0x4eb4b1(_0x4f98c9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f98c9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b1ade=_0x4eb4b1(_0x4f98c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37716a()):_0x4f98c9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f98c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f98c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x7e0c70){return _0x4f98c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29bcb3(){const _0x4b9953=[_0x4f98c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f98c9([0x74,0x72,0x69,0x61,0x6c])][_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf7d394/0x3e8:0xe10*_0x308e12;return _0x23c968[_0x4f98c9([0x65,0x78,0x70])]<_0x4b9953;}function _0x21d30b(){const _0x144194=_0x23c968[_0x4f98c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x144194&&(!!_0x144194[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f98c9([0x2a]))||!!_0x144194[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f98c9([0x55,0x50,0x4c,0x43])));}function _0x4e4965(){const _0x3102e8=_0x5200,_0x58ab06=_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58ab06||0x0==_0x58ab06[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48685c}=new URL(window[_0x4f98c9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3102e8(0x1ad)]);if(_0x58ab06[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48685c))return!0x0;const _0x423b69=_0x48685c[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e]));return _0x58ab06[_0x4f98c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x569a34=>_0x569a34[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f98c9([0x2a])))[_0x4f98c9([0x6d,0x61,0x70])](_0xb9aded=>_0xb9aded[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e])))[_0x4f98c9([0x73,0x6f,0x6d,0x65])](_0x325a23=>_0x423b69[_0x4f98c9([0x65,0x76,0x65,0x72,0x79])]((_0x3305f4,_0x5b2933)=>_0x325a23[_0x5b2933]===_0x3305f4||_0x325a23[_0x5b2933]===_0x4f98c9([0x2a])));}function _0x37716a(){return _0x1b1ade&&_0x260590?new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a5c80,_0x10625a)=>{_0x1b1ade[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x3a5c80,_0x10625a),_0x260590[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x1858c8=>{_0x1858c8!=_0x4f98c9([0x56,0x61,0x6c,0x69,0x64])&&_0x3a5c80(_0x1858c8);},_0x10625a);}):_0x1b1ade||_0x260590||_0x4f98c9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cfe98(_0x447b59,_0x1564f9){return new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11071e=>{if(_0x4eee9f())return _0x11071e(_0x4f98c9([0x56,0x61,0x6c,0x69,0x64]));_0x51f8a0(),_0xa438b6[_0x4f98c9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f98c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x479bf7=!0x1;const _0x4d743e=_0x460c5f();function _0x189df9(_0xcc01e6){return!!_0xcc01e6&&(typeof _0xcc01e6===_0x4f98c9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcc01e6===_0x4f98c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcc01e6[_0x4f98c9([0x74,0x68,0x65,0x6e])]===_0x4f98c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcc01e6[_0x4f98c9([0x63,0x61,0x74,0x63,0x68])]===_0x4f98c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e123a(_0x39dc3f){_0x12a498(_0x39dc3f)[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x1036bd=>{if(!_0x1036bd||_0x1036bd[_0x4f98c9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f98c9([0x6f,0x6b]))return _0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3805fe(_0x45f136(_0x4d743e+_0x1564f9))!=_0x1036bd[_0x4f98c9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f98c9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x4d89bd=>(_0x2716fc(),_0x4d89bd),()=>{const _0x26ae77=_0x41af4b();return null==_0x26ae77?(_0x2716fc(),_0x4f98c9([0x56,0x61,0x6c,0x69,0x64])):_0x4f98c9(_0xf7d394-_0x26ae77>(0xfa2967d^_0x270f9b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x11071e)[_0x4f98c9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11071e(_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e0663=0x2b98fcfd^_0x270f9b;function _0x2716fc(){const _0x1a1762=_0x4f98c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3805fe(_0x45f136(_0x447b59)),_0x19a7e5=_0x28349e(_0x3805fe(window[_0x4f98c9([0x4d,0x61,0x74,0x68])][_0x4f98c9([0x63,0x65,0x69,0x6c])](_0xf7d394/_0x2e0663)));window[_0x4f98c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f98c9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a1762,_0x19a7e5);}function _0x41af4b(){const _0x563fb0=_0x4f98c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3805fe(_0x45f136(_0x447b59)),_0x9e91ee=window[_0x4f98c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f98c9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x563fb0);return _0x9e91ee?window[_0x4f98c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28349e(_0x9e91ee),0x10)*_0x2e0663:null;}function _0x12a498(_0x5009f8){return new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x298ff3,_0x22b89a)=>{_0x5009f8[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x298ff3,_0x22b89a),window[_0x4f98c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22b89a,0x2bafc6bd^_0x270f9b);});}}_0xa438b6[_0x4f98c9([0x6f,0x6e])](_0x4f98c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52d11f,_0x92410)=>{if(_0x92410[0x0]!=_0x447b59)return _0x11071e(_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x92410[0x1]={..._0x92410[0x1],[_0x4f98c9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d743e};},{[_0x4f98c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f98c9([0x68,0x69,0x67,0x68])}),_0xa438b6[_0x4f98c9([0x6f,0x6e])](_0x4f98c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56338c=>{_0x189df9(_0x56338c[_0x4f98c9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x479bf7=!0x0,_0x1e123a(_0x56338c[_0x4f98c9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f98c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f98c9([0x6c,0x6f,0x77])}),_0x25edb7[_0x4f98c9([0x74,0x68,0x65,0x6e])](()=>{_0x479bf7||_0x11071e(_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eee9f(){return _0xa438b6[_0x4f98c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f98c9([0x76,0x69,0x65,0x77])][_0x4f98c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f98c9([0x61,0x75,0x74,0x6f]);}function _0x51f8a0(){_0xa438b6[_0x4f98c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f98c9([0x76,0x69,0x65,0x77])][_0x4f98c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f98c9([0x61,0x75,0x74,0x6f]);}}function _0x4eb4b1(_0x31706b){const _0x50d5d3=[new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x231337=>setTimeout(_0x231337,0x2ba72cb1^_0x270f9b)),_0x25edb7[_0x4f98c9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cddb8=>{let _0x4c3a26=0x0;_0xa438b6[_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f98c9([0x6f,0x6e])](_0x4f98c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b786c,_0x4cfc58)=>{_0x4cfc58[0x0][_0x4f98c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c3a26++,_0x4c3a26==(0x2bae1385^_0x270f9b)&&(_0x3cddb8(),_0x4b786c[_0x4f98c9([0x6f,0x66,0x66])]());});}))];return window[_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f98c9([0x72,0x61,0x63,0x65])](_0x50d5d3)[_0x4f98c9([0x74,0x68,0x65,0x6e])](()=>_0x31706b);}async function _0x375e9a(){await _0x25edb7,_0xa438b6[_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f98c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b545d,_0xa438b6[_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f98c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b545d,_0xa438b6[_0x4f98c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a91fa(_0x3e71b1){const _0x5ac78e=_0x41c376();_0xa438b6[_0x5ac78e]=_0x4f98c9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e71b1,_0x3e71b1!=_0x4f98c9([0x56,0x61,0x6c,0x69,0x64])&&_0x375e9a();}function _0x41c376(){const _0x27132b=window[_0x4f98c9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f98c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f98c9([0x6e,0x6f,0x77])]())[_0x4f98c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f98c9([0x2e]),'');let _0x5524fc=_0x4f98c9([0x63]);for(let _0x4d33ee=0x0;_0x4d33ee<_0x27132b[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d33ee+=0x2){let _0x763160=window[_0x4f98c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27132b[_0x4f98c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d33ee,_0x4d33ee+0x2));_0x763160>=_0x47416f[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x763160-=_0x47416f[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5524fc+=_0x47416f[_0x763160];}return _0x5524fc;}function _0x56bd74(){const _0x1ca296=_0x15fc5d[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e]));if(0x3!=_0x1ca296[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c8aae(_0x1ca296[0x1]);function _0x3c8aae(_0x4b90b6){const _0x1d671c=_0x3ee7f9(_0x4b90b6);return _0x1d671c&&_0xae4aba()?_0x1d671c:null;function _0xae4aba(){const _0x58add6=_0x1d671c[_0x4f98c9([0x6a,0x74,0x69])],_0x51a9f3=window[_0x4f98c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58add6[_0x4f98c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58add6[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2231b3={..._0x1d671c,[_0x4f98c9([0x6a,0x74,0x69])]:_0x58add6[_0x4f98c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58add6[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2231b3[_0x4f98c9([0x76,0x63])],_0x45f136(_0x2231b3)==_0x51a9f3;}}}async function _0x3523bd(){let _0x4c1ba1=!0x0;try{const _0x12f524=_0x15fc5d[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e])),[_0x332af1,_0x38b358,_0x593c13]=_0x12f524;return _0x513527(_0x332af1),await _0xecf45b(_0x332af1,_0x38b358,_0x593c13),_0x4c1ba1;}catch(_0x566e0b){return!0x1;}function _0x513527(_0x5924a9){const _0xeb72fc=_0x3ee7f9(_0x5924a9);_0xeb72fc&&_0xeb72fc[_0x4f98c9([0x61,0x6c,0x67])]==_0x4f98c9([0x45,0x53,0x32,0x35,0x36])||(_0x4c1ba1=!0x1);}async function _0xecf45b(_0x53e652,_0x256db3,_0x51eda6){const _0x5bb536=window[_0x4f98c9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f98c9([0x66,0x72,0x6f,0x6d])](_0x2ca2b8(_0x51eda6),_0x2faf0f=>_0x2faf0f[_0x4f98c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x102726=new window[(_0x4f98c9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f98c9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53e652+_0x4f98c9([0x2e])+_0x256db3),_0x21388b=window[_0x4f98c9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f98c9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21388b)return;const _0x2f9b81=await _0x21388b[_0x4f98c9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f98c9([0x6a,0x77,0x6b]),_0xa4a9e1,{[_0x4f98c9([0x6e,0x61,0x6d,0x65])]:_0x4f98c9([0x45,0x43,0x44,0x53,0x41]),[_0x4f98c9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f98c9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f98c9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21388b[_0x4f98c9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f98c9([0x6e,0x61,0x6d,0x65])]:_0x4f98c9([0x45,0x43,0x44,0x53,0x41]),[_0x4f98c9([0x68,0x61,0x73,0x68])]:{[_0x4f98c9([0x6e,0x61,0x6d,0x65])]:_0x4f98c9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f9b81,_0x5bb536,_0x102726)||(_0x4c1ba1=!0x1);}}function _0x3ee7f9(_0x24da51){return _0x24da51[_0x4f98c9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f98c9([0x65,0x79]))?JSON[_0x4f98c9([0x70,0x61,0x72,0x73,0x65])](_0x2ca2b8(_0x24da51)):null;}function _0x2ca2b8(_0x226170){return window[_0x4f98c9([0x61,0x74,0x6f,0x62])](_0x226170[_0x4f98c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f98c9([0x2b]))[_0x4f98c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f98c9([0x2f])));}function _0x45f136(_0x38c316){let _0x1b9c4d=0x1505;function _0x592e9f(_0x42e47c){for(let _0x46c6c8=0x0;_0x46c6c8<_0x42e47c[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46c6c8++){const _0x10b51a=_0x42e47c[_0x4f98c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46c6c8);_0x1b9c4d=(_0x1b9c4d<<0x5)+_0x1b9c4d+_0x10b51a,_0x1b9c4d&=_0x1b9c4d;}}function _0x256520(_0x2178c4){Array[_0x4f98c9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2178c4)?_0x2178c4[_0x4f98c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x256520):_0x2178c4&&typeof _0x2178c4==_0x4f98c9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f98c9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2178c4)[_0x4f98c9([0x73,0x6f,0x72,0x74])]()[_0x4f98c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40dc42,_0x13d244])=>{_0x592e9f(_0x40dc42),_0x256520(_0x13d244);}):_0x592e9f(window[_0x4f98c9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2178c4));}return _0x256520(_0x38c316),_0x1b9c4d>>>0x0;}function _0x3805fe(_0x58e343){return _0x58e343[_0x4f98c9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f98c9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f98c9([0x30]));}function _0x28349e(_0x32ac91){return _0x32ac91[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f98c9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f98c9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b545d(){}function _0x4f98c9(_0x2fa1f0){const _0x6a8f72=_0x5200;return _0x2fa1f0[_0x6a8f72(0x1a8)](_0x30d0f1=>String[_0x6a8f72(0x19a)](_0x30d0f1))[_0x6a8f72(0x176)]('');}_0x1a91fa(await _0x106eee());}(this);}[_0xfbe644(0x184)](){const _0x3e0f16=_0xfbe644,_0x9c1096=this[_0x3e0f16(0x190)][_0x3e0f16(0x1b1)][_0x3e0f16(0x18e)];_0x9c1096[_0x3e0f16(0x1b3)](_0x3e0f16(0x171))&&_0x9c1096[_0x3e0f16(0x186)](_0x3e0f16(0x171),{'allowAttributes':[_0x3e0f16(0x179)]}),_0x9c1096[_0x3e0f16(0x1b3)](_0x3e0f16(0x19d))&&_0x9c1096[_0x3e0f16(0x186)](_0x3e0f16(0x19d),{'allowAttributes':[_0x3e0f16(0x179)]});}[_0xfbe644(0x1a5)](){const _0x5517d0=_0xfbe644,_0x5508b3=this[_0x5517d0(0x190)];_0x5508b3[_0x5517d0(0x1b2)][_0x5517d0(0x1a6)](_0x5517d0(0x173))[_0x5517d0(0x182)]({'model':_0x5517d0(0x179),'view':_0x5517d0(0x15f)}),_0x5508b3[_0x5517d0(0x1b2)][_0x5517d0(0x1a6)](_0x5517d0(0x17f))[_0x5517d0(0x168)]({'model':{'key':_0x5517d0(0x179),'value':_0x30e53c=>_0x30e53c[_0x5517d0(0x17c)](_0x5517d0(0x15f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5718c8=_0x5508b3[_0x5517d0(0x165)][_0x5517d0(0x197)](_0x5517d0(0x174));_0x5718c8&&this[_0x5517d0(0x1ab)](_0x5718c8,_0x5517d0(0x195),(_0x549cf5,[_0x31643,_0x2ecc7e])=>{const _0xeb287c=_0x5517d0;_0x31643[_0xeb287c(0x1a2)](_0xeb287c(0x179),_0x2ecc7e);});}[_0xfbe644(0x194)](){const _0x53b74b=_0xfbe644,_0x31f172=this[_0x53b74b(0x190)][_0x53b74b(0x17a)][_0x53b74b(0x197)](_0x53b74b(0x192))||{},_0x2aaaf3=this[_0x53b74b(0x190)][_0x53b74b(0x17a)][_0x53b74b(0x197)](_0x53b74b(0x187))||'';this[_0x53b74b(0x198)]=_0x1cc2ce(_0x4cb2d9[_0x53b74b(0x18c)],_0x53b74b(0x1a4),{..._0x31f172,'pubkey':_0x2aaaf3,'ctx-name':_0x53b74b(0x180),'sourceList':'','imgOnly':_0x53b74b(0x169),'removeCopyright':_0x53b74b(0x169),'localeName':this[_0x53b74b(0x190)][_0x53b74b(0x166)][_0x53b74b(0x16a)],'externalSourcesEmbedCss':_0x53b74b(0x1ac)}),this[_0x53b74b(0x198)][_0x53b74b(0x185)]=_0x2c81f5=>{const _0x122604=_0x53b74b;if(_0x122604(0x177)==_0x2c81f5)return _0x122604(0x17e);},_0x4cb2d9[_0x53b74b(0x18c)][_0x53b74b(0x188)][_0x53b74b(0x191)](this[_0x53b74b(0x198)]);}[_0xfbe644(0x196)](){const _0x196b03=_0xfbe644;this[_0x196b03(0x161)]=_0x1cc2ce(_0x4cb2d9[_0x196b03(0x18c)],_0x196b03(0x16c),{'ctx-name':_0x196b03(0x180)}),_0x4cb2d9[_0x196b03(0x18c)][_0x196b03(0x188)][_0x196b03(0x191)](this[_0x196b03(0x161)]);}[_0xfbe644(0x18b)](){const _0x5dcb56=_0xfbe644,_0x1e6d77=this[_0x5dcb56(0x190)][_0x5dcb56(0x165)][_0x5dcb56(0x197)](_0x5dcb56(0x1aa));_0x1e6d77&&this[_0x5dcb56(0x1ab)](_0x1e6d77,_0x5dcb56(0x1a1),()=>{const _0x305231=_0x5dcb56,_0x166bdb=this[_0x305231(0x190)][_0x305231(0x1b1)][_0x305231(0x18c)][_0x305231(0x19e)][_0x305231(0x19b)]();_0x166bdb&&_0x166bdb[_0x305231(0x17c)](_0x305231(0x179))&&this[_0x305231(0x190)][_0x305231(0x18f)][_0x305231(0x18d)][_0x305231(0x170)](_0x305231(0x1a7),()=>{const _0x49de9b=_0x305231;_0x49539b(this[_0x49de9b(0x190)],_0x166bdb);});});const _0x5196b6=this[_0x5dcb56(0x190)][_0x5dcb56(0x165)][_0x5dcb56(0x197)](_0x5dcb56(0x1ae));_0x5196b6&&this[_0x5dcb56(0x1ab)](_0x5196b6,_0x5dcb56(0x1a1),()=>{const _0x2b362a=_0x5dcb56,_0xbe6160=this[_0x2b362a(0x190)][_0x2b362a(0x1b1)][_0x2b362a(0x18c)][_0x2b362a(0x19e)][_0x2b362a(0x19b)]();_0xbe6160&&_0xbe6160[_0x2b362a(0x17c)](_0x2b362a(0x179))&&this[_0x2b362a(0x190)][_0x2b362a(0x18f)][_0x2b362a(0x18d)][_0x2b362a(0x170)](_0x2b362a(0x1a7),()=>{const _0x3a43d7=_0x2b362a;_0x49539b(this[_0x3a43d7(0x190)],_0xbe6160);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x5bb027,ObservableMixin as _0xb113a3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3c4c7e}from'ckeditor5/src/ui.js';import _0x18e432 from'./uploadcareimageeditformview.js';import _0x159ce8 from'../../utils/uploadutils.js';import _0x7b3c3e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xbafbd1,getImageDimension as _0x10442c}from'../../utils/editingutils.js';import{isAncestor as _0x262b82}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xb113a3(){constructor(_0x397375,_0x36340d,_0xa279bf){super(),this['_editor']=_0x397375,this['_dialog']=_0x36340d,this['_imageElement']=_0xa279bf,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 _0x133adb=this['_imageElement'],_0x10f810=_0x133adb['getAttribute']('uploadcareImageId'),_0x4c78b4=_0x133adb['getAttribute']('src');if(_0x10f810)await this['_loadImageInfo'](_0x10f810,_0x4c78b4);else{if(this['_imageCache']['has'](_0x4c78b4)){const _0x2ad927=this['_imageCache']['get'](_0x4c78b4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ad927['url'],this['imageDimension']=_0x2ad927['dimension'],this['imageId']=_0x2ad927['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f94a8}=this['_editor'],t=_0x1f94a8['t'],_0x49e318=new _0x18e432(_0x1f94a8,this['imageStatus'],this['_attributes']);_0x49e318['bind']('status')['to'](this,'imageStatus'),_0x49e318['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x49e318['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x49e318['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x49e318,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7b3c3e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x49e318,'position':_0x3c4c7e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x49e318['focus']();},'onHide':()=>{_0x49e318['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x327c32=>!_0x262b82(_0x327c32,_0x49e318['element'])}});}['_loadImageInfo'](_0x37712a,_0x32dfaf){return _0x159ce8['getInfo'](_0x37712a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5af0ee=>{const {width:_0x4b656c,height:_0x9b2288}=_0x5af0ee['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32dfaf,this['imageDimension']={'width':_0x4b656c,'height':_0x9b2288},this['imageId']=_0x37712a;})['catch'](_0x172724=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x172724['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bf4e8,_0x21a90e){return this['_getImageAsFile'](_0x5bf4e8)['then'](_0x28e3a2=>_0x159ce8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x21a90e['signal'],'file':_0x28e3a2,'onProgress':_0x3b3a50=>{_0x3b3a50&&_0x3b3a50['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b3a50['value']));}}))['then'](_0x207e88=>{const {width:_0x3418bd,height:_0x37e0b1}=_0x207e88['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x207e88['cdnUrl'],this['imageDimension']={'width':_0x3418bd,'height':_0x37e0b1},this['imageId']=_0x207e88['uuid'],this['imageUploadProgress']=null;const _0x396cc9=_0x5bf4e8['getAttribute']('src');this['_imageCache']['set'](_0x396cc9,{'id':_0x207e88['uuid'],'url':_0x207e88['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xf7c04=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xf7c04['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45a4b2,_0x46d7f5){_0x45a4b2['on']('apply',(_0x297b97,_0xc8f67b)=>{this['_replaceImage'](_0x46d7f5,_0xc8f67b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45a4b2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45a4b2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x38a831,_0x2f43fd,_0x263f33){const _0x5a4046=this['_editor'],{width:_0x25acd1,height:_0x1892c0}=_0x10442c(_0x2f43fd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6975e0,imageSources:_0xaeabcd}=_0xbafbd1(_0x2f43fd,_0x25acd1);_0x5a4046['model']['change'](_0x328c2e=>{if('$graveyard'===_0x38a831['root']['rootName']){_0x5a4046['execute']('insertImage',{'imageType':_0x38a831['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x38a831['getAttributes']()),'uploadcareImageId':_0x263f33,'src':_0x6975e0,'sources':_0xaeabcd,'width':_0x25acd1,'height':_0x1892c0}});const _0x4b04d1=_0x38a831['getChildren']();_0x38a831=_0x5a4046['model']['document']['selection']['getSelectedElement']();for(const _0x13031f of _0x4b04d1)_0x328c2e['append'](_0x328c2e['cloneElement'](_0x13031f),_0x38a831);}else _0x328c2e['setSelection'](_0x38a831,'on'),_0x5a4046['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x38a831['getAttributes']()),'uploadcareImageId':_0x263f33,'src':_0x6975e0,'sources':_0xaeabcd,'width':_0x25acd1,'height':_0x1892c0},_0x38a831);_0x328c2e['setSelection'](_0x38a831,'on');});}async['_getImageAsFile'](_0x154c72){const _0x2a0dc0=_0x5bb027['window'],_0x5d7a27=_0x5bb027['document']['location']['href'],_0x11cced=new _0x2a0dc0['URL'](_0x154c72['getAttribute']('src'),_0x5d7a27);if('data:'===_0x11cced['protocol']){const _0x5f0ad7=_0x11cced['href']['split'](','),_0x594ace=_0x5f0ad7[0x0]['match'](/:(.*?);/)[0x1],_0x567b7c=_0x594ace['split']('/')[0x1],_0x2c81fb=_0x2a0dc0['atob'](_0x5f0ad7[_0x5f0ad7['length']-0x1]);let _0x2a8d29=_0x2c81fb['length'];const _0x350a43=new _0x2a0dc0['Uint8Array'](_0x2a8d29);for(;_0x2a8d29--;)_0x350a43[_0x2a8d29]=_0x2c81fb['charCodeAt'](_0x2a8d29);return new _0x2a0dc0['File']([_0x350a43],'image.'+_0x567b7c,{'type':_0x594ace});}const _0x26a508=_0x11cced['href']['split']('/'),_0x53318e=_0x26a508[_0x26a508['length']-0x1],_0x417d08=_0x53318e['split']('.')[0x1];return _0x2a0dc0['fetch'](_0x11cced['href'])['then'](_0x20ad7d=>_0x20ad7d['clone']()['blob']())['then'](_0xe8cde2=>new _0x2a0dc0['File']([_0xe8cde2],_0x53318e,{'type':'image/'+_0x417d08}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5ce7(_0x1ba6fe,_0x516caf){const _0x2bf816=_0x2bf8();return _0x5ce7=function(_0x5ce73d,_0x387934){_0x5ce73d=_0x5ce73d-0x1c1;let _0x1d1158=_0x2bf816[_0x5ce73d];return _0x1d1158;},_0x5ce7(_0x1ba6fe,_0x516caf);}(function(_0x2612d0,_0x5ec2cb){const _0x26e0b9=_0x5ce7,_0x3e14a0=_0x2612d0();while(!![]){try{const _0x479a42=-parseInt(_0x26e0b9(0x1c9))/0x1*(-parseInt(_0x26e0b9(0x1c5))/0x2)+-parseInt(_0x26e0b9(0x1c7))/0x3+-parseInt(_0x26e0b9(0x1c1))/0x4*(parseInt(_0x26e0b9(0x1ce))/0x5)+parseInt(_0x26e0b9(0x1cf))/0x6*(parseInt(_0x26e0b9(0x1c3))/0x7)+-parseInt(_0x26e0b9(0x1d4))/0x8+-parseInt(_0x26e0b9(0x1cc))/0x9*(parseInt(_0x26e0b9(0x1d1))/0xa)+-parseInt(_0x26e0b9(0x1c4))/0xb*(-parseInt(_0x26e0b9(0x1c6))/0xc);if(_0x479a42===_0x5ec2cb)break;else _0x3e14a0['push'](_0x3e14a0['shift']());}catch(_0x1e1ac2){_0x3e14a0['push'](_0x3e14a0['shift']());}}}(_0x2bf8,0x5e11d));import{View as _0x49a317}from'ckeditor5/src/ui.js';function _0x2bf8(){const _0x44c76b=['151362JxGRxR','bindTemplate','119435ONKHrt','6hxSHez','set','130BEwgLm','imageSrc','ck-uploadcare-theme','324672FfgmUA','20XNidKY','image-edit','3166611ylDGyW','2498485XYUnDn','484xolKEL','36wfIJHE','1971936smFboS','setTemplate','1188THdHUr','uc-cloud-image-editor','uc-light'];_0x2bf8=function(){return _0x44c76b;};return _0x2bf8();}export default class tt extends _0x49a317{constructor(_0x214933,_0xf10937){const _0x47839c=_0x5ce7;super(_0x214933);const _0xdf0dc1=this[_0x47839c(0x1cd)];this[_0x47839c(0x1d0)](_0x47839c(0x1d2),''),this[_0x47839c(0x1c8)]({'tag':_0x47839c(0x1ca),'attributes':{..._0xf10937,'class':[_0x47839c(0x1cb),_0x47839c(0x1d3)],'ctx-name':_0x47839c(0x1c2),'cdn-url':_0xdf0dc1['to'](_0x47839c(0x1d2))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0xc3b65c,IconView as et,View as _0x1c56da}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x1c56da{constructor(_0x44a081){super(_0x44a081);const t=_0x44a081['t'];this['set']('errorType',null);const _0x4a08f7=new _0xc3b65c(_0x44a081);_0x4a08f7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4a08f7['withText']=!0x0,_0x4a08f7['class']='ck-button-action',_0x4a08f7['on']('execute',()=>{this['fire']('retry');}),_0x4a08f7['bind']('isVisible')['to'](this,'errorType',_0x1dcb42=>'NotFound'!==_0x1dcb42);const _0x2a304c=new et();_0x2a304c['content']=at,_0x2a304c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2acfe2=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':[_0x2a304c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2acfe2['to']('errorType',_0x524b18=>t('NotFound'!==_0x524b18?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4a08f7]},{'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 _0x575bb8,View as _0x55ce8c}from'ckeditor5/src/ui.js';export default class ta extends _0x55ce8c{constructor(_0x25d591){super(_0x25d591);const t=_0x25d591['t'],_0x496743=this['bindTemplate'],_0xf16d23=new _0x575bb8();_0xf16d23['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':[_0xf16d23,{'text':_0x496743['to']('imageUploadProgress',_0x5e467d=>t('Loading\x20image...')+'\x20('+(_0x5e467d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x182c78=_0x1dc4;(function(_0x5ac02f,_0x12002c){const _0xa1db4d=_0x1dc4,_0x3dee0b=_0x5ac02f();while(!![]){try{const _0x151cce=-parseInt(_0xa1db4d(0x137))/0x1+parseInt(_0xa1db4d(0x118))/0x2+parseInt(_0xa1db4d(0x139))/0x3*(parseInt(_0xa1db4d(0x13d))/0x4)+parseInt(_0xa1db4d(0x13c))/0x5*(parseInt(_0xa1db4d(0x11d))/0x6)+parseInt(_0xa1db4d(0x134))/0x7*(-parseInt(_0xa1db4d(0x125))/0x8)+parseInt(_0xa1db4d(0x12e))/0x9*(parseInt(_0xa1db4d(0x141))/0xa)+-parseInt(_0xa1db4d(0x121))/0xb*(-parseInt(_0xa1db4d(0x120))/0xc);if(_0x151cce===_0x12002c)break;else _0x3dee0b['push'](_0x3dee0b['shift']());}catch(_0x5d82a8){_0x3dee0b['push'](_0x3dee0b['shift']());}}}(_0x5987,0x3b936));function _0x1dc4(_0x1f7014,_0x5579de){const _0x598789=_0x5987();return _0x1dc4=function(_0x1dc472,_0x2e41f3){_0x1dc472=_0x1dc472-0x10d;let _0x2e62ab=_0x598789[_0x1dc472];return _0x2e62ab;},_0x1dc4(_0x1f7014,_0x5579de);}import{View as _0x104ad5}from'ckeditor5/src/ui.js';import _0x1c5b69 from'./uploadcareimageeditformloadingview.js';import _0x25e4fa from'./uploadcareimageeditformerrorview.js';import _0x21a7a2 from'./uploadcareimageeditformeditingview.js';function _0x5987(){const _0x41c105=['10iMgPtb','disconnect','addEventListener','add','length','retry','ready','fire','status','clear','ck-uploadcare-form','uploading','set','_errorView','filter','detail','99052QDmDui','_editingView','_focusableView','apply','createCollection','6LuCwOn','nodeName','change:status','708564PibstZ','88PQhKTi','error','cancel','setTemplate','1208eYkYEu','once','render','toLowerCase','div','querySelector','_setView','observe','ck-reset_all-excluded','1848213ssqsVJ','cdnUrl','uc-cloud-image-editor','_loadingView','addedNodes','_waitForImageEditorComponent','20741dcKgwO','getFocusableElement','addMany','440700jFhXJX','_addErrorViewListeners','501QwmgTs','target','_items','837845jaDPOE','5684TVjvkc','_addUploadcareImageEditorListeners','focus','element'];_0x5987=function(){return _0x41c105;};return _0x5987();}import _0x2a9f0e from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x2a9f0e{constructor(_0x5bbf82,_0x2e8b7d,_0x2a8753){const _0x53f43e=_0x1dc4;super(_0x5bbf82),this[_0x53f43e(0x13b)]=this[_0x53f43e(0x11c)](),this[_0x53f43e(0x131)]=new _0x1c5b69(_0x5bbf82),this[_0x53f43e(0x115)]=new _0x25e4fa(_0x5bbf82),this[_0x53f43e(0x119)]=new _0x21a7a2(_0x5bbf82,_0x2a8753),this[_0x53f43e(0x11a)]=new _0x104ad5(_0x5bbf82),this[_0x53f43e(0x11a)][_0x53f43e(0x124)](this[_0x53f43e(0x135)]()),this[_0x53f43e(0x114)](_0x53f43e(0x110),_0x2e8b7d),this[_0x53f43e(0x124)]({'tag':_0x53f43e(0x129),'attributes':{'class':['ck',_0x53f43e(0x12d),_0x53f43e(0x112)],'tabindex':'-1'},'children':this[_0x53f43e(0x13b)]}),this[_0x53f43e(0x12b)](),this[_0x53f43e(0x126)](_0x53f43e(0x127),()=>{const _0x222fae=_0x53f43e;this[_0x222fae(0x133)](this[_0x222fae(0x140)],_0x44ad1a=>{const _0x32355b=_0x222fae;this[_0x32355b(0x13e)](_0x44ad1a);});}),this['on'](_0x53f43e(0x11f),()=>{const _0x2984d2=_0x53f43e;this[_0x2984d2(0x12b)]();}),this[_0x53f43e(0x138)]();}[_0x182c78(0x13f)](){const _0x2b3afe=_0x182c78;this[_0x2b3afe(0x140)][_0x2b3afe(0x13f)]();}[_0x182c78(0x12b)](){const _0x1708bd=_0x182c78;switch(this[_0x1708bd(0x13b)][_0x1708bd(0x111)](),this[_0x1708bd(0x110)]){case _0x1708bd(0x113):this[_0x1708bd(0x13b)][_0x1708bd(0x144)](this[_0x1708bd(0x131)]);break;case _0x1708bd(0x122):this[_0x1708bd(0x13b)][_0x1708bd(0x144)](this[_0x1708bd(0x115)]);break;case _0x1708bd(0x10e):this[_0x1708bd(0x13b)][_0x1708bd(0x136)]([this[_0x1708bd(0x119)],this[_0x1708bd(0x11a)]]);}}[_0x182c78(0x133)](_0x13cd45,_0x278b7a){const _0x7f9bee=_0x182c78,_0x504c18=_0x7f9bee(0x130),_0x3b302c=_0x13cd45[_0x7f9bee(0x12a)](_0x504c18);if(_0x3b302c)return _0x278b7a(_0x3b302c);const _0x552f6b=new MutationObserver(_0xb3827b=>{const _0x5843c6=_0x7f9bee,_0x4e1c2a=_0xb3827b[_0x5843c6(0x116)](_0x33a8ed=>_0x33a8ed[_0x5843c6(0x13a)]===_0x13cd45&&_0x33a8ed[_0x5843c6(0x132)][_0x5843c6(0x145)]>0x0&&_0x33a8ed[_0x5843c6(0x132)][0x0][_0x5843c6(0x11e)][_0x5843c6(0x128)]()===_0x504c18);_0x4e1c2a[_0x5843c6(0x145)]&&(_0x552f6b[_0x5843c6(0x142)](),_0x278b7a(_0x4e1c2a[0x0][_0x5843c6(0x132)][0x0]));});_0x552f6b[_0x7f9bee(0x12c)](_0x13cd45,{'childList':!0x0,'subtree':!0x0});}[_0x182c78(0x13e)](_0x1b524a){const _0x17d5d1=_0x182c78;_0x1b524a[_0x17d5d1(0x143)](_0x17d5d1(0x11b),_0x1011b1=>{const _0x486db8=_0x17d5d1;this[_0x486db8(0x10f)](_0x486db8(0x11b),{'imageSrc':_0x1011b1[_0x486db8(0x117)][_0x486db8(0x12f)]});}),_0x1b524a[_0x17d5d1(0x143)](_0x17d5d1(0x123),()=>{const _0x284137=_0x17d5d1;this[_0x284137(0x10f)](_0x284137(0x123));});}[_0x182c78(0x138)](){const _0x2450ce=_0x182c78;this[_0x2450ce(0x115)]['on'](_0x2450ce(0x10d),()=>{const _0x29750d=_0x2450ce;this[_0x29750d(0x10f)](_0x29750d(0x10d));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2728(_0x57b4f2,_0x186181){const _0x5205d0=_0x5205();return _0x2728=function(_0x272807,_0x2b1cdc){_0x272807=_0x272807-0x8e;let _0x5a3db4=_0x5205d0[_0x272807];return _0x5a3db4;},_0x2728(_0x57b4f2,_0x186181);}const _0x492478=_0x2728;(function(_0x3421fc,_0x15a3b4){const _0x3317b9=_0x2728,_0x2d5c11=_0x3421fc();while(!![]){try{const _0xd1d119=-parseInt(_0x3317b9(0xae))/0x1*(parseInt(_0x3317b9(0x93))/0x2)+parseInt(_0x3317b9(0xa8))/0x3*(parseInt(_0x3317b9(0x9f))/0x4)+-parseInt(_0x3317b9(0x91))/0x5+-parseInt(_0x3317b9(0x95))/0x6+-parseInt(_0x3317b9(0x97))/0x7*(parseInt(_0x3317b9(0x9b))/0x8)+parseInt(_0x3317b9(0x94))/0x9*(parseInt(_0x3317b9(0xa1))/0xa)+parseInt(_0x3317b9(0x92))/0xb;if(_0xd1d119===_0x15a3b4)break;else _0x2d5c11['push'](_0x2d5c11['shift']());}catch(_0xebe7a8){_0x2d5c11['push'](_0x2d5c11['shift']());}}}(_0x5205,0x196de));import{Command as _0x1121e3}from'ckeditor5/src/core.js';import{Dialog as _0x4d3813}from'ckeditor5/src/ui.js';function _0x5205(){const _0xa0773c=['223773GDjWFv','element','imageInline','set','uploadcare.allowExternalImagesEditing','refresh','183649mmKWlf','getSelectedElement','isActive','get','516305pKPDkt','5120753HGTkKv','2QMnZRi','1241784lxycip','1203924XjsPoB','selection','37786LMvqyv','execute','editor','imageBlock','128KHuXwP','imageEditController','document','model','4KQsYdT','requires','10ugvILE','isEnabled','config','plugins','_isEditable','bind','unbind'];_0x5205=function(){return _0xa0773c;};return _0x5205();}import _0x1804bc from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2b0bc1}from'../utils/editingutils.js';export default class J extends _0x1121e3{static get[_0x492478(0xa0)](){return[_0x4d3813];}constructor(_0x13f2c8){const _0x3418c1=_0x492478;super(_0x13f2c8),this[_0x3418c1(0x9c)]=void 0x0,this[_0x3418c1(0xa5)]=_0x2b0bc1(_0x13f2c8[_0x3418c1(0xa3)][_0x3418c1(0x90)](_0x3418c1(0xac))||[]),this[_0x3418c1(0xab)]({'isActive':!0x1});}[_0x492478(0xad)](){const _0x5936e4=_0x492478,_0x1ac954=this[_0x5936e4(0x99)][_0x5936e4(0x9e)][_0x5936e4(0x9d)][_0x5936e4(0x96)][_0x5936e4(0x8e)]();this[_0x5936e4(0xa2)]=this[_0x5936e4(0xa5)](_0x1ac954);}[_0x492478(0x98)](){const _0x42c3e3=_0x492478;this[_0x42c3e3(0x9c)]&&(this[_0x42c3e3(0xa7)](_0x42c3e3(0x8f)),this[_0x42c3e3(0x9c)]=void 0x0);const _0x54bc11=this[_0x42c3e3(0x99)][_0x42c3e3(0x9e)][_0x42c3e3(0x9d)][_0x42c3e3(0x96)][_0x42c3e3(0x8e)]();_0x54bc11&&(_0x54bc11['is'](_0x42c3e3(0xa9),_0x42c3e3(0x9a))||_0x54bc11['is'](_0x42c3e3(0xa9),_0x42c3e3(0xaa)))&&(this[_0x42c3e3(0x9c)]=new _0x1804bc(this[_0x42c3e3(0x99)],this[_0x42c3e3(0x99)][_0x42c3e3(0xa4)][_0x42c3e3(0x90)](_0x4d3813),_0x54bc11),this[_0x42c3e3(0xa6)](_0x42c3e3(0x8f))['to'](this[_0x42c3e3(0x9c)],_0x42c3e3(0x8f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x339642=_0x6705;(function(_0x370889,_0x3a46e5){const _0x1d0ba5=_0x6705,_0x20b917=_0x370889();while(!![]){try{const _0x39d00c=parseInt(_0x1d0ba5(0x85))/0x1*(parseInt(_0x1d0ba5(0x7e))/0x2)+parseInt(_0x1d0ba5(0x92))/0x3*(-parseInt(_0x1d0ba5(0x89))/0x4)+-parseInt(_0x1d0ba5(0x81))/0x5+-parseInt(_0x1d0ba5(0x7d))/0x6+-parseInt(_0x1d0ba5(0x8b))/0x7*(parseInt(_0x1d0ba5(0x8e))/0x8)+parseInt(_0x1d0ba5(0x83))/0x9+parseInt(_0x1d0ba5(0x90))/0xa;if(_0x39d00c===_0x3a46e5)break;else _0x20b917['push'](_0x20b917['shift']());}catch(_0x312c0b){_0x20b917['push'](_0x20b917['shift']());}}}(_0x5f6b,0x93760));import{Plugin as _0x4e0578}from'ckeditor5/src/core.js';import{Notification as _0x53f68c}from'ckeditor5/src/ui.js';function _0x5f6b(){const _0x4ecb3c=['ImageEditing','128zRgkNS','uploadcareImageReplace','35DBMLWR','ImageUtils','pluginName','691112DnXKDz','init','13762970aGuSrn','isOfficialPlugin','34761wCCZcw','3403296cSbGro','16862qAnuJH','requires','add','1399765mpxoop','uploadcareImageEdit','4939128mDiTpR','isPremiumPlugin','39IyvpRv','UploadcareImageEditEditing','commands'];_0x5f6b=function(){return _0x4ecb3c;};return _0x5f6b();}function _0x6705(_0x1ed5fc,_0x2a7b47){const _0x5f6b9c=_0x5f6b();return _0x6705=function(_0x67055b,_0x527fbb){_0x67055b=_0x67055b-0x7d;let _0x29f717=_0x5f6b9c[_0x67055b];return _0x29f717;},_0x6705(_0x1ed5fc,_0x2a7b47);}import _0x4b07e3 from'./uploadcareimageeditcommand.js';import _0x2ce26c from'./uploadcareimagereplacecommand.js';import _0x37178b from'../uploadcareediting.js';export default class m extends _0x4e0578{static get[_0x339642(0x8d)](){const _0x5a2d81=_0x339642;return _0x5a2d81(0x86);}static get[_0x339642(0x7f)](){const _0x4b979b=_0x339642;return[_0x37178b,_0x53f68c,_0x4b979b(0x8c),_0x4b979b(0x88)];}static get[_0x339642(0x91)](){return!0x0;}static get[_0x339642(0x84)](){return!0x0;}[_0x339642(0x8f)](){const _0x850e90=_0x339642,{editor:_0x438f3c}=this;_0x438f3c[_0x850e90(0x87)][_0x850e90(0x80)](_0x850e90(0x82),new _0x4b07e3(_0x438f3c)),_0x438f3c[_0x850e90(0x87)][_0x850e90(0x80)](_0x850e90(0x8a),new _0x2ce26c(_0x438f3c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x31ca02}from'ckeditor5/src/core.js';import{ButtonView as _0x31c09a}from'ckeditor5/src/ui.js';import{createElement as _0x261254}from'ckeditor5/src/utils.js';import _0x41f4ee from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x31ca02{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x58b749=this['editor'];_0x58b749['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2762ee=>{const _0x183677=_0x58b749['commands']['get']('uploadcareImageEdit'),_0x60cdd6=new _0x31c09a(_0x2762ee),t=_0x2762ee['t'];return _0x60cdd6['set']({'icon':_0x41f4ee,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x60cdd6['bind']('isEnabled')['to'](_0x183677),_0x60cdd6['bind']('isOn')['to'](_0x183677,'isActive'),this['listenTo'](_0x60cdd6,'execute',()=>{_0x58b749['execute']('uploadcareImageEdit'),_0x58b749['editing']['view']['focus']();}),_0x60cdd6;}),this['_initConfig']();}['_initConfig'](){const _0x346efb=_0x261254(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x346efb),this['listenTo'](this['editor'],'destroy',()=>{_0x346efb['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd30f52=_0x1d6e;function _0x239e(){const _0x25f042=['model','change','612GXpKBh','isEnabled','12XCFTIw','217bkxEdj','228745RujKQM','execute','2966uBEsWl','2710500CZWAVD','editor','getSelectedElement','element','selection','document','4812054CQEABo','srcset','setAttributes','345380OLxjmn','imageInline','248337OVvPnx','sizes','171KNSunt','8dFaZzV','1736441fFjLNC','refresh','imageBlock','removeAttribute'];_0x239e=function(){return _0x25f042;};return _0x239e();}(function(_0x229239,_0x36fe58){const _0x72623a=_0x1d6e,_0x496155=_0x229239();while(!![]){try{const _0x334a43=-parseInt(_0x72623a(0x122))/0x1*(-parseInt(_0x72623a(0x125))/0x2)+parseInt(_0x72623a(0x131))/0x3*(-parseInt(_0x72623a(0x121))/0x4)+parseInt(_0x72623a(0x126))/0x5+-parseInt(_0x72623a(0x12c))/0x6+-parseInt(_0x72623a(0x119))/0x7*(-parseInt(_0x72623a(0x118))/0x8)+-parseInt(_0x72623a(0x133))/0x9*(parseInt(_0x72623a(0x12f))/0xa)+parseInt(_0x72623a(0x123))/0xb*(parseInt(_0x72623a(0x11f))/0xc);if(_0x334a43===_0x36fe58)break;else _0x496155['push'](_0x496155['shift']());}catch(_0x56b09f){_0x496155['push'](_0x496155['shift']());}}}(_0x239e,0x71c1f));import{Command as _0x219382}from'ckeditor5/src/core.js';function _0x1d6e(_0x297a60,_0x3f42ca){const _0x239e4f=_0x239e();return _0x1d6e=function(_0x1d6e5e,_0xb3c4bc){_0x1d6e5e=_0x1d6e5e-0x118;let _0x4d1779=_0x239e4f[_0x1d6e5e];return _0x4d1779;},_0x1d6e(_0x297a60,_0x3f42ca);}export default class O extends _0x219382{[_0xd30f52(0x11a)](){const _0x4f7333=_0xd30f52,_0x56792e=this[_0x4f7333(0x127)][_0x4f7333(0x11d)][_0x4f7333(0x12b)][_0x4f7333(0x12a)][_0x4f7333(0x128)]();this[_0x4f7333(0x120)]=Boolean(_0x56792e&&(_0x56792e['is'](_0x4f7333(0x129),_0x4f7333(0x11b))||_0x56792e['is'](_0x4f7333(0x129),_0x4f7333(0x130))));}[_0xd30f52(0x124)](_0x3ba0e9){const _0xf5e4fc=_0xd30f52,_0x2df4e8=this[_0xf5e4fc(0x127)][_0xf5e4fc(0x11d)][_0xf5e4fc(0x12b)][_0xf5e4fc(0x12a)][_0xf5e4fc(0x128)]();this[_0xf5e4fc(0x127)][_0xf5e4fc(0x11d)][_0xf5e4fc(0x11e)](_0x53cf57=>{const _0x217dee=_0xf5e4fc;_0x53cf57[_0x217dee(0x12e)](_0x3ba0e9,_0x2df4e8),_0x53cf57[_0x217dee(0x11c)](_0x217dee(0x12d),_0x2df4e8),_0x53cf57[_0x217dee(0x11c)](_0x217dee(0x132),_0x2df4e8);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x3e1ff4=_0x1a44;function _0x1a44(_0x1c5d74,_0x285c02){var _0x3df708=_0x3df7();return _0x1a44=function(_0x1a44fd,_0x4991e8){_0x1a44fd=_0x1a44fd-0x6d;var _0xda537=_0x3df708[_0x1a44fd];return _0xda537;},_0x1a44(_0x1c5d74,_0x285c02);}(function(_0x58b78d,_0x23c800){var _0x291418=_0x1a44,_0x504cf9=_0x58b78d();while(!![]){try{var _0x850cef=parseInt(_0x291418(0x6d))/0x1*(-parseInt(_0x291418(0x77))/0x2)+parseInt(_0x291418(0x79))/0x3*(parseInt(_0x291418(0x7a))/0x4)+-parseInt(_0x291418(0x70))/0x5*(-parseInt(_0x291418(0x7c))/0x6)+-parseInt(_0x291418(0x75))/0x7*(parseInt(_0x291418(0x6e))/0x8)+parseInt(_0x291418(0x72))/0x9*(-parseInt(_0x291418(0x76))/0xa)+-parseInt(_0x291418(0x6f))/0xb+parseInt(_0x291418(0x7b))/0xc;if(_0x850cef===_0x23c800)break;else _0x504cf9['push'](_0x504cf9['shift']());}catch(_0x5ada79){_0x504cf9['push'](_0x504cf9['shift']());}}}(_0x3df7,0x2398c));import{Plugin as _0x385f97}from'ckeditor5/src/core.js';import _0x59bc6c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x5473c4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3df7(){var _0x5726c2=['pluginName','110886XdkwBb','8PKXbny','7175472YKRBRi','6LRAaIb','isPremiumPlugin','1XiSEyf','22536mQUAam','3122317qPpkNM','295535YxydqK','isOfficialPlugin','378HcxnTz','UploadcareImageEdit','requires','553KxOinz','14810ZyTQYn','33182gDzsOW'];_0x3df7=function(){return _0x5726c2;};return _0x3df7();}export default class j extends _0x385f97{static get[_0x3e1ff4(0x78)](){var _0x3abbdf=_0x3e1ff4;return _0x3abbdf(0x73);}static get[_0x3e1ff4(0x74)](){return[_0x59bc6c,_0x5473c4];}static get[_0x3e1ff4(0x71)](){return!0x0;}static get[_0x3e1ff4(0x7d)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44ad74=_0x305e;(function(_0x3a22d7,_0x4e2e88){const _0x4caa98=_0x305e,_0xad5081=_0x3a22d7();while(!![]){try{const _0x11049a=parseInt(_0x4caa98(0xb6))/0x1+parseInt(_0x4caa98(0xee))/0x2*(parseInt(_0x4caa98(0xf0))/0x3)+parseInt(_0x4caa98(0xdb))/0x4*(parseInt(_0x4caa98(0xfc))/0x5)+parseInt(_0x4caa98(0xb1))/0x6*(parseInt(_0x4caa98(0xe3))/0x7)+parseInt(_0x4caa98(0xbd))/0x8+parseInt(_0x4caa98(0xeb))/0x9+parseInt(_0x4caa98(0xdd))/0xa*(-parseInt(_0x4caa98(0xc6))/0xb);if(_0x11049a===_0x4e2e88)break;else _0xad5081['push'](_0xad5081['shift']());}catch(_0x17a20e){_0xad5081['push'](_0xad5081['shift']());}}}(_0x150c,0x66e01));import{Plugin as _0x2b8721,icons as _0x304bee}from'ckeditor5/src/core.js';function _0x305e(_0x1f8658,_0x151f0e){const _0x150c53=_0x150c();return _0x305e=function(_0x305e9a,_0x13a63d){_0x305e9a=_0x305e9a-0xad;let _0x3611e9=_0x150c53[_0x305e9a];return _0x3611e9;},_0x305e(_0x1f8658,_0x151f0e);}import{ButtonView as _0x4525bd,MenuBarMenuListItemButtonView as _0x2b0586}from'ckeditor5/src/ui.js';import _0x1d2520 from'../theme/icons/dropbox.svg';import _0xe113f7 from'../theme/icons/facebook.svg';import _0x3fc7dd from'../theme/icons/google-drive.svg';import _0x35bb68 from'../theme/icons/google-photos.svg';import _0x3e00ef from'../theme/icons/instagram.svg';import _0x357609 from'../theme/icons/link.svg';function _0x150c(){const _0x15a896=['reduce','entries','isPremiumPlugin','uploadcareLicenseKeyTrialLimit','assetManager','uploadcare.uploader.sourceList','551565XCRXMo','destroy','url','Dropbox','GPhotos','config','bind','uploadcareLicenseKeyExpired','licenseKey','6NdHBPh','afterInit','execute','_licenseKeyCheckInterval','_createToolbarButton','631270ZazaDG','withText','domainLimit','GDrive','uploadcareLicenseKeyValid','has','expired','4740208NMEQJf','pluginName','locale','Local','Instagram','label','trialLimit','URL','uploadcareLicenseKeyEvaluationLimit','30434393znjvdJ','_createButton','imageUpload','_normalizeConfigSourceList','get','Facebook','forEach','upload','tooltip','Uploadcare','_createDropdownButtons','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyNotAllowed','init','map','evaluationLimit','type','_showLicenseError','plugins','uploadcareLicenseKeyDomainLimit','20VgLsHv','commands','10QUNXZk','push','isOfficialPlugin','uploadcareLicenseKeyInvalid','ImageInsertUI','text','5210422ZYaNCW','isImageSelected','OneDrive','invalid','featureNotAllowed','_getIntegrationKey','registerIntegration','uploadcare','457362IigcLP','isEnabled','editor','202cmGQXv','UploadcareUI','18345Xbxevd','Replace','usageLimit','Insert','icon','shortText'];_0x150c=function(){return _0x15a896;};return _0x150c();}import _0x13d4d5 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b9789}from'./uploadcareconfig.js';import{getTranslation as _0x3ac993}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 _0x2b8721{static get[_0x44ad74(0xbe)](){const _0x4ad782=_0x44ad74;return _0x4ad782(0xef);}static get[_0x44ad74(0xdf)](){return!0x0;}static get[_0x44ad74(0xf8)](){return!0x0;}[_0x44ad74(0xd4)](){const _0x29f61c=_0x44ad74;this[_0x29f61c(0xb0)]=this[_0x29f61c(0xed)][_0x29f61c(0xad)][_0x29f61c(0xca)](_0x29f61c(0xb0));const _0x5cf78b=this[_0x29f61c(0xed)];this[_0x29f61c(0xb4)]=setInterval(()=>{const _0x187d2c=_0x29f61c;let _0x55dec3;for(const _0x271149 in _0x5cf78b){const _0x3e982e=_0x271149,_0x175587=_0x5cf78b[_0x3e982e];if(_0x187d2c(0xba)==_0x175587||_0x187d2c(0xe0)==_0x175587||_0x187d2c(0xaf)==_0x175587||_0x187d2c(0xda)==_0x175587||_0x187d2c(0xd3)==_0x175587||_0x187d2c(0xc5)==_0x175587||_0x187d2c(0xf9)==_0x175587||_0x187d2c(0xd2)==_0x175587){delete _0x5cf78b[_0x3e982e],_0x55dec3=_0x175587,clearInterval(this[_0x187d2c(0xb4)]),this[_0x187d2c(0xb4)]=void 0x0;break;}}_0x187d2c(0xe0)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xe6)),_0x187d2c(0xaf)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xbc)),_0x187d2c(0xda)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xb8)),_0x187d2c(0xd3)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xe7),_0x187d2c(0xcf)),_0x187d2c(0xc5)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xd6)),_0x187d2c(0xf9)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xc3)),_0x187d2c(0xd2)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xf2));},0x3e8);}[_0x44ad74(0xb2)](){const _0x4512f9=_0x44ad74,{editor:_0x5b46f3}=this,_0x350364=_0x5b46f3[_0x4512f9(0xdc)][_0x4512f9(0xca)](_0x4512f9(0xea));if(!_0x350364)return;const _0x38a2ec=this[_0x4512f9(0xc9)](_0x5b46f3[_0x4512f9(0xad)][_0x4512f9(0xca)](_0x4512f9(0xfb)))[_0x4512f9(0xf6)]((_0x298f0e,_0x339a1f)=>{const _0x25c925=_0x4512f9,_0x538bec=this[_0x25c925(0xe8)](_0x339a1f[_0x25c925(0xd7)]);return _0x298f0e[_0x538bec]||(_0x298f0e[_0x538bec]=[]),_0x298f0e[_0x538bec][_0x25c925(0xde)](_0x339a1f),_0x298f0e;},{});_0x5b46f3[_0x4512f9(0xd9)][_0x4512f9(0xbb)](_0x4512f9(0xe1))&&_0x5b46f3[_0x4512f9(0xdc)][_0x4512f9(0xca)](_0x4512f9(0xea))&&Object[_0x4512f9(0xf7)](_0x38a2ec)[_0x4512f9(0xcc)](([_0x5dc3fd,_0x446de0])=>{const _0x2d42dd=_0x4512f9;_0x5b46f3[_0x2d42dd(0xd9)][_0x2d42dd(0xca)](_0x2d42dd(0xe1))[_0x2d42dd(0xe9)]({'name':_0x5dc3fd,'observable':()=>_0x350364,'buttonViewCreator':()=>this[_0x2d42dd(0xb5)](_0x446de0),'formViewCreator':()=>this[_0x2d42dd(0xd0)](_0x446de0),'menuBarButtonViewCreator':()=>this[_0x2d42dd(0xd1)](_0x446de0),'override':_0x2d42dd(0xfa)!==_0x5dc3fd});});}[_0x44ad74(0xfd)](){const _0x2a1483=_0x44ad74;super[_0x2a1483(0xfd)](),this[_0x2a1483(0xb4)]&&clearInterval(this[_0x2a1483(0xb4)]);}[_0x44ad74(0xc9)](_0x2e9723){const _0x3a49ce=_0x44ad74,{locale:_0x30e1c9}=this[_0x3a49ce(0xed)];return _0x2e9723[_0x3a49ce(0xd5)](_0x3eb4e7=>{const _0x4720f8=_0x3a49ce,_0x182c69=_0x3ac993(_0x30e1c9,_0x3eb4e7,_0x4720f8(0xf3));switch(_0x3eb4e7){case _0x4b9789[_0x4720f8(0xc0)]:return{'icon':_0x304bee[_0x4720f8(0xc8)],'type':_0x4b9789[_0x4720f8(0xc0)],..._0x182c69};case _0x4b9789[_0x4720f8(0xc4)]:return{'icon':_0x357609,'type':_0x4b9789[_0x4720f8(0xc4)],..._0x182c69};case _0x4b9789[_0x4720f8(0xff)]:return{'icon':_0x1d2520,'type':_0x4b9789[_0x4720f8(0xff)],..._0x182c69};case _0x4b9789[_0x4720f8(0xcb)]:return{'icon':_0xe113f7,'type':_0x4b9789[_0x4720f8(0xcb)],..._0x182c69};case _0x4b9789[_0x4720f8(0xb9)]:return{'icon':_0x3fc7dd,'type':_0x4b9789[_0x4720f8(0xb9)],..._0x182c69};case _0x4b9789[_0x4720f8(0x100)]:return{'icon':_0x35bb68,'type':_0x4b9789[_0x4720f8(0x100)],..._0x182c69};case _0x4b9789[_0x4720f8(0xc1)]:return{'icon':_0x3e00ef,'type':_0x4b9789[_0x4720f8(0xc1)],..._0x182c69};case _0x4b9789[_0x4720f8(0xe5)]:return{'icon':_0x13d4d5,'type':_0x4b9789[_0x4720f8(0xe5)],..._0x182c69};}});}[_0x44ad74(0xe8)](_0x55eb40){const _0x134eb0=_0x44ad74;switch(_0x55eb40){case _0x4b9789[_0x134eb0(0xc0)]:return _0x134eb0(0xcd);case _0x4b9789[_0x134eb0(0xc4)]:return _0x134eb0(0xfe);default:return _0x134eb0(0xfa);}}[_0x44ad74(0xc7)](_0x36e5e6,_0x1fc9bf){const _0x4c7f5e=_0x44ad74,_0x491c17=this[_0x4c7f5e(0xed)],_0x27aebd=new _0x36e5e6(_0x491c17[_0x4c7f5e(0xbf)]),_0x428bbf=_0x491c17[_0x4c7f5e(0xdc)][_0x4c7f5e(0xca)](_0x4c7f5e(0xea));return _0x27aebd[_0x4c7f5e(0xae)](_0x4c7f5e(0xec))['to'](_0x428bbf),_0x27aebd['on'](_0x4c7f5e(0xb3),()=>{const _0x19e9e2=_0x4c7f5e;_0x428bbf[_0x19e9e2(0xb3)](_0x1fc9bf);}),_0x27aebd;}[_0x44ad74(0xb5)](_0x2ec3bf){const _0x5d9fa5=_0x44ad74,{locale:_0x3f4cbe}=this[_0x5d9fa5(0xed)],_0x225359=this[_0x5d9fa5(0xed)][_0x5d9fa5(0xd9)][_0x5d9fa5(0xca)](_0x5d9fa5(0xe1)),_0x498dc5=_0x2ec3bf[0x0],_0x1f991b=this[_0x5d9fa5(0xc7)](_0x4525bd,_0x498dc5[_0x5d9fa5(0xd7)]);return _0x1f991b[_0x5d9fa5(0xf4)]=_0x498dc5[_0x5d9fa5(0xf4)],_0x1f991b[_0x5d9fa5(0xae)](_0x5d9fa5(0xc2))['to'](_0x225359,_0x5d9fa5(0xe4),_0x2890ed=>_0x3ac993(_0x3f4cbe,_0x498dc5[_0x5d9fa5(0xd7)],_0x2890ed?_0x5d9fa5(0xf1):_0x5d9fa5(0xf3))[_0x5d9fa5(0xe2)]),_0x1f991b[_0x5d9fa5(0xce)]=!0x0,_0x1f991b;}[_0x44ad74(0xd0)](_0x35745e){const _0x256371=_0x44ad74,{locale:_0x326042}=this[_0x256371(0xed)],_0x4389a5=this[_0x256371(0xed)][_0x256371(0xd9)][_0x256371(0xca)](_0x256371(0xe1));return _0x35745e[_0x256371(0xd5)](_0x1e69bc=>{const _0x29fa66=_0x256371,_0x1761f0=this[_0x29fa66(0xc7)](_0x4525bd,_0x1e69bc[_0x29fa66(0xd7)]);return _0x1761f0[_0x29fa66(0xb7)]=!0x0,_0x1761f0[_0x29fa66(0xf4)]=_0x1e69bc[_0x29fa66(0xf4)],_0x1761f0[_0x29fa66(0xae)](_0x29fa66(0xc2))['to'](_0x4389a5,_0x29fa66(0xe4),_0x3d62b3=>_0x3ac993(_0x326042,_0x1e69bc[_0x29fa66(0xd7)],_0x3d62b3?_0x29fa66(0xf1):_0x29fa66(0xf3))[_0x29fa66(0xe2)]),_0x1761f0;});}[_0x44ad74(0xd1)](_0x385634){const _0x1451dc=_0x44ad74;return _0x385634[_0x1451dc(0xd5)](_0x5cb47c=>{const _0x2c6ad5=_0x1451dc,_0x218c3e=this[_0x2c6ad5(0xc7)](_0x2b0586,_0x5cb47c[_0x2c6ad5(0xd7)]);return _0x218c3e[_0x2c6ad5(0xf4)]=_0x5cb47c[_0x2c6ad5(0xf4)],_0x218c3e[_0x2c6ad5(0xc2)]=_0x5cb47c[_0x2c6ad5(0xf5)],_0x218c3e;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x477744}from'ckeditor5/src/core.js';import{FileRepository as _0x3ec207}from'ckeditor5/src/upload.js';import _0x559ffd from'./uploadcareediting.js';import _0x3f85f2 from'./utils/uploadutils.js';import{getImageUrls as _0x1639b3}from'./utils/editingutils.js';export default class f extends _0x477744{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3ec207,_0x559ffd];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5a3c75=this['editor'];if(!!!_0x5a3c75['config']['get']('uploadcare'))return;_0x5a3c75['plugins']['get'](_0x3ec207)['createUploadAdapter']=_0x412591=>new A(_0x412591,_0x5a3c75),_0x5a3c75['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd9c4d2,{imageElement:_0x11f0a5,data:_0x26d653})=>{_0x5a3c75['model']['change'](_0x434717=>{_0x434717['setAttribute']('uploadcareImageId',_0x26d653['uploadcareImageId'],_0x11f0a5);});});}}class A{constructor(_0x1f79fc,_0x3e5410){this['loader']=_0x1f79fc,this['editor']=_0x3e5410,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x43bc6a=this['editor']['config']['get']('uploadcare.pubkey'),_0x2b68a0=await this['loader']['file'];return _0x3f85f2['upload']({'file':_0x2b68a0,'publicKey':_0x43bc6a,'signal':this['controller']['signal'],'onProgress':_0x33917e=>{_0x33917e&&_0x33917e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x33917e['value']);}})['then'](async _0xc6a078=>{const {imageFallbackUrl:_0x470652,imageSources:_0x4425dd}=_0x1639b3(_0xc6a078['cdnUrl'],_0xc6a078['imageInfo']['width']);return{'uploadcareImageId':_0xc6a078['uuid'],'default':_0x470652,'sources':_0x4425dd};})['catch'](()=>{const _0x5bb96e=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b68a0['name']+'.');return Promise['reject'](_0x5bb96e);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0xbde20b}from'../uploadcareconfig.js';export function getTranslation(_0x6a929c,_0xf09b8f,_0x53e2e3){const t=_0x6a929c['t'],_0x3f4160=_0x6a929c['t'];switch(_0xf09b8f){case _0xbde20b['Local']:return{'text':_0x3f4160('Insert'===_0x53e2e3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f4160('From\x20computer')};case _0xbde20b['URL']:return{'text':'Insert'===_0x53e2e3?_0x3f4160('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f4160('Via\x20URL')};case _0xbde20b['Dropbox']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xbde20b['Facebook']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xbde20b['GDrive']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xbde20b['GPhotos']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xbde20b['Instagram']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0xbde20b['OneDrive']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xf09b8f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x121e97=_0x1b29;(function(_0x33b410,_0x231f50){var _0x332194=_0x1b29,_0x501a78=_0x33b410();while(!![]){try{var _0x571663=parseInt(_0x332194(0x17b))/0x1+-parseInt(_0x332194(0x177))/0x2*(-parseInt(_0x332194(0x17f))/0x3)+parseInt(_0x332194(0x17d))/0x4+parseInt(_0x332194(0x176))/0x5+parseInt(_0x332194(0x17c))/0x6*(parseInt(_0x332194(0x185))/0x7)+parseInt(_0x332194(0x178))/0x8+-parseInt(_0x332194(0x17a))/0x9;if(_0x571663===_0x231f50)break;else _0x501a78['push'](_0x501a78['shift']());}catch(_0x43e09f){_0x501a78['push'](_0x501a78['shift']());}}}(_0x51df,0x1f8a9));import{FocusTracker as _0x3e083d}from'ckeditor5/src/utils.js';function _0x51df(){var _0x316307=['true','286740TZQRHa','22PoFhTe','1543048VzPcJJ','focusTracker','7600905xjqfFM','186305UMSjXg','82638vKMGmS','801016uMsfMk','fire','58089gvHvsW','createCollection','div','forwardCycle','getFocusableElement','bindTemplate','63aeDdxG','focusCycler'];_0x51df=function(){return _0x316307;};return _0x51df();}import{View as _0x369eef,FocusCycler as _0x725644}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1b29(_0x3ef949,_0x1c965a){var _0x51df36=_0x51df();return _0x1b29=function(_0x1b2904,_0xff84fc){_0x1b2904=_0x1b2904-0x175;var _0x13b9f4=_0x51df36[_0x1b2904];return _0x13b9f4;},_0x1b29(_0x3ef949,_0x1c965a);}export default class q extends _0x369eef{constructor(_0x252729){var _0x451490=_0x1b29;super(_0x252729),this[_0x451490(0x179)]=new _0x3e083d(),this[_0x451490(0x186)]=new _0x725644({'focusables':this[_0x451490(0x180)](),'focusTracker':this[_0x451490(0x179)]});}[_0x121e97(0x183)](){var _0x3d293c=_0x121e97;return{'tag':_0x3d293c(0x181),'attributes':{'aria-hidden':_0x3d293c(0x175),'tabindex':'0'},'on':{'focus':this[_0x3d293c(0x184)]['to'](()=>{var _0x1b896=_0x3d293c;this[_0x1b896(0x186)][_0x1b896(0x17e)](_0x1b896(0x182));})}};}}
|