@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231122.0 → 0.0.0-nightly-20231124.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/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-20231124.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-20231124.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231124.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 _0x114c=['_suggestions','plugins','_isEnabledBasedOnSelection','canEditAt','execute','getRanges','isEnabled','TrackChangesEditing','acceptSuggestion','refresh','editor','model','get'];(function(_0x15faff,_0x114c17){const _0xb792d7=function(_0x25e3fb){while(--_0x25e3fb){_0x15faff['push'](_0x15faff['shift']());}};_0xb792d7(++_0x114c17);}(_0x114c,0xc0));const _0xb792=function(_0x15faff,_0x114c17){_0x15faff=_0x15faff-0x0;let _0xb792d7=_0x114c[_0x15faff];return _0xb792d7;};import{Command as _0x1c3959}from'ckeditor5/src/core';import{CKEditorError as _0xd86ca6}from'ckeditor5/src/utils';export default class B extends _0x1c3959{constructor(_0x4b4ff5,_0x1f2198){super(_0x4b4ff5),this[_0xb792('0x3')]=_0x1f2198,this[_0xb792('0xc')](),this[_0xb792('0x5')]=!0x1;}[_0xb792('0xc')](){this[_0xb792('0x9')]=!0x0;}[_0xb792('0x7')](_0xc501a4){const _0x59cb2a=this[_0xb792('0x3')][_0xb792('0x2')](_0xc501a4);if(!_0x59cb2a)throw new _0xd86ca6('track-changes-accept-suggestion-not-found',this);const _0x4614ac=_0x59cb2a[_0xb792('0x8')]();this[_0xb792('0x0')][_0xb792('0x1')][_0xb792('0x6')](_0x4614ac)&&this['editor'][_0xb792('0x4')]['get'](_0xb792('0xa'))[_0xb792('0xb')](_0x59cb2a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3338=['track-changes-discard-suggestion-not-found','refresh','get','model','plugins','isEnabled','_suggestions','TrackChangesEditing','editor','execute','canEditAt','getRanges','_isEnabledBasedOnSelection'];(function(_0x3f65b9,_0x3338db){const _0x3d0dcf=function(_0x28a38d){while(--_0x28a38d){_0x3f65b9['push'](_0x3f65b9['shift']());}};_0x3d0dcf(++_0x3338db);}(_0x3338,0x16e));const _0x3d0d=function(_0x3f65b9,_0x3338db){_0x3f65b9=_0x3f65b9-0x0;let _0x3d0dcf=_0x3338[_0x3f65b9];return _0x3d0dcf;};import{Command as _0x250935}from'ckeditor5/src/core';import{CKEditorError as _0x547152}from'ckeditor5/src/utils';export default class x extends _0x250935{constructor(_0x55b2c8,_0x25c9fa){super(_0x55b2c8),this[_0x3d0d('0x4')]=_0x25c9fa,this['refresh'](),this[_0x3d0d('0xa')]=!0x1;}[_0x3d0d('0xc')](){this[_0x3d0d('0x3')]=!0x0;}[_0x3d0d('0x7')](_0x52e252){const _0x49f347=this['_suggestions'][_0x3d0d('0x0')](_0x52e252);if(!_0x49f347)throw new _0x547152(_0x3d0d('0xb'),this);const _0x43ea83=_0x49f347[_0x3d0d('0x9')]();this['editor'][_0x3d0d('0x1')][_0x3d0d('0x8')](_0x43ea83)&&this[_0x3d0d('0x6')][_0x3d0d('0x2')][_0x3d0d('0x0')](_0x3d0d('0x5'))['discardSuggestion'](_0x49f347);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d5e=['_suggestions','some','from','model','editor','isEnabled','canEditAt','isInContent','refresh','_command'];(function(_0x31d3ef,_0x2d5e0f){const _0x306d75=function(_0xd450e9){while(--_0xd450e9){_0x31d3ef['push'](_0x31d3ef['shift']());}};_0x306d75(++_0x2d5e0f);}(_0x2d5e,0x135));const _0x306d=function(_0x31d3ef,_0x2d5e0f){_0x31d3ef=_0x31d3ef-0x0;let _0x306d75=_0x2d5e[_0x31d3ef];return _0x306d75;};import{Command as _0x2ce42b}from'ckeditor5/src/core';import{sortSuggestions as _0x36b813,executeCommandForSuggestions as _0xa16f8e}from'../utils/utils';export default class E extends _0x2ce42b{constructor(_0x411b85,_0x28ebbc,_0x1defc2){super(_0x411b85),this[_0x306d('0x0')]=_0x28ebbc,this[_0x306d('0x1')]=_0x1defc2,this[_0x306d('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x306d('0x9')](){const _0x2e67db=Array['from'](this['_suggestions']['values']())[_0x306d('0x2')](_0x10eae8=>_0x10eae8[_0x306d('0x8')]);this[_0x306d('0x6')]=this[_0x306d('0x0')]['isEnabled']&&_0x2e67db;}['execute'](){const _0x1f7e72=_0x36b813(Array[_0x306d('0x3')](this[_0x306d('0x1')]['values']()));for(const _0x5ed1db of _0x1f7e72){const _0x3580ac=_0x5ed1db['getRanges']();if(!this[_0x306d('0x5')][_0x306d('0x4')][_0x306d('0x7')](_0x3580ac))return;}_0xa16f8e(this[_0x306d('0x5')]['model'],this[_0x306d('0x0')],_0x1f7e72);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3547=['isEnabled','_selectedSuggestions','canEditAt','_suggestions','selection','_command','editor','refresh','execute','document','from','getRanges','_isEnabledBasedOnSelection','model'];(function(_0x587bcb,_0x3547de){const _0x461e00=function(_0x429e6f){while(--_0x429e6f){_0x587bcb['push'](_0x587bcb['shift']());}};_0x461e00(++_0x3547de);}(_0x3547,0x7b));const _0x461e=function(_0x587bcb,_0x3547de){_0x587bcb=_0x587bcb-0x0;let _0x461e00=_0x3547[_0x587bcb];return _0x461e00;};import{Command as _0x170536}from'ckeditor5/src/core';import{sortSuggestions as _0x27d00f,getSelectedSuggestions as _0x2c8161,executeCommandForSuggestions as _0x35c60d}from'../utils/utils';export default class R extends _0x170536{constructor(_0x13213d,_0x4006f3,_0x3a2cc9){super(_0x13213d),this[_0x461e('0x8')]=_0x4006f3,this[_0x461e('0x6')]=_0x3a2cc9,this[_0x461e('0x4')]=new Set(),this['refresh'](),this[_0x461e('0x1')]=!0x1;}[_0x461e('0xa')](){const _0x4bc436=this[_0x461e('0x9')][_0x461e('0x2')][_0x461e('0xc')][_0x461e('0x7')],_0x26f651=Array[_0x461e('0xd')](this[_0x461e('0x6')]['values']());this[_0x461e('0x4')]=_0x2c8161(_0x4bc436,_0x26f651),this[_0x461e('0x3')]=this['_command'][_0x461e('0x3')]&&!!this[_0x461e('0x4')]['size'];}[_0x461e('0xb')](){const _0x41fbbd=_0x27d00f(Array[_0x461e('0xd')](this[_0x461e('0x4')]));for(const _0x4b1dc1 of _0x41fbbd){const _0x55e018=_0x4b1dc1[_0x461e('0x0')]();if(!this[_0x461e('0x9')][_0x461e('0x2')][_0x461e('0x5')](_0x55e018))return;}_0x35c60d(this['editor'][_0x461e('0x2')],this['_command'],_0x41fbbd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x353b=['commands','_enabledCommands','clearForceDisabled','execute','value','affectsData','TrackChangesCommand','refresh','has','editor','isEnabled','_enableCommands','_isEnabledBasedOnSelection','_disableUnsupportedCommands','forceDisabled'];(function(_0x3501f7,_0x353b9e){const _0x41f53a=function(_0x45fbc1){while(--_0x45fbc1){_0x3501f7['push'](_0x3501f7['shift']());}};_0x41f53a(++_0x353b9e);}(_0x353b,0x142));const _0x41f5=function(_0x3501f7,_0x353b9e){_0x3501f7=_0x3501f7-0x0;let _0x41f53a=_0x353b[_0x3501f7];return _0x41f53a;};import{Command as _0x236cca}from'ckeditor5/src/core';export default class $ extends _0x236cca{constructor(_0x4d727f,_0x175ed7){super(_0x4d727f),this[_0x41f5('0x9')]=_0x175ed7,this[_0x41f5('0xc')]=!0x1,this[_0x41f5('0x0')](),this[_0x41f5('0x5')]=!0x1;}['refresh'](){this[_0x41f5('0x3')]=!0x0;}[_0x41f5('0xb')](){this['value']=!this['value'],this[_0x41f5('0xc')]?this[_0x41f5('0x6')]():this[_0x41f5('0x4')]();}[_0x41f5('0x6')](){for(const _0x2216ce of this['editor']['commands'][_0x41f5('0x8')]())_0x2216ce[_0x41f5('0xd')]&&!this[_0x41f5('0x9')][_0x41f5('0x1')](_0x2216ce)&&_0x2216ce[_0x41f5('0x7')](_0x41f5('0xe'));}[_0x41f5('0x4')](){for(const _0x11b4c1 of this[_0x41f5('0x2')][_0x41f5('0x8')][_0x41f5('0x8')]())_0x11b4c1[_0x41f5('0xd')]&&!this[_0x41f5('0x9')][_0x41f5('0x1')](_0x11b4c1)&&_0x11b4c1[_0x41f5('0xa')](_0x41f5('0xe'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2472=['TrackChangesEditing','plugins','editor','commands','get','afterInit','showAIAssistant','enableCommand'];(function(_0x3d982a,_0x2472f6){const _0x3ebe0f=function(_0x58e28d){while(--_0x58e28d){_0x3d982a['push'](_0x3d982a['shift']());}};_0x3ebe0f(++_0x2472f6);}(_0x2472,0x166));const _0x3ebe=function(_0x3d982a,_0x2472f6){_0x3d982a=_0x3d982a-0x0;let _0x3ebe0f=_0x2472[_0x3d982a];return _0x3ebe0f;};import{Plugin as _0x152cf0}from'ckeditor5/src/core';export default class j extends _0x152cf0{[_0x3ebe('0x7')](){const _0x281a7b=this[_0x3ebe('0x4')],_0x205372=_0x281a7b[_0x3ebe('0x3')][_0x3ebe('0x6')](_0x3ebe('0x2'));_0x281a7b[_0x3ebe('0x5')]['get'](_0x3ebe('0x0'))&&_0x205372[_0x3ebe('0x1')](_0x3ebe('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17cf=['registerAttributeLabel','FORMAT_JUSTIFY_TEXT','AlignmentEditing','commandParams','justify','FORMAT_ALIGN_TO_CENTER','_descriptionFactory','FORMAT_ALIGNMENT','format','plugins','left','formatBlock','editor','registerDescriptionCallback','alignment','_enableDefaultAttributesIntegration','commandName','has','get','TrackChangesEditing','_registerLegacyDescription','right','center','locale','FORMAT_ALIGN_TO_LEFT'];(function(_0x24bace,_0x17cf20){const _0x2b36ee=function(_0x4b12c8){while(--_0x4b12c8){_0x24bace['push'](_0x24bace['shift']());}};_0x2b36ee(++_0x17cf20);}(_0x17cf,0x6d));const _0x2b36=function(_0x24bace,_0x17cf20){_0x24bace=_0x24bace-0x0;let _0x2b36ee=_0x17cf[_0x24bace];return _0x2b36ee;};import{Plugin as _0x56b948}from'ckeditor5/src/core';import{getTranslation as _0x2ce852}from'../utils/common-translations';export default class U extends _0x56b948{['afterInit'](){const _0x465f88=this[_0x2b36('0x3')],_0x3ee7e8=_0x465f88[_0x2b36('0xe')];if(!_0x465f88[_0x2b36('0x0')][_0x2b36('0x8')](_0x2b36('0x12')))return;const _0x2044cf=_0x465f88[_0x2b36('0x0')][_0x2b36('0x9')](_0x2b36('0xa'));_0x2044cf[_0x2b36('0x6')]('alignment',[],[_0x2b36('0x5')]),_0x2044cf[_0x2b36('0x16')][_0x2b36('0x10')](_0x2b36('0x5'),_0x2ce852(_0x3ee7e8,_0x2b36('0x17'))),this[_0x2b36('0xb')]();}[_0x2b36('0xb')](){const _0x47cc77=this[_0x2b36('0x3')],_0x1e2795=_0x47cc77[_0x2b36('0xe')];_0x47cc77['plugins'][_0x2b36('0x9')](_0x2b36('0xa'))[_0x2b36('0x16')][_0x2b36('0x4')](_0x36986d=>{if(_0x2b36('0x2')!=_0x36986d['type'])return;const {data:_0x254d41}=_0x36986d;if(_0x254d41&&_0x2b36('0x5')==_0x254d41[_0x2b36('0x7')]){const _0x2d2847=_0x254d41[_0x2b36('0x13')][0x0]['value'];return{'type':_0x2b36('0x18'),'content':_0x2ce852(_0x1e2795,'*Format:*\x20%0',function(_0x413386){switch(_0x413386){case _0x2b36('0x1'):return _0x2ce852(_0x1e2795,_0x2b36('0xf'));case _0x2b36('0xc'):return _0x2ce852(_0x1e2795,'FORMAT_ALIGN_TO_RIGHT');case _0x2b36('0xd'):return _0x2ce852(_0x1e2795,_0x2b36('0x15'));case _0x2b36('0x14'):return _0x2ce852(_0x1e2795,_0x2b36('0x11'));}}(_0x2d2847))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x176a=['FORMAT_BOLD','FORMAT_STRIKETHROUGH','superscript','UnderlineEditing','locale','ItalicEditing','FORMAT_','FORMAT_UNDERLINE','SuperscriptEditing','StrikethroughEditing','_registerLegacyDescription','toLowerCase','FORMAT_SUBSCRIPT','_descriptionFactory','commandName','toUpperCase','format','editor','*Remove\x20format:*\x20%0','registerDescriptionCallback','has','TrackChangesEditing','_enableDefaultAttributesIntegration','FORMAT_CODE','CodeEditing','get','italic','type','*Format:*\x20%0','plugins','commandParams','code','strikethrough'];(function(_0x4c73c0,_0x176a7a){const _0xf3d0e2=function(_0x577a67){while(--_0x577a67){_0x4c73c0['push'](_0x4c73c0['shift']());}};_0xf3d0e2(++_0x176a7a);}(_0x176a,0x78));const _0xf3d0=function(_0x4c73c0,_0x176a7a){_0x4c73c0=_0x4c73c0-0x0;let _0xf3d0e2=_0x176a[_0x4c73c0];return _0xf3d0e2;};import{Plugin as _0x115814}from'ckeditor5/src/core';import{getTranslation as _0x2a3dd2}from'../utils/common-translations';const ti=['BoldEditing',_0xf3d0('0x11'),_0xf3d0('0xf'),_0xf3d0('0x3'),_0xf3d0('0x15'),'SubscriptEditing',_0xf3d0('0x14')];export default class O extends _0x115814{['afterInit'](){const _0x27509f=this[_0xf3d0('0x1d')],_0x5012cc=_0x27509f[_0xf3d0('0x8')][_0xf3d0('0x4')](_0xf3d0('0x0')),_0x52efe2=_0x27509f[_0xf3d0('0x10')];for(const _0x26eebf of ti){if(!_0x27509f[_0xf3d0('0x8')][_0xf3d0('0x20')](_0x26eebf))continue;const _0x532814=_0x26eebf['slice'](0x0,-0x7)[_0xf3d0('0x17')](),_0x1ae87b=_0xf3d0('0x12')+_0x532814[_0xf3d0('0x1b')]();_0x5012cc[_0xf3d0('0x1')](_0x532814,[_0x532814]),_0x5012cc[_0xf3d0('0x19')]['registerAttributeLabel'](_0x532814,_0x2a3dd2(_0x52efe2,_0x1ae87b));}this[_0xf3d0('0x16')]();}['_registerLegacyDescription'](){const _0x574e1a=this['editor'],_0x503cea=_0x574e1a[_0xf3d0('0x10')],_0x254610=_0x574e1a[_0xf3d0('0x8')][_0xf3d0('0x4')](_0xf3d0('0x0'));function _0x286a7e(_0x1bc564,_0x21150b){_0x254610[_0xf3d0('0x19')][_0xf3d0('0x1f')](_0x120cb5=>{if('formatInline'!=_0x120cb5[_0xf3d0('0x6')])return;const {data:_0xb608cb}=_0x120cb5;return _0xb608cb&&_0xb608cb[_0xf3d0('0x1a')]===_0x1bc564?_0xb608cb[_0xf3d0('0x9')][0x0]['forceValue']?{'type':_0xf3d0('0x1c'),'content':_0x2a3dd2(_0x503cea,_0xf3d0('0x7'),_0x21150b)}:{'type':_0xf3d0('0x1c'),'content':_0x2a3dd2(_0x503cea,_0xf3d0('0x1e'),_0x21150b)}:void 0x0;});}_0x286a7e('bold',_0x2a3dd2(_0x503cea,_0xf3d0('0xc'))),_0x286a7e(_0xf3d0('0x5'),_0x2a3dd2(_0x503cea,'FORMAT_ITALIC')),_0x286a7e('underline',_0x2a3dd2(_0x503cea,_0xf3d0('0x13'))),_0x286a7e(_0xf3d0('0xa'),_0x2a3dd2(_0x503cea,_0xf3d0('0x2'))),_0x286a7e(_0xf3d0('0xb'),_0x2a3dd2(_0x503cea,_0xf3d0('0xd'))),_0x286a7e('subscript',_0x2a3dd2(_0x503cea,_0xf3d0('0x18'))),_0x286a7e(_0xf3d0('0xe'),_0x2a3dd2(_0x503cea,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1755=['document','get','has','checkChild','*Remove\x20format:*\x20%0','format','editor','plugins','value','TrackChangesEditing','$root','commandParams','change','parent','blockQuote','schema','forceValue','from','getSelectedBlocks','selection','locale','enableCommand','markBlockFormat','name','commands','registerDescriptionCallback','model'];(function(_0x574742,_0x175515){const _0x330adb=function(_0x24fd48){while(--_0x24fd48){_0x574742['push'](_0x574742['shift']());}};_0x330adb(++_0x175515);}(_0x1755,0x1d2));const _0x330a=function(_0x574742,_0x175515){_0x574742=_0x574742-0x0;let _0x330adb=_0x1755[_0x574742];return _0x330adb;};import{Plugin as _0x1eca82}from'ckeditor5/src/core';import{getTranslation as _0x4e157c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x214f15}from'../utils/utils';export default class V extends _0x1eca82{['afterInit'](){const _0x30eff0=this[_0x330a('0x1a')],_0x14e2be=_0x30eff0[_0x330a('0xd')];if(!_0x30eff0['plugins'][_0x330a('0x16')]('BlockQuoteEditing'))return;const _0x574e24=_0x30eff0[_0x330a('0x0')][_0x330a('0x15')](_0x330a('0x2')),_0x3031a5=this['editor'][_0x330a('0x11')][_0x330a('0x15')](_0x330a('0x7'));_0x574e24[_0x330a('0xe')](_0x330a('0x7'),(_0x10e90a,_0x817fbf={})=>{const _0x112b5a=this[_0x330a('0x1a')][_0x330a('0x13')][_0x330a('0x14')][_0x330a('0xc')],_0x43d5f7=_0x817fbf&&void 0x0!==_0x817fbf['forceValue']?_0x817fbf['forceValue']:!_0x3031a5[_0x330a('0x1')];let _0x4075d6=[];if(_0x43d5f7){const _0x112f98=Array[_0x330a('0xa')](_0x112b5a[_0x330a('0xb')]())['filter'](_0x32cc37=>oo(_0x32cc37)||function(_0x545076,_0x5aacba){const _0x292791=_0x5aacba[_0x330a('0x17')](_0x545076[_0x330a('0x6')],_0x330a('0x7')),_0x5b8021=_0x5aacba[_0x330a('0x17')]([_0x330a('0x3'),_0x330a('0x7')],_0x545076);return _0x292791&&_0x5b8021;}(_0x32cc37,this[_0x330a('0x1a')][_0x330a('0x13')][_0x330a('0x8')]));_0x4075d6=_0x214f15(_0x112f98,_0x30eff0[_0x330a('0x13')]);}else{const _0x5ca5db=Array[_0x330a('0xa')](_0x112b5a[_0x330a('0xb')]())['filter'](_0x22458f=>oo(_0x22458f));_0x4075d6=_0x214f15(_0x5ca5db,_0x30eff0['model']);}_0x30eff0[_0x330a('0x13')][_0x330a('0x5')](()=>{for(const _0x1aa1bd of _0x4075d6)_0x574e24[_0x330a('0xf')](_0x1aa1bd,{'commandName':_0x330a('0x7'),'commandParams':[{'forceValue':_0x43d5f7}]});});}),_0x574e24['_descriptionFactory'][_0x330a('0x12')](_0x5780fa=>{const {data:_0x5c0435}=_0x5780fa;if(_0x5c0435&&'blockQuote'==_0x5c0435['commandName']){const _0x42782a=_0x4e157c(_0x14e2be,'ELEMENT_BLOCK_QUOTE');return _0x5c0435[_0x330a('0x4')][0x0][_0x330a('0x9')]?{'type':_0x330a('0x19'),'content':_0x4e157c(_0x14e2be,'*Set\x20format:*\x20%0',_0x42782a)}:{'type':_0x330a('0x19'),'content':_0x4e157c(_0x14e2be,_0x330a('0x18'),_0x42782a)};}});}}function oo(_0x5074da){return'blockQuote'==_0x5074da[_0x330a('0x6')][_0x330a('0x10')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54ce=['ckbox','enableCommand','commands','get','TrackChangesEditing','afterInit'];(function(_0x2222e5,_0x54ce32){const _0xca52e9=function(_0x5f4774){while(--_0x5f4774){_0x2222e5['push'](_0x2222e5['shift']());}};_0xca52e9(++_0x54ce32);}(_0x54ce,0xf3));const _0xca52=function(_0x2222e5,_0x54ce32){_0x2222e5=_0x2222e5-0x0;let _0xca52e9=_0x54ce[_0x2222e5];return _0xca52e9;};import{Plugin as _0x15f45b}from'ckeditor5/src/core';export default class F extends _0x15f45b{[_0xca52('0x2')](){const _0x533724=this['editor'];_0x533724[_0xca52('0x5')][_0xca52('0x0')](_0xca52('0x3'))&&_0x533724['plugins']['get'](_0xca52('0x1'))[_0xca52('0x4')](_0xca52('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5169=['forceValue','afterInit','locale','filter','enableCommand','editor','registerElementLabel','TrackChangesEditing','parent','selection','isLimit','CodeBlock','type','languages','blockName','getSelectedBlocks','_descriptionFactory','checkChild','format','commands','*Set\x20format:*\x20%0','ELEMENT_CODE_BLOCK','value','document','model','get','config','codeBlock','language','commandName','indentCodeBlock','from','commandParams','change','rootElement','outdentCodeBlock','plugins','registerDescriptionCallback','name','has','find'];(function(_0x4d0878,_0x516988){const _0x131b93=function(_0x3c2863){while(--_0x3c2863){_0x4d0878['push'](_0x4d0878['shift']());}};_0x131b93(++_0x516988);}(_0x5169,0x1a7));const _0x131b=function(_0x4d0878,_0x516988){_0x4d0878=_0x4d0878-0x0;let _0x131b93=_0x5169[_0x4d0878];return _0x131b93;};import{Plugin as _0x53a754}from'ckeditor5/src/core';import{getTranslation as _0x4cc07d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xdb49dc}from'../utils/utils';export default class G extends _0x53a754{[_0x131b('0x1d')](){const _0x258f56=this[_0x131b('0x21')];if(!_0x258f56['plugins'][_0x131b('0x1a')](_0x131b('0x27')))return;const _0x8599a4=_0x258f56[_0x131b('0x17')][_0x131b('0xc')](_0x131b('0x23')),_0x242c47=_0x258f56[_0x131b('0x1e')],_0x30f676=_0x258f56[_0x131b('0xd')]['get'](_0x131b('0xe'))[_0x131b('0x0')],_0x11da7e=_0x258f56[_0x131b('0x6')][_0x131b('0xc')]('codeBlock');_0x8599a4[_0x131b('0x20')](_0x131b('0x11')),_0x8599a4['enableCommand'](_0x131b('0x16')),_0x8599a4[_0x131b('0x20')]('codeBlock',(_0x2f4124,_0x262c7e={})=>{const _0x25a5f2=_0x258f56[_0x131b('0xb')],_0x45627c=_0x258f56['model'][_0x131b('0xa')][_0x131b('0x25')],_0x496877=_0x262c7e&&void 0x0!==_0x262c7e['forceValue']?_0x262c7e[_0x131b('0x1c')]:!_0x11da7e[_0x131b('0x9')];let _0x2961c6;_0x262c7e[_0x131b('0xf')]||(_0x262c7e[_0x131b('0xf')]=_0x30f676[0x0]['language']),_0x2961c6=_0x496877?Array[_0x131b('0x12')](_0x45627c['getSelectedBlocks']())[_0x131b('0x1f')](_0x3725bb=>eo(_0x3725bb)||function(_0x24ab08,_0x1a0f02){if(_0x24ab08['is'](_0x131b('0x15'))||_0x1a0f02[_0x131b('0x26')](_0x24ab08))return!0x1;return _0x1a0f02[_0x131b('0x4')](_0x24ab08[_0x131b('0x24')],_0x131b('0xe'));}(_0x3725bb,_0x25a5f2['schema'])):Array['from'](_0x45627c[_0x131b('0x2')]())[_0x131b('0x1f')](_0x135fb6=>eo(_0x135fb6));const _0x346261=_0xdb49dc(_0x2961c6,_0x25a5f2);_0x25a5f2[_0x131b('0x14')](()=>{for(const _0x3214a0 of _0x346261)_0x8599a4['markBlockFormat'](_0x3214a0,{'commandName':'codeBlock','commandParams':[{..._0x262c7e,'forceValue':_0x496877}],'formatGroupId':_0x131b('0x1')});});}),(_0x8599a4['_descriptionFactory'][_0x131b('0x22')](_0x131b('0xe'),_0x3adc4e=>_0x4cc07d(_0x242c47,_0x131b('0x8'),_0x3adc4e)),_0x8599a4[_0x131b('0x3')][_0x131b('0x18')](_0x5a4b81=>{if('formatBlock'!=_0x5a4b81[_0x131b('0x28')])return;const _0x39d40a=_0x242c47['t'],{data:_0x50c0a2}=_0x5a4b81;if(!_0x50c0a2||'codeBlock'!=_0x50c0a2[_0x131b('0x10')])return;const _0x104223=_0x50c0a2[_0x131b('0x13')][0x0][_0x131b('0xf')],_0x2e3edf=_0x39d40a(_0x30f676[_0x131b('0x1b')](_0x1be77f=>_0x1be77f['language']===_0x104223)['label'])['toLowerCase']();return _0x50c0a2[_0x131b('0x13')][0x0][_0x131b('0x1c')]?{'type':_0x131b('0x5'),'content':_0x4cc07d(_0x242c47,_0x131b('0x7'),_0x4cc07d(_0x242c47,_0x131b('0x8'),0x1)+'\x20('+_0x2e3edf+')')}:{'type':'format','content':_0x4cc07d(_0x242c47,'*Remove\x20format:*\x20%0',_0x4cc07d(_0x242c47,_0x131b('0x8'),0x1))};}));}}function eo(_0x589910){return _0x131b('0xe')==_0x589910[_0x131b('0x19')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a70=['has','get','addCommentThread','plugins','afterInit','CommentsEditing'];(function(_0x51cfc3,_0x2a7021){const _0x2be405=function(_0x104bd1){while(--_0x104bd1){_0x51cfc3['push'](_0x51cfc3['shift']());}};_0x2be405(++_0x2a7021);}(_0x2a70,0x1bb));const _0x2be4=function(_0x51cfc3,_0x2a7021){_0x51cfc3=_0x51cfc3-0x0;let _0x2be405=_0x2a70[_0x51cfc3];return _0x2be405;};import{Plugin as _0x173019}from'ckeditor5/src/core';export default class L extends _0x173019{[_0x2be4('0x5')](){const _0x14ed95=this['editor'];if(!_0x14ed95[_0x2be4('0x4')][_0x2be4('0x1')](_0x2be4('0x0')))return;_0x14ed95['plugins'][_0x2be4('0x2')]('TrackChangesEditing')['enableCommand'](_0x2be4('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a19=['downcastDispatcher','showSuggestionHighlights','unit','start','delete','bind','TrackChangesEditing','detach','enqueueChange','options','remove','uiElement','removeMarker:suggestion:deletion','merge','enableCommand','unlock','setSelection','data','isCollapsed','deleteForward','createSelection','get','editing','addMarker:suggestion:deletion','selection','rootName','createRange','lock','fromRange','high','batch','getFirstRange','modifySelection','document','$graveyard','model','root','buffer','editor','markerNameToElements','markerName','end'];(function(_0x3a3f6c,_0x4a196a){const _0x3d7201=function(_0x2d1756){while(--_0x2d1756){_0x3a3f6c['push'](_0x3a3f6c['shift']());}};_0x3d7201(++_0x4a196a);}(_0x4a19,0x158));const _0x3d72=function(_0x3a3f6c,_0x4a196a){_0x3a3f6c=_0x3a3f6c-0x0;let _0x3d7201=_0x4a19[_0x3a3f6c];return _0x3d7201;};import{Plugin as _0x3946cf}from'ckeditor5/src/core';import{LiveRange as _0x350df4}from'ckeditor5/src/engine';import{Delete as _0x49ac29}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x59c6ef}from'./utils';export default class H extends _0x3946cf{static get['requires'](){return[_0x49ac29];}['init'](){const _0x26689c=this[_0x3d72('0x1e')],_0x2760dd=_0x26689c['plugins'][_0x3d72('0xd')](_0x3d72('0x28'));_0x2760dd[_0x3d72('0x6')](_0x3d72('0x26'));const _0x1883f8=_0x26689c['commands'][_0x3d72('0xd')](_0x3d72('0xb'));_0x2760dd[_0x3d72('0x6')](_0x3d72('0xb'),(_0x456960,_0x1805b0={})=>{const _0x5c85ee=_0x26689c[_0x3d72('0x1b')][_0x3d72('0xc')](_0x26689c['model'][_0x3d72('0x19')][_0x3d72('0x10')]);_0x5c85ee[_0x3d72('0xa')]&&_0x26689c[_0x3d72('0x1b')][_0x3d72('0x18')](_0x5c85ee,{'direction':'forward','unit':_0x1805b0[_0x3d72('0x24')]});const _0x31f31c=_0x5c85ee[_0x3d72('0x17')](),_0x31f566=_0x350df4[_0x3d72('0x14')](_0x31f31c);let _0x3ed516;_0x456960(_0x1805b0),_0x3ed516=_0x3d72('0x1a')==_0x31f566[_0x3d72('0x1c')][_0x3d72('0x11')]?_0x26689c[_0x3d72('0x1b')][_0x3d72('0x12')](_0x31f31c['start']):_0x26689c['model'][_0x3d72('0x12')](_0x31f566[_0x3d72('0x25')],_0x31f566['end']),_0x31f566[_0x3d72('0x29')](),_0x26689c[_0x3d72('0x1b')][_0x3d72('0x0')](_0x1883f8['buffer'][_0x3d72('0x16')],_0x34b434=>{_0x1883f8[_0x3d72('0x1d')][_0x3d72('0x13')](),_0x34b434[_0x3d72('0x8')](_0x34b434[_0x3d72('0x12')](_0x3ed516[_0x3d72('0x21')])),_0x1883f8['buffer'][_0x3d72('0x7')]();});}),_0x26689c[_0x3d72('0xe')][_0x3d72('0x22')]['on'](_0x3d72('0xf'),_0x59c6ef(_0x26689c,_0x3d72('0x5')),{'priority':_0x3d72('0x15')}),_0x26689c[_0x3d72('0x9')][_0x3d72('0x22')]['on'](_0x3d72('0xf'),(_0x7a06f6,_0x163c9c,_0xdbd0e2)=>{_0xdbd0e2[_0x3d72('0x1')][_0x3d72('0x23')]&&_0x59c6ef(_0x26689c,_0x3d72('0x5'),{'showActiveMarker':!0x1})[_0x3d72('0x27')](this)(_0x7a06f6,_0x163c9c,_0xdbd0e2);},{'priority':_0x3d72('0x15')}),_0x26689c[_0x3d72('0xe')][_0x3d72('0x22')]['on'](_0x3d72('0x4'),(_0x417072,_0x5b76c6,_0x483d8b)=>{const _0x515b1a=_0x483d8b['mapper'][_0x3d72('0x1f')](_0x5b76c6[_0x3d72('0x20')]);if(_0x515b1a)for(const _0x531ed3 of _0x515b1a)_0x531ed3['is'](_0x3d72('0x3'))&&(_0x483d8b['mapper']['unbindElementFromMarkerName'](_0x531ed3,_0x5b76c6[_0x3d72('0x20')]),_0x483d8b['writer'][_0x3d72('0x2')](_0x531ed3));},{'priority':_0x3d72('0x15')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5313=['fromRange','registerDescriptionCallback','value','refresh','multipleBlocks','createPositionAt','selection','markBlockFormat','documentList','forceValue','execute','locale','setSelection','splitListItemAfter','_suggestionFactory','mergeListItemForward','numberedList','listItemId','isObject','push','commands','_LIST','model','editor','before','type','config','getFirstRange','listType','ELEMENT_BULLETED_LIST','list.multiBlock','previousSibling','registerCustomCallback','DocumentListEditing','commandParams','from','has','afterInit','schema','outdentList','start','length','enableCommand','ELEMENT_NUMBERED_LIST','hasAttribute','slice','commandName','deletion','createRange','mergeListItemBackward','formatBlock','*Format:*\x20remove\x20from\x20%0','ELEMENT_LIST_ITEM','findIndex','splitListItemBefore','*Change\x20to:*\x20%0','bulletedList','detach','containsItem','change','indentList','TrackChangesEditing','document','nodeAfter','accept','end','listIndent','*Merge:*\x20%0','formatInline','getAttribute','get','getSelectedBlocks','getRanges','plugins','nextSibling','registerElementLabel','map','paragraph','parent','after','expandListBlocksToCompleteList','DocumentListUtils','format','*Indent:*\x20%0'];(function(_0x511d28,_0x531311){const _0xa943a7=function(_0x1751ca){while(--_0x1751ca){_0x511d28['push'](_0x511d28['shift']());}};_0xa943a7(++_0x531311);}(_0x5313,0x1b9));const _0xa943=function(_0x511d28,_0x531311){_0x511d28=_0x511d28-0x0;let _0xa943a7=_0x5313[_0x511d28];return _0xa943a7;};import{Plugin as _0x33e15d}from'ckeditor5/src/core';import{getTranslation as _0x1f18cf}from'../utils/common-translations';import{LiveRange as _0x1deeb1}from'ckeditor5/src/engine';export default class q extends _0x33e15d{[_0xa943('0x10')](){const _0x4a5040=this[_0xa943('0x2')];if(!_0x4a5040['plugins'][_0xa943('0xf')](_0xa943('0xc')))return;const _0x313662=_0x4a5040[_0xa943('0x4a')],_0x2e08b1=_0x4a5040[_0xa943('0x34')][_0xa943('0x31')](_0xa943('0x28')),_0x3388d2=_0x4a5040[_0xa943('0x34')]['get'](_0xa943('0x3c'));function _0x26745f(_0x3c96ff){return()=>{const _0x542e4a=_0x4a5040[_0xa943('0x53')][_0xa943('0x31')](_0x3c96ff);if(_0x542e4a['value']&&!_0x4a5040[_0xa943('0x5')][_0xa943('0x31')](_0xa943('0x9')))return void _0x4a5040[_0xa943('0x49')](_0xa943('0x38'),{});let _0x801ef5=Array['from'](_0x4a5040[_0xa943('0x1')][_0xa943('0x29')][_0xa943('0x45')][_0xa943('0x32')]());if(_0x1e6fbb(_0x3c96ff)){_0x801ef5=_0x3388d2[_0xa943('0x3b')](_0x801ef5);const _0x23ff29=[];for(const _0x1fea33 of _0x801ef5)_0x3388d2['isFirstBlockOfListItem'](_0x1fea33)&&_0x23ff29[_0xa943('0x52')](_0x1fea33);_0x801ef5=_0x23ff29;}_0x4a5040['model'][_0xa943('0x26')](()=>{_0x2e08b1['markMultiRangeBlockFormat'](_0x801ef5,{'commandName':_0x3c96ff,'commandParams':[{'forceValue':!_0x542e4a[_0xa943('0x41')]}],'formatGroupId':_0xa943('0x7')},[],_0xa943('0x47'));});};}function _0x152e37(_0x3802b5){return()=>{const _0x1c4270=function(_0x307fe8){let _0x4a571e=Array[_0xa943('0xe')](_0x307fe8);const _0x3f8550=_0x4a571e[_0xa943('0x20')](_0x26e2cc=>!_0x26e2cc[_0xa943('0x17')]('listItemId'));return _0x3f8550>-0x1&&(_0x4a571e=_0x4a571e[_0xa943('0x18')](0x0,_0x3f8550)),_0x4a571e;}(_0x4a5040[_0xa943('0x1')][_0xa943('0x29')][_0xa943('0x45')][_0xa943('0x32')]()),_0x539016=_0x1c4270[_0x1c4270[_0xa943('0x14')]-0x1],_0x52a5ca=_0x4a5040['model'][_0xa943('0x11')][_0xa943('0x51')](_0x539016)?_0xa943('0x3a'):'end',_0x51708b=_0x4a5040[_0xa943('0x1')][_0xa943('0x1b')](_0x4a5040['model'][_0xa943('0x44')](_0x1c4270[0x0],_0xa943('0x3')),_0x4a5040['model']['createPositionAt'](_0x539016,_0x52a5ca));_0x4a5040[_0xa943('0x1')][_0xa943('0x26')](()=>{_0x2e08b1[_0xa943('0x46')](_0x51708b,{'commandName':_0x3802b5,'commandParams':[],'formatGroupId':'listType'},function(_0x142d9d){const _0x11a75e=new Set();for(const _0x40b308 of _0x142d9d){let _0x587fed=_0x40b308[_0xa943('0x35')];for(;_0x587fed&&_0x587fed[_0xa943('0x30')](_0xa943('0x2d'))>_0x40b308[_0xa943('0x30')](_0xa943('0x2d'));)_0x11a75e['add'](_0x587fed),_0x587fed=_0x587fed['nextSibling'];}return Array[_0xa943('0xe')](_0x11a75e);}(_0x1c4270));});};}function _0x114425(_0x3d7c9b){return()=>{const _0x2955dc=_0x4a5040[_0xa943('0x1')][_0xa943('0x29')]['selection'][_0xa943('0x32')]()['next']()[_0xa943('0x41')],_0x3781f9=_0x4a5040[_0xa943('0x1')][_0xa943('0x44')](_0x2955dc,_0xa943('0x3')),_0x58bb16=_0x4a5040[_0xa943('0x1')]['createPositionAt'](_0x2955dc,0x0),_0xff0624=_0x4a5040['model']['createRange'](_0x3781f9,_0x58bb16);_0x4a5040[_0xa943('0x1')]['change'](()=>{_0x2e08b1[_0xa943('0x46')](_0xff0624,{'commandName':_0x3d7c9b,'commandParams':[],'formatGroupId':'listType'});});};}function _0x1e6fbb(_0x1f7334){const _0x866164=_0x4a5040[_0xa943('0x53')][_0xa943('0x31')](_0xa943('0x23'))['value'],_0x8c417c=_0x4a5040[_0xa943('0x53')]['get']('numberedList')[_0xa943('0x41')];return _0xa943('0x4f')===_0x1f7334?_0x866164:_0x8c417c;}_0x2e08b1['enableCommand'](_0xa943('0x4f'),_0x26745f(_0xa943('0x4f'))),_0x2e08b1['enableCommand'](_0xa943('0x23'),_0x26745f(_0xa943('0x23'))),_0x2e08b1[_0xa943('0x15')](_0xa943('0x27'),_0x152e37(_0xa943('0x27'))),_0x2e08b1[_0xa943('0x15')]('outdentList',_0x152e37(_0xa943('0x12'))),_0x2e08b1[_0xa943('0x15')]('splitListItemAfter',_0x114425(_0xa943('0x4c'))),_0x2e08b1[_0xa943('0x15')](_0xa943('0x21'),_0x114425(_0xa943('0x21'))),_0x2e08b1['_descriptionFactory'][_0xa943('0x36')](function(_0x1468b1){const _0x261375=!_0x4a5040['model'][_0xa943('0x11')][_0xa943('0x51')](_0x1468b1),_0x242c31=_0x1468b1[_0xa943('0xa')],_0x11eadd=_0x1468b1[_0xa943('0x35')],_0x1bbce2=_0x1468b1[_0xa943('0x30')](_0xa943('0x50')),_0x3ebf94=!_0x242c31||_0x242c31[_0xa943('0x30')](_0xa943('0x50'))!==_0x1bbce2,_0x1953c2=!_0x11eadd||_0x11eadd[_0xa943('0x30')](_0xa943('0x50'))!==_0x1bbce2;return _0x261375&&Boolean(_0x1bbce2)&&_0x3ebf94&&_0x1953c2;},_0x173288=>_0x1f18cf(_0x313662,'ELEMENT_LIST_ITEM',_0x173288)),_0x2e08b1['_descriptionFactory'][_0xa943('0x40')](function(_0x5f0129){if(_0xa943('0x1d')!=_0x5f0129[_0xa943('0x4')]&&_0xa943('0x2f')!=_0x5f0129[_0xa943('0x4')])return;const {data:_0x7061d5}=_0x5f0129;if(!_0x7061d5)return;let _0x23429e,_0x3885e2,_0x604bf5,_0x1cab69;switch(_0x7061d5['commandName']){case'bulletedList':_0x604bf5=_0x7061d5[_0xa943('0xd')][0x0]['forceValue'],_0x1cab69=_0x1e6fbb(_0x7061d5[_0xa943('0x19')]),_0x23429e=_0x604bf5?'*Format:*\x20insert\x20into\x20%0':_0xa943('0x1e'),!_0x1cab69&&_0x4a5040[_0xa943('0x5')][_0xa943('0x31')](_0xa943('0x9'))||(_0x23429e='*Change\x20to:*\x20%0'),_0x3885e2={'type':_0xa943('0x3d'),'content':_0x1f18cf(_0x313662,_0x23429e,_0x1f18cf(_0x313662,_0xa943('0x8')))};break;case _0xa943('0x4f'):_0x604bf5=_0x7061d5[_0xa943('0xd')][0x0][_0xa943('0x48')],_0x1cab69=_0x1e6fbb(_0x7061d5['commandName']),_0x23429e=_0x604bf5?'*Format:*\x20insert\x20into\x20%0':_0xa943('0x1e'),!_0x1cab69&&_0x4a5040[_0xa943('0x5')][_0xa943('0x31')](_0xa943('0x9'))||(_0x23429e=_0xa943('0x22')),_0x3885e2={'type':'format','content':_0x1f18cf(_0x313662,_0x23429e,_0x1f18cf(_0x313662,_0xa943('0x16')))};break;case _0xa943('0x27'):_0x23429e=_0xa943('0x3e'),_0x3885e2={'type':_0xa943('0x3d'),'content':_0x1f18cf(_0x313662,_0x23429e,_0x1f18cf(_0x313662,_0xa943('0x1f')))};break;case _0xa943('0x12'):_0x23429e=function(_0x15d87c){const _0x129450=_0x15d87c[_0xa943('0x6')]();let _0x1b54cf=_0x129450['start'][_0xa943('0x2a')];for(;_0x1b54cf&&_0x129450[_0xa943('0x25')](_0x1b54cf);){if(_0x1b54cf[_0xa943('0x30')](_0xa943('0x2d'))>0x0)return!0x1;_0x1b54cf=_0x1b54cf['nextSibling'];}return!0x0;}(_0x5f0129)?_0x1f18cf(_0x313662,_0xa943('0x1e'),_0x1f18cf(_0x313662,function(_0x59f943){const _0x50995a=_0x59f943[_0xa943('0x6')]()['start'][_0xa943('0x2a')];return'ELEMENT_'+_0x50995a[_0xa943('0x30')]('listType')['toUpperCase']()+_0xa943('0x0');}(_0x5f0129))):_0x1f18cf(_0x313662,'*Outdent:*\x20%0',_0x1f18cf(_0x313662,_0xa943('0x1f'))),_0x3885e2={'type':_0xa943('0x3d'),'content':_0x23429e};break;case _0xa943('0x1c'):case _0xa943('0x4e'):!0x1===_0x7061d5[_0xa943('0x43')]&&(_0x23429e=_0xa943('0x2e'),_0x3885e2={'type':_0xa943('0x1a'),'content':_0x1f18cf(_0x313662,_0x23429e,_0x1f18cf(_0x313662,_0xa943('0x1f')))});}return _0x3885e2;}),_0x2e08b1[_0xa943('0x4d')][_0xa943('0xb')](_0xa943('0x1d'),_0xa943('0x47'),_0xa943('0x2b'),function(_0x41b720,_0x5708f4){const _0x4edc87=[];for(let _0x471052 of _0x41b720)_0x471052[_0xa943('0x13')][_0xa943('0x2a')]===_0x471052[_0xa943('0x2c')][_0xa943('0x39')]&&(_0x471052=_0x4a5040[_0xa943('0x1')][_0xa943('0x1b')](_0x4a5040[_0xa943('0x1')][_0xa943('0x44')](_0x471052[_0xa943('0x13')][_0xa943('0x2a')],0x0))),_0x4edc87[_0xa943('0x52')](_0x471052);_0x4a5040[_0xa943('0x1')][_0xa943('0x26')](_0x4cecdc=>{const _0x5b9143=_0x4a5040[_0xa943('0x1')][_0xa943('0x29')][_0xa943('0x45')],_0x877f8d=Array['from'](_0x5b9143[_0xa943('0x33')]())[_0xa943('0x37')](_0x23eaaf=>_0x1deeb1[_0xa943('0x3f')](_0x23eaaf));_0x4cecdc['setSelection'](_0x4edc87),_0x4a5040[_0xa943('0x53')][_0xa943('0x31')](_0x5708f4[_0xa943('0x19')])[_0xa943('0x42')](),_0x5708f4[_0xa943('0xd')][_0xa943('0x52')]({'forceDefaultExecution':!0x0}),_0x4a5040[_0xa943('0x49')](_0x5708f4[_0xa943('0x19')],..._0x5708f4['commandParams']),_0x4cecdc[_0xa943('0x4b')](_0x877f8d);for(const _0x5c2d0f of _0x877f8d)_0x5c2d0f[_0xa943('0x24')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9605=['selection','_getTranslationKeyForListStyle','push','commandParams','ELEMENT_','editor','plugins','has','*Change\x20to:*\x20%0','format','markMultiRangeBlockFormat','length','getAttribute','listStart','from','get','toUpperCase','registerDescriptionCallback','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','filter','document','reversed','listType','locale','numbered','_getSuggestionBlocksForListStyle','DocumentListPropertiesUtils','getSelectedBlocks','handleListReversedCommand','DocumentListUtils','isListItemBlock','listStyle','type','config','enableCommand','styles','listReversed','bind','afterInit','_LIST_','expandListBlocksToCompleteList','model','handleListStyleCommand','_getSuggestionBlocks','formatBlock','TrackChangesEditing','DocumentListPropertiesEditing','change','handleListStartCommand','commandName'];(function(_0x157bdf,_0x96052b){const _0x2d94ce=function(_0x23b577){while(--_0x23b577){_0x157bdf['push'](_0x157bdf['shift']());}};_0x2d94ce(++_0x96052b);}(_0x9605,0xbe));const _0x2d94=function(_0x157bdf,_0x96052b){_0x157bdf=_0x157bdf-0x0;let _0x2d94ce=_0x9605[_0x157bdf];return _0x2d94ce;};import{Plugin as _0x54b6f3}from'ckeditor5/src/core';import{getTranslation as _0x409416}from'../utils/common-translations';export default class z extends _0x54b6f3{[_0x2d94('0x2')](){if(!this[_0x2d94('0x13')][_0x2d94('0x14')][_0x2d94('0x15')](_0x2d94('0xa')))return;const _0x184567=this[_0x2d94('0x13')][_0x2d94('0x30')][_0x2d94('0x1d')]('list.properties'),_0x5e3ea9=this[_0x2d94('0x13')]['plugins'][_0x2d94('0x1d')](_0x2d94('0x9'));_0x184567[_0x2d94('0x32')]&&_0x5e3ea9[_0x2d94('0x31')](_0x2d94('0x2e'),this[_0x2d94('0x6')][_0x2d94('0x1')](this)),_0x184567[_0x2d94('0x24')]&&_0x5e3ea9['enableCommand']('listReversed',this['handleListReversedCommand'][_0x2d94('0x1')](this)),_0x184567[_0x2d94('0x21')]&&_0x5e3ea9[_0x2d94('0x31')](_0x2d94('0x1b'),this[_0x2d94('0xc')][_0x2d94('0x1')](this)),_0x5e3ea9['_descriptionFactory'][_0x2d94('0x1f')](this['handleDescriptions']['bind'](this));}[_0x2d94('0x6')](_0x158ae3,_0x321e10={}){const _0xc1e8b7=this[_0x2d94('0x13')][_0x2d94('0x14')][_0x2d94('0x1d')](_0x2d94('0x9')),_0x5d40f8=this[_0x2d94('0x28')]();this[_0x2d94('0x13')]['model'][_0x2d94('0xb')](()=>{_0xc1e8b7[_0x2d94('0x18')](_0x5d40f8,{'commandName':_0x2d94('0x2e'),'commandParams':[{'type':_0x321e10[_0x2d94('0x2f')]}],'formatGroupId':_0x2d94('0x2e')});});}[_0x2d94('0x2b')](_0x121e35,_0x3dc8c7={}){const _0xa32297=this[_0x2d94('0x13')][_0x2d94('0x14')][_0x2d94('0x1d')](_0x2d94('0x9')),_0x5f3075=this[_0x2d94('0x13')][_0x2d94('0x14')][_0x2d94('0x1d')](_0x2d94('0x2c')),_0x4cd844=this[_0x2d94('0x7')](_0x40b360=>_0x5f3075[_0x2d94('0x2d')](_0x40b360)&&'numbered'===_0x40b360[_0x2d94('0x1a')](_0x2d94('0x25')));null!==_0x4cd844&&this[_0x2d94('0x13')][_0x2d94('0x5')][_0x2d94('0xb')](()=>{_0xa32297[_0x2d94('0x18')](_0x4cd844,{'commandName':_0x2d94('0x0'),'commandParams':[{'reversed':_0x3dc8c7[_0x2d94('0x24')]}],'formatGroupId':'listReversed'});});}[_0x2d94('0xc')](_0x4c98cb,_0x3ac755={}){const _0x5de4da=this[_0x2d94('0x13')]['plugins']['get'](_0x2d94('0x9')),_0x1bc6fa=this['editor']['plugins'][_0x2d94('0x1d')](_0x2d94('0x2c')),_0x52c17b=this[_0x2d94('0x7')](_0x3828d0=>_0x1bc6fa[_0x2d94('0x2d')](_0x3828d0)&&_0x2d94('0x27')===_0x3828d0[_0x2d94('0x1a')]('listType'));null!==_0x52c17b&&this[_0x2d94('0x13')][_0x2d94('0x5')][_0x2d94('0xb')](()=>{_0x5de4da['markMultiRangeBlockFormat'](_0x52c17b,{'commandName':_0x2d94('0x1b'),'commandParams':[{'startIndex':_0x3ac755[_0x2d94('0x21')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x29bc44){if(_0x2d94('0x8')!=_0x29bc44[_0x2d94('0x2f')]&&'formatInline'!=_0x29bc44[_0x2d94('0x2f')])return;const _0x33aae7=this[_0x2d94('0x13')][_0x2d94('0x26')],{data:_0x3b977a}=_0x29bc44;if(!_0x3b977a)return;let _0x445624,_0x1c3428;switch(_0x3b977a[_0x2d94('0xd')]){case'listStyle':_0x445624=_0x2d94('0x16'),_0x1c3428={'type':_0x2d94('0x17'),'content':_0x409416(_0x33aae7,_0x445624,_0x409416(_0x33aae7,this['_getTranslationKeyForListStyle'](_0x3b977a['commandParams'][0x0]['type'])))};break;case _0x2d94('0x0'):_0x445624=_0x3b977a[_0x2d94('0x11')][0x0][_0x2d94('0x24')]?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x1c3428={'type':_0x2d94('0x17'),'content':_0x409416(_0x33aae7,_0x445624)};break;case _0x2d94('0x1b'):_0x445624=_0x2d94('0x20'),_0x1c3428={'type':_0x2d94('0x17'),'content':_0x409416(_0x33aae7,_0x445624,_0x3b977a[_0x2d94('0x11')][0x0][_0x2d94('0x21')])};}return _0x1c3428;}[_0x2d94('0x28')](){const _0x338f18=this[_0x2d94('0x13')]['plugins'][_0x2d94('0x1d')](_0x2d94('0x2c'));let _0x3ccf22=Array['from'](this[_0x2d94('0x13')][_0x2d94('0x5')]['document'][_0x2d94('0xe')][_0x2d94('0x2a')]());return _0x3ccf22['push'](..._0x338f18[_0x2d94('0x4')](_0x3ccf22)),_0x3ccf22=[...new Set(_0x3ccf22)],_0x3ccf22;}[_0x2d94('0x7')](_0x30a51d){const _0x764896=this[_0x2d94('0x13')][_0x2d94('0x14')][_0x2d94('0x1d')](_0x2d94('0x2c'));let _0x265622=Array[_0x2d94('0x1c')](this[_0x2d94('0x13')][_0x2d94('0x5')][_0x2d94('0x23')][_0x2d94('0xe')][_0x2d94('0x2a')]())[_0x2d94('0x22')](_0x30a51d);if(!_0x265622[_0x2d94('0x19')])return null;_0x265622=_0x764896[_0x2d94('0x4')](_0x265622);const _0x14d2b3=[];for(const _0x48db27 of _0x265622)_0x764896['isFirstBlockOfListItem'](_0x48db27)&&_0x14d2b3[_0x2d94('0x10')](_0x48db27);return _0x14d2b3;}[_0x2d94('0xf')](_0x3e7d63){return _0x2d94('0x12')+this['editor']['plugins'][_0x2d94('0x1d')](_0x2d94('0x29'))['getListTypeFromListStyleType'](_0x3e7d63)[_0x2d94('0x1e')]()+_0x2d94('0x3')+_0x3e7d63[_0x2d94('0x1e')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26ca=['enter','parent','setSelection','high','markerNameToElements','nextSibling','selection','markerName','downcastDispatcher','afterExecute','enableCommand','mapper','hasClass','editing','end','get','getFirstRange','createRange','fromRange','detach','addMarker:suggestion:insertion','getFirstPosition','model','commands','document','markInsertion','options','unbindElementFromMarkerName','split','requires','change','bind','createPositionAt','remove','TrackChangesEditing'];(function(_0x189897,_0x26ca5e){const _0x2e05c4=function(_0x50bc15){while(--_0x50bc15){_0x189897['push'](_0x189897['shift']());}};_0x2e05c4(++_0x26ca5e);}(_0x26ca,0xcb));const _0x2e05=function(_0x189897,_0x26ca5e){_0x189897=_0x189897-0x0;let _0x2e05c4=_0x26ca[_0x189897];return _0x2e05c4;};import{Plugin as _0x4d768b}from'ckeditor5/src/core';import{Enter as _0x598ebf}from'ckeditor5/src/enter';import{LiveRange as _0xa09277}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x15861a}from'./utils';export default class K extends _0x4d768b{static get[_0x2e05('0x1')](){return[_0x598ebf];}['init'](){const _0x1fee3e=this['editor'],_0xc11473=_0x1fee3e['plugins']['get'](_0x2e05('0x6')),_0x2dcad4=_0x1fee3e[_0x2e05('0x1e')][_0x2e05('0x16')](_0x2e05('0x7'));_0xc11473[_0x2e05('0x11')](_0x2e05('0x7'),()=>{_0x1fee3e[_0x2e05('0x1d')][_0x2e05('0x2')](_0x2c7ec4=>{const _0x3a3d48=_0x1fee3e['model'][_0x2e05('0x1f')][_0x2e05('0xd')],_0x4ce83f=_0x3a3d48[_0x2e05('0x1c')](),_0x152a6a=_0xa09277[_0x2e05('0x19')](_0x3a3d48[_0x2e05('0x17')]());if(_0x2dcad4['enterBlock'](_0x2c7ec4)){const _0x5e85a9=_0x1fee3e[_0x2e05('0x1d')][_0x2e05('0x4')](_0x4ce83f[_0x2e05('0x8')][_0x2e05('0xc')],0x0),_0x2c16f3=_0x2c7ec4[_0x2e05('0x18')](_0x4ce83f,_0x5e85a9);_0xc11473[_0x2e05('0x20')](_0x2c16f3);}else _0x2c7ec4[_0x2e05('0x9')](_0x2c7ec4[_0x2e05('0x18')](_0x152a6a[_0x2e05('0x15')]));_0x152a6a[_0x2e05('0x1a')](),_0x2dcad4['fire'](_0x2e05('0x10'),{'writer':_0x2c7ec4});});}),_0x1fee3e[_0x2e05('0x14')][_0x2e05('0xf')]['on'](_0x2e05('0x1b'),_0x15861a(_0x1fee3e,_0x2e05('0x0')),{'priority':_0x2e05('0xa')}),_0x1fee3e[_0x2e05('0x14')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x421814,_0x1a7d17,_0x26a06c)=>{const _0x97415d=_0x26a06c[_0x2e05('0x12')][_0x2e05('0xb')](_0x1a7d17['markerName']);if(_0x97415d)for(const _0x39c677 of _0x97415d)_0x39c677[_0x2e05('0x13')]('ck-suggestion-marker-split')&&(_0x26a06c[_0x2e05('0x12')][_0x2e05('0x22')](_0x39c677,_0x1a7d17[_0x2e05('0xe')]),_0x26a06c['writer'][_0x2e05('0x5')](_0x39c677));},{'priority':'high'}),_0x1fee3e['data'][_0x2e05('0xf')]['on'](_0x2e05('0x1b'),(_0x2df835,_0x54ca41,_0x406be9)=>{_0x406be9[_0x2e05('0x21')]['showSuggestionHighlights']&&_0x15861a(_0x1fee3e,_0x2e05('0x0'),{'showActiveMarker':!0x1})[_0x2e05('0x3')](this)(_0x2df835,_0x54ca41,_0x406be9);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x500c=['handleFindCommand','plugins','findByTextCallback','editor','getIntersection','afterInit','getRange','_isInDeletionRange','model','has','start','replaceAll','enableCommand','filter','markers','FindAndReplaceEditing','end','createPositionAt','findNext','FindAndReplaceUtils','replace','bind','getMarkersGroup','TrackChangesEditing','get','suggestion:deletion','findPrevious'];(function(_0xdd0e2a,_0x500c6f){const _0x550e73=function(_0x391f52){while(--_0x391f52){_0xdd0e2a['push'](_0xdd0e2a['shift']());}};_0x550e73(++_0x500c6f);}(_0x500c,0x9e));const _0x550e=function(_0xdd0e2a,_0x500c6f){_0xdd0e2a=_0xdd0e2a-0x0;let _0x550e73=_0x500c[_0xdd0e2a];return _0x550e73;};import{Plugin as _0x45b4d5}from'ckeditor5/src/core';export default class W extends _0x45b4d5{[_0x550e('0x9')](){if(!this[_0x550e('0x7')][_0x550e('0x5')][_0x550e('0xd')](_0x550e('0x13')))return;const _0x3f2f2e=this[_0x550e('0x7')]['plugins'][_0x550e('0x1')](_0x550e('0x0'));_0x3f2f2e[_0x550e('0x10')]('find',this[_0x550e('0x4')][_0x550e('0x19')](this)),_0x3f2f2e[_0x550e('0x10')](_0x550e('0x16')),_0x3f2f2e[_0x550e('0x10')](_0x550e('0x3')),_0x3f2f2e[_0x550e('0x10')](_0x550e('0x18')),_0x3f2f2e[_0x550e('0x10')](_0x550e('0xf'));}['handleFindCommand'](_0x26e5d9,_0x3ce361,_0x202a5b={}){const _0x4b65c1=this['editor'][_0x550e('0x5')][_0x550e('0x1')](_0x550e('0x17'));if(void 0x0!==_0x202a5b)return _0x26e5d9(_0x14222c=>('string'==typeof _0x3ce361?_0x4b65c1[_0x550e('0x6')](_0x3ce361,_0x202a5b):_0x3ce361)(_0x14222c)[_0x550e('0x11')](_0x44220e=>!0x1===this[_0x550e('0xb')](_0x44220e,_0x14222c['item'])),_0x202a5b);}[_0x550e('0xb')](_0x2982e3,_0x2d1c30){const _0x16b190=this[_0x550e('0x7')][_0x550e('0xc')]['createRange'](this[_0x550e('0x7')][_0x550e('0xc')]['createPositionAt'](_0x2d1c30,_0x2982e3[_0x550e('0xe')]),this[_0x550e('0x7')][_0x550e('0xc')][_0x550e('0x15')](_0x2d1c30,_0x2982e3[_0x550e('0x14')]));for(const _0x3de3e9 of this[_0x550e('0x7')]['model'][_0x550e('0x12')][_0x550e('0x1a')](_0x550e('0x2')))if(null!==_0x16b190[_0x550e('0x8')](_0x3de3e9[_0x550e('0xa')]()))return!0x0;return!0x1;}}
|