@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240106.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/casechange.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/imagestyle.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-20240106.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240106.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240106.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x195d=['editor','get','_suggestions','_isEnabledBasedOnSelection','acceptSuggestion','plugins','execute','canEditAt','refresh','getRanges','TrackChangesEditing'];(function(_0x309fcf,_0x195d66){const _0x3fde68=function(_0x534a42){while(--_0x534a42){_0x309fcf['push'](_0x309fcf['shift']());}};_0x3fde68(++_0x195d66);}(_0x195d,0x130));const _0x3fde=function(_0x309fcf,_0x195d66){_0x309fcf=_0x309fcf-0x0;let _0x3fde68=_0x195d[_0x309fcf];return _0x3fde68;};import{Command as _0xe0c718}from'ckeditor5/src/core.js';import{CKEditorError as _0x3f0f14}from'ckeditor5/src/utils.js';export default class $ extends _0xe0c718{constructor(_0x2aa295,_0xba0329){super(_0x2aa295),this[_0x3fde('0x6')]=_0xba0329,this[_0x3fde('0x1')](),this[_0x3fde('0x7')]=!0x1;}[_0x3fde('0x1')](){this['isEnabled']=!0x0;}[_0x3fde('0xa')](_0x2d452d){const _0xf06b50=this[_0x3fde('0x6')][_0x3fde('0x5')](_0x2d452d);if(!_0xf06b50)throw new _0x3f0f14('track-changes-accept-suggestion-not-found',this);const _0x3b9b35=_0xf06b50[_0x3fde('0x2')]();this[_0x3fde('0x4')]['model'][_0x3fde('0x0')](_0x3b9b35)&&this[_0x3fde('0x4')][_0x3fde('0x9')][_0x3fde('0x5')](_0x3fde('0x3'))[_0x3fde('0x8')](_0xf06b50);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9cba=['execute','get','discardSuggestion','_suggestions','canEditAt','track-changes-discard-suggestion-not-found','_isEnabledBasedOnSelection','editor','getRanges','refresh','plugins','model'];(function(_0x210da5,_0x9cba87){const _0x447ffa=function(_0x4bbfe0){while(--_0x4bbfe0){_0x210da5['push'](_0x210da5['shift']());}};_0x447ffa(++_0x9cba87);}(_0x9cba,0xee));const _0x447f=function(_0x210da5,_0x9cba87){_0x210da5=_0x210da5-0x0;let _0x447ffa=_0x9cba[_0x210da5];return _0x447ffa;};import{Command as _0x3c1c4b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3591f6}from'ckeditor5/src/utils.js';export default class B extends _0x3c1c4b{constructor(_0x423f14,_0x571135){super(_0x423f14),this[_0x447f('0x5')]=_0x571135,this[_0x447f('0xb')](),this[_0x447f('0x8')]=!0x1;}[_0x447f('0xb')](){this['isEnabled']=!0x0;}[_0x447f('0x2')](_0x218b9b){const _0x263b2f=this[_0x447f('0x5')]['get'](_0x218b9b);if(!_0x263b2f)throw new _0x3591f6(_0x447f('0x7'),this);const _0x420520=_0x263b2f[_0x447f('0xa')]();this[_0x447f('0x9')][_0x447f('0x1')][_0x447f('0x6')](_0x420520)&&this[_0x447f('0x9')][_0x447f('0x0')][_0x447f('0x3')]('TrackChangesEditing')[_0x447f('0x4')](_0x263b2f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25e1=['canEditAt','values','editor','from','_command','some','_isEnabledBasedOnSelection','isInContent','isEnabled','refresh','getRanges','model','_suggestions','execute'];(function(_0xe8b155,_0x25e1d7){const _0x4cf035=function(_0x223b74){while(--_0x223b74){_0xe8b155['push'](_0xe8b155['shift']());}};_0x4cf035(++_0x25e1d7);}(_0x25e1,0xa1));const _0x4cf0=function(_0xe8b155,_0x25e1d7){_0xe8b155=_0xe8b155-0x0;let _0x4cf035=_0x25e1[_0xe8b155];return _0x4cf035;};import{Command as _0x2cd830}from'ckeditor5/src/core.js';import{sortSuggestions as _0x261227,executeCommandForSuggestions as _0x3d8c73}from'../utils/utils.js';export default class x extends _0x2cd830{constructor(_0x5672d4,_0x5a8317,_0x1f0b83){super(_0x5672d4),this[_0x4cf0('0xb')]=_0x5a8317,this[_0x4cf0('0x5')]=_0x1f0b83,this[_0x4cf0('0x2')](),this[_0x4cf0('0xd')]=!0x1;}['refresh'](){const _0xd48ed1=Array[_0x4cf0('0xa')](this[_0x4cf0('0x5')][_0x4cf0('0x8')]())[_0x4cf0('0xc')](_0x3886bc=>_0x3886bc[_0x4cf0('0x0')]);this[_0x4cf0('0x1')]=this[_0x4cf0('0xb')]['isEnabled']&&_0xd48ed1;}[_0x4cf0('0x6')](){const _0x91b5ba=_0x261227(Array[_0x4cf0('0xa')](this[_0x4cf0('0x5')][_0x4cf0('0x8')]()));for(const _0x9cab39 of _0x91b5ba){const _0x3120fe=_0x9cab39[_0x4cf0('0x3')]();if(!this[_0x4cf0('0x9')][_0x4cf0('0x4')][_0x4cf0('0x7')](_0x3120fe))return;}_0x3d8c73(this[_0x4cf0('0x9')][_0x4cf0('0x4')],this[_0x4cf0('0xb')],_0x91b5ba);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x312f=['selection','getRanges','_suggestions','document','isEnabled','canEditAt','editor','_command','refresh','_selectedSuggestions','values','size','from','model'];(function(_0x1b4a8e,_0x312fbd){const _0x4a986f=function(_0x184c2b){while(--_0x184c2b){_0x1b4a8e['push'](_0x1b4a8e['shift']());}};_0x4a986f(++_0x312fbd);}(_0x312f,0xd6));const _0x4a98=function(_0x1b4a8e,_0x312fbd){_0x1b4a8e=_0x1b4a8e-0x0;let _0x4a986f=_0x312f[_0x1b4a8e];return _0x4a986f;};import{Command as _0x285b75}from'ckeditor5/src/core.js';import{sortSuggestions as _0x2adab6,getSelectedSuggestions as _0x4b00a5,executeCommandForSuggestions as _0x1b2140}from'../utils/utils.js';export default class E extends _0x285b75{constructor(_0x216ad8,_0x2c92b0,_0xcbc612){super(_0x216ad8),this['_command']=_0x2c92b0,this[_0x4a98('0xc')]=_0xcbc612,this[_0x4a98('0x5')]=new Set(),this[_0x4a98('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4a98('0x4')](){const _0x1020ec=this[_0x4a98('0x2')][_0x4a98('0x9')][_0x4a98('0xd')][_0x4a98('0xa')],_0x4c66f1=Array[_0x4a98('0x8')](this['_suggestions'][_0x4a98('0x6')]());this[_0x4a98('0x5')]=_0x4b00a5(_0x1020ec,_0x4c66f1),this[_0x4a98('0x0')]=this[_0x4a98('0x3')][_0x4a98('0x0')]&&!!this[_0x4a98('0x5')][_0x4a98('0x7')];}['execute'](){const _0x365ed9=_0x2adab6(Array[_0x4a98('0x8')](this[_0x4a98('0x5')]));for(const _0x270d3b of _0x365ed9){const _0x3954dd=_0x270d3b[_0x4a98('0xb')]();if(!this[_0x4a98('0x2')][_0x4a98('0x9')][_0x4a98('0x1')](_0x3954dd))return;}_0x1b2140(this[_0x4a98('0x2')]['model'],this[_0x4a98('0x3')],_0x365ed9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x560e=['isEnabled','forceDisabled','value','execute','refresh','_isEnabledBasedOnSelection','editor','clearForceDisabled','_enabledCommands','_disableUnsupportedCommands','commands','has','affectsData'];(function(_0x2addf6,_0x560eb5){const _0x3eec61=function(_0xdf5ed5){while(--_0xdf5ed5){_0x2addf6['push'](_0x2addf6['shift']());}};_0x3eec61(++_0x560eb5);}(_0x560e,0x118));const _0x3eec=function(_0x2addf6,_0x560eb5){_0x2addf6=_0x2addf6-0x0;let _0x3eec61=_0x560e[_0x2addf6];return _0x3eec61;};import{Command as _0x27e619}from'ckeditor5/src/core.js';export default class M extends _0x27e619{constructor(_0xde7cd7,_0x23b14a){super(_0xde7cd7),this[_0x3eec('0x1')]=_0x23b14a,this['value']=!0x1,this['refresh'](),this[_0x3eec('0xb')]=!0x1;}[_0x3eec('0xa')](){this[_0x3eec('0x6')]=!0x0;}[_0x3eec('0x9')](){this[_0x3eec('0x8')]=!this[_0x3eec('0x8')],this['value']?this[_0x3eec('0x2')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x564315 of this[_0x3eec('0xc')][_0x3eec('0x3')][_0x3eec('0x3')]())_0x564315['affectsData']&&!this[_0x3eec('0x1')]['has'](_0x564315)&&_0x564315[_0x3eec('0x7')]('TrackChangesCommand');}['_enableCommands'](){for(const _0x49a7a9 of this[_0x3eec('0xc')]['commands'][_0x3eec('0x3')]())_0x49a7a9[_0x3eec('0x5')]&&!this['_enabledCommands'][_0x3eec('0x4')](_0x49a7a9)&&_0x49a7a9[_0x3eec('0x0')]('TrackChangesCommand');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x110a=['plugins','get','commands','enableCommand','afterInit','TrackChangesEditing'];(function(_0x7d8bb,_0x110afb){const _0xf36f17=function(_0x1b86ec){while(--_0x1b86ec){_0x7d8bb['push'](_0x7d8bb['shift']());}};_0xf36f17(++_0x110afb);}(_0x110a,0x66));const _0xf36f=function(_0x7d8bb,_0x110afb){_0x7d8bb=_0x7d8bb-0x0;let _0xf36f17=_0x110a[_0x7d8bb];return _0xf36f17;};import{Plugin as _0x27c25a}from'ckeditor5/src/core.js';export default class R extends _0x27c25a{[_0xf36f('0x4')](){const _0x57af06=this['editor'],_0x544385=_0x57af06[_0xf36f('0x0')][_0xf36f('0x1')](_0xf36f('0x5'));_0x57af06[_0xf36f('0x2')][_0xf36f('0x1')]('showAIAssistant')&&_0x544385[_0xf36f('0x3')]('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46c9=['locale','formatBlock','right','TrackChangesEditing','registerDescriptionCallback','*Format:*\x20%0','format','get','alignment','FORMAT_JUSTIFY_TEXT','editor','registerAttributeLabel','AlignmentEditing','plugins','FORMAT_ALIGN_TO_CENTER','_descriptionFactory','FORMAT_ALIGN_TO_LEFT','has','left','FORMAT_ALIGN_TO_RIGHT','_registerLegacyDescription','value','afterInit','type'];(function(_0x29821b,_0x46c940){const _0xce9324=function(_0x1b348e){while(--_0x1b348e){_0x29821b['push'](_0x29821b['shift']());}};_0xce9324(++_0x46c940);}(_0x46c9,0x112));const _0xce93=function(_0x29821b,_0x46c940){_0x29821b=_0x29821b-0x0;let _0xce9324=_0x46c9[_0x29821b];return _0xce9324;};import{Plugin as _0x1a16ce}from'ckeditor5/src/core.js';import{getTranslation as _0x2eff51}from'../utils/common-translations.js';export default class U extends _0x1a16ce{[_0xce93('0xc')](){const _0x17fcb9=this[_0xce93('0x0')],_0x209af8=_0x17fcb9['locale'];if(!_0x17fcb9['plugins'][_0xce93('0x7')](_0xce93('0x2')))return;const _0xf6eb25=_0x17fcb9[_0xce93('0x3')][_0xce93('0x15')]('TrackChangesEditing');_0xf6eb25['_enableDefaultAttributesIntegration'](_0xce93('0x16'),[],[_0xce93('0x16')]),_0xf6eb25[_0xce93('0x5')][_0xce93('0x1')](_0xce93('0x16'),_0x2eff51(_0x209af8,'FORMAT_ALIGNMENT')),this[_0xce93('0xa')]();}[_0xce93('0xa')](){const _0x36a644=this[_0xce93('0x0')],_0x532508=_0x36a644[_0xce93('0xe')];_0x36a644['plugins'][_0xce93('0x15')](_0xce93('0x11'))[_0xce93('0x5')][_0xce93('0x12')](_0x271cfc=>{if(_0xce93('0xf')!=_0x271cfc[_0xce93('0xd')])return;const {data:_0x517e80}=_0x271cfc;if(_0x517e80&&_0xce93('0x16')==_0x517e80['commandName']){const _0x121a2d=_0x517e80['commandParams'][0x0][_0xce93('0xb')];return{'type':_0xce93('0x14'),'content':_0x2eff51(_0x532508,_0xce93('0x13'),function(_0x3be6b6){switch(_0x3be6b6){case _0xce93('0x8'):return _0x2eff51(_0x532508,_0xce93('0x6'));case _0xce93('0x10'):return _0x2eff51(_0x532508,_0xce93('0x9'));case'center':return _0x2eff51(_0x532508,_0xce93('0x4'));case'justify':return _0x2eff51(_0x532508,_0xce93('0x17'));}}(_0x121a2d))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fb1=['_registerLegacyDescription','format','CodeEditing','FORMAT_STRIKETHROUGH','registerDescriptionCallback','type','FORMAT_ITALIC','formatInline','has','strikethrough','TrackChangesEditing','plugins','locale','*Remove\x20format:*\x20%0','code','commandParams','afterInit','FORMAT_CODE','_enableDefaultAttributesIntegration','BoldEditing','editor','StrikethroughEditing','forceValue','FORMAT_SUBSCRIPT','UnderlineEditing','subscript','toLowerCase','FORMAT_UNDERLINE','SubscriptEditing','FORMAT_BOLD','get','superscript','italic','_descriptionFactory','commandName','*Format:*\x20%0'];(function(_0x223a26,_0x3fb18f){const _0x367846=function(_0x228a85){while(--_0x228a85){_0x223a26['push'](_0x223a26['shift']());}};_0x367846(++_0x3fb18f);}(_0x3fb1,0xf3));const _0x3678=function(_0x223a26,_0x3fb18f){_0x223a26=_0x223a26-0x0;let _0x367846=_0x3fb1[_0x223a26];return _0x367846;};import{Plugin as _0x14dcd9}from'ckeditor5/src/core.js';import{getTranslation as _0x1139b4}from'../utils/common-translations.js';const ti=[_0x3678('0x1c'),'ItalicEditing',_0x3678('0x21'),_0x3678('0xb'),_0x3678('0x1e'),_0x3678('0x1'),'SuperscriptEditing'];export default class O extends _0x14dcd9{[_0x3678('0x19')](){const _0x169dc7=this[_0x3678('0x1d')],_0x244e43=_0x169dc7[_0x3678('0x14')][_0x3678('0x3')](_0x3678('0x13')),_0x373ee6=_0x169dc7[_0x3678('0x15')];for(const _0x3be46f of ti){if(!_0x169dc7['plugins'][_0x3678('0x11')](_0x3be46f))continue;const _0xf0599d=_0x3be46f['slice'](0x0,-0x7)[_0x3678('0x23')](),_0x433d93='FORMAT_'+_0xf0599d['toUpperCase']();_0x244e43[_0x3678('0x1b')](_0xf0599d,[_0xf0599d]),_0x244e43['_descriptionFactory']['registerAttributeLabel'](_0xf0599d,_0x1139b4(_0x373ee6,_0x433d93));}this[_0x3678('0x9')]();}[_0x3678('0x9')](){const _0x1761fb=this['editor'],_0x139ea1=_0x1761fb[_0x3678('0x15')],_0x4eecd5=_0x1761fb[_0x3678('0x14')][_0x3678('0x3')]('TrackChangesEditing');function _0x53728d(_0x3e1314,_0x345800){_0x4eecd5[_0x3678('0x6')][_0x3678('0xd')](_0x571f6a=>{if(_0x3678('0x10')!=_0x571f6a[_0x3678('0xe')])return;const {data:_0x3bf4fc}=_0x571f6a;return _0x3bf4fc&&_0x3bf4fc[_0x3678('0x7')]===_0x3e1314?_0x3bf4fc[_0x3678('0x18')][0x0][_0x3678('0x1f')]?{'type':'format','content':_0x1139b4(_0x139ea1,_0x3678('0x8'),_0x345800)}:{'type':_0x3678('0xa'),'content':_0x1139b4(_0x139ea1,_0x3678('0x16'),_0x345800)}:void 0x0;});}_0x53728d('bold',_0x1139b4(_0x139ea1,_0x3678('0x2'))),_0x53728d(_0x3678('0x5'),_0x1139b4(_0x139ea1,_0x3678('0xf'))),_0x53728d('underline',_0x1139b4(_0x139ea1,_0x3678('0x0'))),_0x53728d(_0x3678('0x17'),_0x1139b4(_0x139ea1,_0x3678('0x1a'))),_0x53728d(_0x3678('0x12'),_0x1139b4(_0x139ea1,_0x3678('0xc'))),_0x53728d(_0x3678('0x22'),_0x1139b4(_0x139ea1,_0x3678('0x20'))),_0x53728d(_0x3678('0x4'),_0x1139b4(_0x139ea1,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e1a=['forceValue','parent','model','editor','blockQuote','*Remove\x20format:*\x20%0','BlockQuoteEditing','from','TrackChangesEditing','format','filter','value','schema','has','locale','document','ELEMENT_BLOCK_QUOTE','commands','enableCommand','checkChild','getSelectedBlocks','name','commandParams','$root','get'];(function(_0x5f587a,_0x2e1a08){const _0x5eb703=function(_0x2f2840){while(--_0x2f2840){_0x5f587a['push'](_0x5f587a['shift']());}};_0x5eb703(++_0x2e1a08);}(_0x2e1a,0x1f4));const _0x5eb7=function(_0x5f587a,_0x2e1a08){_0x5f587a=_0x5f587a-0x0;let _0x5eb703=_0x2e1a[_0x5f587a];return _0x5eb703;};import{Plugin as _0x477bd3}from'ckeditor5/src/core.js';import{getTranslation as _0x4789e0}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0xb021b3}from'../utils/utils.js';export default class V extends _0x477bd3{['afterInit'](){const _0x32f781=this[_0x5eb7('0x3')],_0x49102d=_0x32f781[_0x5eb7('0xe')];if(!_0x32f781['plugins'][_0x5eb7('0xd')](_0x5eb7('0x6')))return;const _0xcb1c7a=_0x32f781['plugins'][_0x5eb7('0x18')](_0x5eb7('0x8')),_0x42a76f=this[_0x5eb7('0x3')][_0x5eb7('0x11')][_0x5eb7('0x18')](_0x5eb7('0x4'));_0xcb1c7a[_0x5eb7('0x12')](_0x5eb7('0x4'),(_0x4719ea,_0x1d2bc7={})=>{const _0x1021f3=this[_0x5eb7('0x3')][_0x5eb7('0x2')][_0x5eb7('0xf')]['selection'],_0x21e8c5=_0x1d2bc7&&void 0x0!==_0x1d2bc7['forceValue']?_0x1d2bc7[_0x5eb7('0x0')]:!_0x42a76f[_0x5eb7('0xb')];let _0x164b13=[];if(_0x21e8c5){const _0x363ce5=Array['from'](_0x1021f3[_0x5eb7('0x14')]())[_0x5eb7('0xa')](_0x2bd8a9=>oo(_0x2bd8a9)||function(_0xdf456a,_0xd63515){const _0x2dc593=_0xd63515[_0x5eb7('0x13')](_0xdf456a[_0x5eb7('0x1')],_0x5eb7('0x4')),_0x33d182=_0xd63515[_0x5eb7('0x13')]([_0x5eb7('0x17'),'blockQuote'],_0xdf456a);return _0x2dc593&&_0x33d182;}(_0x2bd8a9,this[_0x5eb7('0x3')][_0x5eb7('0x2')][_0x5eb7('0xc')]));_0x164b13=_0xb021b3(_0x363ce5,_0x32f781[_0x5eb7('0x2')]);}else{const _0x532e85=Array[_0x5eb7('0x7')](_0x1021f3['getSelectedBlocks']())[_0x5eb7('0xa')](_0x4c4388=>oo(_0x4c4388));_0x164b13=_0xb021b3(_0x532e85,_0x32f781[_0x5eb7('0x2')]);}_0x32f781[_0x5eb7('0x2')]['change'](()=>{for(const _0x5c4497 of _0x164b13)_0xcb1c7a['markBlockFormat'](_0x5c4497,{'commandName':_0x5eb7('0x4'),'commandParams':[{'forceValue':_0x21e8c5}]});});}),_0xcb1c7a['_descriptionFactory']['registerDescriptionCallback'](_0x2b2656=>{const {data:_0x34cdf1}=_0x2b2656;if(_0x34cdf1&&'blockQuote'==_0x34cdf1['commandName']){const _0x3566d3=_0x4789e0(_0x49102d,_0x5eb7('0x10'));return _0x34cdf1[_0x5eb7('0x16')][0x0]['forceValue']?{'type':'format','content':_0x4789e0(_0x49102d,'*Set\x20format:*\x20%0',_0x3566d3)}:{'type':_0x5eb7('0x9'),'content':_0x4789e0(_0x49102d,_0x5eb7('0x5'),_0x3566d3)};}});}}function oo(_0x39754a){return _0x5eb7('0x4')==_0x39754a[_0x5eb7('0x1')][_0x5eb7('0x15')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1fff=['has','get','changeCaseUpper','changeCaseLower','enableCommand','changeCaseTitle','afterInit','plugins','TrackChangesEditing'];(function(_0x4223cd,_0x1fff4b){const _0x2fa386=function(_0x2b2919){while(--_0x2b2919){_0x4223cd['push'](_0x4223cd['shift']());}};_0x2fa386(++_0x1fff4b);}(_0x1fff,0x17a));const _0x2fa3=function(_0x4223cd,_0x1fff4b){_0x4223cd=_0x4223cd-0x0;let _0x2fa386=_0x1fff[_0x4223cd];return _0x2fa386;};import{Plugin as _0x4a9bb5}from'ckeditor5/src/core.js';export default class G extends _0x4a9bb5{[_0x2fa3('0x6')](){const _0x508c64=this['editor'];_0x508c64[_0x2fa3('0x7')][_0x2fa3('0x0')]('CaseChange')&&(_0x508c64[_0x2fa3('0x7')][_0x2fa3('0x1')](_0x2fa3('0x8'))[_0x2fa3('0x4')](_0x2fa3('0x2')),_0x508c64[_0x2fa3('0x7')][_0x2fa3('0x1')](_0x2fa3('0x8'))[_0x2fa3('0x4')](_0x2fa3('0x3')),_0x508c64[_0x2fa3('0x7')][_0x2fa3('0x1')](_0x2fa3('0x8'))[_0x2fa3('0x4')](_0x2fa3('0x5')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4634=['enableCommand','TrackChangesEditing','get','editor','ckbox','afterInit'];(function(_0x409b8e,_0x46345d){const _0x36c489=function(_0x3f361e){while(--_0x3f361e){_0x409b8e['push'](_0x409b8e['shift']());}};_0x36c489(++_0x46345d);}(_0x4634,0x173));const _0x36c4=function(_0x409b8e,_0x46345d){_0x409b8e=_0x409b8e-0x0;let _0x36c489=_0x4634[_0x409b8e];return _0x36c489;};import{Plugin as _0x145c19}from'ckeditor5/src/core.js';export default class F extends _0x145c19{[_0x36c4('0x0')](){const _0x2782f8=this[_0x36c4('0x4')];_0x2782f8['commands'][_0x36c4('0x3')](_0x36c4('0x5'))&&_0x2782f8['plugins']['get'](_0x36c4('0x2'))[_0x36c4('0x1')](_0x36c4('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fea=['document','label','*Set\x20format:*\x20%0','editor','commands','has','indentCodeBlock','TrackChangesEditing','afterInit','outdentCodeBlock','rootElement','*Remove\x20format:*\x20%0','blockName','registerDescriptionCallback','model','checkChild','find','get','selection','from','isLimit','forceValue','toLowerCase','commandParams','registerElementLabel','name','_descriptionFactory','type','getSelectedBlocks','markBlockFormat','filter','config','format','parent','plugins','formatBlock','languages','change','ELEMENT_CODE_BLOCK','codeBlock','value','enableCommand','language'];(function(_0x3e4cf4,_0x4fea48){const _0x5bd825=function(_0x128355){while(--_0x128355){_0x3e4cf4['push'](_0x3e4cf4['shift']());}};_0x5bd825(++_0x4fea48);}(_0x4fea,0x169));const _0x5bd8=function(_0x3e4cf4,_0x4fea48){_0x3e4cf4=_0x3e4cf4-0x0;let _0x5bd825=_0x4fea[_0x3e4cf4];return _0x5bd825;};import{Plugin as _0xab3d5f}from'ckeditor5/src/core.js';import{getTranslation as _0x58b949}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x356c17}from'../utils/utils.js';export default class L extends _0xab3d5f{[_0x5bd8('0x22')](){const _0x325085=this[_0x5bd8('0x1d')];if(!_0x325085[_0x5bd8('0x11')][_0x5bd8('0x1f')]('CodeBlock'))return;const _0x1c38ba=_0x325085[_0x5bd8('0x11')][_0x5bd8('0x0')](_0x5bd8('0x21')),_0x3ac6bb=_0x325085['locale'],_0x572811=_0x325085[_0x5bd8('0xe')]['get']('codeBlock')[_0x5bd8('0x13')],_0x2308f0=_0x325085[_0x5bd8('0x1e')][_0x5bd8('0x0')]('codeBlock');_0x1c38ba[_0x5bd8('0x18')](_0x5bd8('0x20')),_0x1c38ba[_0x5bd8('0x18')](_0x5bd8('0x23')),_0x1c38ba[_0x5bd8('0x18')](_0x5bd8('0x16'),(_0x50f1d2,_0x35cf21={})=>{const _0x35e984=_0x325085[_0x5bd8('0x28')],_0x5bef21=_0x325085['model'][_0x5bd8('0x1a')][_0x5bd8('0x1')],_0x4c6973=_0x35cf21&&void 0x0!==_0x35cf21[_0x5bd8('0x4')]?_0x35cf21[_0x5bd8('0x4')]:!_0x2308f0[_0x5bd8('0x17')];let _0x20ec73;_0x35cf21[_0x5bd8('0x19')]||(_0x35cf21[_0x5bd8('0x19')]=_0x572811[0x0]['language']),_0x20ec73=_0x4c6973?Array[_0x5bd8('0x2')](_0x5bef21[_0x5bd8('0xb')]())[_0x5bd8('0xd')](_0x7617a9=>eo(_0x7617a9)||function(_0x40f392,_0x2cdb34){if(_0x40f392['is'](_0x5bd8('0x24'))||_0x2cdb34[_0x5bd8('0x3')](_0x40f392))return!0x1;return _0x2cdb34[_0x5bd8('0x29')](_0x40f392[_0x5bd8('0x10')],'codeBlock');}(_0x7617a9,_0x35e984['schema'])):Array[_0x5bd8('0x2')](_0x5bef21[_0x5bd8('0xb')]())[_0x5bd8('0xd')](_0x42f3bd=>eo(_0x42f3bd));const _0x7bcc80=_0x356c17(_0x20ec73,_0x35e984);_0x35e984[_0x5bd8('0x14')](()=>{for(const _0x1dfb11 of _0x7bcc80)_0x1c38ba[_0x5bd8('0xc')](_0x1dfb11,{'commandName':_0x5bd8('0x16'),'commandParams':[{..._0x35cf21,'forceValue':_0x4c6973}],'formatGroupId':_0x5bd8('0x26')});});}),(_0x1c38ba['_descriptionFactory'][_0x5bd8('0x7')](_0x5bd8('0x16'),_0x39cf6c=>_0x58b949(_0x3ac6bb,_0x5bd8('0x15'),_0x39cf6c)),_0x1c38ba[_0x5bd8('0x9')][_0x5bd8('0x27')](_0x2615a5=>{if(_0x5bd8('0x12')!=_0x2615a5[_0x5bd8('0xa')])return;const _0xa2d4f9=_0x3ac6bb['t'],{data:_0x2fdf48}=_0x2615a5;if(!_0x2fdf48||_0x5bd8('0x16')!=_0x2fdf48['commandName'])return;const _0x2ac1ce=_0x2fdf48[_0x5bd8('0x6')][0x0]['language'],_0x2bd4cc=_0xa2d4f9(_0x572811[_0x5bd8('0x2a')](_0x34949c=>_0x34949c[_0x5bd8('0x19')]===_0x2ac1ce)[_0x5bd8('0x1b')])[_0x5bd8('0x5')]();return _0x2fdf48[_0x5bd8('0x6')][0x0][_0x5bd8('0x4')]?{'type':_0x5bd8('0xf'),'content':_0x58b949(_0x3ac6bb,_0x5bd8('0x1c'),_0x58b949(_0x3ac6bb,_0x5bd8('0x15'),0x1)+'\x20('+_0x2bd4cc+')')}:{'type':'format','content':_0x58b949(_0x3ac6bb,_0x5bd8('0x25'),_0x58b949(_0x3ac6bb,'ELEMENT_CODE_BLOCK',0x1))};}));}}function eo(_0x58a64d){return _0x5bd8('0x16')==_0x58a64d[_0x5bd8('0x8')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55d8=['afterInit','get','CommentsEditing','plugins','TrackChangesEditing','editor','addCommentThread'];(function(_0x5d3e67,_0x55d8fd){const _0x587e9c=function(_0x2e3730){while(--_0x2e3730){_0x5d3e67['push'](_0x5d3e67['shift']());}};_0x587e9c(++_0x55d8fd);}(_0x55d8,0x1ec));const _0x587e=function(_0x5d3e67,_0x55d8fd){_0x5d3e67=_0x5d3e67-0x0;let _0x587e9c=_0x55d8[_0x5d3e67];return _0x587e9c;};import{Plugin as _0x492a50}from'ckeditor5/src/core.js';export default class H extends _0x492a50{[_0x587e('0x5')](){const _0x59ed58=this[_0x587e('0x3')];if(!_0x59ed58[_0x587e('0x1')]['has'](_0x587e('0x0')))return;_0x59ed58[_0x587e('0x1')][_0x587e('0x6')](_0x587e('0x2'))['enableCommand'](_0x587e('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48e4=['getFirstRange','plugins','unit','delete','get','init','options','enableCommand','addMarker:suggestion:deletion','batch','buffer','mapper','$graveyard','root','uiElement','setSelection','downcastDispatcher','commands','bind','unbindElementFromMarkerName','editing','rootName','merge','showSuggestionHighlights','enqueueChange','end','requires','removeMarker:suggestion:deletion','detach','start','high','createRange','unlock','data','editor','model','lock','forward','createSelection','deleteForward','markerName'];(function(_0xcca58b,_0x48e421){const _0x33116b=function(_0x1379c8){while(--_0x1379c8){_0xcca58b['push'](_0xcca58b['shift']());}};_0x33116b(++_0x48e421);}(_0x48e4,0x99));const _0x3311=function(_0xcca58b,_0x48e421){_0xcca58b=_0xcca58b-0x0;let _0x33116b=_0x48e4[_0xcca58b];return _0x33116b;};import{Plugin as _0x2cfe79}from'ckeditor5/src/core.js';import{LiveRange as _0x34408f}from'ckeditor5/src/engine.js';import{Delete as _0x56f531}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x5798fb}from'./utils.js';export default class q extends _0x2cfe79{static get[_0x3311('0x25')](){return[_0x56f531];}[_0x3311('0x10')](){const _0x46e747=this[_0x3311('0x4')],_0x1946e3=_0x46e747[_0x3311('0xc')][_0x3311('0xf')]('TrackChangesEditing');_0x1946e3['enableCommand'](_0x3311('0xe'));const _0x1f16ce=_0x46e747[_0x3311('0x1c')][_0x3311('0xf')](_0x3311('0x9'));_0x1946e3[_0x3311('0x12')](_0x3311('0x9'),(_0x4f2af7,_0x456eab={})=>{const _0x292be1=_0x46e747[_0x3311('0x5')][_0x3311('0x8')](_0x46e747[_0x3311('0x5')]['document']['selection']);_0x292be1['isCollapsed']&&_0x46e747[_0x3311('0x5')]['modifySelection'](_0x292be1,{'direction':_0x3311('0x7'),'unit':_0x456eab[_0x3311('0xd')]});const _0x13aa7b=_0x292be1[_0x3311('0xb')](),_0x215609=_0x34408f['fromRange'](_0x13aa7b);let _0x216a1e;_0x4f2af7(_0x456eab),_0x216a1e=_0x3311('0x17')==_0x215609[_0x3311('0x18')][_0x3311('0x20')]?_0x46e747[_0x3311('0x5')][_0x3311('0x1')](_0x13aa7b[_0x3311('0x28')]):_0x46e747['model']['createRange'](_0x215609[_0x3311('0x28')],_0x215609[_0x3311('0x24')]),_0x215609[_0x3311('0x27')](),_0x46e747[_0x3311('0x5')][_0x3311('0x23')](_0x1f16ce[_0x3311('0x15')][_0x3311('0x14')],_0x22fca2=>{_0x1f16ce['buffer'][_0x3311('0x6')](),_0x22fca2[_0x3311('0x1a')](_0x22fca2['createRange'](_0x216a1e['end'])),_0x1f16ce['buffer'][_0x3311('0x2')]();});}),_0x46e747[_0x3311('0x1f')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x5798fb(_0x46e747,_0x3311('0x21')),{'priority':_0x3311('0x0')}),_0x46e747[_0x3311('0x3')][_0x3311('0x1b')]['on'](_0x3311('0x13'),(_0x160569,_0x541a64,_0x33158b)=>{_0x33158b[_0x3311('0x11')][_0x3311('0x22')]&&_0x5798fb(_0x46e747,_0x3311('0x21'),{'showActiveMarker':!0x1})[_0x3311('0x1d')](this)(_0x160569,_0x541a64,_0x33158b);},{'priority':_0x3311('0x0')}),_0x46e747[_0x3311('0x1f')]['downcastDispatcher']['on'](_0x3311('0x26'),(_0x5e2fe3,_0x1a80f3,_0x445a8f)=>{const _0x4a50a0=_0x445a8f['mapper']['markerNameToElements'](_0x1a80f3[_0x3311('0xa')]);if(_0x4a50a0)for(const _0xb071d6 of _0x4a50a0)_0xb071d6['is'](_0x3311('0x19'))&&(_0x445a8f[_0x3311('0x16')][_0x3311('0x1e')](_0xb071d6,_0x1a80f3[_0x3311('0xa')]),_0x445a8f['writer']['remove'](_0xb071d6));},{'priority':_0x3311('0x0')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc6b8=['*Outdent:*\x20%0','splitListItemBefore','change','ELEMENT_NUMBERED_LIST','start','commandName','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','_LIST','TrackChangesEditing','_descriptionFactory','value','nodeAfter','toUpperCase','*Format:*\x20remove\x20from\x20%0','documentList','numberedList','getAttribute','length','getRanges','previousSibling','enableCommand','editor','*Indent:*\x20%0','type','markBlockFormat','push','config','afterInit','format','getSelectedBlocks','add','commandParams','locale','parent','formatBlock','ListEditing','listItemId','before','ListUtils','*Format:*\x20insert\x20into\x20%0','listType','refresh','schema','hasAttribute','createPositionAt','list.multiBlock','isObject','containsItem','bulletedList','registerCustomCallback','end','createRange','nextSibling','indentList','model','commands','getFirstRange','selection','*Merge:*\x20%0','plugins','document','mergeListItemForward','expandListBlocksToCompleteList','accept','fromRange','registerElementLabel','listIndent','after','from','get','slice','setSelection','markMultiRangeBlockFormat','paragraph','outdentList','findIndex','mergeListItemBackward','multipleBlocks','splitListItemAfter','execute'];(function(_0x976796,_0xc6b8f8){const _0x384ec9=function(_0x2ac3da){while(--_0x2ac3da){_0x976796['push'](_0x976796['shift']());}};_0x384ec9(++_0xc6b8f8);}(_0xc6b8,0x8b));const _0x384e=function(_0x976796,_0xc6b8f8){_0x976796=_0x976796-0x0;let _0x384ec9=_0xc6b8[_0x976796];return _0x384ec9;};import{Plugin as _0x3da63e}from'ckeditor5/src/core.js';import{getTranslation as _0x1b86c1}from'../utils/common-translations.js';import{LiveRange as _0xd135a0}from'ckeditor5/src/engine.js';export default class z extends _0x3da63e{[_0x384e('0x33')](){const _0x30861e=this[_0x384e('0x2d')];if(!_0x30861e[_0x384e('0x2')]['has'](_0x384e('0x3b')))return;const _0x1fee97=_0x30861e[_0x384e('0x38')],_0x4adecb=_0x30861e[_0x384e('0x2')][_0x384e('0xc')](_0x384e('0x20')),_0x588139=_0x30861e[_0x384e('0x2')][_0x384e('0xc')](_0x384e('0x3e'));function _0x566738(_0x5e194e){return()=>{const _0x16bffe=_0x30861e[_0x384e('0x4f')][_0x384e('0xc')](_0x5e194e);if(_0x16bffe[_0x384e('0x22')]&&!_0x30861e[_0x384e('0x32')][_0x384e('0xc')](_0x384e('0x45')))return void _0x30861e[_0x384e('0x16')](_0x384e('0x10'),{});let _0x58f6e5=Array[_0x384e('0xb')](_0x30861e[_0x384e('0x4e')][_0x384e('0x3')]['selection']['getSelectedBlocks']());if(_0x5e730a(_0x5e194e)){_0x58f6e5=_0x588139[_0x384e('0x5')](_0x58f6e5);const _0x2f2d1=[];for(const _0x3e20e3 of _0x58f6e5)_0x588139['isFirstBlockOfListItem'](_0x3e20e3)&&_0x2f2d1['push'](_0x3e20e3);_0x58f6e5=_0x2f2d1;}_0x30861e[_0x384e('0x4e')][_0x384e('0x19')](()=>{_0x4adecb[_0x384e('0xf')](_0x58f6e5,{'commandName':_0x5e194e,'commandParams':[{'forceValue':!_0x16bffe[_0x384e('0x22')]}],'formatGroupId':'listType'},[],'documentList');});};}function _0x314e42(_0x3d4c32){return()=>{const _0x55909f=function(_0x45967e){let _0x14db64=Array[_0x384e('0xb')](_0x45967e);const _0x37d171=_0x14db64[_0x384e('0x12')](_0x1e9cde=>!_0x1e9cde[_0x384e('0x43')](_0x384e('0x3c')));return _0x37d171>-0x1&&(_0x14db64=_0x14db64[_0x384e('0xd')](0x0,_0x37d171)),_0x14db64;}(_0x30861e[_0x384e('0x4e')]['document'][_0x384e('0x0')][_0x384e('0x35')]()),_0x3c9027=_0x55909f[_0x55909f[_0x384e('0x29')]-0x1],_0x2ea2aa=_0x30861e[_0x384e('0x4e')][_0x384e('0x42')][_0x384e('0x46')](_0x3c9027)?_0x384e('0xa'):_0x384e('0x4a'),_0x31bd46=_0x30861e[_0x384e('0x4e')][_0x384e('0x4b')](_0x30861e['model'][_0x384e('0x44')](_0x55909f[0x0],_0x384e('0x3d')),_0x30861e[_0x384e('0x4e')][_0x384e('0x44')](_0x3c9027,_0x2ea2aa));_0x30861e[_0x384e('0x4e')][_0x384e('0x19')](()=>{_0x4adecb[_0x384e('0x30')](_0x31bd46,{'commandName':_0x3d4c32,'commandParams':[],'formatGroupId':_0x384e('0x40')},function(_0x5704d4){const _0x38c7bd=new Set();for(const _0x573cc3 of _0x5704d4){let _0x402f00=_0x573cc3[_0x384e('0x4c')];for(;_0x402f00&&_0x402f00['getAttribute']('listIndent')>_0x573cc3['getAttribute'](_0x384e('0x9'));)_0x38c7bd[_0x384e('0x36')](_0x402f00),_0x402f00=_0x402f00[_0x384e('0x4c')];}return Array['from'](_0x38c7bd);}(_0x55909f));});};}function _0x2594b6(_0x3dc03a){return()=>{const _0x5b6256=_0x30861e['model'][_0x384e('0x3')][_0x384e('0x0')][_0x384e('0x35')]()['next']()['value'],_0x12f3e4=_0x30861e[_0x384e('0x4e')][_0x384e('0x44')](_0x5b6256,_0x384e('0x3d')),_0x1f4c01=_0x30861e['model'][_0x384e('0x44')](_0x5b6256,0x0),_0x4cf6c5=_0x30861e['model']['createRange'](_0x12f3e4,_0x1f4c01);_0x30861e[_0x384e('0x4e')][_0x384e('0x19')](()=>{_0x4adecb['markBlockFormat'](_0x4cf6c5,{'commandName':_0x3dc03a,'commandParams':[],'formatGroupId':_0x384e('0x40')});});};}function _0x5e730a(_0x162d5c){const _0x479963=_0x30861e[_0x384e('0x4f')][_0x384e('0xc')](_0x384e('0x48'))['value'],_0x22f3c7=_0x30861e['commands'][_0x384e('0xc')]('numberedList')[_0x384e('0x22')];return _0x384e('0x27')===_0x162d5c?_0x479963:_0x22f3c7;}_0x4adecb[_0x384e('0x2c')]('numberedList',_0x566738(_0x384e('0x27'))),_0x4adecb[_0x384e('0x2c')](_0x384e('0x48'),_0x566738(_0x384e('0x48'))),_0x4adecb['enableCommand'](_0x384e('0x4d'),_0x314e42('indentList')),_0x4adecb['enableCommand']('outdentList',_0x314e42(_0x384e('0x11'))),_0x4adecb[_0x384e('0x2c')](_0x384e('0x15'),_0x2594b6(_0x384e('0x15'))),_0x4adecb[_0x384e('0x2c')](_0x384e('0x18'),_0x2594b6('splitListItemBefore')),_0x4adecb[_0x384e('0x21')][_0x384e('0x8')](function(_0x1eb14e){const _0x2bf0b9=!_0x30861e[_0x384e('0x4e')][_0x384e('0x42')]['isObject'](_0x1eb14e),_0x5592c0=_0x1eb14e[_0x384e('0x2b')],_0x5bf11a=_0x1eb14e[_0x384e('0x4c')],_0x394165=_0x1eb14e[_0x384e('0x28')]('listItemId'),_0x42a022=!_0x5592c0||_0x5592c0[_0x384e('0x28')](_0x384e('0x3c'))!==_0x394165,_0x3cb39a=!_0x5bf11a||_0x5bf11a[_0x384e('0x28')](_0x384e('0x3c'))!==_0x394165;return _0x2bf0b9&&Boolean(_0x394165)&&_0x42a022&&_0x3cb39a;},_0x38866f=>_0x1b86c1(_0x1fee97,_0x384e('0x1e'),_0x38866f)),_0x4adecb[_0x384e('0x21')]['registerDescriptionCallback'](function(_0x13478d){if(_0x384e('0x3a')!=_0x13478d[_0x384e('0x2f')]&&'formatInline'!=_0x13478d[_0x384e('0x2f')])return;const {data:_0x31a468}=_0x13478d;if(!_0x31a468)return;let _0x3d3574,_0x18bc1e,_0x414214,_0x5afebb;switch(_0x31a468[_0x384e('0x1c')]){case _0x384e('0x48'):_0x414214=_0x31a468[_0x384e('0x37')][0x0]['forceValue'],_0x5afebb=_0x5e730a(_0x31a468[_0x384e('0x1c')]),_0x3d3574=_0x414214?_0x384e('0x3f'):_0x384e('0x25'),!_0x5afebb&&_0x30861e[_0x384e('0x32')][_0x384e('0xc')](_0x384e('0x45'))||(_0x3d3574='*Change\x20to:*\x20%0'),_0x18bc1e={'type':_0x384e('0x34'),'content':_0x1b86c1(_0x1fee97,_0x3d3574,_0x1b86c1(_0x1fee97,'ELEMENT_BULLETED_LIST'))};break;case _0x384e('0x27'):_0x414214=_0x31a468[_0x384e('0x37')][0x0]['forceValue'],_0x5afebb=_0x5e730a(_0x31a468[_0x384e('0x1c')]),_0x3d3574=_0x414214?_0x384e('0x3f'):'*Format:*\x20remove\x20from\x20%0',!_0x5afebb&&_0x30861e[_0x384e('0x32')]['get'](_0x384e('0x45'))||(_0x3d3574=_0x384e('0x1d')),_0x18bc1e={'type':_0x384e('0x34'),'content':_0x1b86c1(_0x1fee97,_0x3d3574,_0x1b86c1(_0x1fee97,_0x384e('0x1a')))};break;case _0x384e('0x4d'):_0x3d3574=_0x384e('0x2e'),_0x18bc1e={'type':_0x384e('0x34'),'content':_0x1b86c1(_0x1fee97,_0x3d3574,_0x1b86c1(_0x1fee97,_0x384e('0x1e')))};break;case _0x384e('0x11'):_0x3d3574=function(_0x50d79f){const _0x51a9f0=_0x50d79f[_0x384e('0x50')]();let _0x5a0ad8=_0x51a9f0[_0x384e('0x1b')]['nodeAfter'];for(;_0x5a0ad8&&_0x51a9f0[_0x384e('0x47')](_0x5a0ad8);){if(_0x5a0ad8[_0x384e('0x28')](_0x384e('0x9'))>0x0)return!0x1;_0x5a0ad8=_0x5a0ad8[_0x384e('0x4c')];}return!0x0;}(_0x13478d)?_0x1b86c1(_0x1fee97,'*Format:*\x20remove\x20from\x20%0',_0x1b86c1(_0x1fee97,function(_0x3a40e8){const _0x21b0a3=_0x3a40e8[_0x384e('0x50')]()[_0x384e('0x1b')]['nodeAfter'];return'ELEMENT_'+_0x21b0a3[_0x384e('0x28')](_0x384e('0x40'))[_0x384e('0x24')]()+_0x384e('0x1f');}(_0x13478d))):_0x1b86c1(_0x1fee97,_0x384e('0x17'),_0x1b86c1(_0x1fee97,'ELEMENT_LIST_ITEM')),_0x18bc1e={'type':_0x384e('0x34'),'content':_0x3d3574};break;case _0x384e('0x13'):case _0x384e('0x4'):!0x1===_0x31a468[_0x384e('0x14')]&&(_0x3d3574=_0x384e('0x1'),_0x18bc1e={'type':'deletion','content':_0x1b86c1(_0x1fee97,_0x3d3574,_0x1b86c1(_0x1fee97,'ELEMENT_LIST_ITEM'))});}return _0x18bc1e;}),_0x4adecb['_suggestionFactory'][_0x384e('0x49')](_0x384e('0x3a'),_0x384e('0x26'),_0x384e('0x6'),function(_0x509236,_0x359009){const _0x41764a=[];for(let _0x2e1d87 of _0x509236)_0x2e1d87[_0x384e('0x1b')]['nodeAfter']===_0x2e1d87[_0x384e('0x4a')][_0x384e('0x39')]&&(_0x2e1d87=_0x30861e[_0x384e('0x4e')][_0x384e('0x4b')](_0x30861e[_0x384e('0x4e')]['createPositionAt'](_0x2e1d87[_0x384e('0x1b')][_0x384e('0x23')],0x0))),_0x41764a[_0x384e('0x31')](_0x2e1d87);_0x30861e[_0x384e('0x4e')][_0x384e('0x19')](_0xb7c6a7=>{const _0x350e43=_0x30861e[_0x384e('0x4e')][_0x384e('0x3')]['selection'],_0xc1009=Array[_0x384e('0xb')](_0x350e43[_0x384e('0x2a')]())['map'](_0x3f5246=>_0xd135a0[_0x384e('0x7')](_0x3f5246));_0xb7c6a7[_0x384e('0xe')](_0x41764a),_0x30861e['commands'][_0x384e('0xc')](_0x359009[_0x384e('0x1c')])[_0x384e('0x41')](),_0x359009[_0x384e('0x37')][_0x384e('0x31')]({'forceDefaultExecution':!0x0}),_0x30861e[_0x384e('0x16')](_0x359009[_0x384e('0x1c')],..._0x359009[_0x384e('0x37')]),_0xb7c6a7[_0x384e('0xe')](_0xc1009);for(const _0x489428 of _0xc1009)_0x489428['detach']();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fad=['*Format:*\x20set\x20order\x20to\x20reversed','_getTranslationKeyForListStyle','list.properties','listStart','replace','push','ELEMENT_','getSelectedBlocks','listReversed','handleListStartCommand','model','get','selection','change','config','type','handleListReversedCommand','document','ListUtils','handleDescriptions','plugins','startIndex','_getSuggestionBlocksForListStyle','expandListBlocksToCompleteList','enableCommand','filter','afterInit','markMultiRangeBlockFormat','from','getAttribute','editor','reversed','ListPropertiesUtils','numbered','locale','format','isListItemBlock','registerDescriptionCallback','getListTypeFromListStyleType','*Change\x20to:*\x20%0','formatInline','TrackChangesEditing','styles','toUpperCase','_getSuggestionBlocks','bind','commandParams','formatBlock','listStyle','listType'];(function(_0x363462,_0x2fad68){const _0x530303=function(_0xc097f5){while(--_0xc097f5){_0x363462['push'](_0x363462['shift']());}};_0x530303(++_0x2fad68);}(_0x2fad,0x147));const _0x5303=function(_0x363462,_0x2fad68){_0x363462=_0x363462-0x0;let _0x530303=_0x2fad[_0x363462];return _0x530303;};import{Plugin as _0x47ea26}from'ckeditor5/src/core.js';import{getTranslation as _0x5f4465}from'../utils/common-translations.js';export default class W extends _0x47ea26{[_0x5303('0x31')](){if(!this[_0x5303('0x3')][_0x5303('0x2b')]['has']('ListPropertiesEditing'))return;const _0x152eae=this[_0x5303('0x3')][_0x5303('0x25')][_0x5303('0x22')](_0x5303('0x19')),_0x216254=this[_0x5303('0x3')][_0x5303('0x2b')][_0x5303('0x22')](_0x5303('0xe'));_0x152eae[_0x5303('0xf')]&&_0x216254[_0x5303('0x2f')](_0x5303('0x15'),this['handleListStyleCommand']['bind'](this)),_0x152eae[_0x5303('0x4')]&&_0x216254[_0x5303('0x2f')]('listReversed',this[_0x5303('0x27')][_0x5303('0x12')](this)),_0x152eae['startIndex']&&_0x216254[_0x5303('0x2f')]('listStart',this[_0x5303('0x20')][_0x5303('0x12')](this)),_0x216254['_descriptionFactory'][_0x5303('0xa')](this['handleDescriptions'][_0x5303('0x12')](this));}['handleListStyleCommand'](_0x26eb7c,_0x4f8b5e={}){const _0x5937d2=this[_0x5303('0x3')][_0x5303('0x2b')]['get'](_0x5303('0xe')),_0x1d5822=this[_0x5303('0x2d')]();this[_0x5303('0x3')][_0x5303('0x21')][_0x5303('0x24')](()=>{_0x5937d2['markMultiRangeBlockFormat'](_0x1d5822,{'commandName':_0x5303('0x15'),'commandParams':[{'type':_0x4f8b5e['type']}],'formatGroupId':_0x5303('0x15')});});}['handleListReversedCommand'](_0x45d324,_0x56e617={}){const _0x2bbf2b=this['editor'][_0x5303('0x2b')][_0x5303('0x22')]('TrackChangesEditing'),_0x5db34f=this[_0x5303('0x3')]['plugins'][_0x5303('0x22')](_0x5303('0x29')),_0x502bf1=this[_0x5303('0x11')](_0x31ac55=>_0x5db34f[_0x5303('0x9')](_0x31ac55)&&_0x5303('0x6')===_0x31ac55[_0x5303('0x2')](_0x5303('0x16')));null!==_0x502bf1&&this[_0x5303('0x3')][_0x5303('0x21')][_0x5303('0x24')](()=>{_0x2bbf2b['markMultiRangeBlockFormat'](_0x502bf1,{'commandName':_0x5303('0x1f'),'commandParams':[{'reversed':_0x56e617['reversed']}],'formatGroupId':_0x5303('0x1f')});});}['handleListStartCommand'](_0x1b6aa8,_0x57fc9b={}){const _0x1241c2=this[_0x5303('0x3')][_0x5303('0x2b')]['get'](_0x5303('0xe')),_0x4e8306=this[_0x5303('0x3')][_0x5303('0x2b')][_0x5303('0x22')](_0x5303('0x29')),_0x2c9214=this['_getSuggestionBlocks'](_0x374225=>_0x4e8306[_0x5303('0x9')](_0x374225)&&'numbered'===_0x374225[_0x5303('0x2')](_0x5303('0x16')));null!==_0x2c9214&&this['editor'][_0x5303('0x21')]['change'](()=>{_0x1241c2[_0x5303('0x0')](_0x2c9214,{'commandName':_0x5303('0x1a'),'commandParams':[{'startIndex':_0x57fc9b['startIndex']}],'formatGroupId':_0x5303('0x1a')});});}[_0x5303('0x2a')](_0x5e6ef3){if(_0x5303('0x14')!=_0x5e6ef3[_0x5303('0x26')]&&_0x5303('0xd')!=_0x5e6ef3[_0x5303('0x26')])return;const _0x181f4e=this[_0x5303('0x3')][_0x5303('0x7')],{data:_0x536c0c}=_0x5e6ef3;if(!_0x536c0c)return;let _0x5bb99c,_0x403986;switch(_0x536c0c['commandName']){case'listStyle':_0x5bb99c=_0x5303('0xc'),_0x403986={'type':_0x5303('0x8'),'content':_0x5f4465(_0x181f4e,_0x5bb99c,_0x5f4465(_0x181f4e,this[_0x5303('0x18')](_0x536c0c[_0x5303('0x13')][0x0][_0x5303('0x26')])))};break;case _0x5303('0x1f'):_0x5bb99c=_0x536c0c[_0x5303('0x13')][0x0][_0x5303('0x4')]?_0x5303('0x17'):'*Format:*\x20set\x20order\x20to\x20regular',_0x403986={'type':_0x5303('0x8'),'content':_0x5f4465(_0x181f4e,_0x5bb99c)};break;case _0x5303('0x1a'):_0x5bb99c='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x403986={'type':_0x5303('0x8'),'content':_0x5f4465(_0x181f4e,_0x5bb99c,_0x536c0c[_0x5303('0x13')][0x0][_0x5303('0x2c')])};}return _0x403986;}['_getSuggestionBlocksForListStyle'](){const _0x482c4e=this[_0x5303('0x3')][_0x5303('0x2b')][_0x5303('0x22')](_0x5303('0x29'));let _0x870379=Array[_0x5303('0x1')](this[_0x5303('0x3')][_0x5303('0x21')]['document'][_0x5303('0x23')][_0x5303('0x1e')]());return _0x870379[_0x5303('0x1c')](..._0x482c4e[_0x5303('0x2e')](_0x870379)),_0x870379=[...new Set(_0x870379)],_0x870379;}[_0x5303('0x11')](_0x5ec527){const _0x14b3b6=this['editor'][_0x5303('0x2b')][_0x5303('0x22')]('ListUtils');let _0x5158db=Array[_0x5303('0x1')](this['editor'][_0x5303('0x21')][_0x5303('0x28')][_0x5303('0x23')][_0x5303('0x1e')]())[_0x5303('0x30')](_0x5ec527);if(!_0x5158db['length'])return null;_0x5158db=_0x14b3b6['expandListBlocksToCompleteList'](_0x5158db);const _0x7c2107=[];for(const _0x3dd11b of _0x5158db)_0x14b3b6['isFirstBlockOfListItem'](_0x3dd11b)&&_0x7c2107[_0x5303('0x1c')](_0x3dd11b);return _0x7c2107;}[_0x5303('0x18')](_0x18d7a7){return _0x5303('0x1d')+this[_0x5303('0x3')]['plugins'][_0x5303('0x22')](_0x5303('0x5'))[_0x5303('0xb')](_0x18d7a7)[_0x5303('0x10')]()+'_LIST_'+_0x18d7a7[_0x5303('0x10')]()[_0x5303('0x1b')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x552b=['selection','unbindElementFromMarkerName','TrackChangesEditing','mapper','writer','high','getFirstRange','enableCommand','plugins','addMarker:suggestion:insertion','change','end','bind','getFirstPosition','ck-suggestion-marker-split','markerName','data','downcastDispatcher','afterExecute','init','enterBlock','fire','enter','nextSibling','split','remove','requires','fromRange','markInsertion','showSuggestionHighlights','document','commands','editing','model'];(function(_0x1b7297,_0x552b01){const _0x23bc5a=function(_0x536e9c){while(--_0x536e9c){_0x1b7297['push'](_0x1b7297['shift']());}};_0x23bc5a(++_0x552b01);}(_0x552b,0x6b));const _0x23bc=function(_0x1b7297,_0x552b01){_0x1b7297=_0x1b7297-0x0;let _0x23bc5a=_0x552b[_0x1b7297];return _0x23bc5a;};import{Plugin as _0x1dae8e}from'ckeditor5/src/core.js';import{Enter as _0x3f36ac}from'ckeditor5/src/enter.js';import{LiveRange as _0x490d69}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x4a8526}from'./utils.js';export default class J extends _0x1dae8e{static get[_0x23bc('0x15')](){return[_0x3f36ac];}[_0x23bc('0xe')](){const _0x29db39=this['editor'],_0x585c52=_0x29db39[_0x23bc('0x3')]['get'](_0x23bc('0x1f')),_0x23a388=_0x29db39[_0x23bc('0x1a')]['get'](_0x23bc('0x11'));_0x585c52[_0x23bc('0x2')]('enter',()=>{_0x29db39['model'][_0x23bc('0x5')](_0x124c38=>{const _0x197ced=_0x29db39[_0x23bc('0x1c')][_0x23bc('0x19')][_0x23bc('0x1d')],_0x1d661a=_0x197ced[_0x23bc('0x8')](),_0x26cf00=_0x490d69[_0x23bc('0x16')](_0x197ced[_0x23bc('0x1')]());if(_0x23a388[_0x23bc('0xf')](_0x124c38)){const _0x25d970=_0x29db39[_0x23bc('0x1c')]['createPositionAt'](_0x1d661a['parent'][_0x23bc('0x12')],0x0),_0x2c0288=_0x124c38['createRange'](_0x1d661a,_0x25d970);_0x585c52[_0x23bc('0x17')](_0x2c0288);}else _0x124c38['setSelection'](_0x124c38['createRange'](_0x26cf00[_0x23bc('0x6')]));_0x26cf00['detach'](),_0x23a388[_0x23bc('0x10')](_0x23bc('0xd'),{'writer':_0x124c38});});}),_0x29db39['editing'][_0x23bc('0xc')]['on'](_0x23bc('0x4'),_0x4a8526(_0x29db39,_0x23bc('0x13')),{'priority':_0x23bc('0x0')}),_0x29db39[_0x23bc('0x1b')][_0x23bc('0xc')]['on']('removeMarker:suggestion:insertion',(_0x90ed7b,_0x233d78,_0x2d65f8)=>{const _0x24e732=_0x2d65f8[_0x23bc('0x20')]['markerNameToElements'](_0x233d78[_0x23bc('0xa')]);if(_0x24e732)for(const _0x2e2b94 of _0x24e732)_0x2e2b94['hasClass'](_0x23bc('0x9'))&&(_0x2d65f8[_0x23bc('0x20')][_0x23bc('0x1e')](_0x2e2b94,_0x233d78[_0x23bc('0xa')]),_0x2d65f8[_0x23bc('0x21')][_0x23bc('0x14')](_0x2e2b94));},{'priority':_0x23bc('0x0')}),_0x29db39[_0x23bc('0xb')][_0x23bc('0xc')]['on'](_0x23bc('0x4'),(_0x49282,_0x242b1e,_0x4f4202)=>{_0x4f4202['options'][_0x23bc('0x18')]&&_0x4a8526(_0x29db39,_0x23bc('0x13'),{'showActiveMarker':!0x1})[_0x23bc('0x7')](this)(_0x49282,_0x242b1e,_0x4f4202);},{'priority':_0x23bc('0x0')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x89b9=['markers','model','string','findByTextCallback','end','has','suggestion:deletion','getRange','FindAndReplaceUtils','item','findNext','replaceAll','FindAndReplaceEditing','enableCommand','bind','find','start','handleFindCommand','get','afterInit','createRange','createPositionAt','editor','getIntersection','TrackChangesEditing','plugins'];(function(_0x5e3696,_0x89b92d){const _0x5d1182=function(_0xa61d31){while(--_0xa61d31){_0x5e3696['push'](_0x5e3696['shift']());}};_0x5d1182(++_0x89b92d);}(_0x89b9,0x1f0));const _0x5d11=function(_0x5e3696,_0x89b92d){_0x5e3696=_0x5e3696-0x0;let _0x5d1182=_0x89b9[_0x5e3696];return _0x5d1182;};import{Plugin as _0x7b409a}from'ckeditor5/src/core.js';export default class K extends _0x7b409a{[_0x5d11('0x11')](){if(!this[_0x5d11('0x14')]['plugins'][_0x5d11('0x3')](_0x5d11('0xa')))return;const _0x25e73c=this[_0x5d11('0x14')][_0x5d11('0x17')][_0x5d11('0x10')](_0x5d11('0x16'));_0x25e73c[_0x5d11('0xb')](_0x5d11('0xd'),this[_0x5d11('0xf')][_0x5d11('0xc')](this)),_0x25e73c[_0x5d11('0xb')](_0x5d11('0x8')),_0x25e73c[_0x5d11('0xb')]('findPrevious'),_0x25e73c[_0x5d11('0xb')]('replace'),_0x25e73c[_0x5d11('0xb')](_0x5d11('0x9'));}[_0x5d11('0xf')](_0x1c7f98,_0xfa65be,_0x3fdd54={}){const _0x500b58=this[_0x5d11('0x14')][_0x5d11('0x17')]['get'](_0x5d11('0x6'));return _0x1c7f98(_0x143ad6=>(_0x5d11('0x0')==typeof _0xfa65be?_0x500b58[_0x5d11('0x1')](_0xfa65be,_0x3fdd54):_0xfa65be)(_0x143ad6)['filter'](_0x2f1280=>!0x1===this['_isInDeletionRange'](_0x2f1280,_0x143ad6[_0x5d11('0x7')])),_0x3fdd54);}['_isInDeletionRange'](_0x1a12be,_0x355fa3){const _0x4ceea2=this['editor'][_0x5d11('0x19')][_0x5d11('0x12')](this['editor']['model'][_0x5d11('0x13')](_0x355fa3,_0x1a12be[_0x5d11('0xe')]),this[_0x5d11('0x14')][_0x5d11('0x19')][_0x5d11('0x13')](_0x355fa3,_0x1a12be[_0x5d11('0x2')]));for(const _0x6eb56e of this[_0x5d11('0x14')][_0x5d11('0x19')][_0x5d11('0x18')]['getMarkersGroup'](_0x5d11('0x4')))if(null!==_0x4ceea2[_0x5d11('0x15')](_0x6eb56e[_0x5d11('0x5')]()))return!0x0;return!0x1;}}
|