@ckeditor/ckeditor5-source-editing-enhanced 47.6.1 → 48.0.0-alpha.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-editor.css +16 -17
- package/dist/index.css +17 -42
- package/dist/index.js +1 -1
- package/{src → dist}/replacesourcecommand.d.ts +1 -1
- package/{src → dist}/sourceeditingenhanced.d.ts +1 -1
- package/{src → dist}/sourceeditingenhancedui.d.ts +1 -1
- 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/codeeditorview.d.ts +2 -2
- package/{src → dist}/ui/editsourcecommand.d.ts +1 -1
- package/{src → dist}/utils/common-translations.d.ts +1 -1
- package/{src → dist}/utils/getactiverootname.d.ts +1 -1
- package/package.json +20 -45
- package/build/source-editing-enhanced.js +0 -5
- 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/lang/contexts.json +0 -22
- package/lang/translations/af.po +0 -92
- package/lang/translations/ar.po +0 -92
- package/lang/translations/ast.po +0 -92
- package/lang/translations/az.po +0 -92
- package/lang/translations/be.po +0 -92
- package/lang/translations/bg.po +0 -92
- package/lang/translations/bn.po +0 -92
- package/lang/translations/bs.po +0 -92
- package/lang/translations/ca.po +0 -92
- package/lang/translations/cs.po +0 -92
- package/lang/translations/da.po +0 -92
- package/lang/translations/de-ch.po +0 -92
- package/lang/translations/de.po +0 -92
- package/lang/translations/el.po +0 -92
- package/lang/translations/en-au.po +0 -92
- package/lang/translations/en-gb.po +0 -92
- package/lang/translations/en.po +0 -92
- package/lang/translations/eo.po +0 -92
- package/lang/translations/es-co.po +0 -92
- package/lang/translations/es.po +0 -92
- package/lang/translations/et.po +0 -92
- package/lang/translations/eu.po +0 -92
- package/lang/translations/fa.po +0 -92
- package/lang/translations/fi.po +0 -92
- package/lang/translations/fr.po +0 -92
- package/lang/translations/gl.po +0 -92
- package/lang/translations/gu.po +0 -92
- package/lang/translations/he.po +0 -92
- package/lang/translations/hi.po +0 -92
- package/lang/translations/hr.po +0 -92
- package/lang/translations/hu.po +0 -92
- package/lang/translations/hy.po +0 -92
- package/lang/translations/id.po +0 -92
- package/lang/translations/it.po +0 -92
- package/lang/translations/ja.po +0 -92
- package/lang/translations/jv.po +0 -92
- package/lang/translations/kk.po +0 -92
- package/lang/translations/km.po +0 -92
- package/lang/translations/kn.po +0 -92
- package/lang/translations/ko.po +0 -92
- package/lang/translations/ku.po +0 -92
- package/lang/translations/lt.po +0 -92
- package/lang/translations/lv.po +0 -92
- package/lang/translations/ms.po +0 -92
- package/lang/translations/nb.po +0 -92
- package/lang/translations/ne.po +0 -92
- package/lang/translations/nl.po +0 -92
- package/lang/translations/no.po +0 -92
- package/lang/translations/oc.po +0 -92
- package/lang/translations/pl.po +0 -92
- package/lang/translations/pt-br.po +0 -92
- package/lang/translations/pt.po +0 -92
- package/lang/translations/ro.po +0 -92
- package/lang/translations/ru.po +0 -92
- package/lang/translations/si.po +0 -92
- package/lang/translations/sk.po +0 -92
- package/lang/translations/sl.po +0 -92
- package/lang/translations/sq.po +0 -92
- package/lang/translations/sr-latn.po +0 -92
- package/lang/translations/sr.po +0 -92
- package/lang/translations/sv.po +0 -92
- package/lang/translations/th.po +0 -92
- package/lang/translations/ti.po +0 -92
- package/lang/translations/tk.po +0 -92
- package/lang/translations/tr.po +0 -92
- package/lang/translations/tt.po +0 -92
- package/lang/translations/ug.po +0 -92
- package/lang/translations/uk.po +0 -92
- package/lang/translations/ur.po +0 -92
- package/lang/translations/uz.po +0 -92
- package/lang/translations/vi.po +0 -92
- package/lang/translations/zh-cn.po +0 -92
- package/lang/translations/zh.po +0 -92
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/replacesourcecommand.js +0 -23
- package/src/sourceeditingenhanced.js +0 -23
- package/src/sourceeditingenhancedconfig.js +0 -23
- package/src/sourceeditingenhancedui.js +0 -23
- package/src/ui/codeeditorview.js +0 -23
- package/src/ui/editsourcecommand.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/createcodemirroreditor.js +0 -23
- package/src/utils/format.js +0 -23
- package/src/utils/getactiverootname.js +0 -23
- package/theme/sourceeditingenhanced.css +0 -46
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/sourceeditingenhancedconfig.d.ts +0 -0
- /package/{src → dist}/utils/createcodemirroreditor.d.ts +0 -0
- /package/{src → dist}/utils/format.d.ts +0 -0
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"className": "SourceEditingEnhanced",
|
|
6
6
|
"description": "Allows for viewing and editing the source of the document.",
|
|
7
7
|
"docs": "features/source-editing/source-editing-enhanced.html",
|
|
8
|
-
"path": "src/sourceeditingenhanced.
|
|
8
|
+
"path": "src/sourceeditingenhanced.ts",
|
|
9
9
|
"uiComponents": [
|
|
10
10
|
{
|
|
11
11
|
"type": "Button",
|
|
12
12
|
"name": "sourceEditingEnhanced",
|
|
13
|
-
"
|
|
13
|
+
"iconName": "IconSource"
|
|
14
14
|
}
|
|
15
15
|
]
|
|
16
16
|
}
|
package/dist/index-editor.css
CHANGED
|
@@ -3,32 +3,31 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
7
|
-
var(--ck-dialog-max-height)
|
|
6
|
+
--ck-source-editing-enhanced-height:calc(var(--ck-dialog-max-height)
|
|
8
7
|
- var(--ck-form-header-height)
|
|
9
8
|
- 2 * var(--ck-spacing-large)
|
|
10
9
|
- var(--ck-ui-component-min-height)
|
|
11
10
|
- 2 * var(--ck-spacing-tiny) );
|
|
12
|
-
|
|
11
|
+
--ck-source-editing-enhanced-width:min(80vw, 1200px);
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
.ck.ck-code-editor{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
white-space:initial;
|
|
16
|
+
border-bottom:1px solid var(--ck-color-base-border);
|
|
17
|
+
height:var(--ck-source-editing-enhanced-height);
|
|
18
|
+
width:var(--ck-source-editing-enhanced-width);
|
|
19
|
+
flex-direction:row;
|
|
20
|
+
justify-content:flex-start;
|
|
21
|
+
align-items:stretch;
|
|
22
|
+
margin:0 auto;
|
|
23
|
+
display:flex;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
.ck.ck-code-editor .cm-editor{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
flex-grow:1;
|
|
28
|
+
width:100%;
|
|
29
|
+
}
|
|
31
30
|
|
|
32
31
|
.ck.ck-code-editor .cm-editor.cm-focused{
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
outline:var(--ck-focus-ring);
|
|
33
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -2,57 +2,32 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/*
|
|
6
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
7
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
8
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
11
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/*
|
|
15
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
16
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* A visual style of focused element's border.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
5
|
:root {
|
|
24
|
-
|
|
25
|
-
/* stylelint-disable function-calc-no-unspaced-operator */
|
|
26
|
-
--ck-source-editing-enhanced-height: calc(
|
|
27
|
-
var(--ck-dialog-max-height) /* ─▶ Total max height of the dialog */
|
|
6
|
+
--ck-source-editing-enhanced-height: calc(var(--ck-dialog-max-height) /* ─▶ Total max height of the dialog */
|
|
28
7
|
- var(--ck-form-header-height) /* ─▶ Height of the dialog header */
|
|
29
8
|
- 2 * var(--ck-spacing-large) /* ─┐ */
|
|
30
9
|
- var(--ck-ui-component-min-height) /* ├─▶ Height of the dialog actions bar */
|
|
31
|
-
- 2 * var(--ck-spacing-tiny) /* ─┘ */
|
|
32
|
-
|
|
33
|
-
/* stylelint-enable function-calc-no-unspaced-operator */
|
|
34
|
-
--ck-source-editing-enhanced-width: min(80vw, 1200px);
|
|
10
|
+
- 2 * var(--ck-spacing-tiny) /* ─┘ */);
|
|
11
|
+
--ck-source-editing-enhanced-width: min(80vw, 1200px);
|
|
35
12
|
}
|
|
36
13
|
|
|
37
14
|
.ck.ck-code-editor {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/* Styles of the CodeMirror editor */
|
|
15
|
+
white-space: initial;
|
|
16
|
+
border-bottom: 1px solid var(--ck-color-base-border);
|
|
17
|
+
height: var(--ck-source-editing-enhanced-height);
|
|
18
|
+
width: var(--ck-source-editing-enhanced-width);
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
align-items: stretch;
|
|
22
|
+
margin: 0 auto;
|
|
23
|
+
display: flex;
|
|
49
24
|
}
|
|
50
25
|
|
|
51
26
|
.ck.ck-code-editor .cm-editor {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
27
|
+
flex-grow: 1;
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
55
30
|
|
|
56
31
|
.ck.ck-code-editor .cm-editor.cm-focused {
|
|
57
|
-
|
|
58
|
-
|
|
32
|
+
outline: var(--ck-focus-ring);
|
|
33
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0xa1ae9b,PendingActions as _0x26ed46,Plugin as _0x10c2f9}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2168da,formatHtml as _0x2b3395,env as _0x52004a,uid as _0xf5422}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x186b46}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x2a3c0f,ButtonView as _0x2ec3e9,MenuBarMenuListItemButtonView as _0x585866}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1abb95,crosshairCursor as _0xa370c,drawSelection as _0x58a982,dropCursor as _0x4e288b,lineNumbers as _0x5b1116,highlightActiveLine as _0x50eede,highlightActiveLineGutter as _0x2514f3,highlightSpecialChars as _0x3ec643,rectangularSelection as _0x47af43,keymap as _0xc5b033}from'@codemirror/view';import{Compartment as _0x5bc924,Transaction as _0x1bac4a}from'@codemirror/state';import{bracketMatching as _0x421a5e,foldGutter as _0x141530,indentOnInput as _0x479549,syntaxHighlighting as _0x592ddd,defaultHighlightStyle as _0x17f4d0,foldKeymap as _0x400876}from'@codemirror/language';import{toggleTabFocusMode as _0x3f11fa,history as _0x12f921,defaultKeymap as _0x4fdc7d,historyKeymap as _0x55a584,indentLess as _0x1dc94c,indentMore as _0x32b11b,redo as _0x1d1e37,undo as _0x481a69}from'@codemirror/commands';import{autocompletion as _0xc19874,closeBrackets as _0x3993c0,closeBracketsKeymap as _0x12b7e2,completionKeymap as _0x10bc21}from'@codemirror/autocomplete';import{html as _0x21d415}from'@codemirror/lang-html';import{markdown as _0x1783f3}from'@codemirror/lang-markdown';import{oneDark as _0x56b9bc}from'@codemirror/theme-one-dark';function w(_0x206771,_0x344214){const t=_0x206771['t'];switch(_0x344214){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x344214;}}function r(_0x585afa){const _0x2c641c=_0x585afa['editing']['view']['document']['roots'],_0xbbb2ff=_0x2c641c['length'];if(0x0===_0xbbb2ff)throw new _0x2168da('source-editing-enhanced-editor-no-root',_0x585afa);if(0x1===_0xbbb2ff)return _0x2c641c['first']['rootName'];return Array['from'](_0x585afa['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function g(_0x37d8b7){return tr(_0x37d8b7['replace'](/^[\n\s]*/g,''))?_0x37d8b7['replace'](/\s+/g,''):_0x37d8b7;}function tr(_0x31d973){return _0x31d973['startsWith']('<');}function p(_0x183dcc){const _0x49ac2c=[_0x1abb95['lineWrapping'],_0xc19874(),_0x421a5e(),_0x3993c0(),_0xa370c(),_0x58a982(),_0x4e288b(),_0x5b1116(),_0x141530(),_0x50eede(),_0x2514f3(),_0x3ec643(),_0x12f921(),_0x479549(),_0x47af43(),_0x592ddd(_0x17f4d0,{'fallback':!0x0})],_0x441adf=new _0x5bc924();_0x49ac2c['push'](_0x441adf['of'](_0x1abb95['editable']['of'](!0x0))),'html'===_0x183dcc['syntaxLanguage']?_0x49ac2c['push'](_0x21d415()):_0x49ac2c['push'](_0x1783f3());const _0x131821=function(_0x21b328){if(_0x21b328&&'default'!==_0x21b328)return'dark'===_0x21b328?_0x56b9bc:_0x21b328;return null;}(_0x183dcc['theme']);_0x131821&&_0x49ac2c['push'](_0x131821),_0x49ac2c['push'](_0xc5b033['of']([..._0x12b7e2,..._0x4fdc7d,..._0x55a584,..._0x400876,..._0x10bc21,{'key':'Tab','run':_0x32b11b,'shift':_0x1dc94c,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x1d1e37,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x1d1e37,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x481a69,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x38d30a=new _0x1abb95({'extensions':_0x49ac2c,'parent':_0x183dcc['parent']});return _0x3f11fa(_0x38d30a),{'focus':()=>{_0x38d30a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x38d30a['focus']();},'getData':()=>_0x38d30a['state']['doc']['toString'](),'setData':_0x4de2a6=>{_0x38d30a['dispatch']({'changes':{'from':0x0,'to':_0x38d30a['state']['doc']['length'],'insert':_0x4de2a6},'annotations':_0x1bac4a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1fce5d=>{_0x38d30a['dispatch']({'effects':[_0x441adf['reconfigure'](_0x1abb95['editable']['of'](!_0x1fce5d))]});},'destroy':()=>{_0x38d30a['destroy']();},'instance':_0x38d30a};}class E extends _0x2a3c0f{['_codeEditorApi']=null;['_options'];constructor(_0x3c8376,_0x4c764f){super(_0x3c8376),this['_options']=_0x4c764f,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=p({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x3d79e5,_0x56713d,_0x3b9b6f)=>{this['setReadOnly'](_0x3b9b6f);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x225945){this['_codeEditorApi']['setData'](_0x225945);}['setReadOnly'](_0x5f4cfc){this['_codeEditorApi']['setReadOnly'](_0x5f4cfc);}}const b='SourceEditingEnhancedMode';class d extends _0xa1ae9b{constructor(_0x46f370){super(_0x46f370),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x26ed46)['on']('change:hasAny',(_0x1c0387,_0x5c0926,_0x21f256)=>{_0x21f256?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x53c32e=this['editor'];for(const _0x8b9317 of _0x53c32e['commands']['names']())['replaceSource','editSource']['includes'](_0x8b9317)||_0x53c32e['commands']['get'](_0x8b9317)['forceDisabled'](b);}['_enableCommands'](){const _0x1cfc88=this['editor'];for(const _0x16886b of _0x1cfc88['commands']['commands']())_0x16886b['clearForceDisabled'](b);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x5f3644=this['editor'],_0x40b02f=_0x5f3644['locale'],_0x355a07=_0x5f3644['plugins']['get']('Dialog'),_0x493b87=r(_0x5f3644),_0x38ccfb=_0x5f3644['data']['get']({'rootName':_0x493b87}),_0xbde0be=tr(_0x3c226a=_0x38ccfb)?_0x2b3395(_0x3c226a):_0x3c226a;var _0x3c226a;const _0x3fde64=new E(_0x40b02f,{'syntaxLanguage':_0x5f3644['plugins']['has']('Markdown')?'markdown':'html','theme':_0x5f3644['config']['get']('sourceEditingEnhanced.theme')});let _0x8d06b9=!0x0;const _0x5a4371=_0x220112=>{if(!_0x8d06b9)return;return g(_0x3fde64['getData']())!==g(_0xbde0be)?window['confirm'](w(_0x40b02f,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x220112['stop']():void 0x0;};_0x355a07['show']({'id':'sourceEditingEnhanced','title':w(_0x40b02f,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x3fde64,'actionButtons':[{'label':w(_0x40b02f,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x355a07['hide']();}},{'label':w(_0x40b02f,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x2c1eac=g(_0x3fde64['getData']())!==g(_0xbde0be);(_0x2c1eac&&_0x5f3644['execute']('replaceSource',_0x3fde64['getData']()),_0x8d06b9=!0x1,_0x355a07['hide'](),_0x2c1eac&&'editables'in _0x5f3644['ui']['view'])&&_0x5f3644['ui']['view']['editables'][_0x493b87]['element']['focus']();},'onCreate':_0xd0afd1=>{_0xd0afd1['set']('isEnabled',!_0x5f3644['isReadOnly']),_0xd0afd1['bind']('isEnabled')['to'](_0x5f3644,'isReadOnly',this,'isEnabled',(_0x80749b,_0x3b884a)=>!_0x80749b&&_0x3b884a);}}],'onHide':()=>{this['_enableCommands'](),_0x355a07['off']('hide',_0x5a4371),_0x3fde64['destroy']();},'onShow':()=>{_0x3fde64['bind']('isReadOnly')['to'](_0x5f3644,'isReadOnly',this,'isEnabled',(_0x282d14,_0x33143b)=>_0x282d14||!_0x33143b),_0x3fde64['setData'](_0xbde0be),_0x3fde64['focus'](),_0x355a07['on']('hide',_0x5a4371,{'priority':'highest'}),this['_disableCommands']();}});}}class a extends _0x10c2f9{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x26ed46];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19478f=this['editor'],_0x4e13c4=_0x19478f['locale'],_0x50a3db=new d(_0x19478f);_0x19478f['commands']['add']('editSource',_0x50a3db),_0x19478f['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2f9a60=this['_createButton'](_0x2ec3e9,_0x50a3db);return _0x2f9a60['set']({'label':w(_0x4e13c4,'Source'),'icon':_0x186b46,'tooltip':w(_0x4e13c4,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2f9a60;}),_0x19478f['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x34dc18=this['_createButton'](_0x585866,_0x50a3db,!0x0);return _0x34dc18['set']({'label':w(_0x4e13c4,'Edit\x20source\x20modal\x20label'),'icon':_0x186b46,'role':'menuitemcheckbox'}),_0x34dc18;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x2af671){const _0x4a5920=_0x2541db([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x4858c5=0x5dba9314,_0xca72=0x5dbd171c^_0x4858c5,_0x2e7a53=window[_0x2541db([0x44,0x61,0x74,0x65])][_0x2541db([0x6e,0x6f,0x77])](),_0x37725f=_0x2af671[_0x2541db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1508c7=new window[(_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0fd8=>{_0x37725f[_0x2541db([0x6f,0x6e,0x63,0x65])](_0x2541db([0x72,0x65,0x61,0x64,0x79]),_0x4b0fd8);}),_0x22999b={[_0x2541db([0x6b,0x74,0x79])]:_0x2541db([0x45,0x43]),[_0x2541db([0x75,0x73,0x65])]:_0x2541db([0x73,0x69,0x67]),[_0x2541db([0x63,0x72,0x76])]:_0x2541db([0x50,0x2d,0x32,0x35,0x36]),[_0x2541db([0x78])]:_0x2541db([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]),[_0x2541db([0x79])]:_0x2541db([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]),[_0x2541db([0x61,0x6c,0x67])]:_0x2541db([0x45,0x53,0x32,0x35,0x36])},_0x2b9d2d=_0x37725f[_0x2541db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2541db([0x67,0x65,0x74])](_0x2541db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4257fc(){let _0x2bbdec,_0xbc6e5=null,_0x1a80e9=null;try{if(_0x2b9d2d==_0x2541db([0x47,0x50,0x4c]))return _0x2541db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2bbdec=_0x33dc24(),!_0x2bbdec)return _0x2541db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2bbdec[_0x2541db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a80e9=_0x58a384(_0x2bbdec[_0x2541db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2bbdec[_0x2541db([0x6a,0x74,0x69])])),await _0x1ee84b()?_0x2c206c()?_0x1f0091()?_0x2541db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46daf7()?(_0x2bbdec[_0x2541db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2541db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbc6e5=_0x1458e6(_0x2541db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4dd644()):_0x2541db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2541db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2541db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2541db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f0091(){const _0xc05cc7=[_0x2541db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2541db([0x74,0x72,0x69,0x61,0x6c])][_0x2541db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bbdec[_0x2541db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e7a53/0x3e8:0xe10*_0xca72;return _0x2bbdec[_0x2541db([0x65,0x78,0x70])]<_0xc05cc7;}function _0x2c206c(){const _0x394e03=_0x2bbdec[_0x2541db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x394e03&&(!!_0x394e03[_0x2541db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2541db([0x2a]))||!!_0x394e03[_0x2541db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2541db([0x53,0x45,0x45])));}function _0x46daf7(){const _0x3216ce=_0x2bbdec[_0x2541db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3216ce||0x0==_0x3216ce[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8ecda0}=new URL(window[_0x2541db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3216ce[_0x2541db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8ecda0))return!0x0;const _0x3e7e91=_0x8ecda0[_0x2541db([0x73,0x70,0x6c,0x69,0x74])](_0x2541db([0x2e]));return _0x3216ce[_0x2541db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c44d8=>_0x4c44d8[_0x2541db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2541db([0x2a])))[_0x2541db([0x6d,0x61,0x70])](_0x1aa1ab=>_0x1aa1ab[_0x2541db([0x73,0x70,0x6c,0x69,0x74])](_0x2541db([0x2e])))[_0x2541db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22b56d=>_0x22b56d[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e7e91[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2541db([0x6d,0x61,0x70])](_0x4df57d=>Array(_0x3e7e91[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4df57d[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2541db([0x66,0x69,0x6c,0x6c])](_0x4df57d[0x0]===_0x2541db([0x2a])?_0x2541db([0x2a]):'')[_0x2541db([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4df57d))[_0x2541db([0x73,0x6f,0x6d,0x65])](_0x3561cc=>_0x3e7e91[_0x2541db([0x65,0x76,0x65,0x72,0x79])]((_0x36547b,_0x94e2ab)=>_0x3561cc[_0x94e2ab]===_0x36547b||_0x3561cc[_0x94e2ab]===_0x2541db([0x2a])));}function _0x4dd644(){return _0xbc6e5&&_0x1a80e9?new window[(_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43c524,_0x22bf89)=>{_0xbc6e5[_0x2541db([0x74,0x68,0x65,0x6e])](_0x43c524,_0x22bf89),_0x1a80e9[_0x2541db([0x74,0x68,0x65,0x6e])](_0x1b5bab=>{_0x1b5bab!=_0x2541db([0x56,0x61,0x6c,0x69,0x64])&&_0x43c524(_0x1b5bab);},_0x22bf89);}):_0xbc6e5||_0x1a80e9||_0x2541db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58a384(_0x2d75c4,_0x1e9221){return new window[(_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b12ca=>{if(_0x152c33())return _0x4b12ca(_0x2541db([0x56,0x61,0x6c,0x69,0x64]));_0x1ba3f0(),_0x37725f[_0x2541db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2541db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x219eef=!0x1;const _0x30dcd6=_0xf5422();function _0x105850(_0x548b00){return!!_0x548b00&&(typeof _0x548b00===_0x2541db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x548b00===_0x2541db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x548b00[_0x2541db([0x74,0x68,0x65,0x6e])]===_0x2541db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x548b00[_0x2541db([0x63,0x61,0x74,0x63,0x68])]===_0x2541db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x900f10(_0x166624){_0x3a3cf8(_0x166624)[_0x2541db([0x74,0x68,0x65,0x6e])](_0x2c15cb=>{if(!_0x2c15cb||_0x2c15cb[_0x2541db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2541db([0x6f,0x6b]))return _0x2541db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39e082(_0x50fba4(_0x30dcd6+_0x1e9221))!=_0x2c15cb[_0x2541db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2541db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2541db([0x56,0x61,0x6c,0x69,0x64]);})[_0x2541db([0x74,0x68,0x65,0x6e])](_0x1fac9b=>(_0x23b241(),_0x1fac9b),()=>{const _0x395e5c=_0x42f6a0();return null==_0x395e5c?(_0x23b241(),_0x2541db([0x56,0x61,0x6c,0x69,0x64])):_0x2541db(_0x2e7a53-_0x395e5c>(0x79b61714^_0x4858c5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2541db([0x74,0x68,0x65,0x6e])](_0x4b12ca)[_0x2541db([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b12ca(_0x2541db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c5847=0x5d8c7d94^_0x4858c5;function _0x23b241(){const _0x68e0ad=_0x2541db([0x6c,0x6c,0x63,0x74,0x2d])+_0x39e082(_0x50fba4(_0x2d75c4)),_0x2eabfe=_0x39ef4d(_0x39e082(window[_0x2541db([0x4d,0x61,0x74,0x68])][_0x2541db([0x63,0x65,0x69,0x6c])](_0x2e7a53/_0x3c5847)));window[_0x2541db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2541db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x68e0ad,_0x2eabfe);}function _0x42f6a0(){const _0x156749=_0x2541db([0x6c,0x6c,0x63,0x74,0x2d])+_0x39e082(_0x50fba4(_0x2d75c4)),_0xf9989f=window[_0x2541db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2541db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x156749);return _0xf9989f?window[_0x2541db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ef4d(_0xf9989f),0x10)*_0x3c5847:null;}function _0x3a3cf8(_0x1cbf47){return new window[(_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2287e9,_0x6fc9d)=>{_0x1cbf47[_0x2541db([0x74,0x68,0x65,0x6e])](_0x2287e9,_0x6fc9d),window[_0x2541db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6fc9d,0x5dbb47d4^_0x4858c5);});}}_0x37725f[_0x2541db([0x6f,0x6e])](_0x2541db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59051d,_0x34a267)=>{if(_0x34a267[0x0]!=_0x2d75c4)return _0x4b12ca(_0x2541db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34a267[0x1]={..._0x34a267[0x1],[_0x2541db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30dcd6};},{[_0x2541db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2541db([0x68,0x69,0x67,0x68])}),_0x37725f[_0x2541db([0x6f,0x6e])](_0x2541db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3dc43a=>{_0x105850(_0x3dc43a[_0x2541db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x219eef=!0x0,_0x900f10(_0x3dc43a[_0x2541db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2541db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2541db([0x6c,0x6f,0x77])}),_0x1508c7[_0x2541db([0x74,0x68,0x65,0x6e])](()=>{_0x219eef||_0x4b12ca(_0x2541db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x152c33(){return _0x37725f[_0x2541db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2541db([0x76,0x69,0x65,0x77])][_0x2541db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2541db([0x61,0x75,0x74,0x6f]);}function _0x1ba3f0(){_0x37725f[_0x2541db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2541db([0x76,0x69,0x65,0x77])][_0x2541db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2541db([0x61,0x75,0x74,0x6f]);}}function _0x1458e6(_0x2f2e80){const _0x2152a7=[new window[(_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353bf7=>setTimeout(_0x353bf7,0x5db3add8^_0x4858c5)),_0x1508c7[_0x2541db([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f9267=>{let _0x79e7e=0x0;_0x37725f[_0x2541db([0x6d,0x6f,0x64,0x65,0x6c])][_0x2541db([0x6f,0x6e])](_0x2541db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bf93e,_0x450dc4)=>{_0x450dc4[0x0][_0x2541db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x79e7e++,_0x79e7e==(0x5dba96fc^_0x4858c5)&&(_0x4f9267(),_0x5bf93e[_0x2541db([0x6f,0x66,0x66])]());});}))];return window[_0x2541db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2541db([0x72,0x61,0x63,0x65])](_0x2152a7)[_0x2541db([0x74,0x68,0x65,0x6e])](()=>_0x2f2e80);}async function _0x143644(){await _0x1508c7,_0x37725f[_0x2541db([0x6d,0x6f,0x64,0x65,0x6c])][_0x2541db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9b8043,_0x37725f[_0x2541db([0x6d,0x6f,0x64,0x65,0x6c])][_0x2541db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9b8043,_0x37725f[_0x2541db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2541db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43997e(_0x44a5c9){const _0x3fa22d=_0x250609();_0x37725f[_0x3fa22d]=_0x2541db([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])+_0x44a5c9,_0x44a5c9!=_0x2541db([0x56,0x61,0x6c,0x69,0x64])&&_0x143644();}function _0x250609(){const _0x2f411d=window[_0x2541db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2541db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2541db([0x6e,0x6f,0x77])]())[_0x2541db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2541db([0x2e]),'');let _0xbd7ce5=_0x2541db([0x4e]);for(let _0x17a9e2=0x0;_0x17a9e2<_0x2f411d[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17a9e2+=0x2){let _0x5d6565=window[_0x2541db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f411d[_0x2541db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17a9e2,_0x17a9e2+0x2));_0x5d6565>=_0x4a5920[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d6565-=_0x4a5920[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbd7ce5+=_0x4a5920[_0x5d6565];}return _0xbd7ce5;}function _0x33dc24(){const _0x357f12=_0x2b9d2d[_0x2541db([0x73,0x70,0x6c,0x69,0x74])](_0x2541db([0x2e]));if(0x3!=_0x357f12[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x416aec(_0x357f12[0x1]);function _0x416aec(_0x21bc77){const _0x36e776=_0x89cad4(_0x21bc77);return _0x36e776&&_0x2ce959()?_0x36e776:null;function _0x2ce959(){const _0x4ff7a1=_0x36e776[_0x2541db([0x6a,0x74,0x69])],_0x1e94df=window[_0x2541db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ff7a1[_0x2541db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ff7a1[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13d4c1={..._0x36e776,[_0x2541db([0x6a,0x74,0x69])]:_0x4ff7a1[_0x2541db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ff7a1[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13d4c1[_0x2541db([0x76,0x63])],_0x50fba4(_0x13d4c1)==_0x1e94df;}}}async function _0x1ee84b(){let _0x231b4b=!0x0;try{const _0x5bd601=_0x2b9d2d[_0x2541db([0x73,0x70,0x6c,0x69,0x74])](_0x2541db([0x2e])),[_0x17b039,_0x28cce7,_0x4300d6]=_0x5bd601;return _0x230410(_0x17b039),await _0x2b93cd(_0x17b039,_0x28cce7,_0x4300d6),_0x231b4b;}catch{return!0x1;}function _0x230410(_0x3f06c3){const _0x1a5182=_0x89cad4(_0x3f06c3);_0x1a5182&&_0x1a5182[_0x2541db([0x61,0x6c,0x67])]==_0x2541db([0x45,0x53,0x32,0x35,0x36])||(_0x231b4b=!0x1);}async function _0x2b93cd(_0x48f1be,_0x265a14,_0xebe2){const _0xb8ec90=window[_0x2541db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2541db([0x66,0x72,0x6f,0x6d])](_0x44c50a(_0xebe2),_0x449ff4=>_0x449ff4[_0x2541db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x334c5b=new window[(_0x2541db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2541db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48f1be+_0x2541db([0x2e])+_0x265a14),_0x52bfa7=window[_0x2541db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2541db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52bfa7)return;const _0x3fb5f3=await _0x52bfa7[_0x2541db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2541db([0x6a,0x77,0x6b]),_0x22999b,{[_0x2541db([0x6e,0x61,0x6d,0x65])]:_0x2541db([0x45,0x43,0x44,0x53,0x41]),[_0x2541db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2541db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2541db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52bfa7[_0x2541db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2541db([0x6e,0x61,0x6d,0x65])]:_0x2541db([0x45,0x43,0x44,0x53,0x41]),[_0x2541db([0x68,0x61,0x73,0x68])]:{[_0x2541db([0x6e,0x61,0x6d,0x65])]:_0x2541db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3fb5f3,_0xb8ec90,_0x334c5b)||(_0x231b4b=!0x1);}}function _0x89cad4(_0x211fa8){return _0x211fa8[_0x2541db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2541db([0x65,0x79]))?JSON[_0x2541db([0x70,0x61,0x72,0x73,0x65])](_0x44c50a(_0x211fa8)):null;}function _0x44c50a(_0x4e2933){return window[_0x2541db([0x61,0x74,0x6f,0x62])](_0x4e2933[_0x2541db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2541db([0x2b]))[_0x2541db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2541db([0x2f])));}function _0x50fba4(_0x2c6d19){let _0x8ea5a4=0x1505;function _0x2d24f3(_0x19fc35){for(let _0x53225c=0x0;_0x53225c<_0x19fc35[_0x2541db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53225c++){const _0x536cae=_0x19fc35[_0x2541db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53225c);_0x8ea5a4=(_0x8ea5a4<<0x5)+_0x8ea5a4+_0x536cae,_0x8ea5a4&=_0x8ea5a4;}}function _0xf9cbb9(_0x226f1a){Array[_0x2541db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x226f1a)?_0x226f1a[_0x2541db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf9cbb9):_0x226f1a&&typeof _0x226f1a==_0x2541db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2541db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x226f1a)[_0x2541db([0x73,0x6f,0x72,0x74])]()[_0x2541db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3051fb,_0x3a44d6])=>{_0x2d24f3(_0x3051fb),_0xf9cbb9(_0x3a44d6);}):_0x2d24f3(window[_0x2541db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x226f1a));}return _0xf9cbb9(_0x2c6d19),_0x8ea5a4>>>0x0;}function _0x39e082(_0x3d6886){return _0x3d6886[_0x2541db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2541db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2541db([0x30]));}function _0x39ef4d(_0x433e89){return _0x433e89[_0x2541db([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2541db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2541db([0x6a,0x6f,0x69,0x6e])]('');}function _0x9b8043(){}function _0x2541db(_0x32d68f){return _0x32d68f['map'](_0x3156c9=>String['fromCharCode'](_0x3156c9))['join']('');}_0x43997e(await _0x4257fc());}(this);}['_createButton'](_0x436b1f,_0x522903,_0x36670e=!0x1){const _0x50ce92=new _0x436b1f(this['editor']['locale']);return _0x50ce92['set']({'withText':_0x36670e,'isToggleable':!0x1}),_0x50ce92['bind']('isEnabled')['to'](_0x522903,'isEnabled'),this['listenTo'](_0x50ce92,'execute',()=>_0x522903['execute']()),_0x50ce92;}['_registerKeybindings'](){const _0x18ca2a=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':w(_0x18ca2a,'Source\x20Editing\x20Enhanced')});const _0x25a508=_0x52004a['isMac']||_0x52004a['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':w(_0x18ca2a,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':w(_0x18ca2a,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':w(_0x18ca2a,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':w(_0x18ca2a,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':w(_0x18ca2a,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':w(_0x18ca2a,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':w(_0x18ca2a,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x25a508?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':w(_0x18ca2a,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':w(_0x18ca2a,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':w(_0x18ca2a,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':w(_0x18ca2a,'Select\x20line'),'keystroke':_0x25a508?'Ctrl!+L':'Alt+L'},{'label':w(_0x18ca2a,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x25a508?'Alt+Shift+M':'Ctrl+M'},{'label':w(_0x18ca2a,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':w(_0x18ca2a,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':w(_0x18ca2a,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':w(_0x18ca2a,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':w(_0x18ca2a,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x25a508?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class c extends _0xa1ae9b{constructor(_0x4e4014){super(_0x4e4014),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x53e982,_0x39f301){const _0x145591=this['editor'],_0x4afe9e=_0x39f301?.['rootName']??r(_0x145591);_0x145591['data']['set']({[_0x4afe9e]:_0x53e982},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class ee extends _0x10c2f9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a];}constructor(_0x2f2cb0){super(_0x2f2cb0),_0x2f2cb0['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new c(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x455ecd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34f66d;for(const _0xcbe4ce in _0x455ecd){const _0x36b250=_0xcbe4ce,_0x531743=_0x455ecd[_0x36b250];if('sourceEditingEnhancedLicenseKeyValid'==_0x531743||'sourceEditingEnhancedLicenseKeyInvalid'==_0x531743||'sourceEditingEnhancedLicenseKeyExpired'==_0x531743||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x531743||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x531743||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x531743||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x531743){delete _0x455ecd[_0x36b250],_0x34f66d=_0x531743,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x34f66d&&_0x455ecd['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x34f66d&&_0x455ecd['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x34f66d&&_0x455ecd['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x34f66d&&_0x455ecd['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x34f66d&&_0x455ecd['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x34f66d&&_0x455ecd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x2321c2=this['editor'],_0x308d87=_0x2321c2['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x308d87&&_0x2321c2['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2168da('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x308d87&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0xa8a0a0=>_0x2321c2['plugins']['has'](_0xa8a0a0))&&console['warn']('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.'),_0x2321c2['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('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.');}}export{d as EditSourceCommand,c as ReplaceSourceCommand,ee as SourceEditingEnhanced};
|
|
23
|
+
import{Command as _0x49de58,PendingActions as _0x5e923f,Plugin as _0x213d30}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x2ef5d1,formatHtml as _0x585951,env as _0x25c6b7,uid as _0x15c968}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconSource as _0x24324d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x8ef35,ButtonView as _0x2e7ee0,MenuBarMenuListItemButtonView as _0x54143f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{EditorView as _0x1d198d,crosshairCursor as _0x301449,drawSelection as _0x23b7de,dropCursor as _0xdd73cc,lineNumbers as _0x51336d,highlightActiveLine as _0x27c7c6,highlightActiveLineGutter as _0x4c0d13,highlightSpecialChars as _0x16b745,rectangularSelection as _0x5b2267,keymap as _0x3740cb}from'@codemirror/view';import{Compartment as _0x294625,Transaction as _0xa9d315}from'@codemirror/state';import{bracketMatching as _0x12008f,foldGutter as _0x39d23a,indentOnInput as _0x43b68b,syntaxHighlighting as _0xb3e9a3,defaultHighlightStyle as _0x2b5712,foldKeymap as _0x350767}from'@codemirror/language';import{toggleTabFocusMode as _0x4c6d31,history as _0x31f2a7,defaultKeymap as _0x37746c,historyKeymap as _0x3f254f,indentLess as _0x36436d,indentMore as _0x1e36b1,redo as _0x22de6f,undo as _0x1ddecf}from'@codemirror/commands';import{autocompletion as _0x483f54,closeBrackets as _0x36bc9f,closeBracketsKeymap as _0x2beaac,completionKeymap as _0x47163d}from'@codemirror/autocomplete';import{html as _0x8457d4}from'@codemirror/lang-html';import{markdown as _0x4f69c1}from'@codemirror/lang-markdown';import{oneDark as _0x334a73}from'@codemirror/theme-one-dark';function H(_0x2d4227,_0x3fb297){const t=_0x2d4227['t'];switch(_0x3fb297){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x3fb297;}}function V(_0x1ffac4){const _0x23021=_0x1ffac4['editing']['view']['document']['roots'],_0x43f83c=_0x23021['length'];if(0x0===_0x43f83c)throw new _0x2ef5d1('source-editing-enhanced-editor-no-root',_0x1ffac4);if(0x1===_0x43f83c)return _0x23021['first']['rootName'];return Array['from'](_0x1ffac4['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function Z(_0x345839){return J(_0x345839['replace'](/^[\n\s]*/g,''))?_0x345839['replace'](/\s+/g,''):_0x345839;}function J(_0x3f7a78){return _0x3f7a78['startsWith']('<');}function G(_0x1148e4){const _0x2dcf89=[_0x1d198d['lineWrapping'],_0x483f54(),_0x12008f(),_0x36bc9f(),_0x301449(),_0x23b7de(),_0xdd73cc(),_0x51336d(),_0x39d23a(),_0x27c7c6(),_0x4c0d13(),_0x16b745(),_0x31f2a7(),_0x43b68b(),_0x5b2267(),_0xb3e9a3(_0x2b5712,{'fallback':!0x0})],_0x7484a8=new _0x294625();_0x2dcf89['push'](_0x7484a8['of'](_0x1d198d['editable']['of'](!0x0))),'html'===_0x1148e4['syntaxLanguage']?_0x2dcf89['push'](_0x8457d4()):_0x2dcf89['push'](_0x4f69c1());const _0x3dc45a=function(_0x29342b){if(_0x29342b&&'default'!==_0x29342b)return'dark'===_0x29342b?_0x334a73:_0x29342b;return null;}(_0x1148e4['theme']);_0x3dc45a&&_0x2dcf89['push'](_0x3dc45a),_0x2dcf89['push'](_0x3740cb['of']([..._0x2beaac,..._0x37746c,..._0x3f254f,..._0x350767,..._0x47163d,{'key':'Tab','run':_0x1e36b1,'shift':_0x36436d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x22de6f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x22de6f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1ddecf,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x1da58d=new _0x1d198d({'extensions':_0x2dcf89,'parent':_0x1148e4['parent']});return _0x4c6d31(_0x1da58d),{'focus':()=>{_0x1da58d['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x1da58d['focus']();},'getData':()=>_0x1da58d['state']['doc']['toString'](),'setData':_0x5199c9=>{_0x1da58d['dispatch']({'changes':{'from':0x0,'to':_0x1da58d['state']['doc']['length'],'insert':_0x5199c9},'annotations':_0xa9d315['addToHistory']['of'](!0x1)});},'setReadOnly':_0x57d331=>{_0x1da58d['dispatch']({'effects':[_0x7484a8['reconfigure'](_0x1d198d['editable']['of'](!_0x57d331))]});},'destroy':()=>{_0x1da58d['destroy']();},'instance':_0x1da58d};}class Q extends _0x8ef35{['_codeEditorApi']=null;['_options'];constructor(_0x187ea6,_0x9c25a4){super(_0x187ea6),this['_options']=_0x9c25a4,this['set']('isReadOnly',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-code-editor'],'tabindex':-0x1}});}['render'](){super['render'](),this['_codeEditorApi']=G({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x1bd596,_0x1b5688,_0x4858e8)=>{this['setReadOnly'](_0x4858e8);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x1af5a8){this['_codeEditorApi']['setData'](_0x1af5a8);}['setReadOnly'](_0x2e70da){this['_codeEditorApi']['setReadOnly'](_0x2e70da);}}const W='SourceEditingEnhancedMode';class X extends _0x49de58{constructor(_0x394b71){super(_0x394b71),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5e923f)['on']('change:hasAny',(_0x4760d8,_0x41214f,_0x4ad3b9)=>{_0x4ad3b9?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0xbd91df=this['editor'];for(const _0x4325fd of _0xbd91df['commands']['names']())['replaceSource','editSource']['includes'](_0x4325fd)||_0xbd91df['commands']['get'](_0x4325fd)['forceDisabled'](W);}['_enableCommands'](){const _0x55c993=this['editor'];for(const _0x189b11 of _0x55c993['commands']['commands']())_0x189b11['clearForceDisabled'](W);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x521d77=this['editor'],_0x1c4114=_0x521d77['locale'],_0x440e06=_0x521d77['plugins']['get']('Dialog'),_0x568e39=V(_0x521d77),_0x3eab68=_0x521d77['data']['get']({'rootName':_0x568e39}),_0x26834b=J(_0x49d249=_0x3eab68)?_0x585951(_0x49d249):_0x49d249;var _0x49d249;const _0x393f4c=new Q(_0x1c4114,{'syntaxLanguage':_0x521d77['plugins']['has']('Markdown')?'markdown':'html','theme':_0x521d77['config']['get']('sourceEditingEnhanced.theme')});let _0x350574=!0x0;const _0x5286bc=_0x42867e=>{if(!_0x350574)return;return Z(_0x393f4c['getData']())!==Z(_0x26834b)?window['confirm'](H(_0x1c4114,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x42867e['stop']():void 0x0;};_0x440e06['show']({'id':'sourceEditingEnhanced','title':H(_0x1c4114,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x393f4c,'actionButtons':[{'label':H(_0x1c4114,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x440e06['hide']();}},{'label':H(_0x1c4114,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x4506c4=Z(_0x393f4c['getData']())!==Z(_0x26834b);(_0x4506c4&&_0x521d77['execute']('replaceSource',_0x393f4c['getData']()),_0x350574=!0x1,_0x440e06['hide'](),_0x4506c4&&'editables'in _0x521d77['ui']['view'])&&_0x521d77['ui']['view']['editables'][_0x568e39]['element']['focus']();},'onCreate':_0x2d25e8=>{_0x2d25e8['set']('isEnabled',!_0x521d77['isReadOnly']),_0x2d25e8['bind']('isEnabled')['to'](_0x521d77,'isReadOnly',this,'isEnabled',(_0x492d7f,_0x240525)=>!_0x492d7f&&_0x240525);}}],'onHide':()=>{this['_enableCommands'](),_0x440e06['off']('hide',_0x5286bc),_0x393f4c['destroy']();},'onShow':()=>{_0x393f4c['bind']('isReadOnly')['to'](_0x521d77,'isReadOnly',this,'isEnabled',(_0x32d88a,_0x55e494)=>_0x32d88a||!_0x55e494),_0x393f4c['setData'](_0x26834b),_0x393f4c['focus'](),_0x440e06['on']('hide',_0x5286bc,{'priority':'highest'}),this['_disableCommands']();}});}}class $ extends _0x213d30{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5e923f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1e5fbc=this['editor'],_0x9dbaa0=_0x1e5fbc['locale'],_0x5f392f=new X(_0x1e5fbc);_0x1e5fbc['commands']['add']('editSource',_0x5f392f),_0x1e5fbc['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x5c8475=this['_createButton'](_0x2e7ee0,_0x5f392f);return _0x5c8475['set']({'label':H(_0x9dbaa0,'Source'),'icon':_0x24324d,'tooltip':H(_0x9dbaa0,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x5c8475;}),_0x1e5fbc['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x705aa1=this['_createButton'](_0x54143f,_0x5f392f,!0x0);return _0x705aa1['set']({'label':H(_0x9dbaa0,'Edit\x20source\x20modal\x20label'),'icon':_0x24324d,'role':'menuitemcheckbox'}),_0x705aa1;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x59ddc8){const _0x5d6c68=_0x21f7b1([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x19caa=0x5dba9314,_0x49f0d0=0x5dbd17dc^_0x19caa,_0x494237=window[_0x21f7b1([0x44,0x61,0x74,0x65])][_0x21f7b1([0x6e,0x6f,0x77])](),_0x12a208=_0x59ddc8[_0x21f7b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x312e94=new window[(_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4edfd9=>{_0x12a208[_0x21f7b1([0x6f,0x6e,0x63,0x65])](_0x21f7b1([0x72,0x65,0x61,0x64,0x79]),_0x4edfd9);}),_0x4a131f={[_0x21f7b1([0x6b,0x74,0x79])]:_0x21f7b1([0x45,0x43]),[_0x21f7b1([0x75,0x73,0x65])]:_0x21f7b1([0x73,0x69,0x67]),[_0x21f7b1([0x63,0x72,0x76])]:_0x21f7b1([0x50,0x2d,0x32,0x35,0x36]),[_0x21f7b1([0x78])]:_0x21f7b1([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]),[_0x21f7b1([0x79])]:_0x21f7b1([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]),[_0x21f7b1([0x61,0x6c,0x67])]:_0x21f7b1([0x45,0x53,0x32,0x35,0x36])},_0x27f355=_0x12a208[_0x21f7b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21f7b1([0x67,0x65,0x74])](_0x21f7b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5aa714(){let _0x565f56,_0x2e82bf=null,_0x2b4777=null;try{if(_0x27f355==_0x21f7b1([0x47,0x50,0x4c]))return _0x21f7b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x565f56=_0x4bb3cb(),!_0x565f56)return _0x21f7b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x565f56[_0x21f7b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b4777=_0xe2fdf3(_0x565f56[_0x21f7b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x565f56[_0x21f7b1([0x6a,0x74,0x69])])),await _0x45e77d()?_0x51b809()?_0x58d89f()?_0x21f7b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x45034d()?(_0x565f56[_0x21f7b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21f7b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e82bf=_0x448a04(_0x21f7b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55766d()):_0x21f7b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21f7b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21f7b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21f7b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58d89f(){const _0x5f3bb2=[_0x21f7b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21f7b1([0x74,0x72,0x69,0x61,0x6c])][_0x21f7b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565f56[_0x21f7b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x494237/0x3e8:0xe10*_0x49f0d0;return _0x565f56[_0x21f7b1([0x65,0x78,0x70])]<_0x5f3bb2;}function _0x51b809(){const _0x4f18d9=_0x565f56[_0x21f7b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f18d9&&(!!_0x4f18d9[_0x21f7b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f7b1([0x2a]))||!!_0x4f18d9[_0x21f7b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f7b1([0x53,0x45,0x45])));}function _0x45034d(){const _0x5de955=_0x565f56[_0x21f7b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5de955||0x0==_0x5de955[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53fb86}=new URL(window[_0x21f7b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5de955[_0x21f7b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53fb86))return!0x0;const _0x3e5865=_0x53fb86[_0x21f7b1([0x73,0x70,0x6c,0x69,0x74])](_0x21f7b1([0x2e]));return _0x5de955[_0x21f7b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48daee=>_0x48daee[_0x21f7b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f7b1([0x2a])))[_0x21f7b1([0x6d,0x61,0x70])](_0x4eb2b5=>_0x4eb2b5[_0x21f7b1([0x73,0x70,0x6c,0x69,0x74])](_0x21f7b1([0x2e])))[_0x21f7b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29d061=>_0x29d061[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e5865[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21f7b1([0x6d,0x61,0x70])](_0x5ad085=>Array(_0x3e5865[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ad085[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21f7b1([0x66,0x69,0x6c,0x6c])](_0x5ad085[0x0]===_0x21f7b1([0x2a])?_0x21f7b1([0x2a]):'')[_0x21f7b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ad085))[_0x21f7b1([0x73,0x6f,0x6d,0x65])](_0x14a371=>_0x3e5865[_0x21f7b1([0x65,0x76,0x65,0x72,0x79])]((_0x35699a,_0x334e59)=>_0x14a371[_0x334e59]===_0x35699a||_0x14a371[_0x334e59]===_0x21f7b1([0x2a])));}function _0x55766d(){return _0x2e82bf&&_0x2b4777?new window[(_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36b5d1,_0x3b9da5)=>{_0x2e82bf[_0x21f7b1([0x74,0x68,0x65,0x6e])](_0x36b5d1,_0x3b9da5),_0x2b4777[_0x21f7b1([0x74,0x68,0x65,0x6e])](_0x585437=>{_0x585437!=_0x21f7b1([0x56,0x61,0x6c,0x69,0x64])&&_0x36b5d1(_0x585437);},_0x3b9da5);}):_0x2e82bf||_0x2b4777||_0x21f7b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe2fdf3(_0x87b5eb,_0x4c8455){return new window[(_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388bb6=>{if(_0x5b2097())return _0x388bb6(_0x21f7b1([0x56,0x61,0x6c,0x69,0x64]));_0x1a8e76(),_0x12a208[_0x21f7b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21f7b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x556ee4=!0x1;const _0x18a15c=_0x15c968();function _0x57304f(_0x2a0564){return!!_0x2a0564&&(typeof _0x2a0564===_0x21f7b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a0564===_0x21f7b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a0564[_0x21f7b1([0x74,0x68,0x65,0x6e])]===_0x21f7b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a0564[_0x21f7b1([0x63,0x61,0x74,0x63,0x68])]===_0x21f7b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f2908(_0x30d9bf){_0x1afedb(_0x30d9bf)[_0x21f7b1([0x74,0x68,0x65,0x6e])](_0x33b04e=>{if(!_0x33b04e||_0x33b04e[_0x21f7b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21f7b1([0x6f,0x6b]))return _0x21f7b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23c771(_0x8e9c3f(_0x18a15c+_0x4c8455))!=_0x33b04e[_0x21f7b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21f7b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21f7b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x21f7b1([0x74,0x68,0x65,0x6e])](_0x460621=>(_0x593eb0(),_0x460621),()=>{const _0x97763f=_0x286f5d();return null==_0x97763f?(_0x593eb0(),_0x21f7b1([0x56,0x61,0x6c,0x69,0x64])):_0x21f7b1(_0x494237-_0x97763f>(0x79b61714^_0x19caa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21f7b1([0x74,0x68,0x65,0x6e])](_0x388bb6)[_0x21f7b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x388bb6(_0x21f7b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2fd12d=0x5d8c7d94^_0x19caa;function _0x593eb0(){const _0x4c84fc=_0x21f7b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x23c771(_0x8e9c3f(_0x87b5eb)),_0x4faa0a=_0x2e42c6(_0x23c771(window[_0x21f7b1([0x4d,0x61,0x74,0x68])][_0x21f7b1([0x63,0x65,0x69,0x6c])](_0x494237/_0x2fd12d)));window[_0x21f7b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21f7b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c84fc,_0x4faa0a);}function _0x286f5d(){const _0x2418ec=_0x21f7b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x23c771(_0x8e9c3f(_0x87b5eb)),_0x2c44b5=window[_0x21f7b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21f7b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2418ec);return _0x2c44b5?window[_0x21f7b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e42c6(_0x2c44b5),0x10)*_0x2fd12d:null;}function _0x1afedb(_0x320df9){return new window[(_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c1d0b,_0x268217)=>{_0x320df9[_0x21f7b1([0x74,0x68,0x65,0x6e])](_0x3c1d0b,_0x268217),window[_0x21f7b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x268217,0x5dbb47d4^_0x19caa);});}}_0x12a208[_0x21f7b1([0x6f,0x6e])](_0x21f7b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32cc2f,_0x2b4921)=>{if(_0x2b4921[0x0]!=_0x87b5eb)return _0x388bb6(_0x21f7b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b4921[0x1]={..._0x2b4921[0x1],[_0x21f7b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18a15c};},{[_0x21f7b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21f7b1([0x68,0x69,0x67,0x68])}),_0x12a208[_0x21f7b1([0x6f,0x6e])](_0x21f7b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5cbe93=>{_0x57304f(_0x5cbe93[_0x21f7b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x556ee4=!0x0,_0x2f2908(_0x5cbe93[_0x21f7b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21f7b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21f7b1([0x6c,0x6f,0x77])}),_0x312e94[_0x21f7b1([0x74,0x68,0x65,0x6e])](()=>{_0x556ee4||_0x388bb6(_0x21f7b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b2097(){return _0x12a208[_0x21f7b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21f7b1([0x76,0x69,0x65,0x77])][_0x21f7b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21f7b1([0x61,0x75,0x74,0x6f]);}function _0x1a8e76(){_0x12a208[_0x21f7b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21f7b1([0x76,0x69,0x65,0x77])][_0x21f7b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21f7b1([0x61,0x75,0x74,0x6f]);}}function _0x448a04(_0x49c7e0){const _0x2e7e19=[new window[(_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3570ab=>setTimeout(_0x3570ab,0x5db3add8^_0x19caa)),_0x312e94[_0x21f7b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fdad0=>{let _0x123c9a=0x0;_0x12a208[_0x21f7b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x21f7b1([0x6f,0x6e])](_0x21f7b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x509925,_0x23d1c9)=>{_0x23d1c9[0x0][_0x21f7b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x123c9a++,_0x123c9a==(0x5dba96fc^_0x19caa)&&(_0x1fdad0(),_0x509925[_0x21f7b1([0x6f,0x66,0x66])]());});}))];return window[_0x21f7b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21f7b1([0x72,0x61,0x63,0x65])](_0x2e7e19)[_0x21f7b1([0x74,0x68,0x65,0x6e])](()=>_0x49c7e0);}async function _0x123d90(){await _0x312e94,_0x12a208[_0x21f7b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x21f7b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55366b,_0x12a208[_0x21f7b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x21f7b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55366b,_0x12a208[_0x21f7b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21f7b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b445b(_0x5eea85){const _0x42b00d=_0x91150c();_0x12a208[_0x42b00d]=_0x21f7b1([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])+_0x5eea85,_0x5eea85!=_0x21f7b1([0x56,0x61,0x6c,0x69,0x64])&&_0x123d90();}function _0x91150c(){const _0x3ed898=window[_0x21f7b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21f7b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21f7b1([0x6e,0x6f,0x77])]())[_0x21f7b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21f7b1([0x2e]),'');let _0x2f7d3d=_0x21f7b1([0x4e]);for(let _0xa0cdb3=0x0;_0xa0cdb3<_0x3ed898[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa0cdb3+=0x2){let _0x331c94=window[_0x21f7b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ed898[_0x21f7b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa0cdb3,_0xa0cdb3+0x2));_0x331c94>=_0x5d6c68[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x331c94-=_0x5d6c68[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f7d3d+=_0x5d6c68[_0x331c94];}return _0x2f7d3d;}function _0x4bb3cb(){const _0xd636e4=_0x27f355[_0x21f7b1([0x73,0x70,0x6c,0x69,0x74])](_0x21f7b1([0x2e]));if(0x3!=_0xd636e4[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x246936(_0xd636e4[0x1]);function _0x246936(_0x31d608){const _0x1ba503=_0x31516f(_0x31d608);return _0x1ba503&&_0x998f2f()?_0x1ba503:null;function _0x998f2f(){const _0xb1e4c4=_0x1ba503[_0x21f7b1([0x6a,0x74,0x69])],_0x5802b9=window[_0x21f7b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb1e4c4[_0x21f7b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb1e4c4[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x593ab0={..._0x1ba503,[_0x21f7b1([0x6a,0x74,0x69])]:_0xb1e4c4[_0x21f7b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb1e4c4[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x593ab0[_0x21f7b1([0x76,0x63])],_0x8e9c3f(_0x593ab0)==_0x5802b9;}}}async function _0x45e77d(){let _0x593370=!0x0;try{const _0x5d02a9=_0x27f355[_0x21f7b1([0x73,0x70,0x6c,0x69,0x74])](_0x21f7b1([0x2e])),[_0x25954d,_0x298840,_0x414e36]=_0x5d02a9;return _0x4a2713(_0x25954d),await _0x565881(_0x25954d,_0x298840,_0x414e36),_0x593370;}catch{return!0x1;}function _0x4a2713(_0x3716de){const _0x4fabaf=_0x31516f(_0x3716de);_0x4fabaf&&_0x4fabaf[_0x21f7b1([0x61,0x6c,0x67])]==_0x21f7b1([0x45,0x53,0x32,0x35,0x36])||(_0x593370=!0x1);}async function _0x565881(_0x3a9eb4,_0x447c90,_0xfa8493){const _0x3e6f0f=window[_0x21f7b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21f7b1([0x66,0x72,0x6f,0x6d])](_0x18ffdf(_0xfa8493),_0x3179e9=>_0x3179e9[_0x21f7b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23f5dc=new window[(_0x21f7b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21f7b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a9eb4+_0x21f7b1([0x2e])+_0x447c90),_0x1155e0=window[_0x21f7b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21f7b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1155e0)return;const _0x100c75=await _0x1155e0[_0x21f7b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21f7b1([0x6a,0x77,0x6b]),_0x4a131f,{[_0x21f7b1([0x6e,0x61,0x6d,0x65])]:_0x21f7b1([0x45,0x43,0x44,0x53,0x41]),[_0x21f7b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21f7b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21f7b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1155e0[_0x21f7b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21f7b1([0x6e,0x61,0x6d,0x65])]:_0x21f7b1([0x45,0x43,0x44,0x53,0x41]),[_0x21f7b1([0x68,0x61,0x73,0x68])]:{[_0x21f7b1([0x6e,0x61,0x6d,0x65])]:_0x21f7b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x100c75,_0x3e6f0f,_0x23f5dc)||(_0x593370=!0x1);}}function _0x31516f(_0x3abb0e){return _0x3abb0e[_0x21f7b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21f7b1([0x65,0x79]))?JSON[_0x21f7b1([0x70,0x61,0x72,0x73,0x65])](_0x18ffdf(_0x3abb0e)):null;}function _0x18ffdf(_0xfbf656){return window[_0x21f7b1([0x61,0x74,0x6f,0x62])](_0xfbf656[_0x21f7b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21f7b1([0x2b]))[_0x21f7b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21f7b1([0x2f])));}function _0x8e9c3f(_0x5ba391){let _0x158ddd=0x1505;function _0x54b8d2(_0x3124bd){for(let _0x2ff701=0x0;_0x2ff701<_0x3124bd[_0x21f7b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ff701++){const _0x5191ae=_0x3124bd[_0x21f7b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ff701);_0x158ddd=(_0x158ddd<<0x5)+_0x158ddd+_0x5191ae,_0x158ddd&=_0x158ddd;}}function _0x4d6bd8(_0x723bb3){Array[_0x21f7b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x723bb3)?_0x723bb3[_0x21f7b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d6bd8):_0x723bb3&&typeof _0x723bb3==_0x21f7b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21f7b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x723bb3)[_0x21f7b1([0x73,0x6f,0x72,0x74])]()[_0x21f7b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x118970,_0x5bede1])=>{_0x54b8d2(_0x118970),_0x4d6bd8(_0x5bede1);}):_0x54b8d2(window[_0x21f7b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x723bb3));}return _0x4d6bd8(_0x5ba391),_0x158ddd>>>0x0;}function _0x23c771(_0x296654){return _0x296654[_0x21f7b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21f7b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21f7b1([0x30]));}function _0x2e42c6(_0x5e6884){return _0x5e6884[_0x21f7b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21f7b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21f7b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x55366b(){}function _0x21f7b1(_0xbb3de1){return _0xbb3de1['map'](_0x2c61c3=>String['fromCharCode'](_0x2c61c3))['join']('');}_0x2b445b(await _0x5aa714());}(this);}['_createButton'](_0xbb817a,_0xd2f3f2,_0x3fd8a8=!0x1){const _0x4ccab3=new _0xbb817a(this['editor']['locale']);return _0x4ccab3['set']({'withText':_0x3fd8a8,'isToggleable':!0x1}),_0x4ccab3['bind']('isEnabled')['to'](_0xd2f3f2,'isEnabled'),this['listenTo'](_0x4ccab3,'execute',()=>_0xd2f3f2['execute']()),_0x4ccab3;}['_registerKeybindings'](){const _0x5591e6=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':H(_0x5591e6,'Source\x20Editing\x20Enhanced')});const _0x2583ac=_0x25c6b7['isMac']||_0x25c6b7['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':H(_0x5591e6,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':H(_0x5591e6,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':H(_0x5591e6,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':H(_0x5591e6,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':H(_0x5591e6,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':H(_0x5591e6,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':H(_0x5591e6,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x2583ac?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':H(_0x5591e6,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':H(_0x5591e6,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':H(_0x5591e6,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':H(_0x5591e6,'Select\x20line'),'keystroke':_0x2583ac?'Ctrl!+L':'Alt+L'},{'label':H(_0x5591e6,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x2583ac?'Alt+Shift+M':'Ctrl+M'},{'label':H(_0x5591e6,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':H(_0x5591e6,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':H(_0x5591e6,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':H(_0x5591e6,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':H(_0x5591e6,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x2583ac?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class ee extends _0x49de58{constructor(_0x221f5b){super(_0x221f5b),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x3d2b9d,_0x292746){const _0x52da90=this['editor'],_0x154c84=_0x292746?.['rootName']??V(_0x52da90);_0x52da90['data']['set']({[_0x154c84]:_0x3d2b9d},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class te extends _0x213d30{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[$];}constructor(_0x270f8f){super(_0x270f8f),_0x270f8f['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new ee(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2ff104=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ed9a9;for(const _0x2683a3 in _0x2ff104){const _0x4c56c4=_0x2683a3,_0x38d9d2=_0x2ff104[_0x4c56c4];if('sourceEditingEnhancedLicenseKeyValid'==_0x38d9d2||'sourceEditingEnhancedLicenseKeyInvalid'==_0x38d9d2||'sourceEditingEnhancedLicenseKeyExpired'==_0x38d9d2||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x38d9d2||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x38d9d2||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x38d9d2||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x38d9d2){delete _0x2ff104[_0x4c56c4],_0x1ed9a9=_0x38d9d2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1ed9a9&&_0x2ff104['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1ed9a9&&_0x2ff104['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1ed9a9&&_0x2ff104['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1ed9a9&&_0x2ff104['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1ed9a9&&_0x2ff104['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1ed9a9&&_0x2ff104['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x349a08=this['editor'],_0x7e7b48=_0x349a08['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x7e7b48&&_0x349a08['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x2ef5d1('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x7e7b48&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x9356cc=>_0x349a08['plugins']['has'](_0x9356cc))&&console['warn']('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.'),_0x349a08['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('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.');}}export{X as EditSourceCommand,ee as ReplaceSourceCommand,te as SourceEditingEnhanced};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module source-editing-enhanced/replacesourcecommand
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5
|
|
9
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
/**
|
|
11
11
|
* The command replaces editor active root content with the provided data.
|
|
12
12
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module source-editing-enhanced/sourceeditingenhanced
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { type Editor, Plugin } from 'ckeditor5
|
|
9
|
+
import { type Editor, Plugin } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import { SourceEditingEnhancedUI } from './sourceeditingenhancedui.js';
|
|
11
11
|
import '../theme/sourceeditingenhanced.css';
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module source-editing-enhanced/sourceeditingenhancedui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, PendingActions } from 'ckeditor5
|
|
8
|
+
import { Plugin, PendingActions } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import '../theme/sourceeditingenhanced.css';
|
|
10
10
|
/**
|
|
11
11
|
* The source editing enhanced UI feature.
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x1a8920=>0x1!=_0x1a8920}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26d3bf=>{const {af:{dictionary:_0x3ddbc7,getPluralForm:_0x10c3ba}}={'af':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x13e126=>0x1!=_0x13e126}};_0x26d3bf['af']||={'dictionary':{},'getPluralForm':null},_0x26d3bf['af']['dictionary']=Object['assign'](_0x26d3bf['af']['dictionary'],_0x3ddbc7),_0x26d3bf['af']['getPluralForm']=_0x10c3ba;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Edit\x20source\x20modal\x20label':'تحرير\x20المصدر','Source\x20Editing\x20Enhanced':'تم\x20تحسين\x20تحرير\x20المصدر','Copy\x20line\x20down':'نسخ\x20السطر\x20لأسفل','Copy\x20line\x20up':'نسخ\x20السطر\x20لأعلى','Delete\x20line':'حذف\x20السطر','Indent\x20less':'تقليل\x20المسافة\x20البادئة','Indent\x20more':'زيادة\x20المسافة\x20البادئة','Fold\x20all':'طي\x20الكل','Fold\x20code\x20(current\x20level)':'طي\x20الكود\x20(المستوى\x20الحالي)','Move\x20line\x20down':'تحريك\x20السطر\x20لأسفل','Move\x20line\x20up':'تحريك\x20السطر\x20لأعلى','Redo\x20(keystroke)':'إعادة','Select\x20line':'تحديد\x20السطر','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'التبديل\x20بين\x20وضعي\x20\x22التركيز\x20باستخدام\x20علامة\x20التبويب\x22\x20و\x22ضبط\x20المسافة\x20البادئة\x20باستخدام\x20علامة\x20التبويب\x22','Toggle\x20block\x20comment':'تبديل\x20تعليق\x20الكتلة','Toggle\x20comment':'تبديل\x20التعليق','Undo\x20(keystroke)':'التراجع','Unfold\x20all':'إظهار\x20الكل','Unfold\x20code\x20(current\x20level)':'إظهار\x20الكود\x20(المستوى\x20الحالي)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'هل\x20متأكد\x20من\x20أنك\x20تود\x20تجاهل\x20التغييرات\x20التي\x20أجريتها؟\x20لا\x20يمكن\x20التراجع\x20عن\x20هذا\x20الإجراء.'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Edit\x20source\x20modal\x20label':'تحرير\x20المصدر','Source\x20Editing\x20Enhanced':'تم\x20تحسين\x20تحرير\x20المصدر','Copy\x20line\x20down':'نسخ\x20السطر\x20لأسفل','Copy\x20line\x20up':'نسخ\x20السطر\x20لأعلى','Delete\x20line':'حذف\x20السطر','Indent\x20less':'تقليل\x20المسافة\x20البادئة','Indent\x20more':'زيادة\x20المسافة\x20البادئة','Fold\x20all':'طي\x20الكل','Fold\x20code\x20(current\x20level)':'طي\x20الكود\x20(المستوى\x20الحالي)','Move\x20line\x20down':'تحريك\x20السطر\x20لأسفل','Move\x20line\x20up':'تحريك\x20السطر\x20لأعلى','Redo\x20(keystroke)':'إعادة','Select\x20line':'تحديد\x20السطر','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'التبديل\x20بين\x20وضعي\x20\x22التركيز\x20باستخدام\x20علامة\x20التبويب\x22\x20و\x22ضبط\x20المسافة\x20البادئة\x20باستخدام\x20علامة\x20التبويب\x22','Toggle\x20block\x20comment':'تبديل\x20تعليق\x20الكتلة','Toggle\x20comment':'تبديل\x20التعليق','Undo\x20(keystroke)':'التراجع','Unfold\x20all':'إظهار\x20الكل','Unfold\x20code\x20(current\x20level)':'إظهار\x20الكود\x20(المستوى\x20الحالي)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'هل\x20متأكد\x20من\x20أنك\x20تود\x20تجاهل\x20التغييرات\x20التي\x20أجريتها؟\x20لا\x20يمكن\x20التراجع\x20عن\x20هذا\x20الإجراء.'},'getPluralForm':_0x42da66=>0x0==_0x42da66?0x0:0x1==_0x42da66?0x1:0x2==_0x42da66?0x2:_0x42da66%0x64>=0x3&&_0x42da66%0x64<=0xa?0x3:_0x42da66%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34a2b4=>{const {ar:{dictionary:_0x2d3903,getPluralForm:_0x4416df}}={'ar':{'dictionary':{'Edit\x20source\x20modal\x20label':'تحرير\x20المصدر','Source\x20Editing\x20Enhanced':'تم\x20تحسين\x20تحرير\x20المصدر','Copy\x20line\x20down':'نسخ\x20السطر\x20لأسفل','Copy\x20line\x20up':'نسخ\x20السطر\x20لأعلى','Delete\x20line':'حذف\x20السطر','Indent\x20less':'تقليل\x20المسافة\x20البادئة','Indent\x20more':'زيادة\x20المسافة\x20البادئة','Fold\x20all':'طي\x20الكل','Fold\x20code\x20(current\x20level)':'طي\x20الكود\x20(المستوى\x20الحالي)','Move\x20line\x20down':'تحريك\x20السطر\x20لأسفل','Move\x20line\x20up':'تحريك\x20السطر\x20لأعلى','Redo\x20(keystroke)':'إعادة','Select\x20line':'تحديد\x20السطر','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'التبديل\x20بين\x20وضعي\x20\x22التركيز\x20باستخدام\x20علامة\x20التبويب\x22\x20و\x22ضبط\x20المسافة\x20البادئة\x20باستخدام\x20علامة\x20التبويب\x22','Toggle\x20block\x20comment':'تبديل\x20تعليق\x20الكتلة','Toggle\x20comment':'تبديل\x20التعليق','Undo\x20(keystroke)':'التراجع','Unfold\x20all':'إظهار\x20الكل','Unfold\x20code\x20(current\x20level)':'إظهار\x20الكود\x20(المستوى\x20الحالي)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'هل\x20متأكد\x20من\x20أنك\x20تود\x20تجاهل\x20التغييرات\x20التي\x20أجريتها؟\x20لا\x20يمكن\x20التراجع\x20عن\x20هذا\x20الإجراء.'},'getPluralForm':_0x59e822=>0x0==_0x59e822?0x0:0x1==_0x59e822?0x1:0x2==_0x59e822?0x2:_0x59e822%0x64>=0x3&&_0x59e822%0x64<=0xa?0x3:_0x59e822%0x64>=0xb?0x4:0x5}};_0x34a2b4['ar']||={'dictionary':{},'getPluralForm':null},_0x34a2b4['ar']['dictionary']=Object['assign'](_0x34a2b4['ar']['dictionary'],_0x2d3903),_0x34a2b4['ar']['getPluralForm']=_0x4416df;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x13fd12=>0x1!=_0x13fd12}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3749a3=>{const {ast:{dictionary:_0x1a1cec,getPluralForm:_0x194652}}={'ast':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x126d41=>0x1!=_0x126d41}};_0x3749a3['ast']||={'dictionary':{},'getPluralForm':null},_0x3749a3['ast']['dictionary']=Object['assign'](_0x3749a3['ast']['dictionary'],_0x1a1cec),_0x3749a3['ast']['getPluralForm']=_0x194652;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x7658f9=>0x1!=_0x7658f9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59097d=>{const {az:{dictionary:_0x3d2721,getPluralForm:_0x5777e3}}={'az':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x5891c5=>0x1!=_0x5891c5}};_0x59097d['az']||={'dictionary':{},'getPluralForm':null},_0x59097d['az']['dictionary']=Object['assign'](_0x59097d['az']['dictionary'],_0x3d2721),_0x59097d['az']['getPluralForm']=_0x5777e3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x1a3541=>_0x1a3541%0xa==0x1&&_0x1a3541%0x64!=0xb?0x0:_0x1a3541%0xa>=0x2&&_0x1a3541%0xa<=0x4&&(_0x1a3541%0x64<0xa||_0x1a3541%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x280927=>{const {be:{dictionary:_0x1a3159,getPluralForm:_0x1428e9}}={'be':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x1e53ea=>_0x1e53ea%0xa==0x1&&_0x1e53ea%0x64!=0xb?0x0:_0x1e53ea%0xa>=0x2&&_0x1e53ea%0xa<=0x4&&(_0x1e53ea%0x64<0xa||_0x1e53ea%0x64>=0x14)?0x1:0x2}};_0x280927['be']||={'dictionary':{},'getPluralForm':null},_0x280927['be']['dictionary']=Object['assign'](_0x280927['be']['dictionary'],_0x1a3159),_0x280927['be']['getPluralForm']=_0x1428e9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Edit\x20source\x20modal\x20label':'Редактирай\x20източник','Source\x20Editing\x20Enhanced':'Подобрена\x20редакция\x20на\x20източника','Copy\x20line\x20down':'Копирай\x20долния\x20ред','Copy\x20line\x20up':'Копирай\x20горния\x20ред','Delete\x20line':'Изтрий\x20реда','Indent\x20less':'По-малък\x20отстъп','Indent\x20more':'По-голям\x20отстъп','Fold\x20all':'Сгъни\x20всички','Fold\x20code\x20(current\x20level)':'Код\x20на\x20сгъване\x20(текущо\x20ниво)','Move\x20line\x20down':'Премести\x20ред\x20надолу','Move\x20line\x20up':'Премести\x20линията\x20нагоре','Redo\x20(keystroke)':'Повтори','Select\x20line':'Избери\x20ред','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'Превключи\x20между\x20режим\x20„фокусиране\x20с\x20табулатор“\x20и\x20„отстъп\x20с\x20табулатор“.','Toggle\x20block\x20comment':'Превключи\x20на\x20блоков\x20коментар','Toggle\x20comment':'Превключи\x20на\x20коментар','Undo\x20(keystroke)':'Отмени','Unfold\x20all':'Разгъни\x20всички','Unfold\x20code\x20(current\x20level)':'Код\x20за\x20разгъване\x20(текущо\x20ниво)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'Сигурни\x20ли\x20сте,\x20че\x20искате\x20да\x20отхвърлите\x20направените\x20промени?\x20Това\x20действие\x20не\x20може\x20да\x20бъде\x20отменено.'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Edit\x20source\x20modal\x20label':'Редактирай\x20източник','Source\x20Editing\x20Enhanced':'Подобрена\x20редакция\x20на\x20източника','Copy\x20line\x20down':'Копирай\x20долния\x20ред','Copy\x20line\x20up':'Копирай\x20горния\x20ред','Delete\x20line':'Изтрий\x20реда','Indent\x20less':'По-малък\x20отстъп','Indent\x20more':'По-голям\x20отстъп','Fold\x20all':'Сгъни\x20всички','Fold\x20code\x20(current\x20level)':'Код\x20на\x20сгъване\x20(текущо\x20ниво)','Move\x20line\x20down':'Премести\x20ред\x20надолу','Move\x20line\x20up':'Премести\x20линията\x20нагоре','Redo\x20(keystroke)':'Повтори','Select\x20line':'Избери\x20ред','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'Превключи\x20между\x20режим\x20„фокусиране\x20с\x20табулатор“\x20и\x20„отстъп\x20с\x20табулатор“.','Toggle\x20block\x20comment':'Превключи\x20на\x20блоков\x20коментар','Toggle\x20comment':'Превключи\x20на\x20коментар','Undo\x20(keystroke)':'Отмени','Unfold\x20all':'Разгъни\x20всички','Unfold\x20code\x20(current\x20level)':'Код\x20за\x20разгъване\x20(текущо\x20ниво)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'Сигурни\x20ли\x20сте,\x20че\x20искате\x20да\x20отхвърлите\x20направените\x20промени?\x20Това\x20действие\x20не\x20може\x20да\x20бъде\x20отменено.'},'getPluralForm':_0xc2c0f3=>0x1!=_0xc2c0f3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x248426=>{const {bg:{dictionary:_0x44906b,getPluralForm:_0x1276d7}}={'bg':{'dictionary':{'Edit\x20source\x20modal\x20label':'Редактирай\x20източник','Source\x20Editing\x20Enhanced':'Подобрена\x20редакция\x20на\x20източника','Copy\x20line\x20down':'Копирай\x20долния\x20ред','Copy\x20line\x20up':'Копирай\x20горния\x20ред','Delete\x20line':'Изтрий\x20реда','Indent\x20less':'По-малък\x20отстъп','Indent\x20more':'По-голям\x20отстъп','Fold\x20all':'Сгъни\x20всички','Fold\x20code\x20(current\x20level)':'Код\x20на\x20сгъване\x20(текущо\x20ниво)','Move\x20line\x20down':'Премести\x20ред\x20надолу','Move\x20line\x20up':'Премести\x20линията\x20нагоре','Redo\x20(keystroke)':'Повтори','Select\x20line':'Избери\x20ред','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'Превключи\x20между\x20режим\x20„фокусиране\x20с\x20табулатор“\x20и\x20„отстъп\x20с\x20табулатор“.','Toggle\x20block\x20comment':'Превключи\x20на\x20блоков\x20коментар','Toggle\x20comment':'Превключи\x20на\x20коментар','Undo\x20(keystroke)':'Отмени','Unfold\x20all':'Разгъни\x20всички','Unfold\x20code\x20(current\x20level)':'Код\x20за\x20разгъване\x20(текущо\x20ниво)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'Сигурни\x20ли\x20сте,\x20че\x20искате\x20да\x20отхвърлите\x20направените\x20промени?\x20Това\x20действие\x20не\x20може\x20да\x20бъде\x20отменено.'},'getPluralForm':_0x1e46a2=>0x1!=_0x1e46a2}};_0x248426['bg']||={'dictionary':{},'getPluralForm':null},_0x248426['bg']['dictionary']=Object['assign'](_0x248426['bg']['dictionary'],_0x44906b),_0x248426['bg']['getPluralForm']=_0x1276d7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Edit\x20source\x20modal\x20label':'উৎস\x20এডিট\x20করুন','Source\x20Editing\x20Enhanced':'উৎস\x20সম্পাদনা\x20বর্ধিত\x20হয়েছে','Copy\x20line\x20down':'লাইন\x20নিচে\x20কপি\x20করুন','Copy\x20line\x20up':'লাইন\x20উপরে\x20কপি\x20করুন','Delete\x20line':'লাইন\x20মুছে\x20ফেলুন','Indent\x20less':'কম\x20ইন্ডেন্ট\x20করুন','Indent\x20more':'আরও\x20ইন্ডেন্ট\x20করুন','Fold\x20all':'সবগুলো\x20ভাঁজ\x20করুন','Fold\x20code\x20(current\x20level)':'কোড\x20ভাঁজ\x20করুন\x20(বর্তমান\x20লেভেল)','Move\x20line\x20down':'লাইন\x20নিচে\x20সরান','Move\x20line\x20up':'লাইন\x20উপরে\x20সরান','Redo\x20(keystroke)':'রেডো','Select\x20line':'লাইন\x20নির্বাচন\x20করুন','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'\x22ট্যাব\x20দিয়ে\x20ফোকাস\x22\x20এবং\x20\x22ট্যাব\x20দিয়ে\x20ইন্ডেন্ট\x22\x20মোডের\x20মধ্যে\x20স্যুইচ\x20করুন','Toggle\x20block\x20comment':'ব্লক\x20মন্তব্য\x20টগল\x20করুন','Toggle\x20comment':'মন্তব্য\x20টগল\x20করুন','Undo\x20(keystroke)':'পূর্বাবস্থায়\x20ফেরান','Unfold\x20all':'সবগুলো\x20ভাঁজ\x20খুলে\x20ফেলুন','Unfold\x20code\x20(current\x20level)':'কোডের\x20ভাঁজ\x20খুলে\x20ফেলুন\x20(বর্তমান\x20লেভেল)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'আপনি\x20কি\x20নিশ্চিত\x20যে\x20আপনি\x20আপনার\x20পরিবর্তনগুলি\x20বাতিল\x20করতে\x20চান?\x20এই\x20কাজটি\x20পূর্বাবস্থায়\x20ফেরানো\x20যাবে\x20না।'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Edit\x20source\x20modal\x20label':'উৎস\x20এডিট\x20করুন','Source\x20Editing\x20Enhanced':'উৎস\x20সম্পাদনা\x20বর্ধিত\x20হয়েছে','Copy\x20line\x20down':'লাইন\x20নিচে\x20কপি\x20করুন','Copy\x20line\x20up':'লাইন\x20উপরে\x20কপি\x20করুন','Delete\x20line':'লাইন\x20মুছে\x20ফেলুন','Indent\x20less':'কম\x20ইন্ডেন্ট\x20করুন','Indent\x20more':'আরও\x20ইন্ডেন্ট\x20করুন','Fold\x20all':'সবগুলো\x20ভাঁজ\x20করুন','Fold\x20code\x20(current\x20level)':'কোড\x20ভাঁজ\x20করুন\x20(বর্তমান\x20লেভেল)','Move\x20line\x20down':'লাইন\x20নিচে\x20সরান','Move\x20line\x20up':'লাইন\x20উপরে\x20সরান','Redo\x20(keystroke)':'রেডো','Select\x20line':'লাইন\x20নির্বাচন\x20করুন','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'\x22ট্যাব\x20দিয়ে\x20ফোকাস\x22\x20এবং\x20\x22ট্যাব\x20দিয়ে\x20ইন্ডেন্ট\x22\x20মোডের\x20মধ্যে\x20স্যুইচ\x20করুন','Toggle\x20block\x20comment':'ব্লক\x20মন্তব্য\x20টগল\x20করুন','Toggle\x20comment':'মন্তব্য\x20টগল\x20করুন','Undo\x20(keystroke)':'পূর্বাবস্থায়\x20ফেরান','Unfold\x20all':'সবগুলো\x20ভাঁজ\x20খুলে\x20ফেলুন','Unfold\x20code\x20(current\x20level)':'কোডের\x20ভাঁজ\x20খুলে\x20ফেলুন\x20(বর্তমান\x20লেভেল)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'আপনি\x20কি\x20নিশ্চিত\x20যে\x20আপনি\x20আপনার\x20পরিবর্তনগুলি\x20বাতিল\x20করতে\x20চান?\x20এই\x20কাজটি\x20পূর্বাবস্থায়\x20ফেরানো\x20যাবে\x20না।'},'getPluralForm':_0x14483a=>0x1!=_0x14483a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4bcc34=>{const {bn:{dictionary:_0x791fd1,getPluralForm:_0x1d64cc}}={'bn':{'dictionary':{'Edit\x20source\x20modal\x20label':'উৎস\x20এডিট\x20করুন','Source\x20Editing\x20Enhanced':'উৎস\x20সম্পাদনা\x20বর্ধিত\x20হয়েছে','Copy\x20line\x20down':'লাইন\x20নিচে\x20কপি\x20করুন','Copy\x20line\x20up':'লাইন\x20উপরে\x20কপি\x20করুন','Delete\x20line':'লাইন\x20মুছে\x20ফেলুন','Indent\x20less':'কম\x20ইন্ডেন্ট\x20করুন','Indent\x20more':'আরও\x20ইন্ডেন্ট\x20করুন','Fold\x20all':'সবগুলো\x20ভাঁজ\x20করুন','Fold\x20code\x20(current\x20level)':'কোড\x20ভাঁজ\x20করুন\x20(বর্তমান\x20লেভেল)','Move\x20line\x20down':'লাইন\x20নিচে\x20সরান','Move\x20line\x20up':'লাইন\x20উপরে\x20সরান','Redo\x20(keystroke)':'রেডো','Select\x20line':'লাইন\x20নির্বাচন\x20করুন','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'\x22ট্যাব\x20দিয়ে\x20ফোকাস\x22\x20এবং\x20\x22ট্যাব\x20দিয়ে\x20ইন্ডেন্ট\x22\x20মোডের\x20মধ্যে\x20স্যুইচ\x20করুন','Toggle\x20block\x20comment':'ব্লক\x20মন্তব্য\x20টগল\x20করুন','Toggle\x20comment':'মন্তব্য\x20টগল\x20করুন','Undo\x20(keystroke)':'পূর্বাবস্থায়\x20ফেরান','Unfold\x20all':'সবগুলো\x20ভাঁজ\x20খুলে\x20ফেলুন','Unfold\x20code\x20(current\x20level)':'কোডের\x20ভাঁজ\x20খুলে\x20ফেলুন\x20(বর্তমান\x20লেভেল)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'আপনি\x20কি\x20নিশ্চিত\x20যে\x20আপনি\x20আপনার\x20পরিবর্তনগুলি\x20বাতিল\x20করতে\x20চান?\x20এই\x20কাজটি\x20পূর্বাবস্থায়\x20ফেরানো\x20যাবে\x20না।'},'getPluralForm':_0x2c53fb=>0x1!=_0x2c53fb}};_0x4bcc34['bn']||={'dictionary':{},'getPluralForm':null},_0x4bcc34['bn']['dictionary']=Object['assign'](_0x4bcc34['bn']['dictionary'],_0x791fd1),_0x4bcc34['bn']['getPluralForm']=_0x1d64cc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0xe0ce6f=>_0xe0ce6f%0xa==0x1&&_0xe0ce6f%0x64!=0xb?0x0:_0xe0ce6f%0xa>=0x2&&_0xe0ce6f%0xa<=0x4&&(_0xe0ce6f%0x64<0xa||_0xe0ce6f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x159120=>{const {bs:{dictionary:_0x1a591e,getPluralForm:_0x2c7285}}={'bs':{'dictionary':{'Edit\x20source\x20modal\x20label':'','Source\x20Editing\x20Enhanced':'','Copy\x20line\x20down':'','Copy\x20line\x20up':'','Delete\x20line':'','Indent\x20less':'','Indent\x20more':'','Fold\x20all':'','Fold\x20code\x20(current\x20level)':'','Move\x20line\x20down':'','Move\x20line\x20up':'','Redo\x20(keystroke)':'','Select\x20line':'','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'','Toggle\x20block\x20comment':'','Toggle\x20comment':'','Undo\x20(keystroke)':'','Unfold\x20all':'','Unfold\x20code\x20(current\x20level)':'','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':''},'getPluralForm':_0x5ec084=>_0x5ec084%0xa==0x1&&_0x5ec084%0x64!=0xb?0x0:_0x5ec084%0xa>=0x2&&_0x5ec084%0xa<=0x4&&(_0x5ec084%0x64<0xa||_0x5ec084%0x64>=0x14)?0x1:0x2}};_0x159120['bs']||={'dictionary':{},'getPluralForm':null},_0x159120['bs']['dictionary']=Object['assign'](_0x159120['bs']['dictionary'],_0x1a591e),_0x159120['bs']['getPluralForm']=_0x2c7285;})(window['CKEDITOR_TRANSLATIONS']||={});
|