@ckeditor/ckeditor5-uploadcare 47.7.2-alpha.0 → 47.7.2

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 _0x288133,View as _0x51b67d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x51b67d{constructor(_0x2bd644){super(_0x2bd644);const t=_0x2bd644['t'],_0x90d8c1=this['bindTemplate'],_0x1e247f=new _0x288133();_0x1e247f['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':[_0x1e247f,{'text':_0x90d8c1['to']('imageUploadProgress',_0x289a50=>t('Loading\x20image...')+'\x20('+(_0x289a50||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 _0x4bb046,View as _0x20a2bf}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x20a2bf{constructor(_0x2a26cd){super(_0x2a26cd);const t=_0x2a26cd['t'],_0x2e4970=this['bindTemplate'],_0x5f0997=new _0x4bb046();_0x5f0997['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':[_0x5f0997,{'text':_0x2e4970['to']('imageUploadProgress',_0x2a3b6d=>t('Loading\x20image...')+'\x20('+(_0x2a3b6d||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 _0x87c6(){const _0x1e577f=['270RRjQQL','target','uc-cloud-image-editor','toLowerCase','_waitForImageEditorComponent','11515672UNlLvj','78cphmtG','_addErrorViewListeners','getFocusableElement','addEventListener','329870wbBrFu','_focusableView','2495969fCMZGM','4eCVIrd','apply','2456XrKFWF','length','_setView','setTemplate','ready','ck-uploadcare-form','once','change:status','focus','12mmkFAJ','fire','set','disconnect','uploading','clear','_editingView','addedNodes','element','cdnUrl','retry','observe','11574299CIiHTl','cancel','1752651lockBm','_errorView','error','addMany','add','render','535650RYQajg','908mQgCYL','_loadingView','createCollection','ck-reset_all-excluded','status','filter','div','querySelector','_addUploadcareImageEditorListeners','_items','detail','nodeName'];_0x87c6=function(){return _0x1e577f;};return _0x87c6();}const _0x101719=_0x45c0;(function(_0x227fbc,_0x41e209){const _0x2e4dfb=_0x45c0,_0x140409=_0x227fbc();while(!![]){try{const _0x9ea222=-parseInt(_0x2e4dfb(0x105))/0x1*(-parseInt(_0x2e4dfb(0xea))/0x2)+parseInt(_0x2e4dfb(0x11c))/0x3*(-parseInt(_0x2e4dfb(0x103))/0x4)+-parseInt(_0x2e4dfb(0xe9))/0x5*(parseInt(_0x2e4dfb(0xfc))/0x6)+parseInt(_0x2e4dfb(0x102))/0x7+parseInt(_0x2e4dfb(0xfb))/0x8+parseInt(_0x2e4dfb(0xf6))/0x9*(-parseInt(_0x2e4dfb(0x100))/0xa)+-parseInt(_0x2e4dfb(0x11a))/0xb*(-parseInt(_0x2e4dfb(0x10e))/0xc);if(_0x9ea222===_0x41e209)break;else _0x140409['push'](_0x140409['shift']());}catch(_0xca300e){_0x140409['push'](_0x140409['shift']());}}}(_0x87c6,0xf3586));import{View as _0x23ad2d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x34a2f7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ae549}from'./uploadcareimageeditformerrorview.js';function _0x45c0(_0x51541f,_0x80dcb4){const _0x87c6d4=_0x87c6();return _0x45c0=function(_0x45c002,_0x3a9cbf){_0x45c002=_0x45c002-0xe6;let _0x205924=_0x87c6d4[_0x45c002];return _0x205924;},_0x45c0(_0x51541f,_0x80dcb4);}import{UploadcareImageEditFormEditingView as _0x4b3eeb}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1e07fd}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1e07fd{[_0x101719(0xf3)];[_0x101719(0xeb)];[_0x101719(0x11d)];[_0x101719(0x114)];[_0x101719(0x101)];constructor(_0x5b3250,_0xceaa0,_0x2aab76){const _0x2d888d=_0x101719;super(_0x5b3250),this[_0x2d888d(0xf3)]=this[_0x2d888d(0xec)](),this[_0x2d888d(0xeb)]=new _0x34a2f7(_0x5b3250),this[_0x2d888d(0x11d)]=new _0x2ae549(_0x5b3250),this[_0x2d888d(0x114)]=new _0x4b3eeb(_0x5b3250,_0x2aab76),this[_0x2d888d(0x101)]=new _0x23ad2d(_0x5b3250),this[_0x2d888d(0x101)][_0x2d888d(0x108)](this[_0x2d888d(0xfe)]()),this[_0x2d888d(0x110)](_0x2d888d(0xee),_0xceaa0),this[_0x2d888d(0x108)]({'tag':_0x2d888d(0xf0),'attributes':{'class':['ck',_0x2d888d(0xed),_0x2d888d(0x10a)],'tabindex':'-1'},'children':this[_0x2d888d(0xf3)]}),this[_0x2d888d(0x107)](),this[_0x2d888d(0x10b)](_0x2d888d(0xe8),()=>{const _0x59a0b7=_0x2d888d;this[_0x59a0b7(0xfa)](this[_0x59a0b7(0x116)],_0x25f798=>{const _0xd5a659=_0x59a0b7;this[_0xd5a659(0xf2)](_0x25f798);});}),this['on'](_0x2d888d(0x10c),()=>{const _0x29eed8=_0x2d888d;this[_0x29eed8(0x107)]();}),this[_0x2d888d(0xfd)]();}[_0x101719(0x10d)](){const _0x567afe=_0x101719;this[_0x567afe(0x116)][_0x567afe(0x10d)]();}[_0x101719(0x107)](){const _0x5c18dd=_0x101719;switch(this[_0x5c18dd(0xf3)][_0x5c18dd(0x113)](),this[_0x5c18dd(0xee)]){case _0x5c18dd(0x112):this[_0x5c18dd(0xf3)][_0x5c18dd(0xe7)](this[_0x5c18dd(0xeb)]);break;case _0x5c18dd(0x11e):this[_0x5c18dd(0xf3)][_0x5c18dd(0xe7)](this[_0x5c18dd(0x11d)]);break;case _0x5c18dd(0x109):this[_0x5c18dd(0xf3)][_0x5c18dd(0xe6)]([this[_0x5c18dd(0x114)],this[_0x5c18dd(0x101)]]);}}[_0x101719(0xfa)](_0x996ed6,_0x409e97){const _0x2020e1=_0x101719,_0x129ab3=_0x2020e1(0xf8),_0x2610df=_0x996ed6[_0x2020e1(0xf1)](_0x129ab3);if(_0x2610df)return _0x409e97(_0x2610df);const _0x241945=new MutationObserver(_0x2fca91=>{const _0x674568=_0x2020e1,_0x487edc=_0x2fca91[_0x674568(0xef)](_0x391166=>_0x391166[_0x674568(0xf7)]===_0x996ed6&&_0x391166[_0x674568(0x115)][_0x674568(0x106)]>0x0&&_0x391166[_0x674568(0x115)][0x0][_0x674568(0xf5)][_0x674568(0xf9)]()===_0x129ab3);_0x487edc[_0x674568(0x106)]&&(_0x241945[_0x674568(0x111)](),_0x409e97(_0x487edc[0x0][_0x674568(0x115)][0x0]));});_0x241945[_0x2020e1(0x119)](_0x996ed6,{'childList':!0x0,'subtree':!0x0});}[_0x101719(0xf2)](_0x5de30c){const _0x39ab3e=_0x101719;_0x5de30c[_0x39ab3e(0xff)](_0x39ab3e(0x104),_0x1100ed=>{const _0x4b7f17=_0x39ab3e;this[_0x4b7f17(0x10f)](_0x4b7f17(0x104),{'imageSrc':_0x1100ed[_0x4b7f17(0xf4)][_0x4b7f17(0x117)]});}),_0x5de30c[_0x39ab3e(0xff)](_0x39ab3e(0x11b),()=>{const _0x41f16a=_0x39ab3e;this[_0x41f16a(0x10f)](_0x41f16a(0x11b));});}[_0x101719(0xfd)](){const _0x545fae=_0x101719;this[_0x545fae(0x11d)]['on'](_0x545fae(0x118),()=>{const _0xcbd38d=_0x545fae;this[_0xcbd38d(0x10f)](_0xcbd38d(0x118));});}}
23
+ const _0x57459f=_0xd93a;(function(_0x415653,_0x233914){const _0x44d064=_0xd93a,_0x469e73=_0x415653();while(!![]){try{const _0x25cff0=-parseInt(_0x44d064(0x10a))/0x1*(parseInt(_0x44d064(0x114))/0x2)+-parseInt(_0x44d064(0x11b))/0x3+-parseInt(_0x44d064(0x10b))/0x4*(parseInt(_0x44d064(0x126))/0x5)+parseInt(_0x44d064(0x118))/0x6+-parseInt(_0x44d064(0x110))/0x7*(-parseInt(_0x44d064(0x11a))/0x8)+-parseInt(_0x44d064(0x12c))/0x9*(-parseInt(_0x44d064(0x131))/0xa)+-parseInt(_0x44d064(0x107))/0xb;if(_0x25cff0===_0x233914)break;else _0x469e73['push'](_0x469e73['shift']());}catch(_0x27574d){_0x469e73['push'](_0x469e73['shift']());}}}(_0x3740,0xe9f6d));import{View as _0x238882}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x609c3f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x10a442}from'./uploadcareimageeditformerrorview.js';function _0x3740(){const _0x35c087=['310923nFujvK','uc-cloud-image-editor','_focusableView','_setView','disconnect','400UEpFIz','ck-reset_all-excluded','toLowerCase','_waitForImageEditorComponent','_items','apply','set','detail','change:status','observe','once','addMany','setTemplate','addEventListener','13690567zjqdnp','filter','target','54831zwFaKv','16LyOnGk','ck-uploadcare-form','add','getFocusableElement','cancel','1995PoodNX','retry','render','element','18blWFkW','_errorView','ready','addedNodes','8511486PwgzMq','uploading','41384WKUCKw','3223671ORCtmJ','error','div','querySelector','focus','_addUploadcareImageEditorListeners','cdnUrl','clear','_loadingView','_editingView','status','629770ctIeFH','createCollection','fire','_addErrorViewListeners','length','nodeName'];_0x3740=function(){return _0x35c087;};return _0x3740();}import{UploadcareImageEditFormEditingView as _0x2b790b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4c2e3f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0xd93a(_0x429530,_0x4d4b9){const _0x374033=_0x3740();return _0xd93a=function(_0xd93a10,_0x580b2b){_0xd93a10=_0xd93a10-0xfd;let _0x59a9c7=_0x374033[_0xd93a10];return _0x59a9c7;},_0xd93a(_0x429530,_0x4d4b9);}export class UploadcareImageEditFormView extends _0x4c2e3f{[_0x57459f(0xfd)];[_0x57459f(0x123)];[_0x57459f(0x115)];[_0x57459f(0x124)];[_0x57459f(0x12e)];constructor(_0x52b6aa,_0x163b29,_0x4fc571){const _0x1206a0=_0x57459f;super(_0x52b6aa),this[_0x1206a0(0xfd)]=this[_0x1206a0(0x127)](),this[_0x1206a0(0x123)]=new _0x609c3f(_0x52b6aa),this[_0x1206a0(0x115)]=new _0x10a442(_0x52b6aa),this[_0x1206a0(0x124)]=new _0x2b790b(_0x52b6aa,_0x4fc571),this[_0x1206a0(0x12e)]=new _0x238882(_0x52b6aa),this[_0x1206a0(0x12e)][_0x1206a0(0x105)](this[_0x1206a0(0x10e)]()),this[_0x1206a0(0xff)](_0x1206a0(0x125),_0x163b29),this[_0x1206a0(0x105)]({'tag':_0x1206a0(0x11d),'attributes':{'class':['ck',_0x1206a0(0x132),_0x1206a0(0x10c)],'tabindex':'-1'},'children':this[_0x1206a0(0xfd)]}),this[_0x1206a0(0x12f)](),this[_0x1206a0(0x103)](_0x1206a0(0x112),()=>{const _0x14c224=_0x1206a0;this[_0x14c224(0x134)](this[_0x14c224(0x113)],_0x216d0b=>{const _0x285890=_0x14c224;this[_0x285890(0x120)](_0x216d0b);});}),this['on'](_0x1206a0(0x101),()=>{const _0x176b1d=_0x1206a0;this[_0x176b1d(0x12f)]();}),this[_0x1206a0(0x129)]();}[_0x57459f(0x11f)](){const _0x409745=_0x57459f;this[_0x409745(0x113)][_0x409745(0x11f)]();}[_0x57459f(0x12f)](){const _0x5969aa=_0x57459f;switch(this[_0x5969aa(0xfd)][_0x5969aa(0x122)](),this[_0x5969aa(0x125)]){case _0x5969aa(0x119):this[_0x5969aa(0xfd)][_0x5969aa(0x10d)](this[_0x5969aa(0x123)]);break;case _0x5969aa(0x11c):this[_0x5969aa(0xfd)][_0x5969aa(0x10d)](this[_0x5969aa(0x115)]);break;case _0x5969aa(0x116):this[_0x5969aa(0xfd)][_0x5969aa(0x104)]([this[_0x5969aa(0x124)],this[_0x5969aa(0x12e)]]);}}[_0x57459f(0x134)](_0x57e47c,_0xf863cf){const _0x3813bc=_0x57459f,_0x1aa4f7=_0x3813bc(0x12d),_0x34eca3=_0x57e47c[_0x3813bc(0x11e)](_0x1aa4f7);if(_0x34eca3)return _0xf863cf(_0x34eca3);const _0x5ac91a=new MutationObserver(_0x50d3db=>{const _0x429c18=_0x3813bc,_0x3a18aa=_0x50d3db[_0x429c18(0x108)](_0x14c396=>_0x14c396[_0x429c18(0x109)]===_0x57e47c&&_0x14c396[_0x429c18(0x117)][_0x429c18(0x12a)]>0x0&&_0x14c396[_0x429c18(0x117)][0x0][_0x429c18(0x12b)][_0x429c18(0x133)]()===_0x1aa4f7);_0x3a18aa[_0x429c18(0x12a)]&&(_0x5ac91a[_0x429c18(0x130)](),_0xf863cf(_0x3a18aa[0x0][_0x429c18(0x117)][0x0]));});_0x5ac91a[_0x3813bc(0x102)](_0x57e47c,{'childList':!0x0,'subtree':!0x0});}[_0x57459f(0x120)](_0x5602b5){const _0x3e6dc2=_0x57459f;_0x5602b5[_0x3e6dc2(0x106)](_0x3e6dc2(0xfe),_0x1a058e=>{const _0x47b71b=_0x3e6dc2;this[_0x47b71b(0x128)](_0x47b71b(0xfe),{'imageSrc':_0x1a058e[_0x47b71b(0x100)][_0x47b71b(0x121)]});}),_0x5602b5[_0x3e6dc2(0x106)](_0x3e6dc2(0x10f),()=>{const _0x2a3ca3=_0x3e6dc2;this[_0x2a3ca3(0x128)](_0x2a3ca3(0x10f));});}[_0x57459f(0x129)](){const _0x333ffe=_0x57459f;this[_0x333ffe(0x115)]['on'](_0x333ffe(0x111),()=>{const _0x5907e3=_0x333ffe;this[_0x5907e3(0x128)](_0x5907e3(0x111));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dcd85=_0x32c7;(function(_0x2f88c4,_0x773b47){const _0xf216f3=_0x32c7,_0x2c12e7=_0x2f88c4();while(!![]){try{const _0x32575d=parseInt(_0xf216f3(0x198))/0x1*(parseInt(_0xf216f3(0x179))/0x2)+parseInt(_0xf216f3(0x188))/0x3*(parseInt(_0xf216f3(0x19a))/0x4)+parseInt(_0xf216f3(0x184))/0x5+parseInt(_0xf216f3(0x194))/0x6*(parseInt(_0xf216f3(0x181))/0x7)+-parseInt(_0xf216f3(0x189))/0x8+-parseInt(_0xf216f3(0x193))/0x9*(parseInt(_0xf216f3(0x197))/0xa)+-parseInt(_0xf216f3(0x191))/0xb*(parseInt(_0xf216f3(0x187))/0xc);if(_0x32575d===_0x773b47)break;else _0x2c12e7['push'](_0x2c12e7['shift']());}catch(_0x3a3785){_0x2c12e7['push'](_0x2c12e7['shift']());}}}(_0x2abe,0xbbf28));import{Command as _0x56ee0f}from'ckeditor5/src/core.js';import{Dialog as _0x529505}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x49eef4}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x369a86}from'../utils/editingutils.js';function _0x2abe(){const _0x5a3d96=['1771872BejICW','model','uploadcare.allowExternalImagesEditing','get','bind','set','execute','imageBlock','253UFFmqS','refresh','873UphHRc','11082fNePXj','_isEditable','requires','35170DIkTPD','136461XXGRem','isActive','776pxsgGY','8xOyJzM','editor','imageInline','imageEditController','isEnabled','plugins','document','unbind','2247wNFKHo','element','selection','2780380CfTZLa','config','getSelectedElement','291480epDyZR','3036RuDNpL'];_0x2abe=function(){return _0x5a3d96;};return _0x2abe();}function _0x32c7(_0xc40017,_0x497c4b){const _0x2abe8a=_0x2abe();return _0x32c7=function(_0x32c72b,_0x26d26b){_0x32c72b=_0x32c72b-0x179;let _0x538eb2=_0x2abe8a[_0x32c72b];return _0x538eb2;},_0x32c7(_0xc40017,_0x497c4b);}export class UploadcareImageEditCommand extends _0x56ee0f{[_0x5dcd85(0x17c)];static get[_0x5dcd85(0x196)](){return[_0x529505];}[_0x5dcd85(0x195)];constructor(_0x7b5fdc){const _0x44ca70=_0x5dcd85;super(_0x7b5fdc),this[_0x44ca70(0x17c)]=void 0x0,this[_0x44ca70(0x195)]=_0x369a86(_0x7b5fdc[_0x44ca70(0x185)][_0x44ca70(0x18c)](_0x44ca70(0x18b))||[]),this[_0x44ca70(0x18e)]({'isActive':!0x1});}[_0x5dcd85(0x192)](){const _0x4ea69c=_0x5dcd85,_0x3c9a64=this[_0x4ea69c(0x17a)][_0x4ea69c(0x18a)][_0x4ea69c(0x17f)][_0x4ea69c(0x183)][_0x4ea69c(0x186)]();this[_0x4ea69c(0x17d)]=this[_0x4ea69c(0x195)](_0x3c9a64);}[_0x5dcd85(0x18f)](){const _0x1363d1=_0x5dcd85;this[_0x1363d1(0x17c)]&&(this[_0x1363d1(0x180)](_0x1363d1(0x199)),this[_0x1363d1(0x17c)]=void 0x0);const _0x1716e4=this[_0x1363d1(0x17a)][_0x1363d1(0x18a)][_0x1363d1(0x17f)][_0x1363d1(0x183)][_0x1363d1(0x186)]();_0x1716e4&&(_0x1716e4['is'](_0x1363d1(0x182),_0x1363d1(0x190))||_0x1716e4['is'](_0x1363d1(0x182),_0x1363d1(0x17b)))&&(this[_0x1363d1(0x17c)]=new _0x49eef4(this[_0x1363d1(0x17a)],this[_0x1363d1(0x17a)][_0x1363d1(0x17e)][_0x1363d1(0x18c)](_0x529505),_0x1716e4),this[_0x1363d1(0x18d)](_0x1363d1(0x199))['to'](this[_0x1363d1(0x17c)],_0x1363d1(0x199)));}}
23
+ const _0x513fdb=_0x18a8;(function(_0x57da30,_0x3b505d){const _0x4cb52b=_0x18a8,_0xc32c5f=_0x57da30();while(!![]){try{const _0x59b803=-parseInt(_0x4cb52b(0x113))/0x1*(-parseInt(_0x4cb52b(0x11c))/0x2)+-parseInt(_0x4cb52b(0x11f))/0x3*(parseInt(_0x4cb52b(0x116))/0x4)+-parseInt(_0x4cb52b(0x10d))/0x5+-parseInt(_0x4cb52b(0x11d))/0x6+parseInt(_0x4cb52b(0x119))/0x7+-parseInt(_0x4cb52b(0x112))/0x8*(parseInt(_0x4cb52b(0x120))/0x9)+-parseInt(_0x4cb52b(0x11a))/0xa*(-parseInt(_0x4cb52b(0x118))/0xb);if(_0x59b803===_0x3b505d)break;else _0xc32c5f['push'](_0xc32c5f['shift']());}catch(_0x54dc20){_0xc32c5f['push'](_0xc32c5f['shift']());}}}(_0x2d02,0x6f6f4));function _0x2d02(){const _0x49f5cb=['element','121JJHrjX','2077138DnKJqy','847350saPOmc','config','2HbNoYN','2494956WWhKxt','model','798SZeJSy','2724723ktVDPv','isActive','unbind','requires','bind','get','set','editor','refresh','execute','document','plugins','selection','getSelectedElement','742085HyiGTZ','imageEditController','imageInline','isEnabled','imageBlock','8doUpUp','595219CncLHR','_isEditable','uploadcare.allowExternalImagesEditing','7528ThEpqb'];_0x2d02=function(){return _0x49f5cb;};return _0x2d02();}import{Command as _0x3b92da}from'ckeditor5/src/core.js';import{Dialog as _0x1cd9be}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x281778}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3f63a9}from'../utils/editingutils.js';function _0x18a8(_0x110c46,_0x203819){const _0x2d0231=_0x2d02();return _0x18a8=function(_0x18a851,_0x66f7de){_0x18a851=_0x18a851-0x10b;let _0x52dd80=_0x2d0231[_0x18a851];return _0x52dd80;},_0x18a8(_0x110c46,_0x203819);}export class UploadcareImageEditCommand extends _0x3b92da{[_0x513fdb(0x10e)];static get[_0x513fdb(0x123)](){return[_0x1cd9be];}[_0x513fdb(0x114)];constructor(_0x49ed59){const _0x16ba55=_0x513fdb;super(_0x49ed59),this[_0x16ba55(0x10e)]=void 0x0,this[_0x16ba55(0x114)]=_0x3f63a9(_0x49ed59[_0x16ba55(0x11b)][_0x16ba55(0x125)](_0x16ba55(0x115))||[]),this[_0x16ba55(0x126)]({'isActive':!0x1});}[_0x513fdb(0x128)](){const _0x1e7f7f=_0x513fdb,_0x6aa5f0=this[_0x1e7f7f(0x127)][_0x1e7f7f(0x11e)][_0x1e7f7f(0x12a)][_0x1e7f7f(0x10b)][_0x1e7f7f(0x10c)]();this[_0x1e7f7f(0x110)]=this[_0x1e7f7f(0x114)](_0x6aa5f0);}[_0x513fdb(0x129)](){const _0x217ca3=_0x513fdb;this[_0x217ca3(0x10e)]&&(this[_0x217ca3(0x122)](_0x217ca3(0x121)),this[_0x217ca3(0x10e)]=void 0x0);const _0x218933=this[_0x217ca3(0x127)][_0x217ca3(0x11e)][_0x217ca3(0x12a)][_0x217ca3(0x10b)][_0x217ca3(0x10c)]();_0x218933&&(_0x218933['is'](_0x217ca3(0x117),_0x217ca3(0x111))||_0x218933['is'](_0x217ca3(0x117),_0x217ca3(0x10f)))&&(this[_0x217ca3(0x10e)]=new _0x281778(this[_0x217ca3(0x127)],this[_0x217ca3(0x127)][_0x217ca3(0x12b)][_0x217ca3(0x125)](_0x1cd9be),_0x218933),this[_0x217ca3(0x124)](_0x217ca3(0x121))['to'](this[_0x217ca3(0x10e)],_0x217ca3(0x121)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f9ac5=_0x345c;(function(_0x1e3a1b,_0xf6c8e8){const _0x250517=_0x345c,_0x4d88fb=_0x1e3a1b();while(!![]){try{const _0x2747bd=parseInt(_0x250517(0x10e))/0x1+parseInt(_0x250517(0xff))/0x2*(-parseInt(_0x250517(0x10d))/0x3)+parseInt(_0x250517(0xfe))/0x4+-parseInt(_0x250517(0xfd))/0x5+parseInt(_0x250517(0x101))/0x6+-parseInt(_0x250517(0x102))/0x7+-parseInt(_0x250517(0x109))/0x8*(-parseInt(_0x250517(0x104))/0x9);if(_0x2747bd===_0xf6c8e8)break;else _0x4d88fb['push'](_0x4d88fb['shift']());}catch(_0x58c841){_0x4d88fb['push'](_0x4d88fb['shift']());}}}(_0x5eda,0xdd156));import{Plugin as _0x46fad5}from'ckeditor5/src/core.js';import{Notification as _0x1076b3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1fcae6}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f58ae}from'./uploadcareimagereplacecommand.js';function _0x345c(_0x354655,_0x492119){const _0x5eda03=_0x5eda();return _0x345c=function(_0x345cfd,_0x24ccbf){_0x345cfd=_0x345cfd-0xfb;let _0x2d290c=_0x5eda03[_0x345cfd];return _0x2d290c;},_0x345c(_0x354655,_0x492119);}import{UploadcareEditing as _0x239dd5}from'../uploadcareediting.js';function _0x5eda(){const _0x4f894e=['requires','3681uvHBqy','commands','isPremiumPlugin','isOfficialPlugin','UploadcareImageEditEditing','11312MxdoMu','pluginName','add','uploadcareImageReplace','1724682pJeiOb','26912eUolWk','ImageEditing','uploadcareImageEdit','ImageUtils','6596140QHYhEZ','3641248cbcouU','2gnGhdg','init','8029236ZLcYWi','378532InBRDI'];_0x5eda=function(){return _0x4f894e;};return _0x5eda();}export class UploadcareImageEditEditing extends _0x46fad5{static get[_0x4f9ac5(0x10a)](){const _0x613892=_0x4f9ac5;return _0x613892(0x108);}static get[_0x4f9ac5(0x103)](){const _0x5a0d5e=_0x4f9ac5;return[_0x239dd5,_0x1076b3,_0x5a0d5e(0xfc),_0x5a0d5e(0x10f)];}static get[_0x4f9ac5(0x107)](){return!0x0;}static get[_0x4f9ac5(0x106)](){return!0x0;}[_0x4f9ac5(0x100)](){const _0x1b7484=_0x4f9ac5,{editor:_0x179096}=this;_0x179096[_0x1b7484(0x105)][_0x1b7484(0x10b)](_0x1b7484(0xfb),new _0x1fcae6(_0x179096)),_0x179096[_0x1b7484(0x105)][_0x1b7484(0x10b)](_0x1b7484(0x10c),new _0x2f58ae(_0x179096));}}
23
+ const _0x58aa15=_0x56ed;(function(_0x2fab56,_0x590570){const _0x54350d=_0x56ed,_0x5228e0=_0x2fab56();while(!![]){try{const _0x23b344=-parseInt(_0x54350d(0x102))/0x1+-parseInt(_0x54350d(0x105))/0x2*(-parseInt(_0x54350d(0xfc))/0x3)+parseInt(_0x54350d(0x10b))/0x4*(-parseInt(_0x54350d(0x104))/0x5)+-parseInt(_0x54350d(0xfb))/0x6+parseInt(_0x54350d(0xfd))/0x7*(parseInt(_0x54350d(0x100))/0x8)+parseInt(_0x54350d(0x108))/0x9+parseInt(_0x54350d(0x10a))/0xa*(-parseInt(_0x54350d(0x10c))/0xb);if(_0x23b344===_0x590570)break;else _0x5228e0['push'](_0x5228e0['shift']());}catch(_0x506887){_0x5228e0['push'](_0x5228e0['shift']());}}}(_0x3df2,0xa287a));import{Plugin as _0x4a0a78}from'ckeditor5/src/core.js';import{Notification as _0x31c4f4}from'ckeditor5/src/ui.js';function _0x3df2(){const _0xf42bc9=['348506SXtTAv','isPremiumPlugin','865pyRZlC','20KqmrnU','ImageEditing','add','8401599HxFenI','init','40Womwmo','5360zOnyDv','278839MtisVo','UploadcareImageEditEditing','pluginName','commands','ImageUtils','isOfficialPlugin','7082916sXiRft','106947UnanRj','77RMbIwo','requires','uploadcareImageEdit','900312IlFCuT','uploadcareImageReplace'];_0x3df2=function(){return _0xf42bc9;};return _0x3df2();}import{UploadcareImageEditCommand as _0x5f4f01}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x17968f}from'./uploadcareimagereplacecommand.js';function _0x56ed(_0x5863f5,_0x2144bc){const _0x3df2b8=_0x3df2();return _0x56ed=function(_0x56ed6f,_0x34378a){_0x56ed6f=_0x56ed6f-0xf7;let _0x549088=_0x3df2b8[_0x56ed6f];return _0x549088;},_0x56ed(_0x5863f5,_0x2144bc);}import{UploadcareEditing as _0x5dc181}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4a0a78{static get[_0x58aa15(0xf7)](){const _0x4cccc4=_0x58aa15;return _0x4cccc4(0x10d);}static get[_0x58aa15(0xfe)](){const _0x12bb5f=_0x58aa15;return[_0x5dc181,_0x31c4f4,_0x12bb5f(0xf9),_0x12bb5f(0x106)];}static get[_0x58aa15(0xfa)](){return!0x0;}static get[_0x58aa15(0x103)](){return!0x0;}[_0x58aa15(0x109)](){const _0x4e10fb=_0x58aa15,{editor:_0x1676ae}=this;_0x1676ae[_0x4e10fb(0xf8)][_0x4e10fb(0x107)](_0x4e10fb(0xff),new _0x5f4f01(_0x1676ae)),_0x1676ae[_0x4e10fb(0xf8)][_0x4e10fb(0x107)](_0x4e10fb(0x101),new _0x17968f(_0x1676ae));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x382869}from'ckeditor5/src/core.js';import{ButtonView as _0x93551a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x591216}from'ckeditor5/src/icons.js';import{createElement as _0x3fd114}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 _0x382869{['_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 _0x4379de=this['editor'];_0x4379de['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27b1c8=>{const _0x1794c8=_0x4379de['commands']['get']('uploadcareImageEdit'),_0x1bbbbb=new _0x93551a(_0x27b1c8),t=_0x27b1c8['t'];return _0x1bbbbb['set']({'icon':_0x591216,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1bbbbb['bind']('isEnabled')['to'](_0x1794c8),_0x1bbbbb['bind']('isOn')['to'](_0x1794c8,'isActive'),this['listenTo'](_0x1bbbbb,'execute',()=>{_0x4379de['execute']('uploadcareImageEdit'),_0x4379de['editing']['view']['focus']();}),_0x1bbbbb;}),this['_initConfig']();}['_initConfig'](){const _0x1eae22=_0x3fd114(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1eae22),this['listenTo'](this['editor'],'destroy',()=>{_0x1eae22['remove']();});}}
23
+ import{Plugin as _0x41e3cf}from'ckeditor5/src/core.js';import{ButtonView as _0x16fa14}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x43bed6}from'ckeditor5/src/icons.js';import{createElement as _0x2d50b3}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 _0x41e3cf{['_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 _0x5d60db=this['editor'];_0x5d60db['ui']['componentFactory']['add']('uploadcareImageEdit',_0x24c5f3=>{const _0x3dcbd2=_0x5d60db['commands']['get']('uploadcareImageEdit'),_0x2d4856=new _0x16fa14(_0x24c5f3),t=_0x24c5f3['t'];return _0x2d4856['set']({'icon':_0x43bed6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d4856['bind']('isEnabled')['to'](_0x3dcbd2),_0x2d4856['bind']('isOn')['to'](_0x3dcbd2,'isActive'),this['listenTo'](_0x2d4856,'execute',()=>{_0x5d60db['execute']('uploadcareImageEdit'),_0x5d60db['editing']['view']['focus']();}),_0x2d4856;}),this['_initConfig']();}['_initConfig'](){const _0x2d98a2=_0x2d50b3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2d98a2),this['listenTo'](this['editor'],'destroy',()=>{_0x2d98a2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1054c8=_0x3d83;(function(_0x577d3b,_0xc74895){var _0x5ec5fa=_0x3d83,_0x3a7a49=_0x577d3b();while(!![]){try{var _0x25f734=-parseInt(_0x5ec5fa(0x137))/0x1+-parseInt(_0x5ec5fa(0x141))/0x2*(parseInt(_0x5ec5fa(0x142))/0x3)+-parseInt(_0x5ec5fa(0x13c))/0x4+parseInt(_0x5ec5fa(0x145))/0x5*(-parseInt(_0x5ec5fa(0x13d))/0x6)+-parseInt(_0x5ec5fa(0x143))/0x7+-parseInt(_0x5ec5fa(0x13b))/0x8+parseInt(_0x5ec5fa(0x13e))/0x9;if(_0x25f734===_0xc74895)break;else _0x3a7a49['push'](_0x3a7a49['shift']());}catch(_0x19c080){_0x3a7a49['push'](_0x3a7a49['shift']());}}}(_0x4159,0x4e61a));import{FocusTracker as _0x208e57}from'ckeditor5/src/utils.js';function _0x4159(){var _0x10cfe5=['getFocusableElement','498245POxXkX','focusTracker','createCollection','fire','1753328uXdeua','2289952srMlqQ','2518890UDPtKe','20712006HasIzH','forwardCycle','bindTemplate','24XUZgMB','18438zscTew','1377726sjAjZc','focusCycler','5iLMBjn','true','div'];_0x4159=function(){return _0x10cfe5;};return _0x4159();}import{View as _0x391b5b,FocusCycler as _0x206fae}from'ckeditor5/src/ui.js';function _0x3d83(_0xb4c4eb,_0x44274e){var _0x4159bf=_0x4159();return _0x3d83=function(_0x3d833e,_0x59873f){_0x3d833e=_0x3d833e-0x135;var _0x267d07=_0x4159bf[_0x3d833e];return _0x267d07;},_0x3d83(_0xb4c4eb,_0x44274e);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x391b5b{[_0x1054c8(0x138)];[_0x1054c8(0x144)];constructor(_0x375cfd){var _0x54d6b0=_0x1054c8;super(_0x375cfd),this[_0x54d6b0(0x138)]=new _0x208e57(),this[_0x54d6b0(0x144)]=new _0x206fae({'focusables':this[_0x54d6b0(0x139)](),'focusTracker':this[_0x54d6b0(0x138)]});}[_0x1054c8(0x136)](){var _0x3b6125=_0x1054c8;return{'tag':_0x3b6125(0x135),'attributes':{'aria-hidden':_0x3b6125(0x146),'tabindex':'0'},'on':{'focus':this[_0x3b6125(0x140)]['to'](()=>{var _0x34d238=_0x3b6125;this[_0x34d238(0x144)][_0x34d238(0x13a)](_0x34d238(0x13f));})}};}}
23
+ var _0x2d0b90=_0x20d0;(function(_0x4bf940,_0x579f97){var _0xcb863b=_0x20d0,_0x2995e1=_0x4bf940();while(!![]){try{var _0x89f29c=parseInt(_0xcb863b(0x19e))/0x1+parseInt(_0xcb863b(0x1a0))/0x2*(-parseInt(_0xcb863b(0x1a3))/0x3)+parseInt(_0xcb863b(0x1a5))/0x4+parseInt(_0xcb863b(0x1a4))/0x5+parseInt(_0xcb863b(0x1a1))/0x6+parseInt(_0xcb863b(0x1a2))/0x7*(-parseInt(_0xcb863b(0x19a))/0x8)+-parseInt(_0xcb863b(0x1a9))/0x9*(-parseInt(_0xcb863b(0x1ab))/0xa);if(_0x89f29c===_0x579f97)break;else _0x2995e1['push'](_0x2995e1['shift']());}catch(_0x9102b9){_0x2995e1['push'](_0x2995e1['shift']());}}}(_0x4890,0x2b8f8));import{FocusTracker as _0x397923}from'ckeditor5/src/utils.js';function _0x20d0(_0x443b3c,_0x1dd119){var _0x4890a8=_0x4890();return _0x20d0=function(_0x20d079,_0x37f4e3){_0x20d079=_0x20d079-0x19a;var _0xb88f0b=_0x4890a8[_0x20d079];return _0xb88f0b;},_0x20d0(_0x443b3c,_0x1dd119);}function _0x4890(){var _0x4d0fc5=['1000960EPOGdk','bindTemplate','focusCycler','createCollection','216sglsmv','focusTracker','10460OCSJUJ','getFocusableElement','8FXPEnx','fire','div','forwardCycle','86570uinnKf','true','98438unMTEB','646506tvvGgP','794213Msujra','21ZXmgUH','833755PYRGBA'];_0x4890=function(){return _0x4d0fc5;};return _0x4890();}import{View as _0xba5752,FocusCycler as _0x1a8b14}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xba5752{[_0x2d0b90(0x1aa)];[_0x2d0b90(0x1a7)];constructor(_0x477ad5){var _0x122c9d=_0x2d0b90;super(_0x477ad5),this[_0x122c9d(0x1aa)]=new _0x397923(),this[_0x122c9d(0x1a7)]=new _0x1a8b14({'focusables':this[_0x122c9d(0x1a8)](),'focusTracker':this[_0x122c9d(0x1aa)]});}[_0x2d0b90(0x1ac)](){var _0x29c367=_0x2d0b90;return{'tag':_0x29c367(0x19c),'attributes':{'aria-hidden':_0x29c367(0x19f),'tabindex':'0'},'on':{'focus':this[_0x29c367(0x1a6)]['to'](()=>{var _0x120bd7=_0x29c367;this[_0x120bd7(0x1a7)][_0x120bd7(0x19b)](_0x120bd7(0x19d));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3b0ac1,_0x46d834){const _0x1049df=_0x3850,_0x302cb2=_0x3b0ac1();while(!![]){try{const _0x3f11b4=-parseInt(_0x1049df(0xc9))/0x1*(-parseInt(_0x1049df(0x9b))/0x2)+-parseInt(_0x1049df(0xab))/0x3*(-parseInt(_0x1049df(0xbf))/0x4)+-parseInt(_0x1049df(0xd1))/0x5*(parseInt(_0x1049df(0xa9))/0x6)+parseInt(_0x1049df(0xa3))/0x7*(parseInt(_0x1049df(0xc1))/0x8)+-parseInt(_0x1049df(0xc3))/0x9*(-parseInt(_0x1049df(0xa2))/0xa)+parseInt(_0x1049df(0xb0))/0xb*(-parseInt(_0x1049df(0xc2))/0xc)+parseInt(_0x1049df(0x9f))/0xd*(-parseInt(_0x1049df(0xb6))/0xe);if(_0x3f11b4===_0x46d834)break;else _0x302cb2['push'](_0x302cb2['shift']());}catch(_0x49034f){_0x302cb2['push'](_0x302cb2['shift']());}}}(_0x4d54,0x9aff2));function _0x4d54(){const _0x3dfb8e=['addClass','mapper','change','map','replace','1046696XsERjo','document','findViewImgElement','location','view','(max-width:\x20','toViewElement','getAttribute','src','4xqeRRe','filter','2872528RhhXzG','14784FtnlAJ','2495853GVOczH','image-processing','x/\x20','baseURI','editing','removeStyle','1UDVgaO','get','/-/resize/','aspect-ratio','some','isArray','viewToDom','ImageUtils','5behkri','window','width','px)\x20100vw,\x20','imageBlock','origin','stopListening','351922aCcuZI','listenTo','plugins','imageInline','247gjgwLF','image/webp','hasAttribute','20SwpOKO','21Qsehnc','element','match','domConverter','height','join','1878882mdwbnU','setStyle','3648480TyICHx','uploadcareImageId','removeClass','function','load','5852jIOQpl'];_0x4d54=function(){return _0x3dfb8e;};return _0x4d54();}import{global as _0x5d9c6c,DomEmitterMixin as _0x5b31d0}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x48bca6){const _0xf66686=_0x3850,_0x3f4dd7=S(_0x48bca6);return _0x2761d7=>!(!_0x2761d7||!_0x2761d7['is'](_0xf66686(0xa4),_0xf66686(0x98))&&!_0x2761d7['is'](_0xf66686(0xa4),_0xf66686(0x9e)))&&(!!_0x2761d7[_0xf66686(0xa1)](_0xf66686(0xac))||!!_0x2761d7[_0xf66686(0xa1)](_0xf66686(0xbe))&&_0x3f4dd7(_0x2761d7[_0xf66686(0xbd)](_0xf66686(0xbe))));}export function getImageUrls(_0x5542f7,_0x56963a){const _0x3862cd=_0x3850,_0x253118=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3862cd(0xc0)](_0x3620bb=>_0x3620bb<=_0x56963a)[_0x3862cd(0xb4)](_0x27c21d=>_0x5542f7[_0x3862cd(0xb5)](/\/$/,'')+_0x3862cd(0xcb)+_0x27c21d+_0x3862cd(0xc5)+_0x27c21d+'w');return{'imageFallbackUrl':_0x5542f7,'imageSources':[{'srcset':_0x253118[_0x3862cd(0xa8)](',\x20'),'sizes':_0x3862cd(0xbb)+_0x56963a+_0x3862cd(0x97)+_0x56963a+'px','type':_0x3862cd(0xa0)}]};}export function getImageDimension(_0x13eab6,_0x32d68e,_0x50ee78){const _0x71ce2b=_0x3850,_0x369732=_0x13eab6[_0x71ce2b(0xa5)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x369732?parseInt(_0x369732[0x1],0xa):_0x32d68e,'height':_0x369732?parseInt(_0x369732[0x2],0xa):_0x50ee78};}function _0x3850(_0x5700ad,_0x2ffc98){const _0x4d548d=_0x4d54();return _0x3850=function(_0x38500d,_0x16365b){_0x38500d=_0x38500d-0x97;let _0x2d24f7=_0x4d548d[_0x38500d];return _0x2d24f7;},_0x3850(_0x5700ad,_0x2ffc98);}export function showImageProcessingIndicator(_0x28c0be,_0x2c3713){const _0x1e5f05=_0x3850,_0x2b5999=new(_0x5b31d0())(),_0x4c0eba=_0x28c0be[_0x1e5f05(0x9d)][_0x1e5f05(0xca)](_0x1e5f05(0xd0)),_0x3ab13a=_0x28c0be[_0x1e5f05(0xc7)][_0x1e5f05(0xb2)][_0x1e5f05(0xbc)](_0x2c3713),_0x55afae=_0x4c0eba[_0x1e5f05(0xb8)](_0x3ab13a),_0x35f002=_0x28c0be[_0x1e5f05(0xc7)][_0x1e5f05(0xba)][_0x1e5f05(0xa6)][_0x1e5f05(0xcf)](_0x55afae),_0x23a5aa=_0x2c3713[_0x1e5f05(0xbd)](_0x1e5f05(0xd3)),_0x1fbd31=_0x2c3713[_0x1e5f05(0xbd)](_0x1e5f05(0xa7)),_0x279416=_0x1e5f05(0xc4);_0x28c0be[_0x1e5f05(0xc7)][_0x1e5f05(0xba)][_0x1e5f05(0xb3)](_0x321414=>{const _0x53f05b=_0x1e5f05;_0x321414[_0x53f05b(0xb1)](_0x279416,_0x3ab13a),_0x321414[_0x53f05b(0xaa)](_0x53f05b(0xcc),_0x23a5aa+'/'+_0x1fbd31,_0x55afae);}),_0x2b5999[_0x1e5f05(0x9c)](_0x35f002,_0x1e5f05(0xaf),()=>{const _0x467343=_0x1e5f05;_0x2b5999[_0x467343(0x9a)](_0x35f002,_0x467343(0xaf)),_0x28c0be[_0x467343(0xc7)][_0x467343(0xba)][_0x467343(0xb3)](_0x36e588=>{const _0x43c619=_0x467343;_0x36e588[_0x43c619(0xad)](_0x279416,_0x3ab13a),_0x36e588[_0x43c619(0xc8)](_0x43c619(0xcc),_0x55afae);});});}function S(_0x5a62e5){const _0x4d3873=_0x3850;if(Array[_0x4d3873(0xce)](_0x5a62e5)){const _0x53af59=_0x5a62e5[_0x4d3873(0xb4)](S);return _0x550e20=>_0x53af59[_0x4d3873(0xcd)](_0x143db6=>_0x143db6(_0x550e20));}if(_0x4d3873(0x99)==_0x5a62e5){const _0x371249=_0x5d9c6c[_0x4d3873(0xd2)][_0x4d3873(0xb9)][_0x4d3873(0x99)];return _0x502013=>new URL(_0x502013,_0x5d9c6c[_0x4d3873(0xb7)][_0x4d3873(0xc6)])[_0x4d3873(0x99)]==_0x371249;}return _0x4d3873(0xae)==typeof _0x5a62e5?_0x5a62e5:_0x5a62e5 instanceof RegExp?_0x2a9080=>!(!_0x2a9080[_0x4d3873(0xa5)](_0x5a62e5)&&!_0x2a9080[_0x4d3873(0xb5)](/^https?:\/\//,'')[_0x4d3873(0xa5)](_0x5a62e5)):()=>!0x1;}
23
+ (function(_0x4023b1,_0x374d12){const _0x52cf5d=_0x4fac,_0x5b3fd2=_0x4023b1();while(!![]){try{const _0x555d93=-parseInt(_0x52cf5d(0x11c))/0x1*(parseInt(_0x52cf5d(0x12a))/0x2)+-parseInt(_0x52cf5d(0x121))/0x3*(parseInt(_0x52cf5d(0x124))/0x4)+-parseInt(_0x52cf5d(0x131))/0x5*(parseInt(_0x52cf5d(0x11f))/0x6)+-parseInt(_0x52cf5d(0x136))/0x7+parseInt(_0x52cf5d(0x12e))/0x8*(-parseInt(_0x52cf5d(0x117))/0x9)+-parseInt(_0x52cf5d(0x114))/0xa*(parseInt(_0x52cf5d(0x111))/0xb)+parseInt(_0x52cf5d(0x110))/0xc;if(_0x555d93===_0x374d12)break;else _0x5b3fd2['push'](_0x5b3fd2['shift']());}catch(_0x37cf45){_0x5b3fd2['push'](_0x5b3fd2['shift']());}}}(_0x3055,0x52d9b));import{global as _0x5011de,DomEmitterMixin as _0x2dec24}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x59a57a){const _0x443f9d=_0x4fac,_0x272ae9=z(_0x59a57a);return _0x2152ac=>!(!_0x2152ac||!_0x2152ac['is'](_0x443f9d(0x118),_0x443f9d(0x132))&&!_0x2152ac['is'](_0x443f9d(0x118),_0x443f9d(0x141)))&&(!!_0x2152ac[_0x443f9d(0x133)](_0x443f9d(0x130))||!!_0x2152ac[_0x443f9d(0x133)](_0x443f9d(0x11e))&&_0x272ae9(_0x2152ac[_0x443f9d(0x12f)](_0x443f9d(0x11e))));}export function getImageUrls(_0x44f415,_0x11a10b){const _0x10164d=_0x4fac,_0x4c3d40=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x10164d(0x127)](_0x574911=>_0x574911<=_0x11a10b)[_0x10164d(0x135)](_0x15f135=>_0x44f415[_0x10164d(0x11a)](/\/$/,'')+_0x10164d(0x11d)+_0x15f135+_0x10164d(0x134)+_0x15f135+'w');return{'imageFallbackUrl':_0x44f415,'imageSources':[{'srcset':_0x4c3d40[_0x10164d(0x10b)](',\x20'),'sizes':_0x10164d(0x139)+_0x11a10b+_0x10164d(0x120)+_0x11a10b+'px','type':_0x10164d(0x140)}]};}function _0x4fac(_0x7ee634,_0x4b1604){const _0x3055e4=_0x3055();return _0x4fac=function(_0x4fac6c,_0x13ac7f){_0x4fac6c=_0x4fac6c-0x10a;let _0x16d92e=_0x3055e4[_0x4fac6c];return _0x16d92e;},_0x4fac(_0x7ee634,_0x4b1604);}function _0x3055(){const _0x3722b0=['hasAttribute','x/\x20','map','2272053RggqMI','origin','editing','(max-width:\x20','toViewElement','load','ImageUtils','some','setStyle','function','image/webp','imageInline','mapper','aspect-ratio','stopListening','match','join','domConverter','removeStyle','width','removeClass','26464608nOirQf','33DPJZYE','location','baseURI','1698330dlCsLm','change','plugins','4393233OYKWjw','element','get','replace','isArray','21loiNaW','/-/resize/','src','2309592azJyqQ','px)\x20100vw,\x20','222063uANOSQ','viewToDom','height','4CJPAhn','view','listenTo','filter','window','findViewImgElement','8082KPMLHr','addClass','image-processing','document','8YXjsED','getAttribute','uploadcareImageId','5yNbpFc','imageBlock'];_0x3055=function(){return _0x3722b0;};return _0x3055();}export function getImageDimension(_0x5c500f,_0x2b6c7c,_0x4580ea){const _0x2bc92d=_0x4fac,_0x296161=_0x5c500f[_0x2bc92d(0x10a)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x296161?parseInt(_0x296161[0x1],0xa):_0x2b6c7c,'height':_0x296161?parseInt(_0x296161[0x2],0xa):_0x4580ea};}export function showImageProcessingIndicator(_0x4440cc,_0x1fa6f5){const _0x2cdc7f=_0x4fac,_0x4ed4e8=new(_0x2dec24())(),_0x20810d=_0x4440cc[_0x2cdc7f(0x116)][_0x2cdc7f(0x119)](_0x2cdc7f(0x13c)),_0x2c16f4=_0x4440cc[_0x2cdc7f(0x138)][_0x2cdc7f(0x142)][_0x2cdc7f(0x13a)](_0x1fa6f5),_0x3a13f0=_0x20810d[_0x2cdc7f(0x129)](_0x2c16f4),_0x1c2dfd=_0x4440cc[_0x2cdc7f(0x138)][_0x2cdc7f(0x125)][_0x2cdc7f(0x10c)][_0x2cdc7f(0x122)](_0x3a13f0),_0x229f1b=_0x1fa6f5[_0x2cdc7f(0x12f)](_0x2cdc7f(0x10e)),_0x4b55e3=_0x1fa6f5[_0x2cdc7f(0x12f)](_0x2cdc7f(0x123)),_0x3eadb0=_0x2cdc7f(0x12c);_0x4440cc[_0x2cdc7f(0x138)][_0x2cdc7f(0x125)][_0x2cdc7f(0x115)](_0x22c431=>{const _0x5ccb48=_0x2cdc7f;_0x22c431[_0x5ccb48(0x12b)](_0x3eadb0,_0x2c16f4),_0x22c431[_0x5ccb48(0x13e)](_0x5ccb48(0x143),_0x229f1b+'/'+_0x4b55e3,_0x3a13f0);}),_0x4ed4e8[_0x2cdc7f(0x126)](_0x1c2dfd,_0x2cdc7f(0x13b),()=>{const _0xe4dbc8=_0x2cdc7f;_0x4ed4e8[_0xe4dbc8(0x144)](_0x1c2dfd,_0xe4dbc8(0x13b)),_0x4440cc[_0xe4dbc8(0x138)][_0xe4dbc8(0x125)][_0xe4dbc8(0x115)](_0x30e895=>{const _0x3f3cb5=_0xe4dbc8;_0x30e895[_0x3f3cb5(0x10f)](_0x3eadb0,_0x2c16f4),_0x30e895[_0x3f3cb5(0x10d)](_0x3f3cb5(0x143),_0x3a13f0);});});}function z(_0x30601f){const _0x1c19ca=_0x4fac;if(Array[_0x1c19ca(0x11b)](_0x30601f)){const _0x31712f=_0x30601f[_0x1c19ca(0x135)](z);return _0x575334=>_0x31712f[_0x1c19ca(0x13d)](_0x647f31=>_0x647f31(_0x575334));}if(_0x1c19ca(0x137)==_0x30601f){const _0x7048ee=_0x5011de[_0x1c19ca(0x128)][_0x1c19ca(0x112)][_0x1c19ca(0x137)];return _0x3667bb=>new URL(_0x3667bb,_0x5011de[_0x1c19ca(0x12d)][_0x1c19ca(0x113)])[_0x1c19ca(0x137)]==_0x7048ee;}return _0x1c19ca(0x13f)==typeof _0x30601f?_0x30601f:_0x30601f instanceof RegExp?_0x3c2d9e=>!(!_0x3c2d9e[_0x1c19ca(0x10a)](_0x30601f)&&!_0x3c2d9e[_0x1c19ca(0x11a)](/^https?:\/\//,'')[_0x1c19ca(0x10a)](_0x30601f)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x589649,_0x5e5ef0){var _0x143cb3=_0x5c0d,_0x36db6e=_0x589649();while(!![]){try{var _0x4c017b=parseInt(_0x143cb3(0xbb))/0x1+parseInt(_0x143cb3(0xbf))/0x2+parseInt(_0x143cb3(0xbe))/0x3+parseInt(_0x143cb3(0xbd))/0x4+parseInt(_0x143cb3(0xba))/0x5*(-parseInt(_0x143cb3(0xb7))/0x6)+-parseInt(_0x143cb3(0xbc))/0x7*(parseInt(_0x143cb3(0xb5))/0x8)+parseInt(_0x143cb3(0xb6))/0x9;if(_0x4c017b===_0x5e5ef0)break;else _0x36db6e['push'](_0x36db6e['shift']());}catch(_0x276245){_0x36db6e['push'](_0x36db6e['shift']());}}}(_0x4c22,0x40b21));import{getAncestors as _0x5db4b5}from'ckeditor5/src/utils.js';function _0x4c22(){var _0x128331=['865004gsJYll','667344vFbdZX','116902JLgxqb','8sUOUnK','1449513ySeUBl','24PfjULk','target','includes','192330HtBzGh','267211eLNAaX','3545927zyYIFe'];_0x4c22=function(){return _0x128331;};return _0x4c22();}function _0x5c0d(_0x49365b,_0x161553){var _0x4c22a2=_0x4c22();return _0x5c0d=function(_0x5c0d05,_0x210fde){_0x5c0d05=_0x5c0d05-0xb5;var _0x4d620f=_0x4c22a2[_0x5c0d05];return _0x4d620f;},_0x5c0d(_0x49365b,_0x161553);}export function isAncestor(_0x21a90f,_0x45cc0f){var _0x3cf843=_0x5c0d;return _0x5db4b5(_0x21a90f[_0x3cf843(0xb8)])[_0x3cf843(0xb9)](_0x45cc0f);}
23
+ function _0x23f9(){var _0x57425f=['57813OsvNiM','56409UXwaCp','12tjIfsG','938695wibiPM','3191436sDpFXt','includes','1187832ClKrEI','694184nSGhRZ','732102eoOohd','4rYrZmV','target'];_0x23f9=function(){return _0x57425f;};return _0x23f9();}function _0x1392(_0x902b23,_0x532a3c){var _0x23f914=_0x23f9();return _0x1392=function(_0x1392fc,_0x45ee10){_0x1392fc=_0x1392fc-0x170;var _0x3d538f=_0x23f914[_0x1392fc];return _0x3d538f;},_0x1392(_0x902b23,_0x532a3c);}(function(_0x3286d6,_0x40d4ca){var _0x1d5f4f=_0x1392,_0x221f18=_0x3286d6();while(!![]){try{var _0x494e2b=-parseInt(_0x1d5f4f(0x176))/0x1*(parseInt(_0x1d5f4f(0x177))/0x2)+-parseInt(_0x1d5f4f(0x175))/0x3+parseInt(_0x1d5f4f(0x173))/0x4*(parseInt(_0x1d5f4f(0x178))/0x5)+-parseInt(_0x1d5f4f(0x170))/0x6+parseInt(_0x1d5f4f(0x172))/0x7+parseInt(_0x1d5f4f(0x171))/0x8+parseInt(_0x1d5f4f(0x179))/0x9;if(_0x494e2b===_0x40d4ca)break;else _0x221f18['push'](_0x221f18['shift']());}catch(_0x33c142){_0x221f18['push'](_0x221f18['shift']());}}}(_0x23f9,0x2b755));import{getAncestors as _0x531d18}from'ckeditor5/src/utils.js';export function isAncestor(_0x3859b0,_0x1ab7c2){var _0x261210=_0x1392;return _0x531d18(_0x3859b0[_0x261210(0x174)])[_0x261210(0x17a)](_0x1ab7c2);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x543e7c=_0x5d12;function _0x5d12(_0x25aaa6,_0x3842cc){var _0x168a2e=_0x168a();return _0x5d12=function(_0x5d1251,_0x228fd1){_0x5d1251=_0x5d1251-0x180;var _0x300082=_0x168a2e[_0x5d1251];return _0x300082;},_0x5d12(_0x25aaa6,_0x3842cc);}(function(_0x5137a3,_0x55a548){var _0x2189c0=_0x5d12,_0x2eb4b0=_0x5137a3();while(!![]){try{var _0x4414f6=-parseInt(_0x2189c0(0x18c))/0x1+parseInt(_0x2189c0(0x180))/0x2*(parseInt(_0x2189c0(0x187))/0x3)+-parseInt(_0x2189c0(0x186))/0x4*(parseInt(_0x2189c0(0x18b))/0x5)+parseInt(_0x2189c0(0x183))/0x6+parseInt(_0x2189c0(0x181))/0x7*(parseInt(_0x2189c0(0x184))/0x8)+parseInt(_0x2189c0(0x18a))/0x9*(parseInt(_0x2189c0(0x189))/0xa)+-parseInt(_0x2189c0(0x185))/0xb*(parseInt(_0x2189c0(0x18d))/0xc);if(_0x4414f6===_0x55a548)break;else _0x2eb4b0['push'](_0x2eb4b0['shift']());}catch(_0x302a97){_0x2eb4b0['push'](_0x2eb4b0['shift']());}}}(_0x168a,0x53009));function _0x168a(){var _0x5831e3=['368510wKwAbj','427603brzjdU','13236aCVDBR','38JStnbR','7OSXqQo','getInfo','1753368ZxeLxz','1294024CfZhXs','3047DUfsJX','4LCTeNq','59751tJNpiM','upload','1048030BAoUMz','27CSTZpn'];_0x168a=function(){return _0x5831e3;};return _0x168a();}import{uploadFile as _0x400993,info as _0x2828f5}from'@uploadcare/upload-client';export class UploadUtils{static[_0x543e7c(0x188)]({file:_0x3c76bb,..._0x2c0e1d}){return _0x400993(_0x3c76bb,_0x2c0e1d);}static[_0x543e7c(0x182)](_0x357593,_0x184fb2){return _0x2828f5(_0x357593,_0x184fb2);}}
23
+ var _0x1b6424=_0x3f7b;(function(_0x3a7801,_0x7ff542){var _0x3631d7=_0x3f7b,_0xd0524b=_0x3a7801();while(!![]){try{var _0x1ddde8=-parseInt(_0x3631d7(0x89))/0x1+parseInt(_0x3631d7(0x85))/0x2*(-parseInt(_0x3631d7(0x8e))/0x3)+-parseInt(_0x3631d7(0x84))/0x4*(-parseInt(_0x3631d7(0x8d))/0x5)+parseInt(_0x3631d7(0x8b))/0x6+parseInt(_0x3631d7(0x8f))/0x7+parseInt(_0x3631d7(0x8c))/0x8+-parseInt(_0x3631d7(0x88))/0x9*(-parseInt(_0x3631d7(0x8a))/0xa);if(_0x1ddde8===_0x7ff542)break;else _0xd0524b['push'](_0xd0524b['shift']());}catch(_0x5d510e){_0xd0524b['push'](_0xd0524b['shift']());}}}(_0x24f3,0xf25e2));function _0x24f3(){var _0xf8d3a8=['1870632jdHTvd','1974875WYozGf','30JnmKdN','6660954gVKJQV','8305672IePwKC','65alNhxa','23394JUsciI','2343194lnkETc','199556wWrBdb','202nWRiYE','upload','getInfo'];_0x24f3=function(){return _0xf8d3a8;};return _0x24f3();}function _0x3f7b(_0xa52bda,_0x34c9c3){var _0x24f3c2=_0x24f3();return _0x3f7b=function(_0x3f7bd5,_0x2c51b7){_0x3f7bd5=_0x3f7bd5-0x84;var _0x50bd32=_0x24f3c2[_0x3f7bd5];return _0x50bd32;},_0x3f7b(_0xa52bda,_0x34c9c3);}import{uploadFile as _0x56621b,info as _0x4d52d6}from'@uploadcare/upload-client';export class UploadUtils{static[_0x1b6424(0x86)]({file:_0x1ca222,..._0x22462a}){return _0x56621b(_0x1ca222,_0x22462a);}static[_0x1b6424(0x87)](_0x1fdebe,_0xc245f9){return _0x4d52d6(_0x1fdebe,_0xc245f9);}}