@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250330.0 → 0.0.0-nightly-20250331.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 _0x1b160a=_0x28d9;(function(_0x259a68,_0x13a228){const _0x2b224a=_0x28d9,_0x4124ec=_0x259a68();while(!![]){try{const _0x81d7c=parseInt(_0x2b224a(0xd7))/0x1*(-parseInt(_0x2b224a(0xc6))/0x2)+-parseInt(_0x2b224a(0xea))/0x3*(parseInt(_0x2b224a(0xc3))/0x4)+parseInt(_0x2b224a(0xd3))/0x5*(-parseInt(_0x2b224a(0xc7))/0x6)+parseInt(_0x2b224a(0xca))/0x7+-parseInt(_0x2b224a(0xbc))/0x8+parseInt(_0x2b224a(0xd5))/0x9+parseInt(_0x2b224a(0xdc))/0xa;if(_0x81d7c===_0x13a228)break;else _0x4124ec['push'](_0x4124ec['shift']());}catch(_0x52c1e2){_0x4124ec['push'](_0x4124ec['shift']());}}}(_0x372c,0xa486a));import{View as _0x2baa1d}from'ckeditor5/src/ui.js';import _0x37575d from'./uploadcareimageeditformloadingview.js';function _0x372c(){const _0x2de230=['toLowerCase','once','addEventListener','change:status','_items','nodeName','4adOSLR','fire','_setView','870282PtORFJ','46218bsgksh','detail','addedNodes','6540513lYOsRA','_errorView','uploading','retry','ck-reset_all-excluded','getFocusableElement','length','addMany','uc-cloud-image-editor','730ICBNAn','render','1344798VgxtKZ','_addUploadcareImageEditorListeners','1SdXjTg','_editingView','error','createCollection','disconnect','25712370GTMyUQ','clear','ready','observe','add','ck-uploadcare-form','apply','_loadingView','target','_addErrorViewListeners','_focusableView','set','_waitForImageEditorComponent','filter','2546871sNCUtj','div','element','querySelector','setTemplate','cancel','focus','cdnUrl','status','4579072giWlyK'];_0x372c=function(){return _0x2de230;};return _0x372c();}import _0x3b7f94 from'./uploadcareimageeditformerrorview.js';import _0x3d5e02 from'./uploadcareimageeditformeditingview.js';function _0x28d9(_0x21aecf,_0x342812){const _0x372c0b=_0x372c();return _0x28d9=function(_0x28d91f,_0x50d58e){_0x28d91f=_0x28d91f-0xb5;let _0x55c8b4=_0x372c0b[_0x28d91f];return _0x55c8b4;},_0x28d9(_0x21aecf,_0x342812);}import _0x12abd3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x12abd3{[_0x1b160a(0xc1)];[_0x1b160a(0xe3)];[_0x1b160a(0xcb)];[_0x1b160a(0xd8)];[_0x1b160a(0xe6)];constructor(_0x1db571,_0x293aab,_0x40b569){const _0x4bb128=_0x1b160a;super(_0x1db571),this[_0x4bb128(0xc1)]=this[_0x4bb128(0xda)](),this[_0x4bb128(0xe3)]=new _0x37575d(_0x1db571),this[_0x4bb128(0xcb)]=new _0x3b7f94(_0x1db571),this[_0x4bb128(0xd8)]=new _0x3d5e02(_0x1db571,_0x40b569),this[_0x4bb128(0xe6)]=new _0x2baa1d(_0x1db571),this[_0x4bb128(0xe6)][_0x4bb128(0xb7)](this[_0x4bb128(0xcf)]()),this[_0x4bb128(0xe7)](_0x4bb128(0xbb),_0x293aab),this[_0x4bb128(0xb7)]({'tag':_0x4bb128(0xeb),'attributes':{'class':['ck',_0x4bb128(0xce),_0x4bb128(0xe1)],'tabindex':'-1'},'children':this[_0x4bb128(0xc1)]}),this[_0x4bb128(0xc5)](),this[_0x4bb128(0xbe)](_0x4bb128(0xd4),()=>{const _0x10d09f=_0x4bb128;this[_0x10d09f(0xe8)](this[_0x10d09f(0xb5)],_0x22eab6=>{const _0x34b470=_0x10d09f;this[_0x34b470(0xd6)](_0x22eab6);});}),this['on'](_0x4bb128(0xc0),()=>{const _0x312899=_0x4bb128;this[_0x312899(0xc5)]();}),this[_0x4bb128(0xe5)]();}[_0x1b160a(0xb9)](){const _0x28f832=_0x1b160a;this[_0x28f832(0xb5)][_0x28f832(0xb9)]();}[_0x1b160a(0xc5)](){const _0x49022d=_0x1b160a;switch(this[_0x49022d(0xc1)][_0x49022d(0xdd)](),this[_0x49022d(0xbb)]){case _0x49022d(0xcc):this[_0x49022d(0xc1)][_0x49022d(0xe0)](this[_0x49022d(0xe3)]);break;case _0x49022d(0xd9):this[_0x49022d(0xc1)][_0x49022d(0xe0)](this[_0x49022d(0xcb)]);break;case _0x49022d(0xde):this[_0x49022d(0xc1)][_0x49022d(0xd1)]([this[_0x49022d(0xd8)],this[_0x49022d(0xe6)]]);}}[_0x1b160a(0xe8)](_0x5a7f73,_0x3240ce){const _0x3dce69=_0x1b160a,_0x499a89=_0x3dce69(0xd2),_0x2bc6fa=_0x5a7f73[_0x3dce69(0xb6)](_0x499a89);if(_0x2bc6fa)return _0x3240ce(_0x2bc6fa);const _0x1410ee=new MutationObserver(_0x34f0df=>{const _0x43a4ab=_0x3dce69,_0x17bfac=_0x34f0df[_0x43a4ab(0xe9)](_0x3a322a=>_0x3a322a[_0x43a4ab(0xe4)]===_0x5a7f73&&_0x3a322a[_0x43a4ab(0xc9)][_0x43a4ab(0xd0)]>0x0&&_0x3a322a[_0x43a4ab(0xc9)][0x0][_0x43a4ab(0xc2)][_0x43a4ab(0xbd)]()===_0x499a89);_0x17bfac[_0x43a4ab(0xd0)]&&(_0x1410ee[_0x43a4ab(0xdb)](),_0x3240ce(_0x17bfac[0x0][_0x43a4ab(0xc9)][0x0]));});_0x1410ee[_0x3dce69(0xdf)](_0x5a7f73,{'childList':!0x0,'subtree':!0x0});}[_0x1b160a(0xd6)](_0x505a1a){const _0x19cd37=_0x1b160a;_0x505a1a[_0x19cd37(0xbf)](_0x19cd37(0xe2),_0x2f0af1=>{const _0x14dbe5=_0x19cd37;this[_0x14dbe5(0xc4)](_0x14dbe5(0xe2),{'imageSrc':_0x2f0af1[_0x14dbe5(0xc8)][_0x14dbe5(0xba)]});}),_0x505a1a[_0x19cd37(0xbf)](_0x19cd37(0xb8),()=>{const _0x406d51=_0x19cd37;this[_0x406d51(0xc4)](_0x406d51(0xb8));});}[_0x1b160a(0xe5)](){const _0x60c8fb=_0x1b160a;this[_0x60c8fb(0xcb)]['on'](_0x60c8fb(0xcd),()=>{const _0x500472=_0x60c8fb;this[_0x500472(0xc4)](_0x500472(0xcd));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3a9127=_0x1f40;(function(_0x5ca383,_0x4f0867){const _0x28cd1e=_0x1f40,_0x29f3b9=_0x5ca383();while(!![]){try{const _0x21d24f=parseInt(_0x28cd1e(0x100))/0x1+-parseInt(_0x28cd1e(0x104))/0x2*(parseInt(_0x28cd1e(0xfc))/0x3)+parseInt(_0x28cd1e(0xf8))/0x4*(parseInt(_0x28cd1e(0xf3))/0x5)+parseInt(_0x28cd1e(0xfb))/0x6+-parseInt(_0x28cd1e(0x101))/0x7+-parseInt(_0x28cd1e(0xf4))/0x8+-parseInt(_0x28cd1e(0x10e))/0x9*(-parseInt(_0x28cd1e(0xf6))/0xa);if(_0x21d24f===_0x4f0867)break;else _0x29f3b9['push'](_0x29f3b9['shift']());}catch(_0x102ef2){_0x29f3b9['push'](_0x29f3b9['shift']());}}}(_0x3464,0x886f4));import{Command as _0x44d87d}from'ckeditor5/src/core.js';import{Dialog as _0x1166ca}from'ckeditor5/src/ui.js';import _0x20ef89 from'./ui/uploadcareimageeditcontroller.js';function _0x1f40(_0x558e9e,_0x478974){const _0x346497=_0x3464();return _0x1f40=function(_0x1f404f,_0x568b7){_0x1f404f=_0x1f404f-0xef;let _0x199f4f=_0x346497[_0x1f404f];return _0x199f4f;},_0x1f40(_0x558e9e,_0x478974);}function _0x3464(){const _0x333125=['imageEditController','602251IvbckV','1736315JIVMZz','get','plugins','4ZtYgXE','refresh','bind','element','getSelectedElement','requires','config','_isEditable','execute','selection','12609ROsIpz','document','editor','imageBlock','uploadcare.allowExternalImagesEditing','515AAnKSK','3911840iLguGE','unbind','660dOCIHA','isEnabled','8696MpIZhB','model','isActive','5996928BjdYPn','933399sJuKIi','set','imageInline'];_0x3464=function(){return _0x333125;};return _0x3464();}import{createEditabilityChecker as _0x2bd212}from'../utils/editingutils.js';export default class J extends _0x44d87d{[_0x3a9127(0xff)];static get[_0x3a9127(0x109)](){return[_0x1166ca];}[_0x3a9127(0x10b)];constructor(_0x43b0b1){const _0x2f8f43=_0x3a9127;super(_0x43b0b1),this[_0x2f8f43(0xff)]=void 0x0,this[_0x2f8f43(0x10b)]=_0x2bd212(_0x43b0b1[_0x2f8f43(0x10a)][_0x2f8f43(0x102)](_0x2f8f43(0xf2))||[]),this[_0x2f8f43(0xfd)]({'isActive':!0x1});}[_0x3a9127(0x105)](){const _0x3873ed=_0x3a9127,_0x53625c=this[_0x3873ed(0xf0)][_0x3873ed(0xf9)][_0x3873ed(0xef)][_0x3873ed(0x10d)][_0x3873ed(0x108)]();this[_0x3873ed(0xf7)]=this[_0x3873ed(0x10b)](_0x53625c);}[_0x3a9127(0x10c)](){const _0x139341=_0x3a9127;this[_0x139341(0xff)]&&(this[_0x139341(0xf5)](_0x139341(0xfa)),this[_0x139341(0xff)]=void 0x0);const _0x51cb8c=this[_0x139341(0xf0)][_0x139341(0xf9)][_0x139341(0xef)][_0x139341(0x10d)][_0x139341(0x108)]();_0x51cb8c&&(_0x51cb8c['is'](_0x139341(0x107),_0x139341(0xf1))||_0x51cb8c['is'](_0x139341(0x107),_0x139341(0xfe)))&&(this[_0x139341(0xff)]=new _0x20ef89(this[_0x139341(0xf0)],this[_0x139341(0xf0)][_0x139341(0x103)][_0x139341(0x102)](_0x1166ca),_0x51cb8c),this[_0x139341(0x106)](_0x139341(0xfa))['to'](this[_0x139341(0xff)],_0x139341(0xfa)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x525bf6=_0x2e0e;(function(_0x4d1e99,_0x29ebdc){const _0x18c1da=_0x2e0e,_0x248884=_0x4d1e99();while(!![]){try{const _0x27552b=parseInt(_0x18c1da(0x78))/0x1+-parseInt(_0x18c1da(0x7b))/0x2+parseInt(_0x18c1da(0x79))/0x3+-parseInt(_0x18c1da(0x71))/0x4+parseInt(_0x18c1da(0x72))/0x5*(parseInt(_0x18c1da(0x7c))/0x6)+-parseInt(_0x18c1da(0x77))/0x7+parseInt(_0x18c1da(0x7a))/0x8*(parseInt(_0x18c1da(0x76))/0x9);if(_0x27552b===_0x29ebdc)break;else _0x248884['push'](_0x248884['shift']());}catch(_0x106a46){_0x248884['push'](_0x248884['shift']());}}}(_0xc09d,0x6beaf));import{Plugin as _0x1bdfc8}from'ckeditor5/src/core.js';import{Notification as _0x797d32}from'ckeditor5/src/ui.js';import _0x12d61b from'./uploadcareimageeditcommand.js';function _0x2e0e(_0x24a49e,_0x8d839e){const _0xc09da8=_0xc09d();return _0x2e0e=function(_0x2e0e42,_0x5b3b8a){_0x2e0e42=_0x2e0e42-0x6b;let _0x5741e9=_0xc09da8[_0x2e0e42];return _0x5741e9;},_0x2e0e(_0x24a49e,_0x8d839e);}function _0xc09d(){const _0x4bd2db=['4419MnGhLa','1992333isJdNm','880770uusbsi','1457043yBRsKp','5776WIfEos','1685432VBnAHj','108FmbUhp','isPremiumPlugin','isOfficialPlugin','pluginName','commands','init','UploadcareImageEditEditing','ImageEditing','uploadcareImageEdit','add','1296756yuacAV','47945DtXwOK','ImageUtils','requires','uploadcareImageReplace'];_0xc09d=function(){return _0x4bd2db;};return _0xc09d();}import _0x589514 from'./uploadcareimagereplacecommand.js';import _0x15f6ef from'../uploadcareediting.js';export default class g extends _0x1bdfc8{static get[_0x525bf6(0x7f)](){const _0x2fa607=_0x525bf6;return _0x2fa607(0x6d);}static get[_0x525bf6(0x74)](){const _0x48e40d=_0x525bf6;return[_0x15f6ef,_0x797d32,_0x48e40d(0x73),_0x48e40d(0x6e)];}static get[_0x525bf6(0x7e)](){return!0x0;}static get[_0x525bf6(0x7d)](){return!0x0;}[_0x525bf6(0x6c)](){const _0x4e58ef=_0x525bf6,{editor:_0x2fe2ac}=this;_0x2fe2ac[_0x4e58ef(0x6b)][_0x4e58ef(0x70)](_0x4e58ef(0x6f),new _0x12d61b(_0x2fe2ac)),_0x2fe2ac[_0x4e58ef(0x6b)][_0x4e58ef(0x70)](_0x4e58ef(0x75),new _0x589514(_0x2fe2ac));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x43ced5}from'ckeditor5/src/core.js';import{ButtonView as _0x1bc53d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3c4945}from'ckeditor5/src/icons.js';import{createElement as _0x3773f5}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 _0x43ced5{['_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 _0x1f8a3c=this['editor'];_0x1f8a3c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2de3a2=>{const _0x739973=_0x1f8a3c['commands']['get']('uploadcareImageEdit'),_0x4650af=new _0x1bc53d(_0x2de3a2),t=_0x2de3a2['t'];return _0x4650af['set']({'icon':_0x3c4945,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4650af['bind']('isEnabled')['to'](_0x739973),_0x4650af['bind']('isOn')['to'](_0x739973,'isActive'),this['listenTo'](_0x4650af,'execute',()=>{_0x1f8a3c['execute']('uploadcareImageEdit'),_0x1f8a3c['editing']['view']['focus']();}),_0x4650af;}),this['_initConfig']();}['_initConfig'](){const _0x1e6c27=_0x3773f5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e6c27),this['listenTo'](this['editor'],'destroy',()=>{_0x1e6c27['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b82(_0x44f5c9,_0xe72120){const _0x165b14=_0x165b();return _0x4b82=function(_0x4b82c8,_0x562dd7){_0x4b82c8=_0x4b82c8-0x15b;let _0xa9b6d0=_0x165b14[_0x4b82c8];return _0xa9b6d0;},_0x4b82(_0x44f5c9,_0xe72120);}const _0x3c9a78=_0x4b82;(function(_0x5c01a2,_0x51362e){const _0x3d00c9=_0x4b82,_0x173724=_0x5c01a2();while(!![]){try{const _0x3d3779=parseInt(_0x3d00c9(0x16d))/0x1*(parseInt(_0x3d00c9(0x160))/0x2)+parseInt(_0x3d00c9(0x16f))/0x3+parseInt(_0x3d00c9(0x167))/0x4*(-parseInt(_0x3d00c9(0x16a))/0x5)+-parseInt(_0x3d00c9(0x15c))/0x6+parseInt(_0x3d00c9(0x16b))/0x7+-parseInt(_0x3d00c9(0x166))/0x8*(parseInt(_0x3d00c9(0x165))/0x9)+parseInt(_0x3d00c9(0x163))/0xa;if(_0x3d3779===_0x51362e)break;else _0x173724['push'](_0x173724['shift']());}catch(_0x9a56e7){_0x173724['push'](_0x173724['shift']());}}}(_0x165b,0xed0ba));import{Command as _0x1c2013}from'ckeditor5/src/core.js';function _0x165b(){const _0x26f6c8=['setAttributes','editor','selection','8dcGvBx','change','removeAttribute','2293790eJbuTy','execute','747HVhMnB','103760potyTD','4XvFaQw','getSelectedElement','srcset','2877155ufgIOq','13064625kWVrcw','imageInline','289722oqKdXo','model','1653855GlFwbb','document','isEnabled','imageBlock','sizes','element','refresh','7098288OGrdPF'];_0x165b=function(){return _0x26f6c8;};return _0x165b();}export default class O extends _0x1c2013{[_0x3c9a78(0x15b)](){const _0x2da057=_0x3c9a78,_0x336629=this[_0x2da057(0x15e)][_0x2da057(0x16e)][_0x2da057(0x170)][_0x2da057(0x15f)][_0x2da057(0x168)]();this[_0x2da057(0x171)]=Boolean(_0x336629&&(_0x336629['is'](_0x2da057(0x174),_0x2da057(0x172))||_0x336629['is'](_0x2da057(0x174),_0x2da057(0x16c))));}[_0x3c9a78(0x164)](_0x18e84b){const _0x2727ac=_0x3c9a78,_0x43fedd=this[_0x2727ac(0x15e)][_0x2727ac(0x16e)][_0x2727ac(0x170)][_0x2727ac(0x15f)][_0x2727ac(0x168)]();this[_0x2727ac(0x15e)][_0x2727ac(0x16e)][_0x2727ac(0x161)](_0x194052=>{const _0x153787=_0x2727ac;_0x194052[_0x153787(0x15d)](_0x18e84b,_0x43fedd),_0x194052[_0x153787(0x162)](_0x153787(0x169),_0x43fedd),_0x194052[_0x153787(0x162)](_0x153787(0x173),_0x43fedd);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xcde74d=_0x8020;(function(_0x1dd6e8,_0x3fdab5){var _0x57a832=_0x8020,_0x1acc8d=_0x1dd6e8();while(!![]){try{var _0xd193e4=-parseInt(_0x57a832(0x7f))/0x1+-parseInt(_0x57a832(0x89))/0x2*(-parseInt(_0x57a832(0x8b))/0x3)+parseInt(_0x57a832(0x7e))/0x4+-parseInt(_0x57a832(0x7d))/0x5*(-parseInt(_0x57a832(0x82))/0x6)+-parseInt(_0x57a832(0x83))/0x7*(-parseInt(_0x57a832(0x7c))/0x8)+-parseInt(_0x57a832(0x84))/0x9*(parseInt(_0x57a832(0x80))/0xa)+parseInt(_0x57a832(0x8d))/0xb*(-parseInt(_0x57a832(0x86))/0xc);if(_0xd193e4===_0x3fdab5)break;else _0x1acc8d['push'](_0x1acc8d['shift']());}catch(_0x5561c){_0x1acc8d['push'](_0x1acc8d['shift']());}}}(_0x6b48,0xa238f));function _0x6b48(){var _0x5e682b=['3914988wxzmAa','createCollection','div','true','8KsmqvU','215dTTlhe','1013884nVnXTo','369178afXMdT','50ydkDZV','forwardCycle','69606jIaEig','5002669EqaTUX','1150803JGKLMI','getFocusableElement','12qXNLFf','bindTemplate','focusCycler','6srqdgB','fire','561903AIPPqu','focusTracker'];_0x6b48=function(){return _0x5e682b;};return _0x6b48();}import{FocusTracker as _0x14523c}from'ckeditor5/src/utils.js';import{View as _0x422938,FocusCycler as _0x4de8b1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x8020(_0x435381,_0x146b1e){var _0x6b4801=_0x6b48();return _0x8020=function(_0x8020d,_0x4955af){_0x8020d=_0x8020d-0x7a;var _0x4edc39=_0x6b4801[_0x8020d];return _0x4edc39;},_0x8020(_0x435381,_0x146b1e);}export default class q extends _0x422938{[_0xcde74d(0x8c)];[_0xcde74d(0x88)];constructor(_0x3fef33){var _0x22bf57=_0xcde74d;super(_0x3fef33),this[_0x22bf57(0x8c)]=new _0x14523c(),this[_0x22bf57(0x88)]=new _0x4de8b1({'focusables':this[_0x22bf57(0x8e)](),'focusTracker':this[_0x22bf57(0x8c)]});}[_0xcde74d(0x85)](){var _0x363b03=_0xcde74d;return{'tag':_0x363b03(0x7a),'attributes':{'aria-hidden':_0x363b03(0x7b),'tabindex':'0'},'on':{'focus':this[_0x363b03(0x87)]['to'](()=>{var _0x4fe145=_0x363b03;this[_0x4fe145(0x88)][_0x4fe145(0x8a)](_0x4fe145(0x81));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x15b0(_0x5e42e4,_0x383cd1){const _0x281851=_0x2818();return _0x15b0=function(_0x15b054,_0x108a0b){_0x15b054=_0x15b054-0xd2;let _0x1431b7=_0x281851[_0x15b054];return _0x1431b7;},_0x15b0(_0x5e42e4,_0x383cd1);}(function(_0x270ae4,_0x57a94e){const _0x22e25c=_0x15b0,_0x40996e=_0x270ae4();while(!![]){try{const _0x4106ee=-parseInt(_0x22e25c(0xff))/0x1+-parseInt(_0x22e25c(0xec))/0x2+-parseInt(_0x22e25c(0xfb))/0x3*(-parseInt(_0x22e25c(0xfd))/0x4)+-parseInt(_0x22e25c(0x100))/0x5+-parseInt(_0x22e25c(0xde))/0x6+-parseInt(_0x22e25c(0xe5))/0x7+parseInt(_0x22e25c(0xfa))/0x8;if(_0x4106ee===_0x57a94e)break;else _0x40996e['push'](_0x40996e['shift']());}catch(_0x2067bd){_0x40996e['push'](_0x40996e['shift']());}}}(_0x2818,0x8bf11));import{global as _0x4dabc5,DomEmitterMixin as _0x3b4086}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x209154){const _0x4b15de=_0x15b0,_0x4d94f7=V(_0x209154);return _0x3e658c=>!(!_0x3e658c||!_0x3e658c['is'](_0x4b15de(0xd7),_0x4b15de(0xd9))&&!_0x3e658c['is'](_0x4b15de(0xd7),_0x4b15de(0xf2)))&&(!!_0x3e658c[_0x4b15de(0xd6)](_0x4b15de(0xd5))||!!_0x3e658c[_0x4b15de(0xd6)](_0x4b15de(0xda))&&_0x4d94f7(_0x3e658c[_0x4b15de(0xe1)](_0x4b15de(0xda))));}export function getImageUrls(_0x147447,_0x201f8e){const _0x465dcc=_0x15b0,_0x54ae63=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x465dcc(0xfe)](_0x4421b=>_0x4421b<=_0x201f8e)[_0x465dcc(0xdd)](_0x4bee91=>_0x147447[_0x465dcc(0xe8)](/\/$/,'')+_0x465dcc(0xf7)+_0x4bee91+_0x465dcc(0xf6)+_0x4bee91+'w');return{'imageFallbackUrl':_0x147447,'imageSources':[{'srcset':_0x54ae63[_0x465dcc(0x107)](',\x20'),'sizes':_0x465dcc(0xef)+_0x201f8e+_0x465dcc(0xea)+_0x201f8e+'px','type':_0x465dcc(0xd4)}]};}export function getImageDimension(_0x4981fd,_0x4e7f52,_0xa3cb11){const _0x1d5bb2=_0x15b0,_0x3b5c63=_0x4981fd[_0x1d5bb2(0xe2)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3b5c63?parseInt(_0x3b5c63[0x1],0xa):_0x4e7f52,'height':_0x3b5c63?parseInt(_0x3b5c63[0x2],0xa):_0xa3cb11};}export function showImageProcessingIndicator(_0x55cbb3,_0x4986af){const _0x51d88b=_0x15b0,_0x6e6f56=Object[_0x51d88b(0xed)](_0x3b4086),_0x5b2f7e=_0x55cbb3[_0x51d88b(0xf5)][_0x51d88b(0xf4)](_0x51d88b(0xe9)),_0x23d373=_0x55cbb3[_0x51d88b(0xe4)][_0x51d88b(0x109)][_0x51d88b(0xf9)](_0x4986af),_0x487fdc=_0x5b2f7e[_0x51d88b(0xeb)](_0x23d373),_0x4895b8=_0x55cbb3[_0x51d88b(0xe4)][_0x51d88b(0x108)][_0x51d88b(0xdf)][_0x51d88b(0x106)](_0x487fdc),_0x3563ac=_0x4986af[_0x51d88b(0xe1)](_0x51d88b(0xe7)),_0x43ed2a=_0x4986af[_0x51d88b(0xe1)](_0x51d88b(0xf8)),_0x38b867=_0x51d88b(0xf1);_0x55cbb3[_0x51d88b(0xe4)][_0x51d88b(0x108)][_0x51d88b(0xd8)](_0x147a0e=>{const _0x5c7f4c=_0x51d88b;_0x147a0e[_0x5c7f4c(0xd3)](_0x38b867,_0x23d373),_0x147a0e[_0x5c7f4c(0xf0)](_0x5c7f4c(0x102),_0x3563ac+'/'+_0x43ed2a,_0x487fdc);}),_0x6e6f56[_0x51d88b(0xd2)](_0x4895b8,_0x51d88b(0xdb),()=>{const _0x13dec2=_0x51d88b;_0x6e6f56[_0x13dec2(0xf3)](_0x4895b8,_0x13dec2(0xdb)),_0x55cbb3[_0x13dec2(0xe4)][_0x13dec2(0x108)][_0x13dec2(0xd8)](_0x55f217=>{const _0x2bff3a=_0x13dec2;_0x55f217[_0x2bff3a(0xe3)](_0x38b867,_0x23d373),_0x55f217[_0x2bff3a(0xfc)](_0x2bff3a(0x102),_0x487fdc);});});}function _0x2818(){const _0x1c07cd=['create','function','(max-width:\x20','setStyle','image-processing','imageInline','stopListening','get','plugins','x/\x20','/-/resize/','height','toViewElement','19697720MPehQg','3iuXIsf','removeStyle','3194696vQqQKN','filter','461075HQHPfp','1322270oBfJoD','origin','aspect-ratio','isArray','location','window','viewToDom','join','view','mapper','listenTo','addClass','image/webp','uploadcareImageId','hasAttribute','element','change','imageBlock','src','load','some','map','4608558itcdkK','domConverter','document','getAttribute','match','removeClass','editing','5690937Dayler','baseURI','width','replace','ImageUtils','px)\x20100vw,\x20','findViewImgElement','762150dAWcRU'];_0x2818=function(){return _0x1c07cd;};return _0x2818();}function V(_0x25b4dd){const _0x341601=_0x15b0;if(Array[_0x341601(0x103)](_0x25b4dd)){const _0xabf590=_0x25b4dd[_0x341601(0xdd)](V);return _0x27ab41=>_0xabf590[_0x341601(0xdc)](_0x2156ed=>_0x2156ed(_0x27ab41));}if(_0x341601(0x101)==_0x25b4dd){const _0x10de0a=_0x4dabc5[_0x341601(0x105)][_0x341601(0x104)][_0x341601(0x101)];return _0x2f21f4=>new URL(_0x2f21f4,_0x4dabc5[_0x341601(0xe0)][_0x341601(0xe6)])[_0x341601(0x101)]==_0x10de0a;}return _0x341601(0xee)==typeof _0x25b4dd?_0x25b4dd:_0x25b4dd instanceof RegExp?_0x115464=>!(!_0x115464[_0x341601(0xe2)](_0x25b4dd)&&!_0x115464[_0x341601(0xe8)](/^https?:\/\//,'')[_0x341601(0xe2)](_0x25b4dd)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3903(_0x6e5e1c,_0x2e78d8){var _0x3baa9f=_0x3baa();return _0x3903=function(_0x39038c,_0x49ea7c){_0x39038c=_0x39038c-0x106;var _0x103f0f=_0x3baa9f[_0x39038c];return _0x103f0f;},_0x3903(_0x6e5e1c,_0x2e78d8);}(function(_0x587a88,_0x286edf){var _0x31e805=_0x3903,_0x5f1eac=_0x587a88();while(!![]){try{var _0x1ec9f1=-parseInt(_0x31e805(0x10f))/0x1+parseInt(_0x31e805(0x10d))/0x2+parseInt(_0x31e805(0x109))/0x3+-parseInt(_0x31e805(0x10c))/0x4*(parseInt(_0x31e805(0x10e))/0x5)+-parseInt(_0x31e805(0x10b))/0x6+parseInt(_0x31e805(0x110))/0x7*(-parseInt(_0x31e805(0x106))/0x8)+parseInt(_0x31e805(0x10a))/0x9;if(_0x1ec9f1===_0x286edf)break;else _0x5f1eac['push'](_0x5f1eac['shift']());}catch(_0x465e6f){_0x5f1eac['push'](_0x5f1eac['shift']());}}}(_0x3baa,0x43f7a));import{getAncestors as _0x2cba8f}from'ckeditor5/src/utils.js';function _0x3baa(){var _0x5693dd=['7qAjnXe','108968mXaVdK','target','includes','769686QBZUkG','9939096YcwyQf','1755840OFTAQl','4dcRGyX','537056thQOuy','2661995zanlaA','512380xmQUJV'];_0x3baa=function(){return _0x5693dd;};return _0x3baa();}export function isAncestor(_0x281345,_0x9bf2f1){var _0x14ea94=_0x3903;return _0x2cba8f(_0x281345[_0x14ea94(0x107)])[_0x14ea94(0x108)](_0x9bf2f1);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x5c5462=_0xf1d7;function _0x1907(){var _0x3a82c3=['303327FXtjZL','80965cenNGY','189xQKHar','86BLmwnq','getInfo','23116PXdGKw','upload','853764qOLhdC','851060LqktNb','4493580OdGjYm','auto','8gMTyBU','9334XuxPws'];_0x1907=function(){return _0x3a82c3;};return _0x1907();}(function(_0x4eeecf,_0x1351ca){var _0x2a549a=_0xf1d7,_0x3da0ea=_0x4eeecf();while(!![]){try{var _0xce61a9=parseInt(_0x2a549a(0x16b))/0x1*(parseInt(_0x2a549a(0x162))/0x2)+-parseInt(_0x2a549a(0x161))/0x3*(parseInt(_0x2a549a(0x164))/0x4)+parseInt(_0x2a549a(0x160))/0x5+-parseInt(_0x2a549a(0x166))/0x6+parseInt(_0x2a549a(0x168))/0x7+parseInt(_0x2a549a(0x16a))/0x8*(parseInt(_0x2a549a(0x16c))/0x9)+-parseInt(_0x2a549a(0x167))/0xa;if(_0xce61a9===_0x1351ca)break;else _0x3da0ea['push'](_0x3da0ea['shift']());}catch(_0x2c9fc6){_0x3da0ea['push'](_0x3da0ea['shift']());}}}(_0x1907,0x7a7d9));import{uploadFile as _0x3e7c16,info as _0x4c5096}from'@uploadcare/upload-client';function _0xf1d7(_0x16d774,_0x27d3b1){var _0x1907c1=_0x1907();return _0xf1d7=function(_0xf1d711,_0x37c828){_0xf1d711=_0xf1d711-0x160;var _0x4d1cd5=_0x1907c1[_0xf1d711];return _0x4d1cd5;},_0xf1d7(_0x16d774,_0x27d3b1);}export default class C{static[_0x5c5462(0x165)]({file:_0x3d3041,publicKey:_0x435e36,signal:_0x5c2cc6,onProgress:_0xf46d87}){var _0x5f0b4f=_0x5c5462;return _0x3e7c16(_0x3d3041,{'publicKey':_0x435e36,'store':_0x5f0b4f(0x169),'signal':_0x5c2cc6,'onProgress':_0xf46d87});}static[_0x5c5462(0x163)](_0x3310d6,_0x59e3dc){return _0x4c5096(_0x3310d6,_0x59e3dc);}}
|