@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250213.0 → 0.0.0-nightly-next-20250214.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/LICENSE.md +0 -5
- package/README.md +5 -16
- package/build/uploadcare.js +1 -2
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +3 -3
- package/lang/contexts.json +3 -0
- package/package.json +9 -8
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +2 -6
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +8 -9
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -4
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
- 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/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/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -23
- package/dist/translations/af.umd.js +0 -23
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/ar.umd.js +0 -23
- package/dist/translations/ast.d.ts +0 -8
- package/dist/translations/ast.js +0 -23
- package/dist/translations/ast.umd.js +0 -23
- package/dist/translations/az.d.ts +0 -8
- package/dist/translations/az.js +0 -23
- package/dist/translations/az.umd.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bg.umd.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/bn.umd.js +0 -23
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -23
- package/dist/translations/bs.umd.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/ca.umd.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/cs.umd.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/da.umd.js +0 -23
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -23
- package/dist/translations/de-ch.umd.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/de.umd.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/el.umd.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en-au.umd.js +0 -23
- package/dist/translations/en-gb.d.ts +0 -8
- package/dist/translations/en-gb.js +0 -23
- package/dist/translations/en-gb.umd.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/en.umd.js +0 -23
- package/dist/translations/eo.d.ts +0 -8
- package/dist/translations/eo.js +0 -23
- package/dist/translations/eo.umd.js +0 -23
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -23
- package/dist/translations/es-co.umd.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/es.umd.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/et.umd.js +0 -23
- package/dist/translations/eu.d.ts +0 -8
- package/dist/translations/eu.js +0 -23
- package/dist/translations/eu.umd.js +0 -23
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -23
- package/dist/translations/fa.umd.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fi.umd.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/fr.umd.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/gl.umd.js +0 -23
- package/dist/translations/gu.d.ts +0 -8
- package/dist/translations/gu.js +0 -23
- package/dist/translations/gu.umd.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/he.umd.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hi.umd.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hr.umd.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/hu.umd.js +0 -23
- package/dist/translations/hy.d.ts +0 -8
- package/dist/translations/hy.js +0 -23
- package/dist/translations/hy.umd.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/id.umd.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/it.umd.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/ja.umd.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/jv.umd.js +0 -23
- package/dist/translations/kk.d.ts +0 -8
- package/dist/translations/kk.js +0 -23
- package/dist/translations/kk.umd.js +0 -23
- package/dist/translations/km.d.ts +0 -8
- package/dist/translations/km.js +0 -23
- package/dist/translations/km.umd.js +0 -23
- package/dist/translations/kn.d.ts +0 -8
- package/dist/translations/kn.js +0 -23
- package/dist/translations/kn.umd.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/ko.umd.js +0 -23
- package/dist/translations/ku.d.ts +0 -8
- package/dist/translations/ku.js +0 -23
- package/dist/translations/ku.umd.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lt.umd.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/lv.umd.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/ms.umd.js +0 -23
- package/dist/translations/nb.d.ts +0 -8
- package/dist/translations/nb.js +0 -23
- package/dist/translations/nb.umd.js +0 -23
- package/dist/translations/ne.d.ts +0 -8
- package/dist/translations/ne.js +0 -23
- package/dist/translations/ne.umd.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/nl.umd.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/no.umd.js +0 -23
- package/dist/translations/oc.d.ts +0 -8
- package/dist/translations/oc.js +0 -23
- package/dist/translations/oc.umd.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pl.umd.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt-br.umd.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/pt.umd.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ro.umd.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/ru.umd.js +0 -23
- package/dist/translations/si.d.ts +0 -8
- package/dist/translations/si.js +0 -23
- package/dist/translations/si.umd.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sk.umd.js +0 -23
- package/dist/translations/sl.d.ts +0 -8
- package/dist/translations/sl.js +0 -23
- package/dist/translations/sl.umd.js +0 -23
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -23
- package/dist/translations/sq.umd.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr-latn.umd.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sr.umd.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/sv.umd.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/th.umd.js +0 -23
- package/dist/translations/ti.d.ts +0 -8
- package/dist/translations/ti.js +0 -23
- package/dist/translations/ti.umd.js +0 -23
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -23
- package/dist/translations/tk.umd.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/tr.umd.js +0 -23
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -23
- package/dist/translations/tt.umd.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/ug.umd.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/uk.umd.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/ur.umd.js +0 -23
- package/dist/translations/uz.d.ts +0 -8
- package/dist/translations/uz.js +0 -23
- package/dist/translations/uz.umd.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/vi.umd.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh-cn.umd.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/translations/zh.umd.js +0 -23
- package/lang/translations/af.po +0 -100
- package/lang/translations/ar.po +0 -100
- package/lang/translations/ast.po +0 -100
- package/lang/translations/az.po +0 -100
- package/lang/translations/bg.po +0 -100
- package/lang/translations/bn.po +0 -100
- package/lang/translations/bs.po +0 -100
- package/lang/translations/ca.po +0 -100
- package/lang/translations/cs.po +0 -100
- package/lang/translations/da.po +0 -100
- package/lang/translations/de-ch.po +0 -100
- package/lang/translations/de.po +0 -100
- package/lang/translations/el.po +0 -100
- package/lang/translations/en-au.po +0 -100
- package/lang/translations/en-gb.po +0 -100
- package/lang/translations/en.po +0 -100
- package/lang/translations/eo.po +0 -100
- package/lang/translations/es-co.po +0 -100
- package/lang/translations/es.po +0 -100
- package/lang/translations/et.po +0 -100
- package/lang/translations/eu.po +0 -100
- package/lang/translations/fa.po +0 -100
- package/lang/translations/fi.po +0 -100
- package/lang/translations/fr.po +0 -100
- package/lang/translations/gl.po +0 -100
- package/lang/translations/gu.po +0 -100
- package/lang/translations/he.po +0 -100
- package/lang/translations/hi.po +0 -100
- package/lang/translations/hr.po +0 -100
- package/lang/translations/hu.po +0 -100
- package/lang/translations/hy.po +0 -100
- package/lang/translations/id.po +0 -100
- package/lang/translations/it.po +0 -100
- package/lang/translations/ja.po +0 -100
- package/lang/translations/jv.po +0 -100
- package/lang/translations/kk.po +0 -100
- package/lang/translations/km.po +0 -100
- package/lang/translations/kn.po +0 -100
- package/lang/translations/ko.po +0 -100
- package/lang/translations/ku.po +0 -100
- package/lang/translations/lt.po +0 -100
- package/lang/translations/lv.po +0 -100
- package/lang/translations/ms.po +0 -100
- package/lang/translations/nb.po +0 -100
- package/lang/translations/ne.po +0 -100
- package/lang/translations/nl.po +0 -100
- package/lang/translations/no.po +0 -100
- package/lang/translations/oc.po +0 -100
- package/lang/translations/pl.po +0 -100
- package/lang/translations/pt-br.po +0 -100
- package/lang/translations/pt.po +0 -100
- package/lang/translations/ro.po +0 -100
- package/lang/translations/ru.po +0 -100
- package/lang/translations/si.po +0 -100
- package/lang/translations/sk.po +0 -100
- package/lang/translations/sl.po +0 -100
- package/lang/translations/sq.po +0 -100
- package/lang/translations/sr-latn.po +0 -100
- package/lang/translations/sr.po +0 -100
- package/lang/translations/sv.po +0 -100
- package/lang/translations/th.po +0 -100
- package/lang/translations/ti.po +0 -100
- package/lang/translations/tk.po +0 -100
- package/lang/translations/tr.po +0 -100
- package/lang/translations/tt.po +0 -100
- package/lang/translations/ug.po +0 -100
- package/lang/translations/uk.po +0 -100
- package/lang/translations/ur.po +0 -100
- package/lang/translations/uz.po +0 -100
- package/lang/translations/vi.po +0 -100
- package/lang/translations/zh-cn.po +0 -100
- package/lang/translations/zh.po +0 -100
- package/theme/icons/dropbox.svg +0 -11
- package/theme/icons/error.svg +0 -1
- package/theme/icons/facebook.svg +0 -11
- package/theme/icons/google-drive.svg +0 -11
- package/theme/icons/google-photos.svg +0 -11
- package/theme/icons/image-upload.svg +0 -11
- package/theme/icons/link.svg +0 -11
- package/theme/icons/local.svg +0 -11
- package/theme/icons/onedrive.svg +0 -11
- package/theme/icons/uploadcare-image-edit.svg +0 -11
|
@@ -35,6 +35,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
|
|
|
35
35
|
* sourceList: [
|
|
36
36
|
* 'local',
|
|
37
37
|
* 'url',
|
|
38
|
+
* 'instagram',
|
|
38
39
|
* 'gdrive'
|
|
39
40
|
* ],
|
|
40
41
|
* },
|
|
@@ -47,7 +48,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
|
|
|
47
48
|
*
|
|
48
49
|
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
49
50
|
*/
|
|
50
|
-
export interface UploadcareConfig {
|
|
51
|
+
export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
|
|
51
52
|
/**
|
|
52
53
|
* The public key used for communication with the Uploadcare services.
|
|
53
54
|
*
|
|
@@ -66,6 +67,7 @@ export interface UploadcareConfig {
|
|
|
66
67
|
* * 'gdrive'
|
|
67
68
|
* * 'facebook'
|
|
68
69
|
* * 'gphotos'
|
|
70
|
+
* * 'instagram'
|
|
69
71
|
* * 'onedrive'
|
|
70
72
|
*
|
|
71
73
|
* Additionally, below options are not supported:
|
|
@@ -79,7 +81,7 @@ export interface UploadcareConfig {
|
|
|
79
81
|
*
|
|
80
82
|
* All other options documented in the Uploadcare documentation are supported.
|
|
81
83
|
*/
|
|
82
|
-
uploader
|
|
84
|
+
uploader: UploadcareUploaderConfig;
|
|
83
85
|
/**
|
|
84
86
|
* Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
|
|
85
87
|
*
|
|
@@ -89,7 +91,7 @@ export interface UploadcareConfig {
|
|
|
89
91
|
* Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
|
|
90
92
|
* are not supported in the config options.
|
|
91
93
|
*/
|
|
92
|
-
editor
|
|
94
|
+
editor: UploadcareEditorConfig;
|
|
93
95
|
/**
|
|
94
96
|
* Allows editing images that are not hosted in Uploadcare service.
|
|
95
97
|
*
|
|
@@ -114,13 +116,13 @@ export interface UploadcareConfig {
|
|
|
114
116
|
*
|
|
115
117
|
* You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
|
|
116
118
|
*/
|
|
117
|
-
export interface UploadcareUploaderConfig extends
|
|
119
|
+
export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
|
|
118
120
|
/**
|
|
119
121
|
* Comma-separated list of file sources.
|
|
120
122
|
*
|
|
121
123
|
* @default [ 'local', 'url' ]
|
|
122
124
|
*/
|
|
123
|
-
sourceList?: Array<
|
|
125
|
+
sourceList?: Array<UploadcareSource>;
|
|
124
126
|
}
|
|
125
127
|
/**
|
|
126
128
|
* Configuration for the Uploadcare Image Editor component.
|
|
@@ -146,12 +148,9 @@ export declare enum UploadcareSource {
|
|
|
146
148
|
GDrive = "gdrive",
|
|
147
149
|
Facebook = "facebook",
|
|
148
150
|
GPhotos = "gphotos",
|
|
151
|
+
Instagram = "instagram",
|
|
149
152
|
OneDrive = "onedrive"
|
|
150
153
|
}
|
|
151
|
-
/**
|
|
152
|
-
* Values for all available upload sources.
|
|
153
|
-
*/
|
|
154
|
-
export type UploadcareSourceValue = `${UploadcareSource}`;
|
|
155
154
|
/**
|
|
156
155
|
* Image asset definition.
|
|
157
156
|
*
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x289f(_0x48f63c,_0x5e3f46){var _0x40c251=_0x40c2();return _0x289f=function(_0x289f2d,_0x3c765b){_0x289f2d=_0x289f2d-0x76;var _0x4c8b6b=_0x40c251[_0x289f2d];return _0x4c8b6b;},_0x289f(_0x48f63c,_0x5e3f46);}(function(_0x3e1048,_0x32fc01){var _0x57dd36=_0x289f,_0x3d727a=_0x3e1048();while(!![]){try{var _0x50982f=-parseInt(_0x57dd36(0x7c))/0x1+-parseInt(_0x57dd36(0x8c))/0x2*(parseInt(_0x57dd36(0x7b))/0x3)+parseInt(_0x57dd36(0x86))/0x4*(-parseInt(_0x57dd36(0x8f))/0x5)+parseInt(_0x57dd36(0x85))/0x6*(parseInt(_0x57dd36(0x78))/0x7)+-parseInt(_0x57dd36(0x8e))/0x8+parseInt(_0x57dd36(0x90))/0x9*(-parseInt(_0x57dd36(0x7e))/0xa)+parseInt(_0x57dd36(0x88))/0xb;if(_0x50982f===_0x32fc01)break;else _0x3d727a['push'](_0x3d727a['shift']());}catch(_0x7ba39a){_0x3d727a['push'](_0x3d727a['shift']());}}}(_0x40c2,0xab281));function _0x40c2(){var _0x5e554e=['50UbamoS','4455OOwwYQ','GPhotos','Dropbox','7EKVAZa','Local','local','65082GicYIt','1188643PLIJec','Facebook','16590raaTBk','OneDrive','URL','onedrive','Instagram','dropbox','GDrive','6882264brOcRa','512516uDHQYt','instagram','43704419flkHyh','url','facebook','gphotos','22jLGsIt','gdrive','7114752jQyYAl'];_0x40c2=function(){return _0x5e554e;};return _0x40c2();}export var UploadcareSource;!function(_0x37f966){var _0x563c49=_0x289f;_0x37f966[_0x563c49(0x79)]=_0x563c49(0x7a),_0x37f966[_0x563c49(0x80)]=_0x563c49(0x89),_0x37f966[_0x563c49(0x77)]=_0x563c49(0x83),_0x37f966[_0x563c49(0x84)]=_0x563c49(0x8d),_0x37f966[_0x563c49(0x7d)]=_0x563c49(0x8a),_0x37f966[_0x563c49(0x76)]=_0x563c49(0x8b),_0x37f966[_0x563c49(0x82)]=_0x563c49(0x87),_0x37f966[_0x563c49(0x7f)]=_0x563c49(0x81);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x338e6d=_0x24cf;(function(_0x3f1695,_0x42f976){const _0x16c35e=_0x24cf,_0x3b82b2=_0x3f1695();while(!![]){try{const _0x45a4d6=parseInt(_0x16c35e(0x167))/0x1*(parseInt(_0x16c35e(0x180))/0x2)+-parseInt(_0x16c35e(0x14d))/0x3+parseInt(_0x16c35e(0x14a))/0x4+-parseInt(_0x16c35e(0x14c))/0x5*(-parseInt(_0x16c35e(0x168))/0x6)+parseInt(_0x16c35e(0x13f))/0x7+-parseInt(_0x16c35e(0x16d))/0x8+-parseInt(_0x16c35e(0x156))/0x9;if(_0x45a4d6===_0x42f976)break;else _0x3b82b2['push'](_0x3b82b2['shift']());}catch(_0x1fbf1e){_0x3b82b2['push'](_0x3b82b2['shift']());}}}(_0x4e0c,0x99cd8));import{Plugin as _0x1d9151}from'ckeditor5/src/core.js';function _0x24cf(_0x417538,_0x26d187){const _0x4e0cd3=_0x4e0c();return _0x24cf=function(_0x24cf3a,_0x5ed8b6){_0x24cf3a=_0x24cf3a-0x13b;let _0x298abf=_0x4e0cd3[_0x24cf3a];return _0x298abf;},_0x24cf(_0x417538,_0x26d187);}function _0x4e0c(){const _0xbe473a=['upcast','contentLanguage','closeMax','join','34567WiRMAY','1513872NoVKNf','querySelector','conversion','_configElement','uploader','4698872VYpqAD','input[uploadcare-file-input]','execute','init','#uc-icon-arrow-down','uploadcare','editor','schema','extend','commands','for','body','destroy','uc-upload-ctx-provider','uploadcareImageReplace','listenTo','afterInit','pluginName','once','18esoCdh','getAttribute','PictureEditing','imageBlock','\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','locale','fromCharCode','render','uploadcareImageId','insertImage','model','_ctxElement','isPremiumPlugin','add','map','remove','true','getSelectedElement','4779894UoLaFZ','document','editing','uploadcare.uploader','appendChild','removeAttribute','ctxElement','isOfficialPlugin','isRegistered','_initCtx','configElement','604548ZqDwvB','imageInline','10GwUEBT','16632MyWykt','cleanupImage','uc-config','selection','attributeToAttribute','href','replaceImageSource','data-uc-image-id','_initConfig','3841443tmdGAG','downcast','elementToAttribute','config','_initImageProcessingIndicator','view','requires','iconHrefResolver','get','UploadcareEditing','_initConversion','_initSchema','uploadcare.pubkey'];_0x4e0c=function(){return _0xbe473a;};return _0x4e0c();}import{Dialog as _0x48b035}from'ckeditor5/src/ui.js';import{createElement as _0xf1a7f0,global as _0x8cca55,uid as _0x463996}from'ckeditor5/src/utils.js';import _0xa679e6 from'./uploadcarecommand.js';import _0x2d7f09 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1705e2}from'./utils/editingutils.js';export default class i extends _0x1d9151{constructor(){const _0x247208=_0x24cf;super(...arguments),this[_0x247208(0x16b)]=null,this[_0x247208(0x18b)]=null;}static get[_0x338e6d(0x17e)](){const _0x3f0eb8=_0x338e6d;return _0x3f0eb8(0x15f);}static get[_0x338e6d(0x15c)](){const _0x2a5b1b=_0x338e6d;return[_0x2a5b1b(0x182),_0x2d7f09,_0x48b035];}static get[_0x338e6d(0x146)](){return!0x0;}static get[_0x338e6d(0x18c)](){return!0x0;}get[_0x338e6d(0x149)](){const _0x257817=_0x338e6d;return this[_0x257817(0x16b)];}get[_0x338e6d(0x145)](){const _0x4eab42=_0x338e6d;return this[_0x4eab42(0x18b)];}[_0x338e6d(0x170)](){const _0xe2fdd4=_0x338e6d,_0x31a855=this[_0xe2fdd4(0x173)];_0x31a855[_0xe2fdd4(0x176)][_0xe2fdd4(0x18d)](_0xe2fdd4(0x172),new _0xa679e6(_0x31a855));}[_0x338e6d(0x17d)](){const _0x5d01cf=_0x338e6d;this[_0x5d01cf(0x161)](),this[_0x5d01cf(0x160)](),this[_0x5d01cf(0x155)](),this[_0x5d01cf(0x148)](),this[_0x5d01cf(0x15a)](),this[_0x5d01cf(0x17c)](this[_0x5d01cf(0x173)],_0x5d01cf(0x179),()=>{const _0x13de9d=_0x5d01cf;this[_0x13de9d(0x16b)]&&(this[_0x13de9d(0x16b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x16b)]=null),this[_0x13de9d(0x18b)]&&(this[_0x13de9d(0x18b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x18b)]=null);const _0x966687=_0x8cca55[_0x13de9d(0x140)][_0x13de9d(0x169)](_0x13de9d(0x16e));_0x966687&&_0x966687[_0x13de9d(0x13c)]();}),async function(_0x3257f4){const _0x56294f=_0x408d0f([0x6e,0x4c,0x37,0x43,0x68,0x51,0x7a,0x52,0x62,0x66,0x39,0x79,0x4f,0x47,0x5a,0x31,0x58,0x57,0x53,0x34,0x44,0x50,0x59,0x36,0x45,0x32,0x4e,0x4a,0x73,0x6b,0x70,0x61,0x71,0x63,0x42,0x30,0x46,0x77,0x56,0x64,0x75,0x67,0x4d,0x74,0x55,0x6d,0x6c,0x38,0x6a,0x69,0x33,0x6f,0x48,0x72,0x65,0x41,0x35,0x76,0x54,0x49,0x4b,0x78]),_0x40aea0=0x157bf8a2,_0x52496c=0x157ca7c2^_0x40aea0,_0x2338a0=window[_0x408d0f([0x44,0x61,0x74,0x65])][_0x408d0f([0x6e,0x6f,0x77])](),_0x51819a=_0x3257f4[_0x408d0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x485264=new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed2=>{_0x51819a[_0x408d0f([0x6f,0x6e,0x63,0x65])](_0x408d0f([0x72,0x65,0x61,0x64,0x79]),_0x4cfed2);}),_0x4221fd={[_0x408d0f([0x6b,0x74,0x79])]:_0x408d0f([0x45,0x43]),[_0x408d0f([0x75,0x73,0x65])]:_0x408d0f([0x73,0x69,0x67]),[_0x408d0f([0x63,0x72,0x76])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36]),[_0x408d0f([0x78])]:_0x408d0f([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]),[_0x408d0f([0x79])]:_0x408d0f([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]),[_0x408d0f([0x61,0x6c,0x67])]:_0x408d0f([0x45,0x53,0x32,0x35,0x36])},_0x563f09=_0x51819a[_0x408d0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408d0f([0x67,0x65,0x74])](_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x373101(){let _0xf0535f,_0x5e4f1d=null,_0x5e9db8=null;try{if(_0x563f09==_0x408d0f([0x47,0x50,0x4c]))return _0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf0535f=_0x178e39(),!_0xf0535f)return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e9db8=_0x3020e2(_0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf0535f[_0x408d0f([0x6a,0x74,0x69])])),await _0x3d1ea5()?_0x2a0610()?_0x33ac37()?_0x408d0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f425c()?(_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x558291()):_0x408d0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x597075){return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33ac37(){const _0x4eaa00=[_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408d0f([0x74,0x72,0x69,0x61,0x6c])][_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2338a0/0x3e8:0xe10*_0x52496c;return _0xf0535f[_0x408d0f([0x65,0x78,0x70])]<_0x4eaa00;}function _0x2a0610(){const _0x40163b=_0xf0535f[_0x408d0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40163b&&(!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a]))||!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x55,0x50,0x4c,0x43])));}function _0x1f425c(){const _0x3c8cb6=_0x24cf,_0x382ee2=_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x382ee2||0x0==_0x382ee2[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x530f30}=new URL(window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c8cb6(0x152)]);if(_0x382ee2[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530f30))return!0x0;const _0x38c967=_0x530f30[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));return _0x382ee2[_0x408d0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf90fbc=>_0xf90fbc[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a])))[_0x408d0f([0x6d,0x61,0x70])](_0x5bf8f2=>_0x5bf8f2[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])))[_0x408d0f([0x73,0x6f,0x6d,0x65])](_0x17f4d9=>_0x38c967[_0x408d0f([0x65,0x76,0x65,0x72,0x79])]((_0x53df04,_0x2cb6a7)=>_0x17f4d9[_0x2cb6a7]===_0x53df04||_0x17f4d9[_0x2cb6a7]===_0x408d0f([0x2a])));}function _0x558291(){return _0x5e4f1d&&_0x5e9db8?new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x593302,_0xde6ef1)=>{_0x5e4f1d[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x593302,_0xde6ef1),_0x5e9db8[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x418c22=>{_0x418c22!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x593302(_0x418c22);},_0xde6ef1);}):_0x5e4f1d||_0x5e9db8||_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3020e2(_0x44d56d,_0x5e05d3){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b1a0=>{if(_0x3e518b())return _0x21b1a0(_0x408d0f([0x56,0x61,0x6c,0x69,0x64]));_0x584731(),_0x51819a[_0x408d0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fe94f=!0x1;const _0x5b154e=_0x463996();function _0x2edda5(_0x3a2026){return!!_0x3a2026&&(typeof _0x3a2026===_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a2026===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a2026[_0x408d0f([0x74,0x68,0x65,0x6e])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a2026[_0x408d0f([0x63,0x61,0x74,0x63,0x68])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4437fa(_0x358fc2){_0x421e34(_0x358fc2)[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x2f8eca=>{if(!_0x2f8eca||_0x2f8eca[_0x408d0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408d0f([0x6f,0x6b]))return _0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x106128(_0x505ac6(_0x5b154e+_0x5e05d3))!=_0x2f8eca[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x164119=>(_0x295868(),_0x164119),()=>{const _0x8814ad=_0x3e760d();return null==_0x8814ad?(_0x295868(),_0x408d0f([0x56,0x61,0x6c,0x69,0x64])):_0x408d0f(_0x2338a0-_0x8814ad>(0x31777ca2^_0x40aea0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x21b1a0)[_0x408d0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e5fd8=0x154d1622^_0x40aea0;function _0x295868(){const _0x343c14=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x1fb881=_0x4f6b80(_0x106128(window[_0x408d0f([0x4d,0x61,0x74,0x68])][_0x408d0f([0x63,0x65,0x69,0x6c])](_0x2338a0/_0x5e5fd8)));window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x343c14,_0x1fb881);}function _0x3e760d(){const _0x53334d=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x7a1d8f=window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53334d);return _0x7a1d8f?window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f6b80(_0x7a1d8f),0x10)*_0x5e5fd8:null;}function _0x421e34(_0xa0fe91){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22fb6b,_0x47fb14)=>{_0xa0fe91[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x22fb6b,_0x47fb14),window[_0x408d0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47fb14,0x157a2c62^_0x40aea0);});}}_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3083,_0x60b49)=>{if(_0x60b49[0x0]!=_0x44d56d)return _0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x60b49[0x1]={..._0x60b49[0x1],[_0x408d0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b154e};},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x68,0x69,0x67,0x68])}),_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5877b6=>{_0x2edda5(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fe94f=!0x0,_0x4437fa(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x6c,0x6f,0x77])}),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>{_0x2fe94f||_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e518b(){return _0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408d0f([0x61,0x75,0x74,0x6f]);}function _0x584731(){_0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408d0f([0x61,0x75,0x74,0x6f]);}}function _0x31caca(_0x379a7d){const _0x5633f4=[new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1be2=>setTimeout(_0x2a1be2,0x1572c66e^_0x40aea0)),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x521458=>{let _0xd3090a=0x0;_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x6f,0x6e])](_0x408d0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a0d01,_0xd3a929)=>{_0xd3a929[0x0][_0x408d0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd3090a++,_0xd3090a==(0x157bf95a^_0x40aea0)&&(_0x521458(),_0x5a0d01[_0x408d0f([0x6f,0x66,0x66])]());});}))];return window[_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408d0f([0x72,0x61,0x63,0x65])](_0x5633f4)[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>_0x379a7d);}async function _0x48e8cc(){await _0x485264,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21437a(_0x506ca6){const _0x4a7f3f=_0x13444b();_0x51819a[_0x4a7f3f]=_0x408d0f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x506ca6,_0x506ca6!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x48e8cc();}function _0x13444b(){const _0x555731=window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408d0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408d0f([0x6e,0x6f,0x77])]())[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408d0f([0x2e]),'');let _0x5248fc=_0x408d0f([0x6e]);for(let _0x3d1ebe=0x0;_0x3d1ebe<_0x555731[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1ebe+=0x2){let _0x4cc471=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555731[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1ebe,_0x3d1ebe+0x2));_0x4cc471>=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cc471-=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5248fc+=_0x56294f[_0x4cc471];}return _0x5248fc;}function _0x178e39(){const _0x56aac9=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));if(0x3!=_0x56aac9[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46eaa9(_0x56aac9[0x1]);function _0x46eaa9(_0x370b43){const _0x1b0029=_0x2c48c0(_0x370b43);return _0x1b0029&&_0x5c028b()?_0x1b0029:null;function _0x5c028b(){const _0x41a537=_0x1b0029[_0x408d0f([0x6a,0x74,0x69])],_0x4a2b44=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x205500={..._0x1b0029,[_0x408d0f([0x6a,0x74,0x69])]:_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x205500[_0x408d0f([0x76,0x63])],_0x505ac6(_0x205500)==_0x4a2b44;}}}async function _0x3d1ea5(){let _0x2ce65e=!0x0;try{const _0x59ea84=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])),[_0x3c5680,_0x425aab,_0x403d6b]=_0x59ea84;return _0x1936e4(_0x3c5680),await _0x312dbe(_0x3c5680,_0x425aab,_0x403d6b),_0x2ce65e;}catch(_0x37f40d){return!0x1;}function _0x1936e4(_0xb37c4c){const _0x2f4906=_0x2c48c0(_0xb37c4c);_0x2f4906&&_0x2f4906[_0x408d0f([0x61,0x6c,0x67])]==_0x408d0f([0x45,0x53,0x32,0x35,0x36])||(_0x2ce65e=!0x1);}async function _0x312dbe(_0x1904b7,_0x2c8e4a,_0x41fb84){const _0x321f9b=window[_0x408d0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408d0f([0x66,0x72,0x6f,0x6d])](_0x39024b(_0x41fb84),_0x34f0b8=>_0x34f0b8[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a23be=new window[(_0x408d0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408d0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1904b7+_0x408d0f([0x2e])+_0x2c8e4a),_0x4dff64=window[_0x408d0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408d0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dff64)return;const _0x1fafaf=await _0x4dff64[_0x408d0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408d0f([0x6a,0x77,0x6b]),_0x4221fd,{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dff64[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x68,0x61,0x73,0x68])]:{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fafaf,_0x321f9b,_0x4a23be)||(_0x2ce65e=!0x1);}}function _0x2c48c0(_0x1ec743){return _0x1ec743[_0x408d0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408d0f([0x65,0x79]))?JSON[_0x408d0f([0x70,0x61,0x72,0x73,0x65])](_0x39024b(_0x1ec743)):null;}function _0x39024b(_0x3ad563){return window[_0x408d0f([0x61,0x74,0x6f,0x62])](_0x3ad563[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408d0f([0x2b]))[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408d0f([0x2f])));}function _0x505ac6(_0x457fd6){let _0x12e3b8=0x1505;function _0x35af0f(_0x394152){for(let _0x2075bc=0x0;_0x2075bc<_0x394152[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2075bc++){const _0x44042e=_0x394152[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2075bc);_0x12e3b8=(_0x12e3b8<<0x5)+_0x12e3b8+_0x44042e,_0x12e3b8&=_0x12e3b8;}}function _0x4656b7(_0x4d5997){Array[_0x408d0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d5997)?_0x4d5997[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4656b7):_0x4d5997&&typeof _0x4d5997==_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408d0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d5997)[_0x408d0f([0x73,0x6f,0x72,0x74])]()[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a5352,_0x10b9a6])=>{_0x35af0f(_0x3a5352),_0x4656b7(_0x10b9a6);}):_0x35af0f(window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d5997));}return _0x4656b7(_0x457fd6),_0x12e3b8>>>0x0;}function _0x106128(_0x4951ca){return _0x4951ca[_0x408d0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408d0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408d0f([0x30]));}function _0x4f6b80(_0x314087){return _0x314087[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408d0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408d0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d27f6(){}function _0x408d0f(_0x2b6d9c){const _0x47d378=_0x24cf;return _0x2b6d9c[_0x47d378(0x13b)](_0xa1d565=>String[_0x47d378(0x186)](_0xa1d565))[_0x47d378(0x166)]('');}_0x21437a(await _0x373101());}(this);}[_0x338e6d(0x161)](){const _0x437871=_0x338e6d,_0x45b6c0=this[_0x437871(0x173)][_0x437871(0x18a)][_0x437871(0x174)];_0x45b6c0[_0x437871(0x147)](_0x437871(0x183))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x183),{'allowAttributes':[_0x437871(0x188)]}),_0x45b6c0[_0x437871(0x147)](_0x437871(0x14b))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x14b),{'allowAttributes':[_0x437871(0x188)]});}[_0x338e6d(0x160)](){const _0x2070a0=_0x338e6d,_0x5b78ef=this[_0x2070a0(0x173)];_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x157))[_0x2070a0(0x151)]({'model':_0x2070a0(0x188),'view':_0x2070a0(0x154)}),_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x163))[_0x2070a0(0x158)]({'model':{'key':_0x2070a0(0x188),'value':_0x1ae4f0=>_0x1ae4f0[_0x2070a0(0x181)](_0x2070a0(0x154))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3fb79f=_0x5b78ef[_0x2070a0(0x176)][_0x2070a0(0x15e)](_0x2070a0(0x153));_0x3fb79f&&this[_0x2070a0(0x17c)](_0x3fb79f,_0x2070a0(0x14e),(_0x1d7575,[_0x1fe66f,_0x27e45c])=>{const _0x566c66=_0x2070a0;_0x1fe66f[_0x566c66(0x144)](_0x566c66(0x188),_0x27e45c);});}[_0x338e6d(0x155)](){const _0x1f187a=_0x338e6d,_0xe87494=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x142))||{},_0x2e6440=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x162))||'';this[_0x1f187a(0x16b)]=_0xf1a7f0(_0x8cca55[_0x1f187a(0x140)],_0x1f187a(0x14f),{..._0xe87494,'pubkey':_0x2e6440,'ctx-name':_0x1f187a(0x16c),'sourceList':'','imgOnly':_0x1f187a(0x13d),'removeCopyright':_0x1f187a(0x13d),'localeName':this[_0x1f187a(0x173)][_0x1f187a(0x185)][_0x1f187a(0x164)],'externalSourcesEmbedCss':_0x1f187a(0x184)}),this[_0x1f187a(0x16b)][_0x1f187a(0x15d)]=_0x5b1316=>{const _0x5d265b=_0x1f187a;if(_0x5d265b(0x165)==_0x5b1316)return _0x5d265b(0x171);},_0x8cca55[_0x1f187a(0x140)][_0x1f187a(0x178)][_0x1f187a(0x143)](this[_0x1f187a(0x16b)]);}[_0x338e6d(0x148)](){const _0x242704=_0x338e6d;this[_0x242704(0x18b)]=_0xf1a7f0(_0x8cca55[_0x242704(0x140)],_0x242704(0x17a),{'ctx-name':_0x242704(0x16c)}),_0x8cca55[_0x242704(0x140)][_0x242704(0x178)][_0x242704(0x143)](this[_0x242704(0x18b)]);}[_0x338e6d(0x15a)](){const _0x192535=_0x338e6d,_0x513f87=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x189));_0x513f87&&this[_0x192535(0x17c)](_0x513f87,_0x192535(0x16f),()=>{const _0x298a48=_0x192535,_0xb212be=this[_0x298a48(0x173)][_0x298a48(0x18a)][_0x298a48(0x140)][_0x298a48(0x150)][_0x298a48(0x13e)]();_0xb212be&&_0xb212be[_0x298a48(0x181)](_0x298a48(0x188))&&this[_0x298a48(0x173)][_0x298a48(0x141)][_0x298a48(0x15b)][_0x298a48(0x17f)](_0x298a48(0x187),()=>{const _0x57d8db=_0x298a48;_0x1705e2(this[_0x57d8db(0x173)],_0xb212be);});});const _0x205f2d=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x17b));_0x205f2d&&this[_0x192535(0x17c)](_0x205f2d,_0x192535(0x16f),()=>{const _0x13cd3c=_0x192535,_0x1adfdc=this[_0x13cd3c(0x173)][_0x13cd3c(0x18a)][_0x13cd3c(0x140)][_0x13cd3c(0x150)][_0x13cd3c(0x13e)]();_0x1adfdc&&_0x1adfdc[_0x13cd3c(0x181)](_0x13cd3c(0x188))&&this[_0x13cd3c(0x173)][_0x13cd3c(0x141)][_0x13cd3c(0x15b)][_0x13cd3c(0x17f)](_0x13cd3c(0x187),()=>{const _0x2304dc=_0x13cd3c;_0x1705e2(this[_0x2304dc(0x173)],_0x1adfdc);});});}}
|
|
23
|
+
const _0x2d8e21=_0x4637;(function(_0x44f5ba,_0x30f4e0){const _0x46ec1b=_0x4637,_0x408e01=_0x44f5ba();while(!![]){try{const _0xc6dfd=-parseInt(_0x46ec1b(0x199))/0x1*(-parseInt(_0x46ec1b(0x1ab))/0x2)+-parseInt(_0x46ec1b(0x1b0))/0x3+parseInt(_0x46ec1b(0x1c5))/0x4+-parseInt(_0x46ec1b(0x1ce))/0x5+-parseInt(_0x46ec1b(0x191))/0x6+parseInt(_0x46ec1b(0x186))/0x7+parseInt(_0x46ec1b(0x1ca))/0x8;if(_0xc6dfd===_0x30f4e0)break;else _0x408e01['push'](_0x408e01['shift']());}catch(_0x3e9643){_0x408e01['push'](_0x408e01['shift']());}}}(_0x524e,0x57547));import{Plugin as _0x5b3283}from'ckeditor5/src/core.js';import{Dialog as _0x96f37a}from'ckeditor5/src/ui.js';function _0x4637(_0x1e9bf0,_0x231771){const _0x524e09=_0x524e();return _0x4637=function(_0x463795,_0x1742c9){_0x463795=_0x463795-0x180;let _0x58397e=_0x524e09[_0x463795];return _0x58397e;},_0x4637(_0x1e9bf0,_0x231771);}import{createElement as _0x459276,global as _0x55a3e7,uid as _0x3d506e}from'ckeditor5/src/utils.js';import _0x5c278c from'./uploadcarecommand.js';import _0x8044c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d84b3}from'./utils/editingutils.js';function _0x524e(){const _0x7c9788=['commands','_initCtx','uploadcare.pubkey','1997397cGpcBq','contentLanguage','downcast','pluginName','href','uploadcareImageReplace','_initImageProcessingIndicator','insertImage','PictureEditing','locale','render','uc-config','afterInit','uploadcare','imageBlock','init','elementToAttribute','_initConfig','data-uc-image-id','uploadcare.uploader','get','93828HJCHbd','selection','execute','getAttribute','join','5487664cNnoZQ','_configElement','closeMax','body','1707305OFAkhG','replaceImageSource','editing','ctxElement','_ctxElement','true','iconHrefResolver','requires','once','_initSchema','2556771mzUFTh','map','config','isRegistered','querySelector','\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','cleanupImage','fromCharCode','conversion','schema','imageInline','1342464YQMETR','UploadcareEditing','listenTo','_initConversion','removeAttribute','editor','attributeToAttribute','#uc-icon-arrow-down','10937ztyvxK','uploader','model','extend','remove','add','getSelectedElement','isOfficialPlugin','destroy','input[uploadcare-file-input]','uploadcareImageId','uc-upload-ctx-provider','document','isPremiumPlugin','upcast','view','appendChild','for','94qekjIX','configElement'];_0x524e=function(){return _0x7c9788;};return _0x524e();}export default class i extends _0x5b3283{[_0x2d8e21(0x1cb)]=null;[_0x2d8e21(0x180)]=null;static get[_0x2d8e21(0x1b3)](){const _0x3d5f1c=_0x2d8e21;return _0x3d5f1c(0x192);}static get[_0x2d8e21(0x183)](){const _0x145715=_0x2d8e21;return[_0x145715(0x1b8),_0x8044c9,_0x96f37a];}static get[_0x2d8e21(0x1a0)](){return!0x0;}static get[_0x2d8e21(0x1a6)](){return!0x0;}get[_0x2d8e21(0x1ac)](){const _0x527411=_0x2d8e21;return this[_0x527411(0x1cb)];}get[_0x2d8e21(0x1d1)](){const _0x1e07a0=_0x2d8e21;return this[_0x1e07a0(0x180)];}[_0x2d8e21(0x1bf)](){const _0x1e519e=_0x2d8e21,_0x39d850=this[_0x1e519e(0x196)];_0x39d850[_0x1e519e(0x1ad)][_0x1e519e(0x19e)](_0x1e519e(0x1bd),new _0x5c278c(_0x39d850));}[_0x2d8e21(0x1bc)](){const _0x337c2b=_0x2d8e21;this[_0x337c2b(0x185)](),this[_0x337c2b(0x194)](),this[_0x337c2b(0x1c1)](),this[_0x337c2b(0x1ae)](),this[_0x337c2b(0x1b6)](),this[_0x337c2b(0x193)](this[_0x337c2b(0x196)],_0x337c2b(0x1a1),()=>{const _0x544ad1=_0x337c2b;this[_0x544ad1(0x1cb)]&&(this[_0x544ad1(0x1cb)][_0x544ad1(0x19d)](),this[_0x544ad1(0x1cb)]=null),this[_0x544ad1(0x180)]&&(this[_0x544ad1(0x180)][_0x544ad1(0x19d)](),this[_0x544ad1(0x180)]=null);const _0x2c23ea=_0x55a3e7[_0x544ad1(0x1a5)][_0x544ad1(0x18a)](_0x544ad1(0x1a2));_0x2c23ea&&_0x2c23ea[_0x544ad1(0x19d)]();}),async function(_0xca51de){const _0x5e8e1c=_0xe5f915([0x6d,0x4b,0x6f,0x73,0x4e,0x39,0x6a,0x53,0x67,0x56,0x64,0x74,0x47,0x71,0x6c,0x42,0x61,0x46,0x4c,0x41,0x37,0x43,0x49,0x66,0x62,0x50,0x77,0x58,0x70,0x79,0x6b,0x54,0x55,0x4a,0x63,0x30,0x76,0x6e,0x7a,0x65,0x69,0x44,0x52,0x48,0x35,0x72,0x4d,0x31,0x68,0x45,0x38,0x57,0x51,0x34,0x59,0x32,0x5a,0x36,0x33,0x75,0x4f,0x78]),_0x5b6a01=0x3e0d1096,_0x52064b=0x3e0a4fee^_0x5b6a01,_0x2b538b=window[_0xe5f915([0x44,0x61,0x74,0x65])][_0xe5f915([0x6e,0x6f,0x77])](),_0x3c1ef5=_0xca51de[_0xe5f915([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25a577=new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bd18=>{_0x3c1ef5[_0xe5f915([0x6f,0x6e,0x63,0x65])](_0xe5f915([0x72,0x65,0x61,0x64,0x79]),_0x29bd18);}),_0x350700={[_0xe5f915([0x6b,0x74,0x79])]:_0xe5f915([0x45,0x43]),[_0xe5f915([0x75,0x73,0x65])]:_0xe5f915([0x73,0x69,0x67]),[_0xe5f915([0x63,0x72,0x76])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36]),[_0xe5f915([0x78])]:_0xe5f915([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]),[_0xe5f915([0x79])]:_0xe5f915([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]),[_0xe5f915([0x61,0x6c,0x67])]:_0xe5f915([0x45,0x53,0x32,0x35,0x36])},_0x2e300d=_0x3c1ef5[_0xe5f915([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe5f915([0x67,0x65,0x74])](_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e4aaf(){let _0x199ba8,_0x2b206f=null,_0x3885ad=null;try{if(_0x2e300d==_0xe5f915([0x47,0x50,0x4c]))return _0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x199ba8=_0x3cb28a(),!_0x199ba8)return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3885ad=_0x2fb617(_0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x199ba8[_0xe5f915([0x6a,0x74,0x69])])),await _0x534bb0()?_0x2cb2aa()?_0x50281b()?_0xe5f915([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442d63()?(_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd77e44()):_0xe5f915([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d1ef4){return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50281b(){const _0x1cc479=[_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe5f915([0x74,0x72,0x69,0x61,0x6c])][_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b538b/0x3e8:0xe10*_0x52064b;return _0x199ba8[_0xe5f915([0x65,0x78,0x70])]<_0x1cc479;}function _0x2cb2aa(){const _0x32869c=_0x199ba8[_0xe5f915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32869c&&(!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a]))||!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x55,0x50,0x4c,0x43])));}function _0x442d63(){const _0x1ec73f=_0x4637,_0x45cfd7=_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45cfd7||0x0==_0x45cfd7[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378eef}=new URL(window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ec73f(0x1b4)]);if(_0x45cfd7[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378eef))return!0x0;const _0x3d9a86=_0x378eef[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));return _0x45cfd7[_0xe5f915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25f288=>_0x25f288[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a])))[_0xe5f915([0x6d,0x61,0x70])](_0x254f12=>_0x254f12[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])))[_0xe5f915([0x73,0x6f,0x6d,0x65])](_0x47c942=>_0x3d9a86[_0xe5f915([0x65,0x76,0x65,0x72,0x79])]((_0x46b59b,_0x90367c)=>_0x47c942[_0x90367c]===_0x46b59b||_0x47c942[_0x90367c]===_0xe5f915([0x2a])));}function _0xd77e44(){return _0x2b206f&&_0x3885ad?new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fea29,_0x29cb5a)=>{_0x2b206f[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x1fea29,_0x29cb5a),_0x3885ad[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x541c18=>{_0x541c18!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x1fea29(_0x541c18);},_0x29cb5a);}):_0x2b206f||_0x3885ad||_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fb617(_0x5ac486,_0x725f2d){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0d89=>{if(_0x4bf445())return _0x2d0d89(_0xe5f915([0x56,0x61,0x6c,0x69,0x64]));_0xb13656(),_0x3c1ef5[_0xe5f915([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xab86e9=!0x1;const _0x517dd6=_0x3d506e();function _0x23078b(_0xe3959f){return!!_0xe3959f&&(typeof _0xe3959f===_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe3959f===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe3959f[_0xe5f915([0x74,0x68,0x65,0x6e])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe3959f[_0xe5f915([0x63,0x61,0x74,0x63,0x68])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d3d5f(_0x34c7e2){_0x4745c5(_0x34c7e2)[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x15138c=>{if(!_0x15138c||_0x15138c[_0xe5f915([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe5f915([0x6f,0x6b]))return _0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf94b8a(_0x5a2154(_0x517dd6+_0x725f2d))!=_0x15138c[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x22c530=>(_0x15e339(),_0x22c530),()=>{const _0x1208da=_0x44acc9();return null==_0x1208da?(_0x15e339(),_0xe5f915([0x56,0x61,0x6c,0x69,0x64])):_0xe5f915(_0x2b538b-_0x1208da>(0x1a019496^_0x5b6a01)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2d0d89)[_0xe5f915([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x963c48=0x3e3bfe16^_0x5b6a01;function _0x15e339(){const _0xa01cbb=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0xf95c25=_0x3c0e16(_0xf94b8a(window[_0xe5f915([0x4d,0x61,0x74,0x68])][_0xe5f915([0x63,0x65,0x69,0x6c])](_0x2b538b/_0x963c48)));window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa01cbb,_0xf95c25);}function _0x44acc9(){const _0x41cc7e=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0x4ca43d=window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41cc7e);return _0x4ca43d?window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0e16(_0x4ca43d),0x10)*_0x963c48:null;}function _0x4745c5(_0xf928d6){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b608b,_0x271485)=>{_0xf928d6[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2b608b,_0x271485),window[_0xe5f915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x271485,0x3e0cc456^_0x5b6a01);});}}_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34aab1,_0x240e5a)=>{if(_0x240e5a[0x0]!=_0x5ac486)return _0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x240e5a[0x1]={..._0x240e5a[0x1],[_0xe5f915([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517dd6};},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x68,0x69,0x67,0x68])}),_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4789c3=>{_0x23078b(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xab86e9=!0x0,_0x3d3d5f(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x6c,0x6f,0x77])}),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>{_0xab86e9||_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bf445(){return _0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe5f915([0x61,0x75,0x74,0x6f]);}function _0xb13656(){_0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe5f915([0x61,0x75,0x74,0x6f]);}}function _0x5ac896(_0x364971){const _0x18d2ab=[new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199f1b=>setTimeout(_0x199f1b,0x3e042e5a^_0x5b6a01)),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f23a=>{let _0x3703e4=0x0;_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x6f,0x6e])](_0xe5f915([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ecf69,_0x4167e9)=>{_0x4167e9[0x0][_0xe5f915([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3703e4++,_0x3703e4==(0x3e0d116e^_0x5b6a01)&&(_0x33f23a(),_0x1ecf69[_0xe5f915([0x6f,0x66,0x66])]());});}))];return window[_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe5f915([0x72,0x61,0x63,0x65])](_0x18d2ab)[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>_0x364971);}async function _0x100101(){await _0x25a577,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41dfdf(_0x318ae9){const _0x592156=_0x1620f0();_0x3c1ef5[_0x592156]=_0xe5f915([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x318ae9,_0x318ae9!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x100101();}function _0x1620f0(){const _0x2ce980=window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe5f915([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe5f915([0x6e,0x6f,0x77])]())[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe5f915([0x2e]),'');let _0x1b4409=_0xe5f915([0x6d]);for(let _0x347672=0x0;_0x347672<_0x2ce980[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x347672+=0x2){let _0x48867f=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce980[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347672,_0x347672+0x2));_0x48867f>=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48867f-=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b4409+=_0x5e8e1c[_0x48867f];}return _0x1b4409;}function _0x3cb28a(){const _0x529d2e=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));if(0x3!=_0x529d2e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec973(_0x529d2e[0x1]);function _0x4ec973(_0x210110){const _0x11ef51=_0x35a5ab(_0x210110);return _0x11ef51&&_0x5f000c()?_0x11ef51:null;function _0x5f000c(){const _0x3f2d9e=_0x11ef51[_0xe5f915([0x6a,0x74,0x69])],_0x225222=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48c53c={..._0x11ef51,[_0xe5f915([0x6a,0x74,0x69])]:_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48c53c[_0xe5f915([0x76,0x63])],_0x5a2154(_0x48c53c)==_0x225222;}}}async function _0x534bb0(){let _0x130ddb=!0x0;try{const _0x3c255d=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])),[_0x1f4c7d,_0x2cd8a8,_0x59d006]=_0x3c255d;return _0x4a2724(_0x1f4c7d),await _0x216aef(_0x1f4c7d,_0x2cd8a8,_0x59d006),_0x130ddb;}catch(_0x520ac9){return!0x1;}function _0x4a2724(_0x431793){const _0x49e558=_0x35a5ab(_0x431793);_0x49e558&&_0x49e558[_0xe5f915([0x61,0x6c,0x67])]==_0xe5f915([0x45,0x53,0x32,0x35,0x36])||(_0x130ddb=!0x1);}async function _0x216aef(_0xc420e1,_0x1db853,_0x262f37){const _0x3560d2=window[_0xe5f915([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe5f915([0x66,0x72,0x6f,0x6d])](_0x49e065(_0x262f37),_0xf299f7=>_0xf299f7[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x495694=new window[(_0xe5f915([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe5f915([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc420e1+_0xe5f915([0x2e])+_0x1db853),_0x54d295=window[_0xe5f915([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe5f915([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54d295)return;const _0x5a20d4=await _0x54d295[_0xe5f915([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe5f915([0x6a,0x77,0x6b]),_0x350700,{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54d295[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x68,0x61,0x73,0x68])]:{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a20d4,_0x3560d2,_0x495694)||(_0x130ddb=!0x1);}}function _0x35a5ab(_0x4dfee5){return _0x4dfee5[_0xe5f915([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe5f915([0x65,0x79]))?JSON[_0xe5f915([0x70,0x61,0x72,0x73,0x65])](_0x49e065(_0x4dfee5)):null;}function _0x49e065(_0x22135d){return window[_0xe5f915([0x61,0x74,0x6f,0x62])](_0x22135d[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe5f915([0x2b]))[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe5f915([0x2f])));}function _0x5a2154(_0x41d1e){let _0x401e73=0x1505;function _0x5778b9(_0x48e3a5){for(let _0x136c56=0x0;_0x136c56<_0x48e3a5[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x136c56++){const _0x421c2c=_0x48e3a5[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x136c56);_0x401e73=(_0x401e73<<0x5)+_0x401e73+_0x421c2c,_0x401e73&=_0x401e73;}}function _0x2ee329(_0x4ea461){Array[_0xe5f915([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea461)?_0x4ea461[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee329):_0x4ea461&&typeof _0x4ea461==_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe5f915([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea461)[_0xe5f915([0x73,0x6f,0x72,0x74])]()[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2eb015,_0x4f6a89])=>{_0x5778b9(_0x2eb015),_0x2ee329(_0x4f6a89);}):_0x5778b9(window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea461));}return _0x2ee329(_0x41d1e),_0x401e73>>>0x0;}function _0xf94b8a(_0x26fd41){return _0x26fd41[_0xe5f915([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe5f915([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe5f915([0x30]));}function _0x3c0e16(_0xa512ea){return _0xa512ea[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe5f915([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe5f915([0x6a,0x6f,0x69,0x6e])]('');}function _0x57cbce(){}function _0xe5f915(_0x48370c){const _0x17175d=_0x4637;return _0x48370c[_0x17175d(0x187)](_0x43611f=>String[_0x17175d(0x18d)](_0x43611f))[_0x17175d(0x1c9)]('');}_0x41dfdf(await _0x5e4aaf());}(this);}[_0x2d8e21(0x185)](){const _0x54c9ed=_0x2d8e21,_0xfcfcee=this[_0x54c9ed(0x196)][_0x54c9ed(0x19b)][_0x54c9ed(0x18f)];_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x1be))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x1be),{'allowAttributes':[_0x54c9ed(0x1a3)]}),_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x190))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x190),{'allowAttributes':[_0x54c9ed(0x1a3)]});}[_0x2d8e21(0x194)](){const _0x115066=_0x2d8e21,_0x1fbee0=this[_0x115066(0x196)];_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1b2))[_0x115066(0x197)]({'model':_0x115066(0x1a3),'view':_0x115066(0x1c2)}),_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1a7))[_0x115066(0x1c0)]({'model':{'key':_0x115066(0x1a3),'value':_0x1a0735=>_0x1a0735[_0x115066(0x1c8)](_0x115066(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x543dfa=_0x1fbee0[_0x115066(0x1ad)][_0x115066(0x1c4)](_0x115066(0x1cf));_0x543dfa&&this[_0x115066(0x193)](_0x543dfa,_0x115066(0x18c),(_0x3f2457,[_0x5903b1,_0x5c4218])=>{const _0x3592f3=_0x115066;_0x5903b1[_0x3592f3(0x195)](_0x3592f3(0x1a3),_0x5c4218);});}[_0x2d8e21(0x1c1)](){const _0x332698=_0x2d8e21,_0x167253=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1c3))||{},_0xfecc6a=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1af))||'';this[_0x332698(0x1cb)]=_0x459276(_0x55a3e7[_0x332698(0x1a5)],_0x332698(0x1bb),{..._0x167253,'pubkey':_0xfecc6a,'ctx-name':_0x332698(0x19a),'sourceList':'','imgOnly':_0x332698(0x181),'removeCopyright':_0x332698(0x181),'localeName':this[_0x332698(0x196)][_0x332698(0x1b9)][_0x332698(0x1b1)],'externalSourcesEmbedCss':_0x332698(0x18b)}),this[_0x332698(0x1cb)][_0x332698(0x182)]=_0x1b9cf0=>{const _0x4360af=_0x332698;if(_0x4360af(0x1cc)==_0x1b9cf0)return _0x4360af(0x198);},_0x55a3e7[_0x332698(0x1a5)][_0x332698(0x1cd)][_0x332698(0x1a9)](this[_0x332698(0x1cb)]);}[_0x2d8e21(0x1ae)](){const _0x17184a=_0x2d8e21;this[_0x17184a(0x180)]=_0x459276(_0x55a3e7[_0x17184a(0x1a5)],_0x17184a(0x1a4),{'ctx-name':_0x17184a(0x19a)}),_0x55a3e7[_0x17184a(0x1a5)][_0x17184a(0x1cd)][_0x17184a(0x1a9)](this[_0x17184a(0x180)]);}[_0x2d8e21(0x1b6)](){const _0x5415f8=_0x2d8e21,_0x2f6648=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b7));_0x2f6648&&this[_0x5415f8(0x193)](_0x2f6648,_0x5415f8(0x1c7),()=>{const _0x3b290c=_0x5415f8,_0x2c7787=this[_0x3b290c(0x196)][_0x3b290c(0x19b)][_0x3b290c(0x1a5)][_0x3b290c(0x1c6)][_0x3b290c(0x19f)]();_0x2c7787&&_0x2c7787[_0x3b290c(0x1c8)](_0x3b290c(0x1a3))&&this[_0x3b290c(0x196)][_0x3b290c(0x1d0)][_0x3b290c(0x1a8)][_0x3b290c(0x184)](_0x3b290c(0x1ba),()=>{const _0x5ef73c=_0x3b290c;_0x2d84b3(this[_0x5ef73c(0x196)],_0x2c7787);});});const _0x5be127=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b5));_0x5be127&&this[_0x5415f8(0x193)](_0x5be127,_0x5415f8(0x1c7),()=>{const _0x115f53=_0x5415f8,_0x1f5e77=this[_0x115f53(0x196)][_0x115f53(0x19b)][_0x115f53(0x1a5)][_0x115f53(0x1c6)][_0x115f53(0x19f)]();_0x1f5e77&&_0x1f5e77[_0x115f53(0x1c8)](_0x115f53(0x1a3))&&this[_0x115f53(0x196)][_0x115f53(0x1d0)][_0x115f53(0x1a8)][_0x115f53(0x184)](_0x115f53(0x1ba),()=>{const _0x20b455=_0x115f53;_0x2d84b3(this[_0x20b455(0x196)],_0x1f5e77);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x4d49c8,ObservableMixin as _0x2148ae}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x46e042}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5aed73}from'ckeditor5/src/icons.js';import _0x367f07 from'./uploadcareimageeditformview.js';import _0x385737 from'../../utils/uploadutils.js';import{getImageUrls as _0x1af142,getImageDimension as _0x35836c}from'../../utils/editingutils.js';import{isAncestor as _0x1c4749}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2148ae(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x97903d,_0x160a1f,_0x3b782d){super(),this['_editor']=_0x97903d,this['_dialog']=_0x160a1f,this['_imageElement']=_0x3b782d,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 _0x3f8151=this['_imageElement'],_0x418e17=_0x3f8151['getAttribute']('uploadcareImageId'),_0x4f381a=_0x3f8151['getAttribute']('src');if(_0x418e17)await this['_loadImageInfo'](_0x418e17,_0x4f381a);else{if(this['_imageCache']['has'](_0x4f381a)){const _0x3acfe2=this['_imageCache']['get'](_0x4f381a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3acfe2['url'],this['imageDimension']=_0x3acfe2['dimension'],this['imageId']=_0x3acfe2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c8e70}=this['_editor'],t=_0x4c8e70['t'],_0x225e26=new _0x367f07(_0x4c8e70,this['imageStatus'],this['_attributes']);_0x225e26['bind']('status')['to'](this,'imageStatus'),_0x225e26['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x225e26['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x225e26['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x225e26,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5aed73,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x225e26,'position':_0x46e042['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x225e26['focus']();},'onHide':()=>{_0x225e26['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x32b128=>!_0x1c4749(_0x32b128,_0x225e26['element'])}});}['_loadImageInfo'](_0x98d17d,_0x466d75){return _0x385737['getInfo'](_0x98d17d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x583242=>{const {width:_0x1f4309,height:_0x358b4b}=_0x583242['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x466d75,this['imageDimension']={'width':_0x1f4309,'height':_0x358b4b},this['imageId']=_0x98d17d;})['catch'](_0x4b29b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b29b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x565aad,_0x5ae16c){return this['_getImageAsFile'](_0x565aad)['then'](_0x513171=>_0x385737['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ae16c['signal'],'file':_0x513171,'onProgress':_0x44330b=>{_0x44330b&&_0x44330b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44330b['value']));}}))['then'](_0x2d7c55=>{const {width:_0x3c9b41,height:_0x43f6a4}=_0x2d7c55['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d7c55['cdnUrl'],this['imageDimension']={'width':_0x3c9b41,'height':_0x43f6a4},this['imageId']=_0x2d7c55['uuid'],this['imageUploadProgress']=null;const _0x102765=_0x565aad['getAttribute']('src');this['_imageCache']['set'](_0x102765,{'id':_0x2d7c55['uuid'],'url':_0x2d7c55['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ab923=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ab923['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x7487a4,_0x404370){_0x7487a4['on']('apply',(_0x249ef1,_0xfe9bfa)=>{this['_replaceImage'](_0x404370,_0xfe9bfa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x7487a4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x7487a4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x431486,_0x7ae301,_0x2789d0){const _0x521910=this['_editor'],{width:_0x42d382,height:_0xa5a80e}=_0x35836c(_0x7ae301,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x24283c,imageSources:_0x546e86}=_0x1af142(_0x7ae301,_0x42d382);_0x521910['model']['change'](_0x59b7c0=>{if('$graveyard'===_0x431486['root']['rootName']){_0x521910['execute']('insertImage',{'imageType':_0x431486['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x431486['getAttributes']()),'uploadcareImageId':_0x2789d0,'src':_0x24283c,'sources':_0x546e86,'width':_0x42d382,'height':_0xa5a80e}});const _0x49e093=_0x431486['getChildren']();_0x431486=_0x521910['model']['document']['selection']['getSelectedElement']();for(const _0x2d74c8 of _0x49e093)_0x59b7c0['append'](_0x59b7c0['cloneElement'](_0x2d74c8),_0x431486);}else _0x59b7c0['setSelection'](_0x431486,'on'),_0x521910['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x431486['getAttributes']()),'uploadcareImageId':_0x2789d0,'src':_0x24283c,'sources':_0x546e86,'width':_0x42d382,'height':_0xa5a80e},_0x431486);_0x59b7c0['setSelection'](_0x431486,'on');});}async['_getImageAsFile'](_0x133655){const _0x488aaf=_0x4d49c8['window'],_0x25ed1a=_0x4d49c8['document']['location']['href'],_0x45902d=new _0x488aaf['URL'](_0x133655['getAttribute']('src'),_0x25ed1a);if('data:'===_0x45902d['protocol']){const _0x4a03fb=_0x45902d['href']['split'](','),_0x43e458=_0x4a03fb[0x0]['match'](/:(.*?);/)[0x1],_0x1c031c=_0x43e458['split']('/')[0x1],_0x1e311e=_0x488aaf['atob'](_0x4a03fb[_0x4a03fb['length']-0x1]);let _0x6fb3ee=_0x1e311e['length'];const _0x1bbdb0=new _0x488aaf['Uint8Array'](_0x6fb3ee);for(;_0x6fb3ee--;)_0x1bbdb0[_0x6fb3ee]=_0x1e311e['charCodeAt'](_0x6fb3ee);return new _0x488aaf['File']([_0x1bbdb0],'image.'+_0x1c031c,{'type':_0x43e458});}const _0x46191c=_0x45902d['href']['split']('/'),_0x49e752=_0x46191c[_0x46191c['length']-0x1],_0x4759cd=_0x49e752['split']('.')[0x1];return _0x488aaf['fetch'](_0x45902d['href'])['then'](_0x30f136=>_0x30f136['clone']()['blob']())['then'](_0x14a6e3=>new _0x488aaf['File']([_0x14a6e3],_0x49e752,{'type':'image/'+_0x4759cd}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1c1234,_0x121fb6){const _0x2efee0=_0x3cd1,_0x5f0310=_0x1c1234();while(!![]){try{const _0x2e4394=-parseInt(_0x2efee0(0xbf))/0x1+parseInt(_0x2efee0(0xb5))/0x2+parseInt(_0x2efee0(0xb1))/0x3+parseInt(_0x2efee0(0xb6))/0x4*(-parseInt(_0x2efee0(0xbb))/0x5)+parseInt(_0x2efee0(0xb2))/0x6+-parseInt(_0x2efee0(0xc0))/0x7*(parseInt(_0x2efee0(0xb8))/0x8)+-parseInt(_0x2efee0(0xc1))/0x9*(-parseInt(_0x2efee0(0xbe))/0xa);if(_0x2e4394===_0x121fb6)break;else _0x5f0310['push'](_0x5f0310['shift']());}catch(_0x36e3cb){_0x5f0310['push'](_0x5f0310['shift']());}}}(_0x2da0,0xb3d16));function _0x2da0(){const _0x40a6f0=['4jZCdhX','set','2928ymshxX','ck-uploadcare-theme','imageSrc','1983895WZOYOD','uc-cloud-image-editor','setTemplate','104620BEDKUv','1011561uLViLr','11263bwyhde','1179NxtSLW','image-edit','1770618XnxDiM','1913880JpKezw','uc-light','bindTemplate','908120FXHeEr'];_0x2da0=function(){return _0x40a6f0;};return _0x2da0();}function _0x3cd1(_0x1440cf,_0x92e094){const _0x2da01e=_0x2da0();return _0x3cd1=function(_0x3cd17b,_0x1ff0e8){_0x3cd17b=_0x3cd17b-0xb0;let _0x7d0353=_0x2da01e[_0x3cd17b];return _0x7d0353;},_0x3cd1(_0x1440cf,_0x92e094);}import{View as _0x2718ec}from'ckeditor5/src/ui.js';export default class tt extends _0x2718ec{constructor(_0x1b63ed,_0x5de777){const _0x19a362=_0x3cd1;super(_0x1b63ed);const _0x4cecad=this[_0x19a362(0xb4)];this[_0x19a362(0xb7)](_0x19a362(0xba),''),this[_0x19a362(0xbd)]({'tag':_0x19a362(0xbc),'attributes':{..._0x5de777,'class':[_0x19a362(0xb3),_0x19a362(0xb9)],'ctx-name':_0x19a362(0xb0),'cdn-url':_0x4cecad['to'](_0x19a362(0xba))}});}}
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, 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
|
-
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
|
|
7
|
-
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
7
|
import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
|
|
11
8
|
/**
|
|
12
9
|
* A class representing the form error view of the Uploadcare image edit feature.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0xd3d8da,IconView as at,View as _0x18bec0}from'ckeditor5/src/ui.js';export default class rt extends _0x18bec0{constructor(_0xc00698){super(_0xc00698);const t=_0xc00698['t'];this['set']('errorType',null);const _0x418cf0=new _0xd3d8da(_0xc00698);_0x418cf0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x418cf0['withText']=!0x0,_0x418cf0['class']='ck-button-action',_0x418cf0['on']('execute',()=>{this['fire']('retry');}),_0x418cf0['bind']('isVisible')['to'](this,'errorType',_0x23e6b9=>'NotFound'!==_0x23e6b9);const _0x3a812e=new at();_0x3a812e['content']=et,_0x3a812e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x267691=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':[_0x3a812e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x267691['to']('errorType',_0x44f49f=>t('NotFound'!==_0x44f49f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x418cf0]},{'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'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x2bb11e,View as _0x3fba03}from'ckeditor5/src/ui.js';export default class ta extends _0x3fba03{constructor(_0x260f8b){super(_0x260f8b);const t=_0x260f8b['t'],_0x326457=this['bindTemplate'],_0x47aaf1=new _0x2bb11e();_0x47aaf1['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':[_0x47aaf1,{'text':_0x326457['to']('imageUploadProgress',_0x1eb16e=>t('Loading\x20image...')+'\x20('+(_0x1eb16e||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'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d6f2f=_0x29da;(function(_0xc824b2,_0x1e2227){const _0x32b031=_0x29da,_0x44e4c3=_0xc824b2();while(!![]){try{const _0x2cf169=-parseInt(_0x32b031(0x1ec))/0x1*(-parseInt(_0x32b031(0x1e3))/0x2)+-parseInt(_0x32b031(0x1cf))/0x3*(-parseInt(_0x32b031(0x1e9))/0x4)+parseInt(_0x32b031(0x1ea))/0x5*(-parseInt(_0x32b031(0x1e6))/0x6)+parseInt(_0x32b031(0x1e5))/0x7+parseInt(_0x32b031(0x1d7))/0x8*(-parseInt(_0x32b031(0x1ee))/0x9)+parseInt(_0x32b031(0x1be))/0xa*(parseInt(_0x32b031(0x1c5))/0xb)+parseInt(_0x32b031(0x1da))/0xc;if(_0x2cf169===_0x1e2227)break;else _0x44e4c3['push'](_0x44e4c3['shift']());}catch(_0x47cd5e){_0x44e4c3['push'](_0x44e4c3['shift']());}}}(_0x5e53,0x4cccf));import{View as _0x1f388f}from'ckeditor5/src/ui.js';import _0x4f35a4 from'./uploadcareimageeditformloadingview.js';import _0x13297e from'./uploadcareimageeditformerrorview.js';import _0xf04179 from'./uploadcareimageeditformeditingview.js';import _0x34e389 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x29da(_0x48b2ff,_0x218a78){const _0x5e5397=_0x5e53();return _0x29da=function(_0x29da48,_0x1b445c){_0x29da48=_0x29da48-0x1b8;let _0x1f20a9=_0x5e5397[_0x29da48];return _0x1f20a9;},_0x29da(_0x48b2ff,_0x218a78);}function _0x5e53(){const _0x584208=['ck-reset_all-excluded','retry','apply','addEventListener','_loadingView','39660zOBxXf','observe','addMany','uploading','detail','clear','element','1177zgEOAC','add','getFocusableElement','focus','target','cdnUrl','disconnect','cancel','ready','render','1137pXtFam','_setView','filter','setTemplate','_editingView','change:status','uc-cloud-image-editor','querySelector','24jmpKKb','nodeName','_errorView','2133300HsNZKT','addedNodes','once','ck-uploadcare-form','status','_addErrorViewListeners','toLowerCase','_waitForImageEditorComponent','length','2vnsLoF','error','2261028RjETan','276fVjKxQ','_addUploadcareImageEditorListeners','set','2064HTZhiw','63715bcSsUU','_focusableView','148457jRrFEk','_items','1105227YjFwXD','createCollection','fire','div'];_0x5e53=function(){return _0x584208;};return _0x5e53();}export default class ii extends _0x34e389{[_0x4d6f2f(0x1ed)];[_0x4d6f2f(0x1bd)];[_0x4d6f2f(0x1d9)];[_0x4d6f2f(0x1d3)];[_0x4d6f2f(0x1eb)];constructor(_0x42a714,_0xe94846,_0x170db7){const _0x4708b7=_0x4d6f2f;super(_0x42a714),this[_0x4708b7(0x1ed)]=this[_0x4708b7(0x1ef)](),this[_0x4708b7(0x1bd)]=new _0x4f35a4(_0x42a714),this[_0x4708b7(0x1d9)]=new _0x13297e(_0x42a714),this[_0x4708b7(0x1d3)]=new _0xf04179(_0x42a714,_0x170db7),this[_0x4708b7(0x1eb)]=new _0x1f388f(_0x42a714),this[_0x4708b7(0x1eb)][_0x4708b7(0x1d2)](this[_0x4708b7(0x1c7)]()),this[_0x4708b7(0x1e8)](_0x4708b7(0x1de),_0xe94846),this[_0x4708b7(0x1d2)]({'tag':_0x4708b7(0x1b8),'attributes':{'class':['ck',_0x4708b7(0x1b9),_0x4708b7(0x1dd)],'tabindex':'-1'},'children':this[_0x4708b7(0x1ed)]}),this[_0x4708b7(0x1d0)](),this[_0x4708b7(0x1dc)](_0x4708b7(0x1ce),()=>{const _0x54efa8=_0x4708b7;this[_0x54efa8(0x1e1)](this[_0x54efa8(0x1c4)],_0x1f0972=>{const _0x430322=_0x54efa8;this[_0x430322(0x1e7)](_0x1f0972);});}),this['on'](_0x4708b7(0x1d4),()=>{const _0x21d752=_0x4708b7;this[_0x21d752(0x1d0)]();}),this[_0x4708b7(0x1df)]();}[_0x4d6f2f(0x1c8)](){const _0x51311d=_0x4d6f2f;this[_0x51311d(0x1c4)][_0x51311d(0x1c8)]();}[_0x4d6f2f(0x1d0)](){const _0x1e4564=_0x4d6f2f;switch(this[_0x1e4564(0x1ed)][_0x1e4564(0x1c3)](),this[_0x1e4564(0x1de)]){case _0x1e4564(0x1c1):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c6)](this[_0x1e4564(0x1bd)]);break;case _0x1e4564(0x1e4):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c6)](this[_0x1e4564(0x1d9)]);break;case _0x1e4564(0x1cd):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c0)]([this[_0x1e4564(0x1d3)],this[_0x1e4564(0x1eb)]]);}}[_0x4d6f2f(0x1e1)](_0x34cb17,_0xf3fd1a){const _0x1c5fed=_0x4d6f2f,_0x4a4c0c=_0x1c5fed(0x1d5),_0x15b494=_0x34cb17[_0x1c5fed(0x1d6)](_0x4a4c0c);if(_0x15b494)return _0xf3fd1a(_0x15b494);const _0x5e43d8=new MutationObserver(_0x8c476=>{const _0x461d54=_0x1c5fed,_0x2743ae=_0x8c476[_0x461d54(0x1d1)](_0x4ae218=>_0x4ae218[_0x461d54(0x1c9)]===_0x34cb17&&_0x4ae218[_0x461d54(0x1db)][_0x461d54(0x1e2)]>0x0&&_0x4ae218[_0x461d54(0x1db)][0x0][_0x461d54(0x1d8)][_0x461d54(0x1e0)]()===_0x4a4c0c);_0x2743ae[_0x461d54(0x1e2)]&&(_0x5e43d8[_0x461d54(0x1cb)](),_0xf3fd1a(_0x2743ae[0x0][_0x461d54(0x1db)][0x0]));});_0x5e43d8[_0x1c5fed(0x1bf)](_0x34cb17,{'childList':!0x0,'subtree':!0x0});}[_0x4d6f2f(0x1e7)](_0xdcdc16){const _0x436fc4=_0x4d6f2f;_0xdcdc16[_0x436fc4(0x1bc)](_0x436fc4(0x1bb),_0x19d6f7=>{const _0xa57f4c=_0x436fc4;this[_0xa57f4c(0x1f0)](_0xa57f4c(0x1bb),{'imageSrc':_0x19d6f7[_0xa57f4c(0x1c2)][_0xa57f4c(0x1ca)]});}),_0xdcdc16[_0x436fc4(0x1bc)](_0x436fc4(0x1cc),()=>{const _0x7bb32f=_0x436fc4;this[_0x7bb32f(0x1f0)](_0x7bb32f(0x1cc));});}[_0x4d6f2f(0x1df)](){const _0x3be20a=_0x4d6f2f;this[_0x3be20a(0x1d9)]['on'](_0x3be20a(0x1ba),()=>{const _0x10218f=_0x3be20a;this[_0x10218f(0x1f0)](_0x10218f(0x1ba));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x291246=_0x14e3;(function(_0x4d54e9,_0x449afe){const _0x3d7755=_0x14e3,_0x55c9db=_0x4d54e9();while(!![]){try{const _0x438215=-parseInt(_0x3d7755(0x139))/0x1*(-parseInt(_0x3d7755(0x152))/0x2)+parseInt(_0x3d7755(0x14f))/0x3*(parseInt(_0x3d7755(0x143))/0x4)+-parseInt(_0x3d7755(0x13c))/0x5+-parseInt(_0x3d7755(0x148))/0x6*(-parseInt(_0x3d7755(0x14a))/0x7)+-parseInt(_0x3d7755(0x138))/0x8+parseInt(_0x3d7755(0x13e))/0x9*(-parseInt(_0x3d7755(0x14d))/0xa)+-parseInt(_0x3d7755(0x154))/0xb*(parseInt(_0x3d7755(0x155))/0xc);if(_0x438215===_0x449afe)break;else _0x55c9db['push'](_0x55c9db['shift']());}catch(_0x87023d){_0x55c9db['push'](_0x55c9db['shift']());}}}(_0xb03c,0x33936));import{Command as _0x464dea}from'ckeditor5/src/core.js';import{Dialog as _0x5763ce}from'ckeditor5/src/ui.js';import _0x5e28ad from'./ui/uploadcareimageeditcontroller.js';function _0x14e3(_0x3a4107,_0x4266f7){const _0xb03c77=_0xb03c();return _0x14e3=function(_0x14e346,_0x5d785f){_0x14e346=_0x14e346-0x137;let _0x3f4a3a=_0xb03c77[_0x14e346];return _0x3f4a3a;},_0x14e3(_0x3a4107,_0x4266f7);}import{createEditabilityChecker as _0x50bf72}from'../utils/editingutils.js';function _0xb03c(){const _0x32a004=['4116ItODDf','unbind','selection','imageBlock','getSelectedElement','1067072WldSPn','71rvnDJf','uploadcare.allowExternalImagesEditing','refresh','930360DofgPx','element','427509inLqhW','_isEditable','isActive','isEnabled','document','1059952oMajeX','requires','imageEditController','bind','get','30MYkAsy','config','477470zgmlZu','execute','set','60sutpOg','editor','3SWCEGe','plugins','imageInline','8834LcdZee','model','3333qEoUoW'];_0xb03c=function(){return _0x32a004;};return _0xb03c();}export default class W extends _0x464dea{[_0x291246(0x145)];static get[_0x291246(0x144)](){return[_0x5763ce];}[_0x291246(0x13f)];constructor(_0x30aa45){const _0x465993=_0x291246;super(_0x30aa45),this[_0x465993(0x145)]=void 0x0,this[_0x465993(0x13f)]=_0x50bf72(_0x30aa45[_0x465993(0x149)][_0x465993(0x147)](_0x465993(0x13a))||[]),this[_0x465993(0x14c)]({'isActive':!0x1});}[_0x291246(0x13b)](){const _0x30d542=_0x291246,_0x12cc67=this[_0x30d542(0x14e)][_0x30d542(0x153)][_0x30d542(0x142)][_0x30d542(0x157)][_0x30d542(0x137)]();this[_0x30d542(0x141)]=this[_0x30d542(0x13f)](_0x12cc67);}[_0x291246(0x14b)](){const _0x189adb=_0x291246;this[_0x189adb(0x145)]&&(this[_0x189adb(0x156)](_0x189adb(0x140)),this[_0x189adb(0x145)]=void 0x0);const _0x331c9c=this[_0x189adb(0x14e)][_0x189adb(0x153)][_0x189adb(0x142)][_0x189adb(0x157)][_0x189adb(0x137)]();_0x331c9c&&(_0x331c9c['is'](_0x189adb(0x13d),_0x189adb(0x158))||_0x331c9c['is'](_0x189adb(0x13d),_0x189adb(0x151)))&&(this[_0x189adb(0x145)]=new _0x5e28ad(this[_0x189adb(0x14e)],this[_0x189adb(0x14e)][_0x189adb(0x150)][_0x189adb(0x147)](_0x5763ce),_0x331c9c),this[_0x189adb(0x146)](_0x189adb(0x140))['to'](this[_0x189adb(0x145)],_0x189adb(0x140)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5708(_0x55242e,_0x3ac0c0){const _0x5b3484=_0x5b34();return _0x5708=function(_0x570852,_0x240b6e){_0x570852=_0x570852-0x128;let _0x23afb6=_0x5b3484[_0x570852];return _0x23afb6;},_0x5708(_0x55242e,_0x3ac0c0);}const _0x38e93a=_0x5708;(function(_0x305706,_0x4e74e7){const _0x16c3f6=_0x5708,_0x4f82c7=_0x305706();while(!![]){try{const _0x37bb54=-parseInt(_0x16c3f6(0x137))/0x1*(parseInt(_0x16c3f6(0x12b))/0x2)+parseInt(_0x16c3f6(0x134))/0x3+-parseInt(_0x16c3f6(0x13e))/0x4+parseInt(_0x16c3f6(0x12f))/0x5*(-parseInt(_0x16c3f6(0x130))/0x6)+parseInt(_0x16c3f6(0x132))/0x7*(parseInt(_0x16c3f6(0x129))/0x8)+-parseInt(_0x16c3f6(0x133))/0x9*(parseInt(_0x16c3f6(0x138))/0xa)+parseInt(_0x16c3f6(0x13b))/0xb;if(_0x37bb54===_0x4e74e7)break;else _0x4f82c7['push'](_0x4f82c7['shift']());}catch(_0x210cef){_0x4f82c7['push'](_0x4f82c7['shift']());}}}(_0x5b34,0xebcd0));import{Plugin as _0x2f1843}from'ckeditor5/src/core.js';import{Notification as _0x4b464c}from'ckeditor5/src/ui.js';import _0x392dcb from'./uploadcareimageeditcommand.js';import _0x133cf0 from'./uploadcareimagereplacecommand.js';import _0x1fdbfe from'../uploadcareediting.js';export default class g extends _0x2f1843{static get[_0x38e93a(0x12e)](){const _0x37c722=_0x38e93a;return _0x37c722(0x13c);}static get[_0x38e93a(0x136)](){const _0x1def03=_0x38e93a;return[_0x1fdbfe,_0x4b464c,_0x1def03(0x12d),_0x1def03(0x139)];}static get[_0x38e93a(0x131)](){return!0x0;}static get[_0x38e93a(0x12c)](){return!0x0;}[_0x38e93a(0x135)](){const _0x3a6487=_0x38e93a,{editor:_0x49e952}=this;_0x49e952[_0x3a6487(0x13d)][_0x3a6487(0x128)](_0x3a6487(0x13a),new _0x392dcb(_0x49e952)),_0x49e952[_0x3a6487(0x13d)][_0x3a6487(0x128)](_0x3a6487(0x12a),new _0x133cf0(_0x49e952));}}function _0x5b34(){const _0x5368fa=['110AqFWIZ','ImageEditing','uploadcareImageEdit','23309748pNVxSi','UploadcareImageEditEditing','commands','4127832mbbBJj','add','10232DHSGlF','uploadcareImageReplace','402tNojZw','isPremiumPlugin','ImageUtils','pluginName','15zctrzI','1293186xcwuqP','isOfficialPlugin','9989LjSHRD','696402Gonhos','1023231JmLObX','init','requires','3929pRWAdV'];_0x5b34=function(){return _0x5368fa;};return _0x5b34();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x39d494}from'ckeditor5/src/core.js';import{ButtonView as _0x1a9042}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x25fcf9}from'ckeditor5/src/icons.js';import{createElement as _0x1ee08c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x39d494{['_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 _0x52706e=this['editor'];_0x52706e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1bab18=>{const _0x290c5a=_0x52706e['commands']['get']('uploadcareImageEdit'),_0x55e187=new _0x1a9042(_0x1bab18),t=_0x1bab18['t'];return _0x55e187['set']({'icon':_0x25fcf9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55e187['bind']('isEnabled')['to'](_0x290c5a),_0x55e187['bind']('isOn')['to'](_0x290c5a,'isActive'),this['listenTo'](_0x55e187,'execute',()=>{_0x52706e['execute']('uploadcareImageEdit'),_0x52706e['editing']['view']['focus']();}),_0x55e187;}),this['_initConfig']();}['_initConfig'](){const _0x103ce4=_0x1ee08c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x103ce4),this['listenTo'](this['editor'],'destroy',()=>{_0x103ce4['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x224b8e=_0x6ff9;function _0x2703(){const _0x3772dd=['srcset','3488015IdcJgk','936144JGUdtO','3395220fjbNne','document','sizes','selection','getSelectedElement','567922wAKvhb','model','setAttributes','126341nDkxmv','refresh','change','removeAttribute','isEnabled','845922SQInTj','2276379wnKklk','editor','element','imageBlock','imageInline','execute'];_0x2703=function(){return _0x3772dd;};return _0x2703();}(function(_0x3bf89a,_0x1fab33){const _0x1a1f39=_0x6ff9,_0x36c277=_0x3bf89a();while(!![]){try{const _0x252fd0=parseInt(_0x1a1f39(0x155))/0x1+-parseInt(_0x1a1f39(0x152))/0x2+parseInt(_0x1a1f39(0x143))/0x3+parseInt(_0x1a1f39(0x14d))/0x4+-parseInt(_0x1a1f39(0x14b))/0x5+-parseInt(_0x1a1f39(0x14c))/0x6+parseInt(_0x1a1f39(0x144))/0x7;if(_0x252fd0===_0x1fab33)break;else _0x36c277['push'](_0x36c277['shift']());}catch(_0x59722b){_0x36c277['push'](_0x36c277['shift']());}}}(_0x2703,0x6c939));function _0x6ff9(_0x523ebf,_0x13159c){const _0x2703b1=_0x2703();return _0x6ff9=function(_0x6ff9fb,_0x2bb8b0){_0x6ff9fb=_0x6ff9fb-0x143;let _0x512e42=_0x2703b1[_0x6ff9fb];return _0x512e42;},_0x6ff9(_0x523ebf,_0x13159c);}import{Command as _0x9f896d}from'ckeditor5/src/core.js';export default class Y extends _0x9f896d{[_0x224b8e(0x156)](){const _0x2a6241=_0x224b8e,_0x52e972=this[_0x2a6241(0x145)][_0x2a6241(0x153)][_0x2a6241(0x14e)][_0x2a6241(0x150)][_0x2a6241(0x151)]();this[_0x2a6241(0x159)]=Boolean(_0x52e972&&(_0x52e972['is'](_0x2a6241(0x146),_0x2a6241(0x147))||_0x52e972['is'](_0x2a6241(0x146),_0x2a6241(0x148))));}[_0x224b8e(0x149)](_0xde67b8){const _0x3db3c4=_0x224b8e,_0x11b084=this[_0x3db3c4(0x145)][_0x3db3c4(0x153)][_0x3db3c4(0x14e)][_0x3db3c4(0x150)][_0x3db3c4(0x151)]();this[_0x3db3c4(0x145)][_0x3db3c4(0x153)][_0x3db3c4(0x157)](_0x14c286=>{const _0xa4597a=_0x3db3c4;_0x14c286[_0xa4597a(0x154)](_0xde67b8,_0x11b084),_0x14c286[_0xa4597a(0x158)](_0xa4597a(0x14a),_0x11b084),_0x14c286[_0xa4597a(0x158)](_0xa4597a(0x14f),_0x11b084);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2b73c8=_0xf3fa;function _0x53c1(){var _0x4fe455=['pluginName','248195xiYeax','154551HKjLsp','75222aVseDq','23536GlpKbw','18TxxqEd','isOfficialPlugin','requires','isPremiumPlugin','962232SnrDCH','84gHHJzV','UploadcareImageEdit','403202oOOfxt','2951361fQtroD'];_0x53c1=function(){return _0x4fe455;};return _0x53c1();}(function(_0x1af758,_0x1d549b){var _0xf3428b=_0xf3fa,_0x51613b=_0x1af758();while(!![]){try{var _0x22a415=parseInt(_0xf3428b(0x73))/0x1+-parseInt(_0xf3428b(0x7d))/0x2+-parseInt(_0xf3428b(0x7b))/0x3*(parseInt(_0xf3428b(0x75))/0x4)+-parseInt(_0xf3428b(0x72))/0x5*(-parseInt(_0xf3428b(0x76))/0x6)+-parseInt(_0xf3428b(0x74))/0x7+-parseInt(_0xf3428b(0x7a))/0x8+parseInt(_0xf3428b(0x7e))/0x9;if(_0x22a415===_0x1d549b)break;else _0x51613b['push'](_0x51613b['shift']());}catch(_0x180b11){_0x51613b['push'](_0x51613b['shift']());}}}(_0x53c1,0x20b83));import{Plugin as _0xc57f9f}from'ckeditor5/src/core.js';import _0x559f90 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xf3fa(_0x4d5cb6,_0x4d9ddd){var _0x53c16a=_0x53c1();return _0xf3fa=function(_0xf3fa6a,_0xbc53d1){_0xf3fa6a=_0xf3fa6a-0x71;var _0x5172c2=_0x53c16a[_0xf3fa6a];return _0x5172c2;},_0xf3fa(_0x4d5cb6,_0x4d9ddd);}import _0x597182 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xc57f9f{static get[_0x2b73c8(0x71)](){var _0x2a76ce=_0x2b73c8;return _0x2a76ce(0x7c);}static get[_0x2b73c8(0x78)](){return[_0x559f90,_0x597182];}static get[_0x2b73c8(0x77)](){return!0x0;}static get[_0x2b73c8(0x79)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e788b=_0x5408;(function(_0x35c3f0,_0x149e52){const _0x2ec8b1=_0x5408,_0x5e93af=_0x35c3f0();while(!![]){try{const _0x185be7=-parseInt(_0x2ec8b1(0x188))/0x1*(-parseInt(_0x2ec8b1(0x1ae))/0x2)+parseInt(_0x2ec8b1(0x189))/0x3*(parseInt(_0x2ec8b1(0x1a9))/0x4)+-parseInt(_0x2ec8b1(0x186))/0x5*(parseInt(_0x2ec8b1(0x1ab))/0x6)+-parseInt(_0x2ec8b1(0x17e))/0x7*(parseInt(_0x2ec8b1(0x1a7))/0x8)+-parseInt(_0x2ec8b1(0x167))/0x9*(-parseInt(_0x2ec8b1(0x165))/0xa)+-parseInt(_0x2ec8b1(0x18e))/0xb*(-parseInt(_0x2ec8b1(0x198))/0xc)+-parseInt(_0x2ec8b1(0x15b))/0xd;if(_0x185be7===_0x149e52)break;else _0x5e93af['push'](_0x5e93af['shift']());}catch(_0x4ece17){_0x5e93af['push'](_0x5e93af['shift']());}}}(_0x2559,0x1fb3e));import{Plugin as _0xacc3fe}from'ckeditor5/src/core.js';function _0x5408(_0x250f0c,_0x2b640c){const _0x25596b=_0x2559();return _0x5408=function(_0x5408f7,_0x186b6b){_0x5408f7=_0x5408f7-0x15b;let _0x1b7559=_0x25596b[_0x5408f7];return _0x1b7559;},_0x5408(_0x250f0c,_0x2b640c);}import{IconDropbox as _0x43bc65,IconFacebook as _0x46991b,IconGoogleDrive as _0x592291,IconGooglePhotos as _0x37332c,IconUploadcareImageUpload as _0x3b6d26,IconInstagram as _0x551282,IconUploadcareLink as _0x2262f7,IconOneDrive as _0x493d74}from'ckeditor5/src/icons.js';import{ButtonView as _0x1766fe,MenuBarMenuListItemButtonView as _0x8b8f02}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x401319}from'./uploadcareconfig.js';import{getTranslation as _0x44ca39}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x2559(){const _0x13ca54=['entries','7998xPcqFJ','Replace','OneDrive','6uBpKOs','type','5826587RfSKUR','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','licenseKey','GPhotos','uploadcareLicenseKeyExpired','expired','_getIntegrationKey','forEach','domainLimit','70CIMqyS','uploadcareLicenseKeyNotAllowed','198153vuXWRW','execute','uploadcare','featureNotAllowed','GDrive','uploadcareLicenseKeyTrialLimit','Local','editor','map','destroy','config','uploadcareLicenseKeyInvalid','isImageSelected','uploadcareLicenseKeyValid','plugins','_createMenuBarButtons','_normalizeConfigSourceList','get','isOfficialPlugin','uploadcare.uploader.sourceList','assetManager','uploadcareLicenseKeyEvaluationLimit','_createButton','1806LlTzis','icon','Dropbox','withText','text','invalid','tooltip','label','10vPJSKn','init','61889hunTqc','432354EvNqgT','registerIntegration','has','ImageInsertUI','usageLimit','2458423YwjMHe','pluginName','UploadcareUI','Uploadcare','URL','isEnabled','_showLicenseError','trialLimit','isPremiumPlugin','evaluationLimit','12omMoUk','bind','locale','uploadcareLicenseKeyDomainLimit','reduce','_createToolbarButton','Instagram','push','commands','upload','Facebook','url','Insert','afterInit','shortText','3928ZnZJax','_createDropdownButtons','4RYlTBp'];_0x2559=function(){return _0x13ca54;};return _0x2559();}export default class e extends _0xacc3fe{[_0x5e788b(0x15e)];[_0x5e788b(0x15c)];static get[_0x5e788b(0x18f)](){const _0x3d5dec=_0x5e788b;return _0x3d5dec(0x190);}static get[_0x5e788b(0x179)](){return!0x0;}static get[_0x5e788b(0x196)](){return!0x0;}[_0x5e788b(0x187)](){const _0x1ea24a=_0x5e788b;this[_0x1ea24a(0x15e)]=this[_0x1ea24a(0x16e)][_0x1ea24a(0x171)][_0x1ea24a(0x178)](_0x1ea24a(0x15e));const _0x26d1b4=this[_0x1ea24a(0x16e)];this[_0x1ea24a(0x15c)]=setInterval(()=>{const _0x53d5b4=_0x1ea24a;let _0x2d857b;for(const _0x1545d2 in _0x26d1b4){const _0x57e28d=_0x1545d2,_0x2b7e54=_0x26d1b4[_0x57e28d];if(_0x53d5b4(0x174)==_0x2b7e54||_0x53d5b4(0x172)==_0x2b7e54||_0x53d5b4(0x160)==_0x2b7e54||_0x53d5b4(0x19b)==_0x2b7e54||_0x53d5b4(0x166)==_0x2b7e54||_0x53d5b4(0x17c)==_0x2b7e54||_0x53d5b4(0x16c)==_0x2b7e54||_0x53d5b4(0x15d)==_0x2b7e54){delete _0x26d1b4[_0x57e28d],_0x2d857b=_0x2b7e54,clearInterval(this[_0x53d5b4(0x15c)]),this[_0x53d5b4(0x15c)]=void 0x0;break;}}_0x53d5b4(0x172)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x183)),_0x53d5b4(0x160)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x161)),_0x53d5b4(0x19b)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x164)),_0x53d5b4(0x166)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x16a),_0x53d5b4(0x191)),_0x53d5b4(0x17c)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x197)),_0x53d5b4(0x16c)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x195)),_0x53d5b4(0x15d)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x18d));},0x3e8);}[_0x5e788b(0x1a5)](){const _0x46853d=_0x5e788b,{editor:_0x530aa3}=this,_0x526f52=_0x530aa3[_0x46853d(0x1a0)][_0x46853d(0x178)](_0x46853d(0x169));if(!_0x526f52)return;const _0x162dbd=this[_0x46853d(0x177)](_0x530aa3[_0x46853d(0x171)][_0x46853d(0x178)](_0x46853d(0x17a)))[_0x46853d(0x19c)]((_0x501b8b,_0x5db96f)=>{const _0x2ba1d9=_0x46853d,_0x20cdce=this[_0x2ba1d9(0x162)](_0x5db96f[_0x2ba1d9(0x1af)]);return _0x501b8b[_0x20cdce]||(_0x501b8b[_0x20cdce]=[]),_0x501b8b[_0x20cdce][_0x2ba1d9(0x19f)](_0x5db96f),_0x501b8b;},{});_0x530aa3[_0x46853d(0x175)][_0x46853d(0x18b)](_0x46853d(0x18c))&&_0x530aa3[_0x46853d(0x1a0)][_0x46853d(0x178)](_0x46853d(0x169))&&Object[_0x46853d(0x1aa)](_0x162dbd)[_0x46853d(0x163)](([_0x463eea,_0x1d772a])=>{const _0x6918bd=_0x46853d;_0x530aa3[_0x6918bd(0x175)][_0x6918bd(0x178)](_0x6918bd(0x18c))[_0x6918bd(0x18a)]({'name':_0x463eea,'observable':()=>_0x526f52,'buttonViewCreator':()=>this[_0x6918bd(0x19d)](_0x1d772a),'formViewCreator':()=>this[_0x6918bd(0x1a8)](_0x1d772a),'menuBarButtonViewCreator':()=>this[_0x6918bd(0x176)](_0x1d772a),'override':_0x6918bd(0x17b)!==_0x463eea});});}[_0x5e788b(0x170)](){const _0x15327c=_0x5e788b;super[_0x15327c(0x170)](),this[_0x15327c(0x15c)]&&clearInterval(this[_0x15327c(0x15c)]);}[_0x5e788b(0x177)](_0x1b6e60){const _0x40522c=_0x5e788b,{locale:_0x1e6fdd}=this[_0x40522c(0x16e)];return _0x1b6e60[_0x40522c(0x16f)](_0x2e7ddb=>{const _0x5f430c=_0x40522c,_0x4ef898=_0x44ca39(_0x1e6fdd,_0x2e7ddb,_0x5f430c(0x1a4));switch(_0x2e7ddb){case _0x401319[_0x5f430c(0x16d)]:return{'icon':_0x3b6d26,'type':_0x401319[_0x5f430c(0x16d)],..._0x4ef898};case _0x401319[_0x5f430c(0x192)]:return{'icon':_0x2262f7,'type':_0x401319[_0x5f430c(0x192)],..._0x4ef898};case _0x401319[_0x5f430c(0x180)]:return{'icon':_0x43bc65,'type':_0x401319[_0x5f430c(0x180)],..._0x4ef898};case _0x401319[_0x5f430c(0x1a2)]:return{'icon':_0x46991b,'type':_0x401319[_0x5f430c(0x1a2)],..._0x4ef898};case _0x401319[_0x5f430c(0x16b)]:return{'icon':_0x592291,'type':_0x401319[_0x5f430c(0x16b)],..._0x4ef898};case _0x401319[_0x5f430c(0x15f)]:return{'icon':_0x37332c,'type':_0x401319[_0x5f430c(0x15f)],..._0x4ef898};case _0x401319[_0x5f430c(0x19e)]:return{'icon':_0x551282,'type':_0x401319[_0x5f430c(0x19e)],..._0x4ef898};case _0x401319[_0x5f430c(0x1ad)]:return{'icon':_0x493d74,'type':_0x401319[_0x5f430c(0x1ad)],..._0x4ef898};}});}[_0x5e788b(0x162)](_0x1ab864){const _0x34b572=_0x5e788b;switch(_0x1ab864){case _0x401319[_0x34b572(0x16d)]:return _0x34b572(0x1a1);case _0x401319[_0x34b572(0x192)]:return _0x34b572(0x1a3);default:return _0x34b572(0x17b);}}[_0x5e788b(0x17d)](_0x568fdd,_0x73ba0e){const _0x1632c9=_0x5e788b,_0x4f2edc=this[_0x1632c9(0x16e)],_0x4eaac5=new _0x568fdd(_0x4f2edc[_0x1632c9(0x19a)]),_0x23f8a3=_0x4f2edc[_0x1632c9(0x1a0)][_0x1632c9(0x178)](_0x1632c9(0x169));return _0x4eaac5[_0x1632c9(0x199)](_0x1632c9(0x193))['to'](_0x23f8a3),_0x4eaac5['on'](_0x1632c9(0x168),()=>{const _0x94029a=_0x1632c9;_0x23f8a3[_0x94029a(0x168)](_0x73ba0e);}),_0x4eaac5;}[_0x5e788b(0x19d)](_0x1417cb){const _0x4c96f6=_0x5e788b,{locale:_0x5c41e8}=this[_0x4c96f6(0x16e)],_0x4f5d6e=this[_0x4c96f6(0x16e)][_0x4c96f6(0x175)][_0x4c96f6(0x178)](_0x4c96f6(0x18c)),_0x40d9d6=_0x1417cb[0x0],_0x403117=this[_0x4c96f6(0x17d)](_0x1766fe,_0x40d9d6[_0x4c96f6(0x1af)]);return _0x403117[_0x4c96f6(0x17f)]=_0x40d9d6[_0x4c96f6(0x17f)],_0x403117[_0x4c96f6(0x199)](_0x4c96f6(0x185))['to'](_0x4f5d6e,_0x4c96f6(0x173),_0x4d7291=>_0x44ca39(_0x5c41e8,_0x40d9d6[_0x4c96f6(0x1af)],_0x4d7291?_0x4c96f6(0x1ac):_0x4c96f6(0x1a4))[_0x4c96f6(0x182)]),_0x403117[_0x4c96f6(0x184)]=!0x0,_0x403117;}[_0x5e788b(0x1a8)](_0x4d2ea4){const _0x116c07=_0x5e788b,{locale:_0x467db7}=this[_0x116c07(0x16e)],_0x575cb3=this[_0x116c07(0x16e)][_0x116c07(0x175)][_0x116c07(0x178)](_0x116c07(0x18c));return _0x4d2ea4[_0x116c07(0x16f)](_0x466970=>{const _0x3ad910=_0x116c07,_0x3bbfcc=this[_0x3ad910(0x17d)](_0x1766fe,_0x466970[_0x3ad910(0x1af)]);return _0x3bbfcc[_0x3ad910(0x181)]=!0x0,_0x3bbfcc[_0x3ad910(0x17f)]=_0x466970[_0x3ad910(0x17f)],_0x3bbfcc[_0x3ad910(0x199)](_0x3ad910(0x185))['to'](_0x575cb3,_0x3ad910(0x173),_0x4c6f1e=>_0x44ca39(_0x467db7,_0x466970[_0x3ad910(0x1af)],_0x4c6f1e?_0x3ad910(0x1ac):_0x3ad910(0x1a4))[_0x3ad910(0x182)]),_0x3bbfcc;});}[_0x5e788b(0x176)](_0x5c4cd2){const _0x660af7=_0x5e788b;return _0x5c4cd2[_0x660af7(0x16f)](_0x13ebc8=>{const _0x128013=_0x660af7,_0x4c91f3=this[_0x128013(0x17d)](_0x8b8f02,_0x13ebc8[_0x128013(0x1af)]);return _0x4c91f3[_0x128013(0x17f)]=_0x13ebc8[_0x128013(0x17f)],_0x4c91f3[_0x128013(0x185)]=_0x13ebc8[_0x128013(0x1a6)],_0x4c91f3;});}}
|