@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250618.0 → 0.0.0-nightly-20250620.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 _0x43d0f1,View as _0x4b76b4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4b76b4{constructor(_0x23000e){super(_0x23000e);const t=_0x23000e['t'],_0x138c8d=this['bindTemplate'],_0xe9907=new _0x43d0f1();_0xe9907['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':[_0xe9907,{'text':_0x138c8d['to']('imageUploadProgress',_0x5c87ea=>t('Loading\x20image...')+'\x20('+(_0x5c87ea||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 _0x15185e,View as _0xc08a07}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xc08a07{constructor(_0x201893){super(_0x201893);const t=_0x201893['t'],_0x4c5f84=this['bindTemplate'],_0x1c3802=new _0x15185e();_0x1c3802['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':[_0x1c3802,{'text':_0x4c5f84['to']('imageUploadProgress',_0x1112e0=>t('Loading\x20image...')+'\x20('+(_0x1112e0||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
- function _0x1848(){const _0x4f6b1e=['retry','3628344tZWQln','observe','444232LzBQIn','clear','render','apply','length','change:status','_items','once','detail','cancel','div','add','toLowerCase','target','_errorView','42870KhZZDt','uc-cloud-image-editor','_loadingView','nodeName','_focusableView','createCollection','addedNodes','status','ck-reset_all-excluded','set','1HkwxQd','element','error','filter','354262AKGbVo','_addErrorViewListeners','cdnUrl','6CsHupt','ck-uploadcare-form','setTemplate','192447JUGKnZ','querySelector','1227665lQaDwz','focus','uploading','8fAqdMy','_setView','88rGVnPh','2602131tvwilu','45mVviFJ','_addUploadcareImageEditorListeners','getFocusableElement','addEventListener','_waitForImageEditorComponent','disconnect','addMany','_editingView','ready','fire'];_0x1848=function(){return _0x4f6b1e;};return _0x1848();}const _0xa1018b=_0x4a14;(function(_0x29d37e,_0x200170){const _0x281b34=_0x4a14,_0x584536=_0x29d37e();while(!![]){try{const _0x372c05=-parseInt(_0x281b34(0x96))/0x1*(-parseInt(_0x281b34(0x9a))/0x2)+parseInt(_0x281b34(0xa0))/0x3*(parseInt(_0x281b34(0xa5))/0x4)+parseInt(_0x281b34(0xa2))/0x5*(parseInt(_0x281b34(0x9d))/0x6)+-parseInt(_0x281b34(0xa8))/0x7+parseInt(_0x281b34(0xb6))/0x8*(parseInt(_0x281b34(0xa9))/0x9)+parseInt(_0x281b34(0xc5))/0xa*(parseInt(_0x281b34(0xa7))/0xb)+-parseInt(_0x281b34(0xb4))/0xc;if(_0x372c05===_0x200170)break;else _0x584536['push'](_0x584536['shift']());}catch(_0x324746){_0x584536['push'](_0x584536['shift']());}}}(_0x1848,0x2e188));import{View as _0x30dd44}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x17620c}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4d3476}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3bed63}from'./uploadcareimageeditformeditingview.js';function _0x4a14(_0x142169,_0x3b2479){const _0x18486f=_0x1848();return _0x4a14=function(_0x4a1453,_0x464732){_0x4a1453=_0x4a1453-0x92;let _0x5f2d04=_0x18486f[_0x4a1453];return _0x5f2d04;},_0x4a14(_0x142169,_0x3b2479);}import{DialogFocusManagerView as _0x5be61e}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5be61e{[_0xa1018b(0xbc)];[_0xa1018b(0xc7)];[_0xa1018b(0xc4)];[_0xa1018b(0xb0)];[_0xa1018b(0xc9)];constructor(_0x4d2e69,_0x2e0c2e,_0x446594){const _0x4bb611=_0xa1018b;super(_0x4d2e69),this[_0x4bb611(0xbc)]=this[_0x4bb611(0xca)](),this[_0x4bb611(0xc7)]=new _0x17620c(_0x4d2e69),this[_0x4bb611(0xc4)]=new _0x4d3476(_0x4d2e69),this[_0x4bb611(0xb0)]=new _0x3bed63(_0x4d2e69,_0x446594),this[_0x4bb611(0xc9)]=new _0x30dd44(_0x4d2e69),this[_0x4bb611(0xc9)][_0x4bb611(0x9f)](this[_0x4bb611(0xab)]()),this[_0x4bb611(0x95)](_0x4bb611(0x93),_0x2e0c2e),this[_0x4bb611(0x9f)]({'tag':_0x4bb611(0xc0),'attributes':{'class':['ck',_0x4bb611(0x94),_0x4bb611(0x9e)],'tabindex':'-1'},'children':this[_0x4bb611(0xbc)]}),this[_0x4bb611(0xa6)](),this[_0x4bb611(0xbd)](_0x4bb611(0xb8),()=>{const _0x415838=_0x4bb611;this[_0x415838(0xad)](this[_0x415838(0x97)],_0x30d28f=>{const _0x357f37=_0x415838;this[_0x357f37(0xaa)](_0x30d28f);});}),this['on'](_0x4bb611(0xbb),()=>{const _0x579e77=_0x4bb611;this[_0x579e77(0xa6)]();}),this[_0x4bb611(0x9b)]();}[_0xa1018b(0xa3)](){const _0x2ca4bb=_0xa1018b;this[_0x2ca4bb(0x97)][_0x2ca4bb(0xa3)]();}[_0xa1018b(0xa6)](){const _0x468e7a=_0xa1018b;switch(this[_0x468e7a(0xbc)][_0x468e7a(0xb7)](),this[_0x468e7a(0x93)]){case _0x468e7a(0xa4):this[_0x468e7a(0xbc)][_0x468e7a(0xc1)](this[_0x468e7a(0xc7)]);break;case _0x468e7a(0x98):this[_0x468e7a(0xbc)][_0x468e7a(0xc1)](this[_0x468e7a(0xc4)]);break;case _0x468e7a(0xb1):this[_0x468e7a(0xbc)][_0x468e7a(0xaf)]([this[_0x468e7a(0xb0)],this[_0x468e7a(0xc9)]]);}}[_0xa1018b(0xad)](_0xa3f4f9,_0x25b016){const _0x418c3a=_0xa1018b,_0x2b1822=_0x418c3a(0xc6),_0x4d57a9=_0xa3f4f9[_0x418c3a(0xa1)](_0x2b1822);if(_0x4d57a9)return _0x25b016(_0x4d57a9);const _0x20019f=new MutationObserver(_0x19ba3b=>{const _0x3202bc=_0x418c3a,_0x48b721=_0x19ba3b[_0x3202bc(0x99)](_0x2b4899=>_0x2b4899[_0x3202bc(0xc3)]===_0xa3f4f9&&_0x2b4899[_0x3202bc(0x92)][_0x3202bc(0xba)]>0x0&&_0x2b4899[_0x3202bc(0x92)][0x0][_0x3202bc(0xc8)][_0x3202bc(0xc2)]()===_0x2b1822);_0x48b721[_0x3202bc(0xba)]&&(_0x20019f[_0x3202bc(0xae)](),_0x25b016(_0x48b721[0x0][_0x3202bc(0x92)][0x0]));});_0x20019f[_0x418c3a(0xb5)](_0xa3f4f9,{'childList':!0x0,'subtree':!0x0});}[_0xa1018b(0xaa)](_0x5e80de){const _0xb5ebd5=_0xa1018b;_0x5e80de[_0xb5ebd5(0xac)](_0xb5ebd5(0xb9),_0x199e0a=>{const _0x45d81f=_0xb5ebd5;this[_0x45d81f(0xb2)](_0x45d81f(0xb9),{'imageSrc':_0x199e0a[_0x45d81f(0xbe)][_0x45d81f(0x9c)]});}),_0x5e80de[_0xb5ebd5(0xac)](_0xb5ebd5(0xbf),()=>{const _0x1a2909=_0xb5ebd5;this[_0x1a2909(0xb2)](_0x1a2909(0xbf));});}[_0xa1018b(0x9b)](){const _0x2fdb09=_0xa1018b;this[_0x2fdb09(0xc4)]['on'](_0x2fdb09(0xb3),()=>{const _0x3217bd=_0x2fdb09;this[_0x3217bd(0xb2)](_0x3217bd(0xb3));});}}
23
+ const _0x11cbc8=_0x16f9;(function(_0x12787b,_0xd08cb5){const _0x1623d8=_0x16f9,_0xf0295a=_0x12787b();while(!![]){try{const _0x440a9a=parseInt(_0x1623d8(0x109))/0x1*(-parseInt(_0x1623d8(0xeb))/0x2)+parseInt(_0x1623d8(0xef))/0x3+parseInt(_0x1623d8(0xf4))/0x4*(-parseInt(_0x1623d8(0x102))/0x5)+parseInt(_0x1623d8(0x10b))/0x6*(-parseInt(_0x1623d8(0xec))/0x7)+-parseInt(_0x1623d8(0x104))/0x8*(parseInt(_0x1623d8(0x108))/0x9)+-parseInt(_0x1623d8(0x10a))/0xa+parseInt(_0x1623d8(0xf9))/0xb;if(_0x440a9a===_0xd08cb5)break;else _0xf0295a['push'](_0xf0295a['shift']());}catch(_0x3c8687){_0xf0295a['push'](_0xf0295a['shift']());}}}(_0x4e90,0xa4d0e));import{View as _0x694f83}from'ckeditor5/src/ui.js';function _0x4e90(){const _0x389233=['ck-reset_all-excluded','once','detail','uc-cloud-image-editor','_addErrorViewListeners','add','fire','cdnUrl','set','disconnect','cancel','element','44qdVAKX','168NccBgg','status','focus','1475055MjcezJ','_editingView','createCollection','_items','target','568XSCxRh','_errorView','ready','uploading','addMany','29313295WNdTSW','nodeName','getFocusableElement','_focusableView','clear','retry','querySelector','observe','error','6645HnnGgM','toLowerCase','24fUtTfh','filter','setTemplate','addedNodes','692451SCCmiA','43114CkbphH','7101050Ptjqtl','100824jFynno','ck-uploadcare-form','_addUploadcareImageEditorListeners','apply','change:status','_setView','_loadingView','div','render','addEventListener','_waitForImageEditorComponent','length'];_0x4e90=function(){return _0x389233;};return _0x4e90();}import{UploadcareImageEditFormLoadingView as _0x31c5e6}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x60211f}from'./uploadcareimageeditformerrorview.js';function _0x16f9(_0x4e670c,_0x1da2a8){const _0x4e9015=_0x4e90();return _0x16f9=function(_0x16f9b5,_0x3af98f){_0x16f9b5=_0x16f9b5-0xd9;let _0x138938=_0x4e9015[_0x16f9b5];return _0x138938;},_0x16f9(_0x4e670c,_0x1da2a8);}import{UploadcareImageEditFormEditingView as _0x4ffd23}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3a8b8b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3a8b8b{[_0x11cbc8(0xf2)];[_0x11cbc8(0xd9)];[_0x11cbc8(0xf5)];[_0x11cbc8(0xf0)];[_0x11cbc8(0xfc)];constructor(_0xd91b1c,_0x48927d,_0x1a2eb6){const _0x4bb43e=_0x11cbc8;super(_0xd91b1c),this[_0x4bb43e(0xf2)]=this[_0x4bb43e(0xf1)](),this[_0x4bb43e(0xd9)]=new _0x31c5e6(_0xd91b1c),this[_0x4bb43e(0xf5)]=new _0x60211f(_0xd91b1c),this[_0x4bb43e(0xf0)]=new _0x4ffd23(_0xd91b1c,_0x1a2eb6),this[_0x4bb43e(0xfc)]=new _0x694f83(_0xd91b1c),this[_0x4bb43e(0xfc)][_0x4bb43e(0x106)](this[_0x4bb43e(0xfb)]()),this[_0x4bb43e(0xe7)](_0x4bb43e(0xed),_0x48927d),this[_0x4bb43e(0x106)]({'tag':_0x4bb43e(0xda),'attributes':{'class':['ck',_0x4bb43e(0xdf),_0x4bb43e(0x10c)],'tabindex':'-1'},'children':this[_0x4bb43e(0xf2)]}),this[_0x4bb43e(0x110)](),this[_0x4bb43e(0xe0)](_0x4bb43e(0xdb),()=>{const _0x3e9b2a=_0x4bb43e;this[_0x3e9b2a(0xdd)](this[_0x3e9b2a(0xea)],_0x2cc7b5=>{const _0x189cca=_0x3e9b2a;this[_0x189cca(0x10d)](_0x2cc7b5);});}),this['on'](_0x4bb43e(0x10f),()=>{const _0x1edcf4=_0x4bb43e;this[_0x1edcf4(0x110)]();}),this[_0x4bb43e(0xe3)]();}[_0x11cbc8(0xee)](){const _0x2e17d3=_0x11cbc8;this[_0x2e17d3(0xea)][_0x2e17d3(0xee)]();}[_0x11cbc8(0x110)](){const _0x436389=_0x11cbc8;switch(this[_0x436389(0xf2)][_0x436389(0xfd)](),this[_0x436389(0xed)]){case _0x436389(0xf7):this[_0x436389(0xf2)][_0x436389(0xe4)](this[_0x436389(0xd9)]);break;case _0x436389(0x101):this[_0x436389(0xf2)][_0x436389(0xe4)](this[_0x436389(0xf5)]);break;case _0x436389(0xf6):this[_0x436389(0xf2)][_0x436389(0xf8)]([this[_0x436389(0xf0)],this[_0x436389(0xfc)]]);}}[_0x11cbc8(0xdd)](_0x12025f,_0x53d6c3){const _0x198cf5=_0x11cbc8,_0x3abe61=_0x198cf5(0xe2),_0x537505=_0x12025f[_0x198cf5(0xff)](_0x3abe61);if(_0x537505)return _0x53d6c3(_0x537505);const _0xcfb4ee=new MutationObserver(_0x3517ba=>{const _0x492093=_0x198cf5,_0x5771a4=_0x3517ba[_0x492093(0x105)](_0x5bc071=>_0x5bc071[_0x492093(0xf3)]===_0x12025f&&_0x5bc071[_0x492093(0x107)][_0x492093(0xde)]>0x0&&_0x5bc071[_0x492093(0x107)][0x0][_0x492093(0xfa)][_0x492093(0x103)]()===_0x3abe61);_0x5771a4[_0x492093(0xde)]&&(_0xcfb4ee[_0x492093(0xe8)](),_0x53d6c3(_0x5771a4[0x0][_0x492093(0x107)][0x0]));});_0xcfb4ee[_0x198cf5(0x100)](_0x12025f,{'childList':!0x0,'subtree':!0x0});}[_0x11cbc8(0x10d)](_0x1b8d51){const _0x5265e2=_0x11cbc8;_0x1b8d51[_0x5265e2(0xdc)](_0x5265e2(0x10e),_0x14fbc9=>{const _0x5ba97e=_0x5265e2;this[_0x5ba97e(0xe5)](_0x5ba97e(0x10e),{'imageSrc':_0x14fbc9[_0x5ba97e(0xe1)][_0x5ba97e(0xe6)]});}),_0x1b8d51[_0x5265e2(0xdc)](_0x5265e2(0xe9),()=>{const _0x2e5151=_0x5265e2;this[_0x2e5151(0xe5)](_0x2e5151(0xe9));});}[_0x11cbc8(0xe3)](){const _0x396990=_0x11cbc8;this[_0x396990(0xf5)]['on'](_0x396990(0xfe),()=>{const _0x251415=_0x396990;this[_0x251415(0xe5)](_0x251415(0xfe));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20021f=_0x4d5c;(function(_0x3fc5aa,_0x3b673a){const _0x1c81a1=_0x4d5c,_0xeb6a41=_0x3fc5aa();while(!![]){try{const _0x16224c=parseInt(_0x1c81a1(0xfa))/0x1*(parseInt(_0x1c81a1(0x108))/0x2)+-parseInt(_0x1c81a1(0xff))/0x3+parseInt(_0x1c81a1(0xf2))/0x4*(-parseInt(_0x1c81a1(0xfb))/0x5)+-parseInt(_0x1c81a1(0x107))/0x6+-parseInt(_0x1c81a1(0xf5))/0x7*(-parseInt(_0x1c81a1(0xf8))/0x8)+-parseInt(_0x1c81a1(0x104))/0x9+-parseInt(_0x1c81a1(0xfe))/0xa*(-parseInt(_0x1c81a1(0xf4))/0xb);if(_0x16224c===_0x3b673a)break;else _0xeb6a41['push'](_0xeb6a41['shift']());}catch(_0x4b8a85){_0xeb6a41['push'](_0xeb6a41['shift']());}}}(_0x58dc,0x250aa));function _0x58dc(){const _0x1c1c2b=['644919znXMAV','set','unbind','editor','requires','2099862EzKxLP','document','_isEditable','1375206VSSOSX','121006HjOBFu','isEnabled','selection','uploadcare.allowExternalImagesEditing','imageBlock','plugins','model','get','config','imageInline','execute','21176ppgvmr','bind','94985yOiiTH','5229ZaHuUN','refresh','isActive','2944eBcgdJ','getSelectedElement','5tZUDjh','15chBVtx','element','imageEditController','310JfgVYJ'];_0x58dc=function(){return _0x1c1c2b;};return _0x58dc();}import{Command as _0xaf1771}from'ckeditor5/src/core.js';import{Dialog as _0xd1bf30}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3d8e8b}from'./ui/uploadcareimageeditcontroller.js';function _0x4d5c(_0x180c0a,_0x3bb94f){const _0x58dc8f=_0x58dc();return _0x4d5c=function(_0x4d5cce,_0xb43a27){_0x4d5cce=_0x4d5cce-0xe8;let _0x3ad08b=_0x58dc8f[_0x4d5cce];return _0x3ad08b;},_0x4d5c(_0x180c0a,_0x3bb94f);}import{createEditabilityChecker as _0x1add76}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xaf1771{[_0x20021f(0xfd)];static get[_0x20021f(0x103)](){return[_0xd1bf30];}[_0x20021f(0x106)];constructor(_0x385fc4){const _0x46cc79=_0x20021f;super(_0x385fc4),this[_0x46cc79(0xfd)]=void 0x0,this[_0x46cc79(0x106)]=_0x1add76(_0x385fc4[_0x46cc79(0xef)][_0x46cc79(0xee)](_0x46cc79(0xea))||[]),this[_0x46cc79(0x100)]({'isActive':!0x1});}[_0x20021f(0xf6)](){const _0xebfc9d=_0x20021f,_0x53f65d=this[_0xebfc9d(0x102)][_0xebfc9d(0xed)][_0xebfc9d(0x105)][_0xebfc9d(0xe9)][_0xebfc9d(0xf9)]();this[_0xebfc9d(0xe8)]=this[_0xebfc9d(0x106)](_0x53f65d);}[_0x20021f(0xf1)](){const _0x22460a=_0x20021f;this[_0x22460a(0xfd)]&&(this[_0x22460a(0x101)](_0x22460a(0xf7)),this[_0x22460a(0xfd)]=void 0x0);const _0x41add2=this[_0x22460a(0x102)][_0x22460a(0xed)][_0x22460a(0x105)][_0x22460a(0xe9)][_0x22460a(0xf9)]();_0x41add2&&(_0x41add2['is'](_0x22460a(0xfc),_0x22460a(0xeb))||_0x41add2['is'](_0x22460a(0xfc),_0x22460a(0xf0)))&&(this[_0x22460a(0xfd)]=new _0x3d8e8b(this[_0x22460a(0x102)],this[_0x22460a(0x102)][_0x22460a(0xec)][_0x22460a(0xee)](_0xd1bf30),_0x41add2),this[_0x22460a(0xf3)](_0x22460a(0xf7))['to'](this[_0x22460a(0xfd)],_0x22460a(0xf7)));}}
23
+ function _0x4009(_0x298ad9,_0x48efe7){const _0x19666c=_0x1966();return _0x4009=function(_0x40093e,_0x5c0b09){_0x40093e=_0x40093e-0x1bf;let _0x2b8ed5=_0x19666c[_0x40093e];return _0x2b8ed5;},_0x4009(_0x298ad9,_0x48efe7);}function _0x1966(){const _0x2d4ce6=['55806XOaOTe','1143LCRvcN','bind','15FlUWFc','document','isEnabled','uploadcare.allowExternalImagesEditing','imageInline','unbind','selection','get','1140952MWsYrb','2133822OPtpye','getSelectedElement','plugins','requires','imageEditController','51070qZbNnc','244736uhwtKL','42yQSYTO','8MKDVnB','set','config','_isEditable','execute','editor','model','refresh','imageBlock','element','398472bPBmEi','6172144SJrlqS','isActive'];_0x1966=function(){return _0x2d4ce6;};return _0x1966();}const _0x14bd84=_0x4009;(function(_0x17c2cc,_0x170e50){const _0x423231=_0x4009,_0x2de33c=_0x17c2cc();while(!![]){try{const _0x23b413=parseInt(_0x423231(0x1cd))/0x1+parseInt(_0x423231(0x1c7))/0x2+parseInt(_0x423231(0x1dc))/0x3*(parseInt(_0x423231(0x1cf))/0x4)+-parseInt(_0x423231(0x1df))/0x5*(-parseInt(_0x423231(0x1d9))/0x6)+-parseInt(_0x423231(0x1ce))/0x7*(parseInt(_0x423231(0x1c6))/0x8)+-parseInt(_0x423231(0x1dd))/0x9*(parseInt(_0x423231(0x1cc))/0xa)+parseInt(_0x423231(0x1da))/0xb;if(_0x23b413===_0x170e50)break;else _0x2de33c['push'](_0x2de33c['shift']());}catch(_0x3321c7){_0x2de33c['push'](_0x2de33c['shift']());}}}(_0x1966,0x93ad8));import{Command as _0x3ef839}from'ckeditor5/src/core.js';import{Dialog as _0x56e1b8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1a21b1}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5ba443}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3ef839{[_0x14bd84(0x1cb)];static get[_0x14bd84(0x1ca)](){return[_0x56e1b8];}[_0x14bd84(0x1d2)];constructor(_0x59d75a){const _0x2e3561=_0x14bd84;super(_0x59d75a),this[_0x2e3561(0x1cb)]=void 0x0,this[_0x2e3561(0x1d2)]=_0x5ba443(_0x59d75a[_0x2e3561(0x1d1)][_0x2e3561(0x1c5)](_0x2e3561(0x1c1))||[]),this[_0x2e3561(0x1d0)]({'isActive':!0x1});}[_0x14bd84(0x1d6)](){const _0x5afe63=_0x14bd84,_0x56fd5b=this[_0x5afe63(0x1d4)][_0x5afe63(0x1d5)][_0x5afe63(0x1bf)][_0x5afe63(0x1c4)][_0x5afe63(0x1c8)]();this[_0x5afe63(0x1c0)]=this[_0x5afe63(0x1d2)](_0x56fd5b);}[_0x14bd84(0x1d3)](){const _0x2f6d8f=_0x14bd84;this[_0x2f6d8f(0x1cb)]&&(this[_0x2f6d8f(0x1c3)](_0x2f6d8f(0x1db)),this[_0x2f6d8f(0x1cb)]=void 0x0);const _0x410faa=this[_0x2f6d8f(0x1d4)][_0x2f6d8f(0x1d5)][_0x2f6d8f(0x1bf)][_0x2f6d8f(0x1c4)][_0x2f6d8f(0x1c8)]();_0x410faa&&(_0x410faa['is'](_0x2f6d8f(0x1d8),_0x2f6d8f(0x1d7))||_0x410faa['is'](_0x2f6d8f(0x1d8),_0x2f6d8f(0x1c2)))&&(this[_0x2f6d8f(0x1cb)]=new _0x1a21b1(this[_0x2f6d8f(0x1d4)],this[_0x2f6d8f(0x1d4)][_0x2f6d8f(0x1c9)][_0x2f6d8f(0x1c5)](_0x56e1b8),_0x410faa),this[_0x2f6d8f(0x1de)](_0x2f6d8f(0x1db))['to'](this[_0x2f6d8f(0x1cb)],_0x2f6d8f(0x1db)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x224c31=_0x29a5;(function(_0x3e701d,_0x2619ec){const _0x79d2ec=_0x29a5,_0x5291bb=_0x3e701d();while(!![]){try{const _0x2b99ad=-parseInt(_0x79d2ec(0xc0))/0x1*(parseInt(_0x79d2ec(0xba))/0x2)+-parseInt(_0x79d2ec(0xbb))/0x3+parseInt(_0x79d2ec(0xc5))/0x4*(-parseInt(_0x79d2ec(0xbc))/0x5)+-parseInt(_0x79d2ec(0xb4))/0x6+parseInt(_0x79d2ec(0xc8))/0x7+parseInt(_0x79d2ec(0xc6))/0x8*(-parseInt(_0x79d2ec(0xbf))/0x9)+-parseInt(_0x79d2ec(0xb7))/0xa*(-parseInt(_0x79d2ec(0xb8))/0xb);if(_0x2b99ad===_0x2619ec)break;else _0x5291bb['push'](_0x5291bb['shift']());}catch(_0x1cb69b){_0x5291bb['push'](_0x5291bb['shift']());}}}(_0x4b14,0xe8c0e));import{Plugin as _0x20dfb4}from'ckeditor5/src/core.js';import{Notification as _0x2a4d8b}from'ckeditor5/src/ui.js';function _0x29a5(_0x38300d,_0x1ba3d2){const _0x4b149a=_0x4b14();return _0x29a5=function(_0x29a59a,_0x2dc58e){_0x29a59a=_0x29a59a-0xb3;let _0x1c8499=_0x4b149a[_0x29a59a];return _0x1c8499;},_0x29a5(_0x38300d,_0x1ba3d2);}import{UploadcareImageEditCommand as _0x12fc72}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f0894}from'./uploadcareimagereplacecommand.js';function _0x4b14(){const _0x51ae2d=['uploadcareImageReplace','582507mSXxWb','7WxNXQA','init','add','pluginName','requires','8412mjxhaf','104eXxgqT','isOfficialPlugin','6091281Wfpmpt','ImageUtils','isPremiumPlugin','1886796IpDTEJ','UploadcareImageEditEditing','ImageEditing','107540XlaLmb','4818ztfHVC','uploadcareImageEdit','15874sDjueH','5571990zSBHvI','3705SSqNtD','commands'];_0x4b14=function(){return _0x51ae2d;};return _0x4b14();}import{UploadcareEditing as _0xcd9d4a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x20dfb4{static get[_0x224c31(0xc3)](){const _0x36e8c1=_0x224c31;return _0x36e8c1(0xb5);}static get[_0x224c31(0xc4)](){const _0x4020e4=_0x224c31;return[_0xcd9d4a,_0x2a4d8b,_0x4020e4(0xc9),_0x4020e4(0xb6)];}static get[_0x224c31(0xc7)](){return!0x0;}static get[_0x224c31(0xb3)](){return!0x0;}[_0x224c31(0xc1)](){const _0xdcf646=_0x224c31,{editor:_0xd3fa7f}=this;_0xd3fa7f[_0xdcf646(0xbd)][_0xdcf646(0xc2)](_0xdcf646(0xb9),new _0x12fc72(_0xd3fa7f)),_0xd3fa7f[_0xdcf646(0xbd)][_0xdcf646(0xc2)](_0xdcf646(0xbe),new _0x2f0894(_0xd3fa7f));}}
23
+ const _0x24f534=_0x1680;(function(_0x364aab,_0x4d15a0){const _0x2deaff=_0x1680,_0x5ebcd3=_0x364aab();while(!![]){try{const _0x120ddf=-parseInt(_0x2deaff(0x1f1))/0x1*(-parseInt(_0x2deaff(0x1fd))/0x2)+-parseInt(_0x2deaff(0x1f7))/0x3*(-parseInt(_0x2deaff(0x1f4))/0x4)+-parseInt(_0x2deaff(0x1fa))/0x5+-parseInt(_0x2deaff(0x1ef))/0x6+parseInt(_0x2deaff(0x1fc))/0x7+-parseInt(_0x2deaff(0x1f3))/0x8+parseInt(_0x2deaff(0x1fe))/0x9;if(_0x120ddf===_0x4d15a0)break;else _0x5ebcd3['push'](_0x5ebcd3['shift']());}catch(_0xa970f2){_0x5ebcd3['push'](_0x5ebcd3['shift']());}}}(_0x4f66,0x4fdc2));function _0x1680(_0x36c570,_0x1a19bc){const _0x4f664a=_0x4f66();return _0x1680=function(_0x1680ea,_0x29c113){_0x1680ea=_0x1680ea-0x1ed;let _0x15aab9=_0x4f664a[_0x1680ea];return _0x15aab9;},_0x1680(_0x36c570,_0x1a19bc);}import{Plugin as _0x119874}from'ckeditor5/src/core.js';import{Notification as _0x5a2b8a}from'ckeditor5/src/ui.js';function _0x4f66(){const _0x1c5088=['3186834eJBwFc','uploadcareImageEdit','89MBmtIa','commands','2216392YACYYt','32ZaKioH','ImageUtils','UploadcareImageEditEditing','207633XhEyyM','init','isPremiumPlugin','771260gYBuew','ImageEditing','354501zapdYu','10364QAhLUq','2016153zqzUAk','requires','add','uploadcareImageReplace','isOfficialPlugin','pluginName'];_0x4f66=function(){return _0x1c5088;};return _0x4f66();}import{UploadcareImageEditCommand as _0x18100d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x26ca2e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x44eaf2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x119874{static get[_0x24f534(0x1ee)](){const _0xbabce1=_0x24f534;return _0xbabce1(0x1f6);}static get[_0x24f534(0x1ff)](){const _0x58bd84=_0x24f534;return[_0x44eaf2,_0x5a2b8a,_0x58bd84(0x1f5),_0x58bd84(0x1fb)];}static get[_0x24f534(0x1ed)](){return!0x0;}static get[_0x24f534(0x1f9)](){return!0x0;}[_0x24f534(0x1f8)](){const _0x1f7df1=_0x24f534,{editor:_0x2ef81a}=this;_0x2ef81a[_0x1f7df1(0x1f2)][_0x1f7df1(0x200)](_0x1f7df1(0x1f0),new _0x18100d(_0x2ef81a)),_0x2ef81a[_0x1f7df1(0x1f2)][_0x1f7df1(0x200)](_0x1f7df1(0x201),new _0x26ca2e(_0x2ef81a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x25bb16}from'ckeditor5/src/core.js';import{ButtonView as _0x14b244}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x112846}from'ckeditor5/src/icons.js';import{createElement as _0x4b8841}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 _0x25bb16{['_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 _0x38b2cc=this['editor'];_0x38b2cc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x166a63=>{const _0x6340c7=_0x38b2cc['commands']['get']('uploadcareImageEdit'),_0x135506=new _0x14b244(_0x166a63),t=_0x166a63['t'];return _0x135506['set']({'icon':_0x112846,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x135506['bind']('isEnabled')['to'](_0x6340c7),_0x135506['bind']('isOn')['to'](_0x6340c7,'isActive'),this['listenTo'](_0x135506,'execute',()=>{_0x38b2cc['execute']('uploadcareImageEdit'),_0x38b2cc['editing']['view']['focus']();}),_0x135506;}),this['_initConfig']();}['_initConfig'](){const _0x227067=_0x4b8841(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x227067),this['listenTo'](this['editor'],'destroy',()=>{_0x227067['remove']();});}}
23
+ import{Plugin as _0x462f1d}from'ckeditor5/src/core.js';import{ButtonView as _0x3b2e4e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xbac178}from'ckeditor5/src/icons.js';import{createElement as _0x4f0e68}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 _0x462f1d{['_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 _0x17a8d4=this['editor'];_0x17a8d4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5f4820=>{const _0x18ce72=_0x17a8d4['commands']['get']('uploadcareImageEdit'),_0xa9c3a1=new _0x3b2e4e(_0x5f4820),t=_0x5f4820['t'];return _0xa9c3a1['set']({'icon':_0xbac178,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa9c3a1['bind']('isEnabled')['to'](_0x18ce72),_0xa9c3a1['bind']('isOn')['to'](_0x18ce72,'isActive'),this['listenTo'](_0xa9c3a1,'execute',()=>{_0x17a8d4['execute']('uploadcareImageEdit'),_0x17a8d4['editing']['view']['focus']();}),_0xa9c3a1;}),this['_initConfig']();}['_initConfig'](){const _0x1ab821=_0x4f0e68(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ab821),this['listenTo'](this['editor'],'destroy',()=>{_0x1ab821['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc13a(_0x15dca4,_0x2fc2d8){var _0x136448=_0x1364();return _0xc13a=function(_0xc13ac4,_0x48d8b0){_0xc13ac4=_0xc13ac4-0x121;var _0x2851f9=_0x136448[_0xc13ac4];return _0x2851f9;},_0xc13a(_0x15dca4,_0x2fc2d8);}var _0x5a5274=_0xc13a;(function(_0x59bcee,_0xb953da){var _0x2699f4=_0xc13a,_0x3d0558=_0x59bcee();while(!![]){try{var _0x1e1d95=parseInt(_0x2699f4(0x12d))/0x1*(-parseInt(_0x2699f4(0x125))/0x2)+-parseInt(_0x2699f4(0x12a))/0x3+parseInt(_0x2699f4(0x135))/0x4*(parseInt(_0x2699f4(0x124))/0x5)+parseInt(_0x2699f4(0x133))/0x6*(parseInt(_0x2699f4(0x130))/0x7)+-parseInt(_0x2699f4(0x131))/0x8*(parseInt(_0x2699f4(0x134))/0x9)+parseInt(_0x2699f4(0x126))/0xa*(parseInt(_0x2699f4(0x123))/0xb)+parseInt(_0x2699f4(0x132))/0xc;if(_0x1e1d95===_0xb953da)break;else _0x3d0558['push'](_0x3d0558['shift']());}catch(_0x1eb021){_0x3d0558['push'](_0x3d0558['shift']());}}}(_0x1364,0x6a147));import{FocusTracker as _0x475662}from'ckeditor5/src/utils.js';import{View as _0x130d85,FocusCycler as _0x15d0c6}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x130d85{[_0x5a5274(0x122)];[_0x5a5274(0x12c)];constructor(_0x5e04c2){var _0x578112=_0x5a5274;super(_0x5e04c2),this[_0x578112(0x122)]=new _0x475662(),this[_0x578112(0x12c)]=new _0x15d0c6({'focusables':this[_0x578112(0x127)](),'focusTracker':this[_0x578112(0x122)]});}[_0x5a5274(0x12b)](){var _0x1fa730=_0x5a5274;return{'tag':_0x1fa730(0x12f),'attributes':{'aria-hidden':_0x1fa730(0x12e),'tabindex':'0'},'on':{'focus':this[_0x1fa730(0x128)]['to'](()=>{var _0x354905=_0x1fa730;this[_0x354905(0x12c)][_0x354905(0x121)](_0x354905(0x129));})}};}}function _0x1364(){var _0x54fe4a=['25930ffXwRY','createCollection','bindTemplate','forwardCycle','761145ZePraL','getFocusableElement','focusCycler','61EItRGJ','true','div','1927282MJDgYi','1027944ILSqgV','10001088vPDnNv','6BYTURG','27UFUloh','944892ZorSos','fire','focusTracker','1815BtcenB','5wUivuO','22922NSIZxw'];_0x1364=function(){return _0x54fe4a;};return _0x1364();}
23
+ var _0x5f3c40=_0x50f4;(function(_0x7248a9,_0x4bb183){var _0x14a5d2=_0x50f4,_0x31f4d7=_0x7248a9();while(!![]){try{var _0x45a3bd=parseInt(_0x14a5d2(0x159))/0x1+parseInt(_0x14a5d2(0x146))/0x2+-parseInt(_0x14a5d2(0x14c))/0x3*(-parseInt(_0x14a5d2(0x149))/0x4)+parseInt(_0x14a5d2(0x14f))/0x5+parseInt(_0x14a5d2(0x154))/0x6*(parseInt(_0x14a5d2(0x150))/0x7)+parseInt(_0x14a5d2(0x152))/0x8*(parseInt(_0x14a5d2(0x14a))/0x9)+parseInt(_0x14a5d2(0x14e))/0xa*(-parseInt(_0x14a5d2(0x153))/0xb);if(_0x45a3bd===_0x4bb183)break;else _0x31f4d7['push'](_0x31f4d7['shift']());}catch(_0x5b9279){_0x31f4d7['push'](_0x31f4d7['shift']());}}}(_0x4aa3,0xd1682));function _0x4aa3(){var _0x189665=['focusTracker','div','focusCycler','createCollection','100815jrZJKB','1394670WNvBoY','true','fire','3414192QfNFUK','8371764McYAZb','forwardCycle','3naROlG','bindTemplate','70rbGvGJ','1838015SvZnfj','1806161SGNLSH','getFocusableElement','8JkXOMp','5314386VRQUKG','30LwdLil'];_0x4aa3=function(){return _0x189665;};return _0x4aa3();}import{FocusTracker as _0x4acaa6}from'ckeditor5/src/utils.js';function _0x50f4(_0x4faf4e,_0x436aba){var _0x4aa3f6=_0x4aa3();return _0x50f4=function(_0x50f448,_0x5cf10f){_0x50f448=_0x50f448-0x146;var _0x51ef4d=_0x4aa3f6[_0x50f448];return _0x51ef4d;},_0x50f4(_0x4faf4e,_0x436aba);}import{View as _0x1702b6,FocusCycler as _0x5c96f8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1702b6{[_0x5f3c40(0x155)];[_0x5f3c40(0x157)];constructor(_0x3ae5ec){var _0x4e16dc=_0x5f3c40;super(_0x3ae5ec),this[_0x4e16dc(0x155)]=new _0x4acaa6(),this[_0x4e16dc(0x157)]=new _0x5c96f8({'focusables':this[_0x4e16dc(0x158)](),'focusTracker':this[_0x4e16dc(0x155)]});}[_0x5f3c40(0x151)](){var _0xb38883=_0x5f3c40;return{'tag':_0xb38883(0x156),'attributes':{'aria-hidden':_0xb38883(0x147),'tabindex':'0'},'on':{'focus':this[_0xb38883(0x14d)]['to'](()=>{var _0x2d7f16=_0xb38883;this[_0x2d7f16(0x157)][_0x2d7f16(0x148)](_0x2d7f16(0x14b));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d0c85,_0x55ed65){const _0x50373e=_0x521a,_0x31f0e3=_0x4d0c85();while(!![]){try{const _0x40876b=parseInt(_0x50373e(0xbd))/0x1+parseInt(_0x50373e(0xc3))/0x2*(-parseInt(_0x50373e(0x93))/0x3)+parseInt(_0x50373e(0x9e))/0x4+parseInt(_0x50373e(0xb8))/0x5*(parseInt(_0x50373e(0xa5))/0x6)+-parseInt(_0x50373e(0xaf))/0x7*(-parseInt(_0x50373e(0xba))/0x8)+parseInt(_0x50373e(0xa4))/0x9*(parseInt(_0x50373e(0xb3))/0xa)+-parseInt(_0x50373e(0x8e))/0xb*(parseInt(_0x50373e(0xb6))/0xc);if(_0x40876b===_0x55ed65)break;else _0x31f0e3['push'](_0x31f0e3['shift']());}catch(_0x326c4){_0x31f0e3['push'](_0x31f0e3['shift']());}}}(_0x509c,0xe8703));function _0x509c(){const _0x32c08c=['load','ImageUtils','8HgzBNQ','baseURI','replace','some','domConverter','listenTo','8525792WcBjLt','imageBlock','getAttribute','imageInline','(max-width:\x20','563592TvUwuK','addClass','function','view','aspect-ratio','src','image/webp','height','toViewElement','mapper','editing','7358876xnZqRK','hasAttribute','isArray','change','get','x/\x20','81uapGCp','84GKtRnn','uploadcareImageId','setStyle','width','filter','element','map','px)\x20100vw,\x20','window','/-/resize/','12302192YAlVWv','match','document','stopListening','1875410qvXvkT','findViewImgElement','join','96qrYEah','removeClass','585535WTPVrD','plugins','8nVJksa','image-processing','location','979557UgBNsG','origin','removeStyle','viewToDom'];_0x509c=function(){return _0x32c08c;};return _0x509c();}function _0x521a(_0x4da2c7,_0x16779a){const _0x509c6a=_0x509c();return _0x521a=function(_0x521a5e,_0x51daa2){_0x521a5e=_0x521a5e-0x8c;let _0x479aaf=_0x509c6a[_0x521a5e];return _0x479aaf;},_0x521a(_0x4da2c7,_0x16779a);}import{global as _0x5d62b9,DomEmitterMixin as _0xc5be42}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3de69c){const _0x4b7234=_0x521a,_0x56bd01=z(_0x3de69c);return _0x20e1d5=>!(!_0x20e1d5||!_0x20e1d5['is'](_0x4b7234(0xaa),_0x4b7234(0x8f))&&!_0x20e1d5['is'](_0x4b7234(0xaa),_0x4b7234(0x91)))&&(!!_0x20e1d5[_0x4b7234(0x9f)](_0x4b7234(0xa6))||!!_0x20e1d5[_0x4b7234(0x9f)](_0x4b7234(0x98))&&_0x56bd01(_0x20e1d5[_0x4b7234(0x90)](_0x4b7234(0x98))));}export function getImageUrls(_0x5b45ad,_0x28aeaf){const _0x480e0c=_0x521a,_0x30818c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x480e0c(0xa9)](_0xca334f=>_0xca334f<=_0x28aeaf)[_0x480e0c(0xab)](_0x1948d1=>_0x5b45ad[_0x480e0c(0xc5)](/\/$/,'')+_0x480e0c(0xae)+_0x1948d1+_0x480e0c(0xa3)+_0x1948d1+'w');return{'imageFallbackUrl':_0x5b45ad,'imageSources':[{'srcset':_0x30818c[_0x480e0c(0xb5)](',\x20'),'sizes':_0x480e0c(0x92)+_0x28aeaf+_0x480e0c(0xac)+_0x28aeaf+'px','type':_0x480e0c(0x99)}]};}export function getImageDimension(_0x345bdb,_0x3780d6,_0x3c1f1d){const _0x3b6cb8=_0x521a,_0x6b85b3=_0x345bdb[_0x3b6cb8(0xb0)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x6b85b3?parseInt(_0x6b85b3[0x1],0xa):_0x3780d6,'height':_0x6b85b3?parseInt(_0x6b85b3[0x2],0xa):_0x3c1f1d};}export function showImageProcessingIndicator(_0x5b45fa,_0x575777){const _0x4a61cd=_0x521a,_0x2f461e=new(_0xc5be42())(),_0x298013=_0x5b45fa[_0x4a61cd(0xb9)][_0x4a61cd(0xa2)](_0x4a61cd(0xc2)),_0x28b241=_0x5b45fa[_0x4a61cd(0x9d)][_0x4a61cd(0x9c)][_0x4a61cd(0x9b)](_0x575777),_0x24e9b1=_0x298013[_0x4a61cd(0xb4)](_0x28b241),_0x3eca88=_0x5b45fa[_0x4a61cd(0x9d)][_0x4a61cd(0x96)][_0x4a61cd(0x8c)][_0x4a61cd(0xc0)](_0x24e9b1),_0x508a4f=_0x575777[_0x4a61cd(0x90)](_0x4a61cd(0xa8)),_0x2c61db=_0x575777[_0x4a61cd(0x90)](_0x4a61cd(0x9a)),_0x53d5f3=_0x4a61cd(0xbb);_0x5b45fa[_0x4a61cd(0x9d)][_0x4a61cd(0x96)][_0x4a61cd(0xa1)](_0x3be3a3=>{const _0x31c31f=_0x4a61cd;_0x3be3a3[_0x31c31f(0x94)](_0x53d5f3,_0x28b241),_0x3be3a3[_0x31c31f(0xa7)](_0x31c31f(0x97),_0x508a4f+'/'+_0x2c61db,_0x24e9b1);}),_0x2f461e[_0x4a61cd(0x8d)](_0x3eca88,_0x4a61cd(0xc1),()=>{const _0x5d6b2d=_0x4a61cd;_0x2f461e[_0x5d6b2d(0xb2)](_0x3eca88,_0x5d6b2d(0xc1)),_0x5b45fa[_0x5d6b2d(0x9d)][_0x5d6b2d(0x96)][_0x5d6b2d(0xa1)](_0x14a764=>{const _0x2756df=_0x5d6b2d;_0x14a764[_0x2756df(0xb7)](_0x53d5f3,_0x28b241),_0x14a764[_0x2756df(0xbf)](_0x2756df(0x97),_0x24e9b1);});});}function z(_0x2c9c9b){const _0x5dc3c3=_0x521a;if(Array[_0x5dc3c3(0xa0)](_0x2c9c9b)){const _0x4ccf44=_0x2c9c9b[_0x5dc3c3(0xab)](z);return _0x3b96e8=>_0x4ccf44[_0x5dc3c3(0xc6)](_0x552cf9=>_0x552cf9(_0x3b96e8));}if(_0x5dc3c3(0xbe)==_0x2c9c9b){const _0x52ce56=_0x5d62b9[_0x5dc3c3(0xad)][_0x5dc3c3(0xbc)][_0x5dc3c3(0xbe)];return _0x341f3e=>new URL(_0x341f3e,_0x5d62b9[_0x5dc3c3(0xb1)][_0x5dc3c3(0xc4)])[_0x5dc3c3(0xbe)]==_0x52ce56;}return _0x5dc3c3(0x95)==typeof _0x2c9c9b?_0x2c9c9b:_0x2c9c9b instanceof RegExp?_0x208a84=>!(!_0x208a84[_0x5dc3c3(0xb0)](_0x2c9c9b)&&!_0x208a84[_0x5dc3c3(0xc5)](/^https?:\/\//,'')[_0x5dc3c3(0xb0)](_0x2c9c9b)):()=>!0x1;}
23
+ (function(_0x428dbb,_0x4689a3){const _0x5e9014=_0x45d8,_0x448e98=_0x428dbb();while(!![]){try{const _0x407dd3=-parseInt(_0x5e9014(0x1e1))/0x1*(parseInt(_0x5e9014(0x1eb))/0x2)+parseInt(_0x5e9014(0x1ec))/0x3+parseInt(_0x5e9014(0x1d9))/0x4*(parseInt(_0x5e9014(0x207))/0x5)+parseInt(_0x5e9014(0x1d3))/0x6*(-parseInt(_0x5e9014(0x1e6))/0x7)+-parseInt(_0x5e9014(0x1f9))/0x8+parseInt(_0x5e9014(0x1d8))/0x9+-parseInt(_0x5e9014(0x1ef))/0xa;if(_0x407dd3===_0x4689a3)break;else _0x448e98['push'](_0x448e98['shift']());}catch(_0x238929){_0x448e98['push'](_0x448e98['shift']());}}}(_0xecc2,0x5e8df));import{global as _0x1703c0,DomEmitterMixin as _0x568625}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3a8dbe){const _0xfa642a=_0x45d8,_0x1f0fe7=G(_0x3a8dbe);return _0x9f6d4=>!(!_0x9f6d4||!_0x9f6d4['is'](_0xfa642a(0x1f8),_0xfa642a(0x1ed))&&!_0x9f6d4['is'](_0xfa642a(0x1f8),_0xfa642a(0x1e3)))&&(!!_0x9f6d4[_0xfa642a(0x1f1)](_0xfa642a(0x1e5))||!!_0x9f6d4[_0xfa642a(0x1f1)](_0xfa642a(0x201))&&_0x1f0fe7(_0x9f6d4[_0xfa642a(0x1d7)](_0xfa642a(0x201))));}function _0x45d8(_0xace016,_0x16d3c1){const _0xecc22c=_0xecc2();return _0x45d8=function(_0x45d8f9,_0x21518b){_0x45d8f9=_0x45d8f9-0x1d1;let _0x2a6dbd=_0xecc22c[_0x45d8f9];return _0x2a6dbd;},_0x45d8(_0xace016,_0x16d3c1);}export function getImageUrls(_0x3e9cb2,_0x457f1d){const _0x1661cd=_0x45d8,_0x3f3695=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1661cd(0x1ea)](_0x4556be=>_0x4556be<=_0x457f1d)[_0x1661cd(0x1f0)](_0x3b836f=>_0x3e9cb2[_0x1661cd(0x1d6)](/\/$/,'')+_0x1661cd(0x1d2)+_0x3b836f+_0x1661cd(0x1e2)+_0x3b836f+'w');return{'imageFallbackUrl':_0x3e9cb2,'imageSources':[{'srcset':_0x3f3695[_0x1661cd(0x1f4)](',\x20'),'sizes':_0x1661cd(0x206)+_0x457f1d+_0x1661cd(0x1f6)+_0x457f1d+'px','type':_0x1661cd(0x1fb)}]};}export function getImageDimension(_0x2b8f97,_0x21156d,_0x4d167f){const _0xac4753=_0x45d8,_0x46d947=_0x2b8f97[_0xac4753(0x1f5)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x46d947?parseInt(_0x46d947[0x1],0xa):_0x21156d,'height':_0x46d947?parseInt(_0x46d947[0x2],0xa):_0x4d167f};}function _0xecc2(){const _0x22e165=['location','domConverter','removeClass','toViewElement','(max-width:\x20','1365mKndda','stopListening','editing','some','/-/resize/','6sCBFAL','isArray','origin','replace','getAttribute','3271824DTyTOb','2452wmmTZd','listenTo','ImageUtils','load','findViewImgElement','setStyle','plugins','image-processing','2oveDfK','x/\x20','imageInline','document','uploadcareImageId','1443911CvKGQq','change','removeStyle','width','filter','119752gLQVdb','1596180gUVWLP','imageBlock','baseURI','1241570oEwLOW','map','hasAttribute','window','mapper','join','match','px)\x20100vw,\x20','addClass','element','1803744wJXPsH','height','image/webp','aspect-ratio','view','get','function','viewToDom','src'];_0xecc2=function(){return _0x22e165;};return _0xecc2();}export function showImageProcessingIndicator(_0x5be23f,_0xe85146){const _0x2b482a=_0x45d8,_0x550695=new(_0x568625())(),_0x1d6fe8=_0x5be23f[_0x2b482a(0x1df)][_0x2b482a(0x1fe)](_0x2b482a(0x1db)),_0x43734e=_0x5be23f[_0x2b482a(0x209)][_0x2b482a(0x1f3)][_0x2b482a(0x205)](_0xe85146),_0x258e3f=_0x1d6fe8[_0x2b482a(0x1dd)](_0x43734e),_0x3f6615=_0x5be23f[_0x2b482a(0x209)][_0x2b482a(0x1fd)][_0x2b482a(0x203)][_0x2b482a(0x200)](_0x258e3f),_0x5a9ea9=_0xe85146[_0x2b482a(0x1d7)](_0x2b482a(0x1e9)),_0x270183=_0xe85146[_0x2b482a(0x1d7)](_0x2b482a(0x1fa)),_0x309da9=_0x2b482a(0x1e0);_0x5be23f[_0x2b482a(0x209)][_0x2b482a(0x1fd)][_0x2b482a(0x1e7)](_0x12064b=>{const _0x4a406b=_0x2b482a;_0x12064b[_0x4a406b(0x1f7)](_0x309da9,_0x43734e),_0x12064b[_0x4a406b(0x1de)](_0x4a406b(0x1fc),_0x5a9ea9+'/'+_0x270183,_0x258e3f);}),_0x550695[_0x2b482a(0x1da)](_0x3f6615,_0x2b482a(0x1dc),()=>{const _0x4df451=_0x2b482a;_0x550695[_0x4df451(0x208)](_0x3f6615,_0x4df451(0x1dc)),_0x5be23f[_0x4df451(0x209)][_0x4df451(0x1fd)][_0x4df451(0x1e7)](_0x29e354=>{const _0x5c9944=_0x4df451;_0x29e354[_0x5c9944(0x204)](_0x309da9,_0x43734e),_0x29e354[_0x5c9944(0x1e8)](_0x5c9944(0x1fc),_0x258e3f);});});}function G(_0x234458){const _0x5db939=_0x45d8;if(Array[_0x5db939(0x1d4)](_0x234458)){const _0x2dcc85=_0x234458[_0x5db939(0x1f0)](G);return _0x424f35=>_0x2dcc85[_0x5db939(0x1d1)](_0x20df42=>_0x20df42(_0x424f35));}if(_0x5db939(0x1d5)==_0x234458){const _0x10f5a9=_0x1703c0[_0x5db939(0x1f2)][_0x5db939(0x202)][_0x5db939(0x1d5)];return _0x27edfa=>new URL(_0x27edfa,_0x1703c0[_0x5db939(0x1e4)][_0x5db939(0x1ee)])[_0x5db939(0x1d5)]==_0x10f5a9;}return _0x5db939(0x1ff)==typeof _0x234458?_0x234458:_0x234458 instanceof RegExp?_0x28c725=>!(!_0x28c725[_0x5db939(0x1f5)](_0x234458)&&!_0x28c725[_0x5db939(0x1d6)](/^https?:\/\//,'')[_0x5db939(0x1f5)](_0x234458)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5124(){var _0x1dac4d=['30sZYoge','9023220tAkJSn','1513515gwmOml','includes','763378zRNrnY','32zEnZRl','257074wJZMpv','target','382782HiQsBk','5FTAwXE','15302208ZRrXya','11ZOSNck','2313ymYgeN','27640BcxAEx'];_0x5124=function(){return _0x1dac4d;};return _0x5124();}(function(_0x37a322,_0x214e45){var _0xd10560=_0x2136,_0x4a9fb1=_0x37a322();while(!![]){try{var _0x53dd85=parseInt(_0xd10560(0xdd))/0x1*(-parseInt(_0xd10560(0xe8))/0x2)+parseInt(_0xd10560(0xdc))/0x3*(parseInt(_0xd10560(0xe7))/0x4)+parseInt(_0xd10560(0xe4))/0x5+parseInt(_0xd10560(0xe2))/0x6*(-parseInt(_0xd10560(0xe6))/0x7)+parseInt(_0xd10560(0xe1))/0x8*(parseInt(_0xd10560(0xe0))/0x9)+parseInt(_0xd10560(0xe3))/0xa+-parseInt(_0xd10560(0xdf))/0xb*(parseInt(_0xd10560(0xde))/0xc);if(_0x53dd85===_0x214e45)break;else _0x4a9fb1['push'](_0x4a9fb1['shift']());}catch(_0x56003c){_0x4a9fb1['push'](_0x4a9fb1['shift']());}}}(_0x5124,0x9ed4d));import{getAncestors as _0x5b92a5}from'ckeditor5/src/utils.js';function _0x2136(_0x6bd79e,_0x4b728b){var _0x512467=_0x5124();return _0x2136=function(_0x21366d,_0x3d8aaa){_0x21366d=_0x21366d-0xdb;var _0x2c9689=_0x512467[_0x21366d];return _0x2c9689;},_0x2136(_0x6bd79e,_0x4b728b);}export function isAncestor(_0x58764d,_0x1a1ebf){var _0x1ab4c9=_0x2136;return _0x5b92a5(_0x58764d[_0x1ab4c9(0xdb)])[_0x1ab4c9(0xe5)](_0x1a1ebf);}
23
+ function _0x330d(_0x5c9cca,_0x13389b){var _0x21df34=_0x21df();return _0x330d=function(_0x330d93,_0x5d427c){_0x330d93=_0x330d93-0x80;var _0x612214=_0x21df34[_0x330d93];return _0x612214;},_0x330d(_0x5c9cca,_0x13389b);}(function(_0x2be5cc,_0x16e531){var _0x5e9733=_0x330d,_0x3d96d3=_0x2be5cc();while(!![]){try{var _0x3d19b0=-parseInt(_0x5e9733(0x84))/0x1+parseInt(_0x5e9733(0x81))/0x2+-parseInt(_0x5e9733(0x82))/0x3+parseInt(_0x5e9733(0x89))/0x4+-parseInt(_0x5e9733(0x87))/0x5*(-parseInt(_0x5e9733(0x8a))/0x6)+-parseInt(_0x5e9733(0x85))/0x7+parseInt(_0x5e9733(0x86))/0x8*(parseInt(_0x5e9733(0x80))/0x9);if(_0x3d19b0===_0x16e531)break;else _0x3d96d3['push'](_0x3d96d3['shift']());}catch(_0x363f71){_0x3d96d3['push'](_0x3d96d3['shift']());}}}(_0x21df,0xb44b3));function _0x21df(){var _0x11379e=['4170IuWRZB','585iBkBou','652736wSkYeu','3042468XqGQZG','includes','1432471BOqvvK','1587180fnHGwm','162648NDmZFm','10330oGoRcQ','target','1312388lprebG'];_0x21df=function(){return _0x11379e;};return _0x21df();}import{getAncestors as _0x5ac48a}from'ckeditor5/src/utils.js';export function isAncestor(_0x20c9f0,_0x338079){var _0x1f8035=_0x330d;return _0x5ac48a(_0x20c9f0[_0x1f8035(0x88)])[_0x1f8035(0x83)](_0x338079);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10c168=_0x3548;(function(_0x43ca87,_0x51da31){var _0x2332ed=_0x3548,_0x36cc53=_0x43ca87();while(!![]){try{var _0x337e02=-parseInt(_0x2332ed(0x82))/0x1*(parseInt(_0x2332ed(0x80))/0x2)+parseInt(_0x2332ed(0x8a))/0x3*(parseInt(_0x2332ed(0x8b))/0x4)+parseInt(_0x2332ed(0x87))/0x5+-parseInt(_0x2332ed(0x85))/0x6*(parseInt(_0x2332ed(0x7d))/0x7)+-parseInt(_0x2332ed(0x8c))/0x8*(-parseInt(_0x2332ed(0x83))/0x9)+parseInt(_0x2332ed(0x88))/0xa*(parseInt(_0x2332ed(0x89))/0xb)+parseInt(_0x2332ed(0x81))/0xc*(-parseInt(_0x2332ed(0x84))/0xd);if(_0x337e02===_0x51da31)break;else _0x36cc53['push'](_0x36cc53['shift']());}catch(_0x5ad98d){_0x36cc53['push'](_0x36cc53['shift']());}}}(_0x3cb3,0x7423b));import{uploadFile as _0x680196,info as _0x53ec95}from'@uploadcare/upload-client';function _0x3cb3(){var _0xa80b73=['15394lneIWL','198ZdfXoX','481HfsQKK','6qJYjdV','getInfo','3050475LlVaEV','23330ejBwKy','2299nQEhnX','3417OUkoLr','3340WlvrMq','242344JXmYAI','482370iEIqpF','auto','upload','92UoYCAp','474312byzwOG'];_0x3cb3=function(){return _0xa80b73;};return _0x3cb3();}function _0x3548(_0xadec93,_0x2f7071){var _0x3cb30c=_0x3cb3();return _0x3548=function(_0x354878,_0x3c3b2d){_0x354878=_0x354878-0x7d;var _0x21be74=_0x3cb30c[_0x354878];return _0x21be74;},_0x3548(_0xadec93,_0x2f7071);}export class UploadUtils{static[_0x10c168(0x7f)]({file:_0x4d79df,publicKey:_0x33cda6,signal:_0x5992dc,onProgress:_0x27a283}){var _0x3bd0de=_0x10c168;return _0x680196(_0x4d79df,{'publicKey':_0x33cda6,'store':_0x3bd0de(0x7e),'signal':_0x5992dc,'onProgress':_0x27a283});}static[_0x10c168(0x86)](_0x5845a6,_0x1ca73c){return _0x53ec95(_0x5845a6,_0x1ca73c);}}
23
+ var _0x31e1d0=_0x49d1;function _0x2488(){var _0x58b009=['3jyzgRH','190246koSUaY','6967746vdHyMH','upload','27262CbuABd','58iwAxtf','getInfo','3851394QoIZdy','auto','1353168VxTFLm','2064640TwNtFy','1434752zAUVAI'];_0x2488=function(){return _0x58b009;};return _0x2488();}(function(_0xbc1598,_0x4d38df){var _0x5a08bb=_0x49d1,_0x5bbd50=_0xbc1598();while(!![]){try{var _0x5d2f07=parseInt(_0x5a08bb(0xf3))/0x1*(parseInt(_0x5a08bb(0xf2))/0x2)+-parseInt(_0x5a08bb(0xee))/0x3*(parseInt(_0x5a08bb(0xf9))/0x4)+parseInt(_0x5a08bb(0xf8))/0x5+parseInt(_0x5a08bb(0xf5))/0x6+parseInt(_0x5a08bb(0xef))/0x7+-parseInt(_0x5a08bb(0xf7))/0x8+-parseInt(_0x5a08bb(0xf0))/0x9;if(_0x5d2f07===_0x4d38df)break;else _0x5bbd50['push'](_0x5bbd50['shift']());}catch(_0x4fcbb8){_0x5bbd50['push'](_0x5bbd50['shift']());}}}(_0x2488,0x8b4cf));function _0x49d1(_0x47d932,_0x2c036f){var _0x24884e=_0x2488();return _0x49d1=function(_0x49d172,_0x3a23c0){_0x49d172=_0x49d172-0xee;var _0x442b6d=_0x24884e[_0x49d172];return _0x442b6d;},_0x49d1(_0x47d932,_0x2c036f);}import{uploadFile as _0x2559cc,info as _0xf28a6c}from'@uploadcare/upload-client';export class UploadUtils{static[_0x31e1d0(0xf1)]({file:_0x108fd3,publicKey:_0x3fd382,signal:_0x1161bd,onProgress:_0x4fd9bc}){var _0x5b1ae2=_0x31e1d0;return _0x2559cc(_0x108fd3,{'publicKey':_0x3fd382,'store':_0x5b1ae2(0xf6),'signal':_0x1161bd,'onProgress':_0x4fd9bc});}static[_0x31e1d0(0xf4)](_0x25ee3b,_0x4c2ec1){return _0xf28a6c(_0x25ee3b,_0x4c2ec1);}}