@ckeditor/ckeditor5-source-editing-enhanced 0.0.1 → 44.2.0-alpha.1
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/CHANGELOG.md +4 -0
- package/LICENSE.md +10 -6
- package/README.md +44 -3
- package/build/source-editing-enhanced.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +18 -0
- package/dist/index-content.css +5 -0
- package/dist/index-editor.css +34 -0
- package/dist/index.css +56 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/contexts.json +22 -0
- package/lang/translations/af.po +92 -0
- package/lang/translations/ar.po +92 -0
- package/lang/translations/ast.po +92 -0
- package/lang/translations/az.po +92 -0
- package/lang/translations/bg.po +92 -0
- package/lang/translations/bn.po +92 -0
- package/lang/translations/bs.po +92 -0
- package/lang/translations/ca.po +92 -0
- package/lang/translations/cs.po +92 -0
- package/lang/translations/da.po +92 -0
- package/lang/translations/de-ch.po +92 -0
- package/lang/translations/de.po +92 -0
- package/lang/translations/el.po +92 -0
- package/lang/translations/en-au.po +92 -0
- package/lang/translations/en-gb.po +92 -0
- package/lang/translations/en.po +92 -0
- package/lang/translations/eo.po +92 -0
- package/lang/translations/es-co.po +92 -0
- package/lang/translations/es.po +92 -0
- package/lang/translations/et.po +92 -0
- package/lang/translations/eu.po +92 -0
- package/lang/translations/fa.po +92 -0
- package/lang/translations/fi.po +92 -0
- package/lang/translations/fr.po +92 -0
- package/lang/translations/gl.po +92 -0
- package/lang/translations/gu.po +92 -0
- package/lang/translations/he.po +92 -0
- package/lang/translations/hi.po +92 -0
- package/lang/translations/hr.po +92 -0
- package/lang/translations/hu.po +92 -0
- package/lang/translations/hy.po +92 -0
- package/lang/translations/id.po +92 -0
- package/lang/translations/it.po +92 -0
- package/lang/translations/ja.po +92 -0
- package/lang/translations/jv.po +92 -0
- package/lang/translations/kk.po +92 -0
- package/lang/translations/km.po +92 -0
- package/lang/translations/kn.po +92 -0
- package/lang/translations/ko.po +92 -0
- package/lang/translations/ku.po +92 -0
- package/lang/translations/lt.po +92 -0
- package/lang/translations/lv.po +92 -0
- package/lang/translations/ms.po +92 -0
- package/lang/translations/nb.po +92 -0
- package/lang/translations/ne.po +92 -0
- package/lang/translations/nl.po +92 -0
- package/lang/translations/no.po +92 -0
- package/lang/translations/oc.po +92 -0
- package/lang/translations/pl.po +92 -0
- package/lang/translations/pt-br.po +92 -0
- package/lang/translations/pt.po +92 -0
- package/lang/translations/ro.po +92 -0
- package/lang/translations/ru.po +92 -0
- package/lang/translations/si.po +92 -0
- package/lang/translations/sk.po +92 -0
- package/lang/translations/sl.po +92 -0
- package/lang/translations/sq.po +92 -0
- package/lang/translations/sr-latn.po +92 -0
- package/lang/translations/sr.po +92 -0
- package/lang/translations/sv.po +92 -0
- package/lang/translations/th.po +92 -0
- package/lang/translations/ti.po +92 -0
- package/lang/translations/tk.po +92 -0
- package/lang/translations/tr.po +92 -0
- package/lang/translations/tt.po +92 -0
- package/lang/translations/ug.po +92 -0
- package/lang/translations/uk.po +92 -0
- package/lang/translations/ur.po +92 -0
- package/lang/translations/uz.po +92 -0
- package/lang/translations/vi.po +92 -0
- package/lang/translations/zh-cn.po +92 -0
- package/lang/translations/zh.po +92 -0
- package/package.json +57 -4
- package/src/augmentation.d.ts +22 -0
- package/src/augmentation.js +23 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +23 -0
- package/src/replacesourcecommand.d.ts +28 -0
- package/src/replacesourcecommand.js +23 -0
- package/src/sourceeditingenhanced.d.ts +47 -0
- package/src/sourceeditingenhanced.js +23 -0
- package/src/sourceeditingenhancedconfig.d.ts +42 -0
- package/src/sourceeditingenhancedconfig.js +23 -0
- package/src/sourceeditingenhancedui.d.ts +40 -0
- package/src/sourceeditingenhancedui.js +23 -0
- package/src/ui/codeeditorview.d.ts +53 -0
- package/src/ui/codeeditorview.js +23 -0
- package/src/ui/editsourcecommand.d.ts +26 -0
- package/src/ui/editsourcecommand.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/src/utils/createcodemirroreditor.d.ts +58 -0
- package/src/utils/createcodemirroreditor.js +23 -0
- package/src/utils/format.d.ts +35 -0
- package/src/utils/format.js +23 -0
- package/src/utils/getactiverootname.d.ts +9 -0
- package/src/utils/getactiverootname.js +23 -0
- package/theme/sourceeditingenhanced.css +44 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, 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 accessible label of the toolbar button and menu bar button that open editor modal with editable, raw source (HTML). Additionally used as this modal title."
|
|
15
|
+
msgid "Edit source modal label"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "The label of Source Editing Enhanced keystrokes category in Accessibility help dialog."
|
|
19
|
+
msgid "Source Editing Enhanced"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "The label of \"Copy line down\" keyboard shortcut in Accessibility help dialog."
|
|
23
|
+
msgid "Copy line down"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "The label of \"Copy line up\" keyboard shortcut in Accessibility help dialog."
|
|
27
|
+
msgid "Copy line up"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgctxt "The label of \"Delete line\" keyboard shortcut in Accessibility help dialog."
|
|
31
|
+
msgid "Delete line"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "The label of \"Indent less\" keyboard shortcut in Accessibility help dialog."
|
|
35
|
+
msgid "Indent less"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgctxt "The label of \"Indent more\" keyboard shortcut in Accessibility help dialog."
|
|
39
|
+
msgid "Indent more"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
msgctxt "The label of \"Fold all\" keyboard shortcut in Accessibility help dialog."
|
|
43
|
+
msgid "Fold all"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
msgctxt "The label of \"Fold code (current level)\" keyboard shortcut in Accessibility help dialog."
|
|
47
|
+
msgid "Fold code (current level)"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
msgctxt "The label of \"Move line down\" keyboard shortcut in Accessibility help dialog."
|
|
51
|
+
msgid "Move line down"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
msgctxt "The label of \"Move line up\" keyboard shortcut in Accessibility help dialog."
|
|
55
|
+
msgid "Move line up"
|
|
56
|
+
msgstr ""
|
|
57
|
+
|
|
58
|
+
msgctxt "The label of \"Redo\" keyboard shortcut in Accessibility help dialog."
|
|
59
|
+
msgid "Redo (keystroke)"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
msgctxt "The label of \"Select line\" keyboard shortcut in Accessibility help dialog."
|
|
63
|
+
msgid "Select line"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgctxt "The label of \"Switch between 'focus with tab' and 'indent with tab' mode\" keyboard shortcut in Accessibility help dialog."
|
|
67
|
+
msgid "Switch between \"focus with tab\" and \"indent with tab\" mode"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
msgctxt "The label of \"Toggle block comment\" keyboard shortcut in Accessibility help dialog."
|
|
71
|
+
msgid "Toggle block comment"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
msgctxt "The label of \"Toggle comment\" keyboard shortcut in Accessibility help dialog."
|
|
75
|
+
msgid "Toggle comment"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgctxt "The label of \"Undo\" keyboard shortcut in Accessibility help dialog."
|
|
79
|
+
msgid "Undo (keystroke)"
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
82
|
+
msgctxt "The label of \"Unfold all\" keyboard shortcut in Accessibility help dialog."
|
|
83
|
+
msgid "Unfold all"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
msgctxt "The label of \"Unfold code (current level)\" keyboard shortcut in Accessibility help dialog."
|
|
87
|
+
msgid "Unfold code (current level)"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "The warning message displayed when attempting to close the Enhanced Source Code Editing modal with unsaved changes."
|
|
91
|
+
msgid "Are you sure you want to discard your changes? This action cannot be undone."
|
|
92
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,14 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "44.2.0-alpha.1",
|
|
4
|
+
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
4
5
|
"keywords": [
|
|
5
6
|
"ckeditor",
|
|
6
7
|
"ckeditor5",
|
|
7
8
|
"ckeditor 5",
|
|
8
|
-
"ckeditor5-
|
|
9
|
+
"ckeditor5-feature",
|
|
10
|
+
"ckeditor5-plugin",
|
|
11
|
+
"ckeditor5-dll"
|
|
9
12
|
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "src/index.js",
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.2.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.1",
|
|
20
|
+
"@codemirror/autocomplete": "6.18.4",
|
|
21
|
+
"@codemirror/commands": "6.8.0",
|
|
22
|
+
"@codemirror/lang-html": "6.4.9",
|
|
23
|
+
"@codemirror/lang-markdown": "6.3.2",
|
|
24
|
+
"@codemirror/language": "6.10.8",
|
|
25
|
+
"@codemirror/state": "6.5.1",
|
|
26
|
+
"@codemirror/view": "6.36.2",
|
|
27
|
+
"ckeditor5": "44.2.0-alpha.1"
|
|
28
|
+
},
|
|
29
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
10
30
|
"author": "CKSource (http://cksource.com/)",
|
|
11
|
-
"license": "GPL-2.0-or-later",
|
|
12
31
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
13
|
-
"bugs": "https://
|
|
32
|
+
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"lang",
|
|
36
|
+
"src/**/*.js",
|
|
37
|
+
"src/**/*.d.ts",
|
|
38
|
+
"theme",
|
|
39
|
+
"build",
|
|
40
|
+
"ckeditor5-metadata.json",
|
|
41
|
+
"CHANGELOG.md"
|
|
42
|
+
],
|
|
43
|
+
"types": "src/index.d.ts",
|
|
44
|
+
"exports": {
|
|
45
|
+
".": {
|
|
46
|
+
"types": "./src/index.d.ts",
|
|
47
|
+
"import": "./src/index.js",
|
|
48
|
+
"default": "./src/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./dist/*": {
|
|
51
|
+
"types": "./src/index.d.ts",
|
|
52
|
+
"import": "./dist/*",
|
|
53
|
+
"default": "./dist/*"
|
|
54
|
+
},
|
|
55
|
+
"./src/*": {
|
|
56
|
+
"types": "./src/*.d.ts",
|
|
57
|
+
"import": "./src/*",
|
|
58
|
+
"default": "./src/*"
|
|
59
|
+
},
|
|
60
|
+
"./build/*": "./build/*",
|
|
61
|
+
"./lang/*": "./lang/*",
|
|
62
|
+
"./theme/*": "./theme/*",
|
|
63
|
+
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
64
|
+
"./package.json": "./package.json"
|
|
65
|
+
},
|
|
66
|
+
"obfuscated": true
|
|
14
67
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { SourceEditingEnhanced, SourceEditingEnhancedConfig, ReplaceSourceCommand, EditSourceCommand } from './index.js';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the source editing enhanced feature.
|
|
10
|
+
*
|
|
11
|
+
* Read more in {@link module:source-editing-enhanced/sourceeditingenhancedconfig~SourceEditingEnhancedConfig}.
|
|
12
|
+
*/
|
|
13
|
+
sourceEditingEnhanced?: SourceEditingEnhancedConfig;
|
|
14
|
+
}
|
|
15
|
+
interface PluginsMap {
|
|
16
|
+
[SourceEditingEnhanced.pluginName]: SourceEditingEnhanced;
|
|
17
|
+
}
|
|
18
|
+
interface CommandsMap {
|
|
19
|
+
replaceSource: ReplaceSourceCommand;
|
|
20
|
+
editSource: EditSourceCommand;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced
|
|
7
|
+
*/
|
|
8
|
+
export { default as SourceEditingEnhanced } from './sourceeditingenhanced.js';
|
|
9
|
+
export { default as ReplaceSourceCommand } from './replacesourcecommand.js';
|
|
10
|
+
export { default as EditSourceCommand } from './ui/editsourcecommand.js';
|
|
11
|
+
export type { SourceEditingEnhancedConfig } from './sourceeditingenhancedconfig.js';
|
|
12
|
+
import './augmentation.js';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0x1969(_0x7cd6b9,_0x2f3385){var _0x23be9a=_0x23be();return _0x1969=function(_0x1969d0,_0x4a1d2a){_0x1969d0=_0x1969d0-0x109;var _0x30d3c3=_0x23be9a[_0x1969d0];return _0x30d3c3;},_0x1969(_0x7cd6b9,_0x2f3385);}(function(_0x3d34bc,_0x1c1045){var _0xc37d5e=_0x1969,_0x36322f=_0x3d34bc();while(!![]){try{var _0x54fde6=-parseInt(_0xc37d5e(0x112))/0x1*(-parseInt(_0xc37d5e(0x10a))/0x2)+parseInt(_0xc37d5e(0x111))/0x3*(-parseInt(_0xc37d5e(0x109))/0x4)+parseInt(_0xc37d5e(0x113))/0x5*(parseInt(_0xc37d5e(0x10e))/0x6)+-parseInt(_0xc37d5e(0x10b))/0x7+-parseInt(_0xc37d5e(0x110))/0x8+-parseInt(_0xc37d5e(0x114))/0x9*(parseInt(_0xc37d5e(0x10c))/0xa)+parseInt(_0xc37d5e(0x10f))/0xb*(parseInt(_0xc37d5e(0x10d))/0xc);if(_0x54fde6===_0x1c1045)break;else _0x36322f['push'](_0x36322f['shift']());}catch(_0x33aeee){_0x36322f['push'](_0x36322f['shift']());}}}(_0x23be,0x3b640));export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';function _0x23be(){var _0x2e5e3f=['27pAqifA','5860EPRMRK','22384QKuWUb','1049419GvCViU','1136290nFwNXX','9649680PxubQg','102wHGxev','11BVqXPW','1087080fkzpbT','906BnJrkI','33QJDRyv','40855AZXbIG'];_0x23be=function(){return _0x2e5e3f;};return _0x23be();}export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/replacesourcecommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
/**
|
|
11
|
+
* The command replaces editor active root content with the provided data.
|
|
12
|
+
*/
|
|
13
|
+
export default class ReplaceSourceCommand extends Command {
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
constructor(editor: Editor);
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
refresh(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Executes the command.
|
|
24
|
+
*/
|
|
25
|
+
execute(data: string, options?: {
|
|
26
|
+
rootName: string | null;
|
|
27
|
+
}): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0x446c07=_0x56b4;function _0x56b4(_0x3544bb,_0x46fdd9){var _0x295ef8=_0x295e();return _0x56b4=function(_0x56b4c6,_0x2f410c){_0x56b4c6=_0x56b4c6-0x78;var _0x46d4af=_0x295ef8[_0x56b4c6];return _0x46d4af;},_0x56b4(_0x3544bb,_0x46fdd9);}(function(_0x13b351,_0x19a93b){var _0x156977=_0x56b4,_0x20c529=_0x13b351();while(!![]){try{var _0x3701ba=-parseInt(_0x156977(0x7e))/0x1*(parseInt(_0x156977(0x88))/0x2)+parseInt(_0x156977(0x7b))/0x3+parseInt(_0x156977(0x8a))/0x4*(-parseInt(_0x156977(0x84))/0x5)+parseInt(_0x156977(0x7a))/0x6+parseInt(_0x156977(0x7d))/0x7+parseInt(_0x156977(0x83))/0x8*(parseInt(_0x156977(0x86))/0x9)+-parseInt(_0x156977(0x81))/0xa*(parseInt(_0x156977(0x85))/0xb);if(_0x3701ba===_0x19a93b)break;else _0x20c529['push'](_0x20c529['shift']());}catch(_0x30cc04){_0x20c529['push'](_0x20c529['shift']());}}}(_0x295e,0x21a06));import{Command as _0x18ea4d}from'ckeditor5/src/core.js';function _0x295e(){var _0x36dbb2=['isReadOnly','365785QoBSIB','122ZtOwft','editor','isEnabled','10soNkDr','set','409120rPQQin','24900dhwRdN','898447EgQsXj','9FDjSUa','rootName','870rSSgor','data','148SqveeY','execute','refresh','1374900kSVpWJ','372588urgKRe'];_0x295e=function(){return _0x36dbb2;};return _0x295e();}import{getActiveRootName as _0x2c07b6}from'./utils/getactiverootname.js';export default class s extends _0x18ea4d{constructor(_0x2a14af){var _0x39c3e0=_0x56b4;super(_0x2a14af),this[_0x39c3e0(0x79)]();}[_0x446c07(0x79)](){var _0x463c11=_0x446c07;this[_0x463c11(0x80)]=!this[_0x463c11(0x7f)][_0x463c11(0x7c)];}[_0x446c07(0x78)](_0x2cb664,_0x58c8c7){var _0x2c11e1=_0x446c07,_0x42b902;const _0x53a8ca=this[_0x2c11e1(0x7f)],_0x58fdb9=null!==(_0x42b902=null==_0x58c8c7?void 0x0:_0x58c8c7[_0x2c11e1(0x87)])&&void 0x0!==_0x42b902?_0x42b902:_0x2c07b6(_0x53a8ca);_0x53a8ca[_0x2c11e1(0x89)][_0x2c11e1(0x82)]({[_0x58fdb9]:_0x2cb664},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/sourceeditingenhanced
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import SourceEditingEnhancedUI from './sourceeditingenhancedui.js';
|
|
11
|
+
import '../theme/sourceeditingenhanced.css';
|
|
12
|
+
/**
|
|
13
|
+
* The source editing enhanced feature.
|
|
14
|
+
*
|
|
15
|
+
* It provides the possibility to view and edit the source of the document in the modal window.
|
|
16
|
+
*
|
|
17
|
+
* For a detailed overview, check the
|
|
18
|
+
* {@glink features/source-editing/source-editing-enhanced source editing enhanced feature documentation} and the
|
|
19
|
+
* {@glink api/source-editing-enhanced package page}.
|
|
20
|
+
*/
|
|
21
|
+
export default class SourceEditingEnhanced extends Plugin {
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "SourceEditingEnhanced";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
static get requires(): readonly [typeof SourceEditingEnhancedUI];
|
|
38
|
+
/**
|
|
39
|
+
* @inheritDoc
|
|
40
|
+
*/
|
|
41
|
+
constructor(editor: Editor);
|
|
42
|
+
/**
|
|
43
|
+
* @inheritDoc
|
|
44
|
+
*/
|
|
45
|
+
init(): void;
|
|
46
|
+
destroy(): void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0xccf9(_0xa0e779,_0x10c392){const _0x2dc4c0=_0x2dc4();return _0xccf9=function(_0xccf92b,_0x27e0d8){_0xccf92b=_0xccf92b-0xb5;let _0x517af6=_0x2dc4c0[_0xccf92b];return _0x517af6;},_0xccf9(_0xa0e779,_0x10c392);}const _0x5bbfa5=_0xccf9;(function(_0x504bf7,_0x5c91cb){const _0x3d6e6a=_0xccf9,_0x545521=_0x504bf7();while(!![]){try{const _0x4ce012=-parseInt(_0x3d6e6a(0xd1))/0x1*(parseInt(_0x3d6e6a(0xe1))/0x2)+parseInt(_0x3d6e6a(0xd8))/0x3+-parseInt(_0x3d6e6a(0xee))/0x4*(-parseInt(_0x3d6e6a(0xc1))/0x5)+-parseInt(_0x3d6e6a(0xbc))/0x6*(-parseInt(_0x3d6e6a(0xdd))/0x7)+parseInt(_0x3d6e6a(0xb6))/0x8*(parseInt(_0x3d6e6a(0xb5))/0x9)+parseInt(_0x3d6e6a(0xcc))/0xa*(parseInt(_0x3d6e6a(0xcb))/0xb)+parseInt(_0x3d6e6a(0xc9))/0xc*(-parseInt(_0x3d6e6a(0xc7))/0xd);if(_0x4ce012===_0x5c91cb)break;else _0x545521['push'](_0x545521['shift']());}catch(_0x3c014b){_0x545521['push'](_0x545521['shift']());}}}(_0x2dc4,0x2707a));import{Plugin as _0x2c38a1}from'ckeditor5/src/core.js';function _0x2dc4(){const _0x594856=['20muJaec','sourceEditingEnhancedLicenseKeyEvaluationLimit','9fVPAyq','1932464vhqXjR','pluginName','RealTimeCollaborativeEditing','sourceEditingEnhancedLicenseKeyInvalid','destroy','CommentsEditing','102CfjSzI','plugins','has','init','_showLicenseError','86945ziRnfe','sourceEditingEnhancedLicenseKeyUsageLimit','evaluationLimit','sourceEditingEnhancedLicenseKeyNotAllowed','sourceEditingEnhanced.allowCollaborationFeatures','featureNotAllowed','5781607AEARNf','replaceSource','12AfVdeh','warn','11MHbUoO','1140190ICECkp','requires','isOfficialPlugin','TrackChangesEditing','usageLimit','93ehlnWT','config','trialLimit','sourceEditingEnhancedLicenseKeyTrialLimit','RevisionHistory','add','sourceEditingEnhancedLicenseKeyValid','656901jqOljv','some','define','isPremiumPlugin','sourceEditingEnhancedLicenseKeyExpired','13531BQPYEW','RestrictedEditingModeEditing','source-editing-enhanced-incompatible-with-real-time-collaboration','sourceEditingEnhancedLicenseKeyDomainLimit','1930BMQIWO','domainLimit','You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.','_licenseKeyCheckInterval','_checkCompatibility','get','commands','invalid','You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.','expired','licenseKey','editor','SourceEditingEnhanced'];_0x2dc4=function(){return _0x594856;};return _0x2dc4();}import{CKEditorError as _0xd6590e}from'ckeditor5/src/utils.js';import _0x1e55ce from'./sourceeditingenhancedui.js';import _0xf22ee2 from'./replacesourcecommand.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x2c38a1{static get[_0x5bbfa5(0xb7)](){const _0x5bd133=_0x5bbfa5;return _0x5bd133(0xed);}static get[_0x5bbfa5(0xce)](){return!0x0;}static get[_0x5bbfa5(0xdb)](){return!0x0;}static get[_0x5bbfa5(0xcd)](){return[_0x1e55ce];}constructor(_0x996dab){const _0x1fc25b=_0x5bbfa5;super(_0x996dab),_0x996dab[_0x1fc25b(0xd2)][_0x1fc25b(0xda)](_0x1fc25b(0xc5),!0x1);}[_0x5bbfa5(0xbf)](){const _0x42b830=_0x5bbfa5;this[_0x42b830(0xe5)](),this[_0x42b830(0xec)][_0x42b830(0xe7)][_0x42b830(0xd6)](_0x42b830(0xc8),new _0xf22ee2(this[_0x42b830(0xec)])),this[_0x42b830(0xeb)]=this[_0x42b830(0xec)][_0x42b830(0xd2)][_0x42b830(0xe6)](_0x42b830(0xeb));const _0x564767=this[_0x42b830(0xec)];this[_0x42b830(0xe4)]=setInterval(()=>{const _0xfc1c56=_0x42b830;let _0x1b3641;for(const _0x5e2f2d in _0x564767){const _0x5aa727=_0x5e2f2d,_0x477c22=_0x564767[_0x5aa727];if(_0xfc1c56(0xd7)==_0x477c22||_0xfc1c56(0xb9)==_0x477c22||_0xfc1c56(0xdc)==_0x477c22||_0xfc1c56(0xe0)==_0x477c22||_0xfc1c56(0xc4)==_0x477c22||_0xfc1c56(0xef)==_0x477c22||_0xfc1c56(0xd4)==_0x477c22||_0xfc1c56(0xc2)==_0x477c22){delete _0x564767[_0x5aa727],_0x1b3641=_0x477c22,clearInterval(this[_0xfc1c56(0xe4)]),this[_0xfc1c56(0xe4)]=void 0x0;break;}}_0xfc1c56(0xb9)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xe8)),_0xfc1c56(0xdc)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xea)),_0xfc1c56(0xe0)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xe2)),_0xfc1c56(0xc4)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xc6),_0xfc1c56(0xed)),_0xfc1c56(0xef)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xc3)),_0xfc1c56(0xd4)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xd3)),_0xfc1c56(0xc2)==_0x1b3641&&_0x564767[_0xfc1c56(0xc0)](_0xfc1c56(0xd0));},0x3e8);}[_0x5bbfa5(0xba)](){const _0x32983f=_0x5bbfa5;this[_0x32983f(0xe4)]&&clearInterval(this[_0x32983f(0xe4)]);}[_0x5bbfa5(0xe5)](){const _0x285b01=_0x5bbfa5,_0x4fe0cc=this[_0x285b01(0xec)],_0x14d241=_0x4fe0cc[_0x285b01(0xd2)][_0x285b01(0xe6)](_0x285b01(0xc5));if(!_0x14d241&&_0x4fe0cc[_0x285b01(0xbd)][_0x285b01(0xbe)](_0x285b01(0xb8)))throw new _0xd6590e(_0x285b01(0xdf),null);!_0x14d241&&[_0x285b01(0xbb),_0x285b01(0xcf),_0x285b01(0xd5)][_0x285b01(0xd9)](_0x21da40=>_0x4fe0cc[_0x285b01(0xbd)][_0x285b01(0xbe)](_0x21da40))&&console[_0x285b01(0xca)](_0x285b01(0xe9)),_0x4fe0cc[_0x285b01(0xbd)][_0x285b01(0xbe)](_0x285b01(0xde))&&console[_0x285b01(0xca)](_0x285b01(0xe3));}}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { Extension } from '@codemirror/state';
|
|
6
|
+
/**
|
|
7
|
+
* @module source-editing-enhanced/sourceeditingenhancedconfig
|
|
8
|
+
* @publicApi
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* The configuration of the source editing enhanced feature.
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* ClassicEditor
|
|
15
|
+
* .create( {
|
|
16
|
+
* sourceEditingEnhanced: {
|
|
17
|
+
* allowCollaborationFeatures: true
|
|
18
|
+
* }
|
|
19
|
+
* } )
|
|
20
|
+
* .then( ... )
|
|
21
|
+
* .catch( ... );
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
25
|
+
*/
|
|
26
|
+
export interface SourceEditingEnhancedConfig {
|
|
27
|
+
/**
|
|
28
|
+
* Set to `true` to enable source editing feature for real-time collaboration.
|
|
29
|
+
*
|
|
30
|
+
* Please note that source editing feature is not fully compatible with real-time collaboration and using it may lead to data loss.
|
|
31
|
+
* {@glink features/source-editing/source-editing-enhanced#limitations-and-incompatibilities Read more}.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
allowCollaborationFeatures?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The theme of the source editor.
|
|
38
|
+
*
|
|
39
|
+
* {@glink features/source-editing/source-editing-enhanced#themes Read more} about themes configuration.
|
|
40
|
+
*/
|
|
41
|
+
theme?: Extension;
|
|
42
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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{};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/sourceeditingenhancedui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, PendingActions } from 'ckeditor5/src/core.js';
|
|
9
|
+
import '../theme/sourceeditingenhanced.css';
|
|
10
|
+
/**
|
|
11
|
+
* The source editing enhanced UI feature.
|
|
12
|
+
*
|
|
13
|
+
* It introduces 'Source' button in toolbar and menu bar that opens a modal window with the source code of the document.
|
|
14
|
+
*/
|
|
15
|
+
export default class SourceEditingEnhancedUI extends Plugin {
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get pluginName(): "SourceEditingEnhancedUI";
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get requires(): readonly [typeof PendingActions];
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static get isOfficialPlugin(): true;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
static get isPremiumPlugin(): true;
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
init(): void;
|
|
36
|
+
/**
|
|
37
|
+
* @inheritDoc
|
|
38
|
+
*/
|
|
39
|
+
afterInit(): void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, 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 _0xa39604=_0x3c9b;(function(_0x263c99,_0x1592df){const _0x2a1ecc=_0x3c9b,_0x4ed721=_0x263c99();while(!![]){try{const _0x4b220b=-parseInt(_0x2a1ecc(0x82))/0x1+parseInt(_0x2a1ecc(0x98))/0x2+-parseInt(_0x2a1ecc(0xa3))/0x3+-parseInt(_0x2a1ecc(0x74))/0x4+-parseInt(_0x2a1ecc(0x77))/0x5*(parseInt(_0x2a1ecc(0x9b))/0x6)+-parseInt(_0x2a1ecc(0xa7))/0x7+-parseInt(_0x2a1ecc(0xbc))/0x8*(-parseInt(_0x2a1ecc(0xa9))/0x9);if(_0x4b220b===_0x1592df)break;else _0x4ed721['push'](_0x4ed721['shift']());}catch(_0x134531){_0x4ed721['push'](_0x4ed721['shift']());}}}(_0x35f3,0x3f668));function _0x3c9b(_0x570094,_0x4a00a2){const _0x35f3e3=_0x35f3();return _0x3c9b=function(_0x3c9b6f,_0x3896af){_0x3c9b6f=_0x3c9b6f-0x6f;let _0x3db759=_0x35f3e3[_0x3c9b6f];return _0x3db759;},_0x3c9b(_0x570094,_0x4a00a2);}import{Plugin as _0x4d44d6,PendingActions as _0x18b1f3,icons as _0x12abf2}from'ckeditor5/src/core.js';import{ButtonView as _0x22240a,MenuBarMenuListItemButtonView as _0x86fd36}from'ckeditor5/src/ui.js';function _0x35f3(){const _0xf26fcc=['addKeystrokeInfos','Shift+Alt+ArrowUp','bind','Ctrl+Shift+Z','isOfficialPlugin','commands','Ctrl+Y','1339328hueTfo','Shift+Alt+ArrowDown','listenTo','_registerKeybindings','Copy\x20line\x20up','sourceEditingEnhanced','set','Ctrl+[','Alt+L','menuBar:sourceEditingEnhanced','Ctrl+Z','addKeystrokeInfoCategory','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','357104tjQHKx','Ctrl+/','Move\x20line\x20down','5mEqzEk','fromCharCode','pluginName','menuitemcheckbox','editor','Ctrl+]','execute','afterInit','Source\x20Editing\x20Enhanced','Ctrl+Shift+]','join','340300DbkVbR','Ctrl!+Alt+]','ck-source-editing-enhanced-button','Ctrl+M','Alt+Shift+M','Shift+Alt+A','Source','accessibility','Ctrl!+L','Fold\x20code\x20(current\x20level)','locale','Toggle\x20comment','Ctrl+Shift+[','Toggle\x20block\x20comment','Move\x20line\x20up','Ctrl!+Alt+[','componentFactory','Undo\x20(keystroke)','Unfold\x20all','isMac','Indent\x20more','Redo\x20(keystroke)','599872RsWLNk','isEnabled','Edit\x20source\x20modal\x20label','367746JpbGkp','init','map','editSource','SourceEditingEnhancedUI','Select\x20line','href','isPremiumPlugin','433248YObrAP','Shift+Ctrl+K','isiOS','Fold\x20all','1694315XzyOOK','Alt+ArrowDown','45BcpagA','Cmd+Alt+[','source','_createButton','Copy\x20line\x20down','Unfold\x20code\x20(current\x20level)','Indent\x20less','Delete\x20line','Cmd+Alt+]','requires','Alt+ArrowUp','add'];_0x35f3=function(){return _0xf26fcc;};return _0x35f3();}import _0x1d58c0 from'./ui/editsourcecommand.js';import{getTranslation as _0x41b47c}from'./utils/common-translations.js';import{env as _0x7fcb1b,uid as _0x3c8ea2}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class n extends _0x4d44d6{static get[_0xa39604(0x79)](){const _0x231b6d=_0xa39604;return _0x231b6d(0x9f);}static get[_0xa39604(0xb2)](){return[_0x18b1f3];}static get[_0xa39604(0xb9)](){return!0x0;}static get[_0xa39604(0xa2)](){return!0x0;}[_0xa39604(0x9c)](){const _0x262979=_0xa39604,_0xbe23ff=this[_0x262979(0x7b)],_0x548197=_0xbe23ff[_0x262979(0x8c)],_0x4662c0=new _0x1d58c0(_0xbe23ff);_0xbe23ff[_0x262979(0xba)][_0x262979(0xb4)](_0x262979(0x9e),_0x4662c0),_0xbe23ff['ui'][_0x262979(0x92)][_0x262979(0xb4)](_0x262979(0xc1),()=>{const _0x28ee39=_0x262979,_0x1489f3=this[_0x28ee39(0xac)](_0x22240a,_0x4662c0);return _0x1489f3[_0x28ee39(0xc2)]({'label':_0x41b47c(_0x548197,_0x28ee39(0x88)),'icon':_0x12abf2[_0x28ee39(0xab)],'tooltip':_0x41b47c(_0x548197,_0x28ee39(0x9a)),'class':_0x28ee39(0x84)}),_0x1489f3;}),_0xbe23ff['ui'][_0x262979(0x92)][_0x262979(0xb4)](_0x262979(0x70),()=>{const _0x106a27=_0x262979,_0x23e518=this[_0x106a27(0xac)](_0x86fd36,_0x4662c0,!0x0);return _0x23e518[_0x106a27(0xc2)]({'label':_0x41b47c(_0x548197,_0x106a27(0x9a)),'icon':_0x12abf2[_0x106a27(0xab)],'role':_0x106a27(0x7a)}),_0x23e518;}),this[_0x262979(0xbf)]();}[_0xa39604(0x7e)](){!async function(_0x140423){const _0xf9fbaf=_0x3a1536([0x67,0x6e,0x70,0x46,0x66,0x6a,0x4b,0x45,0x71,0x54,0x44,0x56,0x36,0x58,0x53,0x5a,0x30,0x39,0x75,0x55,0x52,0x49,0x64,0x62,0x73,0x50,0x65,0x57,0x47,0x76,0x61,0x34,0x4a,0x77,0x69,0x4c,0x7a,0x41,0x79,0x31,0x43,0x4d,0x35,0x6f,0x74,0x59,0x63,0x4f,0x37,0x51,0x32,0x33,0x42,0x68,0x4e,0x78,0x48,0x6d,0x6b,0x38,0x6c,0x72]),_0x14355b=0x73042281,_0x317538=0x73037c91^_0x14355b,_0x368cbd=window[_0x3a1536([0x44,0x61,0x74,0x65])][_0x3a1536([0x6e,0x6f,0x77])](),_0x594aa9=_0x140423[_0x3a1536([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d2ee9=new window[(_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56069a=>{_0x594aa9[_0x3a1536([0x6f,0x6e,0x63,0x65])](_0x3a1536([0x72,0x65,0x61,0x64,0x79]),_0x56069a);}),_0x2f10bd={[_0x3a1536([0x6b,0x74,0x79])]:_0x3a1536([0x45,0x43]),[_0x3a1536([0x75,0x73,0x65])]:_0x3a1536([0x73,0x69,0x67]),[_0x3a1536([0x63,0x72,0x76])]:_0x3a1536([0x50,0x2d,0x32,0x35,0x36]),[_0x3a1536([0x78])]:_0x3a1536([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]),[_0x3a1536([0x79])]:_0x3a1536([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]),[_0x3a1536([0x61,0x6c,0x67])]:_0x3a1536([0x45,0x53,0x32,0x35,0x36])},_0x16342d=_0x594aa9[_0x3a1536([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a1536([0x67,0x65,0x74])](_0x3a1536([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x887822(){let _0x38a982,_0x1cda20=null,_0x2b317e=null;try{if(_0x16342d==_0x3a1536([0x47,0x50,0x4c]))return _0x3a1536([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38a982=_0x59fbc9(),!_0x38a982)return _0x3a1536([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38a982[_0x3a1536([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b317e=_0x52fe8f(_0x38a982[_0x3a1536([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38a982[_0x3a1536([0x6a,0x74,0x69])])),await _0x21e771()?_0x47620c()?_0x562597()?_0x3a1536([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29f498()?(_0x38a982[_0x3a1536([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a1536([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cda20=_0x576963(_0x3a1536([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38a982[_0x3a1536([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a1536([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cda20=_0x576963(_0x3a1536([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47951a()):_0x3a1536([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a1536([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a1536([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5d0225){return _0x3a1536([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x562597(){const _0x1acac1=[_0x3a1536([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a1536([0x74,0x72,0x69,0x61,0x6c])][_0x3a1536([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a982[_0x3a1536([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x368cbd/0x3e8:0xe10*_0x317538;return _0x38a982[_0x3a1536([0x65,0x78,0x70])]<_0x1acac1;}function _0x47620c(){const _0x372bb4=_0x38a982[_0x3a1536([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x372bb4&&(!!_0x372bb4[_0x3a1536([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a1536([0x2a]))||!!_0x372bb4[_0x3a1536([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a1536([0x53,0x45,0x45])));}function _0x29f498(){const _0xceb6b6=_0x3c9b,_0x140367=_0x38a982[_0x3a1536([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x140367||0x0==_0x140367[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29b959}=new URL(window[_0x3a1536([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xceb6b6(0xa1)]);if(_0x140367[_0x3a1536([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29b959))return!0x0;const _0x54cb29=_0x29b959[_0x3a1536([0x73,0x70,0x6c,0x69,0x74])](_0x3a1536([0x2e]));return _0x140367[_0x3a1536([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9bbd4d=>_0x9bbd4d[_0x3a1536([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a1536([0x2a])))[_0x3a1536([0x6d,0x61,0x70])](_0x2b201a=>_0x2b201a[_0x3a1536([0x73,0x70,0x6c,0x69,0x74])](_0x3a1536([0x2e])))[_0x3a1536([0x73,0x6f,0x6d,0x65])](_0x393f24=>_0x54cb29[_0x3a1536([0x65,0x76,0x65,0x72,0x79])]((_0xf0f3a3,_0x4b409a)=>_0x393f24[_0x4b409a]===_0xf0f3a3||_0x393f24[_0x4b409a]===_0x3a1536([0x2a])));}function _0x47951a(){return _0x1cda20&&_0x2b317e?new window[(_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23fccd,_0x41830d)=>{_0x1cda20[_0x3a1536([0x74,0x68,0x65,0x6e])](_0x23fccd,_0x41830d),_0x2b317e[_0x3a1536([0x74,0x68,0x65,0x6e])](_0x5a9eff=>{_0x5a9eff!=_0x3a1536([0x56,0x61,0x6c,0x69,0x64])&&_0x23fccd(_0x5a9eff);},_0x41830d);}):_0x1cda20||_0x2b317e||_0x3a1536([0x56,0x61,0x6c,0x69,0x64]);}}function _0x52fe8f(_0x42effd,_0x426ba9){return new window[(_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43ae21=>{if(_0xcf9eb5())return _0x43ae21(_0x3a1536([0x56,0x61,0x6c,0x69,0x64]));_0x143306(),_0x594aa9[_0x3a1536([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a1536([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5df93b=!0x1;const _0x523561=_0x3c8ea2();function _0x309ce7(_0xfd5f97){return!!_0xfd5f97&&(typeof _0xfd5f97===_0x3a1536([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfd5f97===_0x3a1536([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfd5f97[_0x3a1536([0x74,0x68,0x65,0x6e])]===_0x3a1536([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfd5f97[_0x3a1536([0x63,0x61,0x74,0x63,0x68])]===_0x3a1536([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fdbae(_0x3c4634){_0x3051e7(_0x3c4634)[_0x3a1536([0x74,0x68,0x65,0x6e])](_0x5724ef=>{if(!_0x5724ef||_0x5724ef[_0x3a1536([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a1536([0x6f,0x6b]))return _0x3a1536([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c3d68(_0x592ab0(_0x523561+_0x426ba9))!=_0x5724ef[_0x3a1536([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a1536([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a1536([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a1536([0x74,0x68,0x65,0x6e])](_0x17be08=>(_0x54d6f5(),_0x17be08),()=>{const _0x29cbe4=_0xe2ba5d();return null==_0x29cbe4?(_0x54d6f5(),_0x3a1536([0x56,0x61,0x6c,0x69,0x64])):_0x3a1536(_0x368cbd-_0x29cbe4>(0x5708a681^_0x14355b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a1536([0x74,0x68,0x65,0x6e])](_0x43ae21)[_0x3a1536([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43ae21(_0x3a1536([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfb0a47=0x7332cc01^_0x14355b;function _0x54d6f5(){const _0x558834=_0x3a1536([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3d68(_0x592ab0(_0x42effd)),_0x9ed0cd=_0x1d3afb(_0x5c3d68(window[_0x3a1536([0x4d,0x61,0x74,0x68])][_0x3a1536([0x63,0x65,0x69,0x6c])](_0x368cbd/_0xfb0a47)));window[_0x3a1536([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a1536([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x558834,_0x9ed0cd);}function _0xe2ba5d(){const _0x3ebc32=_0x3a1536([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3d68(_0x592ab0(_0x42effd)),_0x778c94=window[_0x3a1536([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a1536([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ebc32);return _0x778c94?window[_0x3a1536([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d3afb(_0x778c94),0x10)*_0xfb0a47:null;}function _0x3051e7(_0x534dcf){return new window[(_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11eb3b,_0x1ca6ea)=>{_0x534dcf[_0x3a1536([0x74,0x68,0x65,0x6e])](_0x11eb3b,_0x1ca6ea),window[_0x3a1536([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ca6ea,0x7305f641^_0x14355b);});}}_0x594aa9[_0x3a1536([0x6f,0x6e])](_0x3a1536([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x530a4c,_0x1b4c6b)=>{if(_0x1b4c6b[0x0]!=_0x42effd)return _0x43ae21(_0x3a1536([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b4c6b[0x1]={..._0x1b4c6b[0x1],[_0x3a1536([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x523561};},{[_0x3a1536([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a1536([0x68,0x69,0x67,0x68])}),_0x594aa9[_0x3a1536([0x6f,0x6e])](_0x3a1536([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55a85f=>{_0x309ce7(_0x55a85f[_0x3a1536([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5df93b=!0x0,_0x2fdbae(_0x55a85f[_0x3a1536([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a1536([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a1536([0x6c,0x6f,0x77])}),_0x1d2ee9[_0x3a1536([0x74,0x68,0x65,0x6e])](()=>{_0x5df93b||_0x43ae21(_0x3a1536([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xcf9eb5(){return _0x594aa9[_0x3a1536([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a1536([0x76,0x69,0x65,0x77])][_0x3a1536([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a1536([0x61,0x75,0x74,0x6f]);}function _0x143306(){_0x594aa9[_0x3a1536([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a1536([0x76,0x69,0x65,0x77])][_0x3a1536([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a1536([0x61,0x75,0x74,0x6f]);}}function _0x576963(_0x5e9d73){const _0x2fd5e9=[new window[(_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536681=>setTimeout(_0x536681,0x730d1c4d^_0x14355b)),_0x1d2ee9[_0x3a1536([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b4e1=>{let _0x384c8a=0x0;_0x594aa9[_0x3a1536([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a1536([0x6f,0x6e])](_0x3a1536([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d4c19,_0x4676a8)=>{_0x4676a8[0x0][_0x3a1536([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x384c8a++,_0x384c8a==(0x73042379^_0x14355b)&&(_0x21b4e1(),_0x3d4c19[_0x3a1536([0x6f,0x66,0x66])]());});}))];return window[_0x3a1536([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a1536([0x72,0x61,0x63,0x65])](_0x2fd5e9)[_0x3a1536([0x74,0x68,0x65,0x6e])](()=>_0x5e9d73);}async function _0x12441f(){await _0x1d2ee9,_0x594aa9[_0x3a1536([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a1536([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54a601,_0x594aa9[_0x3a1536([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a1536([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54a601,_0x594aa9[_0x3a1536([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a1536([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3803a2(_0x4d9435){const _0x9af3d8=_0xc2815f();_0x594aa9[_0x9af3d8]=_0x3a1536([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d9435,_0x4d9435!=_0x3a1536([0x56,0x61,0x6c,0x69,0x64])&&_0x12441f();}function _0xc2815f(){const _0x39061d=window[_0x3a1536([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a1536([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a1536([0x6e,0x6f,0x77])]())[_0x3a1536([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a1536([0x2e]),'');let _0x24a317=_0x3a1536([0x67]);for(let _0x3a3104=0x0;_0x3a3104<_0x39061d[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a3104+=0x2){let _0x5d1159=window[_0x3a1536([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39061d[_0x3a1536([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a3104,_0x3a3104+0x2));_0x5d1159>=_0xf9fbaf[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d1159-=_0xf9fbaf[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24a317+=_0xf9fbaf[_0x5d1159];}return _0x24a317;}function _0x59fbc9(){const _0x4c0f53=_0x16342d[_0x3a1536([0x73,0x70,0x6c,0x69,0x74])](_0x3a1536([0x2e]));if(0x3!=_0x4c0f53[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x612ceb(_0x4c0f53[0x1]);function _0x612ceb(_0x49f302){const _0x50a14b=_0x5702e9(_0x49f302);return _0x50a14b&&_0x4027e2()?_0x50a14b:null;function _0x4027e2(){const _0x287a14=_0x50a14b[_0x3a1536([0x6a,0x74,0x69])],_0x49d14d=window[_0x3a1536([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x287a14[_0x3a1536([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x287a14[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c8c7d={..._0x50a14b,[_0x3a1536([0x6a,0x74,0x69])]:_0x287a14[_0x3a1536([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x287a14[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c8c7d[_0x3a1536([0x76,0x63])],_0x592ab0(_0x5c8c7d)==_0x49d14d;}}}async function _0x21e771(){let _0x242d9f=!0x0;try{const _0x2c7b55=_0x16342d[_0x3a1536([0x73,0x70,0x6c,0x69,0x74])](_0x3a1536([0x2e])),[_0x401495,_0x861208,_0xb5a977]=_0x2c7b55;return _0x434274(_0x401495),await _0x3f64fd(_0x401495,_0x861208,_0xb5a977),_0x242d9f;}catch(_0x203554){return!0x1;}function _0x434274(_0x177015){const _0x10ee3a=_0x5702e9(_0x177015);_0x10ee3a&&_0x10ee3a[_0x3a1536([0x61,0x6c,0x67])]==_0x3a1536([0x45,0x53,0x32,0x35,0x36])||(_0x242d9f=!0x1);}async function _0x3f64fd(_0x29a83c,_0x379b54,_0x142ea4){const _0x28fdae=window[_0x3a1536([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a1536([0x66,0x72,0x6f,0x6d])](_0x21bb03(_0x142ea4),_0x8cc50a=>_0x8cc50a[_0x3a1536([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x398833=new window[(_0x3a1536([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a1536([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29a83c+_0x3a1536([0x2e])+_0x379b54),_0x51bf5c=window[_0x3a1536([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a1536([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51bf5c)return;const _0x480a5a=await _0x51bf5c[_0x3a1536([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a1536([0x6a,0x77,0x6b]),_0x2f10bd,{[_0x3a1536([0x6e,0x61,0x6d,0x65])]:_0x3a1536([0x45,0x43,0x44,0x53,0x41]),[_0x3a1536([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a1536([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a1536([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51bf5c[_0x3a1536([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a1536([0x6e,0x61,0x6d,0x65])]:_0x3a1536([0x45,0x43,0x44,0x53,0x41]),[_0x3a1536([0x68,0x61,0x73,0x68])]:{[_0x3a1536([0x6e,0x61,0x6d,0x65])]:_0x3a1536([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x480a5a,_0x28fdae,_0x398833)||(_0x242d9f=!0x1);}}function _0x5702e9(_0x11f5c1){return _0x11f5c1[_0x3a1536([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a1536([0x65,0x79]))?JSON[_0x3a1536([0x70,0x61,0x72,0x73,0x65])](_0x21bb03(_0x11f5c1)):null;}function _0x21bb03(_0x3b2d73){return window[_0x3a1536([0x61,0x74,0x6f,0x62])](_0x3b2d73[_0x3a1536([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a1536([0x2b]))[_0x3a1536([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a1536([0x2f])));}function _0x592ab0(_0x43840d){let _0x3ddfb3=0x1505;function _0x4ca048(_0x170a76){for(let _0x4a0a5e=0x0;_0x4a0a5e<_0x170a76[_0x3a1536([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a0a5e++){const _0x2a0b05=_0x170a76[_0x3a1536([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a0a5e);_0x3ddfb3=(_0x3ddfb3<<0x5)+_0x3ddfb3+_0x2a0b05,_0x3ddfb3&=_0x3ddfb3;}}function _0x46f34a(_0x223f51){Array[_0x3a1536([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x223f51)?_0x223f51[_0x3a1536([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46f34a):_0x223f51&&typeof _0x223f51==_0x3a1536([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a1536([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x223f51)[_0x3a1536([0x73,0x6f,0x72,0x74])]()[_0x3a1536([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51a05b,_0x1eae22])=>{_0x4ca048(_0x51a05b),_0x46f34a(_0x1eae22);}):_0x4ca048(window[_0x3a1536([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x223f51));}return _0x46f34a(_0x43840d),_0x3ddfb3>>>0x0;}function _0x5c3d68(_0x399f73){return _0x399f73[_0x3a1536([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a1536([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a1536([0x30]));}function _0x1d3afb(_0xace726){return _0xace726[_0x3a1536([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a1536([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a1536([0x6a,0x6f,0x69,0x6e])]('');}function _0x54a601(){}function _0x3a1536(_0x159d66){const _0x2be634=_0x3c9b;return _0x159d66[_0x2be634(0x9d)](_0x117f2c=>String[_0x2be634(0x78)](_0x117f2c))[_0x2be634(0x81)]('');}_0x3803a2(await _0x887822());}(this);}[_0xa39604(0xac)](_0x44d509,_0x132347,_0x41413a=!0x1){const _0x152085=_0xa39604,_0x24e70d=new _0x44d509(this[_0x152085(0x7b)][_0x152085(0x8c)]);return _0x24e70d[_0x152085(0xc2)]({'withText':_0x41413a,'isToggleable':!0x1}),_0x24e70d[_0x152085(0xb7)](_0x152085(0x99))['to'](_0x132347,_0x152085(0x99)),this[_0x152085(0xbe)](_0x24e70d,_0x152085(0x7d),()=>_0x132347[_0x152085(0x7d)]()),_0x24e70d;}[_0xa39604(0xbf)](){const _0x50d7bd=_0xa39604,_0x1dad3c=this[_0x50d7bd(0x7b)][_0x50d7bd(0x8c)];this[_0x50d7bd(0x7b)][_0x50d7bd(0x89)][_0x50d7bd(0x72)]({'id':_0x50d7bd(0xc1),'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x7f))});const _0x4e412a=_0x7fcb1b[_0x50d7bd(0x95)]||_0x7fcb1b[_0x50d7bd(0xa5)];this[_0x50d7bd(0x7b)][_0x50d7bd(0x89)][_0x50d7bd(0xb5)]({'categoryId':_0x50d7bd(0xc1),'keystrokes':[{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xad)),'keystroke':_0x50d7bd(0xbd)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xc0)),'keystroke':_0x50d7bd(0xb6)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xb0)),'keystroke':_0x50d7bd(0xa4)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xaf)),'keystroke':_0x50d7bd(0xc3)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x96)),'keystroke':_0x50d7bd(0x7c)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xa6)),'keystroke':_0x50d7bd(0x91)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x8b)),'keystroke':_0x4e412a?_0x50d7bd(0xaa):_0x50d7bd(0x8e)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x76)),'keystroke':_0x50d7bd(0xa8)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x90)),'keystroke':_0x50d7bd(0xb3)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x97)),'keystroke':[[_0x50d7bd(0xb8)],[_0x50d7bd(0xbb)]]},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xa0)),'keystroke':_0x4e412a?_0x50d7bd(0x8a):_0x50d7bd(0x6f)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x73)),'keystroke':_0x4e412a?_0x50d7bd(0x86):_0x50d7bd(0x85)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x8f)),'keystroke':_0x50d7bd(0x87)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x8d)),'keystroke':_0x50d7bd(0x75)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x93)),'keystroke':_0x50d7bd(0x71)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0x94)),'keystroke':_0x50d7bd(0x83)},{'label':_0x41b47c(_0x1dad3c,_0x50d7bd(0xae)),'keystroke':_0x4e412a?_0x50d7bd(0xb1):_0x50d7bd(0x80)}]});}}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/ui/codeeditorview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import { type CodeMirrorEditorConfig } from '../utils/createcodemirroreditor.js';
|
|
11
|
+
/**
|
|
12
|
+
* A view that represents a code editor. Internally, it renders a CodeMirror instance. It provides
|
|
13
|
+
* an API to interact with the editor.
|
|
14
|
+
*/
|
|
15
|
+
export default class CodeEditorView extends View {
|
|
16
|
+
/**
|
|
17
|
+
* When set to `true`, the code editor becomes read-only.
|
|
18
|
+
*/
|
|
19
|
+
isReadOnly: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
constructor(locale: Locale, options: CodeEditorViewOptions);
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
render(): void;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
destroy(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Focuses the code editor.
|
|
34
|
+
*/
|
|
35
|
+
focus(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieves data from the editor.
|
|
38
|
+
*/
|
|
39
|
+
getData(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Sets data to the editor.
|
|
42
|
+
*/
|
|
43
|
+
setData(data: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* Toggles the read-only state of the editor.
|
|
46
|
+
*/
|
|
47
|
+
setReadOnly(readOnly: boolean): void;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The configuration options for the code editor view.
|
|
51
|
+
*/
|
|
52
|
+
type CodeEditorViewOptions = Omit<CodeMirrorEditorConfig, 'parent'>;
|
|
53
|
+
export {};
|