@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260106.0 → 0.0.0-nightly-next-20260106.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(_0x1f6d7e,_0x4f4592){var _0x1258a6=_0x13b6,_0x4685f9=_0x1f6d7e();while(!![]){try{var _0x21dd56=parseInt(_0x1258a6(0xfd))/0x1*(-parseInt(_0x1258a6(0x100))/0x2)+parseInt(_0x1258a6(0x104))/0x3*(-parseInt(_0x1258a6(0xff))/0x4)+-parseInt(_0x1258a6(0xf8))/0x5*(-parseInt(_0x1258a6(0xf9))/0x6)+-parseInt(_0x1258a6(0x101))/0x7*(-parseInt(_0x1258a6(0x103))/0x8)+parseInt(_0x1258a6(0xfb))/0x9*(-parseInt(_0x1258a6(0xf7))/0xa)+parseInt(_0x1258a6(0xfc))/0xb*(parseInt(_0x1258a6(0xfe))/0xc)+parseInt(_0x1258a6(0xfa))/0xd*(parseInt(_0x1258a6(0x102))/0xe);if(_0x21dd56===_0x4f4592)break;else _0x4685f9['push'](_0x4685f9['shift']());}catch(_0x2e9acf){_0x4685f9['push'](_0x4685f9['shift']());}}}(_0x5533,0xa6984));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';function _0x13b6(_0x46c14e,_0x20e6ec){var _0x553393=_0x5533();return _0x13b6=function(_0x13b644,_0x3a84b1){_0x13b644=_0x13b644-0xf7;var _0x26c192=_0x553393[_0x13b644];return _0x26c192;},_0x13b6(_0x46c14e,_0x20e6ec);}export{UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x5533(){var _0x44eb1e=['10GwtpvO','8285AYrIhF','1602AeVUsV','172276ymaYss','1900809JHnRsE','353892jGCgsq','351562zRUtpl','36kDUIVR','3880XGAAtc','6JSHkzc','8247736gevBFo','322fTTzTw','8lrtLfs','228EWylsf'];_0x5533=function(){return _0x44eb1e;};return _0x5533();}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 _0x48a5(_0x1644b1,_0x57935b){const _0x370926=_0x3709();return _0x48a5=function(_0x48a51e,_0x4f65e0){_0x48a51e=_0x48a51e-0xab;let _0x5de1c5=_0x370926[_0x48a51e];return _0x5de1c5;},_0x48a5(_0x1644b1,_0x57935b);}const _0xf3cc7a=_0x48a5;(function(_0x420448,_0x5911d7){const _0x125341=_0x48a5,_0xecc9cb=_0x420448();while(!![]){try{const _0x2b45b7=-parseInt(_0x125341(0xd1))/0x1*(parseInt(_0x125341(0xdc))/0x2)+parseInt(_0x125341(0xcc))/0x3+-parseInt(_0x125341(0xf0))/0x4*(parseInt(_0x125341(0xe0))/0x5)+-parseInt(_0x125341(0xd5))/0x6+parseInt(_0x125341(0xca))/0x7*(parseInt(_0x125341(0xd6))/0x8)+parseInt(_0x125341(0xb2))/0x9+-parseInt(_0x125341(0xde))/0xa*(parseInt(_0x125341(0xb3))/0xb);if(_0x2b45b7===_0x5911d7)break;else _0xecc9cb['push'](_0xecc9cb['shift']());}catch(_0x71a7e0){_0xecc9cb['push'](_0xecc9cb['shift']());}}}(_0x3709,0xbfa3c));import{IconUploadcareImageUpload as _0x4cc3ea}from'ckeditor5/src/icons.js';function _0x3709(){const _0x1e8740=['allEntries','32MMwwdn','ctxElement','161290QFPJrG','getOutputCollectionState','4456615ZELfJs','setSelection','width','show','insertImage','stopDelegating','idle','imageInline','detail','_initListeners','addEventListener','ucContextId','configElement','view','length','image','4PxsPiT','get','done-click','element','removeAllFiles','stopListening','setCurrentActivity','model','_insertImage','_editor','isOpen','_type','EDITOR_TOP_CENTER','6536250xLtwdk','22IMaBww','attributes','uuid','getSelectedElement','getLastPosition','removeSelectionAttribute','document','destroy','setAttribute','Insert','imageBlock','_formView','hide','initFlow','execute','_dialog','source-list','status','_insertAsset','_api','editing','imageInfo','change','61187FCVSSP','_initDialog','1943133ykxMYL','focus','_editing','linkHref','doneFlow','17716ZEDaCX','uploadCare','plugins','selection','1903530sXJsoP','856rCOKEo','getAPI','text','Replace','Local'];_0x3709=function(){return _0x1e8740;};return _0x3709();}import{ObservableMixin as _0x1aecc0}from'ckeditor5/src/utils.js';import{Dialog as _0x4cefd9,DialogViewPosition as _0x32439e}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x278c54}from'./uploadcareformview.js';import{UploadcareSource as _0x4c58c8}from'../uploadcareconfig.js';import{getTranslation as _0x4ba6b9}from'../utils/common-translations.js';import{getImageUrls as _0x51ce0d,getImageDimension as _0x474ca6}from'../utils/editingutils.js';import{isAncestor as _0x2c7a5a}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1aecc0(){[_0xf3cc7a(0xae)];[_0xf3cc7a(0xc2)];[_0xf3cc7a(0xce)];[_0xf3cc7a(0xc6)];[_0xf3cc7a(0xb0)]=null;[_0xf3cc7a(0xbe)]=null;constructor(_0x1f422e,_0xb795,_0x52f461){const _0x25b5f7=_0xf3cc7a;super(),this[_0x25b5f7(0xae)]=_0x1f422e,this[_0x25b5f7(0xce)]=_0xb795,this[_0x25b5f7(0xc2)]=_0x1f422e[_0x25b5f7(0xd3)][_0x25b5f7(0xf1)](_0x4cefd9),this[_0x25b5f7(0xc6)]=_0xb795[_0x25b5f7(0xdd)][_0x25b5f7(0xd7)](),this[_0x25b5f7(0xb0)]=_0x52f461,this[_0x25b5f7(0xce)][_0x25b5f7(0xec)][_0x25b5f7(0xbb)](_0x25b5f7(0xc3),this[_0x25b5f7(0xb0)]),this[_0x25b5f7(0xcb)](),this[_0x25b5f7(0xe9)](),this[_0x25b5f7(0xc6)][_0x25b5f7(0xc0)]();}[_0xf3cc7a(0xba)](){const _0xc7c109=_0xf3cc7a;this[_0xc7c109(0xbe)]&&(this[_0xc7c109(0xbe)][_0xc7c109(0xba)](),this[_0xc7c109(0xbe)]=null),this[_0xc7c109(0xc6)]&&this[_0xc7c109(0xc6)][_0xc7c109(0xd0)](),this[_0xc7c109(0xf5)](),this[_0xc7c109(0xe5)]();}[_0xf3cc7a(0xcb)](){const _0x1139b9=_0xf3cc7a,{locale:_0x30f45b,model:_0x232602}=this[_0x1139b9(0xae)],_0x1cd676=_0x232602[_0x1139b9(0xb9)][_0x1139b9(0xd4)][_0x1139b9(0xb6)](),_0x192d09=_0x1cd676&&(_0x1cd676['is'](_0x1139b9(0xf3),_0x1139b9(0xbd))||_0x1cd676['is'](_0x1139b9(0xf3),_0x1139b9(0xe7)));this[_0x1139b9(0xbe)]=new _0x278c54(_0x30f45b,this[_0x1139b9(0xce)][_0x1139b9(0xeb)]),this[_0x1139b9(0xc2)][_0x1139b9(0xe3)]({'id':_0x1139b9(0xd2),'icon':_0x4cc3ea,'title':_0x4ba6b9(_0x30f45b,this[_0x1139b9(0xb0)],_0x192d09?_0x1139b9(0xd9):_0x1139b9(0xbc))[_0x1139b9(0xd8)],'content':this[_0x1139b9(0xbe)],'position':_0x32439e[_0x1139b9(0xb1)],'isModal':!0x0,'onShow':()=>{const _0x301282=_0x1139b9;this[_0x301282(0xbe)][_0x301282(0xcd)]();},'onHide':()=>{const _0x4601ee=_0x1139b9;this[_0x4601ee(0xc6)][_0x4601ee(0xf4)](),this[_0x4601ee(0xae)][_0x4601ee(0xc7)][_0x4601ee(0xed)][_0x4601ee(0xcd)](),this[_0x4601ee(0xba)]();},'keystrokeHandlerOptions':{'filter':_0x2d9503=>!_0x2c7a5a(_0x2d9503,this[_0x1139b9(0xbe)][_0x1139b9(0xf3)])}});}[_0xf3cc7a(0xe9)](){const _0x5276dc=_0xf3cc7a;this[_0x5276dc(0xce)][_0x5276dc(0xdd)][_0x5276dc(0xea)](_0x5276dc(0xf2),()=>{const _0x1ee3ba=_0x5276dc,{allEntries:_0x5c10dc}=this[_0x1ee3ba(0xc6)][_0x1ee3ba(0xdf)]();this[_0x1ee3ba(0xae)][_0x1ee3ba(0xac)][_0x1ee3ba(0xc9)](_0x52a304=>{const _0x10853d=_0x1ee3ba,_0x3ad2d2=_0x5c10dc[_0x10853d(0xee)];for(const _0x4adea2 of _0x5c10dc){const _0x4932f4=_0x4adea2===_0x5c10dc[_0x3ad2d2-0x1],{cdnUrl:_0x10fc0a,fileInfo:_0x52ab41}=_0x4adea2;if(!_0x10fc0a||!_0x52ab41)continue;const {width:_0x2345bc,height:_0x39ea1f}=_0x52ab41[_0x10853d(0xc8)],_0x351124=_0x474ca6(_0x10fc0a,_0x2345bc,_0x39ea1f),_0x565bed=_0x51ce0d(_0x10fc0a,_0x351124[_0x10853d(0xe2)]),_0x514052={'id':_0x52ab41[_0x10853d(0xb5)],'type':_0x10853d(0xef),'attributes':{'imageDimension':_0x351124,..._0x565bed}};this[_0x10853d(0xc5)](_0x514052,_0x4932f4,_0x52a304);}}),this[_0x1ee3ba(0xc2)][_0x1ee3ba(0xbf)]();}),this[_0x5276dc(0xce)][_0x5276dc(0xdd)][_0x5276dc(0xea)](_0x5276dc(0xc9),_0x45189c=>{const _0x4c4ae2=_0x5276dc;_0x4c4ae2(0xe6)===_0x45189c[_0x4c4ae2(0xe8)][_0x4c4ae2(0xc4)]&&!_0x45189c[_0x4c4ae2(0xe8)][_0x4c4ae2(0xdb)][_0x4c4ae2(0xee)]&&this[_0x4c4ae2(0xc2)][_0x4c4ae2(0xaf)]&&(this[_0x4c4ae2(0xb0)]===_0x4c58c8[_0x4c4ae2(0xda)]?this[_0x4c4ae2(0xc6)][_0x4c4ae2(0xab)](_0x4c58c8[_0x4c4ae2(0xda)]):this[_0x4c4ae2(0xc6)][_0x4c4ae2(0xc0)]());});}[_0xf3cc7a(0xc5)](_0x155d53,_0x47ef41,_0x42f16b){const _0x49db18=_0xf3cc7a,_0x535ff5=this[_0x49db18(0xae)][_0x49db18(0xac)][_0x49db18(0xb9)][_0x49db18(0xd4)],_0x55f293=_0x535ff5[_0x49db18(0xb6)](),_0x4f0bb7=!(!_0x55f293||!_0x55f293['is'](_0x49db18(0xf3),_0x49db18(0xe7)));_0x42f16b[_0x49db18(0xb8)](_0x49db18(0xcf)),this[_0x49db18(0xad)](_0x155d53,_0x4f0bb7),_0x47ef41||_0x42f16b[_0x49db18(0xe1)](_0x535ff5[_0x49db18(0xb7)]());}[_0xf3cc7a(0xad)](_0x48d4a8,_0x21e326){const _0x24e4ba=_0xf3cc7a,_0x144339=this[_0x24e4ba(0xae)],{imageDimension:_0x16c8bf,imageFallbackUrl:_0x5bae8e,imageSources:_0x3ed464}=_0x48d4a8[_0x24e4ba(0xb4)];_0x144339[_0x24e4ba(0xc1)](_0x24e4ba(0xe4),{'imageType':_0x21e326?_0x24e4ba(0xe7):null,'source':{'uploadcareImageId':_0x48d4a8['id'],'src':_0x5bae8e,'sources':_0x3ed464,..._0x16c8bf}});}}
|
|
@@ -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 _0x28828d=_0x501a;function _0x501a(_0x4e1edf,_0x41bb57){var _0x483939=_0x4839();return _0x501a=function(_0x501a06,_0x32e1f8){_0x501a06=_0x501a06-0x8e;var _0x3be7f6=_0x483939[_0x501a06];return _0x3be7f6;},_0x501a(_0x4e1edf,_0x41bb57);}function _0x4839(){var _0xdc92d6=['setTemplate','6440272CnICFS','getFocusableElement','12QYfpUa','uc-file-uploader-inline','2138658ONTUBg','16411590wnsouz','4701151YxhtEE','17164hLUgWR','uc-light','element','focus','uploader-','ck-uploadcare-theme','256915SsLMBm','div','ck-reset_all-excluded','780478WPPliz','ck-uploadcare-form','444BoOCTv'];_0x4839=function(){return _0xdc92d6;};return _0x4839();}(function(_0x13b195,_0x1ee908){var _0x539b1b=_0x501a,_0x4746b8=_0x13b195();while(!![]){try{var _0x473eac=parseInt(_0x539b1b(0x93))/0x1+parseInt(_0x539b1b(0x9b))/0x2+-parseInt(_0x539b1b(0x95))/0x3*(-parseInt(_0x539b1b(0x9e))/0x4)+-parseInt(_0x539b1b(0x90))/0x5*(parseInt(_0x539b1b(0x99))/0x6)+-parseInt(_0x539b1b(0x9d))/0x7+parseInt(_0x539b1b(0x97))/0x8+-parseInt(_0x539b1b(0x9c))/0x9;if(_0x473eac===_0x1ee908)break;else _0x4746b8['push'](_0x4746b8['shift']());}catch(_0x5936ac){_0x4746b8['push'](_0x4746b8['shift']());}}}(_0x4839,0xa8f48));import{DialogFocusManagerView as _0x42512a}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x42512a{constructor(_0x814944,_0x3464dd){var _0x1152d2=_0x501a;super(_0x814944),this[_0x1152d2(0x96)]({'tag':_0x1152d2(0x91),'attributes':{'class':['ck',_0x1152d2(0x92),_0x1152d2(0x94)],'tabindex':'-1'},'children':[{'tag':_0x1152d2(0x9a),'attributes':{'class':[_0x1152d2(0x9f),_0x1152d2(0x8f)],'ctx-name':_0x1152d2(0x8e)+_0x3464dd}},this[_0x1152d2(0x98)]()]});}[_0x28828d(0xa1)](){var _0x417043=_0x28828d;this[_0x417043(0xa0)][_0x417043(0xa1)]();}}
|
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 _0x33d9e3=_0x24f8;(function(_0x43ae38,_0x372523){const _0x53a76e=_0x24f8,_0x2401a4=_0x43ae38();while(!![]){try{const _0x13bafd=-parseInt(_0x53a76e(0x1ef))/0x1*(-parseInt(_0x53a76e(0x1f9))/0x2)+-parseInt(_0x53a76e(0x200))/0x3+-parseInt(_0x53a76e(0x1eb))/0x4*(-parseInt(_0x53a76e(0x1ec))/0x5)+parseInt(_0x53a76e(0x203))/0x6*(-parseInt(_0x53a76e(0x1f5))/0x7)+-parseInt(_0x53a76e(0x1ff))/0x8+-parseInt(_0x53a76e(0x1f2))/0x9+-parseInt(_0x53a76e(0x1fa))/0xa*(-parseInt(_0x53a76e(0x1f0))/0xb);if(_0x13bafd===_0x372523)break;else _0x2401a4['push'](_0x2401a4['shift']());}catch(_0x4731c6){_0x2401a4['push'](_0x2401a4['shift']());}}}(_0x18d4,0xcde0f));import{Plugin as _0x2321e6}from'ckeditor5/src/core.js';import{UploadcareUI as _0x3c0429}from'./uploadcareui.js';function _0x24f8(_0x320c02,_0x134c74){const _0x18d4cf=_0x18d4();return _0x24f8=function(_0x24f873,_0x1c7eff){_0x24f873=_0x24f873-0x1e8;let _0x1021ab=_0x18d4cf[_0x24f873];return _0x1021ab;},_0x24f8(_0x320c02,_0x134c74);}function _0x18d4(){const _0x402c70=['_defineLocale','9840104QjxwSX','4159023ISEvpx','defineLocale','define','6jSrbGu','URL','uploadcare.uploader.sourceList','Local','editor','299628BkUPgk','10Fogmlx','defineComponents','get','6DHFaOy','22EFLkEa','uploadcare.locale','14058144mPfYQW','config','Uploadcare','7273567vhvfoi','isPremiumPlugin','contentLanguage','isOfficialPlugin','2098YZxCBi','29523110aXpsjN','requires','pluginName','locale'];_0x18d4=function(){return _0x402c70;};return _0x18d4();}import{UploadcareEditing as _0x117565}from'./uploadcareediting.js';import{UploadcareSource as _0x40868b}from'./uploadcareconfig.js';import*as _0x4a028d from'@uploadcare/file-uploader';export class Uploadcare extends _0x2321e6{static get[_0x33d9e3(0x1fb)](){return[_0x117565,_0x3c0429];}static get[_0x33d9e3(0x1fc)](){const _0x47b315=_0x33d9e3;return _0x47b315(0x1f4);}static get[_0x33d9e3(0x1f8)](){return!0x0;}static get[_0x33d9e3(0x1f6)](){return!0x0;}constructor(_0x520ee8){const _0x8b64cc=_0x33d9e3;super(_0x520ee8),_0x520ee8[_0x8b64cc(0x1f3)][_0x8b64cc(0x202)](_0x8b64cc(0x1e8),[_0x40868b[_0x8b64cc(0x1e9)],_0x40868b[_0x8b64cc(0x204)]]),_0x4a028d[_0x8b64cc(0x1ed)](_0x4a028d),this[_0x8b64cc(0x1fe)]();}[_0x33d9e3(0x1fe)](){const _0x4c1911=_0x33d9e3,_0x120927=this[_0x4c1911(0x1ea)][_0x4c1911(0x1f3)][_0x4c1911(0x1ee)](_0x4c1911(0x1f1)),_0xc27363=this[_0x4c1911(0x1ea)][_0x4c1911(0x1fd)][_0x4c1911(0x1f7)];_0x120927&&_0x4a028d[_0x4c1911(0x201)](_0xc27363,_0x120927);}}
|
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 _0x2ba333=_0x1e6a;(function(_0x1abd81,_0x537f44){var _0x52d419=_0x1e6a,_0x42b133=_0x1abd81();while(!![]){try{var _0xae398d=-parseInt(_0x52d419(0xdf))/0x1+parseInt(_0x52d419(0xd4))/0x2*(-parseInt(_0x52d419(0xdc))/0x3)+-parseInt(_0x52d419(0xda))/0x4*(-parseInt(_0x52d419(0xca))/0x5)+-parseInt(_0x52d419(0xd3))/0x6*(-parseInt(_0x52d419(0xd8))/0x7)+parseInt(_0x52d419(0xdb))/0x8*(-parseInt(_0x52d419(0xe2))/0x9)+-parseInt(_0x52d419(0xe0))/0xa*(parseInt(_0x52d419(0xdd))/0xb)+parseInt(_0x52d419(0xd2))/0xc*(parseInt(_0x52d419(0xd1))/0xd);if(_0xae398d===_0x537f44)break;else _0x42b133['push'](_0x42b133['shift']());}catch(_0x3a375f){_0x42b133['push'](_0x42b133['shift']());}}}(_0x40be,0xed1bf));import{Command as _0x2748e8}from'ckeditor5/src/core.js';function _0x40be(){var _0x55fc70=['_checkEnabled','_controller','requires','plugins','3341LvSSSd','275532SVAIuJ','72qlQeMk','20tteyOP','isEnabled','refresh','get','80843bRtRqN','commands','1662432AqVfgv','104tZWbpV','128667oLeYaq','11rfolSZ','execute','1917592XUaWrZ','18787910SEvZOz','_editing','1159137EVbyyT','editor','10TWuAiz','destroy','insertImage'];_0x40be=function(){return _0x55fc70;};return _0x40be();}import{Dialog as _0x2dbdbf}from'ckeditor5/src/ui.js';function _0x1e6a(_0x17c942,_0x1b2909){var _0x40beb0=_0x40be();return _0x1e6a=function(_0x1e6a35,_0x22db38){_0x1e6a35=_0x1e6a35-0xc9;var _0x2ccfa2=_0x40beb0[_0x1e6a35];return _0x2ccfa2;},_0x1e6a(_0x17c942,_0x1b2909);}import{UploadcareEditing as _0x4fd98f}from'./uploadcareediting.js';import{UploadcareController as _0x3ef7df}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x2748e8{[_0x2ba333(0xe1)];[_0x2ba333(0xce)]=null;static get[_0x2ba333(0xcf)](){return[_0x2dbdbf,_0x4fd98f];}constructor(_0x556eb6){var _0x4270bd=_0x2ba333;super(_0x556eb6),this[_0x4270bd(0xe1)]=_0x556eb6[_0x4270bd(0xd0)][_0x4270bd(0xd7)](_0x4fd98f);}[_0x2ba333(0xd6)](){var _0xeea8c6=_0x2ba333;this[_0xeea8c6(0xd5)]=this[_0xeea8c6(0xcd)]();}[_0x2ba333(0xde)](_0x4e265c){var _0x204f21=_0x2ba333;this[_0x204f21(0xce)]&&(this[_0x204f21(0xce)][_0x204f21(0xcb)](),this[_0x204f21(0xce)]=null),this[_0x204f21(0xce)]=new _0x3ef7df(this[_0x204f21(0xc9)],this[_0x204f21(0xe1)],_0x4e265c);}[_0x2ba333(0xcd)](){var _0x22f1ed=_0x2ba333;return this[_0x22f1ed(0xc9)][_0x22f1ed(0xd9)][_0x22f1ed(0xd7)](_0x22f1ed(0xcc))[_0x22f1ed(0xd5)];}}
|
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(_0x4bc355,_0x1c81fb){var _0x1ec82f=_0x4e30,_0x58a4a0=_0x4bc355();while(!![]){try{var _0x5f445a=-parseInt(_0x1ec82f(0xb5))/0x1+-parseInt(_0x1ec82f(0xb9))/0x2*(parseInt(_0x1ec82f(0xb0))/0x3)+-parseInt(_0x1ec82f(0xa9))/0x4*(-parseInt(_0x1ec82f(0xbc))/0x5)+parseInt(_0x1ec82f(0xa8))/0x6+parseInt(_0x1ec82f(0xac))/0x7+-parseInt(_0x1ec82f(0xb2))/0x8+-parseInt(_0x1ec82f(0xbe))/0x9;if(_0x5f445a===_0x1c81fb)break;else _0x58a4a0['push'](_0x58a4a0['shift']());}catch(_0x1045e1){_0x58a4a0['push'](_0x58a4a0['shift']());}}}(_0x516f,0xf0538));export var UploadcareSource;function _0x516f(){var _0x4b93f1=['gdrive','3029400PpKLpG','10807212dtvECD','12dfLafL','onedrive','gphotos','13158607LRZDys','Local','facebook','GPhotos','1635099HVEslC','Dropbox','744544VWMqFF','local','URL','997047eXspJW','Facebook','url','GDrive','6DQPOCD','dropbox','OneDrive','608645JHPiWF'];_0x516f=function(){return _0x4b93f1;};return _0x516f();}function _0x4e30(_0x5c5154,_0x3812f4){var _0x516f46=_0x516f();return _0x4e30=function(_0x4e3012,_0x485d8f){_0x4e3012=_0x4e3012-0xa8;var _0xe7e6f4=_0x516f46[_0x4e3012];return _0xe7e6f4;},_0x4e30(_0x5c5154,_0x3812f4);}!function(_0x42a914){var _0x24a081=_0x4e30;_0x42a914[_0x24a081(0xad)]=_0x24a081(0xb3),_0x42a914[_0x24a081(0xb4)]=_0x24a081(0xb7),_0x42a914[_0x24a081(0xb1)]=_0x24a081(0xba),_0x42a914[_0x24a081(0xb8)]=_0x24a081(0xbd),_0x42a914[_0x24a081(0xb6)]=_0x24a081(0xae),_0x42a914[_0x24a081(0xaf)]=_0x24a081(0xab),_0x42a914[_0x24a081(0xbb)]=_0x24a081(0xaa);}(UploadcareSource||(UploadcareSource={}));
|
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 _0x411a6=_0x4d56;(function(_0x1a80b5,_0x22b6f1){const _0x3f7f5c=_0x4d56,_0x1d939f=_0x1a80b5();while(!![]){try{const _0x33818c=parseInt(_0x3f7f5c(0xa2))/0x1+parseInt(_0x3f7f5c(0x6c))/0x2*(-parseInt(_0x3f7f5c(0x6d))/0x3)+parseInt(_0x3f7f5c(0xaf))/0x4+parseInt(_0x3f7f5c(0xac))/0x5+-parseInt(_0x3f7f5c(0xad))/0x6*(-parseInt(_0x3f7f5c(0x7f))/0x7)+parseInt(_0x3f7f5c(0x82))/0x8+-parseInt(_0x3f7f5c(0x6a))/0x9;if(_0x33818c===_0x22b6f1)break;else _0x1d939f['push'](_0x1d939f['shift']());}catch(_0x3d7425){_0x1d939f['push'](_0x1d939f['shift']());}}}(_0xb398,0xe74aa));import{Plugin as _0x41e451}from'ckeditor5/src/core.js';import{Dialog as _0x19593e}from'ckeditor5/src/ui.js';import{createElement as _0x209b6b,global as _0x4ce68c,uid as _0x24adae}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x7eb539}from'./uploadcarecommand.js';function _0x4d56(_0x4e1e98,_0x179386){const _0xb398eb=_0xb398();return _0x4d56=function(_0x4d568a,_0x28dd59){_0x4d568a=_0x4d568a-0x6a;let _0x2dda4a=_0xb398eb[_0x4d568a];return _0x2dda4a;},_0x4d56(_0x4e1e98,_0x179386);}function _0xb398(){const _0x13dddc=['destroy','uc-config','execute','appendChild','uploadcare.uploader','selection','3824121WlKOAN','_initImageProcessingIndicator','_ctxElement','7330144wUYShV','replaceImageSource','uploadcare.pubkey','true','ctxElement','_initSchema','uploader-','document','conversion','upcast','extend','contentLanguage','getSelectedElement','elementToAttribute','model','config','input[uploadcare-file-input]','_initCtx','\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','downcast','PictureEditing','iconHrefResolver','requires','isRegistered','schema','UploadcareEditing','#uc-icon-arrow-down','isOfficialPlugin','isPremiumPlugin','render','commands','editor','555502VPDUab','for','cleanupImage','uploadcare','ucContextId','_initConversion','_initConfig','body','href','data-uc-image-id','1675440APmpei','12kwMawD','pluginName','7514184iENBaI','view','configElement','once','imageInline','removeAttribute','uploadcareImageReplace','join','editing','getAttribute','closeMax','imageBlock','locale','querySelector','insertImage','26932005yLADqN','_configElement','6326Xykmiq','795NpXRpA','afterInit','get','listenTo','uc-upload-ctx-provider','remove','add','fromCharCode','map','attributeToAttribute','init','uploadcareImageId'];_0xb398=function(){return _0x13dddc;};return _0xb398();}import{UploadcareUploadAdapter as _0x43e0fd}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x194570}from'./utils/editingutils.js';export class UploadcareEditing extends _0x41e451{[_0x411a6(0x6b)]=null;[_0x411a6(0x81)]=null;static get[_0x411a6(0xae)](){const _0x445c52=_0x411a6;return _0x445c52(0x9b);}static get[_0x411a6(0x98)](){const _0x1a02cb=_0x411a6;return[_0x1a02cb(0x96),_0x43e0fd,_0x19593e];}static get[_0x411a6(0x9d)](){return!0x0;}static get[_0x411a6(0x9e)](){return!0x0;}[_0x411a6(0xa6)];get[_0x411a6(0xb1)](){const _0x3dd35d=_0x411a6;return this[_0x3dd35d(0x6b)];}get[_0x411a6(0x86)](){const _0x3281a0=_0x411a6;return this[_0x3281a0(0x81)];}constructor(_0x4bb6e2){const _0x3b416c=_0x411a6;super(_0x4bb6e2),this[_0x3b416c(0xa6)]=_0x24adae();}[_0x411a6(0x77)](){const _0x2d29c3=_0x411a6,_0x1b3c7a=this[_0x2d29c3(0xa1)];_0x1b3c7a[_0x2d29c3(0xa0)][_0x2d29c3(0x73)](_0x2d29c3(0xa5),new _0x7eb539(_0x1b3c7a));}[_0x411a6(0x6e)](){const _0x58e038=_0x411a6;this[_0x58e038(0x87)](),this[_0x58e038(0xa7)](),this[_0x58e038(0xa8)](),this[_0x58e038(0x93)](),this[_0x58e038(0x80)](),this[_0x58e038(0x70)](this[_0x58e038(0xa1)],_0x58e038(0x79),()=>{const _0x5f44ee=_0x58e038;this[_0x5f44ee(0x6b)]&&(this[_0x5f44ee(0x6b)][_0x5f44ee(0x72)](),this[_0x5f44ee(0x6b)]=null),this[_0x5f44ee(0x81)]&&(this[_0x5f44ee(0x81)][_0x5f44ee(0x72)](),this[_0x5f44ee(0x81)]=null);const _0x525774=_0x4ce68c[_0x5f44ee(0x89)][_0x5f44ee(0xbc)](_0x5f44ee(0x92));_0x525774&&_0x525774[_0x5f44ee(0x72)]();}),async function(_0x1328b6){const _0x1761ba=_0x53f764([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]),_0x34a1cd=0x535f8c3a,_0x505ea2=0x5358f232^_0x34a1cd,_0x15b259=window[_0x53f764([0x44,0x61,0x74,0x65])][_0x53f764([0x6e,0x6f,0x77])](),_0x31b930=_0x1328b6[_0x53f764([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x206af7=new window[(_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1159d1=>{_0x31b930[_0x53f764([0x6f,0x6e,0x63,0x65])](_0x53f764([0x72,0x65,0x61,0x64,0x79]),_0x1159d1);}),_0x4b5312={[_0x53f764([0x6b,0x74,0x79])]:_0x53f764([0x45,0x43]),[_0x53f764([0x75,0x73,0x65])]:_0x53f764([0x73,0x69,0x67]),[_0x53f764([0x63,0x72,0x76])]:_0x53f764([0x50,0x2d,0x32,0x35,0x36]),[_0x53f764([0x78])]:_0x53f764([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]),[_0x53f764([0x79])]:_0x53f764([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]),[_0x53f764([0x61,0x6c,0x67])]:_0x53f764([0x45,0x53,0x32,0x35,0x36])},_0x49856f=_0x31b930[_0x53f764([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53f764([0x67,0x65,0x74])](_0x53f764([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18f1a7(){let _0x358888,_0x1fe3a3=null,_0x196725=null;try{if(_0x49856f==_0x53f764([0x47,0x50,0x4c]))return _0x53f764([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x358888=_0x3ae753(),!_0x358888)return _0x53f764([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x358888[_0x53f764([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x196725=_0x16cb63(_0x358888[_0x53f764([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x358888[_0x53f764([0x6a,0x74,0x69])])),await _0x4aff1c()?_0x42d78b()?_0x548f80()?_0x53f764([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33ea90()?(_0x358888[_0x53f764([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53f764([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1fe3a3=_0x1e0e15(_0x53f764([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x358888[_0x53f764([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53f764([0x74,0x72,0x69,0x61,0x6c])&&(_0x1fe3a3=_0x1e0e15(_0x53f764([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5323a4()):_0x53f764([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53f764([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53f764([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53f764([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x548f80(){const _0xa77119=[_0x53f764([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53f764([0x74,0x72,0x69,0x61,0x6c])][_0x53f764([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x358888[_0x53f764([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15b259/0x3e8:0xe10*_0x505ea2;return _0x358888[_0x53f764([0x65,0x78,0x70])]<_0xa77119;}function _0x42d78b(){const _0x4d1f2d=_0x358888[_0x53f764([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d1f2d&&(!!_0x4d1f2d[_0x53f764([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f764([0x2a]))||!!_0x4d1f2d[_0x53f764([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f764([0x55,0x50,0x4c,0x43])));}function _0x33ea90(){const _0x32a12a=_0x4d56,_0x4efd09=_0x358888[_0x53f764([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4efd09||0x0==_0x4efd09[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45484a}=new URL(window[_0x53f764([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32a12a(0xaa)]);if(_0x4efd09[_0x53f764([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45484a))return!0x0;const _0x1ba16a=_0x45484a[_0x53f764([0x73,0x70,0x6c,0x69,0x74])](_0x53f764([0x2e]));return _0x4efd09[_0x53f764([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11a3f4=>_0x11a3f4[_0x53f764([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f764([0x2a])))[_0x53f764([0x6d,0x61,0x70])](_0x1fd720=>_0x1fd720[_0x53f764([0x73,0x70,0x6c,0x69,0x74])](_0x53f764([0x2e])))[_0x53f764([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x377c26=>_0x377c26[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ba16a[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53f764([0x6d,0x61,0x70])](_0xa52623=>Array(_0x1ba16a[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa52623[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53f764([0x66,0x69,0x6c,0x6c])](_0xa52623[0x0]===_0x53f764([0x2a])?_0x53f764([0x2a]):'')[_0x53f764([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa52623))[_0x53f764([0x73,0x6f,0x6d,0x65])](_0x53aff8=>_0x1ba16a[_0x53f764([0x65,0x76,0x65,0x72,0x79])]((_0x1577dd,_0x12715f)=>_0x53aff8[_0x12715f]===_0x1577dd||_0x53aff8[_0x12715f]===_0x53f764([0x2a])));}function _0x5323a4(){return _0x1fe3a3&&_0x196725?new window[(_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433b73,_0xc1683a)=>{_0x1fe3a3[_0x53f764([0x74,0x68,0x65,0x6e])](_0x433b73,_0xc1683a),_0x196725[_0x53f764([0x74,0x68,0x65,0x6e])](_0x3872f5=>{_0x3872f5!=_0x53f764([0x56,0x61,0x6c,0x69,0x64])&&_0x433b73(_0x3872f5);},_0xc1683a);}):_0x1fe3a3||_0x196725||_0x53f764([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16cb63(_0x519ee1,_0x12436f){return new window[(_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209d6c=>{if(_0x1e10ac())return _0x209d6c(_0x53f764([0x56,0x61,0x6c,0x69,0x64]));_0x5ae27c(),_0x31b930[_0x53f764([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53f764([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14fac9=!0x1;const _0x3071d6=_0x24adae();function _0x57de2a(_0x2a2b55){return!!_0x2a2b55&&(typeof _0x2a2b55===_0x53f764([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a2b55===_0x53f764([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a2b55[_0x53f764([0x74,0x68,0x65,0x6e])]===_0x53f764([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a2b55[_0x53f764([0x63,0x61,0x74,0x63,0x68])]===_0x53f764([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2795af(_0x22c66c){_0x3a9cb9(_0x22c66c)[_0x53f764([0x74,0x68,0x65,0x6e])](_0x1c0049=>{if(!_0x1c0049||_0x1c0049[_0x53f764([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53f764([0x6f,0x6b]))return _0x53f764([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x472c8b(_0xba5f7a(_0x3071d6+_0x12436f))!=_0x1c0049[_0x53f764([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53f764([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53f764([0x56,0x61,0x6c,0x69,0x64]);})[_0x53f764([0x74,0x68,0x65,0x6e])](_0x551bcc=>(_0x90bb98(),_0x551bcc),()=>{const _0x1e1654=_0x2ee0b5();return null==_0x1e1654?(_0x90bb98(),_0x53f764([0x56,0x61,0x6c,0x69,0x64])):_0x53f764(_0x15b259-_0x1e1654>(0x7753083a^_0x34a1cd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53f764([0x74,0x68,0x65,0x6e])](_0x209d6c)[_0x53f764([0x63,0x61,0x74,0x63,0x68])](()=>{_0x209d6c(_0x53f764([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x558c29=0x536962ba^_0x34a1cd;function _0x90bb98(){const _0x8b67d2=_0x53f764([0x6c,0x6c,0x63,0x74,0x2d])+_0x472c8b(_0xba5f7a(_0x519ee1)),_0x13db34=_0x36ff34(_0x472c8b(window[_0x53f764([0x4d,0x61,0x74,0x68])][_0x53f764([0x63,0x65,0x69,0x6c])](_0x15b259/_0x558c29)));window[_0x53f764([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53f764([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8b67d2,_0x13db34);}function _0x2ee0b5(){const _0x31a952=_0x53f764([0x6c,0x6c,0x63,0x74,0x2d])+_0x472c8b(_0xba5f7a(_0x519ee1)),_0xb42778=window[_0x53f764([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53f764([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31a952);return _0xb42778?window[_0x53f764([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36ff34(_0xb42778),0x10)*_0x558c29:null;}function _0x3a9cb9(_0x41d91b){return new window[(_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcad291,_0x160404)=>{_0x41d91b[_0x53f764([0x74,0x68,0x65,0x6e])](_0xcad291,_0x160404),window[_0x53f764([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x160404,0x535e58fa^_0x34a1cd);});}}_0x31b930[_0x53f764([0x6f,0x6e])](_0x53f764([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x41a450,_0x4ae8d3)=>{if(_0x4ae8d3[0x0]!=_0x519ee1)return _0x209d6c(_0x53f764([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ae8d3[0x1]={..._0x4ae8d3[0x1],[_0x53f764([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3071d6};},{[_0x53f764([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53f764([0x68,0x69,0x67,0x68])}),_0x31b930[_0x53f764([0x6f,0x6e])](_0x53f764([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xebfaa=>{_0x57de2a(_0xebfaa[_0x53f764([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14fac9=!0x0,_0x2795af(_0xebfaa[_0x53f764([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53f764([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53f764([0x6c,0x6f,0x77])}),_0x206af7[_0x53f764([0x74,0x68,0x65,0x6e])](()=>{_0x14fac9||_0x209d6c(_0x53f764([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e10ac(){return _0x31b930[_0x53f764([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53f764([0x76,0x69,0x65,0x77])][_0x53f764([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53f764([0x61,0x75,0x74,0x6f]);}function _0x5ae27c(){_0x31b930[_0x53f764([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53f764([0x76,0x69,0x65,0x77])][_0x53f764([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53f764([0x61,0x75,0x74,0x6f]);}}function _0x1e0e15(_0x572ffd){const _0x4df9e8=[new window[(_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9428fc=>setTimeout(_0x9428fc,0x5356b2f6^_0x34a1cd)),_0x206af7[_0x53f764([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x142aa4=>{let _0x3fca0a=0x0;_0x31b930[_0x53f764([0x6d,0x6f,0x64,0x65,0x6c])][_0x53f764([0x6f,0x6e])](_0x53f764([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36a661,_0x3e2d6f)=>{_0x3e2d6f[0x0][_0x53f764([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fca0a++,_0x3fca0a==(0x535f89d2^_0x34a1cd)&&(_0x142aa4(),_0x36a661[_0x53f764([0x6f,0x66,0x66])]());});}))];return window[_0x53f764([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53f764([0x72,0x61,0x63,0x65])](_0x4df9e8)[_0x53f764([0x74,0x68,0x65,0x6e])](()=>_0x572ffd);}async function _0x5a0513(){await _0x206af7,_0x31b930[_0x53f764([0x6d,0x6f,0x64,0x65,0x6c])][_0x53f764([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38e531,_0x31b930[_0x53f764([0x6d,0x6f,0x64,0x65,0x6c])][_0x53f764([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38e531,_0x31b930[_0x53f764([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53f764([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a8486(_0x35546c){const _0x54400c=_0x5368fd();_0x31b930[_0x54400c]=_0x53f764([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35546c,_0x35546c!=_0x53f764([0x56,0x61,0x6c,0x69,0x64])&&_0x5a0513();}function _0x5368fd(){const _0x237d92=window[_0x53f764([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53f764([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53f764([0x6e,0x6f,0x77])]())[_0x53f764([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53f764([0x2e]),'');let _0xb4b96=_0x53f764([0x68]);for(let _0x3d98b1=0x0;_0x3d98b1<_0x237d92[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d98b1+=0x2){let _0xfb0183=window[_0x53f764([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x237d92[_0x53f764([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d98b1,_0x3d98b1+0x2));_0xfb0183>=_0x1761ba[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xfb0183-=_0x1761ba[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb4b96+=_0x1761ba[_0xfb0183];}return _0xb4b96;}function _0x3ae753(){const _0x10b1fb=_0x49856f[_0x53f764([0x73,0x70,0x6c,0x69,0x74])](_0x53f764([0x2e]));if(0x3!=_0x10b1fb[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf2dc32(_0x10b1fb[0x1]);function _0xf2dc32(_0x50a52c){const _0x2ba4eb=_0x569a04(_0x50a52c);return _0x2ba4eb&&_0x2bfe63()?_0x2ba4eb:null;function _0x2bfe63(){const _0x12f71b=_0x2ba4eb[_0x53f764([0x6a,0x74,0x69])],_0x2b1a44=window[_0x53f764([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12f71b[_0x53f764([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12f71b[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7552f7={..._0x2ba4eb,[_0x53f764([0x6a,0x74,0x69])]:_0x12f71b[_0x53f764([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12f71b[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7552f7[_0x53f764([0x76,0x63])],_0xba5f7a(_0x7552f7)==_0x2b1a44;}}}async function _0x4aff1c(){let _0x39d6c0=!0x0;try{const _0x30558f=_0x49856f[_0x53f764([0x73,0x70,0x6c,0x69,0x74])](_0x53f764([0x2e])),[_0x3fa179,_0x21c48a,_0x36f931]=_0x30558f;return _0x308d30(_0x3fa179),await _0x149e1e(_0x3fa179,_0x21c48a,_0x36f931),_0x39d6c0;}catch{return!0x1;}function _0x308d30(_0x26e452){const _0x2ffff2=_0x569a04(_0x26e452);_0x2ffff2&&_0x2ffff2[_0x53f764([0x61,0x6c,0x67])]==_0x53f764([0x45,0x53,0x32,0x35,0x36])||(_0x39d6c0=!0x1);}async function _0x149e1e(_0x18c395,_0x3e03b9,_0x568784){const _0x275168=window[_0x53f764([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53f764([0x66,0x72,0x6f,0x6d])](_0x1c1a60(_0x568784),_0x3bdf17=>_0x3bdf17[_0x53f764([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1eeb3a=new window[(_0x53f764([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53f764([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18c395+_0x53f764([0x2e])+_0x3e03b9),_0x358570=window[_0x53f764([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53f764([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x358570)return;const _0x492aaf=await _0x358570[_0x53f764([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53f764([0x6a,0x77,0x6b]),_0x4b5312,{[_0x53f764([0x6e,0x61,0x6d,0x65])]:_0x53f764([0x45,0x43,0x44,0x53,0x41]),[_0x53f764([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53f764([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53f764([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x358570[_0x53f764([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53f764([0x6e,0x61,0x6d,0x65])]:_0x53f764([0x45,0x43,0x44,0x53,0x41]),[_0x53f764([0x68,0x61,0x73,0x68])]:{[_0x53f764([0x6e,0x61,0x6d,0x65])]:_0x53f764([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x492aaf,_0x275168,_0x1eeb3a)||(_0x39d6c0=!0x1);}}function _0x569a04(_0x31c064){return _0x31c064[_0x53f764([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53f764([0x65,0x79]))?JSON[_0x53f764([0x70,0x61,0x72,0x73,0x65])](_0x1c1a60(_0x31c064)):null;}function _0x1c1a60(_0x3118bd){return window[_0x53f764([0x61,0x74,0x6f,0x62])](_0x3118bd[_0x53f764([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53f764([0x2b]))[_0x53f764([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53f764([0x2f])));}function _0xba5f7a(_0x1bbed0){let _0x77b44=0x1505;function _0x122ea2(_0x1c7b22){for(let _0x33922c=0x0;_0x33922c<_0x1c7b22[_0x53f764([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33922c++){const _0x158b71=_0x1c7b22[_0x53f764([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33922c);_0x77b44=(_0x77b44<<0x5)+_0x77b44+_0x158b71,_0x77b44&=_0x77b44;}}function _0x14e6cc(_0x4ca332){Array[_0x53f764([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ca332)?_0x4ca332[_0x53f764([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14e6cc):_0x4ca332&&typeof _0x4ca332==_0x53f764([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53f764([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ca332)[_0x53f764([0x73,0x6f,0x72,0x74])]()[_0x53f764([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ba343,_0x5dd9a5])=>{_0x122ea2(_0x1ba343),_0x14e6cc(_0x5dd9a5);}):_0x122ea2(window[_0x53f764([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ca332));}return _0x14e6cc(_0x1bbed0),_0x77b44>>>0x0;}function _0x472c8b(_0x47f06c){return _0x47f06c[_0x53f764([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53f764([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53f764([0x30]));}function _0x36ff34(_0x43f89f){return _0x43f89f[_0x53f764([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53f764([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53f764([0x6a,0x6f,0x69,0x6e])]('');}function _0x38e531(){}function _0x53f764(_0x3833d5){const _0x2ca952=_0x4d56;return _0x3833d5[_0x2ca952(0x75)](_0xe1ab81=>String[_0x2ca952(0x74)](_0xe1ab81))[_0x2ca952(0xb6)]('');}_0x2a8486(await _0x18f1a7());}(this);}[_0x411a6(0x87)](){const _0x5fd2d4=_0x411a6,_0x2e9aa6=this[_0x5fd2d4(0xa1)][_0x5fd2d4(0x90)][_0x5fd2d4(0x9a)];_0x2e9aa6[_0x5fd2d4(0x99)](_0x5fd2d4(0xba))&&_0x2e9aa6[_0x5fd2d4(0x8c)](_0x5fd2d4(0xba),{'allowAttributes':[_0x5fd2d4(0x78)]}),_0x2e9aa6[_0x5fd2d4(0x99)](_0x5fd2d4(0xb3))&&_0x2e9aa6[_0x5fd2d4(0x8c)](_0x5fd2d4(0xb3),{'allowAttributes':[_0x5fd2d4(0x78)]});}[_0x411a6(0xa7)](){const _0x3f910e=_0x411a6,_0x4b145c=this[_0x3f910e(0xa1)];_0x4b145c[_0x3f910e(0x8a)][_0x3f910e(0xa3)](_0x3f910e(0x95))[_0x3f910e(0x76)]({'model':_0x3f910e(0x78),'view':_0x3f910e(0xab)}),_0x4b145c[_0x3f910e(0x8a)][_0x3f910e(0xa3)](_0x3f910e(0x8b))[_0x3f910e(0x8f)]({'model':{'key':_0x3f910e(0x78),'value':_0x999cb=>_0x999cb[_0x3f910e(0xb8)](_0x3f910e(0xab))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2fbc14=_0x4b145c[_0x3f910e(0xa0)][_0x3f910e(0x6f)](_0x3f910e(0x83));_0x2fbc14&&this[_0x3f910e(0x70)](_0x2fbc14,_0x3f910e(0xa4),(_0x1d7603,[_0x2a0791,_0xfa376f])=>{const _0x5d21d5=_0x3f910e;_0x2a0791[_0x5d21d5(0xb4)](_0x5d21d5(0x78),_0xfa376f);});}[_0x411a6(0xa8)](){const _0x213ecd=_0x411a6,_0x13d27e=this[_0x213ecd(0xa1)][_0x213ecd(0x91)][_0x213ecd(0x6f)](_0x213ecd(0x7d))||{},_0xf734c2=this[_0x213ecd(0xa1)][_0x213ecd(0x91)][_0x213ecd(0x6f)](_0x213ecd(0x84))||'';this[_0x213ecd(0x6b)]=_0x209b6b(_0x4ce68c[_0x213ecd(0x89)],_0x213ecd(0x7a),{..._0x13d27e,'pubkey':_0xf734c2,'ctx-name':_0x213ecd(0x88)+this[_0x213ecd(0xa6)],'sourceList':'','imgOnly':_0x213ecd(0x85),'removeCopyright':_0x213ecd(0x85),'localeName':this[_0x213ecd(0xa1)][_0x213ecd(0xbb)][_0x213ecd(0x8d)],'externalSourcesEmbedCss':_0x213ecd(0x94)}),this[_0x213ecd(0x6b)][_0x213ecd(0x97)]=_0x1350b4=>{const _0x2ee191=_0x213ecd;if(_0x2ee191(0xb9)==_0x1350b4)return _0x2ee191(0x9c);},_0x4ce68c[_0x213ecd(0x89)][_0x213ecd(0xa9)][_0x213ecd(0x7c)](this[_0x213ecd(0x6b)]);}[_0x411a6(0x93)](){const _0x1ff864=_0x411a6;this[_0x1ff864(0x81)]=_0x209b6b(_0x4ce68c[_0x1ff864(0x89)],_0x1ff864(0x71),{'ctx-name':_0x1ff864(0x88)+this[_0x1ff864(0xa6)]}),_0x4ce68c[_0x1ff864(0x89)][_0x1ff864(0xa9)][_0x1ff864(0x7c)](this[_0x1ff864(0x81)]);}[_0x411a6(0x80)](){const _0x229999=_0x411a6,_0x4fda1e=this[_0x229999(0xa1)][_0x229999(0xa0)][_0x229999(0x6f)](_0x229999(0xbd));_0x4fda1e&&this[_0x229999(0x70)](_0x4fda1e,_0x229999(0x7b),()=>{const _0x1fdaaf=_0x229999,_0x54146f=this[_0x1fdaaf(0xa1)][_0x1fdaaf(0x90)][_0x1fdaaf(0x89)][_0x1fdaaf(0x7e)][_0x1fdaaf(0x8e)]();_0x54146f&&_0x54146f[_0x1fdaaf(0xb8)](_0x1fdaaf(0x78))&&this[_0x1fdaaf(0xa1)][_0x1fdaaf(0xb7)][_0x1fdaaf(0xb0)][_0x1fdaaf(0xb2)](_0x1fdaaf(0x9f),()=>{const _0x25798d=_0x1fdaaf;_0x194570(this[_0x25798d(0xa1)],_0x54146f);});});const _0x28615a=this[_0x229999(0xa1)][_0x229999(0xa0)][_0x229999(0x6f)](_0x229999(0xb5));_0x28615a&&this[_0x229999(0x70)](_0x28615a,_0x229999(0x7b),()=>{const _0x46cca8=_0x229999,_0x58c0f2=this[_0x46cca8(0xa1)][_0x46cca8(0x90)][_0x46cca8(0x89)][_0x46cca8(0x7e)][_0x46cca8(0x8e)]();_0x58c0f2&&_0x58c0f2[_0x46cca8(0xb8)](_0x46cca8(0x78))&&this[_0x46cca8(0xa1)][_0x46cca8(0xb7)][_0x46cca8(0xb0)][_0x46cca8(0xb2)](_0x46cca8(0x9f),()=>{const _0xf5e54e=_0x46cca8;_0x194570(this[_0xf5e54e(0xa1)],_0x58c0f2);});});}}
|
|
@@ -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 _0x1e349d,ObservableMixin as _0x41b685}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1c8430}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xc3b6ec}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2b3b40}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x6e1aa3}from'../../utils/uploadutils.js';import{getImageUrls as _0x2e7c57,getImageDimension as _0x4bd549}from'../../utils/editingutils.js';import{isAncestor as _0x520614}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x41b685(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x713b5d,_0x681c3d,_0x42dc03){super(),this['_editor']=_0x713b5d,this['_dialog']=_0x681c3d,this['_imageElement']=_0x42dc03,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 _0x5d27d6=this['_imageElement'],_0x27b758=_0x5d27d6['getAttribute']('uploadcareImageId'),_0xcd3960=_0x5d27d6['getAttribute']('src');if(_0x27b758)await this['_loadImageInfo'](_0x27b758,_0xcd3960);else{if(this['_imageCache']['has'](_0xcd3960)){const _0x409c66=this['_imageCache']['get'](_0xcd3960);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x409c66['url'],this['imageDimension']=_0x409c66['dimension'],this['imageId']=_0x409c66['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xdf0667}=this['_editor'],t=_0xdf0667['t'],_0x213c83=new _0x2b3b40(_0xdf0667,this['imageStatus'],this['_attributes']);_0x213c83['bind']('status')['to'](this,'imageStatus'),_0x213c83['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x213c83['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x213c83['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x213c83,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc3b6ec,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x213c83,'position':_0x1c8430['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x213c83['focus']();},'onHide':()=>{_0x213c83['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x7e6411=>!_0x520614(_0x7e6411,_0x213c83['element'])}});}['_loadImageInfo'](_0x49b777,_0x50842c){return _0x6e1aa3['getInfo'](_0x49b777,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x34c68c=>{const {width:_0x187b3d,height:_0x242a3b}=_0x34c68c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50842c,this['imageDimension']={'width':_0x187b3d,'height':_0x242a3b},this['imageId']=_0x49b777;})['catch'](_0x38ff4e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38ff4e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x417e86,_0x18e228){return this['_getImageAsFile'](_0x417e86)['then'](_0x1a91ff=>_0x6e1aa3['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':_0x18e228['signal'],'file':_0x1a91ff,'onProgress':_0x3efc48=>{_0x3efc48&&_0x3efc48['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3efc48['value']));}}))['then'](_0x530b4e=>{const {width:_0x19350f,height:_0x1485c7}=_0x530b4e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x530b4e['cdnUrl'],this['imageDimension']={'width':_0x19350f,'height':_0x1485c7},this['imageId']=_0x530b4e['uuid'],this['imageUploadProgress']=null;const _0x4a6049=_0x417e86['getAttribute']('src');this['_imageCache']['set'](_0x4a6049,{'id':_0x530b4e['uuid'],'url':_0x530b4e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x545936=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x545936['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x14db33,_0x494e4){_0x14db33['on']('apply',(_0x2b9497,_0xbc4403)=>{this['_replaceImage'](_0x494e4,_0xbc4403['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x14db33['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x14db33['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x306831,_0x89eaee,_0x375069){const _0x1aba88=this['_editor'],{width:_0xe05dd0,height:_0x3631dc}=_0x4bd549(_0x89eaee,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x53383f,imageSources:_0x554b04}=_0x2e7c57(_0x89eaee,_0xe05dd0);_0x1aba88['model']['change'](_0x21372f=>{if('$graveyard'===_0x306831['root']['rootName']){_0x1aba88['execute']('insertImage',{'imageType':_0x306831['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x306831['getAttributes']()),'uploadcareImageId':_0x375069,'src':_0x53383f,'sources':_0x554b04,'width':_0xe05dd0,'height':_0x3631dc}});const _0x316084=_0x306831['getChildren']();_0x306831=_0x1aba88['model']['document']['selection']['getSelectedElement']();for(const _0x43a325 of _0x316084)_0x21372f['append'](_0x21372f['cloneElement'](_0x43a325),_0x306831);}else _0x21372f['setSelection'](_0x306831,'on'),_0x1aba88['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x306831['getAttributes']()),'uploadcareImageId':_0x375069,'src':_0x53383f,'sources':_0x554b04,'width':_0xe05dd0,'height':_0x3631dc},_0x306831);_0x21372f['setSelection'](_0x306831,'on');});}async['_getImageAsFile'](_0x44cff3){const _0x1544ed=_0x1e349d['window'],_0x12233b=_0x1e349d['document']['location']['href'],_0x203380=new _0x1544ed['URL'](_0x44cff3['getAttribute']('src'),_0x12233b);if('data:'===_0x203380['protocol']){const _0x2db952=_0x203380['href']['split'](','),_0x341388=_0x2db952[0x0]['match'](/:(.*?);/)[0x1],_0x3e1314=_0x341388['split']('/')[0x1],_0x1a457a=_0x1544ed['atob'](_0x2db952[_0x2db952['length']-0x1]);let _0x39149b=_0x1a457a['length'];const _0x4e9704=new _0x1544ed['Uint8Array'](_0x39149b);for(;_0x39149b--;)_0x4e9704[_0x39149b]=_0x1a457a['charCodeAt'](_0x39149b);return new _0x1544ed['File']([_0x4e9704],'image.'+_0x3e1314,{'type':_0x341388});}const _0x106147=_0x203380['href']['split']('/'),_0x11dba1=_0x106147[_0x106147['length']-0x1],_0xeee9c6=_0x11dba1['split']('.')[0x1];return _0x1544ed['fetch'](_0x203380['href'])['then'](_0x3b4885=>_0x3b4885['clone']()['blob']())['then'](_0x9cb306=>new _0x1544ed['File']([_0x9cb306],_0x11dba1,{'type':'image/'+_0xeee9c6}));}}
|
|
@@ -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 _0x1cf5(){const _0xe5abb7=['1176469nlKwgb','set','29372950ZPVpPQ','6746562JAKPIQ','image-edit','5856OBkvjA','1698FsuGbe','748293iIprgB','bindTemplate','2533704tuqrTS','setTemplate','uc-light','ck-uploadcare-theme','uc-cloud-image-editor','imageSrc','1710lHJzKi','88LGHLqJ','2090ECiBvq'];_0x1cf5=function(){return _0xe5abb7;};return _0x1cf5();}(function(_0x30736d,_0x387047){const _0x19b109=_0x2f63,_0x35435e=_0x30736d();while(!![]){try{const _0x3ab56f=-parseInt(_0x19b109(0x1a1))/0x1+-parseInt(_0x19b109(0x198))/0x2+-parseInt(_0x19b109(0x1a7))/0x3*(-parseInt(_0x19b109(0x1a6))/0x4)+parseInt(_0x19b109(0x1a0))/0x5*(-parseInt(_0x19b109(0x19e))/0x6)+parseInt(_0x19b109(0x1a8))/0x7*(-parseInt(_0x19b109(0x19f))/0x8)+parseInt(_0x19b109(0x1a4))/0x9+parseInt(_0x19b109(0x1a3))/0xa;if(_0x3ab56f===_0x387047)break;else _0x35435e['push'](_0x35435e['shift']());}catch(_0x40898f){_0x35435e['push'](_0x35435e['shift']());}}}(_0x1cf5,0xbdbed));function _0x2f63(_0x4aa6af,_0x3dd280){const _0x1cf573=_0x1cf5();return _0x2f63=function(_0x2f63cc,_0x43ce3f){_0x2f63cc=_0x2f63cc-0x197;let _0x3d86cd=_0x1cf573[_0x2f63cc];return _0x3d86cd;},_0x2f63(_0x4aa6af,_0x3dd280);}import{View as _0x23e0fb}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x23e0fb{constructor(_0x30c86f,_0x14238f){const _0x7ad74f=_0x2f63;super(_0x30c86f);const _0x52210b=this[_0x7ad74f(0x197)];this[_0x7ad74f(0x1a2)](_0x7ad74f(0x19d),''),this[_0x7ad74f(0x199)]({'tag':_0x7ad74f(0x19c),'attributes':{..._0x14238f,'class':[_0x7ad74f(0x19a),_0x7ad74f(0x19b)],'ctx-name':_0x7ad74f(0x1a5),'cdn-url':_0x52210b['to'](_0x7ad74f(0x19d))}});}}
|
|
@@ -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 _0x4a9558}from'ckeditor5/src/icons.js';import{ButtonView as _0x5732d3,IconView as _0x574e0f,View as _0x11813a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x11813a{constructor(_0x3aa85c){super(_0x3aa85c);const t=_0x3aa85c['t'];this['set']('errorType',null);const _0x4f684f=new _0x5732d3(_0x3aa85c);_0x4f684f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4f684f['withText']=!0x0,_0x4f684f['class']='ck-button-action',_0x4f684f['on']('execute',()=>{this['fire']('retry');}),_0x4f684f['bind']('isVisible')['to'](this,'errorType',_0x42e464=>'NotFound'!==_0x42e464);const _0x5b47fb=new _0x574e0f();_0x5b47fb['content']=_0x4a9558,_0x5b47fb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3e86a4=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':[_0x5b47fb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3e86a4['to']('errorType',_0x1f17e5=>t('NotFound'!==_0x1f17e5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4f684f]},{'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 _0x4efc47,View as _0x11be69}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x11be69{constructor(_0x14b2b7){super(_0x14b2b7);const t=_0x14b2b7['t'],_0x41eb8b=this['bindTemplate'],_0x3581e6=new _0x4efc47();_0x3581e6['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':[_0x3581e6,{'text':_0x41eb8b['to']('imageUploadProgress',_0x451dcf=>t('Loading\x20image...')+'\x20('+(_0x451dcf||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
|
-
function _0x19be(_0x8d118f,_0x3aa0a2){const _0x305c5a=_0x305c();return _0x19be=function(_0x19be5b,_0x5f3591){_0x19be5b=_0x19be5b-0xea;let _0x275359=_0x305c5a[_0x19be5b];return _0x275359;},_0x19be(_0x8d118f,_0x3aa0a2);}const _0x2e1f09=_0x19be;(function(_0x560fe8,_0x164f53){const _0x2cb0a2=_0x19be,_0x516854=_0x560fe8();while(!![]){try{const _0x440905=-parseInt(_0x2cb0a2(0x11c))/0x1+parseInt(_0x2cb0a2(0x121))/0x2+-parseInt(_0x2cb0a2(0x109))/0x3*(-parseInt(_0x2cb0a2(0xf2))/0x4)+-parseInt(_0x2cb0a2(0xea))/0x5*(parseInt(_0x2cb0a2(0xf1))/0x6)+-parseInt(_0x2cb0a2(0x111))/0x7+-parseInt(_0x2cb0a2(0xeb))/0x8*(-parseInt(_0x2cb0a2(0x112))/0x9)+parseInt(_0x2cb0a2(0x10f))/0xa*(parseInt(_0x2cb0a2(0xff))/0xb);if(_0x440905===_0x164f53)break;else _0x516854['push'](_0x516854['shift']());}catch(_0xd0a039){_0x516854['push'](_0x516854['shift']());}}}(_0x305c,0x5d8d7));import{View as _0x2be3bc}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0xec9bde}from'./uploadcareimageeditformloadingview.js';function _0x305c(){const _0xb581c5=['_focusableView','length','div','_loadingView','element','add','ck-uploadcare-form','184839KPUCub','_editingView','clear','addMany','uc-cloud-image-editor','observe','1750870PqpRiO','set','4238164UaXNSB','9iCahDq','_waitForImageEditorComponent','disconnect','addEventListener','apply','uploading','_setView','filter','_items','toLowerCase','552590qHVrYo','ck-reset_all-excluded','createCollection','ready','detail','375850HMgzme','13345bmMeYp','5364104TwgBaH','_errorView','_addErrorViewListeners','addedNodes','_addUploadcareImageEditorListeners','render','732uoQWlt','20foqvdZ','cdnUrl','focus','nodeName','fire','error','getFocusableElement','target','status','change:status','once','setTemplate','cancel','44xNcBww','querySelector','retry'];_0x305c=function(){return _0xb581c5;};return _0x305c();}import{UploadcareImageEditFormErrorView as _0x17528a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x210ee6}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2a0dd0}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2a0dd0{[_0x2e1f09(0x11a)];[_0x2e1f09(0x105)];[_0x2e1f09(0xec)];[_0x2e1f09(0x10a)];[_0x2e1f09(0x102)];constructor(_0x3b2b4e,_0x26b1b6,_0x5dca9b){const _0x283d7e=_0x2e1f09;super(_0x3b2b4e),this[_0x283d7e(0x11a)]=this[_0x283d7e(0x11e)](),this[_0x283d7e(0x105)]=new _0xec9bde(_0x3b2b4e),this[_0x283d7e(0xec)]=new _0x17528a(_0x3b2b4e),this[_0x283d7e(0x10a)]=new _0x210ee6(_0x3b2b4e,_0x5dca9b),this[_0x283d7e(0x102)]=new _0x2be3bc(_0x3b2b4e),this[_0x283d7e(0x102)][_0x283d7e(0xfd)](this[_0x283d7e(0xf8)]()),this[_0x283d7e(0x110)](_0x283d7e(0xfa),_0x26b1b6),this[_0x283d7e(0xfd)]({'tag':_0x283d7e(0x104),'attributes':{'class':['ck',_0x283d7e(0x11d),_0x283d7e(0x108)],'tabindex':'-1'},'children':this[_0x283d7e(0x11a)]}),this[_0x283d7e(0x118)](),this[_0x283d7e(0xfc)](_0x283d7e(0xf0),()=>{const _0x4a9b55=_0x283d7e;this[_0x4a9b55(0x113)](this[_0x4a9b55(0x106)],_0x122483=>{const _0x135b3c=_0x4a9b55;this[_0x135b3c(0xef)](_0x122483);});}),this['on'](_0x283d7e(0xfb),()=>{const _0x3e6e16=_0x283d7e;this[_0x3e6e16(0x118)]();}),this[_0x283d7e(0xed)]();}[_0x2e1f09(0xf4)](){const _0x29b9af=_0x2e1f09;this[_0x29b9af(0x106)][_0x29b9af(0xf4)]();}[_0x2e1f09(0x118)](){const _0xe70f5a=_0x2e1f09;switch(this[_0xe70f5a(0x11a)][_0xe70f5a(0x10b)](),this[_0xe70f5a(0xfa)]){case _0xe70f5a(0x117):this[_0xe70f5a(0x11a)][_0xe70f5a(0x107)](this[_0xe70f5a(0x105)]);break;case _0xe70f5a(0xf7):this[_0xe70f5a(0x11a)][_0xe70f5a(0x107)](this[_0xe70f5a(0xec)]);break;case _0xe70f5a(0x11f):this[_0xe70f5a(0x11a)][_0xe70f5a(0x10c)]([this[_0xe70f5a(0x10a)],this[_0xe70f5a(0x102)]]);}}[_0x2e1f09(0x113)](_0xfbc20a,_0x1208fa){const _0x4a0793=_0x2e1f09,_0xfa8562=_0x4a0793(0x10d),_0x2375b0=_0xfbc20a[_0x4a0793(0x100)](_0xfa8562);if(_0x2375b0)return _0x1208fa(_0x2375b0);const _0x3950c9=new MutationObserver(_0x158f40=>{const _0x57b272=_0x4a0793,_0x131bcf=_0x158f40[_0x57b272(0x119)](_0x32dbe9=>_0x32dbe9[_0x57b272(0xf9)]===_0xfbc20a&&_0x32dbe9[_0x57b272(0xee)][_0x57b272(0x103)]>0x0&&_0x32dbe9[_0x57b272(0xee)][0x0][_0x57b272(0xf5)][_0x57b272(0x11b)]()===_0xfa8562);_0x131bcf[_0x57b272(0x103)]&&(_0x3950c9[_0x57b272(0x114)](),_0x1208fa(_0x131bcf[0x0][_0x57b272(0xee)][0x0]));});_0x3950c9[_0x4a0793(0x10e)](_0xfbc20a,{'childList':!0x0,'subtree':!0x0});}[_0x2e1f09(0xef)](_0x5ea8e1){const _0x5dd1e6=_0x2e1f09;_0x5ea8e1[_0x5dd1e6(0x115)](_0x5dd1e6(0x116),_0x224872=>{const _0x2b942d=_0x5dd1e6;this[_0x2b942d(0xf6)](_0x2b942d(0x116),{'imageSrc':_0x224872[_0x2b942d(0x120)][_0x2b942d(0xf3)]});}),_0x5ea8e1[_0x5dd1e6(0x115)](_0x5dd1e6(0xfe),()=>{const _0x3b1d26=_0x5dd1e6;this[_0x3b1d26(0xf6)](_0x3b1d26(0xfe));});}[_0x2e1f09(0xed)](){const _0x632dd1=_0x2e1f09;this[_0x632dd1(0xec)]['on'](_0x632dd1(0x101),()=>{const _0x4480b1=_0x632dd1;this[_0x4480b1(0xf6)](_0x4480b1(0x101));});}}
|
|
@@ -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 _0x3e7d7d=_0x448d;(function(_0x31b140,_0xb562a7){const _0x2f7daf=_0x448d,_0x1f9865=_0x31b140();while(!![]){try{const _0x4ea309=-parseInt(_0x2f7daf(0xca))/0x1+-parseInt(_0x2f7daf(0xc5))/0x2+parseInt(_0x2f7daf(0xd9))/0x3+-parseInt(_0x2f7daf(0xd6))/0x4+parseInt(_0x2f7daf(0xd3))/0x5+parseInt(_0x2f7daf(0xce))/0x6*(parseInt(_0x2f7daf(0xcd))/0x7)+-parseInt(_0x2f7daf(0xd1))/0x8*(parseInt(_0x2f7daf(0xcf))/0x9);if(_0x4ea309===_0xb562a7)break;else _0x1f9865['push'](_0x1f9865['shift']());}catch(_0x132797){_0x1f9865['push'](_0x1f9865['shift']());}}}(_0x25c5,0xd5c7d));function _0x448d(_0x55d682,_0x1e8fde){const _0x25c5a5=_0x25c5();return _0x448d=function(_0x448dbd,_0x4a669){_0x448dbd=_0x448dbd-0xbc;let _0x213d1a=_0x25c5a5[_0x448dbd];return _0x213d1a;},_0x448d(_0x55d682,_0x1e8fde);}import{Command as _0x408597}from'ckeditor5/src/core.js';function _0x25c5(){const _0x1067d9=['uploadcare.allowExternalImagesEditing','8521145FvYdAZ','requires','model','2130128cyDZfl','editor','imageInline','2030988DEdSpK','imageEditController','plugins','isEnabled','document','bind','config','set','refresh','unbind','isActive','2397608tucImh','get','selection','imageBlock','element','1112199AJXRem','getSelectedElement','execute','91AIiLzZ','728466WQirsD','2163492joFOZc','_isEditable','8vToAeY'];_0x25c5=function(){return _0x1067d9;};return _0x25c5();}import{Dialog as _0x55a095}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x31f80f}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4637ca}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x408597{[_0x3e7d7d(0xda)];static get[_0x3e7d7d(0xd4)](){return[_0x55a095];}[_0x3e7d7d(0xd0)];constructor(_0x41cb52){const _0x339b35=_0x3e7d7d;super(_0x41cb52),this[_0x339b35(0xda)]=void 0x0,this[_0x339b35(0xd0)]=_0x4637ca(_0x41cb52[_0x339b35(0xc0)][_0x339b35(0xc6)](_0x339b35(0xd2))||[]),this[_0x339b35(0xc1)]({'isActive':!0x1});}[_0x3e7d7d(0xc2)](){const _0x50220e=_0x3e7d7d,_0x5e55d3=this[_0x50220e(0xd7)][_0x50220e(0xd5)][_0x50220e(0xbe)][_0x50220e(0xc7)][_0x50220e(0xcb)]();this[_0x50220e(0xbd)]=this[_0x50220e(0xd0)](_0x5e55d3);}[_0x3e7d7d(0xcc)](){const _0x16c93c=_0x3e7d7d;this[_0x16c93c(0xda)]&&(this[_0x16c93c(0xc3)](_0x16c93c(0xc4)),this[_0x16c93c(0xda)]=void 0x0);const _0x596caa=this[_0x16c93c(0xd7)][_0x16c93c(0xd5)][_0x16c93c(0xbe)][_0x16c93c(0xc7)][_0x16c93c(0xcb)]();_0x596caa&&(_0x596caa['is'](_0x16c93c(0xc9),_0x16c93c(0xc8))||_0x596caa['is'](_0x16c93c(0xc9),_0x16c93c(0xd8)))&&(this[_0x16c93c(0xda)]=new _0x31f80f(this[_0x16c93c(0xd7)],this[_0x16c93c(0xd7)][_0x16c93c(0xbc)][_0x16c93c(0xc6)](_0x55a095),_0x596caa),this[_0x16c93c(0xbf)](_0x16c93c(0xc4))['to'](this[_0x16c93c(0xda)],_0x16c93c(0xc4)));}}
|
|
@@ -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 _0x358dc3=_0x111a;function _0x111a(_0x40930a,_0x49d880){const _0x20d2ab=_0x20d2();return _0x111a=function(_0x111a92,_0x22a086){_0x111a92=_0x111a92-0x1cc;let _0x5e1217=_0x20d2ab[_0x111a92];return _0x5e1217;},_0x111a(_0x40930a,_0x49d880);}(function(_0xe50433,_0x36cda9){const _0x25d995=_0x111a,_0x39280b=_0xe50433();while(!![]){try{const _0x7e62bd=parseInt(_0x25d995(0x1d5))/0x1+parseInt(_0x25d995(0x1d6))/0x2+-parseInt(_0x25d995(0x1dc))/0x3+parseInt(_0x25d995(0x1d0))/0x4*(parseInt(_0x25d995(0x1d4))/0x5)+-parseInt(_0x25d995(0x1dd))/0x6+parseInt(_0x25d995(0x1cf))/0x7+parseInt(_0x25d995(0x1cd))/0x8*(-parseInt(_0x25d995(0x1e0))/0x9);if(_0x7e62bd===_0x36cda9)break;else _0x39280b['push'](_0x39280b['shift']());}catch(_0x3d3ff1){_0x39280b['push'](_0x39280b['shift']());}}}(_0x20d2,0x47235));function _0x20d2(){const _0x4fdaba=['commands','2638370nHKONb','700pwQPUH','uploadcareImageEdit','requires','isOfficialPlugin','8175xkTJvp','406785AkqGlt','791534XPpaMb','ImageEditing','ImageUtils','pluginName','add','UploadcareImageEditEditing','1591986NeLmFl','1979724TNndvt','init','isPremiumPlugin','470385GuxMeS','uploadcareImageReplace','48TejJWg'];_0x20d2=function(){return _0x4fdaba;};return _0x20d2();}import{Plugin as _0x3a1eb9}from'ckeditor5/src/core.js';import{Notification as _0xaa3ee5}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2dedec}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1bf763}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2cbfe1}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3a1eb9{static get[_0x358dc3(0x1d9)](){const _0x1e4a60=_0x358dc3;return _0x1e4a60(0x1db);}static get[_0x358dc3(0x1d2)](){const _0x3b00cb=_0x358dc3;return[_0x2cbfe1,_0xaa3ee5,_0x3b00cb(0x1d8),_0x3b00cb(0x1d7)];}static get[_0x358dc3(0x1d3)](){return!0x0;}static get[_0x358dc3(0x1df)](){return!0x0;}[_0x358dc3(0x1de)](){const _0x2b2a08=_0x358dc3,{editor:_0x3d4560}=this;_0x3d4560[_0x2b2a08(0x1ce)][_0x2b2a08(0x1da)](_0x2b2a08(0x1d1),new _0x2dedec(_0x3d4560)),_0x3d4560[_0x2b2a08(0x1ce)][_0x2b2a08(0x1da)](_0x2b2a08(0x1cc),new _0x1bf763(_0x3d4560));}}
|
|
@@ -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 _0x55c6c5}from'ckeditor5/src/core.js';import{ButtonView as _0x54e2a9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1184f5}from'ckeditor5/src/icons.js';import{createElement as _0x30766a}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 _0x55c6c5{['_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 _0x3d210b=this['editor'];_0x3d210b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x19d271=>{const _0x5df5ef=_0x3d210b['commands']['get']('uploadcareImageEdit'),_0x4f5bb0=new _0x54e2a9(_0x19d271),t=_0x19d271['t'];return _0x4f5bb0['set']({'icon':_0x1184f5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4f5bb0['bind']('isEnabled')['to'](_0x5df5ef),_0x4f5bb0['bind']('isOn')['to'](_0x5df5ef,'isActive'),this['listenTo'](_0x4f5bb0,'execute',()=>{_0x3d210b['execute']('uploadcareImageEdit'),_0x3d210b['editing']['view']['focus']();}),_0x4f5bb0;}),this['_initConfig']();}['_initConfig'](){const _0x12d85e=_0x30766a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x12d85e),this['listenTo'](this['editor'],'destroy',()=>{_0x12d85e['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
|
-
const _0x3813d3=_0x5076;(function(_0x2d9021,_0x326602){const _0x3f50b6=_0x5076,_0x2cf00b=_0x2d9021();while(!![]){try{const _0x1ac9df=parseInt(_0x3f50b6(0x11a))/0x1*(-parseInt(_0x3f50b6(0x122))/0x2)+parseInt(_0x3f50b6(0x11e))/0x3+-parseInt(_0x3f50b6(0x123))/0x4*(parseInt(_0x3f50b6(0x12f))/0x5)+parseInt(_0x3f50b6(0x125))/0x6*(-parseInt(_0x3f50b6(0x120))/0x7)+-parseInt(_0x3f50b6(0x126))/0x8*(-parseInt(_0x3f50b6(0x129))/0x9)+-parseInt(_0x3f50b6(0x11c))/0xa*(parseInt(_0x3f50b6(0x128))/0xb)+parseInt(_0x3f50b6(0x12e))/0xc;if(_0x1ac9df===_0x326602)break;else _0x2cf00b['push'](_0x2cf00b['shift']());}catch(_0x59f1bf){_0x2cf00b['push'](_0x2cf00b['shift']());}}}(_0x57a0,0x5fd21));function _0x5076(_0x57c10,_0x5d67b6){const _0x57a07c=_0x57a0();return _0x5076=function(_0x50769e,_0x3ad9ce){_0x50769e=_0x50769e-0x116;let _0x3b6c46=_0x57a07c[_0x50769e];return _0x3b6c46;},_0x5076(_0x57c10,_0x5d67b6);}import{Command as _0x3a80a1}from'ckeditor5/src/core.js';function _0x57a0(){const _0x392f69=['1979964rFcVEC','document','3993222wVMdCg','24oSggxk','isEnabled','28347yywEAF','1457838vonMDL','removeAttribute','setAttributes','change','refresh','20618484zNjCtQ','5DpadaP','execute','imageBlock','imageInline','getSelectedElement','model','editor','234631zxYynS','selection','390oKQxlx','sizes','459756oukHdS','srcset','7BmpvXd','element','6GQjIZG'];_0x57a0=function(){return _0x392f69;};return _0x57a0();}export class UploadcareImageReplaceCommand extends _0x3a80a1{[_0x3813d3(0x12d)](){const _0x110221=_0x3813d3,_0x34fd81=this[_0x110221(0x119)][_0x110221(0x118)][_0x110221(0x124)][_0x110221(0x11b)][_0x110221(0x117)]();this[_0x110221(0x127)]=Boolean(_0x34fd81&&(_0x34fd81['is'](_0x110221(0x121),_0x110221(0x131))||_0x34fd81['is'](_0x110221(0x121),_0x110221(0x116))));}[_0x3813d3(0x130)](_0x267fd0){const _0x42a8eb=_0x3813d3,_0xc5fe1a=this[_0x42a8eb(0x119)][_0x42a8eb(0x118)][_0x42a8eb(0x124)][_0x42a8eb(0x11b)][_0x42a8eb(0x117)]();this[_0x42a8eb(0x119)][_0x42a8eb(0x118)][_0x42a8eb(0x12c)](_0x3f0d9b=>{const _0x26a3d6=_0x42a8eb;_0x3f0d9b[_0x26a3d6(0x12b)](_0x267fd0,_0xc5fe1a),_0x3f0d9b[_0x26a3d6(0x12a)](_0x26a3d6(0x11f),_0xc5fe1a),_0x3f0d9b[_0x26a3d6(0x12a)](_0x26a3d6(0x11d),_0xc5fe1a);});}}
|
|
@@ -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 _0x5790(_0x5a45eb,_0x362a25){var _0x27dddf=_0x27dd();return _0x5790=function(_0x5790f8,_0x563c71){_0x5790f8=_0x5790f8-0x1d3;var _0x2603c5=_0x27dddf[_0x5790f8];return _0x2603c5;},_0x5790(_0x5a45eb,_0x362a25);}var _0x4864db=_0x5790;(function(_0x47f349,_0xd44852){var _0x593cd2=_0x5790,_0x219672=_0x47f349();while(!![]){try{var _0x35df3f=-parseInt(_0x593cd2(0x1db))/0x1*(parseInt(_0x593cd2(0x1e0))/0x2)+parseInt(_0x593cd2(0x1de))/0x3*(-parseInt(_0x593cd2(0x1dc))/0x4)+parseInt(_0x593cd2(0x1d5))/0x5+parseInt(_0x593cd2(0x1df))/0x6+-parseInt(_0x593cd2(0x1d4))/0x7*(-parseInt(_0x593cd2(0x1e1))/0x8)+parseInt(_0x593cd2(0x1d7))/0x9+-parseInt(_0x593cd2(0x1dd))/0xa;if(_0x35df3f===_0xd44852)break;else _0x219672['push'](_0x219672['shift']());}catch(_0x12c3c6){_0x219672['push'](_0x219672['shift']());}}}(_0x27dd,0x3af06));import{Plugin as _0xcf02f0}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1dab3b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3f4352}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x27dd(){var _0xac925a=['requires','69fdsOug','11136sdByPD','4134510AlUBtp','177WCbYGX','1232322IpIDcl','4578OuEJSd','24ncDGiG','isPremiumPlugin','601923CFxyXH','1008175CZESQa','pluginName','2808657DOmjhl','isOfficialPlugin','UploadcareImageEdit'];_0x27dd=function(){return _0xac925a;};return _0x27dd();}export class UploadcareImageEdit extends _0xcf02f0{static get[_0x4864db(0x1d6)](){var _0x14b182=_0x4864db;return _0x14b182(0x1d9);}static get[_0x4864db(0x1da)](){return[_0x1dab3b,_0x3f4352];}static get[_0x4864db(0x1d8)](){return!0x0;}static get[_0x4864db(0x1d3)](){return!0x0;}}
|