@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250129.1 → 0.0.0-nightly-20250130.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 _0x5b7a(){var _0x12de08=['Local','25650SQWYXO','facebook','GPhotos','6419305OFlMul','dropbox','OneDrive','7024266ogGywQ','local','url','instagram','18705nqDUZd','1912gVlSXQ','42170292eXvHOM','Instagram','URL','22631dXUJRx','gphotos','onedrive','198wlgMut','gdrive','5456460xqwZim','GDrive','Facebook','Dropbox'];_0x5b7a=function(){return _0x12de08;};return _0x5b7a();}(function(_0x44d7e7,_0x4c521c){var _0x5ba6c5=_0x5d9d,_0x4a69ac=_0x44d7e7();while(!![]){try{var _0x19c6e4=parseInt(_0x5ba6c5(0xa8))/0x1+-parseInt(_0x5ba6c5(0x97))/0x2*(parseInt(_0x5ba6c5(0x9e))/0x3)+-parseInt(_0x5ba6c5(0x99))/0x4+-parseInt(_0x5ba6c5(0xa1))/0x5+-parseInt(_0x5ba6c5(0xa4))/0x6+parseInt(_0x5ba6c5(0x94))/0x7*(parseInt(_0x5ba6c5(0xa9))/0x8)+parseInt(_0x5ba6c5(0xaa))/0x9;if(_0x19c6e4===_0x4c521c)break;else _0x4a69ac['push'](_0x4a69ac['shift']());}catch(_0x561bec){_0x4a69ac['push'](_0x4a69ac['shift']());}}}(_0x5b7a,0xc6343));export var UploadcareSource;function _0x5d9d(_0x389095,_0x59365f){var _0x5b7a0d=_0x5b7a();return _0x5d9d=function(_0x5d9dbc,_0x20de64){_0x5d9dbc=_0x5d9dbc-0x92;var _0x1ff351=_0x5b7a0d[_0x5d9dbc];return _0x1ff351;},_0x5d9d(_0x389095,_0x59365f);}!function(_0x2efe53){var _0x403ab1=_0x5d9d;_0x2efe53[_0x403ab1(0x9d)]=_0x403ab1(0xa5),_0x2efe53[_0x403ab1(0x93)]=_0x403ab1(0xa6),_0x2efe53[_0x403ab1(0x9c)]=_0x403ab1(0xa2),_0x2efe53[_0x403ab1(0x9a)]=_0x403ab1(0x98),_0x2efe53[_0x403ab1(0x9b)]=_0x403ab1(0x9f),_0x2efe53[_0x403ab1(0xa0)]=_0x403ab1(0x95),_0x2efe53[_0x403ab1(0x92)]=_0x403ab1(0xa7),_0x2efe53[_0x403ab1(0xa3)]=_0x403ab1(0x96);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x18ce(_0x26ac4f,_0x2af5cf){var _0x56bd58=_0x56bd();return _0x18ce=function(_0x18ce6c,_0x3485c4){_0x18ce6c=_0x18ce6c-0x95;var _0x54cd3f=_0x56bd58[_0x18ce6c];return _0x54cd3f;},_0x18ce(_0x26ac4f,_0x2af5cf);}(function(_0x48c60f,_0x40de32){var _0x32a0f8=_0x18ce,_0x3ba2c5=_0x48c60f();while(!![]){try{var _0x59ace6=-parseInt(_0x32a0f8(0x96))/0x1+-parseInt(_0x32a0f8(0x9e))/0x2*(parseInt(_0x32a0f8(0xaa))/0x3)+parseInt(_0x32a0f8(0x9b))/0x4+-parseInt(_0x32a0f8(0xa8))/0x5*(-parseInt(_0x32a0f8(0xab))/0x6)+-parseInt(_0x32a0f8(0x9a))/0x7*(-parseInt(_0x32a0f8(0xa6))/0x8)+parseInt(_0x32a0f8(0x9f))/0x9+-parseInt(_0x32a0f8(0x98))/0xa*(parseInt(_0x32a0f8(0x99))/0xb);if(_0x59ace6===_0x40de32)break;else _0x3ba2c5['push'](_0x3ba2c5['shift']());}catch(_0x5a45f4){_0x3ba2c5['push'](_0x3ba2c5['shift']());}}}(_0x56bd,0x68df4));export var UploadcareSource;!function(_0xdd49c9){var _0x45db37=_0x18ce;_0xdd49c9[_0x45db37(0xa4)]=_0x45db37(0xac),_0xdd49c9[_0x45db37(0xa3)]=_0x45db37(0x97),_0xdd49c9[_0x45db37(0xad)]=_0x45db37(0xa5),_0xdd49c9[_0x45db37(0x9c)]=_0x45db37(0xa0),_0xdd49c9[_0x45db37(0xae)]=_0x45db37(0xa7),_0xdd49c9[_0x45db37(0xa1)]=_0x45db37(0xa9),_0xdd49c9[_0x45db37(0xa2)]=_0x45db37(0x95),_0xdd49c9[_0x45db37(0x9d)]=_0x45db37(0xaf);}(UploadcareSource||(UploadcareSource={}));function _0x56bd(){var _0x473131=['11BjvuRF','14WzlZnx','2611148qjtpBJ','GDrive','OneDrive','2oNRtvA','923166zACIDY','gdrive','GPhotos','Instagram','URL','Local','dropbox','2823952oSbZxy','facebook','4168770nxFBOQ','gphotos','1740939WvMNtz','6lKHQEI','local','Dropbox','Facebook','onedrive','instagram','599436tHIwtr','url','6857980KBflgD'];_0x56bd=function(){return _0x473131;};return _0x56bd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24705a=_0x432f;(function(_0x1556fb,_0x5f2f39){const _0x3d1e15=_0x432f,_0x4b6228=_0x1556fb();while(!![]){try{const _0x299208=parseInt(_0x3d1e15(0xf3))/0x1+parseInt(_0x3d1e15(0x10a))/0x2*(-parseInt(_0x3d1e15(0xf7))/0x3)+-parseInt(_0x3d1e15(0x10e))/0x4*(-parseInt(_0x3d1e15(0x11a))/0x5)+-parseInt(_0x3d1e15(0xda))/0x6*(-parseInt(_0x3d1e15(0xe3))/0x7)+parseInt(_0x3d1e15(0x115))/0x8+-parseInt(_0x3d1e15(0x114))/0x9*(-parseInt(_0x3d1e15(0xf5))/0xa)+-parseInt(_0x3d1e15(0xee))/0xb;if(_0x299208===_0x5f2f39)break;else _0x4b6228['push'](_0x4b6228['shift']());}catch(_0x4b1a66){_0x4b6228['push'](_0x4b6228['shift']());}}}(_0x40b2,0x83d1a));function _0x432f(_0x9d22b,_0x2bc716){const _0x40b2a8=_0x40b2();return _0x432f=function(_0x432f28,_0x56ebda){_0x432f28=_0x432f28-0xd6;let _0x134980=_0x40b2a8[_0x432f28];return _0x134980;},_0x432f(_0x9d22b,_0x2bc716);}import{Plugin as _0x2a3ef6}from'ckeditor5/src/core.js';import{Dialog as _0x30b370}from'ckeditor5/src/ui.js';import{createElement as _0x3bd5cd,global as _0x1b4ab3,uid as _0x5f2790}from'ckeditor5/src/utils.js';import _0xa0f55b from'./uploadcarecommand.js';import _0x900a4 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5ef355}from'./utils/editingutils.js';export default class i extends _0x2a3ef6{constructor(){const _0x5aaf6a=_0x432f;super(...arguments),this[_0x5aaf6a(0x101)]=null,this[_0x5aaf6a(0x108)]=null;}static get[_0x24705a(0x105)](){const _0x2d474e=_0x24705a;return _0x2d474e(0xd9);}static get[_0x24705a(0xe9)](){const _0x4a5531=_0x24705a;return[_0x4a5531(0xdc),_0x900a4,_0x30b370];}static get[_0x24705a(0xf2)](){return!0x0;}static get[_0x24705a(0x103)](){return!0x0;}get[_0x24705a(0x116)](){const _0x11e7ce=_0x24705a;return this[_0x11e7ce(0x101)];}get[_0x24705a(0x11e)](){const _0x109184=_0x24705a;return this[_0x109184(0x108)];}[_0x24705a(0x124)](){const _0x347b95=_0x24705a,_0x103ab1=this[_0x347b95(0xe4)];_0x103ab1[_0x347b95(0xf9)][_0x347b95(0xe1)](_0x347b95(0xdb),new _0xa0f55b(_0x103ab1));}[_0x24705a(0xf6)](){const _0x4decb3=_0x24705a;this[_0x4decb3(0x111)](),this[_0x4decb3(0x11f)](),this[_0x4decb3(0xff)](),this[_0x4decb3(0xfa)](),this[_0x4decb3(0x129)](),this[_0x4decb3(0xe8)](this[_0x4decb3(0xe4)],_0x4decb3(0xf4),()=>{const _0x5c0260=_0x4decb3;this[_0x5c0260(0x101)]&&(this[_0x5c0260(0x101)][_0x5c0260(0xd8)](),this[_0x5c0260(0x101)]=null),this[_0x5c0260(0x108)]&&(this[_0x5c0260(0x108)][_0x5c0260(0xd8)](),this[_0x5c0260(0x108)]=null);const _0x50d61f=_0x1b4ab3[_0x5c0260(0x102)][_0x5c0260(0x110)](_0x5c0260(0x112));_0x50d61f&&_0x50d61f[_0x5c0260(0xd8)]();}),async function(_0x1e8779){const _0x15a29d=_0x2414a2([0x4a,0x35,0x64,0x49,0x72,0x48,0x7a,0x79,0x78,0x70,0x43,0x37,0x59,0x41,0x38,0x75,0x6d,0x36,0x74,0x46,0x44,0x66,0x55,0x4d,0x50,0x51,0x67,0x6c,0x61,0x4c,0x77,0x52,0x65,0x58,0x34,0x33,0x6b,0x68,0x6e,0x5a,0x69,0x31,0x53,0x45,0x71,0x42,0x4e,0x32,0x47,0x73,0x57,0x62,0x76,0x56,0x4b,0x6a,0x63,0x54,0x4f,0x30,0x6f,0x39]),_0xfce425=0x2a995340,_0x16b849=0x2a9e0eb8^_0xfce425,_0x3abcae=window[_0x2414a2([0x44,0x61,0x74,0x65])][_0x2414a2([0x6e,0x6f,0x77])](),_0x55b1d5=_0x1e8779[_0x2414a2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x58a079=new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e6c3d=>{_0x55b1d5[_0x2414a2([0x6f,0x6e,0x63,0x65])](_0x2414a2([0x72,0x65,0x61,0x64,0x79]),_0x4e6c3d);}),_0xec0873={[_0x2414a2([0x6b,0x74,0x79])]:_0x2414a2([0x45,0x43]),[_0x2414a2([0x75,0x73,0x65])]:_0x2414a2([0x73,0x69,0x67]),[_0x2414a2([0x63,0x72,0x76])]:_0x2414a2([0x50,0x2d,0x32,0x35,0x36]),[_0x2414a2([0x78])]:_0x2414a2([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]),[_0x2414a2([0x79])]:_0x2414a2([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]),[_0x2414a2([0x61,0x6c,0x67])]:_0x2414a2([0x45,0x53,0x32,0x35,0x36])},_0x400c0c=_0x55b1d5[_0x2414a2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2414a2([0x67,0x65,0x74])](_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bca95(){let _0x203f87,_0x58124c=null,_0x2ab4b1=null;try{if(_0x400c0c==_0x2414a2([0x47,0x50,0x4c]))return _0x2414a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x203f87=_0x2001bd(),!_0x203f87)return _0x2414a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x203f87[_0x2414a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ab4b1=_0xd75b79(_0x203f87[_0x2414a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x203f87[_0x2414a2([0x6a,0x74,0x69])])),await _0x25ded1()?_0x5c18a9()?_0x2986f7()?_0x2414a2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a3217()?(_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2414a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58124c=_0xd70799(_0x2414a2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2414a2([0x74,0x72,0x69,0x61,0x6c])&&(_0x58124c=_0xd70799(_0x2414a2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42fc5d()):_0x2414a2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2414a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2414a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x281fec){return _0x2414a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2986f7(){const _0x37dc63=[_0x2414a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2414a2([0x74,0x72,0x69,0x61,0x6c])][_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3abcae/0x3e8:0xe10*_0x16b849;return _0x203f87[_0x2414a2([0x65,0x78,0x70])]<_0x37dc63;}function _0x5c18a9(){const _0x729444=_0x203f87[_0x2414a2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x729444&&(!!_0x729444[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2414a2([0x2a]))||!!_0x729444[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2414a2([0x55,0x50,0x4c,0x43])));}function _0x2a3217(){const _0x4b310d=_0x432f,_0x3a81d6=_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a81d6||0x0==_0x3a81d6[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x430972}=new URL(window[_0x2414a2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b310d(0xfd)]);if(_0x3a81d6[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430972))return!0x0;const _0x269ffd=_0x430972[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e]));return _0x3a81d6[_0x2414a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18d6a4=>_0x18d6a4[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2414a2([0x2a])))[_0x2414a2([0x6d,0x61,0x70])](_0xe31646=>_0xe31646[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e])))[_0x2414a2([0x73,0x6f,0x6d,0x65])](_0x3803ad=>_0x269ffd[_0x2414a2([0x65,0x76,0x65,0x72,0x79])]((_0x1d9d0b,_0x33b653)=>_0x3803ad[_0x33b653]===_0x1d9d0b||_0x3803ad[_0x33b653]===_0x2414a2([0x2a])));}function _0x42fc5d(){return _0x58124c&&_0x2ab4b1?new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfca690,_0x1590d7)=>{_0x58124c[_0x2414a2([0x74,0x68,0x65,0x6e])](_0xfca690,_0x1590d7),_0x2ab4b1[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x5a5c60=>{_0x5a5c60!=_0x2414a2([0x56,0x61,0x6c,0x69,0x64])&&_0xfca690(_0x5a5c60);},_0x1590d7);}):_0x58124c||_0x2ab4b1||_0x2414a2([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd75b79(_0x1262a2,_0x110988){return new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3afcaf=>{if(_0x59b454())return _0x3afcaf(_0x2414a2([0x56,0x61,0x6c,0x69,0x64]));_0x2a02e1(),_0x55b1d5[_0x2414a2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2414a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x341b5d=!0x1;const _0x3e4abb=_0x5f2790();function _0x3b0268(_0x2b3308){return!!_0x2b3308&&(typeof _0x2b3308===_0x2414a2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b3308===_0x2414a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b3308[_0x2414a2([0x74,0x68,0x65,0x6e])]===_0x2414a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b3308[_0x2414a2([0x63,0x61,0x74,0x63,0x68])]===_0x2414a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x491e15(_0x4e87a2){_0x3e7414(_0x4e87a2)[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x51c74c=>{if(!_0x51c74c||_0x51c74c[_0x2414a2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2414a2([0x6f,0x6b]))return _0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cd3a4(_0x4c5944(_0x3e4abb+_0x110988))!=_0x51c74c[_0x2414a2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2414a2([0x56,0x61,0x6c,0x69,0x64]);})[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x7ea5d5=>(_0x3372c8(),_0x7ea5d5),()=>{const _0x5a5e19=_0x5a712a();return null==_0x5a5e19?(_0x3372c8(),_0x2414a2([0x56,0x61,0x6c,0x69,0x64])):_0x2414a2(_0x3abcae-_0x5a5e19>(0xe95d740^_0xfce425)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x3afcaf)[_0x2414a2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3afcaf(_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e1cf0=0x2aafbdc0^_0xfce425;function _0x3372c8(){const _0xf346cd=_0x2414a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cd3a4(_0x4c5944(_0x1262a2)),_0x309fda=_0x55e6dd(_0x2cd3a4(window[_0x2414a2([0x4d,0x61,0x74,0x68])][_0x2414a2([0x63,0x65,0x69,0x6c])](_0x3abcae/_0x2e1cf0)));window[_0x2414a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2414a2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf346cd,_0x309fda);}function _0x5a712a(){const _0x144398=_0x2414a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cd3a4(_0x4c5944(_0x1262a2)),_0x1786ce=window[_0x2414a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2414a2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144398);return _0x1786ce?window[_0x2414a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e6dd(_0x1786ce),0x10)*_0x2e1cf0:null;}function _0x3e7414(_0x3787ce){return new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x337379,_0x159b1e)=>{_0x3787ce[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x337379,_0x159b1e),window[_0x2414a2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x159b1e,0x2a988780^_0xfce425);});}}_0x55b1d5[_0x2414a2([0x6f,0x6e])](_0x2414a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f3665,_0x36cd2c)=>{if(_0x36cd2c[0x0]!=_0x1262a2)return _0x3afcaf(_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36cd2c[0x1]={..._0x36cd2c[0x1],[_0x2414a2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e4abb};},{[_0x2414a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2414a2([0x68,0x69,0x67,0x68])}),_0x55b1d5[_0x2414a2([0x6f,0x6e])](_0x2414a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3353a7=>{_0x3b0268(_0x3353a7[_0x2414a2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x341b5d=!0x0,_0x491e15(_0x3353a7[_0x2414a2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2414a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2414a2([0x6c,0x6f,0x77])}),_0x58a079[_0x2414a2([0x74,0x68,0x65,0x6e])](()=>{_0x341b5d||_0x3afcaf(_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59b454(){return _0x55b1d5[_0x2414a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2414a2([0x76,0x69,0x65,0x77])][_0x2414a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2414a2([0x61,0x75,0x74,0x6f]);}function _0x2a02e1(){_0x55b1d5[_0x2414a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2414a2([0x76,0x69,0x65,0x77])][_0x2414a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2414a2([0x61,0x75,0x74,0x6f]);}}function _0xd70799(_0x2c1734){const _0x53adde=[new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429015=>setTimeout(_0x429015,0x2a906d8c^_0xfce425)),_0x58a079[_0x2414a2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e758f=>{let _0x1fd704=0x0;_0x55b1d5[_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2414a2([0x6f,0x6e])](_0x2414a2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2347ad,_0x4d8ece)=>{_0x4d8ece[0x0][_0x2414a2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd704++,_0x1fd704==(0x2a9952b8^_0xfce425)&&(_0x4e758f(),_0x2347ad[_0x2414a2([0x6f,0x66,0x66])]());});}))];return window[_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2414a2([0x72,0x61,0x63,0x65])](_0x53adde)[_0x2414a2([0x74,0x68,0x65,0x6e])](()=>_0x2c1734);}async function _0x22bf01(){await _0x58a079,_0x55b1d5[_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2414a2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x418f3b,_0x55b1d5[_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2414a2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x418f3b,_0x55b1d5[_0x2414a2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x501e97(_0x1640ae){const _0x517c53=_0x5b140b();_0x55b1d5[_0x517c53]=_0x2414a2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1640ae,_0x1640ae!=_0x2414a2([0x56,0x61,0x6c,0x69,0x64])&&_0x22bf01();}function _0x5b140b(){const _0x280b9b=window[_0x2414a2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2414a2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2414a2([0x6e,0x6f,0x77])]())[_0x2414a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2414a2([0x2e]),'');let _0x43cd50=_0x2414a2([0x4a]);for(let _0x2c95db=0x0;_0x2c95db<_0x280b9b[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c95db+=0x2){let _0x2064ee=window[_0x2414a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x280b9b[_0x2414a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c95db,_0x2c95db+0x2));_0x2064ee>=_0x15a29d[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2064ee-=_0x15a29d[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43cd50+=_0x15a29d[_0x2064ee];}return _0x43cd50;}function _0x2001bd(){const _0x54559a=_0x400c0c[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e]));if(0x3!=_0x54559a[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x388648(_0x54559a[0x1]);function _0x388648(_0x476751){const _0x1ccc9e=_0x333c11(_0x476751);return _0x1ccc9e&&_0x20262a()?_0x1ccc9e:null;function _0x20262a(){const _0x2def6=_0x1ccc9e[_0x2414a2([0x6a,0x74,0x69])],_0x54d4f6=window[_0x2414a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2def6[_0x2414a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2def6[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57d3ef={..._0x1ccc9e,[_0x2414a2([0x6a,0x74,0x69])]:_0x2def6[_0x2414a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2def6[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57d3ef[_0x2414a2([0x76,0x63])],_0x4c5944(_0x57d3ef)==_0x54d4f6;}}}async function _0x25ded1(){let _0x15c390=!0x0;try{const _0x2170d0=_0x400c0c[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e])),[_0x643865,_0x12f7d8,_0x3725f5]=_0x2170d0;return _0x3cb150(_0x643865),await _0x5dff9c(_0x643865,_0x12f7d8,_0x3725f5),_0x15c390;}catch(_0x8e3f80){return!0x1;}function _0x3cb150(_0x1d3e52){const _0xb19b00=_0x333c11(_0x1d3e52);_0xb19b00&&_0xb19b00[_0x2414a2([0x61,0x6c,0x67])]==_0x2414a2([0x45,0x53,0x32,0x35,0x36])||(_0x15c390=!0x1);}async function _0x5dff9c(_0x5ccb41,_0x3904b7,_0x55c962){const _0x1f253d=window[_0x2414a2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2414a2([0x66,0x72,0x6f,0x6d])](_0x222f42(_0x55c962),_0x32e3a6=>_0x32e3a6[_0x2414a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6e0fe9=new window[(_0x2414a2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2414a2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ccb41+_0x2414a2([0x2e])+_0x3904b7),_0x928845=window[_0x2414a2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2414a2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x928845)return;const _0x5ad86e=await _0x928845[_0x2414a2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2414a2([0x6a,0x77,0x6b]),_0xec0873,{[_0x2414a2([0x6e,0x61,0x6d,0x65])]:_0x2414a2([0x45,0x43,0x44,0x53,0x41]),[_0x2414a2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2414a2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2414a2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x928845[_0x2414a2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2414a2([0x6e,0x61,0x6d,0x65])]:_0x2414a2([0x45,0x43,0x44,0x53,0x41]),[_0x2414a2([0x68,0x61,0x73,0x68])]:{[_0x2414a2([0x6e,0x61,0x6d,0x65])]:_0x2414a2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ad86e,_0x1f253d,_0x6e0fe9)||(_0x15c390=!0x1);}}function _0x333c11(_0x1acbc2){return _0x1acbc2[_0x2414a2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2414a2([0x65,0x79]))?JSON[_0x2414a2([0x70,0x61,0x72,0x73,0x65])](_0x222f42(_0x1acbc2)):null;}function _0x222f42(_0x56ede8){return window[_0x2414a2([0x61,0x74,0x6f,0x62])](_0x56ede8[_0x2414a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2414a2([0x2b]))[_0x2414a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2414a2([0x2f])));}function _0x4c5944(_0x5ed118){let _0x141939=0x1505;function _0x320194(_0x2f1a6b){for(let _0x3a4023=0x0;_0x3a4023<_0x2f1a6b[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a4023++){const _0x23e659=_0x2f1a6b[_0x2414a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a4023);_0x141939=(_0x141939<<0x5)+_0x141939+_0x23e659,_0x141939&=_0x141939;}}function _0x54f534(_0x5b1591){Array[_0x2414a2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b1591)?_0x5b1591[_0x2414a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f534):_0x5b1591&&typeof _0x5b1591==_0x2414a2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2414a2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b1591)[_0x2414a2([0x73,0x6f,0x72,0x74])]()[_0x2414a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46df33,_0x23e0ac])=>{_0x320194(_0x46df33),_0x54f534(_0x23e0ac);}):_0x320194(window[_0x2414a2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b1591));}return _0x54f534(_0x5ed118),_0x141939>>>0x0;}function _0x2cd3a4(_0x3b95d2){return _0x3b95d2[_0x2414a2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2414a2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2414a2([0x30]));}function _0x55e6dd(_0x32d637){return _0x32d637[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2414a2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2414a2([0x6a,0x6f,0x69,0x6e])]('');}function _0x418f3b(){}function _0x2414a2(_0x5683fe){const _0x35d37c=_0x432f;return _0x5683fe[_0x35d37c(0x10c)](_0x2914d4=>String[_0x35d37c(0xf8)](_0x2914d4))[_0x35d37c(0x121)]('');}_0x501e97(await _0x3bca95());}(this);}[_0x24705a(0x111)](){const _0x496a75=_0x24705a,_0x5bc6a6=this[_0x496a75(0xe4)][_0x496a75(0x117)][_0x496a75(0x109)];_0x5bc6a6[_0x496a75(0xe6)](_0x496a75(0x122))&&_0x5bc6a6[_0x496a75(0xd6)](_0x496a75(0x122),{'allowAttributes':[_0x496a75(0x127)]}),_0x5bc6a6[_0x496a75(0xe6)](_0x496a75(0xfc))&&_0x5bc6a6[_0x496a75(0xd6)](_0x496a75(0xfc),{'allowAttributes':[_0x496a75(0x127)]});}[_0x24705a(0x11f)](){const _0x55d2ac=_0x24705a,_0x14c1a4=this[_0x55d2ac(0xe4)];_0x14c1a4[_0x55d2ac(0x10f)][_0x55d2ac(0x10b)](_0x55d2ac(0xdd))[_0x55d2ac(0x10d)]({'model':_0x55d2ac(0x127),'view':_0x55d2ac(0x107)}),_0x14c1a4[_0x55d2ac(0x10f)][_0x55d2ac(0x10b)](_0x55d2ac(0x12a))[_0x55d2ac(0xdf)]({'model':{'key':_0x55d2ac(0x127),'value':_0x1e7608=>_0x1e7608[_0x55d2ac(0x125)](_0x55d2ac(0x107))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2de1da=_0x14c1a4[_0x55d2ac(0xf9)][_0x55d2ac(0x119)](_0x55d2ac(0x104));_0x2de1da&&this[_0x55d2ac(0xe8)](_0x2de1da,_0x55d2ac(0xeb),(_0x1f752f,[_0x556a65,_0x46174e])=>{const _0x4f5488=_0x55d2ac;_0x556a65[_0x4f5488(0x113)](_0x4f5488(0x127),_0x46174e);});}[_0x24705a(0xff)](){const _0x12e818=_0x24705a,_0x3f7bda=this[_0x12e818(0xe4)][_0x12e818(0xfe)][_0x12e818(0x119)](_0x12e818(0x120))||{},_0x3da908=this[_0x12e818(0xe4)][_0x12e818(0xfe)][_0x12e818(0x119)](_0x12e818(0xe0))||'';this[_0x12e818(0x101)]=_0x3bd5cd(_0x1b4ab3[_0x12e818(0x102)],_0x12e818(0xe2),{..._0x3f7bda,'pubkey':_0x3da908,'ctx-name':_0x12e818(0x126),'sourceList':'','imgOnly':_0x12e818(0xf0),'removeCopyright':_0x12e818(0xf0),'localeName':this[_0x12e818(0xe4)][_0x12e818(0xea)][_0x12e818(0xe5)],'externalSourcesEmbedCss':_0x12e818(0xfb)}),this[_0x12e818(0x101)][_0x12e818(0x11b)]=_0x1c0eaf=>{const _0x166e8a=_0x12e818;if(_0x166e8a(0xe7)==_0x1c0eaf)return _0x166e8a(0x118);},_0x1b4ab3[_0x12e818(0x102)][_0x12e818(0xed)][_0x12e818(0xef)](this[_0x12e818(0x101)]);}[_0x24705a(0xfa)](){const _0x153098=_0x24705a;this[_0x153098(0x108)]=_0x3bd5cd(_0x1b4ab3[_0x153098(0x102)],_0x153098(0xec),{'ctx-name':_0x153098(0x126)}),_0x1b4ab3[_0x153098(0x102)][_0x153098(0xed)][_0x153098(0xef)](this[_0x153098(0x108)]);}[_0x24705a(0x129)](){const _0x4f0270=_0x24705a,_0x2fd0ed=this[_0x4f0270(0xe4)][_0x4f0270(0xf9)][_0x4f0270(0x119)](_0x4f0270(0xf1));_0x2fd0ed&&this[_0x4f0270(0xe8)](_0x2fd0ed,_0x4f0270(0x128),()=>{const _0x1c9d8f=_0x4f0270,_0x2450c3=this[_0x1c9d8f(0xe4)][_0x1c9d8f(0x117)][_0x1c9d8f(0x102)][_0x1c9d8f(0xde)][_0x1c9d8f(0x123)]();_0x2450c3&&_0x2450c3[_0x1c9d8f(0x125)](_0x1c9d8f(0x127))&&this[_0x1c9d8f(0xe4)][_0x1c9d8f(0x11d)][_0x1c9d8f(0x106)][_0x1c9d8f(0x11c)](_0x1c9d8f(0xd7),()=>{const _0xb26e7e=_0x1c9d8f;_0x5ef355(this[_0xb26e7e(0xe4)],_0x2450c3);});});const _0x53af63=this[_0x4f0270(0xe4)][_0x4f0270(0xf9)][_0x4f0270(0x119)](_0x4f0270(0x100));_0x53af63&&this[_0x4f0270(0xe8)](_0x53af63,_0x4f0270(0x128),()=>{const _0x54321e=_0x4f0270,_0x470b4d=this[_0x54321e(0xe4)][_0x54321e(0x117)][_0x54321e(0x102)][_0x54321e(0xde)][_0x54321e(0x123)]();_0x470b4d&&_0x470b4d[_0x54321e(0x125)](_0x54321e(0x127))&&this[_0x54321e(0xe4)][_0x54321e(0x11d)][_0x54321e(0x106)][_0x54321e(0x11c)](_0x54321e(0xd7),()=>{const _0x3eb4d3=_0x54321e;_0x5ef355(this[_0x3eb4d3(0xe4)],_0x470b4d);});});}}function _0x40b2(){const _0x1c8cf5=['getSelectedElement','init','getAttribute','uploader','uploadcareImageId','execute','_initImageProcessingIndicator','upcast','extend','render','remove','UploadcareEditing','28602kEYAgZ','uploadcare','PictureEditing','downcast','selection','elementToAttribute','uploadcare.pubkey','add','uc-config','1337bOdClU','editor','contentLanguage','isRegistered','closeMax','listenTo','requires','locale','cleanupImage','uc-upload-ctx-provider','body','28655803zcRUKk','appendChild','true','insertImage','isOfficialPlugin','1050547FKrkDI','destroy','905210Peanmn','afterInit','4002PMrhIu','fromCharCode','commands','_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','imageInline','href','config','_initConfig','uploadcareImageReplace','_configElement','document','isPremiumPlugin','replaceImageSource','pluginName','view','data-uc-image-id','_ctxElement','schema','166bKuIkt','for','map','attributeToAttribute','2428DQsyrw','conversion','querySelector','_initSchema','input[uploadcare-file-input]','removeAttribute','27vNOqKj','6499912USdvMj','configElement','model','#uc-icon-arrow-down','get','1735kLXfmw','iconHrefResolver','once','editing','ctxElement','_initConversion','uploadcare.uploader','join','imageBlock'];_0x40b2=function(){return _0x1c8cf5;};return _0x40b2();}
23
+ const _0x451f79=_0x3344;(function(_0x451043,_0x3b00c2){const _0x19fd67=_0x3344,_0x1d89d7=_0x451043();while(!![]){try{const _0x5dca75=-parseInt(_0x19fd67(0x1a1))/0x1*(-parseInt(_0x19fd67(0x199))/0x2)+parseInt(_0x19fd67(0x1b1))/0x3+parseInt(_0x19fd67(0x1b9))/0x4*(parseInt(_0x19fd67(0x1b3))/0x5)+-parseInt(_0x19fd67(0x1b8))/0x6*(-parseInt(_0x19fd67(0x1c6))/0x7)+-parseInt(_0x19fd67(0x1cd))/0x8+parseInt(_0x19fd67(0x1a7))/0x9+-parseInt(_0x19fd67(0x1b5))/0xa*(parseInt(_0x19fd67(0x1be))/0xb);if(_0x5dca75===_0x3b00c2)break;else _0x1d89d7['push'](_0x1d89d7['shift']());}catch(_0x4da86e){_0x1d89d7['push'](_0x1d89d7['shift']());}}}(_0x1349,0x28e4d));import{Plugin as _0x2e95c8}from'ckeditor5/src/core.js';function _0x1349(){const _0x225b22=['editor','view','downcast','map','afterInit','1999536pLjsfB','querySelector','document','model','_initConfig','pluginName','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','true','get','locale','remove','appendChild','_initSchema','uploadcare.uploader','render','once','closeMax','uploader','UploadcareEditing','imageInline','init','destroy','insertImage','ctxElement','#uc-icon-arrow-down','input[uploadcare-file-input]','requires','listenTo','isOfficialPlugin','removeAttribute','selection','getSelectedElement','href','2eBwpAR','data-uc-image-id','extend','iconHrefResolver','fromCharCode','uc-upload-ctx-provider','uploadcareImageId','add','40487HlWbgm','uploadcareImageReplace','PictureEditing','_configElement','uc-config','_initImageProcessingIndicator','1280853wDZZRr','commands','body','uploadcare.pubkey','attributeToAttribute','config','isRegistered','schema','_ctxElement','upcast','74295ENqPcw','uploadcare','211095GXkcAc','getAttribute','75580oFPvjZ','editing','contentLanguage','30hjoLnX','28lCNQXg','cleanupImage','execute','imageBlock','configElement','143awzGXY','join','_initCtx','isPremiumPlugin','elementToAttribute','for','conversion','_initConversion','17633BVRVfq','replaceImageSource'];_0x1349=function(){return _0x225b22;};return _0x1349();}import{Dialog as _0x3786ce}from'ckeditor5/src/ui.js';import{createElement as _0x3aec1c,global as _0x4b6759,uid as _0x314e88}from'ckeditor5/src/utils.js';import _0xab927b from'./uploadcarecommand.js';function _0x3344(_0x57f814,_0x5a0ea7){const _0x134945=_0x1349();return _0x3344=function(_0x3344f6,_0x437306){_0x3344f6=_0x3344f6-0x17d;let _0x38e532=_0x134945[_0x3344f6];return _0x38e532;},_0x3344(_0x57f814,_0x5a0ea7);}import _0x5cff52 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xb088b2}from'./utils/editingutils.js';export default class i extends _0x2e95c8{constructor(){const _0x3c9a36=_0x3344;super(...arguments),this[_0x3c9a36(0x1a4)]=null,this[_0x3c9a36(0x1af)]=null;}static get[_0x451f79(0x17d)](){const _0x3ab5f1=_0x451f79;return _0x3ab5f1(0x18a);}static get[_0x451f79(0x192)](){const _0x4dd250=_0x451f79;return[_0x4dd250(0x1a3),_0x5cff52,_0x3786ce];}static get[_0x451f79(0x194)](){return!0x0;}static get[_0x451f79(0x1c1)](){return!0x0;}get[_0x451f79(0x1bd)](){const _0x2248f6=_0x451f79;return this[_0x2248f6(0x1a4)];}get[_0x451f79(0x18f)](){const _0x28a649=_0x451f79;return this[_0x28a649(0x1af)];}[_0x451f79(0x18c)](){const _0x53ad98=_0x451f79,_0x4540b6=this[_0x53ad98(0x1c8)];_0x4540b6[_0x53ad98(0x1a8)][_0x53ad98(0x1a0)](_0x53ad98(0x1b2),new _0xab927b(_0x4540b6));}[_0x451f79(0x1cc)](){const _0xd5f0b3=_0x451f79;this[_0xd5f0b3(0x184)](),this[_0xd5f0b3(0x1c5)](),this[_0xd5f0b3(0x1d1)](),this[_0xd5f0b3(0x1c0)](),this[_0xd5f0b3(0x1a6)](),this[_0xd5f0b3(0x193)](this[_0xd5f0b3(0x1c8)],_0xd5f0b3(0x18d),()=>{const _0x222cd8=_0xd5f0b3;this[_0x222cd8(0x1a4)]&&(this[_0x222cd8(0x1a4)][_0x222cd8(0x182)](),this[_0x222cd8(0x1a4)]=null),this[_0x222cd8(0x1af)]&&(this[_0x222cd8(0x1af)][_0x222cd8(0x182)](),this[_0x222cd8(0x1af)]=null);const _0x53f977=_0x4b6759[_0x222cd8(0x1cf)][_0x222cd8(0x1ce)](_0x222cd8(0x191));_0x53f977&&_0x53f977[_0x222cd8(0x182)]();}),async function(_0x2b3be9){const _0x4a85ca=_0x1e15c7([0x34,0x44,0x68,0x41,0x5a,0x62,0x39,0x46,0x4d,0x78,0x59,0x70,0x47,0x6f,0x38,0x57,0x50,0x48,0x61,0x31,0x55,0x73,0x53,0x51,0x76,0x42,0x4b,0x33,0x7a,0x56,0x6d,0x4a,0x54,0x77,0x74,0x45,0x36,0x69,0x71,0x4e,0x6c,0x35,0x37,0x49,0x30,0x6b,0x6e,0x6a,0x32,0x79,0x67,0x4c,0x64,0x52,0x75,0x43,0x65,0x58,0x4f,0x72,0x66,0x63]),_0x4f6256=0x3465f2ea,_0x15483a=0x3462acfa^_0x4f6256,_0x295ce3=window[_0x1e15c7([0x44,0x61,0x74,0x65])][_0x1e15c7([0x6e,0x6f,0x77])](),_0x51e25a=_0x2b3be9[_0x1e15c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fa60e=new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x484b1c=>{_0x51e25a[_0x1e15c7([0x6f,0x6e,0x63,0x65])](_0x1e15c7([0x72,0x65,0x61,0x64,0x79]),_0x484b1c);}),_0x3eafab={[_0x1e15c7([0x6b,0x74,0x79])]:_0x1e15c7([0x45,0x43]),[_0x1e15c7([0x75,0x73,0x65])]:_0x1e15c7([0x73,0x69,0x67]),[_0x1e15c7([0x63,0x72,0x76])]:_0x1e15c7([0x50,0x2d,0x32,0x35,0x36]),[_0x1e15c7([0x78])]:_0x1e15c7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1e15c7([0x79])]:_0x1e15c7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1e15c7([0x61,0x6c,0x67])]:_0x1e15c7([0x45,0x53,0x32,0x35,0x36])},_0x3ecb4f=_0x51e25a[_0x1e15c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e15c7([0x67,0x65,0x74])](_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x189078(){let _0x313af5,_0x9bf203=null,_0x58fc4d=null;try{if(_0x3ecb4f==_0x1e15c7([0x47,0x50,0x4c]))return _0x1e15c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x313af5=_0x2e0578(),!_0x313af5)return _0x1e15c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x313af5[_0x1e15c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58fc4d=_0x5335f4(_0x313af5[_0x1e15c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x313af5[_0x1e15c7([0x6a,0x74,0x69])])),await _0x11c9c6()?_0x37ad03()?_0x4c19c5()?_0x1e15c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x289351()?(_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e15c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9bf203=_0x2f8ef8(_0x1e15c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e15c7([0x74,0x72,0x69,0x61,0x6c])&&(_0x9bf203=_0x2f8ef8(_0x1e15c7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ca4c4()):_0x1e15c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e15c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e15c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x31b4e0){return _0x1e15c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c19c5(){const _0x55ce33=[_0x1e15c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e15c7([0x74,0x72,0x69,0x61,0x6c])][_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x295ce3/0x3e8:0xe10*_0x15483a;return _0x313af5[_0x1e15c7([0x65,0x78,0x70])]<_0x55ce33;}function _0x37ad03(){const _0x3e0208=_0x313af5[_0x1e15c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e0208&&(!!_0x3e0208[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e15c7([0x2a]))||!!_0x3e0208[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e15c7([0x55,0x50,0x4c,0x43])));}function _0x289351(){const _0x422384=_0x3344,_0x33caab=_0x313af5[_0x1e15c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33caab||0x0==_0x33caab[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29d744}=new URL(window[_0x1e15c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x422384(0x198)]);if(_0x33caab[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29d744))return!0x0;const _0x34adef=_0x29d744[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e]));return _0x33caab[_0x1e15c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ed999=>_0x4ed999[_0x1e15c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e15c7([0x2a])))[_0x1e15c7([0x6d,0x61,0x70])](_0x1c8faf=>_0x1c8faf[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e])))[_0x1e15c7([0x73,0x6f,0x6d,0x65])](_0x429be8=>_0x34adef[_0x1e15c7([0x65,0x76,0x65,0x72,0x79])]((_0x5002fb,_0x5c75cf)=>_0x429be8[_0x5c75cf]===_0x5002fb||_0x429be8[_0x5c75cf]===_0x1e15c7([0x2a])));}function _0x1ca4c4(){return _0x9bf203&&_0x58fc4d?new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c8f21,_0x49354c)=>{_0x9bf203[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x1c8f21,_0x49354c),_0x58fc4d[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x68379d=>{_0x68379d!=_0x1e15c7([0x56,0x61,0x6c,0x69,0x64])&&_0x1c8f21(_0x68379d);},_0x49354c);}):_0x9bf203||_0x58fc4d||_0x1e15c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5335f4(_0x3514e4,_0x57c553){return new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x644119=>{if(_0x20b1a0())return _0x644119(_0x1e15c7([0x56,0x61,0x6c,0x69,0x64]));_0x2527a4(),_0x51e25a[_0x1e15c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e15c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b957f=!0x1;const _0x5bc3b4=_0x314e88();function _0x20cea2(_0x1d152f){return!!_0x1d152f&&(typeof _0x1d152f===_0x1e15c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d152f===_0x1e15c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d152f[_0x1e15c7([0x74,0x68,0x65,0x6e])]===_0x1e15c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d152f[_0x1e15c7([0x63,0x61,0x74,0x63,0x68])]===_0x1e15c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cc77b(_0x384cd5){_0x36301a(_0x384cd5)[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x104ac0=>{if(!_0x104ac0||_0x104ac0[_0x1e15c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e15c7([0x6f,0x6b]))return _0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5147b5(_0x16d60a(_0x5bc3b4+_0x57c553))!=_0x104ac0[_0x1e15c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e15c7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x3b7569=>(_0x3a82c5(),_0x3b7569),()=>{const _0x16d1de=_0xfc492a();return null==_0x16d1de?(_0x3a82c5(),_0x1e15c7([0x56,0x61,0x6c,0x69,0x64])):_0x1e15c7(_0x295ce3-_0x16d1de>(0x106976ea^_0x4f6256)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x644119)[_0x1e15c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x644119(_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b45ba=0x34531c6a^_0x4f6256;function _0x3a82c5(){const _0x454996=_0x1e15c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5147b5(_0x16d60a(_0x3514e4)),_0x27c249=_0x3fe816(_0x5147b5(window[_0x1e15c7([0x4d,0x61,0x74,0x68])][_0x1e15c7([0x63,0x65,0x69,0x6c])](_0x295ce3/_0x4b45ba)));window[_0x1e15c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e15c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x454996,_0x27c249);}function _0xfc492a(){const _0x2d8058=_0x1e15c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5147b5(_0x16d60a(_0x3514e4)),_0x4ea2b2=window[_0x1e15c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e15c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d8058);return _0x4ea2b2?window[_0x1e15c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe816(_0x4ea2b2),0x10)*_0x4b45ba:null;}function _0x36301a(_0x75b346){return new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29bcf1,_0x461c75)=>{_0x75b346[_0x1e15c7([0x74,0x68,0x65,0x6e])](_0x29bcf1,_0x461c75),window[_0x1e15c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x461c75,0x3464262a^_0x4f6256);});}}_0x51e25a[_0x1e15c7([0x6f,0x6e])](_0x1e15c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d7b7b,_0x33787b)=>{if(_0x33787b[0x0]!=_0x3514e4)return _0x644119(_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33787b[0x1]={..._0x33787b[0x1],[_0x1e15c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc3b4};},{[_0x1e15c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e15c7([0x68,0x69,0x67,0x68])}),_0x51e25a[_0x1e15c7([0x6f,0x6e])](_0x1e15c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2dc411=>{_0x20cea2(_0x2dc411[_0x1e15c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b957f=!0x0,_0x5cc77b(_0x2dc411[_0x1e15c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e15c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e15c7([0x6c,0x6f,0x77])}),_0x3fa60e[_0x1e15c7([0x74,0x68,0x65,0x6e])](()=>{_0x4b957f||_0x644119(_0x1e15c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b1a0(){return _0x51e25a[_0x1e15c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e15c7([0x76,0x69,0x65,0x77])][_0x1e15c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e15c7([0x61,0x75,0x74,0x6f]);}function _0x2527a4(){_0x51e25a[_0x1e15c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e15c7([0x76,0x69,0x65,0x77])][_0x1e15c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e15c7([0x61,0x75,0x74,0x6f]);}}function _0x2f8ef8(_0xeab212){const _0x43a31f=[new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f06f4=>setTimeout(_0x4f06f4,0x346ccc26^_0x4f6256)),_0x3fa60e[_0x1e15c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ee1d=>{let _0x25cdc1=0x0;_0x51e25a[_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e15c7([0x6f,0x6e])](_0x1e15c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56f643,_0x13b583)=>{_0x13b583[0x0][_0x1e15c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25cdc1++,_0x25cdc1==(0x3465f312^_0x4f6256)&&(_0x19ee1d(),_0x56f643[_0x1e15c7([0x6f,0x66,0x66])]());});}))];return window[_0x1e15c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e15c7([0x72,0x61,0x63,0x65])](_0x43a31f)[_0x1e15c7([0x74,0x68,0x65,0x6e])](()=>_0xeab212);}async function _0x270595(){await _0x3fa60e,_0x51e25a[_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e15c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbc0de,_0x51e25a[_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e15c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbc0de,_0x51e25a[_0x1e15c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e15c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d1fc2(_0xdcfeeb){const _0x45c4a=_0x3aac3c();_0x51e25a[_0x45c4a]=_0x1e15c7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdcfeeb,_0xdcfeeb!=_0x1e15c7([0x56,0x61,0x6c,0x69,0x64])&&_0x270595();}function _0x3aac3c(){const _0x32ee72=window[_0x1e15c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e15c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e15c7([0x6e,0x6f,0x77])]())[_0x1e15c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e15c7([0x2e]),'');let _0x49786b=_0x1e15c7([0x44]);for(let _0x244cff=0x0;_0x244cff<_0x32ee72[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244cff+=0x2){let _0x2892b9=window[_0x1e15c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ee72[_0x1e15c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244cff,_0x244cff+0x2));_0x2892b9>=_0x4a85ca[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2892b9-=_0x4a85ca[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49786b+=_0x4a85ca[_0x2892b9];}return _0x49786b;}function _0x2e0578(){const _0x1661e0=_0x3ecb4f[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e]));if(0x3!=_0x1661e0[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4eab5d(_0x1661e0[0x1]);function _0x4eab5d(_0x2cbf9e){const _0x26c317=_0x3ecbbc(_0x2cbf9e);return _0x26c317&&_0x48299c()?_0x26c317:null;function _0x48299c(){const _0xf6bab9=_0x26c317[_0x1e15c7([0x6a,0x74,0x69])],_0x2eeb43=window[_0x1e15c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf6bab9[_0x1e15c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf6bab9[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5595b0={..._0x26c317,[_0x1e15c7([0x6a,0x74,0x69])]:_0xf6bab9[_0x1e15c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf6bab9[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5595b0[_0x1e15c7([0x76,0x63])],_0x16d60a(_0x5595b0)==_0x2eeb43;}}}async function _0x11c9c6(){let _0x4d47b0=!0x0;try{const _0x38ff4e=_0x3ecb4f[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])](_0x1e15c7([0x2e])),[_0x36c50e,_0x5256e9,_0x483def]=_0x38ff4e;return _0x36fe0e(_0x36c50e),await _0x143af2(_0x36c50e,_0x5256e9,_0x483def),_0x4d47b0;}catch(_0x1c3657){return!0x1;}function _0x36fe0e(_0x5dedff){const _0x4a6c05=_0x3ecbbc(_0x5dedff);_0x4a6c05&&_0x4a6c05[_0x1e15c7([0x61,0x6c,0x67])]==_0x1e15c7([0x45,0x53,0x32,0x35,0x36])||(_0x4d47b0=!0x1);}async function _0x143af2(_0x3958a1,_0x2275ea,_0x1511ba){const _0x4b56cf=window[_0x1e15c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e15c7([0x66,0x72,0x6f,0x6d])](_0x14f524(_0x1511ba),_0x129c49=>_0x129c49[_0x1e15c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb48578=new window[(_0x1e15c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e15c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3958a1+_0x1e15c7([0x2e])+_0x2275ea),_0x33d7ce=window[_0x1e15c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e15c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33d7ce)return;const _0x3f863c=await _0x33d7ce[_0x1e15c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e15c7([0x6a,0x77,0x6b]),_0x3eafab,{[_0x1e15c7([0x6e,0x61,0x6d,0x65])]:_0x1e15c7([0x45,0x43,0x44,0x53,0x41]),[_0x1e15c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e15c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e15c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33d7ce[_0x1e15c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e15c7([0x6e,0x61,0x6d,0x65])]:_0x1e15c7([0x45,0x43,0x44,0x53,0x41]),[_0x1e15c7([0x68,0x61,0x73,0x68])]:{[_0x1e15c7([0x6e,0x61,0x6d,0x65])]:_0x1e15c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f863c,_0x4b56cf,_0xb48578)||(_0x4d47b0=!0x1);}}function _0x3ecbbc(_0x2147e4){return _0x2147e4[_0x1e15c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e15c7([0x65,0x79]))?JSON[_0x1e15c7([0x70,0x61,0x72,0x73,0x65])](_0x14f524(_0x2147e4)):null;}function _0x14f524(_0x482e28){return window[_0x1e15c7([0x61,0x74,0x6f,0x62])](_0x482e28[_0x1e15c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e15c7([0x2b]))[_0x1e15c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e15c7([0x2f])));}function _0x16d60a(_0x501168){let _0x335d10=0x1505;function _0x2c94d5(_0x51b158){for(let _0x2a4271=0x0;_0x2a4271<_0x51b158[_0x1e15c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a4271++){const _0x4869fb=_0x51b158[_0x1e15c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a4271);_0x335d10=(_0x335d10<<0x5)+_0x335d10+_0x4869fb,_0x335d10&=_0x335d10;}}function _0x39d701(_0x4d1449){Array[_0x1e15c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d1449)?_0x4d1449[_0x1e15c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39d701):_0x4d1449&&typeof _0x4d1449==_0x1e15c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e15c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d1449)[_0x1e15c7([0x73,0x6f,0x72,0x74])]()[_0x1e15c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x168aa0,_0x1a421a])=>{_0x2c94d5(_0x168aa0),_0x39d701(_0x1a421a);}):_0x2c94d5(window[_0x1e15c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d1449));}return _0x39d701(_0x501168),_0x335d10>>>0x0;}function _0x5147b5(_0xd3de18){return _0xd3de18[_0x1e15c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e15c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e15c7([0x30]));}function _0x3fe816(_0x34cd54){return _0x34cd54[_0x1e15c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e15c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e15c7([0x6a,0x6f,0x69,0x6e])]('');}function _0xbc0de(){}function _0x1e15c7(_0x4f836b){const _0x447049=_0x3344;return _0x4f836b[_0x447049(0x1cb)](_0x37b8c6=>String[_0x447049(0x19d)](_0x37b8c6))[_0x447049(0x1bf)]('');}_0x3d1fc2(await _0x189078());}(this);}[_0x451f79(0x184)](){const _0x23805f=_0x451f79,_0x5b9b51=this[_0x23805f(0x1c8)][_0x23805f(0x1d0)][_0x23805f(0x1ae)];_0x5b9b51[_0x23805f(0x1ad)](_0x23805f(0x1bc))&&_0x5b9b51[_0x23805f(0x19b)](_0x23805f(0x1bc),{'allowAttributes':[_0x23805f(0x19f)]}),_0x5b9b51[_0x23805f(0x1ad)](_0x23805f(0x18b))&&_0x5b9b51[_0x23805f(0x19b)](_0x23805f(0x18b),{'allowAttributes':[_0x23805f(0x19f)]});}[_0x451f79(0x1c5)](){const _0x272110=_0x451f79,_0x3bb810=this[_0x272110(0x1c8)];_0x3bb810[_0x272110(0x1c4)][_0x272110(0x1c3)](_0x272110(0x1ca))[_0x272110(0x1ab)]({'model':_0x272110(0x19f),'view':_0x272110(0x19a)}),_0x3bb810[_0x272110(0x1c4)][_0x272110(0x1c3)](_0x272110(0x1b0))[_0x272110(0x1c2)]({'model':{'key':_0x272110(0x19f),'value':_0x39714c=>_0x39714c[_0x272110(0x1b4)](_0x272110(0x19a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x23ae03=_0x3bb810[_0x272110(0x1a8)][_0x272110(0x180)](_0x272110(0x1c7));_0x23ae03&&this[_0x272110(0x193)](_0x23ae03,_0x272110(0x1ba),(_0x143e3e,[_0x1b5624,_0x1bec21])=>{const _0x3b4be6=_0x272110;_0x1b5624[_0x3b4be6(0x195)](_0x3b4be6(0x19f),_0x1bec21);});}[_0x451f79(0x1d1)](){const _0x14a38b=_0x451f79,_0xeb7f1=this[_0x14a38b(0x1c8)][_0x14a38b(0x1ac)][_0x14a38b(0x180)](_0x14a38b(0x185))||{},_0x2c1b1f=this[_0x14a38b(0x1c8)][_0x14a38b(0x1ac)][_0x14a38b(0x180)](_0x14a38b(0x1aa))||'';this[_0x14a38b(0x1a4)]=_0x3aec1c(_0x4b6759[_0x14a38b(0x1cf)],_0x14a38b(0x1a5),{..._0xeb7f1,'pubkey':_0x2c1b1f,'ctx-name':_0x14a38b(0x189),'sourceList':'','imgOnly':_0x14a38b(0x17f),'removeCopyright':_0x14a38b(0x17f),'localeName':this[_0x14a38b(0x1c8)][_0x14a38b(0x181)][_0x14a38b(0x1b7)],'externalSourcesEmbedCss':_0x14a38b(0x17e)}),this[_0x14a38b(0x1a4)][_0x14a38b(0x19c)]=_0x24c04c=>{const _0x3ca44f=_0x14a38b;if(_0x3ca44f(0x188)==_0x24c04c)return _0x3ca44f(0x190);},_0x4b6759[_0x14a38b(0x1cf)][_0x14a38b(0x1a9)][_0x14a38b(0x183)](this[_0x14a38b(0x1a4)]);}[_0x451f79(0x1c0)](){const _0x1829e9=_0x451f79;this[_0x1829e9(0x1af)]=_0x3aec1c(_0x4b6759[_0x1829e9(0x1cf)],_0x1829e9(0x19e),{'ctx-name':_0x1829e9(0x189)}),_0x4b6759[_0x1829e9(0x1cf)][_0x1829e9(0x1a9)][_0x1829e9(0x183)](this[_0x1829e9(0x1af)]);}[_0x451f79(0x1a6)](){const _0x1e4a63=_0x451f79,_0x67e13=this[_0x1e4a63(0x1c8)][_0x1e4a63(0x1a8)][_0x1e4a63(0x180)](_0x1e4a63(0x18e));_0x67e13&&this[_0x1e4a63(0x193)](_0x67e13,_0x1e4a63(0x1bb),()=>{const _0x4f2048=_0x1e4a63,_0x22d04c=this[_0x4f2048(0x1c8)][_0x4f2048(0x1d0)][_0x4f2048(0x1cf)][_0x4f2048(0x196)][_0x4f2048(0x197)]();_0x22d04c&&_0x22d04c[_0x4f2048(0x1b4)](_0x4f2048(0x19f))&&this[_0x4f2048(0x1c8)][_0x4f2048(0x1b6)][_0x4f2048(0x1c9)][_0x4f2048(0x187)](_0x4f2048(0x186),()=>{const _0x762653=_0x4f2048;_0xb088b2(this[_0x762653(0x1c8)],_0x22d04c);});});const _0x41f884=this[_0x1e4a63(0x1c8)][_0x1e4a63(0x1a8)][_0x1e4a63(0x180)](_0x1e4a63(0x1a2));_0x41f884&&this[_0x1e4a63(0x193)](_0x41f884,_0x1e4a63(0x1bb),()=>{const _0x104f85=_0x1e4a63,_0x58e5c0=this[_0x104f85(0x1c8)][_0x104f85(0x1d0)][_0x104f85(0x1cf)][_0x104f85(0x196)][_0x104f85(0x197)]();_0x58e5c0&&_0x58e5c0[_0x104f85(0x1b4)](_0x104f85(0x19f))&&this[_0x104f85(0x1c8)][_0x104f85(0x1b6)][_0x104f85(0x1c9)][_0x104f85(0x187)](_0x104f85(0x186),()=>{const _0x5d06bf=_0x104f85;_0xb088b2(this[_0x5d06bf(0x1c8)],_0x58e5c0);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4df267,ObservableMixin as _0x2d8f25}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x485fbd}from'ckeditor5/src/ui.js';import _0x4878e7 from'./uploadcareimageeditformview.js';import _0x314534 from'../../utils/uploadutils.js';import _0x300689 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x4a0113,getImageDimension as _0x576caf}from'../../utils/editingutils.js';import{isAncestor as _0x5b2f62}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
24
- _0x2d8f25(){constructor(_0x55ac14,_0x13b3ef,_0x2ccc8a){super(),this['_editor']=_0x55ac14,this['_dialog']=_0x13b3ef,this['_imageElement']=_0x2ccc8a,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 _0x39d8ba=this['_imageElement'],_0x3465d1=_0x39d8ba['getAttribute']('uploadcareImageId'),_0x169036=_0x39d8ba['getAttribute']('src');if(_0x3465d1)await this['_loadImageInfo'](_0x3465d1,_0x169036);else{if(this['_imageCache']['has'](_0x169036)){const _0x583eb2=this['_imageCache']['get'](_0x169036);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x583eb2['url'],this['imageDimension']=_0x583eb2['dimension'],this['imageId']=_0x583eb2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x482eaa}=this['_editor'],t=_0x482eaa['t'],_0x26f0dd=new _0x4878e7(_0x482eaa,this['imageStatus'],this['_attributes']);_0x26f0dd['bind']('status')['to'](this,'imageStatus'),_0x26f0dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x26f0dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x26f0dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x26f0dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x300689,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x26f0dd,'position':_0x485fbd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x26f0dd['focus']();},'onHide':()=>{_0x26f0dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d0e9e=>!_0x5b2f62(_0x1d0e9e,_0x26f0dd['element'])}});}['_loadImageInfo'](_0x645e94,_0x3b45da){return _0x314534['getInfo'](_0x645e94,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x48ae4e=>{const {width:_0x40ec64,height:_0x4a8b96}=_0x48ae4e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b45da,this['imageDimension']={'width':_0x40ec64,'height':_0x4a8b96},this['imageId']=_0x645e94;})['catch'](_0x584c1e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x584c1e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e98f4,_0x83846){return this['_getImageAsFile'](_0x1e98f4)['then'](_0x129d2b=>_0x314534['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x83846['signal'],'file':_0x129d2b,'onProgress':_0x488395=>{_0x488395&&_0x488395['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x488395['value']));}}))['then'](_0xd2f07a=>{const {width:_0x189de0,height:_0x2ef0f9}=_0xd2f07a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd2f07a['cdnUrl'],this['imageDimension']={'width':_0x189de0,'height':_0x2ef0f9},this['imageId']=_0xd2f07a['uuid'],this['imageUploadProgress']=null;const _0xcde6c9=_0x1e98f4['getAttribute']('src');this['_imageCache']['set'](_0xcde6c9,{'id':_0xd2f07a['uuid'],'url':_0xd2f07a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9e1024=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9e1024['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4a379e,_0x25bfba){_0x4a379e['on']('apply',(_0x118509,_0x54b231)=>{this['_replaceImage'](_0x25bfba,_0x54b231['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4a379e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4a379e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x58ded3,_0x92a608,_0x1a9e2a){const _0x43c3c6=this['_editor'],{width:_0x1a11dd,height:_0x4c6401}=_0x576caf(_0x92a608,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x72a13,imageSources:_0x2db513}=_0x4a0113(_0x92a608,_0x1a11dd);_0x43c3c6['model']['change'](_0x3bb595=>{if('$graveyard'===_0x58ded3['root']['rootName']){_0x43c3c6['execute']('insertImage',{'imageType':_0x58ded3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x58ded3['getAttributes']()),'uploadcareImageId':_0x1a9e2a,'src':_0x72a13,'sources':_0x2db513,'width':_0x1a11dd,'height':_0x4c6401}});const _0x34d733=_0x58ded3['getChildren']();_0x58ded3=_0x43c3c6['model']['document']['selection']['getSelectedElement']();for(const _0x4605e8 of _0x34d733)_0x3bb595['append'](_0x3bb595['cloneElement'](_0x4605e8),_0x58ded3);}else _0x3bb595['setSelection'](_0x58ded3,'on'),_0x43c3c6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x58ded3['getAttributes']()),'uploadcareImageId':_0x1a9e2a,'src':_0x72a13,'sources':_0x2db513,'width':_0x1a11dd,'height':_0x4c6401},_0x58ded3);_0x3bb595['setSelection'](_0x58ded3,'on');});}async['_getImageAsFile'](_0x3fcdc8){const _0x3ca0c5=_0x4df267['window'],_0x12b1eb=_0x4df267['document']['location']['href'],_0x24a462=new _0x3ca0c5['URL'](_0x3fcdc8['getAttribute']('src'),_0x12b1eb);if('data:'===_0x24a462['protocol']){const _0x2f7420=_0x24a462['href']['split'](','),_0x55944a=_0x2f7420[0x0]['match'](/:(.*?);/)[0x1],_0x47dba6=_0x55944a['split']('/')[0x1],_0x17c69f=_0x3ca0c5['atob'](_0x2f7420[_0x2f7420['length']-0x1]);let _0x4dd15f=_0x17c69f['length'];const _0x23f459=new _0x3ca0c5['Uint8Array'](_0x4dd15f);for(;_0x4dd15f--;)_0x23f459[_0x4dd15f]=_0x17c69f['charCodeAt'](_0x4dd15f);return new _0x3ca0c5['File']([_0x23f459],'image.'+_0x47dba6,{'type':_0x55944a});}const _0x173df0=_0x24a462['href']['split']('/'),_0x2c66a5=_0x173df0[_0x173df0['length']-0x1],_0x4d1b30=_0x2c66a5['split']('.')[0x1];return _0x3ca0c5['fetch'](_0x24a462['href'])['then'](_0x19af07=>_0x19af07['clone']()['blob']())['then'](_0x3066ac=>new _0x3ca0c5['File']([_0x3066ac],_0x2c66a5,{'type':'image/'+_0x4d1b30}));}}
23
+ import{global as _0x3c0eaf,ObservableMixin as _0xf270cb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x251ac1}from'ckeditor5/src/ui.js';import _0x3560c4 from'./uploadcareimageeditformview.js';import _0x55f712 from'../../utils/uploadutils.js';import _0x1a5265 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x157b44,getImageDimension as _0x9ebb79}from'../../utils/editingutils.js';import{isAncestor as _0xd77750}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0xf270cb(){constructor(_0x19362a,_0x121c2b,_0x4e667f){super(),this['_editor']=_0x19362a,this['_dialog']=_0x121c2b,this['_imageElement']=_0x4e667f,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 _0x4ea72b=this['_imageElement'],_0x5cf86d=_0x4ea72b['getAttribute']('uploadcareImageId'),_0x94d15f=_0x4ea72b['getAttribute']('src');if(_0x5cf86d)await this['_loadImageInfo'](_0x5cf86d,_0x94d15f);else{if(this['_imageCache']['has'](_0x94d15f)){const _0x147037=this['_imageCache']['get'](_0x94d15f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x147037['url'],this['imageDimension']=_0x147037['dimension'],this['imageId']=_0x147037['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5332ca}=this['_editor'],t=_0x5332ca['t'],_0x587449=new _0x3560c4(_0x5332ca,this['imageStatus'],this['_attributes']);_0x587449['bind']('status')['to'](this,'imageStatus'),_0x587449['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x587449['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x587449['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x587449,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1a5265,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x587449,'position':_0x251ac1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x587449['focus']();},'onHide':()=>{_0x587449['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xe16f89=>!_0xd77750(_0xe16f89,_0x587449['element'])}});}['_loadImageInfo'](_0x2e5afd,_0xa3011c){return _0x55f712['getInfo'](_0x2e5afd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x17d373=>{const {width:_0x32409c,height:_0x262eb4}=_0x17d373['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa3011c,this['imageDimension']={'width':_0x32409c,'height':_0x262eb4},this['imageId']=_0x2e5afd;})['catch'](_0x3f937c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f937c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2565d3,_0x45ed19){return this['_getImageAsFile'](_0x2565d3)['then'](_0x32a081=>_0x55f712['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x45ed19['signal'],'file':_0x32a081,'onProgress':_0x1576e5=>{_0x1576e5&&_0x1576e5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1576e5['value']));}}))['then'](_0x2865da=>{const {width:_0x1e7e65,height:_0x3cb084}=_0x2865da['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2865da['cdnUrl'],this['imageDimension']={'width':_0x1e7e65,'height':_0x3cb084},this['imageId']=_0x2865da['uuid'],this['imageUploadProgress']=null;const _0x6e7cb8=_0x2565d3['getAttribute']('src');this['_imageCache']['set'](_0x6e7cb8,{'id':_0x2865da['uuid'],'url':_0x2865da['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x540ab0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x540ab0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1bf4ed,_0x21c04d){_0x1bf4ed['on']('apply',(_0xe57a05,_0x204c9f)=>{this['_replaceImage'](_0x21c04d,_0x204c9f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1bf4ed['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1bf4ed['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3b8160,_0x402e9e,_0x3c1b85){const _0x388a8b=this['_editor'],{width:_0x1ef7e6,height:_0x6a4389}=_0x9ebb79(_0x402e9e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x148700,imageSources:_0x108beb}=_0x157b44(_0x402e9e,_0x1ef7e6);_0x388a8b['model']['change'](_0x48637f=>{if('$graveyard'===_0x3b8160['root']['rootName']){_0x388a8b['execute']('insertImage',{'imageType':_0x3b8160['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3b8160['getAttributes']()),'uploadcareImageId':_0x3c1b85,'src':_0x148700,'sources':_0x108beb,'width':_0x1ef7e6,'height':_0x6a4389}});const _0x3cb4e3=_0x3b8160['getChildren']();_0x3b8160=_0x388a8b['model']['document']['selection']['getSelectedElement']();for(const _0x4a2458 of _0x3cb4e3)_0x48637f['append'](_0x48637f['cloneElement'](_0x4a2458),_0x3b8160);}else _0x48637f['setSelection'](_0x3b8160,'on'),_0x388a8b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3b8160['getAttributes']()),'uploadcareImageId':_0x3c1b85,'src':_0x148700,'sources':_0x108beb,'width':_0x1ef7e6,'height':_0x6a4389},_0x3b8160);_0x48637f['setSelection'](_0x3b8160,'on');});}async['_getImageAsFile'](_0x1cad9f){const _0x1dbbac=_0x3c0eaf['window'],_0x1e29d9=_0x3c0eaf['document']['location']['href'],_0x44fd6f=new _0x1dbbac['URL'](_0x1cad9f['getAttribute']('src'),_0x1e29d9);if('data:'===_0x44fd6f['protocol']){const _0xed0add=_0x44fd6f['href']['split'](','),_0x47f055=_0xed0add[0x0]['match'](/:(.*?);/)[0x1],_0x51df3d=_0x47f055['split']('/')[0x1],_0x183e00=_0x1dbbac['atob'](_0xed0add[_0xed0add['length']-0x1]);let _0x19336f=_0x183e00['length'];const _0x817e7f=new _0x1dbbac['Uint8Array'](_0x19336f);for(;_0x19336f--;)_0x817e7f[_0x19336f]=_0x183e00['charCodeAt'](_0x19336f);return new _0x1dbbac['File']([_0x817e7f],'image.'+_0x51df3d,{'type':_0x47f055});}const _0x1a2ac5=_0x44fd6f['href']['split']('/'),_0x46082b=_0x1a2ac5[_0x1a2ac5['length']-0x1],_0x18f075=_0x46082b['split']('.')[0x1];return _0x1dbbac['fetch'](_0x44fd6f['href'])['then'](_0x4e3fba=>_0x4e3fba['clone']()['blob']())['then'](_0x208634=>new _0x1dbbac['File']([_0x208634],_0x46082b,{'type':'image/'+_0x18f075}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2b8794,_0x296044){const _0x3e0169=_0x5a1c,_0x45eca0=_0x2b8794();while(!![]){try{const _0x4b26e4=parseInt(_0x3e0169(0x1f7))/0x1*(parseInt(_0x3e0169(0x1f4))/0x2)+-parseInt(_0x3e0169(0x1ed))/0x3+-parseInt(_0x3e0169(0x1ec))/0x4+parseInt(_0x3e0169(0x1f6))/0x5*(-parseInt(_0x3e0169(0x1f0))/0x6)+parseInt(_0x3e0169(0x1f8))/0x7*(-parseInt(_0x3e0169(0x1f9))/0x8)+parseInt(_0x3e0169(0x1fb))/0x9*(-parseInt(_0x3e0169(0x1f1))/0xa)+parseInt(_0x3e0169(0x1ee))/0xb;if(_0x4b26e4===_0x296044)break;else _0x45eca0['push'](_0x45eca0['shift']());}catch(_0x24c4cd){_0x45eca0['push'](_0x45eca0['shift']());}}}(_0xa49d,0x4fbcc));import{View as _0x1de79c}from'ckeditor5/src/ui.js';function _0x5a1c(_0x1663cf,_0x30ac73){const _0xa49dbd=_0xa49d();return _0x5a1c=function(_0x5a1c72,_0xbccf36){_0x5a1c72=_0x5a1c72-0x1eb;let _0x4c4f1d=_0xa49dbd[_0x5a1c72];return _0x4c4f1d;},_0x5a1c(_0x1663cf,_0x30ac73);}export default class tt extends _0x1de79c{constructor(_0x2534f2,_0x7ce046){const _0x40cd8e=_0x5a1c;super(_0x2534f2);const _0xb0c621=this[_0x40cd8e(0x1eb)];this[_0x40cd8e(0x1f5)](_0x40cd8e(0x1ef),''),this[_0x40cd8e(0x1fa)]({'tag':_0x40cd8e(0x1f2),'attributes':{..._0x7ce046,'class':[_0x40cd8e(0x1f3),_0x40cd8e(0x1fd)],'ctx-name':_0x40cd8e(0x1fc),'cdn-url':_0xb0c621['to'](_0x40cd8e(0x1ef))}});}}function _0xa49d(){const _0x23919d=['18mPxlUs','image-edit','ck-uploadcare-theme','bindTemplate','160464hhNESn','396525McwRXF','14979074ojvmzD','imageSrc','418686otrkzO','162050JsdVQy','uc-cloud-image-editor','uc-light','10uLeQQp','set','35RofgOU','10895onpREh','2775059VWTjcX','8dKJWbE','setTemplate'];_0xa49d=function(){return _0x23919d;};return _0xa49d();}
23
+ (function(_0x1d673b,_0x870a13){const _0x2537b9=_0x1979,_0xa1e6c0=_0x1d673b();while(!![]){try{const _0x48cb6b=-parseInt(_0x2537b9(0x155))/0x1*(parseInt(_0x2537b9(0x14b))/0x2)+parseInt(_0x2537b9(0x150))/0x3+-parseInt(_0x2537b9(0x151))/0x4+parseInt(_0x2537b9(0x14c))/0x5+parseInt(_0x2537b9(0x14f))/0x6*(parseInt(_0x2537b9(0x14d))/0x7)+parseInt(_0x2537b9(0x157))/0x8+-parseInt(_0x2537b9(0x156))/0x9*(parseInt(_0x2537b9(0x152))/0xa);if(_0x48cb6b===_0x870a13)break;else _0xa1e6c0['push'](_0xa1e6c0['shift']());}catch(_0x211ba0){_0xa1e6c0['push'](_0xa1e6c0['shift']());}}}(_0x3486,0x6b827));function _0x1979(_0x183222,_0x23bdd8){const _0x3486ea=_0x3486();return _0x1979=function(_0x197925,_0x23990d){_0x197925=_0x197925-0x146;let _0x18fc6a=_0x3486ea[_0x197925];return _0x18fc6a;},_0x1979(_0x183222,_0x23bdd8);}import{View as _0x4e3172}from'ckeditor5/src/ui.js';function _0x3486(){const _0x3dc4a2=['10JDEPdU','set','bindTemplate','1WCyIUz','6948198ALUfbL','6275216EyBDSg','imageSrc','image-edit','setTemplate','uc-cloud-image-editor','ck-uploadcare-theme','626440tzJSor','812745FWUxPm','14eMBWVu','uc-light','1676694trNGwD','2229258oYOTjL','2893336RjDrNe'];_0x3486=function(){return _0x3dc4a2;};return _0x3486();}export default class tt extends _0x4e3172{constructor(_0x35d98d,_0x522ad4){const _0x7fa5be=_0x1979;super(_0x35d98d);const _0x28de15=this[_0x7fa5be(0x154)];this[_0x7fa5be(0x153)](_0x7fa5be(0x146),''),this[_0x7fa5be(0x148)]({'tag':_0x7fa5be(0x149),'attributes':{..._0x522ad4,'class':[_0x7fa5be(0x14e),_0x7fa5be(0x14a)],'ctx-name':_0x7fa5be(0x147),'cdn-url':_0x28de15['to'](_0x7fa5be(0x146))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4741a7,IconView as et,View as _0xa6ccb4}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0xa6ccb4{constructor(_0x800603){super(_0x800603);const t=_0x800603['t'];this['set']('errorType',null);const _0x10f8d8=new _0x4741a7(_0x800603);_0x10f8d8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x10f8d8['withText']=!0x0,_0x10f8d8['class']='ck-button-action',_0x10f8d8['on']('execute',()=>{this['fire']('retry');}),_0x10f8d8['bind']('isVisible')['to'](this,'errorType',_0x577e00=>'NotFound'!==_0x577e00);const _0x58813c=new et();_0x58813c['content']=at,_0x58813c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a6dce=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':[_0x58813c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a6dce['to']('errorType',_0xdc8eda=>t('NotFound'!==_0xdc8eda?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x10f8d8]},{'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 _0x327633,IconView as et,View as _0x21e843}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x21e843{constructor(_0x3647ad){super(_0x3647ad);const t=_0x3647ad['t'];this['set']('errorType',null);const _0xb3713b=new _0x327633(_0x3647ad);_0xb3713b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xb3713b['withText']=!0x0,_0xb3713b['class']='ck-button-action',_0xb3713b['on']('execute',()=>{this['fire']('retry');}),_0xb3713b['bind']('isVisible')['to'](this,'errorType',_0x5b4dd0=>'NotFound'!==_0x5b4dd0);const _0x2616bc=new et();_0x2616bc['content']=at,_0x2616bc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5cad5f=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':[_0x2616bc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5cad5f['to']('errorType',_0xeaeb3d=>t('NotFound'!==_0xeaeb3d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xb3713b]},{'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 _0x41d656,View as _0x553b29}from'ckeditor5/src/ui.js';export default class ta extends _0x553b29{constructor(_0x22c732){super(_0x22c732);const t=_0x22c732['t'],_0x144c21=this['bindTemplate'],_0x1d83a5=new _0x41d656();_0x1d83a5['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':[_0x1d83a5,{'text':_0x144c21['to']('imageUploadProgress',_0x2cdf21=>t('Loading\x20image...')+'\x20('+(_0x2cdf21||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 _0x3a401a,View as _0x443842}from'ckeditor5/src/ui.js';export default class ta extends _0x443842{constructor(_0x2d75d4){super(_0x2d75d4);const t=_0x2d75d4['t'],_0x1d900a=this['bindTemplate'],_0x380d08=new _0x3a401a();_0x380d08['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':[_0x380d08,{'text':_0x1d900a['to']('imageUploadProgress',_0x2cad2c=>t('Loading\x20image...')+'\x20('+(_0x2cad2c||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 _0xa9d4f=_0x568d;(function(_0xc6874,_0x5d6a87){const _0x86272a=_0x568d,_0x41998d=_0xc6874();while(!![]){try{const _0x45df38=-parseInt(_0x86272a(0x1ce))/0x1*(parseInt(_0x86272a(0x1cc))/0x2)+parseInt(_0x86272a(0x1a1))/0x3+-parseInt(_0x86272a(0x1a5))/0x4+-parseInt(_0x86272a(0x1b0))/0x5*(-parseInt(_0x86272a(0x1a0))/0x6)+parseInt(_0x86272a(0x1c9))/0x7*(parseInt(_0x86272a(0x1b7))/0x8)+parseInt(_0x86272a(0x1bb))/0x9*(parseInt(_0x86272a(0x1a2))/0xa)+-parseInt(_0x86272a(0x1d5))/0xb;if(_0x45df38===_0x5d6a87)break;else _0x41998d['push'](_0x41998d['shift']());}catch(_0x44c849){_0x41998d['push'](_0x41998d['shift']());}}}(_0x2ee0,0xdce4f));import{View as _0x4e06d1}from'ckeditor5/src/ui.js';import _0x2517f0 from'./uploadcareimageeditformloadingview.js';import _0x364d28 from'./uploadcareimageeditformerrorview.js';import _0x47dc28 from'./uploadcareimageeditformeditingview.js';import _0x1672aa from'../../utils/dialogfocusmanagerview.js';function _0x2ee0(){const _0x27556f=['_waitForImageEditorComponent','render','_setView','cdnUrl','450EYzmCJ','div','addEventListener','detail','target','uc-cloud-image-editor','add','1784clsimn','_items','clear','once','9RHUFFH','observe','addedNodes','setTemplate','element','nodeName','_loadingView','uploading','length','toLowerCase','getFocusableElement','filter','retry','apply','35063FzotFx','focus','error','1205258aUhvtK','ck-reset_all-excluded','1PyCXXV','_editingView','change:status','_addErrorViewListeners','status','cancel','ck-uploadcare-form','36399638wWnuxD','createCollection','_addUploadcareImageEditorListeners','63324xvQbUP','5092941GVWkjI','17638340suxgpd','querySelector','_focusableView','2847512RcCGYi','_errorView','fire','ready','disconnect','addMany','set'];_0x2ee0=function(){return _0x27556f;};return _0x2ee0();}function _0x568d(_0x207226,_0x54505b){const _0x2ee0bf=_0x2ee0();return _0x568d=function(_0x568d65,_0x789bcb){_0x568d65=_0x568d65-0x19e;let _0x18d839=_0x2ee0bf[_0x568d65];return _0x18d839;},_0x568d(_0x207226,_0x54505b);}import'../../../theme/uploadcare-form.css';export default class ii extends _0x1672aa{constructor(_0x47166e,_0x1a9456,_0x457482){const _0x26a0cc=_0x568d;super(_0x47166e),this[_0x26a0cc(0x1b8)]=this[_0x26a0cc(0x19e)](),this[_0x26a0cc(0x1c1)]=new _0x2517f0(_0x47166e),this[_0x26a0cc(0x1a6)]=new _0x364d28(_0x47166e),this[_0x26a0cc(0x1cf)]=new _0x47dc28(_0x47166e,_0x457482),this[_0x26a0cc(0x1a4)]=new _0x4e06d1(_0x47166e),this[_0x26a0cc(0x1a4)][_0x26a0cc(0x1be)](this[_0x26a0cc(0x1c5)]()),this[_0x26a0cc(0x1ab)](_0x26a0cc(0x1d2),_0x1a9456),this[_0x26a0cc(0x1be)]({'tag':_0x26a0cc(0x1b1),'attributes':{'class':['ck',_0x26a0cc(0x1cd),_0x26a0cc(0x1d4)],'tabindex':'-1'},'children':this[_0x26a0cc(0x1b8)]}),this[_0x26a0cc(0x1ae)](),this[_0x26a0cc(0x1ba)](_0x26a0cc(0x1ad),()=>{const _0x30240b=_0x26a0cc;this[_0x30240b(0x1ac)](this[_0x30240b(0x1bf)],_0x356034=>{const _0x2e6aa6=_0x30240b;this[_0x2e6aa6(0x19f)](_0x356034);});}),this['on'](_0x26a0cc(0x1d0),()=>{const _0x150535=_0x26a0cc;this[_0x150535(0x1ae)]();}),this[_0x26a0cc(0x1d1)]();}[_0xa9d4f(0x1ca)](){const _0x1d4b4a=_0xa9d4f;this[_0x1d4b4a(0x1bf)][_0x1d4b4a(0x1ca)]();}[_0xa9d4f(0x1ae)](){const _0x21ac6e=_0xa9d4f;switch(this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1b9)](),this[_0x21ac6e(0x1d2)]){case _0x21ac6e(0x1c2):this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1b6)](this[_0x21ac6e(0x1c1)]);break;case _0x21ac6e(0x1cb):this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1b6)](this[_0x21ac6e(0x1a6)]);break;case _0x21ac6e(0x1a8):this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1aa)]([this[_0x21ac6e(0x1cf)],this[_0x21ac6e(0x1a4)]]);}}[_0xa9d4f(0x1ac)](_0x2ad590,_0x44cf7c){const _0x1aaa1b=_0xa9d4f,_0x237640=_0x1aaa1b(0x1b5),_0x5a4748=_0x2ad590[_0x1aaa1b(0x1a3)](_0x237640);if(_0x5a4748)return _0x44cf7c(_0x5a4748);const _0x647fb=new MutationObserver(_0x191188=>{const _0x320cd6=_0x1aaa1b,_0x24c989=_0x191188[_0x320cd6(0x1c6)](_0x47f96f=>_0x47f96f[_0x320cd6(0x1b4)]===_0x2ad590&&_0x47f96f[_0x320cd6(0x1bd)][_0x320cd6(0x1c3)]>0x0&&_0x47f96f[_0x320cd6(0x1bd)][0x0][_0x320cd6(0x1c0)][_0x320cd6(0x1c4)]()===_0x237640);_0x24c989[_0x320cd6(0x1c3)]&&(_0x647fb[_0x320cd6(0x1a9)](),_0x44cf7c(_0x24c989[0x0][_0x320cd6(0x1bd)][0x0]));});_0x647fb[_0x1aaa1b(0x1bc)](_0x2ad590,{'childList':!0x0,'subtree':!0x0});}[_0xa9d4f(0x19f)](_0x3c990a){const _0x2963b3=_0xa9d4f;_0x3c990a[_0x2963b3(0x1b2)](_0x2963b3(0x1c8),_0x37a3c3=>{const _0xb4ec82=_0x2963b3;this[_0xb4ec82(0x1a7)](_0xb4ec82(0x1c8),{'imageSrc':_0x37a3c3[_0xb4ec82(0x1b3)][_0xb4ec82(0x1af)]});}),_0x3c990a[_0x2963b3(0x1b2)](_0x2963b3(0x1d3),()=>{const _0x2b1ad6=_0x2963b3;this[_0x2b1ad6(0x1a7)](_0x2b1ad6(0x1d3));});}[_0xa9d4f(0x1d1)](){const _0x275334=_0xa9d4f;this[_0x275334(0x1a6)]['on'](_0x275334(0x1c7),()=>{const _0x4f4b78=_0x275334;this[_0x4f4b78(0x1a7)](_0x4f4b78(0x1c7));});}}
23
+ const _0x599b0d=_0x35cb;function _0x35cb(_0x1fca23,_0x266c41){const _0x4eaece=_0x4eae();return _0x35cb=function(_0x35cb0c,_0x2dec3e){_0x35cb0c=_0x35cb0c-0xc6;let _0x15b146=_0x4eaece[_0x35cb0c];return _0x15b146;},_0x35cb(_0x1fca23,_0x266c41);}function _0x4eae(){const _0x5ea870=['createCollection','uc-cloud-image-editor','cancel','addMany','8xRHefr','detail','toLowerCase','apply','once','length','disconnect','_setView','change:status','_waitForImageEditorComponent','fire','_loadingView','error','_addUploadcareImageEditorListeners','filter','ck-reset_all-excluded','render','4cHrVkk','3051366wgsBJo','set','nodeName','add','getFocusableElement','_editingView','1082109LjRIFo','1475415bPjgMZ','status','uploading','_items','_focusableView','660306wuQRMl','1901735NuPedJ','target','observe','setTemplate','ready','cdnUrl','focus','querySelector','div','clear','295618JjcsIS','addEventListener','ck-uploadcare-form','1279359rvvzaH','addedNodes','retry','element','_addErrorViewListeners','_errorView'];_0x4eae=function(){return _0x5ea870;};return _0x4eae();}(function(_0x30b38c,_0x43155b){const _0x486f58=_0x35cb,_0x2d675f=_0x30b38c();while(!![]){try{const _0x1b08c3=parseInt(_0x486f58(0xf9))/0x1+-parseInt(_0x486f58(0xee))/0x2+parseInt(_0x486f58(0xc6))/0x3*(parseInt(_0x486f58(0xe1))/0x4)+parseInt(_0x486f58(0xef))/0x5+-parseInt(_0x486f58(0xe2))/0x6+parseInt(_0x486f58(0xe8))/0x7*(parseInt(_0x486f58(0xd0))/0x8)+-parseInt(_0x486f58(0xe9))/0x9;if(_0x1b08c3===_0x43155b)break;else _0x2d675f['push'](_0x2d675f['shift']());}catch(_0x195fe9){_0x2d675f['push'](_0x2d675f['shift']());}}}(_0x4eae,0x3e194));import{View as _0x33f18f}from'ckeditor5/src/ui.js';import _0x26d2b8 from'./uploadcareimageeditformloadingview.js';import _0x41e548 from'./uploadcareimageeditformerrorview.js';import _0x174fa5 from'./uploadcareimageeditformeditingview.js';import _0x2aaff4 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x2aaff4{constructor(_0x2f5302,_0x185e5d,_0x293bd3){const _0x1aac0a=_0x35cb;super(_0x2f5302),this[_0x1aac0a(0xec)]=this[_0x1aac0a(0xcc)](),this[_0x1aac0a(0xdb)]=new _0x26d2b8(_0x2f5302),this[_0x1aac0a(0xcb)]=new _0x41e548(_0x2f5302),this[_0x1aac0a(0xe7)]=new _0x174fa5(_0x2f5302,_0x293bd3),this[_0x1aac0a(0xed)]=new _0x33f18f(_0x2f5302),this[_0x1aac0a(0xed)][_0x1aac0a(0xf2)](this[_0x1aac0a(0xe6)]()),this[_0x1aac0a(0xe3)](_0x1aac0a(0xea),_0x185e5d),this[_0x1aac0a(0xf2)]({'tag':_0x1aac0a(0xf7),'attributes':{'class':['ck',_0x1aac0a(0xdf),_0x1aac0a(0xfb)],'tabindex':'-1'},'children':this[_0x1aac0a(0xec)]}),this[_0x1aac0a(0xd7)](),this[_0x1aac0a(0xd4)](_0x1aac0a(0xe0),()=>{const _0x33f160=_0x1aac0a;this[_0x33f160(0xd9)](this[_0x33f160(0xc9)],_0x3fac6b=>{const _0x289299=_0x33f160;this[_0x289299(0xdd)](_0x3fac6b);});}),this['on'](_0x1aac0a(0xd8),()=>{const _0x5ed6e8=_0x1aac0a;this[_0x5ed6e8(0xd7)]();}),this[_0x1aac0a(0xca)]();}[_0x599b0d(0xf5)](){const _0x2eb0e0=_0x599b0d;this[_0x2eb0e0(0xc9)][_0x2eb0e0(0xf5)]();}[_0x599b0d(0xd7)](){const _0x1f2ca0=_0x599b0d;switch(this[_0x1f2ca0(0xec)][_0x1f2ca0(0xf8)](),this[_0x1f2ca0(0xea)]){case _0x1f2ca0(0xeb):this[_0x1f2ca0(0xec)][_0x1f2ca0(0xe5)](this[_0x1f2ca0(0xdb)]);break;case _0x1f2ca0(0xdc):this[_0x1f2ca0(0xec)][_0x1f2ca0(0xe5)](this[_0x1f2ca0(0xcb)]);break;case _0x1f2ca0(0xf3):this[_0x1f2ca0(0xec)][_0x1f2ca0(0xcf)]([this[_0x1f2ca0(0xe7)],this[_0x1f2ca0(0xed)]]);}}[_0x599b0d(0xd9)](_0x25982f,_0xb13704){const _0x2d87a1=_0x599b0d,_0x4a8a6a=_0x2d87a1(0xcd),_0x182983=_0x25982f[_0x2d87a1(0xf6)](_0x4a8a6a);if(_0x182983)return _0xb13704(_0x182983);const _0x37e69a=new MutationObserver(_0x5d66c5=>{const _0x4ad04e=_0x2d87a1,_0x1f8684=_0x5d66c5[_0x4ad04e(0xde)](_0xc9f966=>_0xc9f966[_0x4ad04e(0xf0)]===_0x25982f&&_0xc9f966[_0x4ad04e(0xc7)][_0x4ad04e(0xd5)]>0x0&&_0xc9f966[_0x4ad04e(0xc7)][0x0][_0x4ad04e(0xe4)][_0x4ad04e(0xd2)]()===_0x4a8a6a);_0x1f8684[_0x4ad04e(0xd5)]&&(_0x37e69a[_0x4ad04e(0xd6)](),_0xb13704(_0x1f8684[0x0][_0x4ad04e(0xc7)][0x0]));});_0x37e69a[_0x2d87a1(0xf1)](_0x25982f,{'childList':!0x0,'subtree':!0x0});}[_0x599b0d(0xdd)](_0x20dfd1){const _0x200c6d=_0x599b0d;_0x20dfd1[_0x200c6d(0xfa)](_0x200c6d(0xd3),_0x33c8e2=>{const _0x128c34=_0x200c6d;this[_0x128c34(0xda)](_0x128c34(0xd3),{'imageSrc':_0x33c8e2[_0x128c34(0xd1)][_0x128c34(0xf4)]});}),_0x20dfd1[_0x200c6d(0xfa)](_0x200c6d(0xce),()=>{const _0x80f2ef=_0x200c6d;this[_0x80f2ef(0xda)](_0x80f2ef(0xce));});}[_0x599b0d(0xca)](){const _0x31b536=_0x599b0d;this[_0x31b536(0xcb)]['on'](_0x31b536(0xc8),()=>{const _0x1304e0=_0x31b536;this[_0x1304e0(0xda)](_0x1304e0(0xc8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x572796=_0x59ef;(function(_0x5d03b1,_0x28286e){const _0x5e3d29=_0x59ef,_0x40ac1a=_0x5d03b1();while(!![]){try{const _0x14a36c=-parseInt(_0x5e3d29(0x16c))/0x1*(-parseInt(_0x5e3d29(0x169))/0x2)+-parseInt(_0x5e3d29(0x172))/0x3+parseInt(_0x5e3d29(0x170))/0x4*(-parseInt(_0x5e3d29(0x16a))/0x5)+-parseInt(_0x5e3d29(0x156))/0x6+-parseInt(_0x5e3d29(0x15a))/0x7+-parseInt(_0x5e3d29(0x162))/0x8+parseInt(_0x5e3d29(0x15f))/0x9*(parseInt(_0x5e3d29(0x16e))/0xa);if(_0x14a36c===_0x28286e)break;else _0x40ac1a['push'](_0x40ac1a['shift']());}catch(_0x459e01){_0x40ac1a['push'](_0x40ac1a['shift']());}}}(_0x3d4e,0xee8e4));import{Command as _0x24b58a}from'ckeditor5/src/core.js';import{Dialog as _0x3568e4}from'ckeditor5/src/ui.js';import _0x556ed0 from'./ui/uploadcareimageeditcontroller.js';function _0x59ef(_0x1df0ba,_0xd69370){const _0x3d4e2b=_0x3d4e();return _0x59ef=function(_0x59ef08,_0x4ccd05){_0x59ef08=_0x59ef08-0x155;let _0x3d5d84=_0x3d4e2b[_0x59ef08];return _0x3d5d84;},_0x59ef(_0x1df0ba,_0xd69370);}function _0x3d4e(){const _0x38c069=['_isEditable','execute','document','9CcTpNP','getSelectedElement','selection','2034928cbWRBz','refresh','imageEditController','requires','element','bind','imageBlock','2568290hdeTEc','5BGiakZ','isEnabled','1XZwqaH','editor','26266510LnwNXR','uploadcare.allowExternalImagesEditing','6343556yQVuYQ','set','446658NStHxb','config','unbind','isActive','1447674LkAinu','model','get','plugins','4922764yofRVK','imageInline'];_0x3d4e=function(){return _0x38c069;};return _0x3d4e();}import{createEditabilityChecker as _0x4728f7}from'../utils/editingutils.js';export default class W extends _0x24b58a{static get[_0x572796(0x165)](){return[_0x3568e4];}constructor(_0x559380){const _0x7f356c=_0x572796;super(_0x559380),this[_0x7f356c(0x164)]=void 0x0,this[_0x7f356c(0x15c)]=_0x4728f7(_0x559380[_0x7f356c(0x173)][_0x7f356c(0x158)](_0x7f356c(0x16f))||[]),this[_0x7f356c(0x171)]({'isActive':!0x1});}[_0x572796(0x163)](){const _0x5461cd=_0x572796,_0x23c986=this[_0x5461cd(0x16d)][_0x5461cd(0x157)][_0x5461cd(0x15e)][_0x5461cd(0x161)][_0x5461cd(0x160)]();this[_0x5461cd(0x16b)]=this[_0x5461cd(0x15c)](_0x23c986);}[_0x572796(0x15d)](){const _0x12b2fb=_0x572796;this[_0x12b2fb(0x164)]&&(this[_0x12b2fb(0x174)](_0x12b2fb(0x155)),this[_0x12b2fb(0x164)]=void 0x0);const _0x1dcbbd=this[_0x12b2fb(0x16d)][_0x12b2fb(0x157)][_0x12b2fb(0x15e)][_0x12b2fb(0x161)][_0x12b2fb(0x160)]();_0x1dcbbd&&(_0x1dcbbd['is'](_0x12b2fb(0x166),_0x12b2fb(0x168))||_0x1dcbbd['is'](_0x12b2fb(0x166),_0x12b2fb(0x15b)))&&(this[_0x12b2fb(0x164)]=new _0x556ed0(this[_0x12b2fb(0x16d)],this[_0x12b2fb(0x16d)][_0x12b2fb(0x159)][_0x12b2fb(0x158)](_0x3568e4),_0x1dcbbd),this[_0x12b2fb(0x167)](_0x12b2fb(0x155))['to'](this[_0x12b2fb(0x164)],_0x12b2fb(0x155)));}}
23
+ const _0x21f447=_0x3ec4;function _0x328f(){const _0x305f98=['_isEditable','selection','get','plugins','uploadcare.allowExternalImagesEditing','6905825yIeWco','set','element','document','26984030QJLPzf','318qhfNOT','imageEditController','2907891NeZDdR','bind','config','unbind','isActive','model','imageBlock','629003sXJqhC','refresh','8VvBhZK','123137TYsEbq','imageInline','16muqTax','1164178PbwdaD','editor','592356TEKwEy','isEnabled','execute','getSelectedElement','requires'];_0x328f=function(){return _0x305f98;};return _0x328f();}(function(_0x34ea72,_0x5e5b5e){const _0x983b23=_0x3ec4,_0x2a2845=_0x34ea72();while(!![]){try{const _0x1ba1ab=-parseInt(_0x983b23(0x1d2))/0x1+-parseInt(_0x983b23(0x1d8))/0x2+parseInt(_0x983b23(0x1da))/0x3*(-parseInt(_0x983b23(0x1d7))/0x4)+parseInt(_0x983b23(0x1e4))/0x5+parseInt(_0x983b23(0x1e9))/0x6*(-parseInt(_0x983b23(0x1d5))/0x7)+parseInt(_0x983b23(0x1d4))/0x8*(-parseInt(_0x983b23(0x1eb))/0x9)+parseInt(_0x983b23(0x1e8))/0xa;if(_0x1ba1ab===_0x5e5b5e)break;else _0x2a2845['push'](_0x2a2845['shift']());}catch(_0x574ff7){_0x2a2845['push'](_0x2a2845['shift']());}}}(_0x328f,0xc8fce));import{Command as _0x4f5294}from'ckeditor5/src/core.js';import{Dialog as _0x28de90}from'ckeditor5/src/ui.js';import _0x95fba4 from'./ui/uploadcareimageeditcontroller.js';function _0x3ec4(_0x2e644f,_0x27ad99){const _0x328f4c=_0x328f();return _0x3ec4=function(_0x3ec462,_0x2f7502){_0x3ec462=_0x3ec462-0x1cf;let _0x1e2bb5=_0x328f4c[_0x3ec462];return _0x1e2bb5;},_0x3ec4(_0x2e644f,_0x27ad99);}import{createEditabilityChecker as _0x32060a}from'../utils/editingutils.js';export default class J extends _0x4f5294{static get[_0x21f447(0x1de)](){return[_0x28de90];}constructor(_0x36a560){const _0x3dc5e5=_0x21f447;super(_0x36a560),this[_0x3dc5e5(0x1ea)]=void 0x0,this[_0x3dc5e5(0x1df)]=_0x32060a(_0x36a560[_0x3dc5e5(0x1ed)][_0x3dc5e5(0x1e1)](_0x3dc5e5(0x1e3))||[]),this[_0x3dc5e5(0x1e5)]({'isActive':!0x1});}[_0x21f447(0x1d3)](){const _0x5c3afb=_0x21f447,_0x18a24e=this[_0x5c3afb(0x1d9)][_0x5c3afb(0x1d0)][_0x5c3afb(0x1e7)][_0x5c3afb(0x1e0)][_0x5c3afb(0x1dd)]();this[_0x5c3afb(0x1db)]=this[_0x5c3afb(0x1df)](_0x18a24e);}[_0x21f447(0x1dc)](){const _0x222f30=_0x21f447;this[_0x222f30(0x1ea)]&&(this[_0x222f30(0x1ee)](_0x222f30(0x1cf)),this[_0x222f30(0x1ea)]=void 0x0);const _0x87134d=this[_0x222f30(0x1d9)][_0x222f30(0x1d0)][_0x222f30(0x1e7)][_0x222f30(0x1e0)][_0x222f30(0x1dd)]();_0x87134d&&(_0x87134d['is'](_0x222f30(0x1e6),_0x222f30(0x1d1))||_0x87134d['is'](_0x222f30(0x1e6),_0x222f30(0x1d6)))&&(this[_0x222f30(0x1ea)]=new _0x95fba4(this[_0x222f30(0x1d9)],this[_0x222f30(0x1d9)][_0x222f30(0x1e2)][_0x222f30(0x1e1)](_0x28de90),_0x87134d),this[_0x222f30(0x1ec)](_0x222f30(0x1cf))['to'](this[_0x222f30(0x1ea)],_0x222f30(0x1cf)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd97643=_0x57e3;(function(_0x567219,_0x3f2112){const _0x415f2c=_0x57e3,_0x1b4ac6=_0x567219();while(!![]){try{const _0xeb5158=-parseInt(_0x415f2c(0x1e9))/0x1+-parseInt(_0x415f2c(0x1e0))/0x2*(parseInt(_0x415f2c(0x1da))/0x3)+-parseInt(_0x415f2c(0x1e4))/0x4+parseInt(_0x415f2c(0x1ed))/0x5*(-parseInt(_0x415f2c(0x1ee))/0x6)+parseInt(_0x415f2c(0x1dc))/0x7+parseInt(_0x415f2c(0x1e6))/0x8*(-parseInt(_0x415f2c(0x1dd))/0x9)+parseInt(_0x415f2c(0x1db))/0xa;if(_0xeb5158===_0x3f2112)break;else _0x1b4ac6['push'](_0x1b4ac6['shift']());}catch(_0x45ef87){_0x1b4ac6['push'](_0x1b4ac6['shift']());}}}(_0x5e60,0x28381));import{Plugin as _0x25503c}from'ckeditor5/src/core.js';import{Notification as _0x16aacb}from'ckeditor5/src/ui.js';import _0x1c02b8 from'./uploadcareimageeditcommand.js';function _0x57e3(_0x49b906,_0x4509d5){const _0x5e603f=_0x5e60();return _0x57e3=function(_0x57e391,_0x286b9e){_0x57e391=_0x57e391-0x1d9;let _0x1f06d7=_0x5e603f[_0x57e391];return _0x1f06d7;},_0x57e3(_0x49b906,_0x4509d5);}import _0x36f50f from'./uploadcareimagereplacecommand.js';import _0x3264ac from'../uploadcareediting.js';function _0x5e60(){const _0x516f59=['ImageUtils','254nRUabx','UploadcareImageEditEditing','isPremiumPlugin','ImageEditing','617196WvuoKp','uploadcareImageEdit','512WdSPiS','requires','commands','241624zSwfKr','pluginName','isOfficialPlugin','init','85865QMsInb','84MbIZeT','uploadcareImageReplace','4449HBvurM','11983760uDjPjh','289457JAYeTs','35199lJPHqv','add'];_0x5e60=function(){return _0x516f59;};return _0x5e60();}export default class m extends _0x25503c{static get[_0xd97643(0x1ea)](){const _0x8b4e7e=_0xd97643;return _0x8b4e7e(0x1e1);}static get[_0xd97643(0x1e7)](){const _0x211498=_0xd97643;return[_0x3264ac,_0x16aacb,_0x211498(0x1df),_0x211498(0x1e3)];}static get[_0xd97643(0x1eb)](){return!0x0;}static get[_0xd97643(0x1e2)](){return!0x0;}[_0xd97643(0x1ec)](){const _0x31d8c7=_0xd97643,{editor:_0x24d4af}=this;_0x24d4af[_0x31d8c7(0x1e8)][_0x31d8c7(0x1de)](_0x31d8c7(0x1e5),new _0x1c02b8(_0x24d4af)),_0x24d4af[_0x31d8c7(0x1e8)][_0x31d8c7(0x1de)](_0x31d8c7(0x1d9),new _0x36f50f(_0x24d4af));}}
23
+ const _0x246243=_0x5ddf;(function(_0x2e1ce0,_0x4498b1){const _0x3bcf54=_0x5ddf,_0x2f58a6=_0x2e1ce0();while(!![]){try{const _0x4a1748=-parseInt(_0x3bcf54(0x68))/0x1*(parseInt(_0x3bcf54(0x72))/0x2)+parseInt(_0x3bcf54(0x6e))/0x3+parseInt(_0x3bcf54(0x6f))/0x4*(parseInt(_0x3bcf54(0x77))/0x5)+-parseInt(_0x3bcf54(0x7b))/0x6+parseInt(_0x3bcf54(0x78))/0x7+parseInt(_0x3bcf54(0x71))/0x8+-parseInt(_0x3bcf54(0x76))/0x9*(parseInt(_0x3bcf54(0x7c))/0xa);if(_0x4a1748===_0x4498b1)break;else _0x2f58a6['push'](_0x2f58a6['shift']());}catch(_0x2fe3df){_0x2f58a6['push'](_0x2f58a6['shift']());}}}(_0xc36a,0x610bb));import{Plugin as _0x3b5da4}from'ckeditor5/src/core.js';import{Notification as _0x530a98}from'ckeditor5/src/ui.js';import _0x2d5db1 from'./uploadcareimageeditcommand.js';function _0x5ddf(_0x39ad38,_0x1f8001){const _0xc36a77=_0xc36a();return _0x5ddf=function(_0x5ddf55,_0x37b8be){_0x5ddf55=_0x5ddf55-0x67;let _0x449603=_0xc36a77[_0x5ddf55];return _0x449603;},_0x5ddf(_0x39ad38,_0x1f8001);}import _0x155376 from'./uploadcareimagereplacecommand.js';import _0x54facf from'../uploadcareediting.js';export default class m extends _0x3b5da4{static get[_0x246243(0x69)](){const _0x5a9218=_0x246243;return _0x5a9218(0x74);}static get[_0x246243(0x70)](){const _0x4f199a=_0x246243;return[_0x54facf,_0x530a98,_0x4f199a(0x6c),_0x4f199a(0x79)];}static get[_0x246243(0x6d)](){return!0x0;}static get[_0x246243(0x6b)](){return!0x0;}[_0x246243(0x67)](){const _0x1bb06c=_0x246243,{editor:_0x1ff930}=this;_0x1ff930[_0x1bb06c(0x73)][_0x1bb06c(0x75)](_0x1bb06c(0x7a),new _0x2d5db1(_0x1ff930)),_0x1ff930[_0x1bb06c(0x73)][_0x1bb06c(0x75)](_0x1bb06c(0x6a),new _0x155376(_0x1ff930));}}function _0xc36a(){const _0x18606c=['requires','3169824nruIXO','272370SyItio','commands','UploadcareImageEditEditing','add','4004604RenzzM','5FrZimp','3813579idWTwV','ImageEditing','uploadcareImageEdit','1599132Inyiza','20VxuaZd','init','1qafTFb','pluginName','uploadcareImageReplace','isPremiumPlugin','ImageUtils','isOfficialPlugin','1897398ySTnBc','466508ofcSxQ'];_0xc36a=function(){return _0x18606c;};return _0xc36a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3e75b9}from'ckeditor5/src/core.js';import{ButtonView as _0x3628b5}from'ckeditor5/src/ui.js';import{createElement as _0x5719b6}from'ckeditor5/src/utils.js';import _0x107249 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 _0x3e75b9{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 _0x5f255d=this['editor'];_0x5f255d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x15e7d2=>{const _0x9a6830=_0x5f255d['commands']['get']('uploadcareImageEdit'),_0x1b06e3=new _0x3628b5(_0x15e7d2),t=_0x15e7d2['t'];return _0x1b06e3['set']({'icon':_0x107249,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b06e3['bind']('isEnabled')['to'](_0x9a6830),_0x1b06e3['bind']('isOn')['to'](_0x9a6830,'isActive'),this['listenTo'](_0x1b06e3,'execute',()=>{_0x5f255d['execute']('uploadcareImageEdit'),_0x5f255d['editing']['view']['focus']();}),_0x1b06e3;}),this['_initConfig']();}['_initConfig'](){const _0x5f1ce0=_0x5719b6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5f1ce0),this['listenTo'](this['editor'],'destroy',()=>{_0x5f1ce0['remove']();});}}
23
+ import{Plugin as _0x3b6d43}from'ckeditor5/src/core.js';import{ButtonView as _0x52554b}from'ckeditor5/src/ui.js';import{createElement as _0x5e8d9b}from'ckeditor5/src/utils.js';import _0x1f5df7 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 _0x3b6d43{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 _0x348471=this['editor'];_0x348471['ui']['componentFactory']['add']('uploadcareImageEdit',_0x154788=>{const _0x41b03c=_0x348471['commands']['get']('uploadcareImageEdit'),_0x1ff29e=new _0x52554b(_0x154788),t=_0x154788['t'];return _0x1ff29e['set']({'icon':_0x1f5df7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1ff29e['bind']('isEnabled')['to'](_0x41b03c),_0x1ff29e['bind']('isOn')['to'](_0x41b03c,'isActive'),this['listenTo'](_0x1ff29e,'execute',()=>{_0x348471['execute']('uploadcareImageEdit'),_0x348471['editing']['view']['focus']();}),_0x1ff29e;}),this['_initConfig']();}['_initConfig'](){const _0x55c114=_0x5e8d9b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x55c114),this['listenTo'](this['editor'],'destroy',()=>{_0x55c114['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fdc46=_0x568e;(function(_0x445c78,_0x1a9773){const _0x2c4dcb=_0x568e,_0x2b5141=_0x445c78();while(!![]){try{const _0xfdc080=parseInt(_0x2c4dcb(0x114))/0x1+-parseInt(_0x2c4dcb(0x11c))/0x2*(parseInt(_0x2c4dcb(0x127))/0x3)+parseInt(_0x2c4dcb(0x125))/0x4*(parseInt(_0x2c4dcb(0x117))/0x5)+parseInt(_0x2c4dcb(0x121))/0x6+-parseInt(_0x2c4dcb(0x11a))/0x7*(parseInt(_0x2c4dcb(0x11d))/0x8)+-parseInt(_0x2c4dcb(0x123))/0x9*(parseInt(_0x2c4dcb(0x12b))/0xa)+parseInt(_0x2c4dcb(0x11e))/0xb;if(_0xfdc080===_0x1a9773)break;else _0x2b5141['push'](_0x2b5141['shift']());}catch(_0x1a5828){_0x2b5141['push'](_0x2b5141['shift']());}}}(_0x12f0,0xb4927));function _0x568e(_0x2cef93,_0x25ff36){const _0x12f0b6=_0x12f0();return _0x568e=function(_0x568ed8,_0xebe327){_0x568ed8=_0x568ed8-0x111;let _0xc4692d=_0x12f0b6[_0x568ed8];return _0xc4692d;},_0x568e(_0x2cef93,_0x25ff36);}import{Command as _0x308ea0}from'ckeditor5/src/core.js';function _0x12f0(){const _0x39f10f=['isEnabled','54mXIlKU','removeAttribute','423148IikikE','setAttributes','93XxHKwN','model','imageBlock','getSelectedElement','103810dtDAyX','imageInline','document','sizes','918963oOXbqh','change','execute','20lbOXgD','editor','selection','7wITdnk','element','76094btnHqE','1762736ugZKgG','1826550XJdjgZ','srcset','refresh','4161282bUdRXP'];_0x12f0=function(){return _0x39f10f;};return _0x12f0();}export default class Y extends _0x308ea0{[_0x1fdc46(0x120)](){const _0x41d61e=_0x1fdc46,_0x160feb=this[_0x41d61e(0x118)][_0x41d61e(0x128)][_0x41d61e(0x112)][_0x41d61e(0x119)][_0x41d61e(0x12a)]();this[_0x41d61e(0x122)]=Boolean(_0x160feb&&(_0x160feb['is'](_0x41d61e(0x11b),_0x41d61e(0x129))||_0x160feb['is'](_0x41d61e(0x11b),_0x41d61e(0x111))));}[_0x1fdc46(0x116)](_0x4a707e){const _0x45eb64=_0x1fdc46,_0x14ee07=this[_0x45eb64(0x118)][_0x45eb64(0x128)][_0x45eb64(0x112)][_0x45eb64(0x119)][_0x45eb64(0x12a)]();this[_0x45eb64(0x118)][_0x45eb64(0x128)][_0x45eb64(0x115)](_0x123a76=>{const _0xc3087c=_0x45eb64;_0x123a76[_0xc3087c(0x126)](_0x4a707e,_0x14ee07),_0x123a76[_0xc3087c(0x124)](_0xc3087c(0x11f),_0x14ee07),_0x123a76[_0xc3087c(0x124)](_0xc3087c(0x113),_0x14ee07);});}}
23
+ const _0x480ba3=_0x3352;(function(_0x5db824,_0x4a2d38){const _0x537948=_0x3352,_0x250250=_0x5db824();while(!![]){try{const _0x43044c=parseInt(_0x537948(0x120))/0x1+-parseInt(_0x537948(0x127))/0x2*(-parseInt(_0x537948(0x131))/0x3)+-parseInt(_0x537948(0x128))/0x4*(parseInt(_0x537948(0x11f))/0x5)+parseInt(_0x537948(0x122))/0x6*(-parseInt(_0x537948(0x132))/0x7)+-parseInt(_0x537948(0x12a))/0x8+-parseInt(_0x537948(0x119))/0x9+parseInt(_0x537948(0x11a))/0xa;if(_0x43044c===_0x4a2d38)break;else _0x250250['push'](_0x250250['shift']());}catch(_0x5ce734){_0x250250['push'](_0x250250['shift']());}}}(_0x1658,0xc8076));import{Command as _0x108718}from'ckeditor5/src/core.js';export default class O extends _0x108718{[_0x480ba3(0x12e)](){const _0x2a0beb=_0x480ba3,_0x497dee=this[_0x2a0beb(0x125)][_0x2a0beb(0x123)][_0x2a0beb(0x12f)][_0x2a0beb(0x12c)][_0x2a0beb(0x130)]();this[_0x2a0beb(0x12d)]=Boolean(_0x497dee&&(_0x497dee['is'](_0x2a0beb(0x11c),_0x2a0beb(0x124))||_0x497dee['is'](_0x2a0beb(0x11c),_0x2a0beb(0x11e))));}[_0x480ba3(0x121)](_0xc934d0){const _0x20e09e=_0x480ba3,_0x17853e=this[_0x20e09e(0x125)][_0x20e09e(0x123)][_0x20e09e(0x12f)][_0x20e09e(0x12c)][_0x20e09e(0x130)]();this[_0x20e09e(0x125)][_0x20e09e(0x123)][_0x20e09e(0x11d)](_0x842939=>{const _0x3e0751=_0x20e09e;_0x842939[_0x3e0751(0x126)](_0xc934d0,_0x17853e),_0x842939[_0x3e0751(0x12b)](_0x3e0751(0x11b),_0x17853e),_0x842939[_0x3e0751(0x12b)](_0x3e0751(0x129),_0x17853e);});}}function _0x3352(_0x536167,_0x4e1cbc){const _0x16589f=_0x1658();return _0x3352=function(_0x335291,_0x268a3a){_0x335291=_0x335291-0x119;let _0x1837d3=_0x16589f[_0x335291];return _0x1837d3;},_0x3352(_0x536167,_0x4e1cbc);}function _0x1658(){const _0x17741b=['30008wXJRoj','sizes','7318168HyXXlj','removeAttribute','selection','isEnabled','refresh','document','getSelectedElement','790197TdvJse','291788uzufzG','11358009CWnrbA','40432350abAWDC','srcset','element','change','imageInline','485PbbMYv','542618YTcodo','execute','162yvpDAX','model','imageBlock','editor','setAttributes','2ZOaXAP'];_0x1658=function(){return _0x17741b;};return _0x1658();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa25b(_0x21a447,_0x3c01b2){var _0xa8293c=_0xa829();return _0xa25b=function(_0xa25b66,_0x27b476){_0xa25b66=_0xa25b66-0xc3;var _0x4c317d=_0xa8293c[_0xa25b66];return _0x4c317d;},_0xa25b(_0x21a447,_0x3c01b2);}var _0x16a2b5=_0xa25b;(function(_0x3d4350,_0x1c6d25){var _0x425e43=_0xa25b,_0x3178b6=_0x3d4350();while(!![]){try{var _0x121377=parseInt(_0x425e43(0xc3))/0x1+parseInt(_0x425e43(0xcd))/0x2+-parseInt(_0x425e43(0xca))/0x3+-parseInt(_0x425e43(0xc7))/0x4+-parseInt(_0x425e43(0xc8))/0x5*(-parseInt(_0x425e43(0xc4))/0x6)+-parseInt(_0x425e43(0xc9))/0x7+-parseInt(_0x425e43(0xcb))/0x8;if(_0x121377===_0x1c6d25)break;else _0x3178b6['push'](_0x3178b6['shift']());}catch(_0x41ca14){_0x3178b6['push'](_0x3178b6['shift']());}}}(_0xa829,0x46d0d));import{Plugin as _0x34d2ca}from'ckeditor5/src/core.js';function _0xa829(){var _0x26bd7d=['1763536PggrQX','15tQtYvg','985208BpKCGA','232521tzkqlz','2682544RjsGfm','requires','905620hmGFXi','isOfficialPlugin','UploadcareImageEdit','528149NFdFQN','607110LGlkrG','pluginName','isPremiumPlugin'];_0xa829=function(){return _0x26bd7d;};return _0xa829();}import _0x1ce2ac from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4bd0e0 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x34d2ca{static get[_0x16a2b5(0xc5)](){var _0x26d398=_0x16a2b5;return _0x26d398(0xcf);}static get[_0x16a2b5(0xcc)](){return[_0x1ce2ac,_0x4bd0e0];}static get[_0x16a2b5(0xce)](){return!0x0;}static get[_0x16a2b5(0xc6)](){return!0x0;}}
23
+ function _0x4560(){var _0x40f007=['3800768gpjtCw','854495tWpAis','12GbRcmD','isPremiumPlugin','1130594zRhdqs','UploadcareImageEdit','938522aqhWSN','19999rabLOD','pluginName','requires','30rslLmC','1362npwcTH','isOfficialPlugin','526380PdKWyn','1551843wlZXrf'];_0x4560=function(){return _0x40f007;};return _0x4560();}var _0x181c0f=_0x347d;(function(_0x9854f7,_0x48e545){var _0x3c6d61=_0x347d,_0x3b98e8=_0x9854f7();while(!![]){try{var _0x27981b=parseInt(_0x3c6d61(0xa5))/0x1+parseInt(_0x3c6d61(0xa3))/0x2+parseInt(_0x3c6d61(0x9d))/0x3+parseInt(_0x3c6d61(0xa1))/0x4*(-parseInt(_0x3c6d61(0xa0))/0x5)+parseInt(_0x3c6d61(0x9b))/0x6*(-parseInt(_0x3c6d61(0x97))/0x7)+parseInt(_0x3c6d61(0x9f))/0x8+-parseInt(_0x3c6d61(0x9e))/0x9*(parseInt(_0x3c6d61(0x9a))/0xa);if(_0x27981b===_0x48e545)break;else _0x3b98e8['push'](_0x3b98e8['shift']());}catch(_0x60fe8e){_0x3b98e8['push'](_0x3b98e8['shift']());}}}(_0x4560,0x742d2));import{Plugin as _0x53e129}from'ckeditor5/src/core.js';import _0x43dba7 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xb253b0 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x347d(_0x5ad301,_0x47ca2a){var _0x4560f7=_0x4560();return _0x347d=function(_0x347d46,_0x26951a){_0x347d46=_0x347d46-0x97;var _0xc97d47=_0x4560f7[_0x347d46];return _0xc97d47;},_0x347d(_0x5ad301,_0x47ca2a);}export default class j extends _0x53e129{static get[_0x181c0f(0x98)](){var _0x33f578=_0x181c0f;return _0x33f578(0xa4);}static get[_0x181c0f(0x99)](){return[_0x43dba7,_0xb253b0];}static get[_0x181c0f(0x9c)](){return!0x0;}static get[_0x181c0f(0xa2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21f6(_0x88b34,_0x2aa86d){const _0x3a5430=_0x3a54();return _0x21f6=function(_0x21f660,_0x42d811){_0x21f660=_0x21f660-0x133;let _0x563c17=_0x3a5430[_0x21f660];return _0x563c17;},_0x21f6(_0x88b34,_0x2aa86d);}const _0x4f0934=_0x21f6;(function(_0x57e75a,_0x1e14e7){const _0x46e8bf=_0x21f6,_0x5b056f=_0x57e75a();while(!![]){try{const _0xda9631=-parseInt(_0x46e8bf(0x15a))/0x1*(-parseInt(_0x46e8bf(0x14a))/0x2)+parseInt(_0x46e8bf(0x174))/0x3+-parseInt(_0x46e8bf(0x152))/0x4+-parseInt(_0x46e8bf(0x13d))/0x5+parseInt(_0x46e8bf(0x15c))/0x6+-parseInt(_0x46e8bf(0x154))/0x7*(parseInt(_0x46e8bf(0x182))/0x8)+parseInt(_0x46e8bf(0x156))/0x9;if(_0xda9631===_0x1e14e7)break;else _0x5b056f['push'](_0x5b056f['shift']());}catch(_0x41f5b5){_0x5b056f['push'](_0x5b056f['shift']());}}}(_0x3a54,0xeaf02));import{Plugin as _0x21ed00,icons as _0x8084b0}from'ckeditor5/src/core.js';import{ButtonView as _0x2980d5,MenuBarMenuListItemButtonView as _0x3a2613}from'ckeditor5/src/ui.js';import _0x195bef from'../theme/icons/dropbox.svg';import _0xeb8ee6 from'../theme/icons/facebook.svg';import _0x3e6deb from'../theme/icons/google-drive.svg';import _0x518616 from'../theme/icons/google-photos.svg';import _0xdb414 from'../theme/icons/instagram.svg';import _0x8ac728 from'../theme/icons/link.svg';function _0x3a54(){const _0x1f3f8b=['licenseKey','reduce','OneDrive','Uploadcare','upload','locale','Dropbox','_licenseKeyCheckInterval','init','isImageSelected','plugins','328544rjxcLE','editor','ImageInsertUI','has','uploadcareLicenseKeyDomainLimit','_createToolbarButton','afterInit','Replace','4740288mxUhUM','UploadcareUI','2723CFckUe','uploadcareLicenseKeyValid','23659983AYeHoE','usageLimit','_createMenuBarButtons','config','3CzttUE','uploadcareLicenseKeyExpired','4675296ecjCSv','Insert','uploadcare','bind','_normalizeConfigSourceList','uploadcareLicenseKeyTrialLimit','pluginName','uploadcareLicenseKeyEvaluationLimit','_createButton','Instagram','uploadcareLicenseKeyInvalid','_getIntegrationKey','featureNotAllowed','Facebook','registerIntegration','_showLicenseError','map','commands','text','isPremiumPlugin','invalid','URL','forEach','withText','470391KiILNj','domainLimit','GPhotos','execute','Local','push','label','uploadcareLicenseKeyNotAllowed','expired','imageUpload','type','isOfficialPlugin','destroy','tooltip','6736wmScVd','uploadcare.uploader.sourceList','GDrive','isEnabled','trialLimit','uploadcareLicenseKeyUsageLimit','entries','icon','assetManager','evaluationLimit','shortText','get','url','7914000sHCSGX','_createDropdownButtons'];_0x3a54=function(){return _0x1f3f8b;};return _0x3a54();}import _0x14f85d from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x1c0d7a}from'./uploadcareconfig.js';import{getTranslation as _0x117f17}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 _0x21ed00{static get[_0x4f0934(0x162)](){const _0x322b69=_0x4f0934;return _0x322b69(0x153);}static get[_0x4f0934(0x17f)](){return!0x0;}static get[_0x4f0934(0x16f)](){return!0x0;}[_0x4f0934(0x147)](){const _0x55f6b5=_0x4f0934;this[_0x55f6b5(0x13f)]=this[_0x55f6b5(0x14b)][_0x55f6b5(0x159)][_0x55f6b5(0x13b)](_0x55f6b5(0x13f));const _0x4dddfa=this[_0x55f6b5(0x14b)];this[_0x55f6b5(0x146)]=setInterval(()=>{const _0x5b2469=_0x55f6b5;let _0x11beab;for(const _0x1f1f04 in _0x4dddfa){const _0x482618=_0x1f1f04,_0x59c538=_0x4dddfa[_0x482618];if(_0x5b2469(0x155)==_0x59c538||_0x5b2469(0x166)==_0x59c538||_0x5b2469(0x15b)==_0x59c538||_0x5b2469(0x14e)==_0x59c538||_0x5b2469(0x17b)==_0x59c538||_0x5b2469(0x163)==_0x59c538||_0x5b2469(0x161)==_0x59c538||_0x5b2469(0x135)==_0x59c538){delete _0x4dddfa[_0x482618],_0x11beab=_0x59c538,clearInterval(this[_0x5b2469(0x146)]),this[_0x5b2469(0x146)]=void 0x0;break;}}_0x5b2469(0x166)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x170)),_0x5b2469(0x15b)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x17c)),_0x5b2469(0x14e)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x175)),_0x5b2469(0x17b)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x168),_0x5b2469(0x142)),_0x5b2469(0x163)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x139)),_0x5b2469(0x161)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x134)),_0x5b2469(0x135)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x157));},0x3e8);}[_0x4f0934(0x150)](){const _0x5c8ed9=_0x4f0934,{editor:_0x3ea0c7}=this,_0x14363b=_0x3ea0c7[_0x5c8ed9(0x16d)][_0x5c8ed9(0x13b)](_0x5c8ed9(0x15e));if(!_0x14363b)return;const _0x337868=this[_0x5c8ed9(0x160)](_0x3ea0c7[_0x5c8ed9(0x159)][_0x5c8ed9(0x13b)](_0x5c8ed9(0x183)))[_0x5c8ed9(0x140)]((_0x2e0a70,_0x522b29)=>{const _0x5c7ef9=_0x5c8ed9,_0x2c9ab7=this[_0x5c7ef9(0x167)](_0x522b29[_0x5c7ef9(0x17e)]);return _0x2e0a70[_0x2c9ab7]||(_0x2e0a70[_0x2c9ab7]=[]),_0x2e0a70[_0x2c9ab7][_0x5c7ef9(0x179)](_0x522b29),_0x2e0a70;},{});_0x3ea0c7[_0x5c8ed9(0x149)][_0x5c8ed9(0x14d)](_0x5c8ed9(0x14c))&&_0x3ea0c7[_0x5c8ed9(0x16d)][_0x5c8ed9(0x13b)](_0x5c8ed9(0x15e))&&Object[_0x5c8ed9(0x136)](_0x337868)[_0x5c8ed9(0x172)](([_0x4634f8,_0xe78a6b])=>{const _0x4ce95a=_0x5c8ed9;_0x3ea0c7[_0x4ce95a(0x149)][_0x4ce95a(0x13b)](_0x4ce95a(0x14c))[_0x4ce95a(0x16a)]({'name':_0x4634f8,'observable':()=>_0x14363b,'buttonViewCreator':()=>this[_0x4ce95a(0x14f)](_0xe78a6b),'formViewCreator':()=>this[_0x4ce95a(0x13e)](_0xe78a6b),'menuBarButtonViewCreator':()=>this[_0x4ce95a(0x158)](_0xe78a6b),'override':_0x4ce95a(0x138)!==_0x4634f8});});}[_0x4f0934(0x180)](){const _0x44f4df=_0x4f0934;super[_0x44f4df(0x180)](),this[_0x44f4df(0x146)]&&clearInterval(this[_0x44f4df(0x146)]);}[_0x4f0934(0x160)](_0x488419){const _0x1a1b64=_0x4f0934,{locale:_0x35bd73}=this[_0x1a1b64(0x14b)];return _0x488419[_0x1a1b64(0x16c)](_0x360c80=>{const _0x303d24=_0x1a1b64,_0x4a7890=_0x117f17(_0x35bd73,_0x360c80,_0x303d24(0x15d));switch(_0x360c80){case _0x1c0d7a[_0x303d24(0x178)]:return{'icon':_0x8084b0[_0x303d24(0x17d)],'type':_0x1c0d7a[_0x303d24(0x178)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x171)]:return{'icon':_0x8ac728,'type':_0x1c0d7a[_0x303d24(0x171)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x145)]:return{'icon':_0x195bef,'type':_0x1c0d7a[_0x303d24(0x145)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x169)]:return{'icon':_0xeb8ee6,'type':_0x1c0d7a[_0x303d24(0x169)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x184)]:return{'icon':_0x3e6deb,'type':_0x1c0d7a[_0x303d24(0x184)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x176)]:return{'icon':_0x518616,'type':_0x1c0d7a[_0x303d24(0x176)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x165)]:return{'icon':_0xdb414,'type':_0x1c0d7a[_0x303d24(0x165)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x141)]:return{'icon':_0x14f85d,'type':_0x1c0d7a[_0x303d24(0x141)],..._0x4a7890};}});}[_0x4f0934(0x167)](_0x4a4150){const _0xcc45a8=_0x4f0934;switch(_0x4a4150){case _0x1c0d7a[_0xcc45a8(0x178)]:return _0xcc45a8(0x143);case _0x1c0d7a[_0xcc45a8(0x171)]:return _0xcc45a8(0x13c);default:return _0xcc45a8(0x138);}}[_0x4f0934(0x164)](_0x296d79,_0x516acc){const _0x754459=_0x4f0934,_0x4ece29=this[_0x754459(0x14b)],_0x5c3621=new _0x296d79(_0x4ece29[_0x754459(0x144)]),_0x3df174=_0x4ece29[_0x754459(0x16d)][_0x754459(0x13b)](_0x754459(0x15e));return _0x5c3621[_0x754459(0x15f)](_0x754459(0x133))['to'](_0x3df174),_0x5c3621['on'](_0x754459(0x177),()=>{const _0x283e93=_0x754459;_0x3df174[_0x283e93(0x177)](_0x516acc);}),_0x5c3621;}[_0x4f0934(0x14f)](_0x4a9eb0){const _0x3a14ce=_0x4f0934,{locale:_0x14fbd8}=this[_0x3a14ce(0x14b)],_0x42c822=this[_0x3a14ce(0x14b)][_0x3a14ce(0x149)][_0x3a14ce(0x13b)](_0x3a14ce(0x14c)),_0x127069=_0x4a9eb0[0x0],_0x58479e=this[_0x3a14ce(0x164)](_0x2980d5,_0x127069[_0x3a14ce(0x17e)]);return _0x58479e[_0x3a14ce(0x137)]=_0x127069[_0x3a14ce(0x137)],_0x58479e[_0x3a14ce(0x15f)](_0x3a14ce(0x17a))['to'](_0x42c822,_0x3a14ce(0x148),_0x330859=>_0x117f17(_0x14fbd8,_0x127069[_0x3a14ce(0x17e)],_0x330859?_0x3a14ce(0x151):_0x3a14ce(0x15d))[_0x3a14ce(0x16e)]),_0x58479e[_0x3a14ce(0x181)]=!0x0,_0x58479e;}[_0x4f0934(0x13e)](_0x3ba147){const _0x11176e=_0x4f0934,{locale:_0x5c57d5}=this[_0x11176e(0x14b)],_0x5dd7bb=this[_0x11176e(0x14b)][_0x11176e(0x149)][_0x11176e(0x13b)](_0x11176e(0x14c));return _0x3ba147[_0x11176e(0x16c)](_0x22f7a8=>{const _0x160839=_0x11176e,_0x3bb690=this[_0x160839(0x164)](_0x2980d5,_0x22f7a8[_0x160839(0x17e)]);return _0x3bb690[_0x160839(0x173)]=!0x0,_0x3bb690[_0x160839(0x137)]=_0x22f7a8[_0x160839(0x137)],_0x3bb690[_0x160839(0x15f)](_0x160839(0x17a))['to'](_0x5dd7bb,_0x160839(0x148),_0x2f0659=>_0x117f17(_0x5c57d5,_0x22f7a8[_0x160839(0x17e)],_0x2f0659?_0x160839(0x151):_0x160839(0x15d))[_0x160839(0x16e)]),_0x3bb690;});}[_0x4f0934(0x158)](_0x52448b){const _0xda3dc6=_0x4f0934;return _0x52448b[_0xda3dc6(0x16c)](_0x180add=>{const _0x364e6b=_0xda3dc6,_0x4ab6de=this[_0x364e6b(0x164)](_0x3a2613,_0x180add[_0x364e6b(0x17e)]);return _0x4ab6de[_0x364e6b(0x137)]=_0x180add[_0x364e6b(0x137)],_0x4ab6de[_0x364e6b(0x17a)]=_0x180add[_0x364e6b(0x13a)],_0x4ab6de;});}}
23
+ const _0xbdfd34=_0x1e2e;function _0x35f7(){const _0x4f635f=['8heHkyb','uploadcareLicenseKeyInvalid','get','upload','execute','trialLimit','Facebook','_createButton','expired','_createDropdownButtons','shortText','withText','plugins','text','_licenseKeyCheckInterval','reduce','_createMenuBarButtons','uploadcareLicenseKeyValid','GDrive','isOfficialPlugin','commands','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyUsageLimit','label','registerIntegration','imageUpload','URL','destroy','init','forEach','pluginName','locale','7955276wFJMYJ','icon','uploadcareLicenseKeyEvaluationLimit','evaluationLimit','OneDrive','featureNotAllowed','Uploadcare','editor','isEnabled','2IYwLkg','_showLicenseError','Instagram','15073542rNMwuI','map','type','2565873pQdoWX','entries','afterInit','assetManager','domainLimit','Local','Insert','uploadcareLicenseKeyNotAllowed','isImageSelected','usageLimit','has','2234604QTGoxn','4293120pOidyR','Replace','uploadcareLicenseKeyDomainLimit','649808bnnKTG','invalid','_getIntegrationKey','GPhotos','licenseKey','Dropbox','config','1055498AeSFHg','push','ImageInsertUI','uploadcare.uploader.sourceList','bind','uploadcareLicenseKeyExpired','url','UploadcareUI','tooltip','_normalizeConfigSourceList','uploadcare','_createToolbarButton','isPremiumPlugin'];_0x35f7=function(){return _0x4f635f;};return _0x35f7();}(function(_0x12f86e,_0x5561a6){const _0x41a5a7=_0x1e2e,_0x4439c9=_0x12f86e();while(!![]){try{const _0x5a3afc=-parseInt(_0x41a5a7(0x163))/0x1*(parseInt(_0x41a5a7(0x17f))/0x2)+-parseInt(_0x41a5a7(0x169))/0x3+parseInt(_0x41a5a7(0x178))/0x4+-parseInt(_0x41a5a7(0x175))/0x5+parseInt(_0x41a5a7(0x174))/0x6+parseInt(_0x41a5a7(0x15a))/0x7*(parseInt(_0x41a5a7(0x13a))/0x8)+parseInt(_0x41a5a7(0x166))/0x9;if(_0x5a3afc===_0x5561a6)break;else _0x4439c9['push'](_0x4439c9['shift']());}catch(_0x3add2d){_0x4439c9['push'](_0x4439c9['shift']());}}}(_0x35f7,0x8cd0b));import{Plugin as _0x3c604,icons as _0x217e96}from'ckeditor5/src/core.js';function _0x1e2e(_0x3f2743,_0x2d3d09){const _0x35f798=_0x35f7();return _0x1e2e=function(_0x1e2ef1,_0x4be8f7){_0x1e2ef1=_0x1e2ef1-0x130;let _0x37867a=_0x35f798[_0x1e2ef1];return _0x37867a;},_0x1e2e(_0x3f2743,_0x2d3d09);}import{ButtonView as _0xffe9e8,MenuBarMenuListItemButtonView as _0x8c0859}from'ckeditor5/src/ui.js';import _0x360c86 from'../theme/icons/dropbox.svg';import _0x528d6c from'../theme/icons/facebook.svg';import _0x2ff4ff from'../theme/icons/google-drive.svg';import _0x391573 from'../theme/icons/google-photos.svg';import _0x5b758e from'../theme/icons/instagram.svg';import _0x2d9520 from'../theme/icons/link.svg';import _0xa1a89c from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x25fd6d}from'./uploadcareconfig.js';import{getTranslation as _0x4168ff}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 _0x3c604{static get[_0xbdfd34(0x158)](){const _0x5c7a70=_0xbdfd34;return _0x5c7a70(0x134);}static get[_0xbdfd34(0x14d)](){return!0x0;}static get[_0xbdfd34(0x139)](){return!0x0;}[_0xbdfd34(0x156)](){const _0x2240a1=_0xbdfd34;this[_0x2240a1(0x17c)]=this[_0x2240a1(0x161)][_0x2240a1(0x17e)][_0x2240a1(0x13c)](_0x2240a1(0x17c));const _0x15a844=this[_0x2240a1(0x161)];this[_0x2240a1(0x148)]=setInterval(()=>{const _0x4b63ef=_0x2240a1;let _0x56027f;for(const _0x30fbac in _0x15a844){const _0x1cdb33=_0x30fbac,_0x290cf4=_0x15a844[_0x1cdb33];if(_0x4b63ef(0x14b)==_0x290cf4||_0x4b63ef(0x13b)==_0x290cf4||_0x4b63ef(0x132)==_0x290cf4||_0x4b63ef(0x177)==_0x290cf4||_0x4b63ef(0x170)==_0x290cf4||_0x4b63ef(0x15c)==_0x290cf4||_0x4b63ef(0x14f)==_0x290cf4||_0x4b63ef(0x150)==_0x290cf4){delete _0x15a844[_0x1cdb33],_0x56027f=_0x290cf4,clearInterval(this[_0x4b63ef(0x148)]),this[_0x4b63ef(0x148)]=void 0x0;break;}}_0x4b63ef(0x13b)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x179)),_0x4b63ef(0x132)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x142)),_0x4b63ef(0x177)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x16d)),_0x4b63ef(0x170)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x15f),_0x4b63ef(0x160)),_0x4b63ef(0x15c)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x15d)),_0x4b63ef(0x14f)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x13f)),_0x4b63ef(0x150)==_0x56027f&&_0x15a844[_0x4b63ef(0x164)](_0x4b63ef(0x172));},0x3e8);}[_0xbdfd34(0x16b)](){const _0x4205fb=_0xbdfd34,{editor:_0x5c9307}=this,_0x1560e9=_0x5c9307[_0x4205fb(0x14e)][_0x4205fb(0x13c)](_0x4205fb(0x137));if(!_0x1560e9)return;const _0x206872=this[_0x4205fb(0x136)](_0x5c9307[_0x4205fb(0x17e)][_0x4205fb(0x13c)](_0x4205fb(0x130)))[_0x4205fb(0x149)]((_0x490607,_0x36c36a)=>{const _0x5d358b=_0x4205fb,_0x113577=this[_0x5d358b(0x17a)](_0x36c36a[_0x5d358b(0x168)]);return _0x490607[_0x113577]||(_0x490607[_0x113577]=[]),_0x490607[_0x113577][_0x5d358b(0x180)](_0x36c36a),_0x490607;},{});_0x5c9307[_0x4205fb(0x146)][_0x4205fb(0x173)](_0x4205fb(0x181))&&_0x5c9307[_0x4205fb(0x14e)][_0x4205fb(0x13c)](_0x4205fb(0x137))&&Object[_0x4205fb(0x16a)](_0x206872)[_0x4205fb(0x157)](([_0x37f0e9,_0x42580b])=>{const _0x3f7e77=_0x4205fb;_0x5c9307[_0x3f7e77(0x146)][_0x3f7e77(0x13c)](_0x3f7e77(0x181))[_0x3f7e77(0x152)]({'name':_0x37f0e9,'observable':()=>_0x1560e9,'buttonViewCreator':()=>this[_0x3f7e77(0x138)](_0x42580b),'formViewCreator':()=>this[_0x3f7e77(0x143)](_0x42580b),'menuBarButtonViewCreator':()=>this[_0x3f7e77(0x14a)](_0x42580b),'override':_0x3f7e77(0x16c)!==_0x37f0e9});});}[_0xbdfd34(0x155)](){const _0x3eb48b=_0xbdfd34;super[_0x3eb48b(0x155)](),this[_0x3eb48b(0x148)]&&clearInterval(this[_0x3eb48b(0x148)]);}[_0xbdfd34(0x136)](_0xfa8aa1){const _0x5eb569=_0xbdfd34,{locale:_0x511d13}=this[_0x5eb569(0x161)];return _0xfa8aa1[_0x5eb569(0x167)](_0x16a2d6=>{const _0x3b6d45=_0x5eb569,_0x433a9a=_0x4168ff(_0x511d13,_0x16a2d6,_0x3b6d45(0x16f));switch(_0x16a2d6){case _0x25fd6d[_0x3b6d45(0x16e)]:return{'icon':_0x217e96[_0x3b6d45(0x153)],'type':_0x25fd6d[_0x3b6d45(0x16e)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x154)]:return{'icon':_0x2d9520,'type':_0x25fd6d[_0x3b6d45(0x154)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x17d)]:return{'icon':_0x360c86,'type':_0x25fd6d[_0x3b6d45(0x17d)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x140)]:return{'icon':_0x528d6c,'type':_0x25fd6d[_0x3b6d45(0x140)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x14c)]:return{'icon':_0x2ff4ff,'type':_0x25fd6d[_0x3b6d45(0x14c)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x17b)]:return{'icon':_0x391573,'type':_0x25fd6d[_0x3b6d45(0x17b)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x165)]:return{'icon':_0x5b758e,'type':_0x25fd6d[_0x3b6d45(0x165)],..._0x433a9a};case _0x25fd6d[_0x3b6d45(0x15e)]:return{'icon':_0xa1a89c,'type':_0x25fd6d[_0x3b6d45(0x15e)],..._0x433a9a};}});}[_0xbdfd34(0x17a)](_0x5a28df){const _0x3423c6=_0xbdfd34;switch(_0x5a28df){case _0x25fd6d[_0x3423c6(0x16e)]:return _0x3423c6(0x13d);case _0x25fd6d[_0x3423c6(0x154)]:return _0x3423c6(0x133);default:return _0x3423c6(0x16c);}}[_0xbdfd34(0x141)](_0x5e896d,_0x325aab){const _0x5a70d5=_0xbdfd34,_0x595bb9=this[_0x5a70d5(0x161)],_0x52962c=new _0x5e896d(_0x595bb9[_0x5a70d5(0x159)]),_0x979262=_0x595bb9[_0x5a70d5(0x14e)][_0x5a70d5(0x13c)](_0x5a70d5(0x137));return _0x52962c[_0x5a70d5(0x131)](_0x5a70d5(0x162))['to'](_0x979262),_0x52962c['on'](_0x5a70d5(0x13e),()=>{const _0x59313f=_0x5a70d5;_0x979262[_0x59313f(0x13e)](_0x325aab);}),_0x52962c;}[_0xbdfd34(0x138)](_0x4c2b20){const _0x4efccf=_0xbdfd34,{locale:_0x4c5045}=this[_0x4efccf(0x161)],_0x3c90de=this[_0x4efccf(0x161)][_0x4efccf(0x146)][_0x4efccf(0x13c)](_0x4efccf(0x181)),_0x39e152=_0x4c2b20[0x0],_0x52b1f4=this[_0x4efccf(0x141)](_0xffe9e8,_0x39e152[_0x4efccf(0x168)]);return _0x52b1f4[_0x4efccf(0x15b)]=_0x39e152[_0x4efccf(0x15b)],_0x52b1f4[_0x4efccf(0x131)](_0x4efccf(0x151))['to'](_0x3c90de,_0x4efccf(0x171),_0x1d1fa2=>_0x4168ff(_0x4c5045,_0x39e152[_0x4efccf(0x168)],_0x1d1fa2?_0x4efccf(0x176):_0x4efccf(0x16f))[_0x4efccf(0x147)]),_0x52b1f4[_0x4efccf(0x135)]=!0x0,_0x52b1f4;}[_0xbdfd34(0x143)](_0x2ec56a){const _0x274151=_0xbdfd34,{locale:_0x5cd955}=this[_0x274151(0x161)],_0x265f14=this[_0x274151(0x161)][_0x274151(0x146)][_0x274151(0x13c)](_0x274151(0x181));return _0x2ec56a[_0x274151(0x167)](_0xd3a75d=>{const _0x342aa8=_0x274151,_0x2d17c2=this[_0x342aa8(0x141)](_0xffe9e8,_0xd3a75d[_0x342aa8(0x168)]);return _0x2d17c2[_0x342aa8(0x145)]=!0x0,_0x2d17c2[_0x342aa8(0x15b)]=_0xd3a75d[_0x342aa8(0x15b)],_0x2d17c2[_0x342aa8(0x131)](_0x342aa8(0x151))['to'](_0x265f14,_0x342aa8(0x171),_0x4a8f01=>_0x4168ff(_0x5cd955,_0xd3a75d[_0x342aa8(0x168)],_0x4a8f01?_0x342aa8(0x176):_0x342aa8(0x16f))[_0x342aa8(0x147)]),_0x2d17c2;});}[_0xbdfd34(0x14a)](_0x59b8a8){const _0x55f857=_0xbdfd34;return _0x59b8a8[_0x55f857(0x167)](_0x15453d=>{const _0xfcafa6=_0x55f857,_0x19c44e=this[_0xfcafa6(0x141)](_0x8c0859,_0x15453d[_0xfcafa6(0x168)]);return _0x19c44e[_0xfcafa6(0x15b)]=_0x15453d[_0xfcafa6(0x15b)],_0x19c44e[_0xfcafa6(0x151)]=_0x15453d[_0xfcafa6(0x144)],_0x19c44e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1f49bd}from'ckeditor5/src/core.js';import{FileRepository as _0xa5ecbc}from'ckeditor5/src/upload.js';import _0x5388f9 from'./uploadcareediting.js';import _0x1c8be4 from'./utils/uploadutils.js';import{getImageUrls as _0x4f30b8}from'./utils/editingutils.js';export default class f extends _0x1f49bd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xa5ecbc,_0x5388f9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1135b8=this['editor'];if(!!!_0x1135b8['config']['get']('uploadcare'))return;_0x1135b8['plugins']['get'](_0xa5ecbc)['createUploadAdapter']=_0x253b07=>new A(_0x253b07,_0x1135b8),_0x1135b8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x517e95,{imageElement:_0x5934ca,data:_0xc07bbb})=>{_0x1135b8['model']['change'](_0x270f73=>{_0x270f73['setAttribute']('uploadcareImageId',_0xc07bbb['uploadcareImageId'],_0x5934ca);});});}}class A{constructor(_0x11eeaf,_0x2da8e4){this['loader']=_0x11eeaf,this['editor']=_0x2da8e4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x56a167=this['editor']['config']['get']('uploadcare.pubkey'),_0xedf645=await this['loader']['file'];return _0x1c8be4['upload']({'file':_0xedf645,'publicKey':_0x56a167,'signal':this['controller']['signal'],'onProgress':_0x574b9a=>{_0x574b9a&&_0x574b9a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x574b9a['value']);}})['then'](async _0x1a30f2=>{const {imageFallbackUrl:_0x287542,imageSources:_0x3a3626}=_0x4f30b8(_0x1a30f2['cdnUrl'],_0x1a30f2['imageInfo']['width']);return{'uploadcareImageId':_0x1a30f2['uuid'],'default':_0x287542,'sources':_0x3a3626};})['catch'](()=>{const _0x5e782f=t('Cannot\x20upload\x20file:')+('\x20'+_0xedf645['name']+'.');return Promise['reject'](_0x5e782f);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1f6e15}from'ckeditor5/src/core.js';import{FileRepository as _0x5ac623}from'ckeditor5/src/upload.js';import _0x1146eb from'./uploadcareediting.js';import _0x32a694 from'./utils/uploadutils.js';import{getImageUrls as _0x52df88}from'./utils/editingutils.js';export default class f extends _0x1f6e15{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5ac623,_0x1146eb];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xed3084=this['editor'];if(!!!_0xed3084['config']['get']('uploadcare'))return;_0xed3084['plugins']['get'](_0x5ac623)['createUploadAdapter']=_0x18fe00=>new A(_0x18fe00,_0xed3084),_0xed3084['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x827b98,{imageElement:_0x1b304b,data:_0x4f633c})=>{_0xed3084['model']['change'](_0x5f29f1=>{_0x5f29f1['setAttribute']('uploadcareImageId',_0x4f633c['uploadcareImageId'],_0x1b304b);});});}}class A{constructor(_0x1b0536,_0x2f3381){this['loader']=_0x1b0536,this['editor']=_0x2f3381,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x22b7df=this['editor']['config']['get']('uploadcare.pubkey'),_0x415945=await this['loader']['file'];return _0x32a694['upload']({'file':_0x415945,'publicKey':_0x22b7df,'signal':this['controller']['signal'],'onProgress':_0x4f5c03=>{_0x4f5c03&&_0x4f5c03['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4f5c03['value']);}})['then'](async _0x5d6ce2=>{const {imageFallbackUrl:_0x528eec,imageSources:_0xce8958}=_0x52df88(_0x5d6ce2['cdnUrl'],_0x5d6ce2['imageInfo']['width']);return{'uploadcareImageId':_0x5d6ce2['uuid'],'default':_0x528eec,'sources':_0xce8958};})['catch'](()=>{const _0x370d67=t('Cannot\x20upload\x20file:')+('\x20'+_0x415945['name']+'.');return Promise['reject'](_0x370d67);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x221a81}from'../uploadcareconfig.js';export function getTranslation(_0x532c0a,_0x35f478,_0x44429c){const t=_0x532c0a['t'],_0x5d14be=_0x532c0a['t'];switch(_0x35f478){case _0x221a81['Local']:return{'text':_0x5d14be('Insert'===_0x44429c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5d14be('From\x20computer')};case _0x221a81['URL']:return{'text':'Insert'===_0x44429c?_0x5d14be('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5d14be('Via\x20URL')};case _0x221a81['Dropbox']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x221a81['Facebook']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x221a81['GDrive']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x221a81['GPhotos']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x221a81['Instagram']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x221a81['OneDrive']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x35f478;}}
23
+ import{UploadcareSource as _0x1f9981}from'../uploadcareconfig.js';export function getTranslation(_0x1bd38a,_0x4128df,_0x1f75be){const t=_0x1bd38a['t'],_0x16980c=_0x1bd38a['t'];switch(_0x4128df){case _0x1f9981['Local']:return{'text':_0x16980c('Insert'===_0x1f75be?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x16980c('From\x20computer')};case _0x1f9981['URL']:return{'text':'Insert'===_0x1f75be?_0x16980c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x16980c('Via\x20URL')};case _0x1f9981['Dropbox']:return{'text':t('Insert'===_0x1f75be?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1f9981['Facebook']:return{'text':t('Insert'===_0x1f75be?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1f9981['GDrive']:return{'text':t('Insert'===_0x1f75be?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1f9981['GPhotos']:return{'text':t('Insert'===_0x1f75be?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1f9981['Instagram']:return{'text':t('Insert'===_0x1f75be?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x1f9981['OneDrive']:return{'text':t('Insert'===_0x1f75be?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4128df;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b9a(){var _0x529107=['6399382JZAtRn','createCollection','5762890eQRxJG','1461054bboQXB','3518382vnwFsW','47DAPDyS','3717qMuOep','focusCycler','16UpYXAM','true','div','getFocusableElement','fire','342110XaNGBZ','focusTracker','9176qOBLHe','bindTemplate','7uReYaJ','forwardCycle','1298jQicgl'];_0x2b9a=function(){return _0x529107;};return _0x2b9a();}var _0x3f8e00=_0x3e62;(function(_0x484ee1,_0xf22753){var _0x1b577f=_0x3e62,_0x3e1a63=_0x484ee1();while(!![]){try{var _0x580f80=-parseInt(_0x1b577f(0x102))/0x1*(-parseInt(_0x1b577f(0xfc))/0x2)+-parseInt(_0x1b577f(0x100))/0x3+-parseInt(_0x1b577f(0xf1))/0x4*(parseInt(_0x1b577f(0xf6))/0x5)+-parseInt(_0x1b577f(0x101))/0x6*(-parseInt(_0x1b577f(0xfa))/0x7)+-parseInt(_0x1b577f(0xf8))/0x8*(-parseInt(_0x1b577f(0x103))/0x9)+parseInt(_0x1b577f(0xff))/0xa+-parseInt(_0x1b577f(0xfd))/0xb;if(_0x580f80===_0xf22753)break;else _0x3e1a63['push'](_0x3e1a63['shift']());}catch(_0x130e28){_0x3e1a63['push'](_0x3e1a63['shift']());}}}(_0x2b9a,0x4f350));function _0x3e62(_0x1a2ddf,_0x12b5c9){var _0x2b9a03=_0x2b9a();return _0x3e62=function(_0x3e6263,_0x2018ab){_0x3e6263=_0x3e6263-0xf1;var _0x2c9357=_0x2b9a03[_0x3e6263];return _0x2c9357;},_0x3e62(_0x1a2ddf,_0x12b5c9);}import{FocusTracker as _0x2df653}from'ckeditor5/src/utils.js';import{View as _0xc3e23f,FocusCycler as _0x438b88}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xc3e23f{constructor(_0x2e9709){var _0x530419=_0x3e62;super(_0x2e9709),this[_0x530419(0xf7)]=new _0x2df653(),this[_0x530419(0x104)]=new _0x438b88({'focusables':this[_0x530419(0xfe)](),'focusTracker':this[_0x530419(0xf7)]});}[_0x3f8e00(0xf4)](){var _0x5505c7=_0x3f8e00;return{'tag':_0x5505c7(0xf3),'attributes':{'aria-hidden':_0x5505c7(0xf2),'tabindex':'0'},'on':{'focus':this[_0x5505c7(0xf9)]['to'](()=>{var _0x542a8d=_0x5505c7;this[_0x542a8d(0x104)][_0x542a8d(0xf5)](_0x542a8d(0xfb));})}};}}
23
+ var _0x2f3f13=_0x3343;function _0x3f44(){var _0x359409=['1850rdhYPf','focusCycler','372yANVte','focusTracker','true','1214280HDWwMr','7atIjIt','div','615670pvTPWt','createCollection','fire','forwardCycle','2253504tZlxkK','getFocusableElement','bindTemplate','5716HaUhjI','118048RaHYXb','69183QJcupJ','1872432RgViVk'];_0x3f44=function(){return _0x359409;};return _0x3f44();}(function(_0x49fb70,_0x549e76){var _0x723d33=_0x3343,_0x4b052f=_0x49fb70();while(!![]){try{var _0x2734f9=parseInt(_0x723d33(0x1fa))/0x1+-parseInt(_0x723d33(0x1f2))/0x2+parseInt(_0x723d33(0x1ff))/0x3*(-parseInt(_0x723d33(0x1f9))/0x4)+-parseInt(_0x723d33(0x1ef))/0x5+-parseInt(_0x723d33(0x1f6))/0x6*(parseInt(_0x723d33(0x1f0))/0x7)+-parseInt(_0x723d33(0x1fc))/0x8+-parseInt(_0x723d33(0x1fb))/0x9*(-parseInt(_0x723d33(0x1fd))/0xa);if(_0x2734f9===_0x549e76)break;else _0x4b052f['push'](_0x4b052f['shift']());}catch(_0x28fa79){_0x4b052f['push'](_0x4b052f['shift']());}}}(_0x3f44,0x3177a));import{FocusTracker as _0x4b53a3}from'ckeditor5/src/utils.js';import{View as _0x1052da,FocusCycler as _0x2a2391}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x3343(_0x5ce726,_0x544466){var _0x3f4486=_0x3f44();return _0x3343=function(_0x334394,_0x4dc49c){_0x334394=_0x334394-0x1ef;var _0x5805d0=_0x3f4486[_0x334394];return _0x5805d0;},_0x3343(_0x5ce726,_0x544466);}export default class q extends _0x1052da{constructor(_0x5651d6){var _0x31932d=_0x3343;super(_0x5651d6),this[_0x31932d(0x200)]=new _0x4b53a3(),this[_0x31932d(0x1fe)]=new _0x2a2391({'focusables':this[_0x31932d(0x1f3)](),'focusTracker':this[_0x31932d(0x200)]});}[_0x2f3f13(0x1f7)](){var _0x989165=_0x2f3f13;return{'tag':_0x989165(0x1f1),'attributes':{'aria-hidden':_0x989165(0x201),'tabindex':'0'},'on':{'focus':this[_0x989165(0x1f8)]['to'](()=>{var _0x6da0aa=_0x989165;this[_0x6da0aa(0x1fe)][_0x6da0aa(0x1f4)](_0x6da0aa(0x1f5));})}};}}