@ckeditor/ckeditor5-track-changes 39.0.0 → 39.0.2

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.
Files changed (116) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardsuggestioncommand.js +1 -1
  56. package/src/commands/executeonallsuggestionscommand.js +1 -1
  57. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/integrations/alignment.js +1 -1
  60. package/src/integrations/basicstyles.js +1 -1
  61. package/src/integrations/blockquote.js +1 -1
  62. package/src/integrations/ckbox.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/documentlist.js +1 -1
  67. package/src/integrations/documentlistproperties.js +1 -1
  68. package/src/integrations/entercommand.js +1 -1
  69. package/src/integrations/findandreplace.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/formatpainter.js +1 -1
  72. package/src/integrations/heading.js +1 -1
  73. package/src/integrations/highlight.js +1 -1
  74. package/src/integrations/horizontalline.js +1 -1
  75. package/src/integrations/htmlembed.js +1 -1
  76. package/src/integrations/image.js +1 -1
  77. package/src/integrations/imagereplace.js +1 -1
  78. package/src/integrations/importword.js +1 -1
  79. package/src/integrations/indent.js +1 -1
  80. package/src/integrations/inputcommand.js +1 -1
  81. package/src/integrations/link.js +1 -1
  82. package/src/integrations/list.js +1 -1
  83. package/src/integrations/listproperties.js +1 -1
  84. package/src/integrations/mediaembed.js +1 -1
  85. package/src/integrations/mention.js +1 -1
  86. package/src/integrations/pagebreak.js +1 -1
  87. package/src/integrations/paragraph.js +1 -1
  88. package/src/integrations/removeformat.js +1 -1
  89. package/src/integrations/restrictededitingmode.js +1 -1
  90. package/src/integrations/shiftentercommand.js +1 -1
  91. package/src/integrations/standardeditingmode.js +1 -1
  92. package/src/integrations/style.js +1 -1
  93. package/src/integrations/table.js +1 -1
  94. package/src/integrations/tablecaption.js +1 -1
  95. package/src/integrations/tableclipboard.js +1 -1
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.js +1 -1
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.js +1 -1
  100. package/src/integrations/tableproperties.js +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.js +1 -1
  104. package/src/integrations/utils.js +1 -1
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.js +1 -1
  107. package/src/trackchanges.js +1 -1
  108. package/src/trackchangesdata.js +1 -1
  109. package/src/trackchangesediting.d.ts +29 -1
  110. package/src/trackchangesediting.js +1 -1
  111. package/src/trackchangesui.js +1 -1
  112. package/src/ui/suggestioncontroller.js +1 -1
  113. package/src/ui/view/basesuggestionthreadview.js +1 -1
  114. package/src/ui/view/suggestionthreadview.js +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x210e=['has','markInlineFormat','strikethrough','UnderlineEditing','forceValue','FORMAT_ITALIC','TrackChangesEditing','CodeEditing','*Format:*\x20%0','subscript','from','SuperscriptEditing','FORMAT_STRIKETHROUGH','BoldEditing','getRanges','document','*Remove\x20format:*\x20%0','code','editor','registerDescriptionCallback','superscript','ItalicEditing','underline','selection','toLowerCase','FORMAT_SUPERSCRIPT','commandName','afterInit','italic','value','get','_descriptionFactory','commandParams','format','plugins','SubscriptEditing','StrikethroughEditing','FORMAT_SUBSCRIPT','locale'];(function(_0x163dd6,_0x210e76){const _0xfe4d23=function(_0x30e807){while(--_0x30e807){_0x163dd6['push'](_0x163dd6['shift']());}};_0xfe4d23(++_0x210e76);}(_0x210e,0xc1));const _0xfe4d=function(_0x163dd6,_0x210e76){_0x163dd6=_0x163dd6-0x0;let _0xfe4d23=_0x210e[_0x163dd6];return _0xfe4d23;};import{Plugin as _0x2b7e1c}from'ckeditor5/src/core';import{getTranslation as _0x1ce4f3}from'../utils/common-translations';import{getRangesWithAttribute as _0x401cbb}from'./utils';const Kt=[_0xfe4d('0xf'),_0xfe4d('0x17'),_0xfe4d('0x5'),_0xfe4d('0x9'),_0xfe4d('0x26'),_0xfe4d('0x25'),_0xfe4d('0xd')];export default class U extends _0x2b7e1c{[_0xfe4d('0x1d')](){const _0x4be4fc=this[_0xfe4d('0x14')],_0x3ae910=_0x4be4fc['model'],_0x44032b=_0x4be4fc[_0xfe4d('0x24')]['get'](_0xfe4d('0x8')),_0x35a01f=_0x4be4fc[_0xfe4d('0x1')];for(const _0x18cb0e of Kt){if(!_0x4be4fc[_0xfe4d('0x24')][_0xfe4d('0x2')](_0x18cb0e))continue;const _0x529dd2=_0x18cb0e['slice'](0x0,-0x7)[_0xfe4d('0x1a')](),_0x52f51b=_0x4be4fc['commands'][_0xfe4d('0x20')](_0x529dd2);_0x44032b['enableCommand'](_0x529dd2,(_0x5cf3ee,_0x562deb={})=>{const _0x1b87b5=_0x3ae910[_0xfe4d('0x11')][_0xfe4d('0x19')];if(_0x1b87b5['isCollapsed'])return void _0x5cf3ee(_0x562deb);const _0xc022b3=void 0x0!==_0x562deb['forceValue']?_0x562deb[_0xfe4d('0x6')]:!_0x52f51b[_0xfe4d('0x1f')];_0x3ae910['change'](()=>{const _0x5b5237=Array[_0xfe4d('0xc')](_0x1b87b5[_0xfe4d('0x10')]());for(const _0x213643 of _0x5b5237){const _0x74c834=_0xc022b3?[_0x213643]:_0x401cbb(_0x529dd2,_0x213643,_0x3ae910);for(const _0x5aa027 of _0x74c834)_0x44032b[_0xfe4d('0x3')](_0x5aa027,{'commandName':_0x529dd2,'commandParams':[{'forceValue':_0xc022b3}]});}});});}function _0x250a36(_0x2b4c6d,_0x3273f5){_0x44032b[_0xfe4d('0x21')][_0xfe4d('0x15')](_0x2d1e8b=>{const {data:_0xd99d97}=_0x2d1e8b;if(_0xd99d97&&_0xd99d97[_0xfe4d('0x1c')]===_0x2b4c6d)return _0xd99d97[_0xfe4d('0x22')][0x0][_0xfe4d('0x6')]?{'type':_0xfe4d('0x23'),'content':_0x1ce4f3(_0x35a01f,_0xfe4d('0xa'),_0x3273f5)}:{'type':_0xfe4d('0x23'),'content':_0x1ce4f3(_0x35a01f,_0xfe4d('0x12'),_0x3273f5)};});}_0x250a36('bold',_0x1ce4f3(_0x35a01f,'FORMAT_BOLD')),_0x250a36(_0xfe4d('0x1e'),_0x1ce4f3(_0x35a01f,_0xfe4d('0x7'))),_0x250a36(_0xfe4d('0x18'),_0x1ce4f3(_0x35a01f,'FORMAT_UNDERLINE')),_0x250a36(_0xfe4d('0x13'),_0x1ce4f3(_0x35a01f,'FORMAT_CODE')),_0x250a36(_0xfe4d('0x4'),_0x1ce4f3(_0x35a01f,_0xfe4d('0xe'))),_0x250a36(_0xfe4d('0xb'),_0x1ce4f3(_0x35a01f,_0xfe4d('0x0'))),_0x250a36(_0xfe4d('0x16'),_0x1ce4f3(_0x35a01f,_0xfe4d('0x1b')));}}
