@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.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _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();}
|
package/src/uploadcareediting.js
CHANGED
|
@@ -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
|
|
24
|
-
|
|
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(
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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));})}};}}
|