@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250404.0 → 0.0.0-nightly-20250406.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/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
|
-
|
|
23
|
+
const _0x240488=_0x3ab4;(function(_0x6b863a,_0x11770e){const _0x570382=_0x3ab4,_0x45aedf=_0x6b863a();while(!![]){try{const _0xd9ae92=-parseInt(_0x570382(0x1b7))/0x1+parseInt(_0x570382(0x1a5))/0x2*(parseInt(_0x570382(0x1a7))/0x3)+parseInt(_0x570382(0x1a2))/0x4*(parseInt(_0x570382(0x191))/0x5)+-parseInt(_0x570382(0x1bc))/0x6*(-parseInt(_0x570382(0x18e))/0x7)+parseInt(_0x570382(0x1a9))/0x8+parseInt(_0x570382(0x1a8))/0x9*(parseInt(_0x570382(0x19d))/0xa)+-parseInt(_0x570382(0x1bf))/0xb*(parseInt(_0x570382(0x18a))/0xc);if(_0xd9ae92===_0x11770e)break;else _0x45aedf['push'](_0x45aedf['shift']());}catch(_0x38c7a8){_0x45aedf['push'](_0x45aedf['shift']());}}}(_0x52ef,0xd38b4));import{View as _0x1c7193}from'ckeditor5/src/ui.js';import _0x39fcd9 from'./uploadcareimageeditformloadingview.js';import _0x2620f6 from'./uploadcareimageeditformerrorview.js';import _0x3aaae1 from'./uploadcareimageeditformeditingview.js';import _0x4810ec from'../../utils/dialogfocusmanagerview.js';function _0x3ab4(_0x27edc1,_0x81955f){const _0x52efd8=_0x52ef();return _0x3ab4=function(_0x3ab48,_0x2c3078){_0x3ab48=_0x3ab48-0x18a;let _0x55d9ca=_0x52efd8[_0x3ab48];return _0x55d9ca;},_0x3ab4(_0x27edc1,_0x81955f);}import'../../../theme/uploadcare-form.css';function _0x52ef(){const _0x30266a=['element','retry','once','1197821kSHvMU','observe','ready','focus','_setView','572178KTloLe','createCollection','addedNodes','132CDRetq','error','uc-cloud-image-editor','change:status','2372796NdKUbE','disconnect','length','ck-reset_all-excluded','7SxkXlH','querySelector','uploading','125kOAlWx','filter','setTemplate','apply','cancel','set','addEventListener','add','_focusableView','_addUploadcareImageEditorListeners','addMany','fire','24830FcVMiV','cdnUrl','_addErrorViewListeners','_errorView','getFocusableElement','18808STTjaL','nodeName','render','54vFepUu','clear','150687NBADgm','4203mSmNgm','13667552tBFTJM','_editingView','detail','_loadingView','target','status','ck-uploadcare-form','div','_waitForImageEditorComponent','toLowerCase','_items'];_0x52ef=function(){return _0x30266a;};return _0x52ef();}export default class Z extends _0x4810ec{[_0x240488(0x1b3)];[_0x240488(0x1ac)];[_0x240488(0x1a0)];[_0x240488(0x1aa)];[_0x240488(0x199)];constructor(_0x54a455,_0x2a688d,_0x1a048f){const _0xa2d88c=_0x240488;super(_0x54a455),this[_0xa2d88c(0x1b3)]=this[_0xa2d88c(0x1bd)](),this[_0xa2d88c(0x1ac)]=new _0x39fcd9(_0x54a455),this[_0xa2d88c(0x1a0)]=new _0x2620f6(_0x54a455),this[_0xa2d88c(0x1aa)]=new _0x3aaae1(_0x54a455,_0x1a048f),this[_0xa2d88c(0x199)]=new _0x1c7193(_0x54a455),this[_0xa2d88c(0x199)][_0xa2d88c(0x193)](this[_0xa2d88c(0x1a1)]()),this[_0xa2d88c(0x196)](_0xa2d88c(0x1ae),_0x2a688d),this[_0xa2d88c(0x193)]({'tag':_0xa2d88c(0x1b0),'attributes':{'class':['ck',_0xa2d88c(0x18d),_0xa2d88c(0x1af)],'tabindex':'-1'},'children':this[_0xa2d88c(0x1b3)]}),this[_0xa2d88c(0x1bb)](),this[_0xa2d88c(0x1b6)](_0xa2d88c(0x1a4),()=>{const _0x3ab79c=_0xa2d88c;this[_0x3ab79c(0x1b1)](this[_0x3ab79c(0x1b4)],_0x21137b=>{const _0x5681ae=_0x3ab79c;this[_0x5681ae(0x19a)](_0x21137b);});}),this['on'](_0xa2d88c(0x1c2),()=>{const _0x5633cd=_0xa2d88c;this[_0x5633cd(0x1bb)]();}),this[_0xa2d88c(0x19f)]();}[_0x240488(0x1ba)](){const _0x5785ff=_0x240488;this[_0x5785ff(0x1b4)][_0x5785ff(0x1ba)]();}[_0x240488(0x1bb)](){const _0xaa5701=_0x240488;switch(this[_0xaa5701(0x1b3)][_0xaa5701(0x1a6)](),this[_0xaa5701(0x1ae)]){case _0xaa5701(0x190):this[_0xaa5701(0x1b3)][_0xaa5701(0x198)](this[_0xaa5701(0x1ac)]);break;case _0xaa5701(0x1c0):this[_0xaa5701(0x1b3)][_0xaa5701(0x198)](this[_0xaa5701(0x1a0)]);break;case _0xaa5701(0x1b9):this[_0xaa5701(0x1b3)][_0xaa5701(0x19b)]([this[_0xaa5701(0x1aa)],this[_0xaa5701(0x199)]]);}}[_0x240488(0x1b1)](_0x4677d2,_0xfdc093){const _0x58ab80=_0x240488,_0x4bf7a8=_0x58ab80(0x1c1),_0x357581=_0x4677d2[_0x58ab80(0x18f)](_0x4bf7a8);if(_0x357581)return _0xfdc093(_0x357581);const _0x2c7276=new MutationObserver(_0x6f0f1e=>{const _0x14fa9d=_0x58ab80,_0x4602e6=_0x6f0f1e[_0x14fa9d(0x192)](_0x35daa4=>_0x35daa4[_0x14fa9d(0x1ad)]===_0x4677d2&&_0x35daa4[_0x14fa9d(0x1be)][_0x14fa9d(0x18c)]>0x0&&_0x35daa4[_0x14fa9d(0x1be)][0x0][_0x14fa9d(0x1a3)][_0x14fa9d(0x1b2)]()===_0x4bf7a8);_0x4602e6[_0x14fa9d(0x18c)]&&(_0x2c7276[_0x14fa9d(0x18b)](),_0xfdc093(_0x4602e6[0x0][_0x14fa9d(0x1be)][0x0]));});_0x2c7276[_0x58ab80(0x1b8)](_0x4677d2,{'childList':!0x0,'subtree':!0x0});}[_0x240488(0x19a)](_0x1f0ee0){const _0x4da7bb=_0x240488;_0x1f0ee0[_0x4da7bb(0x197)](_0x4da7bb(0x194),_0x10addc=>{const _0x1a9aae=_0x4da7bb;this[_0x1a9aae(0x19c)](_0x1a9aae(0x194),{'imageSrc':_0x10addc[_0x1a9aae(0x1ab)][_0x1a9aae(0x19e)]});}),_0x1f0ee0[_0x4da7bb(0x197)](_0x4da7bb(0x195),()=>{const _0x4fd88f=_0x4da7bb;this[_0x4fd88f(0x19c)](_0x4fd88f(0x195));});}[_0x240488(0x19f)](){const _0x2060c2=_0x240488;this[_0x2060c2(0x1a0)]['on'](_0x2060c2(0x1b5),()=>{const _0x441ff0=_0x2060c2;this[_0x441ff0(0x19c)](_0x441ff0(0x1b5));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b710f=_0x3884;(function(_0x362aa7,_0x40bc8a){const _0x405d1c=_0x3884,_0x1b62af=_0x362aa7();while(!![]){try{const _0x1d5ba0=parseInt(_0x405d1c(0x14f))/0x1+parseInt(_0x405d1c(0x140))/0x2*(-parseInt(_0x405d1c(0x143))/0x3)+-parseInt(_0x405d1c(0x151))/0x4*(-parseInt(_0x405d1c(0x144))/0x5)+-parseInt(_0x405d1c(0x14c))/0x6*(parseInt(_0x405d1c(0x12f))/0x7)+-parseInt(_0x405d1c(0x131))/0x8*(-parseInt(_0x405d1c(0x149))/0x9)+parseInt(_0x405d1c(0x13c))/0xa*(parseInt(_0x405d1c(0x13f))/0xb)+-parseInt(_0x405d1c(0x146))/0xc*(parseInt(_0x405d1c(0x150))/0xd);if(_0x1d5ba0===_0x40bc8a)break;else _0x1b62af['push'](_0x1b62af['shift']());}catch(_0x20f9dd){_0x1b62af['push'](_0x1b62af['shift']());}}}(_0xbbc0,0x54db7));import{Command as _0x5750c5}from'ckeditor5/src/core.js';function _0xbbc0(){const _0x5515fe=['6HJknKs','imageBlock','bind','635050KjvcsX','143vaqjhW','79836WvnDAu','4715837DXFPEw','execute','4046072OztNgg','refresh','element','model','config','plugins','isActive','editor','uploadcare.allowExternalImagesEditing','get','imageEditController','10QBliGm','isEnabled','getSelectedElement','3664353AMrqvj','1101580hvghcM','requires','set','3UOMNpY','125Dtijix','_isEditable','437292FJfktW','imageInline','document','9SjykMZ','unbind','selection'];_0xbbc0=function(){return _0x5515fe;};return _0xbbc0();}function _0x3884(_0x1f259,_0x2cae28){const _0xbbc041=_0xbbc0();return _0x3884=function(_0x38845f,_0x271852){_0x38845f=_0x38845f-0x12f;let _0x8b1729=_0xbbc041[_0x38845f];return _0x8b1729;},_0x3884(_0x1f259,_0x2cae28);}import{Dialog as _0x2aa180}from'ckeditor5/src/ui.js';import _0x3dca12 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x25c4e6}from'../utils/editingutils.js';export default class J extends _0x5750c5{[_0x3b710f(0x13b)];static get[_0x3b710f(0x141)](){return[_0x2aa180];}[_0x3b710f(0x145)];constructor(_0x418f47){const _0x2badba=_0x3b710f;super(_0x418f47),this[_0x2badba(0x13b)]=void 0x0,this[_0x2badba(0x145)]=_0x25c4e6(_0x418f47[_0x2badba(0x135)][_0x2badba(0x13a)](_0x2badba(0x139))||[]),this[_0x2badba(0x142)]({'isActive':!0x1});}[_0x3b710f(0x132)](){const _0x4ab77e=_0x3b710f,_0x23962e=this[_0x4ab77e(0x138)][_0x4ab77e(0x134)][_0x4ab77e(0x148)][_0x4ab77e(0x14b)][_0x4ab77e(0x13e)]();this[_0x4ab77e(0x13d)]=this[_0x4ab77e(0x145)](_0x23962e);}[_0x3b710f(0x130)](){const _0x19538c=_0x3b710f;this[_0x19538c(0x13b)]&&(this[_0x19538c(0x14a)](_0x19538c(0x137)),this[_0x19538c(0x13b)]=void 0x0);const _0x45c7cd=this[_0x19538c(0x138)][_0x19538c(0x134)][_0x19538c(0x148)][_0x19538c(0x14b)][_0x19538c(0x13e)]();_0x45c7cd&&(_0x45c7cd['is'](_0x19538c(0x133),_0x19538c(0x14d))||_0x45c7cd['is'](_0x19538c(0x133),_0x19538c(0x147)))&&(this[_0x19538c(0x13b)]=new _0x3dca12(this[_0x19538c(0x138)],this[_0x19538c(0x138)][_0x19538c(0x136)][_0x19538c(0x13a)](_0x2aa180),_0x45c7cd),this[_0x19538c(0x14e)](_0x19538c(0x137))['to'](this[_0x19538c(0x13b)],_0x19538c(0x137)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x17e7(_0x31a556,_0x5ebab1){const _0x67f3df=_0x67f3();return _0x17e7=function(_0x17e73e,_0x34a243){_0x17e73e=_0x17e73e-0x9d;let _0x405a8c=_0x67f3df[_0x17e73e];return _0x405a8c;},_0x17e7(_0x31a556,_0x5ebab1);}const _0x1618bc=_0x17e7;(function(_0x2ade3a,_0x3eacaa){const _0xd19bcf=_0x17e7,_0xf04914=_0x2ade3a();while(!![]){try{const _0x568cb1=parseInt(_0xd19bcf(0xa7))/0x1+parseInt(_0xd19bcf(0xb1))/0x2+parseInt(_0xd19bcf(0xa5))/0x3*(-parseInt(_0xd19bcf(0xaa))/0x4)+parseInt(_0xd19bcf(0xa1))/0x5+parseInt(_0xd19bcf(0xaf))/0x6*(parseInt(_0xd19bcf(0xa6))/0x7)+parseInt(_0xd19bcf(0xa8))/0x8+-parseInt(_0xd19bcf(0xae))/0x9;if(_0x568cb1===_0x3eacaa)break;else _0xf04914['push'](_0xf04914['shift']());}catch(_0x133b59){_0xf04914['push'](_0xf04914['shift']());}}}(_0x67f3,0x69fa3));import{Plugin as _0xb42d36}from'ckeditor5/src/core.js';import{Notification as _0x17c6e8}from'ckeditor5/src/ui.js';import _0x502375 from'./uploadcareimageeditcommand.js';import _0xf2157a from'./uploadcareimagereplacecommand.js';import _0x580fcd from'../uploadcareediting.js';export default class g extends _0xb42d36{static get[_0x1618bc(0xa0)](){const _0x19bb79=_0x1618bc;return _0x19bb79(0x9d);}static get[_0x1618bc(0xb0)](){const _0x44c9bc=_0x1618bc;return[_0x580fcd,_0x17c6e8,_0x44c9bc(0xad),_0x44c9bc(0xac)];}static get[_0x1618bc(0xa4)](){return!0x0;}static get[_0x1618bc(0xa2)](){return!0x0;}[_0x1618bc(0x9e)](){const _0x4409bf=_0x1618bc,{editor:_0x130c25}=this;_0x130c25[_0x4409bf(0xab)][_0x4409bf(0xa3)](_0x4409bf(0x9f),new _0x502375(_0x130c25)),_0x130c25[_0x4409bf(0xab)][_0x4409bf(0xa3)](_0x4409bf(0xa9),new _0xf2157a(_0x130c25));}}function _0x67f3(){const _0x14bd76=['6RObgXB','1379JADwvy','643166gIOJXM','2922872lOQgre','uploadcareImageReplace','1578020jsvOAr','commands','ImageEditing','ImageUtils','5323788dcDQIg','12318pQpwUU','requires','525882ywRhVv','UploadcareImageEditEditing','init','uploadcareImageEdit','pluginName','693590qTInbZ','isPremiumPlugin','add','isOfficialPlugin'];_0x67f3=function(){return _0x14bd76;};return _0x67f3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5d8327}from'ckeditor5/src/core.js';import{ButtonView as _0x5c7f8e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5779f9}from'ckeditor5/src/icons.js';import{createElement as _0x32abf7}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 _0x5d8327{['_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 _0x42eef8=this['editor'];_0x42eef8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d959c=>{const _0x4f718a=_0x42eef8['commands']['get']('uploadcareImageEdit'),_0x300e89=new _0x5c7f8e(_0x5d959c),t=_0x5d959c['t'];return _0x300e89['set']({'icon':_0x5779f9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x300e89['bind']('isEnabled')['to'](_0x4f718a),_0x300e89['bind']('isOn')['to'](_0x4f718a,'isActive'),this['listenTo'](_0x300e89,'execute',()=>{_0x42eef8['execute']('uploadcareImageEdit'),_0x42eef8['editing']['view']['focus']();}),_0x300e89;}),this['_initConfig']();}['_initConfig'](){const _0x2f425b=_0x32abf7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2f425b),this['listenTo'](this['editor'],'destroy',()=>{_0x2f425b['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1b36(_0xc56160,_0xd0494e){const _0x4028f4=_0x4028();return _0x1b36=function(_0x1b36d1,_0xa23c5d){_0x1b36d1=_0x1b36d1-0x93;let _0x3811da=_0x4028f4[_0x1b36d1];return _0x3811da;},_0x1b36(_0xc56160,_0xd0494e);}const _0x16657c=_0x1b36;(function(_0x134f16,_0x9d4797){const _0x294df6=_0x1b36,_0x3073fd=_0x134f16();while(!![]){try{const _0x3147fc=-parseInt(_0x294df6(0xad))/0x1*(-parseInt(_0x294df6(0xa5))/0x2)+parseInt(_0x294df6(0x9f))/0x3*(-parseInt(_0x294df6(0x96))/0x4)+parseInt(_0x294df6(0x9e))/0x5*(parseInt(_0x294df6(0xa2))/0x6)+-parseInt(_0x294df6(0x95))/0x7+-parseInt(_0x294df6(0xa4))/0x8+-parseInt(_0x294df6(0x93))/0x9+parseInt(_0x294df6(0x9d))/0xa*(parseInt(_0x294df6(0xa7))/0xb);if(_0x3147fc===_0x9d4797)break;else _0x3073fd['push'](_0x3073fd['shift']());}catch(_0x34d2ce){_0x3073fd['push'](_0x3073fd['shift']());}}}(_0x4028,0x9062a));import{Command as _0x50f174}from'ckeditor5/src/core.js';export default class O extends _0x50f174{[_0x16657c(0xaa)](){const _0x428e6e=_0x16657c,_0x63f884=this[_0x428e6e(0xa1)][_0x428e6e(0x98)][_0x428e6e(0xab)][_0x428e6e(0x99)][_0x428e6e(0xa3)]();this[_0x428e6e(0xac)]=Boolean(_0x63f884&&(_0x63f884['is'](_0x428e6e(0x9b),_0x428e6e(0xa0))||_0x63f884['is'](_0x428e6e(0x9b),_0x428e6e(0xa9))));}[_0x16657c(0xa6)](_0x3263a5){const _0x45d92b=_0x16657c,_0x5060ef=this[_0x45d92b(0xa1)][_0x45d92b(0x98)][_0x45d92b(0xab)][_0x45d92b(0x99)][_0x45d92b(0xa3)]();this[_0x45d92b(0xa1)][_0x45d92b(0x98)][_0x45d92b(0x94)](_0x59def0=>{const _0x5a2c92=_0x45d92b;_0x59def0[_0x5a2c92(0x97)](_0x3263a5,_0x5060ef),_0x59def0[_0x5a2c92(0x9a)](_0x5a2c92(0x9c),_0x5060ef),_0x59def0[_0x5a2c92(0x9a)](_0x5a2c92(0xa8),_0x5060ef);});}}function _0x4028(){const _0x45c175=['editor','522EOjazc','getSelectedElement','1854616VtIuvW','2Ombujj','execute','1694GJjzCi','sizes','imageInline','refresh','document','isEnabled','199630KCoCUQ','1049391fpbHsJ','change','5825582bpszcO','5988GZtcZq','setAttributes','model','selection','removeAttribute','element','srcset','64780gqVXrR','52565UMwBaY','681UdJZOV','imageBlock'];_0x4028=function(){return _0x45c175;};return _0x4028();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4a4004=_0x4fab;(function(_0x2e2c7c,_0x2f10d9){var _0x523e4f=_0x4fab,_0x54cf70=_0x2e2c7c();while(!![]){try{var _0x515623=-parseInt(_0x523e4f(0x114))/0x1*(parseInt(_0x523e4f(0x108))/0x2)+-parseInt(_0x523e4f(0x110))/0x3+parseInt(_0x523e4f(0x112))/0x4+-parseInt(_0x523e4f(0x111))/0x5*(-parseInt(_0x523e4f(0x10f))/0x6)+parseInt(_0x523e4f(0x11a))/0x7+parseInt(_0x523e4f(0x10c))/0x8+parseInt(_0x523e4f(0x115))/0x9*(-parseInt(_0x523e4f(0x10a))/0xa);if(_0x515623===_0x2f10d9)break;else _0x54cf70['push'](_0x54cf70['shift']());}catch(_0x518e49){_0x54cf70['push'](_0x54cf70['shift']());}}}(_0x1d78,0xb87ea));import{FocusTracker as _0x20d93d}from'ckeditor5/src/utils.js';import{View as _0x4559bf,FocusCycler as _0x2d576c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1d78(){var _0x1348e8=['9270232hMXoNG','focusTracker','true','55518AbXtyI','2734077ItHsnw','270pOiEfD','5466948wRuSzN','focusCycler','1220rOzPTK','6355782InwqKX','getFocusableElement','div','fire','createCollection','2318449MLvnvZ','454Fmxwxn','bindTemplate','20sKzeuy','forwardCycle'];_0x1d78=function(){return _0x1348e8;};return _0x1d78();}function _0x4fab(_0xc9c4f9,_0x3a162c){var _0x1d789e=_0x1d78();return _0x4fab=function(_0x4fab88,_0x2068ab){_0x4fab88=_0x4fab88-0x108;var _0x951b72=_0x1d789e[_0x4fab88];return _0x951b72;},_0x4fab(_0xc9c4f9,_0x3a162c);}export default class q extends _0x4559bf{[_0x4a4004(0x10d)];[_0x4a4004(0x113)];constructor(_0x3b5b8d){var _0x5d8fdc=_0x4a4004;super(_0x3b5b8d),this[_0x5d8fdc(0x10d)]=new _0x20d93d(),this[_0x5d8fdc(0x113)]=new _0x2d576c({'focusables':this[_0x5d8fdc(0x119)](),'focusTracker':this[_0x5d8fdc(0x10d)]});}[_0x4a4004(0x116)](){var _0x552a8a=_0x4a4004;return{'tag':_0x552a8a(0x117),'attributes':{'aria-hidden':_0x552a8a(0x10e),'tabindex':'0'},'on':{'focus':this[_0x552a8a(0x109)]['to'](()=>{var _0x4596e3=_0x552a8a;this[_0x4596e3(0x113)][_0x4596e3(0x118)](_0x4596e3(0x10b));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x912f51,_0x1912d3){const _0x3ad2d5=_0x4c83,_0x2ac8f7=_0x912f51();while(!![]){try{const _0x498ec7=-parseInt(_0x3ad2d5(0x1f1))/0x1*(parseInt(_0x3ad2d5(0x1eb))/0x2)+parseInt(_0x3ad2d5(0x1f6))/0x3*(-parseInt(_0x3ad2d5(0x1f8))/0x4)+-parseInt(_0x3ad2d5(0x201))/0x5+parseInt(_0x3ad2d5(0x1cf))/0x6+parseInt(_0x3ad2d5(0x1e6))/0x7+parseInt(_0x3ad2d5(0x1d0))/0x8*(parseInt(_0x3ad2d5(0x1f4))/0x9)+-parseInt(_0x3ad2d5(0x1f3))/0xa*(parseInt(_0x3ad2d5(0x1fa))/0xb);if(_0x498ec7===_0x1912d3)break;else _0x2ac8f7['push'](_0x2ac8f7['shift']());}catch(_0x2108fe){_0x2ac8f7['push'](_0x2ac8f7['shift']());}}}(_0x2f09,0xf09a9));import{global as _0x584c21,DomEmitterMixin as _0x7d940f}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3d051c){const _0x542025=_0x4c83,_0x218a34=V(_0x3d051c);return _0x15b7ec=>!(!_0x15b7ec||!_0x15b7ec['is'](_0x542025(0x200),_0x542025(0x1de))&&!_0x15b7ec['is'](_0x542025(0x200),_0x542025(0x1f0)))&&(!!_0x15b7ec[_0x542025(0x1fc)](_0x542025(0x1c9))||!!_0x15b7ec[_0x542025(0x1fc)](_0x542025(0x1f5))&&_0x218a34(_0x15b7ec[_0x542025(0x1d4)](_0x542025(0x1f5))));}export function getImageUrls(_0x1d26bb,_0x154d2c){const _0x4bbc89=_0x4c83,_0x84c289=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4bbc89(0x202)](_0x2c3662=>_0x2c3662<=_0x154d2c)[_0x4bbc89(0x1da)](_0xf2ed50=>_0x1d26bb[_0x4bbc89(0x1d6)](/\/$/,'')+_0x4bbc89(0x1e2)+_0xf2ed50+_0x4bbc89(0x1e5)+_0xf2ed50+'w');return{'imageFallbackUrl':_0x1d26bb,'imageSources':[{'srcset':_0x84c289[_0x4bbc89(0x1ce)](',\x20'),'sizes':_0x4bbc89(0x1f9)+_0x154d2c+_0x4bbc89(0x1cb)+_0x154d2c+'px','type':_0x4bbc89(0x1cc)}]};}export function getImageDimension(_0x22000d,_0x25cafd,_0x55c21b){const _0x5d8a0f=_0x4c83,_0x39d7d0=_0x22000d[_0x5d8a0f(0x1dd)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x39d7d0?parseInt(_0x39d7d0[0x1],0xa):_0x25cafd,'height':_0x39d7d0?parseInt(_0x39d7d0[0x2],0xa):_0x55c21b};}function _0x4c83(_0x10a740,_0x2d2ed3){const _0x2f0985=_0x2f09();return _0x4c83=function(_0x4c8302,_0x424e0c){_0x4c8302=_0x4c8302-0x1c9;let _0x5d6313=_0x2f0985[_0x4c8302];return _0x5d6313;},_0x4c83(_0x10a740,_0x2d2ed3);}export function showImageProcessingIndicator(_0x226ac4,_0x1422bf){const _0x1063b4=_0x4c83,_0x2cb176=Object[_0x1063b4(0x203)](_0x7d940f),_0x460620=_0x226ac4[_0x1063b4(0x1d8)][_0x1063b4(0x1ee)](_0x1063b4(0x1ed)),_0x5f7539=_0x226ac4[_0x1063b4(0x1db)][_0x1063b4(0x1ec)][_0x1063b4(0x1ca)](_0x1422bf),_0x525ecb=_0x460620[_0x1063b4(0x1ea)](_0x5f7539),_0x187651=_0x226ac4[_0x1063b4(0x1db)][_0x1063b4(0x1e4)][_0x1063b4(0x1ff)][_0x1063b4(0x1f2)](_0x525ecb),_0x3765a1=_0x1422bf[_0x1063b4(0x1d4)](_0x1063b4(0x1fd)),_0x448a28=_0x1422bf[_0x1063b4(0x1d4)](_0x1063b4(0x1e7)),_0xa339aa=_0x1063b4(0x1e3);_0x226ac4[_0x1063b4(0x1db)][_0x1063b4(0x1e4)][_0x1063b4(0x1df)](_0x13add0=>{const _0x132454=_0x1063b4;_0x13add0[_0x132454(0x1e9)](_0xa339aa,_0x5f7539),_0x13add0[_0x132454(0x1e0)](_0x132454(0x1d5),_0x3765a1+'/'+_0x448a28,_0x525ecb);}),_0x2cb176[_0x1063b4(0x1d2)](_0x187651,_0x1063b4(0x1d3),()=>{const _0x202ea1=_0x1063b4;_0x2cb176[_0x202ea1(0x1fe)](_0x187651,_0x202ea1(0x1d3)),_0x226ac4[_0x202ea1(0x1db)][_0x202ea1(0x1e4)][_0x202ea1(0x1df)](_0x348786=>{const _0x5759a4=_0x202ea1;_0x348786[_0x5759a4(0x1e1)](_0xa339aa,_0x5f7539),_0x348786[_0x5759a4(0x1cd)](_0x5759a4(0x1d5),_0x525ecb);});});}function V(_0x361240){const _0x29d833=_0x4c83;if(Array[_0x29d833(0x1d7)](_0x361240)){const _0x1d4129=_0x361240[_0x29d833(0x1da)](V);return _0x2ec6ad=>_0x1d4129[_0x29d833(0x1fb)](_0xfa31f2=>_0xfa31f2(_0x2ec6ad));}if(_0x29d833(0x1f7)==_0x361240){const _0x55603b=_0x584c21[_0x29d833(0x1d9)][_0x29d833(0x1dc)][_0x29d833(0x1f7)];return _0x1cfcfd=>new URL(_0x1cfcfd,_0x584c21[_0x29d833(0x1e8)][_0x29d833(0x1d1)])[_0x29d833(0x1f7)]==_0x55603b;}return _0x29d833(0x1ef)==typeof _0x361240?_0x361240:_0x361240 instanceof RegExp?_0x4c4726=>!(!_0x4c4726[_0x29d833(0x1dd)](_0x361240)&&!_0x4c4726[_0x29d833(0x1d6)](/^https?:\/\//,'')[_0x29d833(0x1dd)](_0x361240)):()=>!0x1;}function _0x2f09(){const _0x377698=['toViewElement','px)\x20100vw,\x20','image/webp','removeStyle','join','7398450wYuupo','4733296DiFlMa','baseURI','listenTo','load','getAttribute','aspect-ratio','replace','isArray','plugins','window','map','editing','location','match','imageBlock','change','setStyle','removeClass','/-/resize/','image-processing','view','x/\x20','9665201LvLYqE','height','document','addClass','findViewImgElement','620572ZynTIY','mapper','ImageUtils','get','function','imageInline','2tQWZNG','viewToDom','10eWuLAv','18MjDtfO','src','18qLdInx','origin','893240AJMSca','(max-width:\x20','4040927VYqWYp','some','hasAttribute','width','stopListening','domConverter','element','2419200Pwjbkk','filter','create','uploadcareImageId'];_0x2f09=function(){return _0x377698;};return _0x2f09();}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12c8e2,_0x4ac989){var _0x7abf57=_0x35b3,_0x49d410=_0x12c8e2();while(!![]){try{var _0x1b15df=-parseInt(_0x7abf57(0x155))/0x1*(parseInt(_0x7abf57(0x15e))/0x2)+parseInt(_0x7abf57(0x15c))/0x3*(-parseInt(_0x7abf57(0x154))/0x4)+parseInt(_0x7abf57(0x15f))/0x5*(-parseInt(_0x7abf57(0x15b))/0x6)+-parseInt(_0x7abf57(0x15d))/0x7*(-parseInt(_0x7abf57(0x157))/0x8)+-parseInt(_0x7abf57(0x159))/0x9+parseInt(_0x7abf57(0x156))/0xa*(parseInt(_0x7abf57(0x161))/0xb)+parseInt(_0x7abf57(0x158))/0xc;if(_0x1b15df===_0x4ac989)break;else _0x49d410['push'](_0x49d410['shift']());}catch(_0x430a22){_0x49d410['push'](_0x49d410['shift']());}}}(_0x4d66,0xc8e0c));function _0x35b3(_0x2c2aa4,_0x448bcf){var _0x4d665d=_0x4d66();return _0x35b3=function(_0x35b335,_0x1412f1){_0x35b335=_0x35b335-0x154;var _0x463b22=_0x4d665d[_0x35b335];return _0x463b22;},_0x35b3(_0x2c2aa4,_0x448bcf);}function _0x4d66(){var _0xec9532=['9kdOTrz','2068969pwqCxm','69166aztEwV','25NBAmte','includes','1309BWwveq','254804fEpetb','1cLdvRj','135610CLQtvz','16odrcrK','6796452cFTvYS','14770998lJXfUH','target','97872wfhula'];_0x4d66=function(){return _0xec9532;};return _0x4d66();}import{getAncestors as _0x3beace}from'ckeditor5/src/utils.js';export function isAncestor(_0x2f7e00,_0x3a935b){var _0x22ad73=_0x35b3;return _0x3beace(_0x2f7e00[_0x22ad73(0x15a)])[_0x22ad73(0x160)](_0x3a935b);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x578eff=_0x5cb7;function _0x5cb7(_0x272ec6,_0x27a66b){var _0x4c5e10=_0x4c5e();return _0x5cb7=function(_0x5cb730,_0x38e0b6){_0x5cb730=_0x5cb730-0xbe;var _0x5754a5=_0x4c5e10[_0x5cb730];return _0x5754a5;},_0x5cb7(_0x272ec6,_0x27a66b);}function _0x4c5e(){var _0x27aacc=['getInfo','6osRdAY','659440kPhyKY','16114239ZhaVmh','861786kGELgz','2829795wrGTWg','upload','851906sfbdAz','992ARJPaK','auto','47131rawZlx','686359yTWMmI'];_0x4c5e=function(){return _0x27aacc;};return _0x4c5e();}(function(_0x395d0b,_0x2903fb){var _0x504c02=_0x5cb7,_0x3ba38b=_0x395d0b();while(!![]){try{var _0x494811=-parseInt(_0x504c02(0xbf))/0x1+parseInt(_0x504c02(0xc7))/0x2+parseInt(_0x504c02(0xc1))/0x3*(parseInt(_0x504c02(0xc2))/0x4)+-parseInt(_0x504c02(0xc5))/0x5+parseInt(_0x504c02(0xc4))/0x6+parseInt(_0x504c02(0xbe))/0x7*(-parseInt(_0x504c02(0xc8))/0x8)+parseInt(_0x504c02(0xc3))/0x9;if(_0x494811===_0x2903fb)break;else _0x3ba38b['push'](_0x3ba38b['shift']());}catch(_0x3874c6){_0x3ba38b['push'](_0x3ba38b['shift']());}}}(_0x4c5e,0x931c5));import{uploadFile as _0x1e894c,info as _0x433ea7}from'@uploadcare/upload-client';export default class C{static[_0x578eff(0xc6)]({file:_0x5cc763,publicKey:_0x561cc5,signal:_0x50105c,onProgress:_0x291b17}){var _0xe86fc0=_0x578eff;return _0x1e894c(_0x5cc763,{'publicKey':_0x561cc5,'store':_0xe86fc0(0xc9),'signal':_0x50105c,'onProgress':_0x291b17});}static[_0x578eff(0xc0)](_0x2637b4,_0x1fe4de){return _0x433ea7(_0x2637b4,_0x1fe4de);}}
|