@ckeditor/ckeditor5-uploadcare 45.2.0-alpha.6 → 45.2.0-alpha.7
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 _0x5b170a=_0x43b5;(function(_0x2de387,_0x38e2b5){const _0x2657ce=_0x43b5,_0x576460=_0x2de387();while(!![]){try{const _0x17dc66=-parseInt(_0x2657ce(0x1c6))/0x1+-parseInt(_0x2657ce(0x1ba))/0x2*(-parseInt(_0x2657ce(0x1ce))/0x3)+-parseInt(_0x2657ce(0x1e4))/0x4+parseInt(_0x2657ce(0x1d0))/0x5*(parseInt(_0x2657ce(0x1cd))/0x6)+parseInt(_0x2657ce(0x1b2))/0x7*(-parseInt(_0x2657ce(0x1c5))/0x8)+-parseInt(_0x2657ce(0x1e9))/0x9*(parseInt(_0x2657ce(0x1b9))/0xa)+parseInt(_0x2657ce(0x1c3))/0xb;if(_0x17dc66===_0x38e2b5)break;else _0x576460['push'](_0x576460['shift']());}catch(_0x2185b7){_0x576460['push'](_0x576460['shift']());}}}(_0x4da6,0xb8474));import{View as _0x54baa8}from'ckeditor5/src/ui.js';function _0x43b5(_0x354a9e,_0x370bc8){const _0x4da67a=_0x4da6();return _0x43b5=function(_0x43b5e3,_0xc68995){_0x43b5e3=_0x43b5e3-0x1b2;let _0x51511e=_0x4da67a[_0x43b5e3];return _0x51511e;},_0x43b5(_0x354a9e,_0x370bc8);}import _0x22c985 from'./uploadcareimageeditformloadingview.js';function _0x4da6(){const _0x1d44cd=['_loadingView','5vjTfGq','toLowerCase','addedNodes','addEventListener','apply','uploading','disconnect','fire','_setView','render','length','div','_errorView','retry','_addErrorViewListeners','set','error','querySelector','add','_editingView','1550060mUeMWB','addMany','ck-reset_all-excluded','_items','_addUploadcareImageEditorListeners','1247364gQTNQH','7EhkGDW','target','filter','cancel','status','observe','uc-cloud-image-editor','10CaCDOi','4GKiCfK','_focusableView','focus','createCollection','ready','element','setTemplate','once','getFocusableElement','3990745Uotsvf','detail','6000536zMyDqe','633228zMSSbN','clear','ck-uploadcare-form','change:status','nodeName','cdnUrl','_waitForImageEditorComponent','4874574JipKNz','2233479WDAGbe'];_0x4da6=function(){return _0x1d44cd;};return _0x4da6();}import _0x4e4f7b from'./uploadcareimageeditformerrorview.js';import _0x1c5db3 from'./uploadcareimageeditformeditingview.js';import _0xf6f846 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xf6f846{[_0x5b170a(0x1e7)];[_0x5b170a(0x1cf)];[_0x5b170a(0x1dc)];[_0x5b170a(0x1e3)];[_0x5b170a(0x1bb)];constructor(_0x408629,_0x2489d7,_0x50f868){const _0x91f888=_0x5b170a;super(_0x408629),this[_0x91f888(0x1e7)]=this[_0x91f888(0x1bd)](),this[_0x91f888(0x1cf)]=new _0x22c985(_0x408629),this[_0x91f888(0x1dc)]=new _0x4e4f7b(_0x408629),this[_0x91f888(0x1e3)]=new _0x1c5db3(_0x408629,_0x50f868),this[_0x91f888(0x1bb)]=new _0x54baa8(_0x408629),this[_0x91f888(0x1bb)][_0x91f888(0x1c0)](this[_0x91f888(0x1c2)]()),this[_0x91f888(0x1df)](_0x91f888(0x1b6),_0x2489d7),this[_0x91f888(0x1c0)]({'tag':_0x91f888(0x1db),'attributes':{'class':['ck',_0x91f888(0x1e6),_0x91f888(0x1c8)],'tabindex':'-1'},'children':this[_0x91f888(0x1e7)]}),this[_0x91f888(0x1d8)](),this[_0x91f888(0x1c1)](_0x91f888(0x1d9),()=>{const _0x32fcdb=_0x91f888;this[_0x32fcdb(0x1cc)](this[_0x32fcdb(0x1bf)],_0x665bec=>{const _0x2a5a9d=_0x32fcdb;this[_0x2a5a9d(0x1e8)](_0x665bec);});}),this['on'](_0x91f888(0x1c9),()=>{const _0x26feae=_0x91f888;this[_0x26feae(0x1d8)]();}),this[_0x91f888(0x1de)]();}[_0x5b170a(0x1bc)](){const _0x40a36c=_0x5b170a;this[_0x40a36c(0x1bf)][_0x40a36c(0x1bc)]();}[_0x5b170a(0x1d8)](){const _0x21c85b=_0x5b170a;switch(this[_0x21c85b(0x1e7)][_0x21c85b(0x1c7)](),this[_0x21c85b(0x1b6)]){case _0x21c85b(0x1d5):this[_0x21c85b(0x1e7)][_0x21c85b(0x1e2)](this[_0x21c85b(0x1cf)]);break;case _0x21c85b(0x1e0):this[_0x21c85b(0x1e7)][_0x21c85b(0x1e2)](this[_0x21c85b(0x1dc)]);break;case _0x21c85b(0x1be):this[_0x21c85b(0x1e7)][_0x21c85b(0x1e5)]([this[_0x21c85b(0x1e3)],this[_0x21c85b(0x1bb)]]);}}[_0x5b170a(0x1cc)](_0x3f156e,_0x29d793){const _0xfccddc=_0x5b170a,_0x5bf9ec=_0xfccddc(0x1b8),_0xa272b1=_0x3f156e[_0xfccddc(0x1e1)](_0x5bf9ec);if(_0xa272b1)return _0x29d793(_0xa272b1);const _0x51f120=new MutationObserver(_0x49e91a=>{const _0x354e19=_0xfccddc,_0xdcd5fe=_0x49e91a[_0x354e19(0x1b4)](_0x3b8c04=>_0x3b8c04[_0x354e19(0x1b3)]===_0x3f156e&&_0x3b8c04[_0x354e19(0x1d2)][_0x354e19(0x1da)]>0x0&&_0x3b8c04[_0x354e19(0x1d2)][0x0][_0x354e19(0x1ca)][_0x354e19(0x1d1)]()===_0x5bf9ec);_0xdcd5fe[_0x354e19(0x1da)]&&(_0x51f120[_0x354e19(0x1d6)](),_0x29d793(_0xdcd5fe[0x0][_0x354e19(0x1d2)][0x0]));});_0x51f120[_0xfccddc(0x1b7)](_0x3f156e,{'childList':!0x0,'subtree':!0x0});}[_0x5b170a(0x1e8)](_0x224537){const _0x58766d=_0x5b170a;_0x224537[_0x58766d(0x1d3)](_0x58766d(0x1d4),_0xc7b805=>{const _0x448e03=_0x58766d;this[_0x448e03(0x1d7)](_0x448e03(0x1d4),{'imageSrc':_0xc7b805[_0x448e03(0x1c4)][_0x448e03(0x1cb)]});}),_0x224537[_0x58766d(0x1d3)](_0x58766d(0x1b5),()=>{const _0x15b28b=_0x58766d;this[_0x15b28b(0x1d7)](_0x15b28b(0x1b5));});}[_0x5b170a(0x1de)](){const _0x33c0eb=_0x5b170a;this[_0x33c0eb(0x1dc)]['on'](_0x33c0eb(0x1dd),()=>{const _0x13c520=_0x33c0eb;this[_0x13c520(0x1d7)](_0x13c520(0x1dd));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1e2cf2=_0x14ad;(function(_0x29ab25,_0x5f588e){const _0x7a46e4=_0x14ad,_0x3f513c=_0x29ab25();while(!![]){try{const _0x4becb1=parseInt(_0x7a46e4(0x17b))/0x1+parseInt(_0x7a46e4(0x172))/0x2+parseInt(_0x7a46e4(0x17d))/0x3+-parseInt(_0x7a46e4(0x16d))/0x4*(parseInt(_0x7a46e4(0x178))/0x5)+-parseInt(_0x7a46e4(0x16c))/0x6+-parseInt(_0x7a46e4(0x179))/0x7*(-parseInt(_0x7a46e4(0x17c))/0x8)+parseInt(_0x7a46e4(0x16a))/0x9*(-parseInt(_0x7a46e4(0x171))/0xa);if(_0x4becb1===_0x5f588e)break;else _0x3f513c['push'](_0x3f513c['shift']());}catch(_0x1dc2d3){_0x3f513c['push'](_0x3f513c['shift']());}}}(_0x5d5c,0xa8c98));function _0x14ad(_0x6edc94,_0x2e3f38){const _0x5d5c18=_0x5d5c();return _0x14ad=function(_0x14ad31,_0x5c9e76){_0x14ad31=_0x14ad31-0x163;let _0x312db8=_0x5d5c18[_0x14ad31];return _0x312db8;},_0x14ad(_0x6edc94,_0x2e3f38);}import{Command as _0x48bd73}from'ckeditor5/src/core.js';import{Dialog as _0x52f317}from'ckeditor5/src/ui.js';import _0x278453 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1a7fad}from'../utils/editingutils.js';export default class J extends _0x48bd73{[_0x1e2cf2(0x17a)];static get[_0x1e2cf2(0x16e)](){return[_0x52f317];}[_0x1e2cf2(0x182)];constructor(_0x2b03e7){const _0x51df1d=_0x1e2cf2;super(_0x2b03e7),this[_0x51df1d(0x17a)]=void 0x0,this[_0x51df1d(0x182)]=_0x1a7fad(_0x2b03e7[_0x51df1d(0x174)][_0x51df1d(0x16b)](_0x51df1d(0x180))||[]),this[_0x51df1d(0x168)]({'isActive':!0x1});}[_0x1e2cf2(0x177)](){const _0x19f11e=_0x1e2cf2,_0x5c7dd5=this[_0x19f11e(0x163)][_0x19f11e(0x17f)][_0x19f11e(0x165)][_0x19f11e(0x173)][_0x19f11e(0x166)]();this[_0x19f11e(0x175)]=this[_0x19f11e(0x182)](_0x5c7dd5);}[_0x1e2cf2(0x176)](){const _0x132cd7=_0x1e2cf2;this[_0x132cd7(0x17a)]&&(this[_0x132cd7(0x17e)](_0x132cd7(0x170)),this[_0x132cd7(0x17a)]=void 0x0);const _0x16ae49=this[_0x132cd7(0x163)][_0x132cd7(0x17f)][_0x132cd7(0x165)][_0x132cd7(0x173)][_0x132cd7(0x166)]();_0x16ae49&&(_0x16ae49['is'](_0x132cd7(0x167),_0x132cd7(0x16f))||_0x16ae49['is'](_0x132cd7(0x167),_0x132cd7(0x181)))&&(this[_0x132cd7(0x17a)]=new _0x278453(this[_0x132cd7(0x163)],this[_0x132cd7(0x163)][_0x132cd7(0x169)][_0x132cd7(0x16b)](_0x52f317),_0x16ae49),this[_0x132cd7(0x164)](_0x132cd7(0x170))['to'](this[_0x132cd7(0x17a)],_0x132cd7(0x170)));}}function _0x5d5c(){const _0x93eb92=['bind','document','getSelectedElement','element','set','plugins','750231pIUdna','get','3117258qlcBTr','44ykptRA','requires','imageBlock','isActive','310MQOzTA','1596528lDsvCe','selection','config','isEnabled','execute','refresh','164770xztyxM','6855989FTKeQx','imageEditController','1011194onkWrU','8VhoHoW','4105899Uonnfi','unbind','model','uploadcare.allowExternalImagesEditing','imageInline','_isEditable','editor'];_0x5d5c=function(){return _0x93eb92;};return _0x5d5c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49dfa3=_0x4d04;(function(_0x148126,_0x210286){const _0x595adf=_0x4d04,_0xdf7fa5=_0x148126();while(!![]){try{const _0x235761=-parseInt(_0x595adf(0x1d4))/0x1+-parseInt(_0x595adf(0x1c6))/0x2*(parseInt(_0x595adf(0x1d6))/0x3)+-parseInt(_0x595adf(0x1d5))/0x4*(-parseInt(_0x595adf(0x1d7))/0x5)+-parseInt(_0x595adf(0x1db))/0x6*(-parseInt(_0x595adf(0x1d3))/0x7)+-parseInt(_0x595adf(0x1d0))/0x8*(-parseInt(_0x595adf(0x1c7))/0x9)+parseInt(_0x595adf(0x1c8))/0xa+-parseInt(_0x595adf(0x1d2))/0xb*(parseInt(_0x595adf(0x1cd))/0xc);if(_0x235761===_0x210286)break;else _0xdf7fa5['push'](_0xdf7fa5['shift']());}catch(_0x440c96){_0xdf7fa5['push'](_0xdf7fa5['shift']());}}}(_0x4873,0xd99bc));function _0x4d04(_0x26d01e,_0xbf9250){const _0x48739a=_0x4873();return _0x4d04=function(_0x4d0461,_0x182496){_0x4d0461=_0x4d0461-0x1c4;let _0x40e0eb=_0x48739a[_0x4d0461];return _0x40e0eb;},_0x4d04(_0x26d01e,_0xbf9250);}import{Plugin as _0x110d38}from'ckeditor5/src/core.js';import{Notification as _0x18c561}from'ckeditor5/src/ui.js';import _0x28c42f from'./uploadcareimageeditcommand.js';import _0xa695d from'./uploadcareimagereplacecommand.js';import _0x46f126 from'../uploadcareediting.js';function _0x4873(){const _0x635f14=['isOfficialPlugin','1496ZgaNiU','7483PLjAqS','565371mbEMoj','4204ajMrsE','11385SOcttF','245yTCWzN','commands','UploadcareImageEditEditing','ImageUtils','7812aXJvvT','add','uploadcareImageEdit','290jEidvc','171bnpQXL','701620xlgdMi','requires','pluginName','ImageEditing','init','77052TZsZcT','uploadcareImageReplace','isPremiumPlugin','575464eCOtaH'];_0x4873=function(){return _0x635f14;};return _0x4873();}export default class g extends _0x110d38{static get[_0x49dfa3(0x1ca)](){const _0x4fa5b4=_0x49dfa3;return _0x4fa5b4(0x1d9);}static get[_0x49dfa3(0x1c9)](){const _0x4f274a=_0x49dfa3;return[_0x46f126,_0x18c561,_0x4f274a(0x1da),_0x4f274a(0x1cb)];}static get[_0x49dfa3(0x1d1)](){return!0x0;}static get[_0x49dfa3(0x1cf)](){return!0x0;}[_0x49dfa3(0x1cc)](){const _0x1e54fa=_0x49dfa3,{editor:_0x56afea}=this;_0x56afea[_0x1e54fa(0x1d8)][_0x1e54fa(0x1c4)](_0x1e54fa(0x1c5),new _0x28c42f(_0x56afea)),_0x56afea[_0x1e54fa(0x1d8)][_0x1e54fa(0x1c4)](_0x1e54fa(0x1ce),new _0xa695d(_0x56afea));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x121453}from'ckeditor5/src/core.js';import{ButtonView as _0x5c8cc8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x409898}from'ckeditor5/src/icons.js';import{createElement as _0x2a6841}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 _0x121453{['_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 _0x2b32be=this['editor'];_0x2b32be['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc68bbf=>{const _0x8f7df2=_0x2b32be['commands']['get']('uploadcareImageEdit'),_0x11dfa4=new _0x5c8cc8(_0xc68bbf),t=_0xc68bbf['t'];return _0x11dfa4['set']({'icon':_0x409898,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11dfa4['bind']('isEnabled')['to'](_0x8f7df2),_0x11dfa4['bind']('isOn')['to'](_0x8f7df2,'isActive'),this['listenTo'](_0x11dfa4,'execute',()=>{_0x2b32be['execute']('uploadcareImageEdit'),_0x2b32be['editing']['view']['focus']();}),_0x11dfa4;}),this['_initConfig']();}['_initConfig'](){const _0x201e28=_0x2a6841(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x201e28),this['listenTo'](this['editor'],'destroy',()=>{_0x201e28['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5115(){const _0x56345d=['document','isEnabled','removeAttribute','48tmccVf','getSelectedElement','7PZJVXw','srcset','16340ySkWWG','sizes','element','selection','setAttributes','12591oseucw','refresh','369496eZSvQS','imageInline','983708edTtmD','model','3348762SKzdwk','editor','5287630sgLhwR','9744080MaalOP','imageBlock','execute','12862WnUXms','change'];_0x5115=function(){return _0x56345d;};return _0x5115();}const _0x5aa580=_0x109f;function _0x109f(_0x2c3a80,_0x37282c){const _0x5115f5=_0x5115();return _0x109f=function(_0x109fc0,_0xd7f8e6){_0x109fc0=_0x109fc0-0xf1;let _0x338d4b=_0x5115f5[_0x109fc0];return _0x338d4b;},_0x109f(_0x2c3a80,_0x37282c);}(function(_0x4f688f,_0x336d39){const _0x1f2c19=_0x109f,_0x1e3e9a=_0x4f688f();while(!![]){try{const _0x1ab45e=parseInt(_0x1f2c19(0x107))/0x1+-parseInt(_0x1f2c19(0xf5))/0x2*(-parseInt(_0x1f2c19(0xfa))/0x3)+parseInt(_0x1f2c19(0x105))/0x4+parseInt(_0x1f2c19(0xf1))/0x5+parseInt(_0x1f2c19(0x109))/0x6*(-parseInt(_0x1f2c19(0xfc))/0x7)+parseInt(_0x1f2c19(0xf2))/0x8+-parseInt(_0x1f2c19(0x103))/0x9*(parseInt(_0x1f2c19(0xfe))/0xa);if(_0x1ab45e===_0x336d39)break;else _0x1e3e9a['push'](_0x1e3e9a['shift']());}catch(_0x377717){_0x1e3e9a['push'](_0x1e3e9a['shift']());}}}(_0x5115,0x95075));import{Command as _0x5bb868}from'ckeditor5/src/core.js';export default class O extends _0x5bb868{[_0x5aa580(0x104)](){const _0x2c3876=_0x5aa580,_0x5c1f19=this[_0x2c3876(0x10a)][_0x2c3876(0x108)][_0x2c3876(0xf7)][_0x2c3876(0x101)][_0x2c3876(0xfb)]();this[_0x2c3876(0xf8)]=Boolean(_0x5c1f19&&(_0x5c1f19['is'](_0x2c3876(0x100),_0x2c3876(0xf3))||_0x5c1f19['is'](_0x2c3876(0x100),_0x2c3876(0x106))));}[_0x5aa580(0xf4)](_0x4ce909){const _0xf930e6=_0x5aa580,_0x33806c=this[_0xf930e6(0x10a)][_0xf930e6(0x108)][_0xf930e6(0xf7)][_0xf930e6(0x101)][_0xf930e6(0xfb)]();this[_0xf930e6(0x10a)][_0xf930e6(0x108)][_0xf930e6(0xf6)](_0x460189=>{const _0x5891bf=_0xf930e6;_0x460189[_0x5891bf(0x102)](_0x4ce909,_0x33806c),_0x460189[_0x5891bf(0xf9)](_0x5891bf(0xfd),_0x33806c),_0x460189[_0x5891bf(0xf9)](_0x5891bf(0xff),_0x33806c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x434a6f=_0x1f91;function _0x1f91(_0x517ce7,_0x31e3ee){var _0xd88810=_0xd888();return _0x1f91=function(_0x1f91a9,_0x98ea94){_0x1f91a9=_0x1f91a9-0xe7;var _0x494758=_0xd88810[_0x1f91a9];return _0x494758;},_0x1f91(_0x517ce7,_0x31e3ee);}(function(_0x12ff9d,_0x355d75){var _0x51d3fa=_0x1f91,_0x184faf=_0x12ff9d();while(!![]){try{var _0x5d6b22=parseInt(_0x51d3fa(0xf2))/0x1*(parseInt(_0x51d3fa(0xe8))/0x2)+-parseInt(_0x51d3fa(0xf1))/0x3+-parseInt(_0x51d3fa(0xe9))/0x4+-parseInt(_0x51d3fa(0xed))/0x5+-parseInt(_0x51d3fa(0xe7))/0x6*(-parseInt(_0x51d3fa(0xf4))/0x7)+-parseInt(_0x51d3fa(0xf0))/0x8+parseInt(_0x51d3fa(0xee))/0x9*(parseInt(_0x51d3fa(0xf7))/0xa);if(_0x5d6b22===_0x355d75)break;else _0x184faf['push'](_0x184faf['shift']());}catch(_0x58644e){_0x184faf['push'](_0x184faf['shift']());}}}(_0xd888,0x834be));import{FocusTracker as _0x21a706}from'ckeditor5/src/utils.js';import{View as _0x46be69,FocusCycler as _0x49de19}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x46be69{[_0x434a6f(0xf9)];[_0x434a6f(0xec)];constructor(_0x4fca42){var _0x606ab6=_0x434a6f;super(_0x4fca42),this[_0x606ab6(0xf9)]=new _0x21a706(),this[_0x606ab6(0xec)]=new _0x49de19({'focusables':this[_0x606ab6(0xea)](),'focusTracker':this[_0x606ab6(0xf9)]});}[_0x434a6f(0xeb)](){var _0x5b2186=_0x434a6f;return{'tag':_0x5b2186(0xf6),'attributes':{'aria-hidden':_0x5b2186(0xf5),'tabindex':'0'},'on':{'focus':this[_0x5b2186(0xf8)]['to'](()=>{var _0x249af8=_0x5b2186;this[_0x249af8(0xec)][_0x249af8(0xf3)](_0x249af8(0xef));})}};}}function _0xd888(){var _0x48bb4e=['fire','154NaTosN','true','div','430STHIJh','bindTemplate','focusTracker','240306xiXXOp','2032XnDbSH','2549052IhhWFh','createCollection','getFocusableElement','focusCycler','754095CsMzwB','224658PBcjnX','forwardCycle','5651416vPsiBE','1232655yXUhYZ','481iiABgB'];_0xd888=function(){return _0x48bb4e;};return _0xd888();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3a5dd,_0x17ae75){const _0xc7f9e2=_0x8dc4,_0x43b4f3=_0x3a5dd();while(!![]){try{const _0x9ec46e=-parseInt(_0xc7f9e2(0x181))/0x1*(parseInt(_0xc7f9e2(0x176))/0x2)+-parseInt(_0xc7f9e2(0x168))/0x3+-parseInt(_0xc7f9e2(0x162))/0x4+parseInt(_0xc7f9e2(0x169))/0x5*(-parseInt(_0xc7f9e2(0x178))/0x6)+-parseInt(_0xc7f9e2(0x16f))/0x7*(parseInt(_0xc7f9e2(0x194))/0x8)+-parseInt(_0xc7f9e2(0x163))/0x9*(parseInt(_0xc7f9e2(0x18a))/0xa)+parseInt(_0xc7f9e2(0x171))/0xb*(parseInt(_0xc7f9e2(0x161))/0xc);if(_0x9ec46e===_0x17ae75)break;else _0x43b4f3['push'](_0x43b4f3['shift']());}catch(_0x21165f){_0x43b4f3['push'](_0x43b4f3['shift']());}}}(_0xa2d1,0x81e12));import{global as _0x308e27,DomEmitterMixin as _0x213264}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x536a08){const _0x58dc65=_0x8dc4,_0x5db7b4=V(_0x536a08);return _0x4cdd22=>!(!_0x4cdd22||!_0x4cdd22['is'](_0x58dc65(0x17e),_0x58dc65(0x190))&&!_0x4cdd22['is'](_0x58dc65(0x17e),_0x58dc65(0x182)))&&(!!_0x4cdd22[_0x58dc65(0x19b)](_0x58dc65(0x160))||!!_0x4cdd22[_0x58dc65(0x19b)](_0x58dc65(0x184))&&_0x5db7b4(_0x4cdd22[_0x58dc65(0x170)](_0x58dc65(0x184))));}export function getImageUrls(_0x19e076,_0x488be7){const _0x2d32eb=_0x8dc4,_0x15613e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x2d32eb(0x198)](_0x3e211f=>_0x3e211f<=_0x488be7)[_0x2d32eb(0x165)](_0x41ebc5=>_0x19e076[_0x2d32eb(0x16c)](/\/$/,'')+_0x2d32eb(0x16a)+_0x41ebc5+_0x2d32eb(0x192)+_0x41ebc5+'w');return{'imageFallbackUrl':_0x19e076,'imageSources':[{'srcset':_0x15613e[_0x2d32eb(0x177)](',\x20'),'sizes':_0x2d32eb(0x17f)+_0x488be7+_0x2d32eb(0x17a)+_0x488be7+'px','type':_0x2d32eb(0x196)}]};}export function getImageDimension(_0x1faae8,_0x4fa0c1,_0x127a98){const _0x5b314b=_0x8dc4,_0x11b587=_0x1faae8[_0x5b314b(0x18f)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x11b587?parseInt(_0x11b587[0x1],0xa):_0x4fa0c1,'height':_0x11b587?parseInt(_0x11b587[0x2],0xa):_0x127a98};}function _0x8dc4(_0x41b050,_0x18313c){const _0xa2d1d1=_0xa2d1();return _0x8dc4=function(_0x8dc435,_0x4a7c86){_0x8dc435=_0x8dc435-0x160;let _0x445855=_0xa2d1d1[_0x8dc435];return _0x445855;},_0x8dc4(_0x41b050,_0x18313c);}export function showImageProcessingIndicator(_0x3a3d41,_0x594c4b){const _0x45f515=_0x8dc4,_0x4a5a89=Object[_0x45f515(0x197)](_0x213264),_0x21c51b=_0x3a3d41[_0x45f515(0x172)][_0x45f515(0x16b)](_0x45f515(0x17b)),_0x5e6c76=_0x3a3d41[_0x45f515(0x164)][_0x45f515(0x189)][_0x45f515(0x195)](_0x594c4b),_0x24f018=_0x21c51b[_0x45f515(0x174)](_0x5e6c76),_0x1dc4ec=_0x3a3d41[_0x45f515(0x164)][_0x45f515(0x18c)][_0x45f515(0x166)][_0x45f515(0x193)](_0x24f018),_0x310769=_0x594c4b[_0x45f515(0x170)](_0x45f515(0x16e)),_0x3b3927=_0x594c4b[_0x45f515(0x170)](_0x45f515(0x187)),_0x50c2cd=_0x45f515(0x18b);_0x3a3d41[_0x45f515(0x164)][_0x45f515(0x18c)][_0x45f515(0x17c)](_0x230f15=>{const _0x8fcf89=_0x45f515;_0x230f15[_0x8fcf89(0x173)](_0x50c2cd,_0x5e6c76),_0x230f15[_0x8fcf89(0x186)](_0x8fcf89(0x175),_0x310769+'/'+_0x3b3927,_0x24f018);}),_0x4a5a89[_0x45f515(0x183)](_0x1dc4ec,_0x45f515(0x18e),()=>{const _0x1cbd92=_0x45f515;_0x4a5a89[_0x1cbd92(0x188)](_0x1dc4ec,_0x1cbd92(0x18e)),_0x3a3d41[_0x1cbd92(0x164)][_0x1cbd92(0x18c)][_0x1cbd92(0x17c)](_0x5e3fa4=>{const _0x3ab213=_0x1cbd92;_0x5e3fa4[_0x3ab213(0x191)](_0x50c2cd,_0x5e6c76),_0x5e3fa4[_0x3ab213(0x199)](_0x3ab213(0x175),_0x24f018);});});}function V(_0x195721){const _0x442198=_0x8dc4;if(Array[_0x442198(0x180)](_0x195721)){const _0x5e0a82=_0x195721[_0x442198(0x165)](V);return _0x12d80a=>_0x5e0a82[_0x442198(0x17d)](_0x5a6a6d=>_0x5a6a6d(_0x12d80a));}if(_0x442198(0x179)==_0x195721){const _0x287d15=_0x308e27[_0x442198(0x167)][_0x442198(0x185)][_0x442198(0x179)];return _0x499b2d=>new URL(_0x499b2d,_0x308e27[_0x442198(0x19a)][_0x442198(0x16d)])[_0x442198(0x179)]==_0x287d15;}return _0x442198(0x18d)==typeof _0x195721?_0x195721:_0x195721 instanceof RegExp?_0x3d4b94=>!(!_0x3d4b94[_0x442198(0x18f)](_0x195721)&&!_0x3d4b94[_0x442198(0x16c)](/^https?:\/\//,'')[_0x442198(0x18f)](_0x195721)):()=>!0x1;}function _0xa2d1(){const _0x423259=['get','replace','baseURI','width','7aJLnxr','getAttribute','5357yOAtvM','plugins','addClass','findViewImgElement','aspect-ratio','203094KyVpEX','join','37452agENCK','origin','px)\x20100vw,\x20','ImageUtils','change','some','element','(max-width:\x20','isArray','9tLaSFT','imageInline','listenTo','src','location','setStyle','height','stopListening','mapper','190zVawdw','image-processing','view','function','load','match','imageBlock','removeClass','x/\x20','viewToDom','3730744qkbYey','toViewElement','image/webp','create','filter','removeStyle','document','hasAttribute','uploadcareImageId','104028SWAisb','2888920wntSuf','192861EahVZu','editing','map','domConverter','window','1274664rSHjWL','605ENPFYa','/-/resize/'];_0xa2d1=function(){return _0x423259;};return _0xa2d1();}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x542a1e,_0x2d5bd2){var _0x5ac397=_0x4ee7,_0x2e8b58=_0x542a1e();while(!![]){try{var _0x2f238f=parseInt(_0x5ac397(0x117))/0x1+parseInt(_0x5ac397(0x11d))/0x2*(parseInt(_0x5ac397(0x11f))/0x3)+parseInt(_0x5ac397(0x11b))/0x4*(parseInt(_0x5ac397(0x115))/0x5)+-parseInt(_0x5ac397(0x11c))/0x6+-parseInt(_0x5ac397(0x118))/0x7+parseInt(_0x5ac397(0x116))/0x8*(-parseInt(_0x5ac397(0x11a))/0x9)+-parseInt(_0x5ac397(0x114))/0xa;if(_0x2f238f===_0x2d5bd2)break;else _0x2e8b58['push'](_0x2e8b58['shift']());}catch(_0x54d306){_0x2e8b58['push'](_0x2e8b58['shift']());}}}(_0x5260,0xcaa0d));function _0x4ee7(_0x3e9e6c,_0x478595){var _0x52608e=_0x5260();return _0x4ee7=function(_0x4ee7b3,_0x1dd10a){_0x4ee7b3=_0x4ee7b3-0x114;var _0x1b5317=_0x52608e[_0x4ee7b3];return _0x1b5317;},_0x4ee7(_0x3e9e6c,_0x478595);}import{getAncestors as _0x1fff79}from'ckeditor5/src/utils.js';function _0x5260(){var _0x482b63=['1572946xvfoNb','5761973RCmWWk','includes','80532GBRuhm','4kjfpcG','2322474zdmLUc','46338BgjDdE','target','93XgmgMi','5900240iIReAj','5005870WWbYug','592KIShtx'];_0x5260=function(){return _0x482b63;};return _0x5260();}export function isAncestor(_0x3d5108,_0x4a4d22){var _0x13c79b=_0x4ee7;return _0x1fff79(_0x3d5108[_0x13c79b(0x11e)])[_0x13c79b(0x119)](_0x4a4d22);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x13a8(_0x393f54,_0x10814f){var _0x47175d=_0x4717();return _0x13a8=function(_0x13a8ef,_0x120d00){_0x13a8ef=_0x13a8ef-0x19f;var _0x3220f3=_0x47175d[_0x13a8ef];return _0x3220f3;},_0x13a8(_0x393f54,_0x10814f);}var _0x2756c9=_0x13a8;(function(_0x2864ad,_0x21c8d6){var _0x248642=_0x13a8,_0x2a98e0=_0x2864ad();while(!![]){try{var _0x40183b=-parseInt(_0x248642(0x1a5))/0x1+parseInt(_0x248642(0x1aa))/0x2*(parseInt(_0x248642(0x1a3))/0x3)+-parseInt(_0x248642(0x1a4))/0x4+parseInt(_0x248642(0x1ab))/0x5+parseInt(_0x248642(0x1a9))/0x6+parseInt(_0x248642(0x19f))/0x7*(-parseInt(_0x248642(0x1a6))/0x8)+-parseInt(_0x248642(0x1a0))/0x9*(-parseInt(_0x248642(0x1a2))/0xa);if(_0x40183b===_0x21c8d6)break;else _0x2a98e0['push'](_0x2a98e0['shift']());}catch(_0x319c8d){_0x2a98e0['push'](_0x2a98e0['shift']());}}}(_0x4717,0x41a6c));import{uploadFile as _0x4edba8,info as _0x51e8fd}from'@uploadcare/upload-client';function _0x4717(){var _0x31a70c=['623SSTSSd','9hjDRzx','upload','543170umaiWM','86991QulJhV','655472IgSkhq','361171aXtMsd','21776eMQdao','getInfo','auto','2867454bFVEnA','20nxwmKU','1070045CVtBkx'];_0x4717=function(){return _0x31a70c;};return _0x4717();}export default class C{static[_0x2756c9(0x1a1)]({file:_0xca56af,publicKey:_0x484a03,signal:_0x14c414,onProgress:_0x4d7131}){var _0x337354=_0x2756c9;return _0x4edba8(_0xca56af,{'publicKey':_0x484a03,'store':_0x337354(0x1a8),'signal':_0x14c414,'onProgress':_0x4d7131});}static[_0x2756c9(0x1a7)](_0x519ff4,_0x2f46af){return _0x51e8fd(_0x519ff4,_0x2f46af);}}
|