@ckeditor/ckeditor5-uploadcare 47.7.0-alpha.2 → 47.7.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x929133,View as _0x14dc8f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x14dc8f{constructor(_0x6736b9){super(_0x6736b9);const t=_0x6736b9['t'],_0x1b382d=this['bindTemplate'],_0x3d29ea=new _0x929133();_0x3d29ea['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':[_0x3d29ea,{'text':_0x1b382d['to']('imageUploadProgress',_0x29f106=>t('Loading\x20image...')+'\x20('+(_0x29f106||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x4356af,View as _0x21766f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x21766f{constructor(_0x167c2d){super(_0x167c2d);const t=_0x167c2d['t'],_0x1f993d=this['bindTemplate'],_0x50dca2=new _0x4356af();_0x50dca2['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':[_0x50dca2,{'text':_0x1f993d['to']('imageUploadProgress',_0x234ea4=>t('Loading\x20image...')+'\x20('+(_0x234ea4||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 _0x14343b=_0x105a;(function(_0x403318,_0x9a0c4b){const _0x1f8aae=_0x105a,_0x5bee7b=_0x403318();while(!![]){try{const _0x2f8e5a=parseInt(_0x1f8aae(0x188))/0x1*(-parseInt(_0x1f8aae(0x16a))/0x2)+-parseInt(_0x1f8aae(0x16d))/0x3*(parseInt(_0x1f8aae(0x169))/0x4)+parseInt(_0x1f8aae(0x175))/0x5*(-parseInt(_0x1f8aae(0x180))/0x6)+parseInt(_0x1f8aae(0x163))/0x7*(-parseInt(_0x1f8aae(0x17d))/0x8)+-parseInt(_0x1f8aae(0x193))/0x9*(parseInt(_0x1f8aae(0x174))/0xa)+-parseInt(_0x1f8aae(0x16e))/0xb*(-parseInt(_0x1f8aae(0x16f))/0xc)+-parseInt(_0x1f8aae(0x185))/0xd*(-parseInt(_0x1f8aae(0x191))/0xe);if(_0x2f8e5a===_0x9a0c4b)break;else _0x5bee7b['push'](_0x5bee7b['shift']());}catch(_0xbc588f){_0x5bee7b['push'](_0x5bee7b['shift']());}}}(_0x37de,0x1f2c4));import{View as _0x42eea8}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2708d9}from'./uploadcareimageeditformloadingview.js';function _0x37de(){const _0x222a91=['24QGeeQs','toLowerCase','element','_waitForImageEditorComponent','_setView','140iDPvXj','269135axdIjz','disconnect','setTemplate','detail','_items','ready','getFocusableElement','target','940312rUnqTh','_errorView','_editingView','24hKfoLj','ck-uploadcare-form','createCollection','addEventListener','addMany','9742759xNpljt','_focusableView','fire','5867DoGinS','status','clear','observe','render','ck-reset_all-excluded','retry','cdnUrl','focus','14nJocHJ','set','66285PajXsL','filter','_loadingView','uc-cloud-image-editor','uploading','change:status','cancel','addedNodes','querySelector','add','div','7zJTPTd','once','nodeName','_addUploadcareImageEditorListeners','length','error','353372jdQDLN','46pqakFV','apply','_addErrorViewListeners','3Puhyxn','206151aaVLGf'];_0x37de=function(){return _0x222a91;};return _0x37de();}import{UploadcareImageEditFormErrorView as _0x59de89}from'./uploadcareimageeditformerrorview.js';function _0x105a(_0x17e742,_0x339684){const _0x37dee3=_0x37de();return _0x105a=function(_0x105afb,_0x339330){_0x105afb=_0x105afb-0x15d;let _0x177a8c=_0x37dee3[_0x105afb];return _0x177a8c;},_0x105a(_0x17e742,_0x339684);}import{UploadcareImageEditFormEditingView as _0x54a69d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2814bc}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2814bc{[_0x14343b(0x179)];[_0x14343b(0x195)];[_0x14343b(0x17e)];[_0x14343b(0x17f)];[_0x14343b(0x186)];constructor(_0x47b029,_0xd2d3d9,_0x412ad3){const _0x1120a6=_0x14343b;super(_0x47b029),this[_0x1120a6(0x179)]=this[_0x1120a6(0x182)](),this[_0x1120a6(0x195)]=new _0x2708d9(_0x47b029),this[_0x1120a6(0x17e)]=new _0x59de89(_0x47b029),this[_0x1120a6(0x17f)]=new _0x54a69d(_0x47b029,_0x412ad3),this[_0x1120a6(0x186)]=new _0x42eea8(_0x47b029),this[_0x1120a6(0x186)][_0x1120a6(0x177)](this[_0x1120a6(0x17b)]()),this[_0x1120a6(0x192)](_0x1120a6(0x189),_0xd2d3d9),this[_0x1120a6(0x177)]({'tag':_0x1120a6(0x162),'attributes':{'class':['ck',_0x1120a6(0x18d),_0x1120a6(0x181)],'tabindex':'-1'},'children':this[_0x1120a6(0x179)]}),this[_0x1120a6(0x173)](),this[_0x1120a6(0x164)](_0x1120a6(0x18c),()=>{const _0x3f7f39=_0x1120a6;this[_0x3f7f39(0x172)](this[_0x3f7f39(0x171)],_0xdfef29=>{const _0x55a4bc=_0x3f7f39;this[_0x55a4bc(0x166)](_0xdfef29);});}),this['on'](_0x1120a6(0x15d),()=>{const _0x1e23ce=_0x1120a6;this[_0x1e23ce(0x173)]();}),this[_0x1120a6(0x16c)]();}[_0x14343b(0x190)](){const _0x2c09c6=_0x14343b;this[_0x2c09c6(0x171)][_0x2c09c6(0x190)]();}[_0x14343b(0x173)](){const _0x3fc6b8=_0x14343b;switch(this[_0x3fc6b8(0x179)][_0x3fc6b8(0x18a)](),this[_0x3fc6b8(0x189)]){case _0x3fc6b8(0x197):this[_0x3fc6b8(0x179)][_0x3fc6b8(0x161)](this[_0x3fc6b8(0x195)]);break;case _0x3fc6b8(0x168):this[_0x3fc6b8(0x179)][_0x3fc6b8(0x161)](this[_0x3fc6b8(0x17e)]);break;case _0x3fc6b8(0x17a):this[_0x3fc6b8(0x179)][_0x3fc6b8(0x184)]([this[_0x3fc6b8(0x17f)],this[_0x3fc6b8(0x186)]]);}}[_0x14343b(0x172)](_0x2d0fbb,_0x193b93){const _0x3c98ca=_0x14343b,_0x15132f=_0x3c98ca(0x196),_0x2ad779=_0x2d0fbb[_0x3c98ca(0x160)](_0x15132f);if(_0x2ad779)return _0x193b93(_0x2ad779);const _0x1f2263=new MutationObserver(_0x278b44=>{const _0x3b3b67=_0x3c98ca,_0xb87b99=_0x278b44[_0x3b3b67(0x194)](_0x25f2e2=>_0x25f2e2[_0x3b3b67(0x17c)]===_0x2d0fbb&&_0x25f2e2[_0x3b3b67(0x15f)][_0x3b3b67(0x167)]>0x0&&_0x25f2e2[_0x3b3b67(0x15f)][0x0][_0x3b3b67(0x165)][_0x3b3b67(0x170)]()===_0x15132f);_0xb87b99[_0x3b3b67(0x167)]&&(_0x1f2263[_0x3b3b67(0x176)](),_0x193b93(_0xb87b99[0x0][_0x3b3b67(0x15f)][0x0]));});_0x1f2263[_0x3c98ca(0x18b)](_0x2d0fbb,{'childList':!0x0,'subtree':!0x0});}[_0x14343b(0x166)](_0x49af96){const _0x5a5953=_0x14343b;_0x49af96[_0x5a5953(0x183)](_0x5a5953(0x16b),_0x1032c9=>{const _0x24a041=_0x5a5953;this[_0x24a041(0x187)](_0x24a041(0x16b),{'imageSrc':_0x1032c9[_0x24a041(0x178)][_0x24a041(0x18f)]});}),_0x49af96[_0x5a5953(0x183)](_0x5a5953(0x15e),()=>{const _0x3b53ea=_0x5a5953;this[_0x3b53ea(0x187)](_0x3b53ea(0x15e));});}[_0x14343b(0x16c)](){const _0x5f50e6=_0x14343b;this[_0x5f50e6(0x17e)]['on'](_0x5f50e6(0x18e),()=>{const _0x5efcea=_0x5f50e6;this[_0x5efcea(0x187)](_0x5efcea(0x18e));});}}
23
+ const _0x398b82=_0x11b1;(function(_0x19b860,_0x178d9b){const _0x500fb5=_0x11b1,_0x2c4087=_0x19b860();while(!![]){try{const _0x11e4ba=parseInt(_0x500fb5(0x1d3))/0x1*(-parseInt(_0x500fb5(0x1ca))/0x2)+parseInt(_0x500fb5(0x1ce))/0x3+-parseInt(_0x500fb5(0x1e5))/0x4*(parseInt(_0x500fb5(0x1e9))/0x5)+-parseInt(_0x500fb5(0x1c3))/0x6+parseInt(_0x500fb5(0x1e7))/0x7+-parseInt(_0x500fb5(0x1d5))/0x8*(parseInt(_0x500fb5(0x1d1))/0x9)+parseInt(_0x500fb5(0x1c2))/0xa*(-parseInt(_0x500fb5(0x1ec))/0xb);if(_0x11e4ba===_0x178d9b)break;else _0x2c4087['push'](_0x2c4087['shift']());}catch(_0x39194c){_0x2c4087['push'](_0x2c4087['shift']());}}}(_0x5ca0,0xefd87));function _0x11b1(_0x560d25,_0x4ab21f){const _0x5ca0e2=_0x5ca0();return _0x11b1=function(_0x11b15f,_0x38dd6a){_0x11b15f=_0x11b15f-0x1be;let _0x4b3850=_0x5ca0e2[_0x11b15f];return _0x4b3850;},_0x11b1(_0x560d25,_0x4ab21f);}import{View as _0xa22452}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x40b7a0}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x25f9bb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x47a37b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5ec8e7}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x5ca0(){const _0x1e6bea=['cancel','_editingView','uploading','length','nodeName','setTemplate','change:status','_waitForImageEditorComponent','_setView','310hBIJdW','4871214oZDlZo','querySelector','_focusableView','target','focus','status','uc-cloud-image-editor','2PLBrlo','disconnect','_addUploadcareImageEditorListeners','cdnUrl','715383MMBkYS','getFocusableElement','add','621PoyGmS','toLowerCase','85307dhlCZV','detail','12168aUnfAW','ck-reset_all-excluded','addedNodes','retry','observe','set','ck-uploadcare-form','element','error','createCollection','apply','_loadingView','_errorView','clear','ready','addMany','4qeZnyF','_items','13295877lStTTu','div','473905bVQUnc','_addErrorViewListeners','addEventListener','20779Zvoldf','render','once','fire','filter'];_0x5ca0=function(){return _0x1e6bea;};return _0x5ca0();}export class UploadcareImageEditFormView extends _0x5ec8e7{[_0x398b82(0x1e6)];[_0x398b82(0x1e0)];[_0x398b82(0x1e1)];[_0x398b82(0x1f2)];[_0x398b82(0x1c5)];constructor(_0x29a47,_0x1057dc,_0x206189){const _0x772d1b=_0x398b82;super(_0x29a47),this[_0x772d1b(0x1e6)]=this[_0x772d1b(0x1de)](),this[_0x772d1b(0x1e0)]=new _0x40b7a0(_0x29a47),this[_0x772d1b(0x1e1)]=new _0x25f9bb(_0x29a47),this[_0x772d1b(0x1f2)]=new _0x47a37b(_0x29a47,_0x206189),this[_0x772d1b(0x1c5)]=new _0xa22452(_0x29a47),this[_0x772d1b(0x1c5)][_0x772d1b(0x1be)](this[_0x772d1b(0x1cf)]()),this[_0x772d1b(0x1da)](_0x772d1b(0x1c8),_0x1057dc),this[_0x772d1b(0x1be)]({'tag':_0x772d1b(0x1e8),'attributes':{'class':['ck',_0x772d1b(0x1d6),_0x772d1b(0x1db)],'tabindex':'-1'},'children':this[_0x772d1b(0x1e6)]}),this[_0x772d1b(0x1c1)](),this[_0x772d1b(0x1ee)](_0x772d1b(0x1ed),()=>{const _0x26c805=_0x772d1b;this[_0x26c805(0x1c0)](this[_0x26c805(0x1dc)],_0x2a345e=>{const _0x302c75=_0x26c805;this[_0x302c75(0x1cc)](_0x2a345e);});}),this['on'](_0x772d1b(0x1bf),()=>{const _0xbd2cb0=_0x772d1b;this[_0xbd2cb0(0x1c1)]();}),this[_0x772d1b(0x1ea)]();}[_0x398b82(0x1c7)](){const _0x51f08e=_0x398b82;this[_0x51f08e(0x1dc)][_0x51f08e(0x1c7)]();}[_0x398b82(0x1c1)](){const _0x5b1bd5=_0x398b82;switch(this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1e2)](),this[_0x5b1bd5(0x1c8)]){case _0x5b1bd5(0x1f3):this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1d0)](this[_0x5b1bd5(0x1e0)]);break;case _0x5b1bd5(0x1dd):this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1d0)](this[_0x5b1bd5(0x1e1)]);break;case _0x5b1bd5(0x1e3):this[_0x5b1bd5(0x1e6)][_0x5b1bd5(0x1e4)]([this[_0x5b1bd5(0x1f2)],this[_0x5b1bd5(0x1c5)]]);}}[_0x398b82(0x1c0)](_0x51a0fc,_0x836b5b){const _0x1c566f=_0x398b82,_0x1954de=_0x1c566f(0x1c9),_0x1acfdb=_0x51a0fc[_0x1c566f(0x1c4)](_0x1954de);if(_0x1acfdb)return _0x836b5b(_0x1acfdb);const _0x516ef7=new MutationObserver(_0x5e8ce9=>{const _0x14b57a=_0x1c566f,_0x303d0f=_0x5e8ce9[_0x14b57a(0x1f0)](_0x5afadd=>_0x5afadd[_0x14b57a(0x1c6)]===_0x51a0fc&&_0x5afadd[_0x14b57a(0x1d7)][_0x14b57a(0x1f4)]>0x0&&_0x5afadd[_0x14b57a(0x1d7)][0x0][_0x14b57a(0x1f5)][_0x14b57a(0x1d2)]()===_0x1954de);_0x303d0f[_0x14b57a(0x1f4)]&&(_0x516ef7[_0x14b57a(0x1cb)](),_0x836b5b(_0x303d0f[0x0][_0x14b57a(0x1d7)][0x0]));});_0x516ef7[_0x1c566f(0x1d9)](_0x51a0fc,{'childList':!0x0,'subtree':!0x0});}[_0x398b82(0x1cc)](_0x306e67){const _0x1e1b72=_0x398b82;_0x306e67[_0x1e1b72(0x1eb)](_0x1e1b72(0x1df),_0x3e76c9=>{const _0x24df7e=_0x1e1b72;this[_0x24df7e(0x1ef)](_0x24df7e(0x1df),{'imageSrc':_0x3e76c9[_0x24df7e(0x1d4)][_0x24df7e(0x1cd)]});}),_0x306e67[_0x1e1b72(0x1eb)](_0x1e1b72(0x1f1),()=>{const _0x299075=_0x1e1b72;this[_0x299075(0x1ef)](_0x299075(0x1f1));});}[_0x398b82(0x1ea)](){const _0x4f5025=_0x398b82;this[_0x4f5025(0x1e1)]['on'](_0x4f5025(0x1d8),()=>{const _0x1027b1=_0x4f5025;this[_0x1027b1(0x1ef)](_0x1027b1(0x1d8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252a22=_0x233d;(function(_0x521402,_0x481c06){const _0x559c83=_0x233d,_0x27f47a=_0x521402();while(!![]){try{const _0x55c5c8=parseInt(_0x559c83(0x171))/0x1+parseInt(_0x559c83(0x162))/0x2*(parseInt(_0x559c83(0x156))/0x3)+parseInt(_0x559c83(0x161))/0x4*(-parseInt(_0x559c83(0x159))/0x5)+-parseInt(_0x559c83(0x165))/0x6*(-parseInt(_0x559c83(0x175))/0x7)+parseInt(_0x559c83(0x167))/0x8+parseInt(_0x559c83(0x15b))/0x9*(-parseInt(_0x559c83(0x16c))/0xa)+parseInt(_0x559c83(0x158))/0xb*(-parseInt(_0x559c83(0x16d))/0xc);if(_0x55c5c8===_0x481c06)break;else _0x27f47a['push'](_0x27f47a['shift']());}catch(_0x25751e){_0x27f47a['push'](_0x27f47a['shift']());}}}(_0x24c3,0xe2465));import{Command as _0xc071ab}from'ckeditor5/src/core.js';import{Dialog as _0x2fdbbe}from'ckeditor5/src/ui.js';function _0x24c3(){const _0x2bec74=['imageBlock','isEnabled','23046vnzXHN','unbind','134926VDisXB','5BhISdD','config','9LPuzjc','imageInline','element','bind','plugins','imageEditController','3831552HGOHdO','294Gxmeae','get','getSelectedElement','24fgKopc','requires','4959472xmHRlh','document','execute','_isEditable','refresh','1614530bGDdij','1584WxtZIQ','editor','model','set','607442mdQOJw','selection','isActive','uploadcare.allowExternalImagesEditing','2290127qZRwbb'];_0x24c3=function(){return _0x2bec74;};return _0x24c3();}function _0x233d(_0xd9fcb6,_0x4b91fb){const _0x24c314=_0x24c3();return _0x233d=function(_0x233d6f,_0x74a817){_0x233d6f=_0x233d6f-0x155;let _0x331ef1=_0x24c314[_0x233d6f];return _0x331ef1;},_0x233d(_0xd9fcb6,_0x4b91fb);}import{UploadcareImageEditController as _0x49be27}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x28e01d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xc071ab{[_0x252a22(0x160)];static get[_0x252a22(0x166)](){return[_0x2fdbbe];}[_0x252a22(0x16a)];constructor(_0x4bd9c4){const _0x125f5d=_0x252a22;super(_0x4bd9c4),this[_0x125f5d(0x160)]=void 0x0,this[_0x125f5d(0x16a)]=_0x28e01d(_0x4bd9c4[_0x125f5d(0x15a)][_0x125f5d(0x163)](_0x125f5d(0x174))||[]),this[_0x125f5d(0x170)]({'isActive':!0x1});}[_0x252a22(0x16b)](){const _0x2faa1b=_0x252a22,_0x29af84=this[_0x2faa1b(0x16e)][_0x2faa1b(0x16f)][_0x2faa1b(0x168)][_0x2faa1b(0x172)][_0x2faa1b(0x164)]();this[_0x2faa1b(0x155)]=this[_0x2faa1b(0x16a)](_0x29af84);}[_0x252a22(0x169)](){const _0x537fe8=_0x252a22;this[_0x537fe8(0x160)]&&(this[_0x537fe8(0x157)](_0x537fe8(0x173)),this[_0x537fe8(0x160)]=void 0x0);const _0x381d50=this[_0x537fe8(0x16e)][_0x537fe8(0x16f)][_0x537fe8(0x168)][_0x537fe8(0x172)][_0x537fe8(0x164)]();_0x381d50&&(_0x381d50['is'](_0x537fe8(0x15d),_0x537fe8(0x176))||_0x381d50['is'](_0x537fe8(0x15d),_0x537fe8(0x15c)))&&(this[_0x537fe8(0x160)]=new _0x49be27(this[_0x537fe8(0x16e)],this[_0x537fe8(0x16e)][_0x537fe8(0x15f)][_0x537fe8(0x163)](_0x2fdbbe),_0x381d50),this[_0x537fe8(0x15e)](_0x537fe8(0x173))['to'](this[_0x537fe8(0x160)],_0x537fe8(0x173)));}}
23
+ function _0x22dd(_0x57952f,_0x4f4fc7){const _0x59d4e8=_0x59d4();return _0x22dd=function(_0x22dd8c,_0x504bdc){_0x22dd8c=_0x22dd8c-0x192;let _0xacc21b=_0x59d4e8[_0x22dd8c];return _0xacc21b;},_0x22dd(_0x57952f,_0x4f4fc7);}const _0x162d94=_0x22dd;(function(_0x4cae7e,_0xfcab61){const _0x4f4834=_0x22dd,_0xb5a33c=_0x4cae7e();while(!![]){try{const _0x106cb9=-parseInt(_0x4f4834(0x1a3))/0x1+-parseInt(_0x4f4834(0x1a7))/0x2+parseInt(_0x4f4834(0x192))/0x3+parseInt(_0x4f4834(0x1a0))/0x4+parseInt(_0x4f4834(0x1a2))/0x5+-parseInt(_0x4f4834(0x193))/0x6+parseInt(_0x4f4834(0x1ab))/0x7;if(_0x106cb9===_0xfcab61)break;else _0xb5a33c['push'](_0xb5a33c['shift']());}catch(_0x52cc96){_0xb5a33c['push'](_0xb5a33c['shift']());}}}(_0x59d4,0xaa28c));import{Command as _0x3f7a5a}from'ckeditor5/src/core.js';import{Dialog as _0x13e64a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4439aa}from'./ui/uploadcareimageeditcontroller.js';function _0x59d4(){const _0x200f16=['editor','imageInline','_isEditable','4969656dCSdrv','model','494675McfNWn','809381OGCaSK','refresh','execute','bind','1805908uyfZcJ','get','unbind','set','4587737YNGbNo','uploadcare.allowExternalImagesEditing','isEnabled','imageEditController','3548544NDiETg','4621686AuyewA','element','requires','selection','config','imageBlock','plugins','document','getSelectedElement','isActive'];_0x59d4=function(){return _0x200f16;};return _0x59d4();}import{createEditabilityChecker as _0x2de712}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3f7a5a{[_0x162d94(0x1ae)];static get[_0x162d94(0x195)](){return[_0x13e64a];}[_0x162d94(0x19f)];constructor(_0x516624){const _0x487d03=_0x162d94;super(_0x516624),this[_0x487d03(0x1ae)]=void 0x0,this[_0x487d03(0x19f)]=_0x2de712(_0x516624[_0x487d03(0x197)][_0x487d03(0x1a8)](_0x487d03(0x1ac))||[]),this[_0x487d03(0x1aa)]({'isActive':!0x1});}[_0x162d94(0x1a4)](){const _0x513715=_0x162d94,_0x7d0d2b=this[_0x513715(0x19d)][_0x513715(0x1a1)][_0x513715(0x19a)][_0x513715(0x196)][_0x513715(0x19b)]();this[_0x513715(0x1ad)]=this[_0x513715(0x19f)](_0x7d0d2b);}[_0x162d94(0x1a5)](){const _0x98d63a=_0x162d94;this[_0x98d63a(0x1ae)]&&(this[_0x98d63a(0x1a9)](_0x98d63a(0x19c)),this[_0x98d63a(0x1ae)]=void 0x0);const _0x3565f1=this[_0x98d63a(0x19d)][_0x98d63a(0x1a1)][_0x98d63a(0x19a)][_0x98d63a(0x196)][_0x98d63a(0x19b)]();_0x3565f1&&(_0x3565f1['is'](_0x98d63a(0x194),_0x98d63a(0x198))||_0x3565f1['is'](_0x98d63a(0x194),_0x98d63a(0x19e)))&&(this[_0x98d63a(0x1ae)]=new _0x4439aa(this[_0x98d63a(0x19d)],this[_0x98d63a(0x19d)][_0x98d63a(0x199)][_0x98d63a(0x1a8)](_0x13e64a),_0x3565f1),this[_0x98d63a(0x1a6)](_0x98d63a(0x19c))['to'](this[_0x98d63a(0x1ae)],_0x98d63a(0x19c)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b1841=_0xd52d;(function(_0x5096f7,_0x3f2737){const _0x371d60=_0xd52d,_0x118a16=_0x5096f7();while(!![]){try{const _0x574dbf=parseInt(_0x371d60(0x173))/0x1*(parseInt(_0x371d60(0x167))/0x2)+-parseInt(_0x371d60(0x160))/0x3+parseInt(_0x371d60(0x16b))/0x4*(parseInt(_0x371d60(0x172))/0x5)+-parseInt(_0x371d60(0x170))/0x6+parseInt(_0x371d60(0x166))/0x7+-parseInt(_0x371d60(0x174))/0x8+parseInt(_0x371d60(0x161))/0x9*(-parseInt(_0x371d60(0x16c))/0xa);if(_0x574dbf===_0x3f2737)break;else _0x118a16['push'](_0x118a16['shift']());}catch(_0x1b9c1d){_0x118a16['push'](_0x118a16['shift']());}}}(_0x5eae,0x25860));import{Plugin as _0x3ee2e5}from'ckeditor5/src/core.js';function _0x5eae(){const _0x33f6fb=['725226ZkhEGT','requires','1088095ClVjOZ','282844Ltievl','355472WmizYj','uploadcareImageEdit','231618DJSyDP','241389nrYzRX','init','pluginName','isOfficialPlugin','uploadcareImageReplace','1147678lMDyJD','2nAZfJb','isPremiumPlugin','add','ImageUtils','4uiVOdp','100QMNDzx','UploadcareImageEditEditing','commands','ImageEditing'];_0x5eae=function(){return _0x33f6fb;};return _0x5eae();}import{Notification as _0x56a15d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2375c3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3aff7c}from'./uploadcareimagereplacecommand.js';function _0xd52d(_0x5a07ab,_0xd05114){const _0x5eae0e=_0x5eae();return _0xd52d=function(_0xd52d46,_0x2b08b2){_0xd52d46=_0xd52d46-0x160;let _0x4158c1=_0x5eae0e[_0xd52d46];return _0x4158c1;},_0xd52d(_0x5a07ab,_0xd05114);}import{UploadcareEditing as _0x14222f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3ee2e5{static get[_0x1b1841(0x163)](){const _0xf99893=_0x1b1841;return _0xf99893(0x16d);}static get[_0x1b1841(0x171)](){const _0x348018=_0x1b1841;return[_0x14222f,_0x56a15d,_0x348018(0x16a),_0x348018(0x16f)];}static get[_0x1b1841(0x164)](){return!0x0;}static get[_0x1b1841(0x168)](){return!0x0;}[_0x1b1841(0x162)](){const _0x113a5e=_0x1b1841,{editor:_0x1e6ed3}=this;_0x1e6ed3[_0x113a5e(0x16e)][_0x113a5e(0x169)](_0x113a5e(0x175),new _0x2375c3(_0x1e6ed3)),_0x1e6ed3[_0x113a5e(0x16e)][_0x113a5e(0x169)](_0x113a5e(0x165),new _0x3aff7c(_0x1e6ed3));}}
23
+ const _0x4d24a2=_0x2236;(function(_0x20ed3a,_0x16aea8){const _0x1a4940=_0x2236,_0x5140c2=_0x20ed3a();while(!![]){try{const _0x4b9acc=parseInt(_0x1a4940(0x1ee))/0x1*(-parseInt(_0x1a4940(0x1e4))/0x2)+parseInt(_0x1a4940(0x1fa))/0x3*(-parseInt(_0x1a4940(0x1f8))/0x4)+-parseInt(_0x1a4940(0x1e8))/0x5+parseInt(_0x1a4940(0x1f9))/0x6+-parseInt(_0x1a4940(0x1f6))/0x7*(parseInt(_0x1a4940(0x1ed))/0x8)+-parseInt(_0x1a4940(0x1e5))/0x9*(-parseInt(_0x1a4940(0x1ec))/0xa)+-parseInt(_0x1a4940(0x1e9))/0xb*(-parseInt(_0x1a4940(0x1f3))/0xc);if(_0x4b9acc===_0x16aea8)break;else _0x5140c2['push'](_0x5140c2['shift']());}catch(_0x42400e){_0x5140c2['push'](_0x5140c2['shift']());}}}(_0x3ce4,0x47cdc));import{Plugin as _0x574bf0}from'ckeditor5/src/core.js';function _0x2236(_0x37e806,_0x2e070b){const _0x3ce464=_0x3ce4();return _0x2236=function(_0x223652,_0x276dfa){_0x223652=_0x223652-0x1e3;let _0x229feb=_0x3ce464[_0x223652];return _0x229feb;},_0x2236(_0x37e806,_0x2e070b);}import{Notification as _0xd1d026}from'ckeditor5/src/ui.js';function _0x3ce4(){const _0x4b9d14=['1808848IgqZdb','4HKJbyr','uploadcareImageReplace','isOfficialPlugin','commands','pluginName','91548rfNWHt','add','isPremiumPlugin','14OYmkpI','init','562276hyinqT','2937870fDAAoc','6lTXNXI','UploadcareImageEditEditing','217632XTSzXh','2474631UBPjAu','requires','ImageUtils','285765TilDhy','1089izuFXn','ImageEditing','uploadcareImageEdit','10EbnfPG'];_0x3ce4=function(){return _0x4b9d14;};return _0x3ce4();}import{UploadcareImageEditCommand as _0xc63c88}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4217a7}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3365e8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x574bf0{static get[_0x4d24a2(0x1f2)](){const _0x2ea8b4=_0x4d24a2;return _0x2ea8b4(0x1e3);}static get[_0x4d24a2(0x1e6)](){const _0xf2f4df=_0x4d24a2;return[_0x3365e8,_0xd1d026,_0xf2f4df(0x1e7),_0xf2f4df(0x1ea)];}static get[_0x4d24a2(0x1f0)](){return!0x0;}static get[_0x4d24a2(0x1f5)](){return!0x0;}[_0x4d24a2(0x1f7)](){const _0x55367c=_0x4d24a2,{editor:_0x54a015}=this;_0x54a015[_0x55367c(0x1f1)][_0x55367c(0x1f4)](_0x55367c(0x1eb),new _0xc63c88(_0x54a015)),_0x54a015[_0x55367c(0x1f1)][_0x55367c(0x1f4)](_0x55367c(0x1ef),new _0x4217a7(_0x54a015));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x15815f}from'ckeditor5/src/core.js';import{ButtonView as _0x4643f3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4d71aa}from'ckeditor5/src/icons.js';import{createElement as _0x221a46}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x15815f{['_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 _0xf2f743=this['editor'];_0xf2f743['ui']['componentFactory']['add']('uploadcareImageEdit',_0x6f1bca=>{const _0xe35c22=_0xf2f743['commands']['get']('uploadcareImageEdit'),_0x1f2525=new _0x4643f3(_0x6f1bca),t=_0x6f1bca['t'];return _0x1f2525['set']({'icon':_0x4d71aa,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1f2525['bind']('isEnabled')['to'](_0xe35c22),_0x1f2525['bind']('isOn')['to'](_0xe35c22,'isActive'),this['listenTo'](_0x1f2525,'execute',()=>{_0xf2f743['execute']('uploadcareImageEdit'),_0xf2f743['editing']['view']['focus']();}),_0x1f2525;}),this['_initConfig']();}['_initConfig'](){const _0x672319=_0x221a46(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x672319),this['listenTo'](this['editor'],'destroy',()=>{_0x672319['remove']();});}}
23
+ import{Plugin as _0x5225d6}from'ckeditor5/src/core.js';import{ButtonView as _0x212d48}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x596042}from'ckeditor5/src/icons.js';import{createElement as _0x59c5d2}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x5225d6{['_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 _0x14d69b=this['editor'];_0x14d69b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29b55e=>{const _0x219090=_0x14d69b['commands']['get']('uploadcareImageEdit'),_0x20ff3a=new _0x212d48(_0x29b55e),t=_0x29b55e['t'];return _0x20ff3a['set']({'icon':_0x596042,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20ff3a['bind']('isEnabled')['to'](_0x219090),_0x20ff3a['bind']('isOn')['to'](_0x219090,'isActive'),this['listenTo'](_0x20ff3a,'execute',()=>{_0x14d69b['execute']('uploadcareImageEdit'),_0x14d69b['editing']['view']['focus']();}),_0x20ff3a;}),this['_initConfig']();}['_initConfig'](){const _0x4697ef=_0x59c5d2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4697ef),this['listenTo'](this['editor'],'destroy',()=>{_0x4697ef['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x38f6b5=_0x2e50;function _0x3445(){var _0x50fa99=['true','div','focusCycler','125688PzLUBC','bindTemplate','10421330aPVKma','fire','focusTracker','8OEeuCP','6434919ezxBBQ','getFocusableElement','5429641WlSxvO','20dJmbyb','191628RNImGX','createCollection','forwardCycle','80AHnrRP','33PEyZVw','3573616DNkmFZ','727746nRSSRM'];_0x3445=function(){return _0x50fa99;};return _0x3445();}function _0x2e50(_0x467060,_0x1216e6){var _0x34457d=_0x3445();return _0x2e50=function(_0x2e5040,_0x13878a){_0x2e5040=_0x2e5040-0xaf;var _0x560483=_0x34457d[_0x2e5040];return _0x560483;},_0x2e50(_0x467060,_0x1216e6);}(function(_0x4bea98,_0x437309){var _0x4ba8e1=_0x2e50,_0x3259b4=_0x4bea98();while(!![]){try{var _0x4759b7=parseInt(_0x4ba8e1(0xb2))/0x1+parseInt(_0x4ba8e1(0xbf))/0x2*(-parseInt(_0x4ba8e1(0xc0))/0x3)+-parseInt(_0x4ba8e1(0xb1))/0x4+-parseInt(_0x4ba8e1(0xaf))/0x5*(parseInt(_0x4ba8e1(0xb6))/0x6)+-parseInt(_0x4ba8e1(0xbe))/0x7+parseInt(_0x4ba8e1(0xbb))/0x8*(-parseInt(_0x4ba8e1(0xbc))/0x9)+parseInt(_0x4ba8e1(0xb8))/0xa*(parseInt(_0x4ba8e1(0xb0))/0xb);if(_0x4759b7===_0x437309)break;else _0x3259b4['push'](_0x3259b4['shift']());}catch(_0x129e8f){_0x3259b4['push'](_0x3259b4['shift']());}}}(_0x3445,0x7921f));import{FocusTracker as _0x45c283}from'ckeditor5/src/utils.js';import{View as _0x4a6cb8,FocusCycler as _0x62c78c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4a6cb8{[_0x38f6b5(0xba)];[_0x38f6b5(0xb5)];constructor(_0x3bcc4e){var _0x5f4099=_0x38f6b5;super(_0x3bcc4e),this[_0x5f4099(0xba)]=new _0x45c283(),this[_0x5f4099(0xb5)]=new _0x62c78c({'focusables':this[_0x5f4099(0xc1)](),'focusTracker':this[_0x5f4099(0xba)]});}[_0x38f6b5(0xbd)](){var _0x4179fc=_0x38f6b5;return{'tag':_0x4179fc(0xb4),'attributes':{'aria-hidden':_0x4179fc(0xb3),'tabindex':'0'},'on':{'focus':this[_0x4179fc(0xb7)]['to'](()=>{var _0x34acc0=_0x4179fc;this[_0x34acc0(0xb5)][_0x34acc0(0xb9)](_0x34acc0(0xc2));})}};}}
23
+ var _0x2f8398=_0xfc2f;(function(_0x21710a,_0x5a295e){var _0x34343e=_0xfc2f,_0x22f384=_0x21710a();while(!![]){try{var _0x81c1ed=-parseInt(_0x34343e(0xbe))/0x1+-parseInt(_0x34343e(0xc7))/0x2*(-parseInt(_0x34343e(0xbd))/0x3)+-parseInt(_0x34343e(0xc8))/0x4*(parseInt(_0x34343e(0xc9))/0x5)+-parseInt(_0x34343e(0xc2))/0x6*(-parseInt(_0x34343e(0xcc))/0x7)+-parseInt(_0x34343e(0xbf))/0x8*(-parseInt(_0x34343e(0xbc))/0x9)+parseInt(_0x34343e(0xc4))/0xa+-parseInt(_0x34343e(0xc0))/0xb;if(_0x81c1ed===_0x5a295e)break;else _0x22f384['push'](_0x22f384['shift']());}catch(_0x4349fe){_0x22f384['push'](_0x22f384['shift']());}}}(_0x5de4,0x9bec4));import{FocusTracker as _0xe0cf5a}from'ckeditor5/src/utils.js';function _0x5de4(){var _0x47ca26=['focusCycler','true','14gWUcHX','getFocusableElement','bindTemplate','div','66420jENzBB','1202697YunhPt','901798ZubQAH','544uHlQlU','8543062EvZOAQ','createCollection','197058fYMdqo','focusTracker','10673430cXmOJZ','fire','forwardCycle','6cWnatR','1732zWRWwg','6010GpfnTh'];_0x5de4=function(){return _0x47ca26;};return _0x5de4();}import{View as _0x2b562e,FocusCycler as _0xfebfa5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0xfc2f(_0x51326a,_0x97366e){var _0x5de496=_0x5de4();return _0xfc2f=function(_0xfc2f43,_0x14dbcc){_0xfc2f43=_0xfc2f43-0xba;var _0x2da286=_0x5de496[_0xfc2f43];return _0x2da286;},_0xfc2f(_0x51326a,_0x97366e);}export class DialogFocusManagerView extends _0x2b562e{[_0x2f8398(0xc3)];[_0x2f8398(0xca)];constructor(_0x37c35e){var _0x16df2a=_0x2f8398;super(_0x37c35e),this[_0x16df2a(0xc3)]=new _0xe0cf5a(),this[_0x16df2a(0xca)]=new _0xfebfa5({'focusables':this[_0x16df2a(0xc1)](),'focusTracker':this[_0x16df2a(0xc3)]});}[_0x2f8398(0xcd)](){var _0x9270ce=_0x2f8398;return{'tag':_0x9270ce(0xbb),'attributes':{'aria-hidden':_0x9270ce(0xcb),'tabindex':'0'},'on':{'focus':this[_0x9270ce(0xba)]['to'](()=>{var _0x2ed80b=_0x9270ce;this[_0x2ed80b(0xca)][_0x2ed80b(0xc5)](_0x2ed80b(0xc6));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x395fb4,_0x1c58f7){const _0x3ec9fc=_0x3ac3,_0x2914f6=_0x395fb4();while(!![]){try{const _0x37d0ac=-parseInt(_0x3ec9fc(0x7e))/0x1*(-parseInt(_0x3ec9fc(0x85))/0x2)+-parseInt(_0x3ec9fc(0x8d))/0x3*(parseInt(_0x3ec9fc(0x96))/0x4)+-parseInt(_0x3ec9fc(0x83))/0x5*(-parseInt(_0x3ec9fc(0x8b))/0x6)+-parseInt(_0x3ec9fc(0x82))/0x7*(parseInt(_0x3ec9fc(0x87))/0x8)+-parseInt(_0x3ec9fc(0x79))/0x9*(-parseInt(_0x3ec9fc(0x84))/0xa)+parseInt(_0x3ec9fc(0x7a))/0xb+parseInt(_0x3ec9fc(0x6b))/0xc*(-parseInt(_0x3ec9fc(0x71))/0xd);if(_0x37d0ac===_0x1c58f7)break;else _0x2914f6['push'](_0x2914f6['shift']());}catch(_0x33b25b){_0x2914f6['push'](_0x2914f6['shift']());}}}(_0x30ab,0x40f22));import{global as _0x111daa,DomEmitterMixin as _0x1af628}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x499869){const _0x330ec4=_0x3ac3,_0x36c665=z(_0x499869);return _0x40655a=>!(!_0x40655a||!_0x40655a['is'](_0x330ec4(0x91),_0x330ec4(0x7d))&&!_0x40655a['is'](_0x330ec4(0x91),_0x330ec4(0x75)))&&(!!_0x40655a[_0x330ec4(0x6f)](_0x330ec4(0x81))||!!_0x40655a[_0x330ec4(0x6f)](_0x330ec4(0x9c))&&_0x36c665(_0x40655a[_0x330ec4(0x95)](_0x330ec4(0x9c))));}function _0x30ab(){const _0x4bb062=['mapper','get','plugins','imageInline','listenTo','match','removeStyle','527283LEAPVL','1894398UdYUZC','ImageUtils','join','imageBlock','134AtgErJ','window','setStyle','uploadcareImageId','1806MQTHVK','513230uOrldA','70muFUkv','4294RFyYkm','origin','12872TgSZYj','height','aspect-ratio','x/\x20','18RlRHsF','baseURI','31065OmCUlt','findViewImgElement','location','px)\x20100vw,\x20','element','isArray','change','(max-width:\x20','getAttribute','60VPAxNC','image-processing','load','editing','some','function','src','/-/resize/','stopListening','width','map','domConverter','view','toViewElement','image/webp','filter','addClass','12WMXuYm','viewToDom','removeClass','replace','hasAttribute','document','4439474uzzvrd'];_0x30ab=function(){return _0x4bb062;};return _0x30ab();}export function getImageUrls(_0x4eeda3,_0x14766d){const _0x41bbfe=_0x3ac3,_0x33ef53=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x41bbfe(0x69)](_0x4880ba=>_0x4880ba<=_0x14766d)[_0x41bbfe(0xa0)](_0x43b9e5=>_0x4eeda3[_0x41bbfe(0x6e)](/\/$/,'')+_0x41bbfe(0x9d)+_0x43b9e5+_0x41bbfe(0x8a)+_0x43b9e5+'w');return{'imageFallbackUrl':_0x4eeda3,'imageSources':[{'srcset':_0x33ef53[_0x41bbfe(0x7c)](',\x20'),'sizes':_0x41bbfe(0x94)+_0x14766d+_0x41bbfe(0x90)+_0x14766d+'px','type':_0x41bbfe(0x68)}]};}export function getImageDimension(_0x441e60,_0x2b8d6a,_0x57999c){const _0x2f153d=_0x3ac3,_0x5066e1=_0x441e60[_0x2f153d(0x77)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5066e1?parseInt(_0x5066e1[0x1],0xa):_0x2b8d6a,'height':_0x5066e1?parseInt(_0x5066e1[0x2],0xa):_0x57999c};}function _0x3ac3(_0x5b3234,_0x3309f1){const _0x30aba3=_0x30ab();return _0x3ac3=function(_0x3ac3e1,_0x5f8ce7){_0x3ac3e1=_0x3ac3e1-0x65;let _0xbdcd15=_0x30aba3[_0x3ac3e1];return _0xbdcd15;},_0x3ac3(_0x5b3234,_0x3309f1);}export function showImageProcessingIndicator(_0x33d643,_0x1fbf67){const _0x3cf550=_0x3ac3,_0xb083be=new(_0x1af628())(),_0x113792=_0x33d643[_0x3cf550(0x74)][_0x3cf550(0x73)](_0x3cf550(0x7b)),_0x12eee9=_0x33d643[_0x3cf550(0x99)][_0x3cf550(0x72)][_0x3cf550(0x67)](_0x1fbf67),_0x18a295=_0x113792[_0x3cf550(0x8e)](_0x12eee9),_0x36a042=_0x33d643[_0x3cf550(0x99)][_0x3cf550(0x66)][_0x3cf550(0x65)][_0x3cf550(0x6c)](_0x18a295),_0x1fd4de=_0x1fbf67[_0x3cf550(0x95)](_0x3cf550(0x9f)),_0x352066=_0x1fbf67[_0x3cf550(0x95)](_0x3cf550(0x88)),_0x5864d5=_0x3cf550(0x97);_0x33d643[_0x3cf550(0x99)][_0x3cf550(0x66)][_0x3cf550(0x93)](_0x22ca22=>{const _0x2d33e3=_0x3cf550;_0x22ca22[_0x2d33e3(0x6a)](_0x5864d5,_0x12eee9),_0x22ca22[_0x2d33e3(0x80)](_0x2d33e3(0x89),_0x1fd4de+'/'+_0x352066,_0x18a295);}),_0xb083be[_0x3cf550(0x76)](_0x36a042,_0x3cf550(0x98),()=>{const _0x11d94a=_0x3cf550;_0xb083be[_0x11d94a(0x9e)](_0x36a042,_0x11d94a(0x98)),_0x33d643[_0x11d94a(0x99)][_0x11d94a(0x66)][_0x11d94a(0x93)](_0x45ec9e=>{const _0x427dc6=_0x11d94a;_0x45ec9e[_0x427dc6(0x6d)](_0x5864d5,_0x12eee9),_0x45ec9e[_0x427dc6(0x78)](_0x427dc6(0x89),_0x18a295);});});}function z(_0x17b717){const _0x150440=_0x3ac3;if(Array[_0x150440(0x92)](_0x17b717)){const _0x49e772=_0x17b717[_0x150440(0xa0)](z);return _0xcddd5f=>_0x49e772[_0x150440(0x9a)](_0x35508f=>_0x35508f(_0xcddd5f));}if(_0x150440(0x86)==_0x17b717){const _0x1f379d=_0x111daa[_0x150440(0x7f)][_0x150440(0x8f)][_0x150440(0x86)];return _0x4fa225=>new URL(_0x4fa225,_0x111daa[_0x150440(0x70)][_0x150440(0x8c)])[_0x150440(0x86)]==_0x1f379d;}return _0x150440(0x9b)==typeof _0x17b717?_0x17b717:_0x17b717 instanceof RegExp?_0x4b862e=>!(!_0x4b862e[_0x150440(0x77)](_0x17b717)&&!_0x4b862e[_0x150440(0x6e)](/^https?:\/\//,'')[_0x150440(0x77)](_0x17b717)):()=>!0x1;}
23
+ (function(_0x3eee1a,_0x4953dc){const _0x5af624=_0x2089,_0x2accbe=_0x3eee1a();while(!![]){try{const _0x58ca1b=parseInt(_0x5af624(0xb1))/0x1*(parseInt(_0x5af624(0xad))/0x2)+parseInt(_0x5af624(0x99))/0x3*(-parseInt(_0x5af624(0xb4))/0x4)+-parseInt(_0x5af624(0xb8))/0x5*(parseInt(_0x5af624(0xc3))/0x6)+parseInt(_0x5af624(0xa3))/0x7*(parseInt(_0x5af624(0xa1))/0x8)+-parseInt(_0x5af624(0xac))/0x9+parseInt(_0x5af624(0xbd))/0xa+parseInt(_0x5af624(0xb7))/0xb*(parseInt(_0x5af624(0xc7))/0xc);if(_0x58ca1b===_0x4953dc)break;else _0x2accbe['push'](_0x2accbe['shift']());}catch(_0x2dd283){_0x2accbe['push'](_0x2accbe['shift']());}}}(_0x25e3,0x37100));import{global as _0x3ace2b,DomEmitterMixin as _0x2b2eb5}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x32c4d2){const _0xda1ca=_0x2089,_0x3ad845=G(_0x32c4d2);return _0x18772d=>!(!_0x18772d||!_0x18772d['is'](_0xda1ca(0x94),_0xda1ca(0xb5))&&!_0x18772d['is'](_0xda1ca(0x94),_0xda1ca(0x9b)))&&(!!_0x18772d[_0xda1ca(0x9f)](_0xda1ca(0x96))||!!_0x18772d[_0xda1ca(0x9f)](_0xda1ca(0xb3))&&_0x3ad845(_0x18772d[_0xda1ca(0xaf)](_0xda1ca(0xb3))));}function _0x2089(_0x2d5bae,_0x6a14da){const _0x25e312=_0x25e3();return _0x2089=function(_0x2089c3,_0x13f69d){_0x2089c3=_0x2089c3-0x93;let _0x1b3e24=_0x25e312[_0x2089c3];return _0x1b3e24;},_0x2089(_0x2d5bae,_0x6a14da);}export function getImageUrls(_0x1c69d8,_0x241d67){const _0x2a1494=_0x2089,_0x1ec9fb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x2a1494(0xa2)](_0x1f7cae=>_0x1f7cae<=_0x241d67)[_0x2a1494(0xab)](_0x28c4dc=>_0x1c69d8[_0x2a1494(0xc6)](/\/$/,'')+_0x2a1494(0xbb)+_0x28c4dc+_0x2a1494(0x9c)+_0x28c4dc+'w');return{'imageFallbackUrl':_0x1c69d8,'imageSources':[{'srcset':_0x1ec9fb[_0x2a1494(0xc4)](',\x20'),'sizes':_0x2a1494(0xae)+_0x241d67+_0x2a1494(0xb0)+_0x241d67+'px','type':_0x2a1494(0xc1)}]};}export function getImageDimension(_0x536139,_0x162209,_0x294b28){const _0x2ee58a=_0x2089,_0x59f24d=_0x536139[_0x2ee58a(0x98)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x59f24d?parseInt(_0x59f24d[0x1],0xa):_0x162209,'height':_0x59f24d?parseInt(_0x59f24d[0x2],0xa):_0x294b28};}function _0x25e3(){const _0x33c411=['68jckUFi','(max-width:\x20','getAttribute','px)\x20100vw,\x20','3833JkULbR','load','src','594856kxcMvn','imageBlock','toViewElement','11CkIJjF','2195CUUCTw','origin','baseURI','/-/resize/','addClass','1029950qXQYxq','aspect-ratio','plugins','document','image/webp','findViewImgElement','3954eUhyhT','join','removeStyle','replace','9488148nHachC','function','domConverter','mapper','get','isArray','ImageUtils','editing','element','setStyle','uploadcareImageId','change','match','9NuEkkr','removeClass','imageInline','x/\x20','image-processing','window','hasAttribute','height','1416nTzNTg','filter','15169OrhSGb','some','stopListening','width','view','viewToDom','listenTo','location','map','4019184FaTmqn'];_0x25e3=function(){return _0x33c411;};return _0x25e3();}export function showImageProcessingIndicator(_0x5a3686,_0x16c46d){const _0x457f8c=_0x2089,_0x5126a4=new(_0x2b2eb5())(),_0x216464=_0x5a3686[_0x457f8c(0xbf)][_0x457f8c(0xcb)](_0x457f8c(0xcd)),_0x4f56f6=_0x5a3686[_0x457f8c(0x93)][_0x457f8c(0xca)][_0x457f8c(0xb6)](_0x16c46d),_0x54e980=_0x216464[_0x457f8c(0xc2)](_0x4f56f6),_0x136e77=_0x5a3686[_0x457f8c(0x93)][_0x457f8c(0xa7)][_0x457f8c(0xc9)][_0x457f8c(0xa8)](_0x54e980),_0x3c33f5=_0x16c46d[_0x457f8c(0xaf)](_0x457f8c(0xa6)),_0x3ad060=_0x16c46d[_0x457f8c(0xaf)](_0x457f8c(0xa0)),_0x365027=_0x457f8c(0x9d);_0x5a3686[_0x457f8c(0x93)][_0x457f8c(0xa7)][_0x457f8c(0x97)](_0x29b908=>{const _0x289316=_0x457f8c;_0x29b908[_0x289316(0xbc)](_0x365027,_0x4f56f6),_0x29b908[_0x289316(0x95)](_0x289316(0xbe),_0x3c33f5+'/'+_0x3ad060,_0x54e980);}),_0x5126a4[_0x457f8c(0xa9)](_0x136e77,_0x457f8c(0xb2),()=>{const _0x391928=_0x457f8c;_0x5126a4[_0x391928(0xa5)](_0x136e77,_0x391928(0xb2)),_0x5a3686[_0x391928(0x93)][_0x391928(0xa7)][_0x391928(0x97)](_0x2b640b=>{const _0x39ecae=_0x391928;_0x2b640b[_0x39ecae(0x9a)](_0x365027,_0x4f56f6),_0x2b640b[_0x39ecae(0xc5)](_0x39ecae(0xbe),_0x54e980);});});}function G(_0x2479dd){const _0x2512c6=_0x2089;if(Array[_0x2512c6(0xcc)](_0x2479dd)){const _0x3f2b74=_0x2479dd[_0x2512c6(0xab)](G);return _0x1c3865=>_0x3f2b74[_0x2512c6(0xa4)](_0xfaf307=>_0xfaf307(_0x1c3865));}if(_0x2512c6(0xb9)==_0x2479dd){const _0x31ef1d=_0x3ace2b[_0x2512c6(0x9e)][_0x2512c6(0xaa)][_0x2512c6(0xb9)];return _0x53f2ce=>new URL(_0x53f2ce,_0x3ace2b[_0x2512c6(0xc0)][_0x2512c6(0xba)])[_0x2512c6(0xb9)]==_0x31ef1d;}return _0x2512c6(0xc8)==typeof _0x2479dd?_0x2479dd:_0x2479dd instanceof RegExp?_0x487d08=>!(!_0x487d08[_0x2512c6(0x98)](_0x2479dd)&&!_0x487d08[_0x2512c6(0xc6)](/^https?:\/\//,'')[_0x2512c6(0x98)](_0x2479dd)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2349f7,_0x4a881f){var _0x50d17a=_0x3d3c,_0x1fd86d=_0x2349f7();while(!![]){try{var _0x4a9a63=parseInt(_0x50d17a(0x156))/0x1*(-parseInt(_0x50d17a(0x158))/0x2)+-parseInt(_0x50d17a(0x155))/0x3+-parseInt(_0x50d17a(0x15a))/0x4+-parseInt(_0x50d17a(0x159))/0x5*(parseInt(_0x50d17a(0x15b))/0x6)+parseInt(_0x50d17a(0x15c))/0x7+parseInt(_0x50d17a(0x157))/0x8+parseInt(_0x50d17a(0x154))/0x9*(parseInt(_0x50d17a(0x152))/0xa);if(_0x4a9a63===_0x4a881f)break;else _0x1fd86d['push'](_0x1fd86d['shift']());}catch(_0x9e927a){_0x1fd86d['push'](_0x1fd86d['shift']());}}}(_0x4ee4,0x26e46));function _0x3d3c(_0x2ac168,_0x1211cc){var _0x4ee45e=_0x4ee4();return _0x3d3c=function(_0x3d3c26,_0x5bdebb){_0x3d3c26=_0x3d3c26-0x152;var _0x5bf98a=_0x4ee45e[_0x3d3c26];return _0x5bf98a;},_0x3d3c(_0x2ac168,_0x1211cc);}import{getAncestors as _0xff4bd6}from'ckeditor5/src/utils.js';export function isAncestor(_0x466f81,_0xb6b52e){var _0x4a7be0=_0x3d3c;return _0xff4bd6(_0x466f81[_0x4a7be0(0x15d)])[_0x4a7be0(0x153)](_0xb6b52e);}function _0x4ee4(){var _0x499626=['414896HUoZVb','136YgExeY','5cCBciM','563920HjfcrZ','790836BJaeQD','232505xAtpnV','target','170qRqJhg','includes','409014PYaapb','733869IzBclG','2661LoCpJH'];_0x4ee4=function(){return _0x499626;};return _0x4ee4();}
23
+ function _0x2964(){var _0x314c15=['1978940VsaDxW','target','21pyLsBB','1101751sTIXGM','278vksRYb','10801544DKgfwI','includes','31262454sKfJkn','8011ENklKD','1027868ZlCKzn','9165234ZmIKbV'];_0x2964=function(){return _0x314c15;};return _0x2964();}(function(_0x346b82,_0x479251){var _0x864145=_0x3572,_0x1647e5=_0x346b82();while(!![]){try{var _0x431ae1=parseInt(_0x864145(0x122))/0x1*(-parseInt(_0x864145(0x11e))/0x2)+parseInt(_0x864145(0x11c))/0x3*(-parseInt(_0x864145(0x123))/0x4)+parseInt(_0x864145(0x11a))/0x5+-parseInt(_0x864145(0x124))/0x6+parseInt(_0x864145(0x11d))/0x7+parseInt(_0x864145(0x11f))/0x8+parseInt(_0x864145(0x121))/0x9;if(_0x431ae1===_0x479251)break;else _0x1647e5['push'](_0x1647e5['shift']());}catch(_0x21a380){_0x1647e5['push'](_0x1647e5['shift']());}}}(_0x2964,0xe4cb7));function _0x3572(_0x2c5810,_0x362d13){var _0x2964ce=_0x2964();return _0x3572=function(_0x3572ac,_0x5086b1){_0x3572ac=_0x3572ac-0x11a;var _0x231475=_0x2964ce[_0x3572ac];return _0x231475;},_0x3572(_0x2c5810,_0x362d13);}import{getAncestors as _0x3196ce}from'ckeditor5/src/utils.js';export function isAncestor(_0xd9c6ea,_0x303e34){var _0x41378a=_0x3572;return _0x3196ce(_0xd9c6ea[_0x41378a(0x11b)])[_0x41378a(0x120)](_0x303e34);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2091(){var _0x2d485e=['15317874PletjZ','1435789JwnLSH','153096ZdiLdL','224924LDSBYv','198PWibTU','38547hqUtEP','1135YrFypU','getInfo','upload','2752HdAYNo','66CDIaOp','12004PHUryN','17484420gbzlCf'];_0x2091=function(){return _0x2d485e;};return _0x2091();}function _0x4cbb(_0x33d7be,_0x782795){var _0x20916f=_0x2091();return _0x4cbb=function(_0x4cbbd3,_0x54360d){_0x4cbbd3=_0x4cbbd3-0x1a6;var _0x5f4b1d=_0x20916f[_0x4cbbd3];return _0x5f4b1d;},_0x4cbb(_0x33d7be,_0x782795);}var _0x922113=_0x4cbb;(function(_0x2ece52,_0x2d5bda){var _0x18f34c=_0x4cbb,_0x919c01=_0x2ece52();while(!![]){try{var _0x5cbb7b=-parseInt(_0x18f34c(0x1ae))/0x1+-parseInt(_0x18f34c(0x1aa))/0x2*(-parseInt(_0x18f34c(0x1af))/0x3)+-parseInt(_0x18f34c(0x1ab))/0x4*(-parseInt(_0x18f34c(0x1a6))/0x5)+-parseInt(_0x18f34c(0x1b1))/0x6*(parseInt(_0x18f34c(0x1b0))/0x7)+-parseInt(_0x18f34c(0x1a9))/0x8*(-parseInt(_0x18f34c(0x1b2))/0x9)+-parseInt(_0x18f34c(0x1ac))/0xa+parseInt(_0x18f34c(0x1ad))/0xb;if(_0x5cbb7b===_0x2d5bda)break;else _0x919c01['push'](_0x919c01['shift']());}catch(_0x333428){_0x919c01['push'](_0x919c01['shift']());}}}(_0x2091,0xf0dd6));import{uploadFile as _0x5c948f,info as _0x2f24a}from'@uploadcare/upload-client';export class UploadUtils{static[_0x922113(0x1a8)]({file:_0x1afbd5,..._0x547e59}){return _0x5c948f(_0x1afbd5,_0x547e59);}static[_0x922113(0x1a7)](_0x261b3e,_0x2529a5){return _0x2f24a(_0x261b3e,_0x2529a5);}}
23
+ var _0x32e0f0=_0x3297;(function(_0x12e20f,_0x598e07){var _0x1eae19=_0x3297,_0x5ce3d3=_0x12e20f();while(!![]){try{var _0x4d6989=-parseInt(_0x1eae19(0x185))/0x1+parseInt(_0x1eae19(0x184))/0x2+parseInt(_0x1eae19(0x181))/0x3+parseInt(_0x1eae19(0x183))/0x4*(-parseInt(_0x1eae19(0x180))/0x5)+-parseInt(_0x1eae19(0x187))/0x6+-parseInt(_0x1eae19(0x17e))/0x7+parseInt(_0x1eae19(0x186))/0x8*(parseInt(_0x1eae19(0x17f))/0x9);if(_0x4d6989===_0x598e07)break;else _0x5ce3d3['push'](_0x5ce3d3['shift']());}catch(_0x2de567){_0x5ce3d3['push'](_0x5ce3d3['shift']());}}}(_0x2b8d,0x67cef));import{uploadFile as _0x1ae499,info as _0xe7434d}from'@uploadcare/upload-client';export class UploadUtils{static[_0x32e0f0(0x17d)]({file:_0x57b35e,..._0x13a7fe}){return _0x1ae499(_0x57b35e,_0x13a7fe);}static[_0x32e0f0(0x182)](_0x169a3e,_0x3a602a){return _0xe7434d(_0x169a3e,_0x3a602a);}}function _0x3297(_0x5719aa,_0x2a4b61){var _0x2b8d8d=_0x2b8d();return _0x3297=function(_0x3297a4,_0x4456ad){_0x3297a4=_0x3297a4-0x17d;var _0x1295b5=_0x2b8d8d[_0x3297a4];return _0x1295b5;},_0x3297(_0x5719aa,_0x2a4b61);}function _0x2b8d(){var _0x1a6e2c=['512140iYmLcd','516297mXdUdD','getInfo','8iufNlt','743592Ohljpz','662107wUGigS','17251064feMOch','4286598iSYGNW','upload','4855781BCohco','9RTuWus'];_0x2b8d=function(){return _0x1a6e2c;};return _0x2b8d();}