@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260112.0 → 0.0.0-nightly-next-20260112.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/ckeditor5-metadata.json +2 -2
- package/{src → dist}/augmentation.d.ts +4 -0
- package/{src → dist}/index.d.ts +4 -0
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/ui/uploadcarecontroller.d.ts +7 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +5 -1
- package/{src → dist}/uploadcare.d.ts +5 -1
- package/{src → dist}/uploadcarecommand.d.ts +6 -2
- package/{src → dist}/uploadcareconfig.d.ts +5 -1
- package/{src → dist}/uploadcareediting.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +9 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +6 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +5 -1
- package/{src → dist}/uploadcareimageedit.d.ts +5 -1
- package/{src → dist}/uploadcareui.d.ts +5 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +6 -2
- package/{src → dist}/utils/common-translations.d.ts +4 -0
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +6 -2
- package/{src → dist}/utils/editingutils.d.ts +4 -0
- package/{src → dist}/utils/isancestor.d.ts +4 -0
- package/{src → dist}/utils/uploadutils.d.ts +4 -0
- package/package.json +23 -33
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
package/src/augmentation.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export{};
|
package/src/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
(function(_0x3159ba,_0x363349){var _0x2103f3=_0xc954,_0x21a8a9=_0x3159ba();while(!![]){try{var _0x5ccc49=parseInt(_0x2103f3(0x12a))/0x1+parseInt(_0x2103f3(0x131))/0x2+-parseInt(_0x2103f3(0x12f))/0x3*(-parseInt(_0x2103f3(0x12d))/0x4)+-parseInt(_0x2103f3(0x12c))/0x5+-parseInt(_0x2103f3(0x129))/0x6*(parseInt(_0x2103f3(0x130))/0x7)+parseInt(_0x2103f3(0x12b))/0x8+-parseInt(_0x2103f3(0x12e))/0x9;if(_0x5ccc49===_0x363349)break;else _0x21a8a9['push'](_0x21a8a9['shift']());}catch(_0x3060dd){_0x21a8a9['push'](_0x21a8a9['shift']());}}}(_0x58cd,0xa5e23));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';function _0x58cd(){var _0xd9b335=['707510ltUtxD','7814384pHTdrm','2410745IMnzhE','14404WWnILD','21061098sYCoKY','606sDRmVK','7ydwwut','2656994qdAwPo','1430862YUHTHJ'];_0x58cd=function(){return _0xd9b335;};return _0x58cd();}export{UploadcareUI}from'./uploadcareui.js';function _0xc954(_0x487c07,_0x597d7b){var _0x58cd43=_0x58cd();return _0xc954=function(_0xc9548b,_0x5c75b5){_0xc9548b=_0xc9548b-0x129;var _0xf2102e=_0x58cd43[_0xc9548b];return _0xf2102e;},_0xc954(_0x487c07,_0x597d7b);}export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';export{UploadcareUploadAdapter}from'./uploadcareuploadadapter.js';import'./augmentation.js';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x2789(_0x3bd8f8,_0x3622e5){const _0x514091=_0x5140();return _0x2789=function(_0x278985,_0x43a056){_0x278985=_0x278985-0xb3;let _0x4b9d6a=_0x514091[_0x278985];return _0x4b9d6a;},_0x2789(_0x3bd8f8,_0x3622e5);}const _0x5c886f=_0x2789;(function(_0x4dc5b0,_0x315f80){const _0x4c2cea=_0x2789,_0x44b02f=_0x4dc5b0();while(!![]){try{const _0x4e30a8=-parseInt(_0x4c2cea(0xd1))/0x1+-parseInt(_0x4c2cea(0xbd))/0x2+parseInt(_0x4c2cea(0xe1))/0x3+-parseInt(_0x4c2cea(0xc0))/0x4+parseInt(_0x4c2cea(0xbc))/0x5+-parseInt(_0x4c2cea(0xe3))/0x6+parseInt(_0x4c2cea(0xf4))/0x7*(parseInt(_0x4c2cea(0xe2))/0x8);if(_0x4e30a8===_0x315f80)break;else _0x44b02f['push'](_0x44b02f['shift']());}catch(_0x519da2){_0x44b02f['push'](_0x44b02f['shift']());}}}(_0x5140,0x8f90a));import{IconUploadcareImageUpload as _0x44a7b4}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x4547f2}from'ckeditor5/src/utils.js';import{Dialog as _0x4d7125,DialogViewPosition as _0x3135e9}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x22ee0f}from'./uploadcareformview.js';import{UploadcareSource as _0x257e37}from'../uploadcareconfig.js';import{getTranslation as _0x5913e7}from'../utils/common-translations.js';import{getImageUrls as _0x5a3653,getImageDimension as _0x354206}from'../utils/editingutils.js';import{isAncestor as _0x41996e}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4547f2(){[_0x5c886f(0xc1)];[_0x5c886f(0xbf)];[_0x5c886f(0xd0)];[_0x5c886f(0xd5)];[_0x5c886f(0xe6)]=null;[_0x5c886f(0xf5)]=null;constructor(_0x334dec,_0x2e5020,_0x56ddce){const _0x19aa35=_0x5c886f;super(),this[_0x19aa35(0xc1)]=_0x334dec,this[_0x19aa35(0xd0)]=_0x2e5020,this[_0x19aa35(0xbf)]=_0x334dec[_0x19aa35(0xc5)][_0x19aa35(0xd2)](_0x4d7125),this[_0x19aa35(0xd5)]=_0x2e5020[_0x19aa35(0xde)][_0x19aa35(0xf3)](),this[_0x19aa35(0xe6)]=_0x56ddce,this[_0x19aa35(0xd0)][_0x19aa35(0xdb)][_0x19aa35(0xc8)](_0x19aa35(0xe9),this[_0x19aa35(0xe6)]),this[_0x19aa35(0xc7)](),this[_0x19aa35(0xf1)](),this[_0x19aa35(0xd5)][_0x19aa35(0xdc)]();}[_0x5c886f(0xe7)](){const _0x32db19=_0x5c886f;this[_0x32db19(0xf5)]&&(this[_0x32db19(0xf5)][_0x32db19(0xe7)](),this[_0x32db19(0xf5)]=null),this[_0x32db19(0xd5)]&&this[_0x32db19(0xd5)][_0x32db19(0xb8)](),this[_0x32db19(0xf8)](),this[_0x32db19(0xd7)]();}[_0x5c886f(0xc7)](){const _0x39353b=_0x5c886f,{locale:_0x4925a6,model:_0x835786}=this[_0x39353b(0xc1)],_0x122e7=_0x835786[_0x39353b(0xb9)][_0x39353b(0xcb)][_0x39353b(0xb5)](),_0x16655b=_0x122e7&&(_0x122e7['is'](_0x39353b(0xf2),_0x39353b(0xb4))||_0x122e7['is'](_0x39353b(0xf2),_0x39353b(0xcc)));this[_0x39353b(0xf5)]=new _0x22ee0f(_0x4925a6,this[_0x39353b(0xd0)][_0x39353b(0xb7)]),this[_0x39353b(0xbf)][_0x39353b(0xd4)]({'id':_0x39353b(0xba),'icon':_0x44a7b4,'title':_0x5913e7(_0x4925a6,this[_0x39353b(0xe6)],_0x16655b?_0x39353b(0xed):_0x39353b(0xec))[_0x39353b(0xd9)],'content':this[_0x39353b(0xf5)],'position':_0x3135e9[_0x39353b(0xd8)],'isModal':!0x0,'onShow':()=>{const _0x2dbd8a=_0x39353b;this[_0x2dbd8a(0xf5)][_0x2dbd8a(0xdd)]();},'onHide':()=>{const _0x4b2c3f=_0x39353b;this[_0x4b2c3f(0xd5)][_0x4b2c3f(0xda)](),this[_0x4b2c3f(0xc1)][_0x4b2c3f(0xd6)][_0x4b2c3f(0xbe)][_0x4b2c3f(0xdd)](),this[_0x4b2c3f(0xe7)]();},'keystrokeHandlerOptions':{'filter':_0x1e9b56=>!_0x41996e(_0x1e9b56,this[_0x39353b(0xf5)][_0x39353b(0xf2)])}});}[_0x5c886f(0xf1)](){const _0x304c8c=_0x5c886f;this[_0x304c8c(0xd0)][_0x304c8c(0xde)][_0x304c8c(0xbb)](_0x304c8c(0xc6),()=>{const _0x5ac5ef=_0x304c8c,{allEntries:_0x515673}=this[_0x5ac5ef(0xd5)][_0x5ac5ef(0xcd)]();this[_0x5ac5ef(0xc1)][_0x5ac5ef(0xe0)][_0x5ac5ef(0xf0)](_0x5b2dfc=>{const _0x3d5981=_0x5ac5ef,_0x5d6d01=_0x515673[_0x3d5981(0xf6)];for(const _0x4a6746 of _0x515673){const _0x344fe9=_0x4a6746===_0x515673[_0x5d6d01-0x1],{cdnUrl:_0x18647d,fileInfo:_0xe46f6e}=_0x4a6746;if(!_0x18647d||!_0xe46f6e)continue;const {width:_0x537d8b,height:_0x163b23}=_0xe46f6e[_0x3d5981(0xca)],_0x339334=_0x354206(_0x18647d,_0x537d8b,_0x163b23),_0x4a5613=_0x5a3653(_0x18647d,_0x339334[_0x3d5981(0xe4)]),_0x1074f8={'id':_0xe46f6e[_0x3d5981(0xb3)],'type':_0x3d5981(0xef),'attributes':{'imageDimension':_0x339334,..._0x4a5613}};this[_0x3d5981(0xc3)](_0x1074f8,_0x344fe9,_0x5b2dfc);}}),this[_0x5ac5ef(0xbf)][_0x5ac5ef(0xdf)]();}),this[_0x304c8c(0xd0)][_0x304c8c(0xde)][_0x304c8c(0xbb)](_0x304c8c(0xf0),_0x4dcf35=>{const _0x2eb199=_0x304c8c;_0x2eb199(0xd3)===_0x4dcf35[_0x2eb199(0xf9)][_0x2eb199(0xb6)]&&!_0x4dcf35[_0x2eb199(0xf9)][_0x2eb199(0xc4)][_0x2eb199(0xf6)]&&this[_0x2eb199(0xbf)][_0x2eb199(0xce)]&&(this[_0x2eb199(0xe6)]===_0x257e37[_0x2eb199(0xc2)]?this[_0x2eb199(0xd5)][_0x2eb199(0xf7)](_0x257e37[_0x2eb199(0xc2)]):this[_0x2eb199(0xd5)][_0x2eb199(0xdc)]());});}[_0x5c886f(0xc3)](_0x32a85e,_0x2ad575,_0x3b7f4f){const _0x4ee089=_0x5c886f,_0x597b29=this[_0x4ee089(0xc1)][_0x4ee089(0xe0)][_0x4ee089(0xb9)][_0x4ee089(0xcb)],_0x1cb5be=_0x597b29[_0x4ee089(0xb5)](),_0x5b585c=!(!_0x1cb5be||!_0x1cb5be['is'](_0x4ee089(0xf2),_0x4ee089(0xcc)));_0x3b7f4f[_0x4ee089(0xe5)](_0x4ee089(0xc9)),this[_0x4ee089(0xcf)](_0x32a85e,_0x5b585c),_0x2ad575||_0x3b7f4f[_0x4ee089(0xfa)](_0x597b29[_0x4ee089(0xeb)]());}[_0x5c886f(0xcf)](_0x1c90bd,_0x253149){const _0x3e21d4=_0x5c886f,_0x4884aa=this[_0x3e21d4(0xc1)],{imageDimension:_0x3ffba4,imageFallbackUrl:_0x4257f6,imageSources:_0x3ac036}=_0x1c90bd[_0x3e21d4(0xee)];_0x4884aa[_0x3e21d4(0xe8)](_0x3e21d4(0xea),{'imageType':_0x253149?_0x3e21d4(0xcc):null,'source':{'uploadcareImageId':_0x1c90bd['id'],'src':_0x4257f6,'sources':_0x3ac036,..._0x3ffba4}});}}function _0x5140(){const _0xdc12c3=['source-list','insertImage','getLastPosition','Insert','Replace','attributes','image','change','_initListeners','element','getAPI','28fZeLsC','_formView','length','setCurrentActivity','stopListening','detail','setSelection','uuid','imageBlock','getSelectedElement','status','ucContextId','doneFlow','document','uploadCare','addEventListener','1698515dWnYDk','2288526CrfVUa','view','_dialog','2372620UsntQA','_editor','Local','_insertAsset','allEntries','plugins','done-click','_initDialog','setAttribute','linkHref','imageInfo','selection','imageInline','getOutputCollectionState','isOpen','_insertImage','_editing','320004RAkEYY','get','idle','show','_api','editing','stopDelegating','EDITOR_TOP_CENTER','text','removeAllFiles','configElement','initFlow','focus','ctxElement','hide','model','1321083cWUWdw','5686176EOKpPT','5866128lGVQnq','width','removeSelectionAttribute','_type','destroy','execute'];_0x5140=function(){return _0xdc12c3;};return _0x5140();}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0x590815=_0x230e;(function(_0x28146c,_0x2c993e){var _0xaa99f6=_0x230e,_0x255296=_0x28146c();while(!![]){try{var _0x9bf345=parseInt(_0xaa99f6(0x147))/0x1*(parseInt(_0xaa99f6(0x155))/0x2)+-parseInt(_0xaa99f6(0x156))/0x3*(-parseInt(_0xaa99f6(0x154))/0x4)+-parseInt(_0xaa99f6(0x151))/0x5+parseInt(_0xaa99f6(0x14a))/0x6*(-parseInt(_0xaa99f6(0x146))/0x7)+-parseInt(_0xaa99f6(0x150))/0x8+parseInt(_0xaa99f6(0x148))/0x9*(parseInt(_0xaa99f6(0x14b))/0xa)+parseInt(_0xaa99f6(0x14d))/0xb*(parseInt(_0xaa99f6(0x157))/0xc);if(_0x9bf345===_0x2c993e)break;else _0x255296['push'](_0x255296['shift']());}catch(_0x3d7263){_0x255296['push'](_0x255296['shift']());}}}(_0x2d5b,0xc5dca));import{DialogFocusManagerView as _0x5966fa}from'../utils/dialogfocusmanagerview.js';function _0x2d5b(){var _0x7e5409=['setTemplate','7357647akOQzF','uc-file-uploader-inline','ck-reset_all-excluded','10068304YEsPCt','6019545agVCys','uc-light','element','2224mdJpPN','2371046xPutxd','4782pxNqIS','12oXBjwR','focus','ck-uploadcare-form','ck-uploadcare-theme','getFocusableElement','div','3662036qVebwO','1nLYOrx','14206689GjTCOD','uploader-','12NxCvZz','10JsUHxH'];_0x2d5b=function(){return _0x7e5409;};return _0x2d5b();}import'../../theme/uploadcare-form.css';function _0x230e(_0x54486b,_0x21e06d){var _0x2d5b86=_0x2d5b();return _0x230e=function(_0x230ea9,_0x345aae){_0x230ea9=_0x230ea9-0x142;var _0x54af42=_0x2d5b86[_0x230ea9];return _0x54af42;},_0x230e(_0x54486b,_0x21e06d);}export class UploadcareFormView extends _0x5966fa{constructor(_0xb795b4,_0xd662bf){var _0x55deb9=_0x230e;super(_0xb795b4),this[_0x55deb9(0x14c)]({'tag':_0x55deb9(0x145),'attributes':{'class':['ck',_0x55deb9(0x14f),_0x55deb9(0x142)],'tabindex':'-1'},'children':[{'tag':_0x55deb9(0x14e),'attributes':{'class':[_0x55deb9(0x152),_0x55deb9(0x143)],'ctx-name':_0x55deb9(0x149)+_0xd662bf}},this[_0x55deb9(0x144)]()]});}[_0x590815(0x158)](){var _0xef5490=_0x590815;this[_0xef5490(0x153)][_0xef5490(0x158)]();}}
|
package/src/uploadcare.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x397e07=_0x50ee;(function(_0x115b9c,_0x431b3f){const _0xc1d33d=_0x50ee,_0x2a9683=_0x115b9c();while(!![]){try{const _0x259b55=parseInt(_0xc1d33d(0x19e))/0x1*(parseInt(_0xc1d33d(0x1ab))/0x2)+parseInt(_0xc1d33d(0x1ac))/0x3+-parseInt(_0xc1d33d(0x1b3))/0x4*(parseInt(_0xc1d33d(0x1b1))/0x5)+parseInt(_0xc1d33d(0x1b7))/0x6*(-parseInt(_0xc1d33d(0x1af))/0x7)+-parseInt(_0xc1d33d(0x1a2))/0x8*(-parseInt(_0xc1d33d(0x1ba))/0x9)+parseInt(_0xc1d33d(0x1a4))/0xa*(parseInt(_0xc1d33d(0x1ad))/0xb)+parseInt(_0xc1d33d(0x1b9))/0xc;if(_0x259b55===_0x431b3f)break;else _0x2a9683['push'](_0x2a9683['shift']());}catch(_0x587b6b){_0x2a9683['push'](_0x2a9683['shift']());}}}(_0x45dd,0xe12b2));import{Plugin as _0x1a6d50}from'ckeditor5/src/core.js';import{UploadcareUI as _0x3c2362}from'./uploadcareui.js';import{UploadcareEditing as _0x3be8c9}from'./uploadcareediting.js';function _0x50ee(_0x3b528a,_0x3b2456){const _0x45dd71=_0x45dd();return _0x50ee=function(_0x50eef2,_0x591e04){_0x50eef2=_0x50eef2-0x19d;let _0xb4c92=_0x45dd71[_0x50eef2];return _0xb4c92;},_0x50ee(_0x3b528a,_0x3b2456);}import{UploadcareSource as _0x242820}from'./uploadcareconfig.js';import*as _0x142ade from'@uploadcare/file-uploader';export class Uploadcare extends _0x1a6d50{static get[_0x397e07(0x19f)](){return[_0x3be8c9,_0x3c2362];}static get[_0x397e07(0x1ae)](){const _0x48c829=_0x397e07;return _0x48c829(0x1b2);}static get[_0x397e07(0x1aa)](){return!0x0;}static get[_0x397e07(0x19d)](){return!0x0;}constructor(_0x4a4876){const _0x2b9fd3=_0x397e07;super(_0x4a4876),_0x4a4876[_0x2b9fd3(0x1a8)][_0x2b9fd3(0x1b4)](_0x2b9fd3(0x1b8),[_0x242820[_0x2b9fd3(0x1a1)],_0x242820[_0x2b9fd3(0x1a7)]]),_0x142ade[_0x2b9fd3(0x1a5)](_0x142ade),this[_0x2b9fd3(0x1a6)]();}[_0x397e07(0x1a6)](){const _0x4205d4=_0x397e07,_0x3ed318=this[_0x4205d4(0x1b0)][_0x4205d4(0x1a8)][_0x4205d4(0x1a0)](_0x4205d4(0x1a3)),_0x29c151=this[_0x4205d4(0x1b0)][_0x4205d4(0x1b6)][_0x4205d4(0x1a9)];_0x3ed318&&_0x142ade[_0x4205d4(0x1b5)](_0x29c151,_0x3ed318);}}function _0x45dd(){const _0x23fac2=['uploadcare.locale','155690oUHjze','defineComponents','_defineLocale','URL','config','contentLanguage','isOfficialPlugin','948202raJtuR','1567431PqKqix','627oYCozY','pluginName','36953TUgGyf','editor','15opPFhw','Uploadcare','1458460driffJ','define','defineLocale','locale','1290RfDcia','uploadcare.uploader.sourceList','6975468cYCexq','6172380UrqOjW','isPremiumPlugin','1gaOsNi','requires','get','Local','8TjXjxp'];_0x45dd=function(){return _0x23fac2;};return _0x45dd();}
|
package/src/uploadcarecommand.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0x3cf3c3=_0x1d60;function _0x4398(){var _0x830fe5=['refresh','_editing','execute','86571Jhubvw','isEnabled','160gvxPVl','insertImage','requires','commands','_controller','4339278vxgpBR','6199384mUXjRd','2616009QNspcl','plugins','3381395XgSgHn','248ZTzPtz','get','editor','14EjqEEn','destroy','_checkEnabled','26703nYzjQH','639868oxHkZm','200yqbZcc'];_0x4398=function(){return _0x830fe5;};return _0x4398();}(function(_0x1255b9,_0x5c085f){var _0x37d275=_0x1d60,_0x54668e=_0x1255b9();while(!![]){try{var _0x272100=parseInt(_0x37d275(0x170))/0x1+parseInt(_0x37d275(0x171))/0x2*(-parseInt(_0x37d275(0x16f))/0x3)+-parseInt(_0x37d275(0x17d))/0x4+parseInt(_0x37d275(0x180))/0x5+-parseInt(_0x37d275(0x17c))/0x6*(parseInt(_0x37d275(0x16c))/0x7)+-parseInt(_0x37d275(0x181))/0x8*(parseInt(_0x37d275(0x175))/0x9)+-parseInt(_0x37d275(0x177))/0xa*(-parseInt(_0x37d275(0x17e))/0xb);if(_0x272100===_0x5c085f)break;else _0x54668e['push'](_0x54668e['shift']());}catch(_0x46653b){_0x54668e['push'](_0x54668e['shift']());}}}(_0x4398,0xe4af2));import{Command as _0x37d014}from'ckeditor5/src/core.js';import{Dialog as _0x5499d1}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x3fead8}from'./uploadcareediting.js';function _0x1d60(_0xba1e60,_0x4d762c){var _0x4398f1=_0x4398();return _0x1d60=function(_0x1d6041,_0x280f46){_0x1d6041=_0x1d6041-0x16b;var _0x110bfe=_0x4398f1[_0x1d6041];return _0x110bfe;},_0x1d60(_0xba1e60,_0x4d762c);}import{UploadcareController as _0x1b9bec}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x37d014{[_0x3cf3c3(0x173)];[_0x3cf3c3(0x17b)]=null;static get[_0x3cf3c3(0x179)](){return[_0x5499d1,_0x3fead8];}constructor(_0xe991dc){var _0x11db90=_0x3cf3c3;super(_0xe991dc),this[_0x11db90(0x173)]=_0xe991dc[_0x11db90(0x17f)][_0x11db90(0x182)](_0x3fead8);}[_0x3cf3c3(0x172)](){var _0x41c51c=_0x3cf3c3;this[_0x41c51c(0x176)]=this[_0x41c51c(0x16e)]();}[_0x3cf3c3(0x174)](_0x3c85ed){var _0x29d30e=_0x3cf3c3;this[_0x29d30e(0x17b)]&&(this[_0x29d30e(0x17b)][_0x29d30e(0x16d)](),this[_0x29d30e(0x17b)]=null),this[_0x29d30e(0x17b)]=new _0x1b9bec(this[_0x29d30e(0x16b)],this[_0x29d30e(0x173)],_0x3c85ed);}[_0x3cf3c3(0x16e)](){var _0x57db38=_0x3cf3c3;return this[_0x57db38(0x16b)][_0x57db38(0x17a)][_0x57db38(0x182)](_0x57db38(0x178))[_0x57db38(0x176)];}}
|
package/src/uploadcareconfig.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
(function(_0x3fb1e5,_0x2ae39d){var _0x43fd39=_0x410a,_0xe97624=_0x3fb1e5();while(!![]){try{var _0xe24ae6=-parseInt(_0x43fd39(0x1ca))/0x1*(parseInt(_0x43fd39(0x1ba))/0x2)+parseInt(_0x43fd39(0x1b5))/0x3+parseInt(_0x43fd39(0x1c2))/0x4+-parseInt(_0x43fd39(0x1c0))/0x5*(parseInt(_0x43fd39(0x1c5))/0x6)+parseInt(_0x43fd39(0x1b7))/0x7+-parseInt(_0x43fd39(0x1b9))/0x8*(parseInt(_0x43fd39(0x1cc))/0x9)+parseInt(_0x43fd39(0x1c4))/0xa;if(_0xe24ae6===_0x2ae39d)break;else _0xe97624['push'](_0xe97624['shift']());}catch(_0x23f4f6){_0xe97624['push'](_0xe97624['shift']());}}}(_0x2648,0x83f54));function _0x410a(_0x499f8e,_0x41c00f){var _0x2648a3=_0x2648();return _0x410a=function(_0x410a1c,_0x280664){_0x410a1c=_0x410a1c-0x1b5;var _0x49e1b0=_0x2648a3[_0x410a1c];return _0x49e1b0;},_0x410a(_0x499f8e,_0x41c00f);}export var UploadcareSource;!function(_0x4f10b5){var _0x7c5d8f=_0x410a;_0x4f10b5[_0x7c5d8f(0x1bd)]=_0x7c5d8f(0x1bc),_0x4f10b5[_0x7c5d8f(0x1cb)]=_0x7c5d8f(0x1c1),_0x4f10b5[_0x7c5d8f(0x1c8)]=_0x7c5d8f(0x1be),_0x4f10b5[_0x7c5d8f(0x1bb)]=_0x7c5d8f(0x1b6),_0x4f10b5[_0x7c5d8f(0x1c9)]=_0x7c5d8f(0x1c3),_0x4f10b5[_0x7c5d8f(0x1c6)]=_0x7c5d8f(0x1bf),_0x4f10b5[_0x7c5d8f(0x1b8)]=_0x7c5d8f(0x1c7);}(UploadcareSource||(UploadcareSource={}));function _0x2648(){var _0x5dc827=['OneDrive','262872kiUcVM','2xvuksi','GDrive','local','Local','dropbox','gphotos','18065Mvjhkv','url','730188EfUXtt','facebook','11639520NxZQEu','120zQZyyy','GPhotos','onedrive','Dropbox','Facebook','973039MkOlzt','URL','126qqJxuN','808392PYjXlR','gdrive','3009034CVALml'];_0x2648=function(){return _0x5dc827;};return _0x2648();}
|
package/src/uploadcareediting.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x4c8b04=_0x39c5;(function(_0x43cea4,_0x44a80b){const _0x8f7c3e=_0x39c5,_0x9e91d5=_0x43cea4();while(!![]){try{const _0xf99a79=parseInt(_0x8f7c3e(0x17f))/0x1+-parseInt(_0x8f7c3e(0x14d))/0x2*(parseInt(_0x8f7c3e(0x143))/0x3)+parseInt(_0x8f7c3e(0x14c))/0x4+-parseInt(_0x8f7c3e(0x15a))/0x5+parseInt(_0x8f7c3e(0x171))/0x6*(-parseInt(_0x8f7c3e(0x179))/0x7)+-parseInt(_0x8f7c3e(0x16f))/0x8*(parseInt(_0x8f7c3e(0x148))/0x9)+parseInt(_0x8f7c3e(0x147))/0xa;if(_0xf99a79===_0x44a80b)break;else _0x9e91d5['push'](_0x9e91d5['shift']());}catch(_0xe139c2){_0x9e91d5['push'](_0x9e91d5['shift']());}}}(_0x522b,0xc6959));import{Plugin as _0x465c1c}from'ckeditor5/src/core.js';import{Dialog as _0x3a4da8}from'ckeditor5/src/ui.js';import{createElement as _0x3ecc53,global as _0x5d62ac,uid as _0x327f0f}from'ckeditor5/src/utils.js';function _0x39c5(_0x10d558,_0x2e822a){const _0x522bea=_0x522b();return _0x39c5=function(_0x39c588,_0x5bcd1b){_0x39c588=_0x39c588-0x142;let _0x840e27=_0x522bea[_0x39c588];return _0x840e27;},_0x39c5(_0x10d558,_0x2e822a);}import{UploadcareCommand as _0x13e6d7}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x36c193}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3992f9}from'./utils/editingutils.js';export class UploadcareEditing extends _0x465c1c{[_0x4c8b04(0x17c)]=null;[_0x4c8b04(0x162)]=null;static get[_0x4c8b04(0x14f)](){const _0x2ebb6d=_0x4c8b04;return _0x2ebb6d(0x14b);}static get[_0x4c8b04(0x160)](){const _0x32ff01=_0x4c8b04;return[_0x32ff01(0x156),_0x36c193,_0x3a4da8];}static get[_0x4c8b04(0x15f)](){return!0x0;}static get[_0x4c8b04(0x183)](){return!0x0;}[_0x4c8b04(0x16c)];get[_0x4c8b04(0x168)](){const _0x10ba51=_0x4c8b04;return this[_0x10ba51(0x17c)];}get[_0x4c8b04(0x14e)](){const _0x13324b=_0x4c8b04;return this[_0x13324b(0x162)];}constructor(_0x196e2d){const _0x5bcc62=_0x4c8b04;super(_0x196e2d),this[_0x5bcc62(0x16c)]=_0x327f0f();}[_0x4c8b04(0x17a)](){const _0x34a3a3=_0x4c8b04,_0x5a2a30=this[_0x34a3a3(0x194)];_0x5a2a30[_0x34a3a3(0x187)][_0x34a3a3(0x186)](_0x34a3a3(0x177),new _0x13e6d7(_0x5a2a30));}[_0x4c8b04(0x16b)](){const _0x54ba5a=_0x4c8b04;this[_0x54ba5a(0x166)](),this[_0x54ba5a(0x144)](),this[_0x54ba5a(0x180)](),this[_0x54ba5a(0x164)](),this[_0x54ba5a(0x15e)](),this[_0x54ba5a(0x173)](this[_0x54ba5a(0x194)],_0x54ba5a(0x158),()=>{const _0x2d6773=_0x54ba5a;this[_0x2d6773(0x17c)]&&(this[_0x2d6773(0x17c)][_0x2d6773(0x163)](),this[_0x2d6773(0x17c)]=null),this[_0x2d6773(0x162)]&&(this[_0x2d6773(0x162)][_0x2d6773(0x163)](),this[_0x2d6773(0x162)]=null);const _0x1b1c07=_0x5d62ac[_0x2d6773(0x181)][_0x2d6773(0x16d)](_0x2d6773(0x17b));_0x1b1c07&&_0x1b1c07[_0x2d6773(0x163)]();}),async function(_0x15d303){const _0x13c1d8=_0x40ad53([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x376d73=0x535f8c3a,_0x45e2dc=0x5358f2a2^_0x376d73,_0x2a1167=window[_0x40ad53([0x44,0x61,0x74,0x65])][_0x40ad53([0x6e,0x6f,0x77])](),_0x4300b8=_0x15d303[_0x40ad53([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e2c03=new window[(_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcc8d8c=>{_0x4300b8[_0x40ad53([0x6f,0x6e,0x63,0x65])](_0x40ad53([0x72,0x65,0x61,0x64,0x79]),_0xcc8d8c);}),_0x160a8f={[_0x40ad53([0x6b,0x74,0x79])]:_0x40ad53([0x45,0x43]),[_0x40ad53([0x75,0x73,0x65])]:_0x40ad53([0x73,0x69,0x67]),[_0x40ad53([0x63,0x72,0x76])]:_0x40ad53([0x50,0x2d,0x32,0x35,0x36]),[_0x40ad53([0x78])]:_0x40ad53([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x40ad53([0x79])]:_0x40ad53([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x40ad53([0x61,0x6c,0x67])]:_0x40ad53([0x45,0x53,0x32,0x35,0x36])},_0x3ab5b3=_0x4300b8[_0x40ad53([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40ad53([0x67,0x65,0x74])](_0x40ad53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbe681e(){let _0x3ab90c,_0x58ff6e=null,_0xc92fe7=null;try{if(_0x3ab5b3==_0x40ad53([0x47,0x50,0x4c]))return _0x40ad53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ab90c=_0x551190(),!_0x3ab90c)return _0x40ad53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ab90c[_0x40ad53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc92fe7=_0x2053d9(_0x3ab90c[_0x40ad53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ab90c[_0x40ad53([0x6a,0x74,0x69])])),await _0x50b51e()?_0x11fcf2()?_0x1a553e()?_0x40ad53([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x216991()?(_0x3ab90c[_0x40ad53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40ad53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58ff6e=_0x4e24d3(_0x40ad53([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c84a7()):_0x40ad53([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40ad53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40ad53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40ad53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a553e(){const _0x3efc87=[_0x40ad53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40ad53([0x74,0x72,0x69,0x61,0x6c])][_0x40ad53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab90c[_0x40ad53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a1167/0x3e8:0xe10*_0x45e2dc;return _0x3ab90c[_0x40ad53([0x65,0x78,0x70])]<_0x3efc87;}function _0x11fcf2(){const _0x553f3a=_0x3ab90c[_0x40ad53([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x553f3a&&(!!_0x553f3a[_0x40ad53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40ad53([0x2a]))||!!_0x553f3a[_0x40ad53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40ad53([0x55,0x50,0x4c,0x43])));}function _0x216991(){const _0x518d52=_0x39c5,_0x206b84=_0x3ab90c[_0x40ad53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x206b84||0x0==_0x206b84[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x401c76}=new URL(window[_0x40ad53([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x518d52(0x15d)]);if(_0x206b84[_0x40ad53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401c76))return!0x0;const _0x4a0c38=_0x401c76[_0x40ad53([0x73,0x70,0x6c,0x69,0x74])](_0x40ad53([0x2e]));return _0x206b84[_0x40ad53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10be69=>_0x10be69[_0x40ad53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40ad53([0x2a])))[_0x40ad53([0x6d,0x61,0x70])](_0x1e8227=>_0x1e8227[_0x40ad53([0x73,0x70,0x6c,0x69,0x74])](_0x40ad53([0x2e])))[_0x40ad53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x203b06=>_0x203b06[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a0c38[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40ad53([0x6d,0x61,0x70])](_0x73e670=>Array(_0x4a0c38[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x73e670[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40ad53([0x66,0x69,0x6c,0x6c])](_0x73e670[0x0]===_0x40ad53([0x2a])?_0x40ad53([0x2a]):'')[_0x40ad53([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x73e670))[_0x40ad53([0x73,0x6f,0x6d,0x65])](_0x57b76e=>_0x4a0c38[_0x40ad53([0x65,0x76,0x65,0x72,0x79])]((_0x56aa24,_0x29c480)=>_0x57b76e[_0x29c480]===_0x56aa24||_0x57b76e[_0x29c480]===_0x40ad53([0x2a])));}function _0x5c84a7(){return _0x58ff6e&&_0xc92fe7?new window[(_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dc8af,_0x49331b)=>{_0x58ff6e[_0x40ad53([0x74,0x68,0x65,0x6e])](_0x1dc8af,_0x49331b),_0xc92fe7[_0x40ad53([0x74,0x68,0x65,0x6e])](_0x356446=>{_0x356446!=_0x40ad53([0x56,0x61,0x6c,0x69,0x64])&&_0x1dc8af(_0x356446);},_0x49331b);}):_0x58ff6e||_0xc92fe7||_0x40ad53([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2053d9(_0x3bad82,_0x852534){return new window[(_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x315210=>{if(_0x184158())return _0x315210(_0x40ad53([0x56,0x61,0x6c,0x69,0x64]));_0x21c0f5(),_0x4300b8[_0x40ad53([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40ad53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7e157d=!0x1;const _0x184975=_0x327f0f();function _0xf57db8(_0x93c018){return!!_0x93c018&&(typeof _0x93c018===_0x40ad53([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x93c018===_0x40ad53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x93c018[_0x40ad53([0x74,0x68,0x65,0x6e])]===_0x40ad53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x93c018[_0x40ad53([0x63,0x61,0x74,0x63,0x68])]===_0x40ad53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f22f3(_0x16e1e9){_0x287b08(_0x16e1e9)[_0x40ad53([0x74,0x68,0x65,0x6e])](_0x9cf9d8=>{if(!_0x9cf9d8||_0x9cf9d8[_0x40ad53([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40ad53([0x6f,0x6b]))return _0x40ad53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e8389(_0x3819cd(_0x184975+_0x852534))!=_0x9cf9d8[_0x40ad53([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40ad53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40ad53([0x56,0x61,0x6c,0x69,0x64]);})[_0x40ad53([0x74,0x68,0x65,0x6e])](_0x4a2466=>(_0x315ff3(),_0x4a2466),()=>{const _0x2cfdfa=_0x1df43c();return null==_0x2cfdfa?(_0x315ff3(),_0x40ad53([0x56,0x61,0x6c,0x69,0x64])):_0x40ad53(_0x2a1167-_0x2cfdfa>(0x7753083a^_0x376d73)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40ad53([0x74,0x68,0x65,0x6e])](_0x315210)[_0x40ad53([0x63,0x61,0x74,0x63,0x68])](()=>{_0x315210(_0x40ad53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12980b=0x536962ba^_0x376d73;function _0x315ff3(){const _0x5ba349=_0x40ad53([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e8389(_0x3819cd(_0x3bad82)),_0x3e3725=_0x1af29a(_0x3e8389(window[_0x40ad53([0x4d,0x61,0x74,0x68])][_0x40ad53([0x63,0x65,0x69,0x6c])](_0x2a1167/_0x12980b)));window[_0x40ad53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40ad53([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ba349,_0x3e3725);}function _0x1df43c(){const _0x40c927=_0x40ad53([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e8389(_0x3819cd(_0x3bad82)),_0x2e612f=window[_0x40ad53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40ad53([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40c927);return _0x2e612f?window[_0x40ad53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af29a(_0x2e612f),0x10)*_0x12980b:null;}function _0x287b08(_0xcc32eb){return new window[(_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7dd30,_0x7c86aa)=>{_0xcc32eb[_0x40ad53([0x74,0x68,0x65,0x6e])](_0x7dd30,_0x7c86aa),window[_0x40ad53([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7c86aa,0x535e58fa^_0x376d73);});}}_0x4300b8[_0x40ad53([0x6f,0x6e])](_0x40ad53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4271b8,_0x239116)=>{if(_0x239116[0x0]!=_0x3bad82)return _0x315210(_0x40ad53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x239116[0x1]={..._0x239116[0x1],[_0x40ad53([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x184975};},{[_0x40ad53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40ad53([0x68,0x69,0x67,0x68])}),_0x4300b8[_0x40ad53([0x6f,0x6e])](_0x40ad53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x70f519=>{_0xf57db8(_0x70f519[_0x40ad53([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7e157d=!0x0,_0x4f22f3(_0x70f519[_0x40ad53([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40ad53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40ad53([0x6c,0x6f,0x77])}),_0x3e2c03[_0x40ad53([0x74,0x68,0x65,0x6e])](()=>{_0x7e157d||_0x315210(_0x40ad53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x184158(){return _0x4300b8[_0x40ad53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40ad53([0x76,0x69,0x65,0x77])][_0x40ad53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40ad53([0x61,0x75,0x74,0x6f]);}function _0x21c0f5(){_0x4300b8[_0x40ad53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40ad53([0x76,0x69,0x65,0x77])][_0x40ad53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40ad53([0x61,0x75,0x74,0x6f]);}}function _0x4e24d3(_0x3ebcf8){const _0x1156f9=[new window[(_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x187117=>setTimeout(_0x187117,0x5356b2f6^_0x376d73)),_0x3e2c03[_0x40ad53([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c56a9=>{let _0x5a3804=0x0;_0x4300b8[_0x40ad53([0x6d,0x6f,0x64,0x65,0x6c])][_0x40ad53([0x6f,0x6e])](_0x40ad53([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ae347,_0x34f276)=>{_0x34f276[0x0][_0x40ad53([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a3804++,_0x5a3804==(0x535f89d2^_0x376d73)&&(_0x2c56a9(),_0x2ae347[_0x40ad53([0x6f,0x66,0x66])]());});}))];return window[_0x40ad53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40ad53([0x72,0x61,0x63,0x65])](_0x1156f9)[_0x40ad53([0x74,0x68,0x65,0x6e])](()=>_0x3ebcf8);}async function _0x12317c(){await _0x3e2c03,_0x4300b8[_0x40ad53([0x6d,0x6f,0x64,0x65,0x6c])][_0x40ad53([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d456f,_0x4300b8[_0x40ad53([0x6d,0x6f,0x64,0x65,0x6c])][_0x40ad53([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d456f,_0x4300b8[_0x40ad53([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40ad53([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x409e68(_0x2b39b1){const _0x216577=_0x59a142();_0x4300b8[_0x216577]=_0x40ad53([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b39b1,_0x2b39b1!=_0x40ad53([0x56,0x61,0x6c,0x69,0x64])&&_0x12317c();}function _0x59a142(){const _0x2e8946=window[_0x40ad53([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40ad53([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40ad53([0x6e,0x6f,0x77])]())[_0x40ad53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40ad53([0x2e]),'');let _0x5ca269=_0x40ad53([0x68]);for(let _0x31248d=0x0;_0x31248d<_0x2e8946[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31248d+=0x2){let _0x5789df=window[_0x40ad53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e8946[_0x40ad53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31248d,_0x31248d+0x2));_0x5789df>=_0x13c1d8[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5789df-=_0x13c1d8[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ca269+=_0x13c1d8[_0x5789df];}return _0x5ca269;}function _0x551190(){const _0x3e44ae=_0x3ab5b3[_0x40ad53([0x73,0x70,0x6c,0x69,0x74])](_0x40ad53([0x2e]));if(0x3!=_0x3e44ae[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c79db(_0x3e44ae[0x1]);function _0x4c79db(_0x484c12){const _0x58bd70=_0x3ee167(_0x484c12);return _0x58bd70&&_0x482473()?_0x58bd70:null;function _0x482473(){const _0xab1636=_0x58bd70[_0x40ad53([0x6a,0x74,0x69])],_0x545355=window[_0x40ad53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xab1636[_0x40ad53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xab1636[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16edc0={..._0x58bd70,[_0x40ad53([0x6a,0x74,0x69])]:_0xab1636[_0x40ad53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xab1636[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16edc0[_0x40ad53([0x76,0x63])],_0x3819cd(_0x16edc0)==_0x545355;}}}async function _0x50b51e(){let _0x149dfb=!0x0;try{const _0x32c665=_0x3ab5b3[_0x40ad53([0x73,0x70,0x6c,0x69,0x74])](_0x40ad53([0x2e])),[_0x106ede,_0x40946f,_0x4425d1]=_0x32c665;return _0x2f347f(_0x106ede),await _0x471d6b(_0x106ede,_0x40946f,_0x4425d1),_0x149dfb;}catch{return!0x1;}function _0x2f347f(_0x73ffb0){const _0x34993e=_0x3ee167(_0x73ffb0);_0x34993e&&_0x34993e[_0x40ad53([0x61,0x6c,0x67])]==_0x40ad53([0x45,0x53,0x32,0x35,0x36])||(_0x149dfb=!0x1);}async function _0x471d6b(_0x37d4e1,_0xeefac3,_0xbb9657){const _0x1c5db6=window[_0x40ad53([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40ad53([0x66,0x72,0x6f,0x6d])](_0x511fa1(_0xbb9657),_0x2db008=>_0x2db008[_0x40ad53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20ba06=new window[(_0x40ad53([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40ad53([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37d4e1+_0x40ad53([0x2e])+_0xeefac3),_0x424357=window[_0x40ad53([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40ad53([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x424357)return;const _0x28f3f3=await _0x424357[_0x40ad53([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40ad53([0x6a,0x77,0x6b]),_0x160a8f,{[_0x40ad53([0x6e,0x61,0x6d,0x65])]:_0x40ad53([0x45,0x43,0x44,0x53,0x41]),[_0x40ad53([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40ad53([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40ad53([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x424357[_0x40ad53([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40ad53([0x6e,0x61,0x6d,0x65])]:_0x40ad53([0x45,0x43,0x44,0x53,0x41]),[_0x40ad53([0x68,0x61,0x73,0x68])]:{[_0x40ad53([0x6e,0x61,0x6d,0x65])]:_0x40ad53([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28f3f3,_0x1c5db6,_0x20ba06)||(_0x149dfb=!0x1);}}function _0x3ee167(_0x5df12c){return _0x5df12c[_0x40ad53([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40ad53([0x65,0x79]))?JSON[_0x40ad53([0x70,0x61,0x72,0x73,0x65])](_0x511fa1(_0x5df12c)):null;}function _0x511fa1(_0x1b832e){return window[_0x40ad53([0x61,0x74,0x6f,0x62])](_0x1b832e[_0x40ad53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40ad53([0x2b]))[_0x40ad53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40ad53([0x2f])));}function _0x3819cd(_0x3a85fb){let _0x47be20=0x1505;function _0x1b2b05(_0x18968e){for(let _0x2f56ee=0x0;_0x2f56ee<_0x18968e[_0x40ad53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f56ee++){const _0x9d661a=_0x18968e[_0x40ad53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f56ee);_0x47be20=(_0x47be20<<0x5)+_0x47be20+_0x9d661a,_0x47be20&=_0x47be20;}}function _0x48dea1(_0x530234){Array[_0x40ad53([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x530234)?_0x530234[_0x40ad53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48dea1):_0x530234&&typeof _0x530234==_0x40ad53([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40ad53([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x530234)[_0x40ad53([0x73,0x6f,0x72,0x74])]()[_0x40ad53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2227b3,_0x4bf3a0])=>{_0x1b2b05(_0x2227b3),_0x48dea1(_0x4bf3a0);}):_0x1b2b05(window[_0x40ad53([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x530234));}return _0x48dea1(_0x3a85fb),_0x47be20>>>0x0;}function _0x3e8389(_0x1ced34){return _0x1ced34[_0x40ad53([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40ad53([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40ad53([0x30]));}function _0x1af29a(_0xa7843a){return _0xa7843a[_0x40ad53([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40ad53([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40ad53([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d456f(){}function _0x40ad53(_0x4f4ac1){const _0x26b82c=_0x39c5;return _0x4f4ac1[_0x26b82c(0x18f)](_0x2a8b69=>String[_0x26b82c(0x182)](_0x2a8b69))[_0x26b82c(0x192)]('');}_0x409e68(await _0xbe681e());}(this);}[_0x4c8b04(0x166)](){const _0x529f03=_0x4c8b04,_0x4a18c5=this[_0x529f03(0x194)][_0x529f03(0x172)][_0x529f03(0x190)];_0x4a18c5[_0x529f03(0x174)](_0x529f03(0x14a))&&_0x4a18c5[_0x529f03(0x18b)](_0x529f03(0x14a),{'allowAttributes':[_0x529f03(0x176)]}),_0x4a18c5[_0x529f03(0x174)](_0x529f03(0x193))&&_0x4a18c5[_0x529f03(0x18b)](_0x529f03(0x193),{'allowAttributes':[_0x529f03(0x176)]});}[_0x4c8b04(0x144)](){const _0x217c54=_0x4c8b04,_0xe3440f=this[_0x217c54(0x194)];_0xe3440f[_0x217c54(0x18d)][_0x217c54(0x178)](_0x217c54(0x152))[_0x217c54(0x17e)]({'model':_0x217c54(0x176),'view':_0x217c54(0x161)}),_0xe3440f[_0x217c54(0x18d)][_0x217c54(0x178)](_0x217c54(0x157))[_0x217c54(0x18c)]({'model':{'key':_0x217c54(0x176),'value':_0x50ac24=>_0x50ac24[_0x217c54(0x151)](_0x217c54(0x161))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c50f4=_0xe3440f[_0x217c54(0x187)][_0x217c54(0x189)](_0x217c54(0x159));_0x5c50f4&&this[_0x217c54(0x173)](_0x5c50f4,_0x217c54(0x170),(_0x293664,[_0x458574,_0x24a677])=>{const _0x123462=_0x217c54;_0x458574[_0x123462(0x188)](_0x123462(0x176),_0x24a677);});}[_0x4c8b04(0x180)](){const _0xf0a78=_0x4c8b04,_0x464aff=this[_0xf0a78(0x194)][_0xf0a78(0x18a)][_0xf0a78(0x189)](_0xf0a78(0x17d))||{},_0xdc750f=this[_0xf0a78(0x194)][_0xf0a78(0x18a)][_0xf0a78(0x189)](_0xf0a78(0x175))||'';this[_0xf0a78(0x17c)]=_0x3ecc53(_0x5d62ac[_0xf0a78(0x181)],_0xf0a78(0x145),{..._0x464aff,'pubkey':_0xdc750f,'ctx-name':_0xf0a78(0x195)+this[_0xf0a78(0x16c)],'sourceList':'','imgOnly':_0xf0a78(0x191),'removeCopyright':_0xf0a78(0x191),'localeName':this[_0xf0a78(0x194)][_0xf0a78(0x154)][_0xf0a78(0x185)],'externalSourcesEmbedCss':_0xf0a78(0x16a)}),this[_0xf0a78(0x17c)][_0xf0a78(0x149)]=_0x1cfd4b=>{const _0x388682=_0xf0a78;if(_0x388682(0x165)==_0x1cfd4b)return _0x388682(0x155);},_0x5d62ac[_0xf0a78(0x181)][_0xf0a78(0x169)][_0xf0a78(0x150)](this[_0xf0a78(0x17c)]);}[_0x4c8b04(0x164)](){const _0x19e58d=_0x4c8b04;this[_0x19e58d(0x162)]=_0x3ecc53(_0x5d62ac[_0x19e58d(0x181)],_0x19e58d(0x167),{'ctx-name':_0x19e58d(0x195)+this[_0x19e58d(0x16c)]}),_0x5d62ac[_0x19e58d(0x181)][_0x19e58d(0x169)][_0x19e58d(0x150)](this[_0x19e58d(0x162)]);}[_0x4c8b04(0x15e)](){const _0x54ccba=_0x4c8b04,_0x35c70e=this[_0x54ccba(0x194)][_0x54ccba(0x187)][_0x54ccba(0x189)](_0x54ccba(0x16e));_0x35c70e&&this[_0x54ccba(0x173)](_0x35c70e,_0x54ccba(0x196),()=>{const _0x54a21e=_0x54ccba,_0x3b65c4=this[_0x54a21e(0x194)][_0x54a21e(0x172)][_0x54a21e(0x181)][_0x54a21e(0x153)][_0x54a21e(0x15c)]();_0x3b65c4&&_0x3b65c4[_0x54a21e(0x151)](_0x54a21e(0x176))&&this[_0x54a21e(0x194)][_0x54a21e(0x15b)][_0x54a21e(0x142)][_0x54a21e(0x18e)](_0x54a21e(0x184),()=>{const _0x21c9f8=_0x54a21e;_0x3992f9(this[_0x21c9f8(0x194)],_0x3b65c4);});});const _0x5b79ba=this[_0x54ccba(0x194)][_0x54ccba(0x187)][_0x54ccba(0x189)](_0x54ccba(0x146));_0x5b79ba&&this[_0x54ccba(0x173)](_0x5b79ba,_0x54ccba(0x196),()=>{const _0x207613=_0x54ccba,_0x1cf2ba=this[_0x207613(0x194)][_0x207613(0x172)][_0x207613(0x181)][_0x207613(0x153)][_0x207613(0x15c)]();_0x1cf2ba&&_0x1cf2ba[_0x207613(0x151)](_0x207613(0x176))&&this[_0x207613(0x194)][_0x207613(0x15b)][_0x207613(0x142)][_0x207613(0x18e)](_0x207613(0x184),()=>{const _0x28b44e=_0x207613;_0x3992f9(this[_0x28b44e(0x194)],_0x1cf2ba);});});}}function _0x522b(){const _0x2bdc08=['16ZtjHrh','cleanupImage','9670182YMtvKl','model','listenTo','isRegistered','uploadcare.pubkey','uploadcareImageId','uploadcare','for','7pIHfNZ','init','input[uploadcare-file-input]','_configElement','uploadcare.uploader','attributeToAttribute','1163229DBnOMC','_initConfig','document','fromCharCode','isPremiumPlugin','render','contentLanguage','add','commands','removeAttribute','get','config','extend','elementToAttribute','conversion','once','map','schema','true','join','imageInline','editor','uploader-','execute','view','69xmhbZe','_initConversion','uc-config','uploadcareImageReplace','29439710PEoyZH','6579423YYqzBx','iconHrefResolver','imageBlock','UploadcareEditing','5182892zqYebE','113618CnypCf','ctxElement','pluginName','appendChild','getAttribute','downcast','selection','locale','#uc-icon-arrow-down','PictureEditing','upcast','destroy','replaceImageSource','1045620krYGYn','editing','getSelectedElement','href','_initImageProcessingIndicator','isOfficialPlugin','requires','data-uc-image-id','_ctxElement','remove','_initCtx','closeMax','_initSchema','uc-upload-ctx-provider','configElement','body','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','afterInit','ucContextId','querySelector','insertImage'];_0x522b=function(){return _0x2bdc08;};return _0x522b();}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{global as _0x40fe85,ObservableMixin as _0x1937c8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x592f16}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2333d1}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4f7cce}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4dae21}from'../../utils/uploadutils.js';import{getImageUrls as _0x18622b,getImageDimension as _0x27ad5b}from'../../utils/editingutils.js';import{isAncestor as _0x320b6}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1937c8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4fe1a0,_0x44dcc7,_0x43b63b){super(),this['_editor']=_0x4fe1a0,this['_dialog']=_0x44dcc7,this['_imageElement']=_0x43b63b,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x2c6ae5=this['_imageElement'],_0x2ef9bd=_0x2c6ae5['getAttribute']('uploadcareImageId'),_0x45d3e6=_0x2c6ae5['getAttribute']('src');if(_0x2ef9bd)await this['_loadImageInfo'](_0x2ef9bd,_0x45d3e6);else{if(this['_imageCache']['has'](_0x45d3e6)){const _0x2a11f4=this['_imageCache']['get'](_0x45d3e6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a11f4['url'],this['imageDimension']=_0x2a11f4['dimension'],this['imageId']=_0x2a11f4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x20236a}=this['_editor'],t=_0x20236a['t'],_0x231055=new _0x4f7cce(_0x20236a,this['imageStatus'],this['_attributes']);_0x231055['bind']('status')['to'](this,'imageStatus'),_0x231055['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x231055['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x231055['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x231055,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2333d1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x231055,'position':_0x592f16['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x231055['focus']();},'onHide':()=>{_0x231055['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x523978=>!_0x320b6(_0x523978,_0x231055['element'])}});}['_loadImageInfo'](_0x1f8050,_0x15dd46){return _0x4dae21['getInfo'](_0x1f8050,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x278d1f=>{const {width:_0x143669,height:_0x524a02}=_0x278d1f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15dd46,this['imageDimension']={'width':_0x143669,'height':_0x524a02},this['imageId']=_0x1f8050;})['catch'](_0x538203=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x538203['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2f9683,_0x79f7de){return this['_getImageAsFile'](_0x2f9683)['then'](_0x52d137=>_0x4dae21['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x79f7de['signal'],'file':_0x52d137,'onProgress':_0x16649d=>{_0x16649d&&_0x16649d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x16649d['value']));}}))['then'](_0x5394db=>{const {width:_0x16bdac,height:_0x16423c}=_0x5394db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5394db['cdnUrl'],this['imageDimension']={'width':_0x16bdac,'height':_0x16423c},this['imageId']=_0x5394db['uuid'],this['imageUploadProgress']=null;const _0x426f49=_0x2f9683['getAttribute']('src');this['_imageCache']['set'](_0x426f49,{'id':_0x5394db['uuid'],'url':_0x5394db['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1622ec=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1622ec['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4756f5,_0x335254){_0x4756f5['on']('apply',(_0x2693f5,_0x518b15)=>{this['_replaceImage'](_0x335254,_0x518b15['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4756f5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4756f5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x238556,_0x59d19d,_0x13b372){const _0x3f8ea0=this['_editor'],{width:_0x5b3a24,height:_0x2bdfa6}=_0x27ad5b(_0x59d19d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2ca27b,imageSources:_0x1667f3}=_0x18622b(_0x59d19d,_0x5b3a24);_0x3f8ea0['model']['change'](_0x398b05=>{if('$graveyard'===_0x238556['root']['rootName']){_0x3f8ea0['execute']('insertImage',{'imageType':_0x238556['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x238556['getAttributes']()),'uploadcareImageId':_0x13b372,'src':_0x2ca27b,'sources':_0x1667f3,'width':_0x5b3a24,'height':_0x2bdfa6}});const _0x2842c8=_0x238556['getChildren']();_0x238556=_0x3f8ea0['model']['document']['selection']['getSelectedElement']();for(const _0x548d93 of _0x2842c8)_0x398b05['append'](_0x398b05['cloneElement'](_0x548d93),_0x238556);}else _0x398b05['setSelection'](_0x238556,'on'),_0x3f8ea0['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x238556['getAttributes']()),'uploadcareImageId':_0x13b372,'src':_0x2ca27b,'sources':_0x1667f3,'width':_0x5b3a24,'height':_0x2bdfa6},_0x238556);_0x398b05['setSelection'](_0x238556,'on');});}async['_getImageAsFile'](_0x1f97dd){const _0x42ba60=_0x40fe85['window'],_0x431f2a=_0x40fe85['document']['location']['href'],_0x47e0d7=new _0x42ba60['URL'](_0x1f97dd['getAttribute']('src'),_0x431f2a);if('data:'===_0x47e0d7['protocol']){const _0x4c68a3=_0x47e0d7['href']['split'](','),_0x403998=_0x4c68a3[0x0]['match'](/:(.*?);/)[0x1],_0x13acec=_0x403998['split']('/')[0x1],_0x4c507c=_0x42ba60['atob'](_0x4c68a3[_0x4c68a3['length']-0x1]);let _0x32f29b=_0x4c507c['length'];const _0x2f8080=new _0x42ba60['Uint8Array'](_0x32f29b);for(;_0x32f29b--;)_0x2f8080[_0x32f29b]=_0x4c507c['charCodeAt'](_0x32f29b);return new _0x42ba60['File']([_0x2f8080],'image.'+_0x13acec,{'type':_0x403998});}const _0x2db063=_0x47e0d7['href']['split']('/'),_0x4ac552=_0x2db063[_0x2db063['length']-0x1],_0x12943d=_0x4ac552['split']('.')[0x1];return _0x42ba60['fetch'](_0x47e0d7['href'])['then'](_0x15b5f2=>_0x15b5f2['clone']()['blob']())['then'](_0x30230a=>new _0x42ba60['File']([_0x30230a],_0x4ac552,{'type':'image/'+_0x12943d}));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
(function(_0x483bf1,_0x27893c){const _0x2a45c6=_0x4279,_0x4f28d7=_0x483bf1();while(!![]){try{const _0x5bc3ac=-parseInt(_0x2a45c6(0x121))/0x1+parseInt(_0x2a45c6(0x128))/0x2*(parseInt(_0x2a45c6(0x12a))/0x3)+-parseInt(_0x2a45c6(0x127))/0x4+-parseInt(_0x2a45c6(0x11c))/0x5*(-parseInt(_0x2a45c6(0x122))/0x6)+parseInt(_0x2a45c6(0x126))/0x7*(-parseInt(_0x2a45c6(0x120))/0x8)+-parseInt(_0x2a45c6(0x11e))/0x9+parseInt(_0x2a45c6(0x124))/0xa;if(_0x5bc3ac===_0x27893c)break;else _0x4f28d7['push'](_0x4f28d7['shift']());}catch(_0x4b5767){_0x4f28d7['push'](_0x4f28d7['shift']());}}}(_0x341b,0xd269b));import{View as _0x1daf98}from'ckeditor5/src/ui.js';function _0x4279(_0x1f37c1,_0x144d24){const _0x341bf4=_0x341b();return _0x4279=function(_0x42797b,_0x55abaf){_0x42797b=_0x42797b-0x11b;let _0x569220=_0x341bf4[_0x42797b];return _0x569220;},_0x4279(_0x1f37c1,_0x144d24);}function _0x341b(){const _0x129287=['ck-uploadcare-theme','4882346vapYRr','3286672TXrlry','775508psNyfZ','set','3iiugwB','setTemplate','uc-light','imageSrc','849830PFJInf','image-edit','4995648IaWYVr','bindTemplate','8FmdTWq','1045343yxXtjr','12lTqNPf','uc-cloud-image-editor','32537260mQDTHR'];_0x341b=function(){return _0x129287;};return _0x341b();}export class UploadcareImageEditFormEditingView extends _0x1daf98{constructor(_0x597f90,_0x238857){const _0x5b1f92=_0x4279;super(_0x597f90);const _0x43738a=this[_0x5b1f92(0x11f)];this[_0x5b1f92(0x129)](_0x5b1f92(0x11b),''),this[_0x5b1f92(0x12b)]({'tag':_0x5b1f92(0x123),'attributes':{..._0x238857,'class':[_0x5b1f92(0x12c),_0x5b1f92(0x125)],'ctx-name':_0x5b1f92(0x11d),'cdn-url':_0x43738a['to'](_0x5b1f92(0x11b))}});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{IconError as _0x4e809f}from'ckeditor5/src/icons.js';import{ButtonView as _0x4fbb4c,IconView as _0x1ab43f,View as _0x4a2ede}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4a2ede{constructor(_0x5dfd8e){super(_0x5dfd8e);const t=_0x5dfd8e['t'];this['set']('errorType',null);const _0x134f0f=new _0x4fbb4c(_0x5dfd8e);_0x134f0f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x134f0f['withText']=!0x0,_0x134f0f['class']='ck-button-action',_0x134f0f['on']('execute',()=>{this['fire']('retry');}),_0x134f0f['bind']('isVisible')['to'](this,'errorType',_0x187a78=>'NotFound'!==_0x187a78);const _0x4e8484=new _0x1ab43f();_0x4e8484['content']=_0x4e809f,_0x4e8484['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15d0e7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x4e8484,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15d0e7['to']('errorType',_0xb92c0c=>t('NotFound'!==_0xb92c0c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x134f0f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{SpinnerView as _0x480f26,View as _0x57d9ce}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x57d9ce{constructor(_0x57b1f1){super(_0x57b1f1);const t=_0x57b1f1['t'],_0x2096f4=this['bindTemplate'],_0x133982=new _0x480f26();_0x133982['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x133982,{'text':_0x2096f4['to']('imageUploadProgress',_0x14bc07=>t('Loading\x20image...')+'\x20('+(_0x14bc07||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x4df027=_0x4c33;(function(_0x5e3e9c,_0x8e06b1){const _0x10e337=_0x4c33,_0x384a5f=_0x5e3e9c();while(!![]){try{const _0xd399c3=parseInt(_0x10e337(0x99))/0x1+parseInt(_0x10e337(0x9a))/0x2+-parseInt(_0x10e337(0x8e))/0x3*(-parseInt(_0x10e337(0x97))/0x4)+-parseInt(_0x10e337(0xc1))/0x5+parseInt(_0x10e337(0xc0))/0x6*(parseInt(_0x10e337(0xa9))/0x7)+parseInt(_0x10e337(0xb1))/0x8+-parseInt(_0x10e337(0x90))/0x9*(parseInt(_0x10e337(0xae))/0xa);if(_0xd399c3===_0x8e06b1)break;else _0x384a5f['push'](_0x384a5f['shift']());}catch(_0x3cf0f8){_0x384a5f['push'](_0x384a5f['shift']());}}}(_0x3a2b,0x2d272));function _0x4c33(_0x1a278a,_0x1a4094){const _0x3a2bea=_0x3a2b();return _0x4c33=function(_0x4c3343,_0x3275f7){_0x4c3343=_0x4c3343-0x8e;let _0x35d934=_0x3a2bea[_0x4c3343];return _0x35d934;},_0x4c33(_0x1a278a,_0x1a4094);}import{View as _0x3299e9}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4a9030}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x325e71}from'./uploadcareimageeditformerrorview.js';function _0x3a2b(){const _0x5ef4c2=['_errorView','9AWWLOJ','_addUploadcareImageEditorListeners','clear','ready','element','_addErrorViewListeners','_focusableView','8cdCXcX','observe','139975DTNYPT','230976jzkvcW','_setView','set','cdnUrl','createCollection','fire','addedNodes','ck-reset_all-excluded','apply','querySelector','target','filter','ck-uploadcare-form','div','once','77OfgsFN','addMany','_editingView','_waitForImageEditorComponent','disconnect','5115920GbTOAD','status','setTemplate','2844688rutZDe','detail','uc-cloud-image-editor','cancel','render','addEventListener','getFocusableElement','toLowerCase','nodeName','focus','uploading','_loadingView','error','add','change:status','70020ylcxLQ','1580215OvKExg','length','retry','_items','409743WTetir'];_0x3a2b=function(){return _0x5ef4c2;};return _0x3a2b();}import{UploadcareImageEditFormEditingView as _0x21107a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1b73d7}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1b73d7{[_0x4df027(0xc4)];[_0x4df027(0xbc)];[_0x4df027(0x8f)];[_0x4df027(0xab)];[_0x4df027(0x96)];constructor(_0x475ad1,_0x2b391f,_0x44239a){const _0x422c85=_0x4df027;super(_0x475ad1),this[_0x422c85(0xc4)]=this[_0x422c85(0x9e)](),this[_0x422c85(0xbc)]=new _0x4a9030(_0x475ad1),this[_0x422c85(0x8f)]=new _0x325e71(_0x475ad1),this[_0x422c85(0xab)]=new _0x21107a(_0x475ad1,_0x44239a),this[_0x422c85(0x96)]=new _0x3299e9(_0x475ad1),this[_0x422c85(0x96)][_0x422c85(0xb0)](this[_0x422c85(0xb7)]()),this[_0x422c85(0x9c)](_0x422c85(0xaf),_0x2b391f),this[_0x422c85(0xb0)]({'tag':_0x422c85(0xa7),'attributes':{'class':['ck',_0x422c85(0xa1),_0x422c85(0xa6)],'tabindex':'-1'},'children':this[_0x422c85(0xc4)]}),this[_0x422c85(0x9b)](),this[_0x422c85(0xa8)](_0x422c85(0xb5),()=>{const _0x45abd6=_0x422c85;this[_0x45abd6(0xac)](this[_0x45abd6(0x94)],_0x55e59f=>{const _0x394822=_0x45abd6;this[_0x394822(0x91)](_0x55e59f);});}),this['on'](_0x422c85(0xbf),()=>{const _0x59b971=_0x422c85;this[_0x59b971(0x9b)]();}),this[_0x422c85(0x95)]();}[_0x4df027(0xba)](){const _0x13019d=_0x4df027;this[_0x13019d(0x94)][_0x13019d(0xba)]();}[_0x4df027(0x9b)](){const _0x1572ca=_0x4df027;switch(this[_0x1572ca(0xc4)][_0x1572ca(0x92)](),this[_0x1572ca(0xaf)]){case _0x1572ca(0xbb):this[_0x1572ca(0xc4)][_0x1572ca(0xbe)](this[_0x1572ca(0xbc)]);break;case _0x1572ca(0xbd):this[_0x1572ca(0xc4)][_0x1572ca(0xbe)](this[_0x1572ca(0x8f)]);break;case _0x1572ca(0x93):this[_0x1572ca(0xc4)][_0x1572ca(0xaa)]([this[_0x1572ca(0xab)],this[_0x1572ca(0x96)]]);}}[_0x4df027(0xac)](_0x413413,_0x5e3ce0){const _0x4a443f=_0x4df027,_0x301f26=_0x4a443f(0xb3),_0x58c1be=_0x413413[_0x4a443f(0xa3)](_0x301f26);if(_0x58c1be)return _0x5e3ce0(_0x58c1be);const _0x370cad=new MutationObserver(_0x210327=>{const _0x1ccf6e=_0x4a443f,_0x3e77c6=_0x210327[_0x1ccf6e(0xa5)](_0x4378ad=>_0x4378ad[_0x1ccf6e(0xa4)]===_0x413413&&_0x4378ad[_0x1ccf6e(0xa0)][_0x1ccf6e(0xc2)]>0x0&&_0x4378ad[_0x1ccf6e(0xa0)][0x0][_0x1ccf6e(0xb9)][_0x1ccf6e(0xb8)]()===_0x301f26);_0x3e77c6[_0x1ccf6e(0xc2)]&&(_0x370cad[_0x1ccf6e(0xad)](),_0x5e3ce0(_0x3e77c6[0x0][_0x1ccf6e(0xa0)][0x0]));});_0x370cad[_0x4a443f(0x98)](_0x413413,{'childList':!0x0,'subtree':!0x0});}[_0x4df027(0x91)](_0x39e2a4){const _0xf5fe9b=_0x4df027;_0x39e2a4[_0xf5fe9b(0xb6)](_0xf5fe9b(0xa2),_0x1c1cad=>{const _0x22f01e=_0xf5fe9b;this[_0x22f01e(0x9f)](_0x22f01e(0xa2),{'imageSrc':_0x1c1cad[_0x22f01e(0xb2)][_0x22f01e(0x9d)]});}),_0x39e2a4[_0xf5fe9b(0xb6)](_0xf5fe9b(0xb4),()=>{const _0x4580be=_0xf5fe9b;this[_0x4580be(0x9f)](_0x4580be(0xb4));});}[_0x4df027(0x95)](){const _0x1efa8f=_0x4df027;this[_0x1efa8f(0x8f)]['on'](_0x1efa8f(0xc3),()=>{const _0x1121bf=_0x1efa8f;this[_0x1121bf(0x9f)](_0x1121bf(0xc3));});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x19bdc9=_0x408c;(function(_0xb007b0,_0x22e027){const _0x4d80bb=_0x408c,_0xf16847=_0xb007b0();while(!![]){try{const _0x1dd290=-parseInt(_0x4d80bb(0x1da))/0x1*(-parseInt(_0x4d80bb(0x1db))/0x2)+-parseInt(_0x4d80bb(0x1c2))/0x3*(parseInt(_0x4d80bb(0x1df))/0x4)+parseInt(_0x4d80bb(0x1d7))/0x5+parseInt(_0x4d80bb(0x1cc))/0x6+-parseInt(_0x4d80bb(0x1d8))/0x7*(-parseInt(_0x4d80bb(0x1c4))/0x8)+parseInt(_0x4d80bb(0x1c1))/0x9*(-parseInt(_0x4d80bb(0x1d5))/0xa)+parseInt(_0x4d80bb(0x1d9))/0xb*(-parseInt(_0x4d80bb(0x1d0))/0xc);if(_0x1dd290===_0x22e027)break;else _0xf16847['push'](_0xf16847['shift']());}catch(_0x23ec98){_0xf16847['push'](_0xf16847['shift']());}}}(_0x2443,0x7316f));import{Command as _0x431e6c}from'ckeditor5/src/core.js';import{Dialog as _0x5df2a6}from'ckeditor5/src/ui.js';function _0x2443(){const _0x2c0042=['10686BVTeuM','document','set','requires','4OEeBba','refresh','isEnabled','isActive','2007oxGMqH','75453xVFUcr','_isEditable','8OaOrjw','uploadcare.allowExternalImagesEditing','bind','execute','config','selection','imageEditController','imageInline','4816320YjJgMt','getSelectedElement','model','imageBlock','12JkrYDO','get','editor','unbind','element','36280BUdefZ','plugins','4272190xPaenQ','5542775siXpbS','15280749phmFNv','46yjQlHT'];_0x2443=function(){return _0x2c0042;};return _0x2443();}import{UploadcareImageEditController as _0x145a7e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x332d89}from'../utils/editingutils.js';function _0x408c(_0xf92757,_0x3e83c5){const _0x24434c=_0x2443();return _0x408c=function(_0x408cc7,_0x55aed5){_0x408cc7=_0x408cc7-0x1c1;let _0x40fc3f=_0x24434c[_0x408cc7];return _0x40fc3f;},_0x408c(_0xf92757,_0x3e83c5);}export class UploadcareImageEditCommand extends _0x431e6c{[_0x19bdc9(0x1ca)];static get[_0x19bdc9(0x1de)](){return[_0x5df2a6];}[_0x19bdc9(0x1c3)];constructor(_0x3cf106){const _0x1efc2a=_0x19bdc9;super(_0x3cf106),this[_0x1efc2a(0x1ca)]=void 0x0,this[_0x1efc2a(0x1c3)]=_0x332d89(_0x3cf106[_0x1efc2a(0x1c8)][_0x1efc2a(0x1d1)](_0x1efc2a(0x1c5))||[]),this[_0x1efc2a(0x1dd)]({'isActive':!0x1});}[_0x19bdc9(0x1e0)](){const _0x457f09=_0x19bdc9,_0xf57ddb=this[_0x457f09(0x1d2)][_0x457f09(0x1ce)][_0x457f09(0x1dc)][_0x457f09(0x1c9)][_0x457f09(0x1cd)]();this[_0x457f09(0x1e1)]=this[_0x457f09(0x1c3)](_0xf57ddb);}[_0x19bdc9(0x1c7)](){const _0x3ed108=_0x19bdc9;this[_0x3ed108(0x1ca)]&&(this[_0x3ed108(0x1d3)](_0x3ed108(0x1e2)),this[_0x3ed108(0x1ca)]=void 0x0);const _0x5ca1ed=this[_0x3ed108(0x1d2)][_0x3ed108(0x1ce)][_0x3ed108(0x1dc)][_0x3ed108(0x1c9)][_0x3ed108(0x1cd)]();_0x5ca1ed&&(_0x5ca1ed['is'](_0x3ed108(0x1d4),_0x3ed108(0x1cf))||_0x5ca1ed['is'](_0x3ed108(0x1d4),_0x3ed108(0x1cb)))&&(this[_0x3ed108(0x1ca)]=new _0x145a7e(this[_0x3ed108(0x1d2)],this[_0x3ed108(0x1d2)][_0x3ed108(0x1d6)][_0x3ed108(0x1d1)](_0x5df2a6),_0x5ca1ed),this[_0x3ed108(0x1c6)](_0x3ed108(0x1e2))['to'](this[_0x3ed108(0x1ca)],_0x3ed108(0x1e2)));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x24e3f2=_0x980e;(function(_0x41224f,_0x34c5d6){const _0x76e750=_0x980e,_0x194ce5=_0x41224f();while(!![]){try{const _0x57bbbf=-parseInt(_0x76e750(0x140))/0x1+-parseInt(_0x76e750(0x138))/0x2+-parseInt(_0x76e750(0x136))/0x3+-parseInt(_0x76e750(0x134))/0x4*(-parseInt(_0x76e750(0x13c))/0x5)+parseInt(_0x76e750(0x13e))/0x6*(parseInt(_0x76e750(0x12e))/0x7)+parseInt(_0x76e750(0x13b))/0x8*(parseInt(_0x76e750(0x137))/0x9)+-parseInt(_0x76e750(0x13f))/0xa*(-parseInt(_0x76e750(0x133))/0xb);if(_0x57bbbf===_0x34c5d6)break;else _0x194ce5['push'](_0x194ce5['shift']());}catch(_0x4988c9){_0x194ce5['push'](_0x194ce5['shift']());}}}(_0x32fc,0xcab48));import{Plugin as _0xb0e365}from'ckeditor5/src/core.js';import{Notification as _0x14fafb}from'ckeditor5/src/ui.js';function _0x32fc(){const _0x51cf2f=['UploadcareImageEditEditing','add','ImageEditing','uploadcareImageEdit','6699tFAfnN','4NpzCmE','isOfficialPlugin','1996677OIbiyo','9wFGluO','1289542ymKRYi','isPremiumPlugin','pluginName','1942616pSCDrj','3864215TYzGju','uploadcareImageReplace','4002Hhbtnr','28430MTQlEo','1266110vJZFPh','requires','ImageUtils','init','commands','6923cOgeej'];_0x32fc=function(){return _0x51cf2f;};return _0x32fc();}function _0x980e(_0x4c50d1,_0x41e250){const _0x32fc46=_0x32fc();return _0x980e=function(_0x980e81,_0x461429){_0x980e81=_0x980e81-0x12e;let _0x544bc5=_0x32fc46[_0x980e81];return _0x544bc5;},_0x980e(_0x4c50d1,_0x41e250);}import{UploadcareImageEditCommand as _0x55dc95}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x285c2e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2db0e8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xb0e365{static get[_0x24e3f2(0x13a)](){const _0x43bbcf=_0x24e3f2;return _0x43bbcf(0x12f);}static get[_0x24e3f2(0x141)](){const _0x3b0f73=_0x24e3f2;return[_0x2db0e8,_0x14fafb,_0x3b0f73(0x142),_0x3b0f73(0x131)];}static get[_0x24e3f2(0x135)](){return!0x0;}static get[_0x24e3f2(0x139)](){return!0x0;}[_0x24e3f2(0x143)](){const _0x25b8fd=_0x24e3f2,{editor:_0x5b7f0b}=this;_0x5b7f0b[_0x25b8fd(0x144)][_0x25b8fd(0x130)](_0x25b8fd(0x132),new _0x55dc95(_0x5b7f0b)),_0x5b7f0b[_0x25b8fd(0x144)][_0x25b8fd(0x130)](_0x25b8fd(0x13d),new _0x285c2e(_0x5b7f0b));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{Plugin as _0x1d5b46}from'ckeditor5/src/core.js';import{ButtonView as _0x3913cc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4b601e}from'ckeditor5/src/icons.js';import{createElement as _0x55ac3c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1d5b46{['_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 _0x36ce29=this['editor'];_0x36ce29['ui']['componentFactory']['add']('uploadcareImageEdit',_0xdfd436=>{const _0x26fbd3=_0x36ce29['commands']['get']('uploadcareImageEdit'),_0x162dcf=new _0x3913cc(_0xdfd436),t=_0xdfd436['t'];return _0x162dcf['set']({'icon':_0x4b601e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x162dcf['bind']('isEnabled')['to'](_0x26fbd3),_0x162dcf['bind']('isOn')['to'](_0x26fbd3,'isActive'),this['listenTo'](_0x162dcf,'execute',()=>{_0x36ce29['execute']('uploadcareImageEdit'),_0x36ce29['editing']['view']['focus']();}),_0x162dcf;}),this['_initConfig']();}['_initConfig'](){const _0x386361=_0x55ac3c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x386361),this['listenTo'](this['editor'],'destroy',()=>{_0x386361['remove']();});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x3d8e(){const _0x45ac60=['document','213BbQNgX','1372728YCbVpH','10742CVIiSk','sizes','getSelectedElement','isEnabled','76530VFtBiO','setAttributes','707028lGApJR','4700766Cfotis','removeAttribute','2704270jozPOY','refresh','424ckZnmX','execute','element','model','selection','imageBlock','change','1476Vnlzwo','160727BgyOca','imageInline','srcset','editor'];_0x3d8e=function(){return _0x45ac60;};return _0x3d8e();}const _0x20399e=_0x4373;(function(_0x375791,_0x162bfa){const _0x469344=_0x4373,_0x3d8bc4=_0x375791();while(!![]){try{const _0x3ab5ab=parseInt(_0x469344(0xfb))/0x1*(-parseInt(_0x469344(0xfd))/0x2)+parseInt(_0x469344(0xea))/0x3+parseInt(_0x469344(0x103))/0x4+parseInt(_0x469344(0xec))/0x5+-parseInt(_0x469344(0xfc))/0x6+-parseInt(_0x469344(0xf6))/0x7*(-parseInt(_0x469344(0xee))/0x8)+-parseInt(_0x469344(0xf5))/0x9*(parseInt(_0x469344(0x101))/0xa);if(_0x3ab5ab===_0x162bfa)break;else _0x3d8bc4['push'](_0x3d8bc4['shift']());}catch(_0x957dab){_0x3d8bc4['push'](_0x3d8bc4['shift']());}}}(_0x3d8e,0xd545b));function _0x4373(_0x2fcfa6,_0xef350d){const _0x3d8e40=_0x3d8e();return _0x4373=function(_0x4373f0,_0x3ac48a){_0x4373f0=_0x4373f0-0xea;let _0x4aa98b=_0x3d8e40[_0x4373f0];return _0x4aa98b;},_0x4373(_0x2fcfa6,_0xef350d);}import{Command as _0x59e7ad}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x59e7ad{[_0x20399e(0xed)](){const _0x3ac4d9=_0x20399e,_0x2df0d9=this[_0x3ac4d9(0xf9)][_0x3ac4d9(0xf1)][_0x3ac4d9(0xfa)][_0x3ac4d9(0xf2)][_0x3ac4d9(0xff)]();this[_0x3ac4d9(0x100)]=Boolean(_0x2df0d9&&(_0x2df0d9['is'](_0x3ac4d9(0xf0),_0x3ac4d9(0xf3))||_0x2df0d9['is'](_0x3ac4d9(0xf0),_0x3ac4d9(0xf7))));}[_0x20399e(0xef)](_0x570ff6){const _0x4930fb=_0x20399e,_0x13b04d=this[_0x4930fb(0xf9)][_0x4930fb(0xf1)][_0x4930fb(0xfa)][_0x4930fb(0xf2)][_0x4930fb(0xff)]();this[_0x4930fb(0xf9)][_0x4930fb(0xf1)][_0x4930fb(0xf4)](_0x36d7e6=>{const _0x17a9cf=_0x4930fb;_0x36d7e6[_0x17a9cf(0x102)](_0x570ff6,_0x13b04d),_0x36d7e6[_0x17a9cf(0xeb)](_0x17a9cf(0xf8),_0x13b04d),_0x36d7e6[_0x17a9cf(0xeb)](_0x17a9cf(0xfe),_0x13b04d);});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0x2cd504=_0x4e50;(function(_0x1b68cf,_0x2974d4){var _0x4f4a7b=_0x4e50,_0x33b348=_0x1b68cf();while(!![]){try{var _0x54db43=parseInt(_0x4f4a7b(0x1f6))/0x1+-parseInt(_0x4f4a7b(0x1fa))/0x2+-parseInt(_0x4f4a7b(0x1f4))/0x3*(parseInt(_0x4f4a7b(0x1fd))/0x4)+parseInt(_0x4f4a7b(0x1f7))/0x5*(parseInt(_0x4f4a7b(0x1f8))/0x6)+-parseInt(_0x4f4a7b(0x1f2))/0x7+-parseInt(_0x4f4a7b(0x1f5))/0x8*(-parseInt(_0x4f4a7b(0x1fe))/0x9)+parseInt(_0x4f4a7b(0x1f1))/0xa;if(_0x54db43===_0x2974d4)break;else _0x33b348['push'](_0x33b348['shift']());}catch(_0x480545){_0x33b348['push'](_0x33b348['shift']());}}}(_0x4cf9,0x68457));import{Plugin as _0x950f04}from'ckeditor5/src/core.js';function _0x4cf9(){var _0x3c9040=['pluginName','644932GZaTWC','2913903PXumAB','isOfficialPlugin','8225020HBhRsL','4829391JQBcHC','requires','3KYeuQh','8UjIvra','154635wWyAfQ','5nWyiow','1316868nLQlaH','UploadcareImageEdit','484282ZZqYEj','isPremiumPlugin'];_0x4cf9=function(){return _0x3c9040;};return _0x4cf9();}function _0x4e50(_0x4a383e,_0x16168c){var _0x4cf929=_0x4cf9();return _0x4e50=function(_0x4e50b0,_0x4f5b0c){_0x4e50b0=_0x4e50b0-0x1f1;var _0x59ae47=_0x4cf929[_0x4e50b0];return _0x59ae47;},_0x4e50(_0x4a383e,_0x16168c);}import{UploadcareImageEditEditing as _0xe29aab}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x283e6f}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x950f04{static get[_0x2cd504(0x1fc)](){var _0x3356a9=_0x2cd504;return _0x3356a9(0x1f9);}static get[_0x2cd504(0x1f3)](){return[_0xe29aab,_0x283e6f];}static get[_0x2cd504(0x1ff)](){return!0x0;}static get[_0x2cd504(0x1fb)](){return!0x0;}}
|