@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230831.0 → 0.0.0-nightly-20230902.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 +2 -2
- 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/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-20230902.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-20230902.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230902.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 _0xb225=['get','acceptSuggestion','_suggestions','track-changes-accept-suggestion-not-found','plugins','isEnabled','editor','canEditAt','refresh','getRanges','execute','TrackChangesEditing'];(function(_0x42460d,_0xb225ab){const _0x5a4400=function(_0xa597b5){while(--_0xa597b5){_0x42460d['push'](_0x42460d['shift']());}};_0x5a4400(++_0xb225ab);}(_0xb225,0x17a));const _0x5a44=function(_0x42460d,_0xb225ab){_0x42460d=_0x42460d-0x0;let _0x5a4400=_0xb225[_0x42460d];return _0x5a4400;};import{Command as _0xedb521}from'ckeditor5/src/core';import{CKEditorError as _0x55adb8}from'ckeditor5/src/utils';export default class M extends _0xedb521{constructor(_0x8cf7bf,_0xc4aa6b){super(_0x8cf7bf),this[_0x5a44('0x8')]=_0xc4aa6b,this[_0x5a44('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5a44('0x2')](){this[_0x5a44('0xb')]=!0x0;}[_0x5a44('0x4')](_0x4bc94e){const _0x96dc88=this['_suggestions'][_0x5a44('0x6')](_0x4bc94e);if(!_0x96dc88)throw new _0x55adb8(_0x5a44('0x9'),this);const _0x5ac876=_0x96dc88[_0x5a44('0x3')]();this[_0x5a44('0x0')]['model'][_0x5a44('0x1')](_0x5ac876)&&this['editor'][_0x5a44('0xa')][_0x5a44('0x6')](_0x5a44('0x5'))[_0x5a44('0x7')](_0x96dc88);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x179f=['get','editor','plugins','discardSuggestion','execute','track-changes-discard-suggestion-not-found','_isEnabledBasedOnSelection','canEditAt','TrackChangesEditing','getRanges','refresh','model','_suggestions'];(function(_0x2dfa99,_0x179f0b){const _0x4bc4b5=function(_0x524220){while(--_0x524220){_0x2dfa99['push'](_0x2dfa99['shift']());}};_0x4bc4b5(++_0x179f0b);}(_0x179f,0x125));const _0x4bc4=function(_0x2dfa99,_0x179f0b){_0x2dfa99=_0x2dfa99-0x0;let _0x4bc4b5=_0x179f[_0x2dfa99];return _0x4bc4b5;};import{Command as _0x180207}from'ckeditor5/src/core';import{CKEditorError as _0x18e16c}from'ckeditor5/src/utils';export default class $ extends _0x180207{constructor(_0x327d4c,_0x148952){super(_0x327d4c),this[_0x4bc4('0x5')]=_0x148952,this[_0x4bc4('0x3')](),this[_0x4bc4('0xc')]=!0x1;}[_0x4bc4('0x3')](){this['isEnabled']=!0x0;}[_0x4bc4('0xa')](_0x1c8efa){const _0x1cf56b=this[_0x4bc4('0x5')][_0x4bc4('0x6')](_0x1c8efa);if(!_0x1cf56b)throw new _0x18e16c(_0x4bc4('0xb'),this);const _0x175949=_0x1cf56b[_0x4bc4('0x2')]();this['editor'][_0x4bc4('0x4')][_0x4bc4('0x0')](_0x175949)&&this[_0x4bc4('0x7')][_0x4bc4('0x8')][_0x4bc4('0x6')](_0x4bc4('0x1'))[_0x4bc4('0x9')](_0x1cf56b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x910a=['canEditAt','_isEnabledBasedOnSelection','_suggestions','editor','from','model','execute','isInContent','getRanges','refresh','isEnabled','values'];(function(_0x4a67cc,_0x910a7c){const _0x4e6e98=function(_0x5383ac){while(--_0x5383ac){_0x4a67cc['push'](_0x4a67cc['shift']());}};_0x4e6e98(++_0x910a7c);}(_0x910a,0x19c));const _0x4e6e=function(_0x4a67cc,_0x910a7c){_0x4a67cc=_0x4a67cc-0x0;let _0x4e6e98=_0x910a[_0x4a67cc];return _0x4e6e98;};import{Command as _0x39eafa}from'ckeditor5/src/core';import{sortSuggestions as _0x5da41e,executeCommandForSuggestions as _0x558b15}from'../utils/utils';export default class N extends _0x39eafa{constructor(_0x5382a1,_0xc7e044,_0x1de7d7){super(_0x5382a1),this['_command']=_0xc7e044,this[_0x4e6e('0xa')]=_0x1de7d7,this[_0x4e6e('0x5')](),this[_0x4e6e('0x9')]=!0x1;}['refresh'](){const _0x1c8dd9=Array['from'](this[_0x4e6e('0xa')][_0x4e6e('0x7')]())['some'](_0x2738a8=>_0x2738a8[_0x4e6e('0x3')]);this[_0x4e6e('0x6')]=this['_command'][_0x4e6e('0x6')]&&_0x1c8dd9;}[_0x4e6e('0x2')](){const _0x4b55b7=_0x5da41e(Array[_0x4e6e('0x0')](this[_0x4e6e('0xa')][_0x4e6e('0x7')]()));for(const _0x2a89ad of _0x4b55b7){const _0x4d40ea=_0x2a89ad[_0x4e6e('0x4')]();if(!this['editor'][_0x4e6e('0x1')][_0x4e6e('0x8')](_0x4d40ea))return;}_0x558b15(this[_0x4e6e('0xb')]['model'],this['_command'],_0x4b55b7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4aa1=['editor','from','document','_command','selection','_selectedSuggestions','execute','model','isEnabled','canEditAt','refresh','values','_isEnabledBasedOnSelection','size','_suggestions'];(function(_0x5ebe90,_0x4aa196){const _0x416039=function(_0x478a61){while(--_0x478a61){_0x5ebe90['push'](_0x5ebe90['shift']());}};_0x416039(++_0x4aa196);}(_0x4aa1,0x1f2));const _0x4160=function(_0x5ebe90,_0x4aa196){_0x5ebe90=_0x5ebe90-0x0;let _0x416039=_0x4aa1[_0x5ebe90];return _0x416039;};import{Command as _0x277515}from'ckeditor5/src/core';import{sortSuggestions as _0x469189,getSelectedSuggestions as _0x14fa31,executeCommandForSuggestions as _0x4abb89}from'../utils/utils';export default class R extends _0x277515{constructor(_0x4132f8,_0x11531d,_0x12ad2a){super(_0x4132f8),this[_0x4160('0x0')]=_0x11531d,this[_0x4160('0xb')]=_0x12ad2a,this[_0x4160('0x2')]=new Set(),this['refresh'](),this[_0x4160('0x9')]=!0x1;}[_0x4160('0x7')](){const _0x110967=this[_0x4160('0xc')][_0x4160('0x4')][_0x4160('0xe')][_0x4160('0x1')],_0x269b2c=Array[_0x4160('0xd')](this[_0x4160('0xb')][_0x4160('0x8')]());this[_0x4160('0x2')]=_0x14fa31(_0x110967,_0x269b2c),this[_0x4160('0x5')]=this[_0x4160('0x0')][_0x4160('0x5')]&&!!this[_0x4160('0x2')][_0x4160('0xa')];}[_0x4160('0x3')](){const _0xde7b9=_0x469189(Array['from'](this[_0x4160('0x2')]));for(const _0x54af47 of _0xde7b9){const _0xb0e545=_0x54af47['getRanges']();if(!this[_0x4160('0xc')]['model'][_0x4160('0x6')](_0xb0e545))return;}_0x4abb89(this[_0x4160('0xc')][_0x4160('0x4')],this['_command'],_0xde7b9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b0a=['affectsData','_enabledCommands','isEnabled','TrackChangesCommand','editor','value','refresh','_disableUnsupportedCommands','commands','clearForceDisabled','_isEnabledBasedOnSelection','_enableCommands','has','forceDisabled'];(function(_0x4f5f27,_0x3b0acd){const _0x3a7c4d=function(_0x50403f){while(--_0x50403f){_0x4f5f27['push'](_0x4f5f27['shift']());}};_0x3a7c4d(++_0x3b0acd);}(_0x3b0a,0x78));const _0x3a7c=function(_0x4f5f27,_0x3b0acd){_0x4f5f27=_0x4f5f27-0x0;let _0x3a7c4d=_0x3b0a[_0x4f5f27];return _0x3a7c4d;};import{Command as _0x3f28bd}from'ckeditor5/src/core';export default class _ extends _0x3f28bd{constructor(_0xdbb866,_0x37d787){super(_0xdbb866),this[_0x3a7c('0x7')]=_0x37d787,this[_0x3a7c('0xb')]=!0x1,this[_0x3a7c('0xc')](),this[_0x3a7c('0x2')]=!0x1;}['refresh'](){this[_0x3a7c('0x8')]=!0x0;}['execute'](){this['value']=!this[_0x3a7c('0xb')],this[_0x3a7c('0xb')]?this[_0x3a7c('0xd')]():this['_enableCommands']();}[_0x3a7c('0xd')](){for(const _0x3ac4e4 of this[_0x3a7c('0xa')][_0x3a7c('0x0')][_0x3a7c('0x0')]())_0x3ac4e4[_0x3a7c('0x6')]&&!this['_enabledCommands'][_0x3a7c('0x4')](_0x3ac4e4)&&_0x3ac4e4[_0x3a7c('0x5')](_0x3a7c('0x9'));}[_0x3a7c('0x3')](){for(const _0x3e89b7 of this[_0x3a7c('0xa')]['commands'][_0x3a7c('0x0')]())_0x3e89b7['affectsData']&&!this[_0x3a7c('0x7')][_0x3a7c('0x4')](_0x3e89b7)&&_0x3e89b7[_0x3a7c('0x1')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5aeb=['*Format:*\x20%0','value','AlignmentEditing','justify','from','afterInit','right','getSelectedBlocks','locale','alignment','TrackChangesEditing','editor','enableCommand','schema','change','contentLanguageDirection','left','format','plugins','markBlockFormat','get','getAttribute','model','FORMAT_ALIGN_TO_LEFT'];(function(_0x410294,_0x5aeb60){const _0x9e70e6=function(_0x4c8cb7){while(--_0x4c8cb7){_0x410294['push'](_0x410294['shift']());}};_0x9e70e6(++_0x5aeb60);}(_0x5aeb,0x175));const _0x9e70=function(_0x410294,_0x5aeb60){_0x410294=_0x410294-0x0;let _0x9e70e6=_0x5aeb[_0x410294];return _0x9e70e6;};import{Plugin as _0xcf2934}from'ckeditor5/src/core';import{getTranslation as _0xa27a1}from'../utils/common-translations';export default class j extends _0xcf2934{[_0x9e70('0x10')](){const _0x18ecca=this[_0x9e70('0x16')],_0xc6589c=_0x18ecca[_0x9e70('0x13')];if(!_0x18ecca[_0x9e70('0x5')]['has'](_0x9e70('0xd')))return;const _0x290c08=_0x18ecca[_0x9e70('0x5')][_0x9e70('0x7')](_0x9e70('0x15'));_0x290c08[_0x9e70('0x17')](_0x9e70('0x14'),(_0x3fdb13,_0x4479a5={})=>{let _0x14ef35=_0x4479a5[_0x9e70('0xc')];_0x4479a5[_0x9e70('0xc')]||(_0x14ef35='ltr'===_0x18ecca[_0x9e70('0x13')][_0x9e70('0x2')]?'left':_0x9e70('0x11'));const _0x390adb=Array[_0x9e70('0xf')](this[_0x9e70('0x16')][_0x9e70('0x9')]['document']['selection'][_0x9e70('0x12')]())['filter'](_0x476691=>function(_0xd3635f,_0x355b32,_0xbdf2cf){const _0x4c8e72=_0xd3635f[_0x9e70('0x8')](_0x9e70('0x14'))||null;return _0x355b32['checkAttribute'](_0xd3635f,_0x9e70('0x14'))&&_0xbdf2cf!=_0x4c8e72;}(_0x476691,this[_0x9e70('0x16')]['model'][_0x9e70('0x0')],_0x14ef35));_0x18ecca[_0x9e70('0x9')][_0x9e70('0x1')](()=>{for(const _0x2fdcbd of _0x390adb)_0x290c08[_0x9e70('0x6')](_0x2fdcbd,{'commandName':_0x9e70('0x14'),'commandParams':[{'value':_0x14ef35}]});});}),_0x290c08['_descriptionFactory']['registerDescriptionCallback'](_0x5ca4e0=>{const {data:_0x5a49e7}=_0x5ca4e0;if(_0x5a49e7&&_0x9e70('0x14')==_0x5a49e7['commandName']){const _0x4de43d=_0x5a49e7['commandParams'][0x0][_0x9e70('0xc')];return{'type':_0x9e70('0x4'),'content':_0xa27a1(_0xc6589c,_0x9e70('0xb'),function(_0xd3cfe5){switch(_0xd3cfe5){case _0x9e70('0x3'):return _0xa27a1(_0xc6589c,_0x9e70('0xa'));case _0x9e70('0x11'):return _0xa27a1(_0xc6589c,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0xa27a1(_0xc6589c,'FORMAT_ALIGN_TO_CENTER');case _0x9e70('0xe'):return _0xa27a1(_0xc6589c,'FORMAT_JUSTIFY_TEXT');}}(_0x4de43d))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cc5=['FORMAT_UNDERLINE','*Format:*\x20%0','superscript','slice','bold','format','toLowerCase','commands','_descriptionFactory','*Remove\x20format:*\x20%0','locale','value','underline','get','CodeEditing','document','BoldEditing','forceValue','has','getRanges','isCollapsed','commandName','FORMAT_SUPERSCRIPT','afterInit','plugins','enableCommand','strikethrough','FORMAT_SUBSCRIPT','from','code','FORMAT_CODE','subscript','UnderlineEditing','markInlineFormat','FORMAT_STRIKETHROUGH','FORMAT_BOLD'];(function(_0x5d4ee5,_0x3cc544){const _0x450f5b=function(_0x2f25c2){while(--_0x2f25c2){_0x5d4ee5['push'](_0x5d4ee5['shift']());}};_0x450f5b(++_0x3cc544);}(_0x3cc5,0x1ec));const _0x450f=function(_0x5d4ee5,_0x3cc544){_0x5d4ee5=_0x5d4ee5-0x0;let _0x450f5b=_0x3cc5[_0x5d4ee5];return _0x450f5b;};import{Plugin as _0x257e32}from'ckeditor5/src/core';import{getTranslation as _0x7f65a7}from'../utils/common-translations';import{getRangesWithAttribute as _0x595979}from'./utils';const Yt=[_0x450f('0x1c'),'ItalicEditing',_0x450f('0x8'),_0x450f('0x1a'),'StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class x extends _0x257e32{[_0x450f('0x23')](){const _0xe8fe0=this['editor'],_0x43f5fd=_0xe8fe0['model'],_0x22c717=_0xe8fe0[_0x450f('0x0')]['get']('TrackChangesEditing'),_0x3f1af3=_0xe8fe0[_0x450f('0x16')];for(const _0x53fd01 of Yt){if(!_0xe8fe0[_0x450f('0x0')][_0x450f('0x1e')](_0x53fd01))continue;const _0x277f91=_0x53fd01[_0x450f('0xf')](0x0,-0x7)[_0x450f('0x12')](),_0xd87b68=_0xe8fe0[_0x450f('0x13')][_0x450f('0x19')](_0x277f91);_0x22c717[_0x450f('0x1')](_0x277f91,(_0x31ae82,_0x165565={})=>{const _0x4db1ee=_0x43f5fd[_0x450f('0x1b')]['selection'];if(_0x4db1ee[_0x450f('0x20')])return void _0x31ae82(_0x165565);const _0x57e0fe=void 0x0!==_0x165565[_0x450f('0x1d')]?_0x165565['forceValue']:!_0xd87b68[_0x450f('0x17')];_0x43f5fd['change'](()=>{const _0x570b0d=Array[_0x450f('0x4')](_0x4db1ee[_0x450f('0x1f')]());for(const _0x2c5295 of _0x570b0d){const _0x5ccbe5=_0x57e0fe?[_0x2c5295]:_0x595979(_0x277f91,_0x2c5295,_0x43f5fd);for(const _0x480903 of _0x5ccbe5)_0x22c717[_0x450f('0x9')](_0x480903,{'commandName':_0x277f91,'commandParams':[{'forceValue':_0x57e0fe}]});}});});}function _0x4f48f8(_0x13d6d9,_0x285173){_0x22c717[_0x450f('0x14')]['registerDescriptionCallback'](_0x27cb16=>{const {data:_0x732c5c}=_0x27cb16;if(_0x732c5c&&_0x732c5c[_0x450f('0x21')]===_0x13d6d9)return _0x732c5c['commandParams'][0x0][_0x450f('0x1d')]?{'type':_0x450f('0x11'),'content':_0x7f65a7(_0x3f1af3,_0x450f('0xd'),_0x285173)}:{'type':_0x450f('0x11'),'content':_0x7f65a7(_0x3f1af3,_0x450f('0x15'),_0x285173)};});}_0x4f48f8(_0x450f('0x10'),_0x7f65a7(_0x3f1af3,_0x450f('0xb'))),_0x4f48f8('italic',_0x7f65a7(_0x3f1af3,'FORMAT_ITALIC')),_0x4f48f8(_0x450f('0x18'),_0x7f65a7(_0x3f1af3,_0x450f('0xc'))),_0x4f48f8(_0x450f('0x5'),_0x7f65a7(_0x3f1af3,_0x450f('0x6'))),_0x4f48f8(_0x450f('0x2'),_0x7f65a7(_0x3f1af3,_0x450f('0xa'))),_0x4f48f8(_0x450f('0x7'),_0x7f65a7(_0x3f1af3,_0x450f('0x3'))),_0x4f48f8(_0x450f('0xe'),_0x7f65a7(_0x3f1af3,_0x450f('0x22')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f04=['name','filter','model','enableCommand','TrackChangesEditing','commandName','format','editor','*Format:*\x20%0','from','parent','schema','value','plugins','forceValue','$root','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','locale','commandParams','checkChild','change','registerDescriptionCallback','get','blockQuote','afterInit','selection','*Remove\x20format:*\x20%0'];(function(_0x2133a8,_0x4f04e7){const _0x1f090e=function(_0x4fa8a3){while(--_0x4fa8a3){_0x2133a8['push'](_0x2133a8['shift']());}};_0x1f090e(++_0x4f04e7);}(_0x4f04,0xef));const _0x1f09=function(_0x2133a8,_0x4f04e7){_0x2133a8=_0x2133a8-0x0;let _0x1f090e=_0x4f04[_0x2133a8];return _0x1f090e;};import{Plugin as _0x2df48c}from'ckeditor5/src/core';import{getTranslation as _0xfd86ed}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4c442b}from'../utils/utils';export default class U extends _0x2df48c{[_0x1f09('0x13')](){const _0x4a81b6=this['editor'],_0x33b81e=_0x4a81b6[_0x1f09('0xc')];if(!_0x4a81b6[_0x1f09('0x6')]['has'](_0x1f09('0xb')))return;const _0x14dcb4=_0x4a81b6[_0x1f09('0x6')][_0x1f09('0x11')](_0x1f09('0x1a')),_0x2f2cb9=this[_0x1f09('0x0')]['commands'][_0x1f09('0x11')](_0x1f09('0x12'));_0x14dcb4[_0x1f09('0x19')](_0x1f09('0x12'),(_0x1cde0b,_0x3e656b={})=>{const _0xb7296a=this[_0x1f09('0x0')][_0x1f09('0x18')]['document'][_0x1f09('0x14')],_0x52e07e=_0x3e656b&&void 0x0!==_0x3e656b['forceValue']?_0x3e656b[_0x1f09('0x7')]:!_0x2f2cb9[_0x1f09('0x5')];let _0x23f7b5=[];if(_0x52e07e){const _0x15b903=Array['from'](_0xb7296a[_0x1f09('0x9')]())[_0x1f09('0x17')](_0x506ffd=>to(_0x506ffd)||function(_0x482257,_0x2219c3){const _0x3eba48=_0x2219c3['checkChild'](_0x482257[_0x1f09('0x3')],'blockQuote'),_0x12b23b=_0x2219c3[_0x1f09('0xe')]([_0x1f09('0x8'),_0x1f09('0x12')],_0x482257);return _0x3eba48&&_0x12b23b;}(_0x506ffd,this['editor'][_0x1f09('0x18')][_0x1f09('0x4')]));_0x23f7b5=_0x4c442b(_0x15b903,_0x4a81b6[_0x1f09('0x18')]);}else{const _0x593507=Array[_0x1f09('0x2')](_0xb7296a['getSelectedBlocks']())[_0x1f09('0x17')](_0x546459=>to(_0x546459));_0x23f7b5=_0x4c442b(_0x593507,_0x4a81b6[_0x1f09('0x18')]);}_0x4a81b6['model'][_0x1f09('0xf')](()=>{for(const _0x43a379 of _0x23f7b5)_0x14dcb4['markBlockFormat'](_0x43a379,{'commandName':_0x1f09('0x12'),'commandParams':[{'forceValue':_0x52e07e}]});});}),_0x14dcb4['_descriptionFactory'][_0x1f09('0x10')](_0x1a076a=>{const {data:_0xcc116e}=_0x1a076a;if(_0xcc116e&&'blockQuote'==_0xcc116e[_0x1f09('0x1b')]){const _0x302a4f=_0xfd86ed(_0x33b81e,_0x1f09('0xa'));return _0xcc116e[_0x1f09('0xd')][0x0][_0x1f09('0x7')]?{'type':_0x1f09('0x1c'),'content':_0xfd86ed(_0x33b81e,_0x1f09('0x1'),_0x302a4f)}:{'type':'format','content':_0xfd86ed(_0x33b81e,_0x1f09('0x15'),_0x302a4f)};}});}}function to(_0xe26701){return'blockQuote'==_0xe26701['parent'][_0x1f09('0x16')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9ac0=['editor','afterInit','enableCommand','get','ckbox','TrackChangesEditing','plugins'];(function(_0x356f5d,_0x9ac02a){const _0x552a77=function(_0x4a3b45){while(--_0x4a3b45){_0x356f5d['push'](_0x356f5d['shift']());}};_0x552a77(++_0x9ac02a);}(_0x9ac0,0x144));const _0x552a=function(_0x356f5d,_0x9ac02a){_0x356f5d=_0x356f5d-0x0;let _0x552a77=_0x9ac0[_0x356f5d];return _0x552a77;};import{Plugin as _0x1d3285}from'ckeditor5/src/core';export default class O extends _0x1d3285{[_0x552a('0x6')](){const _0x4a4ac0=this[_0x552a('0x5')];_0x4a4ac0['commands']['get'](_0x552a('0x2'))&&_0x4a4ac0[_0x552a('0x4')][_0x552a('0x1')](_0x552a('0x3'))[_0x552a('0x0')](_0x552a('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d25=['document','outdentCodeBlock','selection','rootElement','afterInit','markBlockFormat','commandName','indentCodeBlock','filter','parent','plugins','model','_descriptionFactory','forceValue','enableCommand','formatBlock','blockName','registerDescriptionCallback','getSelectedBlocks','format','codeBlock','editor','name','*Format:*\x20%0','value','language','label','schema','config','commands','checkChild','TrackChangesEditing','locale','from','CodeBlock','*Remove\x20format:*\x20%0','isLimit','find','commandParams','ELEMENT_CODE_BLOCK'];(function(_0x10288d,_0x3d25e3){const _0x5c8c4a=function(_0x5de664){while(--_0x5de664){_0x10288d['push'](_0x10288d['shift']());}};_0x5c8c4a(++_0x3d25e3);}(_0x3d25,0xa7));const _0x5c8c=function(_0x10288d,_0x3d25e3){_0x10288d=_0x10288d-0x0;let _0x5c8c4a=_0x3d25[_0x10288d];return _0x5c8c4a;};import{Plugin as _0x542b9a}from'ckeditor5/src/core';import{getTranslation as _0x50c8a6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xda057f}from'../utils/utils';export default class E extends _0x542b9a{[_0x5c8c('0x25')](){const _0x1a51a9=this[_0x5c8c('0xe')];if(!_0x1a51a9[_0x5c8c('0x3')]['has'](_0x5c8c('0x1b')))return;const _0x3e38ad=_0x1a51a9['plugins']['get'](_0x5c8c('0x18')),_0x515d1b=_0x1a51a9[_0x5c8c('0x19')],_0x396988=_0x1a51a9[_0x5c8c('0x15')]['get']('codeBlock')['languages'],_0x1c1466=_0x1a51a9[_0x5c8c('0x16')]['get'](_0x5c8c('0xd'));_0x3e38ad[_0x5c8c('0x7')](_0x5c8c('0x0')),_0x3e38ad[_0x5c8c('0x7')](_0x5c8c('0x22')),_0x3e38ad[_0x5c8c('0x7')](_0x5c8c('0xd'),(_0x3fe5c8,_0x361a8c={})=>{const _0x111b8a=_0x1a51a9['model'],_0x2d4cc1=_0x1a51a9[_0x5c8c('0x4')][_0x5c8c('0x21')][_0x5c8c('0x23')],_0x388672=_0x361a8c&&void 0x0!==_0x361a8c[_0x5c8c('0x6')]?_0x361a8c[_0x5c8c('0x6')]:!_0x1c1466[_0x5c8c('0x11')];let _0x5664e2;_0x361a8c[_0x5c8c('0x12')]||(_0x361a8c[_0x5c8c('0x12')]=_0x396988[0x0]['language']),_0x5664e2=_0x388672?Array['from'](_0x2d4cc1[_0x5c8c('0xb')]())[_0x5c8c('0x1')](_0x15d655=>oo(_0x15d655)||function(_0x5d564c,_0x1934a9){if(_0x5d564c['is'](_0x5c8c('0x24'))||_0x1934a9[_0x5c8c('0x1d')](_0x5d564c))return!0x1;return _0x1934a9[_0x5c8c('0x17')](_0x5d564c[_0x5c8c('0x2')],_0x5c8c('0xd'));}(_0x15d655,_0x111b8a[_0x5c8c('0x14')])):Array[_0x5c8c('0x1a')](_0x2d4cc1[_0x5c8c('0xb')]())['filter'](_0x4caa54=>oo(_0x4caa54));const _0x5ec5e2=_0xda057f(_0x5664e2,_0x111b8a);_0x111b8a['change'](()=>{for(const _0x8e801 of _0x5ec5e2)_0x3e38ad[_0x5c8c('0x26')](_0x8e801,{'commandName':_0x5c8c('0xd'),'commandParams':[{..._0x361a8c,'forceValue':_0x388672}],'formatGroupId':_0x5c8c('0x9')});});}),(_0x3e38ad['_descriptionFactory']['registerElementLabel'](_0x5c8c('0xd'),_0x3036f1=>_0x50c8a6(_0x515d1b,_0x5c8c('0x20'),_0x3036f1)),_0x3e38ad[_0x5c8c('0x5')][_0x5c8c('0xa')](_0x27e18a=>{const _0x4047a4=_0x515d1b['t'],{type:_0x54e908,data:_0x351b0b}=_0x27e18a;if(_0x5c8c('0x8')==_0x54e908&&_0x351b0b&&_0x5c8c('0xd')==_0x351b0b[_0x5c8c('0x27')]){const _0x2eaa57=_0x351b0b[_0x5c8c('0x1f')][0x0]['language'],_0x2dfef3=_0x4047a4(_0x396988[_0x5c8c('0x1e')](_0x2f07b1=>_0x2f07b1['language']===_0x2eaa57)[_0x5c8c('0x13')]);return _0x351b0b['commandParams'][0x0][_0x5c8c('0x6')]?{'type':'format','content':_0x50c8a6(_0x515d1b,_0x5c8c('0x10'),_0x50c8a6(_0x515d1b,_0x5c8c('0x20'),0x1)+'\x20('+_0x2dfef3+')')}:{'type':_0x5c8c('0xc'),'content':_0x50c8a6(_0x515d1b,_0x5c8c('0x1c'),_0x50c8a6(_0x515d1b,_0x5c8c('0x20'),0x1))};}}));}}function oo(_0x37a2ae){return _0x5c8c('0xd')==_0x37a2ae[_0x5c8c('0xf')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4752=['plugins','addCommentThread','enableCommand','CommentsEditing','has','editor','get'];(function(_0x11ff88,_0x475258){const _0x4523a4=function(_0x41e853){while(--_0x41e853){_0x11ff88['push'](_0x11ff88['shift']());}};_0x4523a4(++_0x475258);}(_0x4752,0xaf));const _0x4523=function(_0x11ff88,_0x475258){_0x11ff88=_0x11ff88-0x0;let _0x4523a4=_0x4752[_0x11ff88];return _0x4523a4;};import{Plugin as _0x308577}from'ckeditor5/src/core';export default class F extends _0x308577{['afterInit'](){const _0x4fabbd=this[_0x4523('0x5')];if(!_0x4fabbd[_0x4523('0x0')][_0x4523('0x4')](_0x4523('0x3')))return;_0x4fabbd[_0x4523('0x0')][_0x4523('0x6')]('TrackChangesEditing')[_0x4523('0x2')](_0x4523('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d71=['bind','end','setSelection','data','lock','requires','createRange','mapper','removeMarker:suggestion:deletion','high','rootName','enqueueChange','showSuggestionHighlights','isCollapsed','options','writer','root','modifySelection','$graveyard','merge','model','downcastDispatcher','fromRange','batch','document','createSelection','plugins','uiElement','editing','buffer','enableCommand','markerName','getFirstRange','commands','deleteForward','start','forward','detach','addMarker:suggestion:deletion','get','remove','init'];(function(_0x36a1ff,_0x2d71e5){const _0x2bdc95=function(_0x25585a){while(--_0x25585a){_0x36a1ff['push'](_0x36a1ff['shift']());}};_0x2bdc95(++_0x2d71e5);}(_0x2d71,0x149));const _0x2bdc=function(_0x36a1ff,_0x2d71e5){_0x36a1ff=_0x36a1ff-0x0;let _0x2bdc95=_0x2d71[_0x36a1ff];return _0x2bdc95;};import{Plugin as _0x3ea219}from'ckeditor5/src/core';import{LiveRange as _0x1b1f2d}from'ckeditor5/src/engine';import{Delete as _0x59ea8c}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x59fddf}from'./utils';export default class G extends _0x3ea219{static get[_0x2bdc('0xc')](){return[_0x59ea8c];}[_0x2bdc('0x6')](){const _0x1cee9e=this['editor'],_0x11a8de=_0x1cee9e[_0x2bdc('0x21')]['get']('TrackChangesEditing');_0x11a8de[_0x2bdc('0x25')]('delete');const _0x33062c=_0x1cee9e[_0x2bdc('0x28')][_0x2bdc('0x4')]('deleteForward');_0x11a8de[_0x2bdc('0x25')](_0x2bdc('0x29'),(_0x2ff5b8,_0x2bb567={})=>{const _0x164c88=_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x20')](_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x1f')]['selection']);_0x164c88[_0x2bdc('0x14')]&&_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x18')](_0x164c88,{'direction':_0x2bdc('0x1'),'unit':_0x2bb567['unit']});const _0x791a7d=_0x164c88[_0x2bdc('0x27')](),_0x556f87=_0x1b1f2d[_0x2bdc('0x1d')](_0x791a7d);let _0x57c6fb;_0x2ff5b8(_0x2bb567),_0x57c6fb=_0x2bdc('0x19')==_0x556f87[_0x2bdc('0x17')][_0x2bdc('0x11')]?_0x1cee9e['model'][_0x2bdc('0xd')](_0x791a7d[_0x2bdc('0x0')]):_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0xd')](_0x556f87['start'],_0x556f87['end']),_0x556f87[_0x2bdc('0x2')](),_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x12')](_0x33062c['buffer'][_0x2bdc('0x1e')],_0x2bddec=>{_0x33062c[_0x2bdc('0x24')][_0x2bdc('0xb')](),_0x2bddec[_0x2bdc('0x9')](_0x2bddec[_0x2bdc('0xd')](_0x57c6fb[_0x2bdc('0x8')])),_0x33062c[_0x2bdc('0x24')]['unlock']();});}),_0x1cee9e[_0x2bdc('0x23')][_0x2bdc('0x1c')]['on'](_0x2bdc('0x3'),_0x59fddf(_0x1cee9e,'merge'),{'priority':_0x2bdc('0x10')}),_0x1cee9e[_0x2bdc('0xa')]['downcastDispatcher']['on'](_0x2bdc('0x3'),(_0x1b91e2,_0x39822,_0x2452e8)=>{_0x2452e8[_0x2bdc('0x15')][_0x2bdc('0x13')]&&_0x59fddf(_0x1cee9e,_0x2bdc('0x1a'),{'showActiveMarker':!0x1})[_0x2bdc('0x7')](this)(_0x1b91e2,_0x39822,_0x2452e8);},{'priority':_0x2bdc('0x10')}),_0x1cee9e['editing'][_0x2bdc('0x1c')]['on'](_0x2bdc('0xf'),(_0x37b4e3,_0x4c5da8,_0x373f85)=>{const _0x55032f=_0x373f85[_0x2bdc('0xe')]['markerNameToElements'](_0x4c5da8['markerName']);if(_0x55032f)for(const _0x3d07f6 of _0x55032f)_0x3d07f6['is'](_0x2bdc('0x22'))&&(_0x373f85['mapper']['unbindElementFromMarkerName'](_0x3d07f6,_0x4c5da8[_0x2bdc('0x26')]),_0x373f85[_0x2bdc('0x16')][_0x2bdc('0x5')](_0x3d07f6));},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32b7=['from','plugins','end','slice','ELEMENT_LIST_ITEM','model','ELEMENT_BULLETED_LIST','detach','documentList','getAttribute','createPositionAt','commandName','*Change\x20to:*\x20%0','listIndent','value','accept','createRange','listItemId','getRanges','execute','formatBlock','afterInit','listType','registerElementLabel','map','refresh','DocumentListEditing','forceValue','before','isObject','DocumentListUtils','fromRange','TrackChangesEditing','has','push','expandListBlocksToCompleteList','getSelectedBlocks','deletion','*Merge:*\x20%0','ELEMENT_NUMBERED_LIST','ELEMENT_','mergeListItemBackward','*Outdent:*\x20%0','indentList','commands','schema','previousSibling','_descriptionFactory','isFirstBlockOfListItem','bulletedList','after','start','splitListItemAfter','numberedList','setSelection','next','markMultiRangeBlockFormat','multipleBlocks','*Indent:*\x20%0','change','nextSibling','*Format:*\x20insert\x20into\x20%0','parent','getFirstRange','outdentList','_suggestionFactory','document','length','nodeAfter','markBlockFormat','commandParams','splitListItemBefore','enableCommand','format','selection','mergeListItemForward','get'];(function(_0x415bb2,_0x32b712){const _0x5ad922=function(_0xbf2d04){while(--_0xbf2d04){_0x415bb2['push'](_0x415bb2['shift']());}};_0x5ad922(++_0x32b712);}(_0x32b7,0x176));const _0x5ad9=function(_0x415bb2,_0x32b712){_0x415bb2=_0x415bb2-0x0;let _0x5ad922=_0x32b7[_0x415bb2];return _0x5ad922;};import{Plugin as _0x3a00ec}from'ckeditor5/src/core';import{getTranslation as _0x48ca0}from'../utils/common-translations';import{LiveRange as _0x47eb1e}from'ckeditor5/src/engine';export default class L extends _0x3a00ec{[_0x5ad9('0x20')](){const _0x1283fd=this['editor'];if(!_0x1283fd['plugins'][_0x5ad9('0x2c')](_0x5ad9('0x25')))return;const _0x591d3f=_0x1283fd['locale'],_0x26a644=_0x1283fd[_0x5ad9('0xc')][_0x5ad9('0xa')](_0x5ad9('0x2b')),_0x224ca1=_0x1283fd[_0x5ad9('0xc')][_0x5ad9('0xa')](_0x5ad9('0x29'));function _0x50038e(_0xfe5dd5){return()=>{const _0x300f89=_0x1283fd['commands'][_0x5ad9('0xa')](_0xfe5dd5);let _0x1dd370=Array['from'](_0x1283fd['model'][_0x5ad9('0x0')]['selection'][_0x5ad9('0x2f')]());if(_0x3ae5f5(_0xfe5dd5)){_0x1dd370=_0x224ca1[_0x5ad9('0x2e')](_0x1dd370);const _0x32974c=[];for(const _0x3d97ca of _0x1dd370)_0x224ca1[_0x5ad9('0x3b')](_0x3d97ca)&&_0x32974c[_0x5ad9('0x2d')](_0x3d97ca);_0x1dd370=_0x32974c;}_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](()=>{_0x26a644[_0x5ad9('0x43')](_0x1dd370,{'commandName':_0xfe5dd5,'commandParams':[{'forceValue':!_0x300f89[_0x5ad9('0x19')]}],'formatGroupId':_0x5ad9('0x21')},[],_0x5ad9('0x13'));});};}function _0x2496f5(_0x267783){return()=>{const _0x4bb03e=function(_0x3d385e){let _0x364667=Array[_0x5ad9('0xb')](_0x3d385e);const _0x79723f=_0x364667['findIndex'](_0x5e663b=>!_0x5e663b['hasAttribute'](_0x5ad9('0x1c')));return _0x79723f>-0x1&&(_0x364667=_0x364667[_0x5ad9('0xe')](0x0,_0x79723f)),_0x364667;}(_0x1283fd[_0x5ad9('0x10')]['document'][_0x5ad9('0x8')][_0x5ad9('0x2f')]()),_0x316bc1=_0x4bb03e[_0x4bb03e[_0x5ad9('0x1')]-0x1],_0xd329de=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x38')][_0x5ad9('0x28')](_0x316bc1)?_0x5ad9('0x3d'):_0x5ad9('0xd'),_0x243a02=_0x1283fd['model'][_0x5ad9('0x1b')](_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x15')](_0x4bb03e[0x0],_0x5ad9('0x27')),_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x15')](_0x316bc1,_0xd329de));_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](()=>{_0x26a644[_0x5ad9('0x3')](_0x243a02,{'commandName':_0x267783,'commandParams':[],'formatGroupId':_0x5ad9('0x21')},function(_0x2d8601){const _0x548a84=new Set();for(const _0x404dbd of _0x2d8601){let _0x54c89a=_0x404dbd[_0x5ad9('0x47')];for(;_0x54c89a&&_0x54c89a[_0x5ad9('0x14')](_0x5ad9('0x18'))>_0x404dbd[_0x5ad9('0x14')](_0x5ad9('0x18'));)_0x548a84['add'](_0x54c89a),_0x54c89a=_0x54c89a[_0x5ad9('0x47')];}return Array[_0x5ad9('0xb')](_0x548a84);}(_0x4bb03e));});};}function _0x516ec7(_0x4336b8){return()=>{const _0x51abbc=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x0')][_0x5ad9('0x8')][_0x5ad9('0x2f')]()[_0x5ad9('0x42')]()[_0x5ad9('0x19')],_0x4ea5de=_0x1283fd[_0x5ad9('0x10')]['createPositionAt'](_0x51abbc,'before'),_0x4817c6=_0x1283fd['model'][_0x5ad9('0x15')](_0x51abbc,0x0),_0x12951d=_0x1283fd[_0x5ad9('0x10')]['createRange'](_0x4ea5de,_0x4817c6);_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](()=>{_0x26a644[_0x5ad9('0x3')](_0x12951d,{'commandName':_0x4336b8,'commandParams':[],'formatGroupId':'listType'});});};}function _0x3ae5f5(_0x5a75c1){const _0x590fa5=_0x1283fd['commands']['get']('bulletedList')[_0x5ad9('0x19')],_0x117ca4=_0x1283fd[_0x5ad9('0x37')]['get'](_0x5ad9('0x40'))['value'];return _0x5ad9('0x40')===_0x5a75c1?_0x590fa5:_0x117ca4;}_0x26a644['enableCommand'](_0x5ad9('0x40'),_0x50038e(_0x5ad9('0x40'))),_0x26a644['enableCommand'](_0x5ad9('0x3c'),_0x50038e(_0x5ad9('0x3c'))),_0x26a644[_0x5ad9('0x6')](_0x5ad9('0x36'),_0x2496f5(_0x5ad9('0x36'))),_0x26a644['enableCommand'](_0x5ad9('0x4b'),_0x2496f5(_0x5ad9('0x4b'))),_0x26a644[_0x5ad9('0x6')](_0x5ad9('0x3f'),_0x516ec7(_0x5ad9('0x3f'))),_0x26a644[_0x5ad9('0x6')](_0x5ad9('0x5'),_0x516ec7(_0x5ad9('0x5'))),_0x26a644[_0x5ad9('0x3a')][_0x5ad9('0x22')](function(_0x54c9bd){const _0x1c0c3e=!_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x38')][_0x5ad9('0x28')](_0x54c9bd),_0xda5128=_0x54c9bd[_0x5ad9('0x39')],_0x598967=_0x54c9bd[_0x5ad9('0x47')],_0x319b31=_0x54c9bd['getAttribute'](_0x5ad9('0x1c')),_0xf78c2b=!_0xda5128||_0xda5128[_0x5ad9('0x14')](_0x5ad9('0x1c'))!==_0x319b31,_0xc877df=!_0x598967||_0x598967[_0x5ad9('0x14')](_0x5ad9('0x1c'))!==_0x319b31;return _0x1c0c3e&&Boolean(_0x319b31)&&_0xf78c2b&&_0xc877df;},_0x52a114=>_0x48ca0(_0x591d3f,_0x5ad9('0xf'),_0x52a114)),_0x26a644[_0x5ad9('0x3a')]['registerDescriptionCallback'](function(_0x3c9bce){const {data:_0x887275}=_0x3c9bce;if(!_0x887275)return;let _0x1da3b2,_0x1e5905,_0x290f34,_0x564347;switch(_0x887275[_0x5ad9('0x16')]){case _0x5ad9('0x3c'):_0x290f34=_0x887275['commandParams'][0x0][_0x5ad9('0x26')],_0x564347=_0x3ae5f5(_0x887275[_0x5ad9('0x16')]),_0x1da3b2=_0x290f34?_0x5ad9('0x48'):'*Format:*\x20remove\x20from\x20%0',_0x564347&&(_0x1da3b2='*Change\x20to:*\x20%0'),_0x1e5905={'type':_0x5ad9('0x7'),'content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0x11')))};break;case _0x5ad9('0x40'):_0x290f34=_0x887275[_0x5ad9('0x4')][0x0]['forceValue'],_0x564347=_0x3ae5f5(_0x887275[_0x5ad9('0x16')]),_0x1da3b2=_0x290f34?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x564347&&(_0x1da3b2=_0x5ad9('0x17')),_0x1e5905={'type':_0x5ad9('0x7'),'content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0x32')))};break;case'indentList':_0x1da3b2=_0x5ad9('0x45'),_0x1e5905={'type':'format','content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0xf')))};break;case _0x5ad9('0x4b'):_0x1da3b2=function(_0x596904){const _0xc815f5=_0x596904[_0x5ad9('0x4a')]();let _0x3ddce5=_0xc815f5[_0x5ad9('0x3e')]['nodeAfter'];for(;_0x3ddce5&&_0xc815f5['containsItem'](_0x3ddce5);){if(_0x3ddce5['getAttribute']('listIndent')>0x0)return!0x1;_0x3ddce5=_0x3ddce5[_0x5ad9('0x47')];}return!0x0;}(_0x3c9bce)?_0x48ca0(_0x591d3f,'*Format:*\x20remove\x20from\x20%0',_0x48ca0(_0x591d3f,function(_0x3b81f5){const _0x2bf6c3=_0x3b81f5['getFirstRange']()['start'][_0x5ad9('0x2')];return _0x5ad9('0x33')+_0x2bf6c3[_0x5ad9('0x14')](_0x5ad9('0x21'))['toUpperCase']()+'_LIST';}(_0x3c9bce))):_0x48ca0(_0x591d3f,_0x5ad9('0x35'),_0x48ca0(_0x591d3f,_0x5ad9('0xf'))),_0x1e5905={'type':_0x5ad9('0x7'),'content':_0x1da3b2};break;case _0x5ad9('0x34'):case _0x5ad9('0x9'):!0x1===_0x887275[_0x5ad9('0x44')]&&(_0x1da3b2=_0x5ad9('0x31'),_0x1e5905={'type':_0x5ad9('0x30'),'content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0xf')))});}return _0x1e5905;}),_0x26a644[_0x5ad9('0x4c')]['registerCustomCallback'](_0x5ad9('0x1f'),'documentList',_0x5ad9('0x1a'),function(_0x1cd6e4,_0x4d9db9){const _0x2877a7=[];for(let _0x29d583 of _0x1cd6e4)_0x29d583[_0x5ad9('0x3e')][_0x5ad9('0x2')]===_0x29d583[_0x5ad9('0xd')][_0x5ad9('0x49')]&&(_0x29d583=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x1b')](_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x15')](_0x29d583[_0x5ad9('0x3e')][_0x5ad9('0x2')],0x0))),_0x2877a7[_0x5ad9('0x2d')](_0x29d583);_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](_0x26590d=>{const _0x2c5bf2=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x0')][_0x5ad9('0x8')],_0x3da469=Array['from'](_0x2c5bf2[_0x5ad9('0x1d')]())[_0x5ad9('0x23')](_0x5de2cd=>_0x47eb1e[_0x5ad9('0x2a')](_0x5de2cd));_0x26590d['setSelection'](_0x2877a7),_0x1283fd[_0x5ad9('0x37')][_0x5ad9('0xa')](_0x4d9db9[_0x5ad9('0x16')])[_0x5ad9('0x24')](),_0x4d9db9[_0x5ad9('0x4')]['push']({'forceDefaultExecution':!0x0}),_0x1283fd[_0x5ad9('0x1e')](_0x4d9db9[_0x5ad9('0x16')],..._0x4d9db9['commandParams']),_0x26590d[_0x5ad9('0x41')](_0x3da469);for(const _0x3a8956 of _0x3da469)_0x3a8956[_0x5ad9('0x12')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51bc=['isFirstBlockOfListItem','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20reversed','listType','TrackChangesEditing','handleListStyleCommand','editor','replace','has','_getSuggestionBlocksForListStyle','plugins','commandName','get','startIndex','getSelectedBlocks','DocumentListPropertiesUtils','listReversed','getAttribute','toUpperCase','_getSuggestionBlocks','afterInit','*Format:*\x20set\x20start\x20index\x20to\x20%0','isListItemBlock','_LIST_','styles','change','document','from','handleDescriptions','bind','type','config','commandParams','listStart','DocumentListPropertiesEditing','markMultiRangeBlockFormat','enableCommand','push','locale','_descriptionFactory','handleListReversedCommand','format','reversed','*Change\x20to:*\x20%0','numbered','length','model','listStyle','list.properties','selection','filter','DocumentListUtils','registerDescriptionCallback','expandListBlocksToCompleteList'];(function(_0x194068,_0x51bce5){const _0x32e6a1=function(_0x3d4edd){while(--_0x3d4edd){_0x194068['push'](_0x194068['shift']());}};_0x32e6a1(++_0x51bce5);}(_0x51bc,0xce));const _0x32e6=function(_0x194068,_0x51bce5){_0x194068=_0x194068-0x0;let _0x32e6a1=_0x51bc[_0x194068];return _0x32e6a1;};import{Plugin as _0x17a336}from'ckeditor5/src/core';import{getTranslation as _0x5f2e08}from'../utils/common-translations';export default class At extends _0x17a336{[_0x32e6('0x1e')](){if(!this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x12')](_0x32e6('0x2c')))return;const _0x37ed68=this[_0x32e6('0x10')][_0x32e6('0x29')][_0x32e6('0x16')](_0x32e6('0x4')),_0x59d7f5=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')]('TrackChangesEditing');_0x37ed68[_0x32e6('0x22')]&&_0x59d7f5[_0x32e6('0x2e')](_0x32e6('0x3'),this[_0x32e6('0xf')][_0x32e6('0x27')](this)),_0x37ed68[_0x32e6('0x34')]&&_0x59d7f5[_0x32e6('0x2e')](_0x32e6('0x1a'),this[_0x32e6('0x32')][_0x32e6('0x27')](this)),_0x37ed68['startIndex']&&_0x59d7f5[_0x32e6('0x2e')](_0x32e6('0x2b'),this['handleListStartCommand'][_0x32e6('0x27')](this)),_0x59d7f5[_0x32e6('0x31')][_0x32e6('0x8')](this[_0x32e6('0x26')][_0x32e6('0x27')](this));}['handleListStyleCommand'](_0x287fb1,_0x58e150={}){const _0x20bbb0=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0xe')),_0x28f6f9=this[_0x32e6('0x13')]();this[_0x32e6('0x10')][_0x32e6('0x2')]['change'](()=>{_0x20bbb0[_0x32e6('0x2d')](_0x28f6f9,{'commandName':_0x32e6('0x3'),'commandParams':[{'type':_0x58e150[_0x32e6('0x28')]}],'formatGroupId':_0x32e6('0x3')});});}['handleListReversedCommand'](_0xc9c0db,_0x4cb32d={}){const _0x538b64=this['editor'][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0xe')),_0x17b01c=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')]('DocumentListUtils'),_0x22dcf1=this[_0x32e6('0x1d')](_0x1d05e5=>_0x17b01c[_0x32e6('0x20')](_0x1d05e5)&&_0x32e6('0x0')===_0x1d05e5[_0x32e6('0x1b')](_0x32e6('0xd')));null!==_0x22dcf1&&this[_0x32e6('0x10')][_0x32e6('0x2')][_0x32e6('0x23')](()=>{_0x538b64[_0x32e6('0x2d')](_0x22dcf1,{'commandName':_0x32e6('0x1a'),'commandParams':[{'reversed':_0x4cb32d[_0x32e6('0x34')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x2cca2e,_0x19579d={}){const _0x5b9767=this['editor'][_0x32e6('0x14')]['get'](_0x32e6('0xe')),_0x4a402b=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x7')),_0x27b4f8=this[_0x32e6('0x1d')](_0x5d66d9=>_0x4a402b[_0x32e6('0x20')](_0x5d66d9)&&_0x32e6('0x0')===_0x5d66d9[_0x32e6('0x1b')](_0x32e6('0xd')));null!==_0x27b4f8&&this[_0x32e6('0x10')][_0x32e6('0x2')][_0x32e6('0x23')](()=>{_0x5b9767['markMultiRangeBlockFormat'](_0x27b4f8,{'commandName':_0x32e6('0x2b'),'commandParams':[{'startIndex':_0x19579d[_0x32e6('0x17')]}],'formatGroupId':'listStart'});});}[_0x32e6('0x26')](_0x85b014){const _0x40d670=this[_0x32e6('0x10')][_0x32e6('0x30')],{data:_0x45652b}=_0x85b014;if(!_0x45652b)return;let _0x5b6164,_0x247890;switch(_0x45652b[_0x32e6('0x15')]){case _0x32e6('0x3'):_0x5b6164=_0x32e6('0x35'),_0x247890={'type':'format','content':_0x5f2e08(_0x40d670,_0x5b6164,_0x5f2e08(_0x40d670,this[_0x32e6('0xb')](_0x45652b[_0x32e6('0x2a')][0x0][_0x32e6('0x28')])))};break;case _0x32e6('0x1a'):_0x5b6164=_0x45652b[_0x32e6('0x2a')][0x0][_0x32e6('0x34')]?_0x32e6('0xc'):'*Format:*\x20set\x20order\x20to\x20regular',_0x247890={'type':'format','content':_0x5f2e08(_0x40d670,_0x5b6164)};break;case'listStart':_0x5b6164=_0x32e6('0x1f'),_0x247890={'type':_0x32e6('0x33'),'content':_0x5f2e08(_0x40d670,_0x5b6164,_0x45652b[_0x32e6('0x2a')][0x0][_0x32e6('0x17')])};}return _0x247890;}[_0x32e6('0x13')](){const _0xe541ce=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x7'));let _0x4c7c37=Array['from'](this[_0x32e6('0x10')][_0x32e6('0x2')][_0x32e6('0x24')][_0x32e6('0x5')][_0x32e6('0x18')]());return _0x4c7c37['push'](..._0xe541ce['expandListBlocksToCompleteList'](_0x4c7c37)),_0x4c7c37=[...new Set(_0x4c7c37)],_0x4c7c37;}['_getSuggestionBlocks'](_0x222286){const _0x1d3243=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x7'));let _0x3c82ca=Array[_0x32e6('0x25')](this[_0x32e6('0x10')]['model']['document'][_0x32e6('0x5')]['getSelectedBlocks']())[_0x32e6('0x6')](_0x222286);if(!_0x3c82ca[_0x32e6('0x1')])return null;_0x3c82ca=_0x1d3243[_0x32e6('0x9')](_0x3c82ca);const _0x378729=[];for(const _0x363a56 of _0x3c82ca)_0x1d3243[_0x32e6('0xa')](_0x363a56)&&_0x378729[_0x32e6('0x2f')](_0x363a56);return _0x378729;}[_0x32e6('0xb')](_0x4cfb77){return'ELEMENT_'+this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x19'))['getListTypeFromListStyleType'](_0x4cfb77)[_0x32e6('0x1c')]()+_0x32e6('0x21')+_0x4cfb77[_0x32e6('0x1c')]()[_0x32e6('0x11')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x588c=['remove','split','addMarker:suggestion:insertion','writer','requires','removeMarker:suggestion:insertion','nextSibling','unbindElementFromMarkerName','model','data','mapper','bind','fire','ck-suggestion-marker-split','setSelection','hasClass','fromRange','options','commands','end','get','selection','markerNameToElements','document','downcastDispatcher','high','afterExecute','showSuggestionHighlights','getFirstPosition','createRange','enableCommand','editing','editor','enter','plugins','createPositionAt','parent'];(function(_0x495d83,_0x588c93){const _0x1f94c1=function(_0x50237d){while(--_0x50237d){_0x495d83['push'](_0x495d83['shift']());}};_0x1f94c1(++_0x588c93);}(_0x588c,0x198));const _0x1f94=function(_0x495d83,_0x588c93){_0x495d83=_0x495d83-0x0;let _0x1f94c1=_0x588c[_0x495d83];return _0x1f94c1;};import{Plugin as _0x18ae9b}from'ckeditor5/src/core';import{Enter as _0x328b6f}from'ckeditor5/src/enter';import{LiveRange as _0x48b172}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1e260a}from'./utils';export default class q extends _0x18ae9b{static get[_0x1f94('0x3')](){return[_0x328b6f];}['init'](){const _0x1dc7cb=this[_0x1f94('0x1f')],_0x140f2d=_0x1dc7cb[_0x1f94('0x21')][_0x1f94('0x13')]('TrackChangesEditing'),_0x3f6d88=_0x1dc7cb[_0x1f94('0x11')][_0x1f94('0x13')](_0x1f94('0x20'));_0x140f2d[_0x1f94('0x1d')](_0x1f94('0x20'),()=>{_0x1dc7cb['model']['change'](_0x34f823=>{const _0x5b1d64=_0x1dc7cb['model'][_0x1f94('0x16')][_0x1f94('0x14')],_0x5f03b4=_0x5b1d64[_0x1f94('0x1b')](),_0x577670=_0x48b172[_0x1f94('0xf')](_0x5b1d64['getFirstRange']());if(_0x3f6d88['enterBlock'](_0x34f823)){const _0x406252=_0x1dc7cb[_0x1f94('0x7')][_0x1f94('0x22')](_0x5f03b4[_0x1f94('0x23')][_0x1f94('0x5')],0x0),_0x4a09f4=_0x34f823[_0x1f94('0x1c')](_0x5f03b4,_0x406252);_0x140f2d['markInsertion'](_0x4a09f4);}else _0x34f823[_0x1f94('0xd')](_0x34f823[_0x1f94('0x1c')](_0x577670[_0x1f94('0x12')]));_0x577670['detach'](),_0x3f6d88[_0x1f94('0xb')](_0x1f94('0x19'),{'writer':_0x34f823});});}),_0x1dc7cb['editing'][_0x1f94('0x17')]['on'](_0x1f94('0x1'),_0x1e260a(_0x1dc7cb,'split'),{'priority':_0x1f94('0x18')}),_0x1dc7cb[_0x1f94('0x1e')][_0x1f94('0x17')]['on'](_0x1f94('0x4'),(_0x27d930,_0x2d334a,_0x328ed1)=>{const _0x28bed4=_0x328ed1[_0x1f94('0x9')][_0x1f94('0x15')](_0x2d334a['markerName']);if(_0x28bed4)for(const _0x31ae49 of _0x28bed4)_0x31ae49[_0x1f94('0xe')](_0x1f94('0xc'))&&(_0x328ed1[_0x1f94('0x9')][_0x1f94('0x6')](_0x31ae49,_0x2d334a['markerName']),_0x328ed1[_0x1f94('0x2')][_0x1f94('0x24')](_0x31ae49));},{'priority':_0x1f94('0x18')}),_0x1dc7cb[_0x1f94('0x8')]['downcastDispatcher']['on'](_0x1f94('0x1'),(_0x57a949,_0x30b0eb,_0x24015d)=>{_0x24015d[_0x1f94('0x10')][_0x1f94('0x1a')]&&_0x1e260a(_0x1dc7cb,_0x1f94('0x0'),{'showActiveMarker':!0x1})[_0x1f94('0xa')](this)(_0x57a949,_0x30b0eb,_0x24015d);},{'priority':_0x1f94('0x18')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cdb=['filter','enableCommand','FindAndReplaceUtils','findPrevious','handleFindCommand','model','editor','start','TrackChangesEditing','has','end','getMarkersGroup','createRange','replace','replaceAll','suggestion:deletion','_isInDeletionRange','createPositionAt','findNext','getRange','afterInit','FindAndReplaceEditing','find','get','bind','plugins'];(function(_0x166b0a,_0x4cdb1b){const _0x5e1f02=function(_0x5486fe){while(--_0x5486fe){_0x166b0a['push'](_0x166b0a['shift']());}};_0x5e1f02(++_0x4cdb1b);}(_0x4cdb,0xc2));const _0x5e1f=function(_0x166b0a,_0x4cdb1b){_0x166b0a=_0x166b0a-0x0;let _0x5e1f02=_0x4cdb[_0x166b0a];return _0x5e1f02;};import{Plugin as _0x3209fc}from'ckeditor5/src/core';export default class z extends _0x3209fc{[_0x5e1f('0x8')](){if(!this['editor'][_0x5e1f('0xd')][_0x5e1f('0x17')](_0x5e1f('0x9')))return;const _0x5ee081=this[_0x5e1f('0x14')][_0x5e1f('0xd')][_0x5e1f('0xb')](_0x5e1f('0x16'));_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0xa'),this[_0x5e1f('0x12')][_0x5e1f('0xc')](this)),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x6')),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x11')),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x1')),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x2'));}['handleFindCommand'](_0x56af2e,_0x4136b9,_0x560e61={}){const _0x3564d6=this['editor'][_0x5e1f('0xd')][_0x5e1f('0xb')](_0x5e1f('0x10'));void 0x0!==_0x560e61&&_0x56af2e(_0x548545=>('string'==typeof _0x4136b9?_0x3564d6['findByTextCallback'](_0x4136b9,_0x560e61):_0x4136b9)(_0x548545)[_0x5e1f('0xe')](_0x323063=>!0x1===this['_isInDeletionRange'](_0x323063,_0x548545['item'])),_0x560e61);}[_0x5e1f('0x4')](_0x3c5fcd,_0x5d098c){const _0x517f6c=this[_0x5e1f('0x14')]['model'][_0x5e1f('0x0')](this[_0x5e1f('0x14')][_0x5e1f('0x13')][_0x5e1f('0x5')](_0x5d098c,_0x3c5fcd[_0x5e1f('0x15')]),this[_0x5e1f('0x14')][_0x5e1f('0x13')][_0x5e1f('0x5')](_0x5d098c,_0x3c5fcd[_0x5e1f('0x18')]));for(const _0x357d6c of this['editor'][_0x5e1f('0x13')]['markers'][_0x5e1f('0x19')](_0x5e1f('0x3')))if(null!==_0x517f6c['getIntersection'](_0x357d6c[_0x5e1f('0x7')]()))return!0x0;return!0x1;}}
|