@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260114.0 → 0.0.0-nightly-next-20260114.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(_0x5d362f,_0x69549e){var _0x35be55=_0x58a0,_0x58aecc=_0x5d362f();while(!![]){try{var _0x38dda6=-parseInt(_0x35be55(0xeb))/0x1*(-parseInt(_0x35be55(0xf0))/0x2)+parseInt(_0x35be55(0xf2))/0x3+parseInt(_0x35be55(0xec))/0x4+parseInt(_0x35be55(0xea))/0x5*(-parseInt(_0x35be55(0xf1))/0x6)+parseInt(_0x35be55(0xef))/0x7*(-parseInt(_0x35be55(0xe9))/0x8)+-parseInt(_0x35be55(0xee))/0x9+parseInt(_0x35be55(0xe8))/0xa*(parseInt(_0x35be55(0xed))/0xb);if(_0x38dda6===_0x69549e)break;else _0x58aecc['push'](_0x58aecc['shift']());}catch(_0x21111f){_0x58aecc['push'](_0x58aecc['shift']());}}}(_0x5612,0x2b920));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';function _0x5612(){var _0x2e1a4e=['1434BkJqeE','6XZCITg','554427mkHZLI','170qQgLUD','7024FdlKDN','1211650IsWtXq','8UKkqjD','1107112qyZLHm','306163RPVqiE','3049398nomala','1442WamPBG'];_0x5612=function(){return _0x2e1a4e;};return _0x5612();}export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';function _0x58a0(_0x3f8150,_0x161710){var _0x5612ae=_0x5612();return _0x58a0=function(_0x58a044,_0x35d0be){_0x58a044=_0x58a044-0xe8;var _0x39023a=_0x5612ae[_0x58a044];return _0x39023a;},_0x58a0(_0x3f8150,_0x161710);}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
|
-
const _0x38cf9b=_0x1cd0;(function(_0x450276,_0x258d1e){const _0xe77bcf=_0x1cd0,_0x6500d4=_0x450276();while(!![]){try{const _0x4166cb=-parseInt(_0xe77bcf(0x226))/0x1*(parseInt(_0xe77bcf(0x1f4))/0x2)+parseInt(_0xe77bcf(0x202))/0x3+parseInt(_0xe77bcf(0x1f3))/0x4*(parseInt(_0xe77bcf(0x212))/0x5)+-parseInt(_0xe77bcf(0x20b))/0x6+parseInt(_0xe77bcf(0x217))/0x7*(-parseInt(_0xe77bcf(0x223))/0x8)+-parseInt(_0xe77bcf(0x1e8))/0x9*(-parseInt(_0xe77bcf(0x1f0))/0xa)+parseInt(_0xe77bcf(0x1dc))/0xb*(parseInt(_0xe77bcf(0x207))/0xc);if(_0x4166cb===_0x258d1e)break;else _0x6500d4['push'](_0x6500d4['shift']());}catch(_0x4a8592){_0x6500d4['push'](_0x6500d4['shift']());}}}(_0x3cab,0xdb317));import{IconUploadcareImageUpload as _0x16f55e}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x469f7b}from'ckeditor5/src/utils.js';function _0x3cab(){const _0x158235=['1275672IngmcL','_insertImage','attributes','selection','uploadCare','Replace','plugins','3790ZocgDH','destroy','removeAllFiles','stopListening','uuid','7GUtRoJ','stopDelegating','_dialog','execute','addEventListener','status','setAttribute','ctxElement','detail','linkHref','editing','hide','12513368PXGXya','width','isOpen','1dnXqnl','focus','89529WiTHCY','getAPI','show','image','imageInline','_type','getLastPosition','_insertAsset','_formView','done-click','Local','document','3609cKzTWq','imageInfo','model','_editing','initFlow','text','source-list','getSelectedElement','21070KYXdKT','_initDialog','element','8924rRSwMV','2580788tMjEgM','length','imageBlock','setSelection','allEntries','configElement','ucContextId','change','EDITOR_TOP_CENTER','Insert','removeSelectionAttribute','_api','getOutputCollectionState','setCurrentActivity','3969540oHLxQs','_initListeners','idle','insertImage','_editor','156zCgpqS','doneFlow','view','get'];_0x3cab=function(){return _0x158235;};return _0x3cab();}import{Dialog as _0x592096,DialogViewPosition as _0x1dd5e8}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x47481f}from'./uploadcareformview.js';import{UploadcareSource as _0x31b612}from'../uploadcareconfig.js';import{getTranslation as _0x2b53c8}from'../utils/common-translations.js';import{getImageUrls as _0x14e952,getImageDimension as _0x53e3b0}from'../utils/editingutils.js';function _0x1cd0(_0x5de44c,_0x2b67f6){const _0x3cabf3=_0x3cab();return _0x1cd0=function(_0x1cd094,_0x152bc7){_0x1cd094=_0x1cd094-0x1db;let _0x113cbb=_0x3cabf3[_0x1cd094];return _0x113cbb;},_0x1cd0(_0x5de44c,_0x2b67f6);}import{isAncestor as _0x598970}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x469f7b(){[_0x38cf9b(0x206)];[_0x38cf9b(0x219)];[_0x38cf9b(0x1eb)];[_0x38cf9b(0x1ff)];[_0x38cf9b(0x1e1)]=null;[_0x38cf9b(0x1e4)]=null;constructor(_0x260555,_0x352e7f,_0x2ed1fb){const _0x2b69fa=_0x38cf9b;super(),this[_0x2b69fa(0x206)]=_0x260555,this[_0x2b69fa(0x1eb)]=_0x352e7f,this[_0x2b69fa(0x219)]=_0x260555[_0x2b69fa(0x211)][_0x2b69fa(0x20a)](_0x592096),this[_0x2b69fa(0x1ff)]=_0x352e7f[_0x2b69fa(0x21e)][_0x2b69fa(0x1dd)](),this[_0x2b69fa(0x1e1)]=_0x2ed1fb,this[_0x2b69fa(0x1eb)][_0x2b69fa(0x1f9)][_0x2b69fa(0x21d)](_0x2b69fa(0x1ee),this[_0x2b69fa(0x1e1)]),this[_0x2b69fa(0x1f1)](),this[_0x2b69fa(0x203)](),this[_0x2b69fa(0x1ff)][_0x2b69fa(0x1ec)]();}[_0x38cf9b(0x213)](){const _0x42f4e4=_0x38cf9b;this[_0x42f4e4(0x1e4)]&&(this[_0x42f4e4(0x1e4)][_0x42f4e4(0x213)](),this[_0x42f4e4(0x1e4)]=null),this[_0x42f4e4(0x1ff)]&&this[_0x42f4e4(0x1ff)][_0x42f4e4(0x208)](),this[_0x42f4e4(0x215)](),this[_0x42f4e4(0x218)]();}[_0x38cf9b(0x1f1)](){const _0x2bbe97=_0x38cf9b,{locale:_0x34ad8d,model:_0x1ff734}=this[_0x2bbe97(0x206)],_0x42e3ce=_0x1ff734[_0x2bbe97(0x1e7)][_0x2bbe97(0x20e)][_0x2bbe97(0x1ef)](),_0x295fbe=_0x42e3ce&&(_0x42e3ce['is'](_0x2bbe97(0x1f2),_0x2bbe97(0x1f6))||_0x42e3ce['is'](_0x2bbe97(0x1f2),_0x2bbe97(0x1e0)));this[_0x2bbe97(0x1e4)]=new _0x47481f(_0x34ad8d,this[_0x2bbe97(0x1eb)][_0x2bbe97(0x1fa)]),this[_0x2bbe97(0x219)][_0x2bbe97(0x1de)]({'id':_0x2bbe97(0x20f),'icon':_0x16f55e,'title':_0x2b53c8(_0x34ad8d,this[_0x2bbe97(0x1e1)],_0x295fbe?_0x2bbe97(0x210):_0x2bbe97(0x1fd))[_0x2bbe97(0x1ed)],'content':this[_0x2bbe97(0x1e4)],'position':_0x1dd5e8[_0x2bbe97(0x1fc)],'isModal':!0x0,'onShow':()=>{const _0x5697f3=_0x2bbe97;this[_0x5697f3(0x1e4)][_0x5697f3(0x1db)]();},'onHide':()=>{const _0x43320c=_0x2bbe97;this[_0x43320c(0x1ff)][_0x43320c(0x214)](),this[_0x43320c(0x206)][_0x43320c(0x221)][_0x43320c(0x209)][_0x43320c(0x1db)](),this[_0x43320c(0x213)]();},'keystrokeHandlerOptions':{'filter':_0x4aa4b3=>!_0x598970(_0x4aa4b3,this[_0x2bbe97(0x1e4)][_0x2bbe97(0x1f2)])}});}[_0x38cf9b(0x203)](){const _0x43cb2b=_0x38cf9b;this[_0x43cb2b(0x1eb)][_0x43cb2b(0x21e)][_0x43cb2b(0x21b)](_0x43cb2b(0x1e5),()=>{const _0x11c993=_0x43cb2b,{allEntries:_0x91d2db}=this[_0x11c993(0x1ff)][_0x11c993(0x200)]();this[_0x11c993(0x206)][_0x11c993(0x1ea)][_0x11c993(0x1fb)](_0x53e0d1=>{const _0x2a6bf9=_0x11c993,_0x380fa3=_0x91d2db[_0x2a6bf9(0x1f5)];for(const _0x55c913 of _0x91d2db){const _0x821b06=_0x55c913===_0x91d2db[_0x380fa3-0x1],{cdnUrl:_0x4f3726,fileInfo:_0x2ad518}=_0x55c913;if(!_0x4f3726||!_0x2ad518)continue;const {width:_0x540c0b,height:_0x977091}=_0x2ad518[_0x2a6bf9(0x1e9)],_0x78e2fe=_0x53e3b0(_0x4f3726,_0x540c0b,_0x977091),_0x2a1ba3=_0x14e952(_0x4f3726,_0x78e2fe[_0x2a6bf9(0x224)]),_0x4195c2={'id':_0x2ad518[_0x2a6bf9(0x216)],'type':_0x2a6bf9(0x1df),'attributes':{'imageDimension':_0x78e2fe,..._0x2a1ba3}};this[_0x2a6bf9(0x1e3)](_0x4195c2,_0x821b06,_0x53e0d1);}}),this[_0x11c993(0x219)][_0x11c993(0x222)]();}),this[_0x43cb2b(0x1eb)][_0x43cb2b(0x21e)][_0x43cb2b(0x21b)](_0x43cb2b(0x1fb),_0x3a85d0=>{const _0x46c0f1=_0x43cb2b;_0x46c0f1(0x204)===_0x3a85d0[_0x46c0f1(0x21f)][_0x46c0f1(0x21c)]&&!_0x3a85d0[_0x46c0f1(0x21f)][_0x46c0f1(0x1f8)][_0x46c0f1(0x1f5)]&&this[_0x46c0f1(0x219)][_0x46c0f1(0x225)]&&(this[_0x46c0f1(0x1e1)]===_0x31b612[_0x46c0f1(0x1e6)]?this[_0x46c0f1(0x1ff)][_0x46c0f1(0x201)](_0x31b612[_0x46c0f1(0x1e6)]):this[_0x46c0f1(0x1ff)][_0x46c0f1(0x1ec)]());});}[_0x38cf9b(0x1e3)](_0x2de4b6,_0x50b4b0,_0x5b3e29){const _0xa07b09=_0x38cf9b,_0x45f60e=this[_0xa07b09(0x206)][_0xa07b09(0x1ea)][_0xa07b09(0x1e7)][_0xa07b09(0x20e)],_0x41182c=_0x45f60e[_0xa07b09(0x1ef)](),_0x4e4be1=!(!_0x41182c||!_0x41182c['is'](_0xa07b09(0x1f2),_0xa07b09(0x1e0)));_0x5b3e29[_0xa07b09(0x1fe)](_0xa07b09(0x220)),this[_0xa07b09(0x20c)](_0x2de4b6,_0x4e4be1),_0x50b4b0||_0x5b3e29[_0xa07b09(0x1f7)](_0x45f60e[_0xa07b09(0x1e2)]());}[_0x38cf9b(0x20c)](_0x1bab1c,_0x4d39ce){const _0x2d87d2=_0x38cf9b,_0x2da1fc=this[_0x2d87d2(0x206)],{imageDimension:_0x518d52,imageFallbackUrl:_0x5b7eca,imageSources:_0x564dd7}=_0x1bab1c[_0x2d87d2(0x20d)];_0x2da1fc[_0x2d87d2(0x21a)](_0x2d87d2(0x205),{'imageType':_0x4d39ce?_0x2d87d2(0x1e0):null,'source':{'uploadcareImageId':_0x1bab1c['id'],'src':_0x5b7eca,'sources':_0x564dd7,..._0x518d52}});}}
|
|
@@ -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 _0x10ad34=_0x4058;(function(_0x554488,_0x282e3b){var _0x3a8390=_0x4058,_0x241b66=_0x554488();while(!![]){try{var _0x14cec9=parseInt(_0x3a8390(0xc2))/0x1*(parseInt(_0x3a8390(0xc6))/0x2)+-parseInt(_0x3a8390(0xb2))/0x3*(parseInt(_0x3a8390(0xb3))/0x4)+-parseInt(_0x3a8390(0xb1))/0x5*(-parseInt(_0x3a8390(0xba))/0x6)+parseInt(_0x3a8390(0xb5))/0x7*(-parseInt(_0x3a8390(0xc5))/0x8)+parseInt(_0x3a8390(0xc4))/0x9+parseInt(_0x3a8390(0xb9))/0xa*(parseInt(_0x3a8390(0xb7))/0xb)+-parseInt(_0x3a8390(0xc7))/0xc;if(_0x14cec9===_0x282e3b)break;else _0x241b66['push'](_0x241b66['shift']());}catch(_0x57f18e){_0x241b66['push'](_0x241b66['shift']());}}}(_0x303e,0xb620a));import{DialogFocusManagerView as _0x5a72b4}from'../utils/dialogfocusmanagerview.js';function _0x4058(_0x3ecec1,_0x5ce56d){var _0x303ecd=_0x303e();return _0x4058=function(_0x405802,_0x4a0783){_0x405802=_0x405802-0xb1;var _0x5b0a90=_0x303ecd[_0x405802];return _0x5b0a90;},_0x4058(_0x3ecec1,_0x5ce56d);}import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x5a72b4{constructor(_0x4b2577,_0x3c6cf9){var _0x1313b0=_0x4058;super(_0x4b2577),this[_0x1313b0(0xb4)]({'tag':_0x1313b0(0xbf),'attributes':{'class':['ck',_0x1313b0(0xc0),_0x1313b0(0xc1)],'tabindex':'-1'},'children':[{'tag':_0x1313b0(0xc3),'attributes':{'class':[_0x1313b0(0xbd),_0x1313b0(0xb6)],'ctx-name':_0x1313b0(0xbc)+_0x3c6cf9}},this[_0x1313b0(0xbe)]()]});}[_0x10ad34(0xb8)](){var _0xfa3bc3=_0x10ad34;this[_0xfa3bc3(0xbb)][_0xfa3bc3(0xb8)]();}}function _0x303e(){var _0x4ad440=['554YPjnKL','3113172UrAmhB','40LjarLi','123wlWxxo','109316aSaWpg','setTemplate','371xucnxe','ck-uploadcare-theme','29942rRhASx','focus','900sneWCa','297876KdblZc','element','uploader-','uc-light','getFocusableElement','div','ck-reset_all-excluded','ck-uploadcare-form','3202koeKYX','uc-file-uploader-inline','13312881ACCBaO','133192VHcsgI'];_0x303e=function(){return _0x4ad440;};return _0x303e();}
|
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 _0x3b85e8=_0x2ab5;function _0x4920(){const _0x2aa0fe=['pluginName','Local','config','2586Tkuqra','294645iGoPOC','18660EbjiTt','isPremiumPlugin','requires','41951uRwEZJ','get','define','uploadcare.uploader.sourceList','Uploadcare','uploadcare.locale','defineLocale','URL','513292LRPWKO','defineComponents','88sGGqYb','2023566DPhpjk','editor','8wlqLRM','contentLanguage','locale','_defineLocale','isOfficialPlugin','188807vtmbVQ','2736zyLIJi'];_0x4920=function(){return _0x2aa0fe;};return _0x4920();}(function(_0x182b2a,_0x30ff7f){const _0x174bb5=_0x2ab5,_0x149a8c=_0x182b2a();while(!![]){try{const _0x388951=parseInt(_0x174bb5(0x1f5))/0x1+-parseInt(_0x174bb5(0x1eb))/0x2+-parseInt(_0x174bb5(0x1de))/0x3*(-parseInt(_0x174bb5(0x1f0))/0x4)+-parseInt(_0x174bb5(0x1df))/0x5+-parseInt(_0x174bb5(0x1ee))/0x6+-parseInt(_0x174bb5(0x1e3))/0x7*(-parseInt(_0x174bb5(0x1ed))/0x8)+parseInt(_0x174bb5(0x1f6))/0x9*(parseInt(_0x174bb5(0x1e0))/0xa);if(_0x388951===_0x30ff7f)break;else _0x149a8c['push'](_0x149a8c['shift']());}catch(_0x519654){_0x149a8c['push'](_0x149a8c['shift']());}}}(_0x4920,0x29b82));import{Plugin as _0x28cba6}from'ckeditor5/src/core.js';import{UploadcareUI as _0xfd1a11}from'./uploadcareui.js';import{UploadcareEditing as _0x58248c}from'./uploadcareediting.js';function _0x2ab5(_0x2824cb,_0x242cdb){const _0x492043=_0x4920();return _0x2ab5=function(_0x2ab5f4,_0x427a8c){_0x2ab5f4=_0x2ab5f4-0x1dc;let _0x2c6225=_0x492043[_0x2ab5f4];return _0x2c6225;},_0x2ab5(_0x2824cb,_0x242cdb);}import{UploadcareSource as _0x4f7eb3}from'./uploadcareconfig.js';import*as _0x487ac0 from'@uploadcare/file-uploader';export class Uploadcare extends _0x28cba6{static get[_0x3b85e8(0x1e2)](){return[_0x58248c,_0xfd1a11];}static get[_0x3b85e8(0x1f7)](){const _0x5a818d=_0x3b85e8;return _0x5a818d(0x1e7);}static get[_0x3b85e8(0x1f4)](){return!0x0;}static get[_0x3b85e8(0x1e1)](){return!0x0;}constructor(_0x5d79fa){const _0x192d26=_0x3b85e8;super(_0x5d79fa),_0x5d79fa[_0x192d26(0x1dd)][_0x192d26(0x1e5)](_0x192d26(0x1e6),[_0x4f7eb3[_0x192d26(0x1dc)],_0x4f7eb3[_0x192d26(0x1ea)]]),_0x487ac0[_0x192d26(0x1ec)](_0x487ac0),this[_0x192d26(0x1f3)]();}[_0x3b85e8(0x1f3)](){const _0x4a2cf2=_0x3b85e8,_0x1ecf34=this[_0x4a2cf2(0x1ef)][_0x4a2cf2(0x1dd)][_0x4a2cf2(0x1e4)](_0x4a2cf2(0x1e8)),_0x1c4140=this[_0x4a2cf2(0x1ef)][_0x4a2cf2(0x1f2)][_0x4a2cf2(0x1f1)];_0x1ecf34&&_0x487ac0[_0x4a2cf2(0x1e9)](_0x1c4140,_0x1ecf34);}}
|
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 _0x5a90b4=_0x42bc;function _0x1f97(){var _0xd6434a=['requires','2233725kwXIeW','99kVVoBW','editor','12813616bdzXfy','insertImage','plugins','317871VOROcw','1exKzAm','isEnabled','_editing','1840406MwETNG','260JRqQlT','commands','_controller','45076tOGDhI','refresh','2338KfXsKu','445BoGnJp','38748NuVtFs','14622PgKrtS','destroy','get','_checkEnabled','execute'];_0x1f97=function(){return _0xd6434a;};return _0x1f97();}(function(_0x5be0cc,_0x2f7fb8){var _0xc48118=_0x42bc,_0x189642=_0x5be0cc();while(!![]){try{var _0x4623a8=parseInt(_0xc48118(0x1c5))/0x1*(-parseInt(_0xc48118(0x1c8))/0x2)+-parseInt(_0xc48118(0x1d7))/0x3+-parseInt(_0xc48118(0x1cc))/0x4*(-parseInt(_0xc48118(0x1cf))/0x5)+-parseInt(_0xc48118(0x1d1))/0x6*(-parseInt(_0xc48118(0x1ce))/0x7)+parseInt(_0xc48118(0x1c1))/0x8+parseInt(_0xc48118(0x1c4))/0x9*(-parseInt(_0xc48118(0x1c9))/0xa)+parseInt(_0xc48118(0x1d8))/0xb*(parseInt(_0xc48118(0x1d0))/0xc);if(_0x4623a8===_0x2f7fb8)break;else _0x189642['push'](_0x189642['shift']());}catch(_0x2e5a01){_0x189642['push'](_0x189642['shift']());}}}(_0x1f97,0xd314e));import{Command as _0x50f307}from'ckeditor5/src/core.js';function _0x42bc(_0x334f93,_0x384ddd){var _0x1f9716=_0x1f97();return _0x42bc=function(_0x42bc4a,_0xbe850b){_0x42bc4a=_0x42bc4a-0x1c0;var _0x26bf70=_0x1f9716[_0x42bc4a];return _0x26bf70;},_0x42bc(_0x334f93,_0x384ddd);}import{Dialog as _0x8d5d39}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x56a697}from'./uploadcareediting.js';import{UploadcareController as _0x57ea5f}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x50f307{[_0x5a90b4(0x1c7)];[_0x5a90b4(0x1cb)]=null;static get[_0x5a90b4(0x1d6)](){return[_0x8d5d39,_0x56a697];}constructor(_0x2ebb79){var _0x16050e=_0x5a90b4;super(_0x2ebb79),this[_0x16050e(0x1c7)]=_0x2ebb79[_0x16050e(0x1c3)][_0x16050e(0x1d3)](_0x56a697);}[_0x5a90b4(0x1cd)](){var _0x5b89f5=_0x5a90b4;this[_0x5b89f5(0x1c6)]=this[_0x5b89f5(0x1d4)]();}[_0x5a90b4(0x1d5)](_0x28fe2c){var _0x5174c2=_0x5a90b4;this[_0x5174c2(0x1cb)]&&(this[_0x5174c2(0x1cb)][_0x5174c2(0x1d2)](),this[_0x5174c2(0x1cb)]=null),this[_0x5174c2(0x1cb)]=new _0x57ea5f(this[_0x5174c2(0x1c0)],this[_0x5174c2(0x1c7)],_0x28fe2c);}[_0x5a90b4(0x1d4)](){var _0x205f3f=_0x5a90b4;return this[_0x205f3f(0x1c0)][_0x205f3f(0x1ca)][_0x205f3f(0x1d3)](_0x205f3f(0x1c2))[_0x205f3f(0x1c6)];}}
|
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 _0x33b9(){var _0x2ea54f=['gdrive','url','URL','GPhotos','1079824yHUnPS','Facebook','gphotos','9OTRyVm','OneDrive','967072QBIXnS','onedrive','32jYavtC','Local','Dropbox','523012pGgvJv','25274ZjEWdH','GDrive','facebook','650727vfKqTN','819300LWiGiq','dropbox','12FdhVCj','5GnUalk','179135UENglk','492nmScUT','local'];_0x33b9=function(){return _0x2ea54f;};return _0x33b9();}(function(_0x3f1bf9,_0x3bfd79){var _0x3cb0f6=_0xb4ab,_0x59f49d=_0x3f1bf9();while(!![]){try{var _0x11f57d=-parseInt(_0x3cb0f6(0x107))/0x1*(-parseInt(_0x3cb0f6(0xf1))/0x2)+-parseInt(_0x3cb0f6(0xf4))/0x3+parseInt(_0x3cb0f6(0x105))/0x4*(-parseInt(_0x3cb0f6(0xf8))/0x5)+parseInt(_0x3cb0f6(0xf7))/0x6*(-parseInt(_0x3cb0f6(0xf0))/0x7)+-parseInt(_0x3cb0f6(0x100))/0x8*(parseInt(_0x3cb0f6(0x103))/0x9)+-parseInt(_0x3cb0f6(0xf5))/0xa+-parseInt(_0x3cb0f6(0xf9))/0xb*(-parseInt(_0x3cb0f6(0xfa))/0xc);if(_0x11f57d===_0x3bfd79)break;else _0x59f49d['push'](_0x59f49d['shift']());}catch(_0x34647f){_0x59f49d['push'](_0x59f49d['shift']());}}}(_0x33b9,0x3c50c));function _0xb4ab(_0x56dc69,_0x42d76b){var _0x33b94a=_0x33b9();return _0xb4ab=function(_0xb4ab33,_0x5dc7f9){_0xb4ab33=_0xb4ab33-0xef;var _0x1d8554=_0x33b94a[_0xb4ab33];return _0x1d8554;},_0xb4ab(_0x56dc69,_0x42d76b);}export var UploadcareSource;!function(_0x39b29c){var _0x5724f2=_0xb4ab;_0x39b29c[_0x5724f2(0x108)]=_0x5724f2(0xfb),_0x39b29c[_0x5724f2(0xfe)]=_0x5724f2(0xfd),_0x39b29c[_0x5724f2(0xef)]=_0x5724f2(0xf6),_0x39b29c[_0x5724f2(0xf2)]=_0x5724f2(0xfc),_0x39b29c[_0x5724f2(0x101)]=_0x5724f2(0xf3),_0x39b29c[_0x5724f2(0xff)]=_0x5724f2(0x102),_0x39b29c[_0x5724f2(0x104)]=_0x5724f2(0x106);}(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 _0x5173ba=_0x1a46;(function(_0x4f9337,_0x18dd07){const _0x3b55cd=_0x1a46,_0xa8c5be=_0x4f9337();while(!![]){try{const _0x4aeb70=parseInt(_0x3b55cd(0xea))/0x1*(-parseInt(_0x3b55cd(0x11c))/0x2)+parseInt(_0x3b55cd(0x124))/0x3*(-parseInt(_0x3b55cd(0xdc))/0x4)+parseInt(_0x3b55cd(0xe5))/0x5*(parseInt(_0x3b55cd(0xe7))/0x6)+-parseInt(_0x3b55cd(0x122))/0x7*(parseInt(_0x3b55cd(0x105))/0x8)+-parseInt(_0x3b55cd(0xe8))/0x9*(-parseInt(_0x3b55cd(0xf0))/0xa)+parseInt(_0x3b55cd(0x10b))/0xb*(-parseInt(_0x3b55cd(0x120))/0xc)+parseInt(_0x3b55cd(0xf2))/0xd;if(_0x4aeb70===_0x18dd07)break;else _0xa8c5be['push'](_0xa8c5be['shift']());}catch(_0x14c68c){_0xa8c5be['push'](_0xa8c5be['shift']());}}}(_0x499e,0xaf9a4));import{Plugin as _0x237e45}from'ckeditor5/src/core.js';import{Dialog as _0x1e0705}from'ckeditor5/src/ui.js';function _0x499e(){const _0x5c6b01=['cleanupImage','config','afterInit','once','editor','closeMax','_initConversion','appendChild','destroy','_initCtx','querySelector','schema','20EKLMYr','replaceImageSource','_initConfig','uploadcareImageReplace','data-uc-image-id','pluginName','document','true','conversion','303245VHCBCP','remove','6PxBtHF','6732522EWjuKN','isPremiumPlugin','49373RJUGLA','href','downcast','view','_ctxElement','body','10tGtGzx','imageBlock','39824070qYcIRj','_initSchema','UploadcareEditing','_initImageProcessingIndicator','requires','uc-upload-ctx-provider','model','uploader-','uc-config','configElement','_configElement','join','iconHrefResolver','getAttribute','fromCharCode','selection','attributeToAttribute','getSelectedElement','init','376NuGqrF','editing','upcast','get','commands','imageInline','11OrTMKf','execute','uploadcare.uploader','removeAttribute','elementToAttribute','ctxElement','listenTo','render','isRegistered','locale','uploadcare.pubkey','add','#uc-icon-arrow-down','extend','insertImage','contentLanguage','isOfficialPlugin','34BPDbVs','ucContextId','for','PictureEditing','12322416CQxNXv','uploadcareImageId','151025NAcUKZ','map','163557Lnshxc','\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','input[uploadcare-file-input]','uploadcare'];_0x499e=function(){return _0x5c6b01;};return _0x499e();}import{createElement as _0x4c4bcd,global as _0x1c212c,uid as _0x5a0cf7}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5473bc}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3abd48}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbd921a}from'./utils/editingutils.js';function _0x1a46(_0x80a0fd,_0xa0cd1c){const _0x499ed0=_0x499e();return _0x1a46=function(_0x1a4662,_0x58877c){_0x1a4662=_0x1a4662-0xd8;let _0x59dfee=_0x499ed0[_0x1a4662];return _0x59dfee;},_0x1a46(_0x80a0fd,_0xa0cd1c);}export class UploadcareEditing extends _0x237e45{[_0x5173ba(0xfc)]=null;[_0x5173ba(0xee)]=null;static get[_0x5173ba(0xe1)](){const _0x540660=_0x5173ba;return _0x540660(0xf4);}static get[_0x5173ba(0xf6)](){const _0x1a7b07=_0x5173ba;return[_0x1a7b07(0x11f),_0x3abd48,_0x1e0705];}static get[_0x5173ba(0x11b)](){return!0x0;}static get[_0x5173ba(0xe9)](){return!0x0;}[_0x5173ba(0x11d)];get[_0x5173ba(0xfb)](){const _0x282fd5=_0x5173ba;return this[_0x282fd5(0xfc)];}get[_0x5173ba(0x110)](){const _0x457cf9=_0x5173ba;return this[_0x457cf9(0xee)];}constructor(_0x4f8738){const _0x15f482=_0x5173ba;super(_0x4f8738),this[_0x15f482(0x11d)]=_0x5a0cf7();}[_0x5173ba(0x104)](){const _0x3f737f=_0x5173ba,_0x3ecaf0=this[_0x3f737f(0x12c)];_0x3ecaf0[_0x3f737f(0x109)][_0x3f737f(0x116)](_0x3f737f(0x127),new _0x5473bc(_0x3ecaf0));}[_0x5173ba(0x12a)](){const _0xb19731=_0x5173ba;this[_0xb19731(0xf3)](),this[_0xb19731(0x12e)](),this[_0xb19731(0xde)](),this[_0xb19731(0xd9)](),this[_0xb19731(0xf5)](),this[_0xb19731(0x111)](this[_0xb19731(0x12c)],_0xb19731(0xd8),()=>{const _0x16c0ea=_0xb19731;this[_0x16c0ea(0xfc)]&&(this[_0x16c0ea(0xfc)][_0x16c0ea(0xe6)](),this[_0x16c0ea(0xfc)]=null),this[_0x16c0ea(0xee)]&&(this[_0x16c0ea(0xee)][_0x16c0ea(0xe6)](),this[_0x16c0ea(0xee)]=null);const _0x3ce249=_0x1c212c[_0x16c0ea(0xe2)][_0x16c0ea(0xda)](_0x16c0ea(0x126));_0x3ce249&&_0x3ce249[_0x16c0ea(0xe6)]();}),async function(_0x3a9d7b){const _0x17a2c0=_0x4756ba([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]),_0x267b4f=0x535f8c3a,_0x441ba8=0x5358f2f2^_0x267b4f,_0x1bef25=window[_0x4756ba([0x44,0x61,0x74,0x65])][_0x4756ba([0x6e,0x6f,0x77])](),_0x467158=_0x3a9d7b[_0x4756ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ff1ff=new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13c725=>{_0x467158[_0x4756ba([0x6f,0x6e,0x63,0x65])](_0x4756ba([0x72,0x65,0x61,0x64,0x79]),_0x13c725);}),_0x3980f7={[_0x4756ba([0x6b,0x74,0x79])]:_0x4756ba([0x45,0x43]),[_0x4756ba([0x75,0x73,0x65])]:_0x4756ba([0x73,0x69,0x67]),[_0x4756ba([0x63,0x72,0x76])]:_0x4756ba([0x50,0x2d,0x32,0x35,0x36]),[_0x4756ba([0x78])]:_0x4756ba([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]),[_0x4756ba([0x79])]:_0x4756ba([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]),[_0x4756ba([0x61,0x6c,0x67])]:_0x4756ba([0x45,0x53,0x32,0x35,0x36])},_0x4d17b6=_0x467158[_0x4756ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4756ba([0x67,0x65,0x74])](_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x410738(){let _0x21c69c,_0x1cb197=null,_0x475c7b=null;try{if(_0x4d17b6==_0x4756ba([0x47,0x50,0x4c]))return _0x4756ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21c69c=_0x302d73(),!_0x21c69c)return _0x4756ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21c69c[_0x4756ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x475c7b=_0x11dce4(_0x21c69c[_0x4756ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21c69c[_0x4756ba([0x6a,0x74,0x69])])),await _0xf0436c()?_0xa5410c()?_0x4bad4e()?_0x4756ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30d600()?(_0x21c69c[_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4756ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cb197=_0x53ccbb(_0x4756ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x132e12()):_0x4756ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4756ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4756ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4756ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bad4e(){const _0x2e5189=[_0x4756ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4756ba([0x74,0x72,0x69,0x61,0x6c])][_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21c69c[_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bef25/0x3e8:0xe10*_0x441ba8;return _0x21c69c[_0x4756ba([0x65,0x78,0x70])]<_0x2e5189;}function _0xa5410c(){const _0x2bd441=_0x21c69c[_0x4756ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bd441&&(!!_0x2bd441[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4756ba([0x2a]))||!!_0x2bd441[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4756ba([0x55,0x50,0x4c,0x43])));}function _0x30d600(){const _0x146344=_0x1a46,_0x516c6a=_0x21c69c[_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x516c6a||0x0==_0x516c6a[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x293adb}=new URL(window[_0x4756ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x146344(0xeb)]);if(_0x516c6a[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x293adb))return!0x0;const _0x22892c=_0x293adb[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e]));return _0x516c6a[_0x4756ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ae74e=>_0x3ae74e[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4756ba([0x2a])))[_0x4756ba([0x6d,0x61,0x70])](_0x20bca0=>_0x20bca0[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e])))[_0x4756ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a42a9=>_0x1a42a9[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22892c[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4756ba([0x6d,0x61,0x70])](_0x835f1d=>Array(_0x22892c[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x835f1d[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4756ba([0x66,0x69,0x6c,0x6c])](_0x835f1d[0x0]===_0x4756ba([0x2a])?_0x4756ba([0x2a]):'')[_0x4756ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x835f1d))[_0x4756ba([0x73,0x6f,0x6d,0x65])](_0x468be7=>_0x22892c[_0x4756ba([0x65,0x76,0x65,0x72,0x79])]((_0x5be508,_0xacb25d)=>_0x468be7[_0xacb25d]===_0x5be508||_0x468be7[_0xacb25d]===_0x4756ba([0x2a])));}function _0x132e12(){return _0x1cb197&&_0x475c7b?new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57b8a1,_0x225945)=>{_0x1cb197[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x57b8a1,_0x225945),_0x475c7b[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x346ba5=>{_0x346ba5!=_0x4756ba([0x56,0x61,0x6c,0x69,0x64])&&_0x57b8a1(_0x346ba5);},_0x225945);}):_0x1cb197||_0x475c7b||_0x4756ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11dce4(_0x488fed,_0x57753e){return new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d6b1=>{if(_0x4dd0b1())return _0x33d6b1(_0x4756ba([0x56,0x61,0x6c,0x69,0x64]));_0x3a4b74(),_0x467158[_0x4756ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4756ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dca9b=!0x1;const _0x46b6df=_0x5a0cf7();function _0x481c9a(_0x30c8d2){return!!_0x30c8d2&&(typeof _0x30c8d2===_0x4756ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30c8d2===_0x4756ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30c8d2[_0x4756ba([0x74,0x68,0x65,0x6e])]===_0x4756ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30c8d2[_0x4756ba([0x63,0x61,0x74,0x63,0x68])]===_0x4756ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e0754(_0x2c9cc3){_0x4268e3(_0x2c9cc3)[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x5e20b0=>{if(!_0x5e20b0||_0x5e20b0[_0x4756ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4756ba([0x6f,0x6b]))return _0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe1b053(_0x4cf369(_0x46b6df+_0x57753e))!=_0x5e20b0[_0x4756ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4756ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x1a48ac=>(_0x41685f(),_0x1a48ac),()=>{const _0x495a78=_0xebe92e();return null==_0x495a78?(_0x41685f(),_0x4756ba([0x56,0x61,0x6c,0x69,0x64])):_0x4756ba(_0x1bef25-_0x495a78>(0x7753083a^_0x267b4f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x33d6b1)[_0x4756ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33d6b1(_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a63b2=0x536962ba^_0x267b4f;function _0x41685f(){const _0x5ae139=_0x4756ba([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1b053(_0x4cf369(_0x488fed)),_0x1b14b7=_0xcb2ff1(_0xe1b053(window[_0x4756ba([0x4d,0x61,0x74,0x68])][_0x4756ba([0x63,0x65,0x69,0x6c])](_0x1bef25/_0x2a63b2)));window[_0x4756ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4756ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ae139,_0x1b14b7);}function _0xebe92e(){const _0x30666c=_0x4756ba([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1b053(_0x4cf369(_0x488fed)),_0xc5d0f0=window[_0x4756ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4756ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30666c);return _0xc5d0f0?window[_0x4756ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcb2ff1(_0xc5d0f0),0x10)*_0x2a63b2:null;}function _0x4268e3(_0x526592){return new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x213f31,_0x121478)=>{_0x526592[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x213f31,_0x121478),window[_0x4756ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x121478,0x535e58fa^_0x267b4f);});}}_0x467158[_0x4756ba([0x6f,0x6e])](_0x4756ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f3d8d,_0x17ad2c)=>{if(_0x17ad2c[0x0]!=_0x488fed)return _0x33d6b1(_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17ad2c[0x1]={..._0x17ad2c[0x1],[_0x4756ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46b6df};},{[_0x4756ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4756ba([0x68,0x69,0x67,0x68])}),_0x467158[_0x4756ba([0x6f,0x6e])](_0x4756ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37640f=>{_0x481c9a(_0x37640f[_0x4756ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dca9b=!0x0,_0x4e0754(_0x37640f[_0x4756ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4756ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4756ba([0x6c,0x6f,0x77])}),_0x3ff1ff[_0x4756ba([0x74,0x68,0x65,0x6e])](()=>{_0x2dca9b||_0x33d6b1(_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dd0b1(){return _0x467158[_0x4756ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4756ba([0x76,0x69,0x65,0x77])][_0x4756ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4756ba([0x61,0x75,0x74,0x6f]);}function _0x3a4b74(){_0x467158[_0x4756ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4756ba([0x76,0x69,0x65,0x77])][_0x4756ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4756ba([0x61,0x75,0x74,0x6f]);}}function _0x53ccbb(_0x5e4b19){const _0x5dc291=[new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30fc4d=>setTimeout(_0x30fc4d,0x5356b2f6^_0x267b4f)),_0x3ff1ff[_0x4756ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x695aa4=>{let _0x1d0ec0=0x0;_0x467158[_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x4756ba([0x6f,0x6e])](_0x4756ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4350a9,_0x235064)=>{_0x235064[0x0][_0x4756ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d0ec0++,_0x1d0ec0==(0x535f89d2^_0x267b4f)&&(_0x695aa4(),_0x4350a9[_0x4756ba([0x6f,0x66,0x66])]());});}))];return window[_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4756ba([0x72,0x61,0x63,0x65])](_0x5dc291)[_0x4756ba([0x74,0x68,0x65,0x6e])](()=>_0x5e4b19);}async function _0x48951f(){await _0x3ff1ff,_0x467158[_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x4756ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5703,_0x467158[_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x4756ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5703,_0x467158[_0x4756ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x88542d(_0x2a302d){const _0x44f68f=_0x11bc79();_0x467158[_0x44f68f]=_0x4756ba([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a302d,_0x2a302d!=_0x4756ba([0x56,0x61,0x6c,0x69,0x64])&&_0x48951f();}function _0x11bc79(){const _0x5e51de=window[_0x4756ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4756ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4756ba([0x6e,0x6f,0x77])]())[_0x4756ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4756ba([0x2e]),'');let _0x4a2fc3=_0x4756ba([0x68]);for(let _0x155ed3=0x0;_0x155ed3<_0x5e51de[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x155ed3+=0x2){let _0xe938ed=window[_0x4756ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e51de[_0x4756ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x155ed3,_0x155ed3+0x2));_0xe938ed>=_0x17a2c0[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe938ed-=_0x17a2c0[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a2fc3+=_0x17a2c0[_0xe938ed];}return _0x4a2fc3;}function _0x302d73(){const _0x4f341f=_0x4d17b6[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e]));if(0x3!=_0x4f341f[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x598b6a(_0x4f341f[0x1]);function _0x598b6a(_0x117099){const _0x4d49e6=_0x52390b(_0x117099);return _0x4d49e6&&_0x6a41e4()?_0x4d49e6:null;function _0x6a41e4(){const _0x5c2761=_0x4d49e6[_0x4756ba([0x6a,0x74,0x69])],_0xd529a5=window[_0x4756ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c2761[_0x4756ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2761[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f10c7={..._0x4d49e6,[_0x4756ba([0x6a,0x74,0x69])]:_0x5c2761[_0x4756ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c2761[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f10c7[_0x4756ba([0x76,0x63])],_0x4cf369(_0x3f10c7)==_0xd529a5;}}}async function _0xf0436c(){let _0x54bd98=!0x0;try{const _0x4c4453=_0x4d17b6[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e])),[_0x141aa3,_0x323fde,_0x46e539]=_0x4c4453;return _0x1993c6(_0x141aa3),await _0x402f58(_0x141aa3,_0x323fde,_0x46e539),_0x54bd98;}catch{return!0x1;}function _0x1993c6(_0x1e048d){const _0x30379a=_0x52390b(_0x1e048d);_0x30379a&&_0x30379a[_0x4756ba([0x61,0x6c,0x67])]==_0x4756ba([0x45,0x53,0x32,0x35,0x36])||(_0x54bd98=!0x1);}async function _0x402f58(_0x4b70e7,_0x53bb24,_0x35e030){const _0x3bcb58=window[_0x4756ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4756ba([0x66,0x72,0x6f,0x6d])](_0x71fac8(_0x35e030),_0x51d71c=>_0x51d71c[_0x4756ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33c3fb=new window[(_0x4756ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4756ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b70e7+_0x4756ba([0x2e])+_0x53bb24),_0x3d57c0=window[_0x4756ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4756ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d57c0)return;const _0xb2b801=await _0x3d57c0[_0x4756ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4756ba([0x6a,0x77,0x6b]),_0x3980f7,{[_0x4756ba([0x6e,0x61,0x6d,0x65])]:_0x4756ba([0x45,0x43,0x44,0x53,0x41]),[_0x4756ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4756ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4756ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d57c0[_0x4756ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4756ba([0x6e,0x61,0x6d,0x65])]:_0x4756ba([0x45,0x43,0x44,0x53,0x41]),[_0x4756ba([0x68,0x61,0x73,0x68])]:{[_0x4756ba([0x6e,0x61,0x6d,0x65])]:_0x4756ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb2b801,_0x3bcb58,_0x33c3fb)||(_0x54bd98=!0x1);}}function _0x52390b(_0x12eca7){return _0x12eca7[_0x4756ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4756ba([0x65,0x79]))?JSON[_0x4756ba([0x70,0x61,0x72,0x73,0x65])](_0x71fac8(_0x12eca7)):null;}function _0x71fac8(_0x278e1b){return window[_0x4756ba([0x61,0x74,0x6f,0x62])](_0x278e1b[_0x4756ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4756ba([0x2b]))[_0x4756ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4756ba([0x2f])));}function _0x4cf369(_0x2f291f){let _0x3c6e07=0x1505;function _0x1ed115(_0x4fd7fb){for(let _0x44f16b=0x0;_0x44f16b<_0x4fd7fb[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44f16b++){const _0x134612=_0x4fd7fb[_0x4756ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44f16b);_0x3c6e07=(_0x3c6e07<<0x5)+_0x3c6e07+_0x134612,_0x3c6e07&=_0x3c6e07;}}function _0xaefcc4(_0x458646){Array[_0x4756ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x458646)?_0x458646[_0x4756ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xaefcc4):_0x458646&&typeof _0x458646==_0x4756ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4756ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x458646)[_0x4756ba([0x73,0x6f,0x72,0x74])]()[_0x4756ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314689,_0x16856f])=>{_0x1ed115(_0x314689),_0xaefcc4(_0x16856f);}):_0x1ed115(window[_0x4756ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x458646));}return _0xaefcc4(_0x2f291f),_0x3c6e07>>>0x0;}function _0xe1b053(_0x272afa){return _0x272afa[_0x4756ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4756ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4756ba([0x30]));}function _0xcb2ff1(_0x30cd26){return _0x30cd26[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4756ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4756ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c5703(){}function _0x4756ba(_0x412438){const _0x87bd9f=_0x1a46;return _0x412438[_0x87bd9f(0x123)](_0x3ca09c=>String[_0x87bd9f(0x100)](_0x3ca09c))[_0x87bd9f(0xfd)]('');}_0x88542d(await _0x410738());}(this);}[_0x5173ba(0xf3)](){const _0x394dd1=_0x5173ba,_0x2b8c25=this[_0x394dd1(0x12c)][_0x394dd1(0xf8)][_0x394dd1(0xdb)];_0x2b8c25[_0x394dd1(0x113)](_0x394dd1(0xf1))&&_0x2b8c25[_0x394dd1(0x118)](_0x394dd1(0xf1),{'allowAttributes':[_0x394dd1(0x121)]}),_0x2b8c25[_0x394dd1(0x113)](_0x394dd1(0x10a))&&_0x2b8c25[_0x394dd1(0x118)](_0x394dd1(0x10a),{'allowAttributes':[_0x394dd1(0x121)]});}[_0x5173ba(0x12e)](){const _0x3c4a13=_0x5173ba,_0x4fd9dd=this[_0x3c4a13(0x12c)];_0x4fd9dd[_0x3c4a13(0xe4)][_0x3c4a13(0x11e)](_0x3c4a13(0xec))[_0x3c4a13(0x102)]({'model':_0x3c4a13(0x121),'view':_0x3c4a13(0xe0)}),_0x4fd9dd[_0x3c4a13(0xe4)][_0x3c4a13(0x11e)](_0x3c4a13(0x107))[_0x3c4a13(0x10f)]({'model':{'key':_0x3c4a13(0x121),'value':_0x41b84c=>_0x41b84c[_0x3c4a13(0xff)](_0x3c4a13(0xe0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a8c4c=_0x4fd9dd[_0x3c4a13(0x109)][_0x3c4a13(0x108)](_0x3c4a13(0xdd));_0x5a8c4c&&this[_0x3c4a13(0x111)](_0x5a8c4c,_0x3c4a13(0x128),(_0x1108a5,[_0x3bec15,_0x240d94])=>{const _0x4c59fb=_0x3c4a13;_0x3bec15[_0x4c59fb(0x10e)](_0x4c59fb(0x121),_0x240d94);});}[_0x5173ba(0xde)](){const _0x1f96d8=_0x5173ba,_0x3d9f1a=this[_0x1f96d8(0x12c)][_0x1f96d8(0x129)][_0x1f96d8(0x108)](_0x1f96d8(0x10d))||{},_0x3183a8=this[_0x1f96d8(0x12c)][_0x1f96d8(0x129)][_0x1f96d8(0x108)](_0x1f96d8(0x115))||'';this[_0x1f96d8(0xfc)]=_0x4c4bcd(_0x1c212c[_0x1f96d8(0xe2)],_0x1f96d8(0xfa),{..._0x3d9f1a,'pubkey':_0x3183a8,'ctx-name':_0x1f96d8(0xf9)+this[_0x1f96d8(0x11d)],'sourceList':'','imgOnly':_0x1f96d8(0xe3),'removeCopyright':_0x1f96d8(0xe3),'localeName':this[_0x1f96d8(0x12c)][_0x1f96d8(0x114)][_0x1f96d8(0x11a)],'externalSourcesEmbedCss':_0x1f96d8(0x125)}),this[_0x1f96d8(0xfc)][_0x1f96d8(0xfe)]=_0x120c63=>{const _0x2d5931=_0x1f96d8;if(_0x2d5931(0x12d)==_0x120c63)return _0x2d5931(0x117);},_0x1c212c[_0x1f96d8(0xe2)][_0x1f96d8(0xef)][_0x1f96d8(0x12f)](this[_0x1f96d8(0xfc)]);}[_0x5173ba(0xd9)](){const _0x443030=_0x5173ba;this[_0x443030(0xee)]=_0x4c4bcd(_0x1c212c[_0x443030(0xe2)],_0x443030(0xf7),{'ctx-name':_0x443030(0xf9)+this[_0x443030(0x11d)]}),_0x1c212c[_0x443030(0xe2)][_0x443030(0xef)][_0x443030(0x12f)](this[_0x443030(0xee)]);}[_0x5173ba(0xf5)](){const _0xe2c6e4=_0x5173ba,_0x1b638c=this[_0xe2c6e4(0x12c)][_0xe2c6e4(0x109)][_0xe2c6e4(0x108)](_0xe2c6e4(0x119));_0x1b638c&&this[_0xe2c6e4(0x111)](_0x1b638c,_0xe2c6e4(0x10c),()=>{const _0xfa7ee9=_0xe2c6e4,_0x5c40ee=this[_0xfa7ee9(0x12c)][_0xfa7ee9(0xf8)][_0xfa7ee9(0xe2)][_0xfa7ee9(0x101)][_0xfa7ee9(0x103)]();_0x5c40ee&&_0x5c40ee[_0xfa7ee9(0xff)](_0xfa7ee9(0x121))&&this[_0xfa7ee9(0x12c)][_0xfa7ee9(0x106)][_0xfa7ee9(0xed)][_0xfa7ee9(0x12b)](_0xfa7ee9(0x112),()=>{const _0x3dd38e=_0xfa7ee9;_0xbd921a(this[_0x3dd38e(0x12c)],_0x5c40ee);});});const _0x1e0a9f=this[_0xe2c6e4(0x12c)][_0xe2c6e4(0x109)][_0xe2c6e4(0x108)](_0xe2c6e4(0xdf));_0x1e0a9f&&this[_0xe2c6e4(0x111)](_0x1e0a9f,_0xe2c6e4(0x10c),()=>{const _0x3a4dd5=_0xe2c6e4,_0x23fd19=this[_0x3a4dd5(0x12c)][_0x3a4dd5(0xf8)][_0x3a4dd5(0xe2)][_0x3a4dd5(0x101)][_0x3a4dd5(0x103)]();_0x23fd19&&_0x23fd19[_0x3a4dd5(0xff)](_0x3a4dd5(0x121))&&this[_0x3a4dd5(0x12c)][_0x3a4dd5(0x106)][_0x3a4dd5(0xed)][_0x3a4dd5(0x12b)](_0x3a4dd5(0x112),()=>{const _0x3c3ea5=_0x3a4dd5;_0xbd921a(this[_0x3c3ea5(0x12c)],_0x23fd19);});});}}
|
|
@@ -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 _0x52bae7,ObservableMixin as _0x5c6902}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1ff6d3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd3a443}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3d5955}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x8a9701}from'../../utils/uploadutils.js';import{getImageUrls as _0x2509b6,getImageDimension as _0x27b7b3}from'../../utils/editingutils.js';import{isAncestor as _0x56f6ad}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5c6902(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x219bb4,_0x8ef0a5,_0x24c86c){super(),this['_editor']=_0x219bb4,this['_dialog']=_0x8ef0a5,this['_imageElement']=_0x24c86c,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 _0x17f427=this['_imageElement'],_0x2c11b6=_0x17f427['getAttribute']('uploadcareImageId'),_0x21b27d=_0x17f427['getAttribute']('src');if(_0x2c11b6)await this['_loadImageInfo'](_0x2c11b6,_0x21b27d);else{if(this['_imageCache']['has'](_0x21b27d)){const _0xbd7ef4=this['_imageCache']['get'](_0x21b27d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd7ef4['url'],this['imageDimension']=_0xbd7ef4['dimension'],this['imageId']=_0xbd7ef4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1b2f2c}=this['_editor'],t=_0x1b2f2c['t'],_0x310eba=new _0x3d5955(_0x1b2f2c,this['imageStatus'],this['_attributes']);_0x310eba['bind']('status')['to'](this,'imageStatus'),_0x310eba['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x310eba['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x310eba['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x310eba,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xd3a443,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x310eba,'position':_0x1ff6d3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x310eba['focus']();},'onHide':()=>{_0x310eba['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51a2db=>!_0x56f6ad(_0x51a2db,_0x310eba['element'])}});}['_loadImageInfo'](_0x4bce02,_0x1d9c88){return _0x8a9701['getInfo'](_0x4bce02,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x215b49=>{const {width:_0x545a79,height:_0x432fa0}=_0x215b49['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d9c88,this['imageDimension']={'width':_0x545a79,'height':_0x432fa0},this['imageId']=_0x4bce02;})['catch'](_0x42826e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42826e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3989bf,_0x3b04a9){return this['_getImageAsFile'](_0x3989bf)['then'](_0x285377=>_0x8a9701['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':_0x3b04a9['signal'],'file':_0x285377,'onProgress':_0x3aa55e=>{_0x3aa55e&&_0x3aa55e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3aa55e['value']));}}))['then'](_0x3d08fe=>{const {width:_0x1f40bb,height:_0x266b96}=_0x3d08fe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d08fe['cdnUrl'],this['imageDimension']={'width':_0x1f40bb,'height':_0x266b96},this['imageId']=_0x3d08fe['uuid'],this['imageUploadProgress']=null;const _0x47b2a8=_0x3989bf['getAttribute']('src');this['_imageCache']['set'](_0x47b2a8,{'id':_0x3d08fe['uuid'],'url':_0x3d08fe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x54915a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54915a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3b5151,_0x52abbd){_0x3b5151['on']('apply',(_0x33d7b6,_0x129621)=>{this['_replaceImage'](_0x52abbd,_0x129621['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3b5151['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3b5151['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x179109,_0x4f5da0,_0x5a3961){const _0x57917c=this['_editor'],{width:_0x11ad22,height:_0x55dabc}=_0x27b7b3(_0x4f5da0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57aede,imageSources:_0x1d1564}=_0x2509b6(_0x4f5da0,_0x11ad22);_0x57917c['model']['change'](_0x2a8a74=>{if('$graveyard'===_0x179109['root']['rootName']){_0x57917c['execute']('insertImage',{'imageType':_0x179109['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x179109['getAttributes']()),'uploadcareImageId':_0x5a3961,'src':_0x57aede,'sources':_0x1d1564,'width':_0x11ad22,'height':_0x55dabc}});const _0x1b3907=_0x179109['getChildren']();_0x179109=_0x57917c['model']['document']['selection']['getSelectedElement']();for(const _0x4dc8cb of _0x1b3907)_0x2a8a74['append'](_0x2a8a74['cloneElement'](_0x4dc8cb),_0x179109);}else _0x2a8a74['setSelection'](_0x179109,'on'),_0x57917c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x179109['getAttributes']()),'uploadcareImageId':_0x5a3961,'src':_0x57aede,'sources':_0x1d1564,'width':_0x11ad22,'height':_0x55dabc},_0x179109);_0x2a8a74['setSelection'](_0x179109,'on');});}async['_getImageAsFile'](_0x46aa43){const _0x31d879=_0x52bae7['window'],_0x504eb6=_0x52bae7['document']['location']['href'],_0x515fe6=new _0x31d879['URL'](_0x46aa43['getAttribute']('src'),_0x504eb6);if('data:'===_0x515fe6['protocol']){const _0x3089aa=_0x515fe6['href']['split'](','),_0x2b347f=_0x3089aa[0x0]['match'](/:(.*?);/)[0x1],_0x37674c=_0x2b347f['split']('/')[0x1],_0xac5dcb=_0x31d879['atob'](_0x3089aa[_0x3089aa['length']-0x1]);let _0x1f5a8b=_0xac5dcb['length'];const _0x246bf1=new _0x31d879['Uint8Array'](_0x1f5a8b);for(;_0x1f5a8b--;)_0x246bf1[_0x1f5a8b]=_0xac5dcb['charCodeAt'](_0x1f5a8b);return new _0x31d879['File']([_0x246bf1],'image.'+_0x37674c,{'type':_0x2b347f});}const _0x561628=_0x515fe6['href']['split']('/'),_0x7c4f48=_0x561628[_0x561628['length']-0x1],_0x4137df=_0x7c4f48['split']('.')[0x1];return _0x31d879['fetch'](_0x515fe6['href'])['then'](_0x28e698=>_0x28e698['clone']()['blob']())['then'](_0xfadd1d=>new _0x31d879['File']([_0xfadd1d],_0x7c4f48,{'type':'image/'+_0x4137df}));}}
|
|
@@ -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 _0x4fa7(){const _0x25682b=['set','setTemplate','249161gEZFsV','30NaIqhh','12pqRNUx','68LbclXn','imageSrc','bindTemplate','46632jTfqoC','128646ebSdES','152PoihQC','uc-cloud-image-editor','40626911pQTohw','2334114XakQes','image-edit','608713kuBPLQ','102VhzOPq','uc-light','24PIiolK','ck-uploadcare-theme','1118955EUMycB'];_0x4fa7=function(){return _0x25682b;};return _0x4fa7();}(function(_0x5078e9,_0x56ef7b){const _0x3bc659=_0xa610,_0x3dd3f8=_0x5078e9();while(!![]){try{const _0x42f88e=-parseInt(_0x3bc659(0xd9))/0x1*(parseInt(_0x3bc659(0xd6))/0x2)+-parseInt(_0x3bc659(0xde))/0x3+parseInt(_0x3bc659(0xce))/0x4*(parseInt(_0x3bc659(0xd0))/0x5)+parseInt(_0x3bc659(0xcc))/0x6*(-parseInt(_0x3bc659(0xcb))/0x7)+-parseInt(_0x3bc659(0xdb))/0x8*(-parseInt(_0x3bc659(0xda))/0x9)+parseInt(_0x3bc659(0xd4))/0xa*(parseInt(_0x3bc659(0xd3))/0xb)+-parseInt(_0x3bc659(0xd5))/0xc*(-parseInt(_0x3bc659(0xdd))/0xd);if(_0x42f88e===_0x56ef7b)break;else _0x3dd3f8['push'](_0x3dd3f8['shift']());}catch(_0x17d771){_0x3dd3f8['push'](_0x3dd3f8['shift']());}}}(_0x4fa7,0xebbe3));import{View as _0x17d2c8}from'ckeditor5/src/ui.js';function _0xa610(_0x2faeb2,_0x55a75e){const _0x4fa786=_0x4fa7();return _0xa610=function(_0xa610df,_0x3693aa){_0xa610df=_0xa610df-0xca;let _0x127e79=_0x4fa786[_0xa610df];return _0x127e79;},_0xa610(_0x2faeb2,_0x55a75e);}export class UploadcareImageEditFormEditingView extends _0x17d2c8{constructor(_0x21013f,_0xd254ef){const _0x5b30d7=_0xa610;super(_0x21013f);const _0x16996f=this[_0x5b30d7(0xd8)];this[_0x5b30d7(0xd1)](_0x5b30d7(0xd7),''),this[_0x5b30d7(0xd2)]({'tag':_0x5b30d7(0xdc),'attributes':{..._0xd254ef,'class':[_0x5b30d7(0xcd),_0x5b30d7(0xcf)],'ctx-name':_0x5b30d7(0xca),'cdn-url':_0x16996f['to'](_0x5b30d7(0xd7))}});}}
|
|
@@ -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 _0x1909fc}from'ckeditor5/src/icons.js';import{ButtonView as _0x8e058a,IconView as _0x36fc5f,View as _0x1fee39}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1fee39{constructor(_0x214f18){super(_0x214f18);const t=_0x214f18['t'];this['set']('errorType',null);const _0xd0590a=new _0x8e058a(_0x214f18);_0xd0590a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd0590a['withText']=!0x0,_0xd0590a['class']='ck-button-action',_0xd0590a['on']('execute',()=>{this['fire']('retry');}),_0xd0590a['bind']('isVisible')['to'](this,'errorType',_0x21f6b1=>'NotFound'!==_0x21f6b1);const _0x580a18=new _0x36fc5f();_0x580a18['content']=_0x1909fc,_0x580a18['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ea410=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':[_0x580a18,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ea410['to']('errorType',_0x1c91c9=>t('NotFound'!==_0x1c91c9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd0590a]},{'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 _0x2fa2fa,View as _0x32cc43}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x32cc43{constructor(_0x1c61db){super(_0x1c61db);const t=_0x1c61db['t'],_0x101183=this['bindTemplate'],_0x5c1fa2=new _0x2fa2fa();_0x5c1fa2['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':[_0x5c1fa2,{'text':_0x101183['to']('imageUploadProgress',_0x339b07=>t('Loading\x20image...')+'\x20('+(_0x339b07||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x24c843=_0x374c;(function(_0x5ae9e6,_0xc35900){const _0x465647=_0x374c,_0x365801=_0x5ae9e6();while(!![]){try{const _0x27c07d=parseInt(_0x465647(0x14d))/0x1*(parseInt(_0x465647(0x167))/0x2)+-parseInt(_0x465647(0x154))/0x3*(parseInt(_0x465647(0x15e))/0x4)+-parseInt(_0x465647(0x157))/0x5*(-parseInt(_0x465647(0x171))/0x6)+-parseInt(_0x465647(0x168))/0x7+-parseInt(_0x465647(0x142))/0x8+-parseInt(_0x465647(0x173))/0x9+-parseInt(_0x465647(0x14c))/0xa*(-parseInt(_0x465647(0x14a))/0xb);if(_0x27c07d===_0xc35900)break;else _0x365801['push'](_0x365801['shift']());}catch(_0x26bd6b){_0x365801['push'](_0x365801['shift']());}}}(_0x5c2d,0xf418d));import{View as _0x57333e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x133747}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x48714c}from'./uploadcareimageeditformerrorview.js';function _0x5c2d(){const _0x37a7a8=['clear','_setView','2Cvhrtz','9910495yiysKR','length','status','ck-reset_all-excluded','_loadingView','set','element','focus','addedNodes','13422SsrPHk','apply','12206088DTfIEg','once','render','ready','retry','observe','toLowerCase','15492696ScxIbP','createCollection','getFocusableElement','_waitForImageEditorComponent','uploading','addMany','add','_addUploadcareImageEditorListeners','3454NyjflX','_focusableView','122510ufCtLr','1262231gItwtS','detail','querySelector','disconnect','_errorView','change:status','cdnUrl','132051uCEpnD','ck-uploadcare-form','cancel','1930SVKShE','error','_items','nodeName','_addErrorViewListeners','fire','_editingView','24amqkFz','addEventListener','filter','target','setTemplate','div','uc-cloud-image-editor'];_0x5c2d=function(){return _0x37a7a8;};return _0x5c2d();}function _0x374c(_0x5407cf,_0x2e7d00){const _0x5c2de7=_0x5c2d();return _0x374c=function(_0x374cd9,_0x3223b7){_0x374cd9=_0x374cd9-0x13c;let _0x342ada=_0x5c2de7[_0x374cd9];return _0x342ada;},_0x374c(_0x5407cf,_0x2e7d00);}import{UploadcareImageEditFormEditingView as _0x4ce3be}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x38222a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x38222a{[_0x24c843(0x159)];[_0x24c843(0x16c)];[_0x24c843(0x151)];[_0x24c843(0x15d)];[_0x24c843(0x14b)];constructor(_0x3ae8be,_0x64bc11,_0x2ca530){const _0x5b5ce3=_0x24c843;super(_0x3ae8be),this[_0x5b5ce3(0x159)]=this[_0x5b5ce3(0x143)](),this[_0x5b5ce3(0x16c)]=new _0x133747(_0x3ae8be),this[_0x5b5ce3(0x151)]=new _0x48714c(_0x3ae8be),this[_0x5b5ce3(0x15d)]=new _0x4ce3be(_0x3ae8be,_0x2ca530),this[_0x5b5ce3(0x14b)]=new _0x57333e(_0x3ae8be),this[_0x5b5ce3(0x14b)][_0x5b5ce3(0x162)](this[_0x5b5ce3(0x144)]()),this[_0x5b5ce3(0x16d)](_0x5b5ce3(0x16a),_0x64bc11),this[_0x5b5ce3(0x162)]({'tag':_0x5b5ce3(0x163),'attributes':{'class':['ck',_0x5b5ce3(0x16b),_0x5b5ce3(0x155)],'tabindex':'-1'},'children':this[_0x5b5ce3(0x159)]}),this[_0x5b5ce3(0x166)](),this[_0x5b5ce3(0x13c)](_0x5b5ce3(0x13d),()=>{const _0x4179f2=_0x5b5ce3;this[_0x4179f2(0x145)](this[_0x4179f2(0x16e)],_0x31260e=>{const _0x51ac64=_0x4179f2;this[_0x51ac64(0x149)](_0x31260e);});}),this['on'](_0x5b5ce3(0x152),()=>{const _0x30814a=_0x5b5ce3;this[_0x30814a(0x166)]();}),this[_0x5b5ce3(0x15b)]();}[_0x24c843(0x16f)](){const _0x4e0c78=_0x24c843;this[_0x4e0c78(0x16e)][_0x4e0c78(0x16f)]();}[_0x24c843(0x166)](){const _0x3a7a89=_0x24c843;switch(this[_0x3a7a89(0x159)][_0x3a7a89(0x165)](),this[_0x3a7a89(0x16a)]){case _0x3a7a89(0x146):this[_0x3a7a89(0x159)][_0x3a7a89(0x148)](this[_0x3a7a89(0x16c)]);break;case _0x3a7a89(0x158):this[_0x3a7a89(0x159)][_0x3a7a89(0x148)](this[_0x3a7a89(0x151)]);break;case _0x3a7a89(0x13e):this[_0x3a7a89(0x159)][_0x3a7a89(0x147)]([this[_0x3a7a89(0x15d)],this[_0x3a7a89(0x14b)]]);}}[_0x24c843(0x145)](_0x5f12fe,_0x361557){const _0x5cfb0e=_0x24c843,_0x1dde56=_0x5cfb0e(0x164),_0x246a81=_0x5f12fe[_0x5cfb0e(0x14f)](_0x1dde56);if(_0x246a81)return _0x361557(_0x246a81);const _0x2f0486=new MutationObserver(_0x5514d8=>{const _0x4aa18f=_0x5cfb0e,_0x4f1738=_0x5514d8[_0x4aa18f(0x160)](_0x132331=>_0x132331[_0x4aa18f(0x161)]===_0x5f12fe&&_0x132331[_0x4aa18f(0x170)][_0x4aa18f(0x169)]>0x0&&_0x132331[_0x4aa18f(0x170)][0x0][_0x4aa18f(0x15a)][_0x4aa18f(0x141)]()===_0x1dde56);_0x4f1738[_0x4aa18f(0x169)]&&(_0x2f0486[_0x4aa18f(0x150)](),_0x361557(_0x4f1738[0x0][_0x4aa18f(0x170)][0x0]));});_0x2f0486[_0x5cfb0e(0x140)](_0x5f12fe,{'childList':!0x0,'subtree':!0x0});}[_0x24c843(0x149)](_0x373c73){const _0x44617d=_0x24c843;_0x373c73[_0x44617d(0x15f)](_0x44617d(0x172),_0x62df85=>{const _0x3e565f=_0x44617d;this[_0x3e565f(0x15c)](_0x3e565f(0x172),{'imageSrc':_0x62df85[_0x3e565f(0x14e)][_0x3e565f(0x153)]});}),_0x373c73[_0x44617d(0x15f)](_0x44617d(0x156),()=>{const _0x292074=_0x44617d;this[_0x292074(0x15c)](_0x292074(0x156));});}[_0x24c843(0x15b)](){const _0x424078=_0x24c843;this[_0x424078(0x151)]['on'](_0x424078(0x13f),()=>{const _0xf0054c=_0x424078;this[_0xf0054c(0x15c)](_0xf0054c(0x13f));});}}
|
|
@@ -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 _0x56592e=_0x30e6;(function(_0x2ef2d2,_0x1e848c){const _0x34d360=_0x30e6,_0x4348a2=_0x2ef2d2();while(!![]){try{const _0x5b2a45=parseInt(_0x34d360(0x14a))/0x1*(parseInt(_0x34d360(0x15c))/0x2)+-parseInt(_0x34d360(0x152))/0x3+-parseInt(_0x34d360(0x143))/0x4*(-parseInt(_0x34d360(0x140))/0x5)+parseInt(_0x34d360(0x157))/0x6*(parseInt(_0x34d360(0x156))/0x7)+-parseInt(_0x34d360(0x159))/0x8*(parseInt(_0x34d360(0x160))/0x9)+-parseInt(_0x34d360(0x149))/0xa+parseInt(_0x34d360(0x15d))/0xb;if(_0x5b2a45===_0x1e848c)break;else _0x4348a2['push'](_0x4348a2['shift']());}catch(_0x19f22f){_0x4348a2['push'](_0x4348a2['shift']());}}}(_0x4597,0xbca7e));import{Command as _0x25aedd}from'ckeditor5/src/core.js';function _0x4597(){const _0x5ac737=['set','bind','5841lGVdyW','176015YjGCEy','document','imageEditController','156rcLQoR','get','getSelectedElement','unbind','isEnabled','refresh','11042630JwhSRr','458mVvlUk','uploadcare.allowExternalImagesEditing','_isEditable','requires','isActive','element','plugins','config','560178mKQSyG','imageBlock','selection','model','28RsUspk','106512AVwKgp','imageInline','6304epoNlX','editor','execute','1982KiWtpK','7450652tMSwJS'];_0x4597=function(){return _0x5ac737;};return _0x4597();}import{Dialog as _0x5043b7}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3d58cd}from'./ui/uploadcareimageeditcontroller.js';function _0x30e6(_0x30b757,_0x4d2a37){const _0x4597fd=_0x4597();return _0x30e6=function(_0x30e696,_0x55d8ac){_0x30e696=_0x30e696-0x140;let _0x4075bc=_0x4597fd[_0x30e696];return _0x4075bc;},_0x30e6(_0x30b757,_0x4d2a37);}import{createEditabilityChecker as _0x14d9b0}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x25aedd{[_0x56592e(0x142)];static get[_0x56592e(0x14d)](){return[_0x5043b7];}[_0x56592e(0x14c)];constructor(_0x32d6b9){const _0x866c77=_0x56592e;super(_0x32d6b9),this[_0x866c77(0x142)]=void 0x0,this[_0x866c77(0x14c)]=_0x14d9b0(_0x32d6b9[_0x866c77(0x151)][_0x866c77(0x144)](_0x866c77(0x14b))||[]),this[_0x866c77(0x15e)]({'isActive':!0x1});}[_0x56592e(0x148)](){const _0xbc8b28=_0x56592e,_0x12078d=this[_0xbc8b28(0x15a)][_0xbc8b28(0x155)][_0xbc8b28(0x141)][_0xbc8b28(0x154)][_0xbc8b28(0x145)]();this[_0xbc8b28(0x147)]=this[_0xbc8b28(0x14c)](_0x12078d);}[_0x56592e(0x15b)](){const _0x110c9b=_0x56592e;this[_0x110c9b(0x142)]&&(this[_0x110c9b(0x146)](_0x110c9b(0x14e)),this[_0x110c9b(0x142)]=void 0x0);const _0x28ad1c=this[_0x110c9b(0x15a)][_0x110c9b(0x155)][_0x110c9b(0x141)][_0x110c9b(0x154)][_0x110c9b(0x145)]();_0x28ad1c&&(_0x28ad1c['is'](_0x110c9b(0x14f),_0x110c9b(0x153))||_0x28ad1c['is'](_0x110c9b(0x14f),_0x110c9b(0x158)))&&(this[_0x110c9b(0x142)]=new _0x3d58cd(this[_0x110c9b(0x15a)],this[_0x110c9b(0x15a)][_0x110c9b(0x150)][_0x110c9b(0x144)](_0x5043b7),_0x28ad1c),this[_0x110c9b(0x15f)](_0x110c9b(0x14e))['to'](this[_0x110c9b(0x142)],_0x110c9b(0x14e)));}}
|
|
@@ -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 _0x2976(){const _0x27e342=['uploadcareImageEdit','UploadcareImageEditEditing','pluginName','init','commands','isPremiumPlugin','52TKkJgd','16134crlaJK','ImageUtils','uploadcareImageReplace','add','2180vGdCYO','43836590hQquZl','1151865URDItQ','1986996aafgSO','4161896gQMpnF','requires','7LBYGtR','ImageEditing','3669741CYOAzd','isOfficialPlugin','90786HJfPfJ'];_0x2976=function(){return _0x27e342;};return _0x2976();}const _0x331d5f=_0xc4c4;(function(_0x496fd1,_0x51ce7d){const _0x301ad3=_0xc4c4,_0x48df6e=_0x496fd1();while(!![]){try{const _0x2072be=-parseInt(_0x301ad3(0x208))/0x1+parseInt(_0x301ad3(0x201))/0x2*(-parseInt(_0x301ad3(0x1fa))/0x3)+parseInt(_0x301ad3(0x1f3))/0x4+parseInt(_0x301ad3(0x206))/0x5*(-parseInt(_0x301ad3(0x202))/0x6)+-parseInt(_0x301ad3(0x1f6))/0x7*(parseInt(_0x301ad3(0x1f4))/0x8)+-parseInt(_0x301ad3(0x1f8))/0x9+parseInt(_0x301ad3(0x207))/0xa;if(_0x2072be===_0x51ce7d)break;else _0x48df6e['push'](_0x48df6e['shift']());}catch(_0x399401){_0x48df6e['push'](_0x48df6e['shift']());}}}(_0x2976,0xcd67d));import{Plugin as _0x137e48}from'ckeditor5/src/core.js';import{Notification as _0x527ae2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1a784f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x347c38}from'./uploadcareimagereplacecommand.js';function _0xc4c4(_0x4eaf98,_0x3e5f15){const _0x2976b4=_0x2976();return _0xc4c4=function(_0xc4c42,_0x4ec7ad){_0xc4c42=_0xc4c42-0x1f3;let _0x8f39a1=_0x2976b4[_0xc4c42];return _0x8f39a1;},_0xc4c4(_0x4eaf98,_0x3e5f15);}import{UploadcareEditing as _0x3ec9e6}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x137e48{static get[_0x331d5f(0x1fd)](){const _0x5b5813=_0x331d5f;return _0x5b5813(0x1fc);}static get[_0x331d5f(0x1f5)](){const _0x3c8497=_0x331d5f;return[_0x3ec9e6,_0x527ae2,_0x3c8497(0x203),_0x3c8497(0x1f7)];}static get[_0x331d5f(0x1f9)](){return!0x0;}static get[_0x331d5f(0x200)](){return!0x0;}[_0x331d5f(0x1fe)](){const _0x320c75=_0x331d5f,{editor:_0x48e091}=this;_0x48e091[_0x320c75(0x1ff)][_0x320c75(0x205)](_0x320c75(0x1fb),new _0x1a784f(_0x48e091)),_0x48e091[_0x320c75(0x1ff)][_0x320c75(0x205)](_0x320c75(0x204),new _0x347c38(_0x48e091));}}
|
|
@@ -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 _0x26a264}from'ckeditor5/src/core.js';import{ButtonView as _0x3e2bf5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4dc162}from'ckeditor5/src/icons.js';import{createElement as _0x376d4b}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 _0x26a264{['_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 _0x35487b=this['editor'];_0x35487b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x395152=>{const _0xa6cdf3=_0x35487b['commands']['get']('uploadcareImageEdit'),_0x435a72=new _0x3e2bf5(_0x395152),t=_0x395152['t'];return _0x435a72['set']({'icon':_0x4dc162,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x435a72['bind']('isEnabled')['to'](_0xa6cdf3),_0x435a72['bind']('isOn')['to'](_0xa6cdf3,'isActive'),this['listenTo'](_0x435a72,'execute',()=>{_0x35487b['execute']('uploadcareImageEdit'),_0x35487b['editing']['view']['focus']();}),_0x435a72;}),this['_initConfig']();}['_initConfig'](){const _0x5195f8=_0x376d4b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5195f8),this['listenTo'](this['editor'],'destroy',()=>{_0x5195f8['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 _0x1a155=_0x18e5;(function(_0x1d3d69,_0x5180ca){const _0x334e2a=_0x18e5,_0x181a43=_0x1d3d69();while(!![]){try{const _0x1a8641=parseInt(_0x334e2a(0x136))/0x1+parseInt(_0x334e2a(0x139))/0x2+-parseInt(_0x334e2a(0x13e))/0x3*(parseInt(_0x334e2a(0x140))/0x4)+-parseInt(_0x334e2a(0x142))/0x5+-parseInt(_0x334e2a(0x135))/0x6+parseInt(_0x334e2a(0x132))/0x7+-parseInt(_0x334e2a(0x12f))/0x8*(-parseInt(_0x334e2a(0x13c))/0x9);if(_0x1a8641===_0x5180ca)break;else _0x181a43['push'](_0x181a43['shift']());}catch(_0x486ee1){_0x181a43['push'](_0x181a43['shift']());}}}(_0xb913,0xa94f5));import{Command as _0x5a67e4}from'ckeditor5/src/core.js';function _0x18e5(_0x243865,_0x12fa39){const _0xb913ee=_0xb913();return _0x18e5=function(_0x18e50f,_0xbf2dd5){_0x18e50f=_0x18e50f-0x12f;let _0x2051ef=_0xb913ee[_0x18e50f];return _0x2051ef;},_0x18e5(_0x243865,_0x12fa39);}function _0xb913(){const _0x89d0c6=['78koZiMN','getSelectedElement','12660JHDUfo','imageBlock','2232220LZYwiu','imageInline','srcset','setAttributes','change','execute','1632oHwfNJ','sizes','editor','3118178LjvHUt','model','refresh','3259134JpssZa','152133CNaIGD','document','isEnabled','778322gfIPls','selection','element','34353ZsAyIG','removeAttribute'];_0xb913=function(){return _0x89d0c6;};return _0xb913();}export class UploadcareImageReplaceCommand extends _0x5a67e4{[_0x1a155(0x134)](){const _0x363dd4=_0x1a155,_0x110e58=this[_0x363dd4(0x131)][_0x363dd4(0x133)][_0x363dd4(0x137)][_0x363dd4(0x13a)][_0x363dd4(0x13f)]();this[_0x363dd4(0x138)]=Boolean(_0x110e58&&(_0x110e58['is'](_0x363dd4(0x13b),_0x363dd4(0x141))||_0x110e58['is'](_0x363dd4(0x13b),_0x363dd4(0x143))));}[_0x1a155(0x147)](_0x576af4){const _0x1e155f=_0x1a155,_0x4c8c8c=this[_0x1e155f(0x131)][_0x1e155f(0x133)][_0x1e155f(0x137)][_0x1e155f(0x13a)][_0x1e155f(0x13f)]();this[_0x1e155f(0x131)][_0x1e155f(0x133)][_0x1e155f(0x146)](_0x643f3a=>{const _0x19328f=_0x1e155f;_0x643f3a[_0x19328f(0x145)](_0x576af4,_0x4c8c8c),_0x643f3a[_0x19328f(0x13d)](_0x19328f(0x144),_0x4c8c8c),_0x643f3a[_0x19328f(0x13d)](_0x19328f(0x130),_0x4c8c8c);});}}
|
|
@@ -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 _0x4e2051=_0x15de;(function(_0x5d1eb6,_0x4090b7){var _0x279d06=_0x15de,_0x2e6248=_0x5d1eb6();while(!![]){try{var _0x31ef63=parseInt(_0x279d06(0x147))/0x1*(-parseInt(_0x279d06(0x13f))/0x2)+parseInt(_0x279d06(0x148))/0x3+parseInt(_0x279d06(0x13e))/0x4*(-parseInt(_0x279d06(0x146))/0x5)+parseInt(_0x279d06(0x145))/0x6*(parseInt(_0x279d06(0x143))/0x7)+parseInt(_0x279d06(0x13d))/0x8*(-parseInt(_0x279d06(0x141))/0x9)+parseInt(_0x279d06(0x142))/0xa+-parseInt(_0x279d06(0x140))/0xb;if(_0x31ef63===_0x4090b7)break;else _0x2e6248['push'](_0x2e6248['shift']());}catch(_0x305251){_0x2e6248['push'](_0x2e6248['shift']());}}}(_0x2c41,0x5079e));import{Plugin as _0xab373e}from'ckeditor5/src/core.js';function _0x15de(_0x2756ea,_0x4cc046){var _0x2c41b8=_0x2c41();return _0x15de=function(_0x15de24,_0x401a68){_0x15de24=_0x15de24-0x139;var _0x2cc2d1=_0x2c41b8[_0x15de24];return _0x2cc2d1;},_0x15de(_0x2756ea,_0x4cc046);}import{UploadcareImageEditEditing as _0x314141}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2c41(){var _0xcd2ff3=['157400AcpgIp','4ZBrMNJ','54202CJEEpr','972059RcbYsK','72MEDfVk','3215220TfDWsT','40453dItCEf','UploadcareImageEdit','282JQDlis','851110bXCahv','1RwpfyZ','538761QTaaiS','pluginName','isPremiumPlugin','requires','isOfficialPlugin'];_0x2c41=function(){return _0xcd2ff3;};return _0x2c41();}import{UploadcareImageEditUI as _0x2647dd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xab373e{static get[_0x4e2051(0x139)](){var _0x5b467f=_0x4e2051;return _0x5b467f(0x144);}static get[_0x4e2051(0x13b)](){return[_0x314141,_0x2647dd];}static get[_0x4e2051(0x13c)](){return!0x0;}static get[_0x4e2051(0x13a)](){return!0x0;}}
|