@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250202.0 → 0.0.0-nightly-20250204.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1087(_0x5b40ec,_0x209abd){var _0x1b8bdb=_0x1b8b();return _0x1087=function(_0x1087d8,_0x3ec870){_0x1087d8=_0x1087d8-0x1e7;var _0x521065=_0x1b8bdb[_0x1087d8];return _0x521065;},_0x1087(_0x5b40ec,_0x209abd);}(function(_0x3c1739,_0x33bf14){var _0x591bf5=_0x1087,_0x585f84=_0x3c1739();while(!![]){try{var _0x3f104c=parseInt(_0x591bf5(0x1f1))/0x1+parseInt(_0x591bf5(0x1f8))/0x2+parseInt(_0x591bf5(0x1e8))/0x3+parseInt(_0x591bf5(0x1ee))/0x4*(-parseInt(_0x591bf5(0x1fa))/0x5)+-parseInt(_0x591bf5(0x1fb))/0x6+parseInt(_0x591bf5(0x1fd))/0x7+parseInt(_0x591bf5(0x1f2))/0x8*(-parseInt(_0x591bf5(0x1f0))/0x9);if(_0x3f104c===_0x33bf14)break;else _0x585f84['push'](_0x585f84['shift']());}catch(_0x1fdc26){_0x585f84['push'](_0x585f84['shift']());}}}(_0x1b8b,0x1ad36));function _0x1b8b(){var _0x3ffb60=['664MBZJga','Dropbox','instagram','gdrive','local','url','157010KiYJQb','gphotos','5SFQTGj','986502AQsaON','dropbox','1309315aeShhL','Instagram','onedrive','GDrive','4779zCbgoq','Local','GPhotos','Facebook','facebook','URL','519952UUlKjI','OneDrive','3006RalolJ','164862KShODe'];_0x1b8b=function(){return _0x3ffb60;};return _0x1b8b();}export var UploadcareSource;!function(_0x39fbd6){var _0x33f310=_0x1087;_0x39fbd6[_0x33f310(0x1e9)]=_0x33f310(0x1f6),_0x39fbd6[_0x33f310(0x1ed)]=_0x33f310(0x1f7),_0x39fbd6[_0x33f310(0x1f3)]=_0x33f310(0x1fc),_0x39fbd6[_0x33f310(0x1e7)]=_0x33f310(0x1f5),_0x39fbd6[_0x33f310(0x1eb)]=_0x33f310(0x1ec),_0x39fbd6[_0x33f310(0x1ea)]=_0x33f310(0x1f9),_0x39fbd6[_0x33f310(0x1fe)]=_0x33f310(0x1f4),_0x39fbd6[_0x33f310(0x1ef)]=_0x33f310(0x1ff);}(UploadcareSource||(UploadcareSource={}));
23
+ (function(_0x56ed45,_0x51d4d0){var _0x2c212a=_0x2716,_0x5dd601=_0x56ed45();while(!![]){try{var _0x568bca=-parseInt(_0x2c212a(0x11c))/0x1+parseInt(_0x2c212a(0x12d))/0x2+-parseInt(_0x2c212a(0x131))/0x3+parseInt(_0x2c212a(0x11d))/0x4+-parseInt(_0x2c212a(0x126))/0x5+-parseInt(_0x2c212a(0x129))/0x6*(-parseInt(_0x2c212a(0x125))/0x7)+-parseInt(_0x2c212a(0x120))/0x8;if(_0x568bca===_0x51d4d0)break;else _0x5dd601['push'](_0x5dd601['shift']());}catch(_0x489c8b){_0x5dd601['push'](_0x5dd601['shift']());}}}(_0xa8b7,0xe68dd));export var UploadcareSource;!function(_0x2b1b78){var _0x51dcb9=_0x2716;_0x2b1b78[_0x51dcb9(0x12e)]=_0x51dcb9(0x12c),_0x2b1b78[_0x51dcb9(0x11e)]=_0x51dcb9(0x121),_0x2b1b78[_0x51dcb9(0x123)]=_0x51dcb9(0x12b),_0x2b1b78[_0x51dcb9(0x132)]=_0x51dcb9(0x128),_0x2b1b78[_0x51dcb9(0x133)]=_0x51dcb9(0x12a),_0x2b1b78[_0x51dcb9(0x11f)]=_0x51dcb9(0x130),_0x2b1b78[_0x51dcb9(0x124)]=_0x51dcb9(0x127),_0x2b1b78[_0x51dcb9(0x122)]=_0x51dcb9(0x12f);}(UploadcareSource||(UploadcareSource={}));function _0x2716(_0x5ae3e9,_0x209356){var _0xa8b794=_0xa8b7();return _0x2716=function(_0x27167a,_0x575b33){_0x27167a=_0x27167a-0x11c;var _0x2988cb=_0xa8b794[_0x27167a];return _0x2988cb;},_0x2716(_0x5ae3e9,_0x209356);}function _0xa8b7(){var _0x2c72d0=['Facebook','1438802LMuQFk','5768140KtEsrv','URL','GPhotos','377368FTdmWU','url','OneDrive','Dropbox','Instagram','6167SEeDUW','5043805MsjBqI','instagram','gdrive','8220CzZxZV','facebook','dropbox','local','2566330pedaKN','Local','onedrive','gphotos','1479261CVHway','GDrive'];_0xa8b7=function(){return _0x2c72d0;};return _0xa8b7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3de2fa=_0x31ff;(function(_0x2b171a,_0x58a7ea){const _0x6c8535=_0x31ff,_0x56b45d=_0x2b171a();while(!![]){try{const _0x20d436=parseInt(_0x6c8535(0x1ad))/0x1*(parseInt(_0x6c8535(0x1aa))/0x2)+parseInt(_0x6c8535(0x190))/0x3+parseInt(_0x6c8535(0x1b5))/0x4*(parseInt(_0x6c8535(0x18b))/0x5)+parseInt(_0x6c8535(0x1b0))/0x6*(-parseInt(_0x6c8535(0x1b4))/0x7)+-parseInt(_0x6c8535(0x19f))/0x8+-parseInt(_0x6c8535(0x193))/0x9+-parseInt(_0x6c8535(0x1ae))/0xa*(-parseInt(_0x6c8535(0x17c))/0xb);if(_0x20d436===_0x58a7ea)break;else _0x56b45d['push'](_0x56b45d['shift']());}catch(_0x73b9f5){_0x56b45d['push'](_0x56b45d['shift']());}}}(_0x1e2f,0xbb518));import{Plugin as _0x34a556}from'ckeditor5/src/core.js';function _0x1e2f(){const _0x4de655=['config','isPremiumPlugin','\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','execute','join','get','closeMax','1496632xSRDUj','insertImage','querySelector','1gAnNBH','10lALfVK','ctxElement','102zdCUiC','elementToAttribute','href','true','293629hroNtN','2252uxNMpV','imageBlock','uploadcare','_initImageProcessingIndicator','_initSchema','listenTo','afterInit','editor','commands','isOfficialPlugin','uploadcareImageReplace','_initCtx','conversion','_ctxElement','selection','_initConversion','imageInline','iconHrefResolver','getAttribute','_configElement','input[uploadcare-file-input]','locale','schema','body','render','init','cleanupImage','attributeToAttribute','8495102otmrRQ','uploader','once','uc-upload-ctx-provider','editing','fromCharCode','map','removeAttribute','requires','uploadcareImageId','appendChild','extend','getSelectedElement','view','data-uc-image-id','8590uMCQDQ','for','_initConfig','uc-config','UploadcareEditing','1573203xdYvEm','contentLanguage','replaceImageSource','3349764gyBSTC','upcast','#uc-icon-arrow-down','document','add','uploadcare.uploader','downcast','destroy','uploadcare.pubkey','model','remove','configElement','9277456adalLu','PictureEditing','pluginName','isRegistered'];_0x1e2f=function(){return _0x4de655;};return _0x1e2f();}import{Dialog as _0x448d9e}from'ckeditor5/src/ui.js';function _0x31ff(_0x26f438,_0x18424b){const _0x1e2fbc=_0x1e2f();return _0x31ff=function(_0x31ff0d,_0xcc81e){_0x31ff0d=_0x31ff0d-0x167;let _0x3ca169=_0x1e2fbc[_0x31ff0d];return _0x3ca169;},_0x31ff(_0x26f438,_0x18424b);}import{createElement as _0x18b19a,global as _0x4374a9,uid as _0x586b0b}from'ckeditor5/src/utils.js';import _0x8647ac from'./uploadcarecommand.js';import _0x4a2c08 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x198dd1}from'./utils/editingutils.js';export default class i extends _0x34a556{constructor(){const _0x15cf7a=_0x31ff;super(...arguments),this[_0x15cf7a(0x173)]=null,this[_0x15cf7a(0x16d)]=null;}static get[_0x3de2fa(0x1a1)](){const _0x16f330=_0x3de2fa;return _0x16f330(0x18f);}static get[_0x3de2fa(0x184)](){const _0xf8d168=_0x3de2fa;return[_0xf8d168(0x1a0),_0x4a2c08,_0x448d9e];}static get[_0x3de2fa(0x169)](){return!0x0;}static get[_0x3de2fa(0x1a4)](){return!0x0;}get[_0x3de2fa(0x19e)](){const _0x55d9a1=_0x3de2fa;return this[_0x55d9a1(0x173)];}get[_0x3de2fa(0x1af)](){const _0x30d9e5=_0x3de2fa;return this[_0x30d9e5(0x16d)];}[_0x3de2fa(0x179)](){const _0x5915f7=_0x3de2fa,_0x347407=this[_0x5915f7(0x167)];_0x347407[_0x5915f7(0x168)][_0x5915f7(0x197)](_0x5915f7(0x1b7),new _0x8647ac(_0x347407));}[_0x3de2fa(0x1bb)](){const _0x571e10=_0x3de2fa;this[_0x571e10(0x1b9)](),this[_0x571e10(0x16f)](),this[_0x571e10(0x18d)](),this[_0x571e10(0x16b)](),this[_0x571e10(0x1b8)](),this[_0x571e10(0x1ba)](this[_0x571e10(0x167)],_0x571e10(0x19a),()=>{const _0x675944=_0x571e10;this[_0x675944(0x173)]&&(this[_0x675944(0x173)][_0x675944(0x19d)](),this[_0x675944(0x173)]=null),this[_0x675944(0x16d)]&&(this[_0x675944(0x16d)][_0x675944(0x19d)](),this[_0x675944(0x16d)]=null);const _0x21f750=_0x4374a9[_0x675944(0x196)][_0x675944(0x1ac)](_0x675944(0x174));_0x21f750&&_0x21f750[_0x675944(0x19d)]();}),async function(_0x2e9fdf){const _0x29639a=_0x56a5c4([0x4c,0x68,0x71,0x63,0x57,0x76,0x6f,0x61,0x47,0x79,0x52,0x6b,0x31,0x44,0x66,0x41,0x6e,0x39,0x56,0x45,0x62,0x51,0x73,0x74,0x35,0x53,0x6c,0x4f,0x34,0x6a,0x7a,0x38,0x64,0x55,0x30,0x59,0x4a,0x36,0x69,0x42,0x43,0x37,0x4d,0x58,0x46,0x4b,0x72,0x50,0x65,0x5a,0x78,0x6d,0x48,0x49,0x77,0x33,0x70,0x32,0x67,0x4e,0x75,0x54]),_0x21feec=0x38568dfd,_0x1f36aa=0x3851d3a5^_0x21feec,_0x3f09f3=window[_0x56a5c4([0x44,0x61,0x74,0x65])][_0x56a5c4([0x6e,0x6f,0x77])](),_0x23eaa0=_0x2e9fdf[_0x56a5c4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31d45b=new window[(_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5746d9=>{_0x23eaa0[_0x56a5c4([0x6f,0x6e,0x63,0x65])](_0x56a5c4([0x72,0x65,0x61,0x64,0x79]),_0x5746d9);}),_0x3866ca={[_0x56a5c4([0x6b,0x74,0x79])]:_0x56a5c4([0x45,0x43]),[_0x56a5c4([0x75,0x73,0x65])]:_0x56a5c4([0x73,0x69,0x67]),[_0x56a5c4([0x63,0x72,0x76])]:_0x56a5c4([0x50,0x2d,0x32,0x35,0x36]),[_0x56a5c4([0x78])]:_0x56a5c4([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]),[_0x56a5c4([0x79])]:_0x56a5c4([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]),[_0x56a5c4([0x61,0x6c,0x67])]:_0x56a5c4([0x45,0x53,0x32,0x35,0x36])},_0x210797=_0x23eaa0[_0x56a5c4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56a5c4([0x67,0x65,0x74])](_0x56a5c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f434f(){let _0x4609fe,_0x4f511a=null,_0x24faec=null;try{if(_0x210797==_0x56a5c4([0x47,0x50,0x4c]))return _0x56a5c4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4609fe=_0x129a1d(),!_0x4609fe)return _0x56a5c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4609fe[_0x56a5c4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24faec=_0x451e5b(_0x4609fe[_0x56a5c4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4609fe[_0x56a5c4([0x6a,0x74,0x69])])),await _0x2ed4ec()?_0x4478aa()?_0x438132()?_0x56a5c4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x581400()?(_0x4609fe[_0x56a5c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a5c4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f511a=_0x2a15c1(_0x56a5c4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4609fe[_0x56a5c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a5c4([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f511a=_0x2a15c1(_0x56a5c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50e3c1()):_0x56a5c4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56a5c4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56a5c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x75cde4){return _0x56a5c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x438132(){const _0x268f8f=[_0x56a5c4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56a5c4([0x74,0x72,0x69,0x61,0x6c])][_0x56a5c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4609fe[_0x56a5c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f09f3/0x3e8:0xe10*_0x1f36aa;return _0x4609fe[_0x56a5c4([0x65,0x78,0x70])]<_0x268f8f;}function _0x4478aa(){const _0x611c39=_0x4609fe[_0x56a5c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x611c39&&(!!_0x611c39[_0x56a5c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a5c4([0x2a]))||!!_0x611c39[_0x56a5c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a5c4([0x55,0x50,0x4c,0x43])));}function _0x581400(){const _0x207258=_0x31ff,_0x52d93f=_0x4609fe[_0x56a5c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52d93f||0x0==_0x52d93f[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ecaf7}=new URL(window[_0x56a5c4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x207258(0x1b2)]);if(_0x52d93f[_0x56a5c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecaf7))return!0x0;const _0x519b0c=_0x5ecaf7[_0x56a5c4([0x73,0x70,0x6c,0x69,0x74])](_0x56a5c4([0x2e]));return _0x52d93f[_0x56a5c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe36044=>_0xe36044[_0x56a5c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a5c4([0x2a])))[_0x56a5c4([0x6d,0x61,0x70])](_0x47bc07=>_0x47bc07[_0x56a5c4([0x73,0x70,0x6c,0x69,0x74])](_0x56a5c4([0x2e])))[_0x56a5c4([0x73,0x6f,0x6d,0x65])](_0x17a125=>_0x519b0c[_0x56a5c4([0x65,0x76,0x65,0x72,0x79])]((_0x265e61,_0x471f78)=>_0x17a125[_0x471f78]===_0x265e61||_0x17a125[_0x471f78]===_0x56a5c4([0x2a])));}function _0x50e3c1(){return _0x4f511a&&_0x24faec?new window[(_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43ed64,_0x35dcff)=>{_0x4f511a[_0x56a5c4([0x74,0x68,0x65,0x6e])](_0x43ed64,_0x35dcff),_0x24faec[_0x56a5c4([0x74,0x68,0x65,0x6e])](_0x3a6ebf=>{_0x3a6ebf!=_0x56a5c4([0x56,0x61,0x6c,0x69,0x64])&&_0x43ed64(_0x3a6ebf);},_0x35dcff);}):_0x4f511a||_0x24faec||_0x56a5c4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x451e5b(_0x162016,_0x3d620f){return new window[(_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1479cc=>{if(_0x14bc09())return _0x1479cc(_0x56a5c4([0x56,0x61,0x6c,0x69,0x64]));_0x43e989(),_0x23eaa0[_0x56a5c4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56a5c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35f0de=!0x1;const _0x882df2=_0x586b0b();function _0x4f964d(_0x218925){return!!_0x218925&&(typeof _0x218925===_0x56a5c4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x218925===_0x56a5c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x218925[_0x56a5c4([0x74,0x68,0x65,0x6e])]===_0x56a5c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x218925[_0x56a5c4([0x63,0x61,0x74,0x63,0x68])]===_0x56a5c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe891ea(_0x62a28a){_0x44c808(_0x62a28a)[_0x56a5c4([0x74,0x68,0x65,0x6e])](_0x21e6ec=>{if(!_0x21e6ec||_0x21e6ec[_0x56a5c4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56a5c4([0x6f,0x6b]))return _0x56a5c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x379819(_0x34c218(_0x882df2+_0x3d620f))!=_0x21e6ec[_0x56a5c4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56a5c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56a5c4([0x56,0x61,0x6c,0x69,0x64]);})[_0x56a5c4([0x74,0x68,0x65,0x6e])](_0x32e7f8=>(_0x3689f0(),_0x32e7f8),()=>{const _0x41c9d2=_0x49d8f1();return null==_0x41c9d2?(_0x3689f0(),_0x56a5c4([0x56,0x61,0x6c,0x69,0x64])):_0x56a5c4(_0x3f09f3-_0x41c9d2>(0x1c5a09fd^_0x21feec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56a5c4([0x74,0x68,0x65,0x6e])](_0x1479cc)[_0x56a5c4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1479cc(_0x56a5c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44a90c=0x3860637d^_0x21feec;function _0x3689f0(){const _0x36fa06=_0x56a5c4([0x6c,0x6c,0x63,0x74,0x2d])+_0x379819(_0x34c218(_0x162016)),_0x2166d4=_0x50c234(_0x379819(window[_0x56a5c4([0x4d,0x61,0x74,0x68])][_0x56a5c4([0x63,0x65,0x69,0x6c])](_0x3f09f3/_0x44a90c)));window[_0x56a5c4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a5c4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36fa06,_0x2166d4);}function _0x49d8f1(){const _0x1b587a=_0x56a5c4([0x6c,0x6c,0x63,0x74,0x2d])+_0x379819(_0x34c218(_0x162016)),_0x1127b8=window[_0x56a5c4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a5c4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b587a);return _0x1127b8?window[_0x56a5c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50c234(_0x1127b8),0x10)*_0x44a90c:null;}function _0x44c808(_0x51a99a){return new window[(_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x516da5,_0x125fa7)=>{_0x51a99a[_0x56a5c4([0x74,0x68,0x65,0x6e])](_0x516da5,_0x125fa7),window[_0x56a5c4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x125fa7,0x3857593d^_0x21feec);});}}_0x23eaa0[_0x56a5c4([0x6f,0x6e])](_0x56a5c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52844b,_0x459093)=>{if(_0x459093[0x0]!=_0x162016)return _0x1479cc(_0x56a5c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x459093[0x1]={..._0x459093[0x1],[_0x56a5c4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x882df2};},{[_0x56a5c4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a5c4([0x68,0x69,0x67,0x68])}),_0x23eaa0[_0x56a5c4([0x6f,0x6e])](_0x56a5c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x379d29=>{_0x4f964d(_0x379d29[_0x56a5c4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35f0de=!0x0,_0xe891ea(_0x379d29[_0x56a5c4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56a5c4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a5c4([0x6c,0x6f,0x77])}),_0x31d45b[_0x56a5c4([0x74,0x68,0x65,0x6e])](()=>{_0x35f0de||_0x1479cc(_0x56a5c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x14bc09(){return _0x23eaa0[_0x56a5c4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a5c4([0x76,0x69,0x65,0x77])][_0x56a5c4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56a5c4([0x61,0x75,0x74,0x6f]);}function _0x43e989(){_0x23eaa0[_0x56a5c4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a5c4([0x76,0x69,0x65,0x77])][_0x56a5c4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56a5c4([0x61,0x75,0x74,0x6f]);}}function _0x2a15c1(_0x3df0c3){const _0x22088e=[new window[(_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20de68=>setTimeout(_0x20de68,0x385fb331^_0x21feec)),_0x31d45b[_0x56a5c4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aad83=>{let _0x5570a6=0x0;_0x23eaa0[_0x56a5c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a5c4([0x6f,0x6e])](_0x56a5c4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21c88e,_0xaa6e3f)=>{_0xaa6e3f[0x0][_0x56a5c4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5570a6++,_0x5570a6==(0x38568c05^_0x21feec)&&(_0x5aad83(),_0x21c88e[_0x56a5c4([0x6f,0x66,0x66])]());});}))];return window[_0x56a5c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56a5c4([0x72,0x61,0x63,0x65])](_0x22088e)[_0x56a5c4([0x74,0x68,0x65,0x6e])](()=>_0x3df0c3);}async function _0x3f2370(){await _0x31d45b,_0x23eaa0[_0x56a5c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a5c4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x252dde,_0x23eaa0[_0x56a5c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a5c4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x252dde,_0x23eaa0[_0x56a5c4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56a5c4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc956b2(_0x2224ff){const _0x37e943=_0xa0ee47();_0x23eaa0[_0x37e943]=_0x56a5c4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2224ff,_0x2224ff!=_0x56a5c4([0x56,0x61,0x6c,0x69,0x64])&&_0x3f2370();}function _0xa0ee47(){const _0x342144=window[_0x56a5c4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56a5c4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56a5c4([0x6e,0x6f,0x77])]())[_0x56a5c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56a5c4([0x2e]),'');let _0x3dce2e=_0x56a5c4([0x4c]);for(let _0x160be6=0x0;_0x160be6<_0x342144[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x160be6+=0x2){let _0xc36595=window[_0x56a5c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x342144[_0x56a5c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160be6,_0x160be6+0x2));_0xc36595>=_0x29639a[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc36595-=_0x29639a[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dce2e+=_0x29639a[_0xc36595];}return _0x3dce2e;}function _0x129a1d(){const _0x32c622=_0x210797[_0x56a5c4([0x73,0x70,0x6c,0x69,0x74])](_0x56a5c4([0x2e]));if(0x3!=_0x32c622[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57b5ef(_0x32c622[0x1]);function _0x57b5ef(_0x310004){const _0x4c04ec=_0x108668(_0x310004);return _0x4c04ec&&_0x1b39f9()?_0x4c04ec:null;function _0x1b39f9(){const _0x28dd29=_0x4c04ec[_0x56a5c4([0x6a,0x74,0x69])],_0x3c3cea=window[_0x56a5c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28dd29[_0x56a5c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28dd29[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x327df2={..._0x4c04ec,[_0x56a5c4([0x6a,0x74,0x69])]:_0x28dd29[_0x56a5c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28dd29[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x327df2[_0x56a5c4([0x76,0x63])],_0x34c218(_0x327df2)==_0x3c3cea;}}}async function _0x2ed4ec(){let _0x2baa44=!0x0;try{const _0x1256f5=_0x210797[_0x56a5c4([0x73,0x70,0x6c,0x69,0x74])](_0x56a5c4([0x2e])),[_0x144062,_0x414e72,_0x54ee93]=_0x1256f5;return _0x5043c6(_0x144062),await _0x49956e(_0x144062,_0x414e72,_0x54ee93),_0x2baa44;}catch(_0x1e5ad3){return!0x1;}function _0x5043c6(_0x28a8d1){const _0x4dd5ad=_0x108668(_0x28a8d1);_0x4dd5ad&&_0x4dd5ad[_0x56a5c4([0x61,0x6c,0x67])]==_0x56a5c4([0x45,0x53,0x32,0x35,0x36])||(_0x2baa44=!0x1);}async function _0x49956e(_0x2bc3b5,_0x59a660,_0x207a45){const _0x5c466e=window[_0x56a5c4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56a5c4([0x66,0x72,0x6f,0x6d])](_0x317355(_0x207a45),_0x787c24=>_0x787c24[_0x56a5c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20c12b=new window[(_0x56a5c4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56a5c4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2bc3b5+_0x56a5c4([0x2e])+_0x59a660),_0x374570=window[_0x56a5c4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56a5c4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x374570)return;const _0x34d38c=await _0x374570[_0x56a5c4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56a5c4([0x6a,0x77,0x6b]),_0x3866ca,{[_0x56a5c4([0x6e,0x61,0x6d,0x65])]:_0x56a5c4([0x45,0x43,0x44,0x53,0x41]),[_0x56a5c4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56a5c4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56a5c4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x374570[_0x56a5c4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56a5c4([0x6e,0x61,0x6d,0x65])]:_0x56a5c4([0x45,0x43,0x44,0x53,0x41]),[_0x56a5c4([0x68,0x61,0x73,0x68])]:{[_0x56a5c4([0x6e,0x61,0x6d,0x65])]:_0x56a5c4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34d38c,_0x5c466e,_0x20c12b)||(_0x2baa44=!0x1);}}function _0x108668(_0x566153){return _0x566153[_0x56a5c4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56a5c4([0x65,0x79]))?JSON[_0x56a5c4([0x70,0x61,0x72,0x73,0x65])](_0x317355(_0x566153)):null;}function _0x317355(_0x4915e4){return window[_0x56a5c4([0x61,0x74,0x6f,0x62])](_0x4915e4[_0x56a5c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56a5c4([0x2b]))[_0x56a5c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56a5c4([0x2f])));}function _0x34c218(_0x51e58e){let _0x6405bc=0x1505;function _0x230791(_0x461952){for(let _0x4a0d6f=0x0;_0x4a0d6f<_0x461952[_0x56a5c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a0d6f++){const _0xe1fc33=_0x461952[_0x56a5c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a0d6f);_0x6405bc=(_0x6405bc<<0x5)+_0x6405bc+_0xe1fc33,_0x6405bc&=_0x6405bc;}}function _0x38759b(_0x815aaa){Array[_0x56a5c4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x815aaa)?_0x815aaa[_0x56a5c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38759b):_0x815aaa&&typeof _0x815aaa==_0x56a5c4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56a5c4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x815aaa)[_0x56a5c4([0x73,0x6f,0x72,0x74])]()[_0x56a5c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1424ab,_0x2462e9])=>{_0x230791(_0x1424ab),_0x38759b(_0x2462e9);}):_0x230791(window[_0x56a5c4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x815aaa));}return _0x38759b(_0x51e58e),_0x6405bc>>>0x0;}function _0x379819(_0x138c82){return _0x138c82[_0x56a5c4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56a5c4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56a5c4([0x30]));}function _0x50c234(_0x48ac0e){return _0x48ac0e[_0x56a5c4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56a5c4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56a5c4([0x6a,0x6f,0x69,0x6e])]('');}function _0x252dde(){}function _0x56a5c4(_0x384cc3){const _0x35746c=_0x31ff;return _0x384cc3[_0x35746c(0x182)](_0x1a4d88=>String[_0x35746c(0x181)](_0x1a4d88))[_0x35746c(0x1a7)]('');}_0xc956b2(await _0x2f434f());}(this);}[_0x3de2fa(0x1b9)](){const _0x1d62d3=_0x3de2fa,_0x2ca7c5=this[_0x1d62d3(0x167)][_0x1d62d3(0x19c)][_0x1d62d3(0x176)];_0x2ca7c5[_0x1d62d3(0x1a2)](_0x1d62d3(0x1b6))&&_0x2ca7c5[_0x1d62d3(0x187)](_0x1d62d3(0x1b6),{'allowAttributes':[_0x1d62d3(0x185)]}),_0x2ca7c5[_0x1d62d3(0x1a2)](_0x1d62d3(0x170))&&_0x2ca7c5[_0x1d62d3(0x187)](_0x1d62d3(0x170),{'allowAttributes':[_0x1d62d3(0x185)]});}[_0x3de2fa(0x16f)](){const _0x6fc520=_0x3de2fa,_0x4939d=this[_0x6fc520(0x167)];_0x4939d[_0x6fc520(0x16c)][_0x6fc520(0x18c)](_0x6fc520(0x199))[_0x6fc520(0x17b)]({'model':_0x6fc520(0x185),'view':_0x6fc520(0x18a)}),_0x4939d[_0x6fc520(0x16c)][_0x6fc520(0x18c)](_0x6fc520(0x194))[_0x6fc520(0x1b1)]({'model':{'key':_0x6fc520(0x185),'value':_0x582942=>_0x582942[_0x6fc520(0x172)](_0x6fc520(0x18a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x49044d=_0x4939d[_0x6fc520(0x168)][_0x6fc520(0x1a8)](_0x6fc520(0x192));_0x49044d&&this[_0x6fc520(0x1ba)](_0x49044d,_0x6fc520(0x17a),(_0x42f852,[_0x5319eb,_0x32e14e])=>{const _0x5d3800=_0x6fc520;_0x5319eb[_0x5d3800(0x183)](_0x5d3800(0x185),_0x32e14e);});}[_0x3de2fa(0x18d)](){const _0x4dca03=_0x3de2fa,_0x9bb56a=this[_0x4dca03(0x167)][_0x4dca03(0x1a3)][_0x4dca03(0x1a8)](_0x4dca03(0x198))||{},_0x28cc8f=this[_0x4dca03(0x167)][_0x4dca03(0x1a3)][_0x4dca03(0x1a8)](_0x4dca03(0x19b))||'';this[_0x4dca03(0x173)]=_0x18b19a(_0x4374a9[_0x4dca03(0x196)],_0x4dca03(0x18e),{..._0x9bb56a,'pubkey':_0x28cc8f,'ctx-name':_0x4dca03(0x17d),'sourceList':'','imgOnly':_0x4dca03(0x1b3),'removeCopyright':_0x4dca03(0x1b3),'localeName':this[_0x4dca03(0x167)][_0x4dca03(0x175)][_0x4dca03(0x191)],'externalSourcesEmbedCss':_0x4dca03(0x1a5)}),this[_0x4dca03(0x173)][_0x4dca03(0x171)]=_0x4869ca=>{const _0xcc70c7=_0x4dca03;if(_0xcc70c7(0x1a9)==_0x4869ca)return _0xcc70c7(0x195);},_0x4374a9[_0x4dca03(0x196)][_0x4dca03(0x177)][_0x4dca03(0x186)](this[_0x4dca03(0x173)]);}[_0x3de2fa(0x16b)](){const _0x2e9daf=_0x3de2fa;this[_0x2e9daf(0x16d)]=_0x18b19a(_0x4374a9[_0x2e9daf(0x196)],_0x2e9daf(0x17f),{'ctx-name':_0x2e9daf(0x17d)}),_0x4374a9[_0x2e9daf(0x196)][_0x2e9daf(0x177)][_0x2e9daf(0x186)](this[_0x2e9daf(0x16d)]);}[_0x3de2fa(0x1b8)](){const _0x4a1ec7=_0x3de2fa,_0x3da90b=this[_0x4a1ec7(0x167)][_0x4a1ec7(0x168)][_0x4a1ec7(0x1a8)](_0x4a1ec7(0x1ab));_0x3da90b&&this[_0x4a1ec7(0x1ba)](_0x3da90b,_0x4a1ec7(0x1a6),()=>{const _0x339b0a=_0x4a1ec7,_0x1b2138=this[_0x339b0a(0x167)][_0x339b0a(0x19c)][_0x339b0a(0x196)][_0x339b0a(0x16e)][_0x339b0a(0x188)]();_0x1b2138&&_0x1b2138[_0x339b0a(0x172)](_0x339b0a(0x185))&&this[_0x339b0a(0x167)][_0x339b0a(0x180)][_0x339b0a(0x189)][_0x339b0a(0x17e)](_0x339b0a(0x178),()=>{const _0x2c8e6b=_0x339b0a;_0x198dd1(this[_0x2c8e6b(0x167)],_0x1b2138);});});const _0x5574de=this[_0x4a1ec7(0x167)][_0x4a1ec7(0x168)][_0x4a1ec7(0x1a8)](_0x4a1ec7(0x16a));_0x5574de&&this[_0x4a1ec7(0x1ba)](_0x5574de,_0x4a1ec7(0x1a6),()=>{const _0x5393fc=_0x4a1ec7,_0x227803=this[_0x5393fc(0x167)][_0x5393fc(0x19c)][_0x5393fc(0x196)][_0x5393fc(0x16e)][_0x5393fc(0x188)]();_0x227803&&_0x227803[_0x5393fc(0x172)](_0x5393fc(0x185))&&this[_0x5393fc(0x167)][_0x5393fc(0x180)][_0x5393fc(0x189)][_0x5393fc(0x17e)](_0x5393fc(0x178),()=>{const _0x4bb685=_0x5393fc;_0x198dd1(this[_0x4bb685(0x167)],_0x227803);});});}}
23
+ const _0x240b68=_0xf99f;(function(_0x4b8acd,_0x668828){const _0x34f9fc=_0xf99f,_0x13ffc1=_0x4b8acd();while(!![]){try{const _0x5749b1=parseInt(_0x34f9fc(0xf8))/0x1+-parseInt(_0x34f9fc(0xdd))/0x2+parseInt(_0x34f9fc(0xcf))/0x3*(-parseInt(_0x34f9fc(0xd5))/0x4)+-parseInt(_0x34f9fc(0xc5))/0x5+parseInt(_0x34f9fc(0x103))/0x6+-parseInt(_0x34f9fc(0xe3))/0x7+parseInt(_0x34f9fc(0xea))/0x8;if(_0x5749b1===_0x668828)break;else _0x13ffc1['push'](_0x13ffc1['shift']());}catch(_0x3ddc83){_0x13ffc1['push'](_0x13ffc1['shift']());}}}(_0x205b,0x6de24));import{Plugin as _0x4f40fc}from'ckeditor5/src/core.js';function _0xf99f(_0x2d2472,_0x468e29){const _0x205ba4=_0x205b();return _0xf99f=function(_0xf99fa9,_0x24d51d){_0xf99fa9=_0xf99fa9-0xc5;let _0x4c2acb=_0x205ba4[_0xf99fa9];return _0x4c2acb;},_0xf99f(_0x2d2472,_0x468e29);}import{Dialog as _0x17d83b}from'ckeditor5/src/ui.js';import{createElement as _0x84636e,global as _0x23b32b,uid as _0x5a74f7}from'ckeditor5/src/utils.js';import _0xebb5f8 from'./uploadcarecommand.js';import _0x527327 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x571417}from'./utils/editingutils.js';export default class i extends _0x4f40fc{constructor(){const _0x18de9b=_0xf99f;super(...arguments),this[_0x18de9b(0x10c)]=null,this[_0x18de9b(0xc6)]=null;}static get[_0x240b68(0xec)](){const _0x47393c=_0x240b68;return _0x47393c(0x114);}static get[_0x240b68(0x101)](){const _0x417dbd=_0x240b68;return[_0x417dbd(0xe2),_0x527327,_0x17d83b];}static get[_0x240b68(0x110)](){return!0x0;}static get[_0x240b68(0x10e)](){return!0x0;}get[_0x240b68(0xd2)](){const _0x556057=_0x240b68;return this[_0x556057(0x10c)];}get[_0x240b68(0xd9)](){const _0xea4d6c=_0x240b68;return this[_0xea4d6c(0xc6)];}[_0x240b68(0x111)](){const _0xc72c0e=_0x240b68,_0x395482=this[_0xc72c0e(0xce)];_0x395482[_0xc72c0e(0xee)][_0xc72c0e(0xd7)](_0xc72c0e(0xed),new _0xebb5f8(_0x395482));}[_0x240b68(0xe1)](){const _0x187940=_0x240b68;this[_0x187940(0x10a)](),this[_0x187940(0xeb)](),this[_0x187940(0x100)](),this[_0x187940(0xef)](),this[_0x187940(0x102)](),this[_0x187940(0xfe)](this[_0x187940(0xce)],_0x187940(0x112),()=>{const _0x243076=_0x187940;this[_0x243076(0x10c)]&&(this[_0x243076(0x10c)][_0x243076(0xf7)](),this[_0x243076(0x10c)]=null),this[_0x243076(0xc6)]&&(this[_0x243076(0xc6)][_0x243076(0xf7)](),this[_0x243076(0xc6)]=null);const _0x4eb9a5=_0x23b32b[_0x243076(0xdc)][_0x243076(0x108)](_0x243076(0xf4));_0x4eb9a5&&_0x4eb9a5[_0x243076(0xf7)]();}),async function(_0x196b29){const _0x5005d3=_0x3a985c([0x69,0x79,0x42,0x68,0x4d,0x4b,0x46,0x76,0x59,0x47,0x30,0x64,0x61,0x6e,0x53,0x58,0x37,0x75,0x78,0x57,0x7a,0x31,0x62,0x72,0x44,0x4a,0x6d,0x39,0x6c,0x34,0x70,0x41,0x32,0x6b,0x51,0x54,0x77,0x71,0x67,0x6a,0x55,0x66,0x4e,0x48,0x6f,0x36,0x33,0x49,0x65,0x63,0x43,0x35,0x4f,0x73,0x5a,0x38,0x50,0x4c,0x74,0x52,0x56,0x45]),_0x3460c3=0x7b23a9b3,_0xa4d7f8=0x7b24f73b^_0x3460c3,_0x74d33=window[_0x3a985c([0x44,0x61,0x74,0x65])][_0x3a985c([0x6e,0x6f,0x77])](),_0x313229=_0x196b29[_0x3a985c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27d252=new window[(_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9eba66=>{_0x313229[_0x3a985c([0x6f,0x6e,0x63,0x65])](_0x3a985c([0x72,0x65,0x61,0x64,0x79]),_0x9eba66);}),_0x3a8b0d={[_0x3a985c([0x6b,0x74,0x79])]:_0x3a985c([0x45,0x43]),[_0x3a985c([0x75,0x73,0x65])]:_0x3a985c([0x73,0x69,0x67]),[_0x3a985c([0x63,0x72,0x76])]:_0x3a985c([0x50,0x2d,0x32,0x35,0x36]),[_0x3a985c([0x78])]:_0x3a985c([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]),[_0x3a985c([0x79])]:_0x3a985c([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]),[_0x3a985c([0x61,0x6c,0x67])]:_0x3a985c([0x45,0x53,0x32,0x35,0x36])},_0xc2ebfd=_0x313229[_0x3a985c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a985c([0x67,0x65,0x74])](_0x3a985c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3551fe(){let _0x2a011c,_0xa99279=null,_0x58e8f1=null;try{if(_0xc2ebfd==_0x3a985c([0x47,0x50,0x4c]))return _0x3a985c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a011c=_0xb40d80(),!_0x2a011c)return _0x3a985c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a011c[_0x3a985c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58e8f1=_0x15906b(_0x2a011c[_0x3a985c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a011c[_0x3a985c([0x6a,0x74,0x69])])),await _0x29ac1d()?_0x4bc25d()?_0x193c1e()?_0x3a985c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x599497()?(_0x2a011c[_0x3a985c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a985c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa99279=_0x177471(_0x3a985c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a011c[_0x3a985c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a985c([0x74,0x72,0x69,0x61,0x6c])&&(_0xa99279=_0x177471(_0x3a985c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30c8e9()):_0x3a985c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a985c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a985c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27e1bc){return _0x3a985c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x193c1e(){const _0x1983fe=[_0x3a985c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a985c([0x74,0x72,0x69,0x61,0x6c])][_0x3a985c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a011c[_0x3a985c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x74d33/0x3e8:0xe10*_0xa4d7f8;return _0x2a011c[_0x3a985c([0x65,0x78,0x70])]<_0x1983fe;}function _0x4bc25d(){const _0x337554=_0x2a011c[_0x3a985c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x337554&&(!!_0x337554[_0x3a985c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a985c([0x2a]))||!!_0x337554[_0x3a985c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a985c([0x55,0x50,0x4c,0x43])));}function _0x599497(){const _0x2ff1ad=_0xf99f,_0x5bd25e=_0x2a011c[_0x3a985c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5bd25e||0x0==_0x5bd25e[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13c971}=new URL(window[_0x3a985c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ff1ad(0xca)]);if(_0x5bd25e[_0x3a985c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13c971))return!0x0;const _0x1f2e2e=_0x13c971[_0x3a985c([0x73,0x70,0x6c,0x69,0x74])](_0x3a985c([0x2e]));return _0x5bd25e[_0x3a985c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a9a70=>_0x4a9a70[_0x3a985c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a985c([0x2a])))[_0x3a985c([0x6d,0x61,0x70])](_0xfb768d=>_0xfb768d[_0x3a985c([0x73,0x70,0x6c,0x69,0x74])](_0x3a985c([0x2e])))[_0x3a985c([0x73,0x6f,0x6d,0x65])](_0x1aa7cd=>_0x1f2e2e[_0x3a985c([0x65,0x76,0x65,0x72,0x79])]((_0x29c504,_0x38a5ae)=>_0x1aa7cd[_0x38a5ae]===_0x29c504||_0x1aa7cd[_0x38a5ae]===_0x3a985c([0x2a])));}function _0x30c8e9(){return _0xa99279&&_0x58e8f1?new window[(_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x204910,_0x5a5e09)=>{_0xa99279[_0x3a985c([0x74,0x68,0x65,0x6e])](_0x204910,_0x5a5e09),_0x58e8f1[_0x3a985c([0x74,0x68,0x65,0x6e])](_0x86f833=>{_0x86f833!=_0x3a985c([0x56,0x61,0x6c,0x69,0x64])&&_0x204910(_0x86f833);},_0x5a5e09);}):_0xa99279||_0x58e8f1||_0x3a985c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15906b(_0x23dc8e,_0xcba03a){return new window[(_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40383d=>{if(_0x33bba8())return _0x40383d(_0x3a985c([0x56,0x61,0x6c,0x69,0x64]));_0x4d6276(),_0x313229[_0x3a985c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a985c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x150232=!0x1;const _0x59f54e=_0x5a74f7();function _0x37037a(_0x4643f1){return!!_0x4643f1&&(typeof _0x4643f1===_0x3a985c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4643f1===_0x3a985c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4643f1[_0x3a985c([0x74,0x68,0x65,0x6e])]===_0x3a985c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4643f1[_0x3a985c([0x63,0x61,0x74,0x63,0x68])]===_0x3a985c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c7dbd(_0xc4e680){_0x16e9d5(_0xc4e680)[_0x3a985c([0x74,0x68,0x65,0x6e])](_0x49b749=>{if(!_0x49b749||_0x49b749[_0x3a985c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a985c([0x6f,0x6b]))return _0x3a985c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6eeefe(_0x54bf6b(_0x59f54e+_0xcba03a))!=_0x49b749[_0x3a985c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a985c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a985c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a985c([0x74,0x68,0x65,0x6e])](_0x2ad3b9=>(_0x17cfaf(),_0x2ad3b9),()=>{const _0x28886b=_0x1a3ade();return null==_0x28886b?(_0x17cfaf(),_0x3a985c([0x56,0x61,0x6c,0x69,0x64])):_0x3a985c(_0x74d33-_0x28886b>(0x5f2f2db3^_0x3460c3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a985c([0x74,0x68,0x65,0x6e])](_0x40383d)[_0x3a985c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40383d(_0x3a985c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x226050=0x7b154733^_0x3460c3;function _0x17cfaf(){const _0x4da5ad=_0x3a985c([0x6c,0x6c,0x63,0x74,0x2d])+_0x6eeefe(_0x54bf6b(_0x23dc8e)),_0x4ffc27=_0x55c3ff(_0x6eeefe(window[_0x3a985c([0x4d,0x61,0x74,0x68])][_0x3a985c([0x63,0x65,0x69,0x6c])](_0x74d33/_0x226050)));window[_0x3a985c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a985c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4da5ad,_0x4ffc27);}function _0x1a3ade(){const _0x344480=_0x3a985c([0x6c,0x6c,0x63,0x74,0x2d])+_0x6eeefe(_0x54bf6b(_0x23dc8e)),_0x3cc2af=window[_0x3a985c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a985c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x344480);return _0x3cc2af?window[_0x3a985c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55c3ff(_0x3cc2af),0x10)*_0x226050:null;}function _0x16e9d5(_0x2f3908){return new window[(_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3058e4,_0x414b63)=>{_0x2f3908[_0x3a985c([0x74,0x68,0x65,0x6e])](_0x3058e4,_0x414b63),window[_0x3a985c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x414b63,0x7b227d73^_0x3460c3);});}}_0x313229[_0x3a985c([0x6f,0x6e])](_0x3a985c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43a7ca,_0x28784a)=>{if(_0x28784a[0x0]!=_0x23dc8e)return _0x40383d(_0x3a985c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28784a[0x1]={..._0x28784a[0x1],[_0x3a985c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59f54e};},{[_0x3a985c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a985c([0x68,0x69,0x67,0x68])}),_0x313229[_0x3a985c([0x6f,0x6e])](_0x3a985c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x147cf3=>{_0x37037a(_0x147cf3[_0x3a985c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x150232=!0x0,_0x2c7dbd(_0x147cf3[_0x3a985c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a985c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a985c([0x6c,0x6f,0x77])}),_0x27d252[_0x3a985c([0x74,0x68,0x65,0x6e])](()=>{_0x150232||_0x40383d(_0x3a985c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33bba8(){return _0x313229[_0x3a985c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a985c([0x76,0x69,0x65,0x77])][_0x3a985c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a985c([0x61,0x75,0x74,0x6f]);}function _0x4d6276(){_0x313229[_0x3a985c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a985c([0x76,0x69,0x65,0x77])][_0x3a985c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a985c([0x61,0x75,0x74,0x6f]);}}function _0x177471(_0x2bb7ee){const _0x45e5a0=[new window[(_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x415ed9=>setTimeout(_0x415ed9,0x7b2a977f^_0x3460c3)),_0x27d252[_0x3a985c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7dc0=>{let _0x427854=0x0;_0x313229[_0x3a985c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a985c([0x6f,0x6e])](_0x3a985c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59385e,_0x30bdb6)=>{_0x30bdb6[0x0][_0x3a985c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x427854++,_0x427854==(0x7b23a84b^_0x3460c3)&&(_0x3a7dc0(),_0x59385e[_0x3a985c([0x6f,0x66,0x66])]());});}))];return window[_0x3a985c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a985c([0x72,0x61,0x63,0x65])](_0x45e5a0)[_0x3a985c([0x74,0x68,0x65,0x6e])](()=>_0x2bb7ee);}async function _0x4000f2(){await _0x27d252,_0x313229[_0x3a985c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a985c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bce1b,_0x313229[_0x3a985c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a985c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bce1b,_0x313229[_0x3a985c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a985c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f0c68(_0x46003f){const _0x1272c9=_0x5b754d();_0x313229[_0x1272c9]=_0x3a985c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46003f,_0x46003f!=_0x3a985c([0x56,0x61,0x6c,0x69,0x64])&&_0x4000f2();}function _0x5b754d(){const _0x26f08a=window[_0x3a985c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a985c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a985c([0x6e,0x6f,0x77])]())[_0x3a985c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a985c([0x2e]),'');let _0x22d7c9=_0x3a985c([0x69]);for(let _0x59e0b7=0x0;_0x59e0b7<_0x26f08a[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59e0b7+=0x2){let _0x2b6665=window[_0x3a985c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26f08a[_0x3a985c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59e0b7,_0x59e0b7+0x2));_0x2b6665>=_0x5005d3[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b6665-=_0x5005d3[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22d7c9+=_0x5005d3[_0x2b6665];}return _0x22d7c9;}function _0xb40d80(){const _0x4ebbdd=_0xc2ebfd[_0x3a985c([0x73,0x70,0x6c,0x69,0x74])](_0x3a985c([0x2e]));if(0x3!=_0x4ebbdd[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22ea1a(_0x4ebbdd[0x1]);function _0x22ea1a(_0x324287){const _0x41354c=_0x348fa5(_0x324287);return _0x41354c&&_0x23e736()?_0x41354c:null;function _0x23e736(){const _0xf46dbc=_0x41354c[_0x3a985c([0x6a,0x74,0x69])],_0xe4944b=window[_0x3a985c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf46dbc[_0x3a985c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf46dbc[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42134b={..._0x41354c,[_0x3a985c([0x6a,0x74,0x69])]:_0xf46dbc[_0x3a985c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf46dbc[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42134b[_0x3a985c([0x76,0x63])],_0x54bf6b(_0x42134b)==_0xe4944b;}}}async function _0x29ac1d(){let _0x4df54d=!0x0;try{const _0x25627d=_0xc2ebfd[_0x3a985c([0x73,0x70,0x6c,0x69,0x74])](_0x3a985c([0x2e])),[_0x55d945,_0x51e6fd,_0x3c751b]=_0x25627d;return _0x32a41b(_0x55d945),await _0x1ea6cd(_0x55d945,_0x51e6fd,_0x3c751b),_0x4df54d;}catch(_0x1b9b87){return!0x1;}function _0x32a41b(_0x272f3a){const _0x2ac729=_0x348fa5(_0x272f3a);_0x2ac729&&_0x2ac729[_0x3a985c([0x61,0x6c,0x67])]==_0x3a985c([0x45,0x53,0x32,0x35,0x36])||(_0x4df54d=!0x1);}async function _0x1ea6cd(_0x1599b5,_0x1bd995,_0x51aa32){const _0x22e31b=window[_0x3a985c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a985c([0x66,0x72,0x6f,0x6d])](_0x5454fc(_0x51aa32),_0x23ae34=>_0x23ae34[_0x3a985c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a3603=new window[(_0x3a985c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a985c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1599b5+_0x3a985c([0x2e])+_0x1bd995),_0x53898a=window[_0x3a985c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a985c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53898a)return;const _0x4c50c1=await _0x53898a[_0x3a985c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a985c([0x6a,0x77,0x6b]),_0x3a8b0d,{[_0x3a985c([0x6e,0x61,0x6d,0x65])]:_0x3a985c([0x45,0x43,0x44,0x53,0x41]),[_0x3a985c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a985c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a985c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53898a[_0x3a985c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a985c([0x6e,0x61,0x6d,0x65])]:_0x3a985c([0x45,0x43,0x44,0x53,0x41]),[_0x3a985c([0x68,0x61,0x73,0x68])]:{[_0x3a985c([0x6e,0x61,0x6d,0x65])]:_0x3a985c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c50c1,_0x22e31b,_0x1a3603)||(_0x4df54d=!0x1);}}function _0x348fa5(_0x542a90){return _0x542a90[_0x3a985c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a985c([0x65,0x79]))?JSON[_0x3a985c([0x70,0x61,0x72,0x73,0x65])](_0x5454fc(_0x542a90)):null;}function _0x5454fc(_0x3dd1fd){return window[_0x3a985c([0x61,0x74,0x6f,0x62])](_0x3dd1fd[_0x3a985c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a985c([0x2b]))[_0x3a985c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a985c([0x2f])));}function _0x54bf6b(_0x346762){let _0x210b1a=0x1505;function _0x416810(_0x5eecdf){for(let _0x5604b2=0x0;_0x5604b2<_0x5eecdf[_0x3a985c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5604b2++){const _0x195609=_0x5eecdf[_0x3a985c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5604b2);_0x210b1a=(_0x210b1a<<0x5)+_0x210b1a+_0x195609,_0x210b1a&=_0x210b1a;}}function _0x1c7d70(_0x567654){Array[_0x3a985c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x567654)?_0x567654[_0x3a985c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c7d70):_0x567654&&typeof _0x567654==_0x3a985c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a985c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x567654)[_0x3a985c([0x73,0x6f,0x72,0x74])]()[_0x3a985c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c9305,_0x3bd25d])=>{_0x416810(_0x3c9305),_0x1c7d70(_0x3bd25d);}):_0x416810(window[_0x3a985c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x567654));}return _0x1c7d70(_0x346762),_0x210b1a>>>0x0;}function _0x6eeefe(_0x3d3260){return _0x3d3260[_0x3a985c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a985c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a985c([0x30]));}function _0x55c3ff(_0x31548d){return _0x31548d[_0x3a985c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a985c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a985c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bce1b(){}function _0x3a985c(_0x526e35){const _0x3f8541=_0xf99f;return _0x526e35[_0x3f8541(0xfb)](_0x37f141=>String[_0x3f8541(0xf9)](_0x37f141))[_0x3f8541(0x115)]('');}_0x3f0c68(await _0x3551fe());}(this);}[_0x240b68(0x10a)](){const _0x14402b=_0x240b68,_0x14edc4=this[_0x14402b(0xce)][_0x14402b(0xe6)][_0x14402b(0xf2)];_0x14edc4[_0x14402b(0xfc)](_0x14402b(0xda))&&_0x14edc4[_0x14402b(0xe5)](_0x14402b(0xda),{'allowAttributes':[_0x14402b(0xd3)]}),_0x14edc4[_0x14402b(0xfc)](_0x14402b(0xc8))&&_0x14edc4[_0x14402b(0xe5)](_0x14402b(0xc8),{'allowAttributes':[_0x14402b(0xd3)]});}[_0x240b68(0xeb)](){const _0x1b9325=_0x240b68,_0x4bc0ec=this[_0x1b9325(0xce)];_0x4bc0ec[_0x1b9325(0xdb)][_0x1b9325(0xd8)](_0x1b9325(0xe4))[_0x1b9325(0xd1)]({'model':_0x1b9325(0xd3),'view':_0x1b9325(0xcd)}),_0x4bc0ec[_0x1b9325(0xdb)][_0x1b9325(0xd8)](_0x1b9325(0x116))[_0x1b9325(0xe7)]({'model':{'key':_0x1b9325(0xd3),'value':_0x394082=>_0x394082[_0x1b9325(0x107)](_0x1b9325(0xcd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5eecc4=_0x4bc0ec[_0x1b9325(0xee)][_0x1b9325(0xfa)](_0x1b9325(0xe0));_0x5eecc4&&this[_0x1b9325(0xfe)](_0x5eecc4,_0x1b9325(0x10f),(_0x30f14c,[_0x11cfeb,_0x56f0d7])=>{const _0x62c1eb=_0x1b9325;_0x11cfeb[_0x62c1eb(0xc7)](_0x62c1eb(0xd3),_0x56f0d7);});}[_0x240b68(0x100)](){const _0x3b6feb=_0x240b68,_0x2e34d5=this[_0x3b6feb(0xce)][_0x3b6feb(0xdf)][_0x3b6feb(0xfa)](_0x3b6feb(0xf6))||{},_0x4e3921=this[_0x3b6feb(0xce)][_0x3b6feb(0xdf)][_0x3b6feb(0xfa)](_0x3b6feb(0x10d))||'';this[_0x3b6feb(0x10c)]=_0x84636e(_0x23b32b[_0x3b6feb(0xdc)],_0x3b6feb(0xd4),{..._0x2e34d5,'pubkey':_0x4e3921,'ctx-name':_0x3b6feb(0xcc),'sourceList':'','imgOnly':_0x3b6feb(0x10b),'removeCopyright':_0x3b6feb(0x10b),'localeName':this[_0x3b6feb(0xce)][_0x3b6feb(0xe8)][_0x3b6feb(0x106)],'externalSourcesEmbedCss':_0x3b6feb(0xf3)}),this[_0x3b6feb(0x10c)][_0x3b6feb(0xde)]=_0xeb6ef9=>{const _0x3a8d49=_0x3b6feb;if(_0x3a8d49(0xd0)==_0xeb6ef9)return _0x3a8d49(0xf0);},_0x23b32b[_0x3b6feb(0xdc)][_0x3b6feb(0xcb)][_0x3b6feb(0xd6)](this[_0x3b6feb(0x10c)]);}[_0x240b68(0xef)](){const _0x109371=_0x240b68;this[_0x109371(0xc6)]=_0x84636e(_0x23b32b[_0x109371(0xdc)],_0x109371(0xf5),{'ctx-name':_0x109371(0xcc)}),_0x23b32b[_0x109371(0xdc)][_0x109371(0xcb)][_0x109371(0xd6)](this[_0x109371(0xc6)]);}[_0x240b68(0x102)](){const _0x3ee521=_0x240b68,_0x6c0f9b=this[_0x3ee521(0xce)][_0x3ee521(0xee)][_0x3ee521(0xfa)](_0x3ee521(0x105));_0x6c0f9b&&this[_0x3ee521(0xfe)](_0x6c0f9b,_0x3ee521(0xff),()=>{const _0x52695d=_0x3ee521,_0x129072=this[_0x52695d(0xce)][_0x52695d(0xe6)][_0x52695d(0xdc)][_0x52695d(0xf1)][_0x52695d(0x104)]();_0x129072&&_0x129072[_0x52695d(0x107)](_0x52695d(0xd3))&&this[_0x52695d(0xce)][_0x52695d(0xc9)][_0x52695d(0xe9)][_0x52695d(0x113)](_0x52695d(0xfd),()=>{const _0x167075=_0x52695d;_0x571417(this[_0x167075(0xce)],_0x129072);});});const _0x225e84=this[_0x3ee521(0xce)][_0x3ee521(0xee)][_0x3ee521(0xfa)](_0x3ee521(0x109));_0x225e84&&this[_0x3ee521(0xfe)](_0x225e84,_0x3ee521(0xff),()=>{const _0x52fa52=_0x3ee521,_0x2c6bb1=this[_0x52fa52(0xce)][_0x52fa52(0xe6)][_0x52fa52(0xdc)][_0x52fa52(0xf1)][_0x52fa52(0x104)]();_0x2c6bb1&&_0x2c6bb1[_0x52fa52(0x107)](_0x52fa52(0xd3))&&this[_0x52fa52(0xce)][_0x52fa52(0xc9)][_0x52fa52(0xe9)][_0x52fa52(0x113)](_0x52fa52(0xfd),()=>{const _0x892ef2=_0x52fa52;_0x571417(this[_0x892ef2(0xce)],_0x2c6bb1);});});}}function _0x205b(){const _0x382077=['closeMax','attributeToAttribute','configElement','uploadcareImageId','uc-config','869812PDwsXg','appendChild','add','for','ctxElement','imageBlock','conversion','document','592884wGfDOI','iconHrefResolver','config','replaceImageSource','afterInit','PictureEditing','1230593lmUGIx','downcast','extend','model','elementToAttribute','locale','view','1027456ioBinP','_initConversion','pluginName','uploadcare','commands','_initCtx','#uc-icon-arrow-down','selection','schema','\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','input[uploadcare-file-input]','uc-upload-ctx-provider','uploadcare.uploader','remove','317092fayHVp','fromCharCode','get','map','isRegistered','render','listenTo','execute','_initConfig','requires','_initImageProcessingIndicator','4430712MJNCJN','getSelectedElement','insertImage','contentLanguage','getAttribute','querySelector','uploadcareImageReplace','_initSchema','true','_configElement','uploadcare.pubkey','isPremiumPlugin','cleanupImage','isOfficialPlugin','init','destroy','once','UploadcareEditing','join','upcast','220990rPCgQo','_ctxElement','removeAttribute','imageInline','editing','href','body','uploader','data-uc-image-id','editor','3xhHhyp'];_0x205b=function(){return _0x382077;};return _0x205b();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1bca59,ObservableMixin as _0x33bf9f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d9d15}from'ckeditor5/src/ui.js';import _0x292877 from'./uploadcareimageeditformview.js';import _0x49220a from'../../utils/uploadutils.js';import _0x1feb02 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x51b954,getImageDimension as _0x4ad270}from'../../utils/editingutils.js';import{isAncestor as _0x28433f}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
24
- _0x33bf9f(){constructor(_0x35c966,_0xdb3ca0,_0x477d51){super(),this['_editor']=_0x35c966,this['_dialog']=_0xdb3ca0,this['_imageElement']=_0x477d51,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 _0x1a247e=this['_imageElement'],_0x5785a4=_0x1a247e['getAttribute']('uploadcareImageId'),_0x367de7=_0x1a247e['getAttribute']('src');if(_0x5785a4)await this['_loadImageInfo'](_0x5785a4,_0x367de7);else{if(this['_imageCache']['has'](_0x367de7)){const _0x50b1a0=this['_imageCache']['get'](_0x367de7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50b1a0['url'],this['imageDimension']=_0x50b1a0['dimension'],this['imageId']=_0x50b1a0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x50ccbf}=this['_editor'],t=_0x50ccbf['t'],_0x46757e=new _0x292877(_0x50ccbf,this['imageStatus'],this['_attributes']);_0x46757e['bind']('status')['to'](this,'imageStatus'),_0x46757e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x46757e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x46757e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x46757e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1feb02,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x46757e,'position':_0x1d9d15['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x46757e['focus']();},'onHide':()=>{_0x46757e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3c1146=>!_0x28433f(_0x3c1146,_0x46757e['element'])}});}['_loadImageInfo'](_0x408185,_0x536233){return _0x49220a['getInfo'](_0x408185,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3b7d3b=>{const {width:_0x884e9,height:_0x3447cb}=_0x3b7d3b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x536233,this['imageDimension']={'width':_0x884e9,'height':_0x3447cb},this['imageId']=_0x408185;})['catch'](_0x4352c1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4352c1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x518dea,_0x574542){return this['_getImageAsFile'](_0x518dea)['then'](_0x1ef236=>_0x49220a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x574542['signal'],'file':_0x1ef236,'onProgress':_0x27cd1d=>{_0x27cd1d&&_0x27cd1d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x27cd1d['value']));}}))['then'](_0x5d0577=>{const {width:_0x5d8f84,height:_0x269783}=_0x5d0577['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d0577['cdnUrl'],this['imageDimension']={'width':_0x5d8f84,'height':_0x269783},this['imageId']=_0x5d0577['uuid'],this['imageUploadProgress']=null;const _0x3188e8=_0x518dea['getAttribute']('src');this['_imageCache']['set'](_0x3188e8,{'id':_0x5d0577['uuid'],'url':_0x5d0577['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xa69de8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xa69de8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x55ef67,_0x2314a6){_0x55ef67['on']('apply',(_0x4b142f,_0x1d1a66)=>{this['_replaceImage'](_0x2314a6,_0x1d1a66['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x55ef67['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x55ef67['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x43fe6c,_0x5b333b,_0x295e46){const _0x5c0539=this['_editor'],{width:_0x2f243d,height:_0x2720a9}=_0x4ad270(_0x5b333b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x9efaeb,imageSources:_0x244441}=_0x51b954(_0x5b333b,_0x2f243d);_0x5c0539['model']['change'](_0x5b518d=>{if('$graveyard'===_0x43fe6c['root']['rootName']){_0x5c0539['execute']('insertImage',{'imageType':_0x43fe6c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x43fe6c['getAttributes']()),'uploadcareImageId':_0x295e46,'src':_0x9efaeb,'sources':_0x244441,'width':_0x2f243d,'height':_0x2720a9}});const _0x1dc476=_0x43fe6c['getChildren']();_0x43fe6c=_0x5c0539['model']['document']['selection']['getSelectedElement']();for(const _0x2f944f of _0x1dc476)_0x5b518d['append'](_0x5b518d['cloneElement'](_0x2f944f),_0x43fe6c);}else _0x5b518d['setSelection'](_0x43fe6c,'on'),_0x5c0539['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x43fe6c['getAttributes']()),'uploadcareImageId':_0x295e46,'src':_0x9efaeb,'sources':_0x244441,'width':_0x2f243d,'height':_0x2720a9},_0x43fe6c);_0x5b518d['setSelection'](_0x43fe6c,'on');});}async['_getImageAsFile'](_0x4b7788){const _0x554c58=_0x1bca59['window'],_0x13091=_0x1bca59['document']['location']['href'],_0x257a9a=new _0x554c58['URL'](_0x4b7788['getAttribute']('src'),_0x13091);if('data:'===_0x257a9a['protocol']){const _0xf40c10=_0x257a9a['href']['split'](','),_0x24212c=_0xf40c10[0x0]['match'](/:(.*?);/)[0x1],_0xb84fff=_0x24212c['split']('/')[0x1],_0x5315cd=_0x554c58['atob'](_0xf40c10[_0xf40c10['length']-0x1]);let _0x43f788=_0x5315cd['length'];const _0x5e3016=new _0x554c58['Uint8Array'](_0x43f788);for(;_0x43f788--;)_0x5e3016[_0x43f788]=_0x5315cd['charCodeAt'](_0x43f788);return new _0x554c58['File']([_0x5e3016],'image.'+_0xb84fff,{'type':_0x24212c});}const _0x15c8cf=_0x257a9a['href']['split']('/'),_0x499cf3=_0x15c8cf[_0x15c8cf['length']-0x1],_0x858c1d=_0x499cf3['split']('.')[0x1];return _0x554c58['fetch'](_0x257a9a['href'])['then'](_0x4cb49b=>_0x4cb49b['clone']()['blob']())['then'](_0x1ca779=>new _0x554c58['File']([_0x1ca779],_0x499cf3,{'type':'image/'+_0x858c1d}));}}
23
+ import{global as _0x56b067,ObservableMixin as _0x390046}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d3a01}from'ckeditor5/src/ui.js';import _0x6134c5 from'./uploadcareimageeditformview.js';import _0x160ed8 from'../../utils/uploadutils.js';import _0x47e935 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2fd0bc,getImageDimension as _0x5ddcc3}from'../../utils/editingutils.js';import{isAncestor as _0x3d9be4}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x390046(){constructor(_0x1df513,_0x5269dd,_0x2c0234){super(),this['_editor']=_0x1df513,this['_dialog']=_0x5269dd,this['_imageElement']=_0x2c0234,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 _0x51e5ea=this['_imageElement'],_0xb9b7c7=_0x51e5ea['getAttribute']('uploadcareImageId'),_0x13cc3f=_0x51e5ea['getAttribute']('src');if(_0xb9b7c7)await this['_loadImageInfo'](_0xb9b7c7,_0x13cc3f);else{if(this['_imageCache']['has'](_0x13cc3f)){const _0x4702d7=this['_imageCache']['get'](_0x13cc3f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4702d7['url'],this['imageDimension']=_0x4702d7['dimension'],this['imageId']=_0x4702d7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x13ce3b}=this['_editor'],t=_0x13ce3b['t'],_0x29894c=new _0x6134c5(_0x13ce3b,this['imageStatus'],this['_attributes']);_0x29894c['bind']('status')['to'](this,'imageStatus'),_0x29894c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x29894c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x29894c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x29894c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47e935,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x29894c,'position':_0x1d3a01['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x29894c['focus']();},'onHide':()=>{_0x29894c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x430dad=>!_0x3d9be4(_0x430dad,_0x29894c['element'])}});}['_loadImageInfo'](_0x252ea3,_0x23713d){return _0x160ed8['getInfo'](_0x252ea3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3e1640=>{const {width:_0x36a3ba,height:_0x295a5e}=_0x3e1640['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23713d,this['imageDimension']={'width':_0x36a3ba,'height':_0x295a5e},this['imageId']=_0x252ea3;})['catch'](_0x1f2796=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f2796['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e0aaf,_0x31c981){return this['_getImageAsFile'](_0x3e0aaf)['then'](_0x462d6b=>_0x160ed8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x31c981['signal'],'file':_0x462d6b,'onProgress':_0x39c684=>{_0x39c684&&_0x39c684['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39c684['value']));}}))['then'](_0x522098=>{const {width:_0x263db4,height:_0x36bad4}=_0x522098['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x522098['cdnUrl'],this['imageDimension']={'width':_0x263db4,'height':_0x36bad4},this['imageId']=_0x522098['uuid'],this['imageUploadProgress']=null;const _0x3ce755=_0x3e0aaf['getAttribute']('src');this['_imageCache']['set'](_0x3ce755,{'id':_0x522098['uuid'],'url':_0x522098['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38aef6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38aef6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5f06dd,_0x3e3c28){_0x5f06dd['on']('apply',(_0x507dbc,_0x5eb1c1)=>{this['_replaceImage'](_0x3e3c28,_0x5eb1c1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5f06dd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5f06dd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ef901,_0x6326f2,_0x4dea59){const _0x5b1f94=this['_editor'],{width:_0x5cbb83,height:_0xe63c58}=_0x5ddcc3(_0x6326f2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x128d69,imageSources:_0x248977}=_0x2fd0bc(_0x6326f2,_0x5cbb83);_0x5b1f94['model']['change'](_0x241ede=>{if('$graveyard'===_0x5ef901['root']['rootName']){_0x5b1f94['execute']('insertImage',{'imageType':_0x5ef901['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ef901['getAttributes']()),'uploadcareImageId':_0x4dea59,'src':_0x128d69,'sources':_0x248977,'width':_0x5cbb83,'height':_0xe63c58}});const _0x323fb9=_0x5ef901['getChildren']();_0x5ef901=_0x5b1f94['model']['document']['selection']['getSelectedElement']();for(const _0x3c1295 of _0x323fb9)_0x241ede['append'](_0x241ede['cloneElement'](_0x3c1295),_0x5ef901);}else _0x241ede['setSelection'](_0x5ef901,'on'),_0x5b1f94['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ef901['getAttributes']()),'uploadcareImageId':_0x4dea59,'src':_0x128d69,'sources':_0x248977,'width':_0x5cbb83,'height':_0xe63c58},_0x5ef901);_0x241ede['setSelection'](_0x5ef901,'on');});}async['_getImageAsFile'](_0x204216){const _0x3478ac=_0x56b067['window'],_0x1d74b1=_0x56b067['document']['location']['href'],_0x2fb1ca=new _0x3478ac['URL'](_0x204216['getAttribute']('src'),_0x1d74b1);if('data:'===_0x2fb1ca['protocol']){const _0x58d68b=_0x2fb1ca['href']['split'](','),_0x3b4e41=_0x58d68b[0x0]['match'](/:(.*?);/)[0x1],_0x5f0036=_0x3b4e41['split']('/')[0x1],_0xb3150a=_0x3478ac['atob'](_0x58d68b[_0x58d68b['length']-0x1]);let _0x45d71d=_0xb3150a['length'];const _0x264427=new _0x3478ac['Uint8Array'](_0x45d71d);for(;_0x45d71d--;)_0x264427[_0x45d71d]=_0xb3150a['charCodeAt'](_0x45d71d);return new _0x3478ac['File']([_0x264427],'image.'+_0x5f0036,{'type':_0x3b4e41});}const _0x4563aa=_0x2fb1ca['href']['split']('/'),_0x415f83=_0x4563aa[_0x4563aa['length']-0x1],_0x2e3e01=_0x415f83['split']('.')[0x1];return _0x3478ac['fetch'](_0x2fb1ca['href'])['then'](_0xe3ca17=>_0xe3ca17['clone']()['blob']())['then'](_0x1be480=>new _0x3478ac['File']([_0x1be480],_0x415f83,{'type':'image/'+_0x2e3e01}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x11f176,_0x370cdc){const _0x378b53=_0xf619,_0x461e75=_0x11f176();while(!![]){try{const _0xb4a56b=parseInt(_0x378b53(0x84))/0x1+-parseInt(_0x378b53(0x7a))/0x2+-parseInt(_0x378b53(0x7d))/0x3*(parseInt(_0x378b53(0x79))/0x4)+-parseInt(_0x378b53(0x83))/0x5+parseInt(_0x378b53(0x7e))/0x6+parseInt(_0x378b53(0x85))/0x7+-parseInt(_0x378b53(0x76))/0x8*(parseInt(_0x378b53(0x78))/0x9);if(_0xb4a56b===_0x370cdc)break;else _0x461e75['push'](_0x461e75['shift']());}catch(_0x6a9c00){_0x461e75['push'](_0x461e75['shift']());}}}(_0x3930,0x531c3));import{View as _0x2026de}from'ckeditor5/src/ui.js';function _0xf619(_0x4a227d,_0x24dd35){const _0x3930d1=_0x3930();return _0xf619=function(_0xf61993,_0x39b5c1){_0xf61993=_0xf61993-0x75;let _0x26bee1=_0x3930d1[_0xf61993];return _0x26bee1;},_0xf619(_0x4a227d,_0x24dd35);}export default class tt extends _0x2026de{constructor(_0x3de8fb,_0x94ccbd){const _0x4de203=_0xf619;super(_0x3de8fb);const _0x95e967=this[_0x4de203(0x77)];this[_0x4de203(0x7b)](_0x4de203(0x80),''),this[_0x4de203(0x81)]({'tag':_0x4de203(0x7c),'attributes':{..._0x94ccbd,'class':[_0x4de203(0x7f),_0x4de203(0x82)],'ctx-name':_0x4de203(0x75),'cdn-url':_0x95e967['to'](_0x4de203(0x80))}});}}function _0x3930(){const _0x4a7716=['image-edit','2539976vPFZVr','bindTemplate','9EaXSpX','18992fQiXHV','242144bcKyqP','set','uc-cloud-image-editor','393xBzHVa','2214654lTnExx','uc-light','imageSrc','setTemplate','ck-uploadcare-theme','931580kzkKKA','613603ZxHTfd','4232060aDtHxR'];_0x3930=function(){return _0x4a7716;};return _0x3930();}
23
+ (function(_0x41e630,_0xeb9261){const _0x297d63=_0x5b39,_0x5a4ae0=_0x41e630();while(!![]){try{const _0x29f1bd=-parseInt(_0x297d63(0x1d9))/0x1+-parseInt(_0x297d63(0x1da))/0x2+-parseInt(_0x297d63(0x1e5))/0x3*(parseInt(_0x297d63(0x1e3))/0x4)+parseInt(_0x297d63(0x1e6))/0x5+parseInt(_0x297d63(0x1e1))/0x6*(-parseInt(_0x297d63(0x1e4))/0x7)+parseInt(_0x297d63(0x1e9))/0x8*(-parseInt(_0x297d63(0x1dd))/0x9)+parseInt(_0x297d63(0x1db))/0xa*(parseInt(_0x297d63(0x1de))/0xb);if(_0x29f1bd===_0xeb9261)break;else _0x5a4ae0['push'](_0x5a4ae0['shift']());}catch(_0x2ef4d8){_0x5a4ae0['push'](_0x5a4ae0['shift']());}}}(_0x98e5,0xa483b));function _0x5b39(_0xceaf09,_0x1b8bb1){const _0x98e58=_0x98e5();return _0x5b39=function(_0x5b3903,_0x4a72e9){_0x5b3903=_0x5b3903-0x1d8;let _0x3a8fa0=_0x98e58[_0x5b3903];return _0x3a8fa0;},_0x5b39(_0xceaf09,_0x1b8bb1);}import{View as _0x388c9c}from'ckeditor5/src/ui.js';function _0x98e5(){const _0x542beb=['7ndTYtS','3379623UVVGcB','5379705jdeJMC','ck-uploadcare-theme','image-edit','1110240FFipPX','uc-cloud-image-editor','set','928643BgEHcN','225932DVYBxx','39227730ELpszB','bindTemplate','81RZfjwQ','11itIHbn','imageSrc','uc-light','5446158xDhkaa','setTemplate','4zUtHXW'];_0x98e5=function(){return _0x542beb;};return _0x98e5();}export default class tt extends _0x388c9c{constructor(_0xe301f1,_0x1530cc){const _0x3afc41=_0x5b39;super(_0xe301f1);const _0xc0a3d8=this[_0x3afc41(0x1dc)];this[_0x3afc41(0x1d8)](_0x3afc41(0x1df),''),this[_0x3afc41(0x1e2)]({'tag':_0x3afc41(0x1ea),'attributes':{..._0x1530cc,'class':[_0x3afc41(0x1e0),_0x3afc41(0x1e7)],'ctx-name':_0x3afc41(0x1e8),'cdn-url':_0xc0a3d8['to'](_0x3afc41(0x1df))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0xc16996,IconView as et,View as _0x472fe6}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x472fe6{constructor(_0x6a261){super(_0x6a261);const t=_0x6a261['t'];this['set']('errorType',null);const _0xbf5373=new _0xc16996(_0x6a261);_0xbf5373['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xbf5373['withText']=!0x0,_0xbf5373['class']='ck-button-action',_0xbf5373['on']('execute',()=>{this['fire']('retry');}),_0xbf5373['bind']('isVisible')['to'](this,'errorType',_0x5572b1=>'NotFound'!==_0x5572b1);const _0x3f9d2a=new et();_0x3f9d2a['content']=at,_0x3f9d2a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2c89f8=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':[_0x3f9d2a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2c89f8['to']('errorType',_0x1a2d3e=>t('NotFound'!==_0x1a2d3e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xbf5373]},{'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'}]}]}]});}}
23
+ import{ButtonView as _0x2fc58b,IconView as et,View as _0x584db9}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x584db9{constructor(_0x2bdf9a){super(_0x2bdf9a);const t=_0x2bdf9a['t'];this['set']('errorType',null);const _0x34d679=new _0x2fc58b(_0x2bdf9a);_0x34d679['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x34d679['withText']=!0x0,_0x34d679['class']='ck-button-action',_0x34d679['on']('execute',()=>{this['fire']('retry');}),_0x34d679['bind']('isVisible')['to'](this,'errorType',_0x1b4677=>'NotFound'!==_0x1b4677);const _0x571966=new et();_0x571966['content']=at,_0x571966['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x247440=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':[_0x571966,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x247440['to']('errorType',_0x1446ed=>t('NotFound'!==_0x1446ed?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x34d679]},{'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 _0xa669ae,View as _0x4b69be}from'ckeditor5/src/ui.js';export default class ta extends _0x4b69be{constructor(_0x4690ec){super(_0x4690ec);const t=_0x4690ec['t'],_0x669f82=this['bindTemplate'],_0x2fbb3b=new _0xa669ae();_0x2fbb3b['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':[_0x2fbb3b,{'text':_0x669f82['to']('imageUploadProgress',_0x16ad10=>t('Loading\x20image...')+'\x20('+(_0x16ad10||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'}]}]}]});}}
23
+ import{SpinnerView as _0x518dc2,View as _0x1f3359}from'ckeditor5/src/ui.js';export default class ta extends _0x1f3359{constructor(_0x38be17){super(_0x38be17);const t=_0x38be17['t'],_0xd90cc9=this['bindTemplate'],_0x4cbc12=new _0x518dc2();_0x4cbc12['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':[_0x4cbc12,{'text':_0xd90cc9['to']('imageUploadProgress',_0x13a1b9=>t('Loading\x20image...')+'\x20('+(_0x13a1b9||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 _0x52df24=_0x4b58;function _0x4b58(_0x5b75ee,_0x22c8f5){const _0x45cf99=_0x45cf();return _0x4b58=function(_0x4b581a,_0x6293cf){_0x4b581a=_0x4b581a-0x98;let _0x1c95ed=_0x45cf99[_0x4b581a];return _0x1c95ed;},_0x4b58(_0x5b75ee,_0x22c8f5);}(function(_0x1f4e38,_0x24af42){const _0x6d2416=_0x4b58,_0x91427f=_0x1f4e38();while(!![]){try{const _0x3ab72a=parseInt(_0x6d2416(0x9b))/0x1+-parseInt(_0x6d2416(0xcd))/0x2*(-parseInt(_0x6d2416(0xce))/0x3)+-parseInt(_0x6d2416(0xa3))/0x4+-parseInt(_0x6d2416(0xa2))/0x5*(parseInt(_0x6d2416(0xbf))/0x6)+-parseInt(_0x6d2416(0x9c))/0x7+-parseInt(_0x6d2416(0xa9))/0x8*(parseInt(_0x6d2416(0xb6))/0x9)+parseInt(_0x6d2416(0xae))/0xa;if(_0x3ab72a===_0x24af42)break;else _0x91427f['push'](_0x91427f['shift']());}catch(_0x4c98f9){_0x91427f['push'](_0x91427f['shift']());}}}(_0x45cf,0x3d659));import{View as _0x352000}from'ckeditor5/src/ui.js';import _0x18106e from'./uploadcareimageeditformloadingview.js';import _0x19145f from'./uploadcareimageeditformerrorview.js';import _0x3a1d3e from'./uploadcareimageeditformeditingview.js';import _0x736e02 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x736e02{constructor(_0x31a163,_0x44308b,_0x1a0222){const _0x2cfb50=_0x4b58;super(_0x31a163),this[_0x2cfb50(0xa0)]=this[_0x2cfb50(0xb9)](),this[_0x2cfb50(0xc3)]=new _0x18106e(_0x31a163),this[_0x2cfb50(0xaa)]=new _0x19145f(_0x31a163),this[_0x2cfb50(0x9a)]=new _0x3a1d3e(_0x31a163,_0x1a0222),this[_0x2cfb50(0xbe)]=new _0x352000(_0x31a163),this[_0x2cfb50(0xbe)][_0x2cfb50(0xa4)](this[_0x2cfb50(0xbb)]()),this[_0x2cfb50(0xb1)](_0x2cfb50(0xa5),_0x44308b),this[_0x2cfb50(0xa4)]({'tag':_0x2cfb50(0xb8),'attributes':{'class':['ck',_0x2cfb50(0xa1),_0x2cfb50(0x99)],'tabindex':'-1'},'children':this[_0x2cfb50(0xa0)]}),this[_0x2cfb50(0xaf)](),this[_0x2cfb50(0xbd)](_0x2cfb50(0xa7),()=>{const _0x459f93=_0x2cfb50;this[_0x459f93(0xb4)](this[_0x459f93(0xc9)],_0xb535b2=>{const _0xdc39c7=_0x459f93;this[_0xdc39c7(0xba)](_0xb535b2);});}),this['on'](_0x2cfb50(0xb2),()=>{const _0xb60be6=_0x2cfb50;this[_0xb60be6(0xaf)]();}),this[_0x2cfb50(0xca)]();}[_0x52df24(0xb7)](){const _0x23f7a1=_0x52df24;this[_0x23f7a1(0xc9)][_0x23f7a1(0xb7)]();}[_0x52df24(0xaf)](){const _0xdd83a6=_0x52df24;switch(this[_0xdd83a6(0xa0)][_0xdd83a6(0xac)](),this[_0xdd83a6(0xa5)]){case _0xdd83a6(0xc1):this[_0xdd83a6(0xa0)][_0xdd83a6(0xb3)](this[_0xdd83a6(0xc3)]);break;case _0xdd83a6(0xa8):this[_0xdd83a6(0xa0)][_0xdd83a6(0xb3)](this[_0xdd83a6(0xaa)]);break;case _0xdd83a6(0xcb):this[_0xdd83a6(0xa0)][_0xdd83a6(0xab)]([this[_0xdd83a6(0x9a)],this[_0xdd83a6(0xbe)]]);}}[_0x52df24(0xb4)](_0x127d29,_0x50b7fa){const _0x48ea20=_0x52df24,_0x556f1a=_0x48ea20(0xbc),_0x1e0b6d=_0x127d29[_0x48ea20(0x9f)](_0x556f1a);if(_0x1e0b6d)return _0x50b7fa(_0x1e0b6d);const _0x56ff0b=new MutationObserver(_0x50d8c3=>{const _0x2bceb1=_0x48ea20,_0x5077f1=_0x50d8c3[_0x2bceb1(0xb0)](_0x5fb17=>_0x5fb17[_0x2bceb1(0xc8)]===_0x127d29&&_0x5fb17[_0x2bceb1(0xc7)][_0x2bceb1(0xb5)]>0x0&&_0x5fb17[_0x2bceb1(0xc7)][0x0][_0x2bceb1(0xa6)][_0x2bceb1(0xc5)]()===_0x556f1a);_0x5077f1[_0x2bceb1(0xb5)]&&(_0x56ff0b[_0x2bceb1(0xcc)](),_0x50b7fa(_0x5077f1[0x0][_0x2bceb1(0xc7)][0x0]));});_0x56ff0b[_0x48ea20(0x9e)](_0x127d29,{'childList':!0x0,'subtree':!0x0});}[_0x52df24(0xba)](_0x108806){const _0x468173=_0x52df24;_0x108806[_0x468173(0xad)](_0x468173(0xc6),_0x2aba57=>{const _0x2ca732=_0x468173;this[_0x2ca732(0xc0)](_0x2ca732(0xc6),{'imageSrc':_0x2aba57[_0x2ca732(0x9d)][_0x2ca732(0xc4)]});}),_0x108806[_0x468173(0xad)](_0x468173(0x98),()=>{const _0x5b62ea=_0x468173;this[_0x5b62ea(0xc0)](_0x5b62ea(0x98));});}[_0x52df24(0xca)](){const _0x5d54f6=_0x52df24;this[_0x5d54f6(0xaa)]['on'](_0x5d54f6(0xc2),()=>{const _0x2e69af=_0x5d54f6;this[_0x2e69af(0xc0)](_0x2e69af(0xc2));});}}function _0x45cf(){const _0x4f1b02=['observe','querySelector','_items','ck-reset_all-excluded','5lXSWWr','625520kUYjFj','setTemplate','status','nodeName','render','error','321832ZlgViD','_errorView','addMany','clear','addEventListener','8117460ZtqLnr','_setView','filter','set','change:status','add','_waitForImageEditorComponent','length','99oqpXXW','focus','div','createCollection','_addUploadcareImageEditorListeners','getFocusableElement','uc-cloud-image-editor','once','_focusableView','1275438QpWVym','fire','uploading','retry','_loadingView','cdnUrl','toLowerCase','apply','addedNodes','target','element','_addErrorViewListeners','ready','disconnect','46KJlpjc','18789PICYdJ','cancel','ck-uploadcare-form','_editingView','259033YAfpjc','1063125HACkIB','detail'];_0x45cf=function(){return _0x4f1b02;};return _0x45cf();}
23
+ const _0x1ec842=_0xcca9;(function(_0x5377e3,_0x5e2f88){const _0x2c3188=_0xcca9,_0x99d0ff=_0x5377e3();while(!![]){try{const _0x35c863=-parseInt(_0x2c3188(0x193))/0x1+-parseInt(_0x2c3188(0x162))/0x2*(-parseInt(_0x2c3188(0x17c))/0x3)+parseInt(_0x2c3188(0x173))/0x4*(parseInt(_0x2c3188(0x18e))/0x5)+parseInt(_0x2c3188(0x191))/0x6+-parseInt(_0x2c3188(0x176))/0x7*(parseInt(_0x2c3188(0x168))/0x8)+-parseInt(_0x2c3188(0x167))/0x9+parseInt(_0x2c3188(0x188))/0xa*(parseInt(_0x2c3188(0x185))/0xb);if(_0x35c863===_0x5e2f88)break;else _0x99d0ff['push'](_0x99d0ff['shift']());}catch(_0x560dca){_0x99d0ff['push'](_0x99d0ff['shift']());}}}(_0x7295,0xa8d36));import{View as _0x34ff6c}from'ckeditor5/src/ui.js';import _0x23050d from'./uploadcareimageeditformloadingview.js';function _0xcca9(_0x4f49e9,_0x31cdea){const _0x729522=_0x7295();return _0xcca9=function(_0xcca9ec,_0x50fb3b){_0xcca9ec=_0xcca9ec-0x161;let _0x35ae8a=_0x729522[_0xcca9ec];return _0x35ae8a;},_0xcca9(_0x4f49e9,_0x31cdea);}function _0x7295(){const _0x276e10=['ck-reset_all-excluded','_loadingView','disconnect','createCollection','setTemplate','render','54248BYLnJB','getFocusableElement','status','11746WgmNRT','addedNodes','toLowerCase','focus','fire','addMany','224151cWehQp','set','cancel','uc-cloud-image-editor','nodeName','ready','apply','_focusableView','_items','1859EHJyMF','add','querySelector','80310EixLlR','ck-uploadcare-form','detail','target','_addUploadcareImageEditorListeners','clear','205rAUCKX','_editingView','element','2752974AxVCUy','length','1231714YSOWjc','div','cdnUrl','addEventListener','_addErrorViewListeners','_waitForImageEditorComponent','retry','18NgkQtb','filter','_setView','observe','_errorView','7554915bNEBnB','1344xsmiws','uploading','change:status','once','error'];_0x7295=function(){return _0x276e10;};return _0x7295();}import _0x4fa018 from'./uploadcareimageeditformerrorview.js';import _0x22f91f from'./uploadcareimageeditformeditingview.js';import _0x255b16 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x255b16{constructor(_0x3cddfd,_0x45cd89,_0xbab12d){const _0x39524c=_0xcca9;super(_0x3cddfd),this[_0x39524c(0x184)]=this[_0x39524c(0x170)](),this[_0x39524c(0x16e)]=new _0x23050d(_0x3cddfd),this[_0x39524c(0x166)]=new _0x4fa018(_0x3cddfd),this[_0x39524c(0x18f)]=new _0x22f91f(_0x3cddfd,_0xbab12d),this[_0x39524c(0x183)]=new _0x34ff6c(_0x3cddfd),this[_0x39524c(0x183)][_0x39524c(0x171)](this[_0x39524c(0x174)]()),this[_0x39524c(0x17d)](_0x39524c(0x175),_0x45cd89),this[_0x39524c(0x171)]({'tag':_0x39524c(0x194),'attributes':{'class':['ck',_0x39524c(0x16d),_0x39524c(0x189)],'tabindex':'-1'},'children':this[_0x39524c(0x184)]}),this[_0x39524c(0x164)](),this[_0x39524c(0x16b)](_0x39524c(0x172),()=>{const _0x974847=_0x39524c;this[_0x974847(0x198)](this[_0x974847(0x190)],_0x3ee215=>{const _0x545c92=_0x974847;this[_0x545c92(0x18c)](_0x3ee215);});}),this['on'](_0x39524c(0x16a),()=>{const _0x3bd3ac=_0x39524c;this[_0x3bd3ac(0x164)]();}),this[_0x39524c(0x197)]();}[_0x1ec842(0x179)](){const _0x299a45=_0x1ec842;this[_0x299a45(0x190)][_0x299a45(0x179)]();}[_0x1ec842(0x164)](){const _0x3ed2d1=_0x1ec842;switch(this[_0x3ed2d1(0x184)][_0x3ed2d1(0x18d)](),this[_0x3ed2d1(0x175)]){case _0x3ed2d1(0x169):this[_0x3ed2d1(0x184)][_0x3ed2d1(0x186)](this[_0x3ed2d1(0x16e)]);break;case _0x3ed2d1(0x16c):this[_0x3ed2d1(0x184)][_0x3ed2d1(0x186)](this[_0x3ed2d1(0x166)]);break;case _0x3ed2d1(0x181):this[_0x3ed2d1(0x184)][_0x3ed2d1(0x17b)]([this[_0x3ed2d1(0x18f)],this[_0x3ed2d1(0x183)]]);}}[_0x1ec842(0x198)](_0x137b8e,_0x478f7d){const _0x32b894=_0x1ec842,_0x284432=_0x32b894(0x17f),_0x53f76c=_0x137b8e[_0x32b894(0x187)](_0x284432);if(_0x53f76c)return _0x478f7d(_0x53f76c);const _0x513e4e=new MutationObserver(_0x36c5e8=>{const _0x4d5c2b=_0x32b894,_0xb132ea=_0x36c5e8[_0x4d5c2b(0x163)](_0x11c5f9=>_0x11c5f9[_0x4d5c2b(0x18b)]===_0x137b8e&&_0x11c5f9[_0x4d5c2b(0x177)][_0x4d5c2b(0x192)]>0x0&&_0x11c5f9[_0x4d5c2b(0x177)][0x0][_0x4d5c2b(0x180)][_0x4d5c2b(0x178)]()===_0x284432);_0xb132ea[_0x4d5c2b(0x192)]&&(_0x513e4e[_0x4d5c2b(0x16f)](),_0x478f7d(_0xb132ea[0x0][_0x4d5c2b(0x177)][0x0]));});_0x513e4e[_0x32b894(0x165)](_0x137b8e,{'childList':!0x0,'subtree':!0x0});}[_0x1ec842(0x18c)](_0x249894){const _0x627963=_0x1ec842;_0x249894[_0x627963(0x196)](_0x627963(0x182),_0x48a416=>{const _0x58600c=_0x627963;this[_0x58600c(0x17a)](_0x58600c(0x182),{'imageSrc':_0x48a416[_0x58600c(0x18a)][_0x58600c(0x195)]});}),_0x249894[_0x627963(0x196)](_0x627963(0x17e),()=>{const _0xe3cf83=_0x627963;this[_0xe3cf83(0x17a)](_0xe3cf83(0x17e));});}[_0x1ec842(0x197)](){const _0x33d4cb=_0x1ec842;this[_0x33d4cb(0x166)]['on'](_0x33d4cb(0x161),()=>{const _0x247d94=_0x33d4cb;this[_0x247d94(0x17a)](_0x247d94(0x161));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b6e8=_0x3107;(function(_0x23e71a,_0x2d986a){const _0x222fd0=_0x3107,_0x56a9e5=_0x23e71a();while(!![]){try{const _0x296345=parseInt(_0x222fd0(0x179))/0x1*(-parseInt(_0x222fd0(0x188))/0x2)+parseInt(_0x222fd0(0x17d))/0x3*(parseInt(_0x222fd0(0x185))/0x4)+parseInt(_0x222fd0(0x192))/0x5+-parseInt(_0x222fd0(0x18d))/0x6*(parseInt(_0x222fd0(0x18f))/0x7)+parseInt(_0x222fd0(0x176))/0x8+-parseInt(_0x222fd0(0x17a))/0x9+parseInt(_0x222fd0(0x184))/0xa;if(_0x296345===_0x2d986a)break;else _0x56a9e5['push'](_0x56a9e5['shift']());}catch(_0x259fe4){_0x56a9e5['push'](_0x56a9e5['shift']());}}}(_0x598b,0x46685));function _0x598b(){const _0x49f9cc=['_isEditable','3WCezmw','imageEditController','getSelectedElement','refresh','plugins','uploadcare.allowExternalImagesEditing','model','4277820KrzVed','44660JfKYzs','set','isEnabled','3058AfaXrj','editor','get','execute','document','1974GQrzAQ','imageInline','217FHGtBL','selection','config','1199225Rnisgh','isActive','requires','unbind','250712ORxObY','bind','element','211RgHfeS','800316nZIuVc','imageBlock'];_0x598b=function(){return _0x49f9cc;};return _0x598b();}import{Command as _0x4390ea}from'ckeditor5/src/core.js';import{Dialog as _0x1e5c3f}from'ckeditor5/src/ui.js';import _0x2c9bdb from'./ui/uploadcareimageeditcontroller.js';function _0x3107(_0x1cdbe8,_0x2565c9){const _0x598bf9=_0x598b();return _0x3107=function(_0x31079c,_0x6be305){_0x31079c=_0x31079c-0x174;let _0xef6cad=_0x598bf9[_0x31079c];return _0xef6cad;},_0x3107(_0x1cdbe8,_0x2565c9);}import{createEditabilityChecker as _0x5d6b24}from'../utils/editingutils.js';export default class W extends _0x4390ea{static get[_0x49b6e8(0x174)](){return[_0x1e5c3f];}constructor(_0x26a163){const _0x1822fc=_0x49b6e8;super(_0x26a163),this[_0x1822fc(0x17e)]=void 0x0,this[_0x1822fc(0x17c)]=_0x5d6b24(_0x26a163[_0x1822fc(0x191)][_0x1822fc(0x18a)](_0x1822fc(0x182))||[]),this[_0x1822fc(0x186)]({'isActive':!0x1});}[_0x49b6e8(0x180)](){const _0x11892a=_0x49b6e8,_0x4bb146=this[_0x11892a(0x189)][_0x11892a(0x183)][_0x11892a(0x18c)][_0x11892a(0x190)][_0x11892a(0x17f)]();this[_0x11892a(0x187)]=this[_0x11892a(0x17c)](_0x4bb146);}[_0x49b6e8(0x18b)](){const _0x1c079c=_0x49b6e8;this[_0x1c079c(0x17e)]&&(this[_0x1c079c(0x175)](_0x1c079c(0x193)),this[_0x1c079c(0x17e)]=void 0x0);const _0x1ad2c3=this[_0x1c079c(0x189)][_0x1c079c(0x183)][_0x1c079c(0x18c)][_0x1c079c(0x190)][_0x1c079c(0x17f)]();_0x1ad2c3&&(_0x1ad2c3['is'](_0x1c079c(0x178),_0x1c079c(0x17b))||_0x1ad2c3['is'](_0x1c079c(0x178),_0x1c079c(0x18e)))&&(this[_0x1c079c(0x17e)]=new _0x2c9bdb(this[_0x1c079c(0x189)],this[_0x1c079c(0x189)][_0x1c079c(0x181)][_0x1c079c(0x18a)](_0x1e5c3f),_0x1ad2c3),this[_0x1c079c(0x177)](_0x1c079c(0x193))['to'](this[_0x1c079c(0x17e)],_0x1c079c(0x193)));}}
23
+ const _0x13cb9b=_0x18e1;(function(_0x4deaa8,_0xe63dfa){const _0x3b6833=_0x18e1,_0x527111=_0x4deaa8();while(!![]){try{const _0x524f00=parseInt(_0x3b6833(0x117))/0x1+-parseInt(_0x3b6833(0x10d))/0x2*(-parseInt(_0x3b6833(0x118))/0x3)+parseInt(_0x3b6833(0x102))/0x4*(parseInt(_0x3b6833(0xfe))/0x5)+-parseInt(_0x3b6833(0x10e))/0x6+parseInt(_0x3b6833(0x108))/0x7+-parseInt(_0x3b6833(0x113))/0x8+-parseInt(_0x3b6833(0xff))/0x9;if(_0x524f00===_0xe63dfa)break;else _0x527111['push'](_0x527111['shift']());}catch(_0x4d1d62){_0x527111['push'](_0x527111['shift']());}}}(_0x7053,0x2b508));import{Command as _0x1ddeab}from'ckeditor5/src/core.js';import{Dialog as _0x389136}from'ckeditor5/src/ui.js';function _0x18e1(_0x36dd63,_0x65bf37){const _0x705347=_0x7053();return _0x18e1=function(_0x18e176,_0x2437dc){_0x18e176=_0x18e176-0xfd;let _0x4fac1c=_0x705347[_0x18e176];return _0x4fac1c;},_0x18e1(_0x36dd63,_0x65bf37);}import _0x1fff16 from'./ui/uploadcareimageeditcontroller.js';function _0x7053(){const _0x20a6be=['refresh','plugins','element','2270422sqgHRJ','getSelectedElement','editor','set','get','4PdGIgv','1515780cUzYqM','isActive','selection','config','imageInline','1273376DffeNW','bind','unbind','imageEditController','319991mnngIq','326658pbhExr','execute','imageBlock','uploadcare.allowExternalImagesEditing','isEnabled','373150epzesv','4471029Xumcfx','_isEditable','document','12AmLZLf','model','requires'];_0x7053=function(){return _0x20a6be;};return _0x7053();}import{createEditabilityChecker as _0x21d049}from'../utils/editingutils.js';export default class J extends _0x1ddeab{static get[_0x13cb9b(0x104)](){return[_0x389136];}constructor(_0x5465f1){const _0x5c832b=_0x13cb9b;super(_0x5465f1),this[_0x5c832b(0x116)]=void 0x0,this[_0x5c832b(0x100)]=_0x21d049(_0x5465f1[_0x5c832b(0x111)][_0x5c832b(0x10c)](_0x5c832b(0x11b))||[]),this[_0x5c832b(0x10b)]({'isActive':!0x1});}[_0x13cb9b(0x105)](){const _0x43913b=_0x13cb9b,_0x3450b3=this[_0x43913b(0x10a)][_0x43913b(0x103)][_0x43913b(0x101)][_0x43913b(0x110)][_0x43913b(0x109)]();this[_0x43913b(0xfd)]=this[_0x43913b(0x100)](_0x3450b3);}[_0x13cb9b(0x119)](){const _0x29461e=_0x13cb9b;this[_0x29461e(0x116)]&&(this[_0x29461e(0x115)](_0x29461e(0x10f)),this[_0x29461e(0x116)]=void 0x0);const _0x57e9f2=this[_0x29461e(0x10a)][_0x29461e(0x103)][_0x29461e(0x101)][_0x29461e(0x110)][_0x29461e(0x109)]();_0x57e9f2&&(_0x57e9f2['is'](_0x29461e(0x107),_0x29461e(0x11a))||_0x57e9f2['is'](_0x29461e(0x107),_0x29461e(0x112)))&&(this[_0x29461e(0x116)]=new _0x1fff16(this[_0x29461e(0x10a)],this[_0x29461e(0x10a)][_0x29461e(0x106)][_0x29461e(0x10c)](_0x389136),_0x57e9f2),this[_0x29461e(0x114)](_0x29461e(0x10f))['to'](this[_0x29461e(0x116)],_0x29461e(0x10f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2229(){const _0x145ce0=['uploadcareImageReplace','10704980myypkz','40vLufUG','429330TxBVKv','5OLencd','isPremiumPlugin','commands','1271494YffJMw','requires','65740vkwBSl','init','isOfficialPlugin','2565244coeLTg','uploadcareImageEdit','2999832LRvFYA','add','ImageUtils','ImageEditing','pluginName','1692bUItDV','UploadcareImageEditEditing','94778uQYBeY','19khwkgQ'];_0x2229=function(){return _0x145ce0;};return _0x2229();}const _0xbe50eb=_0x44fa;(function(_0x1785aa,_0x1a6311){const _0xab1c52=_0x44fa,_0x980537=_0x1785aa();while(!![]){try{const _0x428d5c=-parseInt(_0xab1c52(0xa6))/0x1*(-parseInt(_0xab1c52(0xa5))/0x2)+-parseInt(_0xab1c52(0x9e))/0x3+-parseInt(_0xab1c52(0x9c))/0x4+parseInt(_0xab1c52(0x94))/0x5*(parseInt(_0xab1c52(0x93))/0x6)+-parseInt(_0xab1c52(0x97))/0x7*(parseInt(_0xab1c52(0x92))/0x8)+-parseInt(_0xab1c52(0xa3))/0x9*(-parseInt(_0xab1c52(0x99))/0xa)+parseInt(_0xab1c52(0x91))/0xb;if(_0x428d5c===_0x1a6311)break;else _0x980537['push'](_0x980537['shift']());}catch(_0x1cc8dd){_0x980537['push'](_0x980537['shift']());}}}(_0x2229,0x9a315));import{Plugin as _0x43a5b9}from'ckeditor5/src/core.js';import{Notification as _0x4d50ba}from'ckeditor5/src/ui.js';import _0x57f05e from'./uploadcareimageeditcommand.js';import _0x484ee9 from'./uploadcareimagereplacecommand.js';import _0x423d00 from'../uploadcareediting.js';function _0x44fa(_0x3d2804,_0x4a9b3a){const _0x22292c=_0x2229();return _0x44fa=function(_0x44fafe,_0x27614d){_0x44fafe=_0x44fafe-0x91;let _0x2e971e=_0x22292c[_0x44fafe];return _0x2e971e;},_0x44fa(_0x3d2804,_0x4a9b3a);}export default class m extends _0x43a5b9{static get[_0xbe50eb(0xa2)](){const _0x2c9a13=_0xbe50eb;return _0x2c9a13(0xa4);}static get[_0xbe50eb(0x98)](){const _0x57fa72=_0xbe50eb;return[_0x423d00,_0x4d50ba,_0x57fa72(0xa0),_0x57fa72(0xa1)];}static get[_0xbe50eb(0x9b)](){return!0x0;}static get[_0xbe50eb(0x95)](){return!0x0;}[_0xbe50eb(0x9a)](){const _0x3da25c=_0xbe50eb,{editor:_0x472269}=this;_0x472269[_0x3da25c(0x96)][_0x3da25c(0x9f)](_0x3da25c(0x9d),new _0x57f05e(_0x472269)),_0x472269[_0x3da25c(0x96)][_0x3da25c(0x9f)](_0x3da25c(0xa7),new _0x484ee9(_0x472269));}}
23
+ const _0x194a34=_0x3275;(function(_0x445a0c,_0xfa1c06){const _0x150472=_0x3275,_0x551034=_0x445a0c();while(!![]){try{const _0x46c4d3=-parseInt(_0x150472(0x183))/0x1+-parseInt(_0x150472(0x18c))/0x2+-parseInt(_0x150472(0x17f))/0x3+parseInt(_0x150472(0x182))/0x4*(-parseInt(_0x150472(0x17c))/0x5)+-parseInt(_0x150472(0x17b))/0x6*(-parseInt(_0x150472(0x18b))/0x7)+-parseInt(_0x150472(0x177))/0x8*(-parseInt(_0x150472(0x17d))/0x9)+parseInt(_0x150472(0x186))/0xa;if(_0x46c4d3===_0xfa1c06)break;else _0x551034['push'](_0x551034['shift']());}catch(_0x5d103c){_0x551034['push'](_0x551034['shift']());}}}(_0x462e,0x1c25c));import{Plugin as _0x175f8c}from'ckeditor5/src/core.js';import{Notification as _0x489864}from'ckeditor5/src/ui.js';function _0x462e(){const _0x585087=['327200gIERhT','8EKlsWU','ImageUtils','pluginName','init','12eJjhNV','185CxezMs','242523EequGf','ImageEditing','541407aQwgiu','uploadcareImageReplace','uploadcareImageEdit','956chqdZj','173269dAGHVG','UploadcareImageEditEditing','commands','5469080QacdDV','isOfficialPlugin','isPremiumPlugin','requires','add','236663uHZplU'];_0x462e=function(){return _0x585087;};return _0x462e();}function _0x3275(_0x2d0255,_0x2b3769){const _0x462edc=_0x462e();return _0x3275=function(_0x3275bd,_0x21bc35){_0x3275bd=_0x3275bd-0x177;let _0x2828a1=_0x462edc[_0x3275bd];return _0x2828a1;},_0x3275(_0x2d0255,_0x2b3769);}import _0x58e813 from'./uploadcareimageeditcommand.js';import _0x12fb33 from'./uploadcareimagereplacecommand.js';import _0x23557d from'../uploadcareediting.js';export default class m extends _0x175f8c{static get[_0x194a34(0x179)](){const _0x43b033=_0x194a34;return _0x43b033(0x184);}static get[_0x194a34(0x189)](){const _0x3466e8=_0x194a34;return[_0x23557d,_0x489864,_0x3466e8(0x178),_0x3466e8(0x17e)];}static get[_0x194a34(0x187)](){return!0x0;}static get[_0x194a34(0x188)](){return!0x0;}[_0x194a34(0x17a)](){const _0x40ea81=_0x194a34,{editor:_0x258417}=this;_0x258417[_0x40ea81(0x185)][_0x40ea81(0x18a)](_0x40ea81(0x181),new _0x58e813(_0x258417)),_0x258417[_0x40ea81(0x185)][_0x40ea81(0x18a)](_0x40ea81(0x180),new _0x12fb33(_0x258417));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xa0be82}from'ckeditor5/src/core.js';import{ButtonView as _0x384900}from'ckeditor5/src/ui.js';import{createElement as _0x2b4161}from'ckeditor5/src/utils.js';import _0x548dba 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 _0xa0be82{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 _0x85b974=this['editor'];_0x85b974['ui']['componentFactory']['add']('uploadcareImageEdit',_0x487f36=>{const _0x12c6b2=_0x85b974['commands']['get']('uploadcareImageEdit'),_0x50a32c=new _0x384900(_0x487f36),t=_0x487f36['t'];return _0x50a32c['set']({'icon':_0x548dba,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x50a32c['bind']('isEnabled')['to'](_0x12c6b2),_0x50a32c['bind']('isOn')['to'](_0x12c6b2,'isActive'),this['listenTo'](_0x50a32c,'execute',()=>{_0x85b974['execute']('uploadcareImageEdit'),_0x85b974['editing']['view']['focus']();}),_0x50a32c;}),this['_initConfig']();}['_initConfig'](){const _0x15088f=_0x2b4161(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15088f),this['listenTo'](this['editor'],'destroy',()=>{_0x15088f['remove']();});}}
23
+ import{Plugin as _0x39f83e}from'ckeditor5/src/core.js';import{ButtonView as _0x1b3f64}from'ckeditor5/src/ui.js';import{createElement as _0x58683c}from'ckeditor5/src/utils.js';import _0x1e425f 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 _0x39f83e{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 _0x216199=this['editor'];_0x216199['ui']['componentFactory']['add']('uploadcareImageEdit',_0x49f1e6=>{const _0x24fc2f=_0x216199['commands']['get']('uploadcareImageEdit'),_0x1ee53f=new _0x1b3f64(_0x49f1e6),t=_0x49f1e6['t'];return _0x1ee53f['set']({'icon':_0x1e425f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1ee53f['bind']('isEnabled')['to'](_0x24fc2f),_0x1ee53f['bind']('isOn')['to'](_0x24fc2f,'isActive'),this['listenTo'](_0x1ee53f,'execute',()=>{_0x216199['execute']('uploadcareImageEdit'),_0x216199['editing']['view']['focus']();}),_0x1ee53f;}),this['_initConfig']();}['_initConfig'](){const _0x1a8c52=_0x58683c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1a8c52),this['listenTo'](this['editor'],'destroy',()=>{_0x1a8c52['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6f15(){const _0x1dcc3d=['6259UQmsRd','30kHdheF','refresh','802494hptmzj','getSelectedElement','srcset','6yFtBKF','imageBlock','215529KIzskT','execute','isEnabled','selection','1028368NDWYCp','157424sxSJmP','setAttributes','model','change','6cQUrSB','sizes','615835RCArKP','imageInline','document','232524CysRYX','removeAttribute','editor','element','35tgfIly'];_0x6f15=function(){return _0x1dcc3d;};return _0x6f15();}const _0x512d27=_0x5d11;(function(_0x4481ac,_0x38c5b2){const _0x8fa88c=_0x5d11,_0x4ec47c=_0x4481ac();while(!![]){try{const _0x3f555a=parseInt(_0x8fa88c(0xf6))/0x1+-parseInt(_0x8fa88c(0x10c))/0x2*(parseInt(_0x8fa88c(0x103))/0x3)+parseInt(_0x8fa88c(0x107))/0x4+-parseInt(_0x8fa88c(0xf3))/0x5*(parseInt(_0x8fa88c(0x101))/0x6)+-parseInt(_0x8fa88c(0xfa))/0x7*(parseInt(_0x8fa88c(0x108))/0x8)+parseInt(_0x8fa88c(0xfe))/0x9+parseInt(_0x8fa88c(0xfc))/0xa*(parseInt(_0x8fa88c(0xfb))/0xb);if(_0x3f555a===_0x38c5b2)break;else _0x4ec47c['push'](_0x4ec47c['shift']());}catch(_0x257664){_0x4ec47c['push'](_0x4ec47c['shift']());}}}(_0x6f15,0x2302b));function _0x5d11(_0x464088,_0x17f790){const _0x6f1506=_0x6f15();return _0x5d11=function(_0x5d113d,_0x5ef89a){_0x5d113d=_0x5d113d-0xf3;let _0xf15c7e=_0x6f1506[_0x5d113d];return _0xf15c7e;},_0x5d11(_0x464088,_0x17f790);}import{Command as _0x1ce9b2}from'ckeditor5/src/core.js';export default class Y extends _0x1ce9b2{[_0x512d27(0xfd)](){const _0x287e99=_0x512d27,_0x4bcbc3=this[_0x287e99(0xf8)][_0x287e99(0x10a)][_0x287e99(0xf5)][_0x287e99(0x106)][_0x287e99(0xff)]();this[_0x287e99(0x105)]=Boolean(_0x4bcbc3&&(_0x4bcbc3['is'](_0x287e99(0xf9),_0x287e99(0x102))||_0x4bcbc3['is'](_0x287e99(0xf9),_0x287e99(0xf4))));}[_0x512d27(0x104)](_0x4b3e76){const _0x215474=_0x512d27,_0x456270=this[_0x215474(0xf8)][_0x215474(0x10a)][_0x215474(0xf5)][_0x215474(0x106)][_0x215474(0xff)]();this[_0x215474(0xf8)][_0x215474(0x10a)][_0x215474(0x10b)](_0x14ec6d=>{const _0x50573f=_0x215474;_0x14ec6d[_0x50573f(0x109)](_0x4b3e76,_0x456270),_0x14ec6d[_0x50573f(0xf7)](_0x50573f(0x100),_0x456270),_0x14ec6d[_0x50573f(0xf7)](_0x50573f(0x10d),_0x456270);});}}
23
+ const _0x539f6e=_0x44b9;(function(_0x24a324,_0x5901ea){const _0x2ee89c=_0x44b9,_0x1bec9e=_0x24a324();while(!![]){try{const _0x50c08f=-parseInt(_0x2ee89c(0x1ac))/0x1+parseInt(_0x2ee89c(0x1ab))/0x2*(parseInt(_0x2ee89c(0x1a5))/0x3)+-parseInt(_0x2ee89c(0x19e))/0x4*(parseInt(_0x2ee89c(0x19b))/0x5)+parseInt(_0x2ee89c(0x1a7))/0x6*(parseInt(_0x2ee89c(0x1a9))/0x7)+-parseInt(_0x2ee89c(0x1aa))/0x8*(parseInt(_0x2ee89c(0x19d))/0x9)+parseInt(_0x2ee89c(0x19c))/0xa*(parseInt(_0x2ee89c(0x1b1))/0xb)+-parseInt(_0x2ee89c(0x1a8))/0xc;if(_0x50c08f===_0x5901ea)break;else _0x1bec9e['push'](_0x1bec9e['shift']());}catch(_0x8456d4){_0x1bec9e['push'](_0x1bec9e['shift']());}}}(_0x2b76,0x2df69));import{Command as _0x57d0f8}from'ckeditor5/src/core.js';function _0x44b9(_0x30cdfb,_0x3c34c2){const _0x2b76f2=_0x2b76();return _0x44b9=function(_0x44b986,_0x109bb6){_0x44b986=_0x44b986-0x199;let _0x5ef19e=_0x2b76f2[_0x44b986];return _0x5ef19e;},_0x44b9(_0x30cdfb,_0x3c34c2);}export default class O extends _0x57d0f8{[_0x539f6e(0x19a)](){const _0x133dc3=_0x539f6e,_0x51650a=this[_0x133dc3(0x1b3)][_0x133dc3(0x1b2)][_0x133dc3(0x1af)][_0x133dc3(0x1a6)][_0x133dc3(0x1b0)]();this[_0x133dc3(0x1a1)]=Boolean(_0x51650a&&(_0x51650a['is'](_0x133dc3(0x19f),_0x133dc3(0x1ad))||_0x51650a['is'](_0x133dc3(0x19f),_0x133dc3(0x1a0))));}[_0x539f6e(0x1a3)](_0x54d095){const _0x416870=_0x539f6e,_0x1c5e54=this[_0x416870(0x1b3)][_0x416870(0x1b2)][_0x416870(0x1af)][_0x416870(0x1a6)][_0x416870(0x1b0)]();this[_0x416870(0x1b3)][_0x416870(0x1b2)][_0x416870(0x1ae)](_0x163923=>{const _0x41128a=_0x416870;_0x163923[_0x41128a(0x1b4)](_0x54d095,_0x1c5e54),_0x163923[_0x41128a(0x1a2)](_0x41128a(0x1a4),_0x1c5e54),_0x163923[_0x41128a(0x1a2)](_0x41128a(0x199),_0x1c5e54);});}}function _0x2b76(){const _0x18f201=['32nSdoXI','element','imageInline','isEnabled','removeAttribute','execute','srcset','1017444yECKmj','selection','3252iMmfuD','1695480XGuloK','329clKFXn','799464oNPbqV','2NURSIg','138410bycUyM','imageBlock','change','document','getSelectedElement','3905803ICeXTX','model','editor','setAttributes','sizes','refresh','32415LXLboC','10vOfFJE','18ghfxCL'];_0x2b76=function(){return _0x18f201;};return _0x2b76();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e1ff4=_0x1a44;function _0x1a44(_0x1c5d74,_0x285c02){var _0x3df708=_0x3df7();return _0x1a44=function(_0x1a44fd,_0x4991e8){_0x1a44fd=_0x1a44fd-0x6d;var _0xda537=_0x3df708[_0x1a44fd];return _0xda537;},_0x1a44(_0x1c5d74,_0x285c02);}(function(_0x58b78d,_0x23c800){var _0x291418=_0x1a44,_0x504cf9=_0x58b78d();while(!![]){try{var _0x850cef=parseInt(_0x291418(0x6d))/0x1*(-parseInt(_0x291418(0x77))/0x2)+parseInt(_0x291418(0x79))/0x3*(parseInt(_0x291418(0x7a))/0x4)+-parseInt(_0x291418(0x70))/0x5*(-parseInt(_0x291418(0x7c))/0x6)+-parseInt(_0x291418(0x75))/0x7*(parseInt(_0x291418(0x6e))/0x8)+parseInt(_0x291418(0x72))/0x9*(-parseInt(_0x291418(0x76))/0xa)+-parseInt(_0x291418(0x6f))/0xb+parseInt(_0x291418(0x7b))/0xc;if(_0x850cef===_0x23c800)break;else _0x504cf9['push'](_0x504cf9['shift']());}catch(_0x5ada79){_0x504cf9['push'](_0x504cf9['shift']());}}}(_0x3df7,0x2398c));import{Plugin as _0x385f97}from'ckeditor5/src/core.js';import _0x59bc6c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x5473c4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3df7(){var _0x5726c2=['pluginName','110886XdkwBb','8PKXbny','7175472YKRBRi','6LRAaIb','isPremiumPlugin','1XiSEyf','22536mQUAam','3122317qPpkNM','295535YxydqK','isOfficialPlugin','378HcxnTz','UploadcareImageEdit','requires','553KxOinz','14810ZyTQYn','33182gDzsOW'];_0x3df7=function(){return _0x5726c2;};return _0x3df7();}export default class j extends _0x385f97{static get[_0x3e1ff4(0x78)](){var _0x3abbdf=_0x3e1ff4;return _0x3abbdf(0x73);}static get[_0x3e1ff4(0x74)](){return[_0x59bc6c,_0x5473c4];}static get[_0x3e1ff4(0x71)](){return!0x0;}static get[_0x3e1ff4(0x7d)](){return!0x0;}}
23
+ function _0x4360(_0x1fcd80,_0x3c748c){var _0x3a88e8=_0x3a88();return _0x4360=function(_0x436029,_0x570f37){_0x436029=_0x436029-0x102;var _0x1c3970=_0x3a88e8[_0x436029];return _0x1c3970;},_0x4360(_0x1fcd80,_0x3c748c);}var _0x40ed39=_0x4360;(function(_0x44db8e,_0x4695c2){var _0x555484=_0x4360,_0xa2581f=_0x44db8e();while(!![]){try{var _0xd7706d=-parseInt(_0x555484(0x10a))/0x1+parseInt(_0x555484(0x108))/0x2*(parseInt(_0x555484(0x106))/0x3)+parseInt(_0x555484(0x107))/0x4+parseInt(_0x555484(0x102))/0x5+-parseInt(_0x555484(0x104))/0x6+parseInt(_0x555484(0x10e))/0x7*(parseInt(_0x555484(0x103))/0x8)+-parseInt(_0x555484(0x110))/0x9*(parseInt(_0x555484(0x109))/0xa);if(_0xd7706d===_0x4695c2)break;else _0xa2581f['push'](_0xa2581f['shift']());}catch(_0x4a92be){_0xa2581f['push'](_0xa2581f['shift']());}}}(_0x3a88,0x2ff62));import{Plugin as _0x5e5b17}from'ckeditor5/src/core.js';import _0x4eb736 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4b9c62 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x5e5b17{static get[_0x40ed39(0x10b)](){var _0x2c27e5=_0x40ed39;return _0x2c27e5(0x105);}static get[_0x40ed39(0x10d)](){return[_0x4eb736,_0x4b9c62];}static get[_0x40ed39(0x10c)](){return!0x0;}static get[_0x40ed39(0x10f)](){return!0x0;}}function _0x3a88(){var _0x1da677=['258jSfmms','599240EvLvmm','3904YCcuQy','35590uaVXvB','47966oZfrwH','pluginName','isOfficialPlugin','requires','7XZFLdK','isPremiumPlugin','531WMnOqR','1952115HjpWfx','129944WhuouF','1619706JzPXDE','UploadcareImageEdit'];_0x3a88=function(){return _0x1da677;};return _0x3a88();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44ad74=_0x305e;(function(_0x3a22d7,_0x4e2e88){const _0x4caa98=_0x305e,_0xad5081=_0x3a22d7();while(!![]){try{const _0x11049a=parseInt(_0x4caa98(0xb6))/0x1+parseInt(_0x4caa98(0xee))/0x2*(parseInt(_0x4caa98(0xf0))/0x3)+parseInt(_0x4caa98(0xdb))/0x4*(parseInt(_0x4caa98(0xfc))/0x5)+parseInt(_0x4caa98(0xb1))/0x6*(parseInt(_0x4caa98(0xe3))/0x7)+parseInt(_0x4caa98(0xbd))/0x8+parseInt(_0x4caa98(0xeb))/0x9+parseInt(_0x4caa98(0xdd))/0xa*(-parseInt(_0x4caa98(0xc6))/0xb);if(_0x11049a===_0x4e2e88)break;else _0xad5081['push'](_0xad5081['shift']());}catch(_0x17a20e){_0xad5081['push'](_0xad5081['shift']());}}}(_0x150c,0x66e01));import{Plugin as _0x2b8721,icons as _0x304bee}from'ckeditor5/src/core.js';function _0x305e(_0x1f8658,_0x151f0e){const _0x150c53=_0x150c();return _0x305e=function(_0x305e9a,_0x13a63d){_0x305e9a=_0x305e9a-0xad;let _0x3611e9=_0x150c53[_0x305e9a];return _0x3611e9;},_0x305e(_0x1f8658,_0x151f0e);}import{ButtonView as _0x4525bd,MenuBarMenuListItemButtonView as _0x2b0586}from'ckeditor5/src/ui.js';import _0x1d2520 from'../theme/icons/dropbox.svg';import _0xe113f7 from'../theme/icons/facebook.svg';import _0x3fc7dd from'../theme/icons/google-drive.svg';import _0x35bb68 from'../theme/icons/google-photos.svg';import _0x3e00ef from'../theme/icons/instagram.svg';import _0x357609 from'../theme/icons/link.svg';function _0x150c(){const _0x15a896=['reduce','entries','isPremiumPlugin','uploadcareLicenseKeyTrialLimit','assetManager','uploadcare.uploader.sourceList','551565XCRXMo','destroy','url','Dropbox','GPhotos','config','bind','uploadcareLicenseKeyExpired','licenseKey','6NdHBPh','afterInit','execute','_licenseKeyCheckInterval','_createToolbarButton','631270ZazaDG','withText','domainLimit','GDrive','uploadcareLicenseKeyValid','has','expired','4740208NMEQJf','pluginName','locale','Local','Instagram','label','trialLimit','URL','uploadcareLicenseKeyEvaluationLimit','30434393znjvdJ','_createButton','imageUpload','_normalizeConfigSourceList','get','Facebook','forEach','upload','tooltip','Uploadcare','_createDropdownButtons','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyNotAllowed','init','map','evaluationLimit','type','_showLicenseError','plugins','uploadcareLicenseKeyDomainLimit','20VgLsHv','commands','10QUNXZk','push','isOfficialPlugin','uploadcareLicenseKeyInvalid','ImageInsertUI','text','5210422ZYaNCW','isImageSelected','OneDrive','invalid','featureNotAllowed','_getIntegrationKey','registerIntegration','uploadcare','457362IigcLP','isEnabled','editor','202cmGQXv','UploadcareUI','18345Xbxevd','Replace','usageLimit','Insert','icon','shortText'];_0x150c=function(){return _0x15a896;};return _0x150c();}import _0x13d4d5 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b9789}from'./uploadcareconfig.js';import{getTranslation as _0x3ac993}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2b8721{static get[_0x44ad74(0xbe)](){const _0x4ad782=_0x44ad74;return _0x4ad782(0xef);}static get[_0x44ad74(0xdf)](){return!0x0;}static get[_0x44ad74(0xf8)](){return!0x0;}[_0x44ad74(0xd4)](){const _0x29f61c=_0x44ad74;this[_0x29f61c(0xb0)]=this[_0x29f61c(0xed)][_0x29f61c(0xad)][_0x29f61c(0xca)](_0x29f61c(0xb0));const _0x5cf78b=this[_0x29f61c(0xed)];this[_0x29f61c(0xb4)]=setInterval(()=>{const _0x187d2c=_0x29f61c;let _0x55dec3;for(const _0x271149 in _0x5cf78b){const _0x3e982e=_0x271149,_0x175587=_0x5cf78b[_0x3e982e];if(_0x187d2c(0xba)==_0x175587||_0x187d2c(0xe0)==_0x175587||_0x187d2c(0xaf)==_0x175587||_0x187d2c(0xda)==_0x175587||_0x187d2c(0xd3)==_0x175587||_0x187d2c(0xc5)==_0x175587||_0x187d2c(0xf9)==_0x175587||_0x187d2c(0xd2)==_0x175587){delete _0x5cf78b[_0x3e982e],_0x55dec3=_0x175587,clearInterval(this[_0x187d2c(0xb4)]),this[_0x187d2c(0xb4)]=void 0x0;break;}}_0x187d2c(0xe0)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xe6)),_0x187d2c(0xaf)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xbc)),_0x187d2c(0xda)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xb8)),_0x187d2c(0xd3)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xe7),_0x187d2c(0xcf)),_0x187d2c(0xc5)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xd6)),_0x187d2c(0xf9)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xc3)),_0x187d2c(0xd2)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xf2));},0x3e8);}[_0x44ad74(0xb2)](){const _0x4512f9=_0x44ad74,{editor:_0x5b46f3}=this,_0x350364=_0x5b46f3[_0x4512f9(0xdc)][_0x4512f9(0xca)](_0x4512f9(0xea));if(!_0x350364)return;const _0x38a2ec=this[_0x4512f9(0xc9)](_0x5b46f3[_0x4512f9(0xad)][_0x4512f9(0xca)](_0x4512f9(0xfb)))[_0x4512f9(0xf6)]((_0x298f0e,_0x339a1f)=>{const _0x25c925=_0x4512f9,_0x538bec=this[_0x25c925(0xe8)](_0x339a1f[_0x25c925(0xd7)]);return _0x298f0e[_0x538bec]||(_0x298f0e[_0x538bec]=[]),_0x298f0e[_0x538bec][_0x25c925(0xde)](_0x339a1f),_0x298f0e;},{});_0x5b46f3[_0x4512f9(0xd9)][_0x4512f9(0xbb)](_0x4512f9(0xe1))&&_0x5b46f3[_0x4512f9(0xdc)][_0x4512f9(0xca)](_0x4512f9(0xea))&&Object[_0x4512f9(0xf7)](_0x38a2ec)[_0x4512f9(0xcc)](([_0x5dc3fd,_0x446de0])=>{const _0x2d42dd=_0x4512f9;_0x5b46f3[_0x2d42dd(0xd9)][_0x2d42dd(0xca)](_0x2d42dd(0xe1))[_0x2d42dd(0xe9)]({'name':_0x5dc3fd,'observable':()=>_0x350364,'buttonViewCreator':()=>this[_0x2d42dd(0xb5)](_0x446de0),'formViewCreator':()=>this[_0x2d42dd(0xd0)](_0x446de0),'menuBarButtonViewCreator':()=>this[_0x2d42dd(0xd1)](_0x446de0),'override':_0x2d42dd(0xfa)!==_0x5dc3fd});});}[_0x44ad74(0xfd)](){const _0x2a1483=_0x44ad74;super[_0x2a1483(0xfd)](),this[_0x2a1483(0xb4)]&&clearInterval(this[_0x2a1483(0xb4)]);}[_0x44ad74(0xc9)](_0x2e9723){const _0x3a49ce=_0x44ad74,{locale:_0x30e1c9}=this[_0x3a49ce(0xed)];return _0x2e9723[_0x3a49ce(0xd5)](_0x3eb4e7=>{const _0x4720f8=_0x3a49ce,_0x182c69=_0x3ac993(_0x30e1c9,_0x3eb4e7,_0x4720f8(0xf3));switch(_0x3eb4e7){case _0x4b9789[_0x4720f8(0xc0)]:return{'icon':_0x304bee[_0x4720f8(0xc8)],'type':_0x4b9789[_0x4720f8(0xc0)],..._0x182c69};case _0x4b9789[_0x4720f8(0xc4)]:return{'icon':_0x357609,'type':_0x4b9789[_0x4720f8(0xc4)],..._0x182c69};case _0x4b9789[_0x4720f8(0xff)]:return{'icon':_0x1d2520,'type':_0x4b9789[_0x4720f8(0xff)],..._0x182c69};case _0x4b9789[_0x4720f8(0xcb)]:return{'icon':_0xe113f7,'type':_0x4b9789[_0x4720f8(0xcb)],..._0x182c69};case _0x4b9789[_0x4720f8(0xb9)]:return{'icon':_0x3fc7dd,'type':_0x4b9789[_0x4720f8(0xb9)],..._0x182c69};case _0x4b9789[_0x4720f8(0x100)]:return{'icon':_0x35bb68,'type':_0x4b9789[_0x4720f8(0x100)],..._0x182c69};case _0x4b9789[_0x4720f8(0xc1)]:return{'icon':_0x3e00ef,'type':_0x4b9789[_0x4720f8(0xc1)],..._0x182c69};case _0x4b9789[_0x4720f8(0xe5)]:return{'icon':_0x13d4d5,'type':_0x4b9789[_0x4720f8(0xe5)],..._0x182c69};}});}[_0x44ad74(0xe8)](_0x55eb40){const _0x134eb0=_0x44ad74;switch(_0x55eb40){case _0x4b9789[_0x134eb0(0xc0)]:return _0x134eb0(0xcd);case _0x4b9789[_0x134eb0(0xc4)]:return _0x134eb0(0xfe);default:return _0x134eb0(0xfa);}}[_0x44ad74(0xc7)](_0x36e5e6,_0x1fc9bf){const _0x4c7f5e=_0x44ad74,_0x491c17=this[_0x4c7f5e(0xed)],_0x27aebd=new _0x36e5e6(_0x491c17[_0x4c7f5e(0xbf)]),_0x428bbf=_0x491c17[_0x4c7f5e(0xdc)][_0x4c7f5e(0xca)](_0x4c7f5e(0xea));return _0x27aebd[_0x4c7f5e(0xae)](_0x4c7f5e(0xec))['to'](_0x428bbf),_0x27aebd['on'](_0x4c7f5e(0xb3),()=>{const _0x19e9e2=_0x4c7f5e;_0x428bbf[_0x19e9e2(0xb3)](_0x1fc9bf);}),_0x27aebd;}[_0x44ad74(0xb5)](_0x2ec3bf){const _0x5d9fa5=_0x44ad74,{locale:_0x3f4cbe}=this[_0x5d9fa5(0xed)],_0x225359=this[_0x5d9fa5(0xed)][_0x5d9fa5(0xd9)][_0x5d9fa5(0xca)](_0x5d9fa5(0xe1)),_0x498dc5=_0x2ec3bf[0x0],_0x1f991b=this[_0x5d9fa5(0xc7)](_0x4525bd,_0x498dc5[_0x5d9fa5(0xd7)]);return _0x1f991b[_0x5d9fa5(0xf4)]=_0x498dc5[_0x5d9fa5(0xf4)],_0x1f991b[_0x5d9fa5(0xae)](_0x5d9fa5(0xc2))['to'](_0x225359,_0x5d9fa5(0xe4),_0x2890ed=>_0x3ac993(_0x3f4cbe,_0x498dc5[_0x5d9fa5(0xd7)],_0x2890ed?_0x5d9fa5(0xf1):_0x5d9fa5(0xf3))[_0x5d9fa5(0xe2)]),_0x1f991b[_0x5d9fa5(0xce)]=!0x0,_0x1f991b;}[_0x44ad74(0xd0)](_0x35745e){const _0x256371=_0x44ad74,{locale:_0x326042}=this[_0x256371(0xed)],_0x4389a5=this[_0x256371(0xed)][_0x256371(0xd9)][_0x256371(0xca)](_0x256371(0xe1));return _0x35745e[_0x256371(0xd5)](_0x1e69bc=>{const _0x29fa66=_0x256371,_0x1761f0=this[_0x29fa66(0xc7)](_0x4525bd,_0x1e69bc[_0x29fa66(0xd7)]);return _0x1761f0[_0x29fa66(0xb7)]=!0x0,_0x1761f0[_0x29fa66(0xf4)]=_0x1e69bc[_0x29fa66(0xf4)],_0x1761f0[_0x29fa66(0xae)](_0x29fa66(0xc2))['to'](_0x4389a5,_0x29fa66(0xe4),_0x3d62b3=>_0x3ac993(_0x326042,_0x1e69bc[_0x29fa66(0xd7)],_0x3d62b3?_0x29fa66(0xf1):_0x29fa66(0xf3))[_0x29fa66(0xe2)]),_0x1761f0;});}[_0x44ad74(0xd1)](_0x385634){const _0x1451dc=_0x44ad74;return _0x385634[_0x1451dc(0xd5)](_0x5cb47c=>{const _0x2c6ad5=_0x1451dc,_0x218c3e=this[_0x2c6ad5(0xc7)](_0x2b0586,_0x5cb47c[_0x2c6ad5(0xd7)]);return _0x218c3e[_0x2c6ad5(0xf4)]=_0x5cb47c[_0x2c6ad5(0xf4)],_0x218c3e[_0x2c6ad5(0xc2)]=_0x5cb47c[_0x2c6ad5(0xf5)],_0x218c3e;});}}
23
+ const _0x4a692c=_0x5d70;(function(_0x52cd60,_0x1f79af){const _0x14c338=_0x5d70,_0x37f427=_0x52cd60();while(!![]){try{const _0x3a4368=-parseInt(_0x14c338(0x1b1))/0x1+-parseInt(_0x14c338(0x1c1))/0x2+-parseInt(_0x14c338(0x1bc))/0x3+parseInt(_0x14c338(0x1a1))/0x4+-parseInt(_0x14c338(0x19f))/0x5*(parseInt(_0x14c338(0x1aa))/0x6)+parseInt(_0x14c338(0x198))/0x7*(-parseInt(_0x14c338(0x1ae))/0x8)+parseInt(_0x14c338(0x1d8))/0x9;if(_0x3a4368===_0x1f79af)break;else _0x37f427['push'](_0x37f427['shift']());}catch(_0xd513de){_0x37f427['push'](_0x37f427['shift']());}}}(_0x2c29,0x626ab));import{Plugin as _0x3c99a5,icons as _0x3f3e6a}from'ckeditor5/src/core.js';function _0x2c29(){const _0x523c20=['isPremiumPlugin','600129mAzTkv','invalid','Uploadcare','editor','isEnabled','imageUpload','label','destroy','get','commands','afterInit','1825590diELtb','_createMenuBarButtons','uploadcare.uploader.sourceList','uploadcareLicenseKeyTrialLimit','text','1447744YFdGrh','uploadcare','_createDropdownButtons','plugins','assetManager','has','featureNotAllowed','_createToolbarButton','Instagram','GDrive','init','type','uploadcareLicenseKeyEvaluationLimit','bind','isImageSelected','_createButton','licenseKey','Insert','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyInvalid','ImageInsertUI','upload','url','19880217ACKezQ','registerIntegration','Replace','_showLicenseError','uploadcareLicenseKeyNotAllowed','usageLimit','Local','domainLimit','tooltip','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','URL','forEach','OneDrive','icon','push','uploadcareLicenseKeyValid','execute','118223vhkOuu','expired','isOfficialPlugin','_licenseKeyCheckInterval','uploadcareLicenseKeyExpired','_normalizeConfigSourceList','GPhotos','340OrpfBc','Dropbox','1540660yXoQvv','map','evaluationLimit','reduce','shortText','locale','pluginName','config','trialLimit','16842dbcWxI','entries','Facebook','UploadcareUI','32szuASL','withText'];_0x2c29=function(){return _0x523c20;};return _0x2c29();}import{ButtonView as _0x456203,MenuBarMenuListItemButtonView as _0x3c1493}from'ckeditor5/src/ui.js';import _0x9360b3 from'../theme/icons/dropbox.svg';import _0xe12d7 from'../theme/icons/facebook.svg';import _0xbf2780 from'../theme/icons/google-drive.svg';import _0x13affd from'../theme/icons/google-photos.svg';import _0x251c48 from'../theme/icons/instagram.svg';import _0x187cda from'../theme/icons/link.svg';import _0x2080ab from'../theme/icons/onedrive.svg';function _0x5d70(_0x4799f5,_0x571f19){const _0x2c296f=_0x2c29();return _0x5d70=function(_0x5d701c,_0xe3e9f2){_0x5d701c=_0x5d701c-0x193;let _0x1ba3e7=_0x2c296f[_0x5d701c];return _0x1ba3e7;},_0x5d70(_0x4799f5,_0x571f19);}import{UploadcareSource as _0x2afe69}from'./uploadcareconfig.js';import{getTranslation as _0x4e52e8}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 _0x3c99a5{static get[_0x4a692c(0x1a7)](){const _0x1df94c=_0x4a692c;return _0x1df94c(0x1ad);}static get[_0x4a692c(0x19a)](){return!0x0;}static get[_0x4a692c(0x1b0)](){return!0x0;}[_0x4a692c(0x1cb)](){const _0xe18015=_0x4a692c;this[_0xe18015(0x1d1)]=this[_0xe18015(0x1b4)][_0xe18015(0x1a8)][_0xe18015(0x1b9)](_0xe18015(0x1d1));const _0xf8660e=this[_0xe18015(0x1b4)];this[_0xe18015(0x19b)]=setInterval(()=>{const _0x3ff67d=_0xe18015;let _0x543b79;for(const _0x1efe88 in _0xf8660e){const _0xdd8bef=_0x1efe88,_0x478d83=_0xf8660e[_0xdd8bef];if(_0x3ff67d(0x196)==_0x478d83||_0x3ff67d(0x1d4)==_0x478d83||_0x3ff67d(0x19c)==_0x478d83||_0x3ff67d(0x1d3)==_0x478d83||_0x3ff67d(0x1dc)==_0x478d83||_0x3ff67d(0x1cd)==_0x478d83||_0x3ff67d(0x1bf)==_0x478d83||_0x3ff67d(0x1e1)==_0x478d83){delete _0xf8660e[_0xdd8bef],_0x543b79=_0x478d83,clearInterval(this[_0x3ff67d(0x19b)]),this[_0x3ff67d(0x19b)]=void 0x0;break;}}_0x3ff67d(0x1d4)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x1b2)),_0x3ff67d(0x19c)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x199)),_0x3ff67d(0x1d3)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x1df)),_0x3ff67d(0x1dc)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x1c7),_0x3ff67d(0x1b3)),_0x3ff67d(0x1cd)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x1a3)),_0x3ff67d(0x1bf)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x1a9)),_0x3ff67d(0x1e1)==_0x543b79&&_0xf8660e[_0x3ff67d(0x1db)](_0x3ff67d(0x1dd));},0x3e8);}[_0x4a692c(0x1bb)](){const _0x2157e3=_0x4a692c,{editor:_0xe2ea07}=this,_0x3b5efe=_0xe2ea07[_0x2157e3(0x1ba)][_0x2157e3(0x1b9)](_0x2157e3(0x1c2));if(!_0x3b5efe)return;const _0x66aec8=this[_0x2157e3(0x19d)](_0xe2ea07[_0x2157e3(0x1a8)][_0x2157e3(0x1b9)](_0x2157e3(0x1be)))[_0x2157e3(0x1a4)]((_0x4e9d3e,_0x5868fd)=>{const _0x57253d=_0x2157e3,_0x15cebd=this[_0x57253d(0x1e2)](_0x5868fd[_0x57253d(0x1cc)]);return _0x4e9d3e[_0x15cebd]||(_0x4e9d3e[_0x15cebd]=[]),_0x4e9d3e[_0x15cebd][_0x57253d(0x195)](_0x5868fd),_0x4e9d3e;},{});_0xe2ea07[_0x2157e3(0x1c4)][_0x2157e3(0x1c6)](_0x2157e3(0x1d5))&&_0xe2ea07[_0x2157e3(0x1ba)][_0x2157e3(0x1b9)](_0x2157e3(0x1c2))&&Object[_0x2157e3(0x1ab)](_0x66aec8)[_0x2157e3(0x1e4)](([_0x164c14,_0x5f465a])=>{const _0x3e5614=_0x2157e3;_0xe2ea07[_0x3e5614(0x1c4)][_0x3e5614(0x1b9)](_0x3e5614(0x1d5))[_0x3e5614(0x1d9)]({'name':_0x164c14,'observable':()=>_0x3b5efe,'buttonViewCreator':()=>this[_0x3e5614(0x1c8)](_0x5f465a),'formViewCreator':()=>this[_0x3e5614(0x1c3)](_0x5f465a),'menuBarButtonViewCreator':()=>this[_0x3e5614(0x1bd)](_0x5f465a),'override':_0x3e5614(0x1c5)!==_0x164c14});});}[_0x4a692c(0x1b8)](){const _0x3d5f3a=_0x4a692c;super[_0x3d5f3a(0x1b8)](),this[_0x3d5f3a(0x19b)]&&clearInterval(this[_0x3d5f3a(0x19b)]);}[_0x4a692c(0x19d)](_0x12d0ce){const _0x5d0946=_0x4a692c,{locale:_0x183197}=this[_0x5d0946(0x1b4)];return _0x12d0ce[_0x5d0946(0x1a2)](_0x53189a=>{const _0x12080f=_0x5d0946,_0x3e2024=_0x4e52e8(_0x183197,_0x53189a,_0x12080f(0x1d2));switch(_0x53189a){case _0x2afe69[_0x12080f(0x1de)]:return{'icon':_0x3f3e6a[_0x12080f(0x1b6)],'type':_0x2afe69[_0x12080f(0x1de)],..._0x3e2024};case _0x2afe69[_0x12080f(0x1e3)]:return{'icon':_0x187cda,'type':_0x2afe69[_0x12080f(0x1e3)],..._0x3e2024};case _0x2afe69[_0x12080f(0x1a0)]:return{'icon':_0x9360b3,'type':_0x2afe69[_0x12080f(0x1a0)],..._0x3e2024};case _0x2afe69[_0x12080f(0x1ac)]:return{'icon':_0xe12d7,'type':_0x2afe69[_0x12080f(0x1ac)],..._0x3e2024};case _0x2afe69[_0x12080f(0x1ca)]:return{'icon':_0xbf2780,'type':_0x2afe69[_0x12080f(0x1ca)],..._0x3e2024};case _0x2afe69[_0x12080f(0x19e)]:return{'icon':_0x13affd,'type':_0x2afe69[_0x12080f(0x19e)],..._0x3e2024};case _0x2afe69[_0x12080f(0x1c9)]:return{'icon':_0x251c48,'type':_0x2afe69[_0x12080f(0x1c9)],..._0x3e2024};case _0x2afe69[_0x12080f(0x193)]:return{'icon':_0x2080ab,'type':_0x2afe69[_0x12080f(0x193)],..._0x3e2024};}});}[_0x4a692c(0x1e2)](_0x4fe718){const _0x4eb0cf=_0x4a692c;switch(_0x4fe718){case _0x2afe69[_0x4eb0cf(0x1de)]:return _0x4eb0cf(0x1d6);case _0x2afe69[_0x4eb0cf(0x1e3)]:return _0x4eb0cf(0x1d7);default:return _0x4eb0cf(0x1c5);}}[_0x4a692c(0x1d0)](_0x3458c0,_0x4906d5){const _0x1a8ea1=_0x4a692c,_0x536cb4=this[_0x1a8ea1(0x1b4)],_0x522979=new _0x3458c0(_0x536cb4[_0x1a8ea1(0x1a6)]),_0x44139a=_0x536cb4[_0x1a8ea1(0x1ba)][_0x1a8ea1(0x1b9)](_0x1a8ea1(0x1c2));return _0x522979[_0x1a8ea1(0x1ce)](_0x1a8ea1(0x1b5))['to'](_0x44139a),_0x522979['on'](_0x1a8ea1(0x197),()=>{const _0x3ff0d5=_0x1a8ea1;_0x44139a[_0x3ff0d5(0x197)](_0x4906d5);}),_0x522979;}[_0x4a692c(0x1c8)](_0x5ad688){const _0x3d6efe=_0x4a692c,{locale:_0x398a33}=this[_0x3d6efe(0x1b4)],_0x1e549a=this[_0x3d6efe(0x1b4)][_0x3d6efe(0x1c4)][_0x3d6efe(0x1b9)](_0x3d6efe(0x1d5)),_0x2b4808=_0x5ad688[0x0],_0x4d9ff3=this[_0x3d6efe(0x1d0)](_0x456203,_0x2b4808[_0x3d6efe(0x1cc)]);return _0x4d9ff3[_0x3d6efe(0x194)]=_0x2b4808[_0x3d6efe(0x194)],_0x4d9ff3[_0x3d6efe(0x1ce)](_0x3d6efe(0x1b7))['to'](_0x1e549a,_0x3d6efe(0x1cf),_0x53cee8=>_0x4e52e8(_0x398a33,_0x2b4808[_0x3d6efe(0x1cc)],_0x53cee8?_0x3d6efe(0x1da):_0x3d6efe(0x1d2))[_0x3d6efe(0x1c0)]),_0x4d9ff3[_0x3d6efe(0x1e0)]=!0x0,_0x4d9ff3;}[_0x4a692c(0x1c3)](_0x4aee2a){const _0x36de7c=_0x4a692c,{locale:_0x5f07bd}=this[_0x36de7c(0x1b4)],_0x707996=this[_0x36de7c(0x1b4)][_0x36de7c(0x1c4)][_0x36de7c(0x1b9)](_0x36de7c(0x1d5));return _0x4aee2a[_0x36de7c(0x1a2)](_0x50a23b=>{const _0x16f859=_0x36de7c,_0x2bced5=this[_0x16f859(0x1d0)](_0x456203,_0x50a23b[_0x16f859(0x1cc)]);return _0x2bced5[_0x16f859(0x1af)]=!0x0,_0x2bced5[_0x16f859(0x194)]=_0x50a23b[_0x16f859(0x194)],_0x2bced5[_0x16f859(0x1ce)](_0x16f859(0x1b7))['to'](_0x707996,_0x16f859(0x1cf),_0x38c14d=>_0x4e52e8(_0x5f07bd,_0x50a23b[_0x16f859(0x1cc)],_0x38c14d?_0x16f859(0x1da):_0x16f859(0x1d2))[_0x16f859(0x1c0)]),_0x2bced5;});}[_0x4a692c(0x1bd)](_0x574a78){const _0x2c77a0=_0x4a692c;return _0x574a78[_0x2c77a0(0x1a2)](_0x1910b6=>{const _0x8b05a1=_0x2c77a0,_0x3c406d=this[_0x8b05a1(0x1d0)](_0x3c1493,_0x1910b6[_0x8b05a1(0x1cc)]);return _0x3c406d[_0x8b05a1(0x194)]=_0x1910b6[_0x8b05a1(0x194)],_0x3c406d[_0x8b05a1(0x1b7)]=_0x1910b6[_0x8b05a1(0x1a5)],_0x3c406d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x477744}from'ckeditor5/src/core.js';import{FileRepository as _0x3ec207}from'ckeditor5/src/upload.js';import _0x559ffd from'./uploadcareediting.js';import _0x3f85f2 from'./utils/uploadutils.js';import{getImageUrls as _0x1639b3}from'./utils/editingutils.js';export default class f extends _0x477744{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3ec207,_0x559ffd];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5a3c75=this['editor'];if(!!!_0x5a3c75['config']['get']('uploadcare'))return;_0x5a3c75['plugins']['get'](_0x3ec207)['createUploadAdapter']=_0x412591=>new A(_0x412591,_0x5a3c75),_0x5a3c75['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd9c4d2,{imageElement:_0x11f0a5,data:_0x26d653})=>{_0x5a3c75['model']['change'](_0x434717=>{_0x434717['setAttribute']('uploadcareImageId',_0x26d653['uploadcareImageId'],_0x11f0a5);});});}}class A{constructor(_0x1f79fc,_0x3e5410){this['loader']=_0x1f79fc,this['editor']=_0x3e5410,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x43bc6a=this['editor']['config']['get']('uploadcare.pubkey'),_0x2b68a0=await this['loader']['file'];return _0x3f85f2['upload']({'file':_0x2b68a0,'publicKey':_0x43bc6a,'signal':this['controller']['signal'],'onProgress':_0x33917e=>{_0x33917e&&_0x33917e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x33917e['value']);}})['then'](async _0xc6a078=>{const {imageFallbackUrl:_0x470652,imageSources:_0x4425dd}=_0x1639b3(_0xc6a078['cdnUrl'],_0xc6a078['imageInfo']['width']);return{'uploadcareImageId':_0xc6a078['uuid'],'default':_0x470652,'sources':_0x4425dd};})['catch'](()=>{const _0x5bb96e=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b68a0['name']+'.');return Promise['reject'](_0x5bb96e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x270ff2}from'ckeditor5/src/core.js';import{FileRepository as _0x41a9c2}from'ckeditor5/src/upload.js';import _0x3034fa from'./uploadcareediting.js';import _0x15e640 from'./utils/uploadutils.js';import{getImageUrls as _0x4cd983}from'./utils/editingutils.js';export default class f extends _0x270ff2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x41a9c2,_0x3034fa];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x27b1e1=this['editor'];if(!!!_0x27b1e1['config']['get']('uploadcare'))return;_0x27b1e1['plugins']['get'](_0x41a9c2)['createUploadAdapter']=_0x3ead95=>new A(_0x3ead95,_0x27b1e1),_0x27b1e1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x253241,{imageElement:_0x2d7d7e,data:_0x3896b5})=>{_0x27b1e1['model']['change'](_0x2e13f4=>{_0x2e13f4['setAttribute']('uploadcareImageId',_0x3896b5['uploadcareImageId'],_0x2d7d7e);});});}}class A{constructor(_0x2235cd,_0x2cca82){this['loader']=_0x2235cd,this['editor']=_0x2cca82,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1f7818=this['editor']['config']['get']('uploadcare.pubkey'),_0x13db77=await this['loader']['file'];return _0x15e640['upload']({'file':_0x13db77,'publicKey':_0x1f7818,'signal':this['controller']['signal'],'onProgress':_0x470854=>{_0x470854&&_0x470854['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x470854['value']);}})['then'](async _0x151d7a=>{const {imageFallbackUrl:_0x27f812,imageSources:_0x9a88e4}=_0x4cd983(_0x151d7a['cdnUrl'],_0x151d7a['imageInfo']['width']);return{'uploadcareImageId':_0x151d7a['uuid'],'default':_0x27f812,'sources':_0x9a88e4};})['catch'](()=>{const _0x1f1088=t('Cannot\x20upload\x20file:')+('\x20'+_0x13db77['name']+'.');return Promise['reject'](_0x1f1088);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xbde20b}from'../uploadcareconfig.js';export function getTranslation(_0x6a929c,_0xf09b8f,_0x53e2e3){const t=_0x6a929c['t'],_0x3f4160=_0x6a929c['t'];switch(_0xf09b8f){case _0xbde20b['Local']:return{'text':_0x3f4160('Insert'===_0x53e2e3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f4160('From\x20computer')};case _0xbde20b['URL']:return{'text':'Insert'===_0x53e2e3?_0x3f4160('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f4160('Via\x20URL')};case _0xbde20b['Dropbox']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xbde20b['Facebook']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xbde20b['GDrive']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xbde20b['GPhotos']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xbde20b['Instagram']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0xbde20b['OneDrive']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xf09b8f;}}
23
+ import{UploadcareSource as _0x2beac2}from'../uploadcareconfig.js';export function getTranslation(_0x1cb5db,_0x16b936,_0x7f8519){const t=_0x1cb5db['t'],_0xca830a=_0x1cb5db['t'];switch(_0x16b936){case _0x2beac2['Local']:return{'text':_0xca830a('Insert'===_0x7f8519?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xca830a('From\x20computer')};case _0x2beac2['URL']:return{'text':'Insert'===_0x7f8519?_0xca830a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xca830a('Via\x20URL')};case _0x2beac2['Dropbox']:return{'text':t('Insert'===_0x7f8519?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2beac2['Facebook']:return{'text':t('Insert'===_0x7f8519?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2beac2['GDrive']:return{'text':t('Insert'===_0x7f8519?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2beac2['GPhotos']:return{'text':t('Insert'===_0x7f8519?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2beac2['Instagram']:return{'text':t('Insert'===_0x7f8519?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x2beac2['OneDrive']:return{'text':t('Insert'===_0x7f8519?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x16b936;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29cf(_0x84ccdc,_0x65571e){var _0xf35ec0=_0xf35e();return _0x29cf=function(_0x29cf7f,_0x477d39){_0x29cf7f=_0x29cf7f-0x1b9;var _0x18b434=_0xf35ec0[_0x29cf7f];return _0x18b434;},_0x29cf(_0x84ccdc,_0x65571e);}var _0x5540cf=_0x29cf;(function(_0x3dd256,_0x4748e1){var _0xf4fc4d=_0x29cf,_0x242131=_0x3dd256();while(!![]){try{var _0x5894a0=parseInt(_0xf4fc4d(0x1c8))/0x1+-parseInt(_0xf4fc4d(0x1c0))/0x2+parseInt(_0xf4fc4d(0x1bb))/0x3+parseInt(_0xf4fc4d(0x1be))/0x4+-parseInt(_0xf4fc4d(0x1c3))/0x5+parseInt(_0xf4fc4d(0x1ba))/0x6*(parseInt(_0xf4fc4d(0x1c7))/0x7)+-parseInt(_0xf4fc4d(0x1b9))/0x8*(-parseInt(_0xf4fc4d(0x1bf))/0x9);if(_0x5894a0===_0x4748e1)break;else _0x242131['push'](_0x242131['shift']());}catch(_0x492214){_0x242131['push'](_0x242131['shift']());}}}(_0xf35e,0xd2caf));import{FocusTracker as _0x451cba}from'ckeditor5/src/utils.js';function _0xf35e(){var _0x575113=['focusTracker','31032oQaGOs','9230160xGzHjS','4938291tlMFRC','true','getFocusableElement','873996qPLtqU','441RTLIht','2935670BUaEvc','fire','forwardCycle','8005915jcXddo','div','focusCycler','bindTemplate','7ZduKMN','339398xzaeyg','createCollection'];_0xf35e=function(){return _0x575113;};return _0xf35e();}import{View as _0x5268f4,FocusCycler as _0x9ee595}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x5268f4{constructor(_0x5dc6c7){var _0x58278f=_0x29cf;super(_0x5dc6c7),this[_0x58278f(0x1ca)]=new _0x451cba(),this[_0x58278f(0x1c5)]=new _0x9ee595({'focusables':this[_0x58278f(0x1c9)](),'focusTracker':this[_0x58278f(0x1ca)]});}[_0x5540cf(0x1bd)](){var _0x1e1106=_0x5540cf;return{'tag':_0x1e1106(0x1c4),'attributes':{'aria-hidden':_0x1e1106(0x1bc),'tabindex':'0'},'on':{'focus':this[_0x1e1106(0x1c6)]['to'](()=>{var _0x2d3b3f=_0x1e1106;this[_0x2d3b3f(0x1c5)][_0x2d3b3f(0x1c1)](_0x2d3b3f(0x1c2));})}};}}
23
+ var _0x3e6e20=_0x1bdc;function _0x1bdc(_0x34f7e3,_0x260717){var _0x30c6e9=_0x30c6();return _0x1bdc=function(_0x1bdc06,_0x136ea1){_0x1bdc06=_0x1bdc06-0x144;var _0x149fdd=_0x30c6e9[_0x1bdc06];return _0x149fdd;},_0x1bdc(_0x34f7e3,_0x260717);}function _0x30c6(){var _0x1fef24=['5WIGsmZ','focusCycler','3144JfjZxQ','createCollection','7097076oydSlv','div','3668QYJziI','1101682cFallC','getFocusableElement','7218378DcIZRO','2475384QteBPo','23311530ZlvBNh','2IBWpWn','fire','true','focusTracker','bindTemplate','815352RJSPAv','forwardCycle'];_0x30c6=function(){return _0x1fef24;};return _0x30c6();}(function(_0x2a24f8,_0x37786e){var _0x2a5886=_0x1bdc,_0x10d388=_0x2a24f8();while(!![]){try{var _0x484038=parseInt(_0x2a5886(0x153))/0x1*(parseInt(_0x2a5886(0x14e))/0x2)+-parseInt(_0x2a5886(0x145))/0x3+-parseInt(_0x2a5886(0x151))/0x4+-parseInt(_0x2a5886(0x147))/0x5*(parseInt(_0x2a5886(0x150))/0x6)+-parseInt(_0x2a5886(0x14d))/0x7*(-parseInt(_0x2a5886(0x149))/0x8)+-parseInt(_0x2a5886(0x14b))/0x9+parseInt(_0x2a5886(0x152))/0xa;if(_0x484038===_0x37786e)break;else _0x10d388['push'](_0x10d388['shift']());}catch(_0x3b580c){_0x10d388['push'](_0x10d388['shift']());}}}(_0x30c6,0xb8b1e));import{FocusTracker as _0x1719d4}from'ckeditor5/src/utils.js';import{View as _0x422f9f,FocusCycler as _0x3892f0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x422f9f{constructor(_0x4af6cf){var _0x488136=_0x1bdc;super(_0x4af6cf),this[_0x488136(0x156)]=new _0x1719d4(),this[_0x488136(0x148)]=new _0x3892f0({'focusables':this[_0x488136(0x14a)](),'focusTracker':this[_0x488136(0x156)]});}[_0x3e6e20(0x14f)](){var _0x1f3d11=_0x3e6e20;return{'tag':_0x1f3d11(0x14c),'attributes':{'aria-hidden':_0x1f3d11(0x155),'tabindex':'0'},'on':{'focus':this[_0x1f3d11(0x144)]['to'](()=>{var _0x1a7403=_0x1f3d11;this[_0x1a7403(0x148)][_0x1a7403(0x154)](_0x1a7403(0x146));})}};}}