@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.10 → 45.0.0-alpha.11
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.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +9 -9
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41a19b=_0x209d;(function(_0x5b9844,_0x1d1d6e){const _0x5919b8=_0x209d,_0xd41acb=_0x5b9844();while(!![]){try{const _0x4b0811=parseInt(_0x5919b8(0x182))/0x1*(-parseInt(_0x5919b8(0x157))/0x2)+-parseInt(_0x5919b8(0x168))/0x3*(parseInt(_0x5919b8(0x14e))/0x4)+parseInt(_0x5919b8(0x170))/0x5*(-parseInt(_0x5919b8(0x16f))/0x6)+-parseInt(_0x5919b8(0x156))/0x7+parseInt(_0x5919b8(0x15a))/0x8*(-parseInt(_0x5919b8(0x14c))/0x9)+-parseInt(_0x5919b8(0x16c))/0xa+parseInt(_0x5919b8(0x180))/0xb;if(_0x4b0811===_0x1d1d6e)break;else _0xd41acb['push'](_0xd41acb['shift']());}catch(_0x2f938c){_0xd41acb['push'](_0xd41acb['shift']());}}}(_0x4bac,0xb702d));function _0x209d(_0x3f22e5,_0x530930){const _0x4bac05=_0x4bac();return _0x209d=function(_0x209d64,_0x30e571){_0x209d64=_0x209d64-0x14c;let _0x7e5e15=_0x4bac05[_0x209d64];return _0x7e5e15;},_0x209d(_0x3f22e5,_0x530930);}import{View as _0x1ca401}from'ckeditor5/src/ui.js';import _0x589d7d from'./uploadcareimageeditformloadingview.js';import _0x156f21 from'./uploadcareimageeditformerrorview.js';function _0x4bac(){const _0x1cf3cb=['apply','error','detail','status','add','nodeName','ck-uploadcare-form','_editingView','createCollection','cancel','set','56363967DnyaOj','div','526063aplTMN','cdnUrl','27VDMmRR','once','4lTmaPm','ck-reset_all-excluded','setTemplate','toLowerCase','_waitForImageEditorComponent','render','addMany','addEventListener','7668374iVgkSX','2mqKRzX','_addErrorViewListeners','addedNodes','1177800NeIvLe','element','_focusableView','getFocusableElement','uploading','retry','fire','_addUploadcareImageEditorListeners','_setView','target','filter','ready','observe','length','1789473CMUgtL','uc-cloud-image-editor','_items','change:status','8856870iuuaam','_loadingView','querySelector','4973916tgJbLY','5QRTAeu','clear','disconnect','_errorView','focus'];_0x4bac=function(){return _0x1cf3cb;};return _0x4bac();}import _0x68a364 from'./uploadcareimageeditformeditingview.js';import _0x4923cc from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x4923cc{[_0x41a19b(0x16a)];[_0x41a19b(0x16d)];[_0x41a19b(0x173)];[_0x41a19b(0x17c)];[_0x41a19b(0x15c)];constructor(_0x1ce683,_0x589df6,_0x599e51){const _0x474d75=_0x41a19b;super(_0x1ce683),this[_0x474d75(0x16a)]=this[_0x474d75(0x17d)](),this[_0x474d75(0x16d)]=new _0x589d7d(_0x1ce683),this[_0x474d75(0x173)]=new _0x156f21(_0x1ce683),this[_0x474d75(0x17c)]=new _0x68a364(_0x1ce683,_0x599e51),this[_0x474d75(0x15c)]=new _0x1ca401(_0x1ce683),this[_0x474d75(0x15c)][_0x474d75(0x150)](this[_0x474d75(0x15d)]()),this[_0x474d75(0x17f)](_0x474d75(0x178),_0x589df6),this[_0x474d75(0x150)]({'tag':_0x474d75(0x181),'attributes':{'class':['ck',_0x474d75(0x14f),_0x474d75(0x17b)],'tabindex':'-1'},'children':this[_0x474d75(0x16a)]}),this[_0x474d75(0x162)](),this[_0x474d75(0x14d)](_0x474d75(0x153),()=>{const _0x472cf7=_0x474d75;this[_0x472cf7(0x152)](this[_0x472cf7(0x15b)],_0x9099bf=>{const _0x1b895e=_0x472cf7;this[_0x1b895e(0x161)](_0x9099bf);});}),this['on'](_0x474d75(0x16b),()=>{const _0x2298c0=_0x474d75;this[_0x2298c0(0x162)]();}),this[_0x474d75(0x158)]();}[_0x41a19b(0x174)](){const _0x1e12e0=_0x41a19b;this[_0x1e12e0(0x15b)][_0x1e12e0(0x174)]();}[_0x41a19b(0x162)](){const _0x2da4c3=_0x41a19b;switch(this[_0x2da4c3(0x16a)][_0x2da4c3(0x171)](),this[_0x2da4c3(0x178)]){case _0x2da4c3(0x15e):this[_0x2da4c3(0x16a)][_0x2da4c3(0x179)](this[_0x2da4c3(0x16d)]);break;case _0x2da4c3(0x176):this[_0x2da4c3(0x16a)][_0x2da4c3(0x179)](this[_0x2da4c3(0x173)]);break;case _0x2da4c3(0x165):this[_0x2da4c3(0x16a)][_0x2da4c3(0x154)]([this[_0x2da4c3(0x17c)],this[_0x2da4c3(0x15c)]]);}}[_0x41a19b(0x152)](_0xfd9e8c,_0x1f72db){const _0x5967af=_0x41a19b,_0x5a8a9a=_0x5967af(0x169),_0x200dea=_0xfd9e8c[_0x5967af(0x16e)](_0x5a8a9a);if(_0x200dea)return _0x1f72db(_0x200dea);const _0x4e8b54=new MutationObserver(_0x12fb6=>{const _0x3211b=_0x5967af,_0x23172c=_0x12fb6[_0x3211b(0x164)](_0x4bb776=>_0x4bb776[_0x3211b(0x163)]===_0xfd9e8c&&_0x4bb776[_0x3211b(0x159)][_0x3211b(0x167)]>0x0&&_0x4bb776[_0x3211b(0x159)][0x0][_0x3211b(0x17a)][_0x3211b(0x151)]()===_0x5a8a9a);_0x23172c[_0x3211b(0x167)]&&(_0x4e8b54[_0x3211b(0x172)](),_0x1f72db(_0x23172c[0x0][_0x3211b(0x159)][0x0]));});_0x4e8b54[_0x5967af(0x166)](_0xfd9e8c,{'childList':!0x0,'subtree':!0x0});}[_0x41a19b(0x161)](_0x5ef3d4){const _0x19eb72=_0x41a19b;_0x5ef3d4[_0x19eb72(0x155)](_0x19eb72(0x175),_0x3292ea=>{const _0x2d84a2=_0x19eb72;this[_0x2d84a2(0x160)](_0x2d84a2(0x175),{'imageSrc':_0x3292ea[_0x2d84a2(0x177)][_0x2d84a2(0x183)]});}),_0x5ef3d4[_0x19eb72(0x155)](_0x19eb72(0x17e),()=>{const _0x3d30ce=_0x19eb72;this[_0x3d30ce(0x160)](_0x3d30ce(0x17e));});}[_0x41a19b(0x158)](){const _0x3dca3e=_0x41a19b;this[_0x3dca3e(0x173)]['on'](_0x3dca3e(0x15f),()=>{const _0x13d193=_0x3dca3e;this[_0x13d193(0x160)](_0x13d193(0x15f));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ff79c=_0x4cdf;(function(_0xc48135,_0x46295b){const _0x41082e=_0x4cdf,_0x5503c4=_0xc48135();while(!![]){try{const _0xd09477=-parseInt(_0x41082e(0x10c))/0x1+parseInt(_0x41082e(0x104))/0x2*(-parseInt(_0x41082e(0x117))/0x3)+-parseInt(_0x41082e(0xfb))/0x4*(-parseInt(_0x41082e(0x10e))/0x5)+-parseInt(_0x41082e(0x102))/0x6+parseInt(_0x41082e(0x10a))/0x7+-parseInt(_0x41082e(0x111))/0x8+parseInt(_0x41082e(0xff))/0x9*(parseInt(_0x41082e(0x115))/0xa);if(_0xd09477===_0x46295b)break;else _0x5503c4['push'](_0x5503c4['shift']());}catch(_0x27e394){_0x5503c4['push'](_0x5503c4['shift']());}}}(_0x5530,0x2c505));function _0x4cdf(_0x57ece0,_0x354456){const _0x55309a=_0x5530();return _0x4cdf=function(_0x4cdfd7,_0x2f1d49){_0x4cdfd7=_0x4cdfd7-0xf8;let _0x6f96ad=_0x55309a[_0x4cdfd7];return _0x6f96ad;},_0x4cdf(_0x57ece0,_0x354456);}import{Command as _0x4868fe}from'ckeditor5/src/core.js';import{Dialog as _0x4f7f60}from'ckeditor5/src/ui.js';function _0x5530(){const _0x15d058=['isEnabled','178209GPCZrh','refresh','getSelectedElement','2011872swhlZG','set','2914abNoyi','imageInline','document','plugins','imageBlock','execute','2183573MMtazE','uploadcare.allowExternalImagesEditing','311276mdzQLN','_isEditable','1955SnqoMk','requires','editor','2641488dEYnCX','bind','imageEditController','get','290cPtmVf','isActive','120fZoEmY','model','element','config','3380Brwmqy','selection','unbind'];_0x5530=function(){return _0x15d058;};return _0x5530();}import _0x26dd96 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3601c0}from'../utils/editingutils.js';export default class V extends _0x4868fe{[_0x4ff79c(0x113)];static get[_0x4ff79c(0x10f)](){return[_0x4f7f60];}[_0x4ff79c(0x10d)];constructor(_0x323619){const _0x4ba1a7=_0x4ff79c;super(_0x323619),this[_0x4ba1a7(0x113)]=void 0x0,this[_0x4ba1a7(0x10d)]=_0x3601c0(_0x323619[_0x4ba1a7(0xfa)][_0x4ba1a7(0x114)](_0x4ba1a7(0x10b))||[]),this[_0x4ba1a7(0x103)]({'isActive':!0x1});}[_0x4ff79c(0x100)](){const _0x291700=_0x4ff79c,_0x53c607=this[_0x291700(0x110)][_0x291700(0xf8)][_0x291700(0x106)][_0x291700(0xfc)][_0x291700(0x101)]();this[_0x291700(0xfe)]=this[_0x291700(0x10d)](_0x53c607);}[_0x4ff79c(0x109)](){const _0x1d2468=_0x4ff79c;this[_0x1d2468(0x113)]&&(this[_0x1d2468(0xfd)](_0x1d2468(0x116)),this[_0x1d2468(0x113)]=void 0x0);const _0x5ad26a=this[_0x1d2468(0x110)][_0x1d2468(0xf8)][_0x1d2468(0x106)][_0x1d2468(0xfc)][_0x1d2468(0x101)]();_0x5ad26a&&(_0x5ad26a['is'](_0x1d2468(0xf9),_0x1d2468(0x108))||_0x5ad26a['is'](_0x1d2468(0xf9),_0x1d2468(0x105)))&&(this[_0x1d2468(0x113)]=new _0x26dd96(this[_0x1d2468(0x110)],this[_0x1d2468(0x110)][_0x1d2468(0x107)][_0x1d2468(0x114)](_0x4f7f60),_0x5ad26a),this[_0x1d2468(0x112)](_0x1d2468(0x116))['to'](this[_0x1d2468(0x113)],_0x1d2468(0x116)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54843d=_0x296b;function _0x296b(_0x33d94a,_0x3765cf){const _0x43d380=_0x43d3();return _0x296b=function(_0x296b4b,_0x31ca2e){_0x296b4b=_0x296b4b-0x1c3;let _0x816831=_0x43d380[_0x296b4b];return _0x816831;},_0x296b(_0x33d94a,_0x3765cf);}(function(_0x5e791e,_0x387521){const _0x1d31fe=_0x296b,_0x52d2e5=_0x5e791e();while(!![]){try{const _0x385498=parseInt(_0x1d31fe(0x1c7))/0x1*(parseInt(_0x1d31fe(0x1cd))/0x2)+-parseInt(_0x1d31fe(0x1d3))/0x3+-parseInt(_0x1d31fe(0x1c5))/0x4*(-parseInt(_0x1d31fe(0x1d9))/0x5)+parseInt(_0x1d31fe(0x1d1))/0x6*(parseInt(_0x1d31fe(0x1c9))/0x7)+parseInt(_0x1d31fe(0x1d4))/0x8*(-parseInt(_0x1d31fe(0x1c8))/0x9)+parseInt(_0x1d31fe(0x1c3))/0xa+-parseInt(_0x1d31fe(0x1d6))/0xb;if(_0x385498===_0x387521)break;else _0x52d2e5['push'](_0x52d2e5['shift']());}catch(_0x4d2b7b){_0x52d2e5['push'](_0x52d2e5['shift']());}}}(_0x43d3,0x92a9e));import{Plugin as _0x5c5a53}from'ckeditor5/src/core.js';import{Notification as _0x2d3486}from'ckeditor5/src/ui.js';function _0x43d3(){const _0x5d2094=['557922CXGGiS','isOfficialPlugin','requires','ImageEditing','2204772LRoGZf','UploadcareImageEditEditing','3236118UvZhgI','400IgOofm','pluginName','4646587bgjafs','init','uploadcareImageEdit','45VbiVIG','1344670IDjahZ','commands','289876vObAdM','ImageUtils','3WbHILs','112338hZmIqE','21UMkStZ','uploadcareImageReplace','add','isPremiumPlugin'];_0x43d3=function(){return _0x5d2094;};return _0x43d3();}import _0x200f7b from'./uploadcareimageeditcommand.js';import _0x3abaad from'./uploadcareimagereplacecommand.js';import _0x57a58d from'../uploadcareediting.js';export default class g extends _0x5c5a53{static get[_0x54843d(0x1d5)](){const _0x596d8a=_0x54843d;return _0x596d8a(0x1d2);}static get[_0x54843d(0x1cf)](){const _0x53f51b=_0x54843d;return[_0x57a58d,_0x2d3486,_0x53f51b(0x1c6),_0x53f51b(0x1d0)];}static get[_0x54843d(0x1ce)](){return!0x0;}static get[_0x54843d(0x1cc)](){return!0x0;}[_0x54843d(0x1d7)](){const _0xc87967=_0x54843d,{editor:_0x4fecc0}=this;_0x4fecc0[_0xc87967(0x1c4)][_0xc87967(0x1cb)](_0xc87967(0x1d8),new _0x200f7b(_0x4fecc0)),_0x4fecc0[_0xc87967(0x1c4)][_0xc87967(0x1cb)](_0xc87967(0x1ca),new _0x3abaad(_0x4fecc0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x6fb2ad}from'ckeditor5/src/core.js';import{ButtonView as _0x338753}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x46326e}from'ckeditor5/src/icons.js';import{createElement as _0xdcaafd}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x6fb2ad{['_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 _0x5f25dc=this['editor'];_0x5f25dc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ab38a=>{const _0x352ac3=_0x5f25dc['commands']['get']('uploadcareImageEdit'),_0x33b365=new _0x338753(_0x4ab38a),t=_0x4ab38a['t'];return _0x33b365['set']({'icon':_0x46326e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x33b365['bind']('isEnabled')['to'](_0x352ac3),_0x33b365['bind']('isOn')['to'](_0x352ac3,'isActive'),this['listenTo'](_0x33b365,'execute',()=>{_0x5f25dc['execute']('uploadcareImageEdit'),_0x5f25dc['editing']['view']['focus']();}),_0x33b365;}),this['_initConfig']();}['_initConfig'](){const _0x5d44bd=_0xdcaafd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d44bd),this['listenTo'](this['editor'],'destroy',()=>{_0x5d44bd['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ed0(_0xf57089,_0x46fc94){const _0x578b42=_0x578b();return _0x5ed0=function(_0x5ed011,_0x165caf){_0x5ed011=_0x5ed011-0x140;let _0x47c628=_0x578b42[_0x5ed011];return _0x47c628;},_0x5ed0(_0xf57089,_0x46fc94);}const _0x56531b=_0x5ed0;(function(_0x3997ee,_0x4f746d){const _0x3d7d09=_0x5ed0,_0x4f873b=_0x3997ee();while(!![]){try{const _0x1f42fe=parseInt(_0x3d7d09(0x145))/0x1*(parseInt(_0x3d7d09(0x14a))/0x2)+parseInt(_0x3d7d09(0x14e))/0x3*(-parseInt(_0x3d7d09(0x152))/0x4)+-parseInt(_0x3d7d09(0x14f))/0x5*(parseInt(_0x3d7d09(0x141))/0x6)+parseInt(_0x3d7d09(0x14b))/0x7+-parseInt(_0x3d7d09(0x151))/0x8+-parseInt(_0x3d7d09(0x159))/0x9+parseInt(_0x3d7d09(0x147))/0xa;if(_0x1f42fe===_0x4f746d)break;else _0x4f873b['push'](_0x4f873b['shift']());}catch(_0x5e84ee){_0x4f873b['push'](_0x4f873b['shift']());}}}(_0x578b,0xd9376));function _0x578b(){const _0x168bd5=['27209080mGEllx','element','change','4640ikUeWb','6649958RHhIiR','selection','setAttributes','1240905tCSgeO','84380btAFsL','sizes','8456808GGvzRX','12ijyNzM','execute','imageInline','document','srcset','refresh','removeAttribute','1948446kDzxSW','isEnabled','174KlYxum','editor','model','imageBlock','96JSwjcX','getSelectedElement'];_0x578b=function(){return _0x168bd5;};return _0x578b();}import{Command as _0x424570}from'ckeditor5/src/core.js';export default class X extends _0x424570{[_0x56531b(0x157)](){const _0x3dfc4e=_0x56531b,_0x14ac5a=this[_0x3dfc4e(0x142)][_0x3dfc4e(0x143)][_0x3dfc4e(0x155)][_0x3dfc4e(0x14c)][_0x3dfc4e(0x146)]();this[_0x3dfc4e(0x140)]=Boolean(_0x14ac5a&&(_0x14ac5a['is'](_0x3dfc4e(0x148),_0x3dfc4e(0x144))||_0x14ac5a['is'](_0x3dfc4e(0x148),_0x3dfc4e(0x154))));}[_0x56531b(0x153)](_0xa79fa4){const _0x527777=_0x56531b,_0x3c37ed=this[_0x527777(0x142)][_0x527777(0x143)][_0x527777(0x155)][_0x527777(0x14c)][_0x527777(0x146)]();this[_0x527777(0x142)][_0x527777(0x143)][_0x527777(0x149)](_0x5e1976=>{const _0x10478a=_0x527777;_0x5e1976[_0x10478a(0x14d)](_0xa79fa4,_0x3c37ed),_0x5e1976[_0x10478a(0x158)](_0x10478a(0x156),_0x3c37ed),_0x5e1976[_0x10478a(0x158)](_0x10478a(0x150),_0x3c37ed);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x476062=_0x4685;(function(_0x8d6a2e,_0x2f8d28){var _0x9787=_0x4685,_0x126b1f=_0x8d6a2e();while(!![]){try{var _0x10368b=-parseInt(_0x9787(0x10c))/0x1+-parseInt(_0x9787(0x102))/0x2+-parseInt(_0x9787(0x103))/0x3*(-parseInt(_0x9787(0x107))/0x4)+parseInt(_0x9787(0x105))/0x5+-parseInt(_0x9787(0x10b))/0x6+-parseInt(_0x9787(0x113))/0x7*(parseInt(_0x9787(0x112))/0x8)+-parseInt(_0x9787(0x10f))/0x9*(-parseInt(_0x9787(0x110))/0xa);if(_0x10368b===_0x2f8d28)break;else _0x126b1f['push'](_0x126b1f['shift']());}catch(_0x4d18a8){_0x126b1f['push'](_0x126b1f['shift']());}}}(_0x4df4,0x36f17));import{FocusTracker as _0xd63dba}from'ckeditor5/src/utils.js';function _0x4df4(){var _0x4951f8=['824udhLic','focusTracker','fire','true','2552028kcBAPd','74532fFxbTx','focusCycler','div','5337IkSWJn','14180eIYbFF','forwardCycle','33008YlfGcC','476SpIgRr','bindTemplate','447302SDECDz','4236VQTXap','getFocusableElement','486950HFSJmt','createCollection'];_0x4df4=function(){return _0x4951f8;};return _0x4df4();}import{View as _0x3655bb,FocusCycler as _0x255e4b}from'ckeditor5/src/ui.js';function _0x4685(_0xce2a59,_0x37bb44){var _0x4df4af=_0x4df4();return _0x4685=function(_0x4685ad,_0x4fca82){_0x4685ad=_0x4685ad-0x101;var _0x1cff11=_0x4df4af[_0x4685ad];return _0x1cff11;},_0x4685(_0xce2a59,_0x37bb44);}import'../../theme/uploadcare-form.css';export default class q extends _0x3655bb{[_0x476062(0x108)];[_0x476062(0x10d)];constructor(_0x477a79){var _0x1014b3=_0x476062;super(_0x477a79),this[_0x1014b3(0x108)]=new _0xd63dba(),this[_0x1014b3(0x10d)]=new _0x255e4b({'focusables':this[_0x1014b3(0x106)](),'focusTracker':this[_0x1014b3(0x108)]});}[_0x476062(0x104)](){var _0x1e82d4=_0x476062;return{'tag':_0x1e82d4(0x10e),'attributes':{'aria-hidden':_0x1e82d4(0x10a),'tabindex':'0'},'on':{'focus':this[_0x1e82d4(0x101)]['to'](()=>{var _0x31b231=_0x1e82d4;this[_0x31b231(0x10d)][_0x31b231(0x109)](_0x31b231(0x111));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x121a06,_0x11d088){const _0x46f7e1=_0x2a6e,_0x53b76c=_0x121a06();while(!![]){try{const _0x29511e=parseInt(_0x46f7e1(0x222))/0x1+-parseInt(_0x46f7e1(0x213))/0x2*(parseInt(_0x46f7e1(0x210))/0x3)+-parseInt(_0x46f7e1(0x1f8))/0x4*(-parseInt(_0x46f7e1(0x200))/0x5)+parseInt(_0x46f7e1(0x1fe))/0x6+parseInt(_0x46f7e1(0x214))/0x7*(-parseInt(_0x46f7e1(0x205))/0x8)+parseInt(_0x46f7e1(0x1ef))/0x9*(-parseInt(_0x46f7e1(0x212))/0xa)+-parseInt(_0x46f7e1(0x20e))/0xb*(parseInt(_0x46f7e1(0x1f1))/0xc);if(_0x29511e===_0x11d088)break;else _0x53b76c['push'](_0x53b76c['shift']());}catch(_0x1a8782){_0x53b76c['push'](_0x53b76c['shift']());}}}(_0x52e2,0x1fbd9));function _0x2a6e(_0x39143a,_0x109b53){const _0x52e2b9=_0x52e2();return _0x2a6e=function(_0x2a6ebe,_0x2c0aa1){_0x2a6ebe=_0x2a6ebe-0x1ed;let _0x45fcc7=_0x52e2b9[_0x2a6ebe];return _0x45fcc7;},_0x2a6e(_0x39143a,_0x109b53);}import{global as _0x568f79,DomEmitterMixin as _0x11e2bb}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x54c74c){const _0x58b573=_0x2a6e,_0x164a76=R(_0x54c74c);return _0x5692e6=>!(!_0x5692e6||!_0x5692e6['is'](_0x58b573(0x223),_0x58b573(0x215))&&!_0x5692e6['is'](_0x58b573(0x223),_0x58b573(0x218)))&&(!!_0x5692e6[_0x58b573(0x1f9)](_0x58b573(0x206))||!!_0x5692e6[_0x58b573(0x1f9)](_0x58b573(0x1fc))&&_0x164a76(_0x5692e6[_0x58b573(0x220)](_0x58b573(0x1fc))));}export function getImageUrls(_0x1b0994,_0x3658f9){const _0x479654=_0x2a6e,_0x23c169=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x479654(0x216)](_0x1eab6e=>_0x1eab6e<=_0x3658f9)[_0x479654(0x1fb)](_0x124710=>_0x1b0994[_0x479654(0x1fd)](/\/$/,'')+_0x479654(0x1f4)+_0x124710+_0x479654(0x1f0)+_0x124710+'w');return{'imageFallbackUrl':_0x1b0994,'imageSources':[{'srcset':_0x23c169[_0x479654(0x226)](',\x20'),'sizes':_0x479654(0x21c)+_0x3658f9+_0x479654(0x1f3)+_0x3658f9+'px','type':_0x479654(0x202)}]};}function _0x52e2(){const _0x540bff=['height','217003MJYAsN','element','origin','view','join','removeStyle','change','image-processing','document','113931gfqZhP','x/\x20','108gSYfrb','create','px)\x20100vw,\x20','/-/resize/','addClass','listenTo','setStyle','28kiLkOK','hasAttribute','width','map','src','replace','259956wkaZde','editing','53895jxCsNI','domConverter','image/webp','toViewElement','match','12936AKiOMz','uploadcareImageId','findViewImgElement','stopListening','isArray','aspect-ratio','plugins','get','baseURI','82698lbArGE','some','265614IcLTjA','mapper','20ixRKiQ','2SlaGSt','105vnAxHT','imageBlock','filter','function','imageInline','removeClass','viewToDom','load','(max-width:\x20','ImageUtils','window','location','getAttribute'];_0x52e2=function(){return _0x540bff;};return _0x52e2();}export function getImageDimension(_0x38c783,_0x545bf1,_0x2ab3d5){const _0x2270ae=_0x2a6e,_0x21087c=_0x38c783[_0x2270ae(0x204)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x21087c?parseInt(_0x21087c[0x1],0xa):_0x545bf1,'height':_0x21087c?parseInt(_0x21087c[0x2],0xa):_0x2ab3d5};}export function showImageProcessingIndicator(_0x175af8,_0x2a3e30){const _0x2b34c8=_0x2a6e,_0x5d85c3=Object[_0x2b34c8(0x1f2)](_0x11e2bb),_0x139463=_0x175af8[_0x2b34c8(0x20b)][_0x2b34c8(0x20c)](_0x2b34c8(0x21d)),_0x571a95=_0x175af8[_0x2b34c8(0x1ff)][_0x2b34c8(0x211)][_0x2b34c8(0x203)](_0x2a3e30),_0xb20e26=_0x139463[_0x2b34c8(0x207)](_0x571a95),_0x17d6e6=_0x175af8[_0x2b34c8(0x1ff)][_0x2b34c8(0x225)][_0x2b34c8(0x201)][_0x2b34c8(0x21a)](_0xb20e26),_0x3262e4=_0x2a3e30[_0x2b34c8(0x220)](_0x2b34c8(0x1fa)),_0x47cd5e=_0x2a3e30[_0x2b34c8(0x220)](_0x2b34c8(0x221)),_0x16e964=_0x2b34c8(0x1ed);_0x175af8[_0x2b34c8(0x1ff)][_0x2b34c8(0x225)][_0x2b34c8(0x228)](_0x2c261=>{const _0xaa4cdf=_0x2b34c8;_0x2c261[_0xaa4cdf(0x1f5)](_0x16e964,_0x571a95),_0x2c261[_0xaa4cdf(0x1f7)](_0xaa4cdf(0x20a),_0x3262e4+'/'+_0x47cd5e,_0xb20e26);}),_0x5d85c3[_0x2b34c8(0x1f6)](_0x17d6e6,_0x2b34c8(0x21b),()=>{const _0x112075=_0x2b34c8;_0x5d85c3[_0x112075(0x208)](_0x17d6e6,_0x112075(0x21b)),_0x175af8[_0x112075(0x1ff)][_0x112075(0x225)][_0x112075(0x228)](_0x299733=>{const _0x457e57=_0x112075;_0x299733[_0x457e57(0x219)](_0x16e964,_0x571a95),_0x299733[_0x457e57(0x227)](_0x457e57(0x20a),_0xb20e26);});});}function R(_0x53814b){const _0x6bcd67=_0x2a6e;if(Array[_0x6bcd67(0x209)](_0x53814b)){const _0x2b6353=_0x53814b[_0x6bcd67(0x1fb)](R);return _0x17930a=>_0x2b6353[_0x6bcd67(0x20f)](_0x1bbced=>_0x1bbced(_0x17930a));}if(_0x6bcd67(0x224)==_0x53814b){const _0x3eab6b=_0x568f79[_0x6bcd67(0x21e)][_0x6bcd67(0x21f)][_0x6bcd67(0x224)];return _0x43fdae=>new URL(_0x43fdae,_0x568f79[_0x6bcd67(0x1ee)][_0x6bcd67(0x20d)])[_0x6bcd67(0x224)]==_0x3eab6b;}return _0x6bcd67(0x217)==typeof _0x53814b?_0x53814b:_0x53814b instanceof RegExp?_0x221c85=>!(!_0x221c85[_0x6bcd67(0x204)](_0x53814b)&&!_0x221c85[_0x6bcd67(0x1fd)](/^https?:\/\//,'')[_0x6bcd67(0x204)](_0x53814b)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xd86717,_0x1e42ca){var _0x63a882=_0x5d5f,_0x248cd3=_0xd86717();while(!![]){try{var _0x4f3e40=parseInt(_0x63a882(0xb1))/0x1+-parseInt(_0x63a882(0xb6))/0x2*(-parseInt(_0x63a882(0xbb))/0x3)+parseInt(_0x63a882(0xb2))/0x4*(-parseInt(_0x63a882(0xbe))/0x5)+-parseInt(_0x63a882(0xbc))/0x6*(-parseInt(_0x63a882(0xb3))/0x7)+parseInt(_0x63a882(0xb8))/0x8*(-parseInt(_0x63a882(0xbf))/0x9)+parseInt(_0x63a882(0xbd))/0xa*(-parseInt(_0x63a882(0xb9))/0xb)+parseInt(_0x63a882(0xb4))/0xc*(parseInt(_0x63a882(0xb7))/0xd);if(_0x4f3e40===_0x1e42ca)break;else _0x248cd3['push'](_0x248cd3['shift']());}catch(_0x1eef66){_0x248cd3['push'](_0x248cd3['shift']());}}}(_0x318a,0x515ab));function _0x318a(){var _0x1a0da7=['4107519HfXXwb','268032gtiUhm','4PTIUaS','14SnQemP','12640260sOBnyb','includes','429542JYNVaP','13wvWHCq','8FDvMQP','4378wDdTEk','target','3BhwpmI','175380RPBHrD','8150AmmBwg','2403150biuZHB'];_0x318a=function(){return _0x1a0da7;};return _0x318a();}import{getAncestors as _0x45d0bc}from'ckeditor5/src/utils.js';function _0x5d5f(_0x414baf,_0x36260b){var _0x318ad4=_0x318a();return _0x5d5f=function(_0x5d5f78,_0x26ba2f){_0x5d5f78=_0x5d5f78-0xb1;var _0x545b63=_0x318ad4[_0x5d5f78];return _0x545b63;},_0x5d5f(_0x414baf,_0x36260b);}export function isAncestor(_0x432c64,_0x4220f5){var _0x30044c=_0x5d5f;return _0x45d0bc(_0x432c64[_0x30044c(0xba)])[_0x30044c(0xb5)](_0x4220f5);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3d00(_0x5c5f9e,_0x2741dc){var _0x56fdc7=_0x56fd();return _0x3d00=function(_0x3d00ae,_0x5c103b){_0x3d00ae=_0x3d00ae-0x1b6;var _0x29a49c=_0x56fdc7[_0x3d00ae];return _0x29a49c;},_0x3d00(_0x5c5f9e,_0x2741dc);}var _0x38ffae=_0x3d00;(function(_0x3a37e5,_0x481ace){var _0x2c3ba0=_0x3d00,_0x2b1676=_0x3a37e5();while(!![]){try{var _0x47c49f=parseInt(_0x2c3ba0(0x1b6))/0x1*(-parseInt(_0x2c3ba0(0x1ba))/0x2)+parseInt(_0x2c3ba0(0x1bb))/0x3+-parseInt(_0x2c3ba0(0x1bf))/0x4*(-parseInt(_0x2c3ba0(0x1bd))/0x5)+-parseInt(_0x2c3ba0(0x1be))/0x6+parseInt(_0x2c3ba0(0x1bc))/0x7*(parseInt(_0x2c3ba0(0x1c1))/0x8)+parseInt(_0x2c3ba0(0x1c2))/0x9+parseInt(_0x2c3ba0(0x1b9))/0xa;if(_0x47c49f===_0x481ace)break;else _0x2b1676['push'](_0x2b1676['shift']());}catch(_0x632987){_0x2b1676['push'](_0x2b1676['shift']());}}}(_0x56fd,0x976fa));import{uploadFile as _0x3867f6,info as _0x30ba}from'@uploadcare/upload-client';function _0x56fd(){var _0x280a8d=['8315200vjnNRO','1246954UdebtO','618312GIqAOD','71148oePEcV','1442485lpGenK','5006226RnGGtQ','4AXFiuv','getInfo','88xoZGpa','5761845gyZsYV','1gmHbgG','upload','auto'];_0x56fd=function(){return _0x280a8d;};return _0x56fd();}export default class C{static[_0x38ffae(0x1b7)]({file:_0x3be8ea,publicKey:_0x51f08e,signal:_0x48d521,onProgress:_0x9294eb}){var _0x398722=_0x38ffae;return _0x3867f6(_0x3be8ea,{'publicKey':_0x51f08e,'store':_0x398722(0x1b8),'signal':_0x48d521,'onProgress':_0x9294eb});}static[_0x38ffae(0x1c0)](_0x420408,_0x28ae44){return _0x30ba(_0x420408,_0x28ae44);}}
|