23
+ const _0x1699=['*Remove\x20format:*\x20%0','markInlineFormat','commands','code','TrackChangesEditing','UnderlineEditing','ItalicEditing','_descriptionFactory','document','editor','value','slice','forceValue','bold','CodeEditing','strikethrough','has','isCollapsed','FORMAT_CODE','underline','commandName','SuperscriptEditing','toLowerCase','superscript','italic','get','FORMAT_BOLD','FORMAT_SUPERSCRIPT','*Format:*\x20%0','commandParams','FORMAT_UNDERLINE','FORMAT_SUBSCRIPT','plugins','enableCommand','format','model','selection','getRanges'];(function(_0x435c9d,_0x16997c){const _0x34b4cc=function(_0x5374cc){while(--_0x5374cc){_0x435c9d['push'](_0x435c9d['shift']());}};_0x34b4cc(++_0x16997c);}(_0x1699,0x17f));const _0x34b4=function(_0x435c9d,_0x16997c){_0x435c9d=_0x435c9d-0x0;let _0x34b4cc=_0x1699[_0x435c9d];return _0x34b4cc;};import{Plugin as _0x3c60f7}from'ckeditor5/src/core';import{getTranslation as _0x1b249d}from'../utils/common-translations';import{getRangesWithAttribute as _0x4b103b}from'./utils';const Yt=['BoldEditing',_0x34b4('0x3'),_0x34b4('0x2'),_0x34b4('0xb'),'StrikethroughEditing','SubscriptEditing',_0x34b4('0x12')];export default class x extends _0x3c60f7{['afterInit'](){const _0x18a309=this[_0x34b4('0x6')],_0x508df8=_0x18a309[_0x34b4('0x20')],_0x16cb27=_0x18a309[_0x34b4('0x1d')][_0x34b4('0x16')](_0x34b4('0x1')),_0x245aad=_0x18a309['locale'];for(const _0x1fee64 of Yt){if(!_0x18a309['plugins'][_0x34b4('0xd')](_0x1fee64))continue;const _0x297e6d=_0x1fee64[_0x34b4('0x8')](0x0,-0x7)[_0x34b4('0x13')](),_0x29d7d7=_0x18a309[_0x34b4('0x25')][_0x34b4('0x16')](_0x297e6d);_0x16cb27[_0x34b4('0x1e')](_0x297e6d,(_0x4e3d52,_0xc04fda={})=>{const _0x225ff9=_0x508df8[_0x34b4('0x5')][_0x34b4('0x21')];if(_0x225ff9[_0x34b4('0xe')])return void _0x4e3d52(_0xc04fda);const _0xbb1910=void 0x0!==_0xc04fda['forceValue']?_0xc04fda['forceValue']:!_0x29d7d7[_0x34b4('0x7')];_0x508df8['change'](()=>{const _0x128287=Array['from'](_0x225ff9[_0x34b4('0x22')]());for(const _0x1f1835 of _0x128287){const _0x3c1186=_0xbb1910?[_0x1f1835]:_0x4b103b(_0x297e6d,_0x1f1835,_0x508df8);for(const _0x56e52f of _0x3c1186)_0x16cb27[_0x34b4('0x24')](_0x56e52f,{'commandName':_0x297e6d,'commandParams':[{'forceValue':_0xbb1910}]});}});});}function _0x1ee5dd(_0x193996,_0x31cccd){_0x16cb27[_0x34b4('0x4')]['registerDescriptionCallback'](_0xd5aa8c=>{const {data:_0x1220b7}=_0xd5aa8c;if(_0x1220b7&&_0x1220b7[_0x34b4('0x11')]===_0x193996)return _0x1220b7[_0x34b4('0x1a')][0x0][_0x34b4('0x9')]?{'type':_0x34b4('0x1f'),'content':_0x1b249d(_0x245aad,_0x34b4('0x19'),_0x31cccd)}:{'type':_0x34b4('0x1f'),'content':_0x1b249d(_0x245aad,_0x34b4('0x23'),_0x31cccd)};});}_0x1ee5dd(_0x34b4('0xa'),_0x1b249d(_0x245aad,_0x34b4('0x17'))),_0x1ee5dd(_0x34b4('0x15'),_0x1b249d(_0x245aad,'FORMAT_ITALIC')),_0x1ee5dd(_0x34b4('0x10'),_0x1b249d(_0x245aad,_0x34b4('0x1b'))),_0x1ee5dd(_0x34b4('0x0'),_0x1b249d(_0x245aad,_0x34b4('0xf'))),_0x1ee5dd(_0x34b4('0xc'),_0x1b249d(_0x245aad,'FORMAT_STRIKETHROUGH')),_0x1ee5dd('subscript',_0x1b249d(_0x245aad,_0x34b4('0x1c'))),_0x1ee5dd(_0x34b4('0x14'),_0x1b249d(_0x245aad,_0x34b4('0x18')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3837=['from','forceValue','registerDescriptionCallback','get','schema','$root','change','markBlockFormat','commandParams','model','enableCommand','selection','*Remove\x20format:*\x20%0','getSelectedBlocks','commands','afterInit','locale','format','ELEMENT_BLOCK_QUOTE','*Format:*\x20%0','editor','checkChild','document','blockQuote','BlockQuoteEditing','TrackChangesEditing','parent','commandName','plugins','filter'];(function(_0x174a4b,_0x383721){const _0x4aef47=function(_0xbf14bf){while(--_0xbf14bf){_0x174a4b['push'](_0x174a4b['shift']());}};_0x4aef47(++_0x383721);}(_0x3837,0xc5));const _0x4aef=function(_0x174a4b,_0x383721){_0x174a4b=_0x174a4b-0x0;let _0x4aef47=_0x3837[_0x174a4b];return _0x4aef47;};import{Plugin as _0x261cfd}from'ckeditor5/src/core';import{getTranslation as _0x5b195b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x53ef96}from'../utils/utils';export default class j extends _0x261cfd{[_0x4aef('0x1c')](){const _0x337b33=this['editor'],_0x3b91e4=_0x337b33[_0x4aef('0x1d')];if(!_0x337b33[_0x4aef('0xb')]['has'](_0x4aef('0x7')))return;const _0x2f5987=_0x337b33['plugins'][_0x4aef('0x10')](_0x4aef('0x8')),_0x9b1327=this[_0x4aef('0x3')][_0x4aef('0x1b')][_0x4aef('0x10')](_0x4aef('0x6'));_0x2f5987[_0x4aef('0x17')](_0x4aef('0x6'),(_0x5ab7fd,_0xc49a24={})=>{const _0x19d086=this['editor']['model'][_0x4aef('0x5')][_0x4aef('0x18')],_0x44117f=_0xc49a24&&void 0x0!==_0xc49a24['forceValue']?_0xc49a24[_0x4aef('0xe')]:!_0x9b1327['value'];let _0x436fff=[];if(_0x44117f){const _0x47a4d1=Array['from'](_0x19d086['getSelectedBlocks']())[_0x4aef('0xc')](_0x56bac5=>Xt(_0x56bac5)||function(_0x5159b,_0x337450){const _0x4891fd=_0x337450[_0x4aef('0x4')](_0x5159b['parent'],_0x4aef('0x6')),_0x4e94e2=_0x337450['checkChild']([_0x4aef('0x12'),_0x4aef('0x6')],_0x5159b);return _0x4891fd&&_0x4e94e2;}(_0x56bac5,this['editor']['model'][_0x4aef('0x11')]));_0x436fff=_0x53ef96(_0x47a4d1,_0x337b33['model']);}else{const _0x1075af=Array[_0x4aef('0xd')](_0x19d086[_0x4aef('0x1a')]())[_0x4aef('0xc')](_0x5b96e3=>Xt(_0x5b96e3));_0x436fff=_0x53ef96(_0x1075af,_0x337b33[_0x4aef('0x16')]);}_0x337b33['model'][_0x4aef('0x13')](()=>{for(const _0x207f07 of _0x436fff)_0x2f5987[_0x4aef('0x14')](_0x207f07,{'commandName':_0x4aef('0x6'),'commandParams':[{'forceValue':_0x44117f}]});});}),_0x2f5987['_descriptionFactory'][_0x4aef('0xf')](_0x3be3f7=>{const {data:_0x5371fa}=_0x3be3f7;if(_0x5371fa&&'blockQuote'==_0x5371fa[_0x4aef('0xa')]){const _0x5f1089=_0x5b195b(_0x3b91e4,_0x4aef('0x1'));return _0x5371fa[_0x4aef('0x15')][0x0]['forceValue']?{'type':_0x4aef('0x0'),'content':_0x5b195b(_0x3b91e4,_0x4aef('0x2'),_0x5f1089)}:{'type':_0x4aef('0x0'),'content':_0x5b195b(_0x3b91e4,_0x4aef('0x19'),_0x5f1089)};}});}}function Xt(_0x18bc74){return'blockQuote'==_0x18bc74[_0x4aef('0x9')]['name'];}
23
+ const _0x125c=['editor','_descriptionFactory','markBlockFormat','change','*Remove\x20format:*\x20%0','enableCommand','selection','document','locale','registerDescriptionCallback','filter','parent','*Format:*\x20%0','model','schema','value','checkChild','commandName','get','name','afterInit','forceValue','getSelectedBlocks','BlockQuoteEditing','$root','plugins','commands','ELEMENT_BLOCK_QUOTE','blockQuote','commandParams','from','format'];(function(_0x5cbce4,_0x125c37){const _0x1203f2=function(_0x50bd8f){while(--_0x50bd8f){_0x5cbce4['push'](_0x5cbce4['shift']());}};_0x1203f2(++_0x125c37);}(_0x125c,0x1e9));const _0x1203=function(_0x5cbce4,_0x125c37){_0x5cbce4=_0x5cbce4-0x0;let _0x1203f2=_0x125c[_0x5cbce4];return _0x1203f2;};import{Plugin as _0x279446}from'ckeditor5/src/core';import{getTranslation as _0x257a31}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x39bedf}from'../utils/utils';export default class U extends _0x279446{[_0x1203('0xb')](){const _0x57fa4b=this[_0x1203('0x17')],_0x4bb782=_0x57fa4b[_0x1203('0x1f')];if(!_0x57fa4b[_0x1203('0x10')]['has'](_0x1203('0xe')))return;const _0x3aa946=_0x57fa4b['plugins'][_0x1203('0x9')]('TrackChangesEditing'),_0x1dab37=this['editor'][_0x1203('0x11')][_0x1203('0x9')]('blockQuote');_0x3aa946[_0x1203('0x1c')]('blockQuote',(_0x17888f,_0x48ce30={})=>{const _0x35ccd6=this['editor'][_0x1203('0x4')][_0x1203('0x1e')][_0x1203('0x1d')],_0x22de87=_0x48ce30&&void 0x0!==_0x48ce30[_0x1203('0xc')]?_0x48ce30['forceValue']:!_0x1dab37[_0x1203('0x6')];let _0x2eff16=[];if(_0x22de87){const _0x3c169d=Array[_0x1203('0x15')](_0x35ccd6[_0x1203('0xd')]())[_0x1203('0x1')](_0x307b96=>to(_0x307b96)||function(_0x27a367,_0x488ddf){const _0x38cf29=_0x488ddf['checkChild'](_0x27a367[_0x1203('0x2')],_0x1203('0x13')),_0x2db063=_0x488ddf[_0x1203('0x7')]([_0x1203('0xf'),_0x1203('0x13')],_0x27a367);return _0x38cf29&&_0x2db063;}(_0x307b96,this['editor']['model'][_0x1203('0x5')]));_0x2eff16=_0x39bedf(_0x3c169d,_0x57fa4b[_0x1203('0x4')]);}else{const _0x4d7f63=Array['from'](_0x35ccd6['getSelectedBlocks']())[_0x1203('0x1')](_0x15308d=>to(_0x15308d));_0x2eff16=_0x39bedf(_0x4d7f63,_0x57fa4b[_0x1203('0x4')]);}_0x57fa4b[_0x1203('0x4')][_0x1203('0x1a')](()=>{for(const _0x658e3d of _0x2eff16)_0x3aa946[_0x1203('0x19')](_0x658e3d,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x22de87}]});});}),_0x3aa946[_0x1203('0x18')][_0x1203('0x0')](_0x2d5a35=>{const {data:_0x65b490}=_0x2d5a35;if(_0x65b490&&'blockQuote'==_0x65b490[_0x1203('0x8')]){const _0x30ccd6=_0x257a31(_0x4bb782,_0x1203('0x12'));return _0x65b490[_0x1203('0x14')][0x0][_0x1203('0xc')]?{'type':'format','content':_0x257a31(_0x4bb782,_0x1203('0x3'),_0x30ccd6)}:{'type':_0x1203('0x16'),'content':_0x257a31(_0x4bb782,_0x1203('0x1b'),_0x30ccd6)};}});}}function to(_0x2e439a){return'blockQuote'==_0x2e439a[_0x1203('0x2')][_0x1203('0xa')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53b3=['enableCommand','ckbox','commands','editor','TrackChangesEditing','get','plugins'];(function(_0x3c1ae9,_0x53b3ae){const _0xe51ee0=function(_0x544bcf){while(--_0x544bcf){_0x3c1ae9['push'](_0x3c1ae9['shift']());}};_0xe51ee0(++_0x53b3ae);}(_0x53b3,0x160));const _0xe51e=function(_0x3c1ae9,_0x53b3ae){_0x3c1ae9=_0x3c1ae9-0x0;let _0xe51ee0=_0x53b3[_0x3c1ae9];return _0xe51ee0;};import{Plugin as _0x195394}from'ckeditor5/src/core';export default class E extends _0x195394{['afterInit'](){const _0x5d15c0=this[_0xe51e('0x1')];_0x5d15c0[_0xe51e('0x0')]['get'](_0xe51e('0x6'))&&_0x5d15c0[_0xe51e('0x4')][_0xe51e('0x3')](_0xe51e('0x2'))[_0xe51e('0x5')](_0xe51e('0x6'));}}
23
+ const _0x5f3b=['ckbox','editor','afterInit','enableCommand','plugins','get','TrackChangesEditing'];(function(_0x504979,_0x5f3b8b){const _0x3154b2=function(_0x45de1b){while(--_0x45de1b){_0x504979['push'](_0x504979['shift']());}};_0x3154b2(++_0x5f3b8b);}(_0x5f3b,0x1b5));const _0x3154=function(_0x504979,_0x5f3b8b){_0x504979=_0x504979-0x0;let _0x3154b2=_0x5f3b[_0x504979];return _0x3154b2;};import{Plugin as _0x449524}from'ckeditor5/src/core';export default class O extends _0x449524{[_0x3154('0x6')](){const _0x379f60=this[_0x3154('0x5')];_0x379f60['commands'][_0x3154('0x2')](_0x3154('0x4'))&&_0x379f60[_0x3154('0x1')][_0x3154('0x2')](_0x3154('0x3'))[_0x3154('0x0')](_0x3154('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a2c=['filter','_descriptionFactory','model','checkChild','get','editor','change','forceValue','language','registerElementLabel','parent','markBlockFormat','selection','commands','codeBlock','plugins','format','blockName','afterInit','languages','label','indentCodeBlock','locale','from','ELEMENT_CODE_BLOCK','rootElement','schema','*Format:*\x20%0','document','isLimit','commandParams','registerDescriptionCallback','getSelectedBlocks','config','CodeBlock','enableCommand'];(function(_0x3c55bd,_0x3a2cea){const _0x14abbd=function(_0x2ceaf3){while(--_0x2ceaf3){_0x3c55bd['push'](_0x3c55bd['shift']());}};_0x14abbd(++_0x3a2cea);}(_0x3a2c,0x161));const _0x14ab=function(_0x3c55bd,_0x3a2cea){_0x3c55bd=_0x3c55bd-0x0;let _0x14abbd=_0x3a2c[_0x3c55bd];return _0x14abbd;};import{Plugin as _0x8a5a85}from'ckeditor5/src/core';import{getTranslation as _0x98d66b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1cb696}from'../utils/utils';export default class O extends _0x8a5a85{[_0x14ab('0x19')](){const _0x9bebce=this[_0x14ab('0xc')];if(!_0x9bebce[_0x14ab('0x16')]['has'](_0x14ab('0x5')))return;const _0x45054f=_0x9bebce[_0x14ab('0x16')][_0x14ab('0xb')]('TrackChangesEditing'),_0xa963b=_0x9bebce[_0x14ab('0x1d')],_0x543d4d=_0x9bebce[_0x14ab('0x4')][_0x14ab('0xb')](_0x14ab('0x15'))[_0x14ab('0x1a')],_0x13680d=_0x9bebce[_0x14ab('0x14')][_0x14ab('0xb')](_0x14ab('0x15'));_0x45054f[_0x14ab('0x6')](_0x14ab('0x1c')),_0x45054f['enableCommand']('outdentCodeBlock'),_0x45054f[_0x14ab('0x6')](_0x14ab('0x15'),(_0x4ad073,_0x32be7e={})=>{const _0x59ee62=_0x9bebce['model'],_0x70d1ed=_0x9bebce[_0x14ab('0x9')][_0x14ab('0x23')][_0x14ab('0x13')],_0x13abb6=_0x32be7e&&void 0x0!==_0x32be7e[_0x14ab('0xe')]?_0x32be7e[_0x14ab('0xe')]:!_0x13680d['value'];let _0xf59f08;_0x32be7e[_0x14ab('0xf')]||(_0x32be7e[_0x14ab('0xf')]=_0x543d4d[0x0]['language']),_0xf59f08=_0x13abb6?Array[_0x14ab('0x1e')](_0x70d1ed[_0x14ab('0x3')]())[_0x14ab('0x7')](_0x3128ea=>oo(_0x3128ea)||function(_0x46500f,_0x5f5d30){if(_0x46500f['is'](_0x14ab('0x20'))||_0x5f5d30[_0x14ab('0x0')](_0x46500f))return!0x1;return _0x5f5d30[_0x14ab('0xa')](_0x46500f[_0x14ab('0x11')],_0x14ab('0x15'));}(_0x3128ea,_0x59ee62[_0x14ab('0x21')])):Array['from'](_0x70d1ed[_0x14ab('0x3')]())[_0x14ab('0x7')](_0x1ac32f=>oo(_0x1ac32f));const _0x390727=_0x1cb696(_0xf59f08,_0x59ee62);_0x59ee62[_0x14ab('0xd')](()=>{for(const _0x5bee77 of _0x390727)_0x45054f[_0x14ab('0x12')](_0x5bee77,{'commandName':_0x14ab('0x15'),'commandParams':[{..._0x32be7e,'forceValue':_0x13abb6}],'formatGroupId':_0x14ab('0x18')});});}),(_0x45054f[_0x14ab('0x8')][_0x14ab('0x10')](_0x14ab('0x15'),_0x57e135=>_0x98d66b(_0xa963b,_0x14ab('0x1f'),_0x57e135)),_0x45054f[_0x14ab('0x8')][_0x14ab('0x2')](_0x478bd8=>{const _0x492785=_0xa963b['t'],{type:_0x9ffd66,data:_0x1521f3}=_0x478bd8;if('formatBlock'==_0x9ffd66&&_0x1521f3&&_0x14ab('0x15')==_0x1521f3['commandName']){const _0x37721e=_0x1521f3['commandParams'][0x0][_0x14ab('0xf')],_0x4b71fc=_0x492785(_0x543d4d['find'](_0x59899c=>_0x59899c[_0x14ab('0xf')]===_0x37721e)[_0x14ab('0x1b')]);return _0x1521f3[_0x14ab('0x1')][0x0][_0x14ab('0xe')]?{'type':'format','content':_0x98d66b(_0xa963b,_0x14ab('0x22'),_0x98d66b(_0xa963b,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x4b71fc+')')}:{'type':_0x14ab('0x17'),'content':_0x98d66b(_0xa963b,'*Remove\x20format:*\x20%0',_0x98d66b(_0xa963b,_0x14ab('0x1f'),0x1))};}}));}}function oo(_0x4c2c29){return _0x14ab('0x15')==_0x4c2c29['name'];}
23
+ const _0x46a7=['selection','TrackChangesEditing','model','_descriptionFactory','registerElementLabel','ELEMENT_CODE_BLOCK','codeBlock','formatBlock','commandParams','registerDescriptionCallback','parent','plugins','CodeBlock','commandName','from','indentCodeBlock','checkChild','isLimit','value','locale','enableCommand','editor','languages','filter','config','*Format:*\x20%0','getSelectedBlocks','forceValue','change','commands','markBlockFormat','name','outdentCodeBlock','schema','format','language','get'];(function(_0x189c8a,_0x46a795){const _0x3d787f=function(_0x1ef98c){while(--_0x1ef98c){_0x189c8a['push'](_0x189c8a['shift']());}};_0x3d787f(++_0x46a795);}(_0x46a7,0xcb));const _0x3d78=function(_0x189c8a,_0x46a795){_0x189c8a=_0x189c8a-0x0;let _0x3d787f=_0x46a7[_0x189c8a];return _0x3d787f;};import{Plugin as _0x50eae2}from'ckeditor5/src/core';import{getTranslation as _0xf9b2be}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b8321}from'../utils/utils';export default class E extends _0x50eae2{['afterInit'](){const _0x1d5100=this[_0x3d78('0x3')];if(!_0x1d5100[_0x3d78('0x1e')]['has'](_0x3d78('0x1f')))return;const _0x456ab6=_0x1d5100['plugins']['get'](_0x3d78('0x14')),_0x49e4db=_0x1d5100[_0x3d78('0x1')],_0x70ff40=_0x1d5100[_0x3d78('0x6')][_0x3d78('0x12')](_0x3d78('0x19'))[_0x3d78('0x4')],_0x1627ab=_0x1d5100[_0x3d78('0xb')][_0x3d78('0x12')](_0x3d78('0x19'));_0x456ab6[_0x3d78('0x2')](_0x3d78('0x22')),_0x456ab6[_0x3d78('0x2')](_0x3d78('0xe')),_0x456ab6[_0x3d78('0x2')](_0x3d78('0x19'),(_0x2e50e,_0x49bf1f={})=>{const _0x44335a=_0x1d5100[_0x3d78('0x15')],_0x5508a1=_0x1d5100['model']['document'][_0x3d78('0x13')],_0x248159=_0x49bf1f&&void 0x0!==_0x49bf1f[_0x3d78('0x9')]?_0x49bf1f[_0x3d78('0x9')]:!_0x1627ab[_0x3d78('0x0')];let _0x503d8f;_0x49bf1f[_0x3d78('0x11')]||(_0x49bf1f[_0x3d78('0x11')]=_0x70ff40[0x0][_0x3d78('0x11')]),_0x503d8f=_0x248159?Array[_0x3d78('0x21')](_0x5508a1[_0x3d78('0x8')]())[_0x3d78('0x5')](_0x444d22=>oo(_0x444d22)||function(_0x3da053,_0x5f4d2f){if(_0x3da053['is']('rootElement')||_0x5f4d2f[_0x3d78('0x24')](_0x3da053))return!0x1;return _0x5f4d2f[_0x3d78('0x23')](_0x3da053[_0x3d78('0x1d')],_0x3d78('0x19'));}(_0x444d22,_0x44335a[_0x3d78('0xf')])):Array[_0x3d78('0x21')](_0x5508a1[_0x3d78('0x8')]())[_0x3d78('0x5')](_0x45a99b=>oo(_0x45a99b));const _0x2ef28b=_0x2b8321(_0x503d8f,_0x44335a);_0x44335a[_0x3d78('0xa')](()=>{for(const _0x2cfe10 of _0x2ef28b)_0x456ab6[_0x3d78('0xc')](_0x2cfe10,{'commandName':_0x3d78('0x19'),'commandParams':[{..._0x49bf1f,'forceValue':_0x248159}],'formatGroupId':'blockName'});});}),(_0x456ab6[_0x3d78('0x16')][_0x3d78('0x17')](_0x3d78('0x19'),_0x292262=>_0xf9b2be(_0x49e4db,_0x3d78('0x18'),_0x292262)),_0x456ab6[_0x3d78('0x16')][_0x3d78('0x1c')](_0x1844e5=>{const _0xf7fe0f=_0x49e4db['t'],{type:_0x3c24d8,data:_0xe6cbf0}=_0x1844e5;if(_0x3d78('0x1a')==_0x3c24d8&&_0xe6cbf0&&'codeBlock'==_0xe6cbf0[_0x3d78('0x20')]){const _0x4f047b=_0xe6cbf0[_0x3d78('0x1b')][0x0][_0x3d78('0x11')],_0xced5dd=_0xf7fe0f(_0x70ff40['find'](_0x6c078=>_0x6c078[_0x3d78('0x11')]===_0x4f047b)['label']);return _0xe6cbf0[_0x3d78('0x1b')][0x0][_0x3d78('0x9')]?{'type':_0x3d78('0x10'),'content':_0xf9b2be(_0x49e4db,_0x3d78('0x7'),_0xf9b2be(_0x49e4db,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0xced5dd+')')}:{'type':'format','content':_0xf9b2be(_0x49e4db,'*Remove\x20format:*\x20%0',_0xf9b2be(_0x49e4db,_0x3d78('0x18'),0x1))};}}));}}function oo(_0x3377cf){return _0x3d78('0x19')==_0x3377cf[_0x3d78('0xd')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2681=['enableCommand','afterInit','get','CommentsEditing','editor','plugins','TrackChangesEditing','addCommentThread','has'];(function(_0x2ba74f,_0x2681a0){const _0x299281=function(_0x3592c7){while(--_0x3592c7){_0x2ba74f['push'](_0x2ba74f['shift']());}};_0x299281(++_0x2681a0);}(_0x2681,0x6f));const _0x2992=function(_0x2ba74f,_0x2681a0){_0x2ba74f=_0x2ba74f-0x0;let _0x299281=_0x2681[_0x2ba74f];return _0x299281;};import{Plugin as _0x51fc98}from'ckeditor5/src/core';export default class F extends _0x51fc98{[_0x2992('0x7')](){const _0x46ca06=this[_0x2992('0x1')];if(!_0x46ca06[_0x2992('0x2')][_0x2992('0x5')](_0x2992('0x0')))return;_0x46ca06[_0x2992('0x2')][_0x2992('0x8')](_0x2992('0x3'))[_0x2992('0x6')](_0x2992('0x4'));}}
23
+ const _0xc9f0=['TrackChangesEditing','plugins','get','has','CommentsEditing'];(function(_0x1e158a,_0xc9f08c){const _0x3c4e95=function(_0x5b4482){while(--_0x5b4482){_0x1e158a['push'](_0x1e158a['shift']());}};_0x3c4e95(++_0xc9f08c);}(_0xc9f0,0xe2));const _0x3c4e=function(_0x1e158a,_0xc9f08c){_0x1e158a=_0x1e158a-0x0;let _0x3c4e95=_0xc9f0[_0x1e158a];return _0x3c4e95;};import{Plugin as _0x54a212}from'ckeditor5/src/core';export default class F extends _0x54a212{['afterInit'](){const _0x3a97ea=this['editor'];if(!_0x3a97ea[_0x3c4e('0x0')][_0x3c4e('0x2')](_0x3c4e('0x3')))return;_0x3a97ea[_0x3c4e('0x0')][_0x3c4e('0x1')](_0x3c4e('0x4'))['enableCommand']('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x65cf=['createSelection','batch','uiElement','data','merge','options','writer','mapper','unbindElementFromMarkerName','requires','fromRange','selection','markerName','$graveyard','enqueueChange','remove','unlock','markerNameToElements','deleteForward','start','editing','modifySelection','commands','enableCommand','downcastDispatcher','delete','detach','getFirstRange','addMarker:suggestion:deletion','lock','forward','end','unit','buffer','createRange','high','editor','get','model','bind','TrackChangesEditing','document'];(function(_0x461b95,_0x65cfae){const _0x3af803=function(_0x5dfd07){while(--_0x5dfd07){_0x461b95['push'](_0x461b95['shift']());}};_0x3af803(++_0x65cfae);}(_0x65cf,0x18a));const _0x3af8=function(_0x461b95,_0x65cfae){_0x461b95=_0x461b95-0x0;let _0x3af803=_0x65cf[_0x461b95];return _0x3af803;};import{Plugin as _0x45ded6}from'ckeditor5/src/core';import{LiveRange as _0x23dfe2}from'ckeditor5/src/engine';import{Delete as _0x281906}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4f2e5a}from'./utils';export default class G extends _0x45ded6{static get[_0x3af8('0x23')](){return[_0x281906];}['init'](){const _0x242f4a=this[_0x3af8('0x14')],_0x11fd7e=_0x242f4a['plugins'][_0x3af8('0x15')](_0x3af8('0x18'));_0x11fd7e[_0x3af8('0x7')](_0x3af8('0x9'));const _0x5468ac=_0x242f4a[_0x3af8('0x6')][_0x3af8('0x15')](_0x3af8('0x2'));_0x11fd7e[_0x3af8('0x7')](_0x3af8('0x2'),(_0x25e839,_0x505c3d={})=>{const _0x516e31=_0x242f4a[_0x3af8('0x16')][_0x3af8('0x1a')](_0x242f4a['model'][_0x3af8('0x19')][_0x3af8('0x25')]);_0x516e31['isCollapsed']&&_0x242f4a[_0x3af8('0x16')][_0x3af8('0x5')](_0x516e31,{'direction':_0x3af8('0xe'),'unit':_0x505c3d[_0x3af8('0x10')]});const _0x47e7ae=_0x516e31[_0x3af8('0xb')](),_0x51f556=_0x23dfe2[_0x3af8('0x24')](_0x47e7ae);let _0x236ec4;_0x25e839(_0x505c3d),_0x236ec4=_0x3af8('0x27')==_0x51f556['root']['rootName']?_0x242f4a[_0x3af8('0x16')]['createRange'](_0x47e7ae[_0x3af8('0x3')]):_0x242f4a[_0x3af8('0x16')][_0x3af8('0x12')](_0x51f556[_0x3af8('0x3')],_0x51f556[_0x3af8('0xf')]),_0x51f556[_0x3af8('0xa')](),_0x242f4a['model'][_0x3af8('0x28')](_0x5468ac[_0x3af8('0x11')][_0x3af8('0x1b')],_0x2ff8a5=>{_0x5468ac[_0x3af8('0x11')][_0x3af8('0xd')](),_0x2ff8a5['setSelection'](_0x2ff8a5['createRange'](_0x236ec4[_0x3af8('0xf')])),_0x5468ac['buffer'][_0x3af8('0x0')]();});}),_0x242f4a[_0x3af8('0x4')][_0x3af8('0x8')]['on']('addMarker:suggestion:deletion',_0x4f2e5a(_0x242f4a,_0x3af8('0x1e')),{'priority':_0x3af8('0x13')}),_0x242f4a[_0x3af8('0x1d')][_0x3af8('0x8')]['on'](_0x3af8('0xc'),(_0x36a4f8,_0x4d2c9a,_0x36f947)=>{_0x36f947[_0x3af8('0x1f')]['showSuggestionHighlights']&&_0x4f2e5a(_0x242f4a,_0x3af8('0x1e'),{'showActiveMarker':!0x1})[_0x3af8('0x17')](this)(_0x36a4f8,_0x4d2c9a,_0x36f947);},{'priority':_0x3af8('0x13')}),_0x242f4a[_0x3af8('0x4')][_0x3af8('0x8')]['on']('removeMarker:suggestion:deletion',(_0x238d0f,_0x37f780,_0xd1b905)=>{const _0x2af7d6=_0xd1b905[_0x3af8('0x21')][_0x3af8('0x1')](_0x37f780[_0x3af8('0x26')]);if(_0x2af7d6)for(const _0x2381e1 of _0x2af7d6)_0x2381e1['is'](_0x3af8('0x1c'))&&(_0xd1b905['mapper'][_0x3af8('0x22')](_0x2381e1,_0x37f780[_0x3af8('0x26')]),_0xd1b905[_0x3af8('0x20')][_0x3af8('0x29')](_0x2381e1));},{'priority':_0x3af8('0x13')});}}
23
+ const _0x1f5c=['editing','uiElement','selection','forward','deleteForward','showSuggestionHighlights','plugins','downcastDispatcher','buffer','model','root','removeMarker:suggestion:deletion','enableCommand','requires','document','data','merge','createRange','mapper','markerNameToElements','lock','remove','end','enqueueChange','createSelection','markerName','getFirstRange','$graveyard','high','start','editor','fromRange','writer','addMarker:suggestion:deletion','init','batch','rootName','isCollapsed','get','detach','TrackChangesEditing','bind','commands','unit','unbindElementFromMarkerName','options','unlock','setSelection'];(function(_0x582ecd,_0x1f5c70){const _0x4d2fbc=function(_0x1649b6){while(--_0x1649b6){_0x582ecd['push'](_0x582ecd['shift']());}};_0x4d2fbc(++_0x1f5c70);}(_0x1f5c,0x1d6));const _0x4d2f=function(_0x582ecd,_0x1f5c70){_0x582ecd=_0x582ecd-0x0;let _0x4d2fbc=_0x1f5c[_0x582ecd];return _0x4d2fbc;};import{Plugin as _0x4bd066}from'ckeditor5/src/core';import{LiveRange as _0x100225}from'ckeditor5/src/engine';import{Delete as _0x341415}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x1b7263}from'./utils';export default class G extends _0x4bd066{static get[_0x4d2f('0x17')](){return[_0x341415];}[_0x4d2f('0x2c')](){const _0x2a09dd=this[_0x4d2f('0x28')],_0xbdd0cf=_0x2a09dd[_0x4d2f('0x10')][_0x4d2f('0x0')](_0x4d2f('0x2'));_0xbdd0cf[_0x4d2f('0x16')]('delete');const _0x1bc820=_0x2a09dd[_0x4d2f('0x4')][_0x4d2f('0x0')](_0x4d2f('0xe'));_0xbdd0cf['enableCommand'](_0x4d2f('0xe'),(_0x3c2365,_0x52df15={})=>{const _0x1b2272=_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x22')](_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x18')][_0x4d2f('0xc')]);_0x1b2272[_0x4d2f('0x2f')]&&_0x2a09dd['model']['modifySelection'](_0x1b2272,{'direction':_0x4d2f('0xd'),'unit':_0x52df15[_0x4d2f('0x5')]});const _0x30fa13=_0x1b2272[_0x4d2f('0x24')](),_0x58a8b2=_0x100225[_0x4d2f('0x29')](_0x30fa13);let _0x331178;_0x3c2365(_0x52df15),_0x331178=_0x4d2f('0x25')==_0x58a8b2[_0x4d2f('0x14')][_0x4d2f('0x2e')]?_0x2a09dd[_0x4d2f('0x13')]['createRange'](_0x30fa13['start']):_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x1b')](_0x58a8b2[_0x4d2f('0x27')],_0x58a8b2[_0x4d2f('0x20')]),_0x58a8b2[_0x4d2f('0x1')](),_0x2a09dd[_0x4d2f('0x13')][_0x4d2f('0x21')](_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x2d')],_0x536bdb=>{_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x1e')](),_0x536bdb[_0x4d2f('0x9')](_0x536bdb[_0x4d2f('0x1b')](_0x331178['end'])),_0x1bc820[_0x4d2f('0x12')][_0x4d2f('0x8')]();});}),_0x2a09dd[_0x4d2f('0xa')][_0x4d2f('0x11')]['on'](_0x4d2f('0x2b'),_0x1b7263(_0x2a09dd,'merge'),{'priority':_0x4d2f('0x26')}),_0x2a09dd[_0x4d2f('0x19')][_0x4d2f('0x11')]['on']('addMarker:suggestion:deletion',(_0x15024a,_0x5f2314,_0x5f1564)=>{_0x5f1564[_0x4d2f('0x7')][_0x4d2f('0xf')]&&_0x1b7263(_0x2a09dd,_0x4d2f('0x1a'),{'showActiveMarker':!0x1})[_0x4d2f('0x3')](this)(_0x15024a,_0x5f2314,_0x5f1564);},{'priority':'high'}),_0x2a09dd[_0x4d2f('0xa')][_0x4d2f('0x11')]['on'](_0x4d2f('0x15'),(_0x283740,_0x493b63,_0x1e9232)=>{const _0x31bc1f=_0x1e9232[_0x4d2f('0x1c')][_0x4d2f('0x1d')](_0x493b63['markerName']);if(_0x31bc1f)for(const _0x5cae96 of _0x31bc1f)_0x5cae96['is'](_0x4d2f('0xb'))&&(_0x1e9232[_0x4d2f('0x1c')][_0x4d2f('0x6')](_0x5cae96,_0x493b63[_0x4d2f('0x23')]),_0x1e9232[_0x4d2f('0x2a')][_0x4d2f('0x1f')](_0x5cae96));},{'priority':_0x4d2f('0x26')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4973=['isObject','*Outdent:*\x20%0','formatBlock','mergeListItemBackward','getSelectedBlocks','commands','ELEMENT_LIST_ITEM','editor','getRanges','after','push','*Merge:*\x20%0','DocumentListEditing','slice','createRange','*Format:*\x20remove\x20from\x20%0','forceValue','model','before','*Change\x20to:*\x20%0','_descriptionFactory','commandParams','get','listItemId','commandName','createPositionAt','listIndent','splitListItemAfter','change','previousSibling','afterInit','*Format:*\x20insert\x20into\x20%0','splitListItemBefore','fromRange','registerCustomCallback','*Indent:*\x20%0','enableCommand','deletion','toUpperCase','next','registerDescriptionCallback','start','outdentList','indentList','_suggestionFactory','nodeAfter','nextSibling','containsItem','value','format','numberedList','detach','add','setSelection','parent','bulletedList','documentList','markBlockFormat','map','execute','hasAttribute','plugins','from','registerElementLabel','listType','document','accept','getFirstRange','schema','selection','ELEMENT_','getAttribute','mergeListItemForward','multipleBlocks'];(function(_0x234433,_0x49730d){const _0x1e5077=function(_0x1ff922){while(--_0x1ff922){_0x234433['push'](_0x234433['shift']());}};_0x1e5077(++_0x49730d);}(_0x4973,0xf8));const _0x1e50=function(_0x234433,_0x49730d){_0x234433=_0x234433-0x0;let _0x1e5077=_0x4973[_0x234433];return _0x1e5077;};import{Plugin as _0x555eb4}from'ckeditor5/src/core';import{getTranslation as _0x603ecf}from'../utils/common-translations';import{LiveRange as _0x5203c2}from'ckeditor5/src/engine';export default class L extends _0x555eb4{[_0x1e50('0x4')](){const _0x53f405=this[_0x1e50('0x37')];if(!_0x53f405[_0x1e50('0x23')]['has'](_0x1e50('0x3c')))return;const _0x33243d=_0x53f405['locale'],_0x333302=_0x53f405[_0x1e50('0x23')][_0x1e50('0x46')]('TrackChangesEditing'),_0x4914e8=_0x53f405[_0x1e50('0x23')][_0x1e50('0x46')]('DocumentListUtils');function _0x3117ca(_0x858e00){return()=>{const _0x32586a=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x858e00);let _0x3de72e=Array[_0x1e50('0x24')](_0x53f405[_0x1e50('0x41')][_0x1e50('0x27')][_0x1e50('0x2b')][_0x1e50('0x34')]());if(_0x5aea33(_0x858e00)){_0x3de72e=_0x4914e8['expandListBlocksToCompleteList'](_0x3de72e);const _0x32e988=[];for(const _0x2a1f25 of _0x3de72e)_0x4914e8['isFirstBlockOfListItem'](_0x2a1f25)&&_0x32e988['push'](_0x2a1f25);_0x3de72e=_0x32e988;}_0x53f405[_0x1e50('0x41')][_0x1e50('0x2')](()=>{_0x333302['markMultiRangeBlockFormat'](_0x3de72e,{'commandName':_0x858e00,'commandParams':[{'forceValue':!_0x32586a['value']}],'formatGroupId':_0x1e50('0x26')},[],_0x1e50('0x1e'));});};}function _0x55c294(_0x5a2f3c){return()=>{const _0x437861=function(_0x516870){let _0x59a9ae=Array['from'](_0x516870);const _0x31b16c=_0x59a9ae['findIndex'](_0x3a47ae=>!_0x3a47ae[_0x1e50('0x22')](_0x1e50('0x47')));return _0x31b16c>-0x1&&(_0x59a9ae=_0x59a9ae[_0x1e50('0x3d')](0x0,_0x31b16c)),_0x59a9ae;}(_0x53f405['model'][_0x1e50('0x27')][_0x1e50('0x2b')]['getSelectedBlocks']()),_0x56a1cd=_0x437861[_0x437861['length']-0x1],_0x1ba8bf=_0x53f405[_0x1e50('0x41')][_0x1e50('0x2a')][_0x1e50('0x30')](_0x56a1cd)?_0x1e50('0x39'):'end',_0x166b0c=_0x53f405[_0x1e50('0x41')][_0x1e50('0x3e')](_0x53f405['model']['createPositionAt'](_0x437861[0x0],_0x1e50('0x42')),_0x53f405['model'][_0x1e50('0x49')](_0x56a1cd,_0x1ba8bf));_0x53f405['model'][_0x1e50('0x2')](()=>{_0x333302['markBlockFormat'](_0x166b0c,{'commandName':_0x5a2f3c,'commandParams':[],'formatGroupId':'listType'},function(_0x41e77b){const _0x876a91=new Set();for(const _0x2ba047 of _0x41e77b){let _0x511c37=_0x2ba047[_0x1e50('0x14')];for(;_0x511c37&&_0x511c37[_0x1e50('0x2d')](_0x1e50('0x0'))>_0x2ba047[_0x1e50('0x2d')](_0x1e50('0x0'));)_0x876a91[_0x1e50('0x1a')](_0x511c37),_0x511c37=_0x511c37[_0x1e50('0x14')];}return Array['from'](_0x876a91);}(_0x437861));});};}function _0x151643(_0x5c7bdd){return()=>{const _0xbed8ad=_0x53f405[_0x1e50('0x41')]['document']['selection'][_0x1e50('0x34')]()[_0x1e50('0xd')]()[_0x1e50('0x16')],_0x506fef=_0x53f405[_0x1e50('0x41')][_0x1e50('0x49')](_0xbed8ad,_0x1e50('0x42')),_0x24cd68=_0x53f405[_0x1e50('0x41')][_0x1e50('0x49')](_0xbed8ad,0x0),_0x10ce81=_0x53f405['model'][_0x1e50('0x3e')](_0x506fef,_0x24cd68);_0x53f405[_0x1e50('0x41')][_0x1e50('0x2')](()=>{_0x333302[_0x1e50('0x1f')](_0x10ce81,{'commandName':_0x5c7bdd,'commandParams':[],'formatGroupId':'listType'});});};}function _0x5aea33(_0x1f2a8c){const _0x20a13c=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x1e50('0x1d'))[_0x1e50('0x16')],_0x169588=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x1e50('0x18'))[_0x1e50('0x16')];return _0x1e50('0x18')===_0x1f2a8c?_0x20a13c:_0x169588;}_0x333302[_0x1e50('0xa')](_0x1e50('0x18'),_0x3117ca(_0x1e50('0x18'))),_0x333302[_0x1e50('0xa')](_0x1e50('0x1d'),_0x3117ca(_0x1e50('0x1d'))),_0x333302[_0x1e50('0xa')](_0x1e50('0x11'),_0x55c294('indentList')),_0x333302['enableCommand']('outdentList',_0x55c294(_0x1e50('0x10'))),_0x333302['enableCommand'](_0x1e50('0x1'),_0x151643(_0x1e50('0x1'))),_0x333302['enableCommand'](_0x1e50('0x6'),_0x151643(_0x1e50('0x6'))),_0x333302[_0x1e50('0x44')][_0x1e50('0x25')](function(_0x3f39a4){const _0x982525=!_0x53f405[_0x1e50('0x41')]['schema']['isObject'](_0x3f39a4),_0x205921=_0x3f39a4[_0x1e50('0x3')],_0x1a0d74=_0x3f39a4['nextSibling'],_0x4cc642=_0x3f39a4['getAttribute'](_0x1e50('0x47')),_0x182d5c=!_0x205921||_0x205921['getAttribute'](_0x1e50('0x47'))!==_0x4cc642,_0x397b84=!_0x1a0d74||_0x1a0d74['getAttribute'](_0x1e50('0x47'))!==_0x4cc642;return _0x982525&&Boolean(_0x4cc642)&&_0x182d5c&&_0x397b84;},_0x19f65e=>_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM',_0x19f65e)),_0x333302['_descriptionFactory'][_0x1e50('0xe')](function(_0x59973b){const {data:_0x4d7d4d}=_0x59973b;if(!_0x4d7d4d)return;let _0xfe2ef6,_0x2ac5a1,_0x5b184e,_0x49c7fd;switch(_0x4d7d4d['commandName']){case'bulletedList':_0x5b184e=_0x4d7d4d[_0x1e50('0x45')][0x0][_0x1e50('0x40')],_0x49c7fd=_0x5aea33(_0x4d7d4d[_0x1e50('0x48')]),_0xfe2ef6=_0x5b184e?_0x1e50('0x5'):_0x1e50('0x3f'),_0x49c7fd&&(_0xfe2ef6=_0x1e50('0x43')),_0x2ac5a1={'type':'format','content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x5b184e=_0x4d7d4d[_0x1e50('0x45')][0x0][_0x1e50('0x40')],_0x49c7fd=_0x5aea33(_0x4d7d4d['commandName']),_0xfe2ef6=_0x5b184e?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x49c7fd&&(_0xfe2ef6=_0x1e50('0x43')),_0x2ac5a1={'type':_0x1e50('0x17'),'content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0xfe2ef6=_0x1e50('0x9'),_0x2ac5a1={'type':'format','content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM'))};break;case _0x1e50('0x10'):_0xfe2ef6=function(_0x2920e6){const _0x33998e=_0x2920e6[_0x1e50('0x29')]();let _0x5d4608=_0x33998e[_0x1e50('0xf')][_0x1e50('0x13')];for(;_0x5d4608&&_0x33998e[_0x1e50('0x15')](_0x5d4608);){if(_0x5d4608[_0x1e50('0x2d')](_0x1e50('0x0'))>0x0)return!0x1;_0x5d4608=_0x5d4608['nextSibling'];}return!0x0;}(_0x59973b)?_0x603ecf(_0x33243d,_0x1e50('0x3f'),_0x603ecf(_0x33243d,function(_0xfeb72d){const _0x59ed09=_0xfeb72d[_0x1e50('0x29')]()[_0x1e50('0xf')][_0x1e50('0x13')];return _0x1e50('0x2c')+_0x59ed09['getAttribute'](_0x1e50('0x26'))[_0x1e50('0xc')]()+'_LIST';}(_0x59973b))):_0x603ecf(_0x33243d,_0x1e50('0x31'),_0x603ecf(_0x33243d,_0x1e50('0x36'))),_0x2ac5a1={'type':_0x1e50('0x17'),'content':_0xfe2ef6};break;case _0x1e50('0x33'):case _0x1e50('0x2e'):!0x1===_0x4d7d4d[_0x1e50('0x2f')]&&(_0xfe2ef6=_0x1e50('0x3b'),_0x2ac5a1={'type':_0x1e50('0xb'),'content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM'))});}return _0x2ac5a1;}),_0x333302[_0x1e50('0x12')][_0x1e50('0x8')](_0x1e50('0x32'),'documentList',_0x1e50('0x28'),function(_0x3d4bad,_0x46d852){const _0x3f95ed=[];for(let _0x1d688a of _0x3d4bad)_0x1d688a[_0x1e50('0xf')]['nodeAfter']===_0x1d688a['end'][_0x1e50('0x1c')]&&(_0x1d688a=_0x53f405[_0x1e50('0x41')][_0x1e50('0x3e')](_0x53f405['model'][_0x1e50('0x49')](_0x1d688a['start'][_0x1e50('0x13')],0x0))),_0x3f95ed[_0x1e50('0x3a')](_0x1d688a);_0x53f405['model'][_0x1e50('0x2')](_0x2dd947=>{const _0x2345e5=_0x53f405['model'][_0x1e50('0x27')]['selection'],_0x491ced=Array[_0x1e50('0x24')](_0x2345e5[_0x1e50('0x38')]())[_0x1e50('0x20')](_0x5d4082=>_0x5203c2[_0x1e50('0x7')](_0x5d4082));_0x2dd947[_0x1e50('0x1b')](_0x3f95ed),_0x53f405[_0x1e50('0x35')]['get'](_0x46d852['commandName'])['refresh'](),_0x46d852[_0x1e50('0x45')][_0x1e50('0x3a')]({'forceDefaultExecution':!0x0}),_0x53f405[_0x1e50('0x21')](_0x46d852[_0x1e50('0x48')],..._0x46d852[_0x1e50('0x45')]),_0x2dd947[_0x1e50('0x1b')](_0x491ced);for(const _0x58cfe9 of _0x491ced)_0x58cfe9[_0x1e50('0x19')]();});});}}
23
+ const _0x5037=['splitListItemAfter','listIndent','add','isFirstBlockOfListItem','execute','*Change\x20to:*\x20%0','editor','listItemId','forceValue','*Outdent:*\x20%0','ELEMENT_LIST_ITEM','refresh','expandListBlocksToCompleteList','containsItem','slice','push','markBlockFormat','mergeListItemForward','parent','*Format:*\x20remove\x20from\x20%0','bulletedList','commandParams','map','format','document','numberedList','end','commands','model','plugins','ELEMENT_','ELEMENT_BULLETED_LIST','value','getSelectedBlocks','outdentList','start','selection','getAttribute','_suggestionFactory','listType','*Format:*\x20insert\x20into\x20%0','enableCommand','TrackChangesEditing','before','registerCustomCallback','documentList','indentList','formatBlock','nextSibling','afterInit','hasAttribute','nodeAfter','_descriptionFactory','getRanges','accept','length','get','createRange','ELEMENT_NUMBERED_LIST','schema','setSelection','from','detach','locale','after','DocumentListUtils','fromRange','previousSibling','isObject','DocumentListEditing','change','createPositionAt','getFirstRange','has','*Indent:*\x20%0','commandName'];(function(_0x5600a4,_0x5037a1){const _0x4494bc=function(_0x2a0917){while(--_0x2a0917){_0x5600a4['push'](_0x5600a4['shift']());}};_0x4494bc(++_0x5037a1);}(_0x5037,0x1cd));const _0x4494=function(_0x5600a4,_0x5037a1){_0x5600a4=_0x5600a4-0x0;let _0x4494bc=_0x5037[_0x5600a4];return _0x4494bc;};import{Plugin as _0x1bb2fb}from'ckeditor5/src/core';import{getTranslation as _0x155d70}from'../utils/common-translations';import{LiveRange as _0x234bbe}from'ckeditor5/src/engine';export default class L extends _0x1bb2fb{[_0x4494('0x2c')](){const _0x422813=this[_0x4494('0x1')];if(!_0x422813[_0x4494('0x18')][_0x4494('0x44')](_0x4494('0x40')))return;const _0x898cc4=_0x422813[_0x4494('0x3a')],_0x112bc2=_0x422813['plugins'][_0x4494('0x33')](_0x4494('0x25')),_0x43aa91=_0x422813[_0x4494('0x18')]['get'](_0x4494('0x3c'));function _0xdaae87(_0x964ce1){return()=>{const _0x23cfb3=_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x964ce1);let _0xd529f8=Array[_0x4494('0x38')](_0x422813[_0x4494('0x17')][_0x4494('0x13')][_0x4494('0x1f')][_0x4494('0x1c')]());if(_0x532088(_0x964ce1)){_0xd529f8=_0x43aa91[_0x4494('0x7')](_0xd529f8);const _0x4d3ca1=[];for(const _0x20ac7a of _0xd529f8)_0x43aa91[_0x4494('0x4a')](_0x20ac7a)&&_0x4d3ca1[_0x4494('0xa')](_0x20ac7a);_0xd529f8=_0x4d3ca1;}_0x422813[_0x4494('0x17')][_0x4494('0x41')](()=>{_0x112bc2['markMultiRangeBlockFormat'](_0xd529f8,{'commandName':_0x964ce1,'commandParams':[{'forceValue':!_0x23cfb3[_0x4494('0x1b')]}],'formatGroupId':'listType'},[],_0x4494('0x28'));});};}function _0x50ae7b(_0x3d49d5){return()=>{const _0x2c9dcd=function(_0x26f186){let _0x306e75=Array['from'](_0x26f186);const _0x6b652d=_0x306e75['findIndex'](_0x3dfb67=>!_0x3dfb67[_0x4494('0x2d')](_0x4494('0x2')));return _0x6b652d>-0x1&&(_0x306e75=_0x306e75[_0x4494('0x9')](0x0,_0x6b652d)),_0x306e75;}(_0x422813[_0x4494('0x17')][_0x4494('0x13')]['selection'][_0x4494('0x1c')]()),_0x3aad81=_0x2c9dcd[_0x2c9dcd[_0x4494('0x32')]-0x1],_0x29e63b=_0x422813[_0x4494('0x17')][_0x4494('0x36')][_0x4494('0x3f')](_0x3aad81)?_0x4494('0x3b'):_0x4494('0x15'),_0x5d7ff1=_0x422813[_0x4494('0x17')][_0x4494('0x34')](_0x422813['model'][_0x4494('0x42')](_0x2c9dcd[0x0],_0x4494('0x26')),_0x422813[_0x4494('0x17')][_0x4494('0x42')](_0x3aad81,_0x29e63b));_0x422813['model']['change'](()=>{_0x112bc2[_0x4494('0xb')](_0x5d7ff1,{'commandName':_0x3d49d5,'commandParams':[],'formatGroupId':_0x4494('0x22')},function(_0x1a0966){const _0x4371ea=new Set();for(const _0xb5f984 of _0x1a0966){let _0x59e5a3=_0xb5f984['nextSibling'];for(;_0x59e5a3&&_0x59e5a3[_0x4494('0x20')](_0x4494('0x48'))>_0xb5f984[_0x4494('0x20')](_0x4494('0x48'));)_0x4371ea[_0x4494('0x49')](_0x59e5a3),_0x59e5a3=_0x59e5a3[_0x4494('0x2b')];}return Array['from'](_0x4371ea);}(_0x2c9dcd));});};}function _0x2568ea(_0x58073e){return()=>{const _0x2172de=_0x422813[_0x4494('0x17')]['document'][_0x4494('0x1f')][_0x4494('0x1c')]()['next']()[_0x4494('0x1b')],_0x49799b=_0x422813[_0x4494('0x17')]['createPositionAt'](_0x2172de,'before'),_0xaf37dd=_0x422813['model'][_0x4494('0x42')](_0x2172de,0x0),_0x2be34a=_0x422813[_0x4494('0x17')][_0x4494('0x34')](_0x49799b,_0xaf37dd);_0x422813[_0x4494('0x17')]['change'](()=>{_0x112bc2[_0x4494('0xb')](_0x2be34a,{'commandName':_0x58073e,'commandParams':[],'formatGroupId':_0x4494('0x22')});});};}function _0x532088(_0x9fc2fd){const _0x32385d=_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x4494('0xf'))['value'],_0x2fd023=_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x4494('0x14'))[_0x4494('0x1b')];return'numberedList'===_0x9fc2fd?_0x32385d:_0x2fd023;}_0x112bc2[_0x4494('0x24')](_0x4494('0x14'),_0xdaae87(_0x4494('0x14'))),_0x112bc2[_0x4494('0x24')](_0x4494('0xf'),_0xdaae87(_0x4494('0xf'))),_0x112bc2[_0x4494('0x24')](_0x4494('0x29'),_0x50ae7b(_0x4494('0x29'))),_0x112bc2[_0x4494('0x24')](_0x4494('0x1d'),_0x50ae7b(_0x4494('0x1d'))),_0x112bc2[_0x4494('0x24')](_0x4494('0x47'),_0x2568ea(_0x4494('0x47'))),_0x112bc2[_0x4494('0x24')]('splitListItemBefore',_0x2568ea('splitListItemBefore')),_0x112bc2[_0x4494('0x2f')]['registerElementLabel'](function(_0x36f97f){const _0x1c1921=!_0x422813[_0x4494('0x17')][_0x4494('0x36')][_0x4494('0x3f')](_0x36f97f),_0x50c5b7=_0x36f97f[_0x4494('0x3e')],_0x154d5a=_0x36f97f[_0x4494('0x2b')],_0x2e6e20=_0x36f97f[_0x4494('0x20')](_0x4494('0x2')),_0x17b19b=!_0x50c5b7||_0x50c5b7[_0x4494('0x20')](_0x4494('0x2'))!==_0x2e6e20,_0x32c0f4=!_0x154d5a||_0x154d5a[_0x4494('0x20')](_0x4494('0x2'))!==_0x2e6e20;return _0x1c1921&&Boolean(_0x2e6e20)&&_0x17b19b&&_0x32c0f4;},_0x376d43=>_0x155d70(_0x898cc4,_0x4494('0x5'),_0x376d43)),_0x112bc2[_0x4494('0x2f')]['registerDescriptionCallback'](function(_0x4682a6){const {data:_0x29b199}=_0x4682a6;if(!_0x29b199)return;let _0x527828,_0x18a240,_0x2122a5,_0x18204e;switch(_0x29b199[_0x4494('0x46')]){case _0x4494('0xf'):_0x2122a5=_0x29b199[_0x4494('0x10')][0x0]['forceValue'],_0x18204e=_0x532088(_0x29b199[_0x4494('0x46')]),_0x527828=_0x2122a5?_0x4494('0x23'):_0x4494('0xe'),_0x18204e&&(_0x527828=_0x4494('0x0')),_0x18a240={'type':_0x4494('0x12'),'content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,_0x4494('0x1a')))};break;case _0x4494('0x14'):_0x2122a5=_0x29b199[_0x4494('0x10')][0x0][_0x4494('0x3')],_0x18204e=_0x532088(_0x29b199[_0x4494('0x46')]),_0x527828=_0x2122a5?'*Format:*\x20insert\x20into\x20%0':_0x4494('0xe'),_0x18204e&&(_0x527828=_0x4494('0x0')),_0x18a240={'type':'format','content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,_0x4494('0x35')))};break;case _0x4494('0x29'):_0x527828=_0x4494('0x45'),_0x18a240={'type':'format','content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x527828=function(_0x30fd4b){const _0x206185=_0x30fd4b['getFirstRange']();let _0x40605d=_0x206185['start'][_0x4494('0x2e')];for(;_0x40605d&&_0x206185[_0x4494('0x8')](_0x40605d);){if(_0x40605d[_0x4494('0x20')](_0x4494('0x48'))>0x0)return!0x1;_0x40605d=_0x40605d[_0x4494('0x2b')];}return!0x0;}(_0x4682a6)?_0x155d70(_0x898cc4,'*Format:*\x20remove\x20from\x20%0',_0x155d70(_0x898cc4,function(_0x4487a6){const _0x2aa1b1=_0x4487a6[_0x4494('0x43')]()[_0x4494('0x1e')][_0x4494('0x2e')];return _0x4494('0x19')+_0x2aa1b1[_0x4494('0x20')](_0x4494('0x22'))['toUpperCase']()+'_LIST';}(_0x4682a6))):_0x155d70(_0x898cc4,_0x4494('0x4'),_0x155d70(_0x898cc4,_0x4494('0x5'))),_0x18a240={'type':_0x4494('0x12'),'content':_0x527828};break;case'mergeListItemBackward':case _0x4494('0xc'):!0x1===_0x29b199['multipleBlocks']&&(_0x527828='*Merge:*\x20%0',_0x18a240={'type':'deletion','content':_0x155d70(_0x898cc4,_0x527828,_0x155d70(_0x898cc4,'ELEMENT_LIST_ITEM'))});}return _0x18a240;}),_0x112bc2[_0x4494('0x21')][_0x4494('0x27')](_0x4494('0x2a'),_0x4494('0x28'),_0x4494('0x31'),function(_0x3b6639,_0x12eb8d){const _0x243887=[];for(let _0x45eb29 of _0x3b6639)_0x45eb29[_0x4494('0x1e')][_0x4494('0x2e')]===_0x45eb29['end'][_0x4494('0xd')]&&(_0x45eb29=_0x422813[_0x4494('0x17')][_0x4494('0x34')](_0x422813[_0x4494('0x17')][_0x4494('0x42')](_0x45eb29['start'][_0x4494('0x2e')],0x0))),_0x243887[_0x4494('0xa')](_0x45eb29);_0x422813['model'][_0x4494('0x41')](_0x3a6167=>{const _0x123468=_0x422813[_0x4494('0x17')]['document'][_0x4494('0x1f')],_0x1224a4=Array['from'](_0x123468[_0x4494('0x30')]())[_0x4494('0x11')](_0x5e1308=>_0x234bbe[_0x4494('0x3d')](_0x5e1308));_0x3a6167[_0x4494('0x37')](_0x243887),_0x422813[_0x4494('0x16')][_0x4494('0x33')](_0x12eb8d[_0x4494('0x46')])[_0x4494('0x6')](),_0x12eb8d[_0x4494('0x10')]['push']({'forceDefaultExecution':!0x0}),_0x422813[_0x4494('0x4b')](_0x12eb8d[_0x4494('0x46')],..._0x12eb8d[_0x4494('0x10')]),_0x3a6167[_0x4494('0x37')](_0x1224a4);for(const _0x2875f9 of _0x1224a4)_0x2875f9[_0x4494('0x39')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38a1=['TrackChangesEditing','handleListStartCommand','getSelectedBlocks','locale','isListItemBlock','markMultiRangeBlockFormat','handleListReversedCommand','getListTypeFromListStyleType','listStart','_descriptionFactory','commandName','push','_getSuggestionBlocksForListStyle','listReversed','replace','bind','listType','model','DocumentListPropertiesUtils','format','DocumentListUtils','styles','ELEMENT_','toUpperCase','has','enableCommand','expandListBlocksToCompleteList','length','startIndex','*Format:*\x20set\x20order\x20to\x20regular','reversed','selection','_getSuggestionBlocks','*Change\x20to:*\x20%0','afterInit','change','handleDescriptions','_getTranslationKeyForListStyle','commandParams','type','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','document','from','editor','_LIST_','list.properties','get','plugins','listStyle','isFirstBlockOfListItem','handleListStyleCommand','getAttribute'];(function(_0x2d33cf,_0x38a129){const _0xc5a236=function(_0x431709){while(--_0x431709){_0x2d33cf['push'](_0x2d33cf['shift']());}};_0xc5a236(++_0x38a129);}(_0x38a1,0x122));const _0xc5a2=function(_0x2d33cf,_0x38a129){_0x2d33cf=_0x2d33cf-0x0;let _0xc5a236=_0x38a1[_0x2d33cf];return _0xc5a236;};import{Plugin as _0x49e10b}from'ckeditor5/src/core';import{getTranslation as _0x8e85b2}from'../utils/common-translations';export default class At extends _0x49e10b{[_0xc5a2('0x9')](){if(!this['editor']['plugins'][_0xc5a2('0x34')]('DocumentListPropertiesEditing'))return;const _0x2902ae=this[_0xc5a2('0x13')]['config'][_0xc5a2('0x16')](_0xc5a2('0x15')),_0x405b28=this['editor'][_0xc5a2('0x17')][_0xc5a2('0x16')](_0xc5a2('0x1c'));_0x2902ae[_0xc5a2('0x31')]&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x18'),this[_0xc5a2('0x1a')][_0xc5a2('0x2b')](this)),_0x2902ae['reversed']&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x29'),this[_0xc5a2('0x22')][_0xc5a2('0x2b')](this)),_0x2902ae[_0xc5a2('0x3')]&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x24'),this[_0xc5a2('0x1d')][_0xc5a2('0x2b')](this)),_0x405b28[_0xc5a2('0x25')]['registerDescriptionCallback'](this[_0xc5a2('0xb')][_0xc5a2('0x2b')](this));}[_0xc5a2('0x1a')](_0x4b0852,_0x4b6122={}){const _0x768da4=this[_0xc5a2('0x13')][_0xc5a2('0x17')][_0xc5a2('0x16')]('TrackChangesEditing'),_0x1231c2=this[_0xc5a2('0x28')]();this[_0xc5a2('0x13')][_0xc5a2('0x2d')][_0xc5a2('0xa')](()=>{_0x768da4[_0xc5a2('0x21')](_0x1231c2,{'commandName':_0xc5a2('0x18'),'commandParams':[{'type':_0x4b6122['type']}],'formatGroupId':_0xc5a2('0x18')});});}[_0xc5a2('0x22')](_0x57ed46,_0x5247a2={}){const _0x52da9d=this[_0xc5a2('0x13')]['plugins'][_0xc5a2('0x16')]('TrackChangesEditing'),_0x2d0f60=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get'](_0xc5a2('0x30')),_0x3c2442=this[_0xc5a2('0x7')](_0x35a120=>_0x2d0f60[_0xc5a2('0x20')](_0x35a120)&&_0xc5a2('0xf')===_0x35a120[_0xc5a2('0x1b')](_0xc5a2('0x2c')));null!==_0x3c2442&&this['editor'][_0xc5a2('0x2d')][_0xc5a2('0xa')](()=>{_0x52da9d['markMultiRangeBlockFormat'](_0x3c2442,{'commandName':_0xc5a2('0x29'),'commandParams':[{'reversed':_0x5247a2['reversed']}],'formatGroupId':_0xc5a2('0x29')});});}[_0xc5a2('0x1d')](_0x14bede,_0x30d9e4={}){const _0x2033af=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get']('TrackChangesEditing'),_0x4b72ad=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get'](_0xc5a2('0x30')),_0x5a6601=this['_getSuggestionBlocks'](_0x39c80b=>_0x4b72ad['isListItemBlock'](_0x39c80b)&&'numbered'===_0x39c80b['getAttribute'](_0xc5a2('0x2c')));null!==_0x5a6601&&this['editor']['model'][_0xc5a2('0xa')](()=>{_0x2033af[_0xc5a2('0x21')](_0x5a6601,{'commandName':'listStart','commandParams':[{'startIndex':_0x30d9e4['startIndex']}],'formatGroupId':_0xc5a2('0x24')});});}[_0xc5a2('0xb')](_0x534456){const _0x1480c5=this[_0xc5a2('0x13')][_0xc5a2('0x1f')],{data:_0x566f3a}=_0x534456;if(!_0x566f3a)return;let _0x25670e,_0x2436f8;switch(_0x566f3a[_0xc5a2('0x26')]){case _0xc5a2('0x18'):_0x25670e=_0xc5a2('0x8'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e,_0x8e85b2(_0x1480c5,this[_0xc5a2('0xc')](_0x566f3a[_0xc5a2('0xd')][0x0][_0xc5a2('0xe')])))};break;case _0xc5a2('0x29'):_0x25670e=_0x566f3a['commandParams'][0x0][_0xc5a2('0x5')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0xc5a2('0x4'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e)};break;case _0xc5a2('0x24'):_0x25670e=_0xc5a2('0x10'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e,_0x566f3a['commandParams'][0x0][_0xc5a2('0x3')])};}return _0x2436f8;}[_0xc5a2('0x28')](){const _0x2837b9=this['editor']['plugins']['get'](_0xc5a2('0x30'));let _0x49e94a=Array[_0xc5a2('0x12')](this[_0xc5a2('0x13')][_0xc5a2('0x2d')][_0xc5a2('0x11')][_0xc5a2('0x6')][_0xc5a2('0x1e')]());return _0x49e94a[_0xc5a2('0x27')](..._0x2837b9[_0xc5a2('0x1')](_0x49e94a)),_0x49e94a=[...new Set(_0x49e94a)],_0x49e94a;}[_0xc5a2('0x7')](_0x5a9d7c){const _0x2d10b2=this['editor'][_0xc5a2('0x17')][_0xc5a2('0x16')](_0xc5a2('0x30'));let _0x10f09e=Array[_0xc5a2('0x12')](this[_0xc5a2('0x13')]['model'][_0xc5a2('0x11')]['selection'][_0xc5a2('0x1e')]())['filter'](_0x5a9d7c);if(!_0x10f09e[_0xc5a2('0x2')])return null;_0x10f09e=_0x2d10b2[_0xc5a2('0x1')](_0x10f09e);const _0x5bcf48=[];for(const _0x1aa5a9 of _0x10f09e)_0x2d10b2[_0xc5a2('0x19')](_0x1aa5a9)&&_0x5bcf48[_0xc5a2('0x27')](_0x1aa5a9);return _0x5bcf48;}['_getTranslationKeyForListStyle'](_0x23d752){return _0xc5a2('0x32')+this['editor']['plugins'][_0xc5a2('0x16')](_0xc5a2('0x2e'))[_0xc5a2('0x23')](_0x23d752)['toUpperCase']()+_0xc5a2('0x14')+_0x23d752[_0xc5a2('0x33')]()[_0xc5a2('0x2a')](/-/g,'_');}}
23
+ const _0x24e3=['_getTranslationKeyForListStyle','model','format','registerDescriptionCallback','handleListStartCommand','selection','afterInit','locale','listStyle','ELEMENT_','*Change\x20to:*\x20%0','_getSuggestionBlocks','replace','filter','listType','isListItemBlock','handleListReversedCommand','from','numbered','commandName','TrackChangesEditing','length','enableCommand','type','*Format:*\x20set\x20start\x20index\x20to\x20%0','startIndex','handleDescriptions','DocumentListPropertiesUtils','change','toUpperCase','getAttribute','_getSuggestionBlocksForListStyle','expandListBlocksToCompleteList','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20reversed','styles','bind','document','list.properties','handleListStyleCommand','listReversed','DocumentListUtils','get','config','commandParams','_LIST_','listStart','reversed','plugins','getSelectedBlocks','has','isFirstBlockOfListItem','editor'];(function(_0x5a3c5f,_0x24e328){const _0x1cf249=function(_0x478d7f){while(--_0x478d7f){_0x5a3c5f['push'](_0x5a3c5f['shift']());}};_0x1cf249(++_0x24e328);}(_0x24e3,0x1df));const _0x1cf2=function(_0x5a3c5f,_0x24e328){_0x5a3c5f=_0x5a3c5f-0x0;let _0x1cf249=_0x24e3[_0x5a3c5f];return _0x1cf249;};import{Plugin as _0x4ab4f0}from'ckeditor5/src/core';import{getTranslation as _0x544bd0}from'../utils/common-translations';export default class At extends _0x4ab4f0{[_0x1cf2('0x4')](){if(!this['editor'][_0x1cf2('0x2e')][_0x1cf2('0x30')]('DocumentListPropertiesEditing'))return;const _0x2af2c1=this[_0x1cf2('0x32')][_0x1cf2('0x29')][_0x1cf2('0x28')](_0x1cf2('0x24')),_0x16f927=this['editor']['plugins'][_0x1cf2('0x28')](_0x1cf2('0x12'));_0x2af2c1[_0x1cf2('0x21')]&&_0x16f927[_0x1cf2('0x14')](_0x1cf2('0x6'),this['handleListStyleCommand']['bind'](this)),_0x2af2c1[_0x1cf2('0x2d')]&&_0x16f927[_0x1cf2('0x14')](_0x1cf2('0x26'),this[_0x1cf2('0xe')][_0x1cf2('0x22')](this)),_0x2af2c1[_0x1cf2('0x17')]&&_0x16f927[_0x1cf2('0x14')](_0x1cf2('0x2c'),this['handleListStartCommand'][_0x1cf2('0x22')](this)),_0x16f927['_descriptionFactory'][_0x1cf2('0x1')](this[_0x1cf2('0x18')][_0x1cf2('0x22')](this));}[_0x1cf2('0x25')](_0x3ed424,_0x208ca3={}){const _0x2c13ad=this[_0x1cf2('0x32')][_0x1cf2('0x2e')]['get'](_0x1cf2('0x12')),_0x35c4da=this[_0x1cf2('0x1d')]();this[_0x1cf2('0x32')][_0x1cf2('0x34')][_0x1cf2('0x1a')](()=>{_0x2c13ad[_0x1cf2('0x1f')](_0x35c4da,{'commandName':_0x1cf2('0x6'),'commandParams':[{'type':_0x208ca3[_0x1cf2('0x15')]}],'formatGroupId':_0x1cf2('0x6')});});}[_0x1cf2('0xe')](_0x3140b8,_0x2737b2={}){const _0x596f40=this[_0x1cf2('0x32')]['plugins'][_0x1cf2('0x28')](_0x1cf2('0x12')),_0x2874d9=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x27')),_0x211c76=this[_0x1cf2('0x9')](_0x7267cb=>_0x2874d9[_0x1cf2('0xd')](_0x7267cb)&&_0x1cf2('0x10')===_0x7267cb[_0x1cf2('0x1c')](_0x1cf2('0xc')));null!==_0x211c76&&this[_0x1cf2('0x32')][_0x1cf2('0x34')][_0x1cf2('0x1a')](()=>{_0x596f40[_0x1cf2('0x1f')](_0x211c76,{'commandName':_0x1cf2('0x26'),'commandParams':[{'reversed':_0x2737b2[_0x1cf2('0x2d')]}],'formatGroupId':_0x1cf2('0x26')});});}[_0x1cf2('0x2')](_0x48cbf2,_0x58a747={}){const _0x4f875e=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')]('TrackChangesEditing'),_0x1ed9a8=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x27')),_0x3d6c9d=this[_0x1cf2('0x9')](_0x5e3f4c=>_0x1ed9a8[_0x1cf2('0xd')](_0x5e3f4c)&&'numbered'===_0x5e3f4c['getAttribute']('listType'));null!==_0x3d6c9d&&this[_0x1cf2('0x32')][_0x1cf2('0x34')][_0x1cf2('0x1a')](()=>{_0x4f875e[_0x1cf2('0x1f')](_0x3d6c9d,{'commandName':_0x1cf2('0x2c'),'commandParams':[{'startIndex':_0x58a747[_0x1cf2('0x17')]}],'formatGroupId':_0x1cf2('0x2c')});});}[_0x1cf2('0x18')](_0x41b183){const _0x5eaaf2=this['editor'][_0x1cf2('0x5')],{data:_0x1ec7b7}=_0x41b183;if(!_0x1ec7b7)return;let _0x84aa16,_0x4aa5ea;switch(_0x1ec7b7[_0x1cf2('0x11')]){case _0x1cf2('0x6'):_0x84aa16=_0x1cf2('0x8'),_0x4aa5ea={'type':_0x1cf2('0x0'),'content':_0x544bd0(_0x5eaaf2,_0x84aa16,_0x544bd0(_0x5eaaf2,this[_0x1cf2('0x33')](_0x1ec7b7['commandParams'][0x0][_0x1cf2('0x15')])))};break;case _0x1cf2('0x26'):_0x84aa16=_0x1ec7b7[_0x1cf2('0x2a')][0x0]['reversed']?_0x1cf2('0x20'):'*Format:*\x20set\x20order\x20to\x20regular',_0x4aa5ea={'type':_0x1cf2('0x0'),'content':_0x544bd0(_0x5eaaf2,_0x84aa16)};break;case'listStart':_0x84aa16=_0x1cf2('0x16'),_0x4aa5ea={'type':_0x1cf2('0x0'),'content':_0x544bd0(_0x5eaaf2,_0x84aa16,_0x1ec7b7[_0x1cf2('0x2a')][0x0][_0x1cf2('0x17')])};}return _0x4aa5ea;}[_0x1cf2('0x1d')](){const _0x365b0c=this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x27'));let _0x14ce4e=Array[_0x1cf2('0xf')](this[_0x1cf2('0x32')]['model'][_0x1cf2('0x23')][_0x1cf2('0x3')]['getSelectedBlocks']());return _0x14ce4e['push'](..._0x365b0c[_0x1cf2('0x1e')](_0x14ce4e)),_0x14ce4e=[...new Set(_0x14ce4e)],_0x14ce4e;}[_0x1cf2('0x9')](_0x5c2645){const _0x252a9=this[_0x1cf2('0x32')]['plugins'][_0x1cf2('0x28')]('DocumentListUtils');let _0x202be0=Array['from'](this[_0x1cf2('0x32')][_0x1cf2('0x34')]['document'][_0x1cf2('0x3')][_0x1cf2('0x2f')]())[_0x1cf2('0xb')](_0x5c2645);if(!_0x202be0[_0x1cf2('0x13')])return null;_0x202be0=_0x252a9[_0x1cf2('0x1e')](_0x202be0);const _0x5791e6=[];for(const _0x340ade of _0x202be0)_0x252a9[_0x1cf2('0x31')](_0x340ade)&&_0x5791e6['push'](_0x340ade);return _0x5791e6;}[_0x1cf2('0x33')](_0x349bec){return _0x1cf2('0x7')+this[_0x1cf2('0x32')][_0x1cf2('0x2e')][_0x1cf2('0x28')](_0x1cf2('0x19'))['getListTypeFromListStyleType'](_0x349bec)[_0x1cf2('0x1b')]()+_0x1cf2('0x2b')+_0x349bec[_0x1cf2('0x1b')]()[_0x1cf2('0xa')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c64=['writer','fromRange','createRange','hasClass','getFirstRange','enter','end','editing','markerNameToElements','nextSibling','TrackChangesEditing','selection','parent','addMarker:suggestion:insertion','markerName','mapper','commands','showSuggestionHighlights','markInsertion','requires','plugins','downcastDispatcher','change','bind','unbindElementFromMarkerName','get','high','detach','setSelection','model','createPositionAt','enterBlock','removeMarker:suggestion:insertion','options','split','afterExecute','init','ck-suggestion-marker-split'];(function(_0x2496df,_0x5c64c2){const _0x4f7694=function(_0xaecff1){while(--_0xaecff1){_0x2496df['push'](_0x2496df['shift']());}};_0x4f7694(++_0x5c64c2);}(_0x5c64,0xfd));const _0x4f76=function(_0x2496df,_0x5c64c2){_0x2496df=_0x2496df-0x0;let _0x4f7694=_0x5c64[_0x2496df];return _0x4f7694;};import{Plugin as _0x36875c}from'ckeditor5/src/core';import{Enter as _0x2cfdd8}from'ckeditor5/src/enter';import{LiveRange as _0x296f0a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3c45af}from'./utils';export default class q extends _0x36875c{static get[_0x4f76('0x20')](){return[_0x2cfdd8];}[_0x4f76('0xb')](){const _0x574bdc=this['editor'],_0x3a04aa=_0x574bdc[_0x4f76('0x21')][_0x4f76('0x0')](_0x4f76('0x17')),_0x3d4936=_0x574bdc[_0x4f76('0x1d')][_0x4f76('0x0')](_0x4f76('0x12'));_0x3a04aa['enableCommand']('enter',()=>{_0x574bdc[_0x4f76('0x4')][_0x4f76('0x23')](_0x5bccd6=>{const _0x311276=_0x574bdc['model']['document'][_0x4f76('0x18')],_0x397f81=_0x311276['getFirstPosition'](),_0x2889f1=_0x296f0a[_0x4f76('0xe')](_0x311276[_0x4f76('0x11')]());if(_0x3d4936[_0x4f76('0x6')](_0x5bccd6)){const _0x22582e=_0x574bdc[_0x4f76('0x4')][_0x4f76('0x5')](_0x397f81[_0x4f76('0x19')][_0x4f76('0x16')],0x0),_0x19995d=_0x5bccd6['createRange'](_0x397f81,_0x22582e);_0x3a04aa[_0x4f76('0x1f')](_0x19995d);}else _0x5bccd6[_0x4f76('0x3')](_0x5bccd6[_0x4f76('0xf')](_0x2889f1[_0x4f76('0x13')]));_0x2889f1[_0x4f76('0x2')](),_0x3d4936['fire'](_0x4f76('0xa'),{'writer':_0x5bccd6});});}),_0x574bdc['editing'][_0x4f76('0x22')]['on'](_0x4f76('0x1a'),_0x3c45af(_0x574bdc,_0x4f76('0x9')),{'priority':'high'}),_0x574bdc[_0x4f76('0x14')][_0x4f76('0x22')]['on'](_0x4f76('0x7'),(_0x50dd70,_0x42de18,_0x520d11)=>{const _0x418b26=_0x520d11[_0x4f76('0x1c')][_0x4f76('0x15')](_0x42de18['markerName']);if(_0x418b26)for(const _0x44e4a2 of _0x418b26)_0x44e4a2[_0x4f76('0x10')](_0x4f76('0xc'))&&(_0x520d11[_0x4f76('0x1c')][_0x4f76('0x25')](_0x44e4a2,_0x42de18[_0x4f76('0x1b')]),_0x520d11[_0x4f76('0xd')]['remove'](_0x44e4a2));},{'priority':_0x4f76('0x1')}),_0x574bdc['data'][_0x4f76('0x22')]['on'](_0x4f76('0x1a'),(_0x4c1016,_0x380a05,_0x262df6)=>{_0x262df6[_0x4f76('0x8')][_0x4f76('0x1e')]&&_0x3c45af(_0x574bdc,_0x4f76('0x9'),{'showActiveMarker':!0x1})[_0x4f76('0x24')](this)(_0x4c1016,_0x380a05,_0x262df6);},{'priority':_0x4f76('0x1')});}}
23
+ const _0x300d=['enter','setSelection','addMarker:suggestion:insertion','detach','downcastDispatcher','createRange','options','fire','getFirstRange','getFirstPosition','remove','init','commands','model','change','removeMarker:suggestion:insertion','mapper','document','split','createPositionAt','enableCommand','ck-suggestion-marker-split','selection','get','markInsertion','afterExecute','high','editor','markerName','data','editing','TrackChangesEditing','fromRange','bind'];(function(_0x361cc6,_0x300dec){const _0x30dfb0=function(_0x195ee6){while(--_0x195ee6){_0x361cc6['push'](_0x361cc6['shift']());}};_0x30dfb0(++_0x300dec);}(_0x300d,0x147));const _0x30df=function(_0x361cc6,_0x300dec){_0x361cc6=_0x361cc6-0x0;let _0x30dfb0=_0x300d[_0x361cc6];return _0x30dfb0;};import{Plugin as _0x59ed21}from'ckeditor5/src/core';import{Enter as _0x4c060a}from'ckeditor5/src/enter';import{LiveRange as _0x4bf400}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x280c48}from'./utils';export default class q extends _0x59ed21{static get['requires'](){return[_0x4c060a];}[_0x30df('0x18')](){const _0x3cff60=this[_0x30df('0x6')],_0x3d917b=_0x3cff60['plugins'][_0x30df('0x2')](_0x30df('0xa')),_0x12c5b3=_0x3cff60[_0x30df('0x19')]['get'](_0x30df('0xd'));_0x3d917b[_0x30df('0x21')](_0x30df('0xd'),()=>{_0x3cff60[_0x30df('0x1a')][_0x30df('0x1b')](_0x5015d1=>{const _0x295ca6=_0x3cff60[_0x30df('0x1a')][_0x30df('0x1e')][_0x30df('0x1')],_0x1e1088=_0x295ca6[_0x30df('0x16')](),_0x5a96b4=_0x4bf400[_0x30df('0xb')](_0x295ca6[_0x30df('0x15')]());if(_0x12c5b3['enterBlock'](_0x5015d1)){const _0x47f944=_0x3cff60['model'][_0x30df('0x20')](_0x1e1088['parent']['nextSibling'],0x0),_0x8a9024=_0x5015d1[_0x30df('0x12')](_0x1e1088,_0x47f944);_0x3d917b[_0x30df('0x3')](_0x8a9024);}else _0x5015d1[_0x30df('0xe')](_0x5015d1[_0x30df('0x12')](_0x5a96b4['end']));_0x5a96b4[_0x30df('0x10')](),_0x12c5b3[_0x30df('0x14')](_0x30df('0x4'),{'writer':_0x5015d1});});}),_0x3cff60[_0x30df('0x9')]['downcastDispatcher']['on'](_0x30df('0xf'),_0x280c48(_0x3cff60,_0x30df('0x1f')),{'priority':_0x30df('0x5')}),_0x3cff60['editing'][_0x30df('0x11')]['on'](_0x30df('0x1c'),(_0x18b322,_0xe17cc,_0x1666e5)=>{const _0x3e1e1e=_0x1666e5[_0x30df('0x1d')]['markerNameToElements'](_0xe17cc[_0x30df('0x7')]);if(_0x3e1e1e)for(const _0x2dc4ef of _0x3e1e1e)_0x2dc4ef['hasClass'](_0x30df('0x0'))&&(_0x1666e5[_0x30df('0x1d')]['unbindElementFromMarkerName'](_0x2dc4ef,_0xe17cc['markerName']),_0x1666e5['writer'][_0x30df('0x17')](_0x2dc4ef));},{'priority':_0x30df('0x5')}),_0x3cff60[_0x30df('0x8')][_0x30df('0x11')]['on']('addMarker:suggestion:insertion',(_0x435d75,_0x466b92,_0x1340ea)=>{_0x1340ea[_0x30df('0x13')]['showSuggestionHighlights']&&_0x280c48(_0x3cff60,_0x30df('0x1f'),{'showActiveMarker':!0x1})[_0x30df('0xc')](this)(_0x435d75,_0x466b92,_0x1340ea);},{'priority':_0x30df('0x5')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32a9=['has','editor','_isInDeletionRange','start','get','TrackChangesEditing','suggestion:deletion','afterInit','string','bind','handleFindCommand','plugins','getIntersection','FindAndReplaceUtils','model','findNext','end','FindAndReplaceEditing','findPrevious','createPositionAt','replaceAll','enableCommand','markers','replace'];(function(_0x347bac,_0x32a9c8){const _0x39e446=function(_0x2326c0){while(--_0x2326c0){_0x347bac['push'](_0x347bac['shift']());}};_0x39e446(++_0x32a9c8);}(_0x32a9,0x140));const _0x39e4=function(_0x347bac,_0x32a9c8){_0x347bac=_0x347bac-0x0;let _0x39e446=_0x32a9[_0x347bac];return _0x39e446;};import{Plugin as _0x449cf9}from'ckeditor5/src/core';export default class z extends _0x449cf9{[_0x39e4('0x17')](){if(!this[_0x39e4('0x11')][_0x39e4('0x3')][_0x39e4('0x10')](_0x39e4('0x9')))return;const _0x2c02c4=this['editor']['plugins']['get'](_0x39e4('0x15'));_0x2c02c4[_0x39e4('0xd')]('find',this[_0x39e4('0x2')][_0x39e4('0x1')](this)),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0x7')),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0xa')),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0xf')),_0x2c02c4['enableCommand'](_0x39e4('0xc'));}['handleFindCommand'](_0x5b404d,_0xb2cb7,_0x1e9f79={}){const _0x297a12=this['editor'][_0x39e4('0x3')][_0x39e4('0x14')](_0x39e4('0x5'));void 0x0!==_0x1e9f79&&_0x5b404d(_0x2fd6cc=>(_0x39e4('0x0')==typeof _0xb2cb7?_0x297a12['findByTextCallback'](_0xb2cb7,_0x1e9f79):_0xb2cb7)(_0x2fd6cc)['filter'](_0x2ba205=>!0x1===this['_isInDeletionRange'](_0x2ba205,_0x2fd6cc['item'])),_0x1e9f79);}[_0x39e4('0x12')](_0x211911,_0x30cbf2){const _0x5a4ca2=this[_0x39e4('0x11')][_0x39e4('0x6')]['createRange'](this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xb')](_0x30cbf2,_0x211911[_0x39e4('0x13')]),this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xb')](_0x30cbf2,_0x211911[_0x39e4('0x8')]));for(const _0x52379c of this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xe')]['getMarkersGroup'](_0x39e4('0x16')))if(null!==_0x5a4ca2[_0x39e4('0x4')](_0x52379c['getRange']()))return!0x0;return!0x1;}}
23
+ const _0xd41a=['filter','findNext','FindAndReplaceUtils','replaceAll','afterInit','markers','model','getIntersection','handleFindCommand','get','replace','start','plugins','string','findByTextCallback','_isInDeletionRange','bind','editor','end','getRange','TrackChangesEditing','find','enableCommand','FindAndReplaceEditing','createPositionAt','has'];(function(_0x50dbdb,_0xd41af7){const _0x2ee859=function(_0x16f613){while(--_0x16f613){_0x50dbdb['push'](_0x50dbdb['shift']());}};_0x2ee859(++_0xd41af7);}(_0xd41a,0x1b7));const _0x2ee8=function(_0x50dbdb,_0xd41af7){_0x50dbdb=_0x50dbdb-0x0;let _0x2ee859=_0xd41a[_0x50dbdb];return _0x2ee859;};import{Plugin as _0x480969}from'ckeditor5/src/core';export default class z extends _0x480969{[_0x2ee8('0x7')](){if(!this['editor'][_0x2ee8('0xf')][_0x2ee8('0x2')](_0x2ee8('0x0')))return;const _0x1b6c25=this[_0x2ee8('0x14')][_0x2ee8('0xf')][_0x2ee8('0xc')](_0x2ee8('0x17'));_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0x18'),this[_0x2ee8('0xb')][_0x2ee8('0x13')](this)),_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0x4')),_0x1b6c25[_0x2ee8('0x19')]('findPrevious'),_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0xd')),_0x1b6c25[_0x2ee8('0x19')](_0x2ee8('0x6'));}[_0x2ee8('0xb')](_0x603a99,_0x18a66d,_0x224c05={}){const _0x346511=this[_0x2ee8('0x14')][_0x2ee8('0xf')][_0x2ee8('0xc')](_0x2ee8('0x5'));void 0x0!==_0x224c05&&_0x603a99(_0x41ca92=>(_0x2ee8('0x10')==typeof _0x18a66d?_0x346511[_0x2ee8('0x11')](_0x18a66d,_0x224c05):_0x18a66d)(_0x41ca92)[_0x2ee8('0x3')](_0x3461e6=>!0x1===this[_0x2ee8('0x12')](_0x3461e6,_0x41ca92['item'])),_0x224c05);}['_isInDeletionRange'](_0x590e13,_0x268ca2){const _0x4985f9=this[_0x2ee8('0x14')][_0x2ee8('0x9')]['createRange'](this['editor'][_0x2ee8('0x9')][_0x2ee8('0x1')](_0x268ca2,_0x590e13[_0x2ee8('0xe')]),this[_0x2ee8('0x14')][_0x2ee8('0x9')][_0x2ee8('0x1')](_0x268ca2,_0x590e13[_0x2ee8('0x15')]));for(const _0x169127 of this[_0x2ee8('0x14')]['model'][_0x2ee8('0x8')]['getMarkersGroup']('suggestion:deletion'))if(null!==_0x4985f9[_0x2ee8('0xa')](_0x169127[_0x2ee8('0x16')]()))return!0x0;return!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d71=['trim','toLowerCase','*Reset\x20font\x20background\x20color*','fontColor','fontColor.colors','markInlineFormat','editor','document','title','isCollapsed','format','_enableCommand','find','has','label','commandName','FontSizeEditing','get','from','plugins','commandParams','selection','getRanges','fontBackgroundColor.colors','fontSize','normalizeSizeOptions','_descriptionFactory','*Set\x20font\x20color:*\x20%0','change','model','fontFamily','TrackChangesEditing','fontBackgroundColor','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','*Reset\x20font\x20family*','afterInit','FontSize','value','FontBackgroundColorEditing','*Set\x20font\x20background\x20color:*\x20%0','config'];(function(_0x5e05a5,_0x5d71f4){const _0x3de0ff=function(_0x44a60d){while(--_0x44a60d){_0x5e05a5['push'](_0x5e05a5['shift']());}};_0x3de0ff(++_0x5d71f4);}(_0x5d71,0x1ef));const _0x3de0=function(_0x5e05a5,_0x5d71f4){_0x5e05a5=_0x5e05a5-0x0;let _0x3de0ff=_0x5d71[_0x5e05a5];return _0x3de0ff;};import{Plugin as _0x52c4d0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x53fcce}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x120593}from'./utils';import{getTranslation as _0x481ac5}from'../utils/common-translations';const Zt=[{'pluginName':_0x3de0('0x19'),'commandName':_0x3de0('0x21')},{'pluginName':'FontFamilyEditing','commandName':_0x3de0('0x27')},{'pluginName':'FontColorEditing','commandName':_0x3de0('0xc')},{'pluginName':_0x3de0('0x6'),'commandName':_0x3de0('0x29')}];export default class H extends _0x52c4d0{[_0x3de0('0x3')](){const _0x1a52c3=this['editor']['locale'];for(const {pluginName:_0x126d05,commandName:_0x550a48}of Zt)this['editor'][_0x3de0('0x1c')][_0x3de0('0x16')](_0x126d05)&&this[_0x3de0('0x14')](_0x550a48);this[_0x3de0('0xf')][_0x3de0('0x1c')][_0x3de0('0x1a')](_0x3de0('0x28'))[_0x3de0('0x23')][_0x3de0('0x0')](_0x322a49=>{const _0x3177f6=_0x1a52c3['t'],{data:_0x565e53}=_0x322a49;if(null!=_0x565e53){if('fontSize'==_0x565e53[_0x3de0('0x18')]){const _0x41167b=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x41167b){const _0x141be9=_0x3177f6(this[_0x3de0('0xf')][_0x3de0('0x1c')]['get'](_0x3de0('0x4'))[_0x3de0('0x22')](this[_0x3de0('0xf')][_0x3de0('0x8')][_0x3de0('0x1a')]('fontSize.options'))[_0x3de0('0x15')](_0x25165c=>_0x25165c['model']==_0x41167b)[_0x3de0('0x11')])[_0x3de0('0xa')]();return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Set\x20font\x20size:*\x20%0',_0x141be9)};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20size*')};}if(_0x3de0('0x27')==_0x565e53[_0x3de0('0x18')]){const _0x203851=_0x565e53['commandParams'][0x0][_0x3de0('0x5')];return _0x203851?{'type':'format','content':_0x481ac5(_0x1a52c3,_0x3de0('0x1'),_0x203851)}:{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x2'))};}if('fontColor'==_0x565e53[_0x3de0('0x18')]){const _0x4f850e=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4f850e){const _0x17341a=_0x53fcce(this[_0x3de0('0xf')][_0x3de0('0x8')]['get'](_0x3de0('0xd')))[_0x3de0('0x15')](_0x5b4587=>_0x5b4587[_0x3de0('0x26')]==_0x4f850e);let _0x2539b5=_0x4f850e,_0x55c313='';return _0x17341a&&(_0x2539b5=_0x17341a['label'],_0x55c313=_0x3177f6(_0x2539b5)['toLowerCase']()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x24'),_0x55c313)[_0x3de0('0x9')](),'color':{'value':_0x4f850e,'title':_0x55c313||_0x2539b5}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x565e53[_0x3de0('0x18')]){const _0x4cb4ee=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4cb4ee){const _0x1818cb=_0x53fcce(this['editor'][_0x3de0('0x8')][_0x3de0('0x1a')](_0x3de0('0x20')))[_0x3de0('0x15')](_0x406ba0=>_0x406ba0[_0x3de0('0x26')]==_0x4cb4ee);let _0x410052=_0x4cb4ee,_0xc74528='';return _0x1818cb&&(_0x410052=_0x1818cb[_0x3de0('0x17')],_0xc74528=_0x3177f6(_0x410052)[_0x3de0('0xa')]()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x7'),_0xc74528)[_0x3de0('0x9')](),'color':{'value':_0x4cb4ee,'title':_0xc74528||_0x410052}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0xb'))};}}});}[_0x3de0('0x14')](_0x500ba4){const _0x318655=this['editor'];_0x318655[_0x3de0('0x1c')]['get']('TrackChangesEditing')['enableCommand'](_0x500ba4,(_0x3d783d,_0x1af597={})=>{const _0x3e585a=_0x318655[_0x3de0('0x26')][_0x3de0('0x10')][_0x3de0('0x1e')],_0xb6c12=_0x1af597[_0x3de0('0x5')];_0x3e585a[_0x3de0('0x12')]?_0x3d783d(_0x1af597):_0x318655[_0x3de0('0x26')][_0x3de0('0x25')](()=>{const _0x165a36=Array[_0x3de0('0x1b')](_0x3e585a[_0x3de0('0x1f')]());for(const _0x1371f4 of _0x165a36){const _0x767b7c=_0xb6c12?[_0x1371f4]:_0x120593(_0x500ba4,_0x1371f4,_0x318655[_0x3de0('0x26')]);for(const _0x3d5b87 of _0x767b7c)_0x318655['plugins']['get'](_0x3de0('0x28'))[_0x3de0('0xe')](_0x3d5b87,{'commandName':_0x500ba4,'commandParams':[{'value':_0xb6c12}]});}});});}}
23
+ const _0x171f=['commandName','afterInit','TrackChangesEditing','find','*Set\x20font\x20family:*\x20%0','get','registerDescriptionCallback','title','FontFamilyEditing','getRanges','enableCommand','fontFamily','markInlineFormat','from','*Reset\x20font\x20background\x20color*','commandParams','fontBackgroundColor.colors','FontSizeEditing','*Reset\x20font\x20family*','isCollapsed','format','label','plugins','fontBackgroundColor','fontSize','normalizeSizeOptions','document','fontColor','toLowerCase','has','fontColor.colors','editor','model','change','locale','trim','config','_enableCommand','*Reset\x20font\x20color*','value'];(function(_0x18da7b,_0x171f4a){const _0x305948=function(_0x47c15a){while(--_0x47c15a){_0x18da7b['push'](_0x18da7b['shift']());}};_0x305948(++_0x171f4a);}(_0x171f,0xcc));const _0x3059=function(_0x18da7b,_0x171f4a){_0x18da7b=_0x18da7b-0x0;let _0x305948=_0x171f[_0x18da7b];return _0x305948;};import{Plugin as _0x17631a}from'ckeditor5/src/core';import{normalizeColorOptions as _0x290148}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x27527c}from'./utils';import{getTranslation as _0x5d2fa6}from'../utils/common-translations';const eo=[{'pluginName':_0x3059('0xd'),'commandName':_0x3059('0x14')},{'pluginName':_0x3059('0x4'),'commandName':_0x3059('0x7')},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class H extends _0x17631a{[_0x3059('0x25')](){const _0x42b74a=this[_0x3059('0x1b')][_0x3059('0x1e')];for(const {pluginName:_0x4789f4,commandName:_0x52bd71}of eo)this['editor']['plugins'][_0x3059('0x19')](_0x4789f4)&&this[_0x3059('0x21')](_0x52bd71);this[_0x3059('0x1b')][_0x3059('0x12')][_0x3059('0x1')](_0x3059('0x26'))['_descriptionFactory'][_0x3059('0x2')](_0x278201=>{const _0x1ec522=_0x42b74a['t'],{data:_0x5c8ab7}=_0x278201;if(null!=_0x5c8ab7){if(_0x3059('0x14')==_0x5c8ab7[_0x3059('0x24')]){const _0x418bdf=_0x5c8ab7[_0x3059('0xb')][0x0][_0x3059('0x23')];if(_0x418bdf){const _0x37aebd=_0x1ec522(this[_0x3059('0x1b')][_0x3059('0x12')][_0x3059('0x1')]('FontSize')[_0x3059('0x15')](this[_0x3059('0x1b')][_0x3059('0x20')]['get']('fontSize.options'))[_0x3059('0x27')](_0x1f4178=>_0x1f4178[_0x3059('0x1c')]==_0x418bdf)[_0x3059('0x3')])[_0x3059('0x18')]();return{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Set\x20font\x20size:*\x20%0',_0x37aebd)};}return{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x5c8ab7['commandName']){const _0xc0e94e=_0x5c8ab7[_0x3059('0xb')][0x0][_0x3059('0x23')];return _0xc0e94e?{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,_0x3059('0x0'),_0xc0e94e)}:{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,_0x3059('0xe'))};}if(_0x3059('0x17')==_0x5c8ab7[_0x3059('0x24')]){const _0x26aded=_0x5c8ab7[_0x3059('0xb')][0x0][_0x3059('0x23')];if(_0x26aded){const _0x2fc6fc=_0x290148(this[_0x3059('0x1b')]['config'][_0x3059('0x1')](_0x3059('0x1a')))['find'](_0x4d4060=>_0x4d4060['model']==_0x26aded);let _0x4bfe9c=_0x26aded,_0x48c1e5='';return _0x2fc6fc&&(_0x4bfe9c=_0x2fc6fc[_0x3059('0x11')],_0x48c1e5=_0x1ec522(_0x4bfe9c)['toLowerCase']()),{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Set\x20font\x20color:*\x20%0',_0x48c1e5)[_0x3059('0x1f')](),'color':{'value':_0x26aded,'title':_0x48c1e5||_0x4bfe9c}};}return{'type':'format','content':_0x5d2fa6(_0x42b74a,_0x3059('0x22'))};}if(_0x3059('0x13')==_0x5c8ab7[_0x3059('0x24')]){const _0x233675=_0x5c8ab7['commandParams'][0x0][_0x3059('0x23')];if(_0x233675){const _0x3065a5=_0x290148(this[_0x3059('0x1b')][_0x3059('0x20')][_0x3059('0x1')](_0x3059('0xc')))[_0x3059('0x27')](_0x1362d8=>_0x1362d8[_0x3059('0x1c')]==_0x233675);let _0x342d6f=_0x233675,_0x6d1d24='';return _0x3065a5&&(_0x342d6f=_0x3065a5['label'],_0x6d1d24=_0x1ec522(_0x342d6f)[_0x3059('0x18')]()),{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,'*Set\x20font\x20background\x20color:*\x20%0',_0x6d1d24)[_0x3059('0x1f')](),'color':{'value':_0x233675,'title':_0x6d1d24||_0x342d6f}};}return{'type':_0x3059('0x10'),'content':_0x5d2fa6(_0x42b74a,_0x3059('0xa'))};}}});}['_enableCommand'](_0x1a1d21){const _0x21c6c2=this[_0x3059('0x1b')];_0x21c6c2[_0x3059('0x12')][_0x3059('0x1')](_0x3059('0x26'))[_0x3059('0x6')](_0x1a1d21,(_0x4300c4,_0x14e9bf={})=>{const _0x1b1e60=_0x21c6c2[_0x3059('0x1c')][_0x3059('0x16')]['selection'],_0x41afc8=_0x14e9bf['value'];_0x1b1e60[_0x3059('0xf')]?_0x4300c4(_0x14e9bf):_0x21c6c2[_0x3059('0x1c')][_0x3059('0x1d')](()=>{const _0x14a2f7=Array[_0x3059('0x9')](_0x1b1e60[_0x3059('0x5')]());for(const _0x102221 of _0x14a2f7){const _0x1c5844=_0x41afc8?[_0x102221]:_0x27527c(_0x1a1d21,_0x102221,_0x21c6c2[_0x3059('0x1c')]);for(const _0x179685 of _0x1c5844)_0x21c6c2['plugins'][_0x3059('0x1')](_0x3059('0x26'))[_0x3059('0x8')](_0x179685,{'commandName':_0x1a1d21,'commandParams':[{'value':_0x41afc8}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54c3=['copyFormat','format','getSelectedBlocks','from','_descriptionFactory','config','length','enableCommand','FontSize','createRange','*Set\x20format\x20to:*\x20%0','model','fontSize','plugins','isFormatting','get','getRanges','commands','*Remove\x20all\x20formatting*','backward','commandName','commandParams','selection','find','join','TrackChangesEditing','split','toUpperCase','fontColor','document','getLastPosition','schema','title','entries','push','modifySelection','toLowerCase','getAttributes','normalizeSizeOptions','keys','forward','pasteFormat','word','isCollapsed','getItems','isBlock','afterInit','editor','getAttributeProperties','fontBackgroundColor','label','fontSize.options'];(function(_0x5e87b4,_0x54c30d){const _0x17f19b=function(_0xf0b424){while(--_0xf0b424){_0x5e87b4['push'](_0x5e87b4['shift']());}};_0x17f19b(++_0x54c30d);}(_0x54c3,0x1f1));const _0x17f1=function(_0x5e87b4,_0x54c30d){_0x5e87b4=_0x5e87b4-0x0;let _0x17f19b=_0x54c3[_0x5e87b4];return _0x17f19b;};import{Plugin as _0x40a02c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x27d6ca}from'ckeditor5/src/ui';import{first as _0x527e65}from'ckeditor5/src/utils';import{getTranslation as _0x34926e}from'../utils/common-translations';export default class W extends _0x40a02c{[_0x17f1('0x11')](){const _0x30f9b0=this[_0x17f1('0x12')],_0xdd25bf=_0x30f9b0[_0x17f1('0x22')],_0x3650fb=_0xdd25bf[_0x17f1('0x0')][_0x17f1('0x2d')],_0x1f2659=_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30')),_0x2b6c47=_0x30f9b0['locale'],_0x2cd079=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')]('copyFormat'),_0x2a9d52=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')](_0x17f1('0xc'));_0x2cd079&&_0x2a9d52&&(_0x1f2659[_0x17f1('0x1e')](_0x17f1('0xc'),(_0x170aaf,_0x5cadc4={})=>{const _0x3d2b4e=_0x5cadc4;_0xdd25bf['change'](()=>{const _0xe64833=Array[_0x17f1('0x1a')](_0x3650fb[_0x17f1('0x27')]()),_0x525189=_0x3650fb[_0x17f1('0xe')]?[ro(_0xdd25bf,_0x3650fb)]:_0xe64833,_0x226a7b=!!_0x527e65(function*(_0x56c4ee,_0x44e1a4){const _0x1282bf=_0x122fb6=>!!_0x527e65(function*(_0xb611a0,_0x64bb41){for(const [_0x442a62]of _0xb611a0[_0x17f1('0x8')]()){const _0x2b1d44=_0x64bb41[_0x17f1('0x13')](_0x442a62);_0x2b1d44&&_0x2b1d44[_0x17f1('0x25')]&&(yield _0x442a62);}}(_0x122fb6,_0x44e1a4));for(const _0x383640 of _0x56c4ee[_0x17f1('0x27')]())for(const _0x54fd90 of _0x383640[_0x17f1('0xf')]())!_0x44e1a4[_0x17f1('0x10')](_0x54fd90)&&_0x1282bf(_0x54fd90)&&(yield _0x54fd90);for(const _0x365d8a of _0x56c4ee[_0x17f1('0x19')]())_0x1282bf(_0x365d8a)&&(yield _0x365d8a);_0x1282bf(_0x56c4ee)&&(yield _0x56c4ee);}(_0x3650fb,_0xdd25bf[_0x17f1('0x2')]));if(_0x226a7b||0x0!==Object[_0x17f1('0xa')](_0x3d2b4e)[_0x17f1('0x1d')])for(const _0x45b444 of _0x525189)_0x1f2659['markInlineFormat'](_0x45b444,{'commandName':_0x17f1('0xc'),'commandParams':[_0x3d2b4e]});});}),_0x1f2659[_0x17f1('0x1b')]['registerDescriptionCallback'](_0x3f5d1e=>{const {data:_0x42785a}=_0x3f5d1e;if(_0x42785a&&_0x17f1('0xc')===_0x42785a[_0x17f1('0x2b')]){const _0x28e49b=[],_0x254edf=_0x42785a[_0x17f1('0x2c')][0x0];for(const [_0x3c921d,_0x58a57e]of Object[_0x17f1('0x4')](_0x254edf))_0x28e49b[_0x17f1('0x5')](no(_0x30f9b0,_0x3c921d,_0x58a57e));return _0x28e49b[_0x17f1('0x1d')]?{'type':'format','content':_0x34926e(_0x2b6c47,_0x17f1('0x21'),_0x28e49b[_0x17f1('0x2f')](',\x20'))}:{'type':_0x17f1('0x18'),'content':_0x34926e(_0x2b6c47,_0x17f1('0x29'))};}}),_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30'))[_0x17f1('0x1e')](_0x17f1('0x17')));}}function ro(_0x4290f9,_0x380196){const _0x5b0fc7=_0x4290f9['createSelection'](_0x380196);_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':'word','direction':_0x17f1('0x2a')});const _0x30523f=_0x5b0fc7['getFirstPosition']();_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':_0x17f1('0xd'),'direction':_0x17f1('0xb')});const _0x3db5db=_0x5b0fc7[_0x17f1('0x1')]();return _0x4290f9[_0x17f1('0x20')](_0x30523f,_0x3db5db);}function no(_0x59b53c,_0x17ebee,_0x2355a3){const _0x3c633e=_0x59b53c['locale']['t'],_0x247b16=_0x17ebee[_0x17f1('0x31')](/(?=[A-Z])/)['join']('\x20'),_0x22c7fc=_0x3c633e(_0x247b16['charAt'](0x0)[_0x17f1('0x32')]()+_0x247b16['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2355a3)return _0x22c7fc;if(_0x17f1('0x33')===_0x17ebee||_0x17f1('0x14')===_0x17ebee){const _0x299a0c=_0x27d6ca(_0x59b53c[_0x17f1('0x1c')][_0x17f1('0x26')]('fontColor.colors'))[_0x17f1('0x2e')](_0x4971aa=>_0x4971aa['model']==_0x2355a3);return _0x22c7fc+'\x20('+(_0x299a0c?_0x3c633e(_0x299a0c[_0x17f1('0x15')])[_0x17f1('0x7')]():_0x2355a3)+')';}if(_0x17f1('0x23')===_0x17ebee&&isNaN(parseFloat(_0x2355a3))){const _0x48040c=_0x59b53c[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x1f'))[_0x17f1('0x9')](_0x59b53c['config'][_0x17f1('0x26')](_0x17f1('0x16')))[_0x17f1('0x2e')](_0x15685c=>_0x15685c[_0x17f1('0x22')]==_0x2355a3);return _0x22c7fc+'\x20('+(_0x48040c?_0x3c633e(_0x48040c[_0x17f1('0x3')])[_0x17f1('0x7')]():_0x2355a3)+')';}return _0x22c7fc+'\x20('+_0x2355a3+')';}
23
+ const _0x5ac2=['backward','commandParams','split','format','fontColor','entries','isFormatting','*Remove\x20all\x20formatting*','config','forward','isCollapsed','commands','title','createRange','*Set\x20format\x20to:*\x20%0','selection','fontColor.colors','markInlineFormat','boolean','toUpperCase','afterInit','from','get','pasteFormat','FontSize','modifySelection','model','getRanges','label','normalizeSizeOptions','keys','plugins','getLastPosition','enableCommand','isBlock','fontSize','createSelection','change','word','copyFormat','_descriptionFactory','getSelectedBlocks','TrackChangesEditing','fontBackgroundColor','schema','toLowerCase','fontSize.options','length','slice','find','locale'];(function(_0x159ce8,_0x5ac238){const _0x5742c5=function(_0x13ba99){while(--_0x13ba99){_0x159ce8['push'](_0x159ce8['shift']());}};_0x5742c5(++_0x5ac238);}(_0x5ac2,0xbe));const _0x5742=function(_0x159ce8,_0x5ac238){_0x159ce8=_0x159ce8-0x0;let _0x5742c5=_0x5ac2[_0x159ce8];return _0x5742c5;};import{Plugin as _0x3271c0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x47e905}from'ckeditor5/src/ui';import{first as _0x2085d8}from'ckeditor5/src/utils';import{getTranslation as _0x4cf1a0}from'../utils/common-translations';export default class W extends _0x3271c0{[_0x5742('0x22')](){const _0x2353f0=this['editor'],_0xc96111=_0x2353f0['model'],_0x4ceee9=_0xc96111['document'][_0x5742('0x1d')],_0x386087=_0x2353f0[_0x5742('0x2d')][_0x5742('0x24')](_0x5742('0x5')),_0x516d82=_0x2353f0[_0x5742('0xd')],_0x29faf7=_0x2353f0['commands']['get'](_0x5742('0x2')),_0x339828=_0x2353f0[_0x5742('0x19')][_0x5742('0x24')](_0x5742('0x25'));_0x29faf7&&_0x339828&&(_0x386087[_0x5742('0x2f')]('pasteFormat',(_0xe0d885,_0x9764c4={})=>{const _0x30deb5=_0x9764c4;_0xc96111[_0x5742('0x0')](()=>{const _0x1d4eef=Array[_0x5742('0x23')](_0x4ceee9[_0x5742('0x29')]()),_0x6c10e1=_0x4ceee9[_0x5742('0x18')]?[co(_0xc96111,_0x4ceee9)]:_0x1d4eef,_0x547836=!!_0x2085d8(function*(_0x50414f,_0x2bffe8){const _0x356494=_0xf3bad8=>!!_0x2085d8(function*(_0x2aa018,_0x17005a){for(const [_0x6fb9e2]of _0x2aa018['getAttributes']()){const _0x5a3dc4=_0x17005a['getAttributeProperties'](_0x6fb9e2);_0x5a3dc4&&_0x5a3dc4[_0x5742('0x14')]&&(yield _0x6fb9e2);}}(_0xf3bad8,_0x2bffe8));for(const _0x24dd5a of _0x50414f[_0x5742('0x29')]())for(const _0x2332b6 of _0x24dd5a['getItems']())!_0x2bffe8[_0x5742('0x30')](_0x2332b6)&&_0x356494(_0x2332b6)&&(yield _0x2332b6);for(const _0x2db78c of _0x50414f[_0x5742('0x4')]())_0x356494(_0x2db78c)&&(yield _0x2db78c);_0x356494(_0x50414f)&&(yield _0x50414f);}(_0x4ceee9,_0xc96111[_0x5742('0x7')]));if(_0x547836||0x0!==Object[_0x5742('0x2c')](_0x30deb5)[_0x5742('0xa')])for(const _0x4d1728 of _0x6c10e1)_0x386087[_0x5742('0x1f')](_0x4d1728,{'commandName':'pasteFormat','commandParams':[_0x30deb5]});});}),_0x386087[_0x5742('0x3')]['registerDescriptionCallback'](_0x4f926a=>{const {data:_0x1355b9}=_0x4f926a;if(_0x1355b9&&'pasteFormat'===_0x1355b9['commandName']){const _0x342131=[],_0x29fbdc=_0x1355b9[_0x5742('0xf')][0x0];for(const [_0x3586d3,_0x239f57]of Object[_0x5742('0x13')](_0x29fbdc))_0x342131['push'](io(_0x2353f0,_0x3586d3,_0x239f57));return _0x342131[_0x5742('0xa')]?{'type':_0x5742('0x11'),'content':_0x4cf1a0(_0x516d82,_0x5742('0x1c'),_0x342131['join'](',\x20'))}:{'type':_0x5742('0x11'),'content':_0x4cf1a0(_0x516d82,_0x5742('0x15'))};}}),_0x2353f0[_0x5742('0x2d')]['get']('TrackChangesEditing')[_0x5742('0x2f')](_0x5742('0x2')));}}function co(_0x458366,_0x2a8b5a){const _0x27199b=_0x458366[_0x5742('0x32')](_0x2a8b5a);_0x458366[_0x5742('0x27')](_0x27199b,{'unit':_0x5742('0x1'),'direction':_0x5742('0xe')});const _0xd72894=_0x27199b['getFirstPosition']();_0x458366['modifySelection'](_0x27199b,{'unit':_0x5742('0x1'),'direction':_0x5742('0x17')});const _0x28076a=_0x27199b[_0x5742('0x2e')]();return _0x458366[_0x5742('0x1b')](_0xd72894,_0x28076a);}function io(_0x160efe,_0x1c67d5,_0x185a55){const _0x5769d1=_0x160efe[_0x5742('0xd')]['t'],_0x58be60=_0x1c67d5[_0x5742('0x10')](/(?=[A-Z])/)['join']('\x20'),_0x34e122=_0x5769d1(_0x58be60['charAt'](0x0)[_0x5742('0x21')]()+_0x58be60[_0x5742('0xb')](0x1))[_0x5742('0x8')]();if(_0x5742('0x20')==typeof _0x185a55)return _0x34e122;if(_0x5742('0x12')===_0x1c67d5||_0x5742('0x6')===_0x1c67d5){const _0x9a0762=_0x47e905(_0x160efe[_0x5742('0x16')]['get'](_0x5742('0x1e')))[_0x5742('0xc')](_0x1de77c=>_0x1de77c[_0x5742('0x28')]==_0x185a55);return _0x34e122+'\x20('+(_0x9a0762?_0x5769d1(_0x9a0762[_0x5742('0x2a')])[_0x5742('0x8')]():_0x185a55)+')';}if(_0x5742('0x31')===_0x1c67d5&&isNaN(parseFloat(_0x185a55))){const _0x3a8fb7=_0x160efe[_0x5742('0x2d')][_0x5742('0x24')](_0x5742('0x26'))[_0x5742('0x2b')](_0x160efe[_0x5742('0x16')][_0x5742('0x24')](_0x5742('0x9')))[_0x5742('0xc')](_0x314343=>_0x314343[_0x5742('0x28')]==_0x185a55);return _0x34e122+'\x20('+(_0x3a8fb7?_0x5769d1(_0x3a8fb7[_0x5742('0x1a')])[_0x5742('0x8')]():_0x185a55)+')';}return _0x34e122+'\x20('+_0x185a55+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159d=['heading.options','getSelectedBlocks','commandName','format','document','ELEMENT_HEADING_CUSTOM','registerDescriptionCallback','model','selection','plugins','*Change\x20to:*\x20%0','name','get','heading','blockName','schema','match','filter','formatBlock','value','HeadingEditing','_descriptionFactory','from','config','ELEMENT_HEADING','afterInit','isObject','TrackChangesEditing','title'];(function(_0x48a097,_0x159ddd){const _0x1a7eaa=function(_0x1f383a){while(--_0x1f383a){_0x48a097['push'](_0x48a097['shift']());}};_0x1a7eaa(++_0x159ddd);}(_0x159d,0x195));const _0x1a7e=function(_0x48a097,_0x159ddd){_0x48a097=_0x48a097-0x0;let _0x1a7eaa=_0x159d[_0x48a097];return _0x1a7eaa;};import{Plugin as _0x4e272a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4e8db5}from'./utils';import{getTranslation as _0x583614}from'../utils/common-translations';export default class J extends _0x4e272a{[_0x1a7e('0x1a')](){const _0x4ff8de=this['editor'],_0x3d7e35=_0x4ff8de['locale'],_0x3b0e63=_0x4ff8de[_0x1a7e('0x18')][_0x1a7e('0xd')](_0x1a7e('0x1'));if(!_0x4ff8de[_0x1a7e('0xa')]['has'](_0x1a7e('0x15')))return;const _0x4fa839=_0x4ff8de['plugins'][_0x1a7e('0xd')](_0x1a7e('0x1c'));_0x4fa839['enableCommand'](_0x1a7e('0xe'),(_0x22b3f5,_0x563c34)=>{const _0x57e402=_0x563c34[_0x1a7e('0x14')],_0x4ed968=Array[_0x1a7e('0x17')](this['editor']['model'][_0x1a7e('0x5')][_0x1a7e('0x9')][_0x1a7e('0x2')]())[_0x1a7e('0x12')](_0x2c10c9=>function(_0x40f6f2,_0x39128a,_0xca5337){return _0xca5337['checkChild'](_0x40f6f2['parent'],_0x39128a)&&!_0xca5337[_0x1a7e('0x1b')](_0x40f6f2)&&_0x40f6f2[_0x1a7e('0xc')]!=_0x39128a;}(_0x2c10c9,_0x57e402,this['editor'][_0x1a7e('0x8')][_0x1a7e('0x10')]));_0x4ff8de[_0x1a7e('0x8')]['change'](()=>{for(const _0x4b6f35 of _0x4ed968)_0x4fa839['markBlockFormat'](_0x4b6f35,{'commandName':_0x1a7e('0xe'),'commandParams':[_0x563c34],'formatGroupId':_0x1a7e('0xf')},_0x4e8db5(_0x4b6f35));});});for(const _0x53d172 of _0x3b0e63)'paragraph'!=_0x53d172[_0x1a7e('0x8')]&&_0x4fa839[_0x1a7e('0x16')]['registerElementLabel'](_0x53d172[_0x1a7e('0x8')],_0x1929b0=>{const _0x5696bf=nn(_0x53d172[_0x1a7e('0x8')]);return null!==_0x5696bf?_0x172dd4(_0x1929b0,_0x5696bf):_0x540c1a(_0x1929b0,_0x53d172[_0x1a7e('0x0')]);});function _0x172dd4(_0x24342f,_0x57090f){return _0x583614(_0x3d7e35,_0x1a7e('0x19'),[_0x24342f,_0x57090f]);}function _0x540c1a(_0x2dc3bb,_0x37525b){return _0x583614(_0x3d7e35,_0x1a7e('0x6'),[_0x2dc3bb,_0x37525b]);}_0x4fa839[_0x1a7e('0x16')][_0x1a7e('0x7')](_0x5057b4=>{const {type:_0x348990,data:_0x2bb031}=_0x5057b4;if(_0x1a7e('0x13')==_0x348990&&_0x2bb031&&_0x1a7e('0xe')==_0x2bb031[_0x1a7e('0x3')]){const _0x3f581d=_0x2bb031['commandParams'][0x0]['value'],_0x6f642f=nn(_0x3f581d);if(null!==_0x6f642f)return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x172dd4(0x1,_0x6f642f))};const _0x3f08de=_0x3b0e63['find'](_0x9c06a=>_0x9c06a[_0x1a7e('0x8')]===_0x3f581d)[_0x1a7e('0x0')];return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x540c1a(0x1,_0x3f08de))};}});}}function nn(_0x1843bb){const _0x476818=_0x1843bb[_0x1a7e('0x11')](/^heading(\d+)$/);return _0x476818?_0x476818[0x1]:null;}
23
+ const _0x27e2=['title','get','blockName','heading','commandName','find','isObject','registerDescriptionCallback','change','from','editor','heading.options','name','value','locale','parent','filter','paragraph','getSelectedBlocks','*Change\x20to:*\x20%0','has','ELEMENT_HEADING','selection','config','plugins','_descriptionFactory','format','checkChild','enableCommand','ELEMENT_HEADING_CUSTOM','commandParams','HeadingEditing','match','model'];(function(_0x56607d,_0x27e20d){const _0x109c44=function(_0x3a8d8a){while(--_0x3a8d8a){_0x56607d['push'](_0x56607d['shift']());}};_0x109c44(++_0x27e20d);}(_0x27e2,0x1cf));const _0x109c=function(_0x56607d,_0x27e20d){_0x56607d=_0x56607d-0x0;let _0x109c44=_0x27e2[_0x56607d];return _0x109c44;};import{Plugin as _0x207161}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2b211d}from'./utils';import{getTranslation as _0x1773f8}from'../utils/common-translations';export default class J extends _0x207161{['afterInit'](){const _0x4e887e=this['editor'],_0x3d56e9=_0x4e887e[_0x109c('0x1b')],_0x373788=_0x4e887e[_0x109c('0x2')]['get'](_0x109c('0x18'));if(!_0x4e887e[_0x109c('0x3')][_0x109c('0x21')](_0x109c('0xa')))return;const _0x443517=_0x4e887e[_0x109c('0x3')][_0x109c('0xe')]('TrackChangesEditing');_0x443517[_0x109c('0x7')]('heading',(_0x4a6d11,_0x4a12e3)=>{const _0x5f2193=_0x4a12e3[_0x109c('0x1a')],_0x20c77d=Array[_0x109c('0x16')](this['editor']['model']['document'][_0x109c('0x1')][_0x109c('0x1f')]())[_0x109c('0x1d')](_0x11ed6a=>function(_0x4f2288,_0x4a3cad,_0x246fef){return _0x246fef[_0x109c('0x6')](_0x4f2288[_0x109c('0x1c')],_0x4a3cad)&&!_0x246fef[_0x109c('0x13')](_0x4f2288)&&_0x4f2288[_0x109c('0x19')]!=_0x4a3cad;}(_0x11ed6a,_0x5f2193,this[_0x109c('0x17')][_0x109c('0xc')]['schema']));_0x4e887e[_0x109c('0xc')][_0x109c('0x15')](()=>{for(const _0x2bfa46 of _0x20c77d)_0x443517['markBlockFormat'](_0x2bfa46,{'commandName':_0x109c('0x10'),'commandParams':[_0x4a12e3],'formatGroupId':_0x109c('0xf')},_0x2b211d(_0x2bfa46));});});for(const _0x4ae6a8 of _0x373788)_0x109c('0x1e')!=_0x4ae6a8[_0x109c('0xc')]&&_0x443517[_0x109c('0x4')]['registerElementLabel'](_0x4ae6a8[_0x109c('0xc')],_0x3a63df=>{const _0x32084f=nn(_0x4ae6a8['model']);return null!==_0x32084f?_0x2678d3(_0x3a63df,_0x32084f):_0x431936(_0x3a63df,_0x4ae6a8[_0x109c('0xd')]);});function _0x2678d3(_0xaa94c0,_0x105b7e){return _0x1773f8(_0x3d56e9,_0x109c('0x0'),[_0xaa94c0,_0x105b7e]);}function _0x431936(_0x5230e3,_0x5ee30a){return _0x1773f8(_0x3d56e9,_0x109c('0x8'),[_0x5230e3,_0x5ee30a]);}_0x443517['_descriptionFactory'][_0x109c('0x14')](_0x42e515=>{const {type:_0x5cd8a6,data:_0x101e54}=_0x42e515;if('formatBlock'==_0x5cd8a6&&_0x101e54&&_0x109c('0x10')==_0x101e54[_0x109c('0x11')]){const _0x1cc5e2=_0x101e54[_0x109c('0x9')][0x0][_0x109c('0x1a')],_0x15fda7=nn(_0x1cc5e2);if(null!==_0x15fda7)return{'type':_0x109c('0x5'),'content':_0x1773f8(_0x3d56e9,_0x109c('0x20'),_0x2678d3(0x1,_0x15fda7))};const _0x42f060=_0x373788[_0x109c('0x12')](_0x2d46d3=>_0x2d46d3[_0x109c('0xc')]===_0x1cc5e2)['title'];return{'type':_0x109c('0x5'),'content':_0x1773f8(_0x3d56e9,_0x109c('0x20'),_0x431936(0x1,_0x42f060))};}});}}function nn(_0x336586){const _0x361ed9=_0x336586[_0x109c('0xb')](/^heading(\d+)$/);return _0x361ed9?_0x361ed9[0x1]:null;}