@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250331.0 → 0.0.0-nightly-20250401.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
|
-
const
|
|
23
|
+
const _0x476b23=_0x430e;(function(_0x34fa41,_0x111cfa){const _0x2bbb2c=_0x430e,_0x158fa6=_0x34fa41();while(!![]){try{const _0x405676=parseInt(_0x2bbb2c(0xfd))/0x1*(parseInt(_0x2bbb2c(0xf7))/0x2)+parseInt(_0x2bbb2c(0xf5))/0x3*(-parseInt(_0x2bbb2c(0xe6))/0x4)+-parseInt(_0x2bbb2c(0xcd))/0x5*(-parseInt(_0x2bbb2c(0xfa))/0x6)+parseInt(_0x2bbb2c(0xe2))/0x7+-parseInt(_0x2bbb2c(0xf8))/0x8+parseInt(_0x2bbb2c(0xcb))/0x9*(-parseInt(_0x2bbb2c(0xef))/0xa)+parseInt(_0x2bbb2c(0xe0))/0xb*(-parseInt(_0x2bbb2c(0xce))/0xc);if(_0x405676===_0x111cfa)break;else _0x158fa6['push'](_0x158fa6['shift']());}catch(_0x5cc032){_0x158fa6['push'](_0x158fa6['shift']());}}}(_0x5397,0x22568));import{View as _0x229c38}from'ckeditor5/src/ui.js';import _0x4ae2b7 from'./uploadcareimageeditformloadingview.js';import _0x412fdc from'./uploadcareimageeditformerrorview.js';import _0x163d19 from'./uploadcareimageeditformeditingview.js';function _0x5397(){const _0x2cf972=['279670zgGIVr','add','addEventListener','detail','change:status','filter','3oQjVyr','ck-reset_all-excluded','1198MvjZoL','420240NyjYNa','once','1668Sdoekz','_errorView','target','200OXlfhS','uploading','fire','nodeName','observe','disconnect','cancel','18xKGJib','element','2870rQTqvr','2424rMwGyY','uc-cloud-image-editor','_addUploadcareImageEditorListeners','querySelector','set','error','retry','setTemplate','ck-uploadcare-form','length','_waitForImageEditorComponent','cdnUrl','ready','_editingView','_focusableView','_setView','addMany','focus','6138MvuWML','render','1160439HrmUyA','_items','div','createCollection','333284wWHXZP','addedNodes','status','_addErrorViewListeners','clear','_loadingView','toLowerCase','apply','getFocusableElement'];_0x5397=function(){return _0x2cf972;};return _0x5397();}import _0x582ca4 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x430e(_0x46d97d,_0x13cae3){const _0x5397f8=_0x5397();return _0x430e=function(_0x430efd,_0x47c42a){_0x430efd=_0x430efd-0xc6;let _0xec1c8c=_0x5397f8[_0x430efd];return _0xec1c8c;},_0x430e(_0x46d97d,_0x13cae3);}export default class Z extends _0x582ca4{[_0x476b23(0xe3)];[_0x476b23(0xeb)];[_0x476b23(0xfb)];[_0x476b23(0xdb)];[_0x476b23(0xdc)];constructor(_0x57aed1,_0x1ac82e,_0x1d907b){const _0x4c8c27=_0x476b23;super(_0x57aed1),this[_0x4c8c27(0xe3)]=this[_0x4c8c27(0xe5)](),this[_0x4c8c27(0xeb)]=new _0x4ae2b7(_0x57aed1),this[_0x4c8c27(0xfb)]=new _0x412fdc(_0x57aed1),this[_0x4c8c27(0xdb)]=new _0x163d19(_0x57aed1,_0x1d907b),this[_0x4c8c27(0xdc)]=new _0x229c38(_0x57aed1),this[_0x4c8c27(0xdc)][_0x4c8c27(0xd5)](this[_0x4c8c27(0xee)]()),this[_0x4c8c27(0xd2)](_0x4c8c27(0xe8),_0x1ac82e),this[_0x4c8c27(0xd5)]({'tag':_0x4c8c27(0xe4),'attributes':{'class':['ck',_0x4c8c27(0xf6),_0x4c8c27(0xd6)],'tabindex':'-1'},'children':this[_0x4c8c27(0xe3)]}),this[_0x4c8c27(0xdd)](),this[_0x4c8c27(0xf9)](_0x4c8c27(0xe1),()=>{const _0x15c560=_0x4c8c27;this[_0x15c560(0xd8)](this[_0x15c560(0xcc)],_0x3ece69=>{const _0x2fd8ef=_0x15c560;this[_0x2fd8ef(0xd0)](_0x3ece69);});}),this['on'](_0x4c8c27(0xf3),()=>{const _0x2c1ee1=_0x4c8c27;this[_0x2c1ee1(0xdd)]();}),this[_0x4c8c27(0xe9)]();}[_0x476b23(0xdf)](){const _0x15e350=_0x476b23;this[_0x15e350(0xcc)][_0x15e350(0xdf)]();}[_0x476b23(0xdd)](){const _0x28623d=_0x476b23;switch(this[_0x28623d(0xe3)][_0x28623d(0xea)](),this[_0x28623d(0xe8)]){case _0x28623d(0xfe):this[_0x28623d(0xe3)][_0x28623d(0xf0)](this[_0x28623d(0xeb)]);break;case _0x28623d(0xd3):this[_0x28623d(0xe3)][_0x28623d(0xf0)](this[_0x28623d(0xfb)]);break;case _0x28623d(0xda):this[_0x28623d(0xe3)][_0x28623d(0xde)]([this[_0x28623d(0xdb)],this[_0x28623d(0xdc)]]);}}[_0x476b23(0xd8)](_0x47aedd,_0x180a97){const _0xd29760=_0x476b23,_0x56b752=_0xd29760(0xcf),_0x4f95a8=_0x47aedd[_0xd29760(0xd1)](_0x56b752);if(_0x4f95a8)return _0x180a97(_0x4f95a8);const _0x593b3b=new MutationObserver(_0x567acb=>{const _0x24d180=_0xd29760,_0x2b0ea7=_0x567acb[_0x24d180(0xf4)](_0x49d623=>_0x49d623[_0x24d180(0xfc)]===_0x47aedd&&_0x49d623[_0x24d180(0xe7)][_0x24d180(0xd7)]>0x0&&_0x49d623[_0x24d180(0xe7)][0x0][_0x24d180(0xc7)][_0x24d180(0xec)]()===_0x56b752);_0x2b0ea7[_0x24d180(0xd7)]&&(_0x593b3b[_0x24d180(0xc9)](),_0x180a97(_0x2b0ea7[0x0][_0x24d180(0xe7)][0x0]));});_0x593b3b[_0xd29760(0xc8)](_0x47aedd,{'childList':!0x0,'subtree':!0x0});}[_0x476b23(0xd0)](_0x52fd09){const _0x3ce62b=_0x476b23;_0x52fd09[_0x3ce62b(0xf1)](_0x3ce62b(0xed),_0x11c996=>{const _0x42503a=_0x3ce62b;this[_0x42503a(0xc6)](_0x42503a(0xed),{'imageSrc':_0x11c996[_0x42503a(0xf2)][_0x42503a(0xd9)]});}),_0x52fd09[_0x3ce62b(0xf1)](_0x3ce62b(0xca),()=>{const _0xa32441=_0x3ce62b;this[_0xa32441(0xc6)](_0xa32441(0xca));});}[_0x476b23(0xe9)](){const _0x388b54=_0x476b23;this[_0x388b54(0xfb)]['on'](_0x388b54(0xd4),()=>{const _0xba34f7=_0x388b54;this[_0xba34f7(0xc6)](_0xba34f7(0xd4));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ca0(_0x1b3cda,_0x225884){const _0x22b154=_0x22b1();return _0x3ca0=function(_0x3ca004,_0x1cd9f0){_0x3ca004=_0x3ca004-0x15d;let _0x3d6ceb=_0x22b154[_0x3ca004];return _0x3d6ceb;},_0x3ca0(_0x1b3cda,_0x225884);}const _0x2b5f7f=_0x3ca0;(function(_0x259e19,_0x22b8b5){const _0x5130fa=_0x3ca0,_0x4bc19b=_0x259e19();while(!![]){try{const _0x58605f=parseInt(_0x5130fa(0x177))/0x1+parseInt(_0x5130fa(0x178))/0x2+parseInt(_0x5130fa(0x173))/0x3+parseInt(_0x5130fa(0x163))/0x4+parseInt(_0x5130fa(0x176))/0x5*(parseInt(_0x5130fa(0x16a))/0x6)+parseInt(_0x5130fa(0x16d))/0x7*(parseInt(_0x5130fa(0x179))/0x8)+-parseInt(_0x5130fa(0x17b))/0x9*(parseInt(_0x5130fa(0x161))/0xa);if(_0x58605f===_0x22b8b5)break;else _0x4bc19b['push'](_0x4bc19b['shift']());}catch(_0x1cc8a9){_0x4bc19b['push'](_0x4bc19b['shift']());}}}(_0x22b1,0xb497a));import{Command as _0x5b506b}from'ckeditor5/src/core.js';import{Dialog as _0x1e0fb6}from'ckeditor5/src/ui.js';function _0x22b1(){const _0x58b2f=['plugins','39619701ikxpku','getSelectedElement','get','imageEditController','unbind','editor','10vFPdto','execute','3048624zGIiMM','model','imageBlock','bind','requires','set','refresh','42906FSXmfy','document','imageInline','2933lHMCoc','element','isEnabled','_isEditable','uploadcare.allowExternalImagesEditing','config','1467210jayyFl','selection','isActive','465GGymIH','1153225UmZNXJ','2566848evkOHq','15064zWBBBZ'];_0x22b1=function(){return _0x58b2f;};return _0x22b1();}import _0x452e45 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x355177}from'../utils/editingutils.js';export default class V extends _0x5b506b{[_0x2b5f7f(0x15e)];static get[_0x2b5f7f(0x167)](){return[_0x1e0fb6];}[_0x2b5f7f(0x170)];constructor(_0x1f943b){const _0x3767cf=_0x2b5f7f;super(_0x1f943b),this[_0x3767cf(0x15e)]=void 0x0,this[_0x3767cf(0x170)]=_0x355177(_0x1f943b[_0x3767cf(0x172)][_0x3767cf(0x15d)](_0x3767cf(0x171))||[]),this[_0x3767cf(0x168)]({'isActive':!0x1});}[_0x2b5f7f(0x169)](){const _0x131490=_0x2b5f7f,_0x1dc079=this[_0x131490(0x160)][_0x131490(0x164)][_0x131490(0x16b)][_0x131490(0x174)][_0x131490(0x17c)]();this[_0x131490(0x16f)]=this[_0x131490(0x170)](_0x1dc079);}[_0x2b5f7f(0x162)](){const _0x39c399=_0x2b5f7f;this[_0x39c399(0x15e)]&&(this[_0x39c399(0x15f)](_0x39c399(0x175)),this[_0x39c399(0x15e)]=void 0x0);const _0x3a5135=this[_0x39c399(0x160)][_0x39c399(0x164)][_0x39c399(0x16b)][_0x39c399(0x174)][_0x39c399(0x17c)]();_0x3a5135&&(_0x3a5135['is'](_0x39c399(0x16e),_0x39c399(0x165))||_0x3a5135['is'](_0x39c399(0x16e),_0x39c399(0x16c)))&&(this[_0x39c399(0x15e)]=new _0x452e45(this[_0x39c399(0x160)],this[_0x39c399(0x160)][_0x39c399(0x17a)][_0x39c399(0x15d)](_0x1e0fb6),_0x3a5135),this[_0x39c399(0x166)](_0x39c399(0x175))['to'](this[_0x39c399(0x15e)],_0x39c399(0x175)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ef6f8=_0x4f2c;(function(_0x148493,_0x4744b1){const _0x4dcad3=_0x4f2c,_0x204bab=_0x148493();while(!![]){try{const _0x1b91a7=-parseInt(_0x4dcad3(0x1a1))/0x1*(-parseInt(_0x4dcad3(0x194))/0x2)+-parseInt(_0x4dcad3(0x195))/0x3+parseInt(_0x4dcad3(0x196))/0x4*(-parseInt(_0x4dcad3(0x190))/0x5)+-parseInt(_0x4dcad3(0x193))/0x6*(-parseInt(_0x4dcad3(0x18f))/0x7)+parseInt(_0x4dcad3(0x199))/0x8*(parseInt(_0x4dcad3(0x18c))/0x9)+parseInt(_0x4dcad3(0x197))/0xa*(parseInt(_0x4dcad3(0x19f))/0xb)+-parseInt(_0x4dcad3(0x18d))/0xc;if(_0x1b91a7===_0x4744b1)break;else _0x204bab['push'](_0x204bab['shift']());}catch(_0x49311d){_0x204bab['push'](_0x204bab['shift']());}}}(_0x3929,0x74222));import{Plugin as _0x57ea40}from'ckeditor5/src/core.js';import{Notification as _0xf0b588}from'ckeditor5/src/ui.js';import _0x318caf from'./uploadcareimageeditcommand.js';function _0x3929(){const _0x46c1a0=['3150vPYLvQ','requires','128EUZIea','commands','ImageUtils','UploadcareImageEditEditing','pluginName','ImageEditing','29062MxecAy','init','26JiaowJ','isOfficialPlugin','add','226602zthMGs','20854716wCgjcw','isPremiumPlugin','5586413OQEGFI','9155AEzZdz','uploadcareImageReplace','uploadcareImageEdit','6LhbhPD','57388qCayXL','1174983AxkQel','380LAWzWF'];_0x3929=function(){return _0x46c1a0;};return _0x3929();}import _0x58c839 from'./uploadcareimagereplacecommand.js';function _0x4f2c(_0x984862,_0x1b6998){const _0x392913=_0x3929();return _0x4f2c=function(_0x4f2c2a,_0x580ea2){_0x4f2c2a=_0x4f2c2a-0x18b;let _0x23baaa=_0x392913[_0x4f2c2a];return _0x23baaa;},_0x4f2c(_0x984862,_0x1b6998);}import _0x1709bd from'../uploadcareediting.js';export default class g extends _0x57ea40{static get[_0x4ef6f8(0x19d)](){const _0x4507f2=_0x4ef6f8;return _0x4507f2(0x19c);}static get[_0x4ef6f8(0x198)](){const _0x49dd78=_0x4ef6f8;return[_0x1709bd,_0xf0b588,_0x49dd78(0x19b),_0x49dd78(0x19e)];}static get[_0x4ef6f8(0x1a2)](){return!0x0;}static get[_0x4ef6f8(0x18e)](){return!0x0;}[_0x4ef6f8(0x1a0)](){const _0x361b21=_0x4ef6f8,{editor:_0x42be49}=this;_0x42be49[_0x361b21(0x19a)][_0x361b21(0x18b)](_0x361b21(0x192),new _0x318caf(_0x42be49)),_0x42be49[_0x361b21(0x19a)][_0x361b21(0x18b)](_0x361b21(0x191),new _0x58c839(_0x42be49));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x268f6c}from'ckeditor5/src/core.js';import{ButtonView as _0x31a26c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x218bbb}from'ckeditor5/src/icons.js';import{createElement as _0x462295}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 _0x268f6c{['_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 _0x58393f=this['editor'];_0x58393f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x461a99=>{const _0x16887e=_0x58393f['commands']['get']('uploadcareImageEdit'),_0x4ebb1f=new _0x31a26c(_0x461a99),t=_0x461a99['t'];return _0x4ebb1f['set']({'icon':_0x218bbb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4ebb1f['bind']('isEnabled')['to'](_0x16887e),_0x4ebb1f['bind']('isOn')['to'](_0x16887e,'isActive'),this['listenTo'](_0x4ebb1f,'execute',()=>{_0x58393f['execute']('uploadcareImageEdit'),_0x58393f['editing']['view']['focus']();}),_0x4ebb1f;}),this['_initConfig']();}['_initConfig'](){const _0x4e5c17=_0x462295(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4e5c17),this['listenTo'](this['editor'],'destroy',()=>{_0x4e5c17['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5d00(){const _0x1a91a7=['change','imageInline','srcset','2884770KMFPuc','selection','1321995NkOiDp','4yOUsEJ','execute','removeAttribute','4776128eNrzbC','imageBlock','isEnabled','setAttributes','document','7JEUaeC','editor','1318jJMjuG','refresh','1173807bYfZin','892tLhxUQ','element','2385070hIwiGq','3919506CiqFEy','model','sizes','getSelectedElement'];_0x5d00=function(){return _0x1a91a7;};return _0x5d00();}const _0x1ecc90=_0x16b9;(function(_0x4d7154,_0x1d6a75){const _0x7e4092=_0x16b9,_0x392307=_0x4d7154();while(!![]){try{const _0x9ed99=-parseInt(_0x7e4092(0xb9))/0x1*(-parseInt(_0x7e4092(0xbc))/0x2)+-parseInt(_0x7e4092(0xc8))/0x3*(parseInt(_0x7e4092(0xc9))/0x4)+parseInt(_0x7e4092(0xbe))/0x5+-parseInt(_0x7e4092(0xbf))/0x6*(parseInt(_0x7e4092(0xb7))/0x7)+parseInt(_0x7e4092(0xcc))/0x8+parseInt(_0x7e4092(0xbb))/0x9+-parseInt(_0x7e4092(0xc6))/0xa;if(_0x9ed99===_0x1d6a75)break;else _0x392307['push'](_0x392307['shift']());}catch(_0x33f5b5){_0x392307['push'](_0x392307['shift']());}}}(_0x5d00,0x64120));import{Command as _0x5ea1bf}from'ckeditor5/src/core.js';function _0x16b9(_0x181741,_0x5ec1ce){const _0x5d00bd=_0x5d00();return _0x16b9=function(_0x16b971,_0xb8794f){_0x16b971=_0x16b971-0xb4;let _0x1b7247=_0x5d00bd[_0x16b971];return _0x1b7247;},_0x16b9(_0x181741,_0x5ec1ce);}export default class X extends _0x5ea1bf{[_0x1ecc90(0xba)](){const _0x3494c9=_0x1ecc90,_0x573533=this[_0x3494c9(0xb8)][_0x3494c9(0xc0)][_0x3494c9(0xb6)][_0x3494c9(0xc7)][_0x3494c9(0xc2)]();this[_0x3494c9(0xb4)]=Boolean(_0x573533&&(_0x573533['is'](_0x3494c9(0xbd),_0x3494c9(0xcd))||_0x573533['is'](_0x3494c9(0xbd),_0x3494c9(0xc4))));}[_0x1ecc90(0xca)](_0x168961){const _0x380130=_0x1ecc90,_0x59551a=this[_0x380130(0xb8)][_0x380130(0xc0)][_0x380130(0xb6)][_0x380130(0xc7)][_0x380130(0xc2)]();this[_0x380130(0xb8)][_0x380130(0xc0)][_0x380130(0xc3)](_0x390aa1=>{const _0x5340ff=_0x380130;_0x390aa1[_0x5340ff(0xb5)](_0x168961,_0x59551a),_0x390aa1[_0x5340ff(0xcb)](_0x5340ff(0xc5),_0x59551a),_0x390aa1[_0x5340ff(0xcb)](_0x5340ff(0xc1),_0x59551a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3b5509=_0x1ecc;function _0x40ab(){var _0x3ea627=['focusTracker','2706543jbBenU','10644AshhLr','1014162CloNTu','471220uRIvng','275597cjfhtf','bindTemplate','forwardCycle','focusCycler','createCollection','440aJrvTZ','1567755HKowFz','8uDGpNP','div','true','getFocusableElement','fire','776160YzETOA'];_0x40ab=function(){return _0x3ea627;};return _0x40ab();}(function(_0x2f6c43,_0xbd3e94){var _0xe83bc6=_0x1ecc,_0x35b6e6=_0x2f6c43();while(!![]){try{var _0x5c057a=-parseInt(_0xe83bc6(0x131))/0x1+parseInt(_0xe83bc6(0x12b))/0x2+parseInt(_0xe83bc6(0x12f))/0x3+parseInt(_0xe83bc6(0x130))/0x4+parseInt(_0xe83bc6(0x136))/0x5*(parseInt(_0xe83bc6(0x12e))/0x6)+-parseInt(_0xe83bc6(0x137))/0x7+parseInt(_0xe83bc6(0x138))/0x8*(-parseInt(_0xe83bc6(0x12d))/0x9);if(_0x5c057a===_0xbd3e94)break;else _0x35b6e6['push'](_0x35b6e6['shift']());}catch(_0x53af28){_0x35b6e6['push'](_0x35b6e6['shift']());}}}(_0x40ab,0x30c52));import{FocusTracker as _0x5141bf}from'ckeditor5/src/utils.js';import{View as _0x565494,FocusCycler as _0x16a507}from'ckeditor5/src/ui.js';function _0x1ecc(_0x322043,_0x1aba44){var _0x40abb4=_0x40ab();return _0x1ecc=function(_0x1ecce4,_0xb977e7){_0x1ecce4=_0x1ecce4-0x127;var _0x1bf19d=_0x40abb4[_0x1ecce4];return _0x1bf19d;},_0x1ecc(_0x322043,_0x1aba44);}import'../../theme/uploadcare-form.css';export default class q extends _0x565494{[_0x3b5509(0x12c)];[_0x3b5509(0x134)];constructor(_0x409fb2){var _0x1c971f=_0x3b5509;super(_0x409fb2),this[_0x1c971f(0x12c)]=new _0x5141bf(),this[_0x1c971f(0x134)]=new _0x16a507({'focusables':this[_0x1c971f(0x135)](),'focusTracker':this[_0x1c971f(0x12c)]});}[_0x3b5509(0x129)](){var _0x252c29=_0x3b5509;return{'tag':_0x252c29(0x127),'attributes':{'aria-hidden':_0x252c29(0x128),'tabindex':'0'},'on':{'focus':this[_0x252c29(0x132)]['to'](()=>{var _0x58297c=_0x252c29;this[_0x58297c(0x134)][_0x58297c(0x12a)](_0x58297c(0x133));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x588911,_0x4614f4){const _0x55083a=_0x17d3,_0x2190b4=_0x588911();while(!![]){try{const _0x290901=-parseInt(_0x55083a(0xec))/0x1+parseInt(_0x55083a(0xe6))/0x2*(parseInt(_0x55083a(0xfe))/0x3)+-parseInt(_0x55083a(0xef))/0x4*(-parseInt(_0x55083a(0xe8))/0x5)+parseInt(_0x55083a(0xf9))/0x6+-parseInt(_0x55083a(0x103))/0x7+-parseInt(_0x55083a(0xfb))/0x8*(-parseInt(_0x55083a(0x114))/0x9)+-parseInt(_0x55083a(0xff))/0xa;if(_0x290901===_0x4614f4)break;else _0x2190b4['push'](_0x2190b4['shift']());}catch(_0x517fec){_0x2190b4['push'](_0x2190b4['shift']());}}}(_0x51d2,0xd5bc8));import{global as _0x543a07,DomEmitterMixin as _0x4365b4}from'ckeditor5/src/utils.js';function _0x51d2(){const _0x5670b1=['removeClass','stopListening','7297944LpWCeI','ImageUtils','3736QTxVgb','imageBlock','origin','3699KDPygB','7542890bJqOLm','toViewElement','getAttribute','baseURI','3889172UAfvge','hasAttribute','get','px)\x20100vw,\x20','removeStyle','listenTo','domConverter','location','filter','view','width','viewToDom','replace','image-processing','element','window','change','4842OxYMmW','match','height','join','src','image/webp','aspect-ratio','uploadcareImageId','function','mapper','setStyle','isArray','1818ZpcSSi','some','10XSqSii','findViewImgElement','addClass','create','1288696CfIDNx','load','/-/resize/','1771356yddSts','x/\x20','document','imageInline','(max-width:\x20','plugins','editing','map'];_0x51d2=function(){return _0x5670b1;};return _0x51d2();}function _0x17d3(_0x57e60a,_0x255bdd){const _0x51d25b=_0x51d2();return _0x17d3=function(_0x17d319,_0x426708){_0x17d319=_0x17d319-0xe5;let _0x58b41e=_0x51d25b[_0x17d319];return _0x58b41e;},_0x17d3(_0x57e60a,_0x255bdd);}export function createEditabilityChecker(_0x2ad99b){const _0x5a827e=_0x17d3,_0x473977=R(_0x2ad99b);return _0x2dbeb8=>!(!_0x2dbeb8||!_0x2dbeb8['is'](_0x5a827e(0x111),_0x5a827e(0xfc))&&!_0x2dbeb8['is'](_0x5a827e(0x111),_0x5a827e(0xf2)))&&(!!_0x2dbeb8[_0x5a827e(0x104)](_0x5a827e(0x11b))||!!_0x2dbeb8[_0x5a827e(0x104)](_0x5a827e(0x118))&&_0x473977(_0x2dbeb8[_0x5a827e(0x101)](_0x5a827e(0x118))));}export function getImageUrls(_0x41a3a3,_0x56bb57){const _0x25b303=_0x17d3,_0xe4b48=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x25b303(0x10b)](_0x2d001c=>_0x2d001c<=_0x56bb57)[_0x25b303(0xf6)](_0x23cb50=>_0x41a3a3[_0x25b303(0x10f)](/\/$/,'')+_0x25b303(0xee)+_0x23cb50+_0x25b303(0xf0)+_0x23cb50+'w');return{'imageFallbackUrl':_0x41a3a3,'imageSources':[{'srcset':_0xe4b48[_0x25b303(0x117)](',\x20'),'sizes':_0x25b303(0xf3)+_0x56bb57+_0x25b303(0x106)+_0x56bb57+'px','type':_0x25b303(0x119)}]};}export function getImageDimension(_0x157ca7,_0x1337bf,_0x589ff8){const _0x4de0cc=_0x17d3,_0x453e1a=_0x157ca7[_0x4de0cc(0x115)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x453e1a?parseInt(_0x453e1a[0x1],0xa):_0x1337bf,'height':_0x453e1a?parseInt(_0x453e1a[0x2],0xa):_0x589ff8};}export function showImageProcessingIndicator(_0x2ddd58,_0x2e39f0){const _0x50d716=_0x17d3,_0x16fa44=Object[_0x50d716(0xeb)](_0x4365b4),_0x49f074=_0x2ddd58[_0x50d716(0xf4)][_0x50d716(0x105)](_0x50d716(0xfa)),_0x3e2e6b=_0x2ddd58[_0x50d716(0xf5)][_0x50d716(0x11d)][_0x50d716(0x100)](_0x2e39f0),_0x1c074b=_0x49f074[_0x50d716(0xe9)](_0x3e2e6b),_0xe5fd2c=_0x2ddd58[_0x50d716(0xf5)][_0x50d716(0x10c)][_0x50d716(0x109)][_0x50d716(0x10e)](_0x1c074b),_0x297f86=_0x2e39f0[_0x50d716(0x101)](_0x50d716(0x10d)),_0x5a3c7e=_0x2e39f0[_0x50d716(0x101)](_0x50d716(0x116)),_0x653c86=_0x50d716(0x110);_0x2ddd58[_0x50d716(0xf5)][_0x50d716(0x10c)][_0x50d716(0x113)](_0x40cb81=>{const _0x95d619=_0x50d716;_0x40cb81[_0x95d619(0xea)](_0x653c86,_0x3e2e6b),_0x40cb81[_0x95d619(0x11e)](_0x95d619(0x11a),_0x297f86+'/'+_0x5a3c7e,_0x1c074b);}),_0x16fa44[_0x50d716(0x108)](_0xe5fd2c,_0x50d716(0xed),()=>{const _0x1d048f=_0x50d716;_0x16fa44[_0x1d048f(0xf8)](_0xe5fd2c,_0x1d048f(0xed)),_0x2ddd58[_0x1d048f(0xf5)][_0x1d048f(0x10c)][_0x1d048f(0x113)](_0x3f6796=>{const _0x2a3d9f=_0x1d048f;_0x3f6796[_0x2a3d9f(0xf7)](_0x653c86,_0x3e2e6b),_0x3f6796[_0x2a3d9f(0x107)](_0x2a3d9f(0x11a),_0x1c074b);});});}function R(_0x293647){const _0x4f35e0=_0x17d3;if(Array[_0x4f35e0(0xe5)](_0x293647)){const _0x320a39=_0x293647[_0x4f35e0(0xf6)](R);return _0x58b305=>_0x320a39[_0x4f35e0(0xe7)](_0x44da73=>_0x44da73(_0x58b305));}if(_0x4f35e0(0xfd)==_0x293647){const _0x12aafa=_0x543a07[_0x4f35e0(0x112)][_0x4f35e0(0x10a)][_0x4f35e0(0xfd)];return _0x16c3a8=>new URL(_0x16c3a8,_0x543a07[_0x4f35e0(0xf1)][_0x4f35e0(0x102)])[_0x4f35e0(0xfd)]==_0x12aafa;}return _0x4f35e0(0x11c)==typeof _0x293647?_0x293647:_0x293647 instanceof RegExp?_0x33aa96=>!(!_0x33aa96[_0x4f35e0(0x115)](_0x293647)&&!_0x33aa96[_0x4f35e0(0x10f)](/^https?:\/\//,'')[_0x4f35e0(0x115)](_0x293647)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x275acb,_0xa7b236){var _0x3c64c1=_0xf37f,_0x5685b7=_0x275acb();while(!![]){try{var _0x50fda5=-parseInt(_0x3c64c1(0x15c))/0x1+parseInt(_0x3c64c1(0x15d))/0x2+parseInt(_0x3c64c1(0x158))/0x3+parseInt(_0x3c64c1(0x15a))/0x4+parseInt(_0x3c64c1(0x155))/0x5*(-parseInt(_0x3c64c1(0x157))/0x6)+-parseInt(_0x3c64c1(0x15b))/0x7+-parseInt(_0x3c64c1(0x156))/0x8;if(_0x50fda5===_0xa7b236)break;else _0x5685b7['push'](_0x5685b7['shift']());}catch(_0x1b38b5){_0x5685b7['push'](_0x5685b7['shift']());}}}(_0x47ef,0xd3d4c));function _0x47ef(){var _0xfa4379=['6228060cZibEp','10848208iWKqwM','57800sMPtGc','1776794ukJhZV','target','105vDgIFJ','2321456ZazGXn','189654GkyUNJ','2951289hifVRN','includes'];_0x47ef=function(){return _0xfa4379;};return _0x47ef();}import{getAncestors as _0x5c3fdb}from'ckeditor5/src/utils.js';function _0xf37f(_0x404925,_0x350519){var _0x47ef78=_0x47ef();return _0xf37f=function(_0xf37f24,_0x4280d0){_0xf37f24=_0xf37f24-0x155;var _0x97eb0=_0x47ef78[_0xf37f24];return _0x97eb0;},_0xf37f(_0x404925,_0x350519);}export function isAncestor(_0x4cdfc3,_0x3e960c){var _0x5b8ea7=_0xf37f;return _0x5c3fdb(_0x4cdfc3[_0x5b8ea7(0x15e)])[_0x5b8ea7(0x159)](_0x3e960c);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1dd3(){var _0x50e252=['10jPuBxt','12969200szPRJh','12knzRPE','12OZBFGL','auto','3632871jHUBJj','39244qpJahD','680994zzApam','535XzIZlJ','134770hRRdFH','15GPiRqt','4438217shjrRH','getInfo','upload','14885563vjwhaE'];_0x1dd3=function(){return _0x50e252;};return _0x1dd3();}var _0x96edc3=_0x5be6;(function(_0x5c0d89,_0x30665a){var _0xaf79ae=_0x5be6,_0x45c855=_0x5c0d89();while(!![]){try{var _0x50b8ad=parseInt(_0xaf79ae(0x1a8))/0x1*(-parseInt(_0xaf79ae(0x1a7))/0x2)+parseInt(_0xaf79ae(0x1a3))/0x3+parseInt(_0xaf79ae(0x1a4))/0x4*(-parseInt(_0xaf79ae(0x1a6))/0x5)+parseInt(_0xaf79ae(0x1a1))/0x6*(-parseInt(_0xaf79ae(0x1a9))/0x7)+parseInt(_0xaf79ae(0x1ae))/0x8+parseInt(_0xaf79ae(0x1a5))/0x9*(parseInt(_0xaf79ae(0x1ad))/0xa)+-parseInt(_0xaf79ae(0x1ac))/0xb*(-parseInt(_0xaf79ae(0x1af))/0xc);if(_0x50b8ad===_0x30665a)break;else _0x45c855['push'](_0x45c855['shift']());}catch(_0x444893){_0x45c855['push'](_0x45c855['shift']());}}}(_0x1dd3,0xe3a28));function _0x5be6(_0x44aeba,_0x3fe26e){var _0x1dd346=_0x1dd3();return _0x5be6=function(_0x5be63c,_0x377070){_0x5be63c=_0x5be63c-0x1a1;var _0x17b768=_0x1dd346[_0x5be63c];return _0x17b768;},_0x5be6(_0x44aeba,_0x3fe26e);}import{uploadFile as _0x3e7384,info as _0x4866e3}from'@uploadcare/upload-client';export default class C{static[_0x96edc3(0x1ab)]({file:_0x3f6476,publicKey:_0x41e270,signal:_0x434d01,onProgress:_0x2f1102}){var _0x515201=_0x96edc3;return _0x3e7384(_0x3f6476,{'publicKey':_0x41e270,'store':_0x515201(0x1a2),'signal':_0x434d01,'onProgress':_0x2f1102});}static[_0x96edc3(0x1aa)](_0x296aa1,_0x1b15d5){return _0x4866e3(_0x296aa1,_0x1b15d5);}}
|