@ckeditor/ckeditor5-uploadcare 47.1.0-alpha.2 → 47.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +9 -9
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.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/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 _0x211163=_0x1863;(function(_0x32108c,_0x331fa6){const _0x2c5282=_0x1863,_0x428110=_0x32108c();while(!![]){try{const _0x20d9b2=parseInt(_0x2c5282(0xa5))/0x1+-parseInt(_0x2c5282(0x9a))/0x2*(-parseInt(_0x2c5282(0x78))/0x3)+-parseInt(_0x2c5282(0x9b))/0x4*(-parseInt(_0x2c5282(0xb1))/0x5)+parseInt(_0x2c5282(0xa6))/0x6*(parseInt(_0x2c5282(0xad))/0x7)+-parseInt(_0x2c5282(0x79))/0x8*(parseInt(_0x2c5282(0x99))/0x9)+parseInt(_0x2c5282(0x92))/0xa*(-parseInt(_0x2c5282(0xa8))/0xb)+-parseInt(_0x2c5282(0x84))/0xc*(-parseInt(_0x2c5282(0xaf))/0xd);if(_0x20d9b2===_0x331fa6)break;else _0x428110['push'](_0x428110['shift']());}catch(_0xd9c6e9){_0x428110['push'](_0x428110['shift']());}}}(_0x3b6c,0xae80f));import{View as _0x2b8972}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0xf9efa3}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x46dbbc}from'./uploadcareimageeditformerrorview.js';function _0x1863(_0x1e1d57,_0x428800){const _0x3b6c31=_0x3b6c();return _0x1863=function(_0x18638b,_0x5e51a1){_0x18638b=_0x18638b-0x78;let _0x47657e=_0x3b6c31[_0x18638b];return _0x47657e;},_0x1863(_0x1e1d57,_0x428800);}function _0x3b6c(){const _0x110552=['_waitForImageEditorComponent','1722SGhZMT','_addErrorViewListeners','52fETLIe','uc-cloud-image-editor','1963260DeZLHr','669tCVGyc','264BnnKyA','error','addMany','_focusableView','detail','_editingView','fire','_loadingView','clear','_errorView','querySelector','236724vCMmGk','change:status','target','_addUploadcareImageEditorListeners','addEventListener','status','filter','element','length','ck-uploadcare-form','focus','ready','once','createCollection','10gwUPmh','div','_items','apply','render','cdnUrl','getFocusableElement','142605COqfTJ','5560RiSoWA','4oCukrY','disconnect','ck-reset_all-excluded','add','setTemplate','nodeName','set','_setView','cancel','observe','1217096olVgHy','7332yUIQbH','addedNodes','15087116gexgyM','toLowerCase','uploading','retry'];_0x3b6c=function(){return _0x110552;};return _0x3b6c();}import{UploadcareImageEditFormEditingView as _0x595b34}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5a001e}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5a001e{[_0x211163(0x94)];[_0x211163(0x80)];[_0x211163(0x82)];[_0x211163(0x7e)];[_0x211163(0x7c)];constructor(_0x531736,_0x5bb237,_0x3056e2){const _0x5df76b=_0x211163;super(_0x531736),this[_0x5df76b(0x94)]=this[_0x5df76b(0x91)](),this[_0x5df76b(0x80)]=new _0xf9efa3(_0x531736),this[_0x5df76b(0x82)]=new _0x46dbbc(_0x531736),this[_0x5df76b(0x7e)]=new _0x595b34(_0x531736,_0x3056e2),this[_0x5df76b(0x7c)]=new _0x2b8972(_0x531736),this[_0x5df76b(0x7c)][_0x5df76b(0x9f)](this[_0x5df76b(0x98)]()),this[_0x5df76b(0xa1)](_0x5df76b(0x89),_0x5bb237),this[_0x5df76b(0x9f)]({'tag':_0x5df76b(0x93),'attributes':{'class':['ck',_0x5df76b(0x9d),_0x5df76b(0x8d)],'tabindex':'-1'},'children':this[_0x5df76b(0x94)]}),this[_0x5df76b(0xa2)](),this[_0x5df76b(0x90)](_0x5df76b(0x96),()=>{const _0x6b644a=_0x5df76b;this[_0x6b644a(0xac)](this[_0x6b644a(0x8b)],_0x46cfe1=>{const _0x529bd9=_0x6b644a;this[_0x529bd9(0x87)](_0x46cfe1);});}),this['on'](_0x5df76b(0x85),()=>{const _0x2e661e=_0x5df76b;this[_0x2e661e(0xa2)]();}),this[_0x5df76b(0xae)]();}[_0x211163(0x8e)](){const _0x39db3d=_0x211163;this[_0x39db3d(0x8b)][_0x39db3d(0x8e)]();}[_0x211163(0xa2)](){const _0x571bdf=_0x211163;switch(this[_0x571bdf(0x94)][_0x571bdf(0x81)](),this[_0x571bdf(0x89)]){case _0x571bdf(0xaa):this[_0x571bdf(0x94)][_0x571bdf(0x9e)](this[_0x571bdf(0x80)]);break;case _0x571bdf(0x7a):this[_0x571bdf(0x94)][_0x571bdf(0x9e)](this[_0x571bdf(0x82)]);break;case _0x571bdf(0x8f):this[_0x571bdf(0x94)][_0x571bdf(0x7b)]([this[_0x571bdf(0x7e)],this[_0x571bdf(0x7c)]]);}}[_0x211163(0xac)](_0x47c2b6,_0x4dd7d1){const _0x105311=_0x211163,_0x3b192c=_0x105311(0xb0),_0x25beff=_0x47c2b6[_0x105311(0x83)](_0x3b192c);if(_0x25beff)return _0x4dd7d1(_0x25beff);const _0x65b958=new MutationObserver(_0x1aec6e=>{const _0x1a25eb=_0x105311,_0x2b65b8=_0x1aec6e[_0x1a25eb(0x8a)](_0x1cf803=>_0x1cf803[_0x1a25eb(0x86)]===_0x47c2b6&&_0x1cf803[_0x1a25eb(0xa7)][_0x1a25eb(0x8c)]>0x0&&_0x1cf803[_0x1a25eb(0xa7)][0x0][_0x1a25eb(0xa0)][_0x1a25eb(0xa9)]()===_0x3b192c);_0x2b65b8[_0x1a25eb(0x8c)]&&(_0x65b958[_0x1a25eb(0x9c)](),_0x4dd7d1(_0x2b65b8[0x0][_0x1a25eb(0xa7)][0x0]));});_0x65b958[_0x105311(0xa4)](_0x47c2b6,{'childList':!0x0,'subtree':!0x0});}[_0x211163(0x87)](_0x115f6e){const _0x347b66=_0x211163;_0x115f6e[_0x347b66(0x88)](_0x347b66(0x95),_0x44c488=>{const _0xfa7574=_0x347b66;this[_0xfa7574(0x7f)](_0xfa7574(0x95),{'imageSrc':_0x44c488[_0xfa7574(0x7d)][_0xfa7574(0x97)]});}),_0x115f6e[_0x347b66(0x88)](_0x347b66(0xa3),()=>{const _0x4afc69=_0x347b66;this[_0x4afc69(0x7f)](_0x4afc69(0xa3));});}[_0x211163(0xae)](){const _0x445fe7=_0x211163;this[_0x445fe7(0x82)]['on'](_0x445fe7(0xab),()=>{const _0x4d4b8e=_0x445fe7;this[_0x4d4b8e(0x7f)](_0x4d4b8e(0xab));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x375b6f=_0x56aa;(function(_0x1eacd8,_0x3f37fb){const _0x15aae1=_0x56aa,_0x965168=_0x1eacd8();while(!![]){try{const _0x40674e=parseInt(_0x15aae1(0x1cd))/0x1*(parseInt(_0x15aae1(0x1d4))/0x2)+-parseInt(_0x15aae1(0x1c3))/0x3*(-parseInt(_0x15aae1(0x1d3))/0x4)+parseInt(_0x15aae1(0x1cb))/0x5*(-parseInt(_0x15aae1(0x1db))/0x6)+parseInt(_0x15aae1(0x1c6))/0x7+-parseInt(_0x15aae1(0x1c2))/0x8+parseInt(_0x15aae1(0x1e1))/0x9*(-parseInt(_0x15aae1(0x1dc))/0xa)+parseInt(_0x15aae1(0x1c9))/0xb;if(_0x40674e===_0x3f37fb)break;else _0x965168['push'](_0x965168['shift']());}catch(_0x20bf3c){_0x965168['push'](_0x965168['shift']());}}}(_0x435e,0xd339d));import{Command as _0x12f394}from'ckeditor5/src/core.js';function _0x435e(){const _0x403298=['selection','4jeapeA','requires','plugins','imageBlock','model','unbind','596WazQyG','45920MGABki','element','_isEditable','editor','imageInline','execute','refresh','150zbAlcI','10cpDsKC','getSelectedElement','get','imageEditController','set','14996844XbbXsd','bind','346216DJGSLF','1014oAsroW','isEnabled','config','1452339xeDIag','uploadcare.allowExternalImagesEditing','isActive','39133270aYvMBL','document','266495RDHwlk'];_0x435e=function(){return _0x403298;};return _0x435e();}import{Dialog as _0x3273b2}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x41997e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x382346}from'../utils/editingutils.js';function _0x56aa(_0x2acfb1,_0x8766a2){const _0x435e53=_0x435e();return _0x56aa=function(_0x56aa3d,_0x3c3d35){_0x56aa3d=_0x56aa3d-0x1c1;let _0x1fc677=_0x435e53[_0x56aa3d];return _0x1fc677;},_0x56aa(_0x2acfb1,_0x8766a2);}export class UploadcareImageEditCommand extends _0x12f394{[_0x375b6f(0x1df)];static get[_0x375b6f(0x1ce)](){return[_0x3273b2];}[_0x375b6f(0x1d6)];constructor(_0x14f35d){const _0x2a8cf5=_0x375b6f;super(_0x14f35d),this[_0x2a8cf5(0x1df)]=void 0x0,this[_0x2a8cf5(0x1d6)]=_0x382346(_0x14f35d[_0x2a8cf5(0x1c5)][_0x2a8cf5(0x1de)](_0x2a8cf5(0x1c7))||[]),this[_0x2a8cf5(0x1e0)]({'isActive':!0x1});}[_0x375b6f(0x1da)](){const _0x2bcba0=_0x375b6f,_0x345d7e=this[_0x2bcba0(0x1d7)][_0x2bcba0(0x1d1)][_0x2bcba0(0x1ca)][_0x2bcba0(0x1cc)][_0x2bcba0(0x1dd)]();this[_0x2bcba0(0x1c4)]=this[_0x2bcba0(0x1d6)](_0x345d7e);}[_0x375b6f(0x1d9)](){const _0x41e919=_0x375b6f;this[_0x41e919(0x1df)]&&(this[_0x41e919(0x1d2)](_0x41e919(0x1c8)),this[_0x41e919(0x1df)]=void 0x0);const _0x40f1a9=this[_0x41e919(0x1d7)][_0x41e919(0x1d1)][_0x41e919(0x1ca)][_0x41e919(0x1cc)][_0x41e919(0x1dd)]();_0x40f1a9&&(_0x40f1a9['is'](_0x41e919(0x1d5),_0x41e919(0x1d0))||_0x40f1a9['is'](_0x41e919(0x1d5),_0x41e919(0x1d8)))&&(this[_0x41e919(0x1df)]=new _0x41997e(this[_0x41e919(0x1d7)],this[_0x41e919(0x1d7)][_0x41e919(0x1cf)][_0x41e919(0x1de)](_0x3273b2),_0x40f1a9),this[_0x41e919(0x1c1)](_0x41e919(0x1c8))['to'](this[_0x41e919(0x1df)],_0x41e919(0x1c8)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2606(_0x48a873,_0x6830a6){var _0x1acde4=_0x1acd();return _0x2606=function(_0x260665,_0x2519be){_0x260665=_0x260665-0x13f;var _0x699757=_0x1acde4[_0x260665];return _0x699757;},_0x2606(_0x48a873,_0x6830a6);}var _0x581512=_0x2606;(function(_0x42894b,_0x4a2ca6){var _0x2e972e=_0x2606,_0x45eba2=_0x42894b();while(!![]){try{var _0x2899c8=parseInt(_0x2e972e(0x146))/0x1+-parseInt(_0x2e972e(0x14c))/0x2+parseInt(_0x2e972e(0x14a))/0x3*(-parseInt(_0x2e972e(0x144))/0x4)+-parseInt(_0x2e972e(0x140))/0x5*(-parseInt(_0x2e972e(0x14e))/0x6)+-parseInt(_0x2e972e(0x14d))/0x7+parseInt(_0x2e972e(0x14f))/0x8+parseInt(_0x2e972e(0x150))/0x9;if(_0x2899c8===_0x4a2ca6)break;else _0x45eba2['push'](_0x45eba2['shift']());}catch(_0x4cfb71){_0x45eba2['push'](_0x45eba2['shift']());}}}(_0x1acd,0xdcf5d));import{FocusTracker as _0x3d6736}from'ckeditor5/src/utils.js';function _0x1acd(){var _0x2f1907=['focusTracker','128622zaShJL','forwardCycle','getFocusableElement','createCollection','768903eDHVvi','focusCycler','2464722lYNXyw','12198662mFtWpy','810RlmjZZ','11753944SwrPPh','32102064GGxXOD','true','9375NrogRi','fire','div','bindTemplate','24XDIXcv'];_0x1acd=function(){return _0x2f1907;};return _0x1acd();}import{View as _0x2f9310,FocusCycler as _0x4e8d9c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2f9310{[_0x581512(0x145)];[_0x581512(0x14b)];constructor(_0x53d456){var _0x1238bf=_0x581512;super(_0x53d456),this[_0x1238bf(0x145)]=new _0x3d6736(),this[_0x1238bf(0x14b)]=new _0x4e8d9c({'focusables':this[_0x1238bf(0x149)](),'focusTracker':this[_0x1238bf(0x145)]});}[_0x581512(0x148)](){var _0x20a0d5=_0x581512;return{'tag':_0x20a0d5(0x142),'attributes':{'aria-hidden':_0x20a0d5(0x13f),'tabindex':'0'},'on':{'focus':this[_0x20a0d5(0x143)]['to'](()=>{var _0x4c6196=_0x20a0d5;this[_0x4c6196(0x14b)][_0x4c6196(0x141)](_0x4c6196(0x147));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5f3643,_0x1b66dd){const _0x4d74c0=_0x11aa,_0x2307dd=_0x5f3643();while(!![]){try{const _0x34a97a=parseInt(_0x4d74c0(0x1ba))/0x1*(-parseInt(_0x4d74c0(0x1aa))/0x2)+-parseInt(_0x4d74c0(0x1ab))/0x3+-parseInt(_0x4d74c0(0x1b2))/0x4*(parseInt(_0x4d74c0(0x1c4))/0x5)+parseInt(_0x4d74c0(0x1d5))/0x6*(parseInt(_0x4d74c0(0x1ad))/0x7)+parseInt(_0x4d74c0(0x1b9))/0x8*(parseInt(_0x4d74c0(0x1b6))/0x9)+parseInt(_0x4d74c0(0x1d0))/0xa*(-parseInt(_0x4d74c0(0x1c5))/0xb)+-parseInt(_0x4d74c0(0x1d7))/0xc*(-parseInt(_0x4d74c0(0x1bb))/0xd);if(_0x34a97a===_0x1b66dd)break;else _0x2307dd['push'](_0x2307dd['shift']());}catch(_0x3f7788){_0x2307dd['push'](_0x2307dd['shift']());}}}(_0x3e5f,0xb7dda));function _0x11aa(_0x1a6b42,_0x4b4a75){const _0x3e5f53=_0x3e5f();return _0x11aa=function(_0x11aa1b,_0x4320e){_0x11aa1b=_0x11aa1b-0x1a3;let _0xfcc45a=_0x3e5f53[_0x11aa1b];return _0xfcc45a;},_0x11aa(_0x1a6b42,_0x4b4a75);}import{global as _0x51efb2,DomEmitterMixin as _0x35e280}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x4583c8){const _0x348b7c=_0x11aa,_0x3b8863=G(_0x4583c8);return _0x1d144a=>!(!_0x1d144a||!_0x1d144a['is'](_0x348b7c(0x1d6),_0x348b7c(0x1b3))&&!_0x1d144a['is'](_0x348b7c(0x1d6),_0x348b7c(0x1da)))&&(!!_0x1d144a[_0x348b7c(0x1ac)](_0x348b7c(0x1d4))||!!_0x1d144a[_0x348b7c(0x1ac)](_0x348b7c(0x1b7))&&_0x3b8863(_0x1d144a[_0x348b7c(0x1a6)](_0x348b7c(0x1b7))));}export function getImageUrls(_0x509237,_0x49f67d){const _0x1db432=_0x11aa,_0x2e02f8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1db432(0x1d9)](_0x4799db=>_0x4799db<=_0x49f67d)[_0x1db432(0x1b0)](_0xd58665=>_0x509237[_0x1db432(0x1c2)](/\/$/,'')+_0x1db432(0x1bf)+_0xd58665+_0x1db432(0x1bc)+_0xd58665+'w');return{'imageFallbackUrl':_0x509237,'imageSources':[{'srcset':_0x2e02f8[_0x1db432(0x1b5)](',\x20'),'sizes':_0x1db432(0x1c8)+_0x49f67d+_0x1db432(0x1a5)+_0x49f67d+'px','type':_0x1db432(0x1cb)}]};}export function getImageDimension(_0x5f3e24,_0x3aa475,_0x29b06f){const _0x213916=_0x11aa,_0x22fd6e=_0x5f3e24[_0x213916(0x1cc)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x22fd6e?parseInt(_0x22fd6e[0x1],0xa):_0x3aa475,'height':_0x22fd6e?parseInt(_0x22fd6e[0x2],0xa):_0x29b06f};}export function showImageProcessingIndicator(_0x5eba7e,_0x1fe1b3){const _0x214792=_0x11aa,_0x1b33cd=new(_0x35e280())(),_0x2836a6=_0x5eba7e[_0x214792(0x1a8)][_0x214792(0x1d1)](_0x214792(0x1d2)),_0x25c848=_0x5eba7e[_0x214792(0x1c9)][_0x214792(0x1dc)][_0x214792(0x1c0)](_0x1fe1b3),_0x3d5a22=_0x2836a6[_0x214792(0x1a4)](_0x25c848),_0x5da3f6=_0x5eba7e[_0x214792(0x1c9)][_0x214792(0x1a9)][_0x214792(0x1d8)][_0x214792(0x1b1)](_0x3d5a22),_0x363995=_0x1fe1b3[_0x214792(0x1a6)](_0x214792(0x1ca)),_0x444f53=_0x1fe1b3[_0x214792(0x1a6)](_0x214792(0x1c7)),_0x61901=_0x214792(0x1b4);_0x5eba7e[_0x214792(0x1c9)][_0x214792(0x1a9)][_0x214792(0x1bd)](_0x11d1e1=>{const _0x20477d=_0x214792;_0x11d1e1[_0x20477d(0x1db)](_0x61901,_0x25c848),_0x11d1e1[_0x20477d(0x1c1)](_0x20477d(0x1ce),_0x363995+'/'+_0x444f53,_0x3d5a22);}),_0x1b33cd[_0x214792(0x1cf)](_0x5da3f6,_0x214792(0x1de),()=>{const _0x18d603=_0x214792;_0x1b33cd[_0x18d603(0x1a7)](_0x5da3f6,_0x18d603(0x1de)),_0x5eba7e[_0x18d603(0x1c9)][_0x18d603(0x1a9)][_0x18d603(0x1bd)](_0x144046=>{const _0x1a772e=_0x18d603;_0x144046[_0x1a772e(0x1ae)](_0x61901,_0x25c848),_0x144046[_0x1a772e(0x1a3)](_0x1a772e(0x1ce),_0x3d5a22);});});}function _0x3e5f(){const _0x1db60c=['959970djlGyO','hasAttribute','413959rLBuqB','removeClass','baseURI','map','viewToDom','28LzUXtU','imageBlock','image-processing','join','6566031swbSXA','src','document','16BQmecJ','1zRGAYU','1729tnxiFN','x/\x20','change','location','/-/resize/','toViewElement','setStyle','replace','origin','1018505nLgjXF','11CqiQsw','function','height','(max-width:\x20','editing','width','image/webp','match','isArray','aspect-ratio','listenTo','10178440ADBVmW','get','ImageUtils','some','uploadcareImageId','18IONcPT','element','255324fWArzf','domConverter','filter','imageInline','addClass','mapper','window','load','removeStyle','findViewImgElement','px)\x20100vw,\x20','getAttribute','stopListening','plugins','view','1899030nGUFdf'];_0x3e5f=function(){return _0x1db60c;};return _0x3e5f();}function G(_0x1d85c6){const _0x509f62=_0x11aa;if(Array[_0x509f62(0x1cd)](_0x1d85c6)){const _0x5ac12c=_0x1d85c6[_0x509f62(0x1b0)](G);return _0x5957a0=>_0x5ac12c[_0x509f62(0x1d3)](_0x217bb8=>_0x217bb8(_0x5957a0));}if(_0x509f62(0x1c3)==_0x1d85c6){const _0xecbf0a=_0x51efb2[_0x509f62(0x1dd)][_0x509f62(0x1be)][_0x509f62(0x1c3)];return _0x1f85a9=>new URL(_0x1f85a9,_0x51efb2[_0x509f62(0x1b8)][_0x509f62(0x1af)])[_0x509f62(0x1c3)]==_0xecbf0a;}return _0x509f62(0x1c6)==typeof _0x1d85c6?_0x1d85c6:_0x1d85c6 instanceof RegExp?_0x12ba0f=>!(!_0x12ba0f[_0x509f62(0x1cc)](_0x1d85c6)&&!_0x12ba0f[_0x509f62(0x1c2)](/^https?:\/\//,'')[_0x509f62(0x1cc)](_0x1d85c6)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x92a3(_0x3955ea,_0x58ab22){var _0x43e9b4=_0x43e9();return _0x92a3=function(_0x92a38f,_0x2616a3){_0x92a38f=_0x92a38f-0x11b;var _0x4a7f07=_0x43e9b4[_0x92a38f];return _0x4a7f07;},_0x92a3(_0x3955ea,_0x58ab22);}function _0x43e9(){var _0xc8b7e4=['2MUoWws','288807TcUJjk','11254896ehXXuI','includes','1416341jbiHGH','130IXZXsG','13169590ShyFrO','2165470TAbGig','68064931qoyHAi','52gsKfgL','8LQCtbZ','target','398802iWzOIS'];_0x43e9=function(){return _0xc8b7e4;};return _0x43e9();}(function(_0x76648a,_0x56c3de){var _0x23cd00=_0x92a3,_0x1ce876=_0x76648a();while(!![]){try{var _0x164658=-parseInt(_0x23cd00(0x125))/0x1*(parseInt(_0x23cd00(0x121))/0x2)+parseInt(_0x23cd00(0x122))/0x3*(parseInt(_0x23cd00(0x11d))/0x4)+-parseInt(_0x23cd00(0x126))/0x5*(parseInt(_0x23cd00(0x120))/0x6)+parseInt(_0x23cd00(0x127))/0x7*(-parseInt(_0x23cd00(0x11e))/0x8)+-parseInt(_0x23cd00(0x123))/0x9+-parseInt(_0x23cd00(0x11b))/0xa+parseInt(_0x23cd00(0x11c))/0xb;if(_0x164658===_0x56c3de)break;else _0x1ce876['push'](_0x1ce876['shift']());}catch(_0x319040){_0x1ce876['push'](_0x1ce876['shift']());}}}(_0x43e9,0xe7062));import{getAncestors as _0x28d22d}from'ckeditor5/src/utils.js';export function isAncestor(_0x446556,_0x271e37){var _0x28df6b=_0x92a3;return _0x28d22d(_0x446556[_0x28df6b(0x11f)])[_0x28df6b(0x124)](_0x271e37);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5f11cc=_0x460b;(function(_0x1cb51b,_0x418d5a){var _0x54185f=_0x460b,_0x536bb2=_0x1cb51b();while(!![]){try{var _0xf17d1f=-parseInt(_0x54185f(0x7c))/0x1+-parseInt(_0x54185f(0x85))/0x2*(parseInt(_0x54185f(0x87))/0x3)+-parseInt(_0x54185f(0x7d))/0x4+-parseInt(_0x54185f(0x84))/0x5+parseInt(_0x54185f(0x7e))/0x6*(-parseInt(_0x54185f(0x86))/0x7)+parseInt(_0x54185f(0x83))/0x8*(parseInt(_0x54185f(0x80))/0x9)+parseInt(_0x54185f(0x7f))/0xa;if(_0xf17d1f===_0x418d5a)break;else _0x536bb2['push'](_0x536bb2['shift']());}catch(_0x1dfdd0){_0x536bb2['push'](_0x536bb2['shift']());}}}(_0x1c7c,0x375d5));function _0x1c7c(){var _0x52a861=['73645tbTWdA','14WFCFiQ','7vPYCNR','193497NOPsVT','321676nxZVDT','33604duueSM','1886454Wkpkwe','11013570NpFecc','756SQSEvB','getInfo','upload','22488vfcbPR'];_0x1c7c=function(){return _0x52a861;};return _0x1c7c();}import{uploadFile as _0x4bd0b3,info as _0x232e3f}from'@uploadcare/upload-client';function _0x460b(_0x7100c6,_0x1c4ee6){var _0x1c7c4f=_0x1c7c();return _0x460b=function(_0x460b14,_0x342755){_0x460b14=_0x460b14-0x7c;var _0x56689e=_0x1c7c4f[_0x460b14];return _0x56689e;},_0x460b(_0x7100c6,_0x1c4ee6);}export class UploadUtils{static[_0x5f11cc(0x82)]({file:_0xb2d71f,..._0x42b918}){return _0x4bd0b3(_0xb2d71f,_0x42b918);}static[_0x5f11cc(0x81)](_0x31155e,_0x54bb02){return _0x232e3f(_0x31155e,_0x54bb02);}}
|