@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231012.0 → 0.0.0-nightly-20231013.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.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-20231013.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-20231013.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231013.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 _0xd4f9=['model','isEnabled','_isEnabledBasedOnSelection','refresh','track-changes-accept-suggestion-not-found','_suggestions','canEditAt','get','plugins','getRanges'];(function(_0x19e748,_0xd4f901){const _0x5b1957=function(_0x2a7e70){while(--_0x2a7e70){_0x19e748['push'](_0x19e748['shift']());}};_0x5b1957(++_0xd4f901);}(_0xd4f9,0xd0));const _0x5b19=function(_0x19e748,_0xd4f901){_0x19e748=_0x19e748-0x0;let _0x5b1957=_0xd4f9[_0x19e748];return _0x5b1957;};import{Command as _0x4746ba}from'ckeditor5/src/core';import{CKEditorError as _0x3f6b88}from'ckeditor5/src/utils';export default class M extends _0x4746ba{constructor(_0x3191b8,_0x588c92){super(_0x3191b8),this[_0x5b19('0x7')]=_0x588c92,this['refresh'](),this[_0x5b19('0x4')]=!0x1;}[_0x5b19('0x5')](){this[_0x5b19('0x3')]=!0x0;}['execute'](_0x229282){const _0x26b7ed=this[_0x5b19('0x7')]['get'](_0x229282);if(!_0x26b7ed)throw new _0x3f6b88(_0x5b19('0x6'),this);const _0x3ca419=_0x26b7ed[_0x5b19('0x1')]();this['editor'][_0x5b19('0x2')][_0x5b19('0x8')](_0x3ca419)&&this['editor'][_0x5b19('0x0')][_0x5b19('0x9')]('TrackChangesEditing')['acceptSuggestion'](_0x26b7ed);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x392a=['track-changes-discard-suggestion-not-found','editor','plugins','TrackChangesEditing','get','discardSuggestion','refresh','isEnabled','canEditAt'];(function(_0x15ff35,_0x392a90){const _0x2d441b=function(_0x28e430){while(--_0x28e430){_0x15ff35['push'](_0x15ff35['shift']());}};_0x2d441b(++_0x392a90);}(_0x392a,0x69));const _0x2d44=function(_0x15ff35,_0x392a90){_0x15ff35=_0x15ff35-0x0;let _0x2d441b=_0x392a[_0x15ff35];return _0x2d441b;};import{Command as _0x39527e}from'ckeditor5/src/core';import{CKEditorError as _0x3a9f81}from'ckeditor5/src/utils';export default class $ extends _0x39527e{constructor(_0x5d4ec3,_0x1ac087){super(_0x5d4ec3),this['_suggestions']=_0x1ac087,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2d44('0x0')](){this[_0x2d44('0x1')]=!0x0;}['execute'](_0x50b389){const _0x5d8b4f=this['_suggestions'][_0x2d44('0x7')](_0x50b389);if(!_0x5d8b4f)throw new _0x3a9f81(_0x2d44('0x3'),this);const _0x2ad604=_0x5d8b4f['getRanges']();this[_0x2d44('0x4')]['model'][_0x2d44('0x2')](_0x2ad604)&&this[_0x2d44('0x4')][_0x2d44('0x5')][_0x2d44('0x7')](_0x2d44('0x6'))[_0x2d44('0x8')](_0x5d8b4f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa261=['isInContent','values','editor','_suggestions','model','some','canEditAt','isEnabled','_command'];(function(_0x5d1fad,_0xa2613d){const _0x5a3b35=function(_0x3d826b){while(--_0x3d826b){_0x5d1fad['push'](_0x5d1fad['shift']());}};_0x5a3b35(++_0xa2613d);}(_0xa261,0x1eb));const _0x5a3b=function(_0x5d1fad,_0xa2613d){_0x5d1fad=_0x5d1fad-0x0;let _0x5a3b35=_0xa261[_0x5d1fad];return _0x5a3b35;};import{Command as _0x9acb48}from'ckeditor5/src/core';import{sortSuggestions as _0x43d1ca,executeCommandForSuggestions as _0x202042}from'../utils/utils';export default class N extends _0x9acb48{constructor(_0x519b9b,_0x4efb25,_0xdaf90e){super(_0x519b9b),this[_0x5a3b('0x3')]=_0x4efb25,this[_0x5a3b('0x7')]=_0xdaf90e,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x31b878=Array['from'](this['_suggestions']['values']())[_0x5a3b('0x0')](_0x42739b=>_0x42739b[_0x5a3b('0x4')]);this[_0x5a3b('0x2')]=this[_0x5a3b('0x3')][_0x5a3b('0x2')]&&_0x31b878;}['execute'](){const _0x1c08e9=_0x43d1ca(Array['from'](this[_0x5a3b('0x7')][_0x5a3b('0x5')]()));for(const _0x1db432 of _0x1c08e9){const _0x433f2=_0x1db432['getRanges']();if(!this[_0x5a3b('0x6')][_0x5a3b('0x8')][_0x5a3b('0x1')](_0x433f2))return;}_0x202042(this['editor'][_0x5a3b('0x8')],this[_0x5a3b('0x3')],_0x1c08e9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x409d=['_selectedSuggestions','editor','size','getRanges','values','model','_suggestions','canEditAt','from','_command','isEnabled','selection','execute','document'];(function(_0x12c53f,_0x409db5){const _0x599114=function(_0x40e0d3){while(--_0x40e0d3){_0x12c53f['push'](_0x12c53f['shift']());}};_0x599114(++_0x409db5);}(_0x409d,0xb2));const _0x5991=function(_0x12c53f,_0x409db5){_0x12c53f=_0x12c53f-0x0;let _0x599114=_0x409d[_0x12c53f];return _0x599114;};import{Command as _0x1a5e1e}from'ckeditor5/src/core';import{sortSuggestions as _0x4d2809,getSelectedSuggestions as _0x5c4ddf,executeCommandForSuggestions as _0x26b76d}from'../utils/utils';export default class R extends _0x1a5e1e{constructor(_0x32282b,_0x19a484,_0x3024c1){super(_0x32282b),this[_0x5991('0xd')]=_0x19a484,this[_0x5991('0xa')]=_0x3024c1,this[_0x5991('0x4')]=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5b4568=this[_0x5991('0x5')][_0x5991('0x9')][_0x5991('0x3')][_0x5991('0x1')],_0x37548f=Array[_0x5991('0xc')](this['_suggestions'][_0x5991('0x8')]());this[_0x5991('0x4')]=_0x5c4ddf(_0x5b4568,_0x37548f),this[_0x5991('0x0')]=this[_0x5991('0xd')][_0x5991('0x0')]&&!!this[_0x5991('0x4')][_0x5991('0x6')];}[_0x5991('0x2')](){const _0x5d2af6=_0x4d2809(Array[_0x5991('0xc')](this[_0x5991('0x4')]));for(const _0x43eaa9 of _0x5d2af6){const _0x24fd40=_0x43eaa9[_0x5991('0x7')]();if(!this[_0x5991('0x5')][_0x5991('0x9')][_0x5991('0xb')](_0x24fd40))return;}_0x26b76d(this[_0x5991('0x5')]['model'],this['_command'],_0x5d2af6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15db=['refresh','_disableUnsupportedCommands','clearForceDisabled','_isEnabledBasedOnSelection','TrackChangesCommand','execute','value','commands','isEnabled','affectsData','forceDisabled','has','_enabledCommands','editor'];(function(_0x474dcc,_0x15db65){const _0x321b50=function(_0x2a408e){while(--_0x2a408e){_0x474dcc['push'](_0x474dcc['shift']());}};_0x321b50(++_0x15db65);}(_0x15db,0x18f));const _0x321b=function(_0x474dcc,_0x15db65){_0x474dcc=_0x474dcc-0x0;let _0x321b50=_0x15db[_0x474dcc];return _0x321b50;};import{Command as _0x556ca1}from'ckeditor5/src/core';export default class _ extends _0x556ca1{constructor(_0x57ccde,_0x360858){super(_0x57ccde),this[_0x321b('0x5')]=_0x360858,this['value']=!0x1,this[_0x321b('0x7')](),this[_0x321b('0xa')]=!0x1;}[_0x321b('0x7')](){this[_0x321b('0x1')]=!0x0;}[_0x321b('0xc')](){this[_0x321b('0xd')]=!this[_0x321b('0xd')],this[_0x321b('0xd')]?this[_0x321b('0x8')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x5d053f of this['editor'][_0x321b('0x0')][_0x321b('0x0')]())_0x5d053f[_0x321b('0x2')]&&!this[_0x321b('0x5')][_0x321b('0x4')](_0x5d053f)&&_0x5d053f[_0x321b('0x3')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x1c927a of this[_0x321b('0x6')][_0x321b('0x0')][_0x321b('0x0')]())_0x1c927a['affectsData']&&!this[_0x321b('0x5')]['has'](_0x1c927a)&&_0x1c927a[_0x321b('0x9')](_0x321b('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6586=['afterInit','editor','get','commands','plugins','showAIAssistant','TrackChangesEditing'];(function(_0x7f18c2,_0x65866b){const _0x5820fb=function(_0x19dc93){while(--_0x19dc93){_0x7f18c2['push'](_0x7f18c2['shift']());}};_0x5820fb(++_0x65866b);}(_0x6586,0x85));const _0x5820=function(_0x7f18c2,_0x65866b){_0x7f18c2=_0x7f18c2-0x0;let _0x5820fb=_0x6586[_0x7f18c2];return _0x5820fb;};import{Plugin as _0x3ff084}from'ckeditor5/src/core';export default class j extends _0x3ff084{[_0x5820('0x0')](){const _0x127cf1=this[_0x5820('0x1')],_0x33ebe6=_0x127cf1[_0x5820('0x4')]['get'](_0x5820('0x6'));_0x127cf1[_0x5820('0x3')][_0x5820('0x2')](_0x5820('0x5'))&&_0x33ebe6['enableCommand'](_0x5820('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a7a=['TrackChangesEditing','center','commandName','get','AlignmentEditing','markBlockFormat','left','locale','format','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','ltr','filter','from','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','has','model','alignment','_descriptionFactory','FORMAT_ALIGN_TO_RIGHT','editor','FORMAT_JUSTIFY_TEXT','getSelectedBlocks','plugins','checkAttribute','contentLanguageDirection','getAttribute','value','selection','schema','commandParams'];(function(_0x458a5f,_0x3a7a32){const _0x3f2690=function(_0x284bac){while(--_0x284bac){_0x458a5f['push'](_0x458a5f['shift']());}};_0x3f2690(++_0x3a7a32);}(_0x3a7a,0x76));const _0x3f26=function(_0x458a5f,_0x3a7a32){_0x458a5f=_0x458a5f-0x0;let _0x3f2690=_0x3a7a[_0x458a5f];return _0x3f2690;};import{Plugin as _0x58ec70}from'ckeditor5/src/core';import{getTranslation as _0x18388e}from'../utils/common-translations';export default class x extends _0x58ec70{['afterInit'](){const _0x332ddc=this[_0x3f26('0x1f')],_0x428fe9=_0x332ddc[_0x3f26('0x11')];if(!_0x332ddc[_0x3f26('0x2')][_0x3f26('0x1a')](_0x3f26('0xe')))return;const _0x480c5c=_0x332ddc['plugins'][_0x3f26('0xd')](_0x3f26('0xa'));_0x480c5c['enableCommand'](_0x3f26('0x1c'),(_0x322b04,_0x45fb33={})=>{let _0x46dea3=_0x45fb33[_0x3f26('0x6')];_0x45fb33[_0x3f26('0x6')]||(_0x46dea3=_0x3f26('0x15')===_0x332ddc[_0x3f26('0x11')][_0x3f26('0x4')]?_0x3f26('0x10'):'right');const _0x1217e8=Array[_0x3f26('0x17')](this[_0x3f26('0x1f')][_0x3f26('0x1b')]['document'][_0x3f26('0x7')][_0x3f26('0x1')]())[_0x3f26('0x16')](_0x5136ba=>function(_0xf9bcd8,_0x37a595,_0x4c0092){const _0x386e7c=_0xf9bcd8[_0x3f26('0x5')]('alignment')||null;return _0x37a595[_0x3f26('0x3')](_0xf9bcd8,_0x3f26('0x1c'))&&_0x4c0092!=_0x386e7c;}(_0x5136ba,this['editor'][_0x3f26('0x1b')][_0x3f26('0x8')],_0x46dea3));_0x332ddc[_0x3f26('0x1b')]['change'](()=>{for(const _0x43568f of _0x1217e8)_0x480c5c[_0x3f26('0xf')](_0x43568f,{'commandName':_0x3f26('0x1c'),'commandParams':[{'value':_0x46dea3}]});});}),_0x480c5c[_0x3f26('0x1d')][_0x3f26('0x18')](_0x1eb983=>{const {data:_0x3d6f76}=_0x1eb983;if(_0x3d6f76&&'alignment'==_0x3d6f76[_0x3f26('0xc')]){const _0xf81123=_0x3d6f76[_0x3f26('0x9')][0x0][_0x3f26('0x6')];return{'type':_0x3f26('0x12'),'content':_0x18388e(_0x428fe9,_0x3f26('0x13'),function(_0x5a4b99){switch(_0x5a4b99){case'left':return _0x18388e(_0x428fe9,_0x3f26('0x19'));case'right':return _0x18388e(_0x428fe9,_0x3f26('0x1e'));case _0x3f26('0xb'):return _0x18388e(_0x428fe9,_0x3f26('0x14'));case'justify':return _0x18388e(_0x428fe9,_0x3f26('0x0'));}}(_0xf81123))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f9f=['CodeEditing','document','forceValue','SubscriptEditing','commandName','FORMAT_SUPERSCRIPT','get','change','FORMAT_BOLD','has','isCollapsed','FORMAT_SUBSCRIPT','FORMAT_CODE','superscript','commands','FORMAT_ITALIC','subscript','bold','from','UnderlineEditing','format','italic','*Format:*\x20%0','code','BoldEditing','StrikethroughEditing','editor','locale','registerDescriptionCallback','FORMAT_STRIKETHROUGH','markInlineFormat','value','plugins','SuperscriptEditing','*Remove\x20format:*\x20%0','afterInit','getRanges','underline','toLowerCase','FORMAT_UNDERLINE'];(function(_0x1715aa,_0x1f9fe3){const _0x417237=function(_0x332418){while(--_0x332418){_0x1715aa['push'](_0x1715aa['shift']());}};_0x417237(++_0x1f9fe3);}(_0x1f9f,0xc5));const _0x4172=function(_0x1715aa,_0x1f9fe3){_0x1715aa=_0x1715aa-0x0;let _0x417237=_0x1f9f[_0x1715aa];return _0x417237;};import{Plugin as _0x4c66a3}from'ckeditor5/src/core';import{getTranslation as _0x4f1bc6}from'../utils/common-translations';import{getRangesWithAttribute as _0x1d68e7}from'./utils';const Zt=[_0x4172('0x1b'),'ItalicEditing',_0x4172('0x16'),_0x4172('0x3'),_0x4172('0x1c'),_0x4172('0x6'),_0x4172('0x24')];export default class U extends _0x4c66a3{[_0x4172('0x26')](){const _0x43f3ee=this[_0x4172('0x1d')],_0x53bca6=_0x43f3ee['model'],_0x233361=_0x43f3ee[_0x4172('0x23')]['get']('TrackChangesEditing'),_0x575f8c=_0x43f3ee[_0x4172('0x1e')];for(const _0x267d94 of Zt){if(!_0x43f3ee[_0x4172('0x23')][_0x4172('0xc')](_0x267d94))continue;const _0x155008=_0x267d94['slice'](0x0,-0x7)[_0x4172('0x1')](),_0x27a882=_0x43f3ee[_0x4172('0x11')][_0x4172('0x9')](_0x155008);_0x233361['enableCommand'](_0x155008,(_0x5a4fdf,_0x38a33e={})=>{const _0x1f5bcd=_0x53bca6[_0x4172('0x4')]['selection'];if(_0x1f5bcd[_0x4172('0xd')])return void _0x5a4fdf(_0x38a33e);const _0x17799a=void 0x0!==_0x38a33e['forceValue']?_0x38a33e[_0x4172('0x5')]:!_0x27a882[_0x4172('0x22')];_0x53bca6[_0x4172('0xa')](()=>{const _0x48e5d2=Array[_0x4172('0x15')](_0x1f5bcd[_0x4172('0x27')]());for(const _0x30d03b of _0x48e5d2){const _0x5c9fa4=_0x17799a?[_0x30d03b]:_0x1d68e7(_0x155008,_0x30d03b,_0x53bca6);for(const _0x2e933f of _0x5c9fa4)_0x233361[_0x4172('0x21')](_0x2e933f,{'commandName':_0x155008,'commandParams':[{'forceValue':_0x17799a}]});}});});}function _0x190b11(_0x17849d,_0x266f2e){_0x233361['_descriptionFactory'][_0x4172('0x1f')](_0x31233c=>{const {data:_0x5a0d24}=_0x31233c;if(_0x5a0d24&&_0x5a0d24[_0x4172('0x7')]===_0x17849d)return _0x5a0d24['commandParams'][0x0][_0x4172('0x5')]?{'type':_0x4172('0x17'),'content':_0x4f1bc6(_0x575f8c,_0x4172('0x19'),_0x266f2e)}:{'type':_0x4172('0x17'),'content':_0x4f1bc6(_0x575f8c,_0x4172('0x25'),_0x266f2e)};});}_0x190b11(_0x4172('0x14'),_0x4f1bc6(_0x575f8c,_0x4172('0xb'))),_0x190b11(_0x4172('0x18'),_0x4f1bc6(_0x575f8c,_0x4172('0x12'))),_0x190b11(_0x4172('0x0'),_0x4f1bc6(_0x575f8c,_0x4172('0x2'))),_0x190b11(_0x4172('0x1a'),_0x4f1bc6(_0x575f8c,_0x4172('0xf'))),_0x190b11('strikethrough',_0x4f1bc6(_0x575f8c,_0x4172('0x20'))),_0x190b11(_0x4172('0x13'),_0x4f1bc6(_0x575f8c,_0x4172('0xe'))),_0x190b11(_0x4172('0x10'),_0x4f1bc6(_0x575f8c,_0x4172('0x8')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bd2=['parent','commandName','format','has','model','value','BlockQuoteEditing','commands','locale','editor','afterInit','registerDescriptionCallback','name','plugins','commandParams','change','forceValue','get','filter','schema','document','markBlockFormat','*Remove\x20format:*\x20%0','$root','checkChild','from','selection','blockQuote','*Format:*\x20%0','enableCommand'];(function(_0x4c59e9,_0x2bd24f){const _0xd0ff26=function(_0x1d659d){while(--_0x1d659d){_0x4c59e9['push'](_0x4c59e9['shift']());}};_0xd0ff26(++_0x2bd24f);}(_0x2bd2,0x1a5));const _0xd0ff=function(_0x4c59e9,_0x2bd24f){_0x4c59e9=_0x4c59e9-0x0;let _0xd0ff26=_0x2bd2[_0x4c59e9];return _0xd0ff26;};import{Plugin as _0x5b5a2e}from'ckeditor5/src/core';import{getTranslation as _0x37f17c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5d5fb3}from'../utils/utils';export default class O extends _0x5b5a2e{[_0xd0ff('0x9')](){const _0xbcb939=this[_0xd0ff('0x8')],_0x518ab8=_0xbcb939[_0xd0ff('0x7')];if(!_0xbcb939['plugins'][_0xd0ff('0x2')](_0xd0ff('0x5')))return;const _0x33ef0d=_0xbcb939[_0xd0ff('0xc')][_0xd0ff('0x10')]('TrackChangesEditing'),_0x2b2aa1=this[_0xd0ff('0x8')][_0xd0ff('0x6')][_0xd0ff('0x10')](_0xd0ff('0x1a'));_0x33ef0d[_0xd0ff('0x1c')]('blockQuote',(_0x5ef6af,_0x40d0f7={})=>{const _0x1b9c56=this[_0xd0ff('0x8')][_0xd0ff('0x3')][_0xd0ff('0x13')][_0xd0ff('0x19')],_0x5cdf32=_0x40d0f7&&void 0x0!==_0x40d0f7['forceValue']?_0x40d0f7['forceValue']:!_0x2b2aa1[_0xd0ff('0x4')];let _0x3d9bca=[];if(_0x5cdf32){const _0x2a4f18=Array[_0xd0ff('0x18')](_0x1b9c56['getSelectedBlocks']())['filter'](_0x11fbc7=>oo(_0x11fbc7)||function(_0xa730e8,_0x13a471){const _0x12569e=_0x13a471[_0xd0ff('0x17')](_0xa730e8[_0xd0ff('0x1d')],'blockQuote'),_0x37a10c=_0x13a471['checkChild']([_0xd0ff('0x16'),_0xd0ff('0x1a')],_0xa730e8);return _0x12569e&&_0x37a10c;}(_0x11fbc7,this[_0xd0ff('0x8')]['model'][_0xd0ff('0x12')]));_0x3d9bca=_0x5d5fb3(_0x2a4f18,_0xbcb939[_0xd0ff('0x3')]);}else{const _0x4fe3e9=Array['from'](_0x1b9c56['getSelectedBlocks']())[_0xd0ff('0x11')](_0x3c6310=>oo(_0x3c6310));_0x3d9bca=_0x5d5fb3(_0x4fe3e9,_0xbcb939[_0xd0ff('0x3')]);}_0xbcb939[_0xd0ff('0x3')][_0xd0ff('0xe')](()=>{for(const _0x27dd33 of _0x3d9bca)_0x33ef0d[_0xd0ff('0x14')](_0x27dd33,{'commandName':_0xd0ff('0x1a'),'commandParams':[{'forceValue':_0x5cdf32}]});});}),_0x33ef0d['_descriptionFactory'][_0xd0ff('0xa')](_0x213e5e=>{const {data:_0x1531a8}=_0x213e5e;if(_0x1531a8&&_0xd0ff('0x1a')==_0x1531a8[_0xd0ff('0x0')]){const _0x1693e1=_0x37f17c(_0x518ab8,'ELEMENT_BLOCK_QUOTE');return _0x1531a8[_0xd0ff('0xd')][0x0][_0xd0ff('0xf')]?{'type':_0xd0ff('0x1'),'content':_0x37f17c(_0x518ab8,_0xd0ff('0x1b'),_0x1693e1)}:{'type':_0xd0ff('0x1'),'content':_0x37f17c(_0x518ab8,_0xd0ff('0x15'),_0x1693e1)};}});}}function oo(_0x3edb5c){return'blockQuote'==_0x3edb5c['parent'][_0xd0ff('0xb')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8ada=['commands','plugins','ckbox','editor'];(function(_0x36193a,_0x8adad9){const _0x1ee254=function(_0x54f751){while(--_0x54f751){_0x36193a['push'](_0x36193a['shift']());}};_0x1ee254(++_0x8adad9);}(_0x8ada,0x147));const _0x1ee2=function(_0x36193a,_0x8adad9){_0x36193a=_0x36193a-0x0;let _0x1ee254=_0x8ada[_0x36193a];return _0x1ee254;};import{Plugin as _0x12f9cc}from'ckeditor5/src/core';export default class E extends _0x12f9cc{['afterInit'](){const _0x304808=this[_0x1ee2('0x0')];_0x304808[_0x1ee2('0x1')]['get'](_0x1ee2('0x3'))&&_0x304808[_0x1ee2('0x2')]['get']('TrackChangesEditing')['enableCommand'](_0x1ee2('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x360a=['indentCodeBlock','get','CodeBlock','commandName','value','has','plugins','selection','editor','from','checkChild','registerDescriptionCallback','filter','find','formatBlock','isLimit','forceValue','language','commands','schema','*Remove\x20format:*\x20%0','markBlockFormat','parent','TrackChangesEditing','change','outdentCodeBlock','enableCommand','model','ELEMENT_CODE_BLOCK','getSelectedBlocks','rootElement','codeBlock','registerElementLabel','name','blockName','_descriptionFactory'];(function(_0x42ca58,_0x360a48){const _0x55c30a=function(_0x2d3521){while(--_0x2d3521){_0x42ca58['push'](_0x42ca58['shift']());}};_0x55c30a(++_0x360a48);}(_0x360a,0x17c));const _0x55c3=function(_0x42ca58,_0x360a48){_0x42ca58=_0x42ca58-0x0;let _0x55c30a=_0x360a[_0x42ca58];return _0x55c30a;};import{Plugin as _0x7a19a4}from'ckeditor5/src/core';import{getTranslation as _0x5aac30}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3271d1}from'../utils/utils';export default class F extends _0x7a19a4{['afterInit'](){const _0x4cb1d7=this[_0x55c3('0x18')];if(!_0x4cb1d7[_0x55c3('0x16')][_0x55c3('0x15')](_0x55c3('0x12')))return;const _0x1e8e26=_0x4cb1d7[_0x55c3('0x16')][_0x55c3('0x11')](_0x55c3('0x3')),_0x295b55=_0x4cb1d7['locale'],_0xf6cd56=_0x4cb1d7['config'][_0x55c3('0x11')](_0x55c3('0xb'))['languages'],_0x400d5e=_0x4cb1d7[_0x55c3('0x22')][_0x55c3('0x11')](_0x55c3('0xb'));_0x1e8e26['enableCommand'](_0x55c3('0x10')),_0x1e8e26['enableCommand'](_0x55c3('0x5')),_0x1e8e26[_0x55c3('0x6')]('codeBlock',(_0xff95b1,_0x5b7671={})=>{const _0x58b875=_0x4cb1d7[_0x55c3('0x7')],_0x59bc0c=_0x4cb1d7[_0x55c3('0x7')]['document'][_0x55c3('0x17')],_0x4abffc=_0x5b7671&&void 0x0!==_0x5b7671[_0x55c3('0x20')]?_0x5b7671['forceValue']:!_0x400d5e[_0x55c3('0x14')];let _0x4807b9;_0x5b7671[_0x55c3('0x21')]||(_0x5b7671[_0x55c3('0x21')]=_0xf6cd56[0x0][_0x55c3('0x21')]),_0x4807b9=_0x4abffc?Array[_0x55c3('0x19')](_0x59bc0c[_0x55c3('0x9')]())['filter'](_0x5cc744=>co(_0x5cc744)||function(_0x3dc4cc,_0x5b61f5){if(_0x3dc4cc['is'](_0x55c3('0xa'))||_0x5b61f5[_0x55c3('0x1f')](_0x3dc4cc))return!0x1;return _0x5b61f5[_0x55c3('0x1a')](_0x3dc4cc[_0x55c3('0x2')],'codeBlock');}(_0x5cc744,_0x58b875[_0x55c3('0x23')])):Array[_0x55c3('0x19')](_0x59bc0c[_0x55c3('0x9')]())[_0x55c3('0x1c')](_0x1080fe=>co(_0x1080fe));const _0x143a46=_0x3271d1(_0x4807b9,_0x58b875);_0x58b875[_0x55c3('0x4')](()=>{for(const _0x1c7b75 of _0x143a46)_0x1e8e26[_0x55c3('0x1')](_0x1c7b75,{'commandName':_0x55c3('0xb'),'commandParams':[{..._0x5b7671,'forceValue':_0x4abffc}],'formatGroupId':_0x55c3('0xe')});});}),(_0x1e8e26['_descriptionFactory'][_0x55c3('0xc')]('codeBlock',_0x4aa8bd=>_0x5aac30(_0x295b55,_0x55c3('0x8'),_0x4aa8bd)),_0x1e8e26[_0x55c3('0xf')][_0x55c3('0x1b')](_0x488dc8=>{const _0x15da82=_0x295b55['t'],{type:_0x45cf8c,data:_0x380320}=_0x488dc8;if(_0x55c3('0x1e')==_0x45cf8c&&_0x380320&&_0x55c3('0xb')==_0x380320[_0x55c3('0x13')]){const _0x13993f=_0x380320['commandParams'][0x0][_0x55c3('0x21')],_0x25a952=_0x15da82(_0xf6cd56[_0x55c3('0x1d')](_0x1121e3=>_0x1121e3[_0x55c3('0x21')]===_0x13993f)['label']);return _0x380320['commandParams'][0x0][_0x55c3('0x20')]?{'type':'format','content':_0x5aac30(_0x295b55,'*Format:*\x20%0',_0x5aac30(_0x295b55,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x25a952+')')}:{'type':'format','content':_0x5aac30(_0x295b55,_0x55c3('0x0'),_0x5aac30(_0x295b55,_0x55c3('0x8'),0x1))};}}));}}function co(_0x40ed66){return'codeBlock'==_0x40ed66[_0x55c3('0xd')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18b2=['editor','enableCommand','TrackChangesEditing','afterInit','plugins','get','CommentsEditing'];(function(_0x20a51f,_0x18b262){const _0x25ccd0=function(_0x418fb6){while(--_0x418fb6){_0x20a51f['push'](_0x20a51f['shift']());}};_0x25ccd0(++_0x18b262);}(_0x18b2,0xed));const _0x25cc=function(_0x20a51f,_0x18b262){_0x20a51f=_0x20a51f-0x0;let _0x25ccd0=_0x18b2[_0x20a51f];return _0x25ccd0;};import{Plugin as _0x5c3257}from'ckeditor5/src/core';export default class G extends _0x5c3257{[_0x25cc('0x4')](){const _0x3f5fdc=this[_0x25cc('0x1')];if(!_0x3f5fdc[_0x25cc('0x5')]['has'](_0x25cc('0x0')))return;_0x3f5fdc[_0x25cc('0x5')][_0x25cc('0x6')](_0x25cc('0x3'))[_0x25cc('0x2')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ad4=['unit','addMarker:suggestion:deletion','removeMarker:suggestion:deletion','downcastDispatcher','editing','bind','lock','data','unbindElementFromMarkerName','model','editor','writer','forward','high','start','rootName','fromRange','enqueueChange','options','mapper','TrackChangesEditing','$graveyard','commands','buffer','markerNameToElements','createRange','detach','showSuggestionHighlights','root','end','requires','setSelection','batch','unlock','markerName','deleteForward','getFirstRange','get','remove','isCollapsed','enableCommand','merge'];(function(_0x2cc11e,_0x4ad4f1){const _0x35e8ed=function(_0x29cbce){while(--_0x29cbce){_0x2cc11e['push'](_0x2cc11e['shift']());}};_0x35e8ed(++_0x4ad4f1);}(_0x4ad4,0x6f));const _0x35e8=function(_0x2cc11e,_0x4ad4f1){_0x2cc11e=_0x2cc11e-0x0;let _0x35e8ed=_0x4ad4[_0x2cc11e];return _0x35e8ed;};import{Plugin as _0x44dd06}from'ckeditor5/src/core';import{LiveRange as _0x21b475}from'ckeditor5/src/engine';import{Delete as _0x57106b}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x28fcdb}from'./utils';export default class L extends _0x44dd06{static get[_0x35e8('0x3')](){return[_0x57106b];}['init'](){const _0x4b590f=this[_0x35e8('0x19')],_0x310178=_0x4b590f['plugins'][_0x35e8('0xa')](_0x35e8('0x23'));_0x310178[_0x35e8('0xd')]('delete');const _0xb4316a=_0x4b590f[_0x35e8('0x25')][_0x35e8('0xa')](_0x35e8('0x8'));_0x310178[_0x35e8('0xd')](_0x35e8('0x8'),(_0x54ace8,_0x2b532a={})=>{const _0x521e15=_0x4b590f[_0x35e8('0x18')]['createSelection'](_0x4b590f[_0x35e8('0x18')]['document']['selection']);_0x521e15[_0x35e8('0xc')]&&_0x4b590f['model']['modifySelection'](_0x521e15,{'direction':_0x35e8('0x1b'),'unit':_0x2b532a[_0x35e8('0xf')]});const _0xaef8e5=_0x521e15[_0x35e8('0x9')](),_0x1144a0=_0x21b475[_0x35e8('0x1f')](_0xaef8e5);let _0x5c3927;_0x54ace8(_0x2b532a),_0x5c3927=_0x35e8('0x24')==_0x1144a0[_0x35e8('0x1')][_0x35e8('0x1e')]?_0x4b590f[_0x35e8('0x18')][_0x35e8('0x28')](_0xaef8e5[_0x35e8('0x1d')]):_0x4b590f[_0x35e8('0x18')][_0x35e8('0x28')](_0x1144a0[_0x35e8('0x1d')],_0x1144a0[_0x35e8('0x2')]),_0x1144a0[_0x35e8('0x29')](),_0x4b590f[_0x35e8('0x18')][_0x35e8('0x20')](_0xb4316a[_0x35e8('0x26')][_0x35e8('0x5')],_0x4140ef=>{_0xb4316a[_0x35e8('0x26')][_0x35e8('0x15')](),_0x4140ef[_0x35e8('0x4')](_0x4140ef[_0x35e8('0x28')](_0x5c3927[_0x35e8('0x2')])),_0xb4316a[_0x35e8('0x26')][_0x35e8('0x6')]();});}),_0x4b590f[_0x35e8('0x13')][_0x35e8('0x12')]['on']('addMarker:suggestion:deletion',_0x28fcdb(_0x4b590f,_0x35e8('0xe')),{'priority':_0x35e8('0x1c')}),_0x4b590f[_0x35e8('0x16')][_0x35e8('0x12')]['on'](_0x35e8('0x10'),(_0xf8684f,_0x5c7847,_0x529fb7)=>{_0x529fb7[_0x35e8('0x21')][_0x35e8('0x0')]&&_0x28fcdb(_0x4b590f,_0x35e8('0xe'),{'showActiveMarker':!0x1})[_0x35e8('0x14')](this)(_0xf8684f,_0x5c7847,_0x529fb7);},{'priority':'high'}),_0x4b590f['editing']['downcastDispatcher']['on'](_0x35e8('0x11'),(_0x129392,_0x580e39,_0x9e99a6)=>{const _0x10234b=_0x9e99a6[_0x35e8('0x22')][_0x35e8('0x27')](_0x580e39[_0x35e8('0x7')]);if(_0x10234b)for(const _0x5e2cf6 of _0x10234b)_0x5e2cf6['is']('uiElement')&&(_0x9e99a6['mapper'][_0x35e8('0x17')](_0x5e2cf6,_0x580e39['markerName']),_0x9e99a6[_0x35e8('0x1a')][_0x35e8('0xb')](_0x5e2cf6));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x253f=['length','splitListItemBefore','bulletedList','format','ELEMENT_LIST_ITEM','get','ELEMENT_BULLETED_LIST','setSelection','registerElementLabel','end','push','toUpperCase','getAttribute','previousSibling','splitListItemAfter','refresh','numberedList','expandListBlocksToCompleteList','execute','nextSibling','start','enableCommand','schema','listType','isFirstBlockOfListItem','value','mergeListItemBackward','commands','map','multipleBlocks','after','registerCustomCallback','fromRange','commandParams','forceValue','slice','documentList','before','*Format:*\x20insert\x20into\x20%0','plugins','createRange','list.multiBlock','listIndent','outdentList','hasAttribute','getFirstRange','from','document','next','DocumentListUtils','ELEMENT_','getSelectedBlocks','registerDescriptionCallback','containsItem','createPositionAt','commandName','_descriptionFactory','change','markMultiRangeBlockFormat','indentList','*Outdent:*\x20%0','locale','*Change\x20to:*\x20%0','findIndex','*Format:*\x20remove\x20from\x20%0','getRanges','model','*Indent:*\x20%0','config','add','selection','_suggestionFactory','markBlockFormat','isObject','nodeAfter','afterInit','detach'];(function(_0x3f26da,_0x253f0e){const _0x42400a=function(_0x299186){while(--_0x299186){_0x3f26da['push'](_0x3f26da['shift']());}};_0x42400a(++_0x253f0e);}(_0x253f,0x16d));const _0x4240=function(_0x3f26da,_0x253f0e){_0x3f26da=_0x3f26da-0x0;let _0x42400a=_0x253f[_0x3f26da];return _0x42400a;};import{Plugin as _0x3113e1}from'ckeditor5/src/core';import{getTranslation as _0x58f2a6}from'../utils/common-translations';import{LiveRange as _0x5223b5}from'ckeditor5/src/engine';export default class q extends _0x3113e1{[_0x4240('0x12')](){const _0x142827=this['editor'];if(!_0x142827[_0x4240('0x3b')]['has']('DocumentListEditing'))return;const _0x4db535=_0x142827[_0x4240('0x4')],_0x58f5b8=_0x142827[_0x4240('0x3b')]['get']('TrackChangesEditing'),_0x3df825=_0x142827[_0x4240('0x3b')][_0x4240('0x19')](_0x4240('0x45'));function _0xf72019(_0x2bb30f){return()=>{const _0x30904a=_0x142827[_0x4240('0x2f')]['get'](_0x2bb30f);if(_0x30904a[_0x4240('0x2d')]&&!_0x142827[_0x4240('0xb')][_0x4240('0x19')](_0x4240('0x3d')))return void _0x142827[_0x4240('0x26')]('paragraph',{});let _0x3860b1=Array['from'](_0x142827['model'][_0x4240('0x43')]['selection'][_0x4240('0x47')]());if(_0x40480e(_0x2bb30f)){_0x3860b1=_0x3df825[_0x4240('0x25')](_0x3860b1);const _0xba7b3=[];for(const _0x48307a of _0x3860b1)_0x3df825[_0x4240('0x2c')](_0x48307a)&&_0xba7b3[_0x4240('0x1e')](_0x48307a);_0x3860b1=_0xba7b3;}_0x142827[_0x4240('0x9')][_0x4240('0x0')](()=>{_0x58f5b8[_0x4240('0x1')](_0x3860b1,{'commandName':_0x2bb30f,'commandParams':[{'forceValue':!_0x30904a[_0x4240('0x2d')]}],'formatGroupId':'listType'},[],_0x4240('0x38'));});};}function _0x3baf70(_0x5a146e){return()=>{const _0x17595f=function(_0x4eec9a){let _0x14efe1=Array['from'](_0x4eec9a);const _0x528e96=_0x14efe1[_0x4240('0x6')](_0x492b6e=>!_0x492b6e[_0x4240('0x40')]('listItemId'));return _0x528e96>-0x1&&(_0x14efe1=_0x14efe1[_0x4240('0x37')](0x0,_0x528e96)),_0x14efe1;}(_0x142827[_0x4240('0x9')][_0x4240('0x43')][_0x4240('0xd')][_0x4240('0x47')]()),_0x68924c=_0x17595f[_0x17595f[_0x4240('0x14')]-0x1],_0x23062a=_0x142827[_0x4240('0x9')][_0x4240('0x2a')][_0x4240('0x10')](_0x68924c)?_0x4240('0x32'):_0x4240('0x1d'),_0x2c5cd1=_0x142827[_0x4240('0x9')][_0x4240('0x3c')](_0x142827[_0x4240('0x9')]['createPositionAt'](_0x17595f[0x0],_0x4240('0x39')),_0x142827[_0x4240('0x9')][_0x4240('0x4a')](_0x68924c,_0x23062a));_0x142827[_0x4240('0x9')][_0x4240('0x0')](()=>{_0x58f5b8['markBlockFormat'](_0x2c5cd1,{'commandName':_0x5a146e,'commandParams':[],'formatGroupId':'listType'},function(_0x8cd7a3){const _0x4b24d4=new Set();for(const _0x47c38a of _0x8cd7a3){let _0x10bf2c=_0x47c38a[_0x4240('0x27')];for(;_0x10bf2c&&_0x10bf2c[_0x4240('0x20')]('listIndent')>_0x47c38a['getAttribute'](_0x4240('0x3e'));)_0x4b24d4[_0x4240('0xc')](_0x10bf2c),_0x10bf2c=_0x10bf2c[_0x4240('0x27')];}return Array['from'](_0x4b24d4);}(_0x17595f));});};}function _0x55b224(_0x463eef){return()=>{const _0x4a77ff=_0x142827['model'][_0x4240('0x43')][_0x4240('0xd')][_0x4240('0x47')]()[_0x4240('0x44')]()['value'],_0x2dacbe=_0x142827['model'][_0x4240('0x4a')](_0x4a77ff,'before'),_0x3a7f23=_0x142827[_0x4240('0x9')][_0x4240('0x4a')](_0x4a77ff,0x0),_0x1e5a85=_0x142827[_0x4240('0x9')]['createRange'](_0x2dacbe,_0x3a7f23);_0x142827[_0x4240('0x9')][_0x4240('0x0')](()=>{_0x58f5b8[_0x4240('0xf')](_0x1e5a85,{'commandName':_0x463eef,'commandParams':[],'formatGroupId':_0x4240('0x2b')});});};}function _0x40480e(_0x1682f8){const _0x5712df=_0x142827[_0x4240('0x2f')][_0x4240('0x19')](_0x4240('0x16'))[_0x4240('0x2d')],_0x350639=_0x142827[_0x4240('0x2f')][_0x4240('0x19')](_0x4240('0x24'))[_0x4240('0x2d')];return'numberedList'===_0x1682f8?_0x5712df:_0x350639;}_0x58f5b8[_0x4240('0x29')](_0x4240('0x24'),_0xf72019(_0x4240('0x24'))),_0x58f5b8[_0x4240('0x29')](_0x4240('0x16'),_0xf72019(_0x4240('0x16'))),_0x58f5b8[_0x4240('0x29')](_0x4240('0x2'),_0x3baf70('indentList')),_0x58f5b8[_0x4240('0x29')](_0x4240('0x3f'),_0x3baf70('outdentList')),_0x58f5b8[_0x4240('0x29')](_0x4240('0x22'),_0x55b224(_0x4240('0x22'))),_0x58f5b8[_0x4240('0x29')](_0x4240('0x15'),_0x55b224(_0x4240('0x15'))),_0x58f5b8[_0x4240('0x4c')][_0x4240('0x1c')](function(_0x35c6bf){const _0x22c415=!_0x142827['model'][_0x4240('0x2a')][_0x4240('0x10')](_0x35c6bf),_0x348890=_0x35c6bf[_0x4240('0x21')],_0x24d73d=_0x35c6bf[_0x4240('0x27')],_0x3066e6=_0x35c6bf['getAttribute']('listItemId'),_0x52c394=!_0x348890||_0x348890[_0x4240('0x20')]('listItemId')!==_0x3066e6,_0x4b014f=!_0x24d73d||_0x24d73d[_0x4240('0x20')]('listItemId')!==_0x3066e6;return _0x22c415&&Boolean(_0x3066e6)&&_0x52c394&&_0x4b014f;},_0x18d3ce=>_0x58f2a6(_0x4db535,_0x4240('0x18'),_0x18d3ce)),_0x58f5b8[_0x4240('0x4c')][_0x4240('0x48')](function(_0x8b1958){const {data:_0x9ef3d}=_0x8b1958;if(!_0x9ef3d)return;let _0x3c349d,_0x4e8b94,_0x5f454f,_0x1db11a;switch(_0x9ef3d[_0x4240('0x4b')]){case _0x4240('0x16'):_0x5f454f=_0x9ef3d[_0x4240('0x35')][0x0][_0x4240('0x36')],_0x1db11a=_0x40480e(_0x9ef3d['commandName']),_0x3c349d=_0x5f454f?'*Format:*\x20insert\x20into\x20%0':_0x4240('0x7'),!_0x1db11a&&_0x142827[_0x4240('0xb')]['get']('list.multiBlock')||(_0x3c349d=_0x4240('0x5')),_0x4e8b94={'type':_0x4240('0x17'),'content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,_0x4240('0x1a')))};break;case _0x4240('0x24'):_0x5f454f=_0x9ef3d[_0x4240('0x35')][0x0]['forceValue'],_0x1db11a=_0x40480e(_0x9ef3d[_0x4240('0x4b')]),_0x3c349d=_0x5f454f?_0x4240('0x3a'):_0x4240('0x7'),!_0x1db11a&&_0x142827[_0x4240('0xb')][_0x4240('0x19')]('list.multiBlock')||(_0x3c349d='*Change\x20to:*\x20%0'),_0x4e8b94={'type':'format','content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,'ELEMENT_NUMBERED_LIST'))};break;case _0x4240('0x2'):_0x3c349d=_0x4240('0xa'),_0x4e8b94={'type':'format','content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,_0x4240('0x18')))};break;case _0x4240('0x3f'):_0x3c349d=function(_0x2a383c){const _0x59dcbb=_0x2a383c[_0x4240('0x41')]();let _0x5cf4b5=_0x59dcbb[_0x4240('0x28')][_0x4240('0x11')];for(;_0x5cf4b5&&_0x59dcbb[_0x4240('0x49')](_0x5cf4b5);){if(_0x5cf4b5[_0x4240('0x20')](_0x4240('0x3e'))>0x0)return!0x1;_0x5cf4b5=_0x5cf4b5[_0x4240('0x27')];}return!0x0;}(_0x8b1958)?_0x58f2a6(_0x4db535,_0x4240('0x7'),_0x58f2a6(_0x4db535,function(_0x4a8f14){const _0x174594=_0x4a8f14['getFirstRange']()[_0x4240('0x28')][_0x4240('0x11')];return _0x4240('0x46')+_0x174594[_0x4240('0x20')](_0x4240('0x2b'))[_0x4240('0x1f')]()+'_LIST';}(_0x8b1958))):_0x58f2a6(_0x4db535,_0x4240('0x3'),_0x58f2a6(_0x4db535,_0x4240('0x18'))),_0x4e8b94={'type':_0x4240('0x17'),'content':_0x3c349d};break;case _0x4240('0x2e'):case'mergeListItemForward':!0x1===_0x9ef3d[_0x4240('0x31')]&&(_0x3c349d='*Merge:*\x20%0',_0x4e8b94={'type':'deletion','content':_0x58f2a6(_0x4db535,_0x3c349d,_0x58f2a6(_0x4db535,_0x4240('0x18')))});}return _0x4e8b94;}),_0x58f5b8[_0x4240('0xe')][_0x4240('0x33')]('formatBlock',_0x4240('0x38'),'accept',function(_0x93ef44,_0x33af72){const _0x281f94=[];for(let _0x2f3727 of _0x93ef44)_0x2f3727[_0x4240('0x28')]['nodeAfter']===_0x2f3727[_0x4240('0x1d')]['parent']&&(_0x2f3727=_0x142827[_0x4240('0x9')][_0x4240('0x3c')](_0x142827[_0x4240('0x9')][_0x4240('0x4a')](_0x2f3727[_0x4240('0x28')]['nodeAfter'],0x0))),_0x281f94['push'](_0x2f3727);_0x142827['model'][_0x4240('0x0')](_0x4bea56=>{const _0x599e50=_0x142827['model'][_0x4240('0x43')][_0x4240('0xd')],_0x35444b=Array[_0x4240('0x42')](_0x599e50[_0x4240('0x8')]())[_0x4240('0x30')](_0x286764=>_0x5223b5[_0x4240('0x34')](_0x286764));_0x4bea56[_0x4240('0x1b')](_0x281f94),_0x142827[_0x4240('0x2f')][_0x4240('0x19')](_0x33af72[_0x4240('0x4b')])[_0x4240('0x23')](),_0x33af72[_0x4240('0x35')][_0x4240('0x1e')]({'forceDefaultExecution':!0x0}),_0x142827[_0x4240('0x26')](_0x33af72[_0x4240('0x4b')],..._0x33af72[_0x4240('0x35')]),_0x4bea56[_0x4240('0x1b')](_0x35444b);for(const _0x8f5be9 of _0x35444b)_0x8f5be9[_0x4240('0x13')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe6b1=['model','numbered','replace','_getTranslationKeyForListStyle','get','_getSuggestionBlocksForListStyle','from','editor','reversed','styles','*Format:*\x20set\x20order\x20to\x20reversed','startIndex','change','*Format:*\x20set\x20order\x20to\x20regular','toUpperCase','commandName','handleDescriptions','DocumentListPropertiesUtils','bind','commandParams','getSelectedBlocks','filter','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','TrackChangesEditing','handleListStyleCommand','handleListStartCommand','getListTypeFromListStyleType','listStyle','selection','markMultiRangeBlockFormat','isFirstBlockOfListItem','format','handleListReversedCommand','_LIST_','push','isListItemBlock','afterInit','type','DocumentListPropertiesEditing','getAttribute','enableCommand','registerDescriptionCallback','document','listType','_getSuggestionBlocks','ELEMENT_','DocumentListUtils','listStart','expandListBlocksToCompleteList','plugins','listReversed','config','length'];(function(_0x20509c,_0xe6b14d){const _0x3ec884=function(_0x1b78aa){while(--_0x1b78aa){_0x20509c['push'](_0x20509c['shift']());}};_0x3ec884(++_0xe6b14d);}(_0xe6b1,0xeb));const _0x3ec8=function(_0x20509c,_0xe6b14d){_0x20509c=_0x20509c-0x0;let _0x3ec884=_0xe6b1[_0x20509c];return _0x3ec884;};import{Plugin as _0x376cad}from'ckeditor5/src/core';import{getTranslation as _0x183db1}from'../utils/common-translations';export default class Ct extends _0x376cad{[_0x3ec8('0x12')](){if(!this[_0x3ec8('0x2a')]['plugins'][_0x3ec8('0x4')](_0x3ec8('0x14')))return;const _0x17eea3=this[_0x3ec8('0x2a')][_0x3ec8('0x21')][_0x3ec8('0x27')]('list.properties'),_0x598f04=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5'));_0x17eea3[_0x3ec8('0x2c')]&&_0x598f04[_0x3ec8('0x16')](_0x3ec8('0x9'),this[_0x3ec8('0x6')][_0x3ec8('0x35')](this)),_0x17eea3[_0x3ec8('0x2b')]&&_0x598f04[_0x3ec8('0x16')]('listReversed',this['handleListReversedCommand']['bind'](this)),_0x17eea3[_0x3ec8('0x2e')]&&_0x598f04['enableCommand'](_0x3ec8('0x1d'),this[_0x3ec8('0x7')][_0x3ec8('0x35')](this)),_0x598f04['_descriptionFactory'][_0x3ec8('0x17')](this[_0x3ec8('0x33')][_0x3ec8('0x35')](this));}[_0x3ec8('0x6')](_0xad6f60,_0x2d0d7b={}){const _0x49a752=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5')),_0x58c222=this[_0x3ec8('0x28')]();this[_0x3ec8('0x2a')]['model'][_0x3ec8('0x2f')](()=>{_0x49a752[_0x3ec8('0xb')](_0x58c222,{'commandName':_0x3ec8('0x9'),'commandParams':[{'type':_0x2d0d7b['type']}],'formatGroupId':_0x3ec8('0x9')});});}[_0x3ec8('0xe')](_0x3349c7,_0x169857={}){const _0x3cb9ad=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5')),_0x5a5c0e=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')]('DocumentListUtils'),_0x2e2381=this[_0x3ec8('0x1a')](_0x34e4a8=>_0x5a5c0e[_0x3ec8('0x11')](_0x34e4a8)&&_0x3ec8('0x24')===_0x34e4a8[_0x3ec8('0x15')](_0x3ec8('0x19')));null!==_0x2e2381&&this['editor'][_0x3ec8('0x23')][_0x3ec8('0x2f')](()=>{_0x3cb9ad['markMultiRangeBlockFormat'](_0x2e2381,{'commandName':_0x3ec8('0x20'),'commandParams':[{'reversed':_0x169857[_0x3ec8('0x2b')]}],'formatGroupId':_0x3ec8('0x20')});});}['handleListStartCommand'](_0x570ba9,_0x4d4b7b={}){const _0x22456c=this['editor'][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x5')),_0x58c347=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x1c')),_0x1be372=this[_0x3ec8('0x1a')](_0x5e75ce=>_0x58c347[_0x3ec8('0x11')](_0x5e75ce)&&_0x3ec8('0x24')===_0x5e75ce[_0x3ec8('0x15')](_0x3ec8('0x19')));null!==_0x1be372&&this[_0x3ec8('0x2a')][_0x3ec8('0x23')][_0x3ec8('0x2f')](()=>{_0x22456c['markMultiRangeBlockFormat'](_0x1be372,{'commandName':'listStart','commandParams':[{'startIndex':_0x4d4b7b[_0x3ec8('0x2e')]}],'formatGroupId':_0x3ec8('0x1d')});});}[_0x3ec8('0x33')](_0x26cd1d){const _0x1d7ba6=this['editor']['locale'],{data:_0xea5190}=_0x26cd1d;if(!_0xea5190)return;let _0x45c96a,_0x2186db;switch(_0xea5190[_0x3ec8('0x32')]){case _0x3ec8('0x9'):_0x45c96a='*Change\x20to:*\x20%0',_0x2186db={'type':_0x3ec8('0xd'),'content':_0x183db1(_0x1d7ba6,_0x45c96a,_0x183db1(_0x1d7ba6,this[_0x3ec8('0x26')](_0xea5190[_0x3ec8('0x0')][0x0][_0x3ec8('0x13')])))};break;case _0x3ec8('0x20'):_0x45c96a=_0xea5190[_0x3ec8('0x0')][0x0][_0x3ec8('0x2b')]?_0x3ec8('0x2d'):_0x3ec8('0x30'),_0x2186db={'type':'format','content':_0x183db1(_0x1d7ba6,_0x45c96a)};break;case _0x3ec8('0x1d'):_0x45c96a=_0x3ec8('0x3'),_0x2186db={'type':_0x3ec8('0xd'),'content':_0x183db1(_0x1d7ba6,_0x45c96a,_0xea5190['commandParams'][0x0][_0x3ec8('0x2e')])};}return _0x2186db;}['_getSuggestionBlocksForListStyle'](){const _0x287755=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x1c'));let _0x1350ac=Array[_0x3ec8('0x29')](this[_0x3ec8('0x2a')][_0x3ec8('0x23')]['document'][_0x3ec8('0xa')][_0x3ec8('0x1')]());return _0x1350ac['push'](..._0x287755['expandListBlocksToCompleteList'](_0x1350ac)),_0x1350ac=[...new Set(_0x1350ac)],_0x1350ac;}[_0x3ec8('0x1a')](_0x5bd2c9){const _0x5dad4e=this[_0x3ec8('0x2a')][_0x3ec8('0x1f')]['get'](_0x3ec8('0x1c'));let _0x5fc765=Array[_0x3ec8('0x29')](this[_0x3ec8('0x2a')][_0x3ec8('0x23')][_0x3ec8('0x18')][_0x3ec8('0xa')]['getSelectedBlocks']())[_0x3ec8('0x2')](_0x5bd2c9);if(!_0x5fc765[_0x3ec8('0x22')])return null;_0x5fc765=_0x5dad4e[_0x3ec8('0x1e')](_0x5fc765);const _0x1c088a=[];for(const _0x218e24 of _0x5fc765)_0x5dad4e[_0x3ec8('0xc')](_0x218e24)&&_0x1c088a[_0x3ec8('0x10')](_0x218e24);return _0x1c088a;}[_0x3ec8('0x26')](_0x211fc6){return _0x3ec8('0x1b')+this['editor'][_0x3ec8('0x1f')][_0x3ec8('0x27')](_0x3ec8('0x34'))[_0x3ec8('0x8')](_0x211fc6)[_0x3ec8('0x31')]()+_0x3ec8('0xf')+_0x211fc6[_0x3ec8('0x31')]()[_0x3ec8('0x25')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54e6=['TrackChangesEditing','hasClass','init','afterExecute','split','fire','commands','editing','end','getFirstPosition','getFirstRange','enter','createRange','data','get','model','fromRange','downcastDispatcher','detach','options','ck-suggestion-marker-split','change','mapper','nextSibling','unbindElementFromMarkerName','markInsertion','editor','addMarker:suggestion:insertion','enterBlock','selection','bind','setSelection','remove','markerNameToElements','showSuggestionHighlights','high','writer','markerName'];(function(_0x44bb4d,_0x54e61f){const _0x1fef25=function(_0x53effa){while(--_0x53effa){_0x44bb4d['push'](_0x44bb4d['shift']());}};_0x1fef25(++_0x54e61f);}(_0x54e6,0x184));const _0x1fef=function(_0x44bb4d,_0x54e61f){_0x44bb4d=_0x44bb4d-0x0;let _0x1fef25=_0x54e6[_0x44bb4d];return _0x1fef25;};import{Plugin as _0x1ec230}from'ckeditor5/src/core';import{Enter as _0xac4415}from'ckeditor5/src/enter';import{LiveRange as _0xd2b6eb}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x46049c}from'./utils';export default class z extends _0x1ec230{static get['requires'](){return[_0xac4415];}[_0x1fef('0x20')](){const _0x152fe2=this[_0x1fef('0x12')],_0x233d4b=_0x152fe2['plugins']['get'](_0x1fef('0x1e')),_0x34e769=_0x152fe2[_0x1fef('0x24')][_0x1fef('0x6')](_0x1fef('0x3'));_0x233d4b['enableCommand'](_0x1fef('0x3'),()=>{_0x152fe2[_0x1fef('0x7')][_0x1fef('0xd')](_0x56f53a=>{const _0xba3f74=_0x152fe2[_0x1fef('0x7')]['document'][_0x1fef('0x15')],_0xea046=_0xba3f74[_0x1fef('0x1')](),_0x1074dc=_0xd2b6eb[_0x1fef('0x8')](_0xba3f74[_0x1fef('0x2')]());if(_0x34e769[_0x1fef('0x14')](_0x56f53a)){const _0x5f066b=_0x152fe2[_0x1fef('0x7')]['createPositionAt'](_0xea046['parent'][_0x1fef('0xf')],0x0),_0x160f4e=_0x56f53a[_0x1fef('0x4')](_0xea046,_0x5f066b);_0x233d4b[_0x1fef('0x11')](_0x160f4e);}else _0x56f53a[_0x1fef('0x17')](_0x56f53a[_0x1fef('0x4')](_0x1074dc[_0x1fef('0x0')]));_0x1074dc[_0x1fef('0xa')](),_0x34e769[_0x1fef('0x23')](_0x1fef('0x21'),{'writer':_0x56f53a});});}),_0x152fe2[_0x1fef('0x25')][_0x1fef('0x9')]['on']('addMarker:suggestion:insertion',_0x46049c(_0x152fe2,_0x1fef('0x22')),{'priority':_0x1fef('0x1b')}),_0x152fe2[_0x1fef('0x25')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x38ed0f,_0xbdc301,_0x1df8b6)=>{const _0x3bc0e4=_0x1df8b6[_0x1fef('0xe')][_0x1fef('0x19')](_0xbdc301[_0x1fef('0x1d')]);if(_0x3bc0e4)for(const _0x49355f of _0x3bc0e4)_0x49355f[_0x1fef('0x1f')](_0x1fef('0xc'))&&(_0x1df8b6[_0x1fef('0xe')][_0x1fef('0x10')](_0x49355f,_0xbdc301[_0x1fef('0x1d')]),_0x1df8b6[_0x1fef('0x1c')][_0x1fef('0x18')](_0x49355f));},{'priority':'high'}),_0x152fe2[_0x1fef('0x5')][_0x1fef('0x9')]['on'](_0x1fef('0x13'),(_0xba434,_0x127df0,_0x2f8fca)=>{_0x2f8fca[_0x1fef('0xb')][_0x1fef('0x1a')]&&_0x46049c(_0x152fe2,_0x1fef('0x22'),{'showActiveMarker':!0x1})[_0x1fef('0x16')](this)(_0xba434,_0x127df0,_0x2f8fca);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59a0=['editor','get','model','handleFindCommand','enableCommand','find','end','createRange','item','getIntersection','bind','suggestion:deletion','FindAndReplaceUtils','findPrevious','replace','replaceAll','FindAndReplaceEditing','_isInDeletionRange','plugins','findNext','TrackChangesEditing','filter','findByTextCallback','getRange','string','afterInit'];(function(_0x4d5876,_0x59a06e){const _0x335bc1=function(_0x1c9c20){while(--_0x1c9c20){_0x4d5876['push'](_0x4d5876['shift']());}};_0x335bc1(++_0x59a06e);}(_0x59a0,0x1a9));const _0x335b=function(_0x4d5876,_0x59a06e){_0x4d5876=_0x4d5876-0x0;let _0x335bc1=_0x59a0[_0x4d5876];return _0x335bc1;};import{Plugin as _0x4cde64}from'ckeditor5/src/core';export default class H extends _0x4cde64{[_0x335b('0x10')](){if(!this[_0x335b('0x11')]['plugins']['has'](_0x335b('0x7')))return;const _0x3c311c=this[_0x335b('0x11')]['plugins'][_0x335b('0x12')](_0x335b('0xb'));_0x3c311c[_0x335b('0x15')](_0x335b('0x16'),this[_0x335b('0x14')][_0x335b('0x1')](this)),_0x3c311c[_0x335b('0x15')](_0x335b('0xa')),_0x3c311c[_0x335b('0x15')](_0x335b('0x4')),_0x3c311c['enableCommand'](_0x335b('0x5')),_0x3c311c['enableCommand'](_0x335b('0x6'));}[_0x335b('0x14')](_0x572036,_0x2bcd05,_0x418122={}){const _0x1ec293=this['editor'][_0x335b('0x9')]['get'](_0x335b('0x3'));void 0x0!==_0x418122&&_0x572036(_0x38d62f=>(_0x335b('0xf')==typeof _0x2bcd05?_0x1ec293[_0x335b('0xd')](_0x2bcd05,_0x418122):_0x2bcd05)(_0x38d62f)[_0x335b('0xc')](_0x5200f0=>!0x1===this[_0x335b('0x8')](_0x5200f0,_0x38d62f[_0x335b('0x19')])),_0x418122);}[_0x335b('0x8')](_0x480605,_0x194753){const _0x5cca11=this[_0x335b('0x11')][_0x335b('0x13')][_0x335b('0x18')](this[_0x335b('0x11')][_0x335b('0x13')]['createPositionAt'](_0x194753,_0x480605['start']),this['editor']['model']['createPositionAt'](_0x194753,_0x480605[_0x335b('0x17')]));for(const _0x56d2b0 of this[_0x335b('0x11')][_0x335b('0x13')]['markers']['getMarkersGroup'](_0x335b('0x2')))if(null!==_0x5cca11[_0x335b('0x0')](_0x56d2b0[_0x335b('0xe')]()))return!0x0;return!0x1;}}
|