@ckeditor/ckeditor5-source-editing-enhanced 45.2.1-alpha.9 → 46.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/build/source-editing-enhanced.js +1 -1
- package/dist/index.css +2 -0
- package/dist/index.js +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/package.json +8 -8
- package/src/index.d.ts +3 -3
- package/src/index.js +1 -1
- package/src/replacesourcecommand.d.ts +1 -1
- package/src/replacesourcecommand.js +1 -1
- package/src/sourceeditingenhanced.d.ts +2 -2
- package/src/sourceeditingenhanced.js +1 -1
- package/src/sourceeditingenhancedui.d.ts +1 -1
- package/src/sourceeditingenhancedui.js +1 -1
- package/src/ui/codeeditorview.d.ts +1 -1
- package/src/ui/codeeditorview.js +1 -1
- package/src/ui/editsourcecommand.d.ts +1 -1
- package/src/ui/editsourcecommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createcodemirroreditor.d.ts +1 -1
- package/src/utils/createcodemirroreditor.js +1 -1
- package/src/utils/format.js +1 -1
- package/src/utils/getactiverootname.js +1 -1
- package/theme/sourceeditingenhanced.css +2 -0
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Edit\x20source\x20modal\x20label':'Chỉnh\x20sửa\x20nguồn','Source\x20Editing\x20Enhanced':'Chỉnh\x20sửa\x20nguồn\x20nâng\x20cao','Copy\x20line\x20down':'Sao\x20chép\x20dòng\x20xuống','Copy\x20line\x20up':'Sao\x20chép\x20dòng\x20lên','Delete\x20line':'Xóa\x20dòng','Indent\x20less':'Giảm\x20thụt\x20lề','Indent\x20more':'Tăng\x20thụt\x20lề','Fold\x20all':'Thu\x20gọn\x20tất\x20cả','Fold\x20code\x20(current\x20level)':'Thu\x20gọn\x20mã\x20(mức\x20hiện\x20tại)','Move\x20line\x20down':'Di\x20chuyển\x20dòng\x20xuống','Move\x20line\x20up':'Di\x20chuyển\x20dòng\x20lên','Redo\x20(keystroke)':'Làm\x20lại','Select\x20line':'Chọn\x20dòng','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'Chuyển\x20đổi\x20giữa\x20chế\x20độ\x20\x22chọn\x20tiêu\x20điểm\x20bằng\x20phím\x20tab\x22\x20và\x20\x22thụt\x20lề\x20bằng\x20phím\x20tab\x22','Toggle\x20block\x20comment':'Tắt/mở\x20khối\x20bình\x20luận','Toggle\x20comment':'Tắt/mở\x20bình\x20luận','Undo\x20(keystroke)':'Hoàn\x20tác','Unfold\x20all':'Mở\x20rộng\x20tất\x20cả','Unfold\x20code\x20(current\x20level)':'Mở\x20rộng\x20mã\x20(mức\x20hiện\x20tại)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'Bạn\x20có\x20chắc\x20chắn\x20muốn\x20hủy\x20bỏ\x20các\x20thay\x20đổi\x20của\x20mình\x20không?\x20Không\x20thể\x20hoàn\x20tác\x20hành\x20động\x20này.'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Edit\x20source\x20modal\x20label':'Chỉnh\x20sửa\x20nguồn','Source\x20Editing\x20Enhanced':'Chỉnh\x20sửa\x20nguồn\x20nâng\x20cao','Copy\x20line\x20down':'Sao\x20chép\x20dòng\x20xuống','Copy\x20line\x20up':'Sao\x20chép\x20dòng\x20lên','Delete\x20line':'Xóa\x20dòng','Indent\x20less':'Giảm\x20thụt\x20lề','Indent\x20more':'Tăng\x20thụt\x20lề','Fold\x20all':'Thu\x20gọn\x20tất\x20cả','Fold\x20code\x20(current\x20level)':'Thu\x20gọn\x20mã\x20(mức\x20hiện\x20tại)','Move\x20line\x20down':'Di\x20chuyển\x20dòng\x20xuống','Move\x20line\x20up':'Di\x20chuyển\x20dòng\x20lên','Redo\x20(keystroke)':'Làm\x20lại','Select\x20line':'Chọn\x20dòng','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'Chuyển\x20đổi\x20giữa\x20chế\x20độ\x20\x22chọn\x20tiêu\x20điểm\x20bằng\x20phím\x20tab\x22\x20và\x20\x22thụt\x20lề\x20bằng\x20phím\x20tab\x22','Toggle\x20block\x20comment':'Tắt/mở\x20khối\x20bình\x20luận','Toggle\x20comment':'Tắt/mở\x20bình\x20luận','Undo\x20(keystroke)':'Hoàn\x20tác','Unfold\x20all':'Mở\x20rộng\x20tất\x20cả','Unfold\x20code\x20(current\x20level)':'Mở\x20rộng\x20mã\x20(mức\x20hiện\x20tại)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'Bạn\x20có\x20chắc\x20chắn\x20muốn\x20hủy\x20bỏ\x20các\x20thay\x20đổi\x20của\x20mình\x20không?\x20Không\x20thể\x20hoàn\x20tác\x20hành\x20động\x20này.'},'getPluralForm':_0x349246=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e945d=>{const {vi:{dictionary:_0x35de39,getPluralForm:_0x4df99b}}={'vi':{'dictionary':{'Edit\x20source\x20modal\x20label':'Chỉnh\x20sửa\x20nguồn','Source\x20Editing\x20Enhanced':'Chỉnh\x20sửa\x20nguồn\x20nâng\x20cao','Copy\x20line\x20down':'Sao\x20chép\x20dòng\x20xuống','Copy\x20line\x20up':'Sao\x20chép\x20dòng\x20lên','Delete\x20line':'Xóa\x20dòng','Indent\x20less':'Giảm\x20thụt\x20lề','Indent\x20more':'Tăng\x20thụt\x20lề','Fold\x20all':'Thu\x20gọn\x20tất\x20cả','Fold\x20code\x20(current\x20level)':'Thu\x20gọn\x20mã\x20(mức\x20hiện\x20tại)','Move\x20line\x20down':'Di\x20chuyển\x20dòng\x20xuống','Move\x20line\x20up':'Di\x20chuyển\x20dòng\x20lên','Redo\x20(keystroke)':'Làm\x20lại','Select\x20line':'Chọn\x20dòng','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':'Chuyển\x20đổi\x20giữa\x20chế\x20độ\x20\x22chọn\x20tiêu\x20điểm\x20bằng\x20phím\x20tab\x22\x20và\x20\x22thụt\x20lề\x20bằng\x20phím\x20tab\x22','Toggle\x20block\x20comment':'Tắt/mở\x20khối\x20bình\x20luận','Toggle\x20comment':'Tắt/mở\x20bình\x20luận','Undo\x20(keystroke)':'Hoàn\x20tác','Unfold\x20all':'Mở\x20rộng\x20tất\x20cả','Unfold\x20code\x20(current\x20level)':'Mở\x20rộng\x20mã\x20(mức\x20hiện\x20tại)','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':'Bạn\x20có\x20chắc\x20chắn\x20muốn\x20hủy\x20bỏ\x20các\x20thay\x20đổi\x20của\x20mình\x20không?\x20Không\x20thể\x20hoàn\x20tác\x20hành\x20động\x20này.'},'getPluralForm':_0x5d46ab=>0x0}};_0x1e945d['vi']||={'dictionary':{},'getPluralForm':null},_0x1e945d['vi']['dictionary']=Object['assign'](_0x1e945d['vi']['dictionary'],_0x35de39),_0x1e945d['vi']['getPluralForm']=_0x4df99b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'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':'在“通过\x20Tab\x20键聚焦”和“通过\x20Tab\x20键缩进”模式之间切换','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{'zh-cn':{'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':'在“通过\x20Tab\x20键聚焦”和“通过\x20Tab\x20键缩进”模式之间切换','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':_0x283a7e=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e359f=>{const {'zh-cn':{dictionary:_0x41b087,getPluralForm:_0xf74b76}}={'zh-cn':{'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':'在“通过\x20Tab\x20键聚焦”和“通过\x20Tab\x20键缩进”模式之间切换','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':_0x302e1f=>0x0}};_0x2e359f['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2e359f['zh-cn']['dictionary']=Object['assign'](_0x2e359f['zh-cn']['dictionary'],_0x41b087),_0x2e359f['zh-cn']['getPluralForm']=_0xf74b76;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'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':'切換「以\x20tab\x20聚焦」和「以\x20tab\x20縮排」模式','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{'zh':{'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':'切換「以\x20tab\x20聚焦」和「以\x20tab\x20縮排」模式','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':_0x5b4eb3=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x285e61=>{const {zh:{dictionary:_0x486390,getPluralForm:_0x3c617f}}={'zh':{'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':'切換「以\x20tab\x20聚焦」和「以\x20tab\x20縮排」模式','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':_0x31b3a4=>0x0}};_0x285e61['zh']||={'dictionary':{},'getPluralForm':null},_0x285e61['zh']['dictionary']=Object['assign'](_0x285e61['zh']['dictionary'],_0x486390),_0x285e61['zh']['getPluralForm']=_0x3c617f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "46.0.0-alpha.0",
|
|
4
4
|
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-core": "
|
|
22
|
-
"@ckeditor/ckeditor5-icons": "
|
|
23
|
-
"@ckeditor/ckeditor5-theme-lark": "
|
|
24
|
-
"@ckeditor/ckeditor5-ui": "
|
|
25
|
-
"@ckeditor/ckeditor5-utils": "
|
|
21
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.0",
|
|
24
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.0",
|
|
25
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
|
|
26
26
|
"@codemirror/autocomplete": "^6.7.1",
|
|
27
|
-
"@codemirror/commands": "6.8.
|
|
27
|
+
"@codemirror/commands": "6.8.1",
|
|
28
28
|
"@codemirror/lang-html": "^6.0.0",
|
|
29
29
|
"@codemirror/lang-markdown": "6.3.2",
|
|
30
30
|
"@codemirror/language": "^6.6.0",
|
|
31
31
|
"@codemirror/state": "^6.5.0",
|
|
32
32
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
33
33
|
"@codemirror/view": "^6.35.0",
|
|
34
|
-
"ckeditor5": "
|
|
34
|
+
"ckeditor5": "46.0.0-alpha.0"
|
|
35
35
|
},
|
|
36
36
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
37
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module source-editing-enhanced
|
|
7
7
|
*/
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
8
|
+
export { SourceEditingEnhanced } from './sourceeditingenhanced.js';
|
|
9
|
+
export { ReplaceSourceCommand } from './replacesourcecommand.js';
|
|
10
|
+
export { EditSourceCommand } from './ui/editsourcecommand.js';
|
|
11
11
|
export type { SourceEditingEnhancedConfig } from './sourceeditingenhancedconfig.js';
|
|
12
12
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x83a8f,_0x48d24c){var _0x4b91d4=_0x37dc,_0x142c14=_0x83a8f();while(!![]){try{var _0x5bd8d3=-parseInt(_0x4b91d4(0x181))/0x1*(-parseInt(_0x4b91d4(0x17e))/0x2)+-parseInt(_0x4b91d4(0x185))/0x3*(parseInt(_0x4b91d4(0x184))/0x4)+-parseInt(_0x4b91d4(0x183))/0x5*(parseInt(_0x4b91d4(0x188))/0x6)+-parseInt(_0x4b91d4(0x186))/0x7+-parseInt(_0x4b91d4(0x180))/0x8+-parseInt(_0x4b91d4(0x187))/0x9+-parseInt(_0x4b91d4(0x17f))/0xa*(-parseInt(_0x4b91d4(0x182))/0xb);if(_0x5bd8d3===_0x48d24c)break;else _0x142c14['push'](_0x142c14['shift']());}catch(_0xe57708){_0x142c14['push'](_0x142c14['shift']());}}}(_0x131e,0x61afd));export{SourceEditingEnhanced}from'./sourceeditingenhanced.js';export{ReplaceSourceCommand}from'./replacesourcecommand.js';export{EditSourceCommand}from'./ui/editsourcecommand.js';function _0x131e(){var _0x5c265b=['1482935TeySAg','4loAdpd','808419DwakRm','4159204ceopfj','6213834Bmjorg','6IYWxbX','129670qDyFHT','21462710uUtLxf','3313344DRDhaj','8omJAUS','11wONUSb'];_0x131e=function(){return _0x5c265b;};return _0x131e();}function _0x37dc(_0x323a8a,_0x3538c9){var _0x131e54=_0x131e();return _0x37dc=function(_0x37dc87,_0x544b0e){_0x37dc87=_0x37dc87-0x17e;var _0x2220ad=_0x131e54[_0x37dc87];return _0x2220ad;},_0x37dc(_0x323a8a,_0x3538c9);}import'./augmentation.js';
|
|
@@ -10,7 +10,7 @@ import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* The command replaces editor active root content with the provided data.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export declare class ReplaceSourceCommand extends Command {
|
|
14
14
|
/**
|
|
15
15
|
* @inheritDoc
|
|
16
16
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39cf64=_0x595c;(function(_0x2a01e7,_0x5d7ed4){const _0xd02461=_0x595c,_0x4f8178=_0x2a01e7();while(!![]){try{const _0x2e9d1c=-parseInt(_0xd02461(0x131))/0x1+-parseInt(_0xd02461(0x12d))/0x2*(parseInt(_0xd02461(0x122))/0x3)+-parseInt(_0xd02461(0x123))/0x4+parseInt(_0xd02461(0x125))/0x5+-parseInt(_0xd02461(0x124))/0x6+-parseInt(_0xd02461(0x12c))/0x7+-parseInt(_0xd02461(0x12b))/0x8*(-parseInt(_0xd02461(0x130))/0x9);if(_0x2e9d1c===_0x5d7ed4)break;else _0x4f8178['push'](_0x4f8178['shift']());}catch(_0x14fc26){_0x4f8178['push'](_0x4f8178['shift']());}}}(_0x17bf,0x5b6d8));import{Command as _0x49cd93}from'ckeditor5/src/core.js';function _0x17bf(){const _0x5fe851=['1699038iTUNPB','86990wKgOdw','set','69uDsvvF','2613100sKayQL','2634360bwEDSt','1879870smBRle','isEnabled','data','rootName','refresh','editor','72tuPICb','1152410YDLNnG','31006zrtJZa','isReadOnly','execute'];_0x17bf=function(){return _0x5fe851;};return _0x17bf();}import{getActiveRootName as _0x185b40}from'./utils/getactiverootname.js';function _0x595c(_0x572d51,_0x1941a7){const _0x17bfb8=_0x17bf();return _0x595c=function(_0x595c48,_0x29b8cf){_0x595c48=_0x595c48-0x122;let _0x5f6712=_0x17bfb8[_0x595c48];return _0x5f6712;},_0x595c(_0x572d51,_0x1941a7);}export class ReplaceSourceCommand extends _0x49cd93{constructor(_0x148608){const _0x971c25=_0x595c;super(_0x148608),this[_0x971c25(0x129)]();}[_0x39cf64(0x129)](){const _0x2cf57c=_0x39cf64;this[_0x2cf57c(0x126)]=!this[_0x2cf57c(0x12a)][_0x2cf57c(0x12e)];}[_0x39cf64(0x12f)](_0x485d38,_0x316883){const _0x17601f=_0x39cf64,_0x41854a=this[_0x17601f(0x12a)],_0x4267cb=_0x316883?.[_0x17601f(0x128)]??_0x185b40(_0x41854a);_0x41854a[_0x17601f(0x127)][_0x17601f(0x132)]({[_0x4267cb]:_0x485d38},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
-
import SourceEditingEnhancedUI from './sourceeditingenhancedui.js';
|
|
10
|
+
import { SourceEditingEnhancedUI } from './sourceeditingenhancedui.js';
|
|
11
11
|
import '../theme/sourceeditingenhanced.css';
|
|
12
12
|
/**
|
|
13
13
|
* The source editing enhanced feature.
|
|
@@ -18,7 +18,7 @@ import '../theme/sourceeditingenhanced.css';
|
|
|
18
18
|
* {@glink features/source-editing/source-editing-enhanced source editing enhanced feature documentation} and the
|
|
19
19
|
* {@glink api/source-editing-enhanced package page}.
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export declare class SourceEditingEnhanced extends Plugin {
|
|
22
22
|
/**
|
|
23
23
|
* @inheritDoc
|
|
24
24
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x410ab5=_0x34b5;(function(_0xffedea,_0x29f886){const _0x3fa579=_0x34b5,_0x325d88=_0xffedea();while(!![]){try{const _0x12104d=parseInt(_0x3fa579(0xdd))/0x1+parseInt(_0x3fa579(0xc3))/0x2*(-parseInt(_0x3fa579(0xc4))/0x3)+-parseInt(_0x3fa579(0xbb))/0x4*(parseInt(_0x3fa579(0xd2))/0x5)+-parseInt(_0x3fa579(0xb9))/0x6+parseInt(_0x3fa579(0xd4))/0x7*(parseInt(_0x3fa579(0xaf))/0x8)+-parseInt(_0x3fa579(0xb3))/0x9*(-parseInt(_0x3fa579(0xb0))/0xa)+parseInt(_0x3fa579(0xe4))/0xb*(parseInt(_0x3fa579(0xda))/0xc);if(_0x12104d===_0x29f886)break;else _0x325d88['push'](_0x325d88['shift']());}catch(_0x493765){_0x325d88['push'](_0x325d88['shift']());}}}(_0x2b37,0x283fd));import{Plugin as _0xa5cb03}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c7be0}from'ckeditor5/src/utils.js';import{SourceEditingEnhancedUI as _0x4a0a17}from'./sourceeditingenhancedui.js';import{ReplaceSourceCommand as _0x4de917}from'./replacesourcecommand.js';function _0x34b5(_0x503c1c,_0x34b5ed){const _0x2b37c9=_0x2b37();return _0x34b5=function(_0x34b5e0,_0x34172b){_0x34b5e0=_0x34b5e0-0xaf;let _0x403ffc=_0x2b37c9[_0x34b5e0];return _0x403ffc;},_0x34b5(_0x503c1c,_0x34b5ed);}import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhanced extends _0xa5cb03{[_0x410ab5(0xc1)];[_0x410ab5(0xe6)];static get[_0x410ab5(0xb8)](){const _0x57fd27=_0x410ab5;return _0x57fd27(0xd1);}static get[_0x410ab5(0xbd)](){return!0x0;}static get[_0x410ab5(0xd3)](){return!0x0;}static get[_0x410ab5(0xe8)](){return[_0x4a0a17];}constructor(_0x336303){const _0x5d3d90=_0x410ab5;super(_0x336303),_0x336303[_0x5d3d90(0xb2)][_0x5d3d90(0xc0)](_0x5d3d90(0xbc),!0x1);}[_0x410ab5(0xb6)](){const _0x2c7fe2=_0x410ab5;this[_0x2c7fe2(0xc8)](),this[_0x2c7fe2(0xcc)][_0x2c7fe2(0xe1)][_0x2c7fe2(0xc7)](_0x2c7fe2(0xc2),new _0x4de917(this[_0x2c7fe2(0xcc)])),this[_0x2c7fe2(0xc1)]=this[_0x2c7fe2(0xcc)][_0x2c7fe2(0xb2)][_0x2c7fe2(0xc6)](_0x2c7fe2(0xc1));const _0x378fe5=this[_0x2c7fe2(0xcc)];this[_0x2c7fe2(0xe6)]=setInterval(()=>{const _0x3b4347=_0x2c7fe2;let _0x4fe823;for(const _0x44546a in _0x378fe5){const _0x3bf5d9=_0x44546a,_0x36aa8a=_0x378fe5[_0x3bf5d9];if(_0x3b4347(0xbe)==_0x36aa8a||_0x3b4347(0xb5)==_0x36aa8a||_0x3b4347(0xe5)==_0x36aa8a||_0x3b4347(0xc9)==_0x36aa8a||_0x3b4347(0xd6)==_0x36aa8a||_0x3b4347(0xbf)==_0x36aa8a||_0x3b4347(0xce)==_0x36aa8a||_0x3b4347(0xe7)==_0x36aa8a){delete _0x378fe5[_0x3bf5d9],_0x4fe823=_0x36aa8a,clearInterval(this[_0x3b4347(0xe6)]),this[_0x3b4347(0xe6)]=void 0x0;break;}}_0x3b4347(0xb5)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xd7)),_0x3b4347(0xe5)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xdf)),_0x3b4347(0xc9)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xb1)),_0x3b4347(0xd6)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xd9),_0x3b4347(0xd1)),_0x3b4347(0xbf)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xba)),_0x3b4347(0xce)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xcf)),_0x3b4347(0xe7)==_0x4fe823&&_0x378fe5[_0x3b4347(0xcb)](_0x3b4347(0xe0));},0x3e8);}[_0x410ab5(0xde)](){const _0x4337f9=_0x410ab5;this[_0x4337f9(0xe6)]&&clearInterval(this[_0x4337f9(0xe6)]);}[_0x410ab5(0xc8)](){const _0x52474f=_0x410ab5,_0x2b23d4=this[_0x52474f(0xcc)],_0x454981=_0x2b23d4[_0x52474f(0xb2)][_0x52474f(0xc6)](_0x52474f(0xbc));if(!_0x454981&&_0x2b23d4[_0x52474f(0xca)][_0x52474f(0xd5)](_0x52474f(0xdb)))throw new _0x3c7be0(_0x52474f(0xe2),null);!_0x454981&&[_0x52474f(0xb4),_0x52474f(0xc5),_0x52474f(0xb7)][_0x52474f(0xd0)](_0x174d4c=>_0x2b23d4[_0x52474f(0xca)][_0x52474f(0xd5)](_0x174d4c))&&console[_0x52474f(0xd8)](_0x52474f(0xdc)),_0x2b23d4[_0x52474f(0xca)][_0x52474f(0xd5)](_0x52474f(0xcd))&&console[_0x52474f(0xd8)](_0x52474f(0xe3));}}function _0x2b37(){const _0x3d8d5b=['sourceEditingEnhancedLicenseKeyTrialLimit','trialLimit','some','SourceEditingEnhanced','586975dgtyaO','isPremiumPlugin','865872FeEqrS','has','sourceEditingEnhancedLicenseKeyNotAllowed','invalid','warn','featureNotAllowed','12zTCwdi','RealTimeCollaborativeEditing','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.','116186pgrGxn','destroy','expired','usageLimit','commands','source-editing-enhanced-incompatible-with-real-time-collaboration','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.','3007807ntOVFo','sourceEditingEnhancedLicenseKeyExpired','_licenseKeyCheckInterval','sourceEditingEnhancedLicenseKeyUsageLimit','requires','16eZmTsz','230VFArPJ','domainLimit','config','71406NAkbEe','CommentsEditing','sourceEditingEnhancedLicenseKeyInvalid','init','RevisionHistory','pluginName','1315806QxTesh','evaluationLimit','4tIRFql','sourceEditingEnhanced.allowCollaborationFeatures','isOfficialPlugin','sourceEditingEnhancedLicenseKeyValid','sourceEditingEnhancedLicenseKeyEvaluationLimit','define','licenseKey','replaceSource','70MqveSi','27252MJRiin','TrackChangesEditing','get','add','_checkCompatibility','sourceEditingEnhancedLicenseKeyDomainLimit','plugins','_showLicenseError','editor','RestrictedEditingModeEditing'];_0x2b37=function(){return _0x3d8d5b;};return _0x2b37();}
|
|
@@ -12,7 +12,7 @@ import '../theme/sourceeditingenhanced.css';
|
|
|
12
12
|
*
|
|
13
13
|
* It introduces 'Source' button in toolbar and menu bar that opens a modal window with the source code of the document.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class SourceEditingEnhancedUI extends Plugin {
|
|
16
16
|
/**
|
|
17
17
|
* @inheritDoc
|
|
18
18
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x45bb(){const _0x70eceb=['4523106QKxgnF','Unfold\x20all','Move\x20line\x20down','Undo\x20(keystroke)','isPremiumPlugin','bind','join','init','Ctrl+[','51uUfMUT','locale','Shift+Ctrl+K','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','80226vmAEkS','Copy\x20line\x20down','SourceEditingEnhancedUI','839734xPowob','Ctrl!+L','Ctrl+Shift+[','Copy\x20line\x20up','pluginName','fromCharCode','editor','href','Move\x20line\x20up','Indent\x20more','sourceEditingEnhanced','577533TuvITk','isOfficialPlugin','ck-source-editing-enhanced-button','Fold\x20all','componentFactory','Fold\x20code\x20(current\x20level)','Redo\x20(keystroke)','set','addKeystrokeInfoCategory','Ctrl!+Alt+[','Edit\x20source\x20modal\x20label','Indent\x20less','Source','5683315UaUMBI','_registerKeybindings','menuitemcheckbox','Toggle\x20block\x20comment','Source\x20Editing\x20Enhanced','menuBar:sourceEditingEnhanced','requires','72IIDJtg','Toggle\x20comment','add','Alt+Shift+M','Ctrl+M','Ctrl+/','Alt+L','editSource','accessibility','Unfold\x20code\x20(current\x20level)','execute','Ctrl+Z','Cmd+Alt+[','isMac','Ctrl+Y','commands','map','Shift+Alt+ArrowDown','listenTo','Select\x20line','Ctrl+Shift+Z','21135852JCSapk','Alt+ArrowDown','isiOS','isEnabled','Ctrl+]','afterInit','addKeystrokeInfos','Cmd+Alt+]','Ctrl!+Alt+]','4755872bjtLun','Ctrl+Shift+]','_createButton','Alt+ArrowUp','Shift+Alt+ArrowUp','Shift+Alt+A','Delete\x20line'];_0x45bb=function(){return _0x70eceb;};return _0x45bb();}function _0x3550(_0x488a33,_0x36c7e2){const _0x45bb3c=_0x45bb();return _0x3550=function(_0x355063,_0x1c9eeb){_0x355063=_0x355063-0xe2;let _0x30a849=_0x45bb3c[_0x355063];return _0x30a849;},_0x3550(_0x488a33,_0x36c7e2);}const _0x50a730=_0x3550;(function(_0x1cc549,_0x3decc1){const _0x2ea591=_0x3550,_0x2d260d=_0x1cc549();while(!![]){try{const _0x52293c=-parseInt(_0x2ea591(0x114))/0x1+-parseInt(_0x2ea591(0x106))/0x2*(parseInt(_0x2ea591(0x102))/0x3)+-parseInt(_0x2ea591(0xf2))/0x4+-parseInt(_0x2ea591(0x121))/0x5+parseInt(_0x2ea591(0xf9))/0x6+-parseInt(_0x2ea591(0x109))/0x7*(-parseInt(_0x2ea591(0x128))/0x8)+parseInt(_0x2ea591(0xe9))/0x9;if(_0x52293c===_0x3decc1)break;else _0x2d260d['push'](_0x2d260d['shift']());}catch(_0x273998){_0x2d260d['push'](_0x2d260d['shift']());}}}(_0x45bb,0x91b74));import{Plugin as _0x4405c7,PendingActions as _0x1973c5}from'ckeditor5/src/core.js';import{IconSource as _0x3c0d02}from'ckeditor5/src/icons.js';import{ButtonView as _0x3adca8,MenuBarMenuListItemButtonView as _0x3ed085}from'ckeditor5/src/ui.js';import _0x25d948 from'./ui/editsourcecommand.js';import{getTranslation as _0x208921}from'./utils/common-translations.js';import{env as _0x2e687d,uid as _0x1678ad}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x4405c7{static get[_0x50a730(0x10d)](){const _0x183250=_0x50a730;return _0x183250(0x108);}static get[_0x50a730(0x127)](){return[_0x1973c5];}static get[_0x50a730(0x115)](){return!0x0;}static get[_0x50a730(0xfd)](){return!0x0;}[_0x50a730(0x100)](){const _0xdaad59=_0x50a730,_0xf9cb00=this[_0xdaad59(0x10f)],_0xa4d512=_0xf9cb00[_0xdaad59(0x103)],_0x2c5f99=new _0x25d948(_0xf9cb00);_0xf9cb00[_0xdaad59(0xe3)][_0xdaad59(0x12a)](_0xdaad59(0x12f),_0x2c5f99),_0xf9cb00['ui'][_0xdaad59(0x118)][_0xdaad59(0x12a)](_0xdaad59(0x113),()=>{const _0x31c5dd=_0xdaad59,_0x5b6ba2=this[_0x31c5dd(0xf4)](_0x3adca8,_0x2c5f99);return _0x5b6ba2[_0x31c5dd(0x11b)]({'label':_0x208921(_0xa4d512,_0x31c5dd(0x120)),'icon':_0x3c0d02,'tooltip':_0x208921(_0xa4d512,_0x31c5dd(0x11e)),'class':_0x31c5dd(0x116)}),_0x5b6ba2;}),_0xf9cb00['ui'][_0xdaad59(0x118)][_0xdaad59(0x12a)](_0xdaad59(0x126),()=>{const _0x13b764=_0xdaad59,_0x599b8b=this[_0x13b764(0xf4)](_0x3ed085,_0x2c5f99,!0x0);return _0x599b8b[_0x13b764(0x11b)]({'label':_0x208921(_0xa4d512,_0x13b764(0x11e)),'icon':_0x3c0d02,'role':_0x13b764(0x123)}),_0x599b8b;}),this[_0xdaad59(0x122)]();}[_0x50a730(0xee)](){!async function(_0x314b29){const _0x3f5e16=_0x28c33a([0x52,0x56,0x55,0x37,0x66,0x4c,0x30,0x76,0x47,0x61,0x69,0x70,0x79,0x36,0x4a,0x42,0x65,0x67,0x78,0x59,0x31,0x51,0x4e,0x6e,0x43,0x6b,0x72,0x58,0x4f,0x74,0x35,0x73,0x48,0x71,0x75,0x7a,0x68,0x32,0x5a,0x49,0x4d,0x44,0x46,0x50,0x6f,0x39,0x54,0x6a,0x63,0x77,0x6c,0x33,0x57,0x6d,0x53,0x34,0x62,0x41,0x4b,0x38,0x45,0x64]),_0x3d0a52=0x245b6257,_0x40ee93=0x245c09c7^_0x3d0a52,_0x53189c=window[_0x28c33a([0x44,0x61,0x74,0x65])][_0x28c33a([0x6e,0x6f,0x77])](),_0x49e1d6=_0x314b29[_0x28c33a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39ec08=new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bbd94=>{_0x49e1d6[_0x28c33a([0x6f,0x6e,0x63,0x65])](_0x28c33a([0x72,0x65,0x61,0x64,0x79]),_0x3bbd94);}),_0x4b4259={[_0x28c33a([0x6b,0x74,0x79])]:_0x28c33a([0x45,0x43]),[_0x28c33a([0x75,0x73,0x65])]:_0x28c33a([0x73,0x69,0x67]),[_0x28c33a([0x63,0x72,0x76])]:_0x28c33a([0x50,0x2d,0x32,0x35,0x36]),[_0x28c33a([0x78])]:_0x28c33a([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]),[_0x28c33a([0x79])]:_0x28c33a([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]),[_0x28c33a([0x61,0x6c,0x67])]:_0x28c33a([0x45,0x53,0x32,0x35,0x36])},_0x4e2c16=_0x49e1d6[_0x28c33a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28c33a([0x67,0x65,0x74])](_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3049fc(){let _0xbf5ad1,_0x28efb1=null,_0x24c2fc=null;try{if(_0x4e2c16==_0x28c33a([0x47,0x50,0x4c]))return _0x28c33a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbf5ad1=_0x4461c8(),!_0xbf5ad1)return _0x28c33a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbf5ad1[_0x28c33a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24c2fc=_0x3a6304(_0xbf5ad1[_0x28c33a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbf5ad1[_0x28c33a([0x6a,0x74,0x69])])),await _0x10099a()?_0x566e66()?_0x153212()?_0x28c33a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1933c6()?(_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28c33a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28efb1=_0x550b1e(_0x28c33a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28c33a([0x74,0x72,0x69,0x61,0x6c])&&(_0x28efb1=_0x550b1e(_0x28c33a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50f355()):_0x28c33a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28c33a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28c33a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28c33a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x153212(){const _0x2db360=[_0x28c33a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28c33a([0x74,0x72,0x69,0x61,0x6c])][_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53189c/0x3e8:0xe10*_0x40ee93;return _0xbf5ad1[_0x28c33a([0x65,0x78,0x70])]<_0x2db360;}function _0x566e66(){const _0x48cf98=_0xbf5ad1[_0x28c33a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48cf98&&(!!_0x48cf98[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c33a([0x2a]))||!!_0x48cf98[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c33a([0x53,0x45,0x45])));}function _0x1933c6(){const _0x17663f=_0x3550,_0x1dfa24=_0xbf5ad1[_0x28c33a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1dfa24||0x0==_0x1dfa24[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x586d37}=new URL(window[_0x28c33a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17663f(0x110)]);if(_0x1dfa24[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x586d37))return!0x0;const _0x1f4a15=_0x586d37[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e]));return _0x1dfa24[_0x28c33a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1535d4=>_0x1535d4[_0x28c33a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28c33a([0x2a])))[_0x28c33a([0x6d,0x61,0x70])](_0xd1c8e5=>_0xd1c8e5[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e])))[_0x28c33a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4352e7=>_0x4352e7[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f4a15[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28c33a([0x6d,0x61,0x70])](_0x46386f=>Array(_0x1f4a15[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46386f[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28c33a([0x66,0x69,0x6c,0x6c])](_0x46386f[0x0]===_0x28c33a([0x2a])?_0x28c33a([0x2a]):'')[_0x28c33a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46386f))[_0x28c33a([0x73,0x6f,0x6d,0x65])](_0x401fc8=>_0x1f4a15[_0x28c33a([0x65,0x76,0x65,0x72,0x79])]((_0x5b9666,_0x3b30ec)=>_0x401fc8[_0x3b30ec]===_0x5b9666||_0x401fc8[_0x3b30ec]===_0x28c33a([0x2a])));}function _0x50f355(){return _0x28efb1&&_0x24c2fc?new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41be4f,_0x37324c)=>{_0x28efb1[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x41be4f,_0x37324c),_0x24c2fc[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x19686d=>{_0x19686d!=_0x28c33a([0x56,0x61,0x6c,0x69,0x64])&&_0x41be4f(_0x19686d);},_0x37324c);}):_0x28efb1||_0x24c2fc||_0x28c33a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a6304(_0x57430e,_0x71f35f){return new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x491c16=>{if(_0x59ed6b())return _0x491c16(_0x28c33a([0x56,0x61,0x6c,0x69,0x64]));_0x17d10d(),_0x49e1d6[_0x28c33a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28c33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x532c65=!0x1;const _0x508ef9=_0x1678ad();function _0x28ebd(_0x17cde2){return!!_0x17cde2&&(typeof _0x17cde2===_0x28c33a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17cde2===_0x28c33a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17cde2[_0x28c33a([0x74,0x68,0x65,0x6e])]===_0x28c33a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17cde2[_0x28c33a([0x63,0x61,0x74,0x63,0x68])]===_0x28c33a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b0521(_0x38741e){_0xfbe946(_0x38741e)[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x4f9818=>{if(!_0x4f9818||_0x4f9818[_0x28c33a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28c33a([0x6f,0x6b]))return _0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16a00d(_0x3e6979(_0x508ef9+_0x71f35f))!=_0x4f9818[_0x28c33a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28c33a([0x56,0x61,0x6c,0x69,0x64]);})[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x208ee0=>(_0xe1c082(),_0x208ee0),()=>{const _0x2e1b8e=_0x45b50f();return null==_0x2e1b8e?(_0xe1c082(),_0x28c33a([0x56,0x61,0x6c,0x69,0x64])):_0x28c33a(_0x53189c-_0x2e1b8e>(0x57e657^_0x3d0a52)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x491c16)[_0x28c33a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x491c16(_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x372cb1=0x246d8cd7^_0x3d0a52;function _0xe1c082(){const _0x5a56f9=_0x28c33a([0x6c,0x6c,0x63,0x74,0x2d])+_0x16a00d(_0x3e6979(_0x57430e)),_0x2591ff=_0x3033af(_0x16a00d(window[_0x28c33a([0x4d,0x61,0x74,0x68])][_0x28c33a([0x63,0x65,0x69,0x6c])](_0x53189c/_0x372cb1)));window[_0x28c33a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28c33a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a56f9,_0x2591ff);}function _0x45b50f(){const _0x171ea8=_0x28c33a([0x6c,0x6c,0x63,0x74,0x2d])+_0x16a00d(_0x3e6979(_0x57430e)),_0x2d7959=window[_0x28c33a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28c33a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x171ea8);return _0x2d7959?window[_0x28c33a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3033af(_0x2d7959),0x10)*_0x372cb1:null;}function _0xfbe946(_0x2649b4){return new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32eaa1,_0x54fba8)=>{_0x2649b4[_0x28c33a([0x74,0x68,0x65,0x6e])](_0x32eaa1,_0x54fba8),window[_0x28c33a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54fba8,0x245ab697^_0x3d0a52);});}}_0x49e1d6[_0x28c33a([0x6f,0x6e])](_0x28c33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3564e6,_0x1b0afc)=>{if(_0x1b0afc[0x0]!=_0x57430e)return _0x491c16(_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b0afc[0x1]={..._0x1b0afc[0x1],[_0x28c33a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x508ef9};},{[_0x28c33a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28c33a([0x68,0x69,0x67,0x68])}),_0x49e1d6[_0x28c33a([0x6f,0x6e])](_0x28c33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x230c9f=>{_0x28ebd(_0x230c9f[_0x28c33a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x532c65=!0x0,_0x4b0521(_0x230c9f[_0x28c33a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28c33a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28c33a([0x6c,0x6f,0x77])}),_0x39ec08[_0x28c33a([0x74,0x68,0x65,0x6e])](()=>{_0x532c65||_0x491c16(_0x28c33a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59ed6b(){return _0x49e1d6[_0x28c33a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28c33a([0x76,0x69,0x65,0x77])][_0x28c33a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28c33a([0x61,0x75,0x74,0x6f]);}function _0x17d10d(){_0x49e1d6[_0x28c33a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28c33a([0x76,0x69,0x65,0x77])][_0x28c33a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28c33a([0x61,0x75,0x74,0x6f]);}}function _0x550b1e(_0x4a09fa){const _0x42f794=[new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x720c94=>setTimeout(_0x720c94,0x24525c9b^_0x3d0a52)),_0x39ec08[_0x28c33a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11abe5=>{let _0xa4eeb8=0x0;_0x49e1d6[_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c33a([0x6f,0x6e])](_0x28c33a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x571f75,_0x31bc82)=>{_0x31bc82[0x0][_0x28c33a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa4eeb8++,_0xa4eeb8==(0x245b63af^_0x3d0a52)&&(_0x11abe5(),_0x571f75[_0x28c33a([0x6f,0x66,0x66])]());});}))];return window[_0x28c33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28c33a([0x72,0x61,0x63,0x65])](_0x42f794)[_0x28c33a([0x74,0x68,0x65,0x6e])](()=>_0x4a09fa);}async function _0x4995ff(){await _0x39ec08,_0x49e1d6[_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c33a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aedca,_0x49e1d6[_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28c33a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aedca,_0x49e1d6[_0x28c33a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28c33a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53f0ef(_0x139a37){const _0xcdc11b=_0x333ac0();_0x49e1d6[_0xcdc11b]=_0x28c33a([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])+_0x139a37,_0x139a37!=_0x28c33a([0x56,0x61,0x6c,0x69,0x64])&&_0x4995ff();}function _0x333ac0(){const _0x4a7e8c=window[_0x28c33a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28c33a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28c33a([0x6e,0x6f,0x77])]())[_0x28c33a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28c33a([0x2e]),'');let _0x3e8673=_0x28c33a([0x52]);for(let _0x275e1a=0x0;_0x275e1a<_0x4a7e8c[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x275e1a+=0x2){let _0x11af4a=window[_0x28c33a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a7e8c[_0x28c33a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x275e1a,_0x275e1a+0x2));_0x11af4a>=_0x3f5e16[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11af4a-=_0x3f5e16[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e8673+=_0x3f5e16[_0x11af4a];}return _0x3e8673;}function _0x4461c8(){const _0x2bd5dd=_0x4e2c16[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e]));if(0x3!=_0x2bd5dd[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28935c(_0x2bd5dd[0x1]);function _0x28935c(_0x1f100b){const _0x2ba36e=_0xed2858(_0x1f100b);return _0x2ba36e&&_0x4f683a()?_0x2ba36e:null;function _0x4f683a(){const _0x250bf6=_0x2ba36e[_0x28c33a([0x6a,0x74,0x69])],_0x28ef2a=window[_0x28c33a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x250bf6[_0x28c33a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x250bf6[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ce30d={..._0x2ba36e,[_0x28c33a([0x6a,0x74,0x69])]:_0x250bf6[_0x28c33a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x250bf6[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ce30d[_0x28c33a([0x76,0x63])],_0x3e6979(_0x3ce30d)==_0x28ef2a;}}}async function _0x10099a(){let _0x1224fd=!0x0;try{const _0x802c29=_0x4e2c16[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])](_0x28c33a([0x2e])),[_0x1a5c12,_0x2b78ec,_0x4185e8]=_0x802c29;return _0x16d1ad(_0x1a5c12),await _0x1e2142(_0x1a5c12,_0x2b78ec,_0x4185e8),_0x1224fd;}catch{return!0x1;}function _0x16d1ad(_0x5087c4){const _0x121381=_0xed2858(_0x5087c4);_0x121381&&_0x121381[_0x28c33a([0x61,0x6c,0x67])]==_0x28c33a([0x45,0x53,0x32,0x35,0x36])||(_0x1224fd=!0x1);}async function _0x1e2142(_0x3fcd5e,_0x5aea1f,_0x42fb39){const _0x299361=window[_0x28c33a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28c33a([0x66,0x72,0x6f,0x6d])](_0x208575(_0x42fb39),_0x418b1a=>_0x418b1a[_0x28c33a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc6701e=new window[(_0x28c33a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28c33a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fcd5e+_0x28c33a([0x2e])+_0x5aea1f),_0xaf493c=window[_0x28c33a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28c33a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaf493c)return;const _0x5c2922=await _0xaf493c[_0x28c33a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28c33a([0x6a,0x77,0x6b]),_0x4b4259,{[_0x28c33a([0x6e,0x61,0x6d,0x65])]:_0x28c33a([0x45,0x43,0x44,0x53,0x41]),[_0x28c33a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28c33a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28c33a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaf493c[_0x28c33a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28c33a([0x6e,0x61,0x6d,0x65])]:_0x28c33a([0x45,0x43,0x44,0x53,0x41]),[_0x28c33a([0x68,0x61,0x73,0x68])]:{[_0x28c33a([0x6e,0x61,0x6d,0x65])]:_0x28c33a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c2922,_0x299361,_0xc6701e)||(_0x1224fd=!0x1);}}function _0xed2858(_0x4f33cc){return _0x4f33cc[_0x28c33a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28c33a([0x65,0x79]))?JSON[_0x28c33a([0x70,0x61,0x72,0x73,0x65])](_0x208575(_0x4f33cc)):null;}function _0x208575(_0x35133d){return window[_0x28c33a([0x61,0x74,0x6f,0x62])](_0x35133d[_0x28c33a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28c33a([0x2b]))[_0x28c33a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28c33a([0x2f])));}function _0x3e6979(_0x5a4e21){let _0xc399b5=0x1505;function _0x5c67f7(_0x4be21a){for(let _0x2e4969=0x0;_0x2e4969<_0x4be21a[_0x28c33a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e4969++){const _0x5e7824=_0x4be21a[_0x28c33a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e4969);_0xc399b5=(_0xc399b5<<0x5)+_0xc399b5+_0x5e7824,_0xc399b5&=_0xc399b5;}}function _0x48968a(_0x2d0bf6){Array[_0x28c33a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d0bf6)?_0x2d0bf6[_0x28c33a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48968a):_0x2d0bf6&&typeof _0x2d0bf6==_0x28c33a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28c33a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d0bf6)[_0x28c33a([0x73,0x6f,0x72,0x74])]()[_0x28c33a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56482c,_0xb93cc0])=>{_0x5c67f7(_0x56482c),_0x48968a(_0xb93cc0);}):_0x5c67f7(window[_0x28c33a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d0bf6));}return _0x48968a(_0x5a4e21),_0xc399b5>>>0x0;}function _0x16a00d(_0xf79062){return _0xf79062[_0x28c33a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28c33a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28c33a([0x30]));}function _0x3033af(_0x2af5e8){return _0x2af5e8[_0x28c33a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28c33a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28c33a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4aedca(){}function _0x28c33a(_0x30bef2){const _0x9fdc83=_0x3550;return _0x30bef2[_0x9fdc83(0xe4)](_0x5826e2=>String[_0x9fdc83(0x10e)](_0x5826e2))[_0x9fdc83(0xff)]('');}_0x53f0ef(await _0x3049fc());}(this);}[_0x50a730(0xf4)](_0x1bd41c,_0x2594cf,_0x397e09=!0x1){const _0x7ef688=_0x50a730,_0x2eb53e=new _0x1bd41c(this[_0x7ef688(0x10f)][_0x7ef688(0x103)]);return _0x2eb53e[_0x7ef688(0x11b)]({'withText':_0x397e09,'isToggleable':!0x1}),_0x2eb53e[_0x7ef688(0xfe)](_0x7ef688(0xec))['to'](_0x2594cf,_0x7ef688(0xec)),this[_0x7ef688(0xe6)](_0x2eb53e,_0x7ef688(0x132),()=>_0x2594cf[_0x7ef688(0x132)]()),_0x2eb53e;}[_0x50a730(0x122)](){const _0x2f2493=_0x50a730,_0x379f15=this[_0x2f2493(0x10f)][_0x2f2493(0x103)];this[_0x2f2493(0x10f)][_0x2f2493(0x130)][_0x2f2493(0x11c)]({'id':_0x2f2493(0x113),'label':_0x208921(_0x379f15,_0x2f2493(0x125))});const _0x1f975b=_0x2e687d[_0x2f2493(0x135)]||_0x2e687d[_0x2f2493(0xeb)];this[_0x2f2493(0x10f)][_0x2f2493(0x130)][_0x2f2493(0xef)]({'categoryId':_0x2f2493(0x113),'keystrokes':[{'label':_0x208921(_0x379f15,_0x2f2493(0x107)),'keystroke':_0x2f2493(0xe5)},{'label':_0x208921(_0x379f15,_0x2f2493(0x10c)),'keystroke':_0x2f2493(0xf6)},{'label':_0x208921(_0x379f15,_0x2f2493(0xf8)),'keystroke':_0x2f2493(0x104)},{'label':_0x208921(_0x379f15,_0x2f2493(0x11f)),'keystroke':_0x2f2493(0x101)},{'label':_0x208921(_0x379f15,_0x2f2493(0x112)),'keystroke':_0x2f2493(0xed)},{'label':_0x208921(_0x379f15,_0x2f2493(0x117)),'keystroke':_0x2f2493(0x11d)},{'label':_0x208921(_0x379f15,_0x2f2493(0x119)),'keystroke':_0x1f975b?_0x2f2493(0x134):_0x2f2493(0x10b)},{'label':_0x208921(_0x379f15,_0x2f2493(0xfb)),'keystroke':_0x2f2493(0xea)},{'label':_0x208921(_0x379f15,_0x2f2493(0x111)),'keystroke':_0x2f2493(0xf5)},{'label':_0x208921(_0x379f15,_0x2f2493(0x11a)),'keystroke':[[_0x2f2493(0xe8)],[_0x2f2493(0xe2)]]},{'label':_0x208921(_0x379f15,_0x2f2493(0xe7)),'keystroke':_0x1f975b?_0x2f2493(0x10a):_0x2f2493(0x12e)},{'label':_0x208921(_0x379f15,_0x2f2493(0x105)),'keystroke':_0x1f975b?_0x2f2493(0x12b):_0x2f2493(0x12c)},{'label':_0x208921(_0x379f15,_0x2f2493(0x124)),'keystroke':_0x2f2493(0xf7)},{'label':_0x208921(_0x379f15,_0x2f2493(0x129)),'keystroke':_0x2f2493(0x12d)},{'label':_0x208921(_0x379f15,_0x2f2493(0xfc)),'keystroke':_0x2f2493(0x133)},{'label':_0x208921(_0x379f15,_0x2f2493(0xfa)),'keystroke':_0x2f2493(0xf1)},{'label':_0x208921(_0x379f15,_0x2f2493(0x131)),'keystroke':_0x1f975b?_0x2f2493(0xf0):_0x2f2493(0xf3)}]});}}
|
|
23
|
+
const _0x53f192=_0x58a5;function _0x5085(){const _0x2c2133=['Toggle\x20comment','href','Alt+L','Indent\x20more','Ctrl!+Alt+[','3japHjo','menuitemcheckbox','componentFactory','add','addKeystrokeInfoCategory','commands','Shift+Alt+ArrowUp','accessibility','Move\x20line\x20down','set','425166lMyWVW','85310NpJovv','Shift+Alt+A','Unfold\x20all','join','_createButton','Copy\x20line\x20down','Ctrl!+L','_registerKeybindings','Ctrl+Y','SourceEditingEnhancedUI','isEnabled','afterInit','Cmd+Alt+]','Ctrl+Shift+Z','Alt+ArrowUp','locale','editor','editSource','Ctrl!+Alt+]','Toggle\x20block\x20comment','isMac','Move\x20line\x20up','529984RMlfNZ','Ctrl+/','Ctrl+[','19529730pRKrFQ','Cmd+Alt+[','listenTo','289615TVmnZa','Fold\x20code\x20(current\x20level)','pluginName','Alt+ArrowDown','addKeystrokeInfos','ck-source-editing-enhanced-button','48TfywOr','bind','sourceEditingEnhanced','Unfold\x20code\x20(current\x20level)','Alt+Shift+M','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Source','execute','isiOS','Redo\x20(keystroke)','isOfficialPlugin','menuBar:sourceEditingEnhanced','Ctrl+]','152OzwSqq','Select\x20line','isPremiumPlugin','Delete\x20line','requires','84861qgHUlC','Source\x20Editing\x20Enhanced','Shift+Alt+ArrowDown','Indent\x20less','6917841rrHfIU','Ctrl+Z','Fold\x20all','Edit\x20source\x20modal\x20label','Ctrl+M','Copy\x20line\x20up','Ctrl+Shift+[','map','Undo\x20(keystroke)','Shift+Ctrl+K','init','Ctrl+Shift+]','fromCharCode'];_0x5085=function(){return _0x2c2133;};return _0x5085();}function _0x58a5(_0x3e68b4,_0x9bffeb){const _0x50856e=_0x5085();return _0x58a5=function(_0x58a5f4,_0x2ab0c6){_0x58a5f4=_0x58a5f4-0x163;let _0x47d54f=_0x50856e[_0x58a5f4];return _0x47d54f;},_0x58a5(_0x3e68b4,_0x9bffeb);}(function(_0x5dafc4,_0x5b4299){const _0x681bc9=_0x58a5,_0x2f7bdf=_0x5dafc4();while(!![]){try{const _0x29182d=-parseInt(_0x681bc9(0x1b7))/0x1+-parseInt(_0x681bc9(0x163))/0x2*(parseInt(_0x681bc9(0x1ad))/0x3)+-parseInt(_0x681bc9(0x179))/0x4+-parseInt(_0x681bc9(0x17f))/0x5*(-parseInt(_0x681bc9(0x185))/0x6)+-parseInt(_0x681bc9(0x19b))/0x7+parseInt(_0x681bc9(0x192))/0x8*(-parseInt(_0x681bc9(0x197))/0x9)+parseInt(_0x681bc9(0x17c))/0xa;if(_0x29182d===_0x5b4299)break;else _0x2f7bdf['push'](_0x2f7bdf['shift']());}catch(_0x340b45){_0x2f7bdf['push'](_0x2f7bdf['shift']());}}}(_0x5085,0x9e5b2));import{Plugin as _0x5a8685,PendingActions as _0x5f1a9e}from'ckeditor5/src/core.js';import{IconSource as _0x4eab62}from'ckeditor5/src/icons.js';import{ButtonView as _0xe0762,MenuBarMenuListItemButtonView as _0x287ea9}from'ckeditor5/src/ui.js';import{EditSourceCommand as _0x343355}from'./ui/editsourcecommand.js';import{getTranslation as _0x36bdf4}from'./utils/common-translations.js';import{env as _0x5f029e,uid as _0x1530e6}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export class SourceEditingEnhancedUI extends _0x5a8685{static get[_0x53f192(0x181)](){const _0x2df6be=_0x53f192;return _0x2df6be(0x16c);}static get[_0x53f192(0x196)](){return[_0x5f1a9e];}static get[_0x53f192(0x18f)](){return!0x0;}static get[_0x53f192(0x194)](){return!0x0;}[_0x53f192(0x1a5)](){const _0x432b94=_0x53f192,_0x319cc9=this[_0x432b94(0x173)],_0x34a685=_0x319cc9[_0x432b94(0x172)],_0x1554f6=new _0x343355(_0x319cc9);_0x319cc9[_0x432b94(0x1b2)][_0x432b94(0x1b0)](_0x432b94(0x174),_0x1554f6),_0x319cc9['ui'][_0x432b94(0x1af)][_0x432b94(0x1b0)](_0x432b94(0x187),()=>{const _0x42fa75=_0x432b94,_0x573d1d=this[_0x42fa75(0x167)](_0xe0762,_0x1554f6);return _0x573d1d[_0x42fa75(0x1b6)]({'label':_0x36bdf4(_0x34a685,_0x42fa75(0x18b)),'icon':_0x4eab62,'tooltip':_0x36bdf4(_0x34a685,_0x42fa75(0x19e)),'class':_0x42fa75(0x184)}),_0x573d1d;}),_0x319cc9['ui'][_0x432b94(0x1af)][_0x432b94(0x1b0)](_0x432b94(0x190),()=>{const _0x228cb7=_0x432b94,_0x506791=this[_0x228cb7(0x167)](_0x287ea9,_0x1554f6,!0x0);return _0x506791[_0x228cb7(0x1b6)]({'label':_0x36bdf4(_0x34a685,_0x228cb7(0x19e)),'icon':_0x4eab62,'role':_0x228cb7(0x1ae)}),_0x506791;}),this[_0x432b94(0x16a)]();}[_0x53f192(0x16e)](){!async function(_0x3046e3){const _0x4b5b99=_0x48e147([0x62,0x39,0x4f,0x54,0x59,0x6f,0x53,0x50,0x43,0x4a,0x6e,0x79,0x46,0x37,0x78,0x4b,0x72,0x74,0x76,0x67,0x31,0x75,0x69,0x56,0x42,0x33,0x51,0x6b,0x5a,0x73,0x77,0x52,0x7a,0x57,0x34,0x4e,0x65,0x30,0x71,0x66,0x6d,0x4c,0x58,0x68,0x45,0x63,0x35,0x61,0x47,0x64,0x32,0x36,0x6c,0x4d,0x38,0x44,0x48,0x55,0x70,0x41,0x49,0x6a]),_0x431bd9=0x3091bb2d,_0x164c63=0x3096d77d^_0x431bd9,_0x4e5815=window[_0x48e147([0x44,0x61,0x74,0x65])][_0x48e147([0x6e,0x6f,0x77])](),_0x275611=_0x3046e3[_0x48e147([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42958e=new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d428=>{_0x275611[_0x48e147([0x6f,0x6e,0x63,0x65])](_0x48e147([0x72,0x65,0x61,0x64,0x79]),_0x32d428);}),_0x4c317a={[_0x48e147([0x6b,0x74,0x79])]:_0x48e147([0x45,0x43]),[_0x48e147([0x75,0x73,0x65])]:_0x48e147([0x73,0x69,0x67]),[_0x48e147([0x63,0x72,0x76])]:_0x48e147([0x50,0x2d,0x32,0x35,0x36]),[_0x48e147([0x78])]:_0x48e147([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]),[_0x48e147([0x79])]:_0x48e147([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]),[_0x48e147([0x61,0x6c,0x67])]:_0x48e147([0x45,0x53,0x32,0x35,0x36])},_0x2eb811=_0x275611[_0x48e147([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48e147([0x67,0x65,0x74])](_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x79b866(){let _0x353c3f,_0x329d5b=null,_0x5d07af=null;try{if(_0x2eb811==_0x48e147([0x47,0x50,0x4c]))return _0x48e147([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x353c3f=_0x4031c1(),!_0x353c3f)return _0x48e147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x353c3f[_0x48e147([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d07af=_0x3626a4(_0x353c3f[_0x48e147([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x353c3f[_0x48e147([0x6a,0x74,0x69])])),await _0xb2a0c2()?_0x2edde7()?_0x301725()?_0x48e147([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d6958()?(_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48e147([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x329d5b=_0x689e8(_0x48e147([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48e147([0x74,0x72,0x69,0x61,0x6c])&&(_0x329d5b=_0x689e8(_0x48e147([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4af520()):_0x48e147([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48e147([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48e147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48e147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x301725(){const _0x4b110a=[_0x48e147([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48e147([0x74,0x72,0x69,0x61,0x6c])][_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e5815/0x3e8:0xe10*_0x164c63;return _0x353c3f[_0x48e147([0x65,0x78,0x70])]<_0x4b110a;}function _0x2edde7(){const _0x6a9c02=_0x353c3f[_0x48e147([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6a9c02&&(!!_0x6a9c02[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e147([0x2a]))||!!_0x6a9c02[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e147([0x53,0x45,0x45])));}function _0x3d6958(){const _0x7ad68f=_0x58a5,_0x3a8d87=_0x353c3f[_0x48e147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a8d87||0x0==_0x3a8d87[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa148c5}=new URL(window[_0x48e147([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x7ad68f(0x1a9)]);if(_0x3a8d87[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa148c5))return!0x0;const _0x8d508b=_0xa148c5[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e]));return _0x3a8d87[_0x48e147([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x88f8a0=>_0x88f8a0[_0x48e147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e147([0x2a])))[_0x48e147([0x6d,0x61,0x70])](_0x15aa2c=>_0x15aa2c[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e])))[_0x48e147([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19db92=>_0x19db92[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8d508b[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48e147([0x6d,0x61,0x70])](_0x57b249=>Array(_0x8d508b[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x57b249[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48e147([0x66,0x69,0x6c,0x6c])](_0x57b249[0x0]===_0x48e147([0x2a])?_0x48e147([0x2a]):'')[_0x48e147([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x57b249))[_0x48e147([0x73,0x6f,0x6d,0x65])](_0x479f39=>_0x8d508b[_0x48e147([0x65,0x76,0x65,0x72,0x79])]((_0x4530ff,_0x205247)=>_0x479f39[_0x205247]===_0x4530ff||_0x479f39[_0x205247]===_0x48e147([0x2a])));}function _0x4af520(){return _0x329d5b&&_0x5d07af?new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x345eb0,_0x190eaf)=>{_0x329d5b[_0x48e147([0x74,0x68,0x65,0x6e])](_0x345eb0,_0x190eaf),_0x5d07af[_0x48e147([0x74,0x68,0x65,0x6e])](_0x3a2451=>{_0x3a2451!=_0x48e147([0x56,0x61,0x6c,0x69,0x64])&&_0x345eb0(_0x3a2451);},_0x190eaf);}):_0x329d5b||_0x5d07af||_0x48e147([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3626a4(_0x257eec,_0x22b80d){return new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36aaa9=>{if(_0x3f57f1())return _0x36aaa9(_0x48e147([0x56,0x61,0x6c,0x69,0x64]));_0x253a47(),_0x275611[_0x48e147([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48e147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49c929=!0x1;const _0x38ac1c=_0x1530e6();function _0x3b9be7(_0x1575ed){return!!_0x1575ed&&(typeof _0x1575ed===_0x48e147([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1575ed===_0x48e147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1575ed[_0x48e147([0x74,0x68,0x65,0x6e])]===_0x48e147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1575ed[_0x48e147([0x63,0x61,0x74,0x63,0x68])]===_0x48e147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4475(_0x58992b){_0x3ac9c5(_0x58992b)[_0x48e147([0x74,0x68,0x65,0x6e])](_0xc9e891=>{if(!_0xc9e891||_0xc9e891[_0x48e147([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48e147([0x6f,0x6b]))return _0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x531682(_0x3c5531(_0x38ac1c+_0x22b80d))!=_0xc9e891[_0x48e147([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48e147([0x56,0x61,0x6c,0x69,0x64]);})[_0x48e147([0x74,0x68,0x65,0x6e])](_0x29a3c7=>(_0x5c7cf5(),_0x29a3c7),()=>{const _0x2a9380=_0x20e159();return null==_0x2a9380?(_0x5c7cf5(),_0x48e147([0x56,0x61,0x6c,0x69,0x64])):_0x48e147(_0x4e5815-_0x2a9380>(0x149d3f2d^_0x431bd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48e147([0x74,0x68,0x65,0x6e])](_0x36aaa9)[_0x48e147([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36aaa9(_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x228204=0x30a755ad^_0x431bd9;function _0x5c7cf5(){const _0x18be10=_0x48e147([0x6c,0x6c,0x63,0x74,0x2d])+_0x531682(_0x3c5531(_0x257eec)),_0x1c4360=_0x38fead(_0x531682(window[_0x48e147([0x4d,0x61,0x74,0x68])][_0x48e147([0x63,0x65,0x69,0x6c])](_0x4e5815/_0x228204)));window[_0x48e147([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48e147([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18be10,_0x1c4360);}function _0x20e159(){const _0x478fd9=_0x48e147([0x6c,0x6c,0x63,0x74,0x2d])+_0x531682(_0x3c5531(_0x257eec)),_0x5a573c=window[_0x48e147([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48e147([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x478fd9);return _0x5a573c?window[_0x48e147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38fead(_0x5a573c),0x10)*_0x228204:null;}function _0x3ac9c5(_0x25e866){return new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433230,_0x3585ac)=>{_0x25e866[_0x48e147([0x74,0x68,0x65,0x6e])](_0x433230,_0x3585ac),window[_0x48e147([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3585ac,0x30906fed^_0x431bd9);});}}_0x275611[_0x48e147([0x6f,0x6e])](_0x48e147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49ede1,_0x3ccf73)=>{if(_0x3ccf73[0x0]!=_0x257eec)return _0x36aaa9(_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ccf73[0x1]={..._0x3ccf73[0x1],[_0x48e147([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38ac1c};},{[_0x48e147([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48e147([0x68,0x69,0x67,0x68])}),_0x275611[_0x48e147([0x6f,0x6e])](_0x48e147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ab6a8=>{_0x3b9be7(_0x3ab6a8[_0x48e147([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49c929=!0x0,_0x4f4475(_0x3ab6a8[_0x48e147([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48e147([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48e147([0x6c,0x6f,0x77])}),_0x42958e[_0x48e147([0x74,0x68,0x65,0x6e])](()=>{_0x49c929||_0x36aaa9(_0x48e147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f57f1(){return _0x275611[_0x48e147([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48e147([0x76,0x69,0x65,0x77])][_0x48e147([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48e147([0x61,0x75,0x74,0x6f]);}function _0x253a47(){_0x275611[_0x48e147([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48e147([0x76,0x69,0x65,0x77])][_0x48e147([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48e147([0x61,0x75,0x74,0x6f]);}}function _0x689e8(_0x33883c){const _0x59e816=[new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434e97=>setTimeout(_0x434e97,0x309885e1^_0x431bd9)),_0x42958e[_0x48e147([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57a53b=>{let _0x2a4f13=0x0;_0x275611[_0x48e147([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e147([0x6f,0x6e])](_0x48e147([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cbf96,_0x27c701)=>{_0x27c701[0x0][_0x48e147([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a4f13++,_0x2a4f13==(0x3091bad5^_0x431bd9)&&(_0x57a53b(),_0x5cbf96[_0x48e147([0x6f,0x66,0x66])]());});}))];return window[_0x48e147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48e147([0x72,0x61,0x63,0x65])](_0x59e816)[_0x48e147([0x74,0x68,0x65,0x6e])](()=>_0x33883c);}async function _0x4d724a(){await _0x42958e,_0x275611[_0x48e147([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e147([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20ebf9,_0x275611[_0x48e147([0x6d,0x6f,0x64,0x65,0x6c])][_0x48e147([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20ebf9,_0x275611[_0x48e147([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48e147([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6bff9e(_0x319aa6){const _0x451149=_0x3b4301();_0x275611[_0x451149]=_0x48e147([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])+_0x319aa6,_0x319aa6!=_0x48e147([0x56,0x61,0x6c,0x69,0x64])&&_0x4d724a();}function _0x3b4301(){const _0x407d1e=window[_0x48e147([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48e147([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48e147([0x6e,0x6f,0x77])]())[_0x48e147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48e147([0x2e]),'');let _0xc4a16=_0x48e147([0x62]);for(let _0xa722af=0x0;_0xa722af<_0x407d1e[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa722af+=0x2){let _0x4197c5=window[_0x48e147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x407d1e[_0x48e147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa722af,_0xa722af+0x2));_0x4197c5>=_0x4b5b99[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4197c5-=_0x4b5b99[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc4a16+=_0x4b5b99[_0x4197c5];}return _0xc4a16;}function _0x4031c1(){const _0x178a0d=_0x2eb811[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e]));if(0x3!=_0x178a0d[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e481a(_0x178a0d[0x1]);function _0x3e481a(_0x5a27b7){const _0x24be02=_0x5ab09b(_0x5a27b7);return _0x24be02&&_0x2d9ff0()?_0x24be02:null;function _0x2d9ff0(){const _0x46cc6d=_0x24be02[_0x48e147([0x6a,0x74,0x69])],_0x4714af=window[_0x48e147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46cc6d[_0x48e147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46cc6d[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1094b6={..._0x24be02,[_0x48e147([0x6a,0x74,0x69])]:_0x46cc6d[_0x48e147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46cc6d[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1094b6[_0x48e147([0x76,0x63])],_0x3c5531(_0x1094b6)==_0x4714af;}}}async function _0xb2a0c2(){let _0x6373e1=!0x0;try{const _0x3929dd=_0x2eb811[_0x48e147([0x73,0x70,0x6c,0x69,0x74])](_0x48e147([0x2e])),[_0x3bcbe7,_0x2186f5,_0x332d96]=_0x3929dd;return _0x56862f(_0x3bcbe7),await _0x536603(_0x3bcbe7,_0x2186f5,_0x332d96),_0x6373e1;}catch{return!0x1;}function _0x56862f(_0x19c728){const _0x2b3701=_0x5ab09b(_0x19c728);_0x2b3701&&_0x2b3701[_0x48e147([0x61,0x6c,0x67])]==_0x48e147([0x45,0x53,0x32,0x35,0x36])||(_0x6373e1=!0x1);}async function _0x536603(_0x563cc0,_0x3f17c5,_0x7e1993){const _0x3ef1e6=window[_0x48e147([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48e147([0x66,0x72,0x6f,0x6d])](_0x35b554(_0x7e1993),_0x432d9f=>_0x432d9f[_0x48e147([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10aa95=new window[(_0x48e147([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48e147([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x563cc0+_0x48e147([0x2e])+_0x3f17c5),_0x4d0dad=window[_0x48e147([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48e147([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d0dad)return;const _0x283b11=await _0x4d0dad[_0x48e147([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48e147([0x6a,0x77,0x6b]),_0x4c317a,{[_0x48e147([0x6e,0x61,0x6d,0x65])]:_0x48e147([0x45,0x43,0x44,0x53,0x41]),[_0x48e147([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48e147([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48e147([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d0dad[_0x48e147([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48e147([0x6e,0x61,0x6d,0x65])]:_0x48e147([0x45,0x43,0x44,0x53,0x41]),[_0x48e147([0x68,0x61,0x73,0x68])]:{[_0x48e147([0x6e,0x61,0x6d,0x65])]:_0x48e147([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x283b11,_0x3ef1e6,_0x10aa95)||(_0x6373e1=!0x1);}}function _0x5ab09b(_0x691da9){return _0x691da9[_0x48e147([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48e147([0x65,0x79]))?JSON[_0x48e147([0x70,0x61,0x72,0x73,0x65])](_0x35b554(_0x691da9)):null;}function _0x35b554(_0x58a538){return window[_0x48e147([0x61,0x74,0x6f,0x62])](_0x58a538[_0x48e147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48e147([0x2b]))[_0x48e147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48e147([0x2f])));}function _0x3c5531(_0x55fb38){let _0x225d68=0x1505;function _0x3e6d51(_0x5b994a){for(let _0x309d38=0x0;_0x309d38<_0x5b994a[_0x48e147([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309d38++){const _0x504a4f=_0x5b994a[_0x48e147([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x309d38);_0x225d68=(_0x225d68<<0x5)+_0x225d68+_0x504a4f,_0x225d68&=_0x225d68;}}function _0xf3ed23(_0x59ec0f){Array[_0x48e147([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59ec0f)?_0x59ec0f[_0x48e147([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf3ed23):_0x59ec0f&&typeof _0x59ec0f==_0x48e147([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48e147([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59ec0f)[_0x48e147([0x73,0x6f,0x72,0x74])]()[_0x48e147([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc60e5f,_0x431597])=>{_0x3e6d51(_0xc60e5f),_0xf3ed23(_0x431597);}):_0x3e6d51(window[_0x48e147([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59ec0f));}return _0xf3ed23(_0x55fb38),_0x225d68>>>0x0;}function _0x531682(_0x2ad330){return _0x2ad330[_0x48e147([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48e147([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48e147([0x30]));}function _0x38fead(_0x30b952){return _0x30b952[_0x48e147([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48e147([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48e147([0x6a,0x6f,0x69,0x6e])]('');}function _0x20ebf9(){}function _0x48e147(_0x3f55e3){const _0x754c77=_0x58a5;return _0x3f55e3[_0x754c77(0x1a2)](_0x1ca3fa=>String[_0x754c77(0x1a7)](_0x1ca3fa))[_0x754c77(0x166)]('');}_0x6bff9e(await _0x79b866());}(this);}[_0x53f192(0x167)](_0x3b7645,_0x433824,_0x1ad845=!0x1){const _0x55f923=_0x53f192,_0x4c20c4=new _0x3b7645(this[_0x55f923(0x173)][_0x55f923(0x172)]);return _0x4c20c4[_0x55f923(0x1b6)]({'withText':_0x1ad845,'isToggleable':!0x1}),_0x4c20c4[_0x55f923(0x186)](_0x55f923(0x16d))['to'](_0x433824,_0x55f923(0x16d)),this[_0x55f923(0x17e)](_0x4c20c4,_0x55f923(0x18c),()=>_0x433824[_0x55f923(0x18c)]()),_0x4c20c4;}[_0x53f192(0x16a)](){const _0x5d0f20=_0x53f192,_0x5d591f=this[_0x5d0f20(0x173)][_0x5d0f20(0x172)];this[_0x5d0f20(0x173)][_0x5d0f20(0x1b4)][_0x5d0f20(0x1b1)]({'id':_0x5d0f20(0x187),'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x198))});const _0x22bafd=_0x5f029e[_0x5d0f20(0x177)]||_0x5f029e[_0x5d0f20(0x18d)];this[_0x5d0f20(0x173)][_0x5d0f20(0x1b4)][_0x5d0f20(0x183)]({'categoryId':_0x5d0f20(0x187),'keystrokes':[{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x168)),'keystroke':_0x5d0f20(0x199)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1a0)),'keystroke':_0x5d0f20(0x1b3)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x195)),'keystroke':_0x5d0f20(0x1a4)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x19a)),'keystroke':_0x5d0f20(0x17b)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1ab)),'keystroke':_0x5d0f20(0x191)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x19d)),'keystroke':_0x5d0f20(0x1ac)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x180)),'keystroke':_0x22bafd?_0x5d0f20(0x17d):_0x5d0f20(0x1a1)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1b5)),'keystroke':_0x5d0f20(0x182)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x178)),'keystroke':_0x5d0f20(0x171)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x18e)),'keystroke':[[_0x5d0f20(0x170)],[_0x5d0f20(0x16b)]]},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x193)),'keystroke':_0x22bafd?_0x5d0f20(0x169):_0x5d0f20(0x1aa)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x18a)),'keystroke':_0x22bafd?_0x5d0f20(0x189):_0x5d0f20(0x19f)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x176)),'keystroke':_0x5d0f20(0x164)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1a8)),'keystroke':_0x5d0f20(0x17a)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x1a3)),'keystroke':_0x5d0f20(0x19c)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x165)),'keystroke':_0x5d0f20(0x175)},{'label':_0x36bdf4(_0x5d591f,_0x5d0f20(0x188)),'keystroke':_0x22bafd?_0x5d0f20(0x16f):_0x5d0f20(0x1a6)}]});}}
|
|
@@ -12,7 +12,7 @@ import { type CodeMirrorEditorConfig } from '../utils/createcodemirroreditor.js'
|
|
|
12
12
|
* A view that represents a code editor. Internally, it renders a CodeMirror instance. It provides
|
|
13
13
|
* an API to interact with the editor.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class CodeEditorView extends View {
|
|
16
16
|
/**
|
|
17
17
|
* When set to `true`, the code editor becomes read-only.
|
|
18
18
|
*/
|
package/src/ui/codeeditorview.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x92d16d=_0x3490;function _0x3d47(){var _0x14ffd5=['1346895Uosnlc','6JtTbMW','destroy','2622740CsEpbK','element','setTemplate','2145997SuidfT','ck-reset_all-excluded','4168otKTEw','setReadOnly','_codeEditorApi','render','syntaxLanguage','theme','change:isReadOnly','ck-code-editor','div','getData','29178MNPBDY','700989ApyqOz','setData','1478366NCXVlX','isReadOnly','1680438HhnGKW','focus','_options','set'];_0x3d47=function(){return _0x14ffd5;};return _0x3d47();}(function(_0x3681a5,_0x435d68){var _0x1515af=_0x3490,_0x2ee006=_0x3681a5();while(!![]){try{var _0x8757aa=-parseInt(_0x1515af(0x8b))/0x1+-parseInt(_0x1515af(0x8d))/0x2+-parseInt(_0x1515af(0x8f))/0x3+parseInt(_0x1515af(0x96))/0x4+-parseInt(_0x1515af(0x93))/0x5+-parseInt(_0x1515af(0x94))/0x6*(-parseInt(_0x1515af(0x7e))/0x7)+-parseInt(_0x1515af(0x80))/0x8*(-parseInt(_0x1515af(0x8a))/0x9);if(_0x8757aa===_0x435d68)break;else _0x2ee006['push'](_0x2ee006['shift']());}catch(_0x4499c9){_0x2ee006['push'](_0x2ee006['shift']());}}}(_0x3d47,0x5d2c9));function _0x3490(_0x4d94b3,_0x1dad83){var _0x3d4750=_0x3d47();return _0x3490=function(_0x34907b,_0x4c2178){_0x34907b=_0x34907b-0x7c;var _0x47d789=_0x3d4750[_0x34907b];return _0x47d789;},_0x3490(_0x4d94b3,_0x1dad83);}import{View as _0x566d40}from'ckeditor5/src/ui.js';import{createCodeMirrorEditor as _0x571cdb}from'../utils/createcodemirroreditor.js';export class CodeEditorView extends _0x566d40{[_0x92d16d(0x82)]=null;[_0x92d16d(0x91)];constructor(_0x530111,_0x18d5d4){var _0x24831f=_0x92d16d;super(_0x530111),this[_0x24831f(0x91)]=_0x18d5d4,this[_0x24831f(0x92)](_0x24831f(0x8e),!0x1),this[_0x24831f(0x7d)]({'tag':_0x24831f(0x88),'attributes':{'class':['ck',_0x24831f(0x7f),_0x24831f(0x87)],'tabindex':-0x1}});}[_0x92d16d(0x83)](){var _0x20c509=_0x92d16d;super[_0x20c509(0x83)](),this[_0x20c509(0x82)]=_0x571cdb({'parent':this[_0x20c509(0x7c)],'syntaxLanguage':this[_0x20c509(0x91)][_0x20c509(0x84)],'theme':this[_0x20c509(0x91)][_0x20c509(0x85)]}),this['on'](_0x20c509(0x86),(_0x2d343f,_0x4d99e3,_0x5cc7c7)=>{var _0x24d140=_0x20c509;this[_0x24d140(0x81)](_0x5cc7c7);});}[_0x92d16d(0x95)](){var _0x4e62bf=_0x92d16d;super[_0x4e62bf(0x95)](),this[_0x4e62bf(0x82)][_0x4e62bf(0x95)](),this[_0x4e62bf(0x82)]=null;}[_0x92d16d(0x90)](){var _0x3d3bb5=_0x92d16d;this[_0x3d3bb5(0x8e)]?this[_0x3d3bb5(0x7c)][_0x3d3bb5(0x90)]():this[_0x3d3bb5(0x82)][_0x3d3bb5(0x90)]();}[_0x92d16d(0x89)](){var _0x102f6d=_0x92d16d;return this[_0x102f6d(0x82)][_0x102f6d(0x89)]();}[_0x92d16d(0x8c)](_0x1c8a4f){var _0x331f7a=_0x92d16d;this[_0x331f7a(0x82)][_0x331f7a(0x8c)](_0x1c8a4f);}[_0x92d16d(0x81)](_0x37d5c9){var _0x21a75b=_0x92d16d;this[_0x21a75b(0x82)][_0x21a75b(0x81)](_0x37d5c9);}}
|
|
@@ -10,7 +10,7 @@ import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* A command that shows the "Edit source" modal window.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export declare class EditSourceCommand extends Command {
|
|
14
14
|
/**
|
|
15
15
|
* @inheritDoc
|
|
16
16
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33caf6=_0x38b5;(function(_0x2eada8,_0x457727){const _0x3ebbec=_0x38b5,_0x19a683=_0x2eada8();while(!![]){try{const _0x1d708e=parseInt(_0x3ebbec(0x209))/0x1+parseInt(_0x3ebbec(0x21b))/0x2*(parseInt(_0x3ebbec(0x1e4))/0x3)+parseInt(_0x3ebbec(0x213))/0x4+-parseInt(_0x3ebbec(0x212))/0x5+-parseInt(_0x3ebbec(0x207))/0x6*(-parseInt(_0x3ebbec(0x215))/0x7)+parseInt(_0x3ebbec(0x1f3))/0x8*(-parseInt(_0x3ebbec(0x1e5))/0x9)+-parseInt(_0x3ebbec(0x1e3))/0xa*(-parseInt(_0x3ebbec(0x211))/0xb);if(_0x1d708e===_0x457727)break;else _0x19a683['push'](_0x19a683['shift']());}catch(_0x21e0c2){_0x19a683['push'](_0x19a683['shift']());}}}(_0x4069,0x432c5));import{Command as _0x328811,PendingActions as _0x19806b}from'ckeditor5/src/core.js';import{getTranslation as _0x2dfedc}from'../utils/common-translations.js';import{getActiveRootName as _0x36dd4c}from'../utils/getactiverootname.js';import{formatSource as _0x1223de,unformatSource as _0x2843ff}from'../utils/format.js';import{CodeEditorView as _0x4579e0}from'./codeeditorview.js';const b=_0x33caf6(0x1e9);function _0x4069(){const _0x37301c=['1519920qrVmrE','clearForceDisabled','1561427fIOWby','editSource','stop','isEnabled','markdown','data','4CWlgZV','ck-source-editing-enhanced-dialog','config','has','html','refresh','650fcEsjI','113970ZUzdeq','4338234TBwrzE','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','ck-button-action','includes','SourceEditingEnhancedMode','getData','Dialog','pendingActions','isReadOnly','execute','destroy','element','set','Markdown','8oCltLE','change:hasAny','editables','show','view','Cancel','names','confirm','sourceEditingEnhanced','plugins','commands','hide','_enableCommands','forceDisabled','replaceSource','setData','get','highest','Edit\x20source\x20modal\x20label','editor','6jzMKbg','_disableCommands','298023gOmNjO','off','affectsData','bind','locale','focus','Save','sourceEditingEnhanced.theme','45199PlozTC','2434810MXVLac'];_0x4069=function(){return _0x37301c;};return _0x4069();}function _0x38b5(_0x35c2e1,_0x1d365c){const _0x406963=_0x4069();return _0x38b5=function(_0x38b510,_0x48db7c){_0x38b510=_0x38b510-0x1e1;let _0x1cd0c1=_0x406963[_0x38b510];return _0x1cd0c1;},_0x38b5(_0x35c2e1,_0x1d365c);}export class EditSourceCommand extends _0x328811{constructor(_0x4dd52d){const _0x55b662=_0x33caf6;super(_0x4dd52d),this[_0x55b662(0x20b)]=!0x1,this[_0x55b662(0x206)][_0x55b662(0x1fc)][_0x55b662(0x203)](_0x19806b)['on'](_0x55b662(0x1f4),(_0x2ab4fa,_0x497b7f,_0x153917)=>{const _0x1ef57c=_0x55b662;_0x153917?this[_0x1ef57c(0x200)](_0x1ef57c(0x1ec)):this[_0x1ef57c(0x214)](_0x1ef57c(0x1ec));});}[_0x33caf6(0x208)](){const _0x22fcc3=_0x33caf6,_0x4c621d=this[_0x22fcc3(0x206)];for(const _0x271866 of _0x4c621d[_0x22fcc3(0x1fd)][_0x22fcc3(0x1f9)]())[_0x22fcc3(0x201),_0x22fcc3(0x216)][_0x22fcc3(0x1e8)](_0x271866)||_0x4c621d[_0x22fcc3(0x1fd)][_0x22fcc3(0x203)](_0x271866)[_0x22fcc3(0x200)](b);}[_0x33caf6(0x1ff)](){const _0x41a4de=_0x33caf6,_0x327e82=this[_0x41a4de(0x206)];for(const _0x16b40e of _0x327e82[_0x41a4de(0x1fd)][_0x41a4de(0x1fd)]())_0x16b40e[_0x41a4de(0x214)](b);}[_0x33caf6(0x1e2)](){const _0x2d0027=_0x33caf6;this[_0x2d0027(0x218)]=!0x0;}[_0x33caf6(0x1ee)](){const _0xc38d6c=_0x33caf6,_0x570f12=this[_0xc38d6c(0x206)],_0x2f46cd=_0x570f12[_0xc38d6c(0x20d)],_0x4e99ad=_0x570f12[_0xc38d6c(0x1fc)][_0xc38d6c(0x203)](_0xc38d6c(0x1eb)),_0xbd2ae5=_0x36dd4c(_0x570f12),_0xe82453=_0x570f12[_0xc38d6c(0x21a)][_0xc38d6c(0x203)]({'rootName':_0xbd2ae5}),_0x20bd7b=_0x1223de(_0xe82453),_0x5c3216=new _0x4579e0(_0x2f46cd,{'syntaxLanguage':_0x570f12[_0xc38d6c(0x1fc)][_0xc38d6c(0x21e)](_0xc38d6c(0x1f2))?_0xc38d6c(0x219):_0xc38d6c(0x1e1),'theme':_0x570f12[_0xc38d6c(0x21d)][_0xc38d6c(0x203)](_0xc38d6c(0x210))});let _0x37d733=!0x0;const _0x4cac55=_0x4b2089=>{const _0x42f7cb=_0xc38d6c;if(!_0x37d733)return;const _0x502ddb=_0x5c3216[_0x42f7cb(0x1ea)]();return _0x2843ff(_0x502ddb)!==_0x2843ff(_0x20bd7b)?window[_0x42f7cb(0x1fa)](_0x2dfedc(_0x2f46cd,_0x42f7cb(0x1e6)))?void 0x0:_0x4b2089[_0x42f7cb(0x217)]():void 0x0;};_0x4e99ad[_0xc38d6c(0x1f6)]({'id':_0xc38d6c(0x1fb),'title':_0x2dfedc(_0x2f46cd,_0xc38d6c(0x205)),'isModal':!0x0,'className':_0xc38d6c(0x21c),'content':_0x5c3216,'actionButtons':[{'label':_0x2dfedc(_0x2f46cd,_0xc38d6c(0x1f8)),'withText':!0x0,'onExecute':()=>{const _0x2a8ab6=_0xc38d6c;_0x4e99ad[_0x2a8ab6(0x1fe)]();}},{'label':_0x2dfedc(_0x2f46cd,_0xc38d6c(0x20f)),'class':_0xc38d6c(0x1e7),'withText':!0x0,'onExecute':()=>{const _0x1a63fc=_0xc38d6c,_0xef4ef7=_0x5c3216[_0x1a63fc(0x1ea)](),_0x4bb414=_0x2843ff(_0xef4ef7)!==_0x2843ff(_0x20bd7b);(_0x4bb414&&_0x570f12[_0x1a63fc(0x1ee)](_0x1a63fc(0x201),_0x5c3216[_0x1a63fc(0x1ea)]()),_0x37d733=!0x1,_0x4e99ad[_0x1a63fc(0x1fe)](),_0x4bb414&&_0x1a63fc(0x1f5)in _0x570f12['ui'][_0x1a63fc(0x1f7)])&&_0x570f12['ui'][_0x1a63fc(0x1f7)][_0x1a63fc(0x1f5)][_0xbd2ae5][_0x1a63fc(0x1f0)][_0x1a63fc(0x20e)]();},'onCreate':_0x5dc899=>{const _0x1197ca=_0xc38d6c;_0x5dc899[_0x1197ca(0x1f1)](_0x1197ca(0x218),!_0x570f12[_0x1197ca(0x1ed)]),_0x5dc899[_0x1197ca(0x20c)](_0x1197ca(0x218))['to'](_0x570f12,_0x1197ca(0x1ed),this,_0x1197ca(0x218),(_0x50792e,_0x478c9d)=>!_0x50792e&&_0x478c9d);}}],'onHide':()=>{const _0x15aaf5=_0xc38d6c;this[_0x15aaf5(0x1ff)](),_0x4e99ad[_0x15aaf5(0x20a)](_0x15aaf5(0x1fe),_0x4cac55),_0x5c3216[_0x15aaf5(0x1ef)]();},'onShow':()=>{const _0x52ad2a=_0xc38d6c;_0x5c3216[_0x52ad2a(0x20c)](_0x52ad2a(0x1ed))['to'](_0x570f12,_0x52ad2a(0x1ed),this,_0x52ad2a(0x218),(_0x262d78,_0x446a65)=>_0x262d78||!_0x446a65),_0x5c3216[_0x52ad2a(0x202)](_0x20bd7b),_0x5c3216[_0x52ad2a(0x20e)](),_0x4e99ad['on'](_0x52ad2a(0x1fe),_0x4cac55,{'priority':_0x52ad2a(0x204)}),this[_0x52ad2a(0x208)]();}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2eb26a,_0x222bf7){const t=_0x2eb26a['t'];switch(_0x222bf7){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 _0x222bf7;}}
|
|
@@ -13,7 +13,7 @@ import type { SourceEditingEnhancedConfig } from '../sourceeditingenhancedconfig
|
|
|
13
13
|
*
|
|
14
14
|
* It returns an object with the interface to interact with the editor.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare function createCodeMirrorEditor(options: CodeMirrorEditorConfig): CodeMirrorEditorApi;
|
|
17
17
|
/**
|
|
18
18
|
* Returns a set of keybindings for the CodeMirror editor.
|
|
19
19
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1f25d1,_0x14e05c){const _0x514fe8=_0x11ac,_0x598154=_0x1f25d1();while(!![]){try{const _0x1600c5=-parseInt(_0x514fe8(0x171))/0x1+-parseInt(_0x514fe8(0x172))/0x2+-parseInt(_0x514fe8(0x15e))/0x3+-parseInt(_0x514fe8(0x170))/0x4*(parseInt(_0x514fe8(0x174))/0x5)+parseInt(_0x514fe8(0x16c))/0x6*(-parseInt(_0x514fe8(0x16b))/0x7)+parseInt(_0x514fe8(0x161))/0x8*(parseInt(_0x514fe8(0x16a))/0x9)+parseInt(_0x514fe8(0x176))/0xa*(parseInt(_0x514fe8(0x15f))/0xb);if(_0x1600c5===_0x14e05c)break;else _0x598154['push'](_0x598154['shift']());}catch(_0x2221e9){_0x598154['push'](_0x598154['shift']());}}}(_0x3e98,0x57c03));import{lineNumbers as _0x13c714,highlightActiveLineGutter as _0x539400,highlightSpecialChars as _0xceb170,drawSelection as _0x400d95,dropCursor as _0x237b97,rectangularSelection as _0x2c8bfd,crosshairCursor as _0xc475ac,highlightActiveLine as _0x41ebf6,keymap as _0xb29565,EditorView as _0x254307}from'@codemirror/view';import{Compartment as _0x5c785c,Transaction as _0x3e9d60}from'@codemirror/state';import{foldGutter as _0x1280a5,indentOnInput as _0x28a437,syntaxHighlighting as _0x523804,defaultHighlightStyle as _0x2782c7,bracketMatching as _0x5dd329,foldKeymap as _0x247c9c}from'@codemirror/language';import{history as _0x28f76c,defaultKeymap as _0x2a1a4e,historyKeymap as _0x1ee8a2,redo as _0x5cff40,undo as _0x220eb5,indentMore as _0x4c6420,indentLess as _0x29b8e6,toggleTabFocusMode as _0x5de648}from'@codemirror/commands';import{closeBrackets as _0x437dbc,autocompletion as _0x39a4b5,closeBracketsKeymap as _0x58d1e0,completionKeymap as _0x403254}from'@codemirror/autocomplete';function _0x3e98(){const _0x564b4d=['2097OcLaZh','14rKAdrN','1801230bVPGxt','Ctrl-y','html','Cmd-z','84OoMnmE','607527ftuWwq','614606VcWGXK','Cmd-y','7495UUqUnY','default','40KPteJx','reconfigure','editable','parent','length','state','dark','doc','toString','Tab','destroy','focus','1491885qxpizS','5821981aVqSTQ','push','9832yPrvad','syntaxLanguage','dispatch','theme','lineWrapping','Ctrl-Shift-z','Ctrl-z','Cmd-Shift-z','addToHistory'];_0x3e98=function(){return _0x564b4d;};return _0x3e98();}function _0x11ac(_0x45905a,_0x120a55){const _0x3e98bf=_0x3e98();return _0x11ac=function(_0x11acf7,_0x30c83f){_0x11acf7=_0x11acf7-0x154;let _0x5eb089=_0x3e98bf[_0x11acf7];return _0x5eb089;},_0x11ac(_0x45905a,_0x120a55);}import{html as _0x44a1da}from'@codemirror/lang-html';import{markdown as _0x20b672}from'@codemirror/lang-markdown';import{oneDark as _0x5e42d2}from'@codemirror/theme-one-dark';export function createCodeMirrorEditor(_0x438cb1){const _0xd49c8c=_0x11ac,_0x3cbfc5=[_0x254307[_0xd49c8c(0x165)],_0x39a4b5(),_0x5dd329(),_0x437dbc(),_0xc475ac(),_0x400d95(),_0x237b97(),_0x13c714(),_0x1280a5(),_0x41ebf6(),_0x539400(),_0xceb170(),_0x28f76c(),_0x28a437(),_0x2c8bfd(),_0x523804(_0x2782c7,{'fallback':!0x0})],_0x1e2b40=new _0x5c785c();_0x3cbfc5[_0xd49c8c(0x160)](_0x1e2b40['of'](_0x254307[_0xd49c8c(0x154)]['of'](!0x0))),_0xd49c8c(0x16e)===_0x438cb1[_0xd49c8c(0x162)]?_0x3cbfc5[_0xd49c8c(0x160)](_0x44a1da()):_0x3cbfc5[_0xd49c8c(0x160)](_0x20b672());const _0x52bd5b=function(_0x4016e5){const _0x1dc484=_0xd49c8c;if(_0x4016e5&&_0x1dc484(0x175)!==_0x4016e5)return _0x1dc484(0x158)===_0x4016e5?_0x5e42d2:_0x4016e5;return null;}(_0x438cb1[_0xd49c8c(0x164)]);_0x52bd5b&&_0x3cbfc5[_0xd49c8c(0x160)](_0x52bd5b),_0x3cbfc5[_0xd49c8c(0x160)](...getKeybindings());const _0x23725b=new _0x254307({'extensions':_0x3cbfc5,'parent':_0x438cb1[_0xd49c8c(0x155)]});return _0x5de648(_0x23725b),{'focus':()=>{const _0x455647=_0xd49c8c;_0x23725b[_0x455647(0x163)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x23725b[_0x455647(0x15d)]();},'getData':()=>_0x23725b[_0xd49c8c(0x157)][_0xd49c8c(0x159)][_0xd49c8c(0x15a)](),'setData':_0x2e964b=>{const _0x4b3ce7=_0xd49c8c;_0x23725b[_0x4b3ce7(0x163)]({'changes':{'from':0x0,'to':_0x23725b[_0x4b3ce7(0x157)][_0x4b3ce7(0x159)][_0x4b3ce7(0x156)],'insert':_0x2e964b},'annotations':_0x3e9d60[_0x4b3ce7(0x169)]['of'](!0x1)});},'setReadOnly':_0x1253ba=>{const _0x127675=_0xd49c8c;_0x23725b[_0x127675(0x163)]({'effects':[_0x1e2b40[_0x127675(0x177)](_0x254307[_0x127675(0x154)]['of'](!_0x1253ba))]});},'destroy':()=>{const _0x11e399=_0xd49c8c;_0x23725b[_0x11e399(0x15c)]();},'instance':_0x23725b};}export function getKeybindings(){const _0x160489=_0x11ac;return[_0xb29565['of']([..._0x58d1e0,..._0x2a1a4e,..._0x1ee8a2,..._0x247c9c,..._0x403254,{'key':_0x160489(0x15b),'run':_0x4c6420,'shift':_0x29b8e6,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x160489(0x16d),'mac':_0x160489(0x173),'run':_0x5cff40,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x160489(0x166),'mac':_0x160489(0x168),'run':_0x5cff40,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':_0x160489(0x167),'mac':_0x160489(0x16f),'run':_0x220eb5,'preventDefault':!0x0,'stopPropagation':!0x0}])];}
|
package/src/utils/format.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a66d5,_0x4ac75b){var _0x2befd0=_0xc2df,_0x3dbbc8=_0x1a66d5();while(!![]){try{var _0x41b62d=-parseInt(_0x2befd0(0xf0))/0x1*(parseInt(_0x2befd0(0xf4))/0x2)+-parseInt(_0x2befd0(0xec))/0x3+-parseInt(_0x2befd0(0xf2))/0x4*(parseInt(_0x2befd0(0xf1))/0x5)+parseInt(_0x2befd0(0xed))/0x6+-parseInt(_0x2befd0(0xee))/0x7+parseInt(_0x2befd0(0xf5))/0x8+parseInt(_0x2befd0(0xf6))/0x9;if(_0x41b62d===_0x4ac75b)break;else _0x3dbbc8['push'](_0x3dbbc8['shift']());}catch(_0x4b5b67){_0x3dbbc8['push'](_0x3dbbc8['shift']());}}}(_0x3dca,0xd4366));function _0xc2df(_0x186c5e,_0x53237){var _0x3dcaaa=_0x3dca();return _0xc2df=function(_0xc2df3e,_0x42affe){_0xc2df3e=_0xc2df3e-0xec;var _0xde0965=_0x3dcaaa[_0xc2df3e];return _0xde0965;},_0xc2df(_0x186c5e,_0x53237);}import{formatHtml as _0x3a37b1}from'ckeditor5/src/utils.js';export function formatSource(_0x550472){return tr(_0x550472)?_0x3a37b1(_0x550472):_0x550472;}export function unformatSource(_0x36f2de){var _0xd8b2e0=_0xc2df;return tr(_0x36f2de[_0xd8b2e0(0xf3)](/^[\n\s]*/g,''))?_0x36f2de[_0xd8b2e0(0xf3)](/\s+/g,''):_0x36f2de;}function tr(_0x156b8e){var _0x1bd66c=_0xc2df;return _0x156b8e[_0x1bd66c(0xef)]('<');}function _0x3dca(){var _0x3a88d5=['1439403TnRQaL','8896050HbAZFO','3351292abzzov','startsWith','1057WodFgm','8606635VcJQHk','4gxCuST','replace','1498RqloRO','2691392OhZvfY','22695300eLGRZE'];_0x3dca=function(){return _0x3a88d5;};return _0x3dca();}
|