@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240105.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20240105.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240105.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf983=['_suggestions','refresh','canEditAt','editor','model','track-changes-accept-suggestion-not-found','acceptSuggestion','getRanges','execute','get'];(function(_0x48ddc7,_0xf98399){const _0x551bdd=function(_0x16a29c){while(--_0x16a29c){_0x48ddc7['push'](_0x48ddc7['shift']());}};_0x551bdd(++_0xf98399);}(_0xf983,0x196));const _0x551b=function(_0x48ddc7,_0xf98399){_0x48ddc7=_0x48ddc7-0x0;let _0x551bdd=_0xf983[_0x48ddc7];return _0x551bdd;};import{Command as _0x37b3fa}from'ckeditor5/src/core.js';import{CKEditorError as _0x85f1c1}from'ckeditor5/src/utils.js';export default class $ extends _0x37b3fa{constructor(_0x867231,_0x3bea6c){super(_0x867231),this[_0x551b('0x4')]=_0x3bea6c,this[_0x551b('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x551b('0x2')](_0x517c2a){const _0x4cbbf1=this[_0x551b('0x4')][_0x551b('0x3')](_0x517c2a);if(!_0x4cbbf1)throw new _0x85f1c1(_0x551b('0x9'),this);const _0x3dce22=_0x4cbbf1[_0x551b('0x1')]();this[_0x551b('0x7')][_0x551b('0x8')][_0x551b('0x6')](_0x3dce22)&&this[_0x551b('0x7')]['plugins']['get']('TrackChangesEditing')[_0x551b('0x0')](_0x4cbbf1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20f5=['canEditAt','execute','model','refresh','_isEnabledBasedOnSelection','editor','track-changes-discard-suggestion-not-found','_suggestions','get','plugins','discardSuggestion','getRanges'];(function(_0x36baf3,_0x20f55a){const _0x33677c=function(_0x11158d){while(--_0x11158d){_0x36baf3['push'](_0x36baf3['shift']());}};_0x33677c(++_0x20f55a);}(_0x20f5,0x14a));const _0x3367=function(_0x36baf3,_0x20f55a){_0x36baf3=_0x36baf3-0x0;let _0x33677c=_0x20f5[_0x36baf3];return _0x33677c;};import{Command as _0x569ce1}from'ckeditor5/src/core.js';import{CKEditorError as _0x7db6a8}from'ckeditor5/src/utils.js';export default class B extends _0x569ce1{constructor(_0x2cfc1a,_0x24b112){super(_0x2cfc1a),this[_0x3367('0x1')]=_0x24b112,this[_0x3367('0x9')](),this[_0x3367('0xa')]=!0x1;}[_0x3367('0x9')](){this['isEnabled']=!0x0;}[_0x3367('0x7')](_0xd3a436){const _0xb7147b=this[_0x3367('0x1')][_0x3367('0x2')](_0xd3a436);if(!_0xb7147b)throw new _0x7db6a8(_0x3367('0x0'),this);const _0x113a02=_0xb7147b[_0x3367('0x5')]();this[_0x3367('0xb')][_0x3367('0x8')][_0x3367('0x6')](_0x113a02)&&this[_0x3367('0xb')][_0x3367('0x3')][_0x3367('0x2')]('TrackChangesEditing')[_0x3367('0x4')](_0xb7147b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x277f=['execute','getRanges','isInContent','editor','canEditAt','values','isEnabled','some','from','model','_suggestions','_command','_isEnabledBasedOnSelection'];(function(_0x19da79,_0x277f14){const _0xeaf485=function(_0x45f9c1){while(--_0x45f9c1){_0x19da79['push'](_0x19da79['shift']());}};_0xeaf485(++_0x277f14);}(_0x277f,0xd0));const _0xeaf4=function(_0x19da79,_0x277f14){_0x19da79=_0x19da79-0x0;let _0xeaf485=_0x277f[_0x19da79];return _0xeaf485;};import{Command as _0x42b788}from'ckeditor5/src/core.js';import{sortSuggestions as _0x437651,executeCommandForSuggestions as _0x508342}from'../utils/utils.js';export default class x extends _0x42b788{constructor(_0x2abecd,_0x3761c4,_0x4460eb){super(_0x2abecd),this[_0xeaf4('0xb')]=_0x3761c4,this['_suggestions']=_0x4460eb,this['refresh'](),this[_0xeaf4('0xc')]=!0x1;}['refresh'](){const _0x411989=Array['from'](this[_0xeaf4('0xa')][_0xeaf4('0x5')]())[_0xeaf4('0x7')](_0x457645=>_0x457645[_0xeaf4('0x2')]);this[_0xeaf4('0x6')]=this[_0xeaf4('0xb')][_0xeaf4('0x6')]&&_0x411989;}[_0xeaf4('0x0')](){const _0x487443=_0x437651(Array[_0xeaf4('0x8')](this['_suggestions'][_0xeaf4('0x5')]()));for(const _0x223db9 of _0x487443){const _0x238c40=_0x223db9[_0xeaf4('0x1')]();if(!this[_0xeaf4('0x3')][_0xeaf4('0x9')][_0xeaf4('0x4')](_0x238c40))return;}_0x508342(this[_0xeaf4('0x3')][_0xeaf4('0x9')],this[_0xeaf4('0xb')],_0x487443);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16b0=['_command','execute','editor','_suggestions','model','isEnabled','size','from','_selectedSuggestions','selection','refresh','values'];(function(_0x4e86d1,_0x16b00){const _0x15599d=function(_0x5c9d8a){while(--_0x5c9d8a){_0x4e86d1['push'](_0x4e86d1['shift']());}};_0x15599d(++_0x16b00);}(_0x16b0,0x1ae));const _0x1559=function(_0x4e86d1,_0x16b00){_0x4e86d1=_0x4e86d1-0x0;let _0x15599d=_0x16b0[_0x4e86d1];return _0x15599d;};import{Command as _0x10042d}from'ckeditor5/src/core.js';import{sortSuggestions as _0x554dc3,getSelectedSuggestions as _0x1dfc18,executeCommandForSuggestions as _0x23cb6e}from'../utils/utils.js';export default class E extends _0x10042d{constructor(_0xdcc64f,_0x1ed217,_0x47ae2f){super(_0xdcc64f),this[_0x1559('0x2')]=_0x1ed217,this['_suggestions']=_0x47ae2f,this[_0x1559('0xa')]=new Set(),this[_0x1559('0x0')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x1559('0x0')](){const _0x294559=this['editor'][_0x1559('0x6')]['document'][_0x1559('0xb')],_0x596241=Array[_0x1559('0x9')](this[_0x1559('0x5')][_0x1559('0x1')]());this['_selectedSuggestions']=_0x1dfc18(_0x294559,_0x596241),this['isEnabled']=this[_0x1559('0x2')][_0x1559('0x7')]&&!!this[_0x1559('0xa')][_0x1559('0x8')];}[_0x1559('0x3')](){const _0x2c828e=_0x554dc3(Array[_0x1559('0x9')](this[_0x1559('0xa')]));for(const _0x21c6c1 of _0x2c828e){const _0x1c9739=_0x21c6c1['getRanges']();if(!this['editor'][_0x1559('0x6')]['canEditAt'](_0x1c9739))return;}_0x23cb6e(this[_0x1559('0x4')][_0x1559('0x6')],this[_0x1559('0x2')],_0x2c828e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4299=['_disableUnsupportedCommands','refresh','commands','_enableCommands','forceDisabled','clearForceDisabled','_enabledCommands','value','TrackChangesCommand','isEnabled','has','execute','editor','affectsData'];(function(_0x5e4779,_0x4299df){const _0x2ccb07=function(_0xf54862){while(--_0xf54862){_0x5e4779['push'](_0x5e4779['shift']());}};_0x2ccb07(++_0x4299df);}(_0x4299,0x1f0));const _0x2ccb=function(_0x5e4779,_0x4299df){_0x5e4779=_0x5e4779-0x0;let _0x2ccb07=_0x4299[_0x5e4779];return _0x2ccb07;};import{Command as _0x79f725}from'ckeditor5/src/core.js';export default class M extends _0x79f725{constructor(_0x452095,_0x310c6f){super(_0x452095),this[_0x2ccb('0x0')]=_0x310c6f,this[_0x2ccb('0x1')]=!0x1,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x2ccb('0x9')](){this[_0x2ccb('0x3')]=!0x0;}[_0x2ccb('0x5')](){this[_0x2ccb('0x1')]=!this[_0x2ccb('0x1')],this[_0x2ccb('0x1')]?this[_0x2ccb('0x8')]():this[_0x2ccb('0xb')]();}['_disableUnsupportedCommands'](){for(const _0x14811e of this['editor'][_0x2ccb('0xa')][_0x2ccb('0xa')]())_0x14811e[_0x2ccb('0x7')]&&!this[_0x2ccb('0x0')][_0x2ccb('0x4')](_0x14811e)&&_0x14811e[_0x2ccb('0xc')](_0x2ccb('0x2'));}[_0x2ccb('0xb')](){for(const _0x49ea8b of this[_0x2ccb('0x6')]['commands'][_0x2ccb('0xa')]())_0x49ea8b[_0x2ccb('0x7')]&&!this[_0x2ccb('0x0')]['has'](_0x49ea8b)&&_0x49ea8b[_0x2ccb('0xd')](_0x2ccb('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59d6=['get','plugins','enableCommand','showAIAssistant','afterInit','commands'];(function(_0x169077,_0x59d61a){const _0x5c60e0=function(_0x120617){while(--_0x120617){_0x169077['push'](_0x169077['shift']());}};_0x5c60e0(++_0x59d61a);}(_0x59d6,0xc2));const _0x5c60=function(_0x169077,_0x59d61a){_0x169077=_0x169077-0x0;let _0x5c60e0=_0x59d6[_0x169077];return _0x5c60e0;};import{Plugin as _0x57f77e}from'ckeditor5/src/core.js';export default class R extends _0x57f77e{[_0x5c60('0x2')](){const _0x5a2fe9=this['editor'],_0x4e360a=_0x5a2fe9[_0x5c60('0x5')][_0x5c60('0x4')]('TrackChangesEditing');_0x5a2fe9[_0x5c60('0x3')][_0x5c60('0x4')](_0x5c60('0x1'))&&_0x4e360a[_0x5c60('0x0')](_0x5c60('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c1a=['registerDescriptionCallback','*Format:*\x20%0','get','type','value','_descriptionFactory','FORMAT_ALIGN_TO_RIGHT','locale','FORMAT_JUSTIFY_TEXT','right','TrackChangesEditing','_registerLegacyDescription','FORMAT_ALIGNMENT','alignment','left','afterInit','editor','center','_enableDefaultAttributesIntegration','AlignmentEditing','plugins','FORMAT_ALIGN_TO_CENTER'];(function(_0x55cfc7,_0x1c1ab6){const _0x54380a=function(_0x4ecc95){while(--_0x4ecc95){_0x55cfc7['push'](_0x55cfc7['shift']());}};_0x54380a(++_0x1c1ab6);}(_0x1c1a,0x1cc));const _0x5438=function(_0x55cfc7,_0x1c1ab6){_0x55cfc7=_0x55cfc7-0x0;let _0x54380a=_0x1c1a[_0x55cfc7];return _0x54380a;};import{Plugin as _0x1772ef}from'ckeditor5/src/core.js';import{getTranslation as _0x30d5ba}from'../utils/common-translations.js';export default class U extends _0x1772ef{[_0x5438('0x11')](){const _0x158c7c=this[_0x5438('0x12')],_0x117273=_0x158c7c['locale'];if(!_0x158c7c[_0x5438('0x0')]['has'](_0x5438('0x15')))return;const _0x4990db=_0x158c7c[_0x5438('0x0')][_0x5438('0x4')]('TrackChangesEditing');_0x4990db[_0x5438('0x14')](_0x5438('0xf'),[],[_0x5438('0xf')]),_0x4990db[_0x5438('0x7')]['registerAttributeLabel'](_0x5438('0xf'),_0x30d5ba(_0x117273,_0x5438('0xe'))),this[_0x5438('0xd')]();}['_registerLegacyDescription'](){const _0x62e863=this['editor'],_0x4c841e=_0x62e863[_0x5438('0x9')];_0x62e863[_0x5438('0x0')][_0x5438('0x4')](_0x5438('0xc'))['_descriptionFactory'][_0x5438('0x2')](_0x228b70=>{if('formatBlock'!=_0x228b70[_0x5438('0x5')])return;const {data:_0x30bd1f}=_0x228b70;if(_0x30bd1f&&'alignment'==_0x30bd1f['commandName']){const _0x4c4a72=_0x30bd1f['commandParams'][0x0][_0x5438('0x6')];return{'type':'format','content':_0x30d5ba(_0x4c841e,_0x5438('0x3'),function(_0x3083ba){switch(_0x3083ba){case _0x5438('0x10'):return _0x30d5ba(_0x4c841e,'FORMAT_ALIGN_TO_LEFT');case _0x5438('0xb'):return _0x30d5ba(_0x4c841e,_0x5438('0x8'));case _0x5438('0x13'):return _0x30d5ba(_0x4c841e,_0x5438('0x1'));case'justify':return _0x30d5ba(_0x4c841e,_0x5438('0xa'));}}(_0x4c4a72))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e46=['commandName','SuperscriptEditing','plugins','get','FORMAT_','_enableDefaultAttributesIntegration','subscript','FORMAT_ITALIC','editor','commandParams','locale','CodeEditing','slice','toUpperCase','afterInit','*Remove\x20format:*\x20%0','*Format:*\x20%0','has','formatInline','ItalicEditing','_descriptionFactory','type','FORMAT_SUBSCRIPT','SubscriptEditing','italic','BoldEditing','registerAttributeLabel','strikethrough','_registerLegacyDescription','registerDescriptionCallback','underline','code','TrackChangesEditing','FORMAT_BOLD','format'];(function(_0x11453f,_0x4e46a7){const _0x5b1322=function(_0x5758ef){while(--_0x5758ef){_0x11453f['push'](_0x11453f['shift']());}};_0x5b1322(++_0x4e46a7);}(_0x4e46,0xac));const _0x5b13=function(_0x11453f,_0x4e46a7){_0x11453f=_0x11453f-0x0;let _0x5b1322=_0x4e46[_0x11453f];return _0x5b1322;};import{Plugin as _0x3e5d44}from'ckeditor5/src/core.js';import{getTranslation as _0x5f3883}from'../utils/common-translations.js';const ti=[_0x5b13('0x1c'),_0x5b13('0x16'),'UnderlineEditing',_0x5b13('0xe'),'StrikethroughEditing',_0x5b13('0x1a'),_0x5b13('0x4')];export default class O extends _0x3e5d44{[_0x5b13('0x11')](){const _0x443a33=this['editor'],_0xa43df2=_0x443a33[_0x5b13('0x5')][_0x5b13('0x6')](_0x5b13('0x0')),_0x50e602=_0x443a33[_0x5b13('0xd')];for(const _0x260387 of ti){if(!_0x443a33['plugins'][_0x5b13('0x14')](_0x260387))continue;const _0x55634f=_0x260387[_0x5b13('0xf')](0x0,-0x7)['toLowerCase'](),_0x1c8b02=_0x5b13('0x7')+_0x55634f[_0x5b13('0x10')]();_0xa43df2[_0x5b13('0x8')](_0x55634f,[_0x55634f]),_0xa43df2['_descriptionFactory'][_0x5b13('0x1d')](_0x55634f,_0x5f3883(_0x50e602,_0x1c8b02));}this[_0x5b13('0x1f')]();}['_registerLegacyDescription'](){const _0x4cd78b=this[_0x5b13('0xb')],_0x1ab560=_0x4cd78b['locale'],_0x5200f4=_0x4cd78b[_0x5b13('0x5')][_0x5b13('0x6')](_0x5b13('0x0'));function _0x525747(_0x123a32,_0x1df3b9){_0x5200f4[_0x5b13('0x17')][_0x5b13('0x20')](_0x2b8f0d=>{if(_0x5b13('0x15')!=_0x2b8f0d[_0x5b13('0x18')])return;const {data:_0x303de4}=_0x2b8f0d;return _0x303de4&&_0x303de4[_0x5b13('0x3')]===_0x123a32?_0x303de4[_0x5b13('0xc')][0x0]['forceValue']?{'type':'format','content':_0x5f3883(_0x1ab560,_0x5b13('0x13'),_0x1df3b9)}:{'type':_0x5b13('0x2'),'content':_0x5f3883(_0x1ab560,_0x5b13('0x12'),_0x1df3b9)}:void 0x0;});}_0x525747('bold',_0x5f3883(_0x1ab560,_0x5b13('0x1'))),_0x525747(_0x5b13('0x1b'),_0x5f3883(_0x1ab560,_0x5b13('0xa'))),_0x525747(_0x5b13('0x21'),_0x5f3883(_0x1ab560,'FORMAT_UNDERLINE')),_0x525747(_0x5b13('0x22'),_0x5f3883(_0x1ab560,'FORMAT_CODE')),_0x525747(_0x5b13('0x1e'),_0x5f3883(_0x1ab560,'FORMAT_STRIKETHROUGH')),_0x525747(_0x5b13('0x9'),_0x5f3883(_0x1ab560,_0x5b13('0x19'))),_0x525747('superscript',_0x5f3883(_0x1ab560,'FORMAT_SUPERSCRIPT'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x406d=['_descriptionFactory','get','forceValue','registerDescriptionCallback','parent','schema','plugins','afterInit','checkChild','commands','commandName','value','format','*Remove\x20format:*\x20%0','ELEMENT_BLOCK_QUOTE','getSelectedBlocks','blockQuote','filter','*Set\x20format:*\x20%0','document','markBlockFormat','model','editor'];(function(_0x47d1c1,_0x406de8){const _0x433066=function(_0x2b9550){while(--_0x2b9550){_0x47d1c1['push'](_0x47d1c1['shift']());}};_0x433066(++_0x406de8);}(_0x406d,0x191));const _0x4330=function(_0x47d1c1,_0x406de8){_0x47d1c1=_0x47d1c1-0x0;let _0x433066=_0x406d[_0x47d1c1];return _0x433066;};import{Plugin as _0x17b2ea}from'ckeditor5/src/core.js';import{getTranslation as _0x51d7bc}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x4f5fdb}from'../utils/utils.js';export default class V extends _0x17b2ea{[_0x4330('0x14')](){const _0x21225f=this[_0x4330('0xc')],_0x53b5cd=_0x21225f['locale'];if(!_0x21225f[_0x4330('0x13')]['has']('BlockQuoteEditing'))return;const _0x3ee5a2=_0x21225f[_0x4330('0x13')][_0x4330('0xe')]('TrackChangesEditing'),_0x5ed8b0=this[_0x4330('0xc')][_0x4330('0x16')][_0x4330('0xe')](_0x4330('0x6'));_0x3ee5a2['enableCommand'](_0x4330('0x6'),(_0x2d63b7,_0x7080b={})=>{const _0x32920e=this[_0x4330('0xc')][_0x4330('0xb')][_0x4330('0x9')]['selection'],_0x5d8cd7=_0x7080b&&void 0x0!==_0x7080b[_0x4330('0xf')]?_0x7080b['forceValue']:!_0x5ed8b0[_0x4330('0x1')];let _0x3e1789=[];if(_0x5d8cd7){const _0x293b6c=Array['from'](_0x32920e[_0x4330('0x5')]())[_0x4330('0x7')](_0x33cbed=>oo(_0x33cbed)||function(_0x941c15,_0xf43e4d){const _0x39d1d6=_0xf43e4d[_0x4330('0x15')](_0x941c15['parent'],_0x4330('0x6')),_0x459ce5=_0xf43e4d[_0x4330('0x15')](['$root',_0x4330('0x6')],_0x941c15);return _0x39d1d6&&_0x459ce5;}(_0x33cbed,this[_0x4330('0xc')]['model'][_0x4330('0x12')]));_0x3e1789=_0x4f5fdb(_0x293b6c,_0x21225f[_0x4330('0xb')]);}else{const _0x4bdf24=Array['from'](_0x32920e[_0x4330('0x5')]())[_0x4330('0x7')](_0x286c85=>oo(_0x286c85));_0x3e1789=_0x4f5fdb(_0x4bdf24,_0x21225f[_0x4330('0xb')]);}_0x21225f[_0x4330('0xb')]['change'](()=>{for(const _0x4825bf of _0x3e1789)_0x3ee5a2[_0x4330('0xa')](_0x4825bf,{'commandName':_0x4330('0x6'),'commandParams':[{'forceValue':_0x5d8cd7}]});});}),_0x3ee5a2[_0x4330('0xd')][_0x4330('0x10')](_0x563ef5=>{const {data:_0x2d37ec}=_0x563ef5;if(_0x2d37ec&&_0x4330('0x6')==_0x2d37ec[_0x4330('0x0')]){const _0x39eeb9=_0x51d7bc(_0x53b5cd,_0x4330('0x4'));return _0x2d37ec['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x51d7bc(_0x53b5cd,_0x4330('0x8'),_0x39eeb9)}:{'type':_0x4330('0x2'),'content':_0x51d7bc(_0x53b5cd,_0x4330('0x3'),_0x39eeb9)};}});}}function oo(_0x420398){return _0x4330('0x6')==_0x420398[_0x4330('0x11')]['name'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x185e=['enableCommand','CaseChange','changeCaseUpper','plugins','editor','has','get','TrackChangesEditing','afterInit'];(function(_0x217fb7,_0x185e15){const _0x1a0d5d=function(_0x5cf179){while(--_0x5cf179){_0x217fb7['push'](_0x217fb7['shift']());}};_0x1a0d5d(++_0x185e15);}(_0x185e,0xf0));const _0x1a0d=function(_0x217fb7,_0x185e15){_0x217fb7=_0x217fb7-0x0;let _0x1a0d5d=_0x185e[_0x217fb7];return _0x1a0d5d;};import{Plugin as _0x41cb18}from'ckeditor5/src/core.js';export default class G extends _0x41cb18{[_0x1a0d('0x2')](){const _0x4680f5=this[_0x1a0d('0x7')];_0x4680f5[_0x1a0d('0x6')][_0x1a0d('0x8')](_0x1a0d('0x4'))&&(_0x4680f5[_0x1a0d('0x6')][_0x1a0d('0x0')](_0x1a0d('0x1'))[_0x1a0d('0x3')](_0x1a0d('0x5')),_0x4680f5['plugins'][_0x1a0d('0x0')]('TrackChangesEditing')[_0x1a0d('0x3')]('changeCaseLower'),_0x4680f5[_0x1a0d('0x6')]['get'](_0x1a0d('0x1'))['enableCommand']('changeCaseTitle'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51af=['get','commands','enableCommand','ckbox','editor','afterInit','plugins','TrackChangesEditing'];(function(_0x4e9d4d,_0x51af3a){const _0x2ebf8f=function(_0x4b2924){while(--_0x4b2924){_0x4e9d4d['push'](_0x4e9d4d['shift']());}};_0x2ebf8f(++_0x51af3a);}(_0x51af,0x1ae));const _0x2ebf=function(_0x4e9d4d,_0x51af3a){_0x4e9d4d=_0x4e9d4d-0x0;let _0x2ebf8f=_0x51af[_0x4e9d4d];return _0x2ebf8f;};import{Plugin as _0x2166d9}from'ckeditor5/src/core.js';export default class F extends _0x2166d9{[_0x2ebf('0x7')](){const _0x2b8da2=this[_0x2ebf('0x6')];_0x2b8da2[_0x2ebf('0x3')][_0x2ebf('0x2')](_0x2ebf('0x5'))&&_0x2b8da2[_0x2ebf('0x0')]['get'](_0x2ebf('0x1'))[_0x2ebf('0x4')](_0x2ebf('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a9d=['commands','change','selection','checkChild','indentCodeBlock','forceValue','rootElement','_descriptionFactory','config','plugins','language','commandParams','afterInit','from','name','locale','type','codeBlock','document','outdentCodeBlock','TrackChangesEditing','filter','getSelectedBlocks','format','CodeBlock','model','editor','ELEMENT_CODE_BLOCK','schema','find','has','registerDescriptionCallback','*Set\x20format:*\x20%0','get'];(function(_0x4e077c,_0x4a9d84){const _0x5d874f=function(_0x52c689){while(--_0x52c689){_0x4e077c['push'](_0x4e077c['shift']());}};_0x5d874f(++_0x4a9d84);}(_0x4a9d,0x1ac));const _0x5d87=function(_0x4e077c,_0x4a9d84){_0x4e077c=_0x4e077c-0x0;let _0x5d874f=_0x4a9d[_0x4e077c];return _0x5d874f;};import{Plugin as _0x3886de}from'ckeditor5/src/core.js';import{getTranslation as _0xa20b73}from'../utils/common-translations.js';import{getRangesOfBlockGroups as _0x277322}from'../utils/utils.js';export default class L extends _0x3886de{[_0x5d87('0x1a')](){const _0xe09da=this[_0x5d87('0x6')];if(!_0xe09da[_0x5d87('0x17')][_0x5d87('0xa')](_0x5d87('0x4')))return;const _0x57f1e1=_0xe09da['plugins']['get'](_0x5d87('0x0')),_0x4dd281=_0xe09da[_0x5d87('0x1d')],_0x4509b0=_0xe09da[_0x5d87('0x16')][_0x5d87('0xd')]('codeBlock')['languages'],_0x20e2ad=_0xe09da[_0x5d87('0xe')][_0x5d87('0xd')]('codeBlock');_0x57f1e1['enableCommand'](_0x5d87('0x12')),_0x57f1e1['enableCommand'](_0x5d87('0x21')),_0x57f1e1['enableCommand'](_0x5d87('0x1f'),(_0x25f10d,_0x44303c={})=>{const _0x5e7852=_0xe09da[_0x5d87('0x5')],_0x38fb13=_0xe09da[_0x5d87('0x5')][_0x5d87('0x20')][_0x5d87('0x10')],_0x1a4982=_0x44303c&&void 0x0!==_0x44303c[_0x5d87('0x13')]?_0x44303c[_0x5d87('0x13')]:!_0x20e2ad['value'];let _0x335b54;_0x44303c[_0x5d87('0x18')]||(_0x44303c[_0x5d87('0x18')]=_0x4509b0[0x0][_0x5d87('0x18')]),_0x335b54=_0x1a4982?Array[_0x5d87('0x1b')](_0x38fb13[_0x5d87('0x2')]())[_0x5d87('0x1')](_0x32d283=>eo(_0x32d283)||function(_0x581325,_0x1cc9ae){if(_0x581325['is'](_0x5d87('0x14'))||_0x1cc9ae['isLimit'](_0x581325))return!0x1;return _0x1cc9ae[_0x5d87('0x11')](_0x581325['parent'],'codeBlock');}(_0x32d283,_0x5e7852[_0x5d87('0x8')])):Array['from'](_0x38fb13[_0x5d87('0x2')]())[_0x5d87('0x1')](_0x2e2f2=>eo(_0x2e2f2));const _0x253c0f=_0x277322(_0x335b54,_0x5e7852);_0x5e7852[_0x5d87('0xf')](()=>{for(const _0x2cb894 of _0x253c0f)_0x57f1e1['markBlockFormat'](_0x2cb894,{'commandName':_0x5d87('0x1f'),'commandParams':[{..._0x44303c,'forceValue':_0x1a4982}],'formatGroupId':'blockName'});});}),(_0x57f1e1[_0x5d87('0x15')]['registerElementLabel'](_0x5d87('0x1f'),_0x13b632=>_0xa20b73(_0x4dd281,_0x5d87('0x7'),_0x13b632)),_0x57f1e1[_0x5d87('0x15')][_0x5d87('0xb')](_0x51761e=>{if('formatBlock'!=_0x51761e[_0x5d87('0x1e')])return;const _0x151b31=_0x4dd281['t'],{data:_0x4ee061}=_0x51761e;if(!_0x4ee061||_0x5d87('0x1f')!=_0x4ee061['commandName'])return;const _0x3ba413=_0x4ee061[_0x5d87('0x19')][0x0][_0x5d87('0x18')],_0x372042=_0x151b31(_0x4509b0[_0x5d87('0x9')](_0x2957ed=>_0x2957ed[_0x5d87('0x18')]===_0x3ba413)['label'])['toLowerCase']();return _0x4ee061[_0x5d87('0x19')][0x0][_0x5d87('0x13')]?{'type':'format','content':_0xa20b73(_0x4dd281,_0x5d87('0xc'),_0xa20b73(_0x4dd281,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x372042+')')}:{'type':_0x5d87('0x3'),'content':_0xa20b73(_0x4dd281,'*Remove\x20format:*\x20%0',_0xa20b73(_0x4dd281,_0x5d87('0x7'),0x1))};}));}}function eo(_0x5b06cc){return'codeBlock'==_0x5b06cc[_0x5d87('0x1c')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2711=['has','CommentsEditing','afterInit','addCommentThread','enableCommand','plugins','get'];(function(_0x4a4f5e,_0x271182){const _0x563504=function(_0x313e44){while(--_0x313e44){_0x4a4f5e['push'](_0x4a4f5e['shift']());}};_0x563504(++_0x271182);}(_0x2711,0x19c));const _0x5635=function(_0x4a4f5e,_0x271182){_0x4a4f5e=_0x4a4f5e-0x0;let _0x563504=_0x2711[_0x4a4f5e];return _0x563504;};import{Plugin as _0x5c2dfb}from'ckeditor5/src/core.js';export default class H extends _0x5c2dfb{[_0x5635('0x3')](){const _0x27e917=this['editor'];if(!_0x27e917[_0x5635('0x6')][_0x5635('0x1')](_0x5635('0x2')))return;_0x27e917[_0x5635('0x6')][_0x5635('0x0')]('TrackChangesEditing')[_0x5635('0x5')](_0x5635('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44ef=['data','commands','forward','rootName','unit','init','buffer','remove','unbindElementFromMarkerName','get','plugins','enableCommand','document','bind','enqueueChange','start','setSelection','markerNameToElements','root','mapper','end','detach','markerName','unlock','merge','delete','addMarker:suggestion:deletion','removeMarker:suggestion:deletion','createRange','createSelection','writer','getFirstRange','modifySelection','model','lock','downcastDispatcher','batch','high','editing'];(function(_0x5489ab,_0x44ef64){const _0x2aca57=function(_0x425c7f){while(--_0x425c7f){_0x5489ab['push'](_0x5489ab['shift']());}};_0x2aca57(++_0x44ef64);}(_0x44ef,0x1c7));const _0x2aca=function(_0x5489ab,_0x44ef64){_0x5489ab=_0x5489ab-0x0;let _0x2aca57=_0x44ef[_0x5489ab];return _0x2aca57;};import{Plugin as _0x3cc2e8}from'ckeditor5/src/core.js';import{LiveRange as _0x46c5de}from'ckeditor5/src/engine.js';import{Delete as _0x156084}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x3a596d}from'./utils.js';export default class q extends _0x3cc2e8{static get['requires'](){return[_0x156084];}[_0x2aca('0x12')](){const _0x70acc9=this['editor'],_0x57a633=_0x70acc9[_0x2aca('0x17')]['get']('TrackChangesEditing');_0x57a633[_0x2aca('0x18')](_0x2aca('0x26'));const _0x2d6e3d=_0x70acc9[_0x2aca('0xe')][_0x2aca('0x16')]('deleteForward');_0x57a633[_0x2aca('0x18')]('deleteForward',(_0x113648,_0x1abdd3={})=>{const _0x3c2ac4=_0x70acc9['model'][_0x2aca('0x3')](_0x70acc9[_0x2aca('0x7')][_0x2aca('0x19')]['selection']);_0x3c2ac4['isCollapsed']&&_0x70acc9[_0x2aca('0x7')][_0x2aca('0x6')](_0x3c2ac4,{'direction':_0x2aca('0xf'),'unit':_0x1abdd3[_0x2aca('0x11')]});const _0x50b014=_0x3c2ac4[_0x2aca('0x5')](),_0x4158f5=_0x46c5de['fromRange'](_0x50b014);let _0x58d246;_0x113648(_0x1abdd3),_0x58d246='$graveyard'==_0x4158f5[_0x2aca('0x1f')][_0x2aca('0x10')]?_0x70acc9[_0x2aca('0x7')]['createRange'](_0x50b014['start']):_0x70acc9[_0x2aca('0x7')]['createRange'](_0x4158f5[_0x2aca('0x1c')],_0x4158f5[_0x2aca('0x21')]),_0x4158f5[_0x2aca('0x22')](),_0x70acc9[_0x2aca('0x7')][_0x2aca('0x1b')](_0x2d6e3d[_0x2aca('0x13')][_0x2aca('0xa')],_0x136f27=>{_0x2d6e3d['buffer'][_0x2aca('0x8')](),_0x136f27[_0x2aca('0x1d')](_0x136f27[_0x2aca('0x2')](_0x58d246[_0x2aca('0x21')])),_0x2d6e3d[_0x2aca('0x13')][_0x2aca('0x24')]();});}),_0x70acc9[_0x2aca('0xc')][_0x2aca('0x9')]['on'](_0x2aca('0x0'),_0x3a596d(_0x70acc9,_0x2aca('0x25')),{'priority':_0x2aca('0xb')}),_0x70acc9[_0x2aca('0xd')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x311e15,_0x40d841,_0x2d3f6a)=>{_0x2d3f6a['options']['showSuggestionHighlights']&&_0x3a596d(_0x70acc9,_0x2aca('0x25'),{'showActiveMarker':!0x1})[_0x2aca('0x1a')](this)(_0x311e15,_0x40d841,_0x2d3f6a);},{'priority':'high'}),_0x70acc9['editing'][_0x2aca('0x9')]['on'](_0x2aca('0x1'),(_0x533e23,_0x481e42,_0xa58b92)=>{const _0x525d95=_0xa58b92[_0x2aca('0x20')][_0x2aca('0x1e')](_0x481e42['markerName']);if(_0x525d95)for(const _0x5be39e of _0x525d95)_0x5be39e['is']('uiElement')&&(_0xa58b92[_0x2aca('0x20')][_0x2aca('0x15')](_0x5be39e,_0x481e42[_0x2aca('0x23')]),_0xa58b92[_0x2aca('0x4')][_0x2aca('0x14')](_0x5be39e));},{'priority':_0x2aca('0xb')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46dd=['isFirstBlockOfListItem','map','createRange','expandListBlocksToCompleteList','has','plugins','*Indent:*\x20%0','from','accept','multipleBlocks','length','indentList','before','enableCommand','_descriptionFactory','createPositionAt','previousSibling','execute','commandParams','listIndent','splitListItemAfter','format','ELEMENT_','after','ELEMENT_LIST_ITEM','getAttribute','formatBlock','_suggestionFactory','fromRange','markMultiRangeBlockFormat','start','formatInline','getFirstRange','nodeAfter','next','getSelectedBlocks','get','listType','mergeListItemForward','commands','*Change\x20to:*\x20%0','push','refresh','change','markBlockFormat','config','ELEMENT_BULLETED_LIST','forceValue','list.multiBlock','isObject','containsItem','documentList','model','ListEditing','locale','numberedList','value','findIndex','commandName','TrackChangesEditing','listItemId','end','getRanges','outdentList','setSelection','selection','*Format:*\x20insert\x20into\x20%0','splitListItemBefore','*Format:*\x20remove\x20from\x20%0','*Merge:*\x20%0','parent','_LIST','editor','deletion','document','bulletedList','type','mergeListItemBackward','detach','nextSibling','registerCustomCallback','schema'];(function(_0x21318c,_0x46ddab){const _0x3bc4fa=function(_0x2c0ae9){while(--_0x2c0ae9){_0x21318c['push'](_0x21318c['shift']());}};_0x3bc4fa(++_0x46ddab);}(_0x46dd,0xef));const _0x3bc4=function(_0x21318c,_0x46ddab){_0x21318c=_0x21318c-0x0;let _0x3bc4fa=_0x46dd[_0x21318c];return _0x3bc4fa;};import{Plugin as _0x4d6013}from'ckeditor5/src/core.js';import{getTranslation as _0x33084c}from'../utils/common-translations.js';import{LiveRange as _0x6a5a88}from'ckeditor5/src/engine.js';export default class z extends _0x4d6013{['afterInit'](){const _0x458818=this[_0x3bc4('0x4f')];if(!_0x458818[_0x3bc4('0xc')][_0x3bc4('0xb')](_0x3bc4('0x3c')))return;const _0x25f006=_0x458818[_0x3bc4('0x3d')],_0x153dfb=_0x458818[_0x3bc4('0xc')][_0x3bc4('0x2b')](_0x3bc4('0x42')),_0x3e44be=_0x458818[_0x3bc4('0xc')][_0x3bc4('0x2b')]('ListUtils');function _0x3b8846(_0x9c97d4){return()=>{const _0x53af7e=_0x458818['commands'][_0x3bc4('0x2b')](_0x9c97d4);if(_0x53af7e[_0x3bc4('0x3f')]&&!_0x458818[_0x3bc4('0x34')][_0x3bc4('0x2b')](_0x3bc4('0x37')))return void _0x458818[_0x3bc4('0x18')]('paragraph',{});let _0x500363=Array[_0x3bc4('0xe')](_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x51')]['selection'][_0x3bc4('0x2a')]());if(_0x389964(_0x9c97d4)){_0x500363=_0x3e44be[_0x3bc4('0xa')](_0x500363);const _0x23d0e2=[];for(const _0x3a2a73 of _0x500363)_0x3e44be[_0x3bc4('0x7')](_0x3a2a73)&&_0x23d0e2[_0x3bc4('0x30')](_0x3a2a73);_0x500363=_0x23d0e2;}_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x32')](()=>{_0x153dfb[_0x3bc4('0x24')](_0x500363,{'commandName':_0x9c97d4,'commandParams':[{'forceValue':!_0x53af7e[_0x3bc4('0x3f')]}],'formatGroupId':_0x3bc4('0x2c')},[],_0x3bc4('0x3a'));});};}function _0x3bd25b(_0x5db359){return()=>{const _0x3139c6=function(_0x1d1479){let _0x322765=Array['from'](_0x1d1479);const _0x39d06e=_0x322765[_0x3bc4('0x40')](_0x1ac8f4=>!_0x1ac8f4['hasAttribute'](_0x3bc4('0x43')));return _0x39d06e>-0x1&&(_0x322765=_0x322765['slice'](0x0,_0x39d06e)),_0x322765;}(_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x51')][_0x3bc4('0x48')][_0x3bc4('0x2a')]()),_0x179834=_0x3139c6[_0x3139c6[_0x3bc4('0x11')]-0x1],_0x388e8e=_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x6')]['isObject'](_0x179834)?_0x3bc4('0x1e'):_0x3bc4('0x44'),_0x13cb2c=_0x458818['model'][_0x3bc4('0x9')](_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x16')](_0x3139c6[0x0],_0x3bc4('0x13')),_0x458818['model']['createPositionAt'](_0x179834,_0x388e8e));_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x32')](()=>{_0x153dfb[_0x3bc4('0x33')](_0x13cb2c,{'commandName':_0x5db359,'commandParams':[],'formatGroupId':_0x3bc4('0x2c')},function(_0x488fa0){const _0x24f1bf=new Set();for(const _0x536928 of _0x488fa0){let _0xad8cf5=_0x536928[_0x3bc4('0x4')];for(;_0xad8cf5&&_0xad8cf5[_0x3bc4('0x20')](_0x3bc4('0x1a'))>_0x536928[_0x3bc4('0x20')](_0x3bc4('0x1a'));)_0x24f1bf['add'](_0xad8cf5),_0xad8cf5=_0xad8cf5[_0x3bc4('0x4')];}return Array[_0x3bc4('0xe')](_0x24f1bf);}(_0x3139c6));});};}function _0x491d38(_0x312474){return()=>{const _0x52b2bb=_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x51')][_0x3bc4('0x48')][_0x3bc4('0x2a')]()[_0x3bc4('0x29')]()[_0x3bc4('0x3f')],_0x74351b=_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x16')](_0x52b2bb,_0x3bc4('0x13')),_0x20add9=_0x458818[_0x3bc4('0x3b')]['createPositionAt'](_0x52b2bb,0x0),_0x2b8818=_0x458818['model'][_0x3bc4('0x9')](_0x74351b,_0x20add9);_0x458818[_0x3bc4('0x3b')]['change'](()=>{_0x153dfb[_0x3bc4('0x33')](_0x2b8818,{'commandName':_0x312474,'commandParams':[],'formatGroupId':_0x3bc4('0x2c')});});};}function _0x389964(_0x2db6eb){const _0x29b1bd=_0x458818[_0x3bc4('0x2e')][_0x3bc4('0x2b')](_0x3bc4('0x0'))[_0x3bc4('0x3f')],_0xfcef3f=_0x458818[_0x3bc4('0x2e')][_0x3bc4('0x2b')](_0x3bc4('0x3e'))[_0x3bc4('0x3f')];return _0x3bc4('0x3e')===_0x2db6eb?_0x29b1bd:_0xfcef3f;}_0x153dfb['enableCommand'](_0x3bc4('0x3e'),_0x3b8846(_0x3bc4('0x3e'))),_0x153dfb['enableCommand'](_0x3bc4('0x0'),_0x3b8846(_0x3bc4('0x0'))),_0x153dfb[_0x3bc4('0x14')](_0x3bc4('0x12'),_0x3bd25b(_0x3bc4('0x12'))),_0x153dfb['enableCommand']('outdentList',_0x3bd25b('outdentList')),_0x153dfb[_0x3bc4('0x14')](_0x3bc4('0x1b'),_0x491d38(_0x3bc4('0x1b'))),_0x153dfb[_0x3bc4('0x14')](_0x3bc4('0x4a'),_0x491d38(_0x3bc4('0x4a'))),_0x153dfb[_0x3bc4('0x15')]['registerElementLabel'](function(_0x7f8585){const _0x170497=!_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x6')][_0x3bc4('0x38')](_0x7f8585),_0x5e3c1f=_0x7f8585[_0x3bc4('0x17')],_0x8ff630=_0x7f8585['nextSibling'],_0x35ac69=_0x7f8585['getAttribute'](_0x3bc4('0x43')),_0x499a2f=!_0x5e3c1f||_0x5e3c1f[_0x3bc4('0x20')](_0x3bc4('0x43'))!==_0x35ac69,_0xec7a35=!_0x8ff630||_0x8ff630[_0x3bc4('0x20')](_0x3bc4('0x43'))!==_0x35ac69;return _0x170497&&Boolean(_0x35ac69)&&_0x499a2f&&_0xec7a35;},_0xd0831b=>_0x33084c(_0x25f006,'ELEMENT_LIST_ITEM',_0xd0831b)),_0x153dfb['_descriptionFactory']['registerDescriptionCallback'](function(_0x4ca026){if(_0x3bc4('0x21')!=_0x4ca026[_0x3bc4('0x1')]&&_0x3bc4('0x26')!=_0x4ca026[_0x3bc4('0x1')])return;const {data:_0x2156cb}=_0x4ca026;if(!_0x2156cb)return;let _0x4b3cd7,_0x15c709,_0x271a68,_0x46ca95;switch(_0x2156cb['commandName']){case _0x3bc4('0x0'):_0x271a68=_0x2156cb[_0x3bc4('0x19')][0x0][_0x3bc4('0x36')],_0x46ca95=_0x389964(_0x2156cb[_0x3bc4('0x41')]),_0x4b3cd7=_0x271a68?_0x3bc4('0x49'):_0x3bc4('0x4b'),!_0x46ca95&&_0x458818[_0x3bc4('0x34')][_0x3bc4('0x2b')](_0x3bc4('0x37'))||(_0x4b3cd7='*Change\x20to:*\x20%0'),_0x15c709={'type':_0x3bc4('0x1c'),'content':_0x33084c(_0x25f006,_0x4b3cd7,_0x33084c(_0x25f006,_0x3bc4('0x35')))};break;case _0x3bc4('0x3e'):_0x271a68=_0x2156cb[_0x3bc4('0x19')][0x0]['forceValue'],_0x46ca95=_0x389964(_0x2156cb[_0x3bc4('0x41')]),_0x4b3cd7=_0x271a68?_0x3bc4('0x49'):'*Format:*\x20remove\x20from\x20%0',!_0x46ca95&&_0x458818[_0x3bc4('0x34')][_0x3bc4('0x2b')](_0x3bc4('0x37'))||(_0x4b3cd7=_0x3bc4('0x2f')),_0x15c709={'type':_0x3bc4('0x1c'),'content':_0x33084c(_0x25f006,_0x4b3cd7,_0x33084c(_0x25f006,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x4b3cd7=_0x3bc4('0xd'),_0x15c709={'type':'format','content':_0x33084c(_0x25f006,_0x4b3cd7,_0x33084c(_0x25f006,_0x3bc4('0x1f')))};break;case _0x3bc4('0x46'):_0x4b3cd7=function(_0x4ffb71){const _0x1a655b=_0x4ffb71[_0x3bc4('0x27')]();let _0x29eb9b=_0x1a655b[_0x3bc4('0x25')][_0x3bc4('0x28')];for(;_0x29eb9b&&_0x1a655b[_0x3bc4('0x39')](_0x29eb9b);){if(_0x29eb9b[_0x3bc4('0x20')](_0x3bc4('0x1a'))>0x0)return!0x1;_0x29eb9b=_0x29eb9b['nextSibling'];}return!0x0;}(_0x4ca026)?_0x33084c(_0x25f006,_0x3bc4('0x4b'),_0x33084c(_0x25f006,function(_0x55cb3a){const _0x151f49=_0x55cb3a[_0x3bc4('0x27')]()[_0x3bc4('0x25')][_0x3bc4('0x28')];return _0x3bc4('0x1d')+_0x151f49[_0x3bc4('0x20')]('listType')['toUpperCase']()+_0x3bc4('0x4e');}(_0x4ca026))):_0x33084c(_0x25f006,'*Outdent:*\x20%0',_0x33084c(_0x25f006,_0x3bc4('0x1f'))),_0x15c709={'type':_0x3bc4('0x1c'),'content':_0x4b3cd7};break;case _0x3bc4('0x2'):case _0x3bc4('0x2d'):!0x1===_0x2156cb[_0x3bc4('0x10')]&&(_0x4b3cd7=_0x3bc4('0x4c'),_0x15c709={'type':_0x3bc4('0x50'),'content':_0x33084c(_0x25f006,_0x4b3cd7,_0x33084c(_0x25f006,_0x3bc4('0x1f')))});}return _0x15c709;}),_0x153dfb[_0x3bc4('0x22')][_0x3bc4('0x5')](_0x3bc4('0x21'),_0x3bc4('0x3a'),_0x3bc4('0xf'),function(_0x4c8b61,_0x39868e){const _0x54d00b=[];for(let _0x3147db of _0x4c8b61)_0x3147db[_0x3bc4('0x25')]['nodeAfter']===_0x3147db['end'][_0x3bc4('0x4d')]&&(_0x3147db=_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x9')](_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x16')](_0x3147db[_0x3bc4('0x25')]['nodeAfter'],0x0))),_0x54d00b['push'](_0x3147db);_0x458818[_0x3bc4('0x3b')][_0x3bc4('0x32')](_0x370bbe=>{const _0x8ee130=_0x458818['model']['document'][_0x3bc4('0x48')],_0x6937e5=Array[_0x3bc4('0xe')](_0x8ee130[_0x3bc4('0x45')]())[_0x3bc4('0x8')](_0x1b6738=>_0x6a5a88[_0x3bc4('0x23')](_0x1b6738));_0x370bbe[_0x3bc4('0x47')](_0x54d00b),_0x458818[_0x3bc4('0x2e')][_0x3bc4('0x2b')](_0x39868e[_0x3bc4('0x41')])[_0x3bc4('0x31')](),_0x39868e[_0x3bc4('0x19')][_0x3bc4('0x30')]({'forceDefaultExecution':!0x0}),_0x458818[_0x3bc4('0x18')](_0x39868e[_0x3bc4('0x41')],..._0x39868e[_0x3bc4('0x19')]),_0x370bbe[_0x3bc4('0x47')](_0x6937e5);for(const _0x59f494 of _0x6937e5)_0x59f494[_0x3bc4('0x3')]();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaa79=['isFirstBlockOfListItem','model','formatInline','*Change\x20to:*\x20%0','listReversed','listStart','reversed','commandName','startIndex','_getTranslationKeyForListStyle','expandListBlocksToCompleteList','handleListStartCommand','ListUtils','selection','_getSuggestionBlocksForListStyle','get','getSelectedBlocks','ListPropertiesUtils','list.properties','getAttribute','isListItemBlock','plugins','TrackChangesEditing','styles','listStyle','bind','replace','from','handleListReversedCommand','numbered','locale','*Format:*\x20set\x20order\x20to\x20regular','push','length','*Format:*\x20set\x20order\x20to\x20reversed','registerDescriptionCallback','change','listType','ListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','getListTypeFromListStyleType','_LIST_','markMultiRangeBlockFormat','_getSuggestionBlocks','document','commandParams','type','handleListStyleCommand','enableCommand','has','filter','editor','format'];(function(_0x6ce1a,_0xaa79e3){const _0x375e70=function(_0x4ed622){while(--_0x4ed622){_0x6ce1a['push'](_0x6ce1a['shift']());}};_0x375e70(++_0xaa79e3);}(_0xaa79,0x65));const _0x375e=function(_0x6ce1a,_0xaa79e3){_0x6ce1a=_0x6ce1a-0x0;let _0x375e70=_0xaa79[_0x6ce1a];return _0x375e70;};import{Plugin as _0x75d827}from'ckeditor5/src/core.js';import{getTranslation as _0x5f48d0}from'../utils/common-translations.js';export default class W extends _0x75d827{['afterInit'](){if(!this[_0x375e('0x3')][_0x375e('0x1a')][_0x375e('0x1')](_0x375e('0x2b')))return;const _0x310ce1=this[_0x375e('0x3')]['config']['get'](_0x375e('0x17')),_0x371475=this['editor'][_0x375e('0x1a')][_0x375e('0x14')](_0x375e('0x1b'));_0x310ce1[_0x375e('0x1c')]&&_0x371475['enableCommand'](_0x375e('0x1d'),this['handleListStyleCommand']['bind'](this)),_0x310ce1[_0x375e('0xb')]&&_0x371475['enableCommand'](_0x375e('0x9'),this['handleListReversedCommand'][_0x375e('0x1e')](this)),_0x310ce1[_0x375e('0xd')]&&_0x371475[_0x375e('0x0')](_0x375e('0xa'),this[_0x375e('0x10')][_0x375e('0x1e')](this)),_0x371475['_descriptionFactory'][_0x375e('0x28')](this['handleDescriptions'][_0x375e('0x1e')](this));}[_0x375e('0x34')](_0x25c88e,_0x4d5a29={}){const _0x545e98=this[_0x375e('0x3')][_0x375e('0x1a')]['get'](_0x375e('0x1b')),_0x2dea83=this[_0x375e('0x13')]();this[_0x375e('0x3')][_0x375e('0x6')][_0x375e('0x29')](()=>{_0x545e98[_0x375e('0x2f')](_0x2dea83,{'commandName':'listStyle','commandParams':[{'type':_0x4d5a29[_0x375e('0x33')]}],'formatGroupId':'listStyle'});});}[_0x375e('0x21')](_0x11b0da,_0x15610={}){const _0x35fa97=this[_0x375e('0x3')]['plugins'][_0x375e('0x14')]('TrackChangesEditing'),_0x4c8d54=this['editor'][_0x375e('0x1a')][_0x375e('0x14')](_0x375e('0x11')),_0x5d5ab0=this['_getSuggestionBlocks'](_0x151fe0=>_0x4c8d54['isListItemBlock'](_0x151fe0)&&_0x375e('0x22')===_0x151fe0[_0x375e('0x18')](_0x375e('0x2a')));null!==_0x5d5ab0&&this[_0x375e('0x3')]['model'][_0x375e('0x29')](()=>{_0x35fa97[_0x375e('0x2f')](_0x5d5ab0,{'commandName':_0x375e('0x9'),'commandParams':[{'reversed':_0x15610['reversed']}],'formatGroupId':_0x375e('0x9')});});}['handleListStartCommand'](_0x178cb6,_0x1b8646={}){const _0x1e4332=this[_0x375e('0x3')]['plugins'][_0x375e('0x14')](_0x375e('0x1b')),_0x208c3e=this[_0x375e('0x3')][_0x375e('0x1a')][_0x375e('0x14')]('ListUtils'),_0x5ba187=this[_0x375e('0x30')](_0x225b61=>_0x208c3e[_0x375e('0x19')](_0x225b61)&&_0x375e('0x22')===_0x225b61[_0x375e('0x18')](_0x375e('0x2a')));null!==_0x5ba187&&this[_0x375e('0x3')]['model'][_0x375e('0x29')](()=>{_0x1e4332[_0x375e('0x2f')](_0x5ba187,{'commandName':_0x375e('0xa'),'commandParams':[{'startIndex':_0x1b8646['startIndex']}],'formatGroupId':_0x375e('0xa')});});}['handleDescriptions'](_0xd75c73){if('formatBlock'!=_0xd75c73['type']&&_0x375e('0x7')!=_0xd75c73[_0x375e('0x33')])return;const _0x1fa9c7=this[_0x375e('0x3')][_0x375e('0x23')],{data:_0x152cf3}=_0xd75c73;if(!_0x152cf3)return;let _0x351353,_0x3fac51;switch(_0x152cf3[_0x375e('0xc')]){case _0x375e('0x1d'):_0x351353=_0x375e('0x8'),_0x3fac51={'type':_0x375e('0x4'),'content':_0x5f48d0(_0x1fa9c7,_0x351353,_0x5f48d0(_0x1fa9c7,this['_getTranslationKeyForListStyle'](_0x152cf3[_0x375e('0x32')][0x0][_0x375e('0x33')])))};break;case'listReversed':_0x351353=_0x152cf3['commandParams'][0x0][_0x375e('0xb')]?_0x375e('0x27'):_0x375e('0x24'),_0x3fac51={'type':_0x375e('0x4'),'content':_0x5f48d0(_0x1fa9c7,_0x351353)};break;case'listStart':_0x351353=_0x375e('0x2c'),_0x3fac51={'type':'format','content':_0x5f48d0(_0x1fa9c7,_0x351353,_0x152cf3[_0x375e('0x32')][0x0][_0x375e('0xd')])};}return _0x3fac51;}['_getSuggestionBlocksForListStyle'](){const _0x1857f5=this['editor']['plugins'][_0x375e('0x14')](_0x375e('0x11'));let _0x67a058=Array[_0x375e('0x20')](this[_0x375e('0x3')][_0x375e('0x6')][_0x375e('0x31')][_0x375e('0x12')][_0x375e('0x15')]());return _0x67a058[_0x375e('0x25')](..._0x1857f5['expandListBlocksToCompleteList'](_0x67a058)),_0x67a058=[...new Set(_0x67a058)],_0x67a058;}[_0x375e('0x30')](_0x19bc52){const _0x2a7ad4=this[_0x375e('0x3')][_0x375e('0x1a')][_0x375e('0x14')](_0x375e('0x11'));let _0x4699fa=Array[_0x375e('0x20')](this['editor'][_0x375e('0x6')]['document'][_0x375e('0x12')][_0x375e('0x15')]())[_0x375e('0x2')](_0x19bc52);if(!_0x4699fa[_0x375e('0x26')])return null;_0x4699fa=_0x2a7ad4[_0x375e('0xf')](_0x4699fa);const _0x2e0af4=[];for(const _0x167603 of _0x4699fa)_0x2a7ad4[_0x375e('0x5')](_0x167603)&&_0x2e0af4[_0x375e('0x25')](_0x167603);return _0x2e0af4;}[_0x375e('0xe')](_0x804f0f){return'ELEMENT_'+this[_0x375e('0x3')][_0x375e('0x1a')][_0x375e('0x14')](_0x375e('0x16'))[_0x375e('0x2d')](_0x804f0f)['toUpperCase']()+_0x375e('0x2e')+_0x804f0f['toUpperCase']()[_0x375e('0x1f')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45ff=['detach','enterBlock','addMarker:suggestion:insertion','commands','getFirstPosition','downcastDispatcher','init','createRange','editing','mapper','showSuggestionHighlights','editor','ck-suggestion-marker-split','unbindElementFromMarkerName','markerName','options','parent','bind','requires','selection','change','removeMarker:suggestion:insertion','plugins','end','getFirstRange','high','enter','data','setSelection','nextSibling','get','fromRange','hasClass','writer','TrackChangesEditing','document','model','split'];(function(_0x2e3b78,_0x45ffe5){const _0x40cf97=function(_0x2af343){while(--_0x2af343){_0x2e3b78['push'](_0x2e3b78['shift']());}};_0x40cf97(++_0x45ffe5);}(_0x45ff,0x126));const _0x40cf=function(_0x2e3b78,_0x45ffe5){_0x2e3b78=_0x2e3b78-0x0;let _0x40cf97=_0x45ff[_0x2e3b78];return _0x40cf97;};import{Plugin as _0x1adf12}from'ckeditor5/src/core.js';import{Enter as _0xe35ffd}from'ckeditor5/src/enter.js';import{LiveRange as _0x20ba81}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x1b3efc}from'./utils.js';export default class J extends _0x1adf12{static get[_0x40cf('0x1c')](){return[_0xe35ffd];}[_0x40cf('0x10')](){const _0x7f305f=this[_0x40cf('0x15')],_0x563f68=_0x7f305f[_0x40cf('0x20')][_0x40cf('0x2')](_0x40cf('0x6')),_0x286fe5=_0x7f305f[_0x40cf('0xd')]['get'](_0x40cf('0x24'));_0x563f68['enableCommand'](_0x40cf('0x24'),()=>{_0x7f305f[_0x40cf('0x8')][_0x40cf('0x1e')](_0x526875=>{const _0x5e2659=_0x7f305f[_0x40cf('0x8')][_0x40cf('0x7')][_0x40cf('0x1d')],_0x240560=_0x5e2659[_0x40cf('0xe')](),_0xffffd1=_0x20ba81[_0x40cf('0x3')](_0x5e2659[_0x40cf('0x22')]());if(_0x286fe5[_0x40cf('0xb')](_0x526875)){const _0x5347b5=_0x7f305f[_0x40cf('0x8')]['createPositionAt'](_0x240560[_0x40cf('0x1a')][_0x40cf('0x1')],0x0),_0x29728d=_0x526875[_0x40cf('0x11')](_0x240560,_0x5347b5);_0x563f68['markInsertion'](_0x29728d);}else _0x526875[_0x40cf('0x0')](_0x526875[_0x40cf('0x11')](_0xffffd1[_0x40cf('0x21')]));_0xffffd1[_0x40cf('0xa')](),_0x286fe5['fire']('afterExecute',{'writer':_0x526875});});}),_0x7f305f[_0x40cf('0x12')][_0x40cf('0xf')]['on'](_0x40cf('0xc'),_0x1b3efc(_0x7f305f,_0x40cf('0x9')),{'priority':'high'}),_0x7f305f[_0x40cf('0x12')]['downcastDispatcher']['on'](_0x40cf('0x1f'),(_0x2d1dfa,_0x22c1d3,_0x1f7e77)=>{const _0x26627e=_0x1f7e77[_0x40cf('0x13')]['markerNameToElements'](_0x22c1d3[_0x40cf('0x18')]);if(_0x26627e)for(const _0x5c9a47 of _0x26627e)_0x5c9a47[_0x40cf('0x4')](_0x40cf('0x16'))&&(_0x1f7e77['mapper'][_0x40cf('0x17')](_0x5c9a47,_0x22c1d3[_0x40cf('0x18')]),_0x1f7e77[_0x40cf('0x5')]['remove'](_0x5c9a47));},{'priority':_0x40cf('0x23')}),_0x7f305f[_0x40cf('0x25')][_0x40cf('0xf')]['on'](_0x40cf('0xc'),(_0x3aa132,_0x19dae7,_0x9301db)=>{_0x9301db[_0x40cf('0x19')][_0x40cf('0x14')]&&_0x1b3efc(_0x7f305f,_0x40cf('0x9'),{'showActiveMarker':!0x1})[_0x40cf('0x1b')](this)(_0x3aa132,_0x19dae7,_0x9301db);},{'priority':_0x40cf('0x23')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1824=['enableCommand','end','suggestion:deletion','bind','filter','findPrevious','FindAndReplaceUtils','createRange','editor','item','getMarkersGroup','getRange','afterInit','_isInDeletionRange','replace','FindAndReplaceEditing','replaceAll','markers','has','plugins','getIntersection','get','TrackChangesEditing','string','findNext','handleFindCommand','findByTextCallback'];(function(_0x2e7c01,_0x1824dd){const _0x58a1=function(_0x44ecbd){while(--_0x44ecbd){_0x2e7c01['push'](_0x2e7c01['shift']());}};_0x58a1(++_0x1824dd);}(_0x1824,0x127));const _0x58a1=function(_0x2e7c01,_0x1824dd){_0x2e7c01=_0x2e7c01-0x0;let _0x44ecbd=_0x1824[_0x2e7c01];return _0x44ecbd;};import{Plugin as _0x80f68c}from'ckeditor5/src/core.js';export default class K extends _0x80f68c{[_0x58a1('0xe')](){if(!this['editor']['plugins'][_0x58a1('0x14')](_0x58a1('0x11')))return;const _0x3b160f=this[_0x58a1('0xa')][_0x58a1('0x15')][_0x58a1('0x17')](_0x58a1('0x18'));_0x3b160f[_0x58a1('0x2')]('find',this[_0x58a1('0x0')][_0x58a1('0x5')](this)),_0x3b160f[_0x58a1('0x2')](_0x58a1('0x1a')),_0x3b160f['enableCommand'](_0x58a1('0x7')),_0x3b160f['enableCommand'](_0x58a1('0x10')),_0x3b160f[_0x58a1('0x2')](_0x58a1('0x12'));}[_0x58a1('0x0')](_0x3a1b48,_0x5cc867,_0x579be7={}){const _0x46f7dd=this[_0x58a1('0xa')][_0x58a1('0x15')][_0x58a1('0x17')](_0x58a1('0x8'));return _0x3a1b48(_0x106dfd=>(_0x58a1('0x19')==typeof _0x5cc867?_0x46f7dd[_0x58a1('0x1')](_0x5cc867,_0x579be7):_0x5cc867)(_0x106dfd)[_0x58a1('0x6')](_0x724c4e=>!0x1===this[_0x58a1('0xf')](_0x724c4e,_0x106dfd[_0x58a1('0xb')])),_0x579be7);}[_0x58a1('0xf')](_0x54e2c0,_0x103ec0){const _0x53852a=this['editor']['model'][_0x58a1('0x9')](this[_0x58a1('0xa')]['model']['createPositionAt'](_0x103ec0,_0x54e2c0['start']),this[_0x58a1('0xa')]['model']['createPositionAt'](_0x103ec0,_0x54e2c0[_0x58a1('0x3')]));for(const _0x20daa4 of this[_0x58a1('0xa')]['model'][_0x58a1('0x13')][_0x58a1('0xc')](_0x58a1('0x4')))if(null!==_0x53852a[_0x58a1('0x16')](_0x20daa4[_0x58a1('0xd')]()))return!0x0;return!0x1;}}
|