@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260113.0 → 0.0.0-nightly-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/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +5 -0
- package/ckeditor5-metadata.json +2 -2
- 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/package.json +33 -23
- package/{dist → src}/augmentation.d.ts +0 -4
- package/src/augmentation.js +23 -0
- package/{dist → src}/index.d.ts +0 -4
- package/src/index.js +23 -0
- package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -7
- package/src/ui/uploadcarecontroller.js +24 -0
- package/{dist → src}/ui/uploadcareformview.d.ts +1 -5
- package/src/ui/uploadcareformview.js +23 -0
- package/{dist → src}/uploadcare.d.ts +1 -5
- package/src/uploadcare.js +23 -0
- package/{dist → src}/uploadcarecommand.d.ts +2 -6
- package/src/uploadcarecommand.js +23 -0
- package/{dist → src}/uploadcareconfig.d.ts +1 -5
- package/src/uploadcareconfig.js +23 -0
- package/{dist → src}/uploadcareediting.d.ts +2 -6
- package/src/uploadcareediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -9
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -6
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -6
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -6
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -5
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -6
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -6
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -5
- package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -5
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
- package/{dist → src}/uploadcareimageedit.d.ts +1 -5
- package/src/uploadcareimageedit.js +23 -0
- package/{dist → src}/uploadcareui.d.ts +1 -5
- package/src/uploadcareui.js +23 -0
- package/{dist → src}/uploadcareuploadadapter.d.ts +2 -6
- package/src/uploadcareuploadadapter.js +23 -0
- package/{dist → src}/utils/common-translations.d.ts +0 -4
- package/src/utils/common-translations.js +23 -0
- package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -6
- package/src/utils/dialogfocusmanagerview.js +23 -0
- package/{dist → src}/utils/editingutils.d.ts +0 -4
- package/src/utils/editingutils.js +23 -0
- package/{dist → src}/utils/isancestor.d.ts +0 -4
- package/src/utils/isancestor.js +23 -0
- package/{dist → src}/utils/uploadutils.d.ts +0 -4
- package/src/utils/uploadutils.js +23 -0
|
@@ -0,0 +1,23 @@
|
|
|
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();}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,7 +6,7 @@
|
|
|
10
6
|
* @module uploadcare/uploadcare
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin, type Editor } from '
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
14
10
|
import { UploadcareUI } from './uploadcareui.js';
|
|
15
11
|
import { UploadcareEditing } from './uploadcareediting.js';
|
|
16
12
|
import * as UC from '@uploadcare/file-uploader';
|
|
@@ -0,0 +1,23 @@
|
|
|
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);}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcarecommand
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Command, type Editor } from '
|
|
14
|
-
import { Dialog } from '
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
15
11
|
import { UploadcareEditing } from './uploadcareediting.js';
|
|
16
12
|
import type { UploadcareSource } from './uploadcareconfig.js';
|
|
17
13
|
/**
|
|
@@ -0,0 +1,23 @@
|
|
|
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)];}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,7 +6,7 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareconfig
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import type { ArrayOrItem } from '
|
|
9
|
+
import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
|
|
14
10
|
import type { ConfigType } from '@uploadcare/file-uploader';
|
|
15
11
|
/**
|
|
16
12
|
* Locale definition type matching Uploadcare `LocaleDefinition` type.
|
|
@@ -0,0 +1,23 @@
|
|
|
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={}));
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareediting
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin, type Editor } from '
|
|
14
|
-
import { Dialog } from '
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
15
11
|
import { UploadcareUploadAdapter } from './uploadcareuploadadapter.js';
|
|
16
12
|
import type { UploaderBlock } from '@uploadcare/file-uploader';
|
|
17
13
|
/**
|
|
@@ -0,0 +1,23 @@
|
|
|
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);});});}}
|
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
import { type Dialog } from '@ckeditor/ckeditor5-ui';
|
|
10
|
-
import type { Editor } from '@ckeditor/ckeditor5-core';
|
|
11
|
-
import type { ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
5
|
+
import { type Dialog } from 'ckeditor5/src/ui.js';
|
|
6
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
7
|
+
import type { ModelElement } from 'ckeditor5/src/engine.js';
|
|
12
8
|
declare const UploadcareImageEditController_base: {
|
|
13
|
-
new (): import("
|
|
14
|
-
prototype: import("
|
|
9
|
+
new (): import("ckeditor5/src/utils.js").Observable;
|
|
10
|
+
prototype: import("ckeditor5/src/utils.js").Observable;
|
|
15
11
|
};
|
|
16
12
|
/**
|
|
17
13
|
* Controller for the Image Edit Dialog.
|
|
@@ -0,0 +1,24 @@
|
|
|
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,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -9,8 +5,8 @@
|
|
|
9
5
|
/**
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformeditingview
|
|
11
7
|
*/
|
|
12
|
-
import { type Locale } from '
|
|
13
|
-
import { View } from '
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
14
10
|
import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
|
|
15
11
|
/**
|
|
16
12
|
* A class representing the form editing view of the Uploadcare image edit feature.
|
|
@@ -0,0 +1,23 @@
|
|
|
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))}});}}
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { View } from '@ckeditor/ckeditor5-ui';
|
|
10
|
-
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
5
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
11
7
|
import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
|
|
12
8
|
/**
|
|
13
9
|
* A class representing the form error view of the Uploadcare image edit feature.
|
|
@@ -0,0 +1,23 @@
|
|
|
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,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -9,8 +5,8 @@
|
|
|
9
5
|
/**
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformloadingview
|
|
11
7
|
*/
|
|
12
|
-
import { type Locale } from '
|
|
13
|
-
import { View } from '
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
14
10
|
/**
|
|
15
11
|
* A class representing the form loading view of the Uploadcare image edit feature.
|
|
16
12
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
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,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -9,7 +5,7 @@
|
|
|
9
5
|
/**
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformview
|
|
11
7
|
*/
|
|
12
|
-
import { type Locale } from '
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
13
9
|
import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
|
|
14
10
|
import { DialogFocusManagerView } from '../../utils/dialogfocusmanagerview.js';
|
|
15
11
|
import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
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,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/uploadcareimageeditcommand
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Command, type Editor } from '
|
|
14
|
-
import { Dialog } from '
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
15
11
|
import { UploadcareImageEditController } from './ui/uploadcareimageeditcontroller.js';
|
|
16
12
|
/**
|
|
17
13
|
* The Uploadcare edit image command.
|
|
@@ -0,0 +1,23 @@
|
|
|
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,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/uploadcareimageeditediting
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
14
|
-
import { Notification } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Notification } from 'ckeditor5/src/ui.js';
|
|
15
11
|
import { UploadcareEditing } from '../uploadcareediting.js';
|
|
16
12
|
/**
|
|
17
13
|
* The Uploadcare image editing plugin.
|