@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260121.0 → 0.0.0-nightly-next-20260121.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(_0x3f7dc3,_0xdcb7c0){var _0x286445=_0x23c9,_0x1569c9=_0x3f7dc3();while(!![]){try{var _0x33e702=parseInt(_0x286445(0x71))/0x1+-parseInt(_0x286445(0x74))/0x2*(-parseInt(_0x286445(0x72))/0x3)+-parseInt(_0x286445(0x70))/0x4*(parseInt(_0x286445(0x75))/0x5)+-parseInt(_0x286445(0x73))/0x6+parseInt(_0x286445(0x77))/0x7+parseInt(_0x286445(0x76))/0x8*(parseInt(_0x286445(0x6e))/0x9)+parseInt(_0x286445(0x6f))/0xa*(-parseInt(_0x286445(0x78))/0xb);if(_0x33e702===_0xdcb7c0)break;else _0x1569c9['push'](_0x1569c9['shift']());}catch(_0x35c7d3){_0x1569c9['push'](_0x1569c9['shift']());}}}(_0x3e5c,0x58322));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';function _0x23c9(_0x3a90de,_0x220077){var _0x3e5c1d=_0x3e5c();return _0x23c9=function(_0x23c9d5,_0x569016){_0x23c9d5=_0x23c9d5-0x6e;var _0xcf4ff1=_0x3e5c1d[_0x23c9d5];return _0xcf4ff1;},_0x23c9(_0x3a90de,_0x220077);}export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3e5c(){var _0x40dca2=['12SSLCXO','455461VHHaER','3gllEVk','1807188ABQgRx','867262zXwhRq','96995jMWjzg','8xmsdeD','2913330LZsrfc','22LFXrhq','6153129PfJqLk','6341590USghCR'];_0x3e5c=function(){return _0x40dca2;};return _0x3e5c();}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 _0x245b45=_0x4894;function _0x2baa(){const _0x1752da=['addEventListener','doneFlow','getAPI','Local','setSelection','removeAllFiles','setCurrentActivity','3615655qTbdob','detail','getOutputCollectionState','_editing','3WLCSRc','element','Insert','getLastPosition','image','_api','_formView','_insertAsset','16NgOpvR','editing','text','change','EDITOR_TOP_CENTER','imageInline','idle','configElement','destroy','852018zmEGIB','attributes','document','width','2212LyXuiF','uploadCare','5758110bKNTRW','view','_dialog','removeSelectionAttribute','_initListeners','focus','3252JQkkgv','status','initFlow','4874842MohbAU','selection','isOpen','length','stopDelegating','get','222288RUotCx','Replace','insertImage','show','imageBlock','linkHref','getSelectedElement','execute','27imhVVS','_initDialog','allEntries','imageInfo','ctxElement','ucContextId','_editor','source-list','setAttribute','stopListening','model','_type','done-click','uuid','861dCdpSB','_insertImage','1818330XZBFoJ','hide','plugins'];_0x2baa=function(){return _0x1752da;};return _0x2baa();}(function(_0x3574ad,_0x48c205){const _0x53d148=_0x4894,_0x3109ff=_0x3574ad();while(!![]){try{const _0x3cc0b7=-parseInt(_0x53d148(0x1b8))/0x1*(parseInt(_0x53d148(0x17d))/0x2)+-parseInt(_0x53d148(0x1a8))/0x3*(-parseInt(_0x53d148(0x181))/0x4)+-parseInt(_0x53d148(0x1b4))/0x5+-parseInt(_0x53d148(0x183))/0x6+parseInt(_0x53d148(0x18c))/0x7*(-parseInt(_0x53d148(0x1c0))/0x8)+-parseInt(_0x53d148(0x19a))/0x9*(parseInt(_0x53d148(0x1aa))/0xa)+-parseInt(_0x53d148(0x192))/0xb*(-parseInt(_0x53d148(0x189))/0xc);if(_0x3cc0b7===_0x48c205)break;else _0x3109ff['push'](_0x3109ff['shift']());}catch(_0x18a815){_0x3109ff['push'](_0x3109ff['shift']());}}}(_0x2baa,0xb3ab5));import{IconUploadcareImageUpload as _0x5a85d4}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x3ffd6a}from'ckeditor5/src/utils.js';import{Dialog as _0x2f43a2,DialogViewPosition as _0x45aa32}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x93f7ac}from'./uploadcareformview.js';function _0x4894(_0x25f706,_0x2b20e6){const _0x2baa6a=_0x2baa();return _0x4894=function(_0x489434,_0x434ef7){_0x489434=_0x489434-0x178;let _0x170043=_0x2baa6a[_0x489434];return _0x170043;},_0x4894(_0x25f706,_0x2b20e6);}import{UploadcareSource as _0x57bce0}from'../uploadcareconfig.js';import{getTranslation as _0x391ad1}from'../utils/common-translations.js';import{getImageUrls as _0x25ac49,getImageDimension as _0x59d842}from'../utils/editingutils.js';import{isAncestor as _0x2c86ec}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x3ffd6a(){[_0x245b45(0x1a0)];[_0x245b45(0x185)];[_0x245b45(0x1b7)];[_0x245b45(0x1bd)];[_0x245b45(0x1a5)]=null;[_0x245b45(0x1be)]=null;constructor(_0x1ab0c1,_0x24562c,_0x771484){const _0x2043c6=_0x245b45;super(),this[_0x2043c6(0x1a0)]=_0x1ab0c1,this[_0x2043c6(0x1b7)]=_0x24562c,this[_0x2043c6(0x185)]=_0x1ab0c1[_0x2043c6(0x1ac)][_0x2043c6(0x191)](_0x2f43a2),this[_0x2043c6(0x1bd)]=_0x24562c[_0x2043c6(0x19e)][_0x2043c6(0x1af)](),this[_0x2043c6(0x1a5)]=_0x771484,this[_0x2043c6(0x1b7)][_0x2043c6(0x17b)][_0x2043c6(0x1a2)](_0x2043c6(0x1a1),this[_0x2043c6(0x1a5)]),this[_0x2043c6(0x19b)](),this[_0x2043c6(0x187)](),this[_0x2043c6(0x1bd)][_0x2043c6(0x18b)]();}[_0x245b45(0x17c)](){const _0x54300d=_0x245b45;this[_0x54300d(0x1be)]&&(this[_0x54300d(0x1be)][_0x54300d(0x17c)](),this[_0x54300d(0x1be)]=null),this[_0x54300d(0x1bd)]&&this[_0x54300d(0x1bd)][_0x54300d(0x1ae)](),this[_0x54300d(0x1a3)](),this[_0x54300d(0x190)]();}[_0x245b45(0x19b)](){const _0x4c3e9c=_0x245b45,{locale:_0x4925f9,model:_0x3b80a2}=this[_0x4c3e9c(0x1a0)],_0x4e2dbe=_0x3b80a2[_0x4c3e9c(0x17f)][_0x4c3e9c(0x18d)][_0x4c3e9c(0x198)](),_0x3f3ec8=_0x4e2dbe&&(_0x4e2dbe['is'](_0x4c3e9c(0x1b9),_0x4c3e9c(0x196))||_0x4e2dbe['is'](_0x4c3e9c(0x1b9),_0x4c3e9c(0x179)));this[_0x4c3e9c(0x1be)]=new _0x93f7ac(_0x4925f9,this[_0x4c3e9c(0x1b7)][_0x4c3e9c(0x19f)]),this[_0x4c3e9c(0x185)][_0x4c3e9c(0x195)]({'id':_0x4c3e9c(0x182),'icon':_0x5a85d4,'title':_0x391ad1(_0x4925f9,this[_0x4c3e9c(0x1a5)],_0x3f3ec8?_0x4c3e9c(0x193):_0x4c3e9c(0x1ba))[_0x4c3e9c(0x1c2)],'content':this[_0x4c3e9c(0x1be)],'position':_0x45aa32[_0x4c3e9c(0x178)],'isModal':!0x0,'onShow':()=>{const _0x5b8914=_0x4c3e9c;this[_0x5b8914(0x1be)][_0x5b8914(0x188)]();},'onHide':()=>{const _0x2d72a9=_0x4c3e9c;this[_0x2d72a9(0x1bd)][_0x2d72a9(0x1b2)](),this[_0x2d72a9(0x1a0)][_0x2d72a9(0x1c1)][_0x2d72a9(0x184)][_0x2d72a9(0x188)](),this[_0x2d72a9(0x17c)]();},'keystrokeHandlerOptions':{'filter':_0x50b82b=>!_0x2c86ec(_0x50b82b,this[_0x4c3e9c(0x1be)][_0x4c3e9c(0x1b9)])}});}[_0x245b45(0x187)](){const _0x4e6990=_0x245b45;this[_0x4e6990(0x1b7)][_0x4e6990(0x19e)][_0x4e6990(0x1ad)](_0x4e6990(0x1a6),()=>{const _0x5149dd=_0x4e6990,{allEntries:_0x54cc36}=this[_0x5149dd(0x1bd)][_0x5149dd(0x1b6)]();this[_0x5149dd(0x1a0)][_0x5149dd(0x1a4)][_0x5149dd(0x1c3)](_0x4dd8ab=>{const _0x55b585=_0x5149dd,_0x41e745=_0x54cc36[_0x55b585(0x18f)];for(const _0x363d46 of _0x54cc36){const _0x7057c1=_0x363d46===_0x54cc36[_0x41e745-0x1],{cdnUrl:_0x2e0b7d,fileInfo:_0x488484}=_0x363d46;if(!_0x2e0b7d||!_0x488484)continue;const {width:_0x4581a2,height:_0x1d1695}=_0x488484[_0x55b585(0x19d)],_0x72ad93=_0x59d842(_0x2e0b7d,_0x4581a2,_0x1d1695),_0x1b564e=_0x25ac49(_0x2e0b7d,_0x72ad93[_0x55b585(0x180)]),_0x349afb={'id':_0x488484[_0x55b585(0x1a7)],'type':_0x55b585(0x1bc),'attributes':{'imageDimension':_0x72ad93,..._0x1b564e}};this[_0x55b585(0x1bf)](_0x349afb,_0x7057c1,_0x4dd8ab);}}),this[_0x5149dd(0x185)][_0x5149dd(0x1ab)]();}),this[_0x4e6990(0x1b7)][_0x4e6990(0x19e)][_0x4e6990(0x1ad)](_0x4e6990(0x1c3),_0x128703=>{const _0x554a2f=_0x4e6990;_0x554a2f(0x17a)===_0x128703[_0x554a2f(0x1b5)][_0x554a2f(0x18a)]&&!_0x128703[_0x554a2f(0x1b5)][_0x554a2f(0x19c)][_0x554a2f(0x18f)]&&this[_0x554a2f(0x185)][_0x554a2f(0x18e)]&&(this[_0x554a2f(0x1a5)]===_0x57bce0[_0x554a2f(0x1b0)]?this[_0x554a2f(0x1bd)][_0x554a2f(0x1b3)](_0x57bce0[_0x554a2f(0x1b0)]):this[_0x554a2f(0x1bd)][_0x554a2f(0x18b)]());});}[_0x245b45(0x1bf)](_0x3898cc,_0xac16ec,_0x360d42){const _0x236a33=_0x245b45,_0x4a65fb=this[_0x236a33(0x1a0)][_0x236a33(0x1a4)][_0x236a33(0x17f)][_0x236a33(0x18d)],_0x14fc21=_0x4a65fb[_0x236a33(0x198)](),_0x48a5ca=!(!_0x14fc21||!_0x14fc21['is'](_0x236a33(0x1b9),_0x236a33(0x179)));_0x360d42[_0x236a33(0x186)](_0x236a33(0x197)),this[_0x236a33(0x1a9)](_0x3898cc,_0x48a5ca),_0xac16ec||_0x360d42[_0x236a33(0x1b1)](_0x4a65fb[_0x236a33(0x1bb)]());}[_0x245b45(0x1a9)](_0x32c12b,_0x3c981c){const _0x1dbcd6=_0x245b45,_0x4b92d2=this[_0x1dbcd6(0x1a0)],{imageDimension:_0x1e377e,imageFallbackUrl:_0x2de880,imageSources:_0x41e248}=_0x32c12b[_0x1dbcd6(0x17e)];_0x4b92d2[_0x1dbcd6(0x199)](_0x1dbcd6(0x194),{'imageType':_0x3c981c?_0x1dbcd6(0x179):null,'source':{'uploadcareImageId':_0x32c12b['id'],'src':_0x2de880,'sources':_0x41e248,..._0x1e377e}});}}
|
|
@@ -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 _0x5f2d67=_0x30fc;function _0x30fc(_0x4c2c88,_0x509b9b){var _0x4c8f0f=_0x4c8f();return _0x30fc=function(_0x30fc05,_0x33fb8d){_0x30fc05=_0x30fc05-0x68;var _0xabd57c=_0x4c8f0f[_0x30fc05];return _0xabd57c;},_0x30fc(_0x4c2c88,_0x509b9b);}(function(_0x551176,_0x43315f){var _0x2d10c9=_0x30fc,_0x58329f=_0x551176();while(!![]){try{var _0x7f2c7a=parseInt(_0x2d10c9(0x76))/0x1*(parseInt(_0x2d10c9(0x6a))/0x2)+-parseInt(_0x2d10c9(0x78))/0x3*(parseInt(_0x2d10c9(0x73))/0x4)+-parseInt(_0x2d10c9(0x6f))/0x5*(parseInt(_0x2d10c9(0x79))/0x6)+-parseInt(_0x2d10c9(0x68))/0x7*(parseInt(_0x2d10c9(0x71))/0x8)+-parseInt(_0x2d10c9(0x74))/0x9+parseInt(_0x2d10c9(0x7d))/0xa+parseInt(_0x2d10c9(0x72))/0xb*(parseInt(_0x2d10c9(0x7e))/0xc);if(_0x7f2c7a===_0x43315f)break;else _0x58329f['push'](_0x58329f['shift']());}catch(_0x462c38){_0x58329f['push'](_0x58329f['shift']());}}}(_0x4c8f,0x836c2));import{DialogFocusManagerView as _0x4a83dc}from'../utils/dialogfocusmanagerview.js';function _0x4c8f(){var _0x393b45=['3071817Xsngps','uc-light','6LcHqxy','uploader-','ck-uploadcare-form','uc-file-uploader-inline','focus','13510iHHeSt','getFocusableElement','16BiRPhF','23727605hjobMV','4IhvoGC','4808754AAsRdC','ck-reset_all-excluded','95169QzssnW','element','273486IDIxar','1962hxHgJy','div','setTemplate','ck-uploadcare-theme','4824280HBLetf','12hskgxX'];_0x4c8f=function(){return _0x393b45;};return _0x4c8f();}import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x4a83dc{constructor(_0x501461,_0x3e3cf6){var _0x1c2ef4=_0x30fc;super(_0x501461),this[_0x1c2ef4(0x7b)]({'tag':_0x1c2ef4(0x7a),'attributes':{'class':['ck',_0x1c2ef4(0x75),_0x1c2ef4(0x6c)],'tabindex':'-1'},'children':[{'tag':_0x1c2ef4(0x6d),'attributes':{'class':[_0x1c2ef4(0x69),_0x1c2ef4(0x7c)],'ctx-name':_0x1c2ef4(0x6b)+_0x3e3cf6}},this[_0x1c2ef4(0x70)]()]});}[_0x5f2d67(0x6e)](){var _0x4752b1=_0x5f2d67;this[_0x4752b1(0x77)][_0x4752b1(0x6e)]();}}
|
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
|
-
function _0x906b(_0x3e4e90,_0x293816){const _0x10e4d8=_0x10e4();return _0x906b=function(_0x906b94,_0x413d03){_0x906b94=_0x906b94-0x93;let _0x56531e=_0x10e4d8[_0x906b94];return _0x56531e;},_0x906b(_0x3e4e90,_0x293816);}const _0x25da51=_0x906b;(function(_0x37e3e7,_0x4f88df){const _0x4aeb45=_0x906b,_0x22c31c=_0x37e3e7();while(!![]){try{const _0x10f797=-parseInt(_0x4aeb45(0xac))/0x1+-parseInt(_0x4aeb45(0xa2))/0x2+parseInt(_0x4aeb45(0xa5))/0x3+-parseInt(_0x4aeb45(0xad))/0x4+-parseInt(_0x4aeb45(0xa1))/0x5*(-parseInt(_0x4aeb45(0xa6))/0x6)+parseInt(_0x4aeb45(0x9e))/0x7*(-parseInt(_0x4aeb45(0x9c))/0x8)+parseInt(_0x4aeb45(0x95))/0x9;if(_0x10f797===_0x4f88df)break;else _0x22c31c['push'](_0x22c31c['shift']());}catch(_0x1b7761){_0x22c31c['push'](_0x22c31c['shift']());}}}(_0x10e4,0x44a6c));import{Plugin as _0x401aff}from'ckeditor5/src/core.js';function _0x10e4(){const _0x33110a=['defineComponents','editor','472922aYVRSJ','2067564ysRJzg','get','Uploadcare','10947456NMoozf','isOfficialPlugin','URL','requires','Local','uploadcare.uploader.sourceList','config','200KdJvif','_defineLocale','23653ZfUBLe','pluginName','locale','337135NMLqAb','852350wftzUv','uploadcare.locale','contentLanguage','77577dEOgMD','48HjhIJn','defineLocale','isPremiumPlugin','define'];_0x10e4=function(){return _0x33110a;};return _0x10e4();}import{UploadcareUI as _0xa0681a}from'./uploadcareui.js';import{UploadcareEditing as _0x8f780b}from'./uploadcareediting.js';import{UploadcareSource as _0xa57b2e}from'./uploadcareconfig.js';import*as _0x562151 from'@uploadcare/file-uploader';export class Uploadcare extends _0x401aff{static get[_0x25da51(0x98)](){return[_0x8f780b,_0xa0681a];}static get[_0x25da51(0x9f)](){const _0x2f7d80=_0x25da51;return _0x2f7d80(0x94);}static get[_0x25da51(0x96)](){return!0x0;}static get[_0x25da51(0xa8)](){return!0x0;}constructor(_0x19eb9f){const _0x2bba99=_0x25da51;super(_0x19eb9f),_0x19eb9f[_0x2bba99(0x9b)][_0x2bba99(0xa9)](_0x2bba99(0x9a),[_0xa57b2e[_0x2bba99(0x99)],_0xa57b2e[_0x2bba99(0x97)]]),_0x562151[_0x2bba99(0xaa)](_0x562151),this[_0x2bba99(0x9d)]();}[_0x25da51(0x9d)](){const _0x147708=_0x25da51,_0x2f2050=this[_0x147708(0xab)][_0x147708(0x9b)][_0x147708(0x93)](_0x147708(0xa3)),_0x4025c2=this[_0x147708(0xab)][_0x147708(0xa0)][_0x147708(0xa4)];_0x2f2050&&_0x562151[_0x147708(0xa7)](_0x4025c2,_0x2f2050);}}
|
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 _0x34a617=_0xa868;(function(_0x4b2154,_0x411106){var _0xe6fd2c=_0xa868,_0xf295bd=_0x4b2154();while(!![]){try{var _0x3d2c00=parseInt(_0xe6fd2c(0x1f3))/0x1+parseInt(_0xe6fd2c(0x1e9))/0x2+-parseInt(_0xe6fd2c(0x1ef))/0x3*(-parseInt(_0xe6fd2c(0x1f0))/0x4)+parseInt(_0xe6fd2c(0x1f4))/0x5*(-parseInt(_0xe6fd2c(0x1fa))/0x6)+parseInt(_0xe6fd2c(0x1f2))/0x7*(-parseInt(_0xe6fd2c(0x1ec))/0x8)+parseInt(_0xe6fd2c(0x1fb))/0x9*(-parseInt(_0xe6fd2c(0x1f8))/0xa)+parseInt(_0xe6fd2c(0x1f6))/0xb*(-parseInt(_0xe6fd2c(0x1e8))/0xc);if(_0x3d2c00===_0x411106)break;else _0xf295bd['push'](_0xf295bd['shift']());}catch(_0x4bdec2){_0xf295bd['push'](_0xf295bd['shift']());}}}(_0x2ef9,0xbef93));function _0xa868(_0x35c2c4,_0x17083d){var _0x2ef970=_0x2ef9();return _0xa868=function(_0xa868f2,_0x399dd5){_0xa868f2=_0xa868f2-0x1e3;var _0x8215dc=_0x2ef970[_0xa868f2];return _0x8215dc;},_0xa868(_0x35c2c4,_0x17083d);}import{Command as _0x578b8d}from'ckeditor5/src/core.js';import{Dialog as _0x1118ae}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x42aec8}from'./uploadcareediting.js';import{UploadcareController as _0x570caa}from'./ui/uploadcarecontroller.js';function _0x2ef9(){var _0x412f4f=['commands','insertImage','isEnabled','destroy','requires','1500VZmsAb','2209350zDbGPZ','get','execute','8ySsUOs','refresh','editor','2182065PYkrtn','8dbdKQX','_editing','2098103wzsFSk','210617EhaksF','1988610RlAwzD','_controller','15719OGYzZN','_checkEnabled','10bcucGN','plugins','6btrMWH','10005291nHBSXE'];_0x2ef9=function(){return _0x412f4f;};return _0x2ef9();}export class UploadcareCommand extends _0x578b8d{[_0x34a617(0x1f1)];[_0x34a617(0x1f5)]=null;static get[_0x34a617(0x1e7)](){return[_0x1118ae,_0x42aec8];}constructor(_0x1e8f66){var _0x3e1d27=_0x34a617;super(_0x1e8f66),this[_0x3e1d27(0x1f1)]=_0x1e8f66[_0x3e1d27(0x1f9)][_0x3e1d27(0x1ea)](_0x42aec8);}[_0x34a617(0x1ed)](){var _0xa0c173=_0x34a617;this[_0xa0c173(0x1e5)]=this[_0xa0c173(0x1f7)]();}[_0x34a617(0x1eb)](_0xbaef0c){var _0x290403=_0x34a617;this[_0x290403(0x1f5)]&&(this[_0x290403(0x1f5)][_0x290403(0x1e6)](),this[_0x290403(0x1f5)]=null),this[_0x290403(0x1f5)]=new _0x570caa(this[_0x290403(0x1ee)],this[_0x290403(0x1f1)],_0xbaef0c);}[_0x34a617(0x1f7)](){var _0x4d0126=_0x34a617;return this[_0x4d0126(0x1ee)][_0x4d0126(0x1e3)][_0x4d0126(0x1ea)](_0x4d0126(0x1e4))[_0x4d0126(0x1e5)];}}
|
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 _0x594a(_0xb896ab,_0x315ae3){var _0x4443fe=_0x4443();return _0x594a=function(_0x594ae5,_0x2910bb){_0x594ae5=_0x594ae5-0x19a;var _0x21d710=_0x4443fe[_0x594ae5];return _0x21d710;},_0x594a(_0xb896ab,_0x315ae3);}(function(_0x22a1cc,_0x51c46c){var _0x4c79fc=_0x594a,_0x2be8ee=_0x22a1cc();while(!![]){try{var _0x35766e=-parseInt(_0x4c79fc(0x1a7))/0x1+-parseInt(_0x4c79fc(0x1a8))/0x2*(parseInt(_0x4c79fc(0x1a1))/0x3)+parseInt(_0x4c79fc(0x1a4))/0x4*(parseInt(_0x4c79fc(0x1ae))/0x5)+-parseInt(_0x4c79fc(0x1a0))/0x6+parseInt(_0x4c79fc(0x1ac))/0x7+parseInt(_0x4c79fc(0x19b))/0x8+parseInt(_0x4c79fc(0x1aa))/0x9*(parseInt(_0x4c79fc(0x1ad))/0xa);if(_0x35766e===_0x51c46c)break;else _0x2be8ee['push'](_0x2be8ee['shift']());}catch(_0x48985c){_0x2be8ee['push'](_0x2be8ee['shift']());}}}(_0x4443,0x7c550));function _0x4443(){var _0x27ddd9=['onedrive','2957094wdOnXF','8859580GKfMbo','254855IIdgyL','URL','Facebook','Local','local','4336504ziiQgE','dropbox','gdrive','Dropbox','GDrive','4679376pdWbLP','2262dFhacV','GPhotos','OneDrive','44xruYQH','facebook','url','223970ManZzL','2382cCsZzf','gphotos','9hqSUcC'];_0x4443=function(){return _0x27ddd9;};return _0x4443();}export var UploadcareSource;!function(_0x1c9cf9){var _0x21a6a3=_0x594a;_0x1c9cf9[_0x21a6a3(0x1b1)]=_0x21a6a3(0x19a),_0x1c9cf9[_0x21a6a3(0x1af)]=_0x21a6a3(0x1a6),_0x1c9cf9[_0x21a6a3(0x19e)]=_0x21a6a3(0x19c),_0x1c9cf9[_0x21a6a3(0x19f)]=_0x21a6a3(0x19d),_0x1c9cf9[_0x21a6a3(0x1b0)]=_0x21a6a3(0x1a5),_0x1c9cf9[_0x21a6a3(0x1a2)]=_0x21a6a3(0x1a9),_0x1c9cf9[_0x21a6a3(0x1a3)]=_0x21a6a3(0x1ab);}(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 _0x466873=_0x3e8a;(function(_0x901834,_0x2e96e1){const _0x4cd4f3=_0x3e8a,_0x33b368=_0x901834();while(!![]){try{const _0x5a8226=-parseInt(_0x4cd4f3(0x10b))/0x1*(-parseInt(_0x4cd4f3(0xfc))/0x2)+parseInt(_0x4cd4f3(0xd9))/0x3*(parseInt(_0x4cd4f3(0x118))/0x4)+-parseInt(_0x4cd4f3(0xfb))/0x5*(parseInt(_0x4cd4f3(0x100))/0x6)+-parseInt(_0x4cd4f3(0xd2))/0x7*(-parseInt(_0x4cd4f3(0xe1))/0x8)+parseInt(_0x4cd4f3(0xc3))/0x9*(-parseInt(_0x4cd4f3(0xda))/0xa)+-parseInt(_0x4cd4f3(0xc6))/0xb*(-parseInt(_0x4cd4f3(0x109))/0xc)+-parseInt(_0x4cd4f3(0x114))/0xd*(parseInt(_0x4cd4f3(0x106))/0xe);if(_0x5a8226===_0x2e96e1)break;else _0x33b368['push'](_0x33b368['shift']());}catch(_0x16bea7){_0x33b368['push'](_0x33b368['shift']());}}}(_0x362b,0x8a43a));function _0x362b(){const _0x187f35=['get','downcast','_initConfig','href','uploadcare.pubkey','body','querySelector','map','replaceImageSource','conversion','init','extend','ucContextId','listenTo','imageInline','schema','getAttribute','iconHrefResolver','15475xesFGy','3622xKMFET','getSelectedElement','config','fromCharCode','72BTeTwD','uploader-','_initConversion','isPremiumPlugin','\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','imageBlock','12193790OoYdaW','destroy','pluginName','24FilkUa','contentLanguage','471RgDtnA','UploadcareEditing','_ctxElement','appendChild','#uc-icon-arrow-down','render','data-uc-image-id','uploadcare.uploader','editing','13aspVkZ','selection','editor','uploadcare','8428YZQYyc','remove','uc-config','insertImage','8565705bauRzC','_initSchema','view','2729309fbpTxu','uc-upload-ctx-provider','uploadcareImageReplace','add','_initImageProcessingIndicator','once','_configElement','uploadcareImageId','ctxElement','removeAttribute','for','attributeToAttribute','21ArgIFy','PictureEditing','closeMax','configElement','locale','requires','model','582zsVjKz','10dSVkPQ','execute','afterInit','cleanupImage','document','true','upcast','1781928CqtkUW','elementToAttribute','isRegistered','commands','input[uploadcare-file-input]','_initCtx','isOfficialPlugin','join'];_0x362b=function(){return _0x187f35;};return _0x362b();}import{Plugin as _0x34379f}from'ckeditor5/src/core.js';import{Dialog as _0x3bd2d6}from'ckeditor5/src/ui.js';import{createElement as _0x54b96e,global as _0x3664b0,uid as _0xebaf43}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x35e1b1}from'./uploadcarecommand.js';function _0x3e8a(_0x51db98,_0x588755){const _0x362b12=_0x362b();return _0x3e8a=function(_0x3e8a0e,_0x4614d5){_0x3e8a0e=_0x3e8a0e-0xc1;let _0x5bb0f0=_0x362b12[_0x3e8a0e];return _0x5bb0f0;},_0x3e8a(_0x51db98,_0x588755);}import{UploadcareUploadAdapter as _0x46905d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x455733}from'./utils/editingutils.js';export class UploadcareEditing extends _0x34379f{[_0x466873(0xcc)]=null;[_0x466873(0x10d)]=null;static get[_0x466873(0x108)](){const _0x24c26e=_0x466873;return _0x24c26e(0x10c);}static get[_0x466873(0xd7)](){const _0x3ff8d3=_0x466873;return[_0x3ff8d3(0xd3),_0x46905d,_0x3bd2d6];}static get[_0x466873(0xe7)](){return!0x0;}static get[_0x466873(0x103)](){return!0x0;}[_0x466873(0xf5)];get[_0x466873(0xd5)](){const _0x3a15ae=_0x466873;return this[_0x3a15ae(0xcc)];}get[_0x466873(0xce)](){const _0x32a5dd=_0x466873;return this[_0x32a5dd(0x10d)];}constructor(_0x300d25){const _0x49fc97=_0x466873;super(_0x300d25),this[_0x49fc97(0xf5)]=_0xebaf43();}[_0x466873(0xf3)](){const _0xee8f53=_0x466873,_0x57a77d=this[_0xee8f53(0x116)];_0x57a77d[_0xee8f53(0xe4)][_0xee8f53(0xc9)](_0xee8f53(0x117),new _0x35e1b1(_0x57a77d));}[_0x466873(0xdc)](){const _0x4e359e=_0x466873;this[_0x4e359e(0xc4)](),this[_0x4e359e(0x102)](),this[_0x4e359e(0xeb)](),this[_0x4e359e(0xe6)](),this[_0x4e359e(0xca)](),this[_0x4e359e(0xf6)](this[_0x4e359e(0x116)],_0x4e359e(0x107),()=>{const _0x5ec3f5=_0x4e359e;this[_0x5ec3f5(0xcc)]&&(this[_0x5ec3f5(0xcc)][_0x5ec3f5(0x119)](),this[_0x5ec3f5(0xcc)]=null),this[_0x5ec3f5(0x10d)]&&(this[_0x5ec3f5(0x10d)][_0x5ec3f5(0x119)](),this[_0x5ec3f5(0x10d)]=null);const _0x381ec2=_0x3664b0[_0x5ec3f5(0xde)][_0x5ec3f5(0xef)](_0x5ec3f5(0xe5));_0x381ec2&&_0x381ec2[_0x5ec3f5(0x119)]();}),async function(_0x581c9c){const _0x4262f5=_0x171ae6([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]),_0x1b5bb2=0x535f8c3a,_0x1cd864=0x5358f34a^_0x1b5bb2,_0x27b10c=window[_0x171ae6([0x44,0x61,0x74,0x65])][_0x171ae6([0x6e,0x6f,0x77])](),_0x301386=_0x581c9c[_0x171ae6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x487767=new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b251f=>{_0x301386[_0x171ae6([0x6f,0x6e,0x63,0x65])](_0x171ae6([0x72,0x65,0x61,0x64,0x79]),_0x3b251f);}),_0x158dcc={[_0x171ae6([0x6b,0x74,0x79])]:_0x171ae6([0x45,0x43]),[_0x171ae6([0x75,0x73,0x65])]:_0x171ae6([0x73,0x69,0x67]),[_0x171ae6([0x63,0x72,0x76])]:_0x171ae6([0x50,0x2d,0x32,0x35,0x36]),[_0x171ae6([0x78])]:_0x171ae6([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]),[_0x171ae6([0x79])]:_0x171ae6([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]),[_0x171ae6([0x61,0x6c,0x67])]:_0x171ae6([0x45,0x53,0x32,0x35,0x36])},_0x39424f=_0x301386[_0x171ae6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x171ae6([0x67,0x65,0x74])](_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe3f1a3(){let _0x1b1f23,_0x18d761=null,_0x183ee2=null;try{if(_0x39424f==_0x171ae6([0x47,0x50,0x4c]))return _0x171ae6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b1f23=_0xc6bef2(),!_0x1b1f23)return _0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b1f23[_0x171ae6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x183ee2=_0x10c948(_0x1b1f23[_0x171ae6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b1f23[_0x171ae6([0x6a,0x74,0x69])])),await _0x24fd0b()?_0x491708()?_0x27cb66()?_0x171ae6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfd84d6()?(_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x171ae6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d761=_0xe1db8a(_0x171ae6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x243bbd()):_0x171ae6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x171ae6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x171ae6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27cb66(){const _0x337194=[_0x171ae6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x171ae6([0x74,0x72,0x69,0x61,0x6c])][_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27b10c/0x3e8:0xe10*_0x1cd864;return _0x1b1f23[_0x171ae6([0x65,0x78,0x70])]<_0x337194;}function _0x491708(){const _0x58e9e8=_0x1b1f23[_0x171ae6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58e9e8&&(!!_0x58e9e8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x2a]))||!!_0x58e9e8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x55,0x50,0x4c,0x43])));}function _0xfd84d6(){const _0x5a9532=_0x3e8a,_0x1a95b8=_0x1b1f23[_0x171ae6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a95b8||0x0==_0x1a95b8[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2aa2a7}=new URL(window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a9532(0xec)]);if(_0x1a95b8[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa2a7))return!0x0;const _0x28fe7f=_0x2aa2a7[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e]));return _0x1a95b8[_0x171ae6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36ec64=>_0x36ec64[_0x171ae6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x171ae6([0x2a])))[_0x171ae6([0x6d,0x61,0x70])](_0x173fd2=>_0x173fd2[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e])))[_0x171ae6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7547=>_0x1a7547[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28fe7f[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x171ae6([0x6d,0x61,0x70])](_0x30699d=>Array(_0x28fe7f[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30699d[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x171ae6([0x66,0x69,0x6c,0x6c])](_0x30699d[0x0]===_0x171ae6([0x2a])?_0x171ae6([0x2a]):'')[_0x171ae6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30699d))[_0x171ae6([0x73,0x6f,0x6d,0x65])](_0x177367=>_0x28fe7f[_0x171ae6([0x65,0x76,0x65,0x72,0x79])]((_0x52f5f5,_0xddb27)=>_0x177367[_0xddb27]===_0x52f5f5||_0x177367[_0xddb27]===_0x171ae6([0x2a])));}function _0x243bbd(){return _0x18d761&&_0x183ee2?new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aa1ba,_0x55dd62)=>{_0x18d761[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x5aa1ba,_0x55dd62),_0x183ee2[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x4112ba=>{_0x4112ba!=_0x171ae6([0x56,0x61,0x6c,0x69,0x64])&&_0x5aa1ba(_0x4112ba);},_0x55dd62);}):_0x18d761||_0x183ee2||_0x171ae6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10c948(_0x3351d3,_0xfd70fe){return new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f21de=>{if(_0x19bda3())return _0x1f21de(_0x171ae6([0x56,0x61,0x6c,0x69,0x64]));_0xf7832a(),_0x301386[_0x171ae6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dc156=!0x1;const _0x2c0400=_0xebaf43();function _0x407aa2(_0x994f65){return!!_0x994f65&&(typeof _0x994f65===_0x171ae6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x994f65===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x994f65[_0x171ae6([0x74,0x68,0x65,0x6e])]===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x994f65[_0x171ae6([0x63,0x61,0x74,0x63,0x68])]===_0x171ae6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf56cb7(_0x1aa963){_0x4a4486(_0x1aa963)[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x15ad78=>{if(!_0x15ad78||_0x15ad78[_0x171ae6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x171ae6([0x6f,0x6b]))return _0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5060f6(_0x5b8f02(_0x2c0400+_0xfd70fe))!=_0x15ad78[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x171ae6([0x56,0x61,0x6c,0x69,0x64]);})[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x454bf8=>(_0x22d661(),_0x454bf8),()=>{const _0x1752fd=_0x540101();return null==_0x1752fd?(_0x22d661(),_0x171ae6([0x56,0x61,0x6c,0x69,0x64])):_0x171ae6(_0x27b10c-_0x1752fd>(0x7753083a^_0x1b5bb2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x1f21de)[_0x171ae6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b4d5=0x536962ba^_0x1b5bb2;function _0x22d661(){const _0x3e3c4e=_0x171ae6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5060f6(_0x5b8f02(_0x3351d3)),_0x5142c9=_0x5ba4e2(_0x5060f6(window[_0x171ae6([0x4d,0x61,0x74,0x68])][_0x171ae6([0x63,0x65,0x69,0x6c])](_0x27b10c/_0x24b4d5)));window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x171ae6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3c4e,_0x5142c9);}function _0x540101(){const _0x1d1b42=_0x171ae6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5060f6(_0x5b8f02(_0x3351d3)),_0x32b29c=window[_0x171ae6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x171ae6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d1b42);return _0x32b29c?window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ba4e2(_0x32b29c),0x10)*_0x24b4d5:null;}function _0x4a4486(_0x46827b){return new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2ac2,_0xe15a12)=>{_0x46827b[_0x171ae6([0x74,0x68,0x65,0x6e])](_0x5a2ac2,_0xe15a12),window[_0x171ae6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe15a12,0x535e58fa^_0x1b5bb2);});}}_0x301386[_0x171ae6([0x6f,0x6e])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a57b7,_0x51eb26)=>{if(_0x51eb26[0x0]!=_0x3351d3)return _0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51eb26[0x1]={..._0x51eb26[0x1],[_0x171ae6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c0400};},{[_0x171ae6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x171ae6([0x68,0x69,0x67,0x68])}),_0x301386[_0x171ae6([0x6f,0x6e])](_0x171ae6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b9286=>{_0x407aa2(_0x2b9286[_0x171ae6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dc156=!0x0,_0xf56cb7(_0x2b9286[_0x171ae6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x171ae6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x171ae6([0x6c,0x6f,0x77])}),_0x487767[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>{_0x4dc156||_0x1f21de(_0x171ae6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19bda3(){return _0x301386[_0x171ae6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x171ae6([0x76,0x69,0x65,0x77])][_0x171ae6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x171ae6([0x61,0x75,0x74,0x6f]);}function _0xf7832a(){_0x301386[_0x171ae6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x171ae6([0x76,0x69,0x65,0x77])][_0x171ae6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x171ae6([0x61,0x75,0x74,0x6f]);}}function _0xe1db8a(_0x3d954c){const _0x1648e4=[new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216dd2=>setTimeout(_0x216dd2,0x5356b2f6^_0x1b5bb2)),_0x487767[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3ec2=>{let _0x4d5a71=0x0;_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x6f,0x6e])](_0x171ae6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x130471,_0x303caf)=>{_0x303caf[0x0][_0x171ae6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d5a71++,_0x4d5a71==(0x535f89d2^_0x1b5bb2)&&(_0x2a3ec2(),_0x130471[_0x171ae6([0x6f,0x66,0x66])]());});}))];return window[_0x171ae6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x171ae6([0x72,0x61,0x63,0x65])](_0x1648e4)[_0x171ae6([0x74,0x68,0x65,0x6e])](()=>_0x3d954c);}async function _0x1ef799(){await _0x487767,_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4bb78d,_0x301386[_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c])][_0x171ae6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4bb78d,_0x301386[_0x171ae6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x171ae6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1da51d(_0x10226c){const _0x2c0c52=_0x413013();_0x301386[_0x2c0c52]=_0x171ae6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10226c,_0x10226c!=_0x171ae6([0x56,0x61,0x6c,0x69,0x64])&&_0x1ef799();}function _0x413013(){const _0x24f061=window[_0x171ae6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x171ae6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x171ae6([0x6e,0x6f,0x77])]())[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x171ae6([0x2e]),'');let _0x34726a=_0x171ae6([0x68]);for(let _0x349b1b=0x0;_0x349b1b<_0x24f061[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x349b1b+=0x2){let _0x5b790a=window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24f061[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349b1b,_0x349b1b+0x2));_0x5b790a>=_0x4262f5[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b790a-=_0x4262f5[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34726a+=_0x4262f5[_0x5b790a];}return _0x34726a;}function _0xc6bef2(){const _0x5b84dd=_0x39424f[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e]));if(0x3!=_0x5b84dd[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52fade(_0x5b84dd[0x1]);function _0x52fade(_0x12b0d8){const _0xb1b92f=_0x5090ec(_0x12b0d8);return _0xb1b92f&&_0x49c4cc()?_0xb1b92f:null;function _0x49c4cc(){const _0x2cf751=_0xb1b92f[_0x171ae6([0x6a,0x74,0x69])],_0x490351=window[_0x171ae6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cf751[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cf751[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d3874={..._0xb1b92f,[_0x171ae6([0x6a,0x74,0x69])]:_0x2cf751[_0x171ae6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cf751[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d3874[_0x171ae6([0x76,0x63])],_0x5b8f02(_0x5d3874)==_0x490351;}}}async function _0x24fd0b(){let _0x5690fd=!0x0;try{const _0x3b5100=_0x39424f[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])](_0x171ae6([0x2e])),[_0x1493c2,_0x261c60,_0x459bb2]=_0x3b5100;return _0x400cf7(_0x1493c2),await _0x289a10(_0x1493c2,_0x261c60,_0x459bb2),_0x5690fd;}catch{return!0x1;}function _0x400cf7(_0xe0902b){const _0x2f4f11=_0x5090ec(_0xe0902b);_0x2f4f11&&_0x2f4f11[_0x171ae6([0x61,0x6c,0x67])]==_0x171ae6([0x45,0x53,0x32,0x35,0x36])||(_0x5690fd=!0x1);}async function _0x289a10(_0x27af43,_0x196a43,_0x53b4d1){const _0x161bd6=window[_0x171ae6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x171ae6([0x66,0x72,0x6f,0x6d])](_0xe80d8f(_0x53b4d1),_0x5d0d71=>_0x5d0d71[_0x171ae6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e3c37=new window[(_0x171ae6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x171ae6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27af43+_0x171ae6([0x2e])+_0x196a43),_0x20c98a=window[_0x171ae6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x171ae6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c98a)return;const _0xc63fbe=await _0x20c98a[_0x171ae6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x171ae6([0x6a,0x77,0x6b]),_0x158dcc,{[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x45,0x43,0x44,0x53,0x41]),[_0x171ae6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x171ae6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c98a[_0x171ae6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x45,0x43,0x44,0x53,0x41]),[_0x171ae6([0x68,0x61,0x73,0x68])]:{[_0x171ae6([0x6e,0x61,0x6d,0x65])]:_0x171ae6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc63fbe,_0x161bd6,_0x1e3c37)||(_0x5690fd=!0x1);}}function _0x5090ec(_0x22348d){return _0x22348d[_0x171ae6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x171ae6([0x65,0x79]))?JSON[_0x171ae6([0x70,0x61,0x72,0x73,0x65])](_0xe80d8f(_0x22348d)):null;}function _0xe80d8f(_0x4c15e2){return window[_0x171ae6([0x61,0x74,0x6f,0x62])](_0x4c15e2[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x171ae6([0x2b]))[_0x171ae6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x171ae6([0x2f])));}function _0x5b8f02(_0x557852){let _0x21ad02=0x1505;function _0x39d17a(_0x5178da){for(let _0x435fb3=0x0;_0x435fb3<_0x5178da[_0x171ae6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x435fb3++){const _0x1778bd=_0x5178da[_0x171ae6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x435fb3);_0x21ad02=(_0x21ad02<<0x5)+_0x21ad02+_0x1778bd,_0x21ad02&=_0x21ad02;}}function _0x2e318b(_0x458ddc){Array[_0x171ae6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x458ddc)?_0x458ddc[_0x171ae6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e318b):_0x458ddc&&typeof _0x458ddc==_0x171ae6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x171ae6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x458ddc)[_0x171ae6([0x73,0x6f,0x72,0x74])]()[_0x171ae6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56cfdf,_0x4c1edb])=>{_0x39d17a(_0x56cfdf),_0x2e318b(_0x4c1edb);}):_0x39d17a(window[_0x171ae6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x458ddc));}return _0x2e318b(_0x557852),_0x21ad02>>>0x0;}function _0x5060f6(_0x35befe){return _0x35befe[_0x171ae6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x171ae6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x171ae6([0x30]));}function _0x5ba4e2(_0x271a90){return _0x271a90[_0x171ae6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x171ae6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x171ae6([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bb78d(){}function _0x171ae6(_0x46d23f){const _0x23d749=_0x3e8a;return _0x46d23f[_0x23d749(0xf0)](_0x4709db=>String[_0x23d749(0xff)](_0x4709db))[_0x23d749(0xe8)]('');}_0x1da51d(await _0xe3f1a3());}(this);}[_0x466873(0xc4)](){const _0x4fe183=_0x466873,_0x11df6a=this[_0x4fe183(0x116)][_0x4fe183(0xd8)][_0x4fe183(0xf8)];_0x11df6a[_0x4fe183(0xe3)](_0x4fe183(0x105))&&_0x11df6a[_0x4fe183(0xf4)](_0x4fe183(0x105),{'allowAttributes':[_0x4fe183(0xcd)]}),_0x11df6a[_0x4fe183(0xe3)](_0x4fe183(0xf7))&&_0x11df6a[_0x4fe183(0xf4)](_0x4fe183(0xf7),{'allowAttributes':[_0x4fe183(0xcd)]});}[_0x466873(0x102)](){const _0x251cda=_0x466873,_0xa68207=this[_0x251cda(0x116)];_0xa68207[_0x251cda(0xf2)][_0x251cda(0xd0)](_0x251cda(0xea))[_0x251cda(0xd1)]({'model':_0x251cda(0xcd),'view':_0x251cda(0x111)}),_0xa68207[_0x251cda(0xf2)][_0x251cda(0xd0)](_0x251cda(0xe0))[_0x251cda(0xe2)]({'model':{'key':_0x251cda(0xcd),'value':_0x49a7ca=>_0x49a7ca[_0x251cda(0xf9)](_0x251cda(0x111))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c3ac4=_0xa68207[_0x251cda(0xe4)][_0x251cda(0xe9)](_0x251cda(0xf1));_0x5c3ac4&&this[_0x251cda(0xf6)](_0x5c3ac4,_0x251cda(0xdd),(_0xea2734,[_0x155a8e,_0x21471a])=>{const _0x48a005=_0x251cda;_0x155a8e[_0x48a005(0xcf)](_0x48a005(0xcd),_0x21471a);});}[_0x466873(0xeb)](){const _0x16e804=_0x466873,_0x45b723=this[_0x16e804(0x116)][_0x16e804(0xfe)][_0x16e804(0xe9)](_0x16e804(0x112))||{},_0x50d4b0=this[_0x16e804(0x116)][_0x16e804(0xfe)][_0x16e804(0xe9)](_0x16e804(0xed))||'';this[_0x16e804(0xcc)]=_0x54b96e(_0x3664b0[_0x16e804(0xde)],_0x16e804(0xc1),{..._0x45b723,'pubkey':_0x50d4b0,'ctx-name':_0x16e804(0x101)+this[_0x16e804(0xf5)],'sourceList':'','imgOnly':_0x16e804(0xdf),'removeCopyright':_0x16e804(0xdf),'localeName':this[_0x16e804(0x116)][_0x16e804(0xd6)][_0x16e804(0x10a)],'externalSourcesEmbedCss':_0x16e804(0x104)}),this[_0x16e804(0xcc)][_0x16e804(0xfa)]=_0x56cea0=>{const _0x24239d=_0x16e804;if(_0x24239d(0xd4)==_0x56cea0)return _0x24239d(0x10f);},_0x3664b0[_0x16e804(0xde)][_0x16e804(0xee)][_0x16e804(0x10e)](this[_0x16e804(0xcc)]);}[_0x466873(0xe6)](){const _0x2c1334=_0x466873;this[_0x2c1334(0x10d)]=_0x54b96e(_0x3664b0[_0x2c1334(0xde)],_0x2c1334(0xc7),{'ctx-name':_0x2c1334(0x101)+this[_0x2c1334(0xf5)]}),_0x3664b0[_0x2c1334(0xde)][_0x2c1334(0xee)][_0x2c1334(0x10e)](this[_0x2c1334(0x10d)]);}[_0x466873(0xca)](){const _0x545bdf=_0x466873,_0x28626f=this[_0x545bdf(0x116)][_0x545bdf(0xe4)][_0x545bdf(0xe9)](_0x545bdf(0xc2));_0x28626f&&this[_0x545bdf(0xf6)](_0x28626f,_0x545bdf(0xdb),()=>{const _0x189315=_0x545bdf,_0x322649=this[_0x189315(0x116)][_0x189315(0xd8)][_0x189315(0xde)][_0x189315(0x115)][_0x189315(0xfd)]();_0x322649&&_0x322649[_0x189315(0xf9)](_0x189315(0xcd))&&this[_0x189315(0x116)][_0x189315(0x113)][_0x189315(0xc5)][_0x189315(0xcb)](_0x189315(0x110),()=>{const _0x1837f8=_0x189315;_0x455733(this[_0x1837f8(0x116)],_0x322649);});});const _0x28fc62=this[_0x545bdf(0x116)][_0x545bdf(0xe4)][_0x545bdf(0xe9)](_0x545bdf(0xc8));_0x28fc62&&this[_0x545bdf(0xf6)](_0x28fc62,_0x545bdf(0xdb),()=>{const _0x3a6227=_0x545bdf,_0x2b6a1e=this[_0x3a6227(0x116)][_0x3a6227(0xd8)][_0x3a6227(0xde)][_0x3a6227(0x115)][_0x3a6227(0xfd)]();_0x2b6a1e&&_0x2b6a1e[_0x3a6227(0xf9)](_0x3a6227(0xcd))&&this[_0x3a6227(0x116)][_0x3a6227(0x113)][_0x3a6227(0xc5)][_0x3a6227(0xcb)](_0x3a6227(0x110),()=>{const _0xa3f19c=_0x3a6227;_0x455733(this[_0xa3f19c(0x116)],_0x2b6a1e);});});}}
|
|
@@ -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 _0x2ab5eb,ObservableMixin as _0x4341ce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xe4e1b8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18db02}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5229f3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x40d3fe}from'../../utils/uploadutils.js';import{getImageUrls as _0x17466d,getImageDimension as _0x1c7b92}from'../../utils/editingutils.js';import{isAncestor as _0x4bb433}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4341ce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x533744,_0x38d401,_0x2c4452){super(),this['_editor']=_0x533744,this['_dialog']=_0x38d401,this['_imageElement']=_0x2c4452,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 _0x1ea864=this['_imageElement'],_0x4d6aad=_0x1ea864['getAttribute']('uploadcareImageId'),_0x14285b=_0x1ea864['getAttribute']('src');if(_0x4d6aad)await this['_loadImageInfo'](_0x4d6aad,_0x14285b);else{if(this['_imageCache']['has'](_0x14285b)){const _0x4c6b90=this['_imageCache']['get'](_0x14285b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c6b90['url'],this['imageDimension']=_0x4c6b90['dimension'],this['imageId']=_0x4c6b90['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fd70c}=this['_editor'],t=_0x1fd70c['t'],_0xeb06a=new _0x5229f3(_0x1fd70c,this['imageStatus'],this['_attributes']);_0xeb06a['bind']('status')['to'](this,'imageStatus'),_0xeb06a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xeb06a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xeb06a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xeb06a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18db02,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xeb06a,'position':_0xe4e1b8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xeb06a['focus']();},'onHide':()=>{_0xeb06a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36d5a8=>!_0x4bb433(_0x36d5a8,_0xeb06a['element'])}});}['_loadImageInfo'](_0x427ba6,_0x4c11d0){return _0x40d3fe['getInfo'](_0x427ba6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x7b5988=>{const {width:_0x1b2a68,height:_0x18ac6f}=_0x7b5988['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c11d0,this['imageDimension']={'width':_0x1b2a68,'height':_0x18ac6f},this['imageId']=_0x427ba6;})['catch'](_0x1c5177=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c5177['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2a0877,_0x5c5f25){return this['_getImageAsFile'](_0x2a0877)['then'](_0x4952d6=>_0x40d3fe['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':_0x5c5f25['signal'],'file':_0x4952d6,'onProgress':_0x5d5207=>{_0x5d5207&&_0x5d5207['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d5207['value']));}}))['then'](_0x32d7e3=>{const {width:_0x5077ef,height:_0x31bcda}=_0x32d7e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32d7e3['cdnUrl'],this['imageDimension']={'width':_0x5077ef,'height':_0x31bcda},this['imageId']=_0x32d7e3['uuid'],this['imageUploadProgress']=null;const _0x57e12d=_0x2a0877['getAttribute']('src');this['_imageCache']['set'](_0x57e12d,{'id':_0x32d7e3['uuid'],'url':_0x32d7e3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2f74f8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2f74f8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x36458d,_0x293e04){_0x36458d['on']('apply',(_0x29be91,_0x565a34)=>{this['_replaceImage'](_0x293e04,_0x565a34['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x36458d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x36458d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x28e070,_0x565522,_0x2b7b7a){const _0x24da7b=this['_editor'],{width:_0x1e7b1d,height:_0xa02473}=_0x1c7b92(_0x565522,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3fae74,imageSources:_0x1154dc}=_0x17466d(_0x565522,_0x1e7b1d);_0x24da7b['model']['change'](_0x1a71f7=>{if('$graveyard'===_0x28e070['root']['rootName']){_0x24da7b['execute']('insertImage',{'imageType':_0x28e070['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x28e070['getAttributes']()),'uploadcareImageId':_0x2b7b7a,'src':_0x3fae74,'sources':_0x1154dc,'width':_0x1e7b1d,'height':_0xa02473}});const _0x136ff0=_0x28e070['getChildren']();_0x28e070=_0x24da7b['model']['document']['selection']['getSelectedElement']();for(const _0x79cc17 of _0x136ff0)_0x1a71f7['append'](_0x1a71f7['cloneElement'](_0x79cc17),_0x28e070);}else _0x1a71f7['setSelection'](_0x28e070,'on'),_0x24da7b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x28e070['getAttributes']()),'uploadcareImageId':_0x2b7b7a,'src':_0x3fae74,'sources':_0x1154dc,'width':_0x1e7b1d,'height':_0xa02473},_0x28e070);_0x1a71f7['setSelection'](_0x28e070,'on');});}async['_getImageAsFile'](_0x1c510d){const _0x50e2d4=_0x2ab5eb['window'],_0x51d9b7=_0x2ab5eb['document']['location']['href'],_0x41fc4d=new _0x50e2d4['URL'](_0x1c510d['getAttribute']('src'),_0x51d9b7);if('data:'===_0x41fc4d['protocol']){const _0x3e607e=_0x41fc4d['href']['split'](','),_0x31f046=_0x3e607e[0x0]['match'](/:(.*?);/)[0x1],_0x5b7486=_0x31f046['split']('/')[0x1],_0xa48dfd=_0x50e2d4['atob'](_0x3e607e[_0x3e607e['length']-0x1]);let _0x18b328=_0xa48dfd['length'];const _0x84f2e1=new _0x50e2d4['Uint8Array'](_0x18b328);for(;_0x18b328--;)_0x84f2e1[_0x18b328]=_0xa48dfd['charCodeAt'](_0x18b328);return new _0x50e2d4['File']([_0x84f2e1],'image.'+_0x5b7486,{'type':_0x31f046});}const _0x2b96ac=_0x41fc4d['href']['split']('/'),_0x82c5f9=_0x2b96ac[_0x2b96ac['length']-0x1],_0x5503b5=_0x82c5f9['split']('.')[0x1];return _0x50e2d4['fetch'](_0x41fc4d['href'])['then'](_0x128a1a=>_0x128a1a['clone']()['blob']())['then'](_0x58bad8=>new _0x50e2d4['File']([_0x58bad8],_0x82c5f9,{'type':'image/'+_0x5503b5}));}}
|
|
@@ -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 _0x500b(_0xfbd070,_0x54969e){const _0x3759b8=_0x3759();return _0x500b=function(_0x500bc1,_0x213d73){_0x500bc1=_0x500bc1-0x67;let _0x9c6712=_0x3759b8[_0x500bc1];return _0x9c6712;},_0x500b(_0xfbd070,_0x54969e);}(function(_0x24126a,_0xa70da4){const _0x424948=_0x500b,_0xb8f9a0=_0x24126a();while(!![]){try{const _0x3aec32=parseInt(_0x424948(0x77))/0x1+parseInt(_0x424948(0x70))/0x2*(parseInt(_0x424948(0x67))/0x3)+parseInt(_0x424948(0x6f))/0x4*(parseInt(_0x424948(0x73))/0x5)+parseInt(_0x424948(0x6b))/0x6+parseInt(_0x424948(0x75))/0x7+parseInt(_0x424948(0x71))/0x8+parseInt(_0x424948(0x6a))/0x9*(-parseInt(_0x424948(0x69))/0xa);if(_0x3aec32===_0xa70da4)break;else _0xb8f9a0['push'](_0xb8f9a0['shift']());}catch(_0x5ca486){_0xb8f9a0['push'](_0xb8f9a0['shift']());}}}(_0x3759,0xc6733));import{View as _0x2cb40d}from'ckeditor5/src/ui.js';function _0x3759(){const _0x19905c=['1036777wRhwEQ','uc-cloud-image-editor','12XhQsOo','uc-light','56808130RfjkXV','9zOAQod','9434418LKRCXV','bindTemplate','imageSrc','image-edit','5249796RsJqQx','363646FPKVzY','3306960klEWSN','setTemplate','5PsZTtV','set','10019611RWkAzJ','ck-uploadcare-theme'];_0x3759=function(){return _0x19905c;};return _0x3759();}export class UploadcareImageEditFormEditingView extends _0x2cb40d{constructor(_0x1858ae,_0xa31c48){const _0x366a7c=_0x500b;super(_0x1858ae);const _0x1e9a80=this[_0x366a7c(0x6c)];this[_0x366a7c(0x74)](_0x366a7c(0x6d),''),this[_0x366a7c(0x72)]({'tag':_0x366a7c(0x78),'attributes':{..._0xa31c48,'class':[_0x366a7c(0x68),_0x366a7c(0x76)],'ctx-name':_0x366a7c(0x6e),'cdn-url':_0x1e9a80['to'](_0x366a7c(0x6d))}});}}
|
|
@@ -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 _0x4594c8}from'ckeditor5/src/icons.js';import{ButtonView as _0xb16759,IconView as _0xe5870f,View as _0x5bbccd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5bbccd{constructor(_0x2caeed){super(_0x2caeed);const t=_0x2caeed['t'];this['set']('errorType',null);const _0x65faec=new _0xb16759(_0x2caeed);_0x65faec['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x65faec['withText']=!0x0,_0x65faec['class']='ck-button-action',_0x65faec['on']('execute',()=>{this['fire']('retry');}),_0x65faec['bind']('isVisible')['to'](this,'errorType',_0x250ef3=>'NotFound'!==_0x250ef3);const _0x2442c3=new _0xe5870f();_0x2442c3['content']=_0x4594c8,_0x2442c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x396828=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':[_0x2442c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x396828['to']('errorType',_0x5b7bb4=>t('NotFound'!==_0x5b7bb4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x65faec]},{'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 _0x260625,View as _0x4a0094}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4a0094{constructor(_0x5ebc67){super(_0x5ebc67);const t=_0x5ebc67['t'],_0x7e88e2=this['bindTemplate'],_0x922f6a=new _0x260625();_0x922f6a['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':[_0x922f6a,{'text':_0x7e88e2['to']('imageUploadProgress',_0x3c1f19=>t('Loading\x20image...')+'\x20('+(_0x3c1f19||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 _0x1b68fe=_0x2889;(function(_0x44f9a1,_0x4c6b24){const _0x406410=_0x2889,_0x43abe4=_0x44f9a1();while(!![]){try{const _0x4d946c=-parseInt(_0x406410(0x1b9))/0x1+parseInt(_0x406410(0x1c5))/0x2+parseInt(_0x406410(0x1a3))/0x3*(parseInt(_0x406410(0x19b))/0x4)+-parseInt(_0x406410(0x1c7))/0x5*(-parseInt(_0x406410(0x1ba))/0x6)+-parseInt(_0x406410(0x1a2))/0x7+-parseInt(_0x406410(0x19a))/0x8*(parseInt(_0x406410(0x1a1))/0x9)+-parseInt(_0x406410(0x1bc))/0xa*(-parseInt(_0x406410(0x1a7))/0xb);if(_0x4d946c===_0x4c6b24)break;else _0x43abe4['push'](_0x43abe4['shift']());}catch(_0x3ed936){_0x43abe4['push'](_0x43abe4['shift']());}}}(_0x408e,0x6aec2));import{View as _0x52031d}from'ckeditor5/src/ui.js';function _0x2889(_0x4f8834,_0x546fed){const _0x408e44=_0x408e();return _0x2889=function(_0x288989,_0x5c4d71){_0x288989=_0x288989-0x195;let _0x5d81d6=_0x408e44[_0x288989];return _0x5d81d6;},_0x2889(_0x4f8834,_0x546fed);}import{UploadcareImageEditFormLoadingView as _0x3b2337}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x10ad53}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x15ab49}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x8d5fbc}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x8d5fbc{[_0x1b68fe(0x196)];[_0x1b68fe(0x1bb)];[_0x1b68fe(0x19e)];[_0x1b68fe(0x19c)];[_0x1b68fe(0x1bd)];constructor(_0x361b82,_0x1a6f69,_0x361d72){const _0x5acde4=_0x1b68fe;super(_0x361b82),this[_0x5acde4(0x196)]=this[_0x5acde4(0x1a9)](),this[_0x5acde4(0x1bb)]=new _0x3b2337(_0x361b82),this[_0x5acde4(0x19e)]=new _0x10ad53(_0x361b82),this[_0x5acde4(0x19c)]=new _0x15ab49(_0x361b82,_0x361d72),this[_0x5acde4(0x1bd)]=new _0x52031d(_0x361b82),this[_0x5acde4(0x1bd)][_0x5acde4(0x1c1)](this[_0x5acde4(0x1ac)]()),this[_0x5acde4(0x1b7)](_0x5acde4(0x1b2),_0x1a6f69),this[_0x5acde4(0x1c1)]({'tag':_0x5acde4(0x1be),'attributes':{'class':['ck',_0x5acde4(0x1b8),_0x5acde4(0x1c6)],'tabindex':'-1'},'children':this[_0x5acde4(0x196)]}),this[_0x5acde4(0x1aa)](),this[_0x5acde4(0x1ad)](_0x5acde4(0x1b3),()=>{const _0xfd2f0b=_0x5acde4;this[_0xfd2f0b(0x1b0)](this[_0xfd2f0b(0x1cc)],_0xa4f9f6=>{const _0xc664c1=_0xfd2f0b;this[_0xc664c1(0x1c0)](_0xa4f9f6);});}),this['on'](_0x5acde4(0x1c2),()=>{const _0x4926c0=_0x5acde4;this[_0x4926c0(0x1aa)]();}),this[_0x5acde4(0x1c3)]();}[_0x1b68fe(0x195)](){const _0xdd66b1=_0x1b68fe;this[_0xdd66b1(0x1cc)][_0xdd66b1(0x195)]();}[_0x1b68fe(0x1aa)](){const _0x3c2d3e=_0x1b68fe;switch(this[_0x3c2d3e(0x196)][_0x3c2d3e(0x197)](),this[_0x3c2d3e(0x1b2)]){case _0x3c2d3e(0x1a4):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x1b6)](this[_0x3c2d3e(0x1bb)]);break;case _0x3c2d3e(0x1cb):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x1b6)](this[_0x3c2d3e(0x19e)]);break;case _0x3c2d3e(0x1b4):this[_0x3c2d3e(0x196)][_0x3c2d3e(0x19d)]([this[_0x3c2d3e(0x19c)],this[_0x3c2d3e(0x1bd)]]);}}[_0x1b68fe(0x1b0)](_0x504260,_0x346232){const _0x134b4a=_0x1b68fe,_0x1942a5=_0x134b4a(0x198),_0x24df48=_0x504260[_0x134b4a(0x1a6)](_0x1942a5);if(_0x24df48)return _0x346232(_0x24df48);const _0x4551ba=new MutationObserver(_0x2df9c2=>{const _0x316d14=_0x134b4a,_0x4a8e95=_0x2df9c2[_0x316d14(0x199)](_0x533aaa=>_0x533aaa[_0x316d14(0x1af)]===_0x504260&&_0x533aaa[_0x316d14(0x1ca)][_0x316d14(0x1c8)]>0x0&&_0x533aaa[_0x316d14(0x1ca)][0x0][_0x316d14(0x1a5)][_0x316d14(0x1a0)]()===_0x1942a5);_0x4a8e95[_0x316d14(0x1c8)]&&(_0x4551ba[_0x316d14(0x1b5)](),_0x346232(_0x4a8e95[0x0][_0x316d14(0x1ca)][0x0]));});_0x4551ba[_0x134b4a(0x1c9)](_0x504260,{'childList':!0x0,'subtree':!0x0});}[_0x1b68fe(0x1c0)](_0x1214ee){const _0x50003e=_0x1b68fe;_0x1214ee[_0x50003e(0x19f)](_0x50003e(0x1c4),_0x2a2a7a=>{const _0x10d4ab=_0x50003e;this[_0x10d4ab(0x1b1)](_0x10d4ab(0x1c4),{'imageSrc':_0x2a2a7a[_0x10d4ab(0x1ae)][_0x10d4ab(0x1ab)]});}),_0x1214ee[_0x50003e(0x19f)](_0x50003e(0x1bf),()=>{const _0x2d287f=_0x50003e;this[_0x2d287f(0x1b1)](_0x2d287f(0x1bf));});}[_0x1b68fe(0x1c3)](){const _0x2f06ab=_0x1b68fe;this[_0x2f06ab(0x19e)]['on'](_0x2f06ab(0x1a8),()=>{const _0x45a494=_0x2f06ab;this[_0x45a494(0x1b1)](_0x45a494(0x1a8));});}}function _0x408e(){const _0x526378=['querySelector','22vqLThY','retry','createCollection','_setView','cdnUrl','getFocusableElement','once','detail','target','_waitForImageEditorComponent','fire','status','render','ready','disconnect','add','set','ck-reset_all-excluded','639438ZXbIZG','1290oroztP','_loadingView','4005600cUcUet','_focusableView','div','cancel','_addUploadcareImageEditorListeners','setTemplate','change:status','_addErrorViewListeners','apply','762350LtzTDR','ck-uploadcare-form','7660plFeIM','length','observe','addedNodes','error','element','focus','_items','clear','uc-cloud-image-editor','filter','13592CHNzBR','440byVPvC','_editingView','addMany','_errorView','addEventListener','toLowerCase','2493JUlvnB','5520620MnkkIy','22500hyuUht','uploading','nodeName'];_0x408e=function(){return _0x526378;};return _0x408e();}
|
|
@@ -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 _0x30eb(){const _0x3f6ed3=['selection','imageBlock','model','148300YJFehu','bind','imageInline','835SNbiyg','4112487PvQgaJ','uploadcare.allowExternalImagesEditing','document','583qPpkAb','imageEditController','isActive','execute','getSelectedElement','639UsmfeQ','refresh','3657246EFrVjd','config','10292blAYLh','editor','_isEditable','unbind','get','set','703633rKCCve','2818NyIsCN','requires','40NYJKIA','element','538545QSOrZU','plugins','isEnabled'];_0x30eb=function(){return _0x3f6ed3;};return _0x30eb();}const _0x3d32e7=_0x4b79;(function(_0x5ac367,_0x58ba45){const _0x49e347=_0x4b79,_0x5ba118=_0x5ac367();while(!![]){try{const _0x27e0ab=-parseInt(_0x49e347(0x1ea))/0x1+parseInt(_0x49e347(0x1e6))/0x2*(parseInt(_0x49e347(0x1db))/0x3)+parseInt(_0x49e347(0x1df))/0x4*(parseInt(_0x49e347(0x1d2))/0x5)+-parseInt(_0x49e347(0x1dd))/0x6+parseInt(_0x49e347(0x1e5))/0x7*(-parseInt(_0x49e347(0x1e8))/0x8)+parseInt(_0x49e347(0x1d3))/0x9+-parseInt(_0x49e347(0x1f0))/0xa*(-parseInt(_0x49e347(0x1d6))/0xb);if(_0x27e0ab===_0x58ba45)break;else _0x5ba118['push'](_0x5ba118['shift']());}catch(_0x3c544e){_0x5ba118['push'](_0x5ba118['shift']());}}}(_0x30eb,0x4ea0c));function _0x4b79(_0x1b470e,_0xd9f4f5){const _0x30ebd2=_0x30eb();return _0x4b79=function(_0x4b79c3,_0x47c614){_0x4b79c3=_0x4b79c3-0x1d1;let _0x486ef9=_0x30ebd2[_0x4b79c3];return _0x486ef9;},_0x4b79(_0x1b470e,_0xd9f4f5);}import{Command as _0x394786}from'ckeditor5/src/core.js';import{Dialog as _0x228f11}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x55ffd3}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x530d56}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x394786{[_0x3d32e7(0x1d7)];static get[_0x3d32e7(0x1e7)](){return[_0x228f11];}[_0x3d32e7(0x1e1)];constructor(_0x5b010b){const _0xbf1b00=_0x3d32e7;super(_0x5b010b),this[_0xbf1b00(0x1d7)]=void 0x0,this[_0xbf1b00(0x1e1)]=_0x530d56(_0x5b010b[_0xbf1b00(0x1de)][_0xbf1b00(0x1e3)](_0xbf1b00(0x1d4))||[]),this[_0xbf1b00(0x1e4)]({'isActive':!0x1});}[_0x3d32e7(0x1dc)](){const _0x308ce8=_0x3d32e7,_0x3c1bbe=this[_0x308ce8(0x1e0)][_0x308ce8(0x1ef)][_0x308ce8(0x1d5)][_0x308ce8(0x1ed)][_0x308ce8(0x1da)]();this[_0x308ce8(0x1ec)]=this[_0x308ce8(0x1e1)](_0x3c1bbe);}[_0x3d32e7(0x1d9)](){const _0x27e17d=_0x3d32e7;this[_0x27e17d(0x1d7)]&&(this[_0x27e17d(0x1e2)](_0x27e17d(0x1d8)),this[_0x27e17d(0x1d7)]=void 0x0);const _0x230294=this[_0x27e17d(0x1e0)][_0x27e17d(0x1ef)][_0x27e17d(0x1d5)][_0x27e17d(0x1ed)][_0x27e17d(0x1da)]();_0x230294&&(_0x230294['is'](_0x27e17d(0x1e9),_0x27e17d(0x1ee))||_0x230294['is'](_0x27e17d(0x1e9),_0x27e17d(0x1d1)))&&(this[_0x27e17d(0x1d7)]=new _0x55ffd3(this[_0x27e17d(0x1e0)],this[_0x27e17d(0x1e0)][_0x27e17d(0x1eb)][_0x27e17d(0x1e3)](_0x228f11),_0x230294),this[_0x27e17d(0x1f1)](_0x27e17d(0x1d8))['to'](this[_0x27e17d(0x1d7)],_0x27e17d(0x1d8)));}}
|
|
@@ -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 _0x16eaf0=_0x2e4d;(function(_0xf8ba03,_0x402d60){const _0x3a36f6=_0x2e4d,_0x5c5ac7=_0xf8ba03();while(!![]){try{const _0x3daa2e=parseInt(_0x3a36f6(0x15b))/0x1*(-parseInt(_0x3a36f6(0x14e))/0x2)+-parseInt(_0x3a36f6(0x15e))/0x3+-parseInt(_0x3a36f6(0x14c))/0x4+-parseInt(_0x3a36f6(0x156))/0x5*(parseInt(_0x3a36f6(0x15c))/0x6)+parseInt(_0x3a36f6(0x15a))/0x7*(-parseInt(_0x3a36f6(0x159))/0x8)+parseInt(_0x3a36f6(0x153))/0x9*(parseInt(_0x3a36f6(0x15f))/0xa)+parseInt(_0x3a36f6(0x15d))/0xb*(parseInt(_0x3a36f6(0x14a))/0xc);if(_0x3daa2e===_0x402d60)break;else _0x5c5ac7['push'](_0x5c5ac7['shift']());}catch(_0x51f844){_0x5c5ac7['push'](_0x5c5ac7['shift']());}}}(_0x13f8,0x46a8e));import{Plugin as _0x257a0d}from'ckeditor5/src/core.js';function _0x13f8(){const _0xb296fc=['36hUsvSo','init','requires','2075LpzrGV','isPremiumPlugin','uploadcareImageReplace','160mSHrDD','71477RomRZs','259329VsnsJK','6414sQHDQh','583NiLgtm','1313760omhzbK','343540uzizgJ','add','pluginName','381576JpzUJE','ImageUtils','752736aundBx','ImageEditing','2SXqmZy','commands','UploadcareImageEditEditing','uploadcareImageEdit','isOfficialPlugin'];_0x13f8=function(){return _0xb296fc;};return _0x13f8();}import{Notification as _0x563504}from'ckeditor5/src/ui.js';function _0x2e4d(_0x39c682,_0x3a52fc){const _0x13f882=_0x13f8();return _0x2e4d=function(_0x2e4dbb,_0x4ccc0e){_0x2e4dbb=_0x2e4dbb-0x149;let _0xa70425=_0x13f882[_0x2e4dbb];return _0xa70425;},_0x2e4d(_0x39c682,_0x3a52fc);}import{UploadcareImageEditCommand as _0x2395b4}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x273d7c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x23a5f7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x257a0d{static get[_0x16eaf0(0x149)](){const _0x3ae390=_0x16eaf0;return _0x3ae390(0x150);}static get[_0x16eaf0(0x155)](){const _0x51830e=_0x16eaf0;return[_0x23a5f7,_0x563504,_0x51830e(0x14b),_0x51830e(0x14d)];}static get[_0x16eaf0(0x152)](){return!0x0;}static get[_0x16eaf0(0x157)](){return!0x0;}[_0x16eaf0(0x154)](){const _0x89793b=_0x16eaf0,{editor:_0x493d62}=this;_0x493d62[_0x89793b(0x14f)][_0x89793b(0x160)](_0x89793b(0x151),new _0x2395b4(_0x493d62)),_0x493d62[_0x89793b(0x14f)][_0x89793b(0x160)](_0x89793b(0x158),new _0x273d7c(_0x493d62));}}
|