@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250205.0 → 0.0.0-nightly-20250207.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(_0x100740,_0x4165cf){var _0x2fed6d=_0x5c39,_0x15a70e=_0x100740();while(!![]){try{var _0x1d7beb=parseInt(_0x2fed6d(0xb2))/0x1+-parseInt(_0x2fed6d(0xb3))/0x2+-parseInt(_0x2fed6d(0xb9))/0x3*(parseInt(_0x2fed6d(0xb7))/0x4)+-parseInt(_0x2fed6d(0xae))/0x5+parseInt(_0x2fed6d(0xb1))/0x6+-parseInt(_0x2fed6d(0xb6))/0x7+parseInt(_0x2fed6d(0xa8))/0x8;if(_0x1d7beb===_0x4165cf)break;else _0x15a70e['push'](_0x15a70e['shift']());}catch(_0x477146){_0x15a70e['push'](_0x15a70e['shift']());}}}(_0xeed5,0x84461));function _0x5c39(_0x335c7a,_0x2934a4){var _0xeed5f4=_0xeed5();return _0x5c39=function(_0x5c39b2,_0x2781dc){_0x5c39b2=_0x5c39b2-0xa2;var _0xf688f2=_0xeed5f4[_0x5c39b2];return _0xf688f2;},_0x5c39(_0x335c7a,_0x2934a4);}export var UploadcareSource;function _0xeed5(){var _0x2e4be6=['Instagram','GDrive','url','2844390APoWUF','gphotos','URL','4354962vafsVd','133682LzExsR','631458LkNLlD','Facebook','gdrive','2462530BKNKKV','28kYYDnI','onedrive','354507MXmBDJ','facebook','dropbox','Dropbox','Local','GPhotos','instagram','13966912UAfzhp','local','OneDrive'];_0xeed5=function(){return _0x2e4be6;};return _0xeed5();}!function(_0x24f8d5){var _0x10b316=_0x5c39;_0x24f8d5[_0x10b316(0xa5)]=_0x10b316(0xa9),_0x24f8d5[_0x10b316(0xb0)]=_0x10b316(0xad),_0x24f8d5[_0x10b316(0xa4)]=_0x10b316(0xa3),_0x24f8d5[_0x10b316(0xac)]=_0x10b316(0xb5),_0x24f8d5[_0x10b316(0xb4)]=_0x10b316(0xa2),_0x24f8d5[_0x10b316(0xa6)]=_0x10b316(0xaf),_0x24f8d5[_0x10b316(0xab)]=_0x10b316(0xa7),_0x24f8d5[_0x10b316(0xaa)]=_0x10b316(0xb8);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3fb53c=_0x3b61;(function(_0x29527c,_0x2e0008){const _0x19c29a=_0x3b61,_0x1787e0=_0x29527c();while(!![]){try{const _0x339a01=-parseInt(_0x19c29a(0xa0))/0x1+-parseInt(_0x19c29a(0xaf))/0x2+parseInt(_0x19c29a(0x99))/0x3*(-parseInt(_0x19c29a(0x95))/0x4)+parseInt(_0x19c29a(0xb0))/0x5+-parseInt(_0x19c29a(0xd4))/0x6*(parseInt(_0x19c29a(0x96))/0x7)+-parseInt(_0x19c29a(0xb1))/0x8+parseInt(_0x19c29a(0xcc))/0x9;if(_0x339a01===_0x2e0008)break;else _0x1787e0['push'](_0x1787e0['shift']());}catch(_0x2361f9){_0x1787e0['push'](_0x1787e0['shift']());}}}(_0xdfa2,0x3a1ed));import{Plugin as _0x23a26b}from'ckeditor5/src/core.js';import{Dialog as _0x20693e}from'ckeditor5/src/ui.js';import{createElement as _0xc6306f,global as _0x45b5b8,uid as _0x49090d}from'ckeditor5/src/utils.js';import _0x50e95d from'./uploadcarecommand.js';import _0x25bb4d from'./uploadcareuploadadapter.js';function _0x3b61(_0x268502,_0x10f0b7){const _0xdfa294=_0xdfa2();return _0x3b61=function(_0x3b616b,_0x151a37){_0x3b616b=_0x3b616b-0x91;let _0x3ad7c3=_0xdfa294[_0x3b616b];return _0x3ad7c3;},_0x3b61(_0x268502,_0x10f0b7);}import{showImageProcessingIndicator as _0x67efb2}from'./utils/editingutils.js';function _0xdfa2(){const _0x1d2bd4=['destroy','PictureEditing','fromCharCode','499876ObgJiG','1072940dGqvQK','3573992PnYPsq','closeMax','commands','isOfficialPlugin','contentLanguage','join','execute','render','upcast','uploadcareImageId','data-uc-image-id','listenTo','_initSchema','uploader','UploadcareEditing','uc-config','_initCtx','_initConversion','get','href','ctxElement','body','remove','attributeToAttribute','_ctxElement','for','map','15960168gTGoCP','iconHrefResolver','schema','once','extend','imageInline','cleanupImage','removeAttribute','615234CMZOUv','requires','conversion','replaceImageSource','querySelector','uploadcare.pubkey','input[uploadcare-file-input]','view','add','config','imageBlock','uploadcare.uploader','editing','uc-upload-ctx-provider','model','editor','uploadcare','document','pluginName','getSelectedElement','650836EGyAiM','28eLWmWJ','configElement','#uc-icon-arrow-down','6WhQbSG','afterInit','uploadcareImageReplace','_initConfig','isPremiumPlugin','selection','\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','317618ihjBql','downcast','getAttribute','elementToAttribute','_initImageProcessingIndicator','appendChild','true','init','_configElement','locale','isRegistered','insertImage'];_0xdfa2=function(){return _0x1d2bd4;};return _0xdfa2();}export default class i extends _0x23a26b{constructor(){const _0x16011c=_0x3b61;super(...arguments),this[_0x16011c(0xa8)]=null,this[_0x16011c(0xc9)]=null;}static get[_0x3fb53c(0x93)](){const _0x9465d3=_0x3fb53c;return _0x9465d3(0xbf);}static get[_0x3fb53c(0xd5)](){const _0x5a141e=_0x3fb53c;return[_0x5a141e(0xad),_0x25bb4d,_0x20693e];}static get[_0x3fb53c(0xb4)](){return!0x0;}static get[_0x3fb53c(0x9d)](){return!0x0;}get[_0x3fb53c(0x97)](){const _0x4249f1=_0x3fb53c;return this[_0x4249f1(0xa8)];}get[_0x3fb53c(0xc5)](){const _0x2a782e=_0x3fb53c;return this[_0x2a782e(0xc9)];}[_0x3fb53c(0xa7)](){const _0x345853=_0x3fb53c,_0x3b410e=this[_0x345853(0xe3)];_0x3b410e[_0x345853(0xb3)][_0x345853(0xdc)](_0x345853(0x91),new _0x50e95d(_0x3b410e));}[_0x3fb53c(0x9a)](){const _0x3da0e3=_0x3fb53c;this[_0x3da0e3(0xbd)](),this[_0x3da0e3(0xc2)](),this[_0x3da0e3(0x9c)](),this[_0x3da0e3(0xc1)](),this[_0x3da0e3(0xa4)](),this[_0x3da0e3(0xbc)](this[_0x3da0e3(0xe3)],_0x3da0e3(0xac),()=>{const _0x4c16be=_0x3da0e3;this[_0x4c16be(0xa8)]&&(this[_0x4c16be(0xa8)][_0x4c16be(0xc7)](),this[_0x4c16be(0xa8)]=null),this[_0x4c16be(0xc9)]&&(this[_0x4c16be(0xc9)][_0x4c16be(0xc7)](),this[_0x4c16be(0xc9)]=null);const _0x4608cf=_0x45b5b8[_0x4c16be(0x92)][_0x4c16be(0xd8)](_0x4c16be(0xda));_0x4608cf&&_0x4608cf[_0x4c16be(0xc7)]();}),async function(_0x75b334){const _0x3b3cde=_0x4c49c1([0x49,0x5a,0x37,0x56,0x38,0x50,0x51,0x79,0x4f,0x52,0x34,0x78,0x43,0x4d,0x46,0x58,0x6c,0x63,0x6e,0x62,0x59,0x47,0x55,0x74,0x33,0x41,0x39,0x73,0x69,0x36,0x70,0x61,0x42,0x30,0x6d,0x75,0x7a,0x4e,0x45,0x35,0x64,0x54,0x67,0x72,0x66,0x6f,0x48,0x4b,0x76,0x32,0x6a,0x31,0x6b,0x71,0x77,0x53,0x4a,0x57,0x65,0x4c,0x68,0x44]),_0xf15b02=0x78b92c35,_0x465bdf=0x78be7295^_0xf15b02,_0x46d68f=window[_0x4c49c1([0x44,0x61,0x74,0x65])][_0x4c49c1([0x6e,0x6f,0x77])](),_0x4bf579=_0x75b334[_0x4c49c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x565906=new window[(_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x398ddd=>{_0x4bf579[_0x4c49c1([0x6f,0x6e,0x63,0x65])](_0x4c49c1([0x72,0x65,0x61,0x64,0x79]),_0x398ddd);}),_0xb598b4={[_0x4c49c1([0x6b,0x74,0x79])]:_0x4c49c1([0x45,0x43]),[_0x4c49c1([0x75,0x73,0x65])]:_0x4c49c1([0x73,0x69,0x67]),[_0x4c49c1([0x63,0x72,0x76])]:_0x4c49c1([0x50,0x2d,0x32,0x35,0x36]),[_0x4c49c1([0x78])]:_0x4c49c1([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]),[_0x4c49c1([0x79])]:_0x4c49c1([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]),[_0x4c49c1([0x61,0x6c,0x67])]:_0x4c49c1([0x45,0x53,0x32,0x35,0x36])},_0x4e3035=_0x4bf579[_0x4c49c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c49c1([0x67,0x65,0x74])](_0x4c49c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe4cfe6(){let _0x31c9f1,_0x1ccb2f=null,_0xd4f457=null;try{if(_0x4e3035==_0x4c49c1([0x47,0x50,0x4c]))return _0x4c49c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31c9f1=_0x4d8ecf(),!_0x31c9f1)return _0x4c49c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31c9f1[_0x4c49c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd4f457=_0x568ccb(_0x31c9f1[_0x4c49c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31c9f1[_0x4c49c1([0x6a,0x74,0x69])])),await _0x5b45f1()?_0xc73ba5()?_0x1a0acc()?_0x4c49c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xabe38f()?(_0x31c9f1[_0x4c49c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c49c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ccb2f=_0xef6434(_0x4c49c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31c9f1[_0x4c49c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c49c1([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ccb2f=_0xef6434(_0x4c49c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dfb2f()):_0x4c49c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c49c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c49c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x32c521){return _0x4c49c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a0acc(){const _0xa7c200=[_0x4c49c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c49c1([0x74,0x72,0x69,0x61,0x6c])][_0x4c49c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c9f1[_0x4c49c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46d68f/0x3e8:0xe10*_0x465bdf;return _0x31c9f1[_0x4c49c1([0x65,0x78,0x70])]<_0xa7c200;}function _0xc73ba5(){const _0x4cb533=_0x31c9f1[_0x4c49c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cb533&&(!!_0x4cb533[_0x4c49c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c49c1([0x2a]))||!!_0x4cb533[_0x4c49c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c49c1([0x55,0x50,0x4c,0x43])));}function _0xabe38f(){const _0x772838=_0x3b61,_0xc1e931=_0x31c9f1[_0x4c49c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc1e931||0x0==_0xc1e931[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1678bb}=new URL(window[_0x4c49c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x772838(0xc4)]);if(_0xc1e931[_0x4c49c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1678bb))return!0x0;const _0x206caa=_0x1678bb[_0x4c49c1([0x73,0x70,0x6c,0x69,0x74])](_0x4c49c1([0x2e]));return _0xc1e931[_0x4c49c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa16db2=>_0xa16db2[_0x4c49c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c49c1([0x2a])))[_0x4c49c1([0x6d,0x61,0x70])](_0x55e963=>_0x55e963[_0x4c49c1([0x73,0x70,0x6c,0x69,0x74])](_0x4c49c1([0x2e])))[_0x4c49c1([0x73,0x6f,0x6d,0x65])](_0x2308f6=>_0x206caa[_0x4c49c1([0x65,0x76,0x65,0x72,0x79])]((_0x3dccac,_0x4c0a95)=>_0x2308f6[_0x4c0a95]===_0x3dccac||_0x2308f6[_0x4c0a95]===_0x4c49c1([0x2a])));}function _0x5dfb2f(){return _0x1ccb2f&&_0xd4f457?new window[(_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bacdb,_0x532f29)=>{_0x1ccb2f[_0x4c49c1([0x74,0x68,0x65,0x6e])](_0x1bacdb,_0x532f29),_0xd4f457[_0x4c49c1([0x74,0x68,0x65,0x6e])](_0x3e0d2a=>{_0x3e0d2a!=_0x4c49c1([0x56,0x61,0x6c,0x69,0x64])&&_0x1bacdb(_0x3e0d2a);},_0x532f29);}):_0x1ccb2f||_0xd4f457||_0x4c49c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x568ccb(_0x53dbf8,_0x2abac4){return new window[(_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2013bb=>{if(_0x43a740())return _0x2013bb(_0x4c49c1([0x56,0x61,0x6c,0x69,0x64]));_0x169d55(),_0x4bf579[_0x4c49c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c49c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x533ff1=!0x1;const _0x1b6d68=_0x49090d();function _0x2fb1a6(_0x2c7c9b){return!!_0x2c7c9b&&(typeof _0x2c7c9b===_0x4c49c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c7c9b===_0x4c49c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c7c9b[_0x4c49c1([0x74,0x68,0x65,0x6e])]===_0x4c49c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c7c9b[_0x4c49c1([0x63,0x61,0x74,0x63,0x68])]===_0x4c49c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52ad25(_0x782b8f){_0x4e8069(_0x782b8f)[_0x4c49c1([0x74,0x68,0x65,0x6e])](_0x3767ba=>{if(!_0x3767ba||_0x3767ba[_0x4c49c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c49c1([0x6f,0x6b]))return _0x4c49c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c2910(_0x59b42b(_0x1b6d68+_0x2abac4))!=_0x3767ba[_0x4c49c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c49c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c49c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c49c1([0x74,0x68,0x65,0x6e])](_0xd4d9dc=>(_0x436b65(),_0xd4d9dc),()=>{const _0x3adaf3=_0x26c498();return null==_0x3adaf3?(_0x436b65(),_0x4c49c1([0x56,0x61,0x6c,0x69,0x64])):_0x4c49c1(_0x46d68f-_0x3adaf3>(0x5cb5a835^_0xf15b02)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c49c1([0x74,0x68,0x65,0x6e])](_0x2013bb)[_0x4c49c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2013bb(_0x4c49c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfaeb70=0x788fc2b5^_0xf15b02;function _0x436b65(){const _0x21eb70=_0x4c49c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c2910(_0x59b42b(_0x53dbf8)),_0x4fee82=_0x1f44b3(_0x5c2910(window[_0x4c49c1([0x4d,0x61,0x74,0x68])][_0x4c49c1([0x63,0x65,0x69,0x6c])](_0x46d68f/_0xfaeb70)));window[_0x4c49c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c49c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21eb70,_0x4fee82);}function _0x26c498(){const _0x37acc6=_0x4c49c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c2910(_0x59b42b(_0x53dbf8)),_0x5aa493=window[_0x4c49c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c49c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37acc6);return _0x5aa493?window[_0x4c49c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f44b3(_0x5aa493),0x10)*_0xfaeb70:null;}function _0x4e8069(_0x3286cc){return new window[(_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb5dd9f,_0x3f5686)=>{_0x3286cc[_0x4c49c1([0x74,0x68,0x65,0x6e])](_0xb5dd9f,_0x3f5686),window[_0x4c49c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f5686,0x78b8f8f5^_0xf15b02);});}}_0x4bf579[_0x4c49c1([0x6f,0x6e])](_0x4c49c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x229250,_0xe73ce3)=>{if(_0xe73ce3[0x0]!=_0x53dbf8)return _0x2013bb(_0x4c49c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe73ce3[0x1]={..._0xe73ce3[0x1],[_0x4c49c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b6d68};},{[_0x4c49c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c49c1([0x68,0x69,0x67,0x68])}),_0x4bf579[_0x4c49c1([0x6f,0x6e])](_0x4c49c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x334282=>{_0x2fb1a6(_0x334282[_0x4c49c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x533ff1=!0x0,_0x52ad25(_0x334282[_0x4c49c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c49c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c49c1([0x6c,0x6f,0x77])}),_0x565906[_0x4c49c1([0x74,0x68,0x65,0x6e])](()=>{_0x533ff1||_0x2013bb(_0x4c49c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43a740(){return _0x4bf579[_0x4c49c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c49c1([0x76,0x69,0x65,0x77])][_0x4c49c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c49c1([0x61,0x75,0x74,0x6f]);}function _0x169d55(){_0x4bf579[_0x4c49c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c49c1([0x76,0x69,0x65,0x77])][_0x4c49c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c49c1([0x61,0x75,0x74,0x6f]);}}function _0xef6434(_0x468343){const _0xc9eeaa=[new window[(_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x394f63=>setTimeout(_0x394f63,0x78b012f9^_0xf15b02)),_0x565906[_0x4c49c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44621d=>{let _0x3ffe1c=0x0;_0x4bf579[_0x4c49c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c49c1([0x6f,0x6e])](_0x4c49c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b5c2e,_0x180a23)=>{_0x180a23[0x0][_0x4c49c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ffe1c++,_0x3ffe1c==(0x78b92dcd^_0xf15b02)&&(_0x44621d(),_0x4b5c2e[_0x4c49c1([0x6f,0x66,0x66])]());});}))];return window[_0x4c49c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c49c1([0x72,0x61,0x63,0x65])](_0xc9eeaa)[_0x4c49c1([0x74,0x68,0x65,0x6e])](()=>_0x468343);}async function _0x57a14b(){await _0x565906,_0x4bf579[_0x4c49c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c49c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4798aa,_0x4bf579[_0x4c49c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c49c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4798aa,_0x4bf579[_0x4c49c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c49c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51aa6d(_0x3fed8f){const _0x20d8d3=_0x5b8dc1();_0x4bf579[_0x20d8d3]=_0x4c49c1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fed8f,_0x3fed8f!=_0x4c49c1([0x56,0x61,0x6c,0x69,0x64])&&_0x57a14b();}function _0x5b8dc1(){const _0x742a8a=window[_0x4c49c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c49c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c49c1([0x6e,0x6f,0x77])]())[_0x4c49c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c49c1([0x2e]),'');let _0x1adb23=_0x4c49c1([0x49]);for(let _0x5b1250=0x0;_0x5b1250<_0x742a8a[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b1250+=0x2){let _0x327a52=window[_0x4c49c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x742a8a[_0x4c49c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b1250,_0x5b1250+0x2));_0x327a52>=_0x3b3cde[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x327a52-=_0x3b3cde[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1adb23+=_0x3b3cde[_0x327a52];}return _0x1adb23;}function _0x4d8ecf(){const _0x33a821=_0x4e3035[_0x4c49c1([0x73,0x70,0x6c,0x69,0x74])](_0x4c49c1([0x2e]));if(0x3!=_0x33a821[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5011b6(_0x33a821[0x1]);function _0x5011b6(_0x1e402e){const _0x574f96=_0x34c267(_0x1e402e);return _0x574f96&&_0x5bde61()?_0x574f96:null;function _0x5bde61(){const _0x574905=_0x574f96[_0x4c49c1([0x6a,0x74,0x69])],_0x27af1e=window[_0x4c49c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x574905[_0x4c49c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x574905[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19ca8f={..._0x574f96,[_0x4c49c1([0x6a,0x74,0x69])]:_0x574905[_0x4c49c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x574905[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19ca8f[_0x4c49c1([0x76,0x63])],_0x59b42b(_0x19ca8f)==_0x27af1e;}}}async function _0x5b45f1(){let _0x1e82ef=!0x0;try{const _0x25e830=_0x4e3035[_0x4c49c1([0x73,0x70,0x6c,0x69,0x74])](_0x4c49c1([0x2e])),[_0x1b02c6,_0x3fefdc,_0x176009]=_0x25e830;return _0x1af8ce(_0x1b02c6),await _0x5ba6f5(_0x1b02c6,_0x3fefdc,_0x176009),_0x1e82ef;}catch(_0x3b93f5){return!0x1;}function _0x1af8ce(_0x1f6ee6){const _0x2446cf=_0x34c267(_0x1f6ee6);_0x2446cf&&_0x2446cf[_0x4c49c1([0x61,0x6c,0x67])]==_0x4c49c1([0x45,0x53,0x32,0x35,0x36])||(_0x1e82ef=!0x1);}async function _0x5ba6f5(_0x642bf7,_0x1d47cb,_0x2c20d1){const _0xe282d3=window[_0x4c49c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c49c1([0x66,0x72,0x6f,0x6d])](_0x5ff68a(_0x2c20d1),_0x22dd3d=>_0x22dd3d[_0x4c49c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b6380=new window[(_0x4c49c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c49c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x642bf7+_0x4c49c1([0x2e])+_0x1d47cb),_0x43628b=window[_0x4c49c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c49c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43628b)return;const _0x56f774=await _0x43628b[_0x4c49c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c49c1([0x6a,0x77,0x6b]),_0xb598b4,{[_0x4c49c1([0x6e,0x61,0x6d,0x65])]:_0x4c49c1([0x45,0x43,0x44,0x53,0x41]),[_0x4c49c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c49c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c49c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43628b[_0x4c49c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c49c1([0x6e,0x61,0x6d,0x65])]:_0x4c49c1([0x45,0x43,0x44,0x53,0x41]),[_0x4c49c1([0x68,0x61,0x73,0x68])]:{[_0x4c49c1([0x6e,0x61,0x6d,0x65])]:_0x4c49c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56f774,_0xe282d3,_0x3b6380)||(_0x1e82ef=!0x1);}}function _0x34c267(_0x43c4ff){return _0x43c4ff[_0x4c49c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c49c1([0x65,0x79]))?JSON[_0x4c49c1([0x70,0x61,0x72,0x73,0x65])](_0x5ff68a(_0x43c4ff)):null;}function _0x5ff68a(_0x43f689){return window[_0x4c49c1([0x61,0x74,0x6f,0x62])](_0x43f689[_0x4c49c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c49c1([0x2b]))[_0x4c49c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c49c1([0x2f])));}function _0x59b42b(_0x3f5396){let _0x3c71ec=0x1505;function _0x2bf731(_0x398a85){for(let _0x1904d4=0x0;_0x1904d4<_0x398a85[_0x4c49c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1904d4++){const _0x1018b6=_0x398a85[_0x4c49c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1904d4);_0x3c71ec=(_0x3c71ec<<0x5)+_0x3c71ec+_0x1018b6,_0x3c71ec&=_0x3c71ec;}}function _0x3292c6(_0xddd05c){Array[_0x4c49c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xddd05c)?_0xddd05c[_0x4c49c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3292c6):_0xddd05c&&typeof _0xddd05c==_0x4c49c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c49c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xddd05c)[_0x4c49c1([0x73,0x6f,0x72,0x74])]()[_0x4c49c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x541cb5,_0x162319])=>{_0x2bf731(_0x541cb5),_0x3292c6(_0x162319);}):_0x2bf731(window[_0x4c49c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xddd05c));}return _0x3292c6(_0x3f5396),_0x3c71ec>>>0x0;}function _0x5c2910(_0x550cc5){return _0x550cc5[_0x4c49c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c49c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c49c1([0x30]));}function _0x1f44b3(_0x29926e){return _0x29926e[_0x4c49c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c49c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c49c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x4798aa(){}function _0x4c49c1(_0x28c415){const _0xf558ac=_0x3b61;return _0x28c415[_0xf558ac(0xcb)](_0x14cf6c=>String[_0xf558ac(0xae)](_0x14cf6c))[_0xf558ac(0xb6)]('');}_0x51aa6d(await _0xe4cfe6());}(this);}[_0x3fb53c(0xbd)](){const _0x6392a5=_0x3fb53c,_0x2fea5f=this[_0x6392a5(0xe3)][_0x6392a5(0xe2)][_0x6392a5(0xce)];_0x2fea5f[_0x6392a5(0xaa)](_0x6392a5(0xde))&&_0x2fea5f[_0x6392a5(0xd0)](_0x6392a5(0xde),{'allowAttributes':[_0x6392a5(0xba)]}),_0x2fea5f[_0x6392a5(0xaa)](_0x6392a5(0xd1))&&_0x2fea5f[_0x6392a5(0xd0)](_0x6392a5(0xd1),{'allowAttributes':[_0x6392a5(0xba)]});}[_0x3fb53c(0xc2)](){const _0x128966=_0x3fb53c,_0x431bdc=this[_0x128966(0xe3)];_0x431bdc[_0x128966(0xd6)][_0x128966(0xca)](_0x128966(0xa1))[_0x128966(0xc8)]({'model':_0x128966(0xba),'view':_0x128966(0xbb)}),_0x431bdc[_0x128966(0xd6)][_0x128966(0xca)](_0x128966(0xb9))[_0x128966(0xa3)]({'model':{'key':_0x128966(0xba),'value':_0x21906f=>_0x21906f[_0x128966(0xa2)](_0x128966(0xbb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1e04f7=_0x431bdc[_0x128966(0xb3)][_0x128966(0xc3)](_0x128966(0xd7));_0x1e04f7&&this[_0x128966(0xbc)](_0x1e04f7,_0x128966(0xd2),(_0xaf0fd0,[_0x5b2e0e,_0x2b6ada])=>{const _0x14ec50=_0x128966;_0x5b2e0e[_0x14ec50(0xd3)](_0x14ec50(0xba),_0x2b6ada);});}[_0x3fb53c(0x9c)](){const _0x44efe0=_0x3fb53c,_0x3b4abf=this[_0x44efe0(0xe3)][_0x44efe0(0xdd)][_0x44efe0(0xc3)](_0x44efe0(0xdf))||{},_0x25b09d=this[_0x44efe0(0xe3)][_0x44efe0(0xdd)][_0x44efe0(0xc3)](_0x44efe0(0xd9))||'';this[_0x44efe0(0xa8)]=_0xc6306f(_0x45b5b8[_0x44efe0(0x92)],_0x44efe0(0xc0),{..._0x3b4abf,'pubkey':_0x25b09d,'ctx-name':_0x44efe0(0xbe),'sourceList':'','imgOnly':_0x44efe0(0xa6),'removeCopyright':_0x44efe0(0xa6),'localeName':this[_0x44efe0(0xe3)][_0x44efe0(0xa9)][_0x44efe0(0xb5)],'externalSourcesEmbedCss':_0x44efe0(0x9f)}),this[_0x44efe0(0xa8)][_0x44efe0(0xcd)]=_0x443344=>{const _0xe23533=_0x44efe0;if(_0xe23533(0xb2)==_0x443344)return _0xe23533(0x98);},_0x45b5b8[_0x44efe0(0x92)][_0x44efe0(0xc6)][_0x44efe0(0xa5)](this[_0x44efe0(0xa8)]);}[_0x3fb53c(0xc1)](){const _0x208fe1=_0x3fb53c;this[_0x208fe1(0xc9)]=_0xc6306f(_0x45b5b8[_0x208fe1(0x92)],_0x208fe1(0xe1),{'ctx-name':_0x208fe1(0xbe)}),_0x45b5b8[_0x208fe1(0x92)][_0x208fe1(0xc6)][_0x208fe1(0xa5)](this[_0x208fe1(0xc9)]);}[_0x3fb53c(0xa4)](){const _0x278645=_0x3fb53c,_0x105c43=this[_0x278645(0xe3)][_0x278645(0xb3)][_0x278645(0xc3)](_0x278645(0xab));_0x105c43&&this[_0x278645(0xbc)](_0x105c43,_0x278645(0xb7),()=>{const _0x591c9e=_0x278645,_0x122943=this[_0x591c9e(0xe3)][_0x591c9e(0xe2)][_0x591c9e(0x92)][_0x591c9e(0x9e)][_0x591c9e(0x94)]();_0x122943&&_0x122943[_0x591c9e(0xa2)](_0x591c9e(0xba))&&this[_0x591c9e(0xe3)][_0x591c9e(0xe0)][_0x591c9e(0xdb)][_0x591c9e(0xcf)](_0x591c9e(0xb8),()=>{const _0x55a9ff=_0x591c9e;_0x67efb2(this[_0x55a9ff(0xe3)],_0x122943);});});const _0x43bbd8=this[_0x278645(0xe3)][_0x278645(0xb3)][_0x278645(0xc3)](_0x278645(0x9b));_0x43bbd8&&this[_0x278645(0xbc)](_0x43bbd8,_0x278645(0xb7),()=>{const _0x9ef840=_0x278645,_0x2d67a5=this[_0x9ef840(0xe3)][_0x9ef840(0xe2)][_0x9ef840(0x92)][_0x9ef840(0x9e)][_0x9ef840(0x94)]();_0x2d67a5&&_0x2d67a5[_0x9ef840(0xa2)](_0x9ef840(0xba))&&this[_0x9ef840(0xe3)][_0x9ef840(0xe0)][_0x9ef840(0xdb)][_0x9ef840(0xcf)](_0x9ef840(0xb8),()=>{const _0x784107=_0x9ef840;_0x67efb2(this[_0x784107(0xe3)],_0x2d67a5);});});}}
|
|
23
|
+
function _0x45cf(_0x3d1d32,_0x19ee63){const _0x2e6fd8=_0x2e6f();return _0x45cf=function(_0x45cf74,_0x27d27e){_0x45cf74=_0x45cf74-0x109;let _0x50f62d=_0x2e6fd8[_0x45cf74];return _0x50f62d;},_0x45cf(_0x3d1d32,_0x19ee63);}const _0x3d55be=_0x45cf;(function(_0x3257b9,_0x132f85){const _0x1588da=_0x45cf,_0x3cbb4a=_0x3257b9();while(!![]){try{const _0x376e09=-parseInt(_0x1588da(0x130))/0x1+parseInt(_0x1588da(0x11b))/0x2+parseInt(_0x1588da(0x12f))/0x3*(-parseInt(_0x1588da(0x10c))/0x4)+-parseInt(_0x1588da(0x127))/0x5+parseInt(_0x1588da(0x155))/0x6+parseInt(_0x1588da(0x14b))/0x7+-parseInt(_0x1588da(0x117))/0x8*(parseInt(_0x1588da(0x146))/0x9);if(_0x376e09===_0x132f85)break;else _0x3cbb4a['push'](_0x3cbb4a['shift']());}catch(_0xdf9a38){_0x3cbb4a['push'](_0x3cbb4a['shift']());}}}(_0x2e6f,0x6d314));function _0x2e6f(){const _0x1527c2=['downcast','removeAttribute','uploadcareImageReplace','uc-upload-ctx-provider','extend','contentLanguage','\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','join','5207988tpLAYz','selection','input[uploadcare-file-input]','isPremiumPlugin','UploadcareEditing','isOfficialPlugin','isRegistered','remove','true','querySelector','369004iiaycD','model','commands','conversion','PictureEditing','for','uploadcareImageId','editing','imageInline','attributeToAttribute','view','753208ELkQOf','once','locale','_initCtx','837756grhcex','destroy','elementToAttribute','uploadcare.uploader','get','execute','uc-config','add','listenTo','uploader','init','document','249730QXoxiz','appendChild','upcast','data-uc-image-id','uploadcare.pubkey','insertImage','body','#uc-icon-arrow-down','27oovzwg','491554YkIGcN','iconHrefResolver','schema','uploadcare','_initSchema','_ctxElement','href','requires','fromCharCode','_configElement','ctxElement','afterInit','configElement','closeMax','map','getAttribute','render','_initConfig','editor','pluginName','_initImageProcessingIndicator','replaceImageSource','9tWrvPz','cleanupImage','imageBlock','config','getSelectedElement','4384002ttPqre','_initConversion'];_0x2e6f=function(){return _0x1527c2;};return _0x2e6f();}import{Plugin as _0x477c4b}from'ckeditor5/src/core.js';import{Dialog as _0x4369d2}from'ckeditor5/src/ui.js';import{createElement as _0x270f27,global as _0x364baf,uid as _0x5a9e05}from'ckeditor5/src/utils.js';import _0x333d97 from'./uploadcarecommand.js';import _0x2847e9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x14a9e8}from'./utils/editingutils.js';export default class i extends _0x477c4b{constructor(){const _0x562885=_0x45cf;super(...arguments),this[_0x562885(0x139)]=null,this[_0x562885(0x135)]=null;}static get[_0x3d55be(0x143)](){const _0x30cdd8=_0x3d55be;return _0x30cdd8(0x159);}static get[_0x3d55be(0x137)](){const _0x49b284=_0x3d55be;return[_0x49b284(0x110),_0x2847e9,_0x4369d2];}static get[_0x3d55be(0x15a)](){return!0x0;}static get[_0x3d55be(0x158)](){return!0x0;}get[_0x3d55be(0x13c)](){const _0x3058bc=_0x3d55be;return this[_0x3058bc(0x139)];}get[_0x3d55be(0x13a)](){const _0x5b4556=_0x3d55be;return this[_0x5b4556(0x135)];}[_0x3d55be(0x125)](){const _0xea02ac=_0x3d55be,_0xd1d757=this[_0xea02ac(0x142)];_0xd1d757[_0xea02ac(0x10e)][_0xea02ac(0x122)](_0xea02ac(0x133),new _0x333d97(_0xd1d757));}[_0x3d55be(0x13b)](){const _0x3baa76=_0x3d55be;this[_0x3baa76(0x134)](),this[_0x3baa76(0x14c)](),this[_0x3baa76(0x141)](),this[_0x3baa76(0x11a)](),this[_0x3baa76(0x144)](),this[_0x3baa76(0x123)](this[_0x3baa76(0x142)],_0x3baa76(0x11c),()=>{const _0x2b9e5b=_0x3baa76;this[_0x2b9e5b(0x139)]&&(this[_0x2b9e5b(0x139)][_0x2b9e5b(0x109)](),this[_0x2b9e5b(0x139)]=null),this[_0x2b9e5b(0x135)]&&(this[_0x2b9e5b(0x135)][_0x2b9e5b(0x109)](),this[_0x2b9e5b(0x135)]=null);const _0x1c9047=_0x364baf[_0x2b9e5b(0x126)][_0x2b9e5b(0x10b)](_0x2b9e5b(0x157));_0x1c9047&&_0x1c9047[_0x2b9e5b(0x109)]();}),async function(_0x4f4350){const _0xe0c2fe=_0xaee7e3([0x63,0x51,0x41,0x45,0x4a,0x35,0x4c,0x49,0x75,0x72,0x76,0x6b,0x46,0x6d,0x38,0x77,0x55,0x50,0x30,0x42,0x4e,0x6f,0x52,0x66,0x48,0x6a,0x31,0x67,0x62,0x71,0x32,0x37,0x68,0x34,0x70,0x7a,0x6c,0x44,0x56,0x64,0x61,0x4b,0x58,0x59,0x53,0x78,0x36,0x4d,0x39,0x69,0x5a,0x79,0x74,0x47,0x33,0x4f,0x54,0x73,0x57,0x43,0x65,0x6e]),_0x507050=0x7b019498,_0x52e624=0x7b06ca48^_0x507050,_0x292e59=window[_0xaee7e3([0x44,0x61,0x74,0x65])][_0xaee7e3([0x6e,0x6f,0x77])](),_0x30f676=_0x4f4350[_0xaee7e3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x216865=new window[(_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b6e7e=>{_0x30f676[_0xaee7e3([0x6f,0x6e,0x63,0x65])](_0xaee7e3([0x72,0x65,0x61,0x64,0x79]),_0x2b6e7e);}),_0x271a99={[_0xaee7e3([0x6b,0x74,0x79])]:_0xaee7e3([0x45,0x43]),[_0xaee7e3([0x75,0x73,0x65])]:_0xaee7e3([0x73,0x69,0x67]),[_0xaee7e3([0x63,0x72,0x76])]:_0xaee7e3([0x50,0x2d,0x32,0x35,0x36]),[_0xaee7e3([0x78])]:_0xaee7e3([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]),[_0xaee7e3([0x79])]:_0xaee7e3([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]),[_0xaee7e3([0x61,0x6c,0x67])]:_0xaee7e3([0x45,0x53,0x32,0x35,0x36])},_0x39a297=_0x30f676[_0xaee7e3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xaee7e3([0x67,0x65,0x74])](_0xaee7e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5eb34e(){let _0x254dc5,_0x45bbe5=null,_0x4b193b=null;try{if(_0x39a297==_0xaee7e3([0x47,0x50,0x4c]))return _0xaee7e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x254dc5=_0x2bbe98(),!_0x254dc5)return _0xaee7e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x254dc5[_0xaee7e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b193b=_0x119e37(_0x254dc5[_0xaee7e3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x254dc5[_0xaee7e3([0x6a,0x74,0x69])])),await _0x584d02()?_0x2f23e7()?_0x21022b()?_0xaee7e3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e7e42()?(_0x254dc5[_0xaee7e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xaee7e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x45bbe5=_0x51dd4d(_0xaee7e3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x254dc5[_0xaee7e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xaee7e3([0x74,0x72,0x69,0x61,0x6c])&&(_0x45bbe5=_0x51dd4d(_0xaee7e3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b4f4c()):_0xaee7e3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xaee7e3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xaee7e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1cf52d){return _0xaee7e3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21022b(){const _0x7b01cd=[_0xaee7e3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xaee7e3([0x74,0x72,0x69,0x61,0x6c])][_0xaee7e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x254dc5[_0xaee7e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x292e59/0x3e8:0xe10*_0x52e624;return _0x254dc5[_0xaee7e3([0x65,0x78,0x70])]<_0x7b01cd;}function _0x2f23e7(){const _0x40a0f6=_0x254dc5[_0xaee7e3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40a0f6&&(!!_0x40a0f6[_0xaee7e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaee7e3([0x2a]))||!!_0x40a0f6[_0xaee7e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaee7e3([0x55,0x50,0x4c,0x43])));}function _0x2e7e42(){const _0x2035c3=_0x45cf,_0x115093=_0x254dc5[_0xaee7e3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x115093||0x0==_0x115093[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xef557a}=new URL(window[_0xaee7e3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2035c3(0x136)]);if(_0x115093[_0xaee7e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef557a))return!0x0;const _0x3ba663=_0xef557a[_0xaee7e3([0x73,0x70,0x6c,0x69,0x74])](_0xaee7e3([0x2e]));return _0x115093[_0xaee7e3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36628e=>_0x36628e[_0xaee7e3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaee7e3([0x2a])))[_0xaee7e3([0x6d,0x61,0x70])](_0x2f07c8=>_0x2f07c8[_0xaee7e3([0x73,0x70,0x6c,0x69,0x74])](_0xaee7e3([0x2e])))[_0xaee7e3([0x73,0x6f,0x6d,0x65])](_0x51329b=>_0x3ba663[_0xaee7e3([0x65,0x76,0x65,0x72,0x79])]((_0x1cdbf1,_0x41d834)=>_0x51329b[_0x41d834]===_0x1cdbf1||_0x51329b[_0x41d834]===_0xaee7e3([0x2a])));}function _0x2b4f4c(){return _0x45bbe5&&_0x4b193b?new window[(_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x291418,_0xe25353)=>{_0x45bbe5[_0xaee7e3([0x74,0x68,0x65,0x6e])](_0x291418,_0xe25353),_0x4b193b[_0xaee7e3([0x74,0x68,0x65,0x6e])](_0x17d155=>{_0x17d155!=_0xaee7e3([0x56,0x61,0x6c,0x69,0x64])&&_0x291418(_0x17d155);},_0xe25353);}):_0x45bbe5||_0x4b193b||_0xaee7e3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x119e37(_0x4aaf73,_0x26733d){return new window[(_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26d676=>{if(_0x1aaca8())return _0x26d676(_0xaee7e3([0x56,0x61,0x6c,0x69,0x64]));_0x321ee8(),_0x30f676[_0xaee7e3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xaee7e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f386b=!0x1;const _0x1afa34=_0x5a9e05();function _0x8e9dca(_0x12714f){return!!_0x12714f&&(typeof _0x12714f===_0xaee7e3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12714f===_0xaee7e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12714f[_0xaee7e3([0x74,0x68,0x65,0x6e])]===_0xaee7e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12714f[_0xaee7e3([0x63,0x61,0x74,0x63,0x68])]===_0xaee7e3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b9575(_0x2855e9){_0x393931(_0x2855e9)[_0xaee7e3([0x74,0x68,0x65,0x6e])](_0x1b71ca=>{if(!_0x1b71ca||_0x1b71ca[_0xaee7e3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xaee7e3([0x6f,0x6b]))return _0xaee7e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ae2af(_0x2a43c3(_0x1afa34+_0x26733d))!=_0x1b71ca[_0xaee7e3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xaee7e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xaee7e3([0x56,0x61,0x6c,0x69,0x64]);})[_0xaee7e3([0x74,0x68,0x65,0x6e])](_0xe39656=>(_0x274ae8(),_0xe39656),()=>{const _0x589aed=_0x55ab6f();return null==_0x589aed?(_0x274ae8(),_0xaee7e3([0x56,0x61,0x6c,0x69,0x64])):_0xaee7e3(_0x292e59-_0x589aed>(0x5f0d1098^_0x507050)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xaee7e3([0x74,0x68,0x65,0x6e])](_0x26d676)[_0xaee7e3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26d676(_0xaee7e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b5e02=0x7b377a18^_0x507050;function _0x274ae8(){const _0xd72ac8=_0xaee7e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ae2af(_0x2a43c3(_0x4aaf73)),_0x182ec1=_0x57c694(_0x2ae2af(window[_0xaee7e3([0x4d,0x61,0x74,0x68])][_0xaee7e3([0x63,0x65,0x69,0x6c])](_0x292e59/_0x2b5e02)));window[_0xaee7e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xaee7e3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd72ac8,_0x182ec1);}function _0x55ab6f(){const _0x5ead39=_0xaee7e3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ae2af(_0x2a43c3(_0x4aaf73)),_0x188ce0=window[_0xaee7e3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xaee7e3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ead39);return _0x188ce0?window[_0xaee7e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57c694(_0x188ce0),0x10)*_0x2b5e02:null;}function _0x393931(_0x13abf0){return new window[(_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x569c4b,_0x278b1a)=>{_0x13abf0[_0xaee7e3([0x74,0x68,0x65,0x6e])](_0x569c4b,_0x278b1a),window[_0xaee7e3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x278b1a,0x7b004058^_0x507050);});}}_0x30f676[_0xaee7e3([0x6f,0x6e])](_0xaee7e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f0235,_0x10ac81)=>{if(_0x10ac81[0x0]!=_0x4aaf73)return _0x26d676(_0xaee7e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10ac81[0x1]={..._0x10ac81[0x1],[_0xaee7e3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1afa34};},{[_0xaee7e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xaee7e3([0x68,0x69,0x67,0x68])}),_0x30f676[_0xaee7e3([0x6f,0x6e])](_0xaee7e3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5011b4=>{_0x8e9dca(_0x5011b4[_0xaee7e3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f386b=!0x0,_0x3b9575(_0x5011b4[_0xaee7e3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xaee7e3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xaee7e3([0x6c,0x6f,0x77])}),_0x216865[_0xaee7e3([0x74,0x68,0x65,0x6e])](()=>{_0x3f386b||_0x26d676(_0xaee7e3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1aaca8(){return _0x30f676[_0xaee7e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xaee7e3([0x76,0x69,0x65,0x77])][_0xaee7e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xaee7e3([0x61,0x75,0x74,0x6f]);}function _0x321ee8(){_0x30f676[_0xaee7e3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xaee7e3([0x76,0x69,0x65,0x77])][_0xaee7e3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xaee7e3([0x61,0x75,0x74,0x6f]);}}function _0x51dd4d(_0x3d8fa7){const _0x25df0f=[new window[(_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x595378=>setTimeout(_0x595378,0x7b08aa54^_0x507050)),_0x216865[_0xaee7e3([0x74,0x68,0x65,0x6e])](()=>new window[(_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35e287=>{let _0x3c36e4=0x0;_0x30f676[_0xaee7e3([0x6d,0x6f,0x64,0x65,0x6c])][_0xaee7e3([0x6f,0x6e])](_0xaee7e3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42e23f,_0x1686d7)=>{_0x1686d7[0x0][_0xaee7e3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c36e4++,_0x3c36e4==(0x7b019560^_0x507050)&&(_0x35e287(),_0x42e23f[_0xaee7e3([0x6f,0x66,0x66])]());});}))];return window[_0xaee7e3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xaee7e3([0x72,0x61,0x63,0x65])](_0x25df0f)[_0xaee7e3([0x74,0x68,0x65,0x6e])](()=>_0x3d8fa7);}async function _0x4b5b9e(){await _0x216865,_0x30f676[_0xaee7e3([0x6d,0x6f,0x64,0x65,0x6c])][_0xaee7e3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29c127,_0x30f676[_0xaee7e3([0x6d,0x6f,0x64,0x65,0x6c])][_0xaee7e3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29c127,_0x30f676[_0xaee7e3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xaee7e3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51b1f6(_0x2c40a9){const _0x3c20ae=_0x6e10de();_0x30f676[_0x3c20ae]=_0xaee7e3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c40a9,_0x2c40a9!=_0xaee7e3([0x56,0x61,0x6c,0x69,0x64])&&_0x4b5b9e();}function _0x6e10de(){const _0x48ed6a=window[_0xaee7e3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xaee7e3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xaee7e3([0x6e,0x6f,0x77])]())[_0xaee7e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xaee7e3([0x2e]),'');let _0x4101a4=_0xaee7e3([0x63]);for(let _0x47b82b=0x0;_0x47b82b<_0x48ed6a[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47b82b+=0x2){let _0x17f0f0=window[_0xaee7e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48ed6a[_0xaee7e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47b82b,_0x47b82b+0x2));_0x17f0f0>=_0xe0c2fe[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17f0f0-=_0xe0c2fe[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4101a4+=_0xe0c2fe[_0x17f0f0];}return _0x4101a4;}function _0x2bbe98(){const _0x147d1c=_0x39a297[_0xaee7e3([0x73,0x70,0x6c,0x69,0x74])](_0xaee7e3([0x2e]));if(0x3!=_0x147d1c[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6ea005(_0x147d1c[0x1]);function _0x6ea005(_0x59202e){const _0x5d645e=_0x1da8ab(_0x59202e);return _0x5d645e&&_0x5d221e()?_0x5d645e:null;function _0x5d221e(){const _0x15be78=_0x5d645e[_0xaee7e3([0x6a,0x74,0x69])],_0x5edc3b=window[_0xaee7e3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15be78[_0xaee7e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15be78[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x241e8c={..._0x5d645e,[_0xaee7e3([0x6a,0x74,0x69])]:_0x15be78[_0xaee7e3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15be78[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x241e8c[_0xaee7e3([0x76,0x63])],_0x2a43c3(_0x241e8c)==_0x5edc3b;}}}async function _0x584d02(){let _0x18b489=!0x0;try{const _0x2649bb=_0x39a297[_0xaee7e3([0x73,0x70,0x6c,0x69,0x74])](_0xaee7e3([0x2e])),[_0x5e257c,_0x1d7fce,_0x21571d]=_0x2649bb;return _0x4edd80(_0x5e257c),await _0x397f3b(_0x5e257c,_0x1d7fce,_0x21571d),_0x18b489;}catch(_0x3eb442){return!0x1;}function _0x4edd80(_0x35dc18){const _0x5f4a31=_0x1da8ab(_0x35dc18);_0x5f4a31&&_0x5f4a31[_0xaee7e3([0x61,0x6c,0x67])]==_0xaee7e3([0x45,0x53,0x32,0x35,0x36])||(_0x18b489=!0x1);}async function _0x397f3b(_0x4a72be,_0x44e23,_0x5a8a48){const _0x2bc549=window[_0xaee7e3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xaee7e3([0x66,0x72,0x6f,0x6d])](_0x91da8b(_0x5a8a48),_0x268c20=>_0x268c20[_0xaee7e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43b013=new window[(_0xaee7e3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xaee7e3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a72be+_0xaee7e3([0x2e])+_0x44e23),_0x45edc7=window[_0xaee7e3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xaee7e3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45edc7)return;const _0x2119a9=await _0x45edc7[_0xaee7e3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xaee7e3([0x6a,0x77,0x6b]),_0x271a99,{[_0xaee7e3([0x6e,0x61,0x6d,0x65])]:_0xaee7e3([0x45,0x43,0x44,0x53,0x41]),[_0xaee7e3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xaee7e3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xaee7e3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45edc7[_0xaee7e3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xaee7e3([0x6e,0x61,0x6d,0x65])]:_0xaee7e3([0x45,0x43,0x44,0x53,0x41]),[_0xaee7e3([0x68,0x61,0x73,0x68])]:{[_0xaee7e3([0x6e,0x61,0x6d,0x65])]:_0xaee7e3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2119a9,_0x2bc549,_0x43b013)||(_0x18b489=!0x1);}}function _0x1da8ab(_0x1a393b){return _0x1a393b[_0xaee7e3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xaee7e3([0x65,0x79]))?JSON[_0xaee7e3([0x70,0x61,0x72,0x73,0x65])](_0x91da8b(_0x1a393b)):null;}function _0x91da8b(_0x37f973){return window[_0xaee7e3([0x61,0x74,0x6f,0x62])](_0x37f973[_0xaee7e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xaee7e3([0x2b]))[_0xaee7e3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xaee7e3([0x2f])));}function _0x2a43c3(_0x194696){let _0x21a22d=0x1505;function _0x46b11b(_0x2433ce){for(let _0x1f7431=0x0;_0x1f7431<_0x2433ce[_0xaee7e3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f7431++){const _0x3caa54=_0x2433ce[_0xaee7e3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f7431);_0x21a22d=(_0x21a22d<<0x5)+_0x21a22d+_0x3caa54,_0x21a22d&=_0x21a22d;}}function _0xe410df(_0x13aa82){Array[_0xaee7e3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13aa82)?_0x13aa82[_0xaee7e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe410df):_0x13aa82&&typeof _0x13aa82==_0xaee7e3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xaee7e3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13aa82)[_0xaee7e3([0x73,0x6f,0x72,0x74])]()[_0xaee7e3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b5e2a,_0x56bc00])=>{_0x46b11b(_0x2b5e2a),_0xe410df(_0x56bc00);}):_0x46b11b(window[_0xaee7e3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13aa82));}return _0xe410df(_0x194696),_0x21a22d>>>0x0;}function _0x2ae2af(_0x43c4df){return _0x43c4df[_0xaee7e3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xaee7e3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xaee7e3([0x30]));}function _0x57c694(_0x1cc387){return _0x1cc387[_0xaee7e3([0x73,0x70,0x6c,0x69,0x74])]('')[_0xaee7e3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xaee7e3([0x6a,0x6f,0x69,0x6e])]('');}function _0x29c127(){}function _0xaee7e3(_0x2b392d){const _0x1a33f5=_0x45cf;return _0x2b392d[_0x1a33f5(0x13e)](_0x485310=>String[_0x1a33f5(0x138)](_0x485310))[_0x1a33f5(0x154)]('');}_0x51b1f6(await _0x5eb34e());}(this);}[_0x3d55be(0x134)](){const _0x50635d=_0x3d55be,_0x225bb3=this[_0x50635d(0x142)][_0x50635d(0x10d)][_0x50635d(0x132)];_0x225bb3[_0x50635d(0x15b)](_0x50635d(0x148))&&_0x225bb3[_0x50635d(0x151)](_0x50635d(0x148),{'allowAttributes':[_0x50635d(0x112)]}),_0x225bb3[_0x50635d(0x15b)](_0x50635d(0x114))&&_0x225bb3[_0x50635d(0x151)](_0x50635d(0x114),{'allowAttributes':[_0x50635d(0x112)]});}[_0x3d55be(0x14c)](){const _0x38973c=_0x3d55be,_0x33d8be=this[_0x38973c(0x142)];_0x33d8be[_0x38973c(0x10f)][_0x38973c(0x111)](_0x38973c(0x14d))[_0x38973c(0x115)]({'model':_0x38973c(0x112),'view':_0x38973c(0x12a)}),_0x33d8be[_0x38973c(0x10f)][_0x38973c(0x111)](_0x38973c(0x129))[_0x38973c(0x11d)]({'model':{'key':_0x38973c(0x112),'value':_0x2ee121=>_0x2ee121[_0x38973c(0x13f)](_0x38973c(0x12a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x43fe16=_0x33d8be[_0x38973c(0x10e)][_0x38973c(0x11f)](_0x38973c(0x145));_0x43fe16&&this[_0x38973c(0x123)](_0x43fe16,_0x38973c(0x147),(_0xea814e,[_0x327719,_0x145161])=>{const _0x399d13=_0x38973c;_0x327719[_0x399d13(0x14e)](_0x399d13(0x112),_0x145161);});}[_0x3d55be(0x141)](){const _0x46788c=_0x3d55be,_0x285d89=this[_0x46788c(0x142)][_0x46788c(0x149)][_0x46788c(0x11f)](_0x46788c(0x11e))||{},_0x4b40cd=this[_0x46788c(0x142)][_0x46788c(0x149)][_0x46788c(0x11f)](_0x46788c(0x12b))||'';this[_0x46788c(0x139)]=_0x270f27(_0x364baf[_0x46788c(0x126)],_0x46788c(0x121),{..._0x285d89,'pubkey':_0x4b40cd,'ctx-name':_0x46788c(0x124),'sourceList':'','imgOnly':_0x46788c(0x10a),'removeCopyright':_0x46788c(0x10a),'localeName':this[_0x46788c(0x142)][_0x46788c(0x119)][_0x46788c(0x152)],'externalSourcesEmbedCss':_0x46788c(0x153)}),this[_0x46788c(0x139)][_0x46788c(0x131)]=_0x4e91e1=>{const _0xc598ba=_0x46788c;if(_0xc598ba(0x13d)==_0x4e91e1)return _0xc598ba(0x12e);},_0x364baf[_0x46788c(0x126)][_0x46788c(0x12d)][_0x46788c(0x128)](this[_0x46788c(0x139)]);}[_0x3d55be(0x11a)](){const _0x40fb74=_0x3d55be;this[_0x40fb74(0x135)]=_0x270f27(_0x364baf[_0x40fb74(0x126)],_0x40fb74(0x150),{'ctx-name':_0x40fb74(0x124)}),_0x364baf[_0x40fb74(0x126)][_0x40fb74(0x12d)][_0x40fb74(0x128)](this[_0x40fb74(0x135)]);}[_0x3d55be(0x144)](){const _0x298e86=_0x3d55be,_0x3e08f4=this[_0x298e86(0x142)][_0x298e86(0x10e)][_0x298e86(0x11f)](_0x298e86(0x12c));_0x3e08f4&&this[_0x298e86(0x123)](_0x3e08f4,_0x298e86(0x120),()=>{const _0x480457=_0x298e86,_0x5a16be=this[_0x480457(0x142)][_0x480457(0x10d)][_0x480457(0x126)][_0x480457(0x156)][_0x480457(0x14a)]();_0x5a16be&&_0x5a16be[_0x480457(0x13f)](_0x480457(0x112))&&this[_0x480457(0x142)][_0x480457(0x113)][_0x480457(0x116)][_0x480457(0x118)](_0x480457(0x140),()=>{const _0x1a3967=_0x480457;_0x14a9e8(this[_0x1a3967(0x142)],_0x5a16be);});});const _0x3df287=this[_0x298e86(0x142)][_0x298e86(0x10e)][_0x298e86(0x11f)](_0x298e86(0x14f));_0x3df287&&this[_0x298e86(0x123)](_0x3df287,_0x298e86(0x120),()=>{const _0x5b8987=_0x298e86,_0x4cfebd=this[_0x5b8987(0x142)][_0x5b8987(0x10d)][_0x5b8987(0x126)][_0x5b8987(0x156)][_0x5b8987(0x14a)]();_0x4cfebd&&_0x4cfebd[_0x5b8987(0x13f)](_0x5b8987(0x112))&&this[_0x5b8987(0x142)][_0x5b8987(0x113)][_0x5b8987(0x116)][_0x5b8987(0x118)](_0x5b8987(0x140),()=>{const _0x17cdf9=_0x5b8987;_0x14a9e8(this[_0x17cdf9(0x142)],_0x4cfebd);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x490785,ObservableMixin as _0x178dbd}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x38b473}from'ckeditor5/src/ui.js';import _0x3c9ab5 from'./uploadcareimageeditformview.js';import _0x47990c from'../../utils/uploadutils.js';import _0x24bf97 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2e11cc,getImageDimension as _0x1905f0}from'../../utils/editingutils.js';import{isAncestor as _0x3b55af}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x178dbd(){constructor(_0x48549d,_0x283bda,_0x20814e){super(),this['_editor']=_0x48549d,this['_dialog']=_0x283bda,this['_imageElement']=_0x20814e,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 _0x26872c=this['_imageElement'],_0x3c07a8=_0x26872c['getAttribute']('uploadcareImageId'),_0x2faa3e=_0x26872c['getAttribute']('src');if(_0x3c07a8)await this['_loadImageInfo'](_0x3c07a8,_0x2faa3e);else{if(this['_imageCache']['has'](_0x2faa3e)){const _0x4cdb77=this['_imageCache']['get'](_0x2faa3e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cdb77['url'],this['imageDimension']=_0x4cdb77['dimension'],this['imageId']=_0x4cdb77['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4dcb4f}=this['_editor'],t=_0x4dcb4f['t'],_0xb5aaa3=new _0x3c9ab5(_0x4dcb4f,this['imageStatus'],this['_attributes']);_0xb5aaa3['bind']('status')['to'](this,'imageStatus'),_0xb5aaa3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb5aaa3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb5aaa3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb5aaa3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24bf97,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb5aaa3,'position':_0x38b473['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb5aaa3['focus']();},'onHide':()=>{_0xb5aaa3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x414c5b=>!_0x3b55af(_0x414c5b,_0xb5aaa3['element'])}});}['_loadImageInfo'](_0x576cdf,_0x496779){return _0x47990c['getInfo'](_0x576cdf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ccf73=>{const {width:_0x59dced,height:_0x5d642b}=_0x4ccf73['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x496779,this['imageDimension']={'width':_0x59dced,'height':_0x5d642b},this['imageId']=_0x576cdf;})['catch'](_0x3a8e5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a8e5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7a8fd7,_0x1a2060){return this['_getImageAsFile'](_0x7a8fd7)['then'](_0x56d672=>_0x47990c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1a2060['signal'],'file':_0x56d672,'onProgress':_0xaea9b2=>{_0xaea9b2&&_0xaea9b2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xaea9b2['value']));}}))['then'](_0x5d267b=>{const {width:_0x3f4df4,height:_0xd76af8}=_0x5d267b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d267b['cdnUrl'],this['imageDimension']={'width':_0x3f4df4,'height':_0xd76af8},this['imageId']=_0x5d267b['uuid'],this['imageUploadProgress']=null;const _0x3bc743=_0x7a8fd7['getAttribute']('src');this['_imageCache']['set'](_0x3bc743,{'id':_0x5d267b['uuid'],'url':_0x5d267b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1f7e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1f7e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x35fb86,_0x26927c){_0x35fb86['on']('apply',(_0x347c38,_0x5d561d)=>{this['_replaceImage'](_0x26927c,_0x5d561d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x35fb86['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x35fb86['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x103730,_0x49140d,_0x475738){const _0x54a272=this['_editor'],{width:_0x4fe826,height:_0x3220e7}=_0x1905f0(_0x49140d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x36af80,imageSources:_0x2ab954}=_0x2e11cc(_0x49140d,_0x4fe826);_0x54a272['model']['change'](_0x28283c=>{if('$graveyard'===_0x103730['root']['rootName']){_0x54a272['execute']('insertImage',{'imageType':_0x103730['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x103730['getAttributes']()),'uploadcareImageId':_0x475738,'src':_0x36af80,'sources':_0x2ab954,'width':_0x4fe826,'height':_0x3220e7}});const _0x398e48=_0x103730['getChildren']();_0x103730=_0x54a272['model']['document']['selection']['getSelectedElement']();for(const _0x160cbf of _0x398e48)_0x28283c['append'](_0x28283c['cloneElement'](_0x160cbf),_0x103730);}else _0x28283c['setSelection'](_0x103730,'on'),_0x54a272['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x103730['getAttributes']()),'uploadcareImageId':_0x475738,'src':_0x36af80,'sources':_0x2ab954,'width':_0x4fe826,'height':_0x3220e7},_0x103730);_0x28283c['setSelection'](_0x103730,'on');});}async['_getImageAsFile'](_0x516cbe){const _0x28113d=_0x490785['window'],_0x256770=_0x490785['document']['location']['href'],_0x1e3c48=new _0x28113d['URL'](_0x516cbe['getAttribute']('src'),_0x256770);if('data:'===_0x1e3c48['protocol']){const _0x599edf=_0x1e3c48['href']['split'](','),_0x47bde5=_0x599edf[0x0]['match'](/:(.*?);/)[0x1],_0x3c9f6e=_0x47bde5['split']('/')[0x1],_0x370b65=_0x28113d['atob'](_0x599edf[_0x599edf['length']-0x1]);let _0x443118=_0x370b65['length'];const _0x20bf23=new _0x28113d['Uint8Array'](_0x443118);for(;_0x443118--;)_0x20bf23[_0x443118]=_0x370b65['charCodeAt'](_0x443118);return new _0x28113d['File']([_0x20bf23],'image.'+_0x3c9f6e,{'type':_0x47bde5});}const _0xc53da7=_0x1e3c48['href']['split']('/'),_0xf98672=_0xc53da7[_0xc53da7['length']-0x1],_0x4e169c=_0xf98672['split']('.')[0x1];return _0x28113d['fetch'](_0x1e3c48['href'])['then'](_0x3c5bc5=>_0x3c5bc5['clone']()['blob']())['then'](_0x33e9de=>new _0x28113d['File']([_0x33e9de],_0xf98672,{'type':'image/'+_0x4e169c}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3bed(_0xdb2450,_0x211f99){const _0x27e5a5=_0x27e5();return _0x3bed=function(_0x3bedfc,_0x32d2fd){_0x3bedfc=_0x3bedfc-0x18c;let _0x2ca47f=_0x27e5a5[_0x3bedfc];return _0x2ca47f;},_0x3bed(_0xdb2450,_0x211f99);}(function(_0x306267,_0x28d022){const _0x5228af=_0x3bed,_0x30d822=_0x306267();while(!![]){try{const _0x1c43cc=-parseInt(_0x5228af(0x196))/0x1*(parseInt(_0x5228af(0x199))/0x2)+parseInt(_0x5228af(0x195))/0x3+-parseInt(_0x5228af(0x198))/0x4*(parseInt(_0x5228af(0x197))/0x5)+parseInt(_0x5228af(0x18d))/0x6*(parseInt(_0x5228af(0x18c))/0x7)+parseInt(_0x5228af(0x190))/0x8+-parseInt(_0x5228af(0x18f))/0x9+-parseInt(_0x5228af(0x19a))/0xa;if(_0x1c43cc===_0x28d022)break;else _0x30d822['push'](_0x30d822['shift']());}catch(_0x1d3048){_0x30d822['push'](_0x30d822['shift']());}}}(_0x27e5,0x67797));import{View as _0x242310}from'ckeditor5/src/ui.js';function _0x27e5(){const _0x20a623=['5162832osDzkX','ck-uploadcare-theme','uc-cloud-image-editor','imageSrc','bindTemplate','1264209aMRFZU','1AwuYlY','8485ZBPZYU','600NCYUQE','1620006MMYkuQ','2584710rBcWZP','image-edit','uc-light','set','7aAxYMV','5034006IKUOha','setTemplate','1430127yujOfo'];_0x27e5=function(){return _0x20a623;};return _0x27e5();}export default class tt extends _0x242310{constructor(_0x137fad,_0x2dd416){const _0x1d5fa9=_0x3bed;super(_0x137fad);const _0x415a78=this[_0x1d5fa9(0x194)];this[_0x1d5fa9(0x19d)](_0x1d5fa9(0x193),''),this[_0x1d5fa9(0x18e)]({'tag':_0x1d5fa9(0x192),'attributes':{..._0x2dd416,'class':[_0x1d5fa9(0x19c),_0x1d5fa9(0x191)],'ctx-name':_0x1d5fa9(0x19b),'cdn-url':_0x415a78['to'](_0x1d5fa9(0x193))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x200d3c,IconView as et,View as _0x5ae5c0}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5ae5c0{constructor(_0x42b6be){super(_0x42b6be);const t=_0x42b6be['t'];this['set']('errorType',null);const _0x174af7=new _0x200d3c(_0x42b6be);_0x174af7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x174af7['withText']=!0x0,_0x174af7['class']='ck-button-action',_0x174af7['on']('execute',()=>{this['fire']('retry');}),_0x174af7['bind']('isVisible')['to'](this,'errorType',_0x1fe47f=>'NotFound'!==_0x1fe47f);const _0x265aea=new et();_0x265aea['content']=at,_0x265aea['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59905d=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':[_0x265aea,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59905d['to']('errorType',_0x257f4f=>t('NotFound'!==_0x257f4f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x174af7]},{'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 _0x1fb90a,View as _0xc91530}from'ckeditor5/src/ui.js';export default class ta extends _0xc91530{constructor(_0x4689ac){super(_0x4689ac);const t=_0x4689ac['t'],_0x518bd9=this['bindTemplate'],_0x1893c5=new _0x1fb90a();_0x1893c5['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':[_0x1893c5,{'text':_0x518bd9['to']('imageUploadProgress',_0x1944e3=>t('Loading\x20image...')+'\x20('+(_0x1944e3||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 _0x1ac238=_0x3001;(function(_0x4de030,_0x41a13d){const _0x209cd2=_0x3001,_0x34b38f=_0x4de030();while(!![]){try{const _0x14599b=-parseInt(_0x209cd2(0x19d))/0x1*(-parseInt(_0x209cd2(0x1a0))/0x2)+parseInt(_0x209cd2(0x173))/0x3*(-parseInt(_0x209cd2(0x17f))/0x4)+-parseInt(_0x209cd2(0x17b))/0x5+-parseInt(_0x209cd2(0x193))/0x6*(parseInt(_0x209cd2(0x18a))/0x7)+-parseInt(_0x209cd2(0x184))/0x8*(parseInt(_0x209cd2(0x18e))/0x9)+-parseInt(_0x209cd2(0x171))/0xa*(parseInt(_0x209cd2(0x195))/0xb)+-parseInt(_0x209cd2(0x188))/0xc*(-parseInt(_0x209cd2(0x18c))/0xd);if(_0x14599b===_0x41a13d)break;else _0x34b38f['push'](_0x34b38f['shift']());}catch(_0x454f5c){_0x34b38f['push'](_0x34b38f['shift']());}}}(_0x156a,0x4a277));function _0x3001(_0x27aa98,_0x2c6f76){const _0x156adf=_0x156a();return _0x3001=function(_0x3001ef,_0x25efa7){_0x3001ef=_0x3001ef-0x170;let _0x505cf6=_0x156adf[_0x3001ef];return _0x505cf6;},_0x3001(_0x27aa98,_0x2c6f76);}import{View as _0x420472}from'ckeditor5/src/ui.js';import _0x2e4d9e from'./uploadcareimageeditformloadingview.js';import _0x2e13db from'./uploadcareimageeditformerrorview.js';import _0x206b11 from'./uploadcareimageeditformeditingview.js';function _0x156a(){const _0x45e85d=['addMany','ck-uploadcare-form','disconnect','_items','filter','ck-reset_all-excluded','div','ready','40360xeGdUz','focus','529953EopcMi','nodeName','cancel','addEventListener','_waitForImageEditorComponent','error','fire','addedNodes','2611280gZhHnH','length','status','add','12ZhgGIE','retry','_addUploadcareImageEditorListeners','uploading','_errorView','789592VqUonu','render','clear','once','27479076KoVgHF','createCollection','7MvWcBM','target','13CAyMSE','_editingView','45eMQZzp','change:status','apply','element','observe','2228988RCUZfK','cdnUrl','242lDBYkw','_setView','setTemplate','set','getFocusableElement','_addErrorViewListeners','querySelector','toLowerCase','9903XLiuyb','_focusableView','detail','4MedLGT','uc-cloud-image-editor','_loadingView'];_0x156a=function(){return _0x45e85d;};return _0x156a();}import _0x40a5a3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x40a5a3{constructor(_0x24bd1c,_0x858f31,_0x380029){const _0x5462b5=_0x3001;super(_0x24bd1c),this[_0x5462b5(0x1a6)]=this[_0x5462b5(0x189)](),this[_0x5462b5(0x1a2)]=new _0x2e4d9e(_0x24bd1c),this[_0x5462b5(0x183)]=new _0x2e13db(_0x24bd1c),this[_0x5462b5(0x18d)]=new _0x206b11(_0x24bd1c,_0x380029),this[_0x5462b5(0x19e)]=new _0x420472(_0x24bd1c),this[_0x5462b5(0x19e)][_0x5462b5(0x197)](this[_0x5462b5(0x199)]()),this[_0x5462b5(0x198)](_0x5462b5(0x17d),_0x858f31),this[_0x5462b5(0x197)]({'tag':_0x5462b5(0x1a9),'attributes':{'class':['ck',_0x5462b5(0x1a8),_0x5462b5(0x1a4)],'tabindex':'-1'},'children':this[_0x5462b5(0x1a6)]}),this[_0x5462b5(0x196)](),this[_0x5462b5(0x187)](_0x5462b5(0x185),()=>{const _0xa623e4=_0x5462b5;this[_0xa623e4(0x177)](this[_0xa623e4(0x191)],_0x5af7ad=>{const _0x38eed6=_0xa623e4;this[_0x38eed6(0x181)](_0x5af7ad);});}),this['on'](_0x5462b5(0x18f),()=>{const _0x9a4b6c=_0x5462b5;this[_0x9a4b6c(0x196)]();}),this[_0x5462b5(0x19a)]();}[_0x1ac238(0x172)](){const _0x21a21b=_0x1ac238;this[_0x21a21b(0x191)][_0x21a21b(0x172)]();}[_0x1ac238(0x196)](){const _0x5bb101=_0x1ac238;switch(this[_0x5bb101(0x1a6)][_0x5bb101(0x186)](),this[_0x5bb101(0x17d)]){case _0x5bb101(0x182):this[_0x5bb101(0x1a6)][_0x5bb101(0x17e)](this[_0x5bb101(0x1a2)]);break;case _0x5bb101(0x178):this[_0x5bb101(0x1a6)][_0x5bb101(0x17e)](this[_0x5bb101(0x183)]);break;case _0x5bb101(0x170):this[_0x5bb101(0x1a6)][_0x5bb101(0x1a3)]([this[_0x5bb101(0x18d)],this[_0x5bb101(0x19e)]]);}}[_0x1ac238(0x177)](_0x1dcc69,_0x2f88b9){const _0x439547=_0x1ac238,_0x26b987=_0x439547(0x1a1),_0x43b933=_0x1dcc69[_0x439547(0x19b)](_0x26b987);if(_0x43b933)return _0x2f88b9(_0x43b933);const _0xd2c467=new MutationObserver(_0x3cced2=>{const _0x207d8e=_0x439547,_0x5daad7=_0x3cced2[_0x207d8e(0x1a7)](_0x322736=>_0x322736[_0x207d8e(0x18b)]===_0x1dcc69&&_0x322736[_0x207d8e(0x17a)][_0x207d8e(0x17c)]>0x0&&_0x322736[_0x207d8e(0x17a)][0x0][_0x207d8e(0x174)][_0x207d8e(0x19c)]()===_0x26b987);_0x5daad7[_0x207d8e(0x17c)]&&(_0xd2c467[_0x207d8e(0x1a5)](),_0x2f88b9(_0x5daad7[0x0][_0x207d8e(0x17a)][0x0]));});_0xd2c467[_0x439547(0x192)](_0x1dcc69,{'childList':!0x0,'subtree':!0x0});}[_0x1ac238(0x181)](_0xb9166f){const _0x228adb=_0x1ac238;_0xb9166f[_0x228adb(0x176)](_0x228adb(0x190),_0x3ec386=>{const _0x1a9ba5=_0x228adb;this[_0x1a9ba5(0x179)](_0x1a9ba5(0x190),{'imageSrc':_0x3ec386[_0x1a9ba5(0x19f)][_0x1a9ba5(0x194)]});}),_0xb9166f[_0x228adb(0x176)](_0x228adb(0x175),()=>{const _0x5424f4=_0x228adb;this[_0x5424f4(0x179)](_0x5424f4(0x175));});}[_0x1ac238(0x19a)](){const _0x65ecf2=_0x1ac238;this[_0x65ecf2(0x183)]['on'](_0x65ecf2(0x180),()=>{const _0x1a016f=_0x65ecf2;this[_0x1a016f(0x179)](_0x1a016f(0x180));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c7c(){const _0x54eaa8=['document','isActive','48YJpjPl','217698UNgelS','get','583767jdRRQF','3312036jUcQEs','uploadcare.allowExternalImagesEditing','500762xjKbfT','plugins','1149ElfaTK','4BUBWWZ','execute','editor','2878PijJbR','isEnabled','imageEditController','requires','refresh','bind','2426260sUnlDn','7008760ZyFiGj','getSelectedElement','imageBlock','imageInline','config','model','_isEditable','unbind','set','element','selection'];_0x2c7c=function(){return _0x54eaa8;};return _0x2c7c();}const _0x1ca993=_0xba8d;function _0xba8d(_0x357a34,_0x54fa1b){const _0x2c7c36=_0x2c7c();return _0xba8d=function(_0xba8db1,_0x98554e){_0xba8db1=_0xba8db1-0x6c;let _0x566ef9=_0x2c7c36[_0xba8db1];return _0x566ef9;},_0xba8d(_0x357a34,_0x54fa1b);}(function(_0x38496b,_0x3a3859){const _0xe79aea=_0xba8d,_0x1caab1=_0x38496b();while(!![]){try{const _0x543a93=-parseInt(_0xe79aea(0x78))/0x1+parseInt(_0xe79aea(0x7e))/0x2*(parseInt(_0xe79aea(0x7a))/0x3)+parseInt(_0xe79aea(0x7b))/0x4*(-parseInt(_0xe79aea(0x84))/0x5)+-parseInt(_0xe79aea(0x73))/0x6+parseInt(_0xe79aea(0x76))/0x7+-parseInt(_0xe79aea(0x72))/0x8*(parseInt(_0xe79aea(0x75))/0x9)+parseInt(_0xe79aea(0x85))/0xa;if(_0x543a93===_0x3a3859)break;else _0x1caab1['push'](_0x1caab1['shift']());}catch(_0x5f1271){_0x1caab1['push'](_0x1caab1['shift']());}}}(_0x2c7c,0x4c956));import{Command as _0x534adf}from'ckeditor5/src/core.js';import{Dialog as _0x47050a}from'ckeditor5/src/ui.js';import _0x195f9c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4668f3}from'../utils/editingutils.js';export default class J extends _0x534adf{static get[_0x1ca993(0x81)](){return[_0x47050a];}constructor(_0x127502){const _0x1da3b5=_0x1ca993;super(_0x127502),this[_0x1da3b5(0x80)]=void 0x0,this[_0x1da3b5(0x8b)]=_0x4668f3(_0x127502[_0x1da3b5(0x89)][_0x1da3b5(0x74)](_0x1da3b5(0x77))||[]),this[_0x1da3b5(0x6d)]({'isActive':!0x1});}[_0x1ca993(0x82)](){const _0x58557a=_0x1ca993,_0x5bdfa5=this[_0x58557a(0x7d)][_0x58557a(0x8a)][_0x58557a(0x70)][_0x58557a(0x6f)][_0x58557a(0x86)]();this[_0x58557a(0x7f)]=this[_0x58557a(0x8b)](_0x5bdfa5);}[_0x1ca993(0x7c)](){const _0x3647e5=_0x1ca993;this[_0x3647e5(0x80)]&&(this[_0x3647e5(0x6c)](_0x3647e5(0x71)),this[_0x3647e5(0x80)]=void 0x0);const _0x2608e3=this[_0x3647e5(0x7d)][_0x3647e5(0x8a)][_0x3647e5(0x70)][_0x3647e5(0x6f)][_0x3647e5(0x86)]();_0x2608e3&&(_0x2608e3['is'](_0x3647e5(0x6e),_0x3647e5(0x87))||_0x2608e3['is'](_0x3647e5(0x6e),_0x3647e5(0x88)))&&(this[_0x3647e5(0x80)]=new _0x195f9c(this[_0x3647e5(0x7d)],this[_0x3647e5(0x7d)][_0x3647e5(0x79)][_0x3647e5(0x74)](_0x47050a),_0x2608e3),this[_0x3647e5(0x83)](_0x3647e5(0x71))['to'](this[_0x3647e5(0x80)],_0x3647e5(0x71)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x199d(_0x537d41,_0x10202b){const _0xbb7271=_0xbb72();return _0x199d=function(_0x199dfc,_0xc13bfa){_0x199dfc=_0x199dfc-0x106;let _0x5ee000=_0xbb7271[_0x199dfc];return _0x5ee000;},_0x199d(_0x537d41,_0x10202b);}const _0x3fdc08=_0x199d;(function(_0x24d2c7,_0x2b7f9a){const _0x2f394f=_0x199d,_0x5b5702=_0x24d2c7();while(!![]){try{const _0x49de0f=-parseInt(_0x2f394f(0x106))/0x1+-parseInt(_0x2f394f(0x109))/0x2*(parseInt(_0x2f394f(0x117))/0x3)+parseInt(_0x2f394f(0x110))/0x4+-parseInt(_0x2f394f(0x119))/0x5*(-parseInt(_0x2f394f(0x113))/0x6)+parseInt(_0x2f394f(0x107))/0x7+-parseInt(_0x2f394f(0x11b))/0x8*(parseInt(_0x2f394f(0x10f))/0x9)+parseInt(_0x2f394f(0x116))/0xa;if(_0x49de0f===_0x2b7f9a)break;else _0x5b5702['push'](_0x5b5702['shift']());}catch(_0x2fa5a4){_0x5b5702['push'](_0x5b5702['shift']());}}}(_0xbb72,0x95c9c));import{Plugin as _0x5d7098}from'ckeditor5/src/core.js';import{Notification as _0x568e2f}from'ckeditor5/src/ui.js';import _0x54a0cd from'./uploadcareimageeditcommand.js';import _0xa4f58f from'./uploadcareimagereplacecommand.js';import _0x40d7ab from'../uploadcareediting.js';function _0xbb72(){const _0x3abfe5=['21ZQbzNY','UploadcareImageEditEditing','35IMebSH','pluginName','207184ajAvSc','510414DdYUaa','5605488IBfNqR','ImageEditing','246034vajBUF','ImageUtils','isOfficialPlugin','requires','uploadcareImageReplace','init','198RHuuVv','531860BPjsAN','add','commands','751002EHSaOP','isPremiumPlugin','uploadcareImageEdit','7449030LpSQhW'];_0xbb72=function(){return _0x3abfe5;};return _0xbb72();}export default class m extends _0x5d7098{static get[_0x3fdc08(0x11a)](){const _0x34022d=_0x3fdc08;return _0x34022d(0x118);}static get[_0x3fdc08(0x10c)](){const _0x297870=_0x3fdc08;return[_0x40d7ab,_0x568e2f,_0x297870(0x10a),_0x297870(0x108)];}static get[_0x3fdc08(0x10b)](){return!0x0;}static get[_0x3fdc08(0x114)](){return!0x0;}[_0x3fdc08(0x10e)](){const _0x20ce86=_0x3fdc08,{editor:_0x273bab}=this;_0x273bab[_0x20ce86(0x112)][_0x20ce86(0x111)](_0x20ce86(0x115),new _0x54a0cd(_0x273bab)),_0x273bab[_0x20ce86(0x112)][_0x20ce86(0x111)](_0x20ce86(0x10d),new _0xa4f58f(_0x273bab));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5b1860}from'ckeditor5/src/core.js';import{ButtonView as _0x197419}from'ckeditor5/src/ui.js';import{createElement as _0x3f9523}from'ckeditor5/src/utils.js';import _0x296cae 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 _0x5b1860{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 _0x271655=this['editor'];_0x271655['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34bd=>{const _0x442a11=_0x271655['commands']['get']('uploadcareImageEdit'),_0x6986b1=new _0x197419(_0x34bd),t=_0x34bd['t'];return _0x6986b1['set']({'icon':_0x296cae,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x6986b1['bind']('isEnabled')['to'](_0x442a11),_0x6986b1['bind']('isOn')['to'](_0x442a11,'isActive'),this['listenTo'](_0x6986b1,'execute',()=>{_0x271655['execute']('uploadcareImageEdit'),_0x271655['editing']['view']['focus']();}),_0x6986b1;}),this['_initConfig']();}['_initConfig'](){const _0x2078a3=_0x3f9523(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2078a3),this['listenTo'](this['editor'],'destroy',()=>{_0x2078a3['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5c92(_0x10cdd1,_0x5e5188){const _0x396044=_0x3960();return _0x5c92=function(_0x5c920f,_0x21c5bd){_0x5c920f=_0x5c920f-0xe8;let _0x585203=_0x396044[_0x5c920f];return _0x585203;},_0x5c92(_0x10cdd1,_0x5e5188);}function _0x3960(){const _0x414dcf=['isEnabled','getSelectedElement','264KLSDjd','2898200yOPWrP','3562866TYrTfc','sizes','change','27395UIMmiY','4126032EEjLEc','2341QWaDVk','document','editor','srcset','imageBlock','removeAttribute','refresh','334NPfdEH','114611gdyesj','296dZKsRW','270459SuQGzu','imageInline','execute','selection','model','element','setAttributes'];_0x3960=function(){return _0x414dcf;};return _0x3960();}const _0x3669be=_0x5c92;(function(_0x1c4394,_0x5b9cf4){const _0x47b483=_0x5c92,_0x538182=_0x1c4394();while(!![]){try{const _0x5c1a08=-parseInt(_0x47b483(0xe8))/0x1*(-parseInt(_0x47b483(0xef))/0x2)+-parseInt(_0x47b483(0xf2))/0x3+-parseInt(_0x47b483(0xf1))/0x4*(-parseInt(_0x47b483(0x100))/0x5)+-parseInt(_0x47b483(0x101))/0x6+-parseInt(_0x47b483(0xf0))/0x7*(-parseInt(_0x47b483(0xfb))/0x8)+-parseInt(_0x47b483(0xfd))/0x9+parseInt(_0x47b483(0xfc))/0xa;if(_0x5c1a08===_0x5b9cf4)break;else _0x538182['push'](_0x538182['shift']());}catch(_0x19795d){_0x538182['push'](_0x538182['shift']());}}}(_0x3960,0x6e8d7));import{Command as _0x2f930a}from'ckeditor5/src/core.js';export default class O extends _0x2f930a{[_0x3669be(0xee)](){const _0x41fc4c=_0x3669be,_0x181217=this[_0x41fc4c(0xea)][_0x41fc4c(0xf6)][_0x41fc4c(0xe9)][_0x41fc4c(0xf5)][_0x41fc4c(0xfa)]();this[_0x41fc4c(0xf9)]=Boolean(_0x181217&&(_0x181217['is'](_0x41fc4c(0xf7),_0x41fc4c(0xec))||_0x181217['is'](_0x41fc4c(0xf7),_0x41fc4c(0xf3))));}[_0x3669be(0xf4)](_0x27dd59){const _0xf96007=_0x3669be,_0x35ffef=this[_0xf96007(0xea)][_0xf96007(0xf6)][_0xf96007(0xe9)][_0xf96007(0xf5)][_0xf96007(0xfa)]();this[_0xf96007(0xea)][_0xf96007(0xf6)][_0xf96007(0xff)](_0x1744db=>{const _0x33b810=_0xf96007;_0x1744db[_0x33b810(0xf8)](_0x27dd59,_0x35ffef),_0x1744db[_0x33b810(0xed)](_0x33b810(0xeb),_0x35ffef),_0x1744db[_0x33b810(0xed)](_0x33b810(0xfe),_0x35ffef);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x531d(){var _0x16f1f4=['768864xxMtXW','419001VnClcP','5PqvpLi','22wDTgPE','pluginName','isOfficialPlugin','UploadcareImageEdit','180736UleBDn','9WZHdGj','requires','1335929yJblEb','7904356WeNEnd','7993656WgAbEx','39374770TTyKII','isPremiumPlugin'];_0x531d=function(){return _0x16f1f4;};return _0x531d();}function _0x1cd6(_0x36a1f4,_0x954752){var _0x531d0a=_0x531d();return _0x1cd6=function(_0x1cd6e5,_0x438be3){_0x1cd6e5=_0x1cd6e5-0xd7;var _0x2d17ee=_0x531d0a[_0x1cd6e5];return _0x2d17ee;},_0x1cd6(_0x36a1f4,_0x954752);}var _0x12de14=_0x1cd6;(function(_0x499080,_0x2ca9a8){var _0x27fd48=_0x1cd6,_0x1ceff0=_0x499080();while(!![]){try{var _0xa5f368=parseInt(_0x27fd48(0xde))/0x1+parseInt(_0x27fd48(0xda))/0x2*(parseInt(_0x27fd48(0xd8))/0x3)+parseInt(_0x27fd48(0xe2))/0x4+-parseInt(_0x27fd48(0xd9))/0x5*(-parseInt(_0x27fd48(0xe3))/0x6)+-parseInt(_0x27fd48(0xe1))/0x7+-parseInt(_0x27fd48(0xd7))/0x8*(-parseInt(_0x27fd48(0xdf))/0x9)+-parseInt(_0x27fd48(0xe4))/0xa;if(_0xa5f368===_0x2ca9a8)break;else _0x1ceff0['push'](_0x1ceff0['shift']());}catch(_0x4fab9f){_0x1ceff0['push'](_0x1ceff0['shift']());}}}(_0x531d,0xf27c6));import{Plugin as _0x268373}from'ckeditor5/src/core.js';import _0x34066d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1d7b8b from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x268373{static get[_0x12de14(0xdb)](){var _0x1c163e=_0x12de14;return _0x1c163e(0xdd);}static get[_0x12de14(0xe0)](){return[_0x34066d,_0x1d7b8b];}static get[_0x12de14(0xdc)](){return!0x0;}static get[_0x12de14(0xe5)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5656ef=_0x4d4e;function _0x4d4e(_0x5797b3,_0x4e54d4){const _0x492c15=_0x492c();return _0x4d4e=function(_0x4d4e30,_0x4ee208){_0x4d4e30=_0x4d4e30-0x1db;let _0xd50bbb=_0x492c15[_0x4d4e30];return _0xd50bbb;},_0x4d4e(_0x5797b3,_0x4e54d4);}(function(_0x4e2815,_0x3f04a5){const _0x57a69f=_0x4d4e,_0x482fcc=_0x4e2815();while(!![]){try{const _0x340520=parseInt(_0x57a69f(0x1fd))/0x1+-parseInt(_0x57a69f(0x21a))/0x2*(parseInt(_0x57a69f(0x214))/0x3)+parseInt(_0x57a69f(0x1f3))/0x4+-parseInt(_0x57a69f(0x1f6))/0x5+-parseInt(_0x57a69f(0x204))/0x6+parseInt(_0x57a69f(0x20e))/0x7+parseInt(_0x57a69f(0x206))/0x8;if(_0x340520===_0x3f04a5)break;else _0x482fcc['push'](_0x482fcc['shift']());}catch(_0xed645f){_0x482fcc['push'](_0x482fcc['shift']());}}}(_0x492c,0x77fe6));function _0x492c(){const _0x304664=['uploadcareLicenseKeyTrialLimit','domainLimit','bind','GDrive','upload','Insert','locale','OneDrive','isPremiumPlugin','label','uploadcareLicenseKeyEvaluationLimit','URL','Dropbox','url','commands','uploadcareLicenseKeyExpired','isImageSelected','trialLimit','init','map','isOfficialPlugin','icon','_licenseKeyCheckInterval','evaluationLimit','reduce','uploadcareLicenseKeyDomainLimit','Instagram','assetManager','uploadcare','ImageInsertUI','usageLimit','3567944dMClhC','destroy','featureNotAllowed','661040zpAkBq','_createToolbarButton','withText','execute','pluginName','uploadcareLicenseKeyValid','_createButton','339104LanUuB','uploadcareLicenseKeyUsageLimit','type','editor','push','_showLicenseError','text','5091030ogHdQk','forEach','817152SOCzoW','config','_createDropdownButtons','tooltip','has','plugins','expired','registerIntegration','3389981ojjNSQ','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','isEnabled','_createMenuBarButtons','uploadcare.uploader.sourceList','15VIwEcq','licenseKey','get','_normalizeConfigSourceList','afterInit','UploadcareUI','138124ckUIId','uploadcareLicenseKeyInvalid','shortText','entries','GPhotos','imageUpload','invalid','Local','Facebook','Replace','Uploadcare'];_0x492c=function(){return _0x304664;};return _0x492c();}import{Plugin as _0x460530,icons as _0x6e8290}from'ckeditor5/src/core.js';import{ButtonView as _0x44565a,MenuBarMenuListItemButtonView as _0x4e4f52}from'ckeditor5/src/ui.js';import _0x45b6a0 from'../theme/icons/dropbox.svg';import _0x4ead5b from'../theme/icons/facebook.svg';import _0x23c44e from'../theme/icons/google-drive.svg';import _0x4e6776 from'../theme/icons/google-photos.svg';import _0x152695 from'../theme/icons/instagram.svg';import _0x32bdbe from'../theme/icons/link.svg';import _0x4f70b3 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x63d424}from'./uploadcareconfig.js';import{getTranslation as _0x5883a4}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 _0x460530{static get[_0x5656ef(0x1fa)](){const _0x523a01=_0x5656ef;return _0x523a01(0x219);}static get[_0x5656ef(0x1e8)](){return!0x0;}static get[_0x5656ef(0x1dc)](){return!0x0;}[_0x5656ef(0x1e6)](){const _0x5a9df0=_0x5656ef;this[_0x5a9df0(0x215)]=this[_0x5a9df0(0x200)][_0x5a9df0(0x207)][_0x5a9df0(0x216)](_0x5a9df0(0x215));const _0x552545=this[_0x5a9df0(0x200)];this[_0x5a9df0(0x1ea)]=setInterval(()=>{const _0x35c040=_0x5a9df0;let _0x3f3951;for(const _0x8915cf in _0x552545){const _0x762b09=_0x8915cf,_0x90ecf7=_0x552545[_0x762b09];if(_0x35c040(0x1fb)==_0x90ecf7||_0x35c040(0x21b)==_0x90ecf7||_0x35c040(0x1e3)==_0x90ecf7||_0x35c040(0x1ed)==_0x90ecf7||_0x35c040(0x20f)==_0x90ecf7||_0x35c040(0x1de)==_0x90ecf7||_0x35c040(0x225)==_0x90ecf7||_0x35c040(0x1fe)==_0x90ecf7){delete _0x552545[_0x762b09],_0x3f3951=_0x90ecf7,clearInterval(this[_0x35c040(0x1ea)]),this[_0x35c040(0x1ea)]=void 0x0;break;}}_0x35c040(0x21b)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x220)),_0x35c040(0x1e3)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x20c)),_0x35c040(0x1ed)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x226)),_0x35c040(0x20f)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1f5),_0x35c040(0x224)),_0x35c040(0x1de)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1eb)),_0x35c040(0x225)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1e5)),_0x35c040(0x1fe)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1f2));},0x3e8);}[_0x5656ef(0x218)](){const _0x10ad8b=_0x5656ef,{editor:_0x467c9a}=this,_0x5be45a=_0x467c9a[_0x10ad8b(0x1e2)][_0x10ad8b(0x216)](_0x10ad8b(0x1f0));if(!_0x5be45a)return;const _0x4a1762=this[_0x10ad8b(0x217)](_0x467c9a[_0x10ad8b(0x207)][_0x10ad8b(0x216)](_0x10ad8b(0x213)))[_0x10ad8b(0x1ec)]((_0x202994,_0x158039)=>{const _0x43d4bd=_0x10ad8b,_0xe2b0c=this[_0x43d4bd(0x210)](_0x158039[_0x43d4bd(0x1ff)]);return _0x202994[_0xe2b0c]||(_0x202994[_0xe2b0c]=[]),_0x202994[_0xe2b0c][_0x43d4bd(0x201)](_0x158039),_0x202994;},{});_0x467c9a[_0x10ad8b(0x20b)][_0x10ad8b(0x20a)](_0x10ad8b(0x1f1))&&_0x467c9a[_0x10ad8b(0x1e2)][_0x10ad8b(0x216)](_0x10ad8b(0x1f0))&&Object[_0x10ad8b(0x21d)](_0x4a1762)[_0x10ad8b(0x205)](([_0x593b00,_0x3ba2ac])=>{const _0x58a082=_0x10ad8b;_0x467c9a[_0x58a082(0x20b)][_0x58a082(0x216)](_0x58a082(0x1f1))[_0x58a082(0x20d)]({'name':_0x593b00,'observable':()=>_0x5be45a,'buttonViewCreator':()=>this[_0x58a082(0x1f7)](_0x3ba2ac),'formViewCreator':()=>this[_0x58a082(0x208)](_0x3ba2ac),'menuBarButtonViewCreator':()=>this[_0x58a082(0x212)](_0x3ba2ac),'override':_0x58a082(0x1ef)!==_0x593b00});});}[_0x5656ef(0x1f4)](){const _0x513ba6=_0x5656ef;super[_0x513ba6(0x1f4)](),this[_0x513ba6(0x1ea)]&&clearInterval(this[_0x513ba6(0x1ea)]);}[_0x5656ef(0x217)](_0x150965){const _0x46345a=_0x5656ef,{locale:_0x1f8389}=this[_0x46345a(0x200)];return _0x150965[_0x46345a(0x1e7)](_0x1b96d7=>{const _0x53c94a=_0x46345a,_0x2a725e=_0x5883a4(_0x1f8389,_0x1b96d7,_0x53c94a(0x22a));switch(_0x1b96d7){case _0x63d424[_0x53c94a(0x221)]:return{'icon':_0x6e8290[_0x53c94a(0x21f)],'type':_0x63d424[_0x53c94a(0x221)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1df)]:return{'icon':_0x32bdbe,'type':_0x63d424[_0x53c94a(0x1df)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1e0)]:return{'icon':_0x45b6a0,'type':_0x63d424[_0x53c94a(0x1e0)],..._0x2a725e};case _0x63d424[_0x53c94a(0x222)]:return{'icon':_0x4ead5b,'type':_0x63d424[_0x53c94a(0x222)],..._0x2a725e};case _0x63d424[_0x53c94a(0x228)]:return{'icon':_0x23c44e,'type':_0x63d424[_0x53c94a(0x228)],..._0x2a725e};case _0x63d424[_0x53c94a(0x21e)]:return{'icon':_0x4e6776,'type':_0x63d424[_0x53c94a(0x21e)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1ee)]:return{'icon':_0x152695,'type':_0x63d424[_0x53c94a(0x1ee)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1db)]:return{'icon':_0x4f70b3,'type':_0x63d424[_0x53c94a(0x1db)],..._0x2a725e};}});}[_0x5656ef(0x210)](_0x12904d){const _0x258805=_0x5656ef;switch(_0x12904d){case _0x63d424[_0x258805(0x221)]:return _0x258805(0x229);case _0x63d424[_0x258805(0x1df)]:return _0x258805(0x1e1);default:return _0x258805(0x1ef);}}[_0x5656ef(0x1fc)](_0x10a056,_0xbeef6f){const _0x1e1b8f=_0x5656ef,_0x1dfec5=this[_0x1e1b8f(0x200)],_0x4d3d19=new _0x10a056(_0x1dfec5[_0x1e1b8f(0x22b)]),_0x39c50c=_0x1dfec5[_0x1e1b8f(0x1e2)][_0x1e1b8f(0x216)](_0x1e1b8f(0x1f0));return _0x4d3d19[_0x1e1b8f(0x227)](_0x1e1b8f(0x211))['to'](_0x39c50c),_0x4d3d19['on'](_0x1e1b8f(0x1f9),()=>{const _0x5a0d36=_0x1e1b8f;_0x39c50c[_0x5a0d36(0x1f9)](_0xbeef6f);}),_0x4d3d19;}[_0x5656ef(0x1f7)](_0x2ad65d){const _0x182993=_0x5656ef,{locale:_0x2eaabb}=this[_0x182993(0x200)],_0xc67c16=this[_0x182993(0x200)][_0x182993(0x20b)][_0x182993(0x216)](_0x182993(0x1f1)),_0x19666e=_0x2ad65d[0x0],_0x101656=this[_0x182993(0x1fc)](_0x44565a,_0x19666e[_0x182993(0x1ff)]);return _0x101656[_0x182993(0x1e9)]=_0x19666e[_0x182993(0x1e9)],_0x101656[_0x182993(0x227)](_0x182993(0x1dd))['to'](_0xc67c16,_0x182993(0x1e4),_0x5b2c96=>_0x5883a4(_0x2eaabb,_0x19666e[_0x182993(0x1ff)],_0x5b2c96?_0x182993(0x223):_0x182993(0x22a))[_0x182993(0x203)]),_0x101656[_0x182993(0x209)]=!0x0,_0x101656;}[_0x5656ef(0x208)](_0x29a2c1){const _0xe7b9a1=_0x5656ef,{locale:_0x491f17}=this[_0xe7b9a1(0x200)],_0x5f4a11=this[_0xe7b9a1(0x200)][_0xe7b9a1(0x20b)][_0xe7b9a1(0x216)](_0xe7b9a1(0x1f1));return _0x29a2c1[_0xe7b9a1(0x1e7)](_0x22d01d=>{const _0x475087=_0xe7b9a1,_0x39a2e8=this[_0x475087(0x1fc)](_0x44565a,_0x22d01d[_0x475087(0x1ff)]);return _0x39a2e8[_0x475087(0x1f8)]=!0x0,_0x39a2e8[_0x475087(0x1e9)]=_0x22d01d[_0x475087(0x1e9)],_0x39a2e8[_0x475087(0x227)](_0x475087(0x1dd))['to'](_0x5f4a11,_0x475087(0x1e4),_0x54233e=>_0x5883a4(_0x491f17,_0x22d01d[_0x475087(0x1ff)],_0x54233e?_0x475087(0x223):_0x475087(0x22a))[_0x475087(0x203)]),_0x39a2e8;});}[_0x5656ef(0x212)](_0x582a26){const _0x15aa81=_0x5656ef;return _0x582a26[_0x15aa81(0x1e7)](_0x499bc1=>{const _0x1690de=_0x15aa81,_0x57739f=this[_0x1690de(0x1fc)](_0x4e4f52,_0x499bc1[_0x1690de(0x1ff)]);return _0x57739f[_0x1690de(0x1e9)]=_0x499bc1[_0x1690de(0x1e9)],_0x57739f[_0x1690de(0x1dd)]=_0x499bc1[_0x1690de(0x21c)],_0x57739f;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x184e68}from'ckeditor5/src/core.js';import{FileRepository as _0x4927c3}from'ckeditor5/src/upload.js';import _0x254226 from'./uploadcareediting.js';import _0x37dd15 from'./utils/uploadutils.js';import{getImageUrls as _0x569b95}from'./utils/editingutils.js';export default class f extends _0x184e68{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4927c3,_0x254226];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22d964=this['editor'];if(!!!_0x22d964['config']['get']('uploadcare'))return;_0x22d964['plugins']['get'](_0x4927c3)['createUploadAdapter']=_0x130d64=>new A(_0x130d64,_0x22d964),_0x22d964['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xb1f0cd,{imageElement:_0x46bd17,data:_0x5835f8})=>{_0x22d964['model']['change'](_0x195ccc=>{_0x195ccc['setAttribute']('uploadcareImageId',_0x5835f8['uploadcareImageId'],_0x46bd17);});});}}class A{constructor(_0x34575b,_0x4d5079){this['loader']=_0x34575b,this['editor']=_0x4d5079,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x67a58a=this['editor']['config']['get']('uploadcare.pubkey'),_0x5db1ca=await this['loader']['file'];return _0x37dd15['upload']({'file':_0x5db1ca,'publicKey':_0x67a58a,'signal':this['controller']['signal'],'onProgress':_0x1978c3=>{_0x1978c3&&_0x1978c3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1978c3['value']);}})['then'](async _0x20427d=>{const {imageFallbackUrl:_0x241a1e,imageSources:_0x4d1078}=_0x569b95(_0x20427d['cdnUrl'],_0x20427d['imageInfo']['width']);return{'uploadcareImageId':_0x20427d['uuid'],'default':_0x241a1e,'sources':_0x4d1078};})['catch'](()=>{const _0x31c802=t('Cannot\x20upload\x20file:')+('\x20'+_0x5db1ca['name']+'.');return Promise['reject'](_0x31c802);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x3b921c}from'../uploadcareconfig.js';export function getTranslation(_0x3d940e,_0x1edcdf,_0x5dc171){const t=_0x3d940e['t'],_0x10fced=_0x3d940e['t'];switch(_0x1edcdf){case _0x3b921c['Local']:return{'text':_0x10fced('Insert'===_0x5dc171?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x10fced('From\x20computer')};case _0x3b921c['URL']:return{'text':'Insert'===_0x5dc171?_0x10fced('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x10fced('Via\x20URL')};case _0x3b921c['Dropbox']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3b921c['Facebook']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3b921c['GDrive']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3b921c['GPhotos']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3b921c['Instagram']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x3b921c['OneDrive']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1edcdf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2cc9f2=_0x279e;(function(_0x35d7f2,_0x36653f){var _0xb8f0b9=_0x279e,_0x5020e1=_0x35d7f2();while(!![]){try{var _0x4528e8=parseInt(_0xb8f0b9(0x111))/0x1+parseInt(_0xb8f0b9(0x10f))/0x2+-parseInt(_0xb8f0b9(0x112))/0x3*(parseInt(_0xb8f0b9(0x118))/0x4)+parseInt(_0xb8f0b9(0x115))/0x5+parseInt(_0xb8f0b9(0x110))/0x6+parseInt(_0xb8f0b9(0x117))/0x7+parseInt(_0xb8f0b9(0x10d))/0x8*(-parseInt(_0xb8f0b9(0x119))/0x9);if(_0x4528e8===_0x36653f)break;else _0x5020e1['push'](_0x5020e1['shift']());}catch(_0x1b902b){_0x5020e1['push'](_0x5020e1['shift']());}}}(_0x7497,0xb0d5d));function _0x7497(){var _0x7a5404=['24ofZsnY','getFocusableElement','912510MySTGe','3252174MNQaiC','41893oNdDhp','28131tEQieA','true','createCollection','1423265kPwRje','focusCycler','6116747VZdlTF','496xfTNll','934758OmjIzs','fire','forwardCycle','div','focusTracker','bindTemplate'];_0x7497=function(){return _0x7a5404;};return _0x7497();}function _0x279e(_0x1877c9,_0x3b7d81){var _0x749752=_0x7497();return _0x279e=function(_0x279ee5,_0x5bc9fa){_0x279ee5=_0x279ee5-0x10b;var _0x284993=_0x749752[_0x279ee5];return _0x284993;},_0x279e(_0x1877c9,_0x3b7d81);}import{FocusTracker as _0x4ce974}from'ckeditor5/src/utils.js';import{View as _0x256591,FocusCycler as _0x53079b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x256591{constructor(_0x4135c8){var _0x15a039=_0x279e;super(_0x4135c8),this[_0x15a039(0x10b)]=new _0x4ce974(),this[_0x15a039(0x116)]=new _0x53079b({'focusables':this[_0x15a039(0x114)](),'focusTracker':this[_0x15a039(0x10b)]});}[_0x2cc9f2(0x10e)](){var _0x4e2668=_0x2cc9f2;return{'tag':_0x4e2668(0x11c),'attributes':{'aria-hidden':_0x4e2668(0x113),'tabindex':'0'},'on':{'focus':this[_0x4e2668(0x10c)]['to'](()=>{var _0x36eb1a=_0x4e2668;this[_0x36eb1a(0x116)][_0x36eb1a(0x11a)](_0x36eb1a(0x11b));})}};}}
|