@ckeditor/ckeditor5-track-changes 37.0.0-rc.0 → 37.0.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 +2 -2
- 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/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/tableproperties.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": "37.0.0
|
|
3
|
+
"version": "37.0.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"postversion": "npm run build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"ckeditor5": "^37.0.0
|
|
44
|
+
"ckeditor5": "^37.0.0",
|
|
45
45
|
"ckeditor5-collaboration": "^36.0.1",
|
|
46
46
|
"lodash-es": "^4.17.11"
|
|
47
47
|
},
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27d0=['plugins','_suggestions','refresh','acceptSuggestion','track-changes-accept-suggestion-not-found','execute','get'];(function(_0x41d722,_0x27d03a){const _0x577ddf=function(_0xe70193){while(--_0xe70193){_0x41d722['push'](_0x41d722['shift']());}};_0x577ddf(++_0x27d03a);}(_0x27d0,0x178));const _0x577d=function(_0x41d722,_0x27d03a){_0x41d722=_0x41d722-0x0;let _0x577ddf=_0x27d0[_0x41d722];return _0x577ddf;};import{Command as _0x4ccdf7}from'ckeditor5/src/core';import{CKEditorError as _0x7371c3}from'ckeditor5/src/utils';export default class M extends _0x4ccdf7{constructor(_0x271d46,_0x374979){super(_0x271d46),this[_0x577d('0x3')]=_0x374979,this[_0x577d('0x4')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x577d('0x0')](_0x605e2b){const _0x124fb2=this[_0x577d('0x3')][_0x577d('0x1')](_0x605e2b);if(!_0x124fb2)throw new _0x7371c3(_0x577d('0x6'),this);this['editor'][_0x577d('0x2')][_0x577d('0x1')]('TrackChangesEditing')[_0x577d('0x5')](_0x124fb2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c96=['discardSuggestion','refresh','TrackChangesEditing','editor','_suggestions','get','isEnabled'];(function(_0x3e3b62,_0x1c9602){const _0x5c5412=function(_0x271efb){while(--_0x271efb){_0x3e3b62['push'](_0x3e3b62['shift']());}};_0x5c5412(++_0x1c9602);}(_0x1c96,0x169));const _0x5c54=function(_0x3e3b62,_0x1c9602){_0x3e3b62=_0x3e3b62-0x0;let _0x5c5412=_0x1c96[_0x3e3b62];return _0x5c5412;};import{Command as _0x29af8e}from'ckeditor5/src/core';import{CKEditorError as _0xf7a1f8}from'ckeditor5/src/utils';export default class $ extends _0x29af8e{constructor(_0x13384f,_0x458f15){super(_0x13384f),this[_0x5c54('0x0')]=_0x458f15,this[_0x5c54('0x4')]();}[_0x5c54('0x4')](){this[_0x5c54('0x2')]=!0x0;}['execute'](_0x5c8c94){const _0x1dbfec=this[_0x5c54('0x0')][_0x5c54('0x1')](_0x5c8c94);if(!_0x1dbfec)throw new _0xf7a1f8('track-changes-discard-suggestion-not-found',this);this[_0x5c54('0x6')]['plugins']['get'](_0x5c54('0x5'))[_0x5c54('0x3')](_0x1dbfec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3241=['_suggestions','some','values','editor','isInContent','model','refresh','_command','isEnabled','from','execute'];(function(_0x5214f6,_0x3241b9){const _0x26385b=function(_0x50849a){while(--_0x50849a){_0x5214f6['push'](_0x5214f6['shift']());}};_0x26385b(++_0x3241b9);}(_0x3241,0x1bd));const _0x2638=function(_0x5214f6,_0x3241b9){_0x5214f6=_0x5214f6-0x0;let _0x26385b=_0x3241[_0x5214f6];return _0x26385b;};import{Command as _0x539f9f}from'ckeditor5/src/core';import{sortSuggestions as _0x567e5f,executeCommandForSuggestions as _0x4a5d9f}from'../utils/utils';export default class N extends _0x539f9f{constructor(_0x448613,_0x3649b7,_0x2be6ea){super(_0x448613),this[_0x2638('0x2')]=_0x3649b7,this[_0x2638('0x6')]=_0x2be6ea,this['refresh']();}[_0x2638('0x1')](){const _0x37fd3c=Array[_0x2638('0x4')](this[_0x2638('0x6')][_0x2638('0x8')]())[_0x2638('0x7')](_0x4078a2=>_0x4078a2[_0x2638('0xa')]);this[_0x2638('0x3')]=this[_0x2638('0x2')]['isEnabled']&&_0x37fd3c;}[_0x2638('0x5')](){const _0x333e43=_0x567e5f(Array['from'](this[_0x2638('0x6')][_0x2638('0x8')]()));_0x4a5d9f(this[_0x2638('0x9')][_0x2638('0x0')],this[_0x2638('0x2')],_0x333e43);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa166=['_command','size','editor','model','selection','_selectedSuggestions','_suggestions','execute','from','refresh','isEnabled','values'];(function(_0x15f610,_0xa16659){const _0x28992f=function(_0x555c22){while(--_0x555c22){_0x15f610['push'](_0x15f610['shift']());}};_0x28992f(++_0xa16659);}(_0xa166,0xc0));const _0x2899=function(_0x15f610,_0xa16659){_0x15f610=_0x15f610-0x0;let _0x28992f=_0xa166[_0x15f610];return _0x28992f;};import{Command as _0x33c6cf}from'ckeditor5/src/core';import{sortSuggestions as _0x1cedda,getSelectedSuggestions as _0x3539d3,executeCommandForSuggestions as _0x2cf19f}from'../utils/utils';export default class R extends _0x33c6cf{constructor(_0x4d3acf,_0x3d37f4,_0x4d850c){super(_0x4d3acf),this[_0x2899('0x0')]=_0x3d37f4,this[_0x2899('0x6')]=_0x4d850c,this[_0x2899('0x5')]=new Set(),this[_0x2899('0x9')]();}[_0x2899('0x9')](){const _0x4d460e=this['editor'][_0x2899('0x3')]['document'][_0x2899('0x4')],_0x26f1ae=Array[_0x2899('0x8')](this[_0x2899('0x6')][_0x2899('0xb')]());this['_selectedSuggestions']=_0x3539d3(_0x4d460e,_0x26f1ae),this['isEnabled']=this[_0x2899('0x0')][_0x2899('0xa')]&&!!this[_0x2899('0x5')][_0x2899('0x1')];}[_0x2899('0x7')](){const _0x5a7552=_0x1cedda(Array[_0x2899('0x8')](this[_0x2899('0x5')]));_0x2cf19f(this[_0x2899('0x2')][_0x2899('0x3')],this['_command'],_0x5a7552);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27eb=['_enabledCommands','affectsData','isEnabled','execute','_disableUnsupportedCommands','has','_enableCommands','forceDisabled','clearForceDisabled','refresh','commands','editor','TrackChangesCommand','value'];(function(_0xead4a,_0x27ebd5){const _0x3e99f7=function(_0x7e150e){while(--_0x7e150e){_0xead4a['push'](_0xead4a['shift']());}};_0x3e99f7(++_0x27ebd5);}(_0x27eb,0x67));const _0x3e99=function(_0xead4a,_0x27ebd5){_0xead4a=_0xead4a-0x0;let _0x3e99f7=_0x27eb[_0xead4a];return _0x3e99f7;};import{Command as _0x1133c7}from'ckeditor5/src/core';export default class _ extends _0x1133c7{constructor(_0x3a263a,_0xd0ce29){super(_0x3a263a),this[_0x3e99('0x9')]=_0xd0ce29,this[_0x3e99('0x8')]=!0x1,this[_0x3e99('0x4')]();}[_0x3e99('0x4')](){this[_0x3e99('0xb')]=!0x0;}[_0x3e99('0xc')](){this[_0x3e99('0x8')]=!this[_0x3e99('0x8')],this['value']?this[_0x3e99('0xd')]():this[_0x3e99('0x1')]();}[_0x3e99('0xd')](){for(const _0x567ece of this[_0x3e99('0x6')][_0x3e99('0x5')]['commands']())_0x567ece[_0x3e99('0xa')]&&!this[_0x3e99('0x9')][_0x3e99('0x0')](_0x567ece)&&_0x567ece[_0x3e99('0x2')](_0x3e99('0x7'));}['_enableCommands'](){for(const _0x402509 of this['editor'][_0x3e99('0x5')][_0x3e99('0x5')]())_0x402509[_0x3e99('0xa')]&&!this['_enabledCommands']['has'](_0x402509)&&_0x402509[_0x3e99('0x3')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56f3=['right','registerDescriptionCallback','left','_descriptionFactory','TrackChangesEditing','FORMAT_JUSTIFY_TEXT','commandName','get','afterInit','value','ltr','selection','filter','editor','center','justify','getAttribute','getSelectedBlocks','checkAttribute','FORMAT_ALIGN_TO_CENTER','model','has','*Format:*\x20%0','plugins','document','from','FORMAT_ALIGN_TO_RIGHT','locale','enableCommand','alignment','contentLanguageDirection'];(function(_0x3309fd,_0x56f383){const _0x2efc72=function(_0x37dd1a){while(--_0x37dd1a){_0x3309fd['push'](_0x3309fd['shift']());}};_0x2efc72(++_0x56f383);}(_0x56f3,0x13a));const _0x2efc=function(_0x3309fd,_0x56f383){_0x3309fd=_0x3309fd-0x0;let _0x2efc72=_0x56f3[_0x3309fd];return _0x2efc72;};import{Plugin as _0x663beb}from'ckeditor5/src/core';import{getTranslation as _0x3bed5f}from'../utils/common-translations';export default class x extends _0x663beb{[_0x2efc('0x4')](){const _0x1a09a7=this[_0x2efc('0x9')],_0x2ed3d1=_0x1a09a7[_0x2efc('0x17')];if(!_0x1a09a7[_0x2efc('0x13')][_0x2efc('0x11')]('AlignmentEditing'))return;const _0x272957=_0x1a09a7[_0x2efc('0x13')][_0x2efc('0x3')](_0x2efc('0x0'));_0x272957[_0x2efc('0x18')](_0x2efc('0x19'),(_0x4b8cd5,_0x207c07={})=>{let _0x26a7fb=_0x207c07[_0x2efc('0x5')];_0x207c07['value']||(_0x26a7fb=_0x2efc('0x6')===_0x1a09a7[_0x2efc('0x17')][_0x2efc('0x1a')]?_0x2efc('0x1d'):_0x2efc('0x1b'));const _0x39bcb5=Array[_0x2efc('0x15')](this[_0x2efc('0x9')][_0x2efc('0x10')][_0x2efc('0x14')][_0x2efc('0x7')][_0x2efc('0xd')]())[_0x2efc('0x8')](_0x22d147=>function(_0x31f28e,_0x572fb6,_0x4e9ce3){const _0x52c24e=_0x31f28e[_0x2efc('0xc')]('alignment')||null;return _0x572fb6[_0x2efc('0xe')](_0x31f28e,_0x2efc('0x19'))&&_0x4e9ce3!=_0x52c24e;}(_0x22d147,this[_0x2efc('0x9')]['model']['schema'],_0x26a7fb));_0x1a09a7['model']['change'](()=>{for(const _0x3bf299 of _0x39bcb5)_0x272957['markBlockFormat'](_0x3bf299,{'commandName':'alignment','commandParams':[{'value':_0x26a7fb}]});});}),_0x272957[_0x2efc('0x1e')][_0x2efc('0x1c')](_0x2146ce=>{const {data:_0xda8eee}=_0x2146ce;if(_0xda8eee&&'alignment'==_0xda8eee[_0x2efc('0x2')]){const _0x125414=_0xda8eee['commandParams'][0x0][_0x2efc('0x5')];return{'type':'format','content':_0x3bed5f(_0x2ed3d1,_0x2efc('0x12'),function(_0x5d0d1d){switch(_0x5d0d1d){case _0x2efc('0x1d'):return _0x3bed5f(_0x2ed3d1,'FORMAT_ALIGN_TO_LEFT');case _0x2efc('0x1b'):return _0x3bed5f(_0x2ed3d1,_0x2efc('0x16'));case _0x2efc('0xa'):return _0x3bed5f(_0x2ed3d1,_0x2efc('0xf'));case _0x2efc('0xb'):return _0x3bed5f(_0x2ed3d1,_0x2efc('0x1'));}}(_0x125414))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1058=['UnderlineEditing','FORMAT_UNDERLINE','*Remove\x20format:*\x20%0','forceValue','SuperscriptEditing','plugins','from','markInlineFormat','toLowerCase','ItalicEditing','registerDescriptionCallback','editor','FORMAT_SUBSCRIPT','commandParams','_descriptionFactory','document','strikethrough','format','FORMAT_CODE','locale','TrackChangesEditing','commands','StrikethroughEditing','get','underline','*Format:*\x20%0','getRanges','afterInit','FORMAT_STRIKETHROUGH','italic','SubscriptEditing','FORMAT_BOLD','code','subscript','superscript','enableCommand','value','selection'];(function(_0x2eb930,_0x105816){const _0x150f21=function(_0x1d6264){while(--_0x1d6264){_0x2eb930['push'](_0x2eb930['shift']());}};_0x150f21(++_0x105816);}(_0x1058,0x128));const _0x150f=function(_0x2eb930,_0x105816){_0x2eb930=_0x2eb930-0x0;let _0x150f21=_0x1058[_0x2eb930];return _0x150f21;};import{Plugin as _0xe68c3e}from'ckeditor5/src/core';import{getTranslation as _0x40486e}from'../utils/common-translations';import{getRangesWithAttribute as _0x5ca6c7}from'./utils';const Ht=['BoldEditing',_0x150f('0x11'),_0x150f('0x8'),'CodeEditing',_0x150f('0x1e'),_0x150f('0x0'),_0x150f('0xc')];export default class U extends _0xe68c3e{[_0x150f('0x23')](){const _0x19a4ce=this[_0x150f('0x13')],_0xf52fd4=_0x19a4ce['model'],_0x42c376=_0x19a4ce[_0x150f('0xd')][_0x150f('0x1f')](_0x150f('0x1c')),_0x52894b=_0x19a4ce[_0x150f('0x1b')];for(const _0x48dbe0 of Ht){if(!_0x19a4ce[_0x150f('0xd')]['has'](_0x48dbe0))continue;const _0x37427f=_0x48dbe0['slice'](0x0,-0x7)[_0x150f('0x10')](),_0xb0a159=_0x19a4ce[_0x150f('0x1d')][_0x150f('0x1f')](_0x37427f);_0x42c376[_0x150f('0x5')](_0x37427f,(_0x38a3ab,_0x163981={})=>{const _0xef75dd=_0xf52fd4[_0x150f('0x17')][_0x150f('0x7')];if(_0xef75dd['isCollapsed'])return void _0x38a3ab(_0x163981);const _0x55764f=void 0x0!==_0x163981[_0x150f('0xb')]?_0x163981['forceValue']:!_0xb0a159[_0x150f('0x6')];_0xf52fd4['change'](()=>{const _0x1aea65=Array[_0x150f('0xe')](_0xef75dd[_0x150f('0x22')]());for(const _0x1c9241 of _0x1aea65){const _0x11d41e=_0x55764f?[_0x1c9241]:_0x5ca6c7(_0x37427f,_0x1c9241,_0xf52fd4);for(const _0x5621f1 of _0x11d41e)_0x42c376[_0x150f('0xf')](_0x5621f1,{'commandName':_0x37427f,'commandParams':[{'forceValue':_0x55764f}]});}});});}function _0xa372f5(_0x7f6bc9,_0x44e962){_0x42c376[_0x150f('0x16')][_0x150f('0x12')](_0x143864=>{const {data:_0x15b3a0}=_0x143864;if(_0x15b3a0&&_0x15b3a0['commandName']===_0x7f6bc9)return _0x15b3a0[_0x150f('0x15')][0x0]['forceValue']?{'type':_0x150f('0x19'),'content':_0x40486e(_0x52894b,_0x150f('0x21'),_0x44e962)}:{'type':_0x150f('0x19'),'content':_0x40486e(_0x52894b,_0x150f('0xa'),_0x44e962)};});}_0xa372f5('bold',_0x40486e(_0x52894b,_0x150f('0x1'))),_0xa372f5(_0x150f('0x25'),_0x40486e(_0x52894b,'FORMAT_ITALIC')),_0xa372f5(_0x150f('0x20'),_0x40486e(_0x52894b,_0x150f('0x9'))),_0xa372f5(_0x150f('0x2'),_0x40486e(_0x52894b,_0x150f('0x1a'))),_0xa372f5(_0x150f('0x18'),_0x40486e(_0x52894b,_0x150f('0x24'))),_0xa372f5(_0x150f('0x3'),_0x40486e(_0x52894b,_0x150f('0x14'))),_0xa372f5(_0x150f('0x4'),_0x40486e(_0x52894b,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x591c=['afterInit','value','$root','BlockQuoteEditing','name','get','model','TrackChangesEditing','from','forceValue','has','checkChild','schema','locale','format','commands','change','*Remove\x20format:*\x20%0','getSelectedBlocks','parent','enableCommand','markBlockFormat','commandName','registerDescriptionCallback','plugins','ELEMENT_BLOCK_QUOTE','selection','_descriptionFactory','editor','blockQuote','*Format:*\x20%0'];(function(_0x17ec3c,_0x591c09){const _0x3e5d69=function(_0x30f5df){while(--_0x30f5df){_0x17ec3c['push'](_0x17ec3c['shift']());}};_0x3e5d69(++_0x591c09);}(_0x591c,0xc8));const _0x3e5d=function(_0x17ec3c,_0x591c09){_0x17ec3c=_0x17ec3c-0x0;let _0x3e5d69=_0x591c[_0x17ec3c];return _0x3e5d69;};import{Plugin as _0x379cba}from'ckeditor5/src/core';import{getTranslation as _0x159f6f}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x46aff5}from'../utils/utils';export default class j extends _0x379cba{[_0x3e5d('0x11')](){const _0x3743b3=this[_0x3e5d('0xe')],_0x4a809b=_0x3743b3[_0x3e5d('0x1e')];if(!_0x3743b3['plugins'][_0x3e5d('0x1b')](_0x3e5d('0x14')))return;const _0x41d09c=_0x3743b3[_0x3e5d('0xa')][_0x3e5d('0x16')](_0x3e5d('0x18')),_0xd31f76=this['editor'][_0x3e5d('0x1')]['get'](_0x3e5d('0xf'));_0x41d09c[_0x3e5d('0x6')]('blockQuote',(_0x21d0e2,_0x526bf0={})=>{const _0x335562=this[_0x3e5d('0xe')][_0x3e5d('0x17')]['document'][_0x3e5d('0xc')],_0x2cb1b9=_0x526bf0&&void 0x0!==_0x526bf0[_0x3e5d('0x1a')]?_0x526bf0[_0x3e5d('0x1a')]:!_0xd31f76[_0x3e5d('0x12')];let _0x50c131=[];if(_0x2cb1b9){const _0x67260e=Array['from'](_0x335562[_0x3e5d('0x4')]())['filter'](_0x55e4e2=>Kt(_0x55e4e2)||function(_0x142ff8,_0x55941f){const _0xf2399b=_0x55941f[_0x3e5d('0x1c')](_0x142ff8[_0x3e5d('0x5')],_0x3e5d('0xf')),_0x224a96=_0x55941f[_0x3e5d('0x1c')]([_0x3e5d('0x13'),'blockQuote'],_0x142ff8);return _0xf2399b&&_0x224a96;}(_0x55e4e2,this[_0x3e5d('0xe')][_0x3e5d('0x17')][_0x3e5d('0x1d')]));_0x50c131=_0x46aff5(_0x67260e,_0x3743b3[_0x3e5d('0x17')]);}else{const _0x3f558e=Array[_0x3e5d('0x19')](_0x335562[_0x3e5d('0x4')]())['filter'](_0x40dde3=>Kt(_0x40dde3));_0x50c131=_0x46aff5(_0x3f558e,_0x3743b3[_0x3e5d('0x17')]);}_0x3743b3[_0x3e5d('0x17')][_0x3e5d('0x2')](()=>{for(const _0x18cce4 of _0x50c131)_0x41d09c[_0x3e5d('0x7')](_0x18cce4,{'commandName':_0x3e5d('0xf'),'commandParams':[{'forceValue':_0x2cb1b9}]});});}),_0x41d09c[_0x3e5d('0xd')][_0x3e5d('0x9')](_0x44832e=>{const {data:_0x21402c}=_0x44832e;if(_0x21402c&&_0x3e5d('0xf')==_0x21402c[_0x3e5d('0x8')]){const _0x4fc9a7=_0x159f6f(_0x4a809b,_0x3e5d('0xb'));return _0x21402c['commandParams'][0x0][_0x3e5d('0x1a')]?{'type':_0x3e5d('0x0'),'content':_0x159f6f(_0x4a809b,_0x3e5d('0x10'),_0x4fc9a7)}:{'type':_0x3e5d('0x0'),'content':_0x159f6f(_0x4a809b,_0x3e5d('0x3'),_0x4fc9a7)};}});}}function Kt(_0x5641de){return _0x3e5d('0xf')==_0x5641de[_0x3e5d('0x5')][_0x3e5d('0x15')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ccd=['editor','enableCommand','commands','TrackChangesEditing','ckbox','plugins','get'];(function(_0x243c63,_0x5ccd0b){const _0x22d25e=function(_0x294305){while(--_0x294305){_0x243c63['push'](_0x243c63['shift']());}};_0x22d25e(++_0x5ccd0b);}(_0x5ccd,0xfc));const _0x22d2=function(_0x243c63,_0x5ccd0b){_0x243c63=_0x243c63-0x0;let _0x22d25e=_0x5ccd[_0x243c63];return _0x22d25e;};import{Plugin as _0x36da58}from'ckeditor5/src/core';export default class E extends _0x36da58{['afterInit'](){const _0x33ec9d=this[_0x22d2('0x0')];_0x33ec9d[_0x22d2('0x2')][_0x22d2('0x6')](_0x22d2('0x4'))&&_0x33ec9d[_0x22d2('0x5')][_0x22d2('0x6')](_0x22d2('0x3'))[_0x22d2('0x1')](_0x22d2('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44d0=['name','commandParams','blockName','filter','plugins','checkChild','enableCommand','forceValue','*Format:*\x20%0','parent','commandName','codeBlock','language','indentCodeBlock','_descriptionFactory','find','languages','document','*Remove\x20format:*\x20%0','outdentCodeBlock','editor','getSelectedBlocks','has','markBlockFormat','afterInit','from','change','commands','registerDescriptionCallback','isLimit','format','model','formatBlock','locale','label','value','get','ELEMENT_CODE_BLOCK'];(function(_0x4669f5,_0x44d0fd){const _0x669126=function(_0x5862be){while(--_0x5862be){_0x4669f5['push'](_0x4669f5['shift']());}};_0x669126(++_0x44d0fd);}(_0x44d0,0x18c));const _0x6691=function(_0x4669f5,_0x44d0fd){_0x4669f5=_0x4669f5-0x0;let _0x669126=_0x44d0[_0x4669f5];return _0x669126;};import{Plugin as _0x6a0f2a}from'ckeditor5/src/core';import{getTranslation as _0x509166}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x51e71c}from'../utils/utils';export default class O extends _0x6a0f2a{[_0x6691('0x8')](){const _0x165754=this[_0x6691('0x4')];if(!_0x165754[_0x6691('0x1a')][_0x6691('0x6')]('CodeBlock'))return;const _0xc08987=_0x165754['plugins'][_0x6691('0x14')]('TrackChangesEditing'),_0x47f70c=_0x165754[_0x6691('0x11')],_0x46e5db=_0x165754['config']['get'](_0x6691('0x21'))[_0x6691('0x0')],_0x847b61=_0x165754[_0x6691('0xb')][_0x6691('0x14')]('codeBlock');_0xc08987[_0x6691('0x1c')](_0x6691('0x23')),_0xc08987[_0x6691('0x1c')](_0x6691('0x3')),_0xc08987[_0x6691('0x1c')](_0x6691('0x21'),(_0x25d0b2,_0x447e9f={})=>{const _0x4fd37f=_0x165754[_0x6691('0xf')],_0x2c0eca=_0x165754[_0x6691('0xf')][_0x6691('0x1')]['selection'],_0x98ff70=_0x447e9f&&void 0x0!==_0x447e9f[_0x6691('0x1d')]?_0x447e9f[_0x6691('0x1d')]:!_0x847b61[_0x6691('0x13')];let _0x4a2a2c;_0x447e9f['language']||(_0x447e9f[_0x6691('0x22')]=_0x46e5db[0x0][_0x6691('0x22')]),_0x4a2a2c=_0x98ff70?Array[_0x6691('0x9')](_0x2c0eca[_0x6691('0x5')]())[_0x6691('0x19')](_0x930f9e=>to(_0x930f9e)||function(_0x583335,_0x48c2ea){if(_0x583335['is']('rootElement')||_0x48c2ea[_0x6691('0xd')](_0x583335))return!0x1;return _0x48c2ea[_0x6691('0x1b')](_0x583335[_0x6691('0x1f')],_0x6691('0x21'));}(_0x930f9e,_0x4fd37f['schema'])):Array[_0x6691('0x9')](_0x2c0eca['getSelectedBlocks']())[_0x6691('0x19')](_0x493cda=>to(_0x493cda));const _0x473fa2=_0x51e71c(_0x4a2a2c,_0x4fd37f);_0x4fd37f[_0x6691('0xa')](()=>{for(const _0x2a6a1b of _0x473fa2)_0xc08987[_0x6691('0x7')](_0x2a6a1b,{'commandName':_0x6691('0x21'),'commandParams':[{..._0x447e9f,'forceValue':_0x98ff70}],'formatGroupId':_0x6691('0x18')});});}),(_0xc08987[_0x6691('0x24')]['registerElementLabel'](_0x6691('0x21'),_0x3d71fb=>_0x509166(_0x47f70c,_0x6691('0x15'),_0x3d71fb)),_0xc08987[_0x6691('0x24')][_0x6691('0xc')](_0x588df6=>{const _0x194bb4=_0x47f70c['t'],{type:_0x15d0fe,data:_0x35a6cc}=_0x588df6;if(_0x6691('0x10')==_0x15d0fe&&_0x35a6cc&&_0x6691('0x21')==_0x35a6cc[_0x6691('0x20')]){const _0x241a1f=_0x35a6cc[_0x6691('0x17')][0x0][_0x6691('0x22')],_0x4905b3=_0x194bb4(_0x46e5db[_0x6691('0x25')](_0x55e872=>_0x55e872[_0x6691('0x22')]===_0x241a1f)[_0x6691('0x12')]);return _0x35a6cc[_0x6691('0x17')][0x0]['forceValue']?{'type':'format','content':_0x509166(_0x47f70c,_0x6691('0x1e'),_0x509166(_0x47f70c,_0x6691('0x15'),0x1)+'\x20('+_0x4905b3+')')}:{'type':_0x6691('0xe'),'content':_0x509166(_0x47f70c,_0x6691('0x2'),_0x509166(_0x47f70c,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function to(_0x15064a){return _0x6691('0x21')==_0x15064a[_0x6691('0x16')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ad3=['TrackChangesEditing','editor','plugins','has','addCommentThread','get'];(function(_0x3e6908,_0x1ad36e){const _0x48d509=function(_0x34c9a0){while(--_0x34c9a0){_0x3e6908['push'](_0x3e6908['shift']());}};_0x48d509(++_0x1ad36e);}(_0x1ad3,0x16a));const _0x48d5=function(_0x3e6908,_0x1ad36e){_0x3e6908=_0x3e6908-0x0;let _0x48d509=_0x1ad3[_0x3e6908];return _0x48d509;};import{Plugin as _0x257efa}from'ckeditor5/src/core';export default class F extends _0x257efa{['afterInit'](){const _0x5e2597=this[_0x48d5('0x5')];if(!_0x5e2597[_0x48d5('0x0')][_0x48d5('0x1')]('CommentsEditing'))return;_0x5e2597[_0x48d5('0x0')][_0x48d5('0x3')](_0x48d5('0x4'))['enableCommand'](_0x48d5('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1631=['TrackChangesEditing','writer','editor','$graveyard','detach','showSuggestionHighlights','createRange','forward','editing','modifySelection','model','commands','rootName','bind','batch','plugins','unit','merge','uiElement','isCollapsed','high','enableCommand','document','options','downcastDispatcher','enqueueChange','end','start','getFirstRange','removeMarker:suggestion:deletion','addMarker:suggestion:deletion','deleteForward','buffer','createSelection','root','get'];(function(_0x1b19b2,_0x163172){const _0x4b81e6=function(_0x5614f4){while(--_0x5614f4){_0x1b19b2['push'](_0x1b19b2['shift']());}};_0x4b81e6(++_0x163172);}(_0x1631,0xd5));const _0x4b81=function(_0x1b19b2,_0x163172){_0x1b19b2=_0x1b19b2-0x0;let _0x4b81e6=_0x1631[_0x1b19b2];return _0x4b81e6;};import{Plugin as _0x5c84a7}from'ckeditor5/src/core';import{LiveRange as _0x4a0d22}from'ckeditor5/src/engine';import{Delete as _0x463df2}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3aa058}from'./utils';export default class G extends _0x5c84a7{static get['requires'](){return[_0x463df2];}['init'](){const _0xa460cc=this[_0x4b81('0x5')],_0x28934d=_0xa460cc[_0x4b81('0x12')][_0x4b81('0x2')](_0x4b81('0x3'));_0x28934d[_0x4b81('0x18')]('delete');const _0x1df652=_0xa460cc[_0x4b81('0xe')][_0x4b81('0x2')](_0x4b81('0x22'));_0x28934d[_0x4b81('0x18')](_0x4b81('0x22'),(_0x4cc0bb,_0x4b068c={})=>{const _0x14b8c5=_0xa460cc[_0x4b81('0xd')][_0x4b81('0x0')](_0xa460cc['model'][_0x4b81('0x19')]['selection']);_0x14b8c5[_0x4b81('0x16')]&&_0xa460cc[_0x4b81('0xd')][_0x4b81('0xc')](_0x14b8c5,{'direction':_0x4b81('0xa'),'unit':_0x4b068c[_0x4b81('0x13')]});const _0x312e16=_0x14b8c5[_0x4b81('0x1f')](),_0x148489=_0x4a0d22['fromRange'](_0x312e16);let _0x3c82f0;_0x4cc0bb(_0x4b068c),_0x3c82f0=_0x4b81('0x6')==_0x148489[_0x4b81('0x1')][_0x4b81('0xf')]?_0xa460cc['model']['createRange'](_0x312e16[_0x4b81('0x1e')]):_0xa460cc['model'][_0x4b81('0x9')](_0x148489[_0x4b81('0x1e')],_0x148489['end']),_0x148489[_0x4b81('0x7')](),_0xa460cc[_0x4b81('0xd')][_0x4b81('0x1c')](_0x1df652[_0x4b81('0x23')][_0x4b81('0x11')],_0x27f3d0=>{_0x1df652[_0x4b81('0x23')]['lock'](),_0x27f3d0['setSelection'](_0x27f3d0[_0x4b81('0x9')](_0x3c82f0[_0x4b81('0x1d')])),_0x1df652[_0x4b81('0x23')]['unlock']();});}),_0xa460cc['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x3aa058(_0xa460cc,'merge'),{'priority':'high'}),_0xa460cc['data']['downcastDispatcher']['on'](_0x4b81('0x21'),(_0x29c943,_0x460fcd,_0x2b71ee)=>{_0x2b71ee[_0x4b81('0x1a')][_0x4b81('0x8')]&&_0x3aa058(_0xa460cc,_0x4b81('0x14'),{'showActiveMarker':!0x1})[_0x4b81('0x10')](this)(_0x29c943,_0x460fcd,_0x2b71ee);},{'priority':_0x4b81('0x17')}),_0xa460cc[_0x4b81('0xb')][_0x4b81('0x1b')]['on'](_0x4b81('0x20'),(_0x2f1d0f,_0xe87fd,_0x28f693)=>{const _0x4eaff3=_0x28f693['mapper']['markerNameToElements'](_0xe87fd['markerName']);if(_0x4eaff3)for(const _0x30e395 of _0x4eaff3)_0x30e395['is'](_0x4b81('0x15'))&&(_0x28f693['mapper']['unbindElementFromMarkerName'](_0x30e395,_0xe87fd['markerName']),_0x28f693[_0x4b81('0x4')]['remove'](_0x30e395));},{'priority':_0x4b81('0x17')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa5d3=['start','registerCustomCallback','registerElementLabel','parent','end','outdentList','bulletedList','commandParams','containsItem','_suggestionFactory','enableCommand','_descriptionFactory','ELEMENT_','length','numberedList','afterInit','schema','previousSibling','commands','refresh','plugins','map','documentList','ELEMENT_LIST_ITEM','accept','add','createRange','getFirstRange','detach','formatBlock','isObject','ELEMENT_NUMBERED_LIST','deletion','format','from','locale','commandName','markMultiRangeBlockFormat','splitListItemAfter','execute','listIndent','editor','createPositionAt','DocumentListEditing','setSelection','listType','slice','getAttribute','fromRange','indentList','multipleBlocks','selection','next','*Format:*\x20remove\x20from\x20%0','toUpperCase','model','push','_LIST','get','listItemId','document','getSelectedBlocks','splitListItemBefore','mergeListItemForward','has','*Change\x20to:*\x20%0','DocumentListUtils','findIndex','*Format:*\x20insert\x20into\x20%0','nodeAfter','*Merge:*\x20%0','nextSibling','mergeListItemBackward','value','markBlockFormat'];(function(_0x156860,_0xa5d354){const _0x51c4a8=function(_0x367e42){while(--_0x367e42){_0x156860['push'](_0x156860['shift']());}};_0x51c4a8(++_0xa5d354);}(_0xa5d3,0xbd));const _0x51c4=function(_0x156860,_0xa5d354){_0x156860=_0x156860-0x0;let _0x51c4a8=_0xa5d3[_0x156860];return _0x51c4a8;};import{Plugin as _0x5dde35}from'ckeditor5/src/core';import{getTranslation as _0x4019a3}from'../utils/common-translations';import{LiveRange as _0x4a3edc}from'ckeditor5/src/engine';export default class L extends _0x5dde35{[_0x51c4('0x33')](){const _0x261b12=this[_0x51c4('0x2')];if(!_0x261b12[_0x51c4('0x38')][_0x51c4('0x19')](_0x51c4('0x4')))return;const _0x429d12=_0x261b12[_0x51c4('0x47')],_0x128c27=_0x261b12[_0x51c4('0x38')][_0x51c4('0x13')]('TrackChangesEditing'),_0x138d38=_0x261b12['plugins'][_0x51c4('0x13')](_0x51c4('0x1b'));function _0x18d88c(_0x2bfc53){return()=>{const _0x13dfff=_0x261b12[_0x51c4('0x36')][_0x51c4('0x13')](_0x2bfc53);let _0x2777c8=Array['from'](_0x261b12['model']['document'][_0x51c4('0xc')][_0x51c4('0x16')]());if(_0x253e7c(_0x2bfc53)){_0x2777c8=_0x138d38['expandListBlocksToCompleteList'](_0x2777c8);const _0x259b49=[];for(const _0x340d7d of _0x2777c8)_0x138d38['isFirstBlockOfListItem'](_0x340d7d)&&_0x259b49['push'](_0x340d7d);_0x2777c8=_0x259b49;}_0x261b12[_0x51c4('0x10')]['change'](()=>{_0x128c27[_0x51c4('0x49')](_0x2777c8,{'commandName':_0x2bfc53,'commandParams':[{'forceValue':!_0x13dfff['value']}],'formatGroupId':_0x51c4('0x6')},[],_0x51c4('0x3a'));});};}function _0x5f03aa(_0x33ed10){return()=>{const _0x51ab4e=function(_0x593703){let _0x1b4e41=Array[_0x51c4('0x46')](_0x593703);const _0x50e12f=_0x1b4e41[_0x51c4('0x1c')](_0x4efd74=>!_0x4efd74['hasAttribute'](_0x51c4('0x14')));return _0x50e12f>-0x1&&(_0x1b4e41=_0x1b4e41[_0x51c4('0x7')](0x0,_0x50e12f)),_0x1b4e41;}(_0x261b12['model'][_0x51c4('0x15')]['selection']['getSelectedBlocks']()),_0x35aab5=_0x51ab4e[_0x51ab4e[_0x51c4('0x31')]-0x1],_0x811a31=_0x261b12[_0x51c4('0x10')][_0x51c4('0x34')][_0x51c4('0x42')](_0x35aab5)?'after':_0x51c4('0x28'),_0x100bb3=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3e')](_0x261b12[_0x51c4('0x10')][_0x51c4('0x3')](_0x51ab4e[0x0],'before'),_0x261b12['model']['createPositionAt'](_0x35aab5,_0x811a31));_0x261b12[_0x51c4('0x10')]['change'](()=>{_0x128c27[_0x51c4('0x23')](_0x100bb3,{'commandName':_0x33ed10,'commandParams':[],'formatGroupId':'listType'},function(_0x2dc7e6){const _0x3c750d=new Set();for(const _0x51c8cc of _0x2dc7e6){let _0x5e626c=_0x51c8cc['nextSibling'];for(;_0x5e626c&&_0x5e626c[_0x51c4('0x8')]('listIndent')>_0x51c8cc[_0x51c4('0x8')](_0x51c4('0x1'));)_0x3c750d[_0x51c4('0x3d')](_0x5e626c),_0x5e626c=_0x5e626c[_0x51c4('0x20')];}return Array[_0x51c4('0x46')](_0x3c750d);}(_0x51ab4e));});};}function _0x48b54a(_0x385add){return()=>{const _0xf46668=_0x261b12[_0x51c4('0x10')][_0x51c4('0x15')]['selection'][_0x51c4('0x16')]()[_0x51c4('0xd')]()[_0x51c4('0x22')],_0x2bac39=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3')](_0xf46668,'before'),_0x183582=_0x261b12[_0x51c4('0x10')]['createPositionAt'](_0xf46668,0x0),_0x21d15e=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3e')](_0x2bac39,_0x183582);_0x261b12[_0x51c4('0x10')]['change'](()=>{_0x128c27[_0x51c4('0x23')](_0x21d15e,{'commandName':_0x385add,'commandParams':[],'formatGroupId':_0x51c4('0x6')});});};}function _0x253e7c(_0x57a090){const _0x544721=_0x261b12['commands']['get'](_0x51c4('0x2a'))[_0x51c4('0x22')],_0xddf3a2=_0x261b12[_0x51c4('0x36')][_0x51c4('0x13')](_0x51c4('0x32'))['value'];return _0x51c4('0x32')===_0x57a090?_0x544721:_0xddf3a2;}_0x128c27[_0x51c4('0x2e')](_0x51c4('0x32'),_0x18d88c(_0x51c4('0x32'))),_0x128c27['enableCommand']('bulletedList',_0x18d88c(_0x51c4('0x2a'))),_0x128c27[_0x51c4('0x2e')]('indentList',_0x5f03aa(_0x51c4('0xa'))),_0x128c27[_0x51c4('0x2e')](_0x51c4('0x29'),_0x5f03aa(_0x51c4('0x29'))),_0x128c27['enableCommand'](_0x51c4('0x4a'),_0x48b54a(_0x51c4('0x4a'))),_0x128c27[_0x51c4('0x2e')](_0x51c4('0x17'),_0x48b54a(_0x51c4('0x17'))),_0x128c27[_0x51c4('0x2f')][_0x51c4('0x26')](function(_0x26485e){const _0x4f03d8=!_0x261b12[_0x51c4('0x10')][_0x51c4('0x34')][_0x51c4('0x42')](_0x26485e),_0x28c2e5=_0x26485e[_0x51c4('0x35')],_0x50b3a5=_0x26485e['nextSibling'],_0x385389=_0x26485e[_0x51c4('0x8')](_0x51c4('0x14')),_0x467875=!_0x28c2e5||_0x28c2e5[_0x51c4('0x8')](_0x51c4('0x14'))!==_0x385389,_0x4f0e83=!_0x50b3a5||_0x50b3a5[_0x51c4('0x8')](_0x51c4('0x14'))!==_0x385389;return _0x4f03d8&&Boolean(_0x385389)&&_0x467875&&_0x4f0e83;},_0x5bd432=>_0x4019a3(_0x429d12,'ELEMENT_LIST_ITEM',_0x5bd432)),_0x128c27[_0x51c4('0x2f')]['registerDescriptionCallback'](function(_0x8c15d9){const {data:_0x32b74d}=_0x8c15d9;if(!_0x32b74d)return;let _0x157ef9,_0x48588c,_0x290748,_0x47e346;switch(_0x32b74d[_0x51c4('0x48')]){case _0x51c4('0x2a'):_0x290748=_0x32b74d[_0x51c4('0x2b')][0x0]['forceValue'],_0x47e346=_0x253e7c(_0x32b74d['commandName']),_0x157ef9=_0x290748?_0x51c4('0x1d'):_0x51c4('0xe'),_0x47e346&&(_0x157ef9=_0x51c4('0x1a')),_0x48588c={'type':'format','content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,'ELEMENT_BULLETED_LIST'))};break;case _0x51c4('0x32'):_0x290748=_0x32b74d[_0x51c4('0x2b')][0x0]['forceValue'],_0x47e346=_0x253e7c(_0x32b74d['commandName']),_0x157ef9=_0x290748?'*Format:*\x20insert\x20into\x20%0':_0x51c4('0xe'),_0x47e346&&(_0x157ef9=_0x51c4('0x1a')),_0x48588c={'type':'format','content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,_0x51c4('0x43')))};break;case _0x51c4('0xa'):_0x157ef9='*Indent:*\x20%0',_0x48588c={'type':_0x51c4('0x45'),'content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,_0x51c4('0x3b')))};break;case _0x51c4('0x29'):_0x157ef9=function(_0x2ee0ee){const _0x40ffba=_0x2ee0ee[_0x51c4('0x3f')]();let _0xb1979f=_0x40ffba[_0x51c4('0x24')][_0x51c4('0x1e')];for(;_0xb1979f&&_0x40ffba[_0x51c4('0x2c')](_0xb1979f);){if(_0xb1979f[_0x51c4('0x8')](_0x51c4('0x1'))>0x0)return!0x1;_0xb1979f=_0xb1979f['nextSibling'];}return!0x0;}(_0x8c15d9)?_0x4019a3(_0x429d12,_0x51c4('0xe'),_0x4019a3(_0x429d12,function(_0x395219){const _0x4e8cfe=_0x395219[_0x51c4('0x3f')]()['start'][_0x51c4('0x1e')];return _0x51c4('0x30')+_0x4e8cfe[_0x51c4('0x8')](_0x51c4('0x6'))[_0x51c4('0xf')]()+_0x51c4('0x12');}(_0x8c15d9))):_0x4019a3(_0x429d12,'*Outdent:*\x20%0',_0x4019a3(_0x429d12,_0x51c4('0x3b'))),_0x48588c={'type':_0x51c4('0x45'),'content':_0x157ef9};break;case _0x51c4('0x21'):case _0x51c4('0x18'):!0x1===_0x32b74d[_0x51c4('0xb')]&&(_0x157ef9=_0x51c4('0x1f'),_0x48588c={'type':_0x51c4('0x44'),'content':_0x4019a3(_0x429d12,_0x157ef9,_0x4019a3(_0x429d12,_0x51c4('0x3b')))});}return _0x48588c;}),_0x128c27[_0x51c4('0x2d')][_0x51c4('0x25')](_0x51c4('0x41'),_0x51c4('0x3a'),_0x51c4('0x3c'),function(_0x3f05fb,_0x36056b){const _0x2466cb=[];for(let _0x365953 of _0x3f05fb)_0x365953[_0x51c4('0x24')][_0x51c4('0x1e')]===_0x365953[_0x51c4('0x28')][_0x51c4('0x27')]&&(_0x365953=_0x261b12[_0x51c4('0x10')][_0x51c4('0x3e')](_0x261b12[_0x51c4('0x10')]['createPositionAt'](_0x365953[_0x51c4('0x24')][_0x51c4('0x1e')],0x0))),_0x2466cb[_0x51c4('0x11')](_0x365953);_0x261b12[_0x51c4('0x10')]['change'](_0x287b6d=>{const _0x2b2ecf=_0x261b12['model'][_0x51c4('0x15')][_0x51c4('0xc')],_0x25079f=Array[_0x51c4('0x46')](_0x2b2ecf['getRanges']())[_0x51c4('0x39')](_0x5392bf=>_0x4a3edc[_0x51c4('0x9')](_0x5392bf));_0x287b6d[_0x51c4('0x5')](_0x2466cb),_0x261b12[_0x51c4('0x36')]['get'](_0x36056b[_0x51c4('0x48')])[_0x51c4('0x37')](),_0x36056b[_0x51c4('0x2b')]['push']({'forceDefaultExecution':!0x0}),_0x261b12[_0x51c4('0x0')](_0x36056b[_0x51c4('0x48')],..._0x36056b['commandParams']),_0x287b6d['setSelection'](_0x25079f);for(const _0x2f51b6 of _0x25079f)_0x2f51b6[_0x51c4('0x40')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x695e=['format','*Format:*\x20set\x20start\x20index\x20to\x20%0','getSelectedBlocks','change','DocumentListPropertiesUtils','listStyle','isFirstBlockOfListItem','listReversed','_getSuggestionBlocksForListStyle','filter','get','handleListStartCommand','listType','document','handleListStyleCommand','replace','isListItemBlock','*Change\x20to:*\x20%0','*Format:*\x20set\x20order\x20to\x20regular','numbered','has','ELEMENT_','model','type','handleDescriptions','registerDescriptionCallback','DocumentListUtils','listStart','_descriptionFactory','toUpperCase','startIndex','_getTranslationKeyForListStyle','plugins','_LIST_','reversed','getAttribute','TrackChangesEditing','handleListReversedCommand','afterInit','locale','getListTypeFromListStyleType','expandListBlocksToCompleteList','length','editor','DocumentListPropertiesEditing','selection','styles','push','_getSuggestionBlocks','bind','commandName','from','markMultiRangeBlockFormat','commandParams'];(function(_0x34b199,_0x695e94){const _0x48be0d=function(_0x2e19ce){while(--_0x2e19ce){_0x34b199['push'](_0x34b199['shift']());}};_0x48be0d(++_0x695e94);}(_0x695e,0x141));const _0x48be=function(_0x34b199,_0x695e94){_0x34b199=_0x34b199-0x0;let _0x48be0d=_0x695e[_0x34b199];return _0x48be0d;};import{Plugin as _0x597fe0}from'ckeditor5/src/core';import{getTranslation as _0x46114e}from'../utils/common-translations';export default class St extends _0x597fe0{[_0x48be('0x29')](){if(!this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0x17')](_0x48be('0x2f')))return;const _0x32d900=this[_0x48be('0x2e')]['config'][_0x48be('0xd')]('list.properties'),_0x6c25ef=this['editor'][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x27'));_0x32d900[_0x48be('0x31')]&&_0x6c25ef['enableCommand']('listStyle',this[_0x48be('0x11')][_0x48be('0x34')](this)),_0x32d900[_0x48be('0x25')]&&_0x6c25ef['enableCommand']('listReversed',this[_0x48be('0x28')][_0x48be('0x34')](this)),_0x32d900[_0x48be('0x21')]&&_0x6c25ef['enableCommand'](_0x48be('0x1e'),this['handleListStartCommand'][_0x48be('0x34')](this)),_0x6c25ef[_0x48be('0x1f')][_0x48be('0x1c')](this[_0x48be('0x1b')]['bind'](this));}[_0x48be('0x11')](_0x1dda0a,_0x164e29={}){const _0x56b511=this['editor']['plugins'][_0x48be('0xd')](_0x48be('0x27')),_0x3555aa=this[_0x48be('0xb')]();this[_0x48be('0x2e')]['model']['change'](()=>{_0x56b511[_0x48be('0x1')](_0x3555aa,{'commandName':_0x48be('0x8'),'commandParams':[{'type':_0x164e29[_0x48be('0x1a')]}],'formatGroupId':_0x48be('0x8')});});}[_0x48be('0x28')](_0x3af109,_0x8abc3d={}){const _0x5d5f4c=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x27')),_0x3008b0=this['editor']['plugins'][_0x48be('0xd')](_0x48be('0x1d')),_0xaf30c3=this[_0x48be('0x33')](_0x26df61=>_0x3008b0[_0x48be('0x13')](_0x26df61)&&_0x48be('0x16')===_0x26df61[_0x48be('0x26')](_0x48be('0xf')));null!==_0xaf30c3&&this[_0x48be('0x2e')][_0x48be('0x19')]['change'](()=>{_0x5d5f4c[_0x48be('0x1')](_0xaf30c3,{'commandName':_0x48be('0xa'),'commandParams':[{'reversed':_0x8abc3d[_0x48be('0x25')]}],'formatGroupId':_0x48be('0xa')});});}[_0x48be('0xe')](_0x5e95db,_0x5024e7={}){const _0x48c3a2=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')]('TrackChangesEditing'),_0x4d27fd=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x1d')),_0x512213=this[_0x48be('0x33')](_0x2d0068=>_0x4d27fd['isListItemBlock'](_0x2d0068)&&_0x48be('0x16')===_0x2d0068[_0x48be('0x26')](_0x48be('0xf')));null!==_0x512213&&this[_0x48be('0x2e')][_0x48be('0x19')][_0x48be('0x6')](()=>{_0x48c3a2[_0x48be('0x1')](_0x512213,{'commandName':_0x48be('0x1e'),'commandParams':[{'startIndex':_0x5024e7['startIndex']}],'formatGroupId':_0x48be('0x1e')});});}[_0x48be('0x1b')](_0x1fa47e){const _0x12b510=this[_0x48be('0x2e')][_0x48be('0x2a')],{data:_0x5a3661}=_0x1fa47e;if(!_0x5a3661)return;let _0x351d95,_0xa5634e;switch(_0x5a3661[_0x48be('0x35')]){case _0x48be('0x8'):_0x351d95=_0x48be('0x14'),_0xa5634e={'type':_0x48be('0x3'),'content':_0x46114e(_0x12b510,_0x351d95,_0x46114e(_0x12b510,this[_0x48be('0x22')](_0x5a3661[_0x48be('0x2')][0x0][_0x48be('0x1a')])))};break;case _0x48be('0xa'):_0x351d95=_0x5a3661[_0x48be('0x2')][0x0][_0x48be('0x25')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x48be('0x15'),_0xa5634e={'type':'format','content':_0x46114e(_0x12b510,_0x351d95)};break;case _0x48be('0x1e'):_0x351d95=_0x48be('0x4'),_0xa5634e={'type':_0x48be('0x3'),'content':_0x46114e(_0x12b510,_0x351d95,_0x5a3661[_0x48be('0x2')][0x0][_0x48be('0x21')])};}return _0xa5634e;}[_0x48be('0xb')](){const _0x4f3ed2=this[_0x48be('0x2e')][_0x48be('0x23')]['get'](_0x48be('0x1d'));let _0x508268=Array[_0x48be('0x0')](this[_0x48be('0x2e')][_0x48be('0x19')][_0x48be('0x10')][_0x48be('0x30')][_0x48be('0x5')]());return _0x508268[_0x48be('0x32')](..._0x4f3ed2['expandListBlocksToCompleteList'](_0x508268)),_0x508268=[...new Set(_0x508268)],_0x508268;}['_getSuggestionBlocks'](_0x378404){const _0x2af13f=this[_0x48be('0x2e')][_0x48be('0x23')][_0x48be('0xd')](_0x48be('0x1d'));let _0x20e4d7=Array[_0x48be('0x0')](this[_0x48be('0x2e')][_0x48be('0x19')][_0x48be('0x10')][_0x48be('0x30')][_0x48be('0x5')]())[_0x48be('0xc')](_0x378404);if(!_0x20e4d7[_0x48be('0x2d')])return null;_0x20e4d7=_0x2af13f[_0x48be('0x2c')](_0x20e4d7);const _0x43cdf0=[];for(const _0x511fc2 of _0x20e4d7)_0x2af13f[_0x48be('0x9')](_0x511fc2)&&_0x43cdf0['push'](_0x511fc2);return _0x43cdf0;}[_0x48be('0x22')](_0x445249){return _0x48be('0x18')+this[_0x48be('0x2e')]['plugins'][_0x48be('0xd')](_0x48be('0x7'))[_0x48be('0x2b')](_0x445249)[_0x48be('0x20')]()+_0x48be('0x24')+_0x445249[_0x48be('0x20')]()[_0x48be('0x12')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb2fa=['hasClass','showSuggestionHighlights','editing','model','selection','markInsertion','enableCommand','commands','markerName','writer','nextSibling','getFirstRange','getFirstPosition','enter','removeMarker:suggestion:insertion','enterBlock','plugins','markerNameToElements','end','remove','detach','options','mapper','setSelection','fire','addMarker:suggestion:insertion','high','init','fromRange','data','ck-suggestion-marker-split','get','createRange'];(function(_0x142bc8,_0xb2fa6b){const _0x5342f2=function(_0x595e97){while(--_0x595e97){_0x142bc8['push'](_0x142bc8['shift']());}};_0x5342f2(++_0xb2fa6b);}(_0xb2fa,0x69));const _0x5342=function(_0x142bc8,_0xb2fa6b){_0x142bc8=_0x142bc8-0x0;let _0x5342f2=_0xb2fa[_0x142bc8];return _0x5342f2;};import{Plugin as _0x2ada1c}from'ckeditor5/src/core';import{Enter as _0x35032d}from'ckeditor5/src/enter';import{LiveRange as _0x47b30e}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2942fb}from'./utils';export default class q extends _0x2ada1c{static get['requires'](){return[_0x35032d];}[_0x5342('0x15')](){const _0x41e89d=this['editor'],_0x3b5f22=_0x41e89d[_0x5342('0xa')]['get']('TrackChangesEditing'),_0x53ab53=_0x41e89d[_0x5342('0x1')][_0x5342('0x19')](_0x5342('0x7'));_0x3b5f22[_0x5342('0x0')]('enter',()=>{_0x41e89d['model']['change'](_0x10971d=>{const _0x4088ec=_0x41e89d[_0x5342('0x1e')]['document'][_0x5342('0x1f')],_0x4f9f45=_0x4088ec[_0x5342('0x6')](),_0x3f120f=_0x47b30e[_0x5342('0x16')](_0x4088ec[_0x5342('0x5')]());if(_0x53ab53[_0x5342('0x9')](_0x10971d)){const _0x3d686f=_0x41e89d[_0x5342('0x1e')]['createPositionAt'](_0x4f9f45['parent'][_0x5342('0x4')],0x0),_0x38c7e0=_0x10971d[_0x5342('0x1a')](_0x4f9f45,_0x3d686f);_0x3b5f22[_0x5342('0x20')](_0x38c7e0);}else _0x10971d[_0x5342('0x11')](_0x10971d[_0x5342('0x1a')](_0x3f120f[_0x5342('0xc')]));_0x3f120f[_0x5342('0xe')](),_0x53ab53[_0x5342('0x12')]('afterExecute',{'writer':_0x10971d});});}),_0x41e89d[_0x5342('0x1d')]['downcastDispatcher']['on'](_0x5342('0x13'),_0x2942fb(_0x41e89d,'split'),{'priority':_0x5342('0x14')}),_0x41e89d['editing']['downcastDispatcher']['on'](_0x5342('0x8'),(_0x2621d4,_0x501ac3,_0x59f45f)=>{const _0x1cc2e5=_0x59f45f[_0x5342('0x10')][_0x5342('0xb')](_0x501ac3[_0x5342('0x2')]);if(_0x1cc2e5)for(const _0xd51e18 of _0x1cc2e5)_0xd51e18[_0x5342('0x1b')](_0x5342('0x18'))&&(_0x59f45f['mapper']['unbindElementFromMarkerName'](_0xd51e18,_0x501ac3[_0x5342('0x2')]),_0x59f45f[_0x5342('0x3')][_0x5342('0xd')](_0xd51e18));},{'priority':_0x5342('0x14')}),_0x41e89d[_0x5342('0x17')]['downcastDispatcher']['on'](_0x5342('0x13'),(_0xc87fce,_0x380815,_0x115ad1)=>{_0x115ad1[_0x5342('0xf')][_0x5342('0x1c')]&&_0x2942fb(_0x41e89d,'split',{'showActiveMarker':!0x1})['bind'](this)(_0xc87fce,_0x380815,_0x115ad1);},{'priority':_0x5342('0x14')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c93=['start','afterInit','findByTextCallback','find','replace','model','enableCommand','TrackChangesEditing','FindAndReplaceUtils','item','findNext','suggestion:deletion','editor','getMarkersGroup','bind','handleFindCommand','string','has','get','plugins','getIntersection','_isInDeletionRange','markers','findPrevious','createRange','createPositionAt','end','getRange'];(function(_0x4f5baf,_0x3c9336){const _0x26db2c=function(_0x508669){while(--_0x508669){_0x4f5baf['push'](_0x4f5baf['shift']());}};_0x26db2c(++_0x3c9336);}(_0x3c93,0x1b1));const _0x26db=function(_0x4f5baf,_0x3c9336){_0x4f5baf=_0x4f5baf-0x0;let _0x26db2c=_0x3c93[_0x4f5baf];return _0x26db2c;};import{Plugin as _0x5babcd}from'ckeditor5/src/core';export default class z extends _0x5babcd{[_0x26db('0x10')](){if(!this[_0x26db('0x1b')][_0x26db('0x6')][_0x26db('0x4')]('FindAndReplaceEditing'))return;const _0x520146=this[_0x26db('0x1b')][_0x26db('0x6')][_0x26db('0x5')](_0x26db('0x16'));_0x520146[_0x26db('0x15')](_0x26db('0x12'),this[_0x26db('0x2')][_0x26db('0x1')](this)),_0x520146[_0x26db('0x15')](_0x26db('0x19')),_0x520146['enableCommand'](_0x26db('0xa')),_0x520146[_0x26db('0x15')](_0x26db('0x13')),_0x520146[_0x26db('0x15')]('replaceAll');}[_0x26db('0x2')](_0xb9b61d,_0x3c43e9,_0x466103={}){const _0x54778c=this[_0x26db('0x1b')][_0x26db('0x6')][_0x26db('0x5')](_0x26db('0x17'));void 0x0!==_0x466103&&_0xb9b61d(_0x31000b=>(_0x26db('0x3')==typeof _0x3c43e9?_0x54778c[_0x26db('0x11')](_0x3c43e9,_0x466103):_0x3c43e9)(_0x31000b)['filter'](_0x55087f=>!0x1===this['_isInDeletionRange'](_0x55087f,_0x31000b[_0x26db('0x18')])),_0x466103);}[_0x26db('0x8')](_0x130b00,_0x24aba4){const _0x342802=this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0xb')](this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0xc')](_0x24aba4,_0x130b00[_0x26db('0xf')]),this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0xc')](_0x24aba4,_0x130b00[_0x26db('0xd')]));for(const _0x3c1074 of this[_0x26db('0x1b')][_0x26db('0x14')][_0x26db('0x9')][_0x26db('0x0')](_0x26db('0x1a')))if(null!==_0x342802[_0x26db('0x7')](_0x3c1074[_0x26db('0xe')]()))return!0x0;return!0x1;}}
|