@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231006.0 → 0.0.0-nightly-20231008.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231008.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-20231008.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231008.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 _0x4d91=['model','track-changes-accept-suggestion-not-found','TrackChangesEditing','get','getRanges','refresh','editor'];(function(_0x512d91,_0x4d91b0){const _0xdbef43=function(_0x19d082){while(--_0x19d082){_0x512d91['push'](_0x512d91['shift']());}};_0xdbef43(++_0x4d91b0);}(_0x4d91,0x79));const _0xdbef=function(_0x512d91,_0x4d91b0){_0x512d91=_0x512d91-0x0;let _0xdbef43=_0x4d91[_0x512d91];return _0xdbef43;};import{Command as _0x2d4225}from'ckeditor5/src/core';import{CKEditorError as _0x198c6b}from'ckeditor5/src/utils';export default class M extends _0x2d4225{constructor(_0x3e9d18,_0xd2101a){super(_0x3e9d18),this['_suggestions']=_0xd2101a,this[_0xdbef('0x3')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x25e6a5){const _0x4f79c0=this['_suggestions'][_0xdbef('0x1')](_0x25e6a5);if(!_0x4f79c0)throw new _0x198c6b(_0xdbef('0x6'),this);const _0x1e98d6=_0x4f79c0[_0xdbef('0x2')]();this[_0xdbef('0x4')][_0xdbef('0x5')]['canEditAt'](_0x1e98d6)&&this[_0xdbef('0x4')]['plugins'][_0xdbef('0x1')](_0xdbef('0x0'))['acceptSuggestion'](_0x4f79c0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1485=['canEditAt','execute','refresh','isEnabled','model','discardSuggestion','get','editor','getRanges','TrackChangesEditing','_isEnabledBasedOnSelection','plugins'];(function(_0x105828,_0x148557){const _0x348da6=function(_0x4cb5f2){while(--_0x4cb5f2){_0x105828['push'](_0x105828['shift']());}};_0x348da6(++_0x148557);}(_0x1485,0xa8));const _0x348d=function(_0x105828,_0x148557){_0x105828=_0x105828-0x0;let _0x348da6=_0x1485[_0x105828];return _0x348da6;};import{Command as _0x4ed3df}from'ckeditor5/src/core';import{CKEditorError as _0x55f262}from'ckeditor5/src/utils';export default class $ extends _0x4ed3df{constructor(_0x1db4a0,_0x44535b){super(_0x1db4a0),this['_suggestions']=_0x44535b,this[_0x348d('0x2')](),this[_0x348d('0xa')]=!0x1;}[_0x348d('0x2')](){this[_0x348d('0x3')]=!0x0;}[_0x348d('0x1')](_0x4a5a06){const _0x46040b=this['_suggestions'][_0x348d('0x6')](_0x4a5a06);if(!_0x46040b)throw new _0x55f262('track-changes-discard-suggestion-not-found',this);const _0x505ba8=_0x46040b[_0x348d('0x8')]();this['editor'][_0x348d('0x4')][_0x348d('0x0')](_0x505ba8)&&this[_0x348d('0x7')][_0x348d('0xb')][_0x348d('0x6')](_0x348d('0x9'))[_0x348d('0x5')](_0x46040b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ea8=['refresh','isEnabled','_isEnabledBasedOnSelection','_command','canEditAt','getRanges','model','_suggestions','execute','from','values','isInContent','editor'];(function(_0x4139e9,_0x2ea8bd){const _0x5c87bb=function(_0x3c82cc){while(--_0x3c82cc){_0x4139e9['push'](_0x4139e9['shift']());}};_0x5c87bb(++_0x2ea8bd);}(_0x2ea8,0x176));const _0x5c87=function(_0x4139e9,_0x2ea8bd){_0x4139e9=_0x4139e9-0x0;let _0x5c87bb=_0x2ea8[_0x4139e9];return _0x5c87bb;};import{Command as _0x53c485}from'ckeditor5/src/core';import{sortSuggestions as _0x221cf3,executeCommandForSuggestions as _0x596aab}from'../utils/utils';export default class N extends _0x53c485{constructor(_0x5e56c6,_0xf17af4,_0x320a46){super(_0x5e56c6),this[_0x5c87('0x6')]=_0xf17af4,this[_0x5c87('0xa')]=_0x320a46,this[_0x5c87('0x3')](),this[_0x5c87('0x5')]=!0x1;}[_0x5c87('0x3')](){const _0x2164b9=Array[_0x5c87('0xc')](this[_0x5c87('0xa')][_0x5c87('0x0')]())['some'](_0xfa2e78=>_0xfa2e78[_0x5c87('0x1')]);this[_0x5c87('0x4')]=this[_0x5c87('0x6')][_0x5c87('0x4')]&&_0x2164b9;}[_0x5c87('0xb')](){const _0x1b9b54=_0x221cf3(Array[_0x5c87('0xc')](this['_suggestions'][_0x5c87('0x0')]()));for(const _0x2c2f8b of _0x1b9b54){const _0x15240=_0x2c2f8b[_0x5c87('0x8')]();if(!this['editor'][_0x5c87('0x9')][_0x5c87('0x7')](_0x15240))return;}_0x596aab(this[_0x5c87('0x2')][_0x5c87('0x9')],this[_0x5c87('0x6')],_0x1b9b54);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37de=['values','_selectedSuggestions','_command','getRanges','isEnabled','_isEnabledBasedOnSelection','from','document','model','size','selection','execute','refresh','editor'];(function(_0x5e365e,_0x37dea0){const _0x450909=function(_0xae929b){while(--_0xae929b){_0x5e365e['push'](_0x5e365e['shift']());}};_0x450909(++_0x37dea0);}(_0x37de,0x7c));const _0x4509=function(_0x5e365e,_0x37dea0){_0x5e365e=_0x5e365e-0x0;let _0x450909=_0x37de[_0x5e365e];return _0x450909;};import{Command as _0x36e9c6}from'ckeditor5/src/core';import{sortSuggestions as _0x19b28b,getSelectedSuggestions as _0x36f675,executeCommandForSuggestions as _0x35d54f}from'../utils/utils';export default class R extends _0x36e9c6{constructor(_0x263ad8,_0x1d7795,_0x22bfa9){super(_0x263ad8),this[_0x4509('0x4')]=_0x1d7795,this['_suggestions']=_0x22bfa9,this['_selectedSuggestions']=new Set(),this[_0x4509('0x0')](),this[_0x4509('0x7')]=!0x1;}[_0x4509('0x0')](){const _0x43c33f=this[_0x4509('0x1')]['model'][_0x4509('0x9')][_0x4509('0xc')],_0x3fc1c2=Array[_0x4509('0x8')](this['_suggestions'][_0x4509('0x2')]());this[_0x4509('0x3')]=_0x36f675(_0x43c33f,_0x3fc1c2),this['isEnabled']=this[_0x4509('0x4')][_0x4509('0x6')]&&!!this[_0x4509('0x3')][_0x4509('0xb')];}[_0x4509('0xd')](){const _0x9d1310=_0x19b28b(Array[_0x4509('0x8')](this[_0x4509('0x3')]));for(const _0x7d5f5e of _0x9d1310){const _0x292081=_0x7d5f5e[_0x4509('0x5')]();if(!this['editor'][_0x4509('0xa')]['canEditAt'](_0x292081))return;}_0x35d54f(this[_0x4509('0x1')][_0x4509('0xa')],this[_0x4509('0x4')],_0x9d1310);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5de1=['editor','affectsData','value','_enabledCommands','_disableUnsupportedCommands','has','TrackChangesCommand','clearForceDisabled','_enableCommands','refresh','commands','forceDisabled','isEnabled'];(function(_0x8d95a5,_0x5de1d6){const _0x217aa4=function(_0x1ff947){while(--_0x1ff947){_0x8d95a5['push'](_0x8d95a5['shift']());}};_0x217aa4(++_0x5de1d6);}(_0x5de1,0x89));const _0x217a=function(_0x8d95a5,_0x5de1d6){_0x8d95a5=_0x8d95a5-0x0;let _0x217aa4=_0x5de1[_0x8d95a5];return _0x217aa4;};import{Command as _0x3f805e}from'ckeditor5/src/core';export default class _ extends _0x3f805e{constructor(_0xbf2217,_0x1e17bf){super(_0xbf2217),this['_enabledCommands']=_0x1e17bf,this[_0x217a('0x8')]=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x217a('0x2')](){this[_0x217a('0x5')]=!0x0;}['execute'](){this['value']=!this[_0x217a('0x8')],this['value']?this[_0x217a('0xa')]():this[_0x217a('0x1')]();}[_0x217a('0xa')](){for(const _0xaf3243 of this[_0x217a('0x6')][_0x217a('0x3')][_0x217a('0x3')]())_0xaf3243['affectsData']&&!this[_0x217a('0x9')][_0x217a('0xb')](_0xaf3243)&&_0xaf3243[_0x217a('0x4')](_0x217a('0xc'));}['_enableCommands'](){for(const _0x1a1b79 of this[_0x217a('0x6')][_0x217a('0x3')]['commands']())_0x1a1b79[_0x217a('0x7')]&&!this[_0x217a('0x9')][_0x217a('0xb')](_0x1a1b79)&&_0x1a1b79[_0x217a('0x0')](_0x217a('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55f6=['showAIAssistant','editor','commands','TrackChangesEditing','get'];(function(_0x210355,_0x55f67c){const _0x5a65da=function(_0x1922a2){while(--_0x1922a2){_0x210355['push'](_0x210355['shift']());}};_0x5a65da(++_0x55f67c);}(_0x55f6,0xee));const _0x5a65=function(_0x210355,_0x55f67c){_0x210355=_0x210355-0x0;let _0x5a65da=_0x55f6[_0x210355];return _0x5a65da;};import{Plugin as _0x12cfdc}from'ckeditor5/src/core';export default class j extends _0x12cfdc{['afterInit'](){const _0x39eff9=this[_0x5a65('0x3')],_0x64d774=_0x39eff9['plugins'][_0x5a65('0x1')](_0x5a65('0x0'));_0x39eff9[_0x5a65('0x4')]['get'](_0x5a65('0x2'))&&_0x64d774['enableCommand'](_0x5a65('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2807=['get','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','model','justify','getAttribute','alignment','change','document','FORMAT_ALIGN_TO_RIGHT','right','getSelectedBlocks','contentLanguageDirection','value','checkAttribute','markBlockFormat','locale','_descriptionFactory','schema','commandName','afterInit','enableCommand','FORMAT_ALIGN_TO_CENTER','has','editor','FORMAT_JUSTIFY_TEXT','from','format','selection','plugins','*Format:*\x20%0'];(function(_0x996c8a,_0x280738){const _0x3b53fc=function(_0x94183b){while(--_0x94183b){_0x996c8a['push'](_0x996c8a['shift']());}};_0x3b53fc(++_0x280738);}(_0x2807,0x8c));const _0x3b53=function(_0x996c8a,_0x280738){_0x996c8a=_0x996c8a-0x0;let _0x3b53fc=_0x2807[_0x996c8a];return _0x3b53fc;};import{Plugin as _0x4fb077}from'ckeditor5/src/core';import{getTranslation as _0x5606ed}from'../utils/common-translations';export default class x extends _0x4fb077{[_0x3b53('0x9')](){const _0x3f5570=this[_0x3b53('0xd')],_0x1d19f3=_0x3f5570[_0x3b53('0x5')];if(!_0x3f5570[_0x3b53('0x12')][_0x3b53('0xc')]('AlignmentEditing'))return;const _0x541720=_0x3f5570[_0x3b53('0x12')][_0x3b53('0x14')](_0x3b53('0x17'));_0x541720[_0x3b53('0xa')](_0x3b53('0x1b'),(_0x5acc9b,_0x2e1c43={})=>{let _0x7b8cf7=_0x2e1c43[_0x3b53('0x2')];_0x2e1c43[_0x3b53('0x2')]||(_0x7b8cf7='ltr'===_0x3f5570[_0x3b53('0x5')][_0x3b53('0x1')]?'left':_0x3b53('0x1f'));const _0x5e13ae=Array[_0x3b53('0xf')](this[_0x3b53('0xd')][_0x3b53('0x18')][_0x3b53('0x1d')][_0x3b53('0x11')][_0x3b53('0x0')]())['filter'](_0x2a8d46=>function(_0x2d02d5,_0x5ca7f4,_0x430b7e){const _0x5eb77c=_0x2d02d5[_0x3b53('0x1a')](_0x3b53('0x1b'))||null;return _0x5ca7f4[_0x3b53('0x3')](_0x2d02d5,_0x3b53('0x1b'))&&_0x430b7e!=_0x5eb77c;}(_0x2a8d46,this['editor']['model'][_0x3b53('0x7')],_0x7b8cf7));_0x3f5570[_0x3b53('0x18')][_0x3b53('0x1c')](()=>{for(const _0x1759fa of _0x5e13ae)_0x541720[_0x3b53('0x4')](_0x1759fa,{'commandName':_0x3b53('0x1b'),'commandParams':[{'value':_0x7b8cf7}]});});}),_0x541720[_0x3b53('0x6')][_0x3b53('0x15')](_0x2bbacb=>{const {data:_0x2f9bb8}=_0x2bbacb;if(_0x2f9bb8&&'alignment'==_0x2f9bb8[_0x3b53('0x8')]){const _0x168bfd=_0x2f9bb8['commandParams'][0x0][_0x3b53('0x2')];return{'type':_0x3b53('0x10'),'content':_0x5606ed(_0x1d19f3,_0x3b53('0x13'),function(_0x40a141){switch(_0x40a141){case'left':return _0x5606ed(_0x1d19f3,_0x3b53('0x16'));case _0x3b53('0x1f'):return _0x5606ed(_0x1d19f3,_0x3b53('0x1e'));case'center':return _0x5606ed(_0x1d19f3,_0x3b53('0xb'));case _0x3b53('0x19'):return _0x5606ed(_0x1d19f3,_0x3b53('0xe'));}}(_0x168bfd))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3adb=['toLowerCase','FORMAT_CODE','italic','slice','getRanges','editor','afterInit','subscript','commandName','superscript','UnderlineEditing','*Remove\x20format:*\x20%0','BoldEditing','CodeEditing','markInlineFormat','forceValue','locale','commandParams','*Format:*\x20%0','FORMAT_ITALIC','_descriptionFactory','document','TrackChangesEditing','enableCommand','value','change','FORMAT_BOLD','underline','FORMAT_SUBSCRIPT','format','model','has','selection','code','commands','registerDescriptionCallback','StrikethroughEditing','plugins','SubscriptEditing'];(function(_0x9c54e2,_0x3adb25){const _0x524b7f=function(_0x3997b5){while(--_0x3997b5){_0x9c54e2['push'](_0x9c54e2['shift']());}};_0x524b7f(++_0x3adb25);}(_0x3adb,0x8d));const _0x524b=function(_0x9c54e2,_0x3adb25){_0x9c54e2=_0x9c54e2-0x0;let _0x524b7f=_0x3adb[_0x9c54e2];return _0x524b7f;};import{Plugin as _0xe6017d}from'ckeditor5/src/core';import{getTranslation as _0x44c6f7}from'../utils/common-translations';import{getRangesWithAttribute as _0x50912f}from'./utils';const Zt=[_0x524b('0x1b'),'ItalicEditing',_0x524b('0x19'),_0x524b('0x1c'),_0x524b('0xc'),_0x524b('0xe'),'SuperscriptEditing'];export default class U extends _0xe6017d{[_0x524b('0x15')](){const _0x26cbd8=this[_0x524b('0x14')],_0x40dc83=_0x26cbd8[_0x524b('0x6')],_0x1daa11=_0x26cbd8[_0x524b('0xd')]['get'](_0x524b('0x25')),_0x91e4cd=_0x26cbd8[_0x524b('0x1f')];for(const _0x128978 of Zt){if(!_0x26cbd8[_0x524b('0xd')][_0x524b('0x7')](_0x128978))continue;const _0x5bab45=_0x128978[_0x524b('0x12')](0x0,-0x7)[_0x524b('0xf')](),_0x5a6331=_0x26cbd8[_0x524b('0xa')]['get'](_0x5bab45);_0x1daa11[_0x524b('0x26')](_0x5bab45,(_0xbe9ab6,_0x40fb62={})=>{const _0x55c9a1=_0x40dc83[_0x524b('0x24')][_0x524b('0x8')];if(_0x55c9a1['isCollapsed'])return void _0xbe9ab6(_0x40fb62);const _0x5da030=void 0x0!==_0x40fb62[_0x524b('0x1e')]?_0x40fb62['forceValue']:!_0x5a6331[_0x524b('0x0')];_0x40dc83[_0x524b('0x1')](()=>{const _0x106449=Array['from'](_0x55c9a1[_0x524b('0x13')]());for(const _0x3eeba4 of _0x106449){const _0x311f57=_0x5da030?[_0x3eeba4]:_0x50912f(_0x5bab45,_0x3eeba4,_0x40dc83);for(const _0x481b45 of _0x311f57)_0x1daa11[_0x524b('0x1d')](_0x481b45,{'commandName':_0x5bab45,'commandParams':[{'forceValue':_0x5da030}]});}});});}function _0x31cfd5(_0x449936,_0x1ef7f7){_0x1daa11[_0x524b('0x23')][_0x524b('0xb')](_0x44d09a=>{const {data:_0x5e9aae}=_0x44d09a;if(_0x5e9aae&&_0x5e9aae[_0x524b('0x17')]===_0x449936)return _0x5e9aae[_0x524b('0x20')][0x0][_0x524b('0x1e')]?{'type':_0x524b('0x5'),'content':_0x44c6f7(_0x91e4cd,_0x524b('0x21'),_0x1ef7f7)}:{'type':_0x524b('0x5'),'content':_0x44c6f7(_0x91e4cd,_0x524b('0x1a'),_0x1ef7f7)};});}_0x31cfd5('bold',_0x44c6f7(_0x91e4cd,_0x524b('0x2'))),_0x31cfd5(_0x524b('0x11'),_0x44c6f7(_0x91e4cd,_0x524b('0x22'))),_0x31cfd5(_0x524b('0x3'),_0x44c6f7(_0x91e4cd,'FORMAT_UNDERLINE')),_0x31cfd5(_0x524b('0x9'),_0x44c6f7(_0x91e4cd,_0x524b('0x10'))),_0x31cfd5('strikethrough',_0x44c6f7(_0x91e4cd,'FORMAT_STRIKETHROUGH')),_0x31cfd5(_0x524b('0x16'),_0x44c6f7(_0x91e4cd,_0x524b('0x4'))),_0x31cfd5(_0x524b('0x18'),_0x44c6f7(_0x91e4cd,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5754=['get','BlockQuoteEditing','from','schema','commandParams','commands','has','forceValue','selection','commandName','markBlockFormat','parent','ELEMENT_BLOCK_QUOTE','checkChild','blockQuote','locale','filter','model','_descriptionFactory','document','value','afterInit','*Format:*\x20%0','registerDescriptionCallback','format','getSelectedBlocks','editor'];(function(_0x11cb9a,_0x5754a4){const _0x30922c=function(_0x204cd8){while(--_0x204cd8){_0x11cb9a['push'](_0x11cb9a['shift']());}};_0x30922c(++_0x5754a4);}(_0x5754,0xae));const _0x3092=function(_0x11cb9a,_0x5754a4){_0x11cb9a=_0x11cb9a-0x0;let _0x30922c=_0x5754[_0x11cb9a];return _0x30922c;};import{Plugin as _0x484aed}from'ckeditor5/src/core';import{getTranslation as _0x3a6e2f}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2c7e2f}from'../utils/utils';export default class O extends _0x484aed{[_0x3092('0x9')](){const _0x3bca15=this[_0x3092('0xe')],_0x5cbb24=_0x3bca15[_0x3092('0x3')];if(!_0x3bca15['plugins'][_0x3092('0x15')](_0x3092('0x10')))return;const _0x59d1fe=_0x3bca15['plugins'][_0x3092('0xf')]('TrackChangesEditing'),_0x5e9dd8=this[_0x3092('0xe')][_0x3092('0x14')]['get'](_0x3092('0x2'));_0x59d1fe['enableCommand'](_0x3092('0x2'),(_0x4b6fde,_0x530ee5={})=>{const _0x5167c2=this[_0x3092('0xe')][_0x3092('0x5')][_0x3092('0x7')][_0x3092('0x17')],_0x47b9f0=_0x530ee5&&void 0x0!==_0x530ee5[_0x3092('0x16')]?_0x530ee5[_0x3092('0x16')]:!_0x5e9dd8[_0x3092('0x8')];let _0x216075=[];if(_0x47b9f0){const _0x8e0899=Array[_0x3092('0x11')](_0x5167c2[_0x3092('0xd')]())[_0x3092('0x4')](_0x1f324a=>oo(_0x1f324a)||function(_0x2bc68c,_0x5515d4){const _0x4a97ab=_0x5515d4[_0x3092('0x1')](_0x2bc68c[_0x3092('0x1a')],_0x3092('0x2')),_0x3d59b7=_0x5515d4[_0x3092('0x1')](['$root','blockQuote'],_0x2bc68c);return _0x4a97ab&&_0x3d59b7;}(_0x1f324a,this['editor'][_0x3092('0x5')][_0x3092('0x12')]));_0x216075=_0x2c7e2f(_0x8e0899,_0x3bca15[_0x3092('0x5')]);}else{const _0x20dcb1=Array[_0x3092('0x11')](_0x5167c2[_0x3092('0xd')]())[_0x3092('0x4')](_0x49f49e=>oo(_0x49f49e));_0x216075=_0x2c7e2f(_0x20dcb1,_0x3bca15[_0x3092('0x5')]);}_0x3bca15[_0x3092('0x5')]['change'](()=>{for(const _0x229e7f of _0x216075)_0x59d1fe[_0x3092('0x19')](_0x229e7f,{'commandName':_0x3092('0x2'),'commandParams':[{'forceValue':_0x47b9f0}]});});}),_0x59d1fe[_0x3092('0x6')][_0x3092('0xb')](_0x1f89ed=>{const {data:_0x5528c8}=_0x1f89ed;if(_0x5528c8&&_0x3092('0x2')==_0x5528c8[_0x3092('0x18')]){const _0x524e08=_0x3a6e2f(_0x5cbb24,_0x3092('0x0'));return _0x5528c8[_0x3092('0x13')][0x0][_0x3092('0x16')]?{'type':_0x3092('0xc'),'content':_0x3a6e2f(_0x5cbb24,_0x3092('0xa'),_0x524e08)}:{'type':_0x3092('0xc'),'content':_0x3a6e2f(_0x5cbb24,'*Remove\x20format:*\x20%0',_0x524e08)};}});}}function oo(_0x223b15){return _0x3092('0x2')==_0x223b15['parent']['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e1b=['TrackChangesEditing','afterInit','get','ckbox','commands','editor'];(function(_0x330ad3,_0x5e1b68){const _0x3811ce=function(_0x1f803b){while(--_0x1f803b){_0x330ad3['push'](_0x330ad3['shift']());}};_0x3811ce(++_0x5e1b68);}(_0x5e1b,0x13a));const _0x3811=function(_0x330ad3,_0x5e1b68){_0x330ad3=_0x330ad3-0x0;let _0x3811ce=_0x5e1b[_0x330ad3];return _0x3811ce;};import{Plugin as _0x2884d7}from'ckeditor5/src/core';export default class E extends _0x2884d7{[_0x3811('0x5')](){const _0x310c11=this[_0x3811('0x3')];_0x310c11[_0x3811('0x2')][_0x3811('0x0')]('ckbox')&&_0x310c11['plugins'][_0x3811('0x0')](_0x3811('0x4'))['enableCommand'](_0x3811('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dcb=['rootElement','_descriptionFactory','selection','isLimit','name','ELEMENT_CODE_BLOCK','commands','config','getSelectedBlocks','forceValue','languages','change','schema','get','commandParams','enableCommand','plugins','label','document','*Format:*\x20%0','filter','blockName','*Remove\x20format:*\x20%0','checkChild','from','editor','language','parent','codeBlock','formatBlock','markBlockFormat','locale','find','registerDescriptionCallback'];(function(_0x23ebf4,_0x5dcbb8){const _0x2a25aa=function(_0x44a7bc){while(--_0x44a7bc){_0x23ebf4['push'](_0x23ebf4['shift']());}};_0x2a25aa(++_0x5dcbb8);}(_0x5dcb,0xfb));const _0x2a25=function(_0x23ebf4,_0x5dcbb8){_0x23ebf4=_0x23ebf4-0x0;let _0x2a25aa=_0x5dcb[_0x23ebf4];return _0x2a25aa;};import{Plugin as _0x27672e}from'ckeditor5/src/core';import{getTranslation as _0x321526}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x50d97d}from'../utils/utils';export default class F extends _0x27672e{['afterInit'](){const _0xb0961e=this[_0x2a25('0xc')];if(!_0xb0961e[_0x2a25('0x3')]['has']('CodeBlock'))return;const _0x184d21=_0xb0961e[_0x2a25('0x3')][_0x2a25('0x0')]('TrackChangesEditing'),_0xf2e06d=_0xb0961e[_0x2a25('0x12')],_0x3d9917=_0xb0961e[_0x2a25('0x1c')]['get'](_0x2a25('0xf'))[_0x2a25('0x1f')],_0x21d776=_0xb0961e[_0x2a25('0x1b')]['get'](_0x2a25('0xf'));_0x184d21['enableCommand']('indentCodeBlock'),_0x184d21['enableCommand']('outdentCodeBlock'),_0x184d21[_0x2a25('0x2')]('codeBlock',(_0x12aabe,_0x11f959={})=>{const _0x27c852=_0xb0961e['model'],_0x3ad8ec=_0xb0961e['model'][_0x2a25('0x5')][_0x2a25('0x17')],_0x481e6f=_0x11f959&&void 0x0!==_0x11f959[_0x2a25('0x1e')]?_0x11f959[_0x2a25('0x1e')]:!_0x21d776['value'];let _0x41263e;_0x11f959[_0x2a25('0xd')]||(_0x11f959[_0x2a25('0xd')]=_0x3d9917[0x0][_0x2a25('0xd')]),_0x41263e=_0x481e6f?Array['from'](_0x3ad8ec['getSelectedBlocks']())[_0x2a25('0x7')](_0x4fb45a=>co(_0x4fb45a)||function(_0x61a94d,_0x3fe361){if(_0x61a94d['is'](_0x2a25('0x15'))||_0x3fe361[_0x2a25('0x18')](_0x61a94d))return!0x1;return _0x3fe361[_0x2a25('0xa')](_0x61a94d[_0x2a25('0xe')],_0x2a25('0xf'));}(_0x4fb45a,_0x27c852[_0x2a25('0x21')])):Array[_0x2a25('0xb')](_0x3ad8ec[_0x2a25('0x1d')]())[_0x2a25('0x7')](_0x5f2b1a=>co(_0x5f2b1a));const _0x32cf58=_0x50d97d(_0x41263e,_0x27c852);_0x27c852[_0x2a25('0x20')](()=>{for(const _0x3d1788 of _0x32cf58)_0x184d21[_0x2a25('0x11')](_0x3d1788,{'commandName':_0x2a25('0xf'),'commandParams':[{..._0x11f959,'forceValue':_0x481e6f}],'formatGroupId':_0x2a25('0x8')});});}),(_0x184d21[_0x2a25('0x16')]['registerElementLabel'](_0x2a25('0xf'),_0x1e06d2=>_0x321526(_0xf2e06d,_0x2a25('0x1a'),_0x1e06d2)),_0x184d21[_0x2a25('0x16')][_0x2a25('0x14')](_0xdee6b2=>{const _0x14944d=_0xf2e06d['t'],{type:_0x2486dd,data:_0x21ce6a}=_0xdee6b2;if(_0x2a25('0x10')==_0x2486dd&&_0x21ce6a&&_0x2a25('0xf')==_0x21ce6a['commandName']){const _0x13d1c3=_0x21ce6a[_0x2a25('0x1')][0x0][_0x2a25('0xd')],_0x5c6154=_0x14944d(_0x3d9917[_0x2a25('0x13')](_0x5b30df=>_0x5b30df[_0x2a25('0xd')]===_0x13d1c3)[_0x2a25('0x4')]);return _0x21ce6a[_0x2a25('0x1')][0x0][_0x2a25('0x1e')]?{'type':'format','content':_0x321526(_0xf2e06d,_0x2a25('0x6'),_0x321526(_0xf2e06d,_0x2a25('0x1a'),0x1)+'\x20('+_0x5c6154+')')}:{'type':'format','content':_0x321526(_0xf2e06d,_0x2a25('0x9'),_0x321526(_0xf2e06d,_0x2a25('0x1a'),0x1))};}}));}}function co(_0x1d3390){return _0x2a25('0xf')==_0x1d3390[_0x2a25('0x19')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x101b=['has','enableCommand','get','CommentsEditing','afterInit','plugins'];(function(_0xb79d11,_0x101bc9){const _0x39a190=function(_0x3fe441){while(--_0x3fe441){_0xb79d11['push'](_0xb79d11['shift']());}};_0x39a190(++_0x101bc9);}(_0x101b,0x94));const _0x39a1=function(_0xb79d11,_0x101bc9){_0xb79d11=_0xb79d11-0x0;let _0x39a190=_0x101b[_0xb79d11];return _0x39a190;};import{Plugin as _0x545c0e}from'ckeditor5/src/core';export default class G extends _0x545c0e{[_0x39a1('0x0')](){const _0x1fea00=this['editor'];if(!_0x1fea00[_0x39a1('0x1')][_0x39a1('0x2')](_0x39a1('0x5')))return;_0x1fea00['plugins'][_0x39a1('0x4')]('TrackChangesEditing')[_0x39a1('0x3')]('addCommentThread');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2217=['start','plugins','buffer','mapper','markerName','detach','fromRange','isCollapsed','selection','commands','root','TrackChangesEditing','markerNameToElements','editing','document','downcastDispatcher','enableCommand','removeMarker:suggestion:deletion','createRange','modifySelection','uiElement','model','$graveyard','forward','unlock','addMarker:suggestion:deletion','get','deleteForward','unit','high','rootName','delete','showSuggestionHighlights','requires','data','options','batch','createSelection','remove','lock','merge'];(function(_0x5ef905,_0x221721){const _0x5613df=function(_0x4fcf4a){while(--_0x4fcf4a){_0x5ef905['push'](_0x5ef905['shift']());}};_0x5613df(++_0x221721);}(_0x2217,0x1f3));const _0x5613=function(_0x5ef905,_0x221721){_0x5ef905=_0x5ef905-0x0;let _0x5613df=_0x2217[_0x5ef905];return _0x5613df;};import{Plugin as _0x591310}from'ckeditor5/src/core';import{LiveRange as _0x4bf0c4}from'ckeditor5/src/engine';import{Delete as _0x857b02}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x7feab0}from'./utils';export default class L extends _0x591310{static get[_0x5613('0x1a')](){return[_0x857b02];}['init'](){const _0x3cf89e=this['editor'],_0x3d4cb9=_0x3cf89e[_0x5613('0x23')][_0x5613('0x13')](_0x5613('0x4'));_0x3d4cb9[_0x5613('0x9')](_0x5613('0x18'));const _0x38ec9b=_0x3cf89e[_0x5613('0x2')][_0x5613('0x13')](_0x5613('0x14'));_0x3d4cb9[_0x5613('0x9')](_0x5613('0x14'),(_0x115f5b,_0x527128={})=>{const _0x5905f6=_0x3cf89e[_0x5613('0xe')][_0x5613('0x1e')](_0x3cf89e[_0x5613('0xe')][_0x5613('0x7')][_0x5613('0x1')]);_0x5905f6[_0x5613('0x0')]&&_0x3cf89e[_0x5613('0xe')][_0x5613('0xc')](_0x5905f6,{'direction':_0x5613('0x10'),'unit':_0x527128[_0x5613('0x15')]});const _0x41bfdf=_0x5905f6['getFirstRange'](),_0x4fe51e=_0x4bf0c4[_0x5613('0x28')](_0x41bfdf);let _0x53ee8c;_0x115f5b(_0x527128),_0x53ee8c=_0x5613('0xf')==_0x4fe51e[_0x5613('0x3')][_0x5613('0x17')]?_0x3cf89e[_0x5613('0xe')]['createRange'](_0x41bfdf[_0x5613('0x22')]):_0x3cf89e['model'][_0x5613('0xb')](_0x4fe51e[_0x5613('0x22')],_0x4fe51e['end']),_0x4fe51e[_0x5613('0x27')](),_0x3cf89e[_0x5613('0xe')]['enqueueChange'](_0x38ec9b[_0x5613('0x24')][_0x5613('0x1d')],_0x5393ef=>{_0x38ec9b['buffer'][_0x5613('0x20')](),_0x5393ef['setSelection'](_0x5393ef['createRange'](_0x53ee8c['end'])),_0x38ec9b[_0x5613('0x24')][_0x5613('0x11')]();});}),_0x3cf89e[_0x5613('0x6')][_0x5613('0x8')]['on'](_0x5613('0x12'),_0x7feab0(_0x3cf89e,_0x5613('0x21')),{'priority':_0x5613('0x16')}),_0x3cf89e[_0x5613('0x1b')][_0x5613('0x8')]['on']('addMarker:suggestion:deletion',(_0x14c848,_0x3b2360,_0x5e2d32)=>{_0x5e2d32[_0x5613('0x1c')][_0x5613('0x19')]&&_0x7feab0(_0x3cf89e,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x14c848,_0x3b2360,_0x5e2d32);},{'priority':'high'}),_0x3cf89e[_0x5613('0x6')][_0x5613('0x8')]['on'](_0x5613('0xa'),(_0xe34daa,_0x221881,_0x50e6d1)=>{const _0x42d9f6=_0x50e6d1[_0x5613('0x25')][_0x5613('0x5')](_0x221881[_0x5613('0x26')]);if(_0x42d9f6)for(const _0x536114 of _0x42d9f6)_0x536114['is'](_0x5613('0xd'))&&(_0x50e6d1['mapper']['unbindElementFromMarkerName'](_0x536114,_0x221881['markerName']),_0x50e6d1['writer'][_0x5613('0x1f')](_0x536114));},{'priority':_0x5613('0x16')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5627=['registerCustomCallback','list.multiBlock','forceValue','outdentList','plugins','*Format:*\x20insert\x20into\x20%0','schema','ELEMENT_LIST_ITEM','markMultiRangeBlockFormat','start','_LIST','model','config','locale','indentList','registerDescriptionCallback','format','numberedList','commands','splitListItemAfter','containsItem','documentList','editor','document','has','getAttribute','findIndex','execute','splitListItemBefore','bulletedList','before','change','nextSibling','previousSibling','getFirstRange','add','commandName','ELEMENT_BULLETED_LIST','enableCommand','listIndent','getRanges','markBlockFormat','fromRange','isObject','toUpperCase','commandParams','_descriptionFactory','*Change\x20to:*\x20%0','setSelection','value','mergeListItemBackward','*Merge:*\x20%0','listType','from','map','createRange','isFirstBlockOfListItem','nodeAfter','ELEMENT_','get','*Outdent:*\x20%0','end','listItemId','DocumentListUtils','next','push','after','*Format:*\x20remove\x20from\x20%0','hasAttribute','selection','paragraph','createPositionAt','TrackChangesEditing','mergeListItemForward','expandListBlocksToCompleteList'];(function(_0x32aa48,_0x5627ad){const _0x396798=function(_0x13c540){while(--_0x13c540){_0x32aa48['push'](_0x32aa48['shift']());}};_0x396798(++_0x5627ad);}(_0x5627,0x139));const _0x3967=function(_0x32aa48,_0x5627ad){_0x32aa48=_0x32aa48-0x0;let _0x396798=_0x5627[_0x32aa48];return _0x396798;};import{Plugin as _0x501355}from'ckeditor5/src/core';import{getTranslation as _0x21e177}from'../utils/common-translations';import{LiveRange as _0x47520b}from'ckeditor5/src/engine';export default class q extends _0x501355{['afterInit'](){const _0x88cf8c=this[_0x3967('0x9')];if(!_0x88cf8c[_0x3967('0x42')][_0x3967('0xb')]('DocumentListEditing'))return;const _0xecaed1=_0x88cf8c[_0x3967('0x0')],_0x55ed6a=_0x88cf8c[_0x3967('0x42')][_0x3967('0x2e')](_0x3967('0x3b')),_0x32bc7d=_0x88cf8c['plugins'][_0x3967('0x2e')](_0x3967('0x32'));function _0x4aa334(_0x57b31e){return()=>{const _0x163948=_0x88cf8c[_0x3967('0x5')][_0x3967('0x2e')](_0x57b31e);if(_0x163948[_0x3967('0x24')]&&!_0x88cf8c[_0x3967('0x4a')][_0x3967('0x2e')](_0x3967('0x3f')))return void _0x88cf8c[_0x3967('0xe')](_0x3967('0x39'),{});let _0x5161de=Array[_0x3967('0x28')](_0x88cf8c['model'][_0x3967('0xa')][_0x3967('0x38')]['getSelectedBlocks']());if(_0x486a89(_0x57b31e)){_0x5161de=_0x32bc7d[_0x3967('0x3d')](_0x5161de);const _0x2becf1=[];for(const _0x2c2eb3 of _0x5161de)_0x32bc7d[_0x3967('0x2b')](_0x2c2eb3)&&_0x2becf1[_0x3967('0x34')](_0x2c2eb3);_0x5161de=_0x2becf1;}_0x88cf8c[_0x3967('0x49')]['change'](()=>{_0x55ed6a[_0x3967('0x46')](_0x5161de,{'commandName':_0x57b31e,'commandParams':[{'forceValue':!_0x163948[_0x3967('0x24')]}],'formatGroupId':_0x3967('0x27')},[],_0x3967('0x8'));});};}function _0x383b8f(_0x3b44d9){return()=>{const _0x20d54f=function(_0x4f7a77){let _0x453adb=Array['from'](_0x4f7a77);const _0x3df865=_0x453adb[_0x3967('0xd')](_0x141a4a=>!_0x141a4a[_0x3967('0x37')](_0x3967('0x31')));return _0x3df865>-0x1&&(_0x453adb=_0x453adb['slice'](0x0,_0x3df865)),_0x453adb;}(_0x88cf8c[_0x3967('0x49')][_0x3967('0xa')][_0x3967('0x38')]['getSelectedBlocks']()),_0x4d1487=_0x20d54f[_0x20d54f['length']-0x1],_0x4c874b=_0x88cf8c[_0x3967('0x49')][_0x3967('0x44')][_0x3967('0x1e')](_0x4d1487)?_0x3967('0x35'):'end',_0x4a7d12=_0x88cf8c[_0x3967('0x49')][_0x3967('0x2a')](_0x88cf8c[_0x3967('0x49')][_0x3967('0x3a')](_0x20d54f[0x0],_0x3967('0x11')),_0x88cf8c[_0x3967('0x49')][_0x3967('0x3a')](_0x4d1487,_0x4c874b));_0x88cf8c[_0x3967('0x49')][_0x3967('0x12')](()=>{_0x55ed6a['markBlockFormat'](_0x4a7d12,{'commandName':_0x3b44d9,'commandParams':[],'formatGroupId':_0x3967('0x27')},function(_0x501a9c){const _0x4033dc=new Set();for(const _0x449e51 of _0x501a9c){let _0x1f2829=_0x449e51['nextSibling'];for(;_0x1f2829&&_0x1f2829['getAttribute'](_0x3967('0x1a'))>_0x449e51[_0x3967('0xc')](_0x3967('0x1a'));)_0x4033dc[_0x3967('0x16')](_0x1f2829),_0x1f2829=_0x1f2829[_0x3967('0x13')];}return Array['from'](_0x4033dc);}(_0x20d54f));});};}function _0x1139cf(_0x22bf56){return()=>{const _0x509160=_0x88cf8c[_0x3967('0x49')][_0x3967('0xa')][_0x3967('0x38')]['getSelectedBlocks']()[_0x3967('0x33')]()[_0x3967('0x24')],_0x31eb9c=_0x88cf8c[_0x3967('0x49')][_0x3967('0x3a')](_0x509160,_0x3967('0x11')),_0x58692d=_0x88cf8c[_0x3967('0x49')][_0x3967('0x3a')](_0x509160,0x0),_0x43afe3=_0x88cf8c[_0x3967('0x49')][_0x3967('0x2a')](_0x31eb9c,_0x58692d);_0x88cf8c[_0x3967('0x49')][_0x3967('0x12')](()=>{_0x55ed6a[_0x3967('0x1c')](_0x43afe3,{'commandName':_0x22bf56,'commandParams':[],'formatGroupId':_0x3967('0x27')});});};}function _0x486a89(_0xac6017){const _0x10b669=_0x88cf8c[_0x3967('0x5')][_0x3967('0x2e')](_0x3967('0x10'))[_0x3967('0x24')],_0x40774d=_0x88cf8c['commands'][_0x3967('0x2e')](_0x3967('0x4'))[_0x3967('0x24')];return'numberedList'===_0xac6017?_0x10b669:_0x40774d;}_0x55ed6a[_0x3967('0x19')](_0x3967('0x4'),_0x4aa334(_0x3967('0x4'))),_0x55ed6a[_0x3967('0x19')](_0x3967('0x10'),_0x4aa334(_0x3967('0x10'))),_0x55ed6a[_0x3967('0x19')](_0x3967('0x1'),_0x383b8f(_0x3967('0x1'))),_0x55ed6a[_0x3967('0x19')](_0x3967('0x41'),_0x383b8f(_0x3967('0x41'))),_0x55ed6a[_0x3967('0x19')](_0x3967('0x6'),_0x1139cf('splitListItemAfter')),_0x55ed6a[_0x3967('0x19')]('splitListItemBefore',_0x1139cf(_0x3967('0xf'))),_0x55ed6a[_0x3967('0x21')]['registerElementLabel'](function(_0x24434c){const _0x2ae0f4=!_0x88cf8c['model'][_0x3967('0x44')][_0x3967('0x1e')](_0x24434c),_0x183e86=_0x24434c[_0x3967('0x14')],_0x26ea76=_0x24434c[_0x3967('0x13')],_0x16adc6=_0x24434c[_0x3967('0xc')](_0x3967('0x31')),_0x3ddf7a=!_0x183e86||_0x183e86['getAttribute'](_0x3967('0x31'))!==_0x16adc6,_0x34fe13=!_0x26ea76||_0x26ea76[_0x3967('0xc')](_0x3967('0x31'))!==_0x16adc6;return _0x2ae0f4&&Boolean(_0x16adc6)&&_0x3ddf7a&&_0x34fe13;},_0x352b5f=>_0x21e177(_0xecaed1,_0x3967('0x45'),_0x352b5f)),_0x55ed6a[_0x3967('0x21')][_0x3967('0x2')](function(_0x496456){const {data:_0x40c15e}=_0x496456;if(!_0x40c15e)return;let _0x50796a,_0x10fbdb,_0x2078da,_0x481599;switch(_0x40c15e['commandName']){case _0x3967('0x10'):_0x2078da=_0x40c15e[_0x3967('0x20')][0x0][_0x3967('0x40')],_0x481599=_0x486a89(_0x40c15e[_0x3967('0x17')]),_0x50796a=_0x2078da?_0x3967('0x43'):'*Format:*\x20remove\x20from\x20%0',!_0x481599&&_0x88cf8c[_0x3967('0x4a')]['get'](_0x3967('0x3f'))||(_0x50796a=_0x3967('0x22')),_0x10fbdb={'type':_0x3967('0x3'),'content':_0x21e177(_0xecaed1,_0x50796a,_0x21e177(_0xecaed1,_0x3967('0x18')))};break;case'numberedList':_0x2078da=_0x40c15e['commandParams'][0x0][_0x3967('0x40')],_0x481599=_0x486a89(_0x40c15e[_0x3967('0x17')]),_0x50796a=_0x2078da?_0x3967('0x43'):_0x3967('0x36'),!_0x481599&&_0x88cf8c['config']['get'](_0x3967('0x3f'))||(_0x50796a=_0x3967('0x22')),_0x10fbdb={'type':_0x3967('0x3'),'content':_0x21e177(_0xecaed1,_0x50796a,_0x21e177(_0xecaed1,'ELEMENT_NUMBERED_LIST'))};break;case _0x3967('0x1'):_0x50796a='*Indent:*\x20%0',_0x10fbdb={'type':_0x3967('0x3'),'content':_0x21e177(_0xecaed1,_0x50796a,_0x21e177(_0xecaed1,_0x3967('0x45')))};break;case _0x3967('0x41'):_0x50796a=function(_0xa022b0){const _0x4eba5e=_0xa022b0[_0x3967('0x15')]();let _0x3e18cf=_0x4eba5e[_0x3967('0x47')]['nodeAfter'];for(;_0x3e18cf&&_0x4eba5e[_0x3967('0x7')](_0x3e18cf);){if(_0x3e18cf[_0x3967('0xc')](_0x3967('0x1a'))>0x0)return!0x1;_0x3e18cf=_0x3e18cf[_0x3967('0x13')];}return!0x0;}(_0x496456)?_0x21e177(_0xecaed1,_0x3967('0x36'),_0x21e177(_0xecaed1,function(_0x29fe46){const _0xe734b0=_0x29fe46[_0x3967('0x15')]()[_0x3967('0x47')]['nodeAfter'];return _0x3967('0x2d')+_0xe734b0['getAttribute']('listType')[_0x3967('0x1f')]()+_0x3967('0x48');}(_0x496456))):_0x21e177(_0xecaed1,_0x3967('0x2f'),_0x21e177(_0xecaed1,_0x3967('0x45'))),_0x10fbdb={'type':_0x3967('0x3'),'content':_0x50796a};break;case _0x3967('0x25'):case _0x3967('0x3c'):!0x1===_0x40c15e['multipleBlocks']&&(_0x50796a=_0x3967('0x26'),_0x10fbdb={'type':'deletion','content':_0x21e177(_0xecaed1,_0x50796a,_0x21e177(_0xecaed1,_0x3967('0x45')))});}return _0x10fbdb;}),_0x55ed6a['_suggestionFactory'][_0x3967('0x3e')]('formatBlock',_0x3967('0x8'),'accept',function(_0x159ef8,_0x3d6c70){const _0x5baec3=[];for(let _0x11747d of _0x159ef8)_0x11747d[_0x3967('0x47')][_0x3967('0x2c')]===_0x11747d[_0x3967('0x30')]['parent']&&(_0x11747d=_0x88cf8c['model'][_0x3967('0x2a')](_0x88cf8c[_0x3967('0x49')][_0x3967('0x3a')](_0x11747d['start'][_0x3967('0x2c')],0x0))),_0x5baec3[_0x3967('0x34')](_0x11747d);_0x88cf8c['model']['change'](_0x54cadb=>{const _0x33d726=_0x88cf8c['model']['document'][_0x3967('0x38')],_0x2ae382=Array['from'](_0x33d726[_0x3967('0x1b')]())[_0x3967('0x29')](_0x1b6935=>_0x47520b[_0x3967('0x1d')](_0x1b6935));_0x54cadb[_0x3967('0x23')](_0x5baec3),_0x88cf8c[_0x3967('0x5')]['get'](_0x3d6c70['commandName'])['refresh'](),_0x3d6c70['commandParams'][_0x3967('0x34')]({'forceDefaultExecution':!0x0}),_0x88cf8c[_0x3967('0xe')](_0x3d6c70[_0x3967('0x17')],..._0x3d6c70['commandParams']),_0x54cadb[_0x3967('0x23')](_0x2ae382);for(const _0xac80ff of _0x2ae382)_0xac80ff['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40e2=['handleListStartCommand','DocumentListPropertiesEditing','_descriptionFactory','ELEMENT_','enableCommand','selection','_LIST_','length','listStart','type','_getSuggestionBlocksForListStyle','handleListReversedCommand','registerDescriptionCallback','editor','handleListStyleCommand','plugins','_getSuggestionBlocks','_getTranslationKeyForListStyle','push','listStyle','handleDescriptions','afterInit','reversed','*Change\x20to:*\x20%0','has','listReversed','getSelectedBlocks','DocumentListUtils','isFirstBlockOfListItem','getListTypeFromListStyleType','getAttribute','get','listType','DocumentListPropertiesUtils','from','numbered','styles','startIndex','change','isListItemBlock','*Format:*\x20set\x20order\x20to\x20reversed','locale','markMultiRangeBlockFormat','document','TrackChangesEditing','list.properties','commandParams','format','model','toUpperCase','replace','expandListBlocksToCompleteList','bind'];(function(_0x39fe28,_0x40e201){const _0x5d9b98=function(_0x23f2d8){while(--_0x23f2d8){_0x39fe28['push'](_0x39fe28['shift']());}};_0x5d9b98(++_0x40e201);}(_0x40e2,0x157));const _0x5d9b=function(_0x39fe28,_0x40e201){_0x39fe28=_0x39fe28-0x0;let _0x5d9b98=_0x40e2[_0x39fe28];return _0x5d9b98;};import{Plugin as _0x50d746}from'ckeditor5/src/core';import{getTranslation as _0x5e527d}from'../utils/common-translations';export default class Ct extends _0x50d746{[_0x5d9b('0x31')](){if(!this[_0x5d9b('0x29')][_0x5d9b('0x2b')][_0x5d9b('0x34')](_0x5d9b('0x1d')))return;const _0x4f12d8=this[_0x5d9b('0x29')]['config']['get'](_0x5d9b('0x14')),_0x4fcb95=this['editor'][_0x5d9b('0x2b')][_0x5d9b('0x6')](_0x5d9b('0x13'));_0x4f12d8[_0x5d9b('0xb')]&&_0x4fcb95[_0x5d9b('0x20')](_0x5d9b('0x2f'),this[_0x5d9b('0x2a')][_0x5d9b('0x1b')](this)),_0x4f12d8[_0x5d9b('0x32')]&&_0x4fcb95[_0x5d9b('0x20')]('listReversed',this[_0x5d9b('0x27')][_0x5d9b('0x1b')](this)),_0x4f12d8[_0x5d9b('0xc')]&&_0x4fcb95[_0x5d9b('0x20')](_0x5d9b('0x24'),this[_0x5d9b('0x1c')][_0x5d9b('0x1b')](this)),_0x4fcb95[_0x5d9b('0x1e')][_0x5d9b('0x28')](this[_0x5d9b('0x30')][_0x5d9b('0x1b')](this));}[_0x5d9b('0x2a')](_0x290ca6,_0x50f060={}){const _0xd2d560=this['editor'][_0x5d9b('0x2b')][_0x5d9b('0x6')](_0x5d9b('0x13')),_0x1ee597=this[_0x5d9b('0x26')]();this['editor'][_0x5d9b('0x17')][_0x5d9b('0xd')](()=>{_0xd2d560[_0x5d9b('0x11')](_0x1ee597,{'commandName':_0x5d9b('0x2f'),'commandParams':[{'type':_0x50f060['type']}],'formatGroupId':_0x5d9b('0x2f')});});}['handleListReversedCommand'](_0x387daf,_0x1f047f={}){const _0x2f3f74=this[_0x5d9b('0x29')][_0x5d9b('0x2b')][_0x5d9b('0x6')](_0x5d9b('0x13')),_0x33cd3c=this[_0x5d9b('0x29')]['plugins'][_0x5d9b('0x6')](_0x5d9b('0x2')),_0x2cc4e4=this[_0x5d9b('0x2c')](_0x541876=>_0x33cd3c[_0x5d9b('0xe')](_0x541876)&&_0x5d9b('0xa')===_0x541876[_0x5d9b('0x5')](_0x5d9b('0x7')));null!==_0x2cc4e4&&this[_0x5d9b('0x29')][_0x5d9b('0x17')][_0x5d9b('0xd')](()=>{_0x2f3f74[_0x5d9b('0x11')](_0x2cc4e4,{'commandName':_0x5d9b('0x0'),'commandParams':[{'reversed':_0x1f047f[_0x5d9b('0x32')]}],'formatGroupId':_0x5d9b('0x0')});});}[_0x5d9b('0x1c')](_0x2eaa53,_0x3cb062={}){const _0x15163b=this[_0x5d9b('0x29')][_0x5d9b('0x2b')][_0x5d9b('0x6')](_0x5d9b('0x13')),_0x1e1628=this[_0x5d9b('0x29')]['plugins'][_0x5d9b('0x6')]('DocumentListUtils'),_0x29e525=this[_0x5d9b('0x2c')](_0x895e1e=>_0x1e1628[_0x5d9b('0xe')](_0x895e1e)&&_0x5d9b('0xa')===_0x895e1e['getAttribute']('listType'));null!==_0x29e525&&this[_0x5d9b('0x29')]['model'][_0x5d9b('0xd')](()=>{_0x15163b[_0x5d9b('0x11')](_0x29e525,{'commandName':_0x5d9b('0x24'),'commandParams':[{'startIndex':_0x3cb062[_0x5d9b('0xc')]}],'formatGroupId':_0x5d9b('0x24')});});}['handleDescriptions'](_0x3d89e7){const _0x9063a4=this[_0x5d9b('0x29')][_0x5d9b('0x10')],{data:_0x3815bd}=_0x3d89e7;if(!_0x3815bd)return;let _0x326fda,_0x8d79b2;switch(_0x3815bd['commandName']){case'listStyle':_0x326fda=_0x5d9b('0x33'),_0x8d79b2={'type':_0x5d9b('0x16'),'content':_0x5e527d(_0x9063a4,_0x326fda,_0x5e527d(_0x9063a4,this[_0x5d9b('0x2d')](_0x3815bd[_0x5d9b('0x15')][0x0][_0x5d9b('0x25')])))};break;case _0x5d9b('0x0'):_0x326fda=_0x3815bd[_0x5d9b('0x15')][0x0]['reversed']?_0x5d9b('0xf'):'*Format:*\x20set\x20order\x20to\x20regular',_0x8d79b2={'type':'format','content':_0x5e527d(_0x9063a4,_0x326fda)};break;case _0x5d9b('0x24'):_0x326fda='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x8d79b2={'type':_0x5d9b('0x16'),'content':_0x5e527d(_0x9063a4,_0x326fda,_0x3815bd[_0x5d9b('0x15')][0x0][_0x5d9b('0xc')])};}return _0x8d79b2;}['_getSuggestionBlocksForListStyle'](){const _0x3040f9=this['editor'][_0x5d9b('0x2b')][_0x5d9b('0x6')]('DocumentListUtils');let _0x20ada6=Array[_0x5d9b('0x9')](this[_0x5d9b('0x29')][_0x5d9b('0x17')]['document'][_0x5d9b('0x21')][_0x5d9b('0x1')]());return _0x20ada6[_0x5d9b('0x2e')](..._0x3040f9[_0x5d9b('0x1a')](_0x20ada6)),_0x20ada6=[...new Set(_0x20ada6)],_0x20ada6;}[_0x5d9b('0x2c')](_0xabbd25){const _0x27cc25=this[_0x5d9b('0x29')]['plugins'][_0x5d9b('0x6')]('DocumentListUtils');let _0x2d9a36=Array[_0x5d9b('0x9')](this[_0x5d9b('0x29')][_0x5d9b('0x17')][_0x5d9b('0x12')][_0x5d9b('0x21')][_0x5d9b('0x1')]())['filter'](_0xabbd25);if(!_0x2d9a36[_0x5d9b('0x23')])return null;_0x2d9a36=_0x27cc25['expandListBlocksToCompleteList'](_0x2d9a36);const _0x2c2c1a=[];for(const _0x2121eb of _0x2d9a36)_0x27cc25[_0x5d9b('0x3')](_0x2121eb)&&_0x2c2c1a[_0x5d9b('0x2e')](_0x2121eb);return _0x2c2c1a;}[_0x5d9b('0x2d')](_0xfa802b){return _0x5d9b('0x1f')+this['editor'][_0x5d9b('0x2b')]['get'](_0x5d9b('0x8'))[_0x5d9b('0x4')](_0xfa802b)[_0x5d9b('0x18')]()+_0x5d9b('0x22')+_0xfa802b[_0x5d9b('0x18')]()[_0x5d9b('0x19')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4450=['unbindElementFromMarkerName','markerName','end','requires','high','markerNameToElements','model','enter','split','fire','downcastDispatcher','remove','getFirstPosition','setSelection','detach','addMarker:suggestion:insertion','writer','TrackChangesEditing','options','get','hasClass','nextSibling','fromRange','selection','parent','data','change','commands','document','init','editor','enableCommand','enterBlock','getFirstRange','mapper','removeMarker:suggestion:insertion'];(function(_0x59f511,_0x44503e){const _0x386a75=function(_0x22ada4){while(--_0x22ada4){_0x59f511['push'](_0x59f511['shift']());}};_0x386a75(++_0x44503e);}(_0x4450,0x7b));const _0x386a=function(_0x59f511,_0x44503e){_0x59f511=_0x59f511-0x0;let _0x386a75=_0x4450[_0x59f511];return _0x386a75;};import{Plugin as _0x4214a4}from'ckeditor5/src/core';import{Enter as _0x189dd9}from'ckeditor5/src/enter';import{LiveRange as _0x28a811}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1bc8fc}from'./utils';export default class z extends _0x4214a4{static get[_0x386a('0x18')](){return[_0x189dd9];}[_0x386a('0xe')](){const _0x2ff014=this[_0x386a('0xf')],_0x5cc8f9=_0x2ff014['plugins'][_0x386a('0x4')](_0x386a('0x2')),_0x367f11=_0x2ff014[_0x386a('0xc')][_0x386a('0x4')](_0x386a('0x1c'));_0x5cc8f9[_0x386a('0x10')](_0x386a('0x1c'),()=>{_0x2ff014[_0x386a('0x1b')][_0x386a('0xb')](_0x2d5eb4=>{const _0x318b35=_0x2ff014[_0x386a('0x1b')][_0x386a('0xd')][_0x386a('0x8')],_0x1f7c26=_0x318b35[_0x386a('0x21')](),_0x169ea3=_0x28a811[_0x386a('0x7')](_0x318b35[_0x386a('0x12')]());if(_0x367f11[_0x386a('0x11')](_0x2d5eb4)){const _0x4aefd1=_0x2ff014[_0x386a('0x1b')]['createPositionAt'](_0x1f7c26[_0x386a('0x9')][_0x386a('0x6')],0x0),_0x26f5f3=_0x2d5eb4['createRange'](_0x1f7c26,_0x4aefd1);_0x5cc8f9['markInsertion'](_0x26f5f3);}else _0x2d5eb4[_0x386a('0x22')](_0x2d5eb4['createRange'](_0x169ea3[_0x386a('0x17')]));_0x169ea3[_0x386a('0x23')](),_0x367f11[_0x386a('0x1e')]('afterExecute',{'writer':_0x2d5eb4});});}),_0x2ff014['editing']['downcastDispatcher']['on'](_0x386a('0x0'),_0x1bc8fc(_0x2ff014,_0x386a('0x1d')),{'priority':_0x386a('0x19')}),_0x2ff014['editing'][_0x386a('0x1f')]['on'](_0x386a('0x14'),(_0x5f972a,_0x1ac6a0,_0x44a792)=>{const _0x2f7535=_0x44a792[_0x386a('0x13')][_0x386a('0x1a')](_0x1ac6a0[_0x386a('0x16')]);if(_0x2f7535)for(const _0x4a78a0 of _0x2f7535)_0x4a78a0[_0x386a('0x5')]('ck-suggestion-marker-split')&&(_0x44a792['mapper'][_0x386a('0x15')](_0x4a78a0,_0x1ac6a0[_0x386a('0x16')]),_0x44a792[_0x386a('0x1')][_0x386a('0x20')](_0x4a78a0));},{'priority':_0x386a('0x19')}),_0x2ff014[_0x386a('0xa')]['downcastDispatcher']['on'](_0x386a('0x0'),(_0x435694,_0x32b692,_0x4cbd06)=>{_0x4cbd06[_0x386a('0x3')]['showSuggestionHighlights']&&_0x1bc8fc(_0x2ff014,_0x386a('0x1d'),{'showActiveMarker':!0x1})['bind'](this)(_0x435694,_0x32b692,_0x4cbd06);},{'priority':_0x386a('0x19')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b1f=['_isInDeletionRange','findByTextCallback','getIntersection','get','bind','suggestion:deletion','createPositionAt','editor','end','afterInit','model','enableCommand','getRange','markers','handleFindCommand','string','replace','plugins','item','has','FindAndReplaceEditing','find','TrackChangesEditing','replaceAll'];(function(_0x3801d4,_0x4b1f83){const _0x303566=function(_0x5516f9){while(--_0x5516f9){_0x3801d4['push'](_0x3801d4['shift']());}};_0x303566(++_0x4b1f83);}(_0x4b1f,0x14f));const _0x3035=function(_0x3801d4,_0x4b1f83){_0x3801d4=_0x3801d4-0x0;let _0x303566=_0x4b1f[_0x3801d4];return _0x303566;};import{Plugin as _0xfeb2a7}from'ckeditor5/src/core';export default class H extends _0xfeb2a7{[_0x3035('0xa')](){if(!this[_0x3035('0x8')][_0x3035('0x12')][_0x3035('0x14')](_0x3035('0x15')))return;const _0x9c267f=this[_0x3035('0x8')][_0x3035('0x12')][_0x3035('0x4')](_0x3035('0x17'));_0x9c267f[_0x3035('0xc')](_0x3035('0x16'),this['handleFindCommand'][_0x3035('0x5')](this)),_0x9c267f['enableCommand']('findNext'),_0x9c267f['enableCommand']('findPrevious'),_0x9c267f['enableCommand'](_0x3035('0x11')),_0x9c267f[_0x3035('0xc')](_0x3035('0x0'));}[_0x3035('0xf')](_0x4730d8,_0x408d23,_0x231a30={}){const _0x3216f8=this['editor'][_0x3035('0x12')][_0x3035('0x4')]('FindAndReplaceUtils');void 0x0!==_0x231a30&&_0x4730d8(_0x3bf58d=>(_0x3035('0x10')==typeof _0x408d23?_0x3216f8[_0x3035('0x2')](_0x408d23,_0x231a30):_0x408d23)(_0x3bf58d)['filter'](_0x2deaaf=>!0x1===this[_0x3035('0x1')](_0x2deaaf,_0x3bf58d[_0x3035('0x13')])),_0x231a30);}['_isInDeletionRange'](_0x283885,_0x1904e9){const _0x553602=this[_0x3035('0x8')][_0x3035('0xb')]['createRange'](this[_0x3035('0x8')][_0x3035('0xb')][_0x3035('0x7')](_0x1904e9,_0x283885['start']),this[_0x3035('0x8')][_0x3035('0xb')][_0x3035('0x7')](_0x1904e9,_0x283885[_0x3035('0x9')]));for(const _0x5cca1c of this['editor'][_0x3035('0xb')][_0x3035('0xe')]['getMarkersGroup'](_0x3035('0x6')))if(null!==_0x553602[_0x3035('0x3')](_0x5cca1c[_0x3035('0xd')]()))return!0x0;return!0x1;}}
|