@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260126.0 → 0.0.0-nightly-next-20260126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
- package/{src → dist}/uploadcare.d.ts +1 -1
- package/{src → dist}/uploadcarecommand.d.ts +2 -2
- package/{src → dist}/uploadcareconfig.d.ts +1 -1
- package/{src → dist}/uploadcareediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit.d.ts +1 -1
- package/{src → dist}/uploadcareui.d.ts +1 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/package.json +23 -46
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/lang/contexts.json +0 -24
- 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/be.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/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
- package/theme/uploadcare-form.css +0 -201
- package/theme/uploadcare-theme.css +0 -20
- package/theme/uploadcareimageedit.css +0 -64
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/common-translations.d.ts +0 -0
- /package/{src → dist}/utils/editingutils.d.ts +0 -0
- /package/{src → dist}/utils/isancestor.d.ts +0 -0
- /package/{src → dist}/utils/uploadutils.d.ts +0 -0
package/lang/translations/zh.po
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: zh_TW\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "The label for the insert image with Dropbox dropdown button."
|
|
15
|
-
msgid "Insert with Dropbox"
|
|
16
|
-
msgstr "使用 Dropbox 插入"
|
|
17
|
-
|
|
18
|
-
msgctxt "The label for the replace image with Dropbox dropdown button."
|
|
19
|
-
msgid "Replace with Dropbox"
|
|
20
|
-
msgstr "使用 Dropbox 替換"
|
|
21
|
-
|
|
22
|
-
msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
|
|
23
|
-
msgid "With Dropbox"
|
|
24
|
-
msgstr "使用 Dropbox"
|
|
25
|
-
|
|
26
|
-
msgctxt "The label for the insert image with Facebook dropdown button."
|
|
27
|
-
msgid "Insert with Facebook"
|
|
28
|
-
msgstr "使用 Facebook 插入"
|
|
29
|
-
|
|
30
|
-
msgctxt "The label for the replace image with Facebook dropdown button."
|
|
31
|
-
msgid "Replace with Facebook"
|
|
32
|
-
msgstr "插入 Facebook 替換"
|
|
33
|
-
|
|
34
|
-
msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
|
|
35
|
-
msgid "With Facebook"
|
|
36
|
-
msgstr "使用 Facebook"
|
|
37
|
-
|
|
38
|
-
msgctxt "The label for the insert image with Google Drive dropdown button."
|
|
39
|
-
msgid "Insert with Google Drive"
|
|
40
|
-
msgstr "使用 Google 雲端硬碟插入"
|
|
41
|
-
|
|
42
|
-
msgctxt "The label for the replace image with Google Drive dropdown button."
|
|
43
|
-
msgid "Replace with Google Drive"
|
|
44
|
-
msgstr "使用 Google 雲端硬碟替換"
|
|
45
|
-
|
|
46
|
-
msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
|
|
47
|
-
msgid "With Google Drive"
|
|
48
|
-
msgstr "使用 Google 雲端硬碟"
|
|
49
|
-
|
|
50
|
-
msgctxt "The label for the insert image with Google Photos dropdown button."
|
|
51
|
-
msgid "Insert with Google Photos"
|
|
52
|
-
msgstr "使用 Google 相簿插入"
|
|
53
|
-
|
|
54
|
-
msgctxt "The label for the replace image with Google Photos dropdown button."
|
|
55
|
-
msgid "Replace with Google Photos"
|
|
56
|
-
msgstr "使用 Google 相簿替換"
|
|
57
|
-
|
|
58
|
-
msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
|
|
59
|
-
msgid "With Google Photos"
|
|
60
|
-
msgstr "使用 Google 相簿"
|
|
61
|
-
|
|
62
|
-
msgctxt "The label for the insert image with OneDrive dropdown button."
|
|
63
|
-
msgid "Insert with OneDrive"
|
|
64
|
-
msgstr "使用 OneDrive 插入"
|
|
65
|
-
|
|
66
|
-
msgctxt "The label for the replace image with OneDrive dropdown button."
|
|
67
|
-
msgid "Replace with OneDrive"
|
|
68
|
-
msgstr "使用 OneDrive 替換"
|
|
69
|
-
|
|
70
|
-
msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
|
|
71
|
-
msgid "With OneDrive"
|
|
72
|
-
msgstr "使用 OneDrive"
|
|
73
|
-
|
|
74
|
-
msgctxt "The label for the replace image via URL dropdown button."
|
|
75
|
-
msgid "Replace via URL"
|
|
76
|
-
msgstr "透過 URL 替換"
|
|
77
|
-
|
|
78
|
-
msgctxt "The label for the image edit button and dialog."
|
|
79
|
-
msgid "Edit Image (Uploadcare)"
|
|
80
|
-
msgstr "編輯圖片"
|
|
81
|
-
|
|
82
|
-
msgctxt "The label shown in the image edit dialog when the image is being uploaded."
|
|
83
|
-
msgid "Loading image..."
|
|
84
|
-
msgstr "正在載入圖片..."
|
|
85
|
-
|
|
86
|
-
msgctxt "The main text shown in the image edit dialog when the image upload failed."
|
|
87
|
-
msgid "Unable to load"
|
|
88
|
-
msgstr "無法上傳"
|
|
89
|
-
|
|
90
|
-
msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
|
|
91
|
-
msgid "We were unable to load the image due to network connection issues."
|
|
92
|
-
msgstr "由於網路連線問題,我們無法上傳影像。"
|
|
93
|
-
|
|
94
|
-
msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
|
|
95
|
-
msgid "Try again (Uploadcare)"
|
|
96
|
-
msgstr "重試"
|
|
97
|
-
|
|
98
|
-
msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
|
|
99
|
-
msgid "The image was not found. Its source may have been removed."
|
|
100
|
-
msgstr "找不到影像。影像來源可能已移除。"
|
package/src/augmentation.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export{};
|
package/src/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
(function(_0x33159c,_0x1cfbc2){var _0x17c299=_0x5f1c,_0x45afc6=_0x33159c();while(!![]){try{var _0x127a48=parseInt(_0x17c299(0x124))/0x1*(parseInt(_0x17c299(0x128))/0x2)+-parseInt(_0x17c299(0x125))/0x3+-parseInt(_0x17c299(0x129))/0x4+parseInt(_0x17c299(0x12c))/0x5*(parseInt(_0x17c299(0x12d))/0x6)+parseInt(_0x17c299(0x127))/0x7+parseInt(_0x17c299(0x12b))/0x8+-parseInt(_0x17c299(0x126))/0x9*(parseInt(_0x17c299(0x12a))/0xa);if(_0x127a48===_0x1cfbc2)break;else _0x45afc6['push'](_0x45afc6['shift']());}catch(_0x326af0){_0x45afc6['push'](_0x45afc6['shift']());}}}(_0x5b10,0x9dd0f));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';function _0x5f1c(_0x3bc719,_0x302c2a){var _0x5b10ee=_0x5b10();return _0x5f1c=function(_0x5f1c13,_0x1793ac){_0x5f1c13=_0x5f1c13-0x124;var _0x2ecae8=_0x5b10ee[_0x5f1c13];return _0x2ecae8;},_0x5f1c(_0x3bc719,_0x302c2a);}export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5b10(){var _0x4bbf83=['24126EJnbSv','1VgSHXq','2915769dJVBdg','9jGXWmo','3063942DHWLPl','2495758xsTKTt','3864556pMZanK','5501270DrbhdH','6155760Jyunir','845xawBDR'];_0x5b10=function(){return _0x4bbf83;};return _0x5b10();}export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';export{UploadcareUploadAdapter}from'./uploadcareuploadadapter.js';import'./augmentation.js';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x2ba1a4=_0x7c48;(function(_0x42189a,_0x12a5af){const _0x510482=_0x7c48,_0x54c593=_0x42189a();while(!![]){try{const _0x214b0a=parseInt(_0x510482(0xf7))/0x1+-parseInt(_0x510482(0x107))/0x2+-parseInt(_0x510482(0x108))/0x3*(parseInt(_0x510482(0x138))/0x4)+-parseInt(_0x510482(0x120))/0x5+-parseInt(_0x510482(0x102))/0x6+-parseInt(_0x510482(0xf8))/0x7+parseInt(_0x510482(0x114))/0x8;if(_0x214b0a===_0x12a5af)break;else _0x54c593['push'](_0x54c593['shift']());}catch(_0x29d6fa){_0x54c593['push'](_0x54c593['shift']());}}}(_0x5244,0xe0741));function _0x7c48(_0x36a818,_0x5455e1){const _0x52446a=_0x5244();return _0x7c48=function(_0x7c48bc,_0x59559b){_0x7c48bc=_0x7c48bc-0xf3;let _0x43033e=_0x52446a[_0x7c48bc];return _0x43033e;},_0x7c48(_0x36a818,_0x5455e1);}import{IconUploadcareImageUpload as _0x35df6f}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x1344e1}from'ckeditor5/src/utils.js';import{Dialog as _0x38145f,DialogViewPosition as _0x33b48e}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x251c70}from'./uploadcareformview.js';import{UploadcareSource as _0x5c7552}from'../uploadcareconfig.js';import{getTranslation as _0x395085}from'../utils/common-translations.js';function _0x5244(){const _0x4564a0=['image','_editing','show','_insertAsset','1629039fcuvQt','60466pUSulz','idle','text','EDITOR_TOP_CENTER','width','getSelectedElement','focus','uploadCare','setCurrentActivity','imageBlock','5310102luMduL','_editor','getAPI','imageInline','document','1052540NzBcNJ','6081KlYcyL','uuid','_insertImage','addEventListener','imageInfo','removeAllFiles','plugins','_initDialog','linkHref','ctxElement','stopDelegating','_type','21170232ircRvr','change','_initListeners','setAttribute','insertImage','doneFlow','_formView','Replace','model','done-click','Insert','hide','8737605oyuuuh','_dialog','stopListening','setSelection','element','removeSelectionAttribute','status','Local','get','isOpen','allEntries','ucContextId','initFlow','_api','editing','detail','length','selection','view','getOutputCollectionState','configElement','getLastPosition','execute','destroy','372WQqwUf','attributes','source-list'];_0x5244=function(){return _0x4564a0;};return _0x5244();}import{getImageUrls as _0x5a9cba,getImageDimension as _0x1925db}from'../utils/editingutils.js';import{isAncestor as _0xe90f30}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1344e1(){[_0x2ba1a4(0x103)];[_0x2ba1a4(0x121)];[_0x2ba1a4(0xf4)];[_0x2ba1a4(0x12d)];[_0x2ba1a4(0x113)]=null;[_0x2ba1a4(0x11a)]=null;constructor(_0x4d292d,_0x31c4b9,_0x321799){const _0x103b1e=_0x2ba1a4;super(),this[_0x103b1e(0x103)]=_0x4d292d,this[_0x103b1e(0xf4)]=_0x31c4b9,this[_0x103b1e(0x121)]=_0x4d292d[_0x103b1e(0x10e)][_0x103b1e(0x128)](_0x38145f),this[_0x103b1e(0x12d)]=_0x31c4b9[_0x103b1e(0x111)][_0x103b1e(0x104)](),this[_0x103b1e(0x113)]=_0x321799,this[_0x103b1e(0xf4)][_0x103b1e(0x134)][_0x103b1e(0x117)](_0x103b1e(0x13a),this[_0x103b1e(0x113)]),this[_0x103b1e(0x10f)](),this[_0x103b1e(0x116)](),this[_0x103b1e(0x12d)][_0x103b1e(0x12c)]();}[_0x2ba1a4(0x137)](){const _0x5cbedf=_0x2ba1a4;this[_0x5cbedf(0x11a)]&&(this[_0x5cbedf(0x11a)][_0x5cbedf(0x137)](),this[_0x5cbedf(0x11a)]=null),this[_0x5cbedf(0x12d)]&&this[_0x5cbedf(0x12d)][_0x5cbedf(0x119)](),this[_0x5cbedf(0x122)](),this[_0x5cbedf(0x112)]();}[_0x2ba1a4(0x10f)](){const _0x4578eb=_0x2ba1a4,{locale:_0xacf569,model:_0x1f460b}=this[_0x4578eb(0x103)],_0x4c25d0=_0x1f460b[_0x4578eb(0x106)][_0x4578eb(0x131)][_0x4578eb(0xfd)](),_0x27ce8b=_0x4c25d0&&(_0x4c25d0['is'](_0x4578eb(0x124),_0x4578eb(0x101))||_0x4c25d0['is'](_0x4578eb(0x124),_0x4578eb(0x105)));this[_0x4578eb(0x11a)]=new _0x251c70(_0xacf569,this[_0x4578eb(0xf4)][_0x4578eb(0x12b)]),this[_0x4578eb(0x121)][_0x4578eb(0xf5)]({'id':_0x4578eb(0xff),'icon':_0x35df6f,'title':_0x395085(_0xacf569,this[_0x4578eb(0x113)],_0x27ce8b?_0x4578eb(0x11b):_0x4578eb(0x11e))[_0x4578eb(0xfa)],'content':this[_0x4578eb(0x11a)],'position':_0x33b48e[_0x4578eb(0xfb)],'isModal':!0x0,'onShow':()=>{const _0x44cf31=_0x4578eb;this[_0x44cf31(0x11a)][_0x44cf31(0xfe)]();},'onHide':()=>{const _0x5af8cc=_0x4578eb;this[_0x5af8cc(0x12d)][_0x5af8cc(0x10d)](),this[_0x5af8cc(0x103)][_0x5af8cc(0x12e)][_0x5af8cc(0x132)][_0x5af8cc(0xfe)](),this[_0x5af8cc(0x137)]();},'keystrokeHandlerOptions':{'filter':_0x940ae6=>!_0xe90f30(_0x940ae6,this[_0x4578eb(0x11a)][_0x4578eb(0x124)])}});}[_0x2ba1a4(0x116)](){const _0x3372d4=_0x2ba1a4;this[_0x3372d4(0xf4)][_0x3372d4(0x111)][_0x3372d4(0x10b)](_0x3372d4(0x11d),()=>{const _0x1a72ec=_0x3372d4,{allEntries:_0x198e4c}=this[_0x1a72ec(0x12d)][_0x1a72ec(0x133)]();this[_0x1a72ec(0x103)][_0x1a72ec(0x11c)][_0x1a72ec(0x115)](_0x6436f0=>{const _0xc22bc9=_0x1a72ec,_0x2e3d5c=_0x198e4c[_0xc22bc9(0x130)];for(const _0x478f35 of _0x198e4c){const _0x26e869=_0x478f35===_0x198e4c[_0x2e3d5c-0x1],{cdnUrl:_0x306b47,fileInfo:_0x24ea26}=_0x478f35;if(!_0x306b47||!_0x24ea26)continue;const {width:_0x1c9d7e,height:_0x1bcb57}=_0x24ea26[_0xc22bc9(0x10c)],_0x4ae42e=_0x1925db(_0x306b47,_0x1c9d7e,_0x1bcb57),_0xe2d36d=_0x5a9cba(_0x306b47,_0x4ae42e[_0xc22bc9(0xfc)]),_0x46e0c4={'id':_0x24ea26[_0xc22bc9(0x109)],'type':_0xc22bc9(0xf3),'attributes':{'imageDimension':_0x4ae42e,..._0xe2d36d}};this[_0xc22bc9(0xf6)](_0x46e0c4,_0x26e869,_0x6436f0);}}),this[_0x1a72ec(0x121)][_0x1a72ec(0x11f)]();}),this[_0x3372d4(0xf4)][_0x3372d4(0x111)][_0x3372d4(0x10b)](_0x3372d4(0x115),_0x5c4476=>{const _0x20e383=_0x3372d4;_0x20e383(0xf9)===_0x5c4476[_0x20e383(0x12f)][_0x20e383(0x126)]&&!_0x5c4476[_0x20e383(0x12f)][_0x20e383(0x12a)][_0x20e383(0x130)]&&this[_0x20e383(0x121)][_0x20e383(0x129)]&&(this[_0x20e383(0x113)]===_0x5c7552[_0x20e383(0x127)]?this[_0x20e383(0x12d)][_0x20e383(0x100)](_0x5c7552[_0x20e383(0x127)]):this[_0x20e383(0x12d)][_0x20e383(0x12c)]());});}[_0x2ba1a4(0xf6)](_0x5657e1,_0x38d770,_0xb76914){const _0x485ca7=_0x2ba1a4,_0x240d06=this[_0x485ca7(0x103)][_0x485ca7(0x11c)][_0x485ca7(0x106)][_0x485ca7(0x131)],_0x199eb5=_0x240d06[_0x485ca7(0xfd)](),_0x1365ae=!(!_0x199eb5||!_0x199eb5['is'](_0x485ca7(0x124),_0x485ca7(0x105)));_0xb76914[_0x485ca7(0x125)](_0x485ca7(0x110)),this[_0x485ca7(0x10a)](_0x5657e1,_0x1365ae),_0x38d770||_0xb76914[_0x485ca7(0x123)](_0x240d06[_0x485ca7(0x135)]());}[_0x2ba1a4(0x10a)](_0x417869,_0x5be57b){const _0x3fce2d=_0x2ba1a4,_0x7c3551=this[_0x3fce2d(0x103)],{imageDimension:_0x218ecf,imageFallbackUrl:_0x27d7cd,imageSources:_0x4415f7}=_0x417869[_0x3fce2d(0x139)];_0x7c3551[_0x3fce2d(0x136)](_0x3fce2d(0x118),{'imageType':_0x5be57b?_0x3fce2d(0x105):null,'source':{'uploadcareImageId':_0x417869['id'],'src':_0x27d7cd,'sources':_0x4415f7,..._0x218ecf}});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x10cf(_0x3d1301,_0xed78ff){var _0x3868ef=_0x3868();return _0x10cf=function(_0x10cf19,_0x12df08){_0x10cf19=_0x10cf19-0x1f2;var _0x3885cf=_0x3868ef[_0x10cf19];return _0x3885cf;},_0x10cf(_0x3d1301,_0xed78ff);}var _0x1282c6=_0x10cf;function _0x3868(){var _0x53cd8d=['8645ebopzp','176794WoDthO','304785jXhQAi','div','element','25335AybbCJ','444YXLVdH','112pEzXyW','ck-uploadcare-theme','2508872AVGjRF','ck-reset_all-excluded','focus','getFocusableElement','60DpCSmr','uc-light','223517HEjPqC','ck-uploadcare-form','uc-file-uploader-inline','uploader-','setTemplate','1127910thuiip'];_0x3868=function(){return _0x53cd8d;};return _0x3868();}(function(_0x11275c,_0xe47db9){var _0x4f4a24=_0x10cf,_0x364f68=_0x11275c();while(!![]){try{var _0x4adf0f=-parseInt(_0x4f4a24(0x201))/0x1+parseInt(_0x4f4a24(0x1f3))/0x2+parseInt(_0x4f4a24(0x1f7))/0x3*(-parseInt(_0x4f4a24(0x1f9))/0x4)+-parseInt(_0x4f4a24(0x1f2))/0x5*(parseInt(_0x4f4a24(0x1f8))/0x6)+parseInt(_0x4f4a24(0x206))/0x7+parseInt(_0x4f4a24(0x1fb))/0x8+parseInt(_0x4f4a24(0x1f4))/0x9*(parseInt(_0x4f4a24(0x1ff))/0xa);if(_0x4adf0f===_0xe47db9)break;else _0x364f68['push'](_0x364f68['shift']());}catch(_0x5989c1){_0x364f68['push'](_0x364f68['shift']());}}}(_0x3868,0x2b8e3));import{DialogFocusManagerView as _0x187887}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x187887{constructor(_0xb1d238,_0x2bfd01){var _0x336ee1=_0x10cf;super(_0xb1d238),this[_0x336ee1(0x205)]({'tag':_0x336ee1(0x1f5),'attributes':{'class':['ck',_0x336ee1(0x1fc),_0x336ee1(0x202)],'tabindex':'-1'},'children':[{'tag':_0x336ee1(0x203),'attributes':{'class':[_0x336ee1(0x200),_0x336ee1(0x1fa)],'ctx-name':_0x336ee1(0x204)+_0x2bfd01}},this[_0x336ee1(0x1fe)]()]});}[_0x1282c6(0x1fd)](){var _0x265901=_0x1282c6;this[_0x265901(0x1f6)][_0x265901(0x1fd)]();}}
|
package/src/uploadcare.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0xfa889=_0x1dbf;(function(_0x11f055,_0x49982f){const _0x2cf049=_0x1dbf,_0x23c05c=_0x11f055();while(!![]){try{const _0x755028=parseInt(_0x2cf049(0xa7))/0x1*(-parseInt(_0x2cf049(0x91))/0x2)+-parseInt(_0x2cf049(0xa2))/0x3+parseInt(_0x2cf049(0xa4))/0x4+-parseInt(_0x2cf049(0x9a))/0x5*(parseInt(_0x2cf049(0xa3))/0x6)+-parseInt(_0x2cf049(0x9f))/0x7*(-parseInt(_0x2cf049(0x9b))/0x8)+parseInt(_0x2cf049(0x9c))/0x9+parseInt(_0x2cf049(0x9e))/0xa;if(_0x755028===_0x49982f)break;else _0x23c05c['push'](_0x23c05c['shift']());}catch(_0x1a21a5){_0x23c05c['push'](_0x23c05c['shift']());}}}(_0x13f5,0x4d1af));import{Plugin as _0x1d0528}from'ckeditor5/src/core.js';import{UploadcareUI as _0x116c86}from'./uploadcareui.js';import{UploadcareEditing as _0x1a2b59}from'./uploadcareediting.js';function _0x1dbf(_0x6ce3b1,_0x10085a){const _0x13f52d=_0x13f5();return _0x1dbf=function(_0x1dbf02,_0x4c292d){_0x1dbf02=_0x1dbf02-0x8d;let _0x331183=_0x13f52d[_0x1dbf02];return _0x331183;},_0x1dbf(_0x6ce3b1,_0x10085a);}import{UploadcareSource as _0x941425}from'./uploadcareconfig.js';function _0x13f5(){const _0x3f6d38=['locale','isPremiumPlugin','969224zsqJNu','uploadcare.locale','editor','get','requires','contentLanguage','_defineLocale','defineLocale','define','5ucamcA','447064jJhOaa','1994004TPFPmP','URL','8842840cCyhKi','42bjzdgq','defineComponents','isOfficialPlugin','1745586JHofIv','3006702kNPjLF','1769104NUmNwu','pluginName','config','1AsYDOt','uploadcare.uploader.sourceList','Local','Uploadcare'];_0x13f5=function(){return _0x3f6d38;};return _0x13f5();}import*as _0x4020de from'@uploadcare/file-uploader';export class Uploadcare extends _0x1d0528{static get[_0xfa889(0x95)](){return[_0x1a2b59,_0x116c86];}static get[_0xfa889(0xa5)](){const _0x5e7e88=_0xfa889;return _0x5e7e88(0x8e);}static get[_0xfa889(0xa1)](){return!0x0;}static get[_0xfa889(0x90)](){return!0x0;}constructor(_0x3098b3){const _0x108d68=_0xfa889;super(_0x3098b3),_0x3098b3[_0x108d68(0xa6)][_0x108d68(0x99)](_0x108d68(0xa8),[_0x941425[_0x108d68(0x8d)],_0x941425[_0x108d68(0x9d)]]),_0x4020de[_0x108d68(0xa0)](_0x4020de),this[_0x108d68(0x97)]();}[_0xfa889(0x97)](){const _0x1a85e3=_0xfa889,_0x369d2e=this[_0x1a85e3(0x93)][_0x1a85e3(0xa6)][_0x1a85e3(0x94)](_0x1a85e3(0x92)),_0x350dc7=this[_0x1a85e3(0x93)][_0x1a85e3(0x8f)][_0x1a85e3(0x96)];_0x369d2e&&_0x4020de[_0x1a85e3(0x98)](_0x350dc7,_0x369d2e);}}
|
package/src/uploadcarecommand.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var _0x173425=_0x13e0;(function(_0x55d5b2,_0x18bb66){var _0x45c11c=_0x13e0,_0x519a7d=_0x55d5b2();while(!![]){try{var _0xd1295b=-parseInt(_0x45c11c(0x174))/0x1*(parseInt(_0x45c11c(0x17c))/0x2)+parseInt(_0x45c11c(0x16b))/0x3+parseInt(_0x45c11c(0x171))/0x4+-parseInt(_0x45c11c(0x173))/0x5+parseInt(_0x45c11c(0x17d))/0x6*(-parseInt(_0x45c11c(0x180))/0x7)+parseInt(_0x45c11c(0x175))/0x8*(-parseInt(_0x45c11c(0x16e))/0x9)+parseInt(_0x45c11c(0x179))/0xa;if(_0xd1295b===_0x18bb66)break;else _0x519a7d['push'](_0x519a7d['shift']());}catch(_0x54faec){_0x519a7d['push'](_0x519a7d['shift']());}}}(_0x43c4,0x8d6a9));function _0x43c4(){var _0x4dc342=['5498244KNNVBh','_checkEnabled','commands','7XwmpMN','insertImage','3099720KWPKmW','refresh','requires','8573292romrtQ','_controller','destroy','445748CwVsjA','_editing','5294955RfjaRB','575uCXzGb','8vcVMRv','get','isEnabled','editor','25942420jCRxZF','plugins','execute','806FbbDsO'];_0x43c4=function(){return _0x4dc342;};return _0x43c4();}function _0x13e0(_0x3f4206,_0x44614f){var _0x43c4ce=_0x43c4();return _0x13e0=function(_0x13e02c,_0x4c3d23){_0x13e02c=_0x13e02c-0x16a;var _0x483195=_0x43c4ce[_0x13e02c];return _0x483195;},_0x13e0(_0x3f4206,_0x44614f);}import{Command as _0x9d878a}from'ckeditor5/src/core.js';import{Dialog as _0x2d6cca}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x3d74af}from'./uploadcareediting.js';import{UploadcareController as _0x1c5f51}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x9d878a{[_0x173425(0x172)];[_0x173425(0x16f)]=null;static get[_0x173425(0x16d)](){return[_0x2d6cca,_0x3d74af];}constructor(_0x453b6b){var _0x1feffc=_0x173425;super(_0x453b6b),this[_0x1feffc(0x172)]=_0x453b6b[_0x1feffc(0x17a)][_0x1feffc(0x176)](_0x3d74af);}[_0x173425(0x16c)](){var _0x464f20=_0x173425;this[_0x464f20(0x177)]=this[_0x464f20(0x17e)]();}[_0x173425(0x17b)](_0xa382ee){var _0x2b5e4a=_0x173425;this[_0x2b5e4a(0x16f)]&&(this[_0x2b5e4a(0x16f)][_0x2b5e4a(0x170)](),this[_0x2b5e4a(0x16f)]=null),this[_0x2b5e4a(0x16f)]=new _0x1c5f51(this[_0x2b5e4a(0x178)],this[_0x2b5e4a(0x172)],_0xa382ee);}[_0x173425(0x17e)](){var _0x50be9e=_0x173425;return this[_0x50be9e(0x178)][_0x50be9e(0x17f)][_0x50be9e(0x176)](_0x50be9e(0x16a))[_0x50be9e(0x177)];}}
|
package/src/uploadcareconfig.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x564f(){var _0x11dd70=['3413035jTFgoZ','facebook','24hbUfXe','13838JxHjMq','GDrive','dropbox','944CZsQIR','Local','73917SDINzc','249592nOnyKp','205222FFrAOJ','url','gphotos','Facebook','7390mlfMAP','349984ipGrwd','OneDrive','local','180PkPJqv','Dropbox','onedrive','gdrive','URL','13KZWEGF','17660724YQIlyl','GPhotos'];_0x564f=function(){return _0x11dd70;};return _0x564f();}(function(_0x12893f,_0x4fe89e){var _0x35d7e5=_0x13da,_0xf23c8d=_0x12893f();while(!![]){try{var _0xab56fb=-parseInt(_0x35d7e5(0x102))/0x1*(-parseInt(_0x35d7e5(0x10f))/0x2)+-parseInt(_0x35d7e5(0x107))/0x3*(-parseInt(_0x35d7e5(0xfa))/0x4)+-parseInt(_0x35d7e5(0x105))/0x5+parseInt(_0x35d7e5(0xfd))/0x6*(-parseInt(_0x35d7e5(0x10e))/0x7)+parseInt(_0x35d7e5(0x10b))/0x8*(parseInt(_0x35d7e5(0x10d))/0x9)+parseInt(_0x35d7e5(0xf9))/0xa*(parseInt(_0x35d7e5(0x108))/0xb)+-parseInt(_0x35d7e5(0x103))/0xc;if(_0xab56fb===_0x4fe89e)break;else _0xf23c8d['push'](_0xf23c8d['shift']());}catch(_0x4991b9){_0xf23c8d['push'](_0xf23c8d['shift']());}}}(_0x564f,0xad055));function _0x13da(_0x26b393,_0x1551d7){var _0x564fa4=_0x564f();return _0x13da=function(_0x13da28,_0x736717){_0x13da28=_0x13da28-0xf6;var _0x1eed59=_0x564fa4[_0x13da28];return _0x1eed59;},_0x13da(_0x26b393,_0x1551d7);}export var UploadcareSource;!function(_0x2cd6f7){var _0xd7ad13=_0x13da;_0x2cd6f7[_0xd7ad13(0x10c)]=_0xd7ad13(0xfc),_0x2cd6f7[_0xd7ad13(0x101)]=_0xd7ad13(0xf6),_0x2cd6f7[_0xd7ad13(0xfe)]=_0xd7ad13(0x10a),_0x2cd6f7[_0xd7ad13(0x109)]=_0xd7ad13(0x100),_0x2cd6f7[_0xd7ad13(0xf8)]=_0xd7ad13(0x106),_0x2cd6f7[_0xd7ad13(0x104)]=_0xd7ad13(0xf7),_0x2cd6f7[_0xd7ad13(0xfb)]=_0xd7ad13(0xff);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x569a29=_0x49e0;function _0x218f(){const _0x2c305f=['getSelectedElement','get','uploadcareImageId','locale','join','uploadcare.pubkey','cleanupImage','attributeToAttribute','ucContextId','destroy','imageInline','uploadcare','replaceImageSource','editing','downcast','20qeAMoZ','uc-config','input[uploadcare-file-input]','appendChild','_initConversion','_initCtx','#uc-icon-arrow-down','add','ctxElement','_initConfig','for','PictureEditing','view','requires','isOfficialPlugin','\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','pluginName','uploadcare.uploader','107208HiEUqO','map','isPremiumPlugin','12063444LasAmp','document','130hIcOvr','elementToAttribute','UploadcareEditing','execute','href','body','25975FBTivc','remove','getAttribute','_ctxElement','fromCharCode','once','3283448FkCuaV','removeAttribute','uploadcareImageReplace','commands','152GAAaTU','selection','schema','model','conversion','closeMax','_initImageProcessingIndicator','init','contentLanguage','config','render','true','data-uc-image-id','isRegistered','listenTo','afterInit','uc-upload-ctx-provider','iconHrefResolver','60ddflTP','uploader-','configElement','editor','11escsZZ','3064820uOmvtm','insertImage','294189dGtBRF','_initSchema','upcast','38922zktYrf','querySelector','extend','_configElement','imageBlock'];_0x218f=function(){return _0x2c305f;};return _0x218f();}(function(_0x5321bd,_0xf72778){const _0x507fbc=_0x49e0,_0x3e17db=_0x5321bd();while(!![]){try{const _0x1809b8=-parseInt(_0x507fbc(0xc3))/0x1*(parseInt(_0x507fbc(0xa6))/0x2)+-parseInt(_0x507fbc(0x92))/0x3*(-parseInt(_0x507fbc(0xcd))/0x4)+-parseInt(_0x507fbc(0x8d))/0x5+-parseInt(_0x507fbc(0x88))/0x6*(-parseInt(_0x507fbc(0x8f))/0x7)+-parseInt(_0x507fbc(0xc9))/0x8+parseInt(_0x507fbc(0xb8))/0x9*(-parseInt(_0x507fbc(0xbd))/0xa)+-parseInt(_0x507fbc(0x8c))/0xb*(-parseInt(_0x507fbc(0xbb))/0xc);if(_0x1809b8===_0xf72778)break;else _0x3e17db['push'](_0x3e17db['shift']());}catch(_0x511c65){_0x3e17db['push'](_0x3e17db['shift']());}}}(_0x218f,0x75538));import{Plugin as _0x1a70ac}from'ckeditor5/src/core.js';import{Dialog as _0x2ffb80}from'ckeditor5/src/ui.js';import{createElement as _0x136309,global as _0x131c5b,uid as _0x503613}from'ckeditor5/src/utils.js';function _0x49e0(_0x1a3ba9,_0x709625){const _0x218faf=_0x218f();return _0x49e0=function(_0x49e000,_0x45e74a){_0x49e000=_0x49e000-0x77;let _0x1e5ec4=_0x218faf[_0x49e000];return _0x1e5ec4;},_0x49e0(_0x1a3ba9,_0x709625);}import{UploadcareCommand as _0x2db251}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x58e8e5}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x262e3a}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1a70ac{[_0x569a29(0x95)]=null;[_0x569a29(0xc6)]=null;static get[_0x569a29(0xb6)](){const _0x246657=_0x569a29;return _0x246657(0xbf);}static get[_0x569a29(0xb3)](){const _0x573755=_0x569a29;return[_0x573755(0xb1),_0x58e8e5,_0x2ffb80];}static get[_0x569a29(0xb4)](){return!0x0;}static get[_0x569a29(0xba)](){return!0x0;}[_0x569a29(0x9f)];get[_0x569a29(0x8a)](){const _0x240c48=_0x569a29;return this[_0x240c48(0x95)];}get[_0x569a29(0xae)](){const _0x228cea=_0x569a29;return this[_0x228cea(0xc6)];}constructor(_0xc76ede){const _0x3acdf1=_0x569a29;super(_0xc76ede),this[_0x3acdf1(0x9f)]=_0x503613();}[_0x569a29(0x7d)](){const _0x4c5649=_0x569a29,_0x4102d2=this[_0x4c5649(0x8b)];_0x4102d2[_0x4c5649(0xcc)][_0x4c5649(0xad)](_0x4c5649(0xa2),new _0x2db251(_0x4102d2));}[_0x569a29(0x85)](){const _0x3bed5f=_0x569a29;this[_0x3bed5f(0x90)](),this[_0x3bed5f(0xaa)](),this[_0x3bed5f(0xaf)](),this[_0x3bed5f(0xab)](),this[_0x3bed5f(0x7c)](),this[_0x3bed5f(0x84)](this[_0x3bed5f(0x8b)],_0x3bed5f(0xa0),()=>{const _0x258080=_0x3bed5f;this[_0x258080(0x95)]&&(this[_0x258080(0x95)][_0x258080(0xc4)](),this[_0x258080(0x95)]=null),this[_0x258080(0xc6)]&&(this[_0x258080(0xc6)][_0x258080(0xc4)](),this[_0x258080(0xc6)]=null);const _0xfd3d26=_0x131c5b[_0x258080(0xbc)][_0x258080(0x93)](_0x258080(0xa8));_0xfd3d26&&_0xfd3d26[_0x258080(0xc4)]();}),async function(_0x1e7d7f){const _0x48c78a=_0x40c9e1([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x346cf9=0x535f8c3a,_0x3393c0=0x5358f3d2^_0x346cf9,_0x1135d0=window[_0x40c9e1([0x44,0x61,0x74,0x65])][_0x40c9e1([0x6e,0x6f,0x77])](),_0x34222e=_0x1e7d7f[_0x40c9e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43f450=new window[(_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4911b6=>{_0x34222e[_0x40c9e1([0x6f,0x6e,0x63,0x65])](_0x40c9e1([0x72,0x65,0x61,0x64,0x79]),_0x4911b6);}),_0x580280={[_0x40c9e1([0x6b,0x74,0x79])]:_0x40c9e1([0x45,0x43]),[_0x40c9e1([0x75,0x73,0x65])]:_0x40c9e1([0x73,0x69,0x67]),[_0x40c9e1([0x63,0x72,0x76])]:_0x40c9e1([0x50,0x2d,0x32,0x35,0x36]),[_0x40c9e1([0x78])]:_0x40c9e1([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]),[_0x40c9e1([0x79])]:_0x40c9e1([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]),[_0x40c9e1([0x61,0x6c,0x67])]:_0x40c9e1([0x45,0x53,0x32,0x35,0x36])},_0x55e238=_0x34222e[_0x40c9e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40c9e1([0x67,0x65,0x74])](_0x40c9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1158ed(){let _0x5206ce,_0x5bf7f7=null,_0x343306=null;try{if(_0x55e238==_0x40c9e1([0x47,0x50,0x4c]))return _0x40c9e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5206ce=_0x3b36ce(),!_0x5206ce)return _0x40c9e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5206ce[_0x40c9e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x343306=_0x10f08f(_0x5206ce[_0x40c9e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5206ce[_0x40c9e1([0x6a,0x74,0x69])])),await _0x459dca()?_0x1bfb8f()?_0x4b885a()?_0x40c9e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cc142()?(_0x5206ce[_0x40c9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40c9e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5bf7f7=_0x1fdaba(_0x40c9e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f475e()):_0x40c9e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40c9e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40c9e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40c9e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b885a(){const _0x594b97=[_0x40c9e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40c9e1([0x74,0x72,0x69,0x61,0x6c])][_0x40c9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5206ce[_0x40c9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1135d0/0x3e8:0xe10*_0x3393c0;return _0x5206ce[_0x40c9e1([0x65,0x78,0x70])]<_0x594b97;}function _0x1bfb8f(){const _0x198c97=_0x5206ce[_0x40c9e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x198c97&&(!!_0x198c97[_0x40c9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c9e1([0x2a]))||!!_0x198c97[_0x40c9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c9e1([0x55,0x50,0x4c,0x43])));}function _0x3cc142(){const _0x3322d1=_0x49e0,_0x5619e6=_0x5206ce[_0x40c9e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5619e6||0x0==_0x5619e6[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13ed7f}=new URL(window[_0x40c9e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3322d1(0xc1)]);if(_0x5619e6[_0x40c9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13ed7f))return!0x0;const _0x520532=_0x13ed7f[_0x40c9e1([0x73,0x70,0x6c,0x69,0x74])](_0x40c9e1([0x2e]));return _0x5619e6[_0x40c9e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x138497=>_0x138497[_0x40c9e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c9e1([0x2a])))[_0x40c9e1([0x6d,0x61,0x70])](_0x51ae92=>_0x51ae92[_0x40c9e1([0x73,0x70,0x6c,0x69,0x74])](_0x40c9e1([0x2e])))[_0x40c9e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbe925=>_0xbe925[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x520532[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40c9e1([0x6d,0x61,0x70])](_0x413e71=>Array(_0x520532[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x413e71[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40c9e1([0x66,0x69,0x6c,0x6c])](_0x413e71[0x0]===_0x40c9e1([0x2a])?_0x40c9e1([0x2a]):'')[_0x40c9e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x413e71))[_0x40c9e1([0x73,0x6f,0x6d,0x65])](_0x54158c=>_0x520532[_0x40c9e1([0x65,0x76,0x65,0x72,0x79])]((_0x3c636e,_0x4f78fe)=>_0x54158c[_0x4f78fe]===_0x3c636e||_0x54158c[_0x4f78fe]===_0x40c9e1([0x2a])));}function _0x4f475e(){return _0x5bf7f7&&_0x343306?new window[(_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e44f5,_0x47455e)=>{_0x5bf7f7[_0x40c9e1([0x74,0x68,0x65,0x6e])](_0x2e44f5,_0x47455e),_0x343306[_0x40c9e1([0x74,0x68,0x65,0x6e])](_0xbdedd=>{_0xbdedd!=_0x40c9e1([0x56,0x61,0x6c,0x69,0x64])&&_0x2e44f5(_0xbdedd);},_0x47455e);}):_0x5bf7f7||_0x343306||_0x40c9e1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10f08f(_0x4059b9,_0x338ce9){return new window[(_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92ddd0=>{if(_0x4e51f8())return _0x92ddd0(_0x40c9e1([0x56,0x61,0x6c,0x69,0x64]));_0x54cf85(),_0x34222e[_0x40c9e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40c9e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa2d657=!0x1;const _0x348ec5=_0x503613();function _0x3aa65d(_0x1c364c){return!!_0x1c364c&&(typeof _0x1c364c===_0x40c9e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c364c===_0x40c9e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c364c[_0x40c9e1([0x74,0x68,0x65,0x6e])]===_0x40c9e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c364c[_0x40c9e1([0x63,0x61,0x74,0x63,0x68])]===_0x40c9e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c38ca(_0x44abc5){_0x32fff2(_0x44abc5)[_0x40c9e1([0x74,0x68,0x65,0x6e])](_0xc48ee5=>{if(!_0xc48ee5||_0xc48ee5[_0x40c9e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40c9e1([0x6f,0x6b]))return _0x40c9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51a55c(_0x554074(_0x348ec5+_0x338ce9))!=_0xc48ee5[_0x40c9e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40c9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40c9e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x40c9e1([0x74,0x68,0x65,0x6e])](_0x5ba80c=>(_0x1a4740(),_0x5ba80c),()=>{const _0x579957=_0x24af3d();return null==_0x579957?(_0x1a4740(),_0x40c9e1([0x56,0x61,0x6c,0x69,0x64])):_0x40c9e1(_0x1135d0-_0x579957>(0x7753083a^_0x346cf9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40c9e1([0x74,0x68,0x65,0x6e])](_0x92ddd0)[_0x40c9e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x92ddd0(_0x40c9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a6eda=0x536962ba^_0x346cf9;function _0x1a4740(){const _0x50cbad=_0x40c9e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x51a55c(_0x554074(_0x4059b9)),_0x3767b6=_0x6378d0(_0x51a55c(window[_0x40c9e1([0x4d,0x61,0x74,0x68])][_0x40c9e1([0x63,0x65,0x69,0x6c])](_0x1135d0/_0x1a6eda)));window[_0x40c9e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40c9e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50cbad,_0x3767b6);}function _0x24af3d(){const _0xa8abea=_0x40c9e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x51a55c(_0x554074(_0x4059b9)),_0x20070e=window[_0x40c9e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40c9e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa8abea);return _0x20070e?window[_0x40c9e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6378d0(_0x20070e),0x10)*_0x1a6eda:null;}function _0x32fff2(_0x478f2a){return new window[(_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37219b,_0x4cb4b8)=>{_0x478f2a[_0x40c9e1([0x74,0x68,0x65,0x6e])](_0x37219b,_0x4cb4b8),window[_0x40c9e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cb4b8,0x535e58fa^_0x346cf9);});}}_0x34222e[_0x40c9e1([0x6f,0x6e])](_0x40c9e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x395d38,_0x2f872e)=>{if(_0x2f872e[0x0]!=_0x4059b9)return _0x92ddd0(_0x40c9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f872e[0x1]={..._0x2f872e[0x1],[_0x40c9e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x348ec5};},{[_0x40c9e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40c9e1([0x68,0x69,0x67,0x68])}),_0x34222e[_0x40c9e1([0x6f,0x6e])](_0x40c9e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x327919=>{_0x3aa65d(_0x327919[_0x40c9e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa2d657=!0x0,_0x3c38ca(_0x327919[_0x40c9e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40c9e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40c9e1([0x6c,0x6f,0x77])}),_0x43f450[_0x40c9e1([0x74,0x68,0x65,0x6e])](()=>{_0xa2d657||_0x92ddd0(_0x40c9e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e51f8(){return _0x34222e[_0x40c9e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40c9e1([0x76,0x69,0x65,0x77])][_0x40c9e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40c9e1([0x61,0x75,0x74,0x6f]);}function _0x54cf85(){_0x34222e[_0x40c9e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40c9e1([0x76,0x69,0x65,0x77])][_0x40c9e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40c9e1([0x61,0x75,0x74,0x6f]);}}function _0x1fdaba(_0x523ed2){const _0x2ae2b5=[new window[(_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x409702=>setTimeout(_0x409702,0x5356b2f6^_0x346cf9)),_0x43f450[_0x40c9e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27a70a=>{let _0x29b6d6=0x0;_0x34222e[_0x40c9e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c9e1([0x6f,0x6e])](_0x40c9e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39d2ed,_0x2df4fc)=>{_0x2df4fc[0x0][_0x40c9e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29b6d6++,_0x29b6d6==(0x535f89d2^_0x346cf9)&&(_0x27a70a(),_0x39d2ed[_0x40c9e1([0x6f,0x66,0x66])]());});}))];return window[_0x40c9e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40c9e1([0x72,0x61,0x63,0x65])](_0x2ae2b5)[_0x40c9e1([0x74,0x68,0x65,0x6e])](()=>_0x523ed2);}async function _0x4cece4(){await _0x43f450,_0x34222e[_0x40c9e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c9e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x368c0b,_0x34222e[_0x40c9e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c9e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x368c0b,_0x34222e[_0x40c9e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40c9e1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f9ec6(_0x2bd19b){const _0x4e29f1=_0x248f9c();_0x34222e[_0x4e29f1]=_0x40c9e1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2bd19b,_0x2bd19b!=_0x40c9e1([0x56,0x61,0x6c,0x69,0x64])&&_0x4cece4();}function _0x248f9c(){const _0x4a39bb=window[_0x40c9e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40c9e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40c9e1([0x6e,0x6f,0x77])]())[_0x40c9e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40c9e1([0x2e]),'');let _0x45c171=_0x40c9e1([0x68]);for(let _0x2645de=0x0;_0x2645de<_0x4a39bb[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2645de+=0x2){let _0x55196f=window[_0x40c9e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a39bb[_0x40c9e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2645de,_0x2645de+0x2));_0x55196f>=_0x48c78a[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55196f-=_0x48c78a[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45c171+=_0x48c78a[_0x55196f];}return _0x45c171;}function _0x3b36ce(){const _0x4ae4c2=_0x55e238[_0x40c9e1([0x73,0x70,0x6c,0x69,0x74])](_0x40c9e1([0x2e]));if(0x3!=_0x4ae4c2[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26fb4d(_0x4ae4c2[0x1]);function _0x26fb4d(_0x238e36){const _0x41ec96=_0x1ed3a5(_0x238e36);return _0x41ec96&&_0x2bbac4()?_0x41ec96:null;function _0x2bbac4(){const _0x35a640=_0x41ec96[_0x40c9e1([0x6a,0x74,0x69])],_0x31af45=window[_0x40c9e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35a640[_0x40c9e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35a640[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x251af3={..._0x41ec96,[_0x40c9e1([0x6a,0x74,0x69])]:_0x35a640[_0x40c9e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35a640[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x251af3[_0x40c9e1([0x76,0x63])],_0x554074(_0x251af3)==_0x31af45;}}}async function _0x459dca(){let _0x19c7bd=!0x0;try{const _0x313760=_0x55e238[_0x40c9e1([0x73,0x70,0x6c,0x69,0x74])](_0x40c9e1([0x2e])),[_0x39bd63,_0x4c244f,_0x1a782a]=_0x313760;return _0x243567(_0x39bd63),await _0xd2c7cb(_0x39bd63,_0x4c244f,_0x1a782a),_0x19c7bd;}catch{return!0x1;}function _0x243567(_0x18c0d2){const _0x343473=_0x1ed3a5(_0x18c0d2);_0x343473&&_0x343473[_0x40c9e1([0x61,0x6c,0x67])]==_0x40c9e1([0x45,0x53,0x32,0x35,0x36])||(_0x19c7bd=!0x1);}async function _0xd2c7cb(_0x457778,_0x4a6f76,_0x3c0665){const _0x2b59d9=window[_0x40c9e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40c9e1([0x66,0x72,0x6f,0x6d])](_0x1582b3(_0x3c0665),_0x35c6d6=>_0x35c6d6[_0x40c9e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f019a=new window[(_0x40c9e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40c9e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x457778+_0x40c9e1([0x2e])+_0x4a6f76),_0x284ae5=window[_0x40c9e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40c9e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x284ae5)return;const _0x223086=await _0x284ae5[_0x40c9e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40c9e1([0x6a,0x77,0x6b]),_0x580280,{[_0x40c9e1([0x6e,0x61,0x6d,0x65])]:_0x40c9e1([0x45,0x43,0x44,0x53,0x41]),[_0x40c9e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40c9e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40c9e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x284ae5[_0x40c9e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40c9e1([0x6e,0x61,0x6d,0x65])]:_0x40c9e1([0x45,0x43,0x44,0x53,0x41]),[_0x40c9e1([0x68,0x61,0x73,0x68])]:{[_0x40c9e1([0x6e,0x61,0x6d,0x65])]:_0x40c9e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x223086,_0x2b59d9,_0x1f019a)||(_0x19c7bd=!0x1);}}function _0x1ed3a5(_0x390b95){return _0x390b95[_0x40c9e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40c9e1([0x65,0x79]))?JSON[_0x40c9e1([0x70,0x61,0x72,0x73,0x65])](_0x1582b3(_0x390b95)):null;}function _0x1582b3(_0x424ed5){return window[_0x40c9e1([0x61,0x74,0x6f,0x62])](_0x424ed5[_0x40c9e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40c9e1([0x2b]))[_0x40c9e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40c9e1([0x2f])));}function _0x554074(_0x57c6b9){let _0x2d4dd2=0x1505;function _0x3f82f7(_0x130ce0){for(let _0x78970a=0x0;_0x78970a<_0x130ce0[_0x40c9e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x78970a++){const _0x2de967=_0x130ce0[_0x40c9e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x78970a);_0x2d4dd2=(_0x2d4dd2<<0x5)+_0x2d4dd2+_0x2de967,_0x2d4dd2&=_0x2d4dd2;}}function _0x9de501(_0x3cf7f6){Array[_0x40c9e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cf7f6)?_0x3cf7f6[_0x40c9e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9de501):_0x3cf7f6&&typeof _0x3cf7f6==_0x40c9e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40c9e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cf7f6)[_0x40c9e1([0x73,0x6f,0x72,0x74])]()[_0x40c9e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5291d7,_0x536101])=>{_0x3f82f7(_0x5291d7),_0x9de501(_0x536101);}):_0x3f82f7(window[_0x40c9e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cf7f6));}return _0x9de501(_0x57c6b9),_0x2d4dd2>>>0x0;}function _0x51a55c(_0xe5f039){return _0xe5f039[_0x40c9e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40c9e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40c9e1([0x30]));}function _0x6378d0(_0x3a3f8f){return _0x3a3f8f[_0x40c9e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40c9e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40c9e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x368c0b(){}function _0x40c9e1(_0x218231){const _0x4427c3=_0x49e0;return _0x218231[_0x4427c3(0xb9)](_0x42688d=>String[_0x4427c3(0xc7)](_0x42688d))[_0x4427c3(0x9b)]('');}_0x3f9ec6(await _0x1158ed());}(this);}[_0x569a29(0x90)](){const _0x50de0c=_0x569a29,_0x9a55d8=this[_0x50de0c(0x8b)][_0x50de0c(0x79)][_0x50de0c(0x78)];_0x9a55d8[_0x50de0c(0x83)](_0x50de0c(0x96))&&_0x9a55d8[_0x50de0c(0x94)](_0x50de0c(0x96),{'allowAttributes':[_0x50de0c(0x99)]}),_0x9a55d8[_0x50de0c(0x83)](_0x50de0c(0xa1))&&_0x9a55d8[_0x50de0c(0x94)](_0x50de0c(0xa1),{'allowAttributes':[_0x50de0c(0x99)]});}[_0x569a29(0xaa)](){const _0x46411d=_0x569a29,_0x4eb802=this[_0x46411d(0x8b)];_0x4eb802[_0x46411d(0x7a)][_0x46411d(0xb0)](_0x46411d(0xa5))[_0x46411d(0x9e)]({'model':_0x46411d(0x99),'view':_0x46411d(0x82)}),_0x4eb802[_0x46411d(0x7a)][_0x46411d(0xb0)](_0x46411d(0x91))[_0x46411d(0xbe)]({'model':{'key':_0x46411d(0x99),'value':_0x5ce3f6=>_0x5ce3f6[_0x46411d(0xc5)](_0x46411d(0x82))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x521f71=_0x4eb802[_0x46411d(0xcc)][_0x46411d(0x98)](_0x46411d(0xa3));_0x521f71&&this[_0x46411d(0x84)](_0x521f71,_0x46411d(0x9d),(_0x1a760c,[_0x47778b,_0x33636c])=>{const _0x3032a5=_0x46411d;_0x47778b[_0x3032a5(0xca)](_0x3032a5(0x99),_0x33636c);});}[_0x569a29(0xaf)](){const _0x3add9e=_0x569a29,_0x4ad42c=this[_0x3add9e(0x8b)][_0x3add9e(0x7f)][_0x3add9e(0x98)](_0x3add9e(0xb7))||{},_0x36deff=this[_0x3add9e(0x8b)][_0x3add9e(0x7f)][_0x3add9e(0x98)](_0x3add9e(0x9c))||'';this[_0x3add9e(0x95)]=_0x136309(_0x131c5b[_0x3add9e(0xbc)],_0x3add9e(0xa7),{..._0x4ad42c,'pubkey':_0x36deff,'ctx-name':_0x3add9e(0x89)+this[_0x3add9e(0x9f)],'sourceList':'','imgOnly':_0x3add9e(0x81),'removeCopyright':_0x3add9e(0x81),'localeName':this[_0x3add9e(0x8b)][_0x3add9e(0x9a)][_0x3add9e(0x7e)],'externalSourcesEmbedCss':_0x3add9e(0xb5)}),this[_0x3add9e(0x95)][_0x3add9e(0x87)]=_0x2fb01e=>{const _0x2b5909=_0x3add9e;if(_0x2b5909(0x7b)==_0x2fb01e)return _0x2b5909(0xac);},_0x131c5b[_0x3add9e(0xbc)][_0x3add9e(0xc2)][_0x3add9e(0xa9)](this[_0x3add9e(0x95)]);}[_0x569a29(0xab)](){const _0x256a9c=_0x569a29;this[_0x256a9c(0xc6)]=_0x136309(_0x131c5b[_0x256a9c(0xbc)],_0x256a9c(0x86),{'ctx-name':_0x256a9c(0x89)+this[_0x256a9c(0x9f)]}),_0x131c5b[_0x256a9c(0xbc)][_0x256a9c(0xc2)][_0x256a9c(0xa9)](this[_0x256a9c(0xc6)]);}[_0x569a29(0x7c)](){const _0x16267a=_0x569a29,_0x3dbce3=this[_0x16267a(0x8b)][_0x16267a(0xcc)][_0x16267a(0x98)](_0x16267a(0x8e));_0x3dbce3&&this[_0x16267a(0x84)](_0x3dbce3,_0x16267a(0xc0),()=>{const _0x2397c9=_0x16267a,_0x764247=this[_0x2397c9(0x8b)][_0x2397c9(0x79)][_0x2397c9(0xbc)][_0x2397c9(0x77)][_0x2397c9(0x97)]();_0x764247&&_0x764247[_0x2397c9(0xc5)](_0x2397c9(0x99))&&this[_0x2397c9(0x8b)][_0x2397c9(0xa4)][_0x2397c9(0xb2)][_0x2397c9(0xc8)](_0x2397c9(0x80),()=>{const _0x14caf0=_0x2397c9;_0x262e3a(this[_0x14caf0(0x8b)],_0x764247);});});const _0x2291f2=this[_0x16267a(0x8b)][_0x16267a(0xcc)][_0x16267a(0x98)](_0x16267a(0xcb));_0x2291f2&&this[_0x16267a(0x84)](_0x2291f2,_0x16267a(0xc0),()=>{const _0x459b1c=_0x16267a,_0xb97552=this[_0x459b1c(0x8b)][_0x459b1c(0x79)][_0x459b1c(0xbc)][_0x459b1c(0x77)][_0x459b1c(0x97)]();_0xb97552&&_0xb97552[_0x459b1c(0xc5)](_0x459b1c(0x99))&&this[_0x459b1c(0x8b)][_0x459b1c(0xa4)][_0x459b1c(0xb2)][_0x459b1c(0xc8)](_0x459b1c(0x80),()=>{const _0x3af734=_0x459b1c;_0x262e3a(this[_0x3af734(0x8b)],_0xb97552);});});}}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{global as _0x22ed67,ObservableMixin as _0x294730}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2bd684}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xf65e70}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5d9a2e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2937fc}from'../../utils/uploadutils.js';import{getImageUrls as _0x37f59a,getImageDimension as _0x27c830}from'../../utils/editingutils.js';import{isAncestor as _0x51a7ce}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x294730(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3393b3,_0x27bdaa,_0x1512b3){super(),this['_editor']=_0x3393b3,this['_dialog']=_0x27bdaa,this['_imageElement']=_0x1512b3,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 _0x1592a5=this['_imageElement'],_0x905e22=_0x1592a5['getAttribute']('uploadcareImageId'),_0x4c0310=_0x1592a5['getAttribute']('src');if(_0x905e22)await this['_loadImageInfo'](_0x905e22,_0x4c0310);else{if(this['_imageCache']['has'](_0x4c0310)){const _0x1e2c73=this['_imageCache']['get'](_0x4c0310);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e2c73['url'],this['imageDimension']=_0x1e2c73['dimension'],this['imageId']=_0x1e2c73['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1309eb}=this['_editor'],t=_0x1309eb['t'],_0x254733=new _0x5d9a2e(_0x1309eb,this['imageStatus'],this['_attributes']);_0x254733['bind']('status')['to'](this,'imageStatus'),_0x254733['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x254733['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x254733['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x254733,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf65e70,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x254733,'position':_0x2bd684['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x254733['focus']();},'onHide':()=>{_0x254733['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1315c6=>!_0x51a7ce(_0x1315c6,_0x254733['element'])}});}['_loadImageInfo'](_0x1e09d3,_0x5de284){return _0x2937fc['getInfo'](_0x1e09d3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x514dec=>{const {width:_0x42f6e9,height:_0x2d0d12}=_0x514dec['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5de284,this['imageDimension']={'width':_0x42f6e9,'height':_0x2d0d12},this['imageId']=_0x1e09d3;})['catch'](_0x28143c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28143c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x446e98,_0x314325){return this['_getImageAsFile'](_0x446e98)['then'](_0xf8c476=>_0x2937fc['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x314325['signal'],'file':_0xf8c476,'onProgress':_0x51c87f=>{_0x51c87f&&_0x51c87f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51c87f['value']));}}))['then'](_0x5a7788=>{const {width:_0x95301c,height:_0x218be}=_0x5a7788['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a7788['cdnUrl'],this['imageDimension']={'width':_0x95301c,'height':_0x218be},this['imageId']=_0x5a7788['uuid'],this['imageUploadProgress']=null;const _0x220a03=_0x446e98['getAttribute']('src');this['_imageCache']['set'](_0x220a03,{'id':_0x5a7788['uuid'],'url':_0x5a7788['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x57675d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57675d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b3b02,_0x19507d){_0x1b3b02['on']('apply',(_0x496ca7,_0x37d450)=>{this['_replaceImage'](_0x19507d,_0x37d450['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b3b02['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b3b02['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9ba43e,_0x1ee3a6,_0x560709){const _0x4e6078=this['_editor'],{width:_0x2e4b06,height:_0x15d4e3}=_0x27c830(_0x1ee3a6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d0c49,imageSources:_0xbdc45}=_0x37f59a(_0x1ee3a6,_0x2e4b06);_0x4e6078['model']['change'](_0x5a60ae=>{if('$graveyard'===_0x9ba43e['root']['rootName']){_0x4e6078['execute']('insertImage',{'imageType':_0x9ba43e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9ba43e['getAttributes']()),'uploadcareImageId':_0x560709,'src':_0x4d0c49,'sources':_0xbdc45,'width':_0x2e4b06,'height':_0x15d4e3}});const _0x3f30b1=_0x9ba43e['getChildren']();_0x9ba43e=_0x4e6078['model']['document']['selection']['getSelectedElement']();for(const _0xdc0cf of _0x3f30b1)_0x5a60ae['append'](_0x5a60ae['cloneElement'](_0xdc0cf),_0x9ba43e);}else _0x5a60ae['setSelection'](_0x9ba43e,'on'),_0x4e6078['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9ba43e['getAttributes']()),'uploadcareImageId':_0x560709,'src':_0x4d0c49,'sources':_0xbdc45,'width':_0x2e4b06,'height':_0x15d4e3},_0x9ba43e);_0x5a60ae['setSelection'](_0x9ba43e,'on');});}async['_getImageAsFile'](_0x33ea57){const _0x39883e=_0x22ed67['window'],_0x580117=_0x22ed67['document']['location']['href'],_0x15054e=new _0x39883e['URL'](_0x33ea57['getAttribute']('src'),_0x580117);if('data:'===_0x15054e['protocol']){const _0x100af4=_0x15054e['href']['split'](','),_0x46b96d=_0x100af4[0x0]['match'](/:(.*?);/)[0x1],_0x102ca0=_0x46b96d['split']('/')[0x1],_0x39b411=_0x39883e['atob'](_0x100af4[_0x100af4['length']-0x1]);let _0x5efb66=_0x39b411['length'];const _0x16fd5f=new _0x39883e['Uint8Array'](_0x5efb66);for(;_0x5efb66--;)_0x16fd5f[_0x5efb66]=_0x39b411['charCodeAt'](_0x5efb66);return new _0x39883e['File']([_0x16fd5f],'image.'+_0x102ca0,{'type':_0x46b96d});}const _0x100840=_0x15054e['href']['split']('/'),_0x393e4a=_0x100840[_0x100840['length']-0x1],_0x3f82b3=_0x393e4a['split']('.')[0x1];return _0x39883e['fetch'](_0x15054e['href'])['then'](_0x1e113e=>_0x1e113e['clone']()['blob']())['then'](_0x474f0b=>new _0x39883e['File']([_0x474f0b],_0x393e4a,{'type':'image/'+_0x3f82b3}));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
function _0x1eb8(_0x358989,_0x32955c){const _0x193c30=_0x193c();return _0x1eb8=function(_0x1eb8e7,_0x293541){_0x1eb8e7=_0x1eb8e7-0xef;let _0x2e54a6=_0x193c30[_0x1eb8e7];return _0x2e54a6;},_0x1eb8(_0x358989,_0x32955c);}(function(_0x5ab401,_0x5b8c0b){const _0x2e4766=_0x1eb8,_0x3114d5=_0x5ab401();while(!![]){try{const _0x3d30e2=-parseInt(_0x2e4766(0x100))/0x1*(parseInt(_0x2e4766(0xfc))/0x2)+-parseInt(_0x2e4766(0xf0))/0x3*(-parseInt(_0x2e4766(0xf9))/0x4)+parseInt(_0x2e4766(0xfd))/0x5+parseInt(_0x2e4766(0xf3))/0x6*(parseInt(_0x2e4766(0xef))/0x7)+-parseInt(_0x2e4766(0xfb))/0x8+-parseInt(_0x2e4766(0xf8))/0x9+parseInt(_0x2e4766(0xf5))/0xa;if(_0x3d30e2===_0x5b8c0b)break;else _0x3114d5['push'](_0x3114d5['shift']());}catch(_0x35b4f7){_0x3114d5['push'](_0x3114d5['shift']());}}}(_0x193c,0xaf8fa));import{View as _0x34bddc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x34bddc{constructor(_0x51b393,_0x11ee54){const _0x31555b=_0x1eb8;super(_0x51b393);const _0x2884d0=this[_0x31555b(0xfe)];this[_0x31555b(0xf2)](_0x31555b(0xf6),''),this[_0x31555b(0xf1)]({'tag':_0x31555b(0xfa),'attributes':{..._0x11ee54,'class':[_0x31555b(0xf4),_0x31555b(0xf7)],'ctx-name':_0x31555b(0xff),'cdn-url':_0x2884d0['to'](_0x31555b(0xf6))}});}}function _0x193c(){const _0x2229a8=['7031100iDDUcU','imageSrc','ck-uploadcare-theme','11489823TwTXhc','51756jpzgTB','uc-cloud-image-editor','123920QVLQft','2KfAAnc','1182870OXFbvH','bindTemplate','image-edit','6184TJynnp','7IvXJDV','90ifmfGT','setTemplate','set','4137390tfSChV','uc-light'];_0x193c=function(){return _0x2229a8;};return _0x193c();}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{IconError as _0x332974}from'ckeditor5/src/icons.js';import{ButtonView as _0x2636c5,IconView as _0x336e06,View as _0x6a373e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x6a373e{constructor(_0x7b8b3){super(_0x7b8b3);const t=_0x7b8b3['t'];this['set']('errorType',null);const _0x530d0b=new _0x2636c5(_0x7b8b3);_0x530d0b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x530d0b['withText']=!0x0,_0x530d0b['class']='ck-button-action',_0x530d0b['on']('execute',()=>{this['fire']('retry');}),_0x530d0b['bind']('isVisible')['to'](this,'errorType',_0x1eba81=>'NotFound'!==_0x1eba81);const _0x373fdb=new _0x336e06();_0x373fdb['content']=_0x332974,_0x373fdb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x48464b=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':[_0x373fdb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x48464b['to']('errorType',_0x2e6d4a=>t('NotFound'!==_0x2e6d4a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x530d0b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
import{SpinnerView as _0xa7bd50,View as _0x2da1ad}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2da1ad{constructor(_0x5967d1){super(_0x5967d1);const t=_0x5967d1['t'],_0x426299=this['bindTemplate'],_0x1df762=new _0xa7bd50();_0x1df762['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':[_0x1df762,{'text':_0x426299['to']('imageUploadProgress',_0x11cb8f=>t('Loading\x20image...')+'\x20('+(_0x11cb8f||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x3a16b0=_0x3b2c;(function(_0x171518,_0x2ed9c9){const _0x196df9=_0x3b2c,_0x44f34f=_0x171518();while(!![]){try{const _0xae3111=-parseInt(_0x196df9(0xb4))/0x1+parseInt(_0x196df9(0xc8))/0x2*(-parseInt(_0x196df9(0xbc))/0x3)+parseInt(_0x196df9(0xc6))/0x4*(-parseInt(_0x196df9(0xb6))/0x5)+parseInt(_0x196df9(0xa7))/0x6*(parseInt(_0x196df9(0x9c))/0x7)+-parseInt(_0x196df9(0x9a))/0x8*(-parseInt(_0x196df9(0xd2))/0x9)+parseInt(_0x196df9(0xa9))/0xa*(parseInt(_0x196df9(0xc3))/0xb)+-parseInt(_0x196df9(0xb2))/0xc*(-parseInt(_0x196df9(0xb9))/0xd);if(_0xae3111===_0x2ed9c9)break;else _0x44f34f['push'](_0x44f34f['shift']());}catch(_0x1868d1){_0x44f34f['push'](_0x44f34f['shift']());}}}(_0x133d,0x69276));import{View as _0x350fa0}from'ckeditor5/src/ui.js';function _0x3b2c(_0x3e8294,_0x29fbde){const _0x133d0a=_0x133d();return _0x3b2c=function(_0x3b2c3d,_0x115f6f){_0x3b2c3d=_0x3b2c3d-0x9a;let _0xdb7014=_0x133d0a[_0x3b2c3d];return _0xdb7014;},_0x3b2c(_0x3e8294,_0x29fbde);}import{UploadcareImageEditFormLoadingView as _0x1c83b7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x7b881a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a8858}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3c4bd5}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3c4bd5{[_0x3a16b0(0xae)];[_0x3a16b0(0xd0)];[_0x3a16b0(0xb8)];[_0x3a16b0(0xd3)];[_0x3a16b0(0xaa)];constructor(_0x4d2d9c,_0x14ebc7,_0xe2255a){const _0x39cbfd=_0x3a16b0;super(_0x4d2d9c),this[_0x39cbfd(0xae)]=this[_0x39cbfd(0xad)](),this[_0x39cbfd(0xd0)]=new _0x1c83b7(_0x4d2d9c),this[_0x39cbfd(0xb8)]=new _0x7b881a(_0x4d2d9c),this[_0x39cbfd(0xd3)]=new _0x3a8858(_0x4d2d9c,_0xe2255a),this[_0x39cbfd(0xaa)]=new _0x350fa0(_0x4d2d9c),this[_0x39cbfd(0xaa)][_0x39cbfd(0xce)](this[_0x39cbfd(0xca)]()),this[_0x39cbfd(0xbf)](_0x39cbfd(0xa4),_0x14ebc7),this[_0x39cbfd(0xce)]({'tag':_0x39cbfd(0xcb),'attributes':{'class':['ck',_0x39cbfd(0xcf),_0x39cbfd(0xc4)],'tabindex':'-1'},'children':this[_0x39cbfd(0xae)]}),this[_0x39cbfd(0xaf)](),this[_0x39cbfd(0xa0)](_0x39cbfd(0xb3),()=>{const _0x5207cc=_0x39cbfd;this[_0x5207cc(0xc0)](this[_0x5207cc(0x9b)],_0x3700d9=>{const _0x1965b0=_0x5207cc;this[_0x1965b0(0xbd)](_0x3700d9);});}),this['on'](_0x39cbfd(0xb1),()=>{const _0x31c40b=_0x39cbfd;this[_0x31c40b(0xaf)]();}),this[_0x39cbfd(0xa2)]();}[_0x3a16b0(0xcc)](){const _0x4d454c=_0x3a16b0;this[_0x4d454c(0x9b)][_0x4d454c(0xcc)]();}[_0x3a16b0(0xaf)](){const _0x50605d=_0x3a16b0;switch(this[_0x50605d(0xae)][_0x50605d(0xc5)](),this[_0x50605d(0xa4)]){case _0x50605d(0x9e):this[_0x50605d(0xae)][_0x50605d(0xd1)](this[_0x50605d(0xd0)]);break;case _0x50605d(0xc2):this[_0x50605d(0xae)][_0x50605d(0xd1)](this[_0x50605d(0xb8)]);break;case _0x50605d(0xb0):this[_0x50605d(0xae)][_0x50605d(0x9d)]([this[_0x50605d(0xd3)],this[_0x50605d(0xaa)]]);}}[_0x3a16b0(0xc0)](_0x2ed208,_0x4b00e5){const _0x49b295=_0x3a16b0,_0x8ec659=_0x49b295(0xb5),_0x4009a6=_0x2ed208[_0x49b295(0xcd)](_0x8ec659);if(_0x4009a6)return _0x4b00e5(_0x4009a6);const _0x33c3ba=new MutationObserver(_0x235a54=>{const _0x3af616=_0x49b295,_0x6036ae=_0x235a54[_0x3af616(0xac)](_0x4f20ae=>_0x4f20ae[_0x3af616(0xa8)]===_0x2ed208&&_0x4f20ae[_0x3af616(0xa5)][_0x3af616(0xb7)]>0x0&&_0x4f20ae[_0x3af616(0xa5)][0x0][_0x3af616(0xa3)][_0x3af616(0xbe)]()===_0x8ec659);_0x6036ae[_0x3af616(0xb7)]&&(_0x33c3ba[_0x3af616(0x9f)](),_0x4b00e5(_0x6036ae[0x0][_0x3af616(0xa5)][0x0]));});_0x33c3ba[_0x49b295(0xab)](_0x2ed208,{'childList':!0x0,'subtree':!0x0});}[_0x3a16b0(0xbd)](_0x1fdd93){const _0x4b9071=_0x3a16b0;_0x1fdd93[_0x4b9071(0xa1)](_0x4b9071(0xbb),_0x330269=>{const _0x55b739=_0x4b9071;this[_0x55b739(0xc1)](_0x55b739(0xbb),{'imageSrc':_0x330269[_0x55b739(0xba)][_0x55b739(0xa6)]});}),_0x1fdd93[_0x4b9071(0xa1)](_0x4b9071(0xc9),()=>{const _0x24c94b=_0x4b9071;this[_0x24c94b(0xc1)](_0x24c94b(0xc9));});}[_0x3a16b0(0xa2)](){const _0x26981c=_0x3a16b0;this[_0x26981c(0xb8)]['on'](_0x26981c(0xc7),()=>{const _0x19e49e=_0x26981c;this[_0x19e49e(0xc1)](_0x19e49e(0xc7));});}}function _0x133d(){const _0x45b4eb=['_focusableView','observe','filter','createCollection','_items','_setView','ready','change:status','228xKOUEi','render','752590duiAhL','uc-cloud-image-editor','115AzqPDp','length','_errorView','1304069AjHNxp','detail','apply','1006794AwSZCR','_addUploadcareImageEditorListeners','toLowerCase','set','_waitForImageEditorComponent','fire','error','11dkRoQL','ck-uploadcare-form','clear','149596UTDScd','retry','4OrRfUq','cancel','getFocusableElement','div','focus','querySelector','setTemplate','ck-reset_all-excluded','_loadingView','add','191907CBwcco','_editingView','8OqhuYl','element','7ldMyAE','addMany','uploading','disconnect','once','addEventListener','_addErrorViewListeners','nodeName','status','addedNodes','cdnUrl','3465834jIDXLT','target','2097640SmwOgq'];_0x133d=function(){return _0x45b4eb;};return _0x133d();}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x53d5ab=_0x5eb1;function _0x4757(){const _0x4ad624=['uploadcare.allowExternalImagesEditing','plugins','isActive','imageEditController','11281384uAQtfH','requires','9299661DOakmP','4826346iDjbTI','1377553BQUaOb','document','element','getSelectedElement','_isEditable','set','unbind','execute','get','selection','bind','model','refresh','editor','5tQLhMo','isEnabled','config','150292CmyMon','imageInline','4120920BgAXKY','imageBlock','368676sgohHz'];_0x4757=function(){return _0x4ad624;};return _0x4757();}(function(_0x2be8b5,_0x269138){const _0x128279=_0x5eb1,_0x1054ae=_0x2be8b5();while(!![]){try{const _0x1efd51=-parseInt(_0x128279(0x160))/0x1+-parseInt(_0x128279(0x157))/0x2+parseInt(_0x128279(0x15f))/0x3+-parseInt(_0x128279(0x153))/0x4*(-parseInt(_0x128279(0x150))/0x5)+parseInt(_0x128279(0x155))/0x6+-parseInt(_0x128279(0x15e))/0x7+parseInt(_0x128279(0x15c))/0x8;if(_0x1efd51===_0x269138)break;else _0x1054ae['push'](_0x1054ae['shift']());}catch(_0x2f683e){_0x1054ae['push'](_0x1054ae['shift']());}}}(_0x4757,0xd03c6));import{Command as _0x402f7e}from'ckeditor5/src/core.js';import{Dialog as _0x94d2b9}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x29c221}from'./ui/uploadcareimageeditcontroller.js';function _0x5eb1(_0x54574c,_0x1d5fd7){const _0x4757c2=_0x4757();return _0x5eb1=function(_0x5eb14d,_0xe9daec){_0x5eb14d=_0x5eb14d-0x14f;let _0x1b5dbb=_0x4757c2[_0x5eb14d];return _0x1b5dbb;},_0x5eb1(_0x54574c,_0x1d5fd7);}import{createEditabilityChecker as _0x49a6c4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x402f7e{[_0x53d5ab(0x15b)];static get[_0x53d5ab(0x15d)](){return[_0x94d2b9];}[_0x53d5ab(0x164)];constructor(_0x1ca2f7){const _0x432607=_0x53d5ab;super(_0x1ca2f7),this[_0x432607(0x15b)]=void 0x0,this[_0x432607(0x164)]=_0x49a6c4(_0x1ca2f7[_0x432607(0x152)][_0x432607(0x168)](_0x432607(0x158))||[]),this[_0x432607(0x165)]({'isActive':!0x1});}[_0x53d5ab(0x16c)](){const _0x1ada2c=_0x53d5ab,_0x166097=this[_0x1ada2c(0x14f)][_0x1ada2c(0x16b)][_0x1ada2c(0x161)][_0x1ada2c(0x169)][_0x1ada2c(0x163)]();this[_0x1ada2c(0x151)]=this[_0x1ada2c(0x164)](_0x166097);}[_0x53d5ab(0x167)](){const _0xf7c13b=_0x53d5ab;this[_0xf7c13b(0x15b)]&&(this[_0xf7c13b(0x166)](_0xf7c13b(0x15a)),this[_0xf7c13b(0x15b)]=void 0x0);const _0x254e74=this[_0xf7c13b(0x14f)][_0xf7c13b(0x16b)][_0xf7c13b(0x161)][_0xf7c13b(0x169)][_0xf7c13b(0x163)]();_0x254e74&&(_0x254e74['is'](_0xf7c13b(0x162),_0xf7c13b(0x156))||_0x254e74['is'](_0xf7c13b(0x162),_0xf7c13b(0x154)))&&(this[_0xf7c13b(0x15b)]=new _0x29c221(this[_0xf7c13b(0x14f)],this[_0xf7c13b(0x14f)][_0xf7c13b(0x159)][_0xf7c13b(0x168)](_0x94d2b9),_0x254e74),this[_0xf7c13b(0x16a)](_0xf7c13b(0x15a))['to'](this[_0xf7c13b(0x15b)],_0xf7c13b(0x15a)));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
const _0x467c66=_0x13da;function _0x5c7d(){const _0x3987b0=['21bvKtbp','isPremiumPlugin','ImageUtils','31135mKCitb','init','commands','1vPGDrr','3700499gwzZOi','1212zeaICY','10qNUYLd','12YZDsoO','1069125eUybpE','1527096Wgrzpy','ImageEditing','isOfficialPlugin','6840261qrKdgV','3299552FDURQO','uploadcareImageReplace','2286406WrkOOH','uploadcareImageEdit','add','requires','UploadcareImageEditEditing','pluginName','20kYhwKU'];_0x5c7d=function(){return _0x3987b0;};return _0x5c7d();}(function(_0x40ef36,_0x475488){const _0x33829c=_0x13da,_0x4a1b48=_0x40ef36();while(!![]){try{const _0x433a82=-parseInt(_0x33829c(0x89))/0x1*(parseInt(_0x33829c(0x95))/0x2)+parseInt(_0x33829c(0x8e))/0x3*(parseInt(_0x33829c(0x8d))/0x4)+parseInt(_0x33829c(0x9b))/0x5*(-parseInt(_0x33829c(0x8f))/0x6)+parseInt(_0x33829c(0x9c))/0x7*(parseInt(_0x33829c(0x93))/0x8)+parseInt(_0x33829c(0x92))/0x9*(parseInt(_0x33829c(0x8c))/0xa)+-parseInt(_0x33829c(0x8a))/0xb+parseInt(_0x33829c(0x8b))/0xc*(parseInt(_0x33829c(0x86))/0xd);if(_0x433a82===_0x475488)break;else _0x4a1b48['push'](_0x4a1b48['shift']());}catch(_0x2cf7a1){_0x4a1b48['push'](_0x4a1b48['shift']());}}}(_0x5c7d,0xc5ed1));import{Plugin as _0x7cea4d}from'ckeditor5/src/core.js';import{Notification as _0x13ae1e}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x28bb5c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3413c7}from'./uploadcareimagereplacecommand.js';function _0x13da(_0x3f4b7b,_0x29be6e){const _0x5c7d9a=_0x5c7d();return _0x13da=function(_0x13daef,_0x43c935){_0x13daef=_0x13daef-0x85;let _0x9be087=_0x5c7d9a[_0x13daef];return _0x9be087;},_0x13da(_0x3f4b7b,_0x29be6e);}import{UploadcareEditing as _0x1a8be3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x7cea4d{static get[_0x467c66(0x9a)](){const _0x299527=_0x467c66;return _0x299527(0x99);}static get[_0x467c66(0x98)](){const _0x10db63=_0x467c66;return[_0x1a8be3,_0x13ae1e,_0x10db63(0x85),_0x10db63(0x90)];}static get[_0x467c66(0x91)](){return!0x0;}static get[_0x467c66(0x9d)](){return!0x0;}[_0x467c66(0x87)](){const _0xd56b59=_0x467c66,{editor:_0x10b3f7}=this;_0x10b3f7[_0xd56b59(0x88)][_0xd56b59(0x97)](_0xd56b59(0x96),new _0x28bb5c(_0x10b3f7)),_0x10b3f7[_0xd56b59(0x88)][_0xd56b59(0x97)](_0xd56b59(0x94),new _0x3413c7(_0x10b3f7));}}
|