@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250203.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 _0x2bdacc=_0xe9e2;(function(_0x8b8002,_0x238b3d){const _0x152d1c=_0xe9e2,_0x11168b=_0x8b8002();while(!![]){try{const _0x1cb2e=-parseInt(_0x152d1c(0xe3))/0x1*(-parseInt(_0x152d1c(0xcd))/0x2)+parseInt(_0x152d1c(0xa0))/0x3+-parseInt(_0x152d1c(0xc3))/0x4+parseInt(_0x152d1c(0xd7))/0x5+parseInt(_0x152d1c(0xdc))/0x6+parseInt(_0x152d1c(0xbe))/0x7+-parseInt(_0x152d1c(0xb4))/0x8*(parseInt(_0x152d1c(0xc4))/0x9);if(_0x1cb2e===_0x238b3d)break;else _0x11168b['push'](_0x11168b['shift']());}catch(_0x29da15){_0x11168b['push'](_0x11168b['shift']());}}}(_0x1810,0xc9b8e));import{Plugin as _0x11937c}from'ckeditor5/src/core.js';function _0xe9e2(_0x24e595,_0x5a4bbf){const _0x181089=_0x1810();return _0xe9e2=function(_0xe9e223,_0x2b64a8){_0xe9e223=_0xe9e223-0x92;let _0x46cdc8=_0x181089[_0xe9e223];return _0x46cdc8;},_0xe9e2(_0x24e595,_0x5a4bbf);}function _0x1810(){const _0xc8da0c=['remove','downcast','selection','removeAttribute','true','view','10569790zRwpRf','config','uploadcare.pubkey','ctxElement','editor','1077944epzuiJ','619389JJQONx','uploader','upcast','querySelector','iconHrefResolver','data-uc-image-id','elementToAttribute','configElement','document','1767384FzEWqm','_ctxElement','insertImage','_initImageProcessingIndicator','add','getSelectedElement','imageInline','init','uploadcare.uploader','for','3748435ySOMts','uploadcare','isOfficialPlugin','model','extend','1857504UVbTTS','attributeToAttribute','_configElement','PictureEditing','_initConfig','map','conversion','1NFgFcX','uc-config','destroy','join','_initConversion','pluginName','execute','once','imageBlock','body','uc-upload-ctx-provider','listenTo','input[uploadcare-file-input]','href','_initSchema','uploadcareImageId','567552mPfbXN','afterInit','cleanupImage','closeMax','fromCharCode','isPremiumPlugin','_initCtx','\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','uploadcareImageReplace','contentLanguage','appendChild','schema','render','getAttribute','commands','requires','#uc-icon-arrow-down','replaceImageSource','editing','locale','296bOyBbY','get','isRegistered','UploadcareEditing'];_0x1810=function(){return _0xc8da0c;};return _0x1810();}import{Dialog as _0x350de1}from'ckeditor5/src/ui.js';import{createElement as _0x28baea,global as _0x449ae4,uid as _0x44a5a4}from'ckeditor5/src/utils.js';import _0x12a637 from'./uploadcarecommand.js';import _0x5394ce from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x84b624}from'./utils/editingutils.js';export default class i extends _0x11937c{constructor(){const _0x5a4fd3=_0xe9e2;super(...arguments),this[_0x5a4fd3(0xde)]=null,this[_0x5a4fd3(0xce)]=null;}static get[_0x2bdacc(0x95)](){const _0xd713e2=_0x2bdacc;return _0xd713e2(0xb7);}static get[_0x2bdacc(0xaf)](){const _0x6a37bd=_0x2bdacc;return[_0x6a37bd(0xdf),_0x5394ce,_0x350de1];}static get[_0x2bdacc(0xd9)](){return!0x0;}static get[_0x2bdacc(0xa5)](){return!0x0;}get[_0x2bdacc(0xcb)](){const _0x2e2cb1=_0x2bdacc;return this[_0x2e2cb1(0xde)];}get[_0x2bdacc(0xc1)](){const _0x486de1=_0x2bdacc;return this[_0x486de1(0xce)];}[_0x2bdacc(0xd4)](){const _0x5011be=_0x2bdacc,_0x486bef=this[_0x5011be(0xc2)];_0x486bef[_0x5011be(0xae)][_0x5011be(0xd1)](_0x5011be(0xd8),new _0x12a637(_0x486bef));}[_0x2bdacc(0xa1)](){const _0x30f679=_0x2bdacc;this[_0x30f679(0x9e)](),this[_0x30f679(0x94)](),this[_0x30f679(0xe0)](),this[_0x30f679(0xa6)](),this[_0x30f679(0xd0)](),this[_0x30f679(0x9b)](this[_0x30f679(0xc2)],_0x30f679(0x92),()=>{const _0x1270ba=_0x30f679;this[_0x1270ba(0xde)]&&(this[_0x1270ba(0xde)][_0x1270ba(0xb8)](),this[_0x1270ba(0xde)]=null),this[_0x1270ba(0xce)]&&(this[_0x1270ba(0xce)][_0x1270ba(0xb8)](),this[_0x1270ba(0xce)]=null);const _0x10af26=_0x449ae4[_0x1270ba(0xcc)][_0x1270ba(0xc7)](_0x1270ba(0x9c));_0x10af26&&_0x10af26[_0x1270ba(0xb8)]();}),async function(_0x4930df){const _0xfd3ded=_0x33a191([0x4d,0x71,0x31,0x56,0x45,0x4b,0x65,0x5a,0x52,0x53,0x55,0x72,0x7a,0x70,0x79,0x46,0x44,0x77,0x66,0x76,0x34,0x42,0x50,0x64,0x39,0x78,0x61,0x6e,0x4f,0x68,0x33,0x62,0x35,0x6a,0x4a,0x41,0x69,0x6f,0x43,0x67,0x37,0x49,0x73,0x36,0x74,0x54,0x6d,0x47,0x59,0x38,0x4c,0x48,0x58,0x51,0x63,0x30,0x6c,0x57,0x32,0x6b,0x75,0x4e]),_0x44ddae=0x13859b82,_0x2d6c3c=0x1382c5f2^_0x44ddae,_0xb3d95=window[_0x33a191([0x44,0x61,0x74,0x65])][_0x33a191([0x6e,0x6f,0x77])](),_0xe612ea=_0x4930df[_0x33a191([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa4ddf4=new window[(_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ba802=>{_0xe612ea[_0x33a191([0x6f,0x6e,0x63,0x65])](_0x33a191([0x72,0x65,0x61,0x64,0x79]),_0x1ba802);}),_0x263c03={[_0x33a191([0x6b,0x74,0x79])]:_0x33a191([0x45,0x43]),[_0x33a191([0x75,0x73,0x65])]:_0x33a191([0x73,0x69,0x67]),[_0x33a191([0x63,0x72,0x76])]:_0x33a191([0x50,0x2d,0x32,0x35,0x36]),[_0x33a191([0x78])]:_0x33a191([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]),[_0x33a191([0x79])]:_0x33a191([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]),[_0x33a191([0x61,0x6c,0x67])]:_0x33a191([0x45,0x53,0x32,0x35,0x36])},_0x213bed=_0xe612ea[_0x33a191([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33a191([0x67,0x65,0x74])](_0x33a191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37d30b(){let _0x40e39c,_0x7baaee=null,_0x2f2bb3=null;try{if(_0x213bed==_0x33a191([0x47,0x50,0x4c]))return _0x33a191([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40e39c=_0x373679(),!_0x40e39c)return _0x33a191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40e39c[_0x33a191([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f2bb3=_0x2480d0(_0x40e39c[_0x33a191([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40e39c[_0x33a191([0x6a,0x74,0x69])])),await _0x3acf25()?_0x5be961()?_0x28c7ce()?_0x33a191([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xff06d1()?(_0x40e39c[_0x33a191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33a191([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7baaee=_0x3a823c(_0x33a191([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40e39c[_0x33a191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33a191([0x74,0x72,0x69,0x61,0x6c])&&(_0x7baaee=_0x3a823c(_0x33a191([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xae3a34()):_0x33a191([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33a191([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33a191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xf68b46){return _0x33a191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28c7ce(){const _0x144e1b=[_0x33a191([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33a191([0x74,0x72,0x69,0x61,0x6c])][_0x33a191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e39c[_0x33a191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb3d95/0x3e8:0xe10*_0x2d6c3c;return _0x40e39c[_0x33a191([0x65,0x78,0x70])]<_0x144e1b;}function _0x5be961(){const _0x3649cd=_0x40e39c[_0x33a191([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3649cd&&(!!_0x3649cd[_0x33a191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33a191([0x2a]))||!!_0x3649cd[_0x33a191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33a191([0x55,0x50,0x4c,0x43])));}function _0xff06d1(){const _0x1c6e28=_0xe9e2,_0x2759b2=_0x40e39c[_0x33a191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2759b2||0x0==_0x2759b2[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3421a8}=new URL(window[_0x33a191([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c6e28(0x9d)]);if(_0x2759b2[_0x33a191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3421a8))return!0x0;const _0x2d9fe4=_0x3421a8[_0x33a191([0x73,0x70,0x6c,0x69,0x74])](_0x33a191([0x2e]));return _0x2759b2[_0x33a191([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d0160=>_0x3d0160[_0x33a191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33a191([0x2a])))[_0x33a191([0x6d,0x61,0x70])](_0x9b47ab=>_0x9b47ab[_0x33a191([0x73,0x70,0x6c,0x69,0x74])](_0x33a191([0x2e])))[_0x33a191([0x73,0x6f,0x6d,0x65])](_0x2beb7d=>_0x2d9fe4[_0x33a191([0x65,0x76,0x65,0x72,0x79])]((_0x413086,_0x3448f3)=>_0x2beb7d[_0x3448f3]===_0x413086||_0x2beb7d[_0x3448f3]===_0x33a191([0x2a])));}function _0xae3a34(){return _0x7baaee&&_0x2f2bb3?new window[(_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34612b,_0x1799b1)=>{_0x7baaee[_0x33a191([0x74,0x68,0x65,0x6e])](_0x34612b,_0x1799b1),_0x2f2bb3[_0x33a191([0x74,0x68,0x65,0x6e])](_0xe40f2f=>{_0xe40f2f!=_0x33a191([0x56,0x61,0x6c,0x69,0x64])&&_0x34612b(_0xe40f2f);},_0x1799b1);}):_0x7baaee||_0x2f2bb3||_0x33a191([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2480d0(_0x335372,_0x162439){return new window[(_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c929=>{if(_0x15fc8d())return _0x20c929(_0x33a191([0x56,0x61,0x6c,0x69,0x64]));_0xbcbdb7(),_0xe612ea[_0x33a191([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33a191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x619b07=!0x1;const _0x39f327=_0x44a5a4();function _0x2e1b03(_0x38cb1b){return!!_0x38cb1b&&(typeof _0x38cb1b===_0x33a191([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38cb1b===_0x33a191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38cb1b[_0x33a191([0x74,0x68,0x65,0x6e])]===_0x33a191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38cb1b[_0x33a191([0x63,0x61,0x74,0x63,0x68])]===_0x33a191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x362ab6(_0x3c9d15){_0x1dc9c6(_0x3c9d15)[_0x33a191([0x74,0x68,0x65,0x6e])](_0x533a4a=>{if(!_0x533a4a||_0x533a4a[_0x33a191([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33a191([0x6f,0x6b]))return _0x33a191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1cd453(_0x971b66(_0x39f327+_0x162439))!=_0x533a4a[_0x33a191([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33a191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33a191([0x56,0x61,0x6c,0x69,0x64]);})[_0x33a191([0x74,0x68,0x65,0x6e])](_0x54e332=>(_0x349799(),_0x54e332),()=>{const _0xd9a181=_0x586e2e();return null==_0xd9a181?(_0x349799(),_0x33a191([0x56,0x61,0x6c,0x69,0x64])):_0x33a191(_0xb3d95-_0xd9a181>(0x37891f82^_0x44ddae)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33a191([0x74,0x68,0x65,0x6e])](_0x20c929)[_0x33a191([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20c929(_0x33a191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b38c0=0x13b37502^_0x44ddae;function _0x349799(){const _0xda7ec4=_0x33a191([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cd453(_0x971b66(_0x335372)),_0x3677ff=_0xf8af5b(_0x1cd453(window[_0x33a191([0x4d,0x61,0x74,0x68])][_0x33a191([0x63,0x65,0x69,0x6c])](_0xb3d95/_0x4b38c0)));window[_0x33a191([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33a191([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xda7ec4,_0x3677ff);}function _0x586e2e(){const _0x3f55e8=_0x33a191([0x6c,0x6c,0x63,0x74,0x2d])+_0x1cd453(_0x971b66(_0x335372)),_0x2e7c2a=window[_0x33a191([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33a191([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f55e8);return _0x2e7c2a?window[_0x33a191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8af5b(_0x2e7c2a),0x10)*_0x4b38c0:null;}function _0x1dc9c6(_0x4f9042){return new window[(_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18ec4e,_0x20ae51)=>{_0x4f9042[_0x33a191([0x74,0x68,0x65,0x6e])](_0x18ec4e,_0x20ae51),window[_0x33a191([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20ae51,0x13844f42^_0x44ddae);});}}_0xe612ea[_0x33a191([0x6f,0x6e])](_0x33a191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x380d79,_0x104627)=>{if(_0x104627[0x0]!=_0x335372)return _0x20c929(_0x33a191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x104627[0x1]={..._0x104627[0x1],[_0x33a191([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39f327};},{[_0x33a191([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33a191([0x68,0x69,0x67,0x68])}),_0xe612ea[_0x33a191([0x6f,0x6e])](_0x33a191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58ed07=>{_0x2e1b03(_0x58ed07[_0x33a191([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x619b07=!0x0,_0x362ab6(_0x58ed07[_0x33a191([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33a191([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33a191([0x6c,0x6f,0x77])}),_0xa4ddf4[_0x33a191([0x74,0x68,0x65,0x6e])](()=>{_0x619b07||_0x20c929(_0x33a191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15fc8d(){return _0xe612ea[_0x33a191([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33a191([0x76,0x69,0x65,0x77])][_0x33a191([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33a191([0x61,0x75,0x74,0x6f]);}function _0xbcbdb7(){_0xe612ea[_0x33a191([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33a191([0x76,0x69,0x65,0x77])][_0x33a191([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33a191([0x61,0x75,0x74,0x6f]);}}function _0x3a823c(_0x165856){const _0x2dda89=[new window[(_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5743fd=>setTimeout(_0x5743fd,0x138ca54e^_0x44ddae)),_0xa4ddf4[_0x33a191([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8667ab=>{let _0x26dc0f=0x0;_0xe612ea[_0x33a191([0x6d,0x6f,0x64,0x65,0x6c])][_0x33a191([0x6f,0x6e])](_0x33a191([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x672a8f,_0x130801)=>{_0x130801[0x0][_0x33a191([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26dc0f++,_0x26dc0f==(0x13859a7a^_0x44ddae)&&(_0x8667ab(),_0x672a8f[_0x33a191([0x6f,0x66,0x66])]());});}))];return window[_0x33a191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33a191([0x72,0x61,0x63,0x65])](_0x2dda89)[_0x33a191([0x74,0x68,0x65,0x6e])](()=>_0x165856);}async function _0x26c81d(){await _0xa4ddf4,_0xe612ea[_0x33a191([0x6d,0x6f,0x64,0x65,0x6c])][_0x33a191([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e525d,_0xe612ea[_0x33a191([0x6d,0x6f,0x64,0x65,0x6c])][_0x33a191([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e525d,_0xe612ea[_0x33a191([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33a191([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a5a3e(_0x4c3cbe){const _0x2a1e26=_0x597ebe();_0xe612ea[_0x2a1e26]=_0x33a191([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c3cbe,_0x4c3cbe!=_0x33a191([0x56,0x61,0x6c,0x69,0x64])&&_0x26c81d();}function _0x597ebe(){const _0x9a5a1e=window[_0x33a191([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33a191([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33a191([0x6e,0x6f,0x77])]())[_0x33a191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33a191([0x2e]),'');let _0x1771df=_0x33a191([0x4d]);for(let _0x22815b=0x0;_0x22815b<_0x9a5a1e[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22815b+=0x2){let _0x2ca95a=window[_0x33a191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9a5a1e[_0x33a191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22815b,_0x22815b+0x2));_0x2ca95a>=_0xfd3ded[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ca95a-=_0xfd3ded[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1771df+=_0xfd3ded[_0x2ca95a];}return _0x1771df;}function _0x373679(){const _0x35a29b=_0x213bed[_0x33a191([0x73,0x70,0x6c,0x69,0x74])](_0x33a191([0x2e]));if(0x3!=_0x35a29b[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x63cdce(_0x35a29b[0x1]);function _0x63cdce(_0x406655){const _0x403cc0=_0x533b21(_0x406655);return _0x403cc0&&_0x3ff529()?_0x403cc0:null;function _0x3ff529(){const _0xde2ec1=_0x403cc0[_0x33a191([0x6a,0x74,0x69])],_0x281d4d=window[_0x33a191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xde2ec1[_0x33a191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xde2ec1[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f194f={..._0x403cc0,[_0x33a191([0x6a,0x74,0x69])]:_0xde2ec1[_0x33a191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xde2ec1[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f194f[_0x33a191([0x76,0x63])],_0x971b66(_0x5f194f)==_0x281d4d;}}}async function _0x3acf25(){let _0x457353=!0x0;try{const _0x1b50d1=_0x213bed[_0x33a191([0x73,0x70,0x6c,0x69,0x74])](_0x33a191([0x2e])),[_0x56f51f,_0x154cb6,_0x3c0475]=_0x1b50d1;return _0x432149(_0x56f51f),await _0x31d829(_0x56f51f,_0x154cb6,_0x3c0475),_0x457353;}catch(_0x50483a){return!0x1;}function _0x432149(_0x506809){const _0x40a38a=_0x533b21(_0x506809);_0x40a38a&&_0x40a38a[_0x33a191([0x61,0x6c,0x67])]==_0x33a191([0x45,0x53,0x32,0x35,0x36])||(_0x457353=!0x1);}async function _0x31d829(_0x20adf7,_0x26f4f3,_0xde2d81){const _0x501144=window[_0x33a191([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33a191([0x66,0x72,0x6f,0x6d])](_0x50b0fe(_0xde2d81),_0x21198c=>_0x21198c[_0x33a191([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x532d2d=new window[(_0x33a191([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33a191([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20adf7+_0x33a191([0x2e])+_0x26f4f3),_0x25a9f9=window[_0x33a191([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33a191([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25a9f9)return;const _0x4d32c6=await _0x25a9f9[_0x33a191([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33a191([0x6a,0x77,0x6b]),_0x263c03,{[_0x33a191([0x6e,0x61,0x6d,0x65])]:_0x33a191([0x45,0x43,0x44,0x53,0x41]),[_0x33a191([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33a191([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33a191([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25a9f9[_0x33a191([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33a191([0x6e,0x61,0x6d,0x65])]:_0x33a191([0x45,0x43,0x44,0x53,0x41]),[_0x33a191([0x68,0x61,0x73,0x68])]:{[_0x33a191([0x6e,0x61,0x6d,0x65])]:_0x33a191([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d32c6,_0x501144,_0x532d2d)||(_0x457353=!0x1);}}function _0x533b21(_0x557f72){return _0x557f72[_0x33a191([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33a191([0x65,0x79]))?JSON[_0x33a191([0x70,0x61,0x72,0x73,0x65])](_0x50b0fe(_0x557f72)):null;}function _0x50b0fe(_0x26068b){return window[_0x33a191([0x61,0x74,0x6f,0x62])](_0x26068b[_0x33a191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33a191([0x2b]))[_0x33a191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33a191([0x2f])));}function _0x971b66(_0x1f769d){let _0x50b7c0=0x1505;function _0x120ce2(_0x4c3ec0){for(let _0x7465d2=0x0;_0x7465d2<_0x4c3ec0[_0x33a191([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7465d2++){const _0x28c82e=_0x4c3ec0[_0x33a191([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7465d2);_0x50b7c0=(_0x50b7c0<<0x5)+_0x50b7c0+_0x28c82e,_0x50b7c0&=_0x50b7c0;}}function _0x330ab7(_0x1a8031){Array[_0x33a191([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a8031)?_0x1a8031[_0x33a191([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x330ab7):_0x1a8031&&typeof _0x1a8031==_0x33a191([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33a191([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a8031)[_0x33a191([0x73,0x6f,0x72,0x74])]()[_0x33a191([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e3779,_0xa4cb90])=>{_0x120ce2(_0x5e3779),_0x330ab7(_0xa4cb90);}):_0x120ce2(window[_0x33a191([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a8031));}return _0x330ab7(_0x1f769d),_0x50b7c0>>>0x0;}function _0x1cd453(_0x100cd9){return _0x100cd9[_0x33a191([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33a191([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33a191([0x30]));}function _0xf8af5b(_0x4d347f){return _0x4d347f[_0x33a191([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33a191([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33a191([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e525d(){}function _0x33a191(_0x5ed56e){const _0x3a37dd=_0xe9e2;return _0x5ed56e[_0x3a37dd(0xe1)](_0x2a8516=>String[_0x3a37dd(0xa4)](_0x2a8516))[_0x3a37dd(0x93)]('');}_0x2a5a3e(await _0x37d30b());}(this);}[_0x2bdacc(0x9e)](){const _0x33b6c0=_0x2bdacc,_0x24f9a3=this[_0x33b6c0(0xc2)][_0x33b6c0(0xda)][_0x33b6c0(0xab)];_0x24f9a3[_0x33b6c0(0xb6)](_0x33b6c0(0x98))&&_0x24f9a3[_0x33b6c0(0xdb)](_0x33b6c0(0x98),{'allowAttributes':[_0x33b6c0(0x9f)]}),_0x24f9a3[_0x33b6c0(0xb6)](_0x33b6c0(0xd3))&&_0x24f9a3[_0x33b6c0(0xdb)](_0x33b6c0(0xd3),{'allowAttributes':[_0x33b6c0(0x9f)]});}[_0x2bdacc(0x94)](){const _0x7efb74=_0x2bdacc,_0x28da84=this[_0x7efb74(0xc2)];_0x28da84[_0x7efb74(0xe2)][_0x7efb74(0xd6)](_0x7efb74(0xb9))[_0x7efb74(0xdd)]({'model':_0x7efb74(0x9f),'view':_0x7efb74(0xc9)}),_0x28da84[_0x7efb74(0xe2)][_0x7efb74(0xd6)](_0x7efb74(0xc6))[_0x7efb74(0xca)]({'model':{'key':_0x7efb74(0x9f),'value':_0xf2dac9=>_0xf2dac9[_0x7efb74(0xad)](_0x7efb74(0xc9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x597a18=_0x28da84[_0x7efb74(0xae)][_0x7efb74(0xb5)](_0x7efb74(0xb1));_0x597a18&&this[_0x7efb74(0x9b)](_0x597a18,_0x7efb74(0xa2),(_0x2725da,[_0x317a44,_0x49e099])=>{const _0x41b807=_0x7efb74;_0x317a44[_0x41b807(0xbb)](_0x41b807(0x9f),_0x49e099);});}[_0x2bdacc(0xe0)](){const _0x3cb7b3=_0x2bdacc,_0x3668df=this[_0x3cb7b3(0xc2)][_0x3cb7b3(0xbf)][_0x3cb7b3(0xb5)](_0x3cb7b3(0xd5))||{},_0x509e77=this[_0x3cb7b3(0xc2)][_0x3cb7b3(0xbf)][_0x3cb7b3(0xb5)](_0x3cb7b3(0xc0))||'';this[_0x3cb7b3(0xde)]=_0x28baea(_0x449ae4[_0x3cb7b3(0xcc)],_0x3cb7b3(0xe4),{..._0x3668df,'pubkey':_0x509e77,'ctx-name':_0x3cb7b3(0xc5),'sourceList':'','imgOnly':_0x3cb7b3(0xbc),'removeCopyright':_0x3cb7b3(0xbc),'localeName':this[_0x3cb7b3(0xc2)][_0x3cb7b3(0xb3)][_0x3cb7b3(0xa9)],'externalSourcesEmbedCss':_0x3cb7b3(0xa7)}),this[_0x3cb7b3(0xde)][_0x3cb7b3(0xc8)]=_0x380b4a=>{const _0x139639=_0x3cb7b3;if(_0x139639(0xa3)==_0x380b4a)return _0x139639(0xb0);},_0x449ae4[_0x3cb7b3(0xcc)][_0x3cb7b3(0x99)][_0x3cb7b3(0xaa)](this[_0x3cb7b3(0xde)]);}[_0x2bdacc(0xa6)](){const _0x4b134b=_0x2bdacc;this[_0x4b134b(0xce)]=_0x28baea(_0x449ae4[_0x4b134b(0xcc)],_0x4b134b(0x9a),{'ctx-name':_0x4b134b(0xc5)}),_0x449ae4[_0x4b134b(0xcc)][_0x4b134b(0x99)][_0x4b134b(0xaa)](this[_0x4b134b(0xce)]);}[_0x2bdacc(0xd0)](){const _0x2e5fca=_0x2bdacc,_0x3ca82f=this[_0x2e5fca(0xc2)][_0x2e5fca(0xae)][_0x2e5fca(0xb5)](_0x2e5fca(0xcf));_0x3ca82f&&this[_0x2e5fca(0x9b)](_0x3ca82f,_0x2e5fca(0x96),()=>{const _0x34a935=_0x2e5fca,_0x410ac9=this[_0x34a935(0xc2)][_0x34a935(0xda)][_0x34a935(0xcc)][_0x34a935(0xba)][_0x34a935(0xd2)]();_0x410ac9&&_0x410ac9[_0x34a935(0xad)](_0x34a935(0x9f))&&this[_0x34a935(0xc2)][_0x34a935(0xb2)][_0x34a935(0xbd)][_0x34a935(0x97)](_0x34a935(0xac),()=>{const _0x12c543=_0x34a935;_0x84b624(this[_0x12c543(0xc2)],_0x410ac9);});});const _0x4c32e7=this[_0x2e5fca(0xc2)][_0x2e5fca(0xae)][_0x2e5fca(0xb5)](_0x2e5fca(0xa8));_0x4c32e7&&this[_0x2e5fca(0x9b)](_0x4c32e7,_0x2e5fca(0x96),()=>{const _0x26751b=_0x2e5fca,_0x1e5f4f=this[_0x26751b(0xc2)][_0x26751b(0xda)][_0x26751b(0xcc)][_0x26751b(0xba)][_0x26751b(0xd2)]();_0x1e5f4f&&_0x1e5f4f[_0x26751b(0xad)](_0x26751b(0x9f))&&this[_0x26751b(0xc2)][_0x26751b(0xb2)][_0x26751b(0xbd)][_0x26751b(0x97)](_0x26751b(0xac),()=>{const _0x5ca303=_0x26751b;_0x84b624(this[_0x5ca303(0xc2)],_0x1e5f4f);});});}}
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 _0x5bb027,ObservableMixin as _0xb113a3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3c4c7e}from'ckeditor5/src/ui.js';import _0x18e432 from'./uploadcareimageeditformview.js';import _0x159ce8 from'../../utils/uploadutils.js';import _0x7b3c3e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xbafbd1,getImageDimension as _0x10442c}from'../../utils/editingutils.js';import{isAncestor as _0x262b82}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0xb113a3(){constructor(_0x397375,_0x36340d,_0xa279bf){super(),this['_editor']=_0x397375,this['_dialog']=_0x36340d,this['_imageElement']=_0xa279bf,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x133adb=this['_imageElement'],_0x10f810=_0x133adb['getAttribute']('uploadcareImageId'),_0x4c78b4=_0x133adb['getAttribute']('src');if(_0x10f810)await this['_loadImageInfo'](_0x10f810,_0x4c78b4);else{if(this['_imageCache']['has'](_0x4c78b4)){const _0x2ad927=this['_imageCache']['get'](_0x4c78b4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ad927['url'],this['imageDimension']=_0x2ad927['dimension'],this['imageId']=_0x2ad927['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f94a8}=this['_editor'],t=_0x1f94a8['t'],_0x49e318=new _0x18e432(_0x1f94a8,this['imageStatus'],this['_attributes']);_0x49e318['bind']('status')['to'](this,'imageStatus'),_0x49e318['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x49e318['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x49e318['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x49e318,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7b3c3e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x49e318,'position':_0x3c4c7e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x49e318['focus']();},'onHide':()=>{_0x49e318['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x327c32=>!_0x262b82(_0x327c32,_0x49e318['element'])}});}['_loadImageInfo'](_0x37712a,_0x32dfaf){return _0x159ce8['getInfo'](_0x37712a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5af0ee=>{const {width:_0x4b656c,height:_0x9b2288}=_0x5af0ee['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32dfaf,this['imageDimension']={'width':_0x4b656c,'height':_0x9b2288},this['imageId']=_0x37712a;})['catch'](_0x172724=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x172724['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bf4e8,_0x21a90e){return this['_getImageAsFile'](_0x5bf4e8)['then'](_0x28e3a2=>_0x159ce8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x21a90e['signal'],'file':_0x28e3a2,'onProgress':_0x3b3a50=>{_0x3b3a50&&_0x3b3a50['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b3a50['value']));}}))['then'](_0x207e88=>{const {width:_0x3418bd,height:_0x37e0b1}=_0x207e88['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x207e88['cdnUrl'],this['imageDimension']={'width':_0x3418bd,'height':_0x37e0b1},this['imageId']=_0x207e88['uuid'],this['imageUploadProgress']=null;const _0x396cc9=_0x5bf4e8['getAttribute']('src');this['_imageCache']['set'](_0x396cc9,{'id':_0x207e88['uuid'],'url':_0x207e88['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xf7c04=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xf7c04['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45a4b2,_0x46d7f5){_0x45a4b2['on']('apply',(_0x297b97,_0xc8f67b)=>{this['_replaceImage'](_0x46d7f5,_0xc8f67b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45a4b2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45a4b2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x38a831,_0x2f43fd,_0x263f33){const _0x5a4046=this['_editor'],{width:_0x25acd1,height:_0x1892c0}=_0x10442c(_0x2f43fd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6975e0,imageSources:_0xaeabcd}=_0xbafbd1(_0x2f43fd,_0x25acd1);_0x5a4046['model']['change'](_0x328c2e=>{if('$graveyard'===_0x38a831['root']['rootName']){_0x5a4046['execute']('insertImage',{'imageType':_0x38a831['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x38a831['getAttributes']()),'uploadcareImageId':_0x263f33,'src':_0x6975e0,'sources':_0xaeabcd,'width':_0x25acd1,'height':_0x1892c0}});const _0x4b04d1=_0x38a831['getChildren']();_0x38a831=_0x5a4046['model']['document']['selection']['getSelectedElement']();for(const _0x13031f of _0x4b04d1)_0x328c2e['append'](_0x328c2e['cloneElement'](_0x13031f),_0x38a831);}else _0x328c2e['setSelection'](_0x38a831,'on'),_0x5a4046['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x38a831['getAttributes']()),'uploadcareImageId':_0x263f33,'src':_0x6975e0,'sources':_0xaeabcd,'width':_0x25acd1,'height':_0x1892c0},_0x38a831);_0x328c2e['setSelection'](_0x38a831,'on');});}async['_getImageAsFile'](_0x154c72){const _0x2a0dc0=_0x5bb027['window'],_0x5d7a27=_0x5bb027['document']['location']['href'],_0x11cced=new _0x2a0dc0['URL'](_0x154c72['getAttribute']('src'),_0x5d7a27);if('data:'===_0x11cced['protocol']){const _0x5f0ad7=_0x11cced['href']['split'](','),_0x594ace=_0x5f0ad7[0x0]['match'](/:(.*?);/)[0x1],_0x567b7c=_0x594ace['split']('/')[0x1],_0x2c81fb=_0x2a0dc0['atob'](_0x5f0ad7[_0x5f0ad7['length']-0x1]);let _0x2a8d29=_0x2c81fb['length'];const _0x350a43=new _0x2a0dc0['Uint8Array'](_0x2a8d29);for(;_0x2a8d29--;)_0x350a43[_0x2a8d29]=_0x2c81fb['charCodeAt'](_0x2a8d29);return new _0x2a0dc0['File']([_0x350a43],'image.'+_0x567b7c,{'type':_0x594ace});}const _0x26a508=_0x11cced['href']['split']('/'),_0x53318e=_0x26a508[_0x26a508['length']-0x1],_0x417d08=_0x53318e['split']('.')[0x1];return _0x2a0dc0['fetch'](_0x11cced['href'])['then'](_0x20ad7d=>_0x20ad7d['clone']()['blob']())['then'](_0xe8cde2=>new _0x2a0dc0['File']([_0xe8cde2],_0x53318e,{'type':'image/'+_0x417d08}));}}
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 _0x5ce7(_0x1ba6fe,_0x516caf){const _0x2bf816=_0x2bf8();return _0x5ce7=function(_0x5ce73d,_0x387934){_0x5ce73d=_0x5ce73d-0x1c1;let _0x1d1158=_0x2bf816[_0x5ce73d];return _0x1d1158;},_0x5ce7(_0x1ba6fe,_0x516caf);}(function(_0x2612d0,_0x5ec2cb){const _0x26e0b9=_0x5ce7,_0x3e14a0=_0x2612d0();while(!![]){try{const _0x479a42=-parseInt(_0x26e0b9(0x1c9))/0x1*(-parseInt(_0x26e0b9(0x1c5))/0x2)+-parseInt(_0x26e0b9(0x1c7))/0x3+-parseInt(_0x26e0b9(0x1c1))/0x4*(parseInt(_0x26e0b9(0x1ce))/0x5)+parseInt(_0x26e0b9(0x1cf))/0x6*(parseInt(_0x26e0b9(0x1c3))/0x7)+-parseInt(_0x26e0b9(0x1d4))/0x8+-parseInt(_0x26e0b9(0x1cc))/0x9*(parseInt(_0x26e0b9(0x1d1))/0xa)+-parseInt(_0x26e0b9(0x1c4))/0xb*(-parseInt(_0x26e0b9(0x1c6))/0xc);if(_0x479a42===_0x5ec2cb)break;else _0x3e14a0['push'](_0x3e14a0['shift']());}catch(_0x1e1ac2){_0x3e14a0['push'](_0x3e14a0['shift']());}}}(_0x2bf8,0x5e11d));import{View as _0x49a317}from'ckeditor5/src/ui.js';function _0x2bf8(){const _0x44c76b=['151362JxGRxR','bindTemplate','119435ONKHrt','6hxSHez','set','130BEwgLm','imageSrc','ck-uploadcare-theme','324672FfgmUA','20XNidKY','image-edit','3166611ylDGyW','2498485XYUnDn','484xolKEL','36wfIJHE','1971936smFboS','setTemplate','1188THdHUr','uc-cloud-image-editor','uc-light'];_0x2bf8=function(){return _0x44c76b;};return _0x2bf8();}export default class tt extends _0x49a317{constructor(_0x214933,_0xf10937){const _0x47839c=_0x5ce7;super(_0x214933);const _0xdf0dc1=this[_0x47839c(0x1cd)];this[_0x47839c(0x1d0)](_0x47839c(0x1d2),''),this[_0x47839c(0x1c8)]({'tag':_0x47839c(0x1ca),'attributes':{..._0xf10937,'class':[_0x47839c(0x1cb),_0x47839c(0x1d3)],'ctx-name':_0x47839c(0x1c2),'cdn-url':_0xdf0dc1['to'](_0x47839c(0x1d2))}});}}
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 _0xc3b65c,IconView as et,View as _0x1c56da}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x1c56da{constructor(_0x44a081){super(_0x44a081);const t=_0x44a081['t'];this['set']('errorType',null);const _0x4a08f7=new _0xc3b65c(_0x44a081);_0x4a08f7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4a08f7['withText']=!0x0,_0x4a08f7['class']='ck-button-action',_0x4a08f7['on']('execute',()=>{this['fire']('retry');}),_0x4a08f7['bind']('isVisible')['to'](this,'errorType',_0x1dcb42=>'NotFound'!==_0x1dcb42);const _0x2a304c=new et();_0x2a304c['content']=at,_0x2a304c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2acfe2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2a304c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2acfe2['to']('errorType',_0x524b18=>t('NotFound'!==_0x524b18?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4a08f7]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
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 _0x575bb8,View as _0x55ce8c}from'ckeditor5/src/ui.js';export default class ta extends _0x55ce8c{constructor(_0x25d591){super(_0x25d591);const t=_0x25d591['t'],_0x496743=this['bindTemplate'],_0xf16d23=new _0x575bb8();_0xf16d23['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0xf16d23,{'text':_0x496743['to']('imageUploadProgress',_0x5e467d=>t('Loading\x20image...')+'\x20('+(_0x5e467d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
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 _0x182c78=_0x1dc4;(function(_0x5ac02f,_0x12002c){const _0xa1db4d=_0x1dc4,_0x3dee0b=_0x5ac02f();while(!![]){try{const _0x151cce=-parseInt(_0xa1db4d(0x137))/0x1+parseInt(_0xa1db4d(0x118))/0x2+parseInt(_0xa1db4d(0x139))/0x3*(parseInt(_0xa1db4d(0x13d))/0x4)+parseInt(_0xa1db4d(0x13c))/0x5*(parseInt(_0xa1db4d(0x11d))/0x6)+parseInt(_0xa1db4d(0x134))/0x7*(-parseInt(_0xa1db4d(0x125))/0x8)+parseInt(_0xa1db4d(0x12e))/0x9*(parseInt(_0xa1db4d(0x141))/0xa)+-parseInt(_0xa1db4d(0x121))/0xb*(-parseInt(_0xa1db4d(0x120))/0xc);if(_0x151cce===_0x12002c)break;else _0x3dee0b['push'](_0x3dee0b['shift']());}catch(_0x5d82a8){_0x3dee0b['push'](_0x3dee0b['shift']());}}}(_0x5987,0x3b936));function _0x1dc4(_0x1f7014,_0x5579de){const _0x598789=_0x5987();return _0x1dc4=function(_0x1dc472,_0x2e41f3){_0x1dc472=_0x1dc472-0x10d;let _0x2e62ab=_0x598789[_0x1dc472];return _0x2e62ab;},_0x1dc4(_0x1f7014,_0x5579de);}import{View as _0x104ad5}from'ckeditor5/src/ui.js';import _0x1c5b69 from'./uploadcareimageeditformloadingview.js';import _0x25e4fa from'./uploadcareimageeditformerrorview.js';import _0x21a7a2 from'./uploadcareimageeditformeditingview.js';function _0x5987(){const _0x41c105=['10iMgPtb','disconnect','addEventListener','add','length','retry','ready','fire','status','clear','ck-uploadcare-form','uploading','set','_errorView','filter','detail','99052QDmDui','_editingView','_focusableView','apply','createCollection','6LuCwOn','nodeName','change:status','708564PibstZ','88PQhKTi','error','cancel','setTemplate','1208eYkYEu','once','render','toLowerCase','div','querySelector','_setView','observe','ck-reset_all-excluded','1848213ssqsVJ','cdnUrl','uc-cloud-image-editor','_loadingView','addedNodes','_waitForImageEditorComponent','20741dcKgwO','getFocusableElement','addMany','440700jFhXJX','_addErrorViewListeners','501QwmgTs','target','_items','837845jaDPOE','5684TVjvkc','_addUploadcareImageEditorListeners','focus','element'];_0x5987=function(){return _0x41c105;};return _0x5987();}import _0x2a9f0e from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x2a9f0e{constructor(_0x5bbf82,_0x2e8b7d,_0x2a8753){const _0x53f43e=_0x1dc4;super(_0x5bbf82),this[_0x53f43e(0x13b)]=this[_0x53f43e(0x11c)](),this[_0x53f43e(0x131)]=new _0x1c5b69(_0x5bbf82),this[_0x53f43e(0x115)]=new _0x25e4fa(_0x5bbf82),this[_0x53f43e(0x119)]=new _0x21a7a2(_0x5bbf82,_0x2a8753),this[_0x53f43e(0x11a)]=new _0x104ad5(_0x5bbf82),this[_0x53f43e(0x11a)][_0x53f43e(0x124)](this[_0x53f43e(0x135)]()),this[_0x53f43e(0x114)](_0x53f43e(0x110),_0x2e8b7d),this[_0x53f43e(0x124)]({'tag':_0x53f43e(0x129),'attributes':{'class':['ck',_0x53f43e(0x12d),_0x53f43e(0x112)],'tabindex':'-1'},'children':this[_0x53f43e(0x13b)]}),this[_0x53f43e(0x12b)](),this[_0x53f43e(0x126)](_0x53f43e(0x127),()=>{const _0x222fae=_0x53f43e;this[_0x222fae(0x133)](this[_0x222fae(0x140)],_0x44ad1a=>{const _0x32355b=_0x222fae;this[_0x32355b(0x13e)](_0x44ad1a);});}),this['on'](_0x53f43e(0x11f),()=>{const _0x2984d2=_0x53f43e;this[_0x2984d2(0x12b)]();}),this[_0x53f43e(0x138)]();}[_0x182c78(0x13f)](){const _0x2b3afe=_0x182c78;this[_0x2b3afe(0x140)][_0x2b3afe(0x13f)]();}[_0x182c78(0x12b)](){const _0x1708bd=_0x182c78;switch(this[_0x1708bd(0x13b)][_0x1708bd(0x111)](),this[_0x1708bd(0x110)]){case _0x1708bd(0x113):this[_0x1708bd(0x13b)][_0x1708bd(0x144)](this[_0x1708bd(0x131)]);break;case _0x1708bd(0x122):this[_0x1708bd(0x13b)][_0x1708bd(0x144)](this[_0x1708bd(0x115)]);break;case _0x1708bd(0x10e):this[_0x1708bd(0x13b)][_0x1708bd(0x136)]([this[_0x1708bd(0x119)],this[_0x1708bd(0x11a)]]);}}[_0x182c78(0x133)](_0x13cd45,_0x278b7a){const _0x7f9bee=_0x182c78,_0x504c18=_0x7f9bee(0x130),_0x3b302c=_0x13cd45[_0x7f9bee(0x12a)](_0x504c18);if(_0x3b302c)return _0x278b7a(_0x3b302c);const _0x552f6b=new MutationObserver(_0xb3827b=>{const _0x5843c6=_0x7f9bee,_0x4e1c2a=_0xb3827b[_0x5843c6(0x116)](_0x33a8ed=>_0x33a8ed[_0x5843c6(0x13a)]===_0x13cd45&&_0x33a8ed[_0x5843c6(0x132)][_0x5843c6(0x145)]>0x0&&_0x33a8ed[_0x5843c6(0x132)][0x0][_0x5843c6(0x11e)][_0x5843c6(0x128)]()===_0x504c18);_0x4e1c2a[_0x5843c6(0x145)]&&(_0x552f6b[_0x5843c6(0x142)](),_0x278b7a(_0x4e1c2a[0x0][_0x5843c6(0x132)][0x0]));});_0x552f6b[_0x7f9bee(0x12c)](_0x13cd45,{'childList':!0x0,'subtree':!0x0});}[_0x182c78(0x13e)](_0x1b524a){const _0x17d5d1=_0x182c78;_0x1b524a[_0x17d5d1(0x143)](_0x17d5d1(0x11b),_0x1011b1=>{const _0x486db8=_0x17d5d1;this[_0x486db8(0x10f)](_0x486db8(0x11b),{'imageSrc':_0x1011b1[_0x486db8(0x117)][_0x486db8(0x12f)]});}),_0x1b524a[_0x17d5d1(0x143)](_0x17d5d1(0x123),()=>{const _0x284137=_0x17d5d1;this[_0x284137(0x10f)](_0x284137(0x123));});}[_0x182c78(0x138)](){const _0x2450ce=_0x182c78;this[_0x2450ce(0x115)]['on'](_0x2450ce(0x10d),()=>{const _0x29750d=_0x2450ce;this[_0x29750d(0x10f)](_0x29750d(0x10d));});}}
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
- function _0x2728(_0x57b4f2,_0x186181){const _0x5205d0=_0x5205();return _0x2728=function(_0x272807,_0x2b1cdc){_0x272807=_0x272807-0x8e;let _0x5a3db4=_0x5205d0[_0x272807];return _0x5a3db4;},_0x2728(_0x57b4f2,_0x186181);}const _0x492478=_0x2728;(function(_0x3421fc,_0x15a3b4){const _0x3317b9=_0x2728,_0x2d5c11=_0x3421fc();while(!![]){try{const _0xd1d119=-parseInt(_0x3317b9(0xae))/0x1*(parseInt(_0x3317b9(0x93))/0x2)+parseInt(_0x3317b9(0xa8))/0x3*(parseInt(_0x3317b9(0x9f))/0x4)+-parseInt(_0x3317b9(0x91))/0x5+-parseInt(_0x3317b9(0x95))/0x6+-parseInt(_0x3317b9(0x97))/0x7*(parseInt(_0x3317b9(0x9b))/0x8)+parseInt(_0x3317b9(0x94))/0x9*(parseInt(_0x3317b9(0xa1))/0xa)+parseInt(_0x3317b9(0x92))/0xb;if(_0xd1d119===_0x15a3b4)break;else _0x2d5c11['push'](_0x2d5c11['shift']());}catch(_0xebe7a8){_0x2d5c11['push'](_0x2d5c11['shift']());}}}(_0x5205,0x196de));import{Command as _0x1121e3}from'ckeditor5/src/core.js';import{Dialog as _0x4d3813}from'ckeditor5/src/ui.js';function _0x5205(){const _0xa0773c=['223773GDjWFv','element','imageInline','set','uploadcare.allowExternalImagesEditing','refresh','183649mmKWlf','getSelectedElement','isActive','get','516305pKPDkt','5120753HGTkKv','2QMnZRi','1241784lxycip','1203924XjsPoB','selection','37786LMvqyv','execute','editor','imageBlock','128KHuXwP','imageEditController','document','model','4KQsYdT','requires','10ugvILE','isEnabled','config','plugins','_isEditable','bind','unbind'];_0x5205=function(){return _0xa0773c;};return _0x5205();}import _0x1804bc from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2b0bc1}from'../utils/editingutils.js';export default class J extends _0x1121e3{static get[_0x492478(0xa0)](){return[_0x4d3813];}constructor(_0x13f2c8){const _0x3418c1=_0x492478;super(_0x13f2c8),this[_0x3418c1(0x9c)]=void 0x0,this[_0x3418c1(0xa5)]=_0x2b0bc1(_0x13f2c8[_0x3418c1(0xa3)][_0x3418c1(0x90)](_0x3418c1(0xac))||[]),this[_0x3418c1(0xab)]({'isActive':!0x1});}[_0x492478(0xad)](){const _0x5936e4=_0x492478,_0x1ac954=this[_0x5936e4(0x99)][_0x5936e4(0x9e)][_0x5936e4(0x9d)][_0x5936e4(0x96)][_0x5936e4(0x8e)]();this[_0x5936e4(0xa2)]=this[_0x5936e4(0xa5)](_0x1ac954);}[_0x492478(0x98)](){const _0x42c3e3=_0x492478;this[_0x42c3e3(0x9c)]&&(this[_0x42c3e3(0xa7)](_0x42c3e3(0x8f)),this[_0x42c3e3(0x9c)]=void 0x0);const _0x54bc11=this[_0x42c3e3(0x99)][_0x42c3e3(0x9e)][_0x42c3e3(0x9d)][_0x42c3e3(0x96)][_0x42c3e3(0x8e)]();_0x54bc11&&(_0x54bc11['is'](_0x42c3e3(0xa9),_0x42c3e3(0x9a))||_0x54bc11['is'](_0x42c3e3(0xa9),_0x42c3e3(0xaa)))&&(this[_0x42c3e3(0x9c)]=new _0x1804bc(this[_0x42c3e3(0x99)],this[_0x42c3e3(0x99)][_0x42c3e3(0xa4)][_0x42c3e3(0x90)](_0x4d3813),_0x54bc11),this[_0x42c3e3(0xa6)](_0x42c3e3(0x8f))['to'](this[_0x42c3e3(0x9c)],_0x42c3e3(0x8f)));}}
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
- const _0x339642=_0x6705;(function(_0x370889,_0x3a46e5){const _0x1d0ba5=_0x6705,_0x20b917=_0x370889();while(!![]){try{const _0x39d00c=parseInt(_0x1d0ba5(0x85))/0x1*(parseInt(_0x1d0ba5(0x7e))/0x2)+parseInt(_0x1d0ba5(0x92))/0x3*(-parseInt(_0x1d0ba5(0x89))/0x4)+-parseInt(_0x1d0ba5(0x81))/0x5+-parseInt(_0x1d0ba5(0x7d))/0x6+-parseInt(_0x1d0ba5(0x8b))/0x7*(parseInt(_0x1d0ba5(0x8e))/0x8)+parseInt(_0x1d0ba5(0x83))/0x9+parseInt(_0x1d0ba5(0x90))/0xa;if(_0x39d00c===_0x3a46e5)break;else _0x20b917['push'](_0x20b917['shift']());}catch(_0x312c0b){_0x20b917['push'](_0x20b917['shift']());}}}(_0x5f6b,0x93760));import{Plugin as _0x4e0578}from'ckeditor5/src/core.js';import{Notification as _0x53f68c}from'ckeditor5/src/ui.js';function _0x5f6b(){const _0x4ecb3c=['ImageEditing','128zRgkNS','uploadcareImageReplace','35DBMLWR','ImageUtils','pluginName','691112DnXKDz','init','13762970aGuSrn','isOfficialPlugin','34761wCCZcw','3403296cSbGro','16862qAnuJH','requires','add','1399765mpxoop','uploadcareImageEdit','4939128mDiTpR','isPremiumPlugin','39IyvpRv','UploadcareImageEditEditing','commands'];_0x5f6b=function(){return _0x4ecb3c;};return _0x5f6b();}function _0x6705(_0x1ed5fc,_0x2a7b47){const _0x5f6b9c=_0x5f6b();return _0x6705=function(_0x67055b,_0x527fbb){_0x67055b=_0x67055b-0x7d;let _0x29f717=_0x5f6b9c[_0x67055b];return _0x29f717;},_0x6705(_0x1ed5fc,_0x2a7b47);}import _0x4b07e3 from'./uploadcareimageeditcommand.js';import _0x2ce26c from'./uploadcareimagereplacecommand.js';import _0x37178b from'../uploadcareediting.js';export default class m extends _0x4e0578{static get[_0x339642(0x8d)](){const _0x5a2d81=_0x339642;return _0x5a2d81(0x86);}static get[_0x339642(0x7f)](){const _0x4b979b=_0x339642;return[_0x37178b,_0x53f68c,_0x4b979b(0x8c),_0x4b979b(0x88)];}static get[_0x339642(0x91)](){return!0x0;}static get[_0x339642(0x84)](){return!0x0;}[_0x339642(0x8f)](){const _0x850e90=_0x339642,{editor:_0x438f3c}=this;_0x438f3c[_0x850e90(0x87)][_0x850e90(0x80)](_0x850e90(0x82),new _0x4b07e3(_0x438f3c)),_0x438f3c[_0x850e90(0x87)][_0x850e90(0x80)](_0x850e90(0x8a),new _0x2ce26c(_0x438f3c));}}
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 _0x31ca02}from'ckeditor5/src/core.js';import{ButtonView as _0x31c09a}from'ckeditor5/src/ui.js';import{createElement as _0x261254}from'ckeditor5/src/utils.js';import _0x41f4ee from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x31ca02{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x58b749=this['editor'];_0x58b749['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2762ee=>{const _0x183677=_0x58b749['commands']['get']('uploadcareImageEdit'),_0x60cdd6=new _0x31c09a(_0x2762ee),t=_0x2762ee['t'];return _0x60cdd6['set']({'icon':_0x41f4ee,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x60cdd6['bind']('isEnabled')['to'](_0x183677),_0x60cdd6['bind']('isOn')['to'](_0x183677,'isActive'),this['listenTo'](_0x60cdd6,'execute',()=>{_0x58b749['execute']('uploadcareImageEdit'),_0x58b749['editing']['view']['focus']();}),_0x60cdd6;}),this['_initConfig']();}['_initConfig'](){const _0x346efb=_0x261254(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x346efb),this['listenTo'](this['editor'],'destroy',()=>{_0x346efb['remove']();});}}
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
- const _0xd30f52=_0x1d6e;function _0x239e(){const _0x25f042=['model','change','612GXpKBh','isEnabled','12XCFTIw','217bkxEdj','228745RujKQM','execute','2966uBEsWl','2710500CZWAVD','editor','getSelectedElement','element','selection','document','4812054CQEABo','srcset','setAttributes','345380OLxjmn','imageInline','248337OVvPnx','sizes','171KNSunt','8dFaZzV','1736441fFjLNC','refresh','imageBlock','removeAttribute'];_0x239e=function(){return _0x25f042;};return _0x239e();}(function(_0x229239,_0x36fe58){const _0x72623a=_0x1d6e,_0x496155=_0x229239();while(!![]){try{const _0x334a43=-parseInt(_0x72623a(0x122))/0x1*(-parseInt(_0x72623a(0x125))/0x2)+parseInt(_0x72623a(0x131))/0x3*(-parseInt(_0x72623a(0x121))/0x4)+parseInt(_0x72623a(0x126))/0x5+-parseInt(_0x72623a(0x12c))/0x6+-parseInt(_0x72623a(0x119))/0x7*(-parseInt(_0x72623a(0x118))/0x8)+-parseInt(_0x72623a(0x133))/0x9*(parseInt(_0x72623a(0x12f))/0xa)+parseInt(_0x72623a(0x123))/0xb*(parseInt(_0x72623a(0x11f))/0xc);if(_0x334a43===_0x36fe58)break;else _0x496155['push'](_0x496155['shift']());}catch(_0x56b09f){_0x496155['push'](_0x496155['shift']());}}}(_0x239e,0x71c1f));import{Command as _0x219382}from'ckeditor5/src/core.js';function _0x1d6e(_0x297a60,_0x3f42ca){const _0x239e4f=_0x239e();return _0x1d6e=function(_0x1d6e5e,_0xb3c4bc){_0x1d6e5e=_0x1d6e5e-0x118;let _0x4d1779=_0x239e4f[_0x1d6e5e];return _0x4d1779;},_0x1d6e(_0x297a60,_0x3f42ca);}export default class O extends _0x219382{[_0xd30f52(0x11a)](){const _0x4f7333=_0xd30f52,_0x56792e=this[_0x4f7333(0x127)][_0x4f7333(0x11d)][_0x4f7333(0x12b)][_0x4f7333(0x12a)][_0x4f7333(0x128)]();this[_0x4f7333(0x120)]=Boolean(_0x56792e&&(_0x56792e['is'](_0x4f7333(0x129),_0x4f7333(0x11b))||_0x56792e['is'](_0x4f7333(0x129),_0x4f7333(0x130))));}[_0xd30f52(0x124)](_0x3ba0e9){const _0xf5e4fc=_0xd30f52,_0x2df4e8=this[_0xf5e4fc(0x127)][_0xf5e4fc(0x11d)][_0xf5e4fc(0x12b)][_0xf5e4fc(0x12a)][_0xf5e4fc(0x128)]();this[_0xf5e4fc(0x127)][_0xf5e4fc(0x11d)][_0xf5e4fc(0x11e)](_0x53cf57=>{const _0x217dee=_0xf5e4fc;_0x53cf57[_0x217dee(0x12e)](_0x3ba0e9,_0x2df4e8),_0x53cf57[_0x217dee(0x11c)](_0x217dee(0x12d),_0x2df4e8),_0x53cf57[_0x217dee(0x11c)](_0x217dee(0x132),_0x2df4e8);});}}
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
- var _0x121e97=_0x1b29;(function(_0x33b410,_0x231f50){var _0x332194=_0x1b29,_0x501a78=_0x33b410();while(!![]){try{var _0x571663=parseInt(_0x332194(0x17b))/0x1+-parseInt(_0x332194(0x177))/0x2*(-parseInt(_0x332194(0x17f))/0x3)+parseInt(_0x332194(0x17d))/0x4+parseInt(_0x332194(0x176))/0x5+parseInt(_0x332194(0x17c))/0x6*(parseInt(_0x332194(0x185))/0x7)+parseInt(_0x332194(0x178))/0x8+-parseInt(_0x332194(0x17a))/0x9;if(_0x571663===_0x231f50)break;else _0x501a78['push'](_0x501a78['shift']());}catch(_0x43e09f){_0x501a78['push'](_0x501a78['shift']());}}}(_0x51df,0x1f8a9));import{FocusTracker as _0x3e083d}from'ckeditor5/src/utils.js';function _0x51df(){var _0x316307=['true','286740TZQRHa','22PoFhTe','1543048VzPcJJ','focusTracker','7600905xjqfFM','186305UMSjXg','82638vKMGmS','801016uMsfMk','fire','58089gvHvsW','createCollection','div','forwardCycle','getFocusableElement','bindTemplate','63aeDdxG','focusCycler'];_0x51df=function(){return _0x316307;};return _0x51df();}import{View as _0x369eef,FocusCycler as _0x725644}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1b29(_0x3ef949,_0x1c965a){var _0x51df36=_0x51df();return _0x1b29=function(_0x1b2904,_0xff84fc){_0x1b2904=_0x1b2904-0x175;var _0x13b9f4=_0x51df36[_0x1b2904];return _0x13b9f4;},_0x1b29(_0x3ef949,_0x1c965a);}export default class q extends _0x369eef{constructor(_0x252729){var _0x451490=_0x1b29;super(_0x252729),this[_0x451490(0x179)]=new _0x3e083d(),this[_0x451490(0x186)]=new _0x725644({'focusables':this[_0x451490(0x180)](),'focusTracker':this[_0x451490(0x179)]});}[_0x121e97(0x183)](){var _0x3d293c=_0x121e97;return{'tag':_0x3d293c(0x181),'attributes':{'aria-hidden':_0x3d293c(0x175),'tabindex':'0'},'on':{'focus':this[_0x3d293c(0x184)]['to'](()=>{var _0x1b896=_0x3d293c;this[_0x1b896(0x186)][_0x1b896(0x17e)](_0x1b896(0x182));})}};}}
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));})}};}}