@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231013.0 → 0.0.0-nightly-20231015.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/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.d.ts +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231015.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20231015.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231015.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15e4=['_isEnabledBasedOnSelection','_suggestions','plugins','TrackChangesEditing','track-changes-accept-suggestion-not-found','editor','execute','refresh','getRanges','get','acceptSuggestion','canEditAt','isEnabled'];(function(_0x167fc2,_0x15e437){const _0x3980d3=function(_0x2cce42){while(--_0x2cce42){_0x167fc2['push'](_0x167fc2['shift']());}};_0x3980d3(++_0x15e437);}(_0x15e4,0xc2));const _0x3980=function(_0x167fc2,_0x15e437){_0x167fc2=_0x167fc2-0x0;let _0x3980d3=_0x15e4[_0x167fc2];return _0x3980d3;};import{Command as _0x6d08d7}from'ckeditor5/src/core';import{CKEditorError as _0x1504be}from'ckeditor5/src/utils';export default class M extends _0x6d08d7{constructor(_0x2c15e1,_0x4d05f2){super(_0x2c15e1),this[_0x3980('0x2')]=_0x4d05f2,this[_0x3980('0x8')](),this[_0x3980('0x1')]=!0x1;}[_0x3980('0x8')](){this[_0x3980('0x0')]=!0x0;}[_0x3980('0x7')](_0x1643e9){const _0x469a7c=this['_suggestions'][_0x3980('0xa')](_0x1643e9);if(!_0x469a7c)throw new _0x1504be(_0x3980('0x5'),this);const _0x366a6d=_0x469a7c[_0x3980('0x9')]();this[_0x3980('0x6')]['model'][_0x3980('0xc')](_0x366a6d)&&this[_0x3980('0x6')][_0x3980('0x3')][_0x3980('0xa')](_0x3980('0x4'))[_0x3980('0xb')](_0x469a7c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d1f=['execute','isEnabled','discardSuggestion','_suggestions','getRanges','TrackChangesEditing','refresh','editor','plugins','canEditAt','get','model','_isEnabledBasedOnSelection'];(function(_0x1b649a,_0x5d1f22){const _0x5ac1f0=function(_0x146551){while(--_0x146551){_0x1b649a['push'](_0x1b649a['shift']());}};_0x5ac1f0(++_0x5d1f22);}(_0x5d1f,0xd7));const _0x5ac1=function(_0x1b649a,_0x5d1f22){_0x1b649a=_0x1b649a-0x0;let _0x5ac1f0=_0x5d1f[_0x1b649a];return _0x5ac1f0;};import{Command as _0x17f57b}from'ckeditor5/src/core';import{CKEditorError as _0x467c17}from'ckeditor5/src/utils';export default class $ extends _0x17f57b{constructor(_0x3020d0,_0x3b1322){super(_0x3020d0),this['_suggestions']=_0x3b1322,this['refresh'](),this[_0x5ac1('0x5')]=!0x1;}[_0x5ac1('0xc')](){this[_0x5ac1('0x7')]=!0x0;}[_0x5ac1('0x6')](_0x5e1c86){const _0x4ad1c5=this[_0x5ac1('0x9')][_0x5ac1('0x3')](_0x5e1c86);if(!_0x4ad1c5)throw new _0x467c17('track-changes-discard-suggestion-not-found',this);const _0x2e6cfd=_0x4ad1c5[_0x5ac1('0xa')]();this[_0x5ac1('0x0')][_0x5ac1('0x4')][_0x5ac1('0x2')](_0x2e6cfd)&&this[_0x5ac1('0x0')][_0x5ac1('0x1')][_0x5ac1('0x3')](_0x5ac1('0xb'))[_0x5ac1('0x8')](_0x4ad1c5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4957=['model','isEnabled','values','from','_command','some','_suggestions','editor','_isEnabledBasedOnSelection','execute','canEditAt'];(function(_0x2a97c9,_0x4957cf){const _0xb2372e=function(_0x1085de){while(--_0x1085de){_0x2a97c9['push'](_0x2a97c9['shift']());}};_0xb2372e(++_0x4957cf);}(_0x4957,0x117));const _0xb237=function(_0x2a97c9,_0x4957cf){_0x2a97c9=_0x2a97c9-0x0;let _0xb2372e=_0x4957[_0x2a97c9];return _0xb2372e;};import{Command as _0x20e136}from'ckeditor5/src/core';import{sortSuggestions as _0x2b055a,executeCommandForSuggestions as _0x369c40}from'../utils/utils';export default class N extends _0x20e136{constructor(_0x57294a,_0x4d1e7b,_0x2a5e37){super(_0x57294a),this[_0xb237('0x0')]=_0x4d1e7b,this[_0xb237('0x2')]=_0x2a5e37,this['refresh'](),this[_0xb237('0x4')]=!0x1;}['refresh'](){const _0x20ab37=Array[_0xb237('0xa')](this[_0xb237('0x2')][_0xb237('0x9')]())[_0xb237('0x1')](_0xd803c=>_0xd803c['isInContent']);this['isEnabled']=this[_0xb237('0x0')][_0xb237('0x8')]&&_0x20ab37;}[_0xb237('0x5')](){const _0x41d917=_0x2b055a(Array[_0xb237('0xa')](this[_0xb237('0x2')][_0xb237('0x9')]()));for(const _0x735d86 of _0x41d917){const _0x16efd8=_0x735d86['getRanges']();if(!this['editor'][_0xb237('0x7')][_0xb237('0x6')](_0x16efd8))return;}_0x369c40(this[_0xb237('0x3')]['model'],this['_command'],_0x41d917);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b8b=['isEnabled','values','editor','execute','_selectedSuggestions','size','document','_isEnabledBasedOnSelection','from','model','refresh','_suggestions','_command'];(function(_0x8313eb,_0x2b8b4b){const _0x3336e6=function(_0x963f41){while(--_0x963f41){_0x8313eb['push'](_0x8313eb['shift']());}};_0x3336e6(++_0x2b8b4b);}(_0x2b8b,0x86));const _0x3336=function(_0x8313eb,_0x2b8b4b){_0x8313eb=_0x8313eb-0x0;let _0x3336e6=_0x2b8b[_0x8313eb];return _0x3336e6;};import{Command as _0x47fda9}from'ckeditor5/src/core';import{sortSuggestions as _0x264889,getSelectedSuggestions as _0x529e8e,executeCommandForSuggestions as _0x4bb07b}from'../utils/utils';export default class R extends _0x47fda9{constructor(_0x1ca056,_0x3a6fcc,_0x555482){super(_0x1ca056),this[_0x3336('0x8')]=_0x3a6fcc,this[_0x3336('0x7')]=_0x555482,this[_0x3336('0x0')]=new Set(),this[_0x3336('0x6')](),this[_0x3336('0x3')]=!0x1;}['refresh'](){const _0x5bf657=this[_0x3336('0xb')][_0x3336('0x5')][_0x3336('0x2')]['selection'],_0xa65b00=Array[_0x3336('0x4')](this[_0x3336('0x7')][_0x3336('0xa')]());this[_0x3336('0x0')]=_0x529e8e(_0x5bf657,_0xa65b00),this[_0x3336('0x9')]=this[_0x3336('0x8')]['isEnabled']&&!!this[_0x3336('0x0')][_0x3336('0x1')];}[_0x3336('0xc')](){const _0x389177=_0x264889(Array[_0x3336('0x4')](this['_selectedSuggestions']));for(const _0x5cac67 of _0x389177){const _0x2678c1=_0x5cac67['getRanges']();if(!this[_0x3336('0xb')][_0x3336('0x5')]['canEditAt'](_0x2678c1))return;}_0x4bb07b(this[_0x3336('0xb')][_0x3336('0x5')],this[_0x3336('0x8')],_0x389177);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f87=['has','editor','_isEnabledBasedOnSelection','forceDisabled','commands','_enableCommands','refresh','_disableUnsupportedCommands','value','isEnabled','TrackChangesCommand','_enabledCommands','affectsData','execute'];(function(_0x29dcb8,_0x3f872e){const _0x5dcb97=function(_0x49a44b){while(--_0x49a44b){_0x29dcb8['push'](_0x29dcb8['shift']());}};_0x5dcb97(++_0x3f872e);}(_0x3f87,0x113));const _0x5dcb=function(_0x29dcb8,_0x3f872e){_0x29dcb8=_0x29dcb8-0x0;let _0x5dcb97=_0x3f87[_0x29dcb8];return _0x5dcb97;};import{Command as _0x296336}from'ckeditor5/src/core';export default class _ extends _0x296336{constructor(_0x5145a5,_0x1401c2){super(_0x5145a5),this[_0x5dcb('0x2')]=_0x1401c2,this['value']=!0x1,this[_0x5dcb('0xb')](),this[_0x5dcb('0x7')]=!0x1;}[_0x5dcb('0xb')](){this[_0x5dcb('0x0')]=!0x0;}[_0x5dcb('0x4')](){this['value']=!this[_0x5dcb('0xd')],this[_0x5dcb('0xd')]?this['_disableUnsupportedCommands']():this[_0x5dcb('0xa')]();}[_0x5dcb('0xc')](){for(const _0x51fc1d of this[_0x5dcb('0x6')][_0x5dcb('0x9')][_0x5dcb('0x9')]())_0x51fc1d[_0x5dcb('0x3')]&&!this['_enabledCommands'][_0x5dcb('0x5')](_0x51fc1d)&&_0x51fc1d[_0x5dcb('0x8')](_0x5dcb('0x1'));}[_0x5dcb('0xa')](){for(const _0xf91931 of this[_0x5dcb('0x6')][_0x5dcb('0x9')][_0x5dcb('0x9')]())_0xf91931[_0x5dcb('0x3')]&&!this[_0x5dcb('0x2')][_0x5dcb('0x5')](_0xf91931)&&_0xf91931['clearForceDisabled'](_0x5dcb('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc177=['plugins','showAIAssistant','enableCommand','commands','editor','TrackChangesEditing','get','afterInit'];(function(_0x34b9ca,_0xc17790){const _0x2c942e=function(_0x48af03){while(--_0x48af03){_0x34b9ca['push'](_0x34b9ca['shift']());}};_0x2c942e(++_0xc17790);}(_0xc177,0x141));const _0x2c94=function(_0x34b9ca,_0xc17790){_0x34b9ca=_0x34b9ca-0x0;let _0x2c942e=_0xc177[_0x34b9ca];return _0x2c942e;};import{Plugin as _0x474384}from'ckeditor5/src/core';export default class j extends _0x474384{[_0x2c94('0x6')](){const _0x153e5b=this[_0x2c94('0x3')],_0x32ea0d=_0x153e5b[_0x2c94('0x7')][_0x2c94('0x5')](_0x2c94('0x4'));_0x153e5b[_0x2c94('0x2')]['get'](_0x2c94('0x0'))&&_0x32ea0d[_0x2c94('0x1')](_0x2c94('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58fe=['document','markBlockFormat','contentLanguageDirection','getAttribute','FORMAT_ALIGN_TO_CENTER','TrackChangesEditing','FORMAT_ALIGN_TO_LEFT','commandParams','editor','enableCommand','right','*Format:*\x20%0','filter','get','plugins','model','FORMAT_JUSTIFY_TEXT','center','justify','registerDescriptionCallback','selection','value','FORMAT_ALIGN_TO_RIGHT','has','ltr','left','commandName','checkAttribute','from','AlignmentEditing','alignment','locale','format','afterInit'];(function(_0x2f66c5,_0x58fe2b){const _0x2c911c=function(_0x2bcc65){while(--_0x2bcc65){_0x2f66c5['push'](_0x2f66c5['shift']());}};_0x2c911c(++_0x58fe2b);}(_0x58fe,0x12b));const _0x2c91=function(_0x2f66c5,_0x58fe2b){_0x2f66c5=_0x2f66c5-0x0;let _0x2c911c=_0x58fe[_0x2f66c5];return _0x2c911c;};import{Plugin as _0x2d613b}from'ckeditor5/src/core';import{getTranslation as _0x39622d}from'../utils/common-translations';export default class x extends _0x2d613b{[_0x2c91('0x6')](){const _0x5e6b81=this[_0x2c91('0xf')],_0x560339=_0x5e6b81[_0x2c91('0x4')];if(!_0x5e6b81[_0x2c91('0x15')][_0x2c91('0x1e')](_0x2c91('0x2')))return;const _0x10bc65=_0x5e6b81[_0x2c91('0x15')][_0x2c91('0x14')](_0x2c91('0xc'));_0x10bc65[_0x2c91('0x10')](_0x2c91('0x3'),(_0x5b2d00,_0x115220={})=>{let _0x2830f2=_0x115220[_0x2c91('0x1c')];_0x115220[_0x2c91('0x1c')]||(_0x2830f2=_0x2c91('0x1f')===_0x5e6b81['locale'][_0x2c91('0x9')]?_0x2c91('0x20'):_0x2c91('0x11'));const _0x51935d=Array[_0x2c91('0x1')](this[_0x2c91('0xf')][_0x2c91('0x16')][_0x2c91('0x7')][_0x2c91('0x1b')]['getSelectedBlocks']())[_0x2c91('0x13')](_0x252a37=>function(_0x3c5273,_0x225b7e,_0x5d8541){const _0x3058f0=_0x3c5273[_0x2c91('0xa')](_0x2c91('0x3'))||null;return _0x225b7e[_0x2c91('0x0')](_0x3c5273,_0x2c91('0x3'))&&_0x5d8541!=_0x3058f0;}(_0x252a37,this[_0x2c91('0xf')]['model']['schema'],_0x2830f2));_0x5e6b81[_0x2c91('0x16')]['change'](()=>{for(const _0x358b25 of _0x51935d)_0x10bc65[_0x2c91('0x8')](_0x358b25,{'commandName':_0x2c91('0x3'),'commandParams':[{'value':_0x2830f2}]});});}),_0x10bc65['_descriptionFactory'][_0x2c91('0x1a')](_0x15c1b7=>{const {data:_0x265468}=_0x15c1b7;if(_0x265468&&_0x2c91('0x3')==_0x265468[_0x2c91('0x21')]){const _0x14a555=_0x265468[_0x2c91('0xe')][0x0]['value'];return{'type':_0x2c91('0x5'),'content':_0x39622d(_0x560339,_0x2c91('0x12'),function(_0x4bbea2){switch(_0x4bbea2){case'left':return _0x39622d(_0x560339,_0x2c91('0xd'));case _0x2c91('0x11'):return _0x39622d(_0x560339,_0x2c91('0x1d'));case _0x2c91('0x18'):return _0x39622d(_0x560339,_0x2c91('0xb'));case _0x2c91('0x19'):return _0x39622d(_0x560339,_0x2c91('0x17'));}}(_0x14a555))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ac5=['change','underline','FORMAT_CODE','slice','get','subscript','isCollapsed','forceValue','commandName','FORMAT_BOLD','plugins','*Remove\x20format:*\x20%0','TrackChangesEditing','commands','code','FORMAT_SUPERSCRIPT','markInlineFormat','FORMAT_ITALIC','editor','has','StrikethroughEditing','document','strikethrough','SubscriptEditing','_descriptionFactory','bold','superscript','format','UnderlineEditing','FORMAT_UNDERLINE','FORMAT_STRIKETHROUGH','enableCommand','from','selection','*Format:*\x20%0','CodeEditing','getRanges','FORMAT_SUBSCRIPT','toLowerCase','BoldEditing','model','commandParams','value'];(function(_0x24b01b,_0x5ac5c8){const _0x3ea4ff=function(_0x578160){while(--_0x578160){_0x24b01b['push'](_0x24b01b['shift']());}};_0x3ea4ff(++_0x5ac5c8);}(_0x5ac5,0xfe));const _0x3ea4=function(_0x24b01b,_0x5ac5c8){_0x24b01b=_0x24b01b-0x0;let _0x3ea4ff=_0x5ac5[_0x24b01b];return _0x3ea4ff;};import{Plugin as _0x44b1be}from'ckeditor5/src/core';import{getTranslation as _0x4ea259}from'../utils/common-translations';import{getRangesWithAttribute as _0x39efad}from'./utils';const Zt=[_0x3ea4('0x0'),'ItalicEditing',_0x3ea4('0x20'),_0x3ea4('0x27'),_0x3ea4('0x18'),_0x3ea4('0x1b'),'SuperscriptEditing'];export default class U extends _0x44b1be{['afterInit'](){const _0x2d7379=this[_0x3ea4('0x16')],_0x1d3fcf=_0x2d7379[_0x3ea4('0x1')],_0x45e9d7=_0x2d7379[_0x3ea4('0xe')][_0x3ea4('0x8')](_0x3ea4('0x10')),_0x170273=_0x2d7379['locale'];for(const _0x42f1a7 of Zt){if(!_0x2d7379['plugins'][_0x3ea4('0x17')](_0x42f1a7))continue;const _0x41fada=_0x42f1a7[_0x3ea4('0x7')](0x0,-0x7)[_0x3ea4('0x2a')](),_0x4158a7=_0x2d7379[_0x3ea4('0x11')][_0x3ea4('0x8')](_0x41fada);_0x45e9d7[_0x3ea4('0x23')](_0x41fada,(_0x1d5d71,_0x38df68={})=>{const _0xc5898c=_0x1d3fcf[_0x3ea4('0x19')][_0x3ea4('0x25')];if(_0xc5898c[_0x3ea4('0xa')])return void _0x1d5d71(_0x38df68);const _0x458369=void 0x0!==_0x38df68[_0x3ea4('0xb')]?_0x38df68[_0x3ea4('0xb')]:!_0x4158a7[_0x3ea4('0x3')];_0x1d3fcf[_0x3ea4('0x4')](()=>{const _0x5026d7=Array[_0x3ea4('0x24')](_0xc5898c[_0x3ea4('0x28')]());for(const _0x2c7bee of _0x5026d7){const _0x274210=_0x458369?[_0x2c7bee]:_0x39efad(_0x41fada,_0x2c7bee,_0x1d3fcf);for(const _0x3f187f of _0x274210)_0x45e9d7[_0x3ea4('0x14')](_0x3f187f,{'commandName':_0x41fada,'commandParams':[{'forceValue':_0x458369}]});}});});}function _0x18acab(_0x31de8e,_0x310b63){_0x45e9d7[_0x3ea4('0x1c')]['registerDescriptionCallback'](_0x396837=>{const {data:_0xdf5272}=_0x396837;if(_0xdf5272&&_0xdf5272[_0x3ea4('0xc')]===_0x31de8e)return _0xdf5272[_0x3ea4('0x2')][0x0]['forceValue']?{'type':_0x3ea4('0x1f'),'content':_0x4ea259(_0x170273,_0x3ea4('0x26'),_0x310b63)}:{'type':_0x3ea4('0x1f'),'content':_0x4ea259(_0x170273,_0x3ea4('0xf'),_0x310b63)};});}_0x18acab(_0x3ea4('0x1d'),_0x4ea259(_0x170273,_0x3ea4('0xd'))),_0x18acab('italic',_0x4ea259(_0x170273,_0x3ea4('0x15'))),_0x18acab(_0x3ea4('0x5'),_0x4ea259(_0x170273,_0x3ea4('0x21'))),_0x18acab(_0x3ea4('0x12'),_0x4ea259(_0x170273,_0x3ea4('0x6'))),_0x18acab(_0x3ea4('0x1a'),_0x4ea259(_0x170273,_0x3ea4('0x22'))),_0x18acab(_0x3ea4('0x9'),_0x4ea259(_0x170273,_0x3ea4('0x29'))),_0x18acab(_0x3ea4('0x1e'),_0x4ea259(_0x170273,_0x3ea4('0x13')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36f7=['parent','*Format:*\x20%0','editor','schema','blockQuote','commands','registerDescriptionCallback','getSelectedBlocks','BlockQuoteEditing','has','TrackChangesEditing','filter','checkChild','get','forceValue','name','value','format','selection','locale','change','plugins','ELEMENT_BLOCK_QUOTE','enableCommand','model','_descriptionFactory','*Remove\x20format:*\x20%0','from','commandName'];(function(_0x32a96a,_0x36f7ef){const _0x49a0bf=function(_0x45c079){while(--_0x45c079){_0x32a96a['push'](_0x32a96a['shift']());}};_0x49a0bf(++_0x36f7ef);}(_0x36f7,0x139));const _0x49a0=function(_0x32a96a,_0x36f7ef){_0x32a96a=_0x32a96a-0x0;let _0x49a0bf=_0x36f7[_0x32a96a];return _0x49a0bf;};import{Plugin as _0x57c789}from'ckeditor5/src/core';import{getTranslation as _0x4fbbb0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x42a696}from'../utils/utils';export default class O extends _0x57c789{['afterInit'](){const _0x49ad81=this[_0x49a0('0x8')],_0x574370=_0x49ad81[_0x49a0('0x19')];if(!_0x49ad81[_0x49a0('0x1b')][_0x49a0('0xf')](_0x49a0('0xe')))return;const _0x40da09=_0x49ad81[_0x49a0('0x1b')][_0x49a0('0x13')](_0x49a0('0x10')),_0x1a7149=this[_0x49a0('0x8')][_0x49a0('0xb')][_0x49a0('0x13')](_0x49a0('0xa'));_0x40da09[_0x49a0('0x0')](_0x49a0('0xa'),(_0x3389d3,_0x18b374={})=>{const _0x15fd36=this[_0x49a0('0x8')][_0x49a0('0x1')]['document'][_0x49a0('0x18')],_0x46f9f5=_0x18b374&&void 0x0!==_0x18b374[_0x49a0('0x14')]?_0x18b374['forceValue']:!_0x1a7149[_0x49a0('0x16')];let _0x4c1b85=[];if(_0x46f9f5){const _0x393969=Array[_0x49a0('0x4')](_0x15fd36[_0x49a0('0xd')]())['filter'](_0x21dc7d=>oo(_0x21dc7d)||function(_0x34eee2,_0x1e1efa){const _0x32cff1=_0x1e1efa[_0x49a0('0x12')](_0x34eee2['parent'],_0x49a0('0xa')),_0xe769ae=_0x1e1efa[_0x49a0('0x12')](['$root',_0x49a0('0xa')],_0x34eee2);return _0x32cff1&&_0xe769ae;}(_0x21dc7d,this['editor'][_0x49a0('0x1')][_0x49a0('0x9')]));_0x4c1b85=_0x42a696(_0x393969,_0x49ad81[_0x49a0('0x1')]);}else{const _0x56b9d0=Array[_0x49a0('0x4')](_0x15fd36[_0x49a0('0xd')]())[_0x49a0('0x11')](_0x5ebcf2=>oo(_0x5ebcf2));_0x4c1b85=_0x42a696(_0x56b9d0,_0x49ad81['model']);}_0x49ad81['model'][_0x49a0('0x1a')](()=>{for(const _0x5376f8 of _0x4c1b85)_0x40da09['markBlockFormat'](_0x5376f8,{'commandName':_0x49a0('0xa'),'commandParams':[{'forceValue':_0x46f9f5}]});});}),_0x40da09[_0x49a0('0x2')][_0x49a0('0xc')](_0x488279=>{const {data:_0x573033}=_0x488279;if(_0x573033&&_0x49a0('0xa')==_0x573033[_0x49a0('0x5')]){const _0x23cefb=_0x4fbbb0(_0x574370,_0x49a0('0x1c'));return _0x573033['commandParams'][0x0][_0x49a0('0x14')]?{'type':_0x49a0('0x17'),'content':_0x4fbbb0(_0x574370,_0x49a0('0x7'),_0x23cefb)}:{'type':_0x49a0('0x17'),'content':_0x4fbbb0(_0x574370,_0x49a0('0x3'),_0x23cefb)};}});}}function oo(_0x596862){return _0x49a0('0xa')==_0x596862[_0x49a0('0x6')][_0x49a0('0x15')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c08=['plugins','enableCommand','ckbox','get','afterInit','TrackChangesEditing','commands','editor'];(function(_0x49481e,_0x4c08e5){const _0x3c71d1=function(_0x5f49f1){while(--_0x5f49f1){_0x49481e['push'](_0x49481e['shift']());}};_0x3c71d1(++_0x4c08e5);}(_0x4c08,0x198));const _0x3c71=function(_0x49481e,_0x4c08e5){_0x49481e=_0x49481e-0x0;let _0x3c71d1=_0x4c08[_0x49481e];return _0x3c71d1;};import{Plugin as _0x197d47}from'ckeditor5/src/core';export default class E extends _0x197d47{[_0x3c71('0x4')](){const _0x3fd35a=this[_0x3c71('0x7')];_0x3fd35a[_0x3c71('0x6')][_0x3c71('0x3')](_0x3c71('0x2'))&&_0x3fd35a[_0x3c71('0x0')][_0x3c71('0x3')](_0x3c71('0x5'))[_0x3c71('0x1')](_0x3c71('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10b1=['filter','enableCommand','*Format:*\x20%0','outdentCodeBlock','parent','afterInit','TrackChangesEditing','get','find','rootElement','commandName','name','locale','language','*Remove\x20format:*\x20%0','change','selection','model','value','has','getSelectedBlocks','label','checkChild','config','editor','codeBlock','markBlockFormat','forceValue','from','commands','isLimit','blockName','indentCodeBlock','ELEMENT_CODE_BLOCK','plugins','schema'];(function(_0x1d7c92,_0x10b1cf){const _0xdad329=function(_0x54bd55){while(--_0x54bd55){_0x1d7c92['push'](_0x1d7c92['shift']());}};_0xdad329(++_0x10b1cf);}(_0x10b1,0xdf));const _0xdad3=function(_0x1d7c92,_0x10b1cf){_0x1d7c92=_0x1d7c92-0x0;let _0xdad329=_0x10b1[_0x1d7c92];return _0xdad329;};import{Plugin as _0x2e6b8}from'ckeditor5/src/core';import{getTranslation as _0x5c5895}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x6fdf5a}from'../utils/utils';export default class F extends _0x2e6b8{[_0xdad3('0x22')](){const _0x16008d=this[_0xdad3('0x11')];if(!_0x16008d[_0xdad3('0x1b')][_0xdad3('0xc')]('CodeBlock'))return;const _0x12ad3f=_0x16008d[_0xdad3('0x1b')][_0xdad3('0x0')](_0xdad3('0x23')),_0x372c66=_0x16008d[_0xdad3('0x5')],_0xab6f8=_0x16008d[_0xdad3('0x10')][_0xdad3('0x0')](_0xdad3('0x12'))['languages'],_0x38a8a3=_0x16008d[_0xdad3('0x16')][_0xdad3('0x0')](_0xdad3('0x12'));_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x19')),_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x20')),_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x12'),(_0x49fa83,_0x2ccd6c={})=>{const _0x52d964=_0x16008d[_0xdad3('0xa')],_0x147e8a=_0x16008d[_0xdad3('0xa')]['document'][_0xdad3('0x9')],_0xa17082=_0x2ccd6c&&void 0x0!==_0x2ccd6c['forceValue']?_0x2ccd6c[_0xdad3('0x14')]:!_0x38a8a3[_0xdad3('0xb')];let _0x568cfe;_0x2ccd6c[_0xdad3('0x6')]||(_0x2ccd6c[_0xdad3('0x6')]=_0xab6f8[0x0][_0xdad3('0x6')]),_0x568cfe=_0xa17082?Array[_0xdad3('0x15')](_0x147e8a[_0xdad3('0xd')]())['filter'](_0x296c8c=>co(_0x296c8c)||function(_0x31a103,_0x80ce75){if(_0x31a103['is'](_0xdad3('0x2'))||_0x80ce75[_0xdad3('0x17')](_0x31a103))return!0x1;return _0x80ce75[_0xdad3('0xf')](_0x31a103[_0xdad3('0x21')],_0xdad3('0x12'));}(_0x296c8c,_0x52d964[_0xdad3('0x1c')])):Array[_0xdad3('0x15')](_0x147e8a['getSelectedBlocks']())[_0xdad3('0x1d')](_0x320cae=>co(_0x320cae));const _0x1c7afe=_0x6fdf5a(_0x568cfe,_0x52d964);_0x52d964[_0xdad3('0x8')](()=>{for(const _0x150b70 of _0x1c7afe)_0x12ad3f[_0xdad3('0x13')](_0x150b70,{'commandName':'codeBlock','commandParams':[{..._0x2ccd6c,'forceValue':_0xa17082}],'formatGroupId':_0xdad3('0x18')});});}),(_0x12ad3f['_descriptionFactory']['registerElementLabel'](_0xdad3('0x12'),_0x102cdf=>_0x5c5895(_0x372c66,_0xdad3('0x1a'),_0x102cdf)),_0x12ad3f['_descriptionFactory']['registerDescriptionCallback'](_0x8fa6ee=>{const _0x232721=_0x372c66['t'],{type:_0x2a9a7d,data:_0x4e5558}=_0x8fa6ee;if('formatBlock'==_0x2a9a7d&&_0x4e5558&&'codeBlock'==_0x4e5558[_0xdad3('0x3')]){const _0x292bed=_0x4e5558['commandParams'][0x0][_0xdad3('0x6')],_0x5c2f72=_0x232721(_0xab6f8[_0xdad3('0x1')](_0x5a0642=>_0x5a0642[_0xdad3('0x6')]===_0x292bed)[_0xdad3('0xe')]);return _0x4e5558['commandParams'][0x0][_0xdad3('0x14')]?{'type':'format','content':_0x5c5895(_0x372c66,_0xdad3('0x1f'),_0x5c5895(_0x372c66,_0xdad3('0x1a'),0x1)+'\x20('+_0x5c2f72+')')}:{'type':'format','content':_0x5c5895(_0x372c66,_0xdad3('0x7'),_0x5c5895(_0x372c66,_0xdad3('0x1a'),0x1))};}}));}}function co(_0x1a6a84){return'codeBlock'==_0x1a6a84[_0xdad3('0x4')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5914=['plugins','has','TrackChangesEditing','CommentsEditing','addCommentThread','get'];(function(_0x2b7387,_0x591465){const _0x20f09f=function(_0x28681d){while(--_0x28681d){_0x2b7387['push'](_0x2b7387['shift']());}};_0x20f09f(++_0x591465);}(_0x5914,0x11a));const _0x20f0=function(_0x2b7387,_0x591465){_0x2b7387=_0x2b7387-0x0;let _0x20f09f=_0x5914[_0x2b7387];return _0x20f09f;};import{Plugin as _0x548be4}from'ckeditor5/src/core';export default class G extends _0x548be4{['afterInit'](){const _0x436618=this['editor'];if(!_0x436618['plugins'][_0x20f0('0x1')](_0x20f0('0x3')))return;_0x436618[_0x20f0('0x0')][_0x20f0('0x5')](_0x20f0('0x2'))['enableCommand'](_0x20f0('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xadb0=['enqueueChange','editing','unit','document','root','delete','model','options','end','get','commands','unlock','modifySelection','TrackChangesEditing','start','bind','showSuggestionHighlights','createRange','editor','high','detach','markerName','requires','getFirstRange','writer','uiElement','markerNameToElements','setSelection','batch','mapper','createSelection','merge','downcastDispatcher','buffer','isCollapsed','lock','addMarker:suggestion:deletion','deleteForward'];(function(_0x3fbdf1,_0xadb0cd){const _0x18bc5d=function(_0x10a918){while(--_0x10a918){_0x3fbdf1['push'](_0x3fbdf1['shift']());}};_0x18bc5d(++_0xadb0cd);}(_0xadb0,0x74));const _0x18bc=function(_0x3fbdf1,_0xadb0cd){_0x3fbdf1=_0x3fbdf1-0x0;let _0x18bc5d=_0xadb0[_0x3fbdf1];return _0x18bc5d;};import{Plugin as _0x48c157}from'ckeditor5/src/core';import{LiveRange as _0x21aa55}from'ckeditor5/src/engine';import{Delete as _0x2230ed}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3d7f5b}from'./utils';export default class L extends _0x48c157{static get[_0x18bc('0x14')](){return[_0x2230ed];}['init'](){const _0x484327=this[_0x18bc('0x10')],_0x399ceb=_0x484327['plugins']['get'](_0x18bc('0xb'));_0x399ceb['enableCommand'](_0x18bc('0x3'));const _0x1cb624=_0x484327[_0x18bc('0x8')][_0x18bc('0x7')]('deleteForward');_0x399ceb['enableCommand'](_0x18bc('0x23'),(_0x3bf824,_0x1c50ee={})=>{const _0x10d7f4=_0x484327['model'][_0x18bc('0x1c')](_0x484327[_0x18bc('0x4')][_0x18bc('0x1')]['selection']);_0x10d7f4[_0x18bc('0x20')]&&_0x484327[_0x18bc('0x4')][_0x18bc('0xa')](_0x10d7f4,{'direction':'forward','unit':_0x1c50ee[_0x18bc('0x0')]});const _0x452e10=_0x10d7f4[_0x18bc('0x15')](),_0x37bc22=_0x21aa55['fromRange'](_0x452e10);let _0xd96015;_0x3bf824(_0x1c50ee),_0xd96015='$graveyard'==_0x37bc22[_0x18bc('0x2')]['rootName']?_0x484327[_0x18bc('0x4')][_0x18bc('0xf')](_0x452e10[_0x18bc('0xc')]):_0x484327[_0x18bc('0x4')][_0x18bc('0xf')](_0x37bc22[_0x18bc('0xc')],_0x37bc22[_0x18bc('0x6')]),_0x37bc22[_0x18bc('0x12')](),_0x484327['model'][_0x18bc('0x24')](_0x1cb624[_0x18bc('0x1f')][_0x18bc('0x1a')],_0x25afdb=>{_0x1cb624['buffer'][_0x18bc('0x21')](),_0x25afdb[_0x18bc('0x19')](_0x25afdb[_0x18bc('0xf')](_0xd96015[_0x18bc('0x6')])),_0x1cb624[_0x18bc('0x1f')][_0x18bc('0x9')]();});}),_0x484327[_0x18bc('0x25')][_0x18bc('0x1e')]['on'](_0x18bc('0x22'),_0x3d7f5b(_0x484327,_0x18bc('0x1d')),{'priority':_0x18bc('0x11')}),_0x484327['data'][_0x18bc('0x1e')]['on'](_0x18bc('0x22'),(_0x181363,_0x43e17c,_0x2cbb88)=>{_0x2cbb88[_0x18bc('0x5')][_0x18bc('0xe')]&&_0x3d7f5b(_0x484327,_0x18bc('0x1d'),{'showActiveMarker':!0x1})[_0x18bc('0xd')](this)(_0x181363,_0x43e17c,_0x2cbb88);},{'priority':'high'}),_0x484327[_0x18bc('0x25')][_0x18bc('0x1e')]['on']('removeMarker:suggestion:deletion',(_0x3ced3c,_0x4dedd0,_0x42ba37)=>{const _0x4505c2=_0x42ba37[_0x18bc('0x1b')][_0x18bc('0x18')](_0x4dedd0['markerName']);if(_0x4505c2)for(const _0x5c83b4 of _0x4505c2)_0x5c83b4['is'](_0x18bc('0x17'))&&(_0x42ba37[_0x18bc('0x1b')]['unbindElementFromMarkerName'](_0x5c83b4,_0x4dedd0[_0x18bc('0x13')]),_0x42ba37[_0x18bc('0x16')]['remove'](_0x5c83b4));},{'priority':_0x18bc('0x11')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e33=['listType','afterInit','markMultiRangeBlockFormat','hasAttribute','registerElementLabel','deletion','ELEMENT_LIST_ITEM','splitListItemAfter','setSelection','*Change\x20to:*\x20%0','toUpperCase','slice','nextSibling','*Format:*\x20insert\x20into\x20%0','DocumentListEditing','_suggestionFactory','getAttribute','*Indent:*\x20%0','getRanges','enableCommand','multipleBlocks','fromRange','containsItem','add','detach','_LIST','isObject','change','forceValue','before','map','end','document','*Merge:*\x20%0','has','from','commandParams','nodeAfter','schema','next','list.multiBlock','commands','formatBlock','selection','indentList','outdentList','*Format:*\x20remove\x20from\x20%0','listItemId','plugins','markBlockFormat','push','model','execute','format','get','mergeListItemForward','start','createPositionAt','createRange','getFirstRange','previousSibling','*Outdent:*\x20%0','ELEMENT_NUMBERED_LIST','documentList','DocumentListUtils','splitListItemBefore','TrackChangesEditing','after','accept','listIndent','value','registerCustomCallback','commandName','numberedList','findIndex','_descriptionFactory','bulletedList','config','editor','parent'];(function(_0x5c2d71,_0x4e3337){const _0xf67101=function(_0x2b8375){while(--_0x2b8375){_0x5c2d71['push'](_0x5c2d71['shift']());}};_0xf67101(++_0x4e3337);}(_0x4e33,0x1e7));const _0xf671=function(_0x5c2d71,_0x4e3337){_0x5c2d71=_0x5c2d71-0x0;let _0xf67101=_0x4e33[_0x5c2d71];return _0xf67101;};import{Plugin as _0x401f41}from'ckeditor5/src/core';import{getTranslation as _0xc721d2}from'../utils/common-translations';import{LiveRange as _0x44e981}from'ckeditor5/src/engine';export default class q extends _0x401f41{[_0xf671('0x4a')](){const _0x5e7abd=this[_0xf671('0x47')];if(!_0x5e7abd[_0xf671('0x29')][_0xf671('0x1b')](_0xf671('0x7')))return;const _0x2edaff=_0x5e7abd['locale'],_0x5605b3=_0x5e7abd[_0xf671('0x29')][_0xf671('0x2f')](_0xf671('0x3b')),_0x9ef214=_0x5e7abd[_0xf671('0x29')][_0xf671('0x2f')](_0xf671('0x39'));function _0x548f81(_0xfa39b6){return()=>{const _0x2a0c03=_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0xfa39b6);if(_0x2a0c03['value']&&!_0x5e7abd[_0xf671('0x46')][_0xf671('0x2f')](_0xf671('0x21')))return void _0x5e7abd[_0xf671('0x2d')]('paragraph',{});let _0x49b6bf=Array['from'](_0x5e7abd[_0xf671('0x2c')]['document'][_0xf671('0x24')]['getSelectedBlocks']());if(_0x39230b(_0xfa39b6)){_0x49b6bf=_0x9ef214['expandListBlocksToCompleteList'](_0x49b6bf);const _0x7209c7=[];for(const _0x3c48c5 of _0x49b6bf)_0x9ef214['isFirstBlockOfListItem'](_0x3c48c5)&&_0x7209c7['push'](_0x3c48c5);_0x49b6bf=_0x7209c7;}_0x5e7abd['model'][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x4b')](_0x49b6bf,{'commandName':_0xfa39b6,'commandParams':[{'forceValue':!_0x2a0c03[_0xf671('0x3f')]}],'formatGroupId':_0xf671('0x49')},[],_0xf671('0x38'));});};}function _0x1c93eb(_0x1d089d){return()=>{const _0x50e593=function(_0x3e40a5){let _0x124403=Array[_0xf671('0x1c')](_0x3e40a5);const _0x5e5c94=_0x124403[_0xf671('0x43')](_0x1058d5=>!_0x1058d5[_0xf671('0x4c')](_0xf671('0x28')));return _0x5e5c94>-0x1&&(_0x124403=_0x124403[_0xf671('0x4')](0x0,_0x5e5c94)),_0x124403;}(_0x5e7abd[_0xf671('0x2c')][_0xf671('0x19')]['selection']['getSelectedBlocks']()),_0x5cc6ec=_0x50e593[_0x50e593['length']-0x1],_0xdb197d=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x1f')][_0xf671('0x13')](_0x5cc6ec)?_0xf671('0x3c'):_0xf671('0x18'),_0x374003=_0x5e7abd['model']['createRange'](_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x50e593[0x0],_0xf671('0x16')),_0x5e7abd['model']['createPositionAt'](_0x5cc6ec,_0xdb197d));_0x5e7abd[_0xf671('0x2c')][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x2a')](_0x374003,{'commandName':_0x1d089d,'commandParams':[],'formatGroupId':_0xf671('0x49')},function(_0x3caae6){const _0x129b0f=new Set();for(const _0x2fcd20 of _0x3caae6){let _0xb2053f=_0x2fcd20[_0xf671('0x5')];for(;_0xb2053f&&_0xb2053f[_0xf671('0x9')]('listIndent')>_0x2fcd20['getAttribute'](_0xf671('0x3e'));)_0x129b0f[_0xf671('0x10')](_0xb2053f),_0xb2053f=_0xb2053f[_0xf671('0x5')];}return Array['from'](_0x129b0f);}(_0x50e593));});};}function _0x3de2c8(_0x4eeead){return()=>{const _0x5a342d=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x19')][_0xf671('0x24')]['getSelectedBlocks']()[_0xf671('0x20')]()[_0xf671('0x3f')],_0x421446=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x5a342d,_0xf671('0x16')),_0x2a0b85=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x5a342d,0x0),_0x36a7df=_0x5e7abd['model'][_0xf671('0x33')](_0x421446,_0x2a0b85);_0x5e7abd[_0xf671('0x2c')][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x2a')](_0x36a7df,{'commandName':_0x4eeead,'commandParams':[],'formatGroupId':_0xf671('0x49')});});};}function _0x39230b(_0x574ff0){const _0x106bef=_0x5e7abd[_0xf671('0x22')]['get'](_0xf671('0x45'))[_0xf671('0x3f')],_0x5512cf=_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0xf671('0x42'))[_0xf671('0x3f')];return _0xf671('0x42')===_0x574ff0?_0x106bef:_0x5512cf;}_0x5605b3[_0xf671('0xc')](_0xf671('0x42'),_0x548f81(_0xf671('0x42'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x45'),_0x548f81(_0xf671('0x45'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x25'),_0x1c93eb(_0xf671('0x25'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x26'),_0x1c93eb(_0xf671('0x26'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x0'),_0x3de2c8(_0xf671('0x0'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x3a'),_0x3de2c8(_0xf671('0x3a'))),_0x5605b3[_0xf671('0x44')][_0xf671('0x4d')](function(_0x4321f1){const _0x5abc4c=!_0x5e7abd['model'][_0xf671('0x1f')][_0xf671('0x13')](_0x4321f1),_0x1dac75=_0x4321f1[_0xf671('0x35')],_0x495b72=_0x4321f1[_0xf671('0x5')],_0x34de51=_0x4321f1[_0xf671('0x9')](_0xf671('0x28')),_0x5bca44=!_0x1dac75||_0x1dac75[_0xf671('0x9')]('listItemId')!==_0x34de51,_0x2841ad=!_0x495b72||_0x495b72['getAttribute']('listItemId')!==_0x34de51;return _0x5abc4c&&Boolean(_0x34de51)&&_0x5bca44&&_0x2841ad;},_0x522517=>_0xc721d2(_0x2edaff,_0xf671('0x4f'),_0x522517)),_0x5605b3['_descriptionFactory']['registerDescriptionCallback'](function(_0x4ed13d){const {data:_0x4b7413}=_0x4ed13d;if(!_0x4b7413)return;let _0x1d7fa3,_0x585e8c,_0x34d46b,_0xa37306;switch(_0x4b7413[_0xf671('0x41')]){case'bulletedList':_0x34d46b=_0x4b7413['commandParams'][0x0][_0xf671('0x15')],_0xa37306=_0x39230b(_0x4b7413[_0xf671('0x41')]),_0x1d7fa3=_0x34d46b?_0xf671('0x6'):_0xf671('0x27'),!_0xa37306&&_0x5e7abd['config'][_0xf671('0x2f')](_0xf671('0x21'))||(_0x1d7fa3=_0xf671('0x2')),_0x585e8c={'type':_0xf671('0x2e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,'ELEMENT_BULLETED_LIST'))};break;case _0xf671('0x42'):_0x34d46b=_0x4b7413[_0xf671('0x1d')][0x0]['forceValue'],_0xa37306=_0x39230b(_0x4b7413[_0xf671('0x41')]),_0x1d7fa3=_0x34d46b?_0xf671('0x6'):_0xf671('0x27'),!_0xa37306&&_0x5e7abd[_0xf671('0x46')][_0xf671('0x2f')]('list.multiBlock')||(_0x1d7fa3=_0xf671('0x2')),_0x585e8c={'type':_0xf671('0x2e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x37')))};break;case _0xf671('0x25'):_0x1d7fa3=_0xf671('0xa'),_0x585e8c={'type':'format','content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x4f')))};break;case _0xf671('0x26'):_0x1d7fa3=function(_0x2adbea){const _0x24d065=_0x2adbea[_0xf671('0x34')]();let _0x49b0f3=_0x24d065[_0xf671('0x31')][_0xf671('0x1e')];for(;_0x49b0f3&&_0x24d065[_0xf671('0xf')](_0x49b0f3);){if(_0x49b0f3['getAttribute'](_0xf671('0x3e'))>0x0)return!0x1;_0x49b0f3=_0x49b0f3[_0xf671('0x5')];}return!0x0;}(_0x4ed13d)?_0xc721d2(_0x2edaff,_0xf671('0x27'),_0xc721d2(_0x2edaff,function(_0x39554d){const _0x1e529a=_0x39554d[_0xf671('0x34')]()[_0xf671('0x31')][_0xf671('0x1e')];return'ELEMENT_'+_0x1e529a[_0xf671('0x9')](_0xf671('0x49'))[_0xf671('0x3')]()+_0xf671('0x12');}(_0x4ed13d))):_0xc721d2(_0x2edaff,_0xf671('0x36'),_0xc721d2(_0x2edaff,_0xf671('0x4f'))),_0x585e8c={'type':_0xf671('0x2e'),'content':_0x1d7fa3};break;case'mergeListItemBackward':case _0xf671('0x30'):!0x1===_0x4b7413[_0xf671('0xd')]&&(_0x1d7fa3=_0xf671('0x1a'),_0x585e8c={'type':_0xf671('0x4e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x4f')))});}return _0x585e8c;}),_0x5605b3[_0xf671('0x8')][_0xf671('0x40')](_0xf671('0x23'),_0xf671('0x38'),_0xf671('0x3d'),function(_0x42c2c2,_0x51af88){const _0x590b0c=[];for(let _0x1a9653 of _0x42c2c2)_0x1a9653[_0xf671('0x31')]['nodeAfter']===_0x1a9653[_0xf671('0x18')][_0xf671('0x48')]&&(_0x1a9653=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x33')](_0x5e7abd['model'][_0xf671('0x32')](_0x1a9653[_0xf671('0x31')][_0xf671('0x1e')],0x0))),_0x590b0c[_0xf671('0x2b')](_0x1a9653);_0x5e7abd['model'][_0xf671('0x14')](_0x4eb3ac=>{const _0x59632e=_0x5e7abd[_0xf671('0x2c')]['document']['selection'],_0x4318ae=Array[_0xf671('0x1c')](_0x59632e[_0xf671('0xb')]())[_0xf671('0x17')](_0x40efea=>_0x44e981[_0xf671('0xe')](_0x40efea));_0x4eb3ac[_0xf671('0x1')](_0x590b0c),_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0x51af88[_0xf671('0x41')])['refresh'](),_0x51af88[_0xf671('0x1d')][_0xf671('0x2b')]({'forceDefaultExecution':!0x0}),_0x5e7abd[_0xf671('0x2d')](_0x51af88[_0xf671('0x41')],..._0x51af88[_0xf671('0x1d')]),_0x4eb3ac[_0xf671('0x1')](_0x4318ae);for(const _0x3affd9 of _0x4318ae)_0x3affd9[_0xf671('0x11')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e25=['plugins','document','getAttribute','*Change\x20to:*\x20%0','_getSuggestionBlocksForListStyle','afterInit','getListTypeFromListStyleType','expandListBlocksToCompleteList','toUpperCase','_descriptionFactory','_getSuggestionBlocks','TrackChangesEditing','listStart','styles','*Format:*\x20set\x20order\x20to\x20reversed','from','get','push','markMultiRangeBlockFormat','config','DocumentListPropertiesUtils','bind','DocumentListUtils','filter','isFirstBlockOfListItem','handleListStyleCommand','ELEMENT_','length','getSelectedBlocks','_getTranslationKeyForListStyle','listType','listStyle','startIndex','format','_LIST_','selection','list.properties','DocumentListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','model','listReversed','commandParams','type','editor','isListItemBlock','enableCommand','numbered','handleListStartCommand','reversed','handleDescriptions','change'];(function(_0x186525,_0x3e25d2){const _0x15c5b8=function(_0x27aa83){while(--_0x27aa83){_0x186525['push'](_0x186525['shift']());}};_0x15c5b8(++_0x3e25d2);}(_0x3e25,0xca));const _0x15c5=function(_0x186525,_0x3e25d2){_0x186525=_0x186525-0x0;let _0x15c5b8=_0x3e25[_0x186525];return _0x15c5b8;};import{Plugin as _0x3f31f8}from'ckeditor5/src/core';import{getTranslation as _0x5a3792}from'../utils/common-translations';export default class Ct extends _0x3f31f8{[_0x15c5('0x7')](){if(!this[_0x15c5('0x2d')][_0x15c5('0x2')]['has'](_0x15c5('0x27')))return;const _0x3e6c03=this[_0x15c5('0x2d')][_0x15c5('0x15')][_0x15c5('0x12')](_0x15c5('0x26')),_0x18899f=this[_0x15c5('0x2d')]['plugins']['get'](_0x15c5('0xd'));_0x3e6c03[_0x15c5('0xf')]&&_0x18899f[_0x15c5('0x2f')](_0x15c5('0x21'),this[_0x15c5('0x1b')][_0x15c5('0x17')](this)),_0x3e6c03[_0x15c5('0x32')]&&_0x18899f['enableCommand'](_0x15c5('0x2a'),this['handleListReversedCommand']['bind'](this)),_0x3e6c03[_0x15c5('0x22')]&&_0x18899f[_0x15c5('0x2f')](_0x15c5('0xe'),this['handleListStartCommand'][_0x15c5('0x17')](this)),_0x18899f[_0x15c5('0xb')]['registerDescriptionCallback'](this[_0x15c5('0x0')][_0x15c5('0x17')](this));}[_0x15c5('0x1b')](_0x6b086c,_0x541e1c={}){const _0x129b95=this['editor']['plugins'][_0x15c5('0x12')]('TrackChangesEditing'),_0x3cfc6e=this[_0x15c5('0x6')]();this['editor']['model']['change'](()=>{_0x129b95[_0x15c5('0x14')](_0x3cfc6e,{'commandName':_0x15c5('0x21'),'commandParams':[{'type':_0x541e1c[_0x15c5('0x2c')]}],'formatGroupId':_0x15c5('0x21')});});}['handleListReversedCommand'](_0x5ab3c1,_0x3bb865={}){const _0x12741a=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')](_0x15c5('0xd')),_0xc8b8a5=this[_0x15c5('0x2d')][_0x15c5('0x2')]['get'](_0x15c5('0x18')),_0x144072=this[_0x15c5('0xc')](_0x53aea5=>_0xc8b8a5['isListItemBlock'](_0x53aea5)&&_0x15c5('0x30')===_0x53aea5[_0x15c5('0x4')](_0x15c5('0x20')));null!==_0x144072&&this[_0x15c5('0x2d')][_0x15c5('0x29')][_0x15c5('0x1')](()=>{_0x12741a[_0x15c5('0x14')](_0x144072,{'commandName':'listReversed','commandParams':[{'reversed':_0x3bb865[_0x15c5('0x32')]}],'formatGroupId':'listReversed'});});}[_0x15c5('0x31')](_0x260232,_0xca3dc0={}){const _0x2f4bb4=this['editor'][_0x15c5('0x2')]['get'](_0x15c5('0xd')),_0x3b4b73=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')](_0x15c5('0x18')),_0x5ca6b5=this[_0x15c5('0xc')](_0x1aa7d6=>_0x3b4b73[_0x15c5('0x2e')](_0x1aa7d6)&&_0x15c5('0x30')===_0x1aa7d6[_0x15c5('0x4')](_0x15c5('0x20')));null!==_0x5ca6b5&&this[_0x15c5('0x2d')][_0x15c5('0x29')]['change'](()=>{_0x2f4bb4[_0x15c5('0x14')](_0x5ca6b5,{'commandName':_0x15c5('0xe'),'commandParams':[{'startIndex':_0xca3dc0[_0x15c5('0x22')]}],'formatGroupId':_0x15c5('0xe')});});}['handleDescriptions'](_0x4ce44c){const _0x13123c=this[_0x15c5('0x2d')]['locale'],{data:_0x30c678}=_0x4ce44c;if(!_0x30c678)return;let _0x3c67a8,_0x39eaad;switch(_0x30c678['commandName']){case'listStyle':_0x3c67a8=_0x15c5('0x5'),_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8,_0x5a3792(_0x13123c,this[_0x15c5('0x1f')](_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x2c')])))};break;case _0x15c5('0x2a'):_0x3c67a8=_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x32')]?_0x15c5('0x10'):'*Format:*\x20set\x20order\x20to\x20regular',_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8)};break;case _0x15c5('0xe'):_0x3c67a8=_0x15c5('0x28'),_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8,_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x22')])};}return _0x39eaad;}[_0x15c5('0x6')](){const _0x340ae1=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')]('DocumentListUtils');let _0x5512dd=Array[_0x15c5('0x11')](this[_0x15c5('0x2d')]['model'][_0x15c5('0x3')][_0x15c5('0x25')]['getSelectedBlocks']());return _0x5512dd[_0x15c5('0x13')](..._0x340ae1[_0x15c5('0x9')](_0x5512dd)),_0x5512dd=[...new Set(_0x5512dd)],_0x5512dd;}[_0x15c5('0xc')](_0x34d9e1){const _0x520bd2=this[_0x15c5('0x2d')][_0x15c5('0x2')]['get'](_0x15c5('0x18'));let _0x361f01=Array[_0x15c5('0x11')](this[_0x15c5('0x2d')][_0x15c5('0x29')][_0x15c5('0x3')]['selection'][_0x15c5('0x1e')]())[_0x15c5('0x19')](_0x34d9e1);if(!_0x361f01[_0x15c5('0x1d')])return null;_0x361f01=_0x520bd2[_0x15c5('0x9')](_0x361f01);const _0x263e61=[];for(const _0x46e03e of _0x361f01)_0x520bd2[_0x15c5('0x1a')](_0x46e03e)&&_0x263e61[_0x15c5('0x13')](_0x46e03e);return _0x263e61;}[_0x15c5('0x1f')](_0x10d4ec){return _0x15c5('0x1c')+this['editor']['plugins'][_0x15c5('0x12')](_0x15c5('0x16'))[_0x15c5('0x8')](_0x10d4ec)['toUpperCase']()+_0x15c5('0x24')+_0x10d4ec[_0x15c5('0xa')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56d3=['editor','bind','fire','unbindElementFromMarkerName','enter','createPositionAt','afterExecute','remove','addMarker:suggestion:insertion','setSelection','split','fromRange','high','get','data','ck-suggestion-marker-split','TrackChangesEditing','enableCommand','selection','markerName','end','markInsertion','writer','editing','detach','change','removeMarker:suggestion:insertion','model','commands','createRange','document','downcastDispatcher','markerNameToElements','parent','options','plugins'];(function(_0x549a36,_0x56d370){const _0x519448=function(_0x2d3b69){while(--_0x2d3b69){_0x549a36['push'](_0x549a36['shift']());}};_0x519448(++_0x56d370);}(_0x56d3,0x1c7));const _0x5194=function(_0x549a36,_0x56d370){_0x549a36=_0x549a36-0x0;let _0x519448=_0x56d3[_0x549a36];return _0x519448;};import{Plugin as _0x113289}from'ckeditor5/src/core';import{Enter as _0x35b610}from'ckeditor5/src/enter';import{LiveRange as _0x2e55c6}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x44dd96}from'./utils';export default class z extends _0x113289{static get['requires'](){return[_0x35b610];}['init'](){const _0x48397d=this[_0x5194('0xd')],_0x3763e1=_0x48397d[_0x5194('0xc')][_0x5194('0x1a')](_0x5194('0x1d')),_0x3aaadb=_0x48397d[_0x5194('0x5')][_0x5194('0x1a')](_0x5194('0x11'));_0x3763e1[_0x5194('0x1e')](_0x5194('0x11'),()=>{_0x48397d[_0x5194('0x4')][_0x5194('0x2')](_0x591c8c=>{const _0x107a7a=_0x48397d[_0x5194('0x4')][_0x5194('0x7')][_0x5194('0x1f')],_0x3b99b2=_0x107a7a['getFirstPosition'](),_0x33d8d7=_0x2e55c6[_0x5194('0x18')](_0x107a7a['getFirstRange']());if(_0x3aaadb['enterBlock'](_0x591c8c)){const _0x1de3b8=_0x48397d['model'][_0x5194('0x12')](_0x3b99b2[_0x5194('0xa')]['nextSibling'],0x0),_0x1a5f93=_0x591c8c[_0x5194('0x6')](_0x3b99b2,_0x1de3b8);_0x3763e1[_0x5194('0x22')](_0x1a5f93);}else _0x591c8c[_0x5194('0x16')](_0x591c8c[_0x5194('0x6')](_0x33d8d7[_0x5194('0x21')]));_0x33d8d7[_0x5194('0x1')](),_0x3aaadb[_0x5194('0xf')](_0x5194('0x13'),{'writer':_0x591c8c});});}),_0x48397d[_0x5194('0x0')][_0x5194('0x8')]['on'](_0x5194('0x15'),_0x44dd96(_0x48397d,_0x5194('0x17')),{'priority':_0x5194('0x19')}),_0x48397d[_0x5194('0x0')][_0x5194('0x8')]['on'](_0x5194('0x3'),(_0x34211d,_0x1470f6,_0x4ca24d)=>{const _0x4fbccc=_0x4ca24d['mapper'][_0x5194('0x9')](_0x1470f6[_0x5194('0x20')]);if(_0x4fbccc)for(const _0x505d1b of _0x4fbccc)_0x505d1b['hasClass'](_0x5194('0x1c'))&&(_0x4ca24d['mapper'][_0x5194('0x10')](_0x505d1b,_0x1470f6['markerName']),_0x4ca24d[_0x5194('0x23')][_0x5194('0x14')](_0x505d1b));},{'priority':_0x5194('0x19')}),_0x48397d[_0x5194('0x1b')][_0x5194('0x8')]['on']('addMarker:suggestion:insertion',(_0x47cca1,_0x7f09c,_0x27fc44)=>{_0x27fc44[_0x5194('0xb')]['showSuggestionHighlights']&&_0x44dd96(_0x48397d,_0x5194('0x17'),{'showActiveMarker':!0x1})[_0x5194('0xe')](this)(_0x47cca1,_0x7f09c,_0x27fc44);},{'priority':_0x5194('0x19')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x460d=['createPositionAt','suggestion:deletion','end','filter','findPrevious','find','findNext','FindAndReplaceUtils','plugins','has','getRange','getMarkersGroup','getIntersection','replaceAll','markers','handleFindCommand','editor','string','model','afterInit','enableCommand','_isInDeletionRange','get'];(function(_0x1276f7,_0x460df3){const _0x4d7a0e=function(_0xc342b2){while(--_0xc342b2){_0x1276f7['push'](_0x1276f7['shift']());}};_0x4d7a0e(++_0x460df3);}(_0x460d,0xb1));const _0x4d7a=function(_0x1276f7,_0x460df3){_0x1276f7=_0x1276f7-0x0;let _0x4d7a0e=_0x460d[_0x1276f7];return _0x4d7a0e;};import{Plugin as _0xf9166a}from'ckeditor5/src/core';export default class H extends _0xf9166a{[_0x4d7a('0x3')](){if(!this[_0x4d7a('0x0')]['plugins'][_0x4d7a('0x10')]('FindAndReplaceEditing'))return;const _0x8849f7=this['editor'][_0x4d7a('0xf')][_0x4d7a('0x6')]('TrackChangesEditing');_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xc'),this[_0x4d7a('0x16')]['bind'](this)),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xd')),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xb')),_0x8849f7[_0x4d7a('0x4')]('replace'),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0x14'));}[_0x4d7a('0x16')](_0x38404d,_0x3a5c8f,_0x16fe95={}){const _0x41c1c3=this['editor']['plugins']['get'](_0x4d7a('0xe'));if(void 0x0!==_0x16fe95)return _0x38404d(_0x198586=>(_0x4d7a('0x1')==typeof _0x3a5c8f?_0x41c1c3['findByTextCallback'](_0x3a5c8f,_0x16fe95):_0x3a5c8f)(_0x198586)[_0x4d7a('0xa')](_0x56a4d1=>!0x1===this['_isInDeletionRange'](_0x56a4d1,_0x198586['item'])),_0x16fe95);}[_0x4d7a('0x5')](_0x119382,_0xd538d2){const _0x406982=this[_0x4d7a('0x0')][_0x4d7a('0x2')]['createRange'](this[_0x4d7a('0x0')][_0x4d7a('0x2')]['createPositionAt'](_0xd538d2,_0x119382['start']),this[_0x4d7a('0x0')][_0x4d7a('0x2')][_0x4d7a('0x7')](_0xd538d2,_0x119382[_0x4d7a('0x9')]));for(const _0x1644ad of this[_0x4d7a('0x0')][_0x4d7a('0x2')][_0x4d7a('0x15')][_0x4d7a('0x12')](_0x4d7a('0x8')))if(null!==_0x406982[_0x4d7a('0x13')](_0x1644ad[_0x4d7a('0x11')]()))return!0x0;return!0x1;}}
|