@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251226.0 → 0.0.0-nightly-20251227.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x5b342a,View as _0xf6a849}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xf6a849{constructor(_0x40ae9b){super(_0x40ae9b);const t=_0x40ae9b['t'],_0x5dbce9=this['bindTemplate'],_0x155fff=new _0x5b342a();_0x155fff['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':[_0x155fff,{'text':_0x5dbce9['to']('imageUploadProgress',_0x5010cb=>t('Loading\x20image...')+'\x20('+(_0x5010cb||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 _0x4f2456,View as _0x16e48e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x16e48e{constructor(_0x49fc0a){super(_0x49fc0a);const t=_0x49fc0a['t'],_0x41de83=this['bindTemplate'],_0x1e68f=new _0x4f2456();_0x1e68f['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':[_0x1e68f,{'text':_0x41de83['to']('imageUploadProgress',_0x7d2370=>t('Loading\x20image...')+'\x20('+(_0x7d2370||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 _0x2ab506=_0x5afc;(function(_0x51f11c,_0x5e4c98){const _0x69ef5b=_0x5afc,_0x5eb31f=_0x51f11c();while(!![]){try{const _0x1297bf=-parseInt(_0x69ef5b(0xe5))/0x1+-parseInt(_0x69ef5b(0xbd))/0x2*(-parseInt(_0x69ef5b(0xdb))/0x3)+parseInt(_0x69ef5b(0xe8))/0x4+-parseInt(_0x69ef5b(0xc7))/0x5+parseInt(_0x69ef5b(0xb8))/0x6*(parseInt(_0x69ef5b(0xe4))/0x7)+parseInt(_0x69ef5b(0xd8))/0x8+-parseInt(_0x69ef5b(0xde))/0x9*(parseInt(_0x69ef5b(0xdd))/0xa);if(_0x1297bf===_0x5e4c98)break;else _0x5eb31f['push'](_0x5eb31f['shift']());}catch(_0x171b44){_0x5eb31f['push'](_0x5eb31f['shift']());}}}(_0x3501,0x2db34));import{View as _0x46fcd0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x18220f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4a6a36}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1e8267}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x52bf73}from'../../utils/dialogfocusmanagerview.js';function _0x3501(){const _0x20ba9f=['_editingView','nodeName','_focusableView','div','length','2103376AObKZh','ck-reset_all-excluded','uploading','754833lvyWLJ','_loadingView','32920qxIpNQ','36VwKFHF','focus','filter','clear','addEventListener','_items','10423eRzJMI','345013YHstXF','add','cancel','536180VCxmiN','_setView','setTemplate','error','toLowerCase','querySelector','retry','726ZSkOLj','element','detail','target','render','2GflhUr','_addErrorViewListeners','cdnUrl','getFocusableElement','set','addMany','fire','change:status','status','_addUploadcareImageEditorListeners','1416890mPFPGB','ck-uploadcare-form','observe','createCollection','uc-cloud-image-editor','_errorView','apply','_waitForImageEditorComponent','addedNodes','ready','once','disconnect'];_0x3501=function(){return _0x20ba9f;};return _0x3501();}import'../../../theme/uploadcare-form.css';function _0x5afc(_0x5ac121,_0x45a4ac){const _0x350166=_0x3501();return _0x5afc=function(_0x5afce2,_0x4e6b99){_0x5afce2=_0x5afce2-0xb2;let _0x247717=_0x350166[_0x5afce2];return _0x247717;},_0x5afc(_0x5ac121,_0x45a4ac);}export class UploadcareImageEditFormView extends _0x52bf73{[_0x2ab506(0xe3)];[_0x2ab506(0xdc)];[_0x2ab506(0xcc)];[_0x2ab506(0xd3)];[_0x2ab506(0xd5)];constructor(_0x3f3993,_0xf36e19,_0x5705ba){const _0xa9aba1=_0x2ab506;super(_0x3f3993),this[_0xa9aba1(0xe3)]=this[_0xa9aba1(0xca)](),this[_0xa9aba1(0xdc)]=new _0x18220f(_0x3f3993),this[_0xa9aba1(0xcc)]=new _0x4a6a36(_0x3f3993),this[_0xa9aba1(0xd3)]=new _0x1e8267(_0x3f3993,_0x5705ba),this[_0xa9aba1(0xd5)]=new _0x46fcd0(_0x3f3993),this[_0xa9aba1(0xd5)][_0xa9aba1(0xb3)](this[_0xa9aba1(0xc0)]()),this[_0xa9aba1(0xc1)](_0xa9aba1(0xc5),_0xf36e19),this[_0xa9aba1(0xb3)]({'tag':_0xa9aba1(0xd6),'attributes':{'class':['ck',_0xa9aba1(0xd9),_0xa9aba1(0xc8)],'tabindex':'-1'},'children':this[_0xa9aba1(0xe3)]}),this[_0xa9aba1(0xb2)](),this[_0xa9aba1(0xd1)](_0xa9aba1(0xbc),()=>{const _0x1ccd84=_0xa9aba1;this[_0x1ccd84(0xce)](this[_0x1ccd84(0xb9)],_0x437dd0=>{const _0x53097b=_0x1ccd84;this[_0x53097b(0xc6)](_0x437dd0);});}),this['on'](_0xa9aba1(0xc4),()=>{const _0x1097a3=_0xa9aba1;this[_0x1097a3(0xb2)]();}),this[_0xa9aba1(0xbe)]();}[_0x2ab506(0xdf)](){const _0x4bca32=_0x2ab506;this[_0x4bca32(0xb9)][_0x4bca32(0xdf)]();}[_0x2ab506(0xb2)](){const _0x1c162f=_0x2ab506;switch(this[_0x1c162f(0xe3)][_0x1c162f(0xe1)](),this[_0x1c162f(0xc5)]){case _0x1c162f(0xda):this[_0x1c162f(0xe3)][_0x1c162f(0xe6)](this[_0x1c162f(0xdc)]);break;case _0x1c162f(0xb4):this[_0x1c162f(0xe3)][_0x1c162f(0xe6)](this[_0x1c162f(0xcc)]);break;case _0x1c162f(0xd0):this[_0x1c162f(0xe3)][_0x1c162f(0xc2)]([this[_0x1c162f(0xd3)],this[_0x1c162f(0xd5)]]);}}[_0x2ab506(0xce)](_0x44f7c6,_0x566bc5){const _0x4177e1=_0x2ab506,_0x4de960=_0x4177e1(0xcb),_0x85aa4d=_0x44f7c6[_0x4177e1(0xb6)](_0x4de960);if(_0x85aa4d)return _0x566bc5(_0x85aa4d);const _0x4c9353=new MutationObserver(_0x4640e5=>{const _0x22fb84=_0x4177e1,_0x2b01c6=_0x4640e5[_0x22fb84(0xe0)](_0x5d3bbf=>_0x5d3bbf[_0x22fb84(0xbb)]===_0x44f7c6&&_0x5d3bbf[_0x22fb84(0xcf)][_0x22fb84(0xd7)]>0x0&&_0x5d3bbf[_0x22fb84(0xcf)][0x0][_0x22fb84(0xd4)][_0x22fb84(0xb5)]()===_0x4de960);_0x2b01c6[_0x22fb84(0xd7)]&&(_0x4c9353[_0x22fb84(0xd2)](),_0x566bc5(_0x2b01c6[0x0][_0x22fb84(0xcf)][0x0]));});_0x4c9353[_0x4177e1(0xc9)](_0x44f7c6,{'childList':!0x0,'subtree':!0x0});}[_0x2ab506(0xc6)](_0x2366c3){const _0x7d11fb=_0x2ab506;_0x2366c3[_0x7d11fb(0xe2)](_0x7d11fb(0xcd),_0x16a9da=>{const _0x115be0=_0x7d11fb;this[_0x115be0(0xc3)](_0x115be0(0xcd),{'imageSrc':_0x16a9da[_0x115be0(0xba)][_0x115be0(0xbf)]});}),_0x2366c3[_0x7d11fb(0xe2)](_0x7d11fb(0xe7),()=>{const _0x2ccde2=_0x7d11fb;this[_0x2ccde2(0xc3)](_0x2ccde2(0xe7));});}[_0x2ab506(0xbe)](){const _0x117c7c=_0x2ab506;this[_0x117c7c(0xcc)]['on'](_0x117c7c(0xb7),()=>{const _0x7d7705=_0x117c7c;this[_0x7d7705(0xc3)](_0x7d7705(0xb7));});}}
23
+ function _0x43bc(){const _0x180c79=['_addErrorViewListeners','focus','_loadingView','_errorView','filter','561761JjfZOc','uc-cloud-image-editor','disconnect','ready','toLowerCase','length','7005528HlhtlB','fire','cancel','ck-uploadcare-form','_items','788UmVuiU','clear','cdnUrl','_addUploadcareImageEditorListeners','change:status','43404IhEMFv','899560wpjmRU','nodeName','createCollection','getFocusableElement','_editingView','addedNodes','96LJaCLY','apply','setTemplate','35PUIRbc','target','addEventListener','631074zKWeFY','uploading','querySelector','error','set','observe','_setView','add','element','status','once','_focusableView','render','11685YEFIao','addMany','retry','div','_waitForImageEditorComponent','detail','ck-reset_all-excluded','3424336SBkVVm'];_0x43bc=function(){return _0x180c79;};return _0x43bc();}const _0x436d01=_0x5aab;function _0x5aab(_0x4b355b,_0x41bbac){const _0x43bc9b=_0x43bc();return _0x5aab=function(_0x5aab0a,_0x1fc7c4){_0x5aab0a=_0x5aab0a-0xc8;let _0x1ed4d9=_0x43bc9b[_0x5aab0a];return _0x1ed4d9;},_0x5aab(_0x4b355b,_0x41bbac);}(function(_0x549a24,_0xef25d0){const _0x143e90=_0x5aab,_0x55cff8=_0x549a24();while(!![]){try{const _0x1a5b15=parseInt(_0x143e90(0xf4))/0x1+parseInt(_0x143e90(0xd4))/0x2*(-parseInt(_0x143e90(0xcd))/0x3)+-parseInt(_0x143e90(0xc8))/0x4*(-parseInt(_0x143e90(0xe7))/0x5)+-parseInt(_0x143e90(0xda))/0x6*(-parseInt(_0x143e90(0xd7))/0x7)+parseInt(_0x143e90(0xee))/0x8+-parseInt(_0x143e90(0xfa))/0x9+-parseInt(_0x143e90(0xce))/0xa;if(_0x1a5b15===_0xef25d0)break;else _0x55cff8['push'](_0x55cff8['shift']());}catch(_0x179e1f){_0x55cff8['push'](_0x55cff8['shift']());}}}(_0x43bc,0x64e5b));import{View as _0x215c26}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3d2607}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x181f74}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4c4376}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2c7505}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2c7505{[_0x436d01(0xfe)];[_0x436d01(0xf1)];[_0x436d01(0xf2)];[_0x436d01(0xd2)];[_0x436d01(0xe5)];constructor(_0xb8d8f3,_0x814906,_0x13956e){const _0x3aed7d=_0x436d01;super(_0xb8d8f3),this[_0x3aed7d(0xfe)]=this[_0x3aed7d(0xd0)](),this[_0x3aed7d(0xf1)]=new _0x3d2607(_0xb8d8f3),this[_0x3aed7d(0xf2)]=new _0x181f74(_0xb8d8f3),this[_0x3aed7d(0xd2)]=new _0x4c4376(_0xb8d8f3,_0x13956e),this[_0x3aed7d(0xe5)]=new _0x215c26(_0xb8d8f3),this[_0x3aed7d(0xe5)][_0x3aed7d(0xd6)](this[_0x3aed7d(0xd1)]()),this[_0x3aed7d(0xde)](_0x3aed7d(0xe3),_0x814906),this[_0x3aed7d(0xd6)]({'tag':_0x3aed7d(0xea),'attributes':{'class':['ck',_0x3aed7d(0xed),_0x3aed7d(0xfd)],'tabindex':'-1'},'children':this[_0x3aed7d(0xfe)]}),this[_0x3aed7d(0xe0)](),this[_0x3aed7d(0xe4)](_0x3aed7d(0xe6),()=>{const _0x139d0d=_0x3aed7d;this[_0x139d0d(0xeb)](this[_0x139d0d(0xe2)],_0x70a2f3=>{const _0x556c8f=_0x139d0d;this[_0x556c8f(0xcb)](_0x70a2f3);});}),this['on'](_0x3aed7d(0xcc),()=>{const _0x3830c4=_0x3aed7d;this[_0x3830c4(0xe0)]();}),this[_0x3aed7d(0xef)]();}[_0x436d01(0xf0)](){const _0x3b8d46=_0x436d01;this[_0x3b8d46(0xe2)][_0x3b8d46(0xf0)]();}[_0x436d01(0xe0)](){const _0x5e9e2f=_0x436d01;switch(this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xc9)](),this[_0x5e9e2f(0xe3)]){case _0x5e9e2f(0xdb):this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xe1)](this[_0x5e9e2f(0xf1)]);break;case _0x5e9e2f(0xdd):this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xe1)](this[_0x5e9e2f(0xf2)]);break;case _0x5e9e2f(0xf7):this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xe8)]([this[_0x5e9e2f(0xd2)],this[_0x5e9e2f(0xe5)]]);}}[_0x436d01(0xeb)](_0x16f7df,_0x8887e3){const _0x4c4907=_0x436d01,_0xc0cc4=_0x4c4907(0xf5),_0x5ef4a9=_0x16f7df[_0x4c4907(0xdc)](_0xc0cc4);if(_0x5ef4a9)return _0x8887e3(_0x5ef4a9);const _0x43b03a=new MutationObserver(_0xfeb583=>{const _0x3d46f7=_0x4c4907,_0x1714a9=_0xfeb583[_0x3d46f7(0xf3)](_0x314c3c=>_0x314c3c[_0x3d46f7(0xd8)]===_0x16f7df&&_0x314c3c[_0x3d46f7(0xd3)][_0x3d46f7(0xf9)]>0x0&&_0x314c3c[_0x3d46f7(0xd3)][0x0][_0x3d46f7(0xcf)][_0x3d46f7(0xf8)]()===_0xc0cc4);_0x1714a9[_0x3d46f7(0xf9)]&&(_0x43b03a[_0x3d46f7(0xf6)](),_0x8887e3(_0x1714a9[0x0][_0x3d46f7(0xd3)][0x0]));});_0x43b03a[_0x4c4907(0xdf)](_0x16f7df,{'childList':!0x0,'subtree':!0x0});}[_0x436d01(0xcb)](_0x16528e){const _0x2d8941=_0x436d01;_0x16528e[_0x2d8941(0xd9)](_0x2d8941(0xd5),_0x2f3198=>{const _0x5804c3=_0x2d8941;this[_0x5804c3(0xfb)](_0x5804c3(0xd5),{'imageSrc':_0x2f3198[_0x5804c3(0xec)][_0x5804c3(0xca)]});}),_0x16528e[_0x2d8941(0xd9)](_0x2d8941(0xfc),()=>{const _0x483a40=_0x2d8941;this[_0x483a40(0xfb)](_0x483a40(0xfc));});}[_0x436d01(0xef)](){const _0x2748c9=_0x436d01;this[_0x2748c9(0xf2)]['on'](_0x2748c9(0xe9),()=>{const _0x1304ba=_0x2748c9;this[_0x1304ba(0xfb)](_0x1304ba(0xe9));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f1b(_0x22f58e,_0x16100d){const _0x4f8394=_0x4f83();return _0x1f1b=function(_0x1f1bfe,_0x683828){_0x1f1bfe=_0x1f1bfe-0x140;let _0x36b4b1=_0x4f8394[_0x1f1bfe];return _0x36b4b1;},_0x1f1b(_0x22f58e,_0x16100d);}const _0x5cd9b1=_0x1f1b;(function(_0x2de81c,_0x259f17){const _0x3d0edc=_0x1f1b,_0x34518f=_0x2de81c();while(!![]){try{const _0x43ad9d=parseInt(_0x3d0edc(0x155))/0x1*(parseInt(_0x3d0edc(0x148))/0x2)+parseInt(_0x3d0edc(0x15b))/0x3+-parseInt(_0x3d0edc(0x145))/0x4+-parseInt(_0x3d0edc(0x14c))/0x5*(-parseInt(_0x3d0edc(0x143))/0x6)+parseInt(_0x3d0edc(0x147))/0x7*(parseInt(_0x3d0edc(0x14e))/0x8)+-parseInt(_0x3d0edc(0x15e))/0x9*(-parseInt(_0x3d0edc(0x15c))/0xa)+-parseInt(_0x3d0edc(0x15f))/0xb;if(_0x43ad9d===_0x259f17)break;else _0x34518f['push'](_0x34518f['shift']());}catch(_0x5f2348){_0x34518f['push'](_0x34518f['shift']());}}}(_0x4f83,0xced0b));import{Command as _0x22787f}from'ckeditor5/src/core.js';function _0x4f83(){const _0x2257e0=['_isEditable','3463428PAIFjr','isActive','63zmkuZD','2uPImPm','get','document','element','55wXFqZZ','getSelectedElement','830728zfQNyY','bind','unbind','plugins','imageBlock','imageInline','model','1075532JMFnls','imageEditController','selection','uploadcare.allowExternalImagesEditing','execute','editor','1599774XhYIBH','27570SXmevc','set','3807VYJYec','25424993BYcGdj','requires','isEnabled','config','refresh','171690XsMIKK'];_0x4f83=function(){return _0x2257e0;};return _0x4f83();}import{Dialog as _0x5f0c45}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x22455f}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x133855}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x22787f{[_0x5cd9b1(0x156)];static get[_0x5cd9b1(0x160)](){return[_0x5f0c45];}[_0x5cd9b1(0x144)];constructor(_0x4b7255){const _0x169134=_0x5cd9b1;super(_0x4b7255),this[_0x169134(0x156)]=void 0x0,this[_0x169134(0x144)]=_0x133855(_0x4b7255[_0x169134(0x141)][_0x169134(0x149)](_0x169134(0x158))||[]),this[_0x169134(0x15d)]({'isActive':!0x1});}[_0x5cd9b1(0x142)](){const _0x4485af=_0x5cd9b1,_0xa9cb10=this[_0x4485af(0x15a)][_0x4485af(0x154)][_0x4485af(0x14a)][_0x4485af(0x157)][_0x4485af(0x14d)]();this[_0x4485af(0x140)]=this[_0x4485af(0x144)](_0xa9cb10);}[_0x5cd9b1(0x159)](){const _0x5b52a6=_0x5cd9b1;this[_0x5b52a6(0x156)]&&(this[_0x5b52a6(0x150)](_0x5b52a6(0x146)),this[_0x5b52a6(0x156)]=void 0x0);const _0x293bc4=this[_0x5b52a6(0x15a)][_0x5b52a6(0x154)][_0x5b52a6(0x14a)][_0x5b52a6(0x157)][_0x5b52a6(0x14d)]();_0x293bc4&&(_0x293bc4['is'](_0x5b52a6(0x14b),_0x5b52a6(0x152))||_0x293bc4['is'](_0x5b52a6(0x14b),_0x5b52a6(0x153)))&&(this[_0x5b52a6(0x156)]=new _0x22455f(this[_0x5b52a6(0x15a)],this[_0x5b52a6(0x15a)][_0x5b52a6(0x151)][_0x5b52a6(0x149)](_0x5f0c45),_0x293bc4),this[_0x5b52a6(0x14f)](_0x5b52a6(0x146))['to'](this[_0x5b52a6(0x156)],_0x5b52a6(0x146)));}}
23
+ const _0x2e5269=_0x595d;(function(_0x395db2,_0x2be924){const _0x311018=_0x595d,_0x5bfc27=_0x395db2();while(!![]){try{const _0x13befc=parseInt(_0x311018(0x7c))/0x1*(parseInt(_0x311018(0x7e))/0x2)+parseInt(_0x311018(0x7b))/0x3+parseInt(_0x311018(0x76))/0x4+parseInt(_0x311018(0x90))/0x5+-parseInt(_0x311018(0x7d))/0x6+parseInt(_0x311018(0x88))/0x7+-parseInt(_0x311018(0x81))/0x8;if(_0x13befc===_0x2be924)break;else _0x5bfc27['push'](_0x5bfc27['shift']());}catch(_0x29c7a8){_0x5bfc27['push'](_0x5bfc27['shift']());}}}(_0x26b9,0x2b620));import{Command as _0x55ff97}from'ckeditor5/src/core.js';import{Dialog as _0x31943b}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3ba2ac}from'./ui/uploadcareimageeditcontroller.js';function _0x26b9(){const _0x179a14=['document','2027396IThseX','uploadcare.allowExternalImagesEditing','imageBlock','unbind','plugins','element','refresh','editor','1689795JWTkQq','imageInline','execute','isEnabled','1017980EtgPer','set','getSelectedElement','_isEditable','model','739311SbOEZQ','2KSNusl','1755240NLfnvo','285302gfKcZr','requires','config','7548680mcGGsu','bind','get','imageEditController','selection','isActive'];_0x26b9=function(){return _0x179a14;};return _0x26b9();}function _0x595d(_0x51ea94,_0x23d0f9){const _0x26b9d2=_0x26b9();return _0x595d=function(_0x595d15,_0x3b6d46){_0x595d15=_0x595d15-0x76;let _0x5bee18=_0x26b9d2[_0x595d15];return _0x5bee18;},_0x595d(_0x51ea94,_0x23d0f9);}import{createEditabilityChecker as _0x3393dd}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x55ff97{[_0x2e5269(0x84)];static get[_0x2e5269(0x7f)](){return[_0x31943b];}[_0x2e5269(0x79)];constructor(_0x27b3dd){const _0xac1445=_0x2e5269;super(_0x27b3dd),this[_0xac1445(0x84)]=void 0x0,this[_0xac1445(0x79)]=_0x3393dd(_0x27b3dd[_0xac1445(0x80)][_0xac1445(0x83)](_0xac1445(0x89))||[]),this[_0xac1445(0x77)]({'isActive':!0x1});}[_0x2e5269(0x8e)](){const _0x1c2818=_0x2e5269,_0x27bbcc=this[_0x1c2818(0x8f)][_0x1c2818(0x7a)][_0x1c2818(0x87)][_0x1c2818(0x85)][_0x1c2818(0x78)]();this[_0x1c2818(0x93)]=this[_0x1c2818(0x79)](_0x27bbcc);}[_0x2e5269(0x92)](){const _0x46eee1=_0x2e5269;this[_0x46eee1(0x84)]&&(this[_0x46eee1(0x8b)](_0x46eee1(0x86)),this[_0x46eee1(0x84)]=void 0x0);const _0x2df693=this[_0x46eee1(0x8f)][_0x46eee1(0x7a)][_0x46eee1(0x87)][_0x46eee1(0x85)][_0x46eee1(0x78)]();_0x2df693&&(_0x2df693['is'](_0x46eee1(0x8d),_0x46eee1(0x8a))||_0x2df693['is'](_0x46eee1(0x8d),_0x46eee1(0x91)))&&(this[_0x46eee1(0x84)]=new _0x3ba2ac(this[_0x46eee1(0x8f)],this[_0x46eee1(0x8f)][_0x46eee1(0x8c)][_0x46eee1(0x83)](_0x31943b),_0x2df693),this[_0x46eee1(0x82)](_0x46eee1(0x86))['to'](this[_0x46eee1(0x84)],_0x46eee1(0x86)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab476=_0x3768;(function(_0x9343c,_0x24b1f8){const _0x4f6f86=_0x3768,_0x50e244=_0x9343c();while(!![]){try{const _0x24763e=-parseInt(_0x4f6f86(0x157))/0x1*(-parseInt(_0x4f6f86(0x155))/0x2)+parseInt(_0x4f6f86(0x15d))/0x3+-parseInt(_0x4f6f86(0x164))/0x4+-parseInt(_0x4f6f86(0x160))/0x5+parseInt(_0x4f6f86(0x15a))/0x6*(parseInt(_0x4f6f86(0x163))/0x7)+parseInt(_0x4f6f86(0x167))/0x8*(-parseInt(_0x4f6f86(0x159))/0x9)+parseInt(_0x4f6f86(0x166))/0xa*(parseInt(_0x4f6f86(0x156))/0xb);if(_0x24763e===_0x24b1f8)break;else _0x50e244['push'](_0x50e244['shift']());}catch(_0x5be7f5){_0x50e244['push'](_0x50e244['shift']());}}}(_0x51b2,0xf4180));import{Plugin as _0x951d02}from'ckeditor5/src/core.js';import{Notification as _0x417c2f}from'ckeditor5/src/ui.js';function _0x3768(_0x3740f8,_0x49492a){const _0x51b2b2=_0x51b2();return _0x3768=function(_0x37681c,_0x2de311){_0x37681c=_0x37681c-0x151;let _0x3bed88=_0x51b2b2[_0x37681c];return _0x3bed88;},_0x3768(_0x3740f8,_0x49492a);}import{UploadcareImageEditCommand as _0x486761}from'./uploadcareimageeditcommand.js';function _0x51b2(){const _0x5182e9=['UploadcareImageEditEditing','4018815zLFBun','isOfficialPlugin','add','7383800GiwCjd','ImageUtils','isPremiumPlugin','2350999UbpnPS','5339368voNerG','commands','670KPMFpd','8xRfzFf','uploadcareImageEdit','init','uploadcareImageReplace','requires','534wHWmOf','202565QOcyBw','5457IIEjeK','ImageEditing','11039310NwUxwx','18NhDyAf','pluginName'];_0x51b2=function(){return _0x5182e9;};return _0x51b2();}import{UploadcareImageReplaceCommand as _0x204438}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3a3cf5}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x951d02{static get[_0x3ab476(0x15b)](){const _0x1e9d07=_0x3ab476;return _0x1e9d07(0x15c);}static get[_0x3ab476(0x154)](){const _0x5181b4=_0x3ab476;return[_0x3a3cf5,_0x417c2f,_0x5181b4(0x161),_0x5181b4(0x158)];}static get[_0x3ab476(0x15e)](){return!0x0;}static get[_0x3ab476(0x162)](){return!0x0;}[_0x3ab476(0x152)](){const _0x40003a=_0x3ab476,{editor:_0x62b908}=this;_0x62b908[_0x40003a(0x165)][_0x40003a(0x15f)](_0x40003a(0x151),new _0x486761(_0x62b908)),_0x62b908[_0x40003a(0x165)][_0x40003a(0x15f)](_0x40003a(0x153),new _0x204438(_0x62b908));}}
23
+ const _0x2a683d=_0x1892;(function(_0x4f2de4,_0x4ad5bd){const _0x17c0f6=_0x1892,_0x96f93f=_0x4f2de4();while(!![]){try{const _0x54efe8=-parseInt(_0x17c0f6(0x185))/0x1*(-parseInt(_0x17c0f6(0x183))/0x2)+-parseInt(_0x17c0f6(0x190))/0x3+parseInt(_0x17c0f6(0x181))/0x4*(-parseInt(_0x17c0f6(0x195))/0x5)+parseInt(_0x17c0f6(0x186))/0x6+parseInt(_0x17c0f6(0x18d))/0x7*(parseInt(_0x17c0f6(0x193))/0x8)+-parseInt(_0x17c0f6(0x18e))/0x9*(parseInt(_0x17c0f6(0x18b))/0xa)+-parseInt(_0x17c0f6(0x17f))/0xb;if(_0x54efe8===_0x4ad5bd)break;else _0x96f93f['push'](_0x96f93f['shift']());}catch(_0xb66dcb){_0x96f93f['push'](_0x96f93f['shift']());}}}(_0x161b,0x6f1f6));import{Plugin as _0x68082e}from'ckeditor5/src/core.js';import{Notification as _0x2a1c81}from'ckeditor5/src/ui.js';function _0x1892(_0x2f2851,_0x52ddad){const _0x161b97=_0x161b();return _0x1892=function(_0x1892c7,_0x5612da){_0x1892c7=_0x1892c7-0x17f;let _0x33e594=_0x161b97[_0x1892c7];return _0x33e594;},_0x1892(_0x2f2851,_0x52ddad);}import{UploadcareImageEditCommand as _0x31fec5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x265ea3}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x100e5a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x68082e{static get[_0x2a683d(0x194)](){const _0x303f5b=_0x2a683d;return _0x303f5b(0x182);}static get[_0x2a683d(0x18f)](){const _0x639932=_0x2a683d;return[_0x100e5a,_0x2a1c81,_0x639932(0x18a),_0x639932(0x180)];}static get[_0x2a683d(0x184)](){return!0x0;}static get[_0x2a683d(0x191)](){return!0x0;}[_0x2a683d(0x192)](){const _0x4ff5f1=_0x2a683d,{editor:_0x3e7da9}=this;_0x3e7da9[_0x4ff5f1(0x18c)][_0x4ff5f1(0x187)](_0x4ff5f1(0x189),new _0x31fec5(_0x3e7da9)),_0x3e7da9[_0x4ff5f1(0x18c)][_0x4ff5f1(0x187)](_0x4ff5f1(0x188),new _0x265ea3(_0x3e7da9));}}function _0x161b(){const _0x547770=['requires','18489fdOqKN','isPremiumPlugin','init','27464cLaxHR','pluginName','640eCEXev','5186434UzUCun','ImageEditing','3640VcJmav','UploadcareImageEditEditing','1194kUFxGp','isOfficialPlugin','1069jgdbXy','3305880uVaceV','add','uploadcareImageReplace','uploadcareImageEdit','ImageUtils','2255010oLcfhY','commands','1554krOnpX','36dDkATf'];_0x161b=function(){return _0x547770;};return _0x161b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2fd047}from'ckeditor5/src/core.js';import{ButtonView as _0x305f67}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2ff329}from'ckeditor5/src/icons.js';import{createElement as _0x20fd8c}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 _0x2fd047{['_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 _0x44a5f2=this['editor'];_0x44a5f2['ui']['componentFactory']['add']('uploadcareImageEdit',_0xb61d32=>{const _0x3c717c=_0x44a5f2['commands']['get']('uploadcareImageEdit'),_0x4c8d86=new _0x305f67(_0xb61d32),t=_0xb61d32['t'];return _0x4c8d86['set']({'icon':_0x2ff329,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c8d86['bind']('isEnabled')['to'](_0x3c717c),_0x4c8d86['bind']('isOn')['to'](_0x3c717c,'isActive'),this['listenTo'](_0x4c8d86,'execute',()=>{_0x44a5f2['execute']('uploadcareImageEdit'),_0x44a5f2['editing']['view']['focus']();}),_0x4c8d86;}),this['_initConfig']();}['_initConfig'](){const _0x1f84f9=_0x20fd8c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f84f9),this['listenTo'](this['editor'],'destroy',()=>{_0x1f84f9['remove']();});}}
23
+ import{Plugin as _0x27c9c9}from'ckeditor5/src/core.js';import{ButtonView as _0x3b5afe}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18dfad}from'ckeditor5/src/icons.js';import{createElement as _0x40c1a7}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 _0x27c9c9{['_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 _0x17d71d=this['editor'];_0x17d71d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x117ee9=>{const _0x1a1364=_0x17d71d['commands']['get']('uploadcareImageEdit'),_0x480bb8=new _0x3b5afe(_0x117ee9),t=_0x117ee9['t'];return _0x480bb8['set']({'icon':_0x18dfad,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x480bb8['bind']('isEnabled')['to'](_0x1a1364),_0x480bb8['bind']('isOn')['to'](_0x1a1364,'isActive'),this['listenTo'](_0x480bb8,'execute',()=>{_0x17d71d['execute']('uploadcareImageEdit'),_0x17d71d['editing']['view']['focus']();}),_0x480bb8;}),this['_initConfig']();}['_initConfig'](){const _0x4b4c3e=_0x40c1a7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4b4c3e),this['listenTo'](this['editor'],'destroy',()=>{_0x4b4c3e['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5912ed=_0x3e3a;(function(_0x598035,_0x4c37c6){var _0x890234=_0x3e3a,_0x1cd559=_0x598035();while(!![]){try{var _0x5ad688=-parseInt(_0x890234(0xb9))/0x1*(-parseInt(_0x890234(0xb8))/0x2)+-parseInt(_0x890234(0xbe))/0x3+parseInt(_0x890234(0xc3))/0x4*(parseInt(_0x890234(0xc1))/0x5)+parseInt(_0x890234(0xc6))/0x6*(parseInt(_0x890234(0xb6))/0x7)+-parseInt(_0x890234(0xc5))/0x8*(parseInt(_0x890234(0xc7))/0x9)+-parseInt(_0x890234(0xba))/0xa+-parseInt(_0x890234(0xc8))/0xb;if(_0x5ad688===_0x4c37c6)break;else _0x1cd559['push'](_0x1cd559['shift']());}catch(_0x50bf16){_0x1cd559['push'](_0x1cd559['shift']());}}}(_0x30a4,0x58e84));function _0x30a4(){var _0xe7d302=['232dmYavf','focusTracker','16792srjFSe','30iBvwiP','45RfNQTv','7634638JrEIwO','bindTemplate','749623wdVXCE','true','2dWTKLD','586238GQQVQO','2950370EqxioZ','forwardCycle','focusCycler','getFocusableElement','205731OQgvJw','div','fire','26780KFbpkJ','createCollection'];_0x30a4=function(){return _0xe7d302;};return _0x30a4();}import{FocusTracker as _0x4fd0ef}from'ckeditor5/src/utils.js';function _0x3e3a(_0x5b8f3e,_0x12f815){var _0x30a46e=_0x30a4();return _0x3e3a=function(_0x3e3a03,_0x157b43){_0x3e3a03=_0x3e3a03-0xb5;var _0x18b053=_0x30a46e[_0x3e3a03];return _0x18b053;},_0x3e3a(_0x5b8f3e,_0x12f815);}import{View as _0x1400c1,FocusCycler as _0x393623}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1400c1{[_0x5912ed(0xc4)];[_0x5912ed(0xbc)];constructor(_0x142270){var _0x5066a9=_0x5912ed;super(_0x142270),this[_0x5066a9(0xc4)]=new _0x4fd0ef(),this[_0x5066a9(0xbc)]=new _0x393623({'focusables':this[_0x5066a9(0xc2)](),'focusTracker':this[_0x5066a9(0xc4)]});}[_0x5912ed(0xbd)](){var _0x1af17c=_0x5912ed;return{'tag':_0x1af17c(0xbf),'attributes':{'aria-hidden':_0x1af17c(0xb7),'tabindex':'0'},'on':{'focus':this[_0x1af17c(0xb5)]['to'](()=>{var _0x436dbd=_0x1af17c;this[_0x436dbd(0xbc)][_0x436dbd(0xc0)](_0x436dbd(0xbb));})}};}}
23
+ var _0x232749=_0x5d2b;(function(_0x4da068,_0x1af5a6){var _0x420f40=_0x5d2b,_0x3a8ea7=_0x4da068();while(!![]){try{var _0xbaf1d9=-parseInt(_0x420f40(0x87))/0x1*(-parseInt(_0x420f40(0x86))/0x2)+-parseInt(_0x420f40(0x7e))/0x3*(parseInt(_0x420f40(0x76))/0x4)+parseInt(_0x420f40(0x7b))/0x5+-parseInt(_0x420f40(0x85))/0x6+parseInt(_0x420f40(0x80))/0x7*(parseInt(_0x420f40(0x74))/0x8)+parseInt(_0x420f40(0x81))/0x9+parseInt(_0x420f40(0x7d))/0xa*(-parseInt(_0x420f40(0x84))/0xb);if(_0xbaf1d9===_0x1af5a6)break;else _0x3a8ea7['push'](_0x3a8ea7['shift']());}catch(_0x56160e){_0x3a8ea7['push'](_0x3a8ea7['shift']());}}}(_0x2c4b,0xcfe69));function _0x5d2b(_0x1fcbbe,_0x37301f){var _0x2c4bb9=_0x2c4b();return _0x5d2b=function(_0x5d2b72,_0x1db8b5){_0x5d2b72=_0x5d2b72-0x74;var _0x545d46=_0x2c4bb9[_0x5d2b72];return _0x545d46;},_0x5d2b(_0x1fcbbe,_0x37301f);}import{FocusTracker as _0x4f278e}from'ckeditor5/src/utils.js';import{View as _0x4d6cf2,FocusCycler as _0x4572c6}from'ckeditor5/src/ui.js';function _0x2c4b(){var _0x7e573f=['focusCycler','948908vKRlGw','getFocusableElement','forwardCycle','focusTracker','bindTemplate','4460995KwzpHP','true','703510VbVjdc','9uRyOmo','div','10536295wvLxqi','7383060gRCKwS','fire','createCollection','253SvHwDP','5142126bleari','8oGfQvy','205153qVbuNM','8IxgFdS'];_0x2c4b=function(){return _0x7e573f;};return _0x2c4b();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4d6cf2{[_0x232749(0x79)];[_0x232749(0x75)];constructor(_0x1013c5){var _0x16a263=_0x232749;super(_0x1013c5),this[_0x16a263(0x79)]=new _0x4f278e(),this[_0x16a263(0x75)]=new _0x4572c6({'focusables':this[_0x16a263(0x83)](),'focusTracker':this[_0x16a263(0x79)]});}[_0x232749(0x77)](){var _0x18039f=_0x232749;return{'tag':_0x18039f(0x7f),'attributes':{'aria-hidden':_0x18039f(0x7c),'tabindex':'0'},'on':{'focus':this[_0x18039f(0x7a)]['to'](()=>{var _0x48595d=_0x18039f;this[_0x48595d(0x75)][_0x48595d(0x82)](_0x48595d(0x78));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x48492b,_0x5d9317){const _0x5274aa=_0xed5b,_0x376bd0=_0x48492b();while(!![]){try{const _0x2a2e70=parseInt(_0x5274aa(0x1ac))/0x1*(-parseInt(_0x5274aa(0x19a))/0x2)+parseInt(_0x5274aa(0x185))/0x3+-parseInt(_0x5274aa(0x195))/0x4*(-parseInt(_0x5274aa(0x17f))/0x5)+parseInt(_0x5274aa(0x1a6))/0x6+-parseInt(_0x5274aa(0x19b))/0x7*(-parseInt(_0x5274aa(0x18e))/0x8)+-parseInt(_0x5274aa(0x18a))/0x9*(-parseInt(_0x5274aa(0x19d))/0xa)+parseInt(_0x5274aa(0x1a2))/0xb*(-parseInt(_0x5274aa(0x189))/0xc);if(_0x2a2e70===_0x5d9317)break;else _0x376bd0['push'](_0x376bd0['shift']());}catch(_0x440a98){_0x376bd0['push'](_0x376bd0['shift']());}}}(_0x11e6,0xbb26d));import{global as _0x45594d,DomEmitterMixin as _0x23e7e2}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x56f8a2){const _0x3d41b3=_0xed5b,_0x401bb8=z(_0x56f8a2);return _0x53faca=>!(!_0x53faca||!_0x53faca['is'](_0x3d41b3(0x17d),_0x3d41b3(0x1a7))&&!_0x53faca['is'](_0x3d41b3(0x17d),_0x3d41b3(0x17a)))&&(!!_0x53faca[_0x3d41b3(0x1a4)](_0x3d41b3(0x1ad))||!!_0x53faca[_0x3d41b3(0x1a4)](_0x3d41b3(0x199))&&_0x401bb8(_0x53faca[_0x3d41b3(0x193)](_0x3d41b3(0x199))));}function _0x11e6(){const _0x32ac9a=['imageInline','get','aspect-ratio','element','domConverter','48260iuNHlX','some','stopListening','width','plugins','origin','2777985ySOmVH','viewToDom','ImageUtils','findViewImgElement','295572UXgIOR','1160721hQRvHE','load','(max-width:\x20','editing','9340816zeuywz','match','filter','replace','addClass','getAttribute','change','36PRqwEX','image-processing','height','setStyle','src','554MBMMYD','7fbldIp','map','80csEIdQ','baseURI','x/\x20','mapper','removeClass','1001xujuty','/-/resize/','hasAttribute','view','538044UAaBCd','imageBlock','px)\x20100vw,\x20','document','join','toViewElement','1061iZXqhw','uploadcareImageId','removeStyle','window','listenTo','isArray','function','image/webp','location'];_0x11e6=function(){return _0x32ac9a;};return _0x11e6();}export function getImageUrls(_0x2603d5,_0x36f887){const _0x279962=_0xed5b,_0x59d345=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x279962(0x190)](_0x33ca64=>_0x33ca64<=_0x36f887)[_0x279962(0x19c)](_0x9ffd87=>_0x2603d5[_0x279962(0x191)](/\/$/,'')+_0x279962(0x1a3)+_0x9ffd87+_0x279962(0x19f)+_0x9ffd87+'w');return{'imageFallbackUrl':_0x2603d5,'imageSources':[{'srcset':_0x59d345[_0x279962(0x1aa)](',\x20'),'sizes':_0x279962(0x18c)+_0x36f887+_0x279962(0x1a8)+_0x36f887+'px','type':_0x279962(0x178)}]};}export function getImageDimension(_0x36158c,_0x21368a,_0x51bf4b){const _0xa7a648=_0xed5b,_0x2d5c40=_0x36158c[_0xa7a648(0x18f)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2d5c40?parseInt(_0x2d5c40[0x1],0xa):_0x21368a,'height':_0x2d5c40?parseInt(_0x2d5c40[0x2],0xa):_0x51bf4b};}export function showImageProcessingIndicator(_0x8e718a,_0x448396){const _0xfb969a=_0xed5b,_0x58bb2e=new(_0x23e7e2())(),_0x357dcb=_0x8e718a[_0xfb969a(0x183)][_0xfb969a(0x17b)](_0xfb969a(0x187)),_0x3d0763=_0x8e718a[_0xfb969a(0x18d)][_0xfb969a(0x1a0)][_0xfb969a(0x1ab)](_0x448396),_0x5a87d6=_0x357dcb[_0xfb969a(0x188)](_0x3d0763),_0x34ab8d=_0x8e718a[_0xfb969a(0x18d)][_0xfb969a(0x1a5)][_0xfb969a(0x17e)][_0xfb969a(0x186)](_0x5a87d6),_0x3d41ed=_0x448396[_0xfb969a(0x193)](_0xfb969a(0x182)),_0x37ead9=_0x448396[_0xfb969a(0x193)](_0xfb969a(0x197)),_0x4f212f=_0xfb969a(0x196);_0x8e718a[_0xfb969a(0x18d)][_0xfb969a(0x1a5)][_0xfb969a(0x194)](_0x2e6c28=>{const _0x345ad5=_0xfb969a;_0x2e6c28[_0x345ad5(0x192)](_0x4f212f,_0x3d0763),_0x2e6c28[_0x345ad5(0x198)](_0x345ad5(0x17c),_0x3d41ed+'/'+_0x37ead9,_0x5a87d6);}),_0x58bb2e[_0xfb969a(0x1b0)](_0x34ab8d,_0xfb969a(0x18b),()=>{const _0x51255a=_0xfb969a;_0x58bb2e[_0x51255a(0x181)](_0x34ab8d,_0x51255a(0x18b)),_0x8e718a[_0x51255a(0x18d)][_0x51255a(0x1a5)][_0x51255a(0x194)](_0x4d3fed=>{const _0x4b72e2=_0x51255a;_0x4d3fed[_0x4b72e2(0x1a1)](_0x4f212f,_0x3d0763),_0x4d3fed[_0x4b72e2(0x1ae)](_0x4b72e2(0x17c),_0x5a87d6);});});}function _0xed5b(_0x3165e1,_0x337c95){const _0x11e6c8=_0x11e6();return _0xed5b=function(_0xed5bfb,_0x352fc0){_0xed5bfb=_0xed5bfb-0x178;let _0x28c4c5=_0x11e6c8[_0xed5bfb];return _0x28c4c5;},_0xed5b(_0x3165e1,_0x337c95);}function z(_0x197d9f){const _0x4fd859=_0xed5b;if(Array[_0x4fd859(0x1b1)](_0x197d9f)){const _0x2664e=_0x197d9f[_0x4fd859(0x19c)](z);return _0x3f0248=>_0x2664e[_0x4fd859(0x180)](_0x1de34c=>_0x1de34c(_0x3f0248));}if(_0x4fd859(0x184)==_0x197d9f){const _0x50e69f=_0x45594d[_0x4fd859(0x1af)][_0x4fd859(0x179)][_0x4fd859(0x184)];return _0x2a21cb=>new URL(_0x2a21cb,_0x45594d[_0x4fd859(0x1a9)][_0x4fd859(0x19e)])[_0x4fd859(0x184)]==_0x50e69f;}return _0x4fd859(0x1b2)==typeof _0x197d9f?_0x197d9f:_0x197d9f instanceof RegExp?_0x1e60d8=>!(!_0x1e60d8[_0x4fd859(0x18f)](_0x197d9f)&&!_0x1e60d8[_0x4fd859(0x191)](/^https?:\/\//,'')[_0x4fd859(0x18f)](_0x197d9f)):()=>!0x1;}
23
+ function _0x4098(){const _0x25f270=['/-/resize/','toViewElement','10zZKeee','plugins','function','1391007JRdgmC','origin','12531828EwhZtK','71430hqJKhK','map','document','window','imageBlock','match','addClass','ImageUtils','filter','2024heZPig','some','removeStyle','(max-width:\x20','src','change','imageInline','element','join','image/webp','view','mapper','1971823itYyaC','height','aspect-ratio','width','517cYTwlZ','px)\x20100vw,\x20','uploadcareImageId','findViewImgElement','domConverter','hasAttribute','baseURI','6aNyaJX','setStyle','2zjPXPj','getAttribute','removeClass','12420mllGMi','isArray','location','image-processing','viewToDom','get','2191160dkAlzF','editing','load','x/\x20','replace','779076htBfCj','listenTo','stopListening'];_0x4098=function(){return _0x25f270;};return _0x4098();}(function(_0x26d8eb,_0x4069be){const _0x345548=_0x26bc,_0x3bb150=_0x26d8eb();while(!![]){try{const _0x457ca6=-parseInt(_0x345548(0x19d))/0x1+-parseInt(_0x345548(0x187))/0x2*(parseInt(_0x345548(0x195))/0x3)+-parseInt(_0x345548(0x190))/0x4*(-parseInt(_0x345548(0x19a))/0x5)+parseInt(_0x345548(0x185))/0x6*(parseInt(_0x345548(0x17a))/0x7)+-parseInt(_0x345548(0x16e))/0x8*(parseInt(_0x345548(0x18a))/0x9)+parseInt(_0x345548(0x1a0))/0xa*(parseInt(_0x345548(0x17e))/0xb)+parseInt(_0x345548(0x19f))/0xc;if(_0x457ca6===_0x4069be)break;else _0x3bb150['push'](_0x3bb150['shift']());}catch(_0x1216d8){_0x3bb150['push'](_0x3bb150['shift']());}}}(_0x4098,0xb8ede));import{global as _0x55430d,DomEmitterMixin as _0x5afa59}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x42ccd1){const _0x204454=_0x26bc,_0x2b0c68=G(_0x42ccd1);return _0x1a397c=>!(!_0x1a397c||!_0x1a397c['is'](_0x204454(0x175),_0x204454(0x1a4))&&!_0x1a397c['is'](_0x204454(0x175),_0x204454(0x174)))&&(!!_0x1a397c[_0x204454(0x183)](_0x204454(0x180))||!!_0x1a397c[_0x204454(0x183)](_0x204454(0x172))&&_0x2b0c68(_0x1a397c[_0x204454(0x188)](_0x204454(0x172))));}export function getImageUrls(_0x3f287c,_0x289c1e){const _0x1157d1=_0x26bc,_0x98a6fb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1157d1(0x16d)](_0x4f4bc3=>_0x4f4bc3<=_0x289c1e)[_0x1157d1(0x1a1)](_0x69931d=>_0x3f287c[_0x1157d1(0x194)](/\/$/,'')+_0x1157d1(0x198)+_0x69931d+_0x1157d1(0x193)+_0x69931d+'w');return{'imageFallbackUrl':_0x3f287c,'imageSources':[{'srcset':_0x98a6fb[_0x1157d1(0x176)](',\x20'),'sizes':_0x1157d1(0x171)+_0x289c1e+_0x1157d1(0x17f)+_0x289c1e+'px','type':_0x1157d1(0x177)}]};}function _0x26bc(_0x27195f,_0x31b5fc){const _0x4098b9=_0x4098();return _0x26bc=function(_0x26bc3e,_0x4381fb){_0x26bc3e=_0x26bc3e-0x16b;let _0x3fd2ca=_0x4098b9[_0x26bc3e];return _0x3fd2ca;},_0x26bc(_0x27195f,_0x31b5fc);}export function getImageDimension(_0x257fc1,_0x11ca32,_0x20cac7){const _0x30412b=_0x26bc,_0x3a6cc8=_0x257fc1[_0x30412b(0x1a5)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3a6cc8?parseInt(_0x3a6cc8[0x1],0xa):_0x11ca32,'height':_0x3a6cc8?parseInt(_0x3a6cc8[0x2],0xa):_0x20cac7};}export function showImageProcessingIndicator(_0x418754,_0x1eea24){const _0xc3d4d4=_0x26bc,_0x45be0=new(_0x5afa59())(),_0x1a4cee=_0x418754[_0xc3d4d4(0x19b)][_0xc3d4d4(0x18f)](_0xc3d4d4(0x16c)),_0x584210=_0x418754[_0xc3d4d4(0x191)][_0xc3d4d4(0x179)][_0xc3d4d4(0x199)](_0x1eea24),_0x6a2bb6=_0x1a4cee[_0xc3d4d4(0x181)](_0x584210),_0x639b66=_0x418754[_0xc3d4d4(0x191)][_0xc3d4d4(0x178)][_0xc3d4d4(0x182)][_0xc3d4d4(0x18e)](_0x6a2bb6),_0x26bf5c=_0x1eea24[_0xc3d4d4(0x188)](_0xc3d4d4(0x17d)),_0xdc4bb0=_0x1eea24[_0xc3d4d4(0x188)](_0xc3d4d4(0x17b)),_0x14cf51=_0xc3d4d4(0x18d);_0x418754[_0xc3d4d4(0x191)][_0xc3d4d4(0x178)][_0xc3d4d4(0x173)](_0x3df469=>{const _0x5c605d=_0xc3d4d4;_0x3df469[_0x5c605d(0x16b)](_0x14cf51,_0x584210),_0x3df469[_0x5c605d(0x186)](_0x5c605d(0x17c),_0x26bf5c+'/'+_0xdc4bb0,_0x6a2bb6);}),_0x45be0[_0xc3d4d4(0x196)](_0x639b66,_0xc3d4d4(0x192),()=>{const _0x89161e=_0xc3d4d4;_0x45be0[_0x89161e(0x197)](_0x639b66,_0x89161e(0x192)),_0x418754[_0x89161e(0x191)][_0x89161e(0x178)][_0x89161e(0x173)](_0x4602b7=>{const _0x11f741=_0x89161e;_0x4602b7[_0x11f741(0x189)](_0x14cf51,_0x584210),_0x4602b7[_0x11f741(0x170)](_0x11f741(0x17c),_0x6a2bb6);});});}function G(_0x4fda4e){const _0xfddb1c=_0x26bc;if(Array[_0xfddb1c(0x18b)](_0x4fda4e)){const _0x10127a=_0x4fda4e[_0xfddb1c(0x1a1)](G);return _0x100fa0=>_0x10127a[_0xfddb1c(0x16f)](_0x3e251=>_0x3e251(_0x100fa0));}if(_0xfddb1c(0x19e)==_0x4fda4e){const _0x4f6445=_0x55430d[_0xfddb1c(0x1a3)][_0xfddb1c(0x18c)][_0xfddb1c(0x19e)];return _0x392a1e=>new URL(_0x392a1e,_0x55430d[_0xfddb1c(0x1a2)][_0xfddb1c(0x184)])[_0xfddb1c(0x19e)]==_0x4f6445;}return _0xfddb1c(0x19c)==typeof _0x4fda4e?_0x4fda4e:_0x4fda4e instanceof RegExp?_0x1a5aae=>!(!_0x1a5aae[_0xfddb1c(0x1a5)](_0x4fda4e)&&!_0x1a5aae[_0xfddb1c(0x194)](/^https?:\/\//,'')[_0xfddb1c(0x1a5)](_0x4fda4e)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3ae2fe,_0x5bd7dd){var _0x3454f7=_0x30a3,_0x36abc2=_0x3ae2fe();while(!![]){try{var _0x31e3e6=parseInt(_0x3454f7(0xdf))/0x1*(-parseInt(_0x3454f7(0xe0))/0x2)+parseInt(_0x3454f7(0xde))/0x3+-parseInt(_0x3454f7(0xe5))/0x4+parseInt(_0x3454f7(0xe4))/0x5+-parseInt(_0x3454f7(0xdd))/0x6+parseInt(_0x3454f7(0xe3))/0x7+parseInt(_0x3454f7(0xe6))/0x8;if(_0x31e3e6===_0x5bd7dd)break;else _0x36abc2['push'](_0x36abc2['shift']());}catch(_0x37e86f){_0x36abc2['push'](_0x36abc2['shift']());}}}(_0x3f42,0xb4f9a));import{getAncestors as _0x1428a8}from'ckeditor5/src/utils.js';export function isAncestor(_0x1476e4,_0x12900a){var _0x155e41=_0x30a3;return _0x1428a8(_0x1476e4[_0x155e41(0xe1)])[_0x155e41(0xe2)](_0x12900a);}function _0x30a3(_0x4aedcd,_0x53f976){var _0x3f4204=_0x3f42();return _0x30a3=function(_0x30a3b7,_0xeb0644){_0x30a3b7=_0x30a3b7-0xdd;var _0x326699=_0x3f4204[_0x30a3b7];return _0x326699;},_0x30a3(_0x4aedcd,_0x53f976);}function _0x3f42(){var _0x237901=['5739690fqujSZ','3832392Oqxqgd','1273560BNohiN','1282944CCzjVw','3290739GoKpoY','3KzFsZW','717088kibKTP','target','includes','4093474EsXVvN'];_0x3f42=function(){return _0x237901;};return _0x3f42();}
23
+ (function(_0x5e16f0,_0x12b33c){var _0x44de59=_0x8313,_0x5e55fa=_0x5e16f0();while(!![]){try{var _0x401363=-parseInt(_0x44de59(0x15f))/0x1+-parseInt(_0x44de59(0x160))/0x2+parseInt(_0x44de59(0x161))/0x3*(-parseInt(_0x44de59(0x159))/0x4)+-parseInt(_0x44de59(0x15a))/0x5*(-parseInt(_0x44de59(0x157))/0x6)+parseInt(_0x44de59(0x15b))/0x7*(parseInt(_0x44de59(0x158))/0x8)+parseInt(_0x44de59(0x15e))/0x9*(-parseInt(_0x44de59(0x15c))/0xa)+parseInt(_0x44de59(0x15d))/0xb;if(_0x401363===_0x12b33c)break;else _0x5e55fa['push'](_0x5e55fa['shift']());}catch(_0xe7a1b2){_0x5e55fa['push'](_0x5e55fa['shift']());}}}(_0x153c,0x1f377));function _0x153c(){var _0xce5571=['8JCQffv','2868fWQkZa','5wXzZEa','401786MkKaPZ','763790YZDHud','4489859hCyDzs','9DkYmKH','149030RfWUaB','151806nUvvBq','390zhsVdL','target','includes','340908DOLyWB'];_0x153c=function(){return _0xce5571;};return _0x153c();}function _0x8313(_0x13ec52,_0x4c558f){var _0x153c80=_0x153c();return _0x8313=function(_0x83134e,_0x83b95b){_0x83134e=_0x83134e-0x155;var _0x712321=_0x153c80[_0x83134e];return _0x712321;},_0x8313(_0x13ec52,_0x4c558f);}import{getAncestors as _0x42383d}from'ckeditor5/src/utils.js';export function isAncestor(_0x3d928a,_0x391358){var _0x498da5=_0x8313;return _0x42383d(_0x3d928a[_0x498da5(0x155)])[_0x498da5(0x156)](_0x391358);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5741c4=_0x1b77;(function(_0x428368,_0x119e53){var _0x4c51cc=_0x1b77,_0x5c7e9e=_0x428368();while(!![]){try{var _0x587d59=parseInt(_0x4c51cc(0x1b4))/0x1*(parseInt(_0x4c51cc(0x1b9))/0x2)+-parseInt(_0x4c51cc(0x1b5))/0x3*(-parseInt(_0x4c51cc(0x1b2))/0x4)+-parseInt(_0x4c51cc(0x1ba))/0x5+-parseInt(_0x4c51cc(0x1b7))/0x6*(-parseInt(_0x4c51cc(0x1b8))/0x7)+parseInt(_0x4c51cc(0x1bb))/0x8+parseInt(_0x4c51cc(0x1b1))/0x9*(parseInt(_0x4c51cc(0x1be))/0xa)+-parseInt(_0x4c51cc(0x1bc))/0xb*(parseInt(_0x4c51cc(0x1bd))/0xc);if(_0x587d59===_0x119e53)break;else _0x5c7e9e['push'](_0x5c7e9e['shift']());}catch(_0x36fad7){_0x5c7e9e['push'](_0x5c7e9e['shift']());}}}(_0x2c7b,0x6b78a));function _0x1b77(_0x683548,_0x5223e6){var _0x2c7b53=_0x2c7b();return _0x1b77=function(_0x1b7745,_0x5e0b86){_0x1b7745=_0x1b7745-0x1b1;var _0x4c6853=_0x2c7b53[_0x1b7745];return _0x4c6853;},_0x1b77(_0x683548,_0x5223e6);}function _0x2c7b(){var _0x19b619=['16EKDJjJ','638613OvzCmc','getInfo','6ywvKCZ','3747023zALRVC','25280ZQWDbg','1706885oGvCiK','2464544AWFGYm','7072329cooick','12pgdjYv','300XcFIol','49815RtQdVc','4ntcNmw','upload'];_0x2c7b=function(){return _0x19b619;};return _0x2c7b();}import{uploadFile as _0x44acff,info as _0x40283d}from'@uploadcare/upload-client';export class UploadUtils{static[_0x5741c4(0x1b3)]({file:_0x4f637a,..._0x34a47a}){return _0x44acff(_0x4f637a,_0x34a47a);}static[_0x5741c4(0x1b6)](_0x35ce94,_0x33f859){return _0x40283d(_0x35ce94,_0x33f859);}}
23
+ var _0x5affe3=_0x27f1;(function(_0x4402a3,_0x3d318a){var _0x454a16=_0x27f1,_0x5e3603=_0x4402a3();while(!![]){try{var _0x25917b=parseInt(_0x454a16(0xed))/0x1+-parseInt(_0x454a16(0xee))/0x2*(-parseInt(_0x454a16(0xf1))/0x3)+-parseInt(_0x454a16(0xe6))/0x4*(parseInt(_0x454a16(0xeb))/0x5)+-parseInt(_0x454a16(0xef))/0x6*(-parseInt(_0x454a16(0xf0))/0x7)+parseInt(_0x454a16(0xf2))/0x8*(-parseInt(_0x454a16(0xe5))/0x9)+parseInt(_0x454a16(0xec))/0xa*(-parseInt(_0x454a16(0xe9))/0xb)+-parseInt(_0x454a16(0xea))/0xc*(-parseInt(_0x454a16(0xe8))/0xd);if(_0x25917b===_0x3d318a)break;else _0x5e3603['push'](_0x5e3603['shift']());}catch(_0x32f3b1){_0x5e3603['push'](_0x5e3603['shift']());}}}(_0x4009,0x1a702));function _0x27f1(_0x43ba48,_0x2eee3c){var _0x400961=_0x4009();return _0x27f1=function(_0x27f119,_0x5ae912){_0x27f119=_0x27f119-0xe4;var _0x23a12c=_0x400961[_0x27f119];return _0x23a12c;},_0x27f1(_0x43ba48,_0x2eee3c);}import{uploadFile as _0x436f63,info as _0x15a358}from'@uploadcare/upload-client';function _0x4009(){var _0x10e77f=['34908yfKxbY','9435kZoZHw','30qQaMlX','178196tkrJCF','10yPiVad','12SzxQHJ','677957JPvurI','50877mZnklQ','149752CXRNAp','upload','36nQsUnR','340kpveCp','getInfo','377JdOdRT','724141TSQJLi'];_0x4009=function(){return _0x10e77f;};return _0x4009();}export class UploadUtils{static[_0x5affe3(0xe4)]({file:_0x5bdcb8,..._0x2a6abf}){return _0x436f63(_0x5bdcb8,_0x2a6abf);}static[_0x5affe3(0xe7)](_0x3296e7,_0x2dddae){return _0x15a358(_0x3296e7,_0x2dddae);}}