@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230726.0 → 0.0.0-nightly-20230728.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/build/translations/gl.js +1 -1
- package/build/translations/sq.js +1 -0
- package/lang/translations/gl.po +23 -23
- package/lang/translations/sq.po +487 -0
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1693=['isEnabled','getRanges','refresh','TrackChangesEditing','canEditAt','acceptSuggestion','editor','_suggestions','model','plugins','track-changes-accept-suggestion-not-found','get'];(function(_0x451f9c,_0x1693e0){const _0x520ce6=function(_0x96be29){while(--_0x96be29){_0x451f9c['push'](_0x451f9c['shift']());}};_0x520ce6(++_0x1693e0);}(_0x1693,0x186));const _0x520c=function(_0x451f9c,_0x1693e0){_0x451f9c=_0x451f9c-0x0;let _0x520ce6=_0x1693[_0x451f9c];return _0x520ce6;};import{Command as _0x5c09cb}from'ckeditor5/src/core';import{CKEditorError as _0x335611}from'ckeditor5/src/utils';export default class M extends _0x5c09cb{constructor(_0x52940a,_0x349e6b){super(_0x52940a),this[_0x520c('0x1')]=_0x349e6b,this[_0x520c('0x8')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x520c('0x8')](){this[_0x520c('0x6')]=!0x0;}['execute'](_0x4df859){const _0x40a6f3=this[_0x520c('0x1')][_0x520c('0x5')](_0x4df859);if(!_0x40a6f3)throw new _0x335611(_0x520c('0x4'),this);const _0x2361cc=_0x40a6f3[_0x520c('0x7')]();this[_0x520c('0x0')][_0x520c('0x2')][_0x520c('0xa')](_0x2361cc)&&this[_0x520c('0x0')][_0x520c('0x3')][_0x520c('0x5')](_0x520c('0x9'))[_0x520c('0xb')](_0x40a6f3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d09=['execute','_isEnabledBasedOnSelection','TrackChangesEditing','getRanges','refresh','track-changes-discard-suggestion-not-found','get','isEnabled','plugins','_suggestions','canEditAt'];(function(_0x7c7e9e,_0x3d095a){const _0xa4eb55=function(_0x308af4){while(--_0x308af4){_0x7c7e9e['push'](_0x7c7e9e['shift']());}};_0xa4eb55(++_0x3d095a);}(_0x3d09,0x84));const _0xa4eb=function(_0x7c7e9e,_0x3d095a){_0x7c7e9e=_0x7c7e9e-0x0;let _0xa4eb55=_0x3d09[_0x7c7e9e];return _0xa4eb55;};import{Command as _0x450ac9}from'ckeditor5/src/core';import{CKEditorError as _0x507a56}from'ckeditor5/src/utils';export default class $ extends _0x450ac9{constructor(_0x1459d0,_0x1cb05c){super(_0x1459d0),this[_0xa4eb('0x9')]=_0x1cb05c,this[_0xa4eb('0x4')](),this[_0xa4eb('0x1')]=!0x1;}[_0xa4eb('0x4')](){this[_0xa4eb('0x7')]=!0x0;}[_0xa4eb('0x0')](_0x1916a9){const _0x17dbf4=this['_suggestions'][_0xa4eb('0x6')](_0x1916a9);if(!_0x17dbf4)throw new _0x507a56(_0xa4eb('0x5'),this);const _0x263973=_0x17dbf4[_0xa4eb('0x3')]();this['editor']['model'][_0xa4eb('0xa')](_0x263973)&&this['editor'][_0xa4eb('0x8')]['get'](_0xa4eb('0x2'))['discardSuggestion'](_0x17dbf4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e2e=['_suggestions','isInContent','editor','_isEnabledBasedOnSelection','getRanges','_command','refresh','model','canEditAt','from','execute','isEnabled','some','values'];(function(_0x2bcf81,_0x2e2ea1){const _0x3e0abf=function(_0x4746df){while(--_0x4746df){_0x2bcf81['push'](_0x2bcf81['shift']());}};_0x3e0abf(++_0x2e2ea1);}(_0x2e2e,0x11c));const _0x3e0a=function(_0x2bcf81,_0x2e2ea1){_0x2bcf81=_0x2bcf81-0x0;let _0x3e0abf=_0x2e2e[_0x2bcf81];return _0x3e0abf;};import{Command as _0x8927be}from'ckeditor5/src/core';import{sortSuggestions as _0x28ea33,executeCommandForSuggestions as _0x337aa5}from'../utils/utils';export default class N extends _0x8927be{constructor(_0x707fc,_0x19dbf9,_0x5585c0){super(_0x707fc),this[_0x3e0a('0x1')]=_0x19dbf9,this[_0x3e0a('0xa')]=_0x5585c0,this[_0x3e0a('0x2')](),this[_0x3e0a('0xd')]=!0x1;}[_0x3e0a('0x2')](){const _0x1d6f55=Array[_0x3e0a('0x5')](this[_0x3e0a('0xa')][_0x3e0a('0x9')]())[_0x3e0a('0x8')](_0x238153=>_0x238153[_0x3e0a('0xb')]);this[_0x3e0a('0x7')]=this[_0x3e0a('0x1')][_0x3e0a('0x7')]&&_0x1d6f55;}[_0x3e0a('0x6')](){const _0x18328c=_0x28ea33(Array[_0x3e0a('0x5')](this[_0x3e0a('0xa')]['values']()));for(const _0x134157 of _0x18328c){const _0x2f93c6=_0x134157[_0x3e0a('0x0')]();if(!this[_0x3e0a('0xc')][_0x3e0a('0x3')][_0x3e0a('0x4')](_0x2f93c6))return;}_0x337aa5(this['editor'][_0x3e0a('0x3')],this[_0x3e0a('0x1')],_0x18328c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f58=['model','values','_command','editor','_selectedSuggestions','isEnabled','_isEnabledBasedOnSelection','from','document','refresh','execute','size','_suggestions'];(function(_0x35b376,_0x2f58ac){const _0x2114e4=function(_0x211ede){while(--_0x211ede){_0x35b376['push'](_0x35b376['shift']());}};_0x2114e4(++_0x2f58ac);}(_0x2f58,0x145));const _0x2114=function(_0x35b376,_0x2f58ac){_0x35b376=_0x35b376-0x0;let _0x2114e4=_0x2f58[_0x35b376];return _0x2114e4;};import{Command as _0x381bbe}from'ckeditor5/src/core';import{sortSuggestions as _0x574d28,getSelectedSuggestions as _0x5e6349,executeCommandForSuggestions as _0x218e28}from'../utils/utils';export default class R extends _0x381bbe{constructor(_0x5e1f1b,_0x46b7ef,_0x17e2d4){super(_0x5e1f1b),this[_0x2114('0x2')]=_0x46b7ef,this['_suggestions']=_0x17e2d4,this[_0x2114('0x4')]=new Set(),this['refresh'](),this[_0x2114('0x6')]=!0x1;}[_0x2114('0x9')](){const _0x460c9a=this['editor'][_0x2114('0x0')][_0x2114('0x8')]['selection'],_0x5de478=Array[_0x2114('0x7')](this[_0x2114('0xc')][_0x2114('0x1')]());this['_selectedSuggestions']=_0x5e6349(_0x460c9a,_0x5de478),this[_0x2114('0x5')]=this[_0x2114('0x2')][_0x2114('0x5')]&&!!this[_0x2114('0x4')][_0x2114('0xb')];}[_0x2114('0xa')](){const _0xffb37d=_0x574d28(Array[_0x2114('0x7')](this[_0x2114('0x4')]));for(const _0x25cefe of _0xffb37d){const _0x197198=_0x25cefe['getRanges']();if(!this[_0x2114('0x3')][_0x2114('0x0')]['canEditAt'](_0x197198))return;}_0x218e28(this['editor'][_0x2114('0x0')],this['_command'],_0xffb37d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1976=['value','execute','_enabledCommands','forceDisabled','_enableCommands','_isEnabledBasedOnSelection','has','TrackChangesCommand','commands','clearForceDisabled','editor','_disableUnsupportedCommands'];(function(_0x459517,_0x19765d){const _0x5365fd=function(_0xec3d66){while(--_0xec3d66){_0x459517['push'](_0x459517['shift']());}};_0x5365fd(++_0x19765d);}(_0x1976,0x188));const _0x5365=function(_0x459517,_0x19765d){_0x459517=_0x459517-0x0;let _0x5365fd=_0x1976[_0x459517];return _0x5365fd;};import{Command as _0x4587d2}from'ckeditor5/src/core';export default class _ extends _0x4587d2{constructor(_0x21c772,_0x459eff){super(_0x21c772),this[_0x5365('0x6')]=_0x459eff,this['value']=!0x1,this['refresh'](),this[_0x5365('0x9')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x5365('0x5')](){this[_0x5365('0x4')]=!this[_0x5365('0x4')],this[_0x5365('0x4')]?this['_disableUnsupportedCommands']():this[_0x5365('0x8')]();}[_0x5365('0x3')](){for(const _0x1ef29d of this[_0x5365('0x2')][_0x5365('0x0')][_0x5365('0x0')]())_0x1ef29d['affectsData']&&!this[_0x5365('0x6')][_0x5365('0xa')](_0x1ef29d)&&_0x1ef29d[_0x5365('0x7')]('TrackChangesCommand');}[_0x5365('0x8')](){for(const _0x369197 of this[_0x5365('0x2')][_0x5365('0x0')][_0x5365('0x0')]())_0x369197['affectsData']&&!this[_0x5365('0x6')]['has'](_0x369197)&&_0x369197[_0x5365('0x1')](_0x5365('0xb'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c61=['model','FORMAT_JUSTIFY_TEXT','from','value','plugins','commandParams','locale','format','AlignmentEditing','justify','afterInit','getAttribute','left','ltr','TrackChangesEditing','change','document','filter','get','contentLanguageDirection','enableCommand','FORMAT_ALIGN_TO_RIGHT','selection','commandName','editor','FORMAT_ALIGN_TO_CENTER','_descriptionFactory','checkAttribute','center','markBlockFormat','alignment','schema'];(function(_0x13eef1,_0x1c61c9){const _0x5170da=function(_0x51799c){while(--_0x51799c){_0x13eef1['push'](_0x13eef1['shift']());}};_0x5170da(++_0x1c61c9);}(_0x1c61,0xb7));const _0x5170=function(_0x13eef1,_0x1c61c9){_0x13eef1=_0x13eef1-0x0;let _0x5170da=_0x1c61[_0x13eef1];return _0x5170da;};import{Plugin as _0x30be3a}from'ckeditor5/src/core';import{getTranslation as _0x226253}from'../utils/common-translations';export default class x extends _0x30be3a{[_0x5170('0x13')](){const _0x2794e7=this[_0x5170('0x1')],_0x223e84=_0x2794e7[_0x5170('0xf')];if(!_0x2794e7['plugins']['has'](_0x5170('0x11')))return;const _0x569944=_0x2794e7[_0x5170('0xd')][_0x5170('0x1b')](_0x5170('0x17'));_0x569944[_0x5170('0x1d')](_0x5170('0x7'),(_0x5b963f,_0x21467c={})=>{let _0x4da6b0=_0x21467c[_0x5170('0xc')];_0x21467c[_0x5170('0xc')]||(_0x4da6b0=_0x5170('0x16')===_0x2794e7[_0x5170('0xf')][_0x5170('0x1c')]?_0x5170('0x15'):'right');const _0x5cde1e=Array[_0x5170('0xb')](this[_0x5170('0x1')]['model'][_0x5170('0x19')][_0x5170('0x1f')]['getSelectedBlocks']())[_0x5170('0x1a')](_0x2e3ff4=>function(_0xec0b4e,_0x5c3ebd,_0x3dc046){const _0x30b549=_0xec0b4e[_0x5170('0x14')]('alignment')||null;return _0x5c3ebd[_0x5170('0x4')](_0xec0b4e,_0x5170('0x7'))&&_0x3dc046!=_0x30b549;}(_0x2e3ff4,this['editor'][_0x5170('0x9')][_0x5170('0x8')],_0x4da6b0));_0x2794e7['model'][_0x5170('0x18')](()=>{for(const _0x2671b0 of _0x5cde1e)_0x569944[_0x5170('0x6')](_0x2671b0,{'commandName':_0x5170('0x7'),'commandParams':[{'value':_0x4da6b0}]});});}),_0x569944[_0x5170('0x3')]['registerDescriptionCallback'](_0x4e83e0=>{const {data:_0x453dbf}=_0x4e83e0;if(_0x453dbf&&'alignment'==_0x453dbf[_0x5170('0x0')]){const _0x11bf56=_0x453dbf[_0x5170('0xe')][0x0]['value'];return{'type':_0x5170('0x10'),'content':_0x226253(_0x223e84,'*Format:*\x20%0',function(_0x4891ac){switch(_0x4891ac){case _0x5170('0x15'):return _0x226253(_0x223e84,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x226253(_0x223e84,_0x5170('0x1e'));case _0x5170('0x5'):return _0x226253(_0x223e84,_0x5170('0x2'));case _0x5170('0x12'):return _0x226253(_0x223e84,_0x5170('0xa'));}}(_0x11bf56))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x229c=['FORMAT_SUPERSCRIPT','change','locale','FORMAT_UNDERLINE','FORMAT_ITALIC','BoldEditing','TrackChangesEditing','FORMAT_SUBSCRIPT','selection','SuperscriptEditing','SubscriptEditing','registerDescriptionCallback','commandParams','italic','from','subscript','editor','forceValue','code','FORMAT_STRIKETHROUGH','get','document','afterInit','FORMAT_BOLD','enableCommand','bold','has','commandName','_descriptionFactory','UnderlineEditing','getRanges','commands','CodeEditing','markInlineFormat','format','superscript','model','toLowerCase','value','plugins','underline','FORMAT_CODE'];(function(_0x384a12,_0x229cea){const _0x22f57d=function(_0x172ef3){while(--_0x172ef3){_0x384a12['push'](_0x384a12['shift']());}};_0x22f57d(++_0x229cea);}(_0x229c,0x150));const _0x22f5=function(_0x384a12,_0x229cea){_0x384a12=_0x384a12-0x0;let _0x22f57d=_0x229c[_0x384a12];return _0x22f57d;};import{Plugin as _0xd4c543}from'ckeditor5/src/core';import{getTranslation as _0x30b600}from'../utils/common-translations';import{getRangesWithAttribute as _0xdf0bfc}from'./utils';const Kt=[_0x22f5('0x5'),'ItalicEditing',_0x22f5('0x1d'),_0x22f5('0x20'),'StrikethroughEditing',_0x22f5('0xa'),_0x22f5('0x9')];export default class U extends _0xd4c543{[_0x22f5('0x16')](){const _0x47d20e=this[_0x22f5('0x10')],_0x1fb6ad=_0x47d20e[_0x22f5('0x24')],_0x370fc4=_0x47d20e['plugins'][_0x22f5('0x14')](_0x22f5('0x6')),_0x3ae0d=_0x47d20e[_0x22f5('0x2')];for(const _0x372088 of Kt){if(!_0x47d20e[_0x22f5('0x27')][_0x22f5('0x1a')](_0x372088))continue;const _0x25ae3f=_0x372088['slice'](0x0,-0x7)[_0x22f5('0x25')](),_0x348319=_0x47d20e[_0x22f5('0x1f')][_0x22f5('0x14')](_0x25ae3f);_0x370fc4[_0x22f5('0x18')](_0x25ae3f,(_0x545e17,_0x3f468a={})=>{const _0x20bbc7=_0x1fb6ad[_0x22f5('0x15')][_0x22f5('0x8')];if(_0x20bbc7['isCollapsed'])return void _0x545e17(_0x3f468a);const _0x311521=void 0x0!==_0x3f468a['forceValue']?_0x3f468a[_0x22f5('0x11')]:!_0x348319[_0x22f5('0x26')];_0x1fb6ad[_0x22f5('0x1')](()=>{const _0x5e56b7=Array[_0x22f5('0xe')](_0x20bbc7[_0x22f5('0x1e')]());for(const _0x5cbbec of _0x5e56b7){const _0x132dbc=_0x311521?[_0x5cbbec]:_0xdf0bfc(_0x25ae3f,_0x5cbbec,_0x1fb6ad);for(const _0x88d613 of _0x132dbc)_0x370fc4[_0x22f5('0x21')](_0x88d613,{'commandName':_0x25ae3f,'commandParams':[{'forceValue':_0x311521}]});}});});}function _0x4e0fe6(_0x14ba0b,_0x4f62e8){_0x370fc4[_0x22f5('0x1c')][_0x22f5('0xb')](_0x25b33b=>{const {data:_0x1f165e}=_0x25b33b;if(_0x1f165e&&_0x1f165e[_0x22f5('0x1b')]===_0x14ba0b)return _0x1f165e[_0x22f5('0xc')][0x0][_0x22f5('0x11')]?{'type':_0x22f5('0x22'),'content':_0x30b600(_0x3ae0d,'*Format:*\x20%0',_0x4f62e8)}:{'type':'format','content':_0x30b600(_0x3ae0d,'*Remove\x20format:*\x20%0',_0x4f62e8)};});}_0x4e0fe6(_0x22f5('0x19'),_0x30b600(_0x3ae0d,_0x22f5('0x17'))),_0x4e0fe6(_0x22f5('0xd'),_0x30b600(_0x3ae0d,_0x22f5('0x4'))),_0x4e0fe6(_0x22f5('0x28'),_0x30b600(_0x3ae0d,_0x22f5('0x3'))),_0x4e0fe6(_0x22f5('0x12'),_0x30b600(_0x3ae0d,_0x22f5('0x29'))),_0x4e0fe6('strikethrough',_0x30b600(_0x3ae0d,_0x22f5('0x13'))),_0x4e0fe6(_0x22f5('0xf'),_0x30b600(_0x3ae0d,_0x22f5('0x7'))),_0x4e0fe6(_0x22f5('0x23'),_0x30b600(_0x3ae0d,_0x22f5('0x0')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b2=['enableCommand','plugins','TrackChangesEditing','$root','_descriptionFactory','BlockQuoteEditing','change','format','*Format:*\x20%0','get','selection','editor','forceValue','commandName','document','name','model','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','has','blockQuote','value','parent','afterInit','*Remove\x20format:*\x20%0','filter','locale','schema','markBlockFormat','from'];(function(_0x58a150,_0x12b2db){const _0x49ef97=function(_0x509009){while(--_0x509009){_0x58a150['push'](_0x58a150['shift']());}};_0x49ef97(++_0x12b2db);}(_0x12b2,0x7b));const _0x49ef=function(_0x58a150,_0x12b2db){_0x58a150=_0x58a150-0x0;let _0x49ef97=_0x12b2[_0x58a150];return _0x49ef97;};import{Plugin as _0x21b843}from'ckeditor5/src/core';import{getTranslation as _0x38f694}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xa1f4c0}from'../utils/utils';export default class j extends _0x21b843{[_0x49ef('0x14')](){const _0x471152=this['editor'],_0x379dde=_0x471152[_0x49ef('0x17')];if(!_0x471152[_0x49ef('0x1c')][_0x49ef('0x10')](_0x49ef('0x2')))return;const _0x344cf4=_0x471152[_0x49ef('0x1c')][_0x49ef('0x6')](_0x49ef('0x1d')),_0x36e40f=this[_0x49ef('0x8')]['commands']['get']('blockQuote');_0x344cf4[_0x49ef('0x1b')](_0x49ef('0x11'),(_0x2023b4,_0x1ece3f={})=>{const _0x1e8883=this[_0x49ef('0x8')][_0x49ef('0xd')][_0x49ef('0xb')][_0x49ef('0x7')],_0x4210c8=_0x1ece3f&&void 0x0!==_0x1ece3f[_0x49ef('0x9')]?_0x1ece3f[_0x49ef('0x9')]:!_0x36e40f[_0x49ef('0x12')];let _0x5a70dc=[];if(_0x4210c8){const _0x30c030=Array[_0x49ef('0x1a')](_0x1e8883[_0x49ef('0xe')]())[_0x49ef('0x16')](_0x212956=>Xt(_0x212956)||function(_0x45130c,_0x15812c){const _0x4a0308=_0x15812c['checkChild'](_0x45130c[_0x49ef('0x13')],_0x49ef('0x11')),_0x5dedbf=_0x15812c['checkChild']([_0x49ef('0x0'),'blockQuote'],_0x45130c);return _0x4a0308&&_0x5dedbf;}(_0x212956,this['editor']['model'][_0x49ef('0x18')]));_0x5a70dc=_0xa1f4c0(_0x30c030,_0x471152[_0x49ef('0xd')]);}else{const _0x35e2c3=Array['from'](_0x1e8883[_0x49ef('0xe')]())[_0x49ef('0x16')](_0x2842de=>Xt(_0x2842de));_0x5a70dc=_0xa1f4c0(_0x35e2c3,_0x471152[_0x49ef('0xd')]);}_0x471152['model'][_0x49ef('0x3')](()=>{for(const _0x22950c of _0x5a70dc)_0x344cf4[_0x49ef('0x19')](_0x22950c,{'commandName':_0x49ef('0x11'),'commandParams':[{'forceValue':_0x4210c8}]});});}),_0x344cf4[_0x49ef('0x1')]['registerDescriptionCallback'](_0x39a3ad=>{const {data:_0x483ffe}=_0x39a3ad;if(_0x483ffe&&_0x49ef('0x11')==_0x483ffe[_0x49ef('0xa')]){const _0x208371=_0x38f694(_0x379dde,_0x49ef('0xf'));return _0x483ffe['commandParams'][0x0][_0x49ef('0x9')]?{'type':_0x49ef('0x4'),'content':_0x38f694(_0x379dde,_0x49ef('0x5'),_0x208371)}:{'type':'format','content':_0x38f694(_0x379dde,_0x49ef('0x15'),_0x208371)};}});}}function Xt(_0x1d9293){return _0x49ef('0x11')==_0x1d9293[_0x49ef('0x13')][_0x49ef('0xc')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x489c=['ckbox','TrackChangesEditing','get','plugins','commands','afterInit','enableCommand','editor'];(function(_0x2d1722,_0x489cf9){const _0x8b549c=function(_0xf55f6){while(--_0xf55f6){_0x2d1722['push'](_0x2d1722['shift']());}};_0x8b549c(++_0x489cf9);}(_0x489c,0x121));const _0x8b54=function(_0x2d1722,_0x489cf9){_0x2d1722=_0x2d1722-0x0;let _0x8b549c=_0x489c[_0x2d1722];return _0x8b549c;};import{Plugin as _0x38730b}from'ckeditor5/src/core';export default class E extends _0x38730b{[_0x8b54('0x4')](){const _0x2bd5d6=this[_0x8b54('0x6')];_0x2bd5d6[_0x8b54('0x3')][_0x8b54('0x1')](_0x8b54('0x7'))&&_0x2bd5d6[_0x8b54('0x2')][_0x8b54('0x1')](_0x8b54('0x0'))[_0x8b54('0x5')](_0x8b54('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c3a=['_descriptionFactory','rootElement','language','indentCodeBlock','config','*Format:*\x20%0','editor','registerElementLabel','codeBlock','schema','from','locale','TrackChangesEditing','parent','commandParams','format','get','forceValue','languages','model','ELEMENT_CODE_BLOCK','commands','formatBlock','plugins','afterInit','enableCommand','blockName','commandName','markBlockFormat','has','checkChild','name','document','isLimit','change','getSelectedBlocks','find'];(function(_0x3a6aa1,_0x2c3a5a){const _0x9e3e9c=function(_0x176561){while(--_0x176561){_0x3a6aa1['push'](_0x3a6aa1['shift']());}};_0x9e3e9c(++_0x2c3a5a);}(_0x2c3a,0x159));const _0x9e3e=function(_0x3a6aa1,_0x2c3a5a){_0x3a6aa1=_0x3a6aa1-0x0;let _0x9e3e9c=_0x2c3a[_0x3a6aa1];return _0x9e3e9c;};import{Plugin as _0x91b84c}from'ckeditor5/src/core';import{getTranslation as _0x4ec960}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x41609a}from'../utils/utils';export default class O extends _0x91b84c{[_0x9e3e('0xc')](){const _0x2de4c8=this[_0x9e3e('0x1f')];if(!_0x2de4c8['plugins'][_0x9e3e('0x11')]('CodeBlock'))return;const _0x1e9bac=_0x2de4c8[_0x9e3e('0xb')]['get'](_0x9e3e('0x0')),_0x554bd1=_0x2de4c8[_0x9e3e('0x24')],_0x18c8b0=_0x2de4c8[_0x9e3e('0x1d')][_0x9e3e('0x4')](_0x9e3e('0x21'))[_0x9e3e('0x6')],_0x386da5=_0x2de4c8[_0x9e3e('0x9')]['get']('codeBlock');_0x1e9bac[_0x9e3e('0xd')](_0x9e3e('0x1c')),_0x1e9bac[_0x9e3e('0xd')]('outdentCodeBlock'),_0x1e9bac[_0x9e3e('0xd')](_0x9e3e('0x21'),(_0x1e8e6a,_0x305b64={})=>{const _0x2d3b74=_0x2de4c8[_0x9e3e('0x7')],_0x4fa207=_0x2de4c8['model'][_0x9e3e('0x14')]['selection'],_0x464ff5=_0x305b64&&void 0x0!==_0x305b64['forceValue']?_0x305b64[_0x9e3e('0x5')]:!_0x386da5['value'];let _0x433db2;_0x305b64[_0x9e3e('0x1b')]||(_0x305b64[_0x9e3e('0x1b')]=_0x18c8b0[0x0][_0x9e3e('0x1b')]),_0x433db2=_0x464ff5?Array[_0x9e3e('0x23')](_0x4fa207[_0x9e3e('0x17')]())['filter'](_0x4b3729=>oo(_0x4b3729)||function(_0x1b8bf5,_0x39896e){if(_0x1b8bf5['is'](_0x9e3e('0x1a'))||_0x39896e[_0x9e3e('0x15')](_0x1b8bf5))return!0x1;return _0x39896e[_0x9e3e('0x12')](_0x1b8bf5[_0x9e3e('0x1')],_0x9e3e('0x21'));}(_0x4b3729,_0x2d3b74[_0x9e3e('0x22')])):Array[_0x9e3e('0x23')](_0x4fa207['getSelectedBlocks']())['filter'](_0x45dae2=>oo(_0x45dae2));const _0xf1b6f0=_0x41609a(_0x433db2,_0x2d3b74);_0x2d3b74[_0x9e3e('0x16')](()=>{for(const _0x12820e of _0xf1b6f0)_0x1e9bac[_0x9e3e('0x10')](_0x12820e,{'commandName':_0x9e3e('0x21'),'commandParams':[{..._0x305b64,'forceValue':_0x464ff5}],'formatGroupId':_0x9e3e('0xe')});});}),(_0x1e9bac['_descriptionFactory'][_0x9e3e('0x20')](_0x9e3e('0x21'),_0x5e227a=>_0x4ec960(_0x554bd1,_0x9e3e('0x8'),_0x5e227a)),_0x1e9bac[_0x9e3e('0x19')]['registerDescriptionCallback'](_0x4b171a=>{const _0x1c26d8=_0x554bd1['t'],{type:_0x350a77,data:_0x5575f8}=_0x4b171a;if(_0x9e3e('0xa')==_0x350a77&&_0x5575f8&&_0x9e3e('0x21')==_0x5575f8[_0x9e3e('0xf')]){const _0x393226=_0x5575f8[_0x9e3e('0x2')][0x0][_0x9e3e('0x1b')],_0x434bf3=_0x1c26d8(_0x18c8b0[_0x9e3e('0x18')](_0x475a2d=>_0x475a2d[_0x9e3e('0x1b')]===_0x393226)['label']);return _0x5575f8[_0x9e3e('0x2')][0x0][_0x9e3e('0x5')]?{'type':_0x9e3e('0x3'),'content':_0x4ec960(_0x554bd1,_0x9e3e('0x1e'),_0x4ec960(_0x554bd1,_0x9e3e('0x8'),0x1)+'\x20('+_0x434bf3+')')}:{'type':_0x9e3e('0x3'),'content':_0x4ec960(_0x554bd1,'*Remove\x20format:*\x20%0',_0x4ec960(_0x554bd1,_0x9e3e('0x8'),0x1))};}}));}}function oo(_0x134f56){return _0x9e3e('0x21')==_0x134f56[_0x9e3e('0x13')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x315a=['plugins','afterInit','has','addCommentThread','TrackChangesEditing','CommentsEditing','get','enableCommand','editor'];(function(_0xe178a6,_0x315ab4){const _0x581575=function(_0x433bf0){while(--_0x433bf0){_0xe178a6['push'](_0xe178a6['shift']());}};_0x581575(++_0x315ab4);}(_0x315a,0x9f));const _0x5815=function(_0xe178a6,_0x315ab4){_0xe178a6=_0xe178a6-0x0;let _0x581575=_0x315a[_0xe178a6];return _0x581575;};import{Plugin as _0x3b5523}from'ckeditor5/src/core';export default class F extends _0x3b5523{[_0x5815('0x4')](){const _0x4c39ea=this[_0x5815('0x2')];if(!_0x4c39ea[_0x5815('0x3')][_0x5815('0x5')](_0x5815('0x8')))return;_0x4c39ea[_0x5815('0x3')][_0x5815('0x0')](_0x5815('0x7'))[_0x5815('0x1')](_0x5815('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2606=['document','addMarker:suggestion:deletion','root','forward','start','editing','plugins','end','options','merge','mapper','batch','model','writer','rootName','remove','get','downcastDispatcher','unlock','selection','detach','markerNameToElements','high','setSelection','init','data','createSelection','delete','createRange','lock','TrackChangesEditing','removeMarker:suggestion:deletion','bind','modifySelection','unit','editor','buffer','markerName','isCollapsed','commands','showSuggestionHighlights','getFirstRange','deleteForward'];(function(_0x3bccb9,_0x260632){const _0x3362bd=function(_0x3a28bf){while(--_0x3a28bf){_0x3bccb9['push'](_0x3bccb9['shift']());}};_0x3362bd(++_0x260632);}(_0x2606,0x15f));const _0x3362=function(_0x3bccb9,_0x260632){_0x3bccb9=_0x3bccb9-0x0;let _0x3362bd=_0x2606[_0x3bccb9];return _0x3362bd;};import{Plugin as _0x3767bf}from'ckeditor5/src/core';import{LiveRange as _0x4e1a29}from'ckeditor5/src/engine';import{Delete as _0x7a21c4}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1db7e7}from'./utils';export default class G extends _0x3767bf{static get['requires'](){return[_0x7a21c4];}[_0x3362('0x11')](){const _0x1517f8=this[_0x3362('0x1c')],_0x1a69b5=_0x1517f8[_0x3362('0x2a')][_0x3362('0x9')](_0x3362('0x17'));_0x1a69b5['enableCommand'](_0x3362('0x14'));const _0x580bd9=_0x1517f8[_0x3362('0x20')][_0x3362('0x9')](_0x3362('0x23'));_0x1a69b5['enableCommand'](_0x3362('0x23'),(_0x5275eb,_0x2efcf8={})=>{const _0x203f00=_0x1517f8[_0x3362('0x5')][_0x3362('0x13')](_0x1517f8[_0x3362('0x5')][_0x3362('0x24')][_0x3362('0xc')]);_0x203f00[_0x3362('0x1f')]&&_0x1517f8[_0x3362('0x5')][_0x3362('0x1a')](_0x203f00,{'direction':_0x3362('0x27'),'unit':_0x2efcf8[_0x3362('0x1b')]});const _0x52caab=_0x203f00[_0x3362('0x22')](),_0x20e0b5=_0x4e1a29['fromRange'](_0x52caab);let _0x2eae73;_0x5275eb(_0x2efcf8),_0x2eae73='$graveyard'==_0x20e0b5[_0x3362('0x26')][_0x3362('0x7')]?_0x1517f8[_0x3362('0x5')][_0x3362('0x15')](_0x52caab[_0x3362('0x28')]):_0x1517f8['model'][_0x3362('0x15')](_0x20e0b5[_0x3362('0x28')],_0x20e0b5[_0x3362('0x0')]),_0x20e0b5[_0x3362('0xd')](),_0x1517f8['model']['enqueueChange'](_0x580bd9[_0x3362('0x1d')][_0x3362('0x4')],_0x4715b6=>{_0x580bd9[_0x3362('0x1d')][_0x3362('0x16')](),_0x4715b6[_0x3362('0x10')](_0x4715b6[_0x3362('0x15')](_0x2eae73[_0x3362('0x0')])),_0x580bd9[_0x3362('0x1d')][_0x3362('0xb')]();});}),_0x1517f8['editing'][_0x3362('0xa')]['on'](_0x3362('0x25'),_0x1db7e7(_0x1517f8,_0x3362('0x2')),{'priority':_0x3362('0xf')}),_0x1517f8[_0x3362('0x12')][_0x3362('0xa')]['on'](_0x3362('0x25'),(_0x138c3b,_0x1083f8,_0x2f99ac)=>{_0x2f99ac[_0x3362('0x1')][_0x3362('0x21')]&&_0x1db7e7(_0x1517f8,_0x3362('0x2'),{'showActiveMarker':!0x1})[_0x3362('0x19')](this)(_0x138c3b,_0x1083f8,_0x2f99ac);},{'priority':_0x3362('0xf')}),_0x1517f8[_0x3362('0x29')][_0x3362('0xa')]['on'](_0x3362('0x18'),(_0x5df1e8,_0xcce5c7,_0x3170a6)=>{const _0xe9ee18=_0x3170a6[_0x3362('0x3')][_0x3362('0xe')](_0xcce5c7[_0x3362('0x1e')]);if(_0xe9ee18)for(const _0x431cbb of _0xe9ee18)_0x431cbb['is']('uiElement')&&(_0x3170a6[_0x3362('0x3')]['unbindElementFromMarkerName'](_0x431cbb,_0xcce5c7[_0x3362('0x1e')]),_0x3170a6[_0x3362('0x6')][_0x3362('0x8')](_0x431cbb));},{'priority':_0x3362('0xf')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40f9=['detach','_descriptionFactory','commands','ELEMENT_BULLETED_LIST','bulletedList','expandListBlocksToCompleteList','mergeListItemBackward','*Format:*\x20remove\x20from\x20%0','parent','selection','_suggestionFactory','*Format:*\x20insert\x20into\x20%0','markMultiRangeBlockFormat','TrackChangesEditing','listItemId','ELEMENT_LIST_ITEM','start','locale','formatBlock','registerDescriptionCallback','slice','nodeAfter','*Merge:*\x20%0','forceValue','nextSibling','value','documentList','afterInit','outdentList','fromRange','*Change\x20to:*\x20%0','*Indent:*\x20%0','before','createRange','from','registerCustomCallback','execute','getFirstRange','getAttribute','refresh','markBlockFormat','indentList','toUpperCase','splitListItemBefore','listIndent','add','schema','deletion','end','model','enableCommand','registerElementLabel','has','setSelection','editor','splitListItemAfter','plugins','getSelectedBlocks','DocumentListEditing','*Outdent:*\x20%0','commandParams','getRanges','hasAttribute','get','change','push','containsItem','map','listType','isObject','format','previousSibling','document','createPositionAt','commandName','ELEMENT_','numberedList'];(function(_0x48d8bb,_0x40f977){const _0x38e39d=function(_0x53fc18){while(--_0x53fc18){_0x48d8bb['push'](_0x48d8bb['shift']());}};_0x38e39d(++_0x40f977);}(_0x40f9,0x77));const _0x38e3=function(_0x48d8bb,_0x40f977){_0x48d8bb=_0x48d8bb-0x0;let _0x38e39d=_0x40f9[_0x48d8bb];return _0x38e39d;};import{Plugin as _0x6e7fac}from'ckeditor5/src/core';import{getTranslation as _0x210277}from'../utils/common-translations';import{LiveRange as _0x4fa38b}from'ckeditor5/src/engine';export default class L extends _0x6e7fac{[_0x38e3('0x3e')](){const _0x56b990=this[_0x38e3('0xc')];if(!_0x56b990[_0x38e3('0xe')][_0x38e3('0xa')](_0x38e3('0x10')))return;const _0x584a0f=_0x56b990[_0x38e3('0x34')],_0xf9647a=_0x56b990[_0x38e3('0xe')]['get'](_0x38e3('0x30')),_0x5a5a81=_0x56b990['plugins']['get']('DocumentListUtils');function _0x35ac57(_0x53fcf3){return()=>{const _0x51e4d3=_0x56b990[_0x38e3('0x25')][_0x38e3('0x15')](_0x53fcf3);let _0x14657f=Array['from'](_0x56b990[_0x38e3('0x7')][_0x38e3('0x1e')]['selection']['getSelectedBlocks']());if(_0x5d8824(_0x53fcf3)){_0x14657f=_0x5a5a81[_0x38e3('0x28')](_0x14657f);const _0x6d3cc5=[];for(const _0x2038c6 of _0x14657f)_0x5a5a81['isFirstBlockOfListItem'](_0x2038c6)&&_0x6d3cc5[_0x38e3('0x17')](_0x2038c6);_0x14657f=_0x6d3cc5;}_0x56b990[_0x38e3('0x7')][_0x38e3('0x16')](()=>{_0xf9647a[_0x38e3('0x2f')](_0x14657f,{'commandName':_0x53fcf3,'commandParams':[{'forceValue':!_0x51e4d3[_0x38e3('0x3c')]}],'formatGroupId':'listType'},[],_0x38e3('0x3d'));});};}function _0x14bddb(_0x2e7001){return()=>{const _0x20ae16=function(_0x207a55){let _0x57bf97=Array[_0x38e3('0x45')](_0x207a55);const _0x1b9478=_0x57bf97['findIndex'](_0x34797d=>!_0x34797d[_0x38e3('0x14')](_0x38e3('0x31')));return _0x1b9478>-0x1&&(_0x57bf97=_0x57bf97[_0x38e3('0x37')](0x0,_0x1b9478)),_0x57bf97;}(_0x56b990[_0x38e3('0x7')]['document'][_0x38e3('0x2c')][_0x38e3('0xf')]()),_0x911b92=_0x20ae16[_0x20ae16['length']-0x1],_0x46cd69=_0x56b990[_0x38e3('0x7')][_0x38e3('0x4')]['isObject'](_0x911b92)?'after':_0x38e3('0x6'),_0x16c8cd=_0x56b990['model'][_0x38e3('0x44')](_0x56b990[_0x38e3('0x7')]['createPositionAt'](_0x20ae16[0x0],_0x38e3('0x43')),_0x56b990['model'][_0x38e3('0x1f')](_0x911b92,_0x46cd69));_0x56b990[_0x38e3('0x7')][_0x38e3('0x16')](()=>{_0xf9647a[_0x38e3('0x4b')](_0x16c8cd,{'commandName':_0x2e7001,'commandParams':[],'formatGroupId':_0x38e3('0x1a')},function(_0x1c0296){const _0x56bfe1=new Set();for(const _0x21ad99 of _0x1c0296){let _0x3558d1=_0x21ad99['nextSibling'];for(;_0x3558d1&&_0x3558d1[_0x38e3('0x49')](_0x38e3('0x2'))>_0x21ad99['getAttribute'](_0x38e3('0x2'));)_0x56bfe1[_0x38e3('0x3')](_0x3558d1),_0x3558d1=_0x3558d1[_0x38e3('0x3b')];}return Array['from'](_0x56bfe1);}(_0x20ae16));});};}function _0x49325d(_0x41c16c){return()=>{const _0x80173b=_0x56b990[_0x38e3('0x7')]['document'][_0x38e3('0x2c')][_0x38e3('0xf')]()['next']()['value'],_0x5038ef=_0x56b990[_0x38e3('0x7')][_0x38e3('0x1f')](_0x80173b,_0x38e3('0x43')),_0x2bca98=_0x56b990[_0x38e3('0x7')][_0x38e3('0x1f')](_0x80173b,0x0),_0xd48656=_0x56b990[_0x38e3('0x7')][_0x38e3('0x44')](_0x5038ef,_0x2bca98);_0x56b990[_0x38e3('0x7')][_0x38e3('0x16')](()=>{_0xf9647a[_0x38e3('0x4b')](_0xd48656,{'commandName':_0x41c16c,'commandParams':[],'formatGroupId':_0x38e3('0x1a')});});};}function _0x5d8824(_0x4e9a2e){const _0x296173=_0x56b990['commands']['get']('bulletedList')[_0x38e3('0x3c')],_0x43cf7c=_0x56b990[_0x38e3('0x25')]['get'](_0x38e3('0x22'))[_0x38e3('0x3c')];return'numberedList'===_0x4e9a2e?_0x296173:_0x43cf7c;}_0xf9647a['enableCommand'](_0x38e3('0x22'),_0x35ac57('numberedList')),_0xf9647a[_0x38e3('0x8')](_0x38e3('0x27'),_0x35ac57(_0x38e3('0x27'))),_0xf9647a[_0x38e3('0x8')](_0x38e3('0x4c'),_0x14bddb(_0x38e3('0x4c'))),_0xf9647a['enableCommand'](_0x38e3('0x3f'),_0x14bddb(_0x38e3('0x3f'))),_0xf9647a[_0x38e3('0x8')]('splitListItemAfter',_0x49325d(_0x38e3('0xd'))),_0xf9647a['enableCommand']('splitListItemBefore',_0x49325d(_0x38e3('0x1'))),_0xf9647a[_0x38e3('0x24')][_0x38e3('0x9')](function(_0x3ec9c0){const _0x585283=!_0x56b990[_0x38e3('0x7')][_0x38e3('0x4')][_0x38e3('0x1b')](_0x3ec9c0),_0x42599a=_0x3ec9c0[_0x38e3('0x1d')],_0xca06d8=_0x3ec9c0[_0x38e3('0x3b')],_0x3c77b5=_0x3ec9c0[_0x38e3('0x49')](_0x38e3('0x31')),_0x4f6f6d=!_0x42599a||_0x42599a[_0x38e3('0x49')](_0x38e3('0x31'))!==_0x3c77b5,_0x45c3cc=!_0xca06d8||_0xca06d8[_0x38e3('0x49')]('listItemId')!==_0x3c77b5;return _0x585283&&Boolean(_0x3c77b5)&&_0x4f6f6d&&_0x45c3cc;},_0x349818=>_0x210277(_0x584a0f,_0x38e3('0x32'),_0x349818)),_0xf9647a[_0x38e3('0x24')][_0x38e3('0x36')](function(_0x732261){const {data:_0x57743c}=_0x732261;if(!_0x57743c)return;let _0x3c707a,_0x130cb0,_0x470ba6,_0x5a32ee;switch(_0x57743c['commandName']){case _0x38e3('0x27'):_0x470ba6=_0x57743c[_0x38e3('0x12')][0x0][_0x38e3('0x3a')],_0x5a32ee=_0x5d8824(_0x57743c[_0x38e3('0x20')]),_0x3c707a=_0x470ba6?_0x38e3('0x2e'):'*Format:*\x20remove\x20from\x20%0',_0x5a32ee&&(_0x3c707a=_0x38e3('0x41')),_0x130cb0={'type':'format','content':_0x210277(_0x584a0f,_0x3c707a,_0x210277(_0x584a0f,_0x38e3('0x26')))};break;case _0x38e3('0x22'):_0x470ba6=_0x57743c[_0x38e3('0x12')][0x0]['forceValue'],_0x5a32ee=_0x5d8824(_0x57743c[_0x38e3('0x20')]),_0x3c707a=_0x470ba6?_0x38e3('0x2e'):'*Format:*\x20remove\x20from\x20%0',_0x5a32ee&&(_0x3c707a=_0x38e3('0x41')),_0x130cb0={'type':'format','content':_0x210277(_0x584a0f,_0x3c707a,_0x210277(_0x584a0f,'ELEMENT_NUMBERED_LIST'))};break;case _0x38e3('0x4c'):_0x3c707a=_0x38e3('0x42'),_0x130cb0={'type':_0x38e3('0x1c'),'content':_0x210277(_0x584a0f,_0x3c707a,_0x210277(_0x584a0f,'ELEMENT_LIST_ITEM'))};break;case _0x38e3('0x3f'):_0x3c707a=function(_0x2af247){const _0xe56d41=_0x2af247['getFirstRange']();let _0x3f418f=_0xe56d41[_0x38e3('0x33')][_0x38e3('0x38')];for(;_0x3f418f&&_0xe56d41[_0x38e3('0x18')](_0x3f418f);){if(_0x3f418f[_0x38e3('0x49')]('listIndent')>0x0)return!0x1;_0x3f418f=_0x3f418f[_0x38e3('0x3b')];}return!0x0;}(_0x732261)?_0x210277(_0x584a0f,_0x38e3('0x2a'),_0x210277(_0x584a0f,function(_0x145667){const _0x5388f8=_0x145667[_0x38e3('0x48')]()['start'][_0x38e3('0x38')];return _0x38e3('0x21')+_0x5388f8['getAttribute'](_0x38e3('0x1a'))[_0x38e3('0x0')]()+'_LIST';}(_0x732261))):_0x210277(_0x584a0f,_0x38e3('0x11'),_0x210277(_0x584a0f,_0x38e3('0x32'))),_0x130cb0={'type':_0x38e3('0x1c'),'content':_0x3c707a};break;case _0x38e3('0x29'):case'mergeListItemForward':!0x1===_0x57743c['multipleBlocks']&&(_0x3c707a=_0x38e3('0x39'),_0x130cb0={'type':_0x38e3('0x5'),'content':_0x210277(_0x584a0f,_0x3c707a,_0x210277(_0x584a0f,_0x38e3('0x32')))});}return _0x130cb0;}),_0xf9647a[_0x38e3('0x2d')][_0x38e3('0x46')](_0x38e3('0x35'),_0x38e3('0x3d'),'accept',function(_0x4cb4b5,_0x4fcb28){const _0x2d4c32=[];for(let _0x3d4c75 of _0x4cb4b5)_0x3d4c75[_0x38e3('0x33')][_0x38e3('0x38')]===_0x3d4c75[_0x38e3('0x6')][_0x38e3('0x2b')]&&(_0x3d4c75=_0x56b990[_0x38e3('0x7')]['createRange'](_0x56b990[_0x38e3('0x7')][_0x38e3('0x1f')](_0x3d4c75[_0x38e3('0x33')][_0x38e3('0x38')],0x0))),_0x2d4c32[_0x38e3('0x17')](_0x3d4c75);_0x56b990['model'][_0x38e3('0x16')](_0x3f5be9=>{const _0x587dcd=_0x56b990[_0x38e3('0x7')][_0x38e3('0x1e')]['selection'],_0xfb598b=Array['from'](_0x587dcd[_0x38e3('0x13')]())[_0x38e3('0x19')](_0x43d6c7=>_0x4fa38b[_0x38e3('0x40')](_0x43d6c7));_0x3f5be9[_0x38e3('0xb')](_0x2d4c32),_0x56b990[_0x38e3('0x25')][_0x38e3('0x15')](_0x4fcb28['commandName'])[_0x38e3('0x4a')](),_0x4fcb28[_0x38e3('0x12')][_0x38e3('0x17')]({'forceDefaultExecution':!0x0}),_0x56b990[_0x38e3('0x47')](_0x4fcb28[_0x38e3('0x20')],..._0x4fcb28[_0x38e3('0x12')]),_0x3f5be9[_0x38e3('0xb')](_0xfb598b);for(const _0x38932f of _0xfb598b)_0x38932f[_0x38e3('0x23')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cdf=['_getSuggestionBlocks','listReversed','toUpperCase','DocumentListPropertiesUtils','DocumentListUtils','getSelectedBlocks','config','handleDescriptions','get','registerDescriptionCallback','format','handleListReversedCommand','model','length','isFirstBlockOfListItem','selection','DocumentListPropertiesEditing','bind','replace','isListItemBlock','getAttribute','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','has','from','markMultiRangeBlockFormat','locale','plugins','document','numbered','change','handleListStartCommand','filter','commandParams','enableCommand','listType','TrackChangesEditing','_descriptionFactory','editor','_getSuggestionBlocksForListStyle','startIndex','styles','push','_LIST_','commandName','_getTranslationKeyForListStyle','list.properties','listStart','getListTypeFromListStyleType','handleListStyleCommand'];(function(_0x29e2d6,_0x3cdf34){const _0x1453d9=function(_0x35e443){while(--_0x35e443){_0x29e2d6['push'](_0x29e2d6['shift']());}};_0x1453d9(++_0x3cdf34);}(_0x3cdf,0x114));const _0x1453=function(_0x29e2d6,_0x3cdf34){_0x29e2d6=_0x29e2d6-0x0;let _0x1453d9=_0x3cdf[_0x29e2d6];return _0x1453d9;};import{Plugin as _0x2d2e22}from'ckeditor5/src/core';import{getTranslation as _0x1642d1}from'../utils/common-translations';export default class At extends _0x2d2e22{['afterInit'](){if(!this['editor']['plugins'][_0x1453('0x2f')](_0x1453('0x28')))return;const _0x49efcd=this[_0x1453('0xc')][_0x1453('0x1e')][_0x1453('0x20')](_0x1453('0x14')),_0x37afd9=this[_0x1453('0xc')]['plugins']['get'](_0x1453('0xa'));_0x49efcd[_0x1453('0xf')]&&_0x37afd9[_0x1453('0x8')](_0x1453('0x2d'),this[_0x1453('0x17')][_0x1453('0x29')](this)),_0x49efcd['reversed']&&_0x37afd9[_0x1453('0x8')]('listReversed',this[_0x1453('0x23')]['bind'](this)),_0x49efcd[_0x1453('0xe')]&&_0x37afd9[_0x1453('0x8')](_0x1453('0x15'),this['handleListStartCommand'][_0x1453('0x29')](this)),_0x37afd9[_0x1453('0xb')][_0x1453('0x21')](this[_0x1453('0x1f')]['bind'](this));}[_0x1453('0x17')](_0x3b7fa3,_0x38a47a={}){const _0x544d05=this['editor'][_0x1453('0x1')]['get'](_0x1453('0xa')),_0x183904=this[_0x1453('0xd')]();this[_0x1453('0xc')][_0x1453('0x24')]['change'](()=>{_0x544d05[_0x1453('0x31')](_0x183904,{'commandName':_0x1453('0x2d'),'commandParams':[{'type':_0x38a47a['type']}],'formatGroupId':_0x1453('0x2d')});});}['handleListReversedCommand'](_0x39c1fa,_0x39725c={}){const _0x14cf1d=this[_0x1453('0xc')][_0x1453('0x1')]['get'](_0x1453('0xa')),_0x3aef9d=this[_0x1453('0xc')][_0x1453('0x1')][_0x1453('0x20')](_0x1453('0x1c')),_0x542298=this[_0x1453('0x18')](_0x580ff0=>_0x3aef9d[_0x1453('0x2b')](_0x580ff0)&&_0x1453('0x3')===_0x580ff0['getAttribute']('listType'));null!==_0x542298&&this['editor'][_0x1453('0x24')][_0x1453('0x4')](()=>{_0x14cf1d[_0x1453('0x31')](_0x542298,{'commandName':_0x1453('0x19'),'commandParams':[{'reversed':_0x39725c['reversed']}],'formatGroupId':'listReversed'});});}[_0x1453('0x5')](_0x3b66c5,_0x4dfb9e={}){const _0x1c83d7=this[_0x1453('0xc')]['plugins'][_0x1453('0x20')](_0x1453('0xa')),_0x565a24=this[_0x1453('0xc')]['plugins'][_0x1453('0x20')](_0x1453('0x1c')),_0x414679=this['_getSuggestionBlocks'](_0x13e0ae=>_0x565a24[_0x1453('0x2b')](_0x13e0ae)&&_0x1453('0x3')===_0x13e0ae[_0x1453('0x2c')](_0x1453('0x9')));null!==_0x414679&&this[_0x1453('0xc')][_0x1453('0x24')]['change'](()=>{_0x1c83d7[_0x1453('0x31')](_0x414679,{'commandName':'listStart','commandParams':[{'startIndex':_0x4dfb9e[_0x1453('0xe')]}],'formatGroupId':_0x1453('0x15')});});}[_0x1453('0x1f')](_0x245ec3){const _0x1fbdea=this['editor'][_0x1453('0x0')],{data:_0x25403b}=_0x245ec3;if(!_0x25403b)return;let _0x286385,_0x24794e;switch(_0x25403b[_0x1453('0x12')]){case _0x1453('0x2d'):_0x286385='*Change\x20to:*\x20%0',_0x24794e={'type':_0x1453('0x22'),'content':_0x1642d1(_0x1fbdea,_0x286385,_0x1642d1(_0x1fbdea,this[_0x1453('0x13')](_0x25403b['commandParams'][0x0]['type'])))};break;case _0x1453('0x19'):_0x286385=_0x25403b[_0x1453('0x7')][0x0]['reversed']?_0x1453('0x2e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x24794e={'type':'format','content':_0x1642d1(_0x1fbdea,_0x286385)};break;case _0x1453('0x15'):_0x286385='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x24794e={'type':'format','content':_0x1642d1(_0x1fbdea,_0x286385,_0x25403b[_0x1453('0x7')][0x0][_0x1453('0xe')])};}return _0x24794e;}[_0x1453('0xd')](){const _0x278d29=this['editor'][_0x1453('0x1')][_0x1453('0x20')](_0x1453('0x1c'));let _0x3a9815=Array[_0x1453('0x30')](this[_0x1453('0xc')][_0x1453('0x24')][_0x1453('0x2')]['selection'][_0x1453('0x1d')]());return _0x3a9815['push'](..._0x278d29['expandListBlocksToCompleteList'](_0x3a9815)),_0x3a9815=[...new Set(_0x3a9815)],_0x3a9815;}[_0x1453('0x18')](_0x30c19f){const _0x5788cd=this['editor'][_0x1453('0x1')][_0x1453('0x20')](_0x1453('0x1c'));let _0x3f5513=Array['from'](this[_0x1453('0xc')][_0x1453('0x24')][_0x1453('0x2')][_0x1453('0x27')][_0x1453('0x1d')]())[_0x1453('0x6')](_0x30c19f);if(!_0x3f5513[_0x1453('0x25')])return null;_0x3f5513=_0x5788cd['expandListBlocksToCompleteList'](_0x3f5513);const _0x45385b=[];for(const _0x598ec3 of _0x3f5513)_0x5788cd[_0x1453('0x26')](_0x598ec3)&&_0x45385b[_0x1453('0x10')](_0x598ec3);return _0x45385b;}[_0x1453('0x13')](_0x368093){return'ELEMENT_'+this[_0x1453('0xc')]['plugins'][_0x1453('0x20')](_0x1453('0x1b'))[_0x1453('0x16')](_0x368093)[_0x1453('0x1a')]()+_0x1453('0x11')+_0x368093['toUpperCase']()[_0x1453('0x2a')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b81=['showSuggestionHighlights','high','model','split','enterBlock','ck-suggestion-marker-split','bind','enableCommand','createPositionAt','plugins','detach','setSelection','options','end','markerNameToElements','unbindElementFromMarkerName','selection','downcastDispatcher','init','requires','createRange','document','fromRange','commands','editing','mapper','remove','get','markerName','data','TrackChangesEditing','addMarker:suggestion:insertion','hasClass','writer','afterExecute','enter'];(function(_0x5883d4,_0x2b8172){const _0x3a0c2d=function(_0xedb341){while(--_0xedb341){_0x5883d4['push'](_0x5883d4['shift']());}};_0x3a0c2d(++_0x2b8172);}(_0x2b81,0x1d8));const _0x3a0c=function(_0x5883d4,_0x2b8172){_0x5883d4=_0x5883d4-0x0;let _0x3a0c2d=_0x2b81[_0x5883d4];return _0x3a0c2d;};import{Plugin as _0x27495c}from'ckeditor5/src/core';import{Enter as _0x15748f}from'ckeditor5/src/enter';import{LiveRange as _0x2c2f55}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xadf5c9}from'./utils';export default class q extends _0x27495c{static get[_0x3a0c('0xf')](){return[_0x15748f];}[_0x3a0c('0xe')](){const _0x2ae566=this['editor'],_0x1071c2=_0x2ae566[_0x3a0c('0x5')][_0x3a0c('0x17')](_0x3a0c('0x1a')),_0x50be91=_0x2ae566[_0x3a0c('0x13')][_0x3a0c('0x17')](_0x3a0c('0x1f'));_0x1071c2[_0x3a0c('0x3')](_0x3a0c('0x1f'),()=>{_0x2ae566[_0x3a0c('0x22')]['change'](_0xa43b66=>{const _0x54cd86=_0x2ae566['model'][_0x3a0c('0x11')][_0x3a0c('0xc')],_0x3e4259=_0x54cd86['getFirstPosition'](),_0x11db87=_0x2c2f55[_0x3a0c('0x12')](_0x54cd86['getFirstRange']());if(_0x50be91[_0x3a0c('0x0')](_0xa43b66)){const _0x90101e=_0x2ae566[_0x3a0c('0x22')][_0x3a0c('0x4')](_0x3e4259['parent']['nextSibling'],0x0),_0x5020fb=_0xa43b66['createRange'](_0x3e4259,_0x90101e);_0x1071c2['markInsertion'](_0x5020fb);}else _0xa43b66[_0x3a0c('0x7')](_0xa43b66[_0x3a0c('0x10')](_0x11db87[_0x3a0c('0x9')]));_0x11db87[_0x3a0c('0x6')](),_0x50be91['fire'](_0x3a0c('0x1e'),{'writer':_0xa43b66});});}),_0x2ae566[_0x3a0c('0x14')][_0x3a0c('0xd')]['on'](_0x3a0c('0x1b'),_0xadf5c9(_0x2ae566,_0x3a0c('0x23')),{'priority':_0x3a0c('0x21')}),_0x2ae566[_0x3a0c('0x14')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x47cb3a,_0x4aaae4,_0x39e97c)=>{const _0x568ded=_0x39e97c['mapper'][_0x3a0c('0xa')](_0x4aaae4[_0x3a0c('0x18')]);if(_0x568ded)for(const _0x196ea9 of _0x568ded)_0x196ea9[_0x3a0c('0x1c')](_0x3a0c('0x1'))&&(_0x39e97c[_0x3a0c('0x15')][_0x3a0c('0xb')](_0x196ea9,_0x4aaae4[_0x3a0c('0x18')]),_0x39e97c[_0x3a0c('0x1d')][_0x3a0c('0x16')](_0x196ea9));},{'priority':'high'}),_0x2ae566[_0x3a0c('0x19')][_0x3a0c('0xd')]['on']('addMarker:suggestion:insertion',(_0x501955,_0x41021d,_0x304171)=>{_0x304171[_0x3a0c('0x8')][_0x3a0c('0x20')]&&_0xadf5c9(_0x2ae566,_0x3a0c('0x23'),{'showActiveMarker':!0x1})[_0x3a0c('0x2')](this)(_0x501955,_0x41021d,_0x304171);},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5212=['start','replace','getIntersection','FindAndReplaceUtils','plugins','TrackChangesEditing','markers','createPositionAt','getRange','handleFindCommand','replaceAll','suggestion:deletion','findNext','enableCommand','string','bind','afterInit','findPrevious','findByTextCallback','get','filter','editor','end','model'];(function(_0x2b6be0,_0x5212c1){const _0x3e8226=function(_0x409102){while(--_0x409102){_0x2b6be0['push'](_0x2b6be0['shift']());}};_0x3e8226(++_0x5212c1);}(_0x5212,0x6f));const _0x3e82=function(_0x2b6be0,_0x5212c1){_0x2b6be0=_0x2b6be0-0x0;let _0x3e8226=_0x5212[_0x2b6be0];return _0x3e8226;};import{Plugin as _0x115e0c}from'ckeditor5/src/core';export default class z extends _0x115e0c{[_0x3e82('0x1')](){if(!this[_0x3e82('0x6')][_0x3e82('0xd')]['has']('FindAndReplaceEditing'))return;const _0x27f240=this[_0x3e82('0x6')][_0x3e82('0xd')][_0x3e82('0x4')](_0x3e82('0xe'));_0x27f240[_0x3e82('0x16')]('find',this[_0x3e82('0x12')][_0x3e82('0x0')](this)),_0x27f240[_0x3e82('0x16')](_0x3e82('0x15')),_0x27f240[_0x3e82('0x16')](_0x3e82('0x2')),_0x27f240['enableCommand'](_0x3e82('0xa')),_0x27f240[_0x3e82('0x16')](_0x3e82('0x13'));}['handleFindCommand'](_0x35a165,_0x774fa7,_0x1a5d25={}){const _0xa4a270=this[_0x3e82('0x6')][_0x3e82('0xd')][_0x3e82('0x4')](_0x3e82('0xc'));void 0x0!==_0x1a5d25&&_0x35a165(_0x45f824=>(_0x3e82('0x17')==typeof _0x774fa7?_0xa4a270[_0x3e82('0x3')](_0x774fa7,_0x1a5d25):_0x774fa7)(_0x45f824)[_0x3e82('0x5')](_0x3b99ce=>!0x1===this['_isInDeletionRange'](_0x3b99ce,_0x45f824['item'])),_0x1a5d25);}['_isInDeletionRange'](_0x24b7fc,_0x1cd2dc){const _0xac32a8=this[_0x3e82('0x6')][_0x3e82('0x8')]['createRange'](this[_0x3e82('0x6')][_0x3e82('0x8')][_0x3e82('0x10')](_0x1cd2dc,_0x24b7fc[_0x3e82('0x9')]),this['editor'][_0x3e82('0x8')][_0x3e82('0x10')](_0x1cd2dc,_0x24b7fc[_0x3e82('0x7')]));for(const _0x2163fc of this[_0x3e82('0x6')][_0x3e82('0x8')][_0x3e82('0xf')]['getMarkersGroup'](_0x3e82('0x14')))if(null!==_0xac32a8[_0x3e82('0xb')](_0x2163fc[_0x3e82('0x11')]()))return!0x0;return!0x1;}}
|
package/src/integrations/font.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56f9=['_enableCommand','fontSize.options','FontFamilyEditing','commandName','fontFamily','model','find','fontBackgroundColor','TrackChangesEditing','commandParams','format','normalizeSizeOptions','fontSize','*Reset\x20font\x20background\x20color*','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor.colors','*Set\x20font\x20color:*\x20%0','value','config','trim','editor','FontBackgroundColorEditing','fontColor','title','*Reset\x20font\x20family*','FontSize','fontColor.colors','document','from','label','*Reset\x20font\x20color*','toLowerCase','plugins','*Reset\x20font\x20size*','*Set\x20font\x20size:*\x20%0','change','*Set\x20font\x20family:*\x20%0','get'];(function(_0x4f28a0,_0x56f991){const _0x41e769=function(_0x91e380){while(--_0x91e380){_0x4f28a0['push'](_0x4f28a0['shift']());}};_0x41e769(++_0x56f991);}(_0x56f9,0x1b0));const _0x41e7=function(_0x4f28a0,_0x56f991){_0x4f28a0=_0x4f28a0-0x0;let _0x41e769=_0x56f9[_0x4f28a0];return _0x41e769;};import{Plugin as _0x2131c0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x121ba6}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x111403}from'./utils';import{getTranslation as _0x2c65f8}from'../utils/common-translations';const Zt=[{'pluginName':'FontSizeEditing','commandName':_0x41e7('0x24')},{'pluginName':_0x41e7('0x1a'),'commandName':_0x41e7('0x1c')},{'pluginName':'FontColorEditing','commandName':_0x41e7('0x8')},{'pluginName':_0x41e7('0x7'),'commandName':_0x41e7('0x1f')}];export default class H extends _0x2131c0{['afterInit'](){const _0x47aaf2=this[_0x41e7('0x6')]['locale'];for(const {pluginName:_0x2d0662,commandName:_0x52273b}of Zt)this[_0x41e7('0x6')][_0x41e7('0x12')]['has'](_0x2d0662)&&this[_0x41e7('0x18')](_0x52273b);this[_0x41e7('0x6')][_0x41e7('0x12')]['get'](_0x41e7('0x20'))['_descriptionFactory']['registerDescriptionCallback'](_0x54b77e=>{const _0x131cd5=_0x47aaf2['t'],{data:_0x379e7b}=_0x54b77e;if(null!=_0x379e7b){if(_0x41e7('0x24')==_0x379e7b[_0x41e7('0x1b')]){const _0x29f49f=_0x379e7b[_0x41e7('0x21')][0x0][_0x41e7('0x3')];if(_0x29f49f){const _0x45517b=_0x131cd5(this[_0x41e7('0x6')][_0x41e7('0x12')][_0x41e7('0x17')](_0x41e7('0xb'))[_0x41e7('0x23')](this[_0x41e7('0x6')][_0x41e7('0x4')][_0x41e7('0x17')](_0x41e7('0x19')))[_0x41e7('0x1e')](_0x4653b6=>_0x4653b6[_0x41e7('0x1d')]==_0x29f49f)[_0x41e7('0x9')])[_0x41e7('0x11')]();return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x14'),_0x45517b)};}return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x13'))};}if('fontFamily'==_0x379e7b[_0x41e7('0x1b')]){const _0x13d68a=_0x379e7b[_0x41e7('0x21')][0x0][_0x41e7('0x3')];return _0x13d68a?{'type':'format','content':_0x2c65f8(_0x47aaf2,_0x41e7('0x16'),_0x13d68a)}:{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0xa'))};}if(_0x41e7('0x8')==_0x379e7b[_0x41e7('0x1b')]){const _0x482cb0=_0x379e7b[_0x41e7('0x21')][0x0]['value'];if(_0x482cb0){const _0x94162a=_0x121ba6(this[_0x41e7('0x6')]['config']['get'](_0x41e7('0xc')))[_0x41e7('0x1e')](_0xed58e8=>_0xed58e8[_0x41e7('0x1d')]==_0x482cb0);let _0x35e0f9=_0x482cb0,_0x39080a='';return _0x94162a&&(_0x35e0f9=_0x94162a[_0x41e7('0xf')],_0x39080a=_0x131cd5(_0x35e0f9)['toLowerCase']()),{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x2'),_0x39080a)['trim'](),'color':{'value':_0x482cb0,'title':_0x39080a||_0x35e0f9}};}return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x10'))};}if(_0x41e7('0x1f')==_0x379e7b[_0x41e7('0x1b')]){const _0x3231f4=_0x379e7b[_0x41e7('0x21')][0x0][_0x41e7('0x3')];if(_0x3231f4){const _0x188353=_0x121ba6(this[_0x41e7('0x6')][_0x41e7('0x4')][_0x41e7('0x17')](_0x41e7('0x1')))[_0x41e7('0x1e')](_0x4c4226=>_0x4c4226['model']==_0x3231f4);let _0x6f8148=_0x3231f4,_0x3675b0='';return _0x188353&&(_0x6f8148=_0x188353[_0x41e7('0xf')],_0x3675b0=_0x131cd5(_0x6f8148)[_0x41e7('0x11')]()),{'type':'format','content':_0x2c65f8(_0x47aaf2,_0x41e7('0x0'),_0x3675b0)[_0x41e7('0x5')](),'color':{'value':_0x3231f4,'title':_0x3675b0||_0x6f8148}};}return{'type':_0x41e7('0x22'),'content':_0x2c65f8(_0x47aaf2,_0x41e7('0x25'))};}}});}[_0x41e7('0x18')](_0x2ef8f5){const _0x423ae5=this['editor'];_0x423ae5[_0x41e7('0x12')][_0x41e7('0x17')](_0x41e7('0x20'))['enableCommand'](_0x2ef8f5,(_0x5b21bf,_0x44fe2b={})=>{const _0xc2dad9=_0x423ae5[_0x41e7('0x1d')][_0x41e7('0xd')]['selection'],_0x561a56=_0x44fe2b['value'];_0xc2dad9['isCollapsed']?_0x5b21bf(_0x44fe2b):_0x423ae5[_0x41e7('0x1d')][_0x41e7('0x15')](()=>{const _0x8f5d62=Array[_0x41e7('0xe')](_0xc2dad9['getRanges']());for(const _0x4ce624 of _0x8f5d62){const _0xcbc4ad=_0x561a56?[_0x4ce624]:_0x111403(_0x2ef8f5,_0x4ce624,_0x423ae5[_0x41e7('0x1d')]);for(const _0x5c3f76 of _0xcbc4ad)_0x423ae5[_0x41e7('0x12')][_0x41e7('0x17')]('TrackChangesEditing')['markInlineFormat'](_0x5c3f76,{'commandName':_0x2ef8f5,'commandParams':[{'value':_0x561a56}]});}});});}}
|