@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251127.0 → 0.0.0-nightly-20251129.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 _0x5e87b4,View as _0x164e03}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x164e03{constructor(_0x1f2206){super(_0x1f2206);const t=_0x1f2206['t'],_0x5cb8a1=this['bindTemplate'],_0x2ff7d5=new _0x5e87b4();_0x2ff7d5['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':[_0x2ff7d5,{'text':_0x5cb8a1['to']('imageUploadProgress',_0x34b92e=>t('Loading\x20image...')+'\x20('+(_0x34b92e||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 _0x56dafe,View as _0x3662ba}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3662ba{constructor(_0x555d4d){super(_0x555d4d);const t=_0x555d4d['t'],_0x17540c=this['bindTemplate'],_0x2b4645=new _0x56dafe();_0x2b4645['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':[_0x2b4645,{'text':_0x17540c['to']('imageUploadProgress',_0x5904bc=>t('Loading\x20image...')+'\x20('+(_0x5904bc||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 _0x8f2179=_0xe557;function _0xe557(_0x372b07,_0x7df4d2){const _0x176a09=_0x176a();return _0xe557=function(_0xe5572a,_0x9ae341){_0xe5572a=_0xe5572a-0x1b5;let _0x1b44f1=_0x176a09[_0xe5572a];return _0x1b44f1;},_0xe557(_0x372b07,_0x7df4d2);}(function(_0x33e142,_0x3ea574){const _0x2e631c=_0xe557,_0x2f9454=_0x33e142();while(!![]){try{const _0x3bd6d1=-parseInt(_0x2e631c(0x1b9))/0x1*(-parseInt(_0x2e631c(0x1d4))/0x2)+parseInt(_0x2e631c(0x1bf))/0x3+parseInt(_0x2e631c(0x1c5))/0x4+parseInt(_0x2e631c(0x1cd))/0x5+parseInt(_0x2e631c(0x1d9))/0x6+parseInt(_0x2e631c(0x1bc))/0x7*(-parseInt(_0x2e631c(0x1e2))/0x8)+-parseInt(_0x2e631c(0x1c6))/0x9*(parseInt(_0x2e631c(0x1be))/0xa);if(_0x3bd6d1===_0x3ea574)break;else _0x2f9454['push'](_0x2f9454['shift']());}catch(_0x197a40){_0x2f9454['push'](_0x2f9454['shift']());}}}(_0x176a,0x88844));import{View as _0x3d4128}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x217d25}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x243c25}from'./uploadcareimageeditformerrorview.js';function _0x176a(){const _0x31b940=['ready','render','clear','toLowerCase','addedNodes','uc-cloud-image-editor','createCollection','cdnUrl','retry','2qIfODi','nodeName','add','7hvKdWp','querySelector','260tFnfwE','3276255OKatVw','set','div','once','element','_errorView','2442028ahjadc','1067076FPTnuQ','focus','uploading','addEventListener','ck-uploadcare-form','target','_loadingView','2120890ttOGnG','ck-reset_all-excluded','_addErrorViewListeners','change:status','detail','_addUploadcareImageEditorListeners','_setView','967418GQnfKm','_focusableView','filter','cancel','_items','3500406wnzIQT','length','apply','_waitForImageEditorComponent','fire','disconnect','error','getFocusableElement','addMany','286024GdkxdS','setTemplate','observe','_editingView','status'];_0x176a=function(){return _0x31b940;};return _0x176a();}import{UploadcareImageEditFormEditingView as _0x518f10}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x83a42b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x83a42b{[_0x8f2179(0x1d8)];[_0x8f2179(0x1cc)];[_0x8f2179(0x1c4)];[_0x8f2179(0x1e5)];[_0x8f2179(0x1d5)];constructor(_0x37b41f,_0xbe3a7e,_0x208ffe){const _0x42c35c=_0x8f2179;super(_0x37b41f),this[_0x42c35c(0x1d8)]=this[_0x42c35c(0x1b6)](),this[_0x42c35c(0x1cc)]=new _0x217d25(_0x37b41f),this[_0x42c35c(0x1c4)]=new _0x243c25(_0x37b41f),this[_0x42c35c(0x1e5)]=new _0x518f10(_0x37b41f,_0x208ffe),this[_0x42c35c(0x1d5)]=new _0x3d4128(_0x37b41f),this[_0x42c35c(0x1d5)][_0x42c35c(0x1e3)](this[_0x42c35c(0x1e0)]()),this[_0x42c35c(0x1c0)](_0x42c35c(0x1e6),_0xbe3a7e),this[_0x42c35c(0x1e3)]({'tag':_0x42c35c(0x1c1),'attributes':{'class':['ck',_0x42c35c(0x1ce),_0x42c35c(0x1ca)],'tabindex':'-1'},'children':this[_0x42c35c(0x1d8)]}),this[_0x42c35c(0x1d3)](),this[_0x42c35c(0x1c2)](_0x42c35c(0x1e8),()=>{const _0x1d0cf7=_0x42c35c;this[_0x1d0cf7(0x1dc)](this[_0x1d0cf7(0x1c3)],_0x327b0a=>{const _0x5866e1=_0x1d0cf7;this[_0x5866e1(0x1d2)](_0x327b0a);});}),this['on'](_0x42c35c(0x1d0),()=>{const _0x56c7cd=_0x42c35c;this[_0x56c7cd(0x1d3)]();}),this[_0x42c35c(0x1cf)]();}[_0x8f2179(0x1c7)](){const _0x2fdc60=_0x8f2179;this[_0x2fdc60(0x1c3)][_0x2fdc60(0x1c7)]();}[_0x8f2179(0x1d3)](){const _0x1cd851=_0x8f2179;switch(this[_0x1cd851(0x1d8)][_0x1cd851(0x1e9)](),this[_0x1cd851(0x1e6)]){case _0x1cd851(0x1c8):this[_0x1cd851(0x1d8)][_0x1cd851(0x1bb)](this[_0x1cd851(0x1cc)]);break;case _0x1cd851(0x1df):this[_0x1cd851(0x1d8)][_0x1cd851(0x1bb)](this[_0x1cd851(0x1c4)]);break;case _0x1cd851(0x1e7):this[_0x1cd851(0x1d8)][_0x1cd851(0x1e1)]([this[_0x1cd851(0x1e5)],this[_0x1cd851(0x1d5)]]);}}[_0x8f2179(0x1dc)](_0x7db01f,_0x2d593b){const _0x3d9cf6=_0x8f2179,_0x44a0f5=_0x3d9cf6(0x1b5),_0x1215bf=_0x7db01f[_0x3d9cf6(0x1bd)](_0x44a0f5);if(_0x1215bf)return _0x2d593b(_0x1215bf);const _0x592cfc=new MutationObserver(_0x1b8333=>{const _0x338982=_0x3d9cf6,_0x5e4167=_0x1b8333[_0x338982(0x1d6)](_0x24ff79=>_0x24ff79[_0x338982(0x1cb)]===_0x7db01f&&_0x24ff79[_0x338982(0x1eb)][_0x338982(0x1da)]>0x0&&_0x24ff79[_0x338982(0x1eb)][0x0][_0x338982(0x1ba)][_0x338982(0x1ea)]()===_0x44a0f5);_0x5e4167[_0x338982(0x1da)]&&(_0x592cfc[_0x338982(0x1de)](),_0x2d593b(_0x5e4167[0x0][_0x338982(0x1eb)][0x0]));});_0x592cfc[_0x3d9cf6(0x1e4)](_0x7db01f,{'childList':!0x0,'subtree':!0x0});}[_0x8f2179(0x1d2)](_0x3ab6b4){const _0x13ab52=_0x8f2179;_0x3ab6b4[_0x13ab52(0x1c9)](_0x13ab52(0x1db),_0x35a66e=>{const _0x4db2a0=_0x13ab52;this[_0x4db2a0(0x1dd)](_0x4db2a0(0x1db),{'imageSrc':_0x35a66e[_0x4db2a0(0x1d1)][_0x4db2a0(0x1b7)]});}),_0x3ab6b4[_0x13ab52(0x1c9)](_0x13ab52(0x1d7),()=>{const _0x54a30c=_0x13ab52;this[_0x54a30c(0x1dd)](_0x54a30c(0x1d7));});}[_0x8f2179(0x1cf)](){const _0x4006f0=_0x8f2179;this[_0x4006f0(0x1c4)]['on'](_0x4006f0(0x1b8),()=>{const _0x414f3b=_0x4006f0;this[_0x414f3b(0x1dd)](_0x414f3b(0x1b8));});}}
23
+ const _0x1ace78=_0x647f;function _0x647f(_0x60b299,_0x212d62){const _0x23e74a=_0x23e7();return _0x647f=function(_0x647fe0,_0x175470){_0x647fe0=_0x647fe0-0x12b;let _0x16bf78=_0x23e74a[_0x647fe0];return _0x16bf78;},_0x647f(_0x60b299,_0x212d62);}(function(_0x161084,_0x15378e){const _0x165af1=_0x647f,_0x5634f6=_0x161084();while(!![]){try{const _0x3225c9=parseInt(_0x165af1(0x150))/0x1+-parseInt(_0x165af1(0x15b))/0x2*(parseInt(_0x165af1(0x13c))/0x3)+-parseInt(_0x165af1(0x134))/0x4*(parseInt(_0x165af1(0x155))/0x5)+parseInt(_0x165af1(0x14c))/0x6+parseInt(_0x165af1(0x142))/0x7+parseInt(_0x165af1(0x144))/0x8+parseInt(_0x165af1(0x14e))/0x9;if(_0x3225c9===_0x15378e)break;else _0x5634f6['push'](_0x5634f6['shift']());}catch(_0x1bdd95){_0x5634f6['push'](_0x5634f6['shift']());}}}(_0x23e7,0xc2791));import{View as _0x2da677}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5a34be}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ba277}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x55ea41}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x393a22}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x23e7(){const _0x2c77d2=['toLowerCase','getFocusableElement','ready','_addUploadcareImageEditorListeners','addEventListener','347716fpKFGP','length','div','status','render','_waitForImageEditorComponent','disconnect','uc-cloud-image-editor','set','_focusableView','_loadingView','addedNodes','change:status','_errorView','fire','680vWjYMe','detail','once','cancel','_addErrorViewListeners','ck-reset_all-excluded','setTemplate','ck-uploadcare-form','15MfExXL','retry','error','_editingView','add','uploading','7396109LLfSGd','cdnUrl','6172952FAqSfx','querySelector','target','element','focus','createCollection','clear','_setView','2162316GIigWJ','addMany','2806542nzCfUt','_items','234211xFCYsY','observe','apply','filter','nodeName','31435FMxDnR'];_0x23e7=function(){return _0x2c77d2;};return _0x23e7();}export class UploadcareImageEditFormView extends _0x393a22{[_0x1ace78(0x14f)];[_0x1ace78(0x12f)];[_0x1ace78(0x132)];[_0x1ace78(0x13f)];[_0x1ace78(0x12e)];constructor(_0x2e64bd,_0x2c0f36,_0x4f6aea){const _0x4ad7b2=_0x1ace78;super(_0x2e64bd),this[_0x4ad7b2(0x14f)]=this[_0x4ad7b2(0x149)](),this[_0x4ad7b2(0x12f)]=new _0x5a34be(_0x2e64bd),this[_0x4ad7b2(0x132)]=new _0x2ba277(_0x2e64bd),this[_0x4ad7b2(0x13f)]=new _0x55ea41(_0x2e64bd,_0x4f6aea),this[_0x4ad7b2(0x12e)]=new _0x2da677(_0x2e64bd),this[_0x4ad7b2(0x12e)][_0x4ad7b2(0x13a)](this[_0x4ad7b2(0x157)]()),this[_0x4ad7b2(0x12d)](_0x4ad7b2(0x15e),_0x2c0f36),this[_0x4ad7b2(0x13a)]({'tag':_0x4ad7b2(0x15d),'attributes':{'class':['ck',_0x4ad7b2(0x139),_0x4ad7b2(0x13b)],'tabindex':'-1'},'children':this[_0x4ad7b2(0x14f)]}),this[_0x4ad7b2(0x14b)](),this[_0x4ad7b2(0x136)](_0x4ad7b2(0x15f),()=>{const _0x3b30bd=_0x4ad7b2;this[_0x3b30bd(0x160)](this[_0x3b30bd(0x147)],_0x12b648=>{const _0x584a1c=_0x3b30bd;this[_0x584a1c(0x159)](_0x12b648);});}),this['on'](_0x4ad7b2(0x131),()=>{const _0x54c09d=_0x4ad7b2;this[_0x54c09d(0x14b)]();}),this[_0x4ad7b2(0x138)]();}[_0x1ace78(0x148)](){const _0x336977=_0x1ace78;this[_0x336977(0x147)][_0x336977(0x148)]();}[_0x1ace78(0x14b)](){const _0x72f85a=_0x1ace78;switch(this[_0x72f85a(0x14f)][_0x72f85a(0x14a)](),this[_0x72f85a(0x15e)]){case _0x72f85a(0x141):this[_0x72f85a(0x14f)][_0x72f85a(0x140)](this[_0x72f85a(0x12f)]);break;case _0x72f85a(0x13e):this[_0x72f85a(0x14f)][_0x72f85a(0x140)](this[_0x72f85a(0x132)]);break;case _0x72f85a(0x158):this[_0x72f85a(0x14f)][_0x72f85a(0x14d)]([this[_0x72f85a(0x13f)],this[_0x72f85a(0x12e)]]);}}[_0x1ace78(0x160)](_0xf67679,_0x230d07){const _0xfef79c=_0x1ace78,_0x30227e=_0xfef79c(0x12c),_0x448de3=_0xf67679[_0xfef79c(0x145)](_0x30227e);if(_0x448de3)return _0x230d07(_0x448de3);const _0x168f39=new MutationObserver(_0x23e827=>{const _0x25349a=_0xfef79c,_0x1fd7ec=_0x23e827[_0x25349a(0x153)](_0x1f4f3f=>_0x1f4f3f[_0x25349a(0x146)]===_0xf67679&&_0x1f4f3f[_0x25349a(0x130)][_0x25349a(0x15c)]>0x0&&_0x1f4f3f[_0x25349a(0x130)][0x0][_0x25349a(0x154)][_0x25349a(0x156)]()===_0x30227e);_0x1fd7ec[_0x25349a(0x15c)]&&(_0x168f39[_0x25349a(0x12b)](),_0x230d07(_0x1fd7ec[0x0][_0x25349a(0x130)][0x0]));});_0x168f39[_0xfef79c(0x151)](_0xf67679,{'childList':!0x0,'subtree':!0x0});}[_0x1ace78(0x159)](_0x290c70){const _0x1a572f=_0x1ace78;_0x290c70[_0x1a572f(0x15a)](_0x1a572f(0x152),_0x5ea95e=>{const _0x214018=_0x1a572f;this[_0x214018(0x133)](_0x214018(0x152),{'imageSrc':_0x5ea95e[_0x214018(0x135)][_0x214018(0x143)]});}),_0x290c70[_0x1a572f(0x15a)](_0x1a572f(0x137),()=>{const _0x558ec3=_0x1a572f;this[_0x558ec3(0x133)](_0x558ec3(0x137));});}[_0x1ace78(0x138)](){const _0x16676a=_0x1ace78;this[_0x16676a(0x132)]['on'](_0x16676a(0x13d),()=>{const _0x199a8e=_0x16676a;this[_0x199a8e(0x133)](_0x199a8e(0x13d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46cd(){const _0x3a0fc8=['model','getSelectedElement','289600yaRSwT','5102328ZQCGZF','674991SEJIsK','get','plugins','1250SHdXnD','2ZYzZIW','uploadcare.allowExternalImagesEditing','editor','imageEditController','bind','requires','504pbmlVu','config','isActive','selection','imageBlock','680943vWvaSM','refresh','_isEditable','4XxpUIc','imageInline','execute','9800ngkjnl','isEnabled','unbind','34331CbAUia','199583VnPLKe','element','set','24ccKopH','document'];_0x46cd=function(){return _0x3a0fc8;};return _0x46cd();}const _0x35a759=_0x1381;(function(_0x16dc44,_0x5b0551){const _0x574e09=_0x1381,_0x100a55=_0x16dc44();while(!![]){try{const _0x20db8d=-parseInt(_0x574e09(0xcb))/0x1*(-parseInt(_0x574e09(0xd8))/0x2)+-parseInt(_0x574e09(0xc1))/0x3*(-parseInt(_0x574e09(0xc4))/0x4)+parseInt(_0x574e09(0xd2))/0x5*(-parseInt(_0x574e09(0xce))/0x6)+parseInt(_0x574e09(0xc7))/0x7*(-parseInt(_0x574e09(0xbc))/0x8)+parseInt(_0x574e09(0xd4))/0x9+parseInt(_0x574e09(0xd7))/0xa*(-parseInt(_0x574e09(0xca))/0xb)+parseInt(_0x574e09(0xd3))/0xc;if(_0x20db8d===_0x5b0551)break;else _0x100a55['push'](_0x100a55['shift']());}catch(_0x112d8d){_0x100a55['push'](_0x100a55['shift']());}}}(_0x46cd,0x34eb0));import{Command as _0x51cae4}from'ckeditor5/src/core.js';import{Dialog as _0x133622}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x6e2f6f}from'./ui/uploadcareimageeditcontroller.js';function _0x1381(_0x58b753,_0x725a57){const _0x46cd5a=_0x46cd();return _0x1381=function(_0x1381f5,_0x4b4231){_0x1381f5=_0x1381f5-0xb7;let _0xae53c3=_0x46cd5a[_0x1381f5];return _0xae53c3;},_0x1381(_0x58b753,_0x725a57);}import{createEditabilityChecker as _0x44356f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x51cae4{[_0x35a759(0xb9)];static get[_0x35a759(0xbb)](){return[_0x133622];}[_0x35a759(0xc3)];constructor(_0x308a8c){const _0x4ab916=_0x35a759;super(_0x308a8c),this[_0x4ab916(0xb9)]=void 0x0,this[_0x4ab916(0xc3)]=_0x44356f(_0x308a8c[_0x4ab916(0xbd)][_0x4ab916(0xd5)](_0x4ab916(0xb7))||[]),this[_0x4ab916(0xcd)]({'isActive':!0x1});}[_0x35a759(0xc2)](){const _0x87990c=_0x35a759,_0x1a5322=this[_0x87990c(0xb8)][_0x87990c(0xd0)][_0x87990c(0xcf)][_0x87990c(0xbf)][_0x87990c(0xd1)]();this[_0x87990c(0xc8)]=this[_0x87990c(0xc3)](_0x1a5322);}[_0x35a759(0xc6)](){const _0x34ed18=_0x35a759;this[_0x34ed18(0xb9)]&&(this[_0x34ed18(0xc9)](_0x34ed18(0xbe)),this[_0x34ed18(0xb9)]=void 0x0);const _0x2a0b2e=this[_0x34ed18(0xb8)][_0x34ed18(0xd0)][_0x34ed18(0xcf)][_0x34ed18(0xbf)][_0x34ed18(0xd1)]();_0x2a0b2e&&(_0x2a0b2e['is'](_0x34ed18(0xcc),_0x34ed18(0xc0))||_0x2a0b2e['is'](_0x34ed18(0xcc),_0x34ed18(0xc5)))&&(this[_0x34ed18(0xb9)]=new _0x6e2f6f(this[_0x34ed18(0xb8)],this[_0x34ed18(0xb8)][_0x34ed18(0xd6)][_0x34ed18(0xd5)](_0x133622),_0x2a0b2e),this[_0x34ed18(0xba)](_0x34ed18(0xbe))['to'](this[_0x34ed18(0xb9)],_0x34ed18(0xbe)));}}
23
+ const _0x3ee87b=_0x4f05;(function(_0x2915ec,_0x586f2b){const _0x2113dc=_0x4f05,_0x418eb9=_0x2915ec();while(!![]){try{const _0x3df22a=parseInt(_0x2113dc(0x1e8))/0x1+-parseInt(_0x2113dc(0x1e9))/0x2*(-parseInt(_0x2113dc(0x1df))/0x3)+parseInt(_0x2113dc(0x1e6))/0x4*(parseInt(_0x2113dc(0x1d6))/0x5)+-parseInt(_0x2113dc(0x1d5))/0x6+parseInt(_0x2113dc(0x1f2))/0x7*(-parseInt(_0x2113dc(0x1e5))/0x8)+parseInt(_0x2113dc(0x1d4))/0x9+parseInt(_0x2113dc(0x1ee))/0xa*(-parseInt(_0x2113dc(0x1e0))/0xb);if(_0x3df22a===_0x586f2b)break;else _0x418eb9['push'](_0x418eb9['shift']());}catch(_0x2a0c69){_0x418eb9['push'](_0x418eb9['shift']());}}}(_0x3c01,0x2328c));function _0x3c01(){const _0x347ff4=['requires','isEnabled','editor','192olYuho','67868njVfPI','selection','240938GpTiTS','6lUkiAv','uploadcare.allowExternalImagesEditing','element','model','unbind','10AIDXXs','execute','set','_isEditable','6153BzXuDZ','refresh','imageBlock','2572281rGAyui','438852FmUZdk','35fGbkyL','imageInline','isActive','config','plugins','getSelectedElement','bind','get','imageEditController','114465KMqgvU','5739041Cjvcww','document'];_0x3c01=function(){return _0x347ff4;};return _0x3c01();}function _0x4f05(_0x11cbff,_0x5efeaf){const _0x3c012=_0x3c01();return _0x4f05=function(_0x4f05cd,_0x59be2a){_0x4f05cd=_0x4f05cd-0x1d4;let _0x55dfba=_0x3c012[_0x4f05cd];return _0x55dfba;},_0x4f05(_0x11cbff,_0x5efeaf);}import{Command as _0x555f23}from'ckeditor5/src/core.js';import{Dialog as _0xb29d35}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2bc0e8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x52fc4c}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x555f23{[_0x3ee87b(0x1de)];static get[_0x3ee87b(0x1e2)](){return[_0xb29d35];}[_0x3ee87b(0x1f1)];constructor(_0x4b6ce2){const _0x1bbca8=_0x3ee87b;super(_0x4b6ce2),this[_0x1bbca8(0x1de)]=void 0x0,this[_0x1bbca8(0x1f1)]=_0x52fc4c(_0x4b6ce2[_0x1bbca8(0x1d9)][_0x1bbca8(0x1dd)](_0x1bbca8(0x1ea))||[]),this[_0x1bbca8(0x1f0)]({'isActive':!0x1});}[_0x3ee87b(0x1f3)](){const _0x309405=_0x3ee87b,_0x691036=this[_0x309405(0x1e4)][_0x309405(0x1ec)][_0x309405(0x1e1)][_0x309405(0x1e7)][_0x309405(0x1db)]();this[_0x309405(0x1e3)]=this[_0x309405(0x1f1)](_0x691036);}[_0x3ee87b(0x1ef)](){const _0x3fca3c=_0x3ee87b;this[_0x3fca3c(0x1de)]&&(this[_0x3fca3c(0x1ed)](_0x3fca3c(0x1d8)),this[_0x3fca3c(0x1de)]=void 0x0);const _0x363a41=this[_0x3fca3c(0x1e4)][_0x3fca3c(0x1ec)][_0x3fca3c(0x1e1)][_0x3fca3c(0x1e7)][_0x3fca3c(0x1db)]();_0x363a41&&(_0x363a41['is'](_0x3fca3c(0x1eb),_0x3fca3c(0x1f4))||_0x363a41['is'](_0x3fca3c(0x1eb),_0x3fca3c(0x1d7)))&&(this[_0x3fca3c(0x1de)]=new _0x2bc0e8(this[_0x3fca3c(0x1e4)],this[_0x3fca3c(0x1e4)][_0x3fca3c(0x1da)][_0x3fca3c(0x1dd)](_0xb29d35),_0x363a41),this[_0x3fca3c(0x1dc)](_0x3fca3c(0x1d8))['to'](this[_0x3fca3c(0x1de)],_0x3fca3c(0x1d8)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b0aee=_0x3b9a;(function(_0x226bbe,_0x422d4f){const _0x388423=_0x3b9a,_0x49914a=_0x226bbe();while(!![]){try{const _0x341a21=parseInt(_0x388423(0x14e))/0x1*(-parseInt(_0x388423(0x14b))/0x2)+-parseInt(_0x388423(0x14f))/0x3+-parseInt(_0x388423(0x158))/0x4+parseInt(_0x388423(0x146))/0x5*(-parseInt(_0x388423(0x152))/0x6)+-parseInt(_0x388423(0x154))/0x7*(parseInt(_0x388423(0x14c))/0x8)+-parseInt(_0x388423(0x148))/0x9+-parseInt(_0x388423(0x150))/0xa*(-parseInt(_0x388423(0x155))/0xb);if(_0x341a21===_0x422d4f)break;else _0x49914a['push'](_0x49914a['shift']());}catch(_0x3ff308){_0x49914a['push'](_0x49914a['shift']());}}}(_0x3293,0x3d98b));import{Plugin as _0x4c7d2e}from'ckeditor5/src/core.js';import{Notification as _0xc78c79}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x488ed3}from'./uploadcareimageeditcommand.js';function _0x3b9a(_0x4cb9d7,_0x23734c){const _0x32935b=_0x3293();return _0x3b9a=function(_0x3b9a86,_0xa27943){_0x3b9a86=_0x3b9a86-0x142;let _0x2ba506=_0x32935b[_0x3b9a86];return _0x2ba506;},_0x3b9a(_0x4cb9d7,_0x23734c);}function _0x3293(){const _0x15afe6=['1bcIeNX','1143600NHwqAm','19463770QXxooP','ImageUtils','6CiVIFX','init','84sReHhj','11vkLmNR','isOfficialPlugin','isPremiumPlugin','1715220eSdddU','add','uploadcareImageReplace','ImageEditing','commands','340905ppLPIu','UploadcareImageEditEditing','1154457RYAnUG','requires','pluginName','466958WtgZkG','302760pOEbJm','uploadcareImageEdit'];_0x3293=function(){return _0x15afe6;};return _0x3293();}import{UploadcareImageReplaceCommand as _0x3d739e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5bd11b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c7d2e{static get[_0x4b0aee(0x14a)](){const _0x33d899=_0x4b0aee;return _0x33d899(0x147);}static get[_0x4b0aee(0x149)](){const _0x137325=_0x4b0aee;return[_0x5bd11b,_0xc78c79,_0x137325(0x151),_0x137325(0x144)];}static get[_0x4b0aee(0x156)](){return!0x0;}static get[_0x4b0aee(0x157)](){return!0x0;}[_0x4b0aee(0x153)](){const _0x1e8b63=_0x4b0aee,{editor:_0x198d46}=this;_0x198d46[_0x1e8b63(0x145)][_0x1e8b63(0x142)](_0x1e8b63(0x14d),new _0x488ed3(_0x198d46)),_0x198d46[_0x1e8b63(0x145)][_0x1e8b63(0x142)](_0x1e8b63(0x143),new _0x3d739e(_0x198d46));}}
23
+ function _0x4dea(_0xae38e5,_0x228f52){const _0x308eb5=_0x308e();return _0x4dea=function(_0x4deaeb,_0x40d63d){_0x4deaeb=_0x4deaeb-0xa3;let _0x3ef27c=_0x308eb5[_0x4deaeb];return _0x3ef27c;},_0x4dea(_0xae38e5,_0x228f52);}const _0x37153b=_0x4dea;(function(_0x188a4a,_0x1f28ef){const _0x48cdf2=_0x4dea,_0x4e5feb=_0x188a4a();while(!![]){try{const _0x3b3d75=-parseInt(_0x48cdf2(0xb3))/0x1*(-parseInt(_0x48cdf2(0xa7))/0x2)+-parseInt(_0x48cdf2(0xac))/0x3*(parseInt(_0x48cdf2(0xad))/0x4)+-parseInt(_0x48cdf2(0xb1))/0x5+parseInt(_0x48cdf2(0xab))/0x6*(parseInt(_0x48cdf2(0xa3))/0x7)+-parseInt(_0x48cdf2(0xb2))/0x8+parseInt(_0x48cdf2(0xa4))/0x9+parseInt(_0x48cdf2(0xb8))/0xa;if(_0x3b3d75===_0x1f28ef)break;else _0x4e5feb['push'](_0x4e5feb['shift']());}catch(_0x1c1c25){_0x4e5feb['push'](_0x4e5feb['shift']());}}}(_0x308e,0x3ccd7));import{Plugin as _0x5db8e9}from'ckeditor5/src/core.js';import{Notification as _0x237334}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5efa40}from'./uploadcareimageeditcommand.js';function _0x308e(){const _0x3157d5=['3495996KcPSCl','ImageUtils','ImageEditing','24XAytKp','commands','init','requires','6yvpkIL','6ywWhFp','237964GhNFZL','isOfficialPlugin','uploadcareImageEdit','UploadcareImageEditEditing','895940JhTZzq','1895360tlWJeh','5197outklR','isPremiumPlugin','pluginName','uploadcareImageReplace','add','262710uhwMrZ','2149406qitwsw'];_0x308e=function(){return _0x3157d5;};return _0x308e();}import{UploadcareImageReplaceCommand as _0x58e079}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5daef2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5db8e9{static get[_0x37153b(0xb5)](){const _0x55df40=_0x37153b;return _0x55df40(0xb0);}static get[_0x37153b(0xaa)](){const _0x299c70=_0x37153b;return[_0x5daef2,_0x237334,_0x299c70(0xa5),_0x299c70(0xa6)];}static get[_0x37153b(0xae)](){return!0x0;}static get[_0x37153b(0xb4)](){return!0x0;}[_0x37153b(0xa9)](){const _0x34604c=_0x37153b,{editor:_0xe5dab5}=this;_0xe5dab5[_0x34604c(0xa8)][_0x34604c(0xb7)](_0x34604c(0xaf),new _0x5efa40(_0xe5dab5)),_0xe5dab5[_0x34604c(0xa8)][_0x34604c(0xb7)](_0x34604c(0xb6),new _0x58e079(_0xe5dab5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1b3f06}from'ckeditor5/src/core.js';import{ButtonView as _0x303e64}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x30c793}from'ckeditor5/src/icons.js';import{createElement as _0x3a9b4d}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 _0x1b3f06{['_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 _0x27d3df=this['editor'];_0x27d3df['ui']['componentFactory']['add']('uploadcareImageEdit',_0x284ea4=>{const _0x3490b0=_0x27d3df['commands']['get']('uploadcareImageEdit'),_0x2d5633=new _0x303e64(_0x284ea4),t=_0x284ea4['t'];return _0x2d5633['set']({'icon':_0x30c793,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d5633['bind']('isEnabled')['to'](_0x3490b0),_0x2d5633['bind']('isOn')['to'](_0x3490b0,'isActive'),this['listenTo'](_0x2d5633,'execute',()=>{_0x27d3df['execute']('uploadcareImageEdit'),_0x27d3df['editing']['view']['focus']();}),_0x2d5633;}),this['_initConfig']();}['_initConfig'](){const _0x31fb98=_0x3a9b4d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x31fb98),this['listenTo'](this['editor'],'destroy',()=>{_0x31fb98['remove']();});}}
23
+ import{Plugin as _0x42379b}from'ckeditor5/src/core.js';import{ButtonView as _0x344364}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x70ae98}from'ckeditor5/src/icons.js';import{createElement as _0x3b1180}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 _0x42379b{['_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 _0x3b2a22=this['editor'];_0x3b2a22['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1da1f5=>{const _0x49fca3=_0x3b2a22['commands']['get']('uploadcareImageEdit'),_0x46db1a=new _0x344364(_0x1da1f5),t=_0x1da1f5['t'];return _0x46db1a['set']({'icon':_0x70ae98,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x46db1a['bind']('isEnabled')['to'](_0x49fca3),_0x46db1a['bind']('isOn')['to'](_0x49fca3,'isActive'),this['listenTo'](_0x46db1a,'execute',()=>{_0x3b2a22['execute']('uploadcareImageEdit'),_0x3b2a22['editing']['view']['focus']();}),_0x46db1a;}),this['_initConfig']();}['_initConfig'](){const _0x13f6f2=_0x3b1180(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x13f6f2),this['listenTo'](this['editor'],'destroy',()=>{_0x13f6f2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc9db6a=_0x701b;function _0x701b(_0x3d4d1b,_0x21a033){var _0x3ae1b0=_0x3ae1();return _0x701b=function(_0x701bdf,_0x456457){_0x701bdf=_0x701bdf-0xab;var _0x53d32e=_0x3ae1b0[_0x701bdf];return _0x53d32e;},_0x701b(_0x3d4d1b,_0x21a033);}(function(_0x24058c,_0x2402b2){var _0x6ee60e=_0x701b,_0x3677ed=_0x24058c();while(!![]){try{var _0x159fbd=parseInt(_0x6ee60e(0xad))/0x1+parseInt(_0x6ee60e(0xb2))/0x2+-parseInt(_0x6ee60e(0xb7))/0x3*(parseInt(_0x6ee60e(0xac))/0x4)+parseInt(_0x6ee60e(0xb6))/0x5+-parseInt(_0x6ee60e(0xb3))/0x6+-parseInt(_0x6ee60e(0xb1))/0x7*(-parseInt(_0x6ee60e(0xb5))/0x8)+parseInt(_0x6ee60e(0xaf))/0x9*(-parseInt(_0x6ee60e(0xb9))/0xa);if(_0x159fbd===_0x2402b2)break;else _0x3677ed['push'](_0x3677ed['shift']());}catch(_0x1fd60f){_0x3677ed['push'](_0x3677ed['shift']());}}}(_0x3ae1,0xa3bc0));import{FocusTracker as _0x2ae569}from'ckeditor5/src/utils.js';import{View as _0x4b4f09,FocusCycler as _0x17e5ce}from'ckeditor5/src/ui.js';function _0x3ae1(){var _0x3b1216=['fire','191583yWTvlD','true','7BfdxHn','1984882GADquO','4885170NsFpXs','createCollection','4988992IEvfau','5269170mgPqRq','4539sksvyL','focusCycler','430dYjFAH','focusTracker','bindTemplate','getFocusableElement','div','forwardCycle','3092jOrYIh','899842rdhKeZ'];_0x3ae1=function(){return _0x3b1216;};return _0x3ae1();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4b4f09{[_0xc9db6a(0xba)];[_0xc9db6a(0xb8)];constructor(_0x554aad){var _0x5996b3=_0xc9db6a;super(_0x554aad),this[_0x5996b3(0xba)]=new _0x2ae569(),this[_0x5996b3(0xb8)]=new _0x17e5ce({'focusables':this[_0x5996b3(0xb4)](),'focusTracker':this[_0x5996b3(0xba)]});}[_0xc9db6a(0xbc)](){var _0x31fc42=_0xc9db6a;return{'tag':_0x31fc42(0xbd),'attributes':{'aria-hidden':_0x31fc42(0xb0),'tabindex':'0'},'on':{'focus':this[_0x31fc42(0xbb)]['to'](()=>{var _0xbba577=_0x31fc42;this[_0xbba577(0xb8)][_0xbba577(0xae)](_0xbba577(0xab));})}};}}
23
+ var _0xf718c8=_0x33de;(function(_0x2d2198,_0x368170){var _0x20db50=_0x33de,_0x4aea53=_0x2d2198();while(!![]){try{var _0x5a591b=parseInt(_0x20db50(0x117))/0x1+-parseInt(_0x20db50(0x116))/0x2+-parseInt(_0x20db50(0x113))/0x3*(-parseInt(_0x20db50(0x11c))/0x4)+-parseInt(_0x20db50(0x11d))/0x5*(-parseInt(_0x20db50(0x119))/0x6)+parseInt(_0x20db50(0x110))/0x7*(parseInt(_0x20db50(0x114))/0x8)+-parseInt(_0x20db50(0x120))/0x9*(-parseInt(_0x20db50(0x10f))/0xa)+-parseInt(_0x20db50(0x115))/0xb;if(_0x5a591b===_0x368170)break;else _0x4aea53['push'](_0x4aea53['shift']());}catch(_0x2318c6){_0x4aea53['push'](_0x4aea53['shift']());}}}(_0x40a9,0xc3d0d));function _0x40a9(){var _0x581a82=['bindTemplate','6CYIlFU','focusTracker','getFocusableElement','44408wJeASM','1589105CZsJJM','createCollection','fire','9lfUokh','focusCycler','div','1285510yRSvcf','3828013iMyuex','true','forwardCycle','165ojGYko','8GgRCRh','216370UBnyZk','2879932iAvrLG','657856gXmcxd'];_0x40a9=function(){return _0x581a82;};return _0x40a9();}import{FocusTracker as _0x5e1c55}from'ckeditor5/src/utils.js';import{View as _0x147508,FocusCycler as _0x2fd71b}from'ckeditor5/src/ui.js';function _0x33de(_0x50537d,_0x32c2a4){var _0x40a92b=_0x40a9();return _0x33de=function(_0x33de72,_0x9b9f99){_0x33de72=_0x33de72-0x10d;var _0x462b0f=_0x40a92b[_0x33de72];return _0x462b0f;},_0x33de(_0x50537d,_0x32c2a4);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x147508{[_0xf718c8(0x11a)];[_0xf718c8(0x10d)];constructor(_0x31206a){var _0x178504=_0xf718c8;super(_0x31206a),this[_0x178504(0x11a)]=new _0x5e1c55(),this[_0x178504(0x10d)]=new _0x2fd71b({'focusables':this[_0x178504(0x11e)](),'focusTracker':this[_0x178504(0x11a)]});}[_0xf718c8(0x11b)](){var _0x45f714=_0xf718c8;return{'tag':_0x45f714(0x10e),'attributes':{'aria-hidden':_0x45f714(0x111),'tabindex':'0'},'on':{'focus':this[_0x45f714(0x118)]['to'](()=>{var _0x32603c=_0x45f714;this[_0x32603c(0x10d)][_0x32603c(0x11f)](_0x32603c(0x112));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4ef4ef,_0x21f067){const _0x13531e=_0xac7f,_0x10493b=_0x4ef4ef();while(!![]){try{const _0xd9df46=parseInt(_0x13531e(0x1ed))/0x1*(parseInt(_0x13531e(0x21b))/0x2)+parseInt(_0x13531e(0x1fe))/0x3+parseInt(_0x13531e(0x208))/0x4*(-parseInt(_0x13531e(0x21c))/0x5)+parseInt(_0x13531e(0x1e7))/0x6*(parseInt(_0x13531e(0x21e))/0x7)+-parseInt(_0x13531e(0x21a))/0x8*(-parseInt(_0x13531e(0x20f))/0x9)+parseInt(_0x13531e(0x202))/0xa*(parseInt(_0x13531e(0x1ea))/0xb)+parseInt(_0x13531e(0x1e6))/0xc;if(_0xd9df46===_0x21f067)break;else _0x10493b['push'](_0x10493b['shift']());}catch(_0x1e55f9){_0x10493b['push'](_0x10493b['shift']());}}}(_0x4c5f,0x25438));import{global as _0x46f003,DomEmitterMixin as _0x7bf0b2}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x42f01d){const _0x5b3f0b=_0xac7f,_0x3b9a68=z(_0x42f01d);return _0x5c4a4c=>!(!_0x5c4a4c||!_0x5c4a4c['is'](_0x5b3f0b(0x209),_0x5b3f0b(0x211))&&!_0x5c4a4c['is'](_0x5b3f0b(0x209),_0x5b3f0b(0x1e5)))&&(!!_0x5c4a4c[_0x5b3f0b(0x20e)](_0x5b3f0b(0x217))||!!_0x5c4a4c[_0x5b3f0b(0x20e)](_0x5b3f0b(0x1ec))&&_0x3b9a68(_0x5c4a4c[_0x5b3f0b(0x20c)](_0x5b3f0b(0x1ec))));}export function getImageUrls(_0x20c679,_0x4e0f76){const _0x4b7db4=_0xac7f,_0x5e8422=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4b7db4(0x1eb)](_0x4ad585=>_0x4ad585<=_0x4e0f76)[_0x4b7db4(0x1e8)](_0x491e04=>_0x20c679[_0x4b7db4(0x210)](/\/$/,'')+_0x4b7db4(0x1f0)+_0x491e04+_0x4b7db4(0x1f3)+_0x491e04+'w');return{'imageFallbackUrl':_0x20c679,'imageSources':[{'srcset':_0x5e8422[_0x4b7db4(0x1fc)](',\x20'),'sizes':_0x4b7db4(0x1f8)+_0x4e0f76+_0x4b7db4(0x206)+_0x4e0f76+'px','type':_0x4b7db4(0x1e9)}]};}export function getImageDimension(_0x16afa5,_0x449617,_0x1e0d5f){const _0x21feee=_0xac7f,_0x5b08a0=_0x16afa5[_0x21feee(0x218)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5b08a0?parseInt(_0x5b08a0[0x1],0xa):_0x449617,'height':_0x5b08a0?parseInt(_0x5b08a0[0x2],0xa):_0x1e0d5f};}function _0xac7f(_0x20871b,_0x3f900f){const _0x4c5ff1=_0x4c5f();return _0xac7f=function(_0xac7f00,_0x1a1db7){_0xac7f00=_0xac7f00-0x1e5;let _0x4a4c84=_0x4c5ff1[_0xac7f00];return _0x4a4c84;},_0xac7f(_0x20871b,_0x3f900f);}function _0x4c5f(){const _0x5ed8f9=['uploadcareImageId','match','aspect-ratio','120NOuimu','10714KLUcUX','504215BiyjnK','function','22274YfzjEk','width','imageInline','1183500qNbsGB','270aYsZhy','map','image/webp','814RXiNLi','filter','src','11mrcFtg','document','load','/-/resize/','toViewElement','editing','x/\x20','plugins','domConverter','mapper','setStyle','(max-width:\x20','location','image-processing','ImageUtils','join','view','70005sdoFtA','height','baseURI','listenTo','17710zvAuBQ','addClass','viewToDom','removeStyle','px)\x20100vw,\x20','isArray','12xlfGYg','element','findViewImgElement','window','getAttribute','stopListening','hasAttribute','18CZHIhz','replace','imageBlock','origin','get','removeClass','change','some'];_0x4c5f=function(){return _0x5ed8f9;};return _0x4c5f();}export function showImageProcessingIndicator(_0x1492d7,_0x2e2bf3){const _0x2ebba7=_0xac7f,_0x2dbabd=new(_0x7bf0b2())(),_0x39a48d=_0x1492d7[_0x2ebba7(0x1f4)][_0x2ebba7(0x213)](_0x2ebba7(0x1fb)),_0x560b3b=_0x1492d7[_0x2ebba7(0x1f2)][_0x2ebba7(0x1f6)][_0x2ebba7(0x1f1)](_0x2e2bf3),_0x4649b4=_0x39a48d[_0x2ebba7(0x20a)](_0x560b3b),_0x2cbf6e=_0x1492d7[_0x2ebba7(0x1f2)][_0x2ebba7(0x1fd)][_0x2ebba7(0x1f5)][_0x2ebba7(0x204)](_0x4649b4),_0x455214=_0x2e2bf3[_0x2ebba7(0x20c)](_0x2ebba7(0x21f)),_0x3cb777=_0x2e2bf3[_0x2ebba7(0x20c)](_0x2ebba7(0x1ff)),_0x3e6c8e=_0x2ebba7(0x1fa);_0x1492d7[_0x2ebba7(0x1f2)][_0x2ebba7(0x1fd)][_0x2ebba7(0x215)](_0x323579=>{const _0x2e9690=_0x2ebba7;_0x323579[_0x2e9690(0x203)](_0x3e6c8e,_0x560b3b),_0x323579[_0x2e9690(0x1f7)](_0x2e9690(0x219),_0x455214+'/'+_0x3cb777,_0x4649b4);}),_0x2dbabd[_0x2ebba7(0x201)](_0x2cbf6e,_0x2ebba7(0x1ef),()=>{const _0x5283d9=_0x2ebba7;_0x2dbabd[_0x5283d9(0x20d)](_0x2cbf6e,_0x5283d9(0x1ef)),_0x1492d7[_0x5283d9(0x1f2)][_0x5283d9(0x1fd)][_0x5283d9(0x215)](_0x29d4c0=>{const _0x2979ff=_0x5283d9;_0x29d4c0[_0x2979ff(0x214)](_0x3e6c8e,_0x560b3b),_0x29d4c0[_0x2979ff(0x205)](_0x2979ff(0x219),_0x4649b4);});});}function z(_0x3c4959){const _0x3b4220=_0xac7f;if(Array[_0x3b4220(0x207)](_0x3c4959)){const _0x1c18cc=_0x3c4959[_0x3b4220(0x1e8)](z);return _0x53349d=>_0x1c18cc[_0x3b4220(0x216)](_0x4b1211=>_0x4b1211(_0x53349d));}if(_0x3b4220(0x212)==_0x3c4959){const _0x1c74bb=_0x46f003[_0x3b4220(0x20b)][_0x3b4220(0x1f9)][_0x3b4220(0x212)];return _0xc5b01=>new URL(_0xc5b01,_0x46f003[_0x3b4220(0x1ee)][_0x3b4220(0x200)])[_0x3b4220(0x212)]==_0x1c74bb;}return _0x3b4220(0x21d)==typeof _0x3c4959?_0x3c4959:_0x3c4959 instanceof RegExp?_0x2e9180=>!(!_0x2e9180[_0x3b4220(0x218)](_0x3c4959)&&!_0x2e9180[_0x3b4220(0x210)](/^https?:\/\//,'')[_0x3b4220(0x218)](_0x3c4959)):()=>!0x1;}
23
+ (function(_0x1844fb,_0x7d2515){const _0x12e841=_0x3367,_0x1fa093=_0x1844fb();while(!![]){try{const _0x4a00a3=parseInt(_0x12e841(0x122))/0x1+-parseInt(_0x12e841(0x133))/0x2*(parseInt(_0x12e841(0x119))/0x3)+-parseInt(_0x12e841(0x128))/0x4+-parseInt(_0x12e841(0xfc))/0x5+-parseInt(_0x12e841(0xfd))/0x6*(parseInt(_0x12e841(0x121))/0x7)+-parseInt(_0x12e841(0x100))/0x8+-parseInt(_0x12e841(0x10e))/0x9*(-parseInt(_0x12e841(0xff))/0xa);if(_0x4a00a3===_0x7d2515)break;else _0x1fa093['push'](_0x1fa093['shift']());}catch(_0x3a3307){_0x1fa093['push'](_0x1fa093['shift']());}}}(_0x4618,0x5cdc3));import{global as _0x2428fb,DomEmitterMixin as _0x5b2897}from'ckeditor5/src/utils.js';function _0x3367(_0x556911,_0x111d36){const _0x4618aa=_0x4618();return _0x3367=function(_0x336743,_0x36769b){_0x336743=_0x336743-0xfb;let _0x39f7a4=_0x4618aa[_0x336743];return _0x39f7a4;},_0x3367(_0x556911,_0x111d36);}export function createEditabilityChecker(_0x389f3c){const _0x2356d7=_0x3367,_0x4fe854=G(_0x389f3c);return _0x52f147=>!(!_0x52f147||!_0x52f147['is'](_0x2356d7(0x130),_0x2356d7(0x120))&&!_0x52f147['is'](_0x2356d7(0x130),_0x2356d7(0x112)))&&(!!_0x52f147[_0x2356d7(0x106)](_0x2356d7(0x115))||!!_0x52f147[_0x2356d7(0x106)](_0x2356d7(0x101))&&_0x4fe854(_0x52f147[_0x2356d7(0x11c)](_0x2356d7(0x101))));}export function getImageUrls(_0x1dec26,_0x11b1bc){const _0x4e6abd=_0x3367,_0x18515d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4e6abd(0x12c)](_0x248984=>_0x248984<=_0x11b1bc)[_0x4e6abd(0x11b)](_0x897520=>_0x1dec26[_0x4e6abd(0x10c)](/\/$/,'')+_0x4e6abd(0x113)+_0x897520+_0x4e6abd(0x108)+_0x897520+'w');return{'imageFallbackUrl':_0x1dec26,'imageSources':[{'srcset':_0x18515d[_0x4e6abd(0x12e)](',\x20'),'sizes':_0x4e6abd(0x12b)+_0x11b1bc+_0x4e6abd(0x124)+_0x11b1bc+'px','type':_0x4e6abd(0x11d)}]};}export function getImageDimension(_0xac0384,_0x2bb112,_0xe9e6b3){const _0x5cdb6b=_0x3367,_0x89be55=_0xac0384[_0x5cdb6b(0x111)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x89be55?parseInt(_0x89be55[0x1],0xa):_0x2bb112,'height':_0x89be55?parseInt(_0x89be55[0x2],0xa):_0xe9e6b3};}export function showImageProcessingIndicator(_0x5bc175,_0x258f02){const _0x23272a=_0x3367,_0x3fcc98=new(_0x5b2897())(),_0x1d6200=_0x5bc175[_0x23272a(0x10d)][_0x23272a(0xfe)](_0x23272a(0x11e)),_0x5ede55=_0x5bc175[_0x23272a(0x12d)][_0x23272a(0x117)][_0x23272a(0x127)](_0x258f02),_0x48198d=_0x1d6200[_0x23272a(0x131)](_0x5ede55),_0x519561=_0x5bc175[_0x23272a(0x12d)][_0x23272a(0x132)][_0x23272a(0x102)][_0x23272a(0xfb)](_0x48198d),_0x108a4a=_0x258f02[_0x23272a(0x11c)](_0x23272a(0x126)),_0x374970=_0x258f02[_0x23272a(0x11c)](_0x23272a(0x12f)),_0xbfd8f5=_0x23272a(0x118);_0x5bc175[_0x23272a(0x12d)][_0x23272a(0x132)][_0x23272a(0x10a)](_0x486cfb=>{const _0x472a5c=_0x23272a;_0x486cfb[_0x472a5c(0x10b)](_0xbfd8f5,_0x5ede55),_0x486cfb[_0x472a5c(0x109)](_0x472a5c(0x104),_0x108a4a+'/'+_0x374970,_0x48198d);}),_0x3fcc98[_0x23272a(0x10f)](_0x519561,_0x23272a(0x123),()=>{const _0x36d16c=_0x23272a;_0x3fcc98[_0x36d16c(0x12a)](_0x519561,_0x36d16c(0x123)),_0x5bc175[_0x36d16c(0x12d)][_0x36d16c(0x132)][_0x36d16c(0x10a)](_0x241268=>{const _0x46eee1=_0x36d16c;_0x241268[_0x46eee1(0x105)](_0xbfd8f5,_0x5ede55),_0x241268[_0x46eee1(0x129)](_0x46eee1(0x104),_0x48198d);});});}function G(_0x202f1a){const _0xed64da=_0x3367;if(Array[_0xed64da(0x103)](_0x202f1a)){const _0xf90fa1=_0x202f1a[_0xed64da(0x11b)](G);return _0x3d788b=>_0xf90fa1[_0xed64da(0x116)](_0x40ea54=>_0x40ea54(_0x3d788b));}if(_0xed64da(0x125)==_0x202f1a){const _0x38d185=_0x2428fb[_0xed64da(0x114)][_0xed64da(0x107)][_0xed64da(0x125)];return _0x16a91c=>new URL(_0x16a91c,_0x2428fb[_0xed64da(0x11a)][_0xed64da(0x11f)])[_0xed64da(0x125)]==_0x38d185;}return _0xed64da(0x110)==typeof _0x202f1a?_0x202f1a:_0x202f1a instanceof RegExp?_0x153710=>!(!_0x153710[_0xed64da(0x111)](_0x202f1a)&&!_0x153710[_0xed64da(0x10c)](/^https?:\/\//,'')[_0xed64da(0x111)](_0x202f1a)):()=>!0x1;}function _0x4618(){const _0x31aa9f=['removeStyle','stopListening','(max-width:\x20','filter','editing','join','height','element','findViewImgElement','view','8rbnCOl','viewToDom','3282775WImZxP','702XgQZpf','get','70wOJZVH','4094272xrcvUK','src','domConverter','isArray','aspect-ratio','removeClass','hasAttribute','location','x/\x20','setStyle','change','addClass','replace','plugins','3472659mDWvHc','listenTo','function','match','imageInline','/-/resize/','window','uploadcareImageId','some','mapper','image-processing','232266VaIjpc','document','map','getAttribute','image/webp','ImageUtils','baseURI','imageBlock','34706RIwiUv','485280fIyDJF','load','px)\x20100vw,\x20','origin','width','toViewElement','2991076giauib'];_0x4618=function(){return _0x31aa9f;};return _0x4618();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x158a53,_0x26d68d){var _0x5a8921=_0x260d,_0x80f7e1=_0x158a53();while(!![]){try{var _0x432e8d=parseInt(_0x5a8921(0x176))/0x1*(parseInt(_0x5a8921(0x17b))/0x2)+-parseInt(_0x5a8921(0x175))/0x3+parseInt(_0x5a8921(0x173))/0x4+parseInt(_0x5a8921(0x179))/0x5*(parseInt(_0x5a8921(0x17d))/0x6)+-parseInt(_0x5a8921(0x174))/0x7*(-parseInt(_0x5a8921(0x17c))/0x8)+-parseInt(_0x5a8921(0x172))/0x9*(parseInt(_0x5a8921(0x17a))/0xa)+-parseInt(_0x5a8921(0x178))/0xb;if(_0x432e8d===_0x26d68d)break;else _0x80f7e1['push'](_0x80f7e1['shift']());}catch(_0x2b3996){_0x80f7e1['push'](_0x80f7e1['shift']());}}}(_0x22f2,0xe0f4d));function _0x260d(_0xdf1198,_0x4577d8){var _0x22f2ee=_0x22f2();return _0x260d=function(_0x260dfb,_0x24c1a2){_0x260dfb=_0x260dfb-0x171;var _0x5ea2c9=_0x22f2ee[_0x260dfb];return _0x5ea2c9;},_0x260d(_0xdf1198,_0x4577d8);}function _0x22f2(){var _0x52a9de=['6RQsmdb','includes','231993usUMbQ','6649764cpfJpD','987518DhqDmD','4204839ZdzLiF','1dJQQZI','target','8613242DoIzWv','1996425csFREY','400XGgAWt','1611488rsljGd','72idUfnc'];_0x22f2=function(){return _0x52a9de;};return _0x22f2();}import{getAncestors as _0x1faf84}from'ckeditor5/src/utils.js';export function isAncestor(_0x5e959f,_0x74840){var _0x1bad70=_0x260d;return _0x1faf84(_0x5e959f[_0x1bad70(0x177)])[_0x1bad70(0x171)](_0x74840);}
23
+ (function(_0x36bea3,_0x1261b0){var _0x449d72=_0x1916,_0x3daf67=_0x36bea3();while(!![]){try{var _0x3c2738=-parseInt(_0x449d72(0x1d1))/0x1*(-parseInt(_0x449d72(0x1d2))/0x2)+parseInt(_0x449d72(0x1cc))/0x3*(-parseInt(_0x449d72(0x1cb))/0x4)+-parseInt(_0x449d72(0x1c8))/0x5+-parseInt(_0x449d72(0x1cf))/0x6+parseInt(_0x449d72(0x1c9))/0x7+-parseInt(_0x449d72(0x1c7))/0x8+parseInt(_0x449d72(0x1cd))/0x9*(parseInt(_0x449d72(0x1ce))/0xa);if(_0x3c2738===_0x1261b0)break;else _0x3daf67['push'](_0x3daf67['shift']());}catch(_0x9d2af8){_0x3daf67['push'](_0x3daf67['shift']());}}}(_0x371f,0x9513d));function _0x1916(_0x6b7335,_0x589e1f){var _0x371f57=_0x371f();return _0x1916=function(_0x191672,_0x31cf9c){_0x191672=_0x191672-0x1c7;var _0x4ce0af=_0x371f57[_0x191672];return _0x4ce0af;},_0x1916(_0x6b7335,_0x589e1f);}function _0x371f(){var _0x42e636=['4KFQVpm','1638645DmxEIr','90sMszqX','2091850aFUnMA','6254436bhUivR','includes','22sLmsFw','19724fnhksv','5373664GRSgkJ','1769300TDKVTT','6411972pcemCu','target'];_0x371f=function(){return _0x42e636;};return _0x371f();}import{getAncestors as _0x3c529f}from'ckeditor5/src/utils.js';export function isAncestor(_0x18c09e,_0x26c7c2){var _0x169f7c=_0x1916;return _0x3c529f(_0x18c09e[_0x169f7c(0x1ca)])[_0x169f7c(0x1d0)](_0x26c7c2);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1ad63e=_0x29b2;function _0x29b2(_0x1b53ae,_0x25a28b){var _0xa7d61a=_0xa7d6();return _0x29b2=function(_0x29b224,_0xc30240){_0x29b224=_0x29b224-0x161;var _0x259206=_0xa7d61a[_0x29b224];return _0x259206;},_0x29b2(_0x1b53ae,_0x25a28b);}function _0xa7d6(){var _0x67fa3d=['14pluhsW','4vrLGgo','1574008FbnKRe','2410EeanWs','2598020oTtxeQ','3635490TboHsy','26226LwGuqE','2949492JjKfGI','upload','4685274VZJKAx','getInfo','158IkhwAG'];_0xa7d6=function(){return _0x67fa3d;};return _0xa7d6();}(function(_0x5f03ed,_0x245086){var _0x31f78e=_0x29b2,_0x559df2=_0x5f03ed();while(!![]){try{var _0x518c4d=parseInt(_0x31f78e(0x164))/0x1*(-parseInt(_0x31f78e(0x16c))/0x2)+-parseInt(_0x31f78e(0x167))/0x3+-parseInt(_0x31f78e(0x162))/0x4*(parseInt(_0x31f78e(0x165))/0x5)+parseInt(_0x31f78e(0x168))/0x6+parseInt(_0x31f78e(0x161))/0x7*(parseInt(_0x31f78e(0x163))/0x8)+parseInt(_0x31f78e(0x16a))/0x9+-parseInt(_0x31f78e(0x166))/0xa;if(_0x518c4d===_0x245086)break;else _0x559df2['push'](_0x559df2['shift']());}catch(_0x1c1c83){_0x559df2['push'](_0x559df2['shift']());}}}(_0xa7d6,0x4ef39));import{uploadFile as _0x9684e8,info as _0x82a877}from'@uploadcare/upload-client';export class UploadUtils{static[_0x1ad63e(0x169)]({file:_0x560af9,..._0xbe3e55}){return _0x9684e8(_0x560af9,_0xbe3e55);}static[_0x1ad63e(0x16b)](_0x5083a6,_0xeec15c){return _0x82a877(_0x5083a6,_0xeec15c);}}
23
+ var _0x47b5f5=_0x5086;(function(_0x192470,_0x4705bf){var _0x2efc5b=_0x5086,_0x29201c=_0x192470();while(!![]){try{var _0x39651e=parseInt(_0x2efc5b(0x73))/0x1*(-parseInt(_0x2efc5b(0x6c))/0x2)+-parseInt(_0x2efc5b(0x75))/0x3*(parseInt(_0x2efc5b(0x6a))/0x4)+-parseInt(_0x2efc5b(0x6d))/0x5*(parseInt(_0x2efc5b(0x72))/0x6)+parseInt(_0x2efc5b(0x71))/0x7*(parseInt(_0x2efc5b(0x70))/0x8)+parseInt(_0x2efc5b(0x6f))/0x9+-parseInt(_0x2efc5b(0x6e))/0xa+parseInt(_0x2efc5b(0x6b))/0xb;if(_0x39651e===_0x4705bf)break;else _0x29201c['push'](_0x29201c['shift']());}catch(_0x355955){_0x29201c['push'](_0x29201c['shift']());}}}(_0x237f,0x23585));function _0x237f(){var _0x348af4=['5iNNhcH','1418130tzLbkm','1782333kOeBmf','98200rVNODh','91ILMXDf','1639746bjlRos','5SlbBwh','getInfo','51rsPPTu','upload','35836TcKToW','5356758nSZjZz','52964RFhWSM'];_0x237f=function(){return _0x348af4;};return _0x237f();}import{uploadFile as _0x1ec6f0,info as _0x38d8c5}from'@uploadcare/upload-client';function _0x5086(_0x1f2529,_0x19a5aa){var _0x237fec=_0x237f();return _0x5086=function(_0x508698,_0x4f5b47){_0x508698=_0x508698-0x6a;var _0xc91142=_0x237fec[_0x508698];return _0xc91142;},_0x5086(_0x1f2529,_0x19a5aa);}export class UploadUtils{static[_0x47b5f5(0x76)]({file:_0x113a1f,..._0x4a4434}){return _0x1ec6f0(_0x113a1f,_0x4a4434);}static[_0x47b5f5(0x74)](_0x29e235,_0x498688){return _0x38d8c5(_0x29e235,_0x498688);}}