@ckeditor/ckeditor5-track-changes 34.1.0 → 34.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/az.js +1 -1
  3. package/build/translations/cs.js +1 -1
  4. package/build/translations/da.js +1 -1
  5. package/build/translations/de.js +1 -1
  6. package/build/translations/el.js +1 -1
  7. package/build/translations/en-au.js +1 -1
  8. package/build/translations/es.js +1 -1
  9. package/build/translations/et.js +1 -1
  10. package/build/translations/fr.js +1 -1
  11. package/build/translations/gl.js +1 -1
  12. package/build/translations/hi.js +1 -1
  13. package/build/translations/hr.js +1 -1
  14. package/build/translations/id.js +1 -1
  15. package/build/translations/it.js +1 -1
  16. package/build/translations/lv.js +1 -0
  17. package/build/translations/nl.js +1 -1
  18. package/build/translations/pl.js +1 -1
  19. package/build/translations/pt-br.js +1 -1
  20. package/build/translations/sk.js +1 -1
  21. package/build/translations/sr-latn.js +1 -1
  22. package/build/translations/sr.js +1 -1
  23. package/build/translations/tk.js +1 -1
  24. package/build/translations/tr.js +1 -1
  25. package/build/translations/zh-cn.js +1 -1
  26. package/build/translations/zh.js +1 -1
  27. package/lang/contexts.json +2 -0
  28. package/lang/translations/az.po +10 -0
  29. package/lang/translations/cs.po +12 -0
  30. package/lang/translations/da.po +10 -0
  31. package/lang/translations/de.po +10 -0
  32. package/lang/translations/el.po +10 -0
  33. package/lang/translations/en-au.po +10 -0
  34. package/lang/translations/en.po +10 -0
  35. package/lang/translations/es.po +29 -1
  36. package/lang/translations/et.po +10 -0
  37. package/lang/translations/fr.po +29 -1
  38. package/lang/translations/gl.po +10 -0
  39. package/lang/translations/hi.po +10 -0
  40. package/lang/translations/hr.po +11 -0
  41. package/lang/translations/id.po +9 -0
  42. package/lang/translations/it.po +29 -1
  43. package/lang/translations/lv.po +415 -0
  44. package/lang/translations/nl.po +10 -0
  45. package/lang/translations/pl.po +12 -0
  46. package/lang/translations/pt-br.po +29 -1
  47. package/lang/translations/sk.po +12 -0
  48. package/lang/translations/sr-latn.po +11 -0
  49. package/lang/translations/sr.po +11 -0
  50. package/lang/translations/tk.po +10 -0
  51. package/lang/translations/tr.po +10 -0
  52. package/lang/translations/zh-cn.po +9 -0
  53. package/lang/translations/zh.po +9 -0
  54. package/package.json +3 -3
  55. package/src/commands/acceptallsuggestionscommand.js +1 -1
  56. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  57. package/src/commands/acceptsuggestioncommand.js +1 -1
  58. package/src/commands/discardallsuggestionscommand.js +1 -1
  59. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  60. package/src/commands/discardsuggestioncommand.js +1 -1
  61. package/src/commands/trackchangescommand.js +1 -1
  62. package/src/integrations/alignment.js +1 -1
  63. package/src/integrations/basicstyles.js +1 -1
  64. package/src/integrations/blockquote.js +1 -1
  65. package/src/integrations/ckbox.js +23 -0
  66. package/src/integrations/codeblock.js +1 -1
  67. package/src/integrations/comments.js +1 -1
  68. package/src/integrations/deletecommand.js +1 -1
  69. package/src/integrations/entercommand.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/heading.js +1 -1
  72. package/src/integrations/highlight.js +1 -1
  73. package/src/integrations/horizontalline.js +1 -1
  74. package/src/integrations/htmlembed.js +23 -0
  75. package/src/integrations/image.js +1 -1
  76. package/src/integrations/indent.js +1 -1
  77. package/src/integrations/inputcommand.js +1 -1
  78. package/src/integrations/link.js +1 -1
  79. package/src/integrations/list.js +1 -1
  80. package/src/integrations/mediaembed.js +1 -1
  81. package/src/integrations/mention.js +1 -1
  82. package/src/integrations/pagebreak.js +1 -1
  83. package/src/integrations/paragraph.js +1 -1
  84. package/src/integrations/removeformat.js +1 -1
  85. package/src/integrations/restrictededitingmode.js +1 -1
  86. package/src/integrations/shiftentercommand.js +1 -1
  87. package/src/integrations/standardeditingmode.js +1 -1
  88. package/src/integrations/table.js +1 -1
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tableheadings.js +1 -1
  91. package/src/integrations/tablemergesplit.js +1 -1
  92. package/src/integrations/title.js +1 -1
  93. package/src/integrations/undo.js +1 -1
  94. package/src/integrations/utils.js +1 -1
  95. package/src/suggestion.js +1 -1
  96. package/src/suggestiondescriptionfactory.js +1 -1
  97. package/src/trackchanges.js +1 -1
  98. package/src/trackchangesdata.js +1 -1
  99. package/src/trackchangesediting.js +1 -1
  100. package/src/trackchangesui.js +1 -1
  101. package/src/ui/suggestioncontroller.js +1 -1
  102. package/src/ui/view/basesuggestionthreadview.js +1 -1
  103. package/src/ui/view/suggestionthreadview.js +1 -1
  104. package/src/utils/common-translations.js +1 -1
  105. package/src/utils/getrangesofblockgroups.js +23 -0
  106. package/src/utils/getselectedsuggestions.js +1 -1
  107. package/src/utils/hashobject.js +1 -1
  108. package/src/utils/normalizedescription.js +1 -1
  109. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25e0=['plugins','locale','TrackChangesEditing','CodeBlock','ELEMENT_CODE_BLOCK','afterInit','get','registerElementLabel'];(function(_0x50b2e7,_0x25e042){const _0x1f33f1=function(_0x14f68f){while(--_0x14f68f){_0x50b2e7['push'](_0x50b2e7['shift']());}};_0x1f33f1(++_0x25e042);}(_0x25e0,0x1b7));const _0x1f33=function(_0x50b2e7,_0x25e042){_0x50b2e7=_0x50b2e7-0x0;let _0x1f33f1=_0x25e0[_0x50b2e7];return _0x1f33f1;};import{Plugin as _0xdfadda}from'ckeditor5/src/core';import{getTranslation as _0xa3759e}from'../utils/common-translations';export default class P extends _0xdfadda{[_0x1f33('0x6')](){const _0x2de920=this['editor'],_0x4bc64c=_0x2de920[_0x1f33('0x2')];if(!_0x2de920[_0x1f33('0x1')]['has'](_0x1f33('0x4')))return;_0x2de920[_0x1f33('0x1')][_0x1f33('0x7')](_0x1f33('0x3'))['_descriptionFactory'][_0x1f33('0x0')]('codeBlock',_0x5ddcf3=>_0xa3759e(_0x4bc64c,_0x1f33('0x5'),_0x5ddcf3));}}
23
+ const _0x1679=['has','checkChild','label','codeBlock','from','outdentCodeBlock','markBlockFormat','locale','language','plugins','getSelectedBlocks','registerDescriptionCallback','blockName','*Format:*\x20%0','formatBlock','name','get','model','schema','config','commands','ELEMENT_CODE_BLOCK','rootElement','TrackChangesEditing','*Remove\x20format:*\x20%0','_descriptionFactory','parent','commandName','CodeBlock','document','selection','forceValue','change','languages','commandParams','enableCommand','filter','format','isLimit','afterInit'];(function(_0x16a90f,_0x16795f){const _0x3552d7=function(_0x946149){while(--_0x946149){_0x16a90f['push'](_0x16a90f['shift']());}};_0x3552d7(++_0x16795f);}(_0x1679,0xc3));const _0x3552=function(_0x16a90f,_0x16795f){_0x16a90f=_0x16a90f-0x0;let _0x3552d7=_0x1679[_0x16a90f];return _0x3552d7;};import{Plugin as _0x27ef6c}from'ckeditor5/src/core';import{getTranslation as _0x46c20d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x217854}from'../utils/getrangesofblockgroups';export default class G extends _0x27ef6c{[_0x3552('0x4')](){const _0x2d6b56=this['editor'];if(!_0x2d6b56[_0x3552('0xe')][_0x3552('0x5')](_0x3552('0x21')))return;const _0x4639c1=_0x2d6b56[_0x3552('0xe')][_0x3552('0x15')](_0x3552('0x1c')),_0x45de7d=_0x2d6b56[_0x3552('0xc')],_0x2ff881=_0x2d6b56[_0x3552('0x18')][_0x3552('0x15')]('codeBlock')[_0x3552('0x26')],_0x538581=_0x2d6b56[_0x3552('0x19')]['get'](_0x3552('0x8'));_0x4639c1[_0x3552('0x0')]('indentCodeBlock'),_0x4639c1[_0x3552('0x0')](_0x3552('0xa')),_0x4639c1[_0x3552('0x0')](_0x3552('0x8'),(_0x42a292,_0x33ca3f={})=>{const _0x41141d=_0x2d6b56[_0x3552('0x16')],_0x2d0857=_0x2d6b56[_0x3552('0x16')][_0x3552('0x22')][_0x3552('0x23')],_0x166fcb=_0x33ca3f&&void 0x0!==_0x33ca3f['forceValue']?_0x33ca3f[_0x3552('0x24')]:!_0x538581['value'];let _0x2e2002;_0x33ca3f[_0x3552('0xd')]||(_0x33ca3f[_0x3552('0xd')]=_0x2ff881[0x0]['language']),_0x2e2002=_0x166fcb?Array[_0x3552('0x9')](_0x2d0857[_0x3552('0xf')]())[_0x3552('0x1')](_0xd1873f=>co(_0xd1873f)||function(_0x51930d,_0x20e129){if(_0x51930d['is'](_0x3552('0x1b'))||_0x20e129[_0x3552('0x3')](_0x51930d))return!0x1;return _0x20e129[_0x3552('0x6')](_0x51930d[_0x3552('0x1f')],_0x3552('0x8'));}(_0xd1873f,_0x41141d[_0x3552('0x17')])):Array[_0x3552('0x9')](_0x2d0857[_0x3552('0xf')]())[_0x3552('0x1')](_0xa1cdcd=>co(_0xa1cdcd));const _0x1d9f01=_0x217854(_0x2e2002,_0x41141d);_0x41141d[_0x3552('0x25')](()=>{for(const _0x12ac71 of _0x1d9f01)_0x4639c1[_0x3552('0xb')](_0x12ac71,{'commandName':_0x3552('0x8'),'commandParams':[{..._0x33ca3f,'forceValue':_0x166fcb}],'formatGroupId':_0x3552('0x11')});});}),(_0x4639c1[_0x3552('0x1e')]['registerElementLabel']('codeBlock',_0x258563=>_0x46c20d(_0x45de7d,_0x3552('0x1a'),_0x258563)),_0x4639c1['_descriptionFactory'][_0x3552('0x10')](_0x5d56e6=>{const {type:_0x3eb0da,data:_0x443ba1}=_0x5d56e6;if(_0x3552('0x13')==_0x3eb0da&&_0x443ba1&&_0x3552('0x8')==_0x443ba1[_0x3552('0x20')]){const _0x5269eb=_0x443ba1['commandParams'][0x0][_0x3552('0xd')],_0x49ce92=_0x2ff881['find'](_0x36d894=>_0x36d894['language']===_0x5269eb)[_0x3552('0x7')],_0x5da3e4=_0x45de7d['_t'](_0x49ce92);return _0x443ba1[_0x3552('0x27')][0x0]['forceValue']?{'type':_0x3552('0x2'),'content':_0x46c20d(_0x45de7d,_0x3552('0x12'),_0x46c20d(_0x45de7d,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x5da3e4+')')}:{'type':_0x3552('0x2'),'content':_0x46c20d(_0x45de7d,_0x3552('0x1d'),_0x46c20d(_0x45de7d,_0x3552('0x1a'),0x1))};}}));}}function co(_0x28d46b){return _0x3552('0x8')==_0x28d46b[_0x3552('0x14')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2018=['enableCommand','addCommentThread','init','get','TrackChangesEditing','editor','plugins','CommentsEditing'];(function(_0x36ba79,_0x20184e){var _0x5fb98f=function(_0x22c758){while(--_0x22c758){_0x36ba79['push'](_0x36ba79['shift']());}};_0x5fb98f(++_0x20184e);}(_0x2018,0x72));var _0x5fb9=function(_0x36ba79,_0x20184e){_0x36ba79=_0x36ba79-0x0;var _0x5fb98f=_0x2018[_0x36ba79];return _0x5fb98f;};import{Plugin as _0x3fda09}from'ckeditor5/src/core';export default class G extends _0x3fda09{static get['requires'](){return[_0x5fb9('0x5')];}[_0x5fb9('0x0')](){this[_0x5fb9('0x3')][_0x5fb9('0x4')][_0x5fb9('0x1')](_0x5fb9('0x2'))[_0x5fb9('0x6')](_0x5fb9('0x7'));}}
23
+ var _0x350d=['get','plugins','addCommentThread','editor','TrackChangesEditing','init','requires','enableCommand'];(function(_0x24a7eb,_0x350db4){var _0x13e56b=function(_0x5d6075){while(--_0x5d6075){_0x24a7eb['push'](_0x24a7eb['shift']());}};_0x13e56b(++_0x350db4);}(_0x350d,0xfe));var _0x13e5=function(_0x24a7eb,_0x350db4){_0x24a7eb=_0x24a7eb-0x0;var _0x13e56b=_0x350d[_0x24a7eb];return _0x13e56b;};import{Plugin as _0x1ca3b7}from'ckeditor5/src/core';export default class F extends _0x1ca3b7{static get[_0x13e5('0x0')](){return['CommentsEditing'];}[_0x13e5('0x7')](){this[_0x13e5('0x5')][_0x13e5('0x3')][_0x13e5('0x2')](_0x13e5('0x6'))[_0x13e5('0x1')](_0x13e5('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42b2=['unit','options','$graveyard','markerName','enableCommand','plugins','createSelection','delete','start','TrackChangesEditing','data','root','deleteForward','editing','batch','getFirstRange','addMarker:suggestion:deletion','showSuggestionHighlights','downcastDispatcher','buffer','lock','high','detach','createRange','uiElement','fromRange','end','editor','mapper','commands','selection','unbindElementFromMarkerName','document','isCollapsed','get','model','writer','removeMarker:suggestion:deletion','requires','enqueueChange','setSelection'];(function(_0x228876,_0x42b222){const _0x24e11f=function(_0x6397c4){while(--_0x6397c4){_0x228876['push'](_0x228876['shift']());}};_0x24e11f(++_0x42b222);}(_0x42b2,0xf5));const _0x24e1=function(_0x228876,_0x42b222){_0x228876=_0x228876-0x0;let _0x24e11f=_0x42b2[_0x228876];return _0x24e11f;};import{Plugin as _0x10b0fb}from'ckeditor5/src/core';import{Delete as _0x11af4d}from'ckeditor5/src/typing';import{LiveRange as _0x3b184d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1aa55c}from'./utils';export default class F extends _0x10b0fb{static get[_0x24e1('0x27')](){return[_0x11af4d];}['init'](){const _0x56121d=this[_0x24e1('0x1c')],_0x9e68e1=_0x56121d[_0x24e1('0x6')][_0x24e1('0x23')](_0x24e1('0xa'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0x8'));const _0x420a2f=_0x56121d[_0x24e1('0x1e')][_0x24e1('0x23')](_0x24e1('0xd'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0xd'),(_0x490221,_0x3de92b={})=>{const _0x504c44=_0x56121d[_0x24e1('0x24')][_0x24e1('0x7')](_0x56121d[_0x24e1('0x24')][_0x24e1('0x21')][_0x24e1('0x1f')]);_0x504c44[_0x24e1('0x22')]&&_0x56121d[_0x24e1('0x24')]['modifySelection'](_0x504c44,{'direction':'forward','unit':_0x3de92b[_0x24e1('0x1')]});const _0x233e5c=_0x504c44[_0x24e1('0x10')](),_0x5d76e5=_0x3b184d[_0x24e1('0x1a')](_0x233e5c);let _0x5a5174;_0x490221(_0x3de92b),_0x5a5174=_0x24e1('0x3')==_0x5d76e5[_0x24e1('0xc')]['rootName']?_0x56121d[_0x24e1('0x24')][_0x24e1('0x18')](_0x233e5c[_0x24e1('0x9')]):_0x56121d[_0x24e1('0x24')]['createRange'](_0x5d76e5[_0x24e1('0x9')],_0x5d76e5[_0x24e1('0x1b')]),_0x5d76e5[_0x24e1('0x17')](),_0x56121d['model'][_0x24e1('0x28')](_0x420a2f[_0x24e1('0x14')][_0x24e1('0xf')],_0x2a1592=>{_0x420a2f[_0x24e1('0x14')][_0x24e1('0x15')](),_0x2a1592[_0x24e1('0x0')](_0x2a1592[_0x24e1('0x18')](_0x5a5174[_0x24e1('0x1b')])),_0x420a2f[_0x24e1('0x14')]['unlock']();});}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),_0x1aa55c(_0x56121d,'merge'),{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xb')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),(_0x5ed807,_0x5d4b99,_0x2ea9d8)=>{_0x2ea9d8[_0x24e1('0x2')][_0x24e1('0x12')]&&_0x1aa55c(_0x56121d,'merge',{'showActiveMarker':!0x1})(_0x5ed807,_0x5d4b99,_0x2ea9d8);},{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x26'),(_0x1b8dad,_0x4d9568,_0x4d8bc5)=>{const _0x4301ae=_0x4d8bc5[_0x24e1('0x1d')]['markerNameToElements'](_0x4d9568[_0x24e1('0x4')]);if(_0x4301ae)for(const _0x9ae979 of _0x4301ae)_0x9ae979['is'](_0x24e1('0x19'))&&(_0x4d8bc5[_0x24e1('0x1d')][_0x24e1('0x20')](_0x9ae979,_0x4d9568[_0x24e1('0x4')]),_0x4d8bc5[_0x24e1('0x25')]['remove'](_0x9ae979));},{'priority':'high'});}}
23
+ const _0x5666=['detach','markerName','createRange','markerNameToElements','selection','root','rootName','requires','document','model','downcastDispatcher','$graveyard','lock','batch','enqueueChange','getFirstRange','delete','start','end','modifySelection','high','options','removeMarker:suggestion:deletion','editor','buffer','unlock','addMarker:suggestion:deletion','createSelection','forward','fromRange','editing','unbindElementFromMarkerName','writer','deleteForward','init','uiElement','remove'];(function(_0x3b5694,_0x5666a4){const _0x5eeeee=function(_0x1356f8){while(--_0x1356f8){_0x3b5694['push'](_0x3b5694['shift']());}};_0x5eeeee(++_0x5666a4);}(_0x5666,0x15d));const _0x5eee=function(_0x3b5694,_0x5666a4){_0x3b5694=_0x3b5694-0x0;let _0x5eeeee=_0x5666[_0x3b5694];return _0x5eeeee;};import{Plugin as _0x2dfec6}from'ckeditor5/src/core';import{Delete as _0x558e63}from'ckeditor5/src/typing';import{LiveRange as _0x21a91f}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2680c9}from'./utils';export default class L extends _0x2dfec6{static get[_0x5eee('0x1c')](){return[_0x558e63];}[_0x5eee('0x12')](){const _0x41be50=this[_0x5eee('0x7')],_0x1bf17e=_0x41be50['plugins']['get']('TrackChangesEditing');_0x1bf17e['enableCommand'](_0x5eee('0x0'));const _0x5122c4=_0x41be50['commands']['get']('deleteForward');_0x1bf17e['enableCommand'](_0x5eee('0x11'),(_0x1a731a,_0x3e0e0a={})=>{const _0x82948d=_0x41be50[_0x5eee('0x1e')][_0x5eee('0xb')](_0x41be50[_0x5eee('0x1e')][_0x5eee('0x1d')][_0x5eee('0x19')]);_0x82948d['isCollapsed']&&_0x41be50['model'][_0x5eee('0x3')](_0x82948d,{'direction':_0x5eee('0xc'),'unit':_0x3e0e0a['unit']});const _0x1c5018=_0x82948d[_0x5eee('0x24')](),_0x518f6e=_0x21a91f[_0x5eee('0xd')](_0x1c5018);let _0x94dfb6;_0x1a731a(_0x3e0e0a),_0x94dfb6=_0x5eee('0x20')==_0x518f6e[_0x5eee('0x1a')][_0x5eee('0x1b')]?_0x41be50[_0x5eee('0x1e')][_0x5eee('0x17')](_0x1c5018[_0x5eee('0x1')]):_0x41be50[_0x5eee('0x1e')][_0x5eee('0x17')](_0x518f6e[_0x5eee('0x1')],_0x518f6e[_0x5eee('0x2')]),_0x518f6e[_0x5eee('0x15')](),_0x41be50['model'][_0x5eee('0x23')](_0x5122c4[_0x5eee('0x8')][_0x5eee('0x22')],_0xbbf1b3=>{_0x5122c4['buffer'][_0x5eee('0x21')](),_0xbbf1b3['setSelection'](_0xbbf1b3[_0x5eee('0x17')](_0x94dfb6['end'])),_0x5122c4[_0x5eee('0x8')][_0x5eee('0x9')]();});}),_0x41be50[_0x5eee('0xe')][_0x5eee('0x1f')]['on'](_0x5eee('0xa'),_0x2680c9(_0x41be50,'merge'),{'priority':_0x5eee('0x4')}),_0x41be50['data'][_0x5eee('0x1f')]['on'](_0x5eee('0xa'),(_0x18b8d1,_0x3ed9ff,_0x21b414)=>{_0x21b414[_0x5eee('0x5')]['showSuggestionHighlights']&&_0x2680c9(_0x41be50,'merge',{'showActiveMarker':!0x1})(_0x18b8d1,_0x3ed9ff,_0x21b414);},{'priority':_0x5eee('0x4')}),_0x41be50[_0x5eee('0xe')][_0x5eee('0x1f')]['on'](_0x5eee('0x6'),(_0x2f194a,_0xe0f25d,_0x53d6f8)=>{const _0x27c260=_0x53d6f8['mapper'][_0x5eee('0x18')](_0xe0f25d[_0x5eee('0x16')]);if(_0x27c260)for(const _0x485b25 of _0x27c260)_0x485b25['is'](_0x5eee('0x13'))&&(_0x53d6f8['mapper'][_0x5eee('0xf')](_0x485b25,_0xe0f25d[_0x5eee('0x16')]),_0x53d6f8[_0x5eee('0x10')][_0x5eee('0x14')](_0x485b25));},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x354d=['writer','downcastDispatcher','end','plugins','isAtEnd','model','start','schema','fromRange','TrackChangesEditing','mapper','markerName','requires','editing','createPositionAt','init','nextSibling','enter','markInsertion','addMarker:suggestion:insertion','unbindElementFromMarkerName','markerNameToElements','options','createRange','isLimit','setSelection','parent','high','document','detach','removeMarker:suggestion:insertion','selection','getFirstRange','remove','get','data','isCollapsed','hasClass'];(function(_0x53ac20,_0x354d6d){const _0x26d1b9=function(_0x4bc9dc){while(--_0x4bc9dc){_0x53ac20['push'](_0x53ac20['shift']());}};_0x26d1b9(++_0x354d6d);}(_0x354d,0x1c3));const _0x26d1=function(_0x53ac20,_0x354d6d){_0x53ac20=_0x53ac20-0x0;let _0x26d1b9=_0x354d[_0x53ac20];return _0x26d1b9;};import{Plugin as _0x21ba5c}from'ckeditor5/src/core';import{Enter as _0x28130e}from'ckeditor5/src/enter';import{LiveRange as _0x48b072}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4bd0c5}from'./utils';export default class L extends _0x21ba5c{static get[_0x26d1('0x11')](){return[_0x28130e];}[_0x26d1('0x14')](){const _0x2d4790=this['editor'],_0x377e07=_0x2d4790[_0x26d1('0x8')][_0x26d1('0x1')](_0x26d1('0xe'));_0x377e07['enableCommand'](_0x26d1('0x16'),_0x1f3105=>{_0x2d4790[_0x26d1('0xa')]['change'](_0x25e0bb=>{const _0x2686c8=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x21')][_0x26d1('0x24')],_0x4c6144=_0x2686c8['getFirstPosition'](),_0x29b345=_0x2686c8[_0x26d1('0x3')],_0x2bb750=_0x48b072[_0x26d1('0xd')](_0x2686c8[_0x26d1('0x25')]()),_0x49cd72=_0x2bb750[_0x26d1('0xb')][_0x26d1('0x1f')],_0x4fbbd3=_0x2bb750[_0x26d1('0x7')][_0x26d1('0x1f')],_0x5c38ff=!(_0x2bb750['start']['isAtStart']&&_0x2bb750[_0x26d1('0x7')][_0x26d1('0x9')]),_0x11f94d=_0x49cd72==_0x4fbbd3,_0x5b2b4e=!(_0x2d4790[_0x26d1('0xa')][_0x26d1('0xc')][_0x26d1('0x1d')](_0x49cd72)||_0x2d4790[_0x26d1('0xa')]['schema'][_0x26d1('0x1d')](_0x4fbbd3))&&(_0x29b345||_0x5c38ff&&_0x11f94d);if(_0x1f3105(),_0x5b2b4e){const _0x7e2550=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x13')](_0x4c6144[_0x26d1('0x1f')][_0x26d1('0x15')],0x0),_0x387c53=_0x25e0bb[_0x26d1('0x1c')](_0x4c6144,_0x7e2550);_0x377e07[_0x26d1('0x17')](_0x387c53);}else _0x25e0bb[_0x26d1('0x1e')](_0x25e0bb['createRange'](_0x2bb750[_0x26d1('0x7')]));_0x2bb750[_0x26d1('0x22')]();});}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),_0x4bd0c5(_0x2d4790,'split'),{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x23'),(_0x353abe,_0x2f82a6,_0x5b67ba)=>{const _0x49524d=_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x1a')](_0x2f82a6[_0x26d1('0x10')]);if(_0x49524d)for(const _0x2d7aeb of _0x49524d)_0x2d7aeb[_0x26d1('0x4')]('ck-suggestion-marker-split')&&(_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x19')](_0x2d7aeb,_0x2f82a6['markerName']),_0x5b67ba[_0x26d1('0x5')][_0x26d1('0x0')](_0x2d7aeb));},{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x2')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),(_0x29ec5a,_0x56c78e,_0x257cc4)=>{_0x257cc4[_0x26d1('0x1b')]['showSuggestionHighlights']&&_0x4bd0c5(_0x2d4790,'split',{'showActiveMarker':!0x1})(_0x29ec5a,_0x56c78e,_0x257cc4);},{'priority':_0x26d1('0x20')});}}
23
+ const _0x1c5a=['ck-suggestion-marker-split','high','TrackChangesEditing','plugins','start','hasClass','detach','init','createRange','change','model','enter','selection','end','nextSibling','split','downcastDispatcher','writer','parent','setSelection','mapper','fromRange','get','schema','showSuggestionHighlights','document','getFirstPosition','markInsertion','editing','removeMarker:suggestion:insertion','editor','createPositionAt','remove','addMarker:suggestion:insertion','data'];(function(_0xcf7cd6,_0x1c5a90){const _0x2e62c7=function(_0x5cb0d0){while(--_0x5cb0d0){_0xcf7cd6['push'](_0xcf7cd6['shift']());}};_0x2e62c7(++_0x1c5a90);}(_0x1c5a,0x9a));const _0x2e62=function(_0xcf7cd6,_0x1c5a90){_0xcf7cd6=_0xcf7cd6-0x0;let _0x2e62c7=_0x1c5a[_0xcf7cd6];return _0x2e62c7;};import{Plugin as _0x32ea4b}from'ckeditor5/src/core';import{Enter as _0x51d6d}from'ckeditor5/src/enter';import{LiveRange as _0xc5830c}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0xaaa306}from'./utils';export default class q extends _0x32ea4b{static get['requires'](){return[_0x51d6d];}[_0x2e62('0x1c')](){const _0x24045e=this[_0x2e62('0x10')],_0xd7e771=_0x24045e[_0x2e62('0x18')][_0x2e62('0x8')](_0x2e62('0x17'));_0xd7e771['enableCommand'](_0x2e62('0x20'),_0x18183f=>{_0x24045e[_0x2e62('0x1f')][_0x2e62('0x1e')](_0x4f829f=>{const _0x3eef28=_0x24045e[_0x2e62('0x1f')][_0x2e62('0xb')][_0x2e62('0x21')],_0x1765d9=_0x3eef28[_0x2e62('0xc')](),_0x1a2b0c=_0x3eef28['isCollapsed'],_0x1556a5=_0xc5830c[_0x2e62('0x7')](_0x3eef28['getFirstRange']()),_0x2d356b=_0x1556a5[_0x2e62('0x19')][_0x2e62('0x4')],_0x46a90b=_0x1556a5['end'][_0x2e62('0x4')],_0x1e5da1=!(_0x1556a5[_0x2e62('0x19')]['isAtStart']&&_0x1556a5[_0x2e62('0x22')]['isAtEnd']),_0x471107=_0x2d356b==_0x46a90b,_0x16e311=!(_0x24045e['model']['schema']['isLimit'](_0x2d356b)||_0x24045e[_0x2e62('0x1f')][_0x2e62('0x9')]['isLimit'](_0x46a90b))&&(_0x1a2b0c||_0x1e5da1&&_0x471107);if(_0x18183f(),_0x16e311){const _0x326dd2=_0x24045e[_0x2e62('0x1f')][_0x2e62('0x11')](_0x1765d9[_0x2e62('0x4')][_0x2e62('0x0')],0x0),_0x1a1a31=_0x4f829f[_0x2e62('0x1d')](_0x1765d9,_0x326dd2);_0xd7e771[_0x2e62('0xd')](_0x1a1a31);}else _0x4f829f[_0x2e62('0x5')](_0x4f829f[_0x2e62('0x1d')](_0x1556a5[_0x2e62('0x22')]));_0x1556a5[_0x2e62('0x1b')]();});}),_0x24045e[_0x2e62('0xe')]['downcastDispatcher']['on'](_0x2e62('0x13'),_0xaaa306(_0x24045e,_0x2e62('0x1')),{'priority':'high'}),_0x24045e[_0x2e62('0xe')][_0x2e62('0x2')]['on'](_0x2e62('0xf'),(_0x490ece,_0x53783b,_0x6e3a83)=>{const _0x405655=_0x6e3a83[_0x2e62('0x6')]['markerNameToElements'](_0x53783b['markerName']);if(_0x405655)for(const _0x336ddf of _0x405655)_0x336ddf[_0x2e62('0x1a')](_0x2e62('0x15'))&&(_0x6e3a83['mapper']['unbindElementFromMarkerName'](_0x336ddf,_0x53783b['markerName']),_0x6e3a83[_0x2e62('0x3')][_0x2e62('0x12')](_0x336ddf));},{'priority':_0x2e62('0x16')}),_0x24045e[_0x2e62('0x14')][_0x2e62('0x2')]['on']('addMarker:suggestion:insertion',(_0x37cdb3,_0x2d83e8,_0x5aa671)=>{_0x5aa671['options'][_0x2e62('0xa')]&&_0xaaa306(_0x24045e,_0x2e62('0x1'),{'showActiveMarker':!0x1})(_0x37cdb3,_0x2d83e8,_0x5aa671);},{'priority':_0x2e62('0x16')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cbf=['TrackChangesEditing','FontSizeEditing','getRanges','_enableCommand','trim','*Reset\x20font\x20size*','normalizeSizeOptions','format','fontColor','toLowerCase','has','markInlineFormat','plugins','find','commandParams','*Reset\x20font\x20background\x20color*','change','*Set\x20font\x20family:*\x20%0','afterInit','*Set\x20font\x20color:*\x20%0','_descriptionFactory','from','config','FontBackgroundColorEditing','fontBackgroundColor','registerDescriptionCallback','enableCommand','fontBackgroundColor.colors','value','model','get','commandName','FontFamilyEditing','title','*Set\x20font\x20background\x20color:*\x20%0','document','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20family*','fontSize','fontSize.options','locale','FontColorEditing','editor','*Reset\x20font\x20color*','fontFamily'];(function(_0x6cabdf,_0x2cbf10){const _0x14365=function(_0x2ceb6d){while(--_0x2ceb6d){_0x6cabdf['push'](_0x6cabdf['shift']());}};_0x14365(++_0x2cbf10);}(_0x2cbf,0x80));const _0x1436=function(_0x6cabdf,_0x2cbf10){_0x6cabdf=_0x6cabdf-0x0;let _0x14365=_0x2cbf[_0x6cabdf];return _0x14365;};import{Plugin as _0x1dad17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x21c257}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5cc7da}from'./utils';import{getTranslation as _0x3b7f09}from'../utils/common-translations';const zt=[{'pluginName':_0x1436('0x8'),'commandName':_0x1436('0x0')},{'pluginName':_0x1436('0x27'),'commandName':_0x1436('0x6')},{'pluginName':_0x1436('0x3'),'commandName':'fontColor'},{'pluginName':_0x1436('0x1e'),'commandName':'fontBackgroundColor'}];export default class q extends _0x1dad17{[_0x1436('0x19')](){const _0x2828a8=this[_0x1436('0x4')][_0x1436('0x2')];for(const {pluginName:_0xe0ba8b,commandName:_0x38f825}of zt)this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x11')](_0xe0ba8b)&&this['_enableCommand'](_0x38f825);this[_0x1436('0x4')]['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x1b')][_0x1436('0x20')](_0x31ce7d=>{const {data:_0xe3e4cd}=_0x31ce7d;if(null!=_0xe3e4cd){if(_0x1436('0x0')==_0xe3e4cd[_0x1436('0x26')]){const _0x1addd5=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];if(_0x1addd5){const _0x3032f3=this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x25')]('FontSize')[_0x1436('0xd')](this['editor'][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x1')))[_0x1436('0x14')](_0x1ea3b6=>_0x1ea3b6['model']==_0x1addd5)[_0x1436('0x28')],_0x49a518=this[_0x1436('0x4')][_0x1436('0x2')]['_t'](_0x3032f3)[_0x1436('0x10')]();return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2b'),_0x49a518)};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0xc'))};}if(_0x1436('0x6')==_0xe3e4cd['commandName']){const _0x145431=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];return _0x145431?{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x18'),_0x145431)}:{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2c'))};}if(_0x1436('0xf')==_0xe3e4cd[_0x1436('0x26')]){const _0xd876=_0xe3e4cd[_0x1436('0x15')][0x0]['value'];if(_0xd876){const _0x4fa969=_0x21c257(this[_0x1436('0x4')]['config']['get']('fontColor.colors'))[_0x1436('0x14')](_0x3568a9=>_0x3568a9[_0x1436('0x24')]==_0xd876);let _0x21bb41=_0xd876,_0x5e830e='';return _0x4fa969&&(_0x21bb41=_0x4fa969['label'],_0x5e830e=_0x2828a8['_t'](_0x21bb41)[_0x1436('0x10')]()),{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x1a'),_0x5e830e)[_0x1436('0xb')](),'color':{'value':_0xd876,'title':_0x5e830e||_0x21bb41}};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x5'))};}if(_0x1436('0x1f')==_0xe3e4cd[_0x1436('0x26')]){const _0x2c0981=_0xe3e4cd['commandParams'][0x0][_0x1436('0x23')];if(_0x2c0981){const _0x1561d0=_0x21c257(this[_0x1436('0x4')][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x22')))[_0x1436('0x14')](_0x3f0838=>_0x3f0838['model']==_0x2c0981);let _0x59c328=_0x2c0981,_0x3ca64e='';return _0x1561d0&&(_0x59c328=_0x1561d0['label'],_0x3ca64e=_0x2828a8['_t'](_0x59c328)[_0x1436('0x10')]()),{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x29'),_0x3ca64e)[_0x1436('0xb')](),'color':{'value':_0x2c0981,'title':_0x3ca64e||_0x59c328}};}return{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x16'))};}}});}[_0x1436('0xa')](_0x46f259){const _0x1c9a9b=this['editor'];_0x1c9a9b['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x21')](_0x46f259,(_0x42f7eb,_0x5a9d49={})=>{const _0x23ecf2=_0x1c9a9b[_0x1436('0x24')][_0x1436('0x2a')]['selection'],_0x4a163c=_0x5a9d49[_0x1436('0x23')];_0x23ecf2['isCollapsed']?_0x42f7eb(_0x5a9d49):_0x1c9a9b[_0x1436('0x24')][_0x1436('0x17')](()=>{const _0x368d8f=Array[_0x1436('0x1c')](_0x23ecf2[_0x1436('0x9')]());for(const _0x389d64 of _0x368d8f){const _0x1c2072=_0x4a163c?[_0x389d64]:_0x5cc7da(_0x46f259,_0x389d64,_0x1c9a9b[_0x1436('0x24')]);for(const _0x147dda of _0x1c2072)_0x1c9a9b['plugins']['get'](_0x1436('0x7'))[_0x1436('0x12')](_0x147dda,{'commandName':_0x46f259,'commandParams':[{'value':_0x4a163c}]});}});});}}
23
+ const _0x1647=['title','FontBackgroundColorEditing','editor','afterInit','plugins','FontFamilyEditing','*Reset\x20font\x20color*','fontSize','label','format','get','model','fontColor','registerDescriptionCallback','*Reset\x20font\x20family*','find','config','fontBackgroundColor.colors','document','toLowerCase','*Reset\x20font\x20size*','_enableCommand','TrackChangesEditing','fontFamily','value','markInlineFormat','fontBackgroundColor','selection','FontColorEditing','commandName','FontSizeEditing','commandParams','fontSize.options','*Reset\x20font\x20background\x20color*','*Set\x20font\x20background\x20color:*\x20%0','trim','change','*Set\x20font\x20size:*\x20%0','enableCommand','*Set\x20font\x20color:*\x20%0','has','normalizeSizeOptions','locale','getRanges'];(function(_0x17a7aa,_0x1647fa){const _0x4cabbd=function(_0x5720de){while(--_0x5720de){_0x17a7aa['push'](_0x17a7aa['shift']());}};_0x4cabbd(++_0x1647fa);}(_0x1647,0xc7));const _0x4cab=function(_0x17a7aa,_0x1647fa){_0x17a7aa=_0x17a7aa-0x0;let _0x4cabbd=_0x1647[_0x17a7aa];return _0x4cabbd;};import{Plugin as _0x466f95}from'ckeditor5/src/core';import{normalizeColorOptions as _0xdedbf}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3e670c}from'./utils';import{getTranslation as _0x4f195f}from'../utils/common-translations';const zt=[{'pluginName':_0x4cab('0x7'),'commandName':_0x4cab('0x1c')},{'pluginName':_0x4cab('0x1a'),'commandName':_0x4cab('0x0')},{'pluginName':_0x4cab('0x5'),'commandName':_0x4cab('0x21')},{'pluginName':_0x4cab('0x16'),'commandName':_0x4cab('0x3')}];export default class H extends _0x466f95{[_0x4cab('0x18')](){const _0x2a034a=this[_0x4cab('0x17')]['locale'];for(const {pluginName:_0x168bf1,commandName:_0x414fbc}of zt)this[_0x4cab('0x17')][_0x4cab('0x19')][_0x4cab('0x11')](_0x168bf1)&&this[_0x4cab('0x2a')](_0x414fbc);this[_0x4cab('0x17')][_0x4cab('0x19')][_0x4cab('0x1f')](_0x4cab('0x2b'))['_descriptionFactory'][_0x4cab('0x22')](_0x110243=>{const {data:_0x5e3957}=_0x110243;if(null!=_0x5e3957){if('fontSize'==_0x5e3957[_0x4cab('0x6')]){const _0x387e4b=_0x5e3957[_0x4cab('0x8')][0x0][_0x4cab('0x1')];if(_0x387e4b){const _0x2bbe82=this[_0x4cab('0x17')]['plugins'][_0x4cab('0x1f')]('FontSize')[_0x4cab('0x12')](this['editor']['config'][_0x4cab('0x1f')](_0x4cab('0x9')))[_0x4cab('0x24')](_0x157d9f=>_0x157d9f[_0x4cab('0x20')]==_0x387e4b)[_0x4cab('0x15')],_0x516ee4=this[_0x4cab('0x17')][_0x4cab('0x13')]['_t'](_0x2bbe82)[_0x4cab('0x28')]();return{'type':_0x4cab('0x1e'),'content':_0x4f195f(_0x2a034a,_0x4cab('0xe'),_0x516ee4)};}return{'type':_0x4cab('0x1e'),'content':_0x4f195f(_0x2a034a,_0x4cab('0x29'))};}if(_0x4cab('0x0')==_0x5e3957[_0x4cab('0x6')]){const _0x1725f4=_0x5e3957[_0x4cab('0x8')][0x0][_0x4cab('0x1')];return _0x1725f4?{'type':'format','content':_0x4f195f(_0x2a034a,'*Set\x20font\x20family:*\x20%0',_0x1725f4)}:{'type':'format','content':_0x4f195f(_0x2a034a,_0x4cab('0x23'))};}if('fontColor'==_0x5e3957[_0x4cab('0x6')]){const _0xec0a8f=_0x5e3957[_0x4cab('0x8')][0x0]['value'];if(_0xec0a8f){const _0x2f6c16=_0xdedbf(this[_0x4cab('0x17')][_0x4cab('0x25')][_0x4cab('0x1f')]('fontColor.colors'))[_0x4cab('0x24')](_0x21a814=>_0x21a814['model']==_0xec0a8f);let _0x4c5010=_0xec0a8f,_0x4007c0='';return _0x2f6c16&&(_0x4c5010=_0x2f6c16[_0x4cab('0x1d')],_0x4007c0=_0x2a034a['_t'](_0x4c5010)['toLowerCase']()),{'type':_0x4cab('0x1e'),'content':_0x4f195f(_0x2a034a,_0x4cab('0x10'),_0x4007c0)[_0x4cab('0xc')](),'color':{'value':_0xec0a8f,'title':_0x4007c0||_0x4c5010}};}return{'type':_0x4cab('0x1e'),'content':_0x4f195f(_0x2a034a,_0x4cab('0x1b'))};}if('fontBackgroundColor'==_0x5e3957[_0x4cab('0x6')]){const _0x2051b4=_0x5e3957['commandParams'][0x0][_0x4cab('0x1')];if(_0x2051b4){const _0x5e3190=_0xdedbf(this[_0x4cab('0x17')][_0x4cab('0x25')][_0x4cab('0x1f')](_0x4cab('0x26')))['find'](_0xa3eb63=>_0xa3eb63[_0x4cab('0x20')]==_0x2051b4);let _0x3a4698=_0x2051b4,_0x25f68f='';return _0x5e3190&&(_0x3a4698=_0x5e3190[_0x4cab('0x1d')],_0x25f68f=_0x2a034a['_t'](_0x3a4698)[_0x4cab('0x28')]()),{'type':_0x4cab('0x1e'),'content':_0x4f195f(_0x2a034a,_0x4cab('0xb'),_0x25f68f)[_0x4cab('0xc')](),'color':{'value':_0x2051b4,'title':_0x25f68f||_0x3a4698}};}return{'type':_0x4cab('0x1e'),'content':_0x4f195f(_0x2a034a,_0x4cab('0xa'))};}}});}['_enableCommand'](_0x57a779){const _0x542935=this[_0x4cab('0x17')];_0x542935['plugins']['get'](_0x4cab('0x2b'))[_0x4cab('0xf')](_0x57a779,(_0x55847a,_0x48cc2a={})=>{const _0x6fae29=_0x542935[_0x4cab('0x20')][_0x4cab('0x27')][_0x4cab('0x4')],_0xf6e645=_0x48cc2a[_0x4cab('0x1')];_0x6fae29['isCollapsed']?_0x55847a(_0x48cc2a):_0x542935[_0x4cab('0x20')][_0x4cab('0xd')](()=>{const _0x511fa7=Array['from'](_0x6fae29[_0x4cab('0x14')]());for(const _0x233396 of _0x511fa7){const _0x4032f4=_0xf6e645?[_0x233396]:_0x3e670c(_0x57a779,_0x233396,_0x542935['model']);for(const _0x1b930c of _0x4032f4)_0x542935[_0x4cab('0x19')][_0x4cab('0x1f')](_0x4cab('0x2b'))[_0x4cab('0x2')](_0x1b930c,{'commandName':_0x57a779,'commandParams':[{'value':_0xf6e645}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43fb=['ELEMENT_HEADING_CUSTOM','format','checkChild','config','blockName','value','has','*Change\x20to:*\x20%0','commandParams','match','parent','filter','heading','name','get','editor','markBlockFormat','heading.options','TrackChangesEditing','registerDescriptionCallback','registerElementLabel','plugins','_descriptionFactory','ELEMENT_HEADING','change','from','enableCommand','model','document','title','isObject','locale','commandName','find','HeadingEditing'];(function(_0x5b0423,_0x43fb1c){const _0x30e79c=function(_0x1eac43){while(--_0x1eac43){_0x5b0423['push'](_0x5b0423['shift']());}};_0x30e79c(++_0x43fb1c);}(_0x43fb,0x1e2));const _0x30e7=function(_0x5b0423,_0x43fb1c){_0x5b0423=_0x5b0423-0x0;let _0x30e79c=_0x43fb[_0x5b0423];return _0x30e79c;};import{Plugin as _0x2fd95d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5d67f3}from'./utils';import{getTranslation as _0x26633}from'../utils/common-translations';export default class H extends _0x2fd95d{['afterInit'](){const _0x57393a=this['editor'],_0x30ad04=_0x57393a[_0x30e7('0x4')],_0x4a79b0=_0x57393a[_0x30e7('0xb')][_0x30e7('0x16')](_0x30e7('0x19'));if(!_0x57393a[_0x30e7('0x1d')][_0x30e7('0xe')](_0x30e7('0x7')))return;const _0x5186a0=_0x57393a[_0x30e7('0x1d')][_0x30e7('0x16')](_0x30e7('0x1a'));_0x5186a0[_0x30e7('0x22')](_0x30e7('0x14'),(_0x5a4ad7,_0x41a384)=>{const _0x2725c2=_0x41a384['value'],_0x1bb000=Array[_0x30e7('0x21')](this['editor'][_0x30e7('0x0')][_0x30e7('0x1')]['selection']['getSelectedBlocks']())[_0x30e7('0x13')](_0x26e40c=>function(_0x4a1dd9,_0x10ef6c,_0xf10ef9){return _0xf10ef9[_0x30e7('0xa')](_0x4a1dd9[_0x30e7('0x12')],_0x10ef6c)&&!_0xf10ef9[_0x30e7('0x3')](_0x4a1dd9)&&_0x4a1dd9[_0x30e7('0x15')]!=_0x10ef6c;}(_0x26e40c,_0x2725c2,this[_0x30e7('0x17')]['model']['schema']));_0x57393a[_0x30e7('0x0')][_0x30e7('0x20')](()=>{for(const _0x5d8384 of _0x1bb000)_0x5186a0[_0x30e7('0x18')](_0x5d8384,{'commandName':_0x30e7('0x14'),'commandParams':[_0x41a384],'formatGroupId':_0x30e7('0xc')},_0x5d67f3(_0x5d8384));});});for(const _0x5eea1d of _0x4a79b0)'paragraph'!=_0x5eea1d[_0x30e7('0x0')]&&_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1c')](_0x5eea1d[_0x30e7('0x0')],_0x135e21=>{const _0x43d837=Ht(_0x5eea1d[_0x30e7('0x0')]);return null!==_0x43d837?_0x378071(_0x135e21,_0x43d837):_0x3ff5df(_0x135e21,_0x5eea1d['title']);});function _0x378071(_0x544200,_0x310bd5){return _0x26633(_0x30ad04,_0x30e7('0x1f'),[_0x544200,_0x310bd5]);}function _0x3ff5df(_0x1ac647,_0x536f0e){return _0x26633(_0x30ad04,_0x30e7('0x8'),[_0x1ac647,_0x536f0e]);}_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1b')](_0x3c0b69=>{const {type:_0x468d22,data:_0x4b176c}=_0x3c0b69;if('formatBlock'==_0x468d22&&_0x4b176c&&'heading'==_0x4b176c[_0x30e7('0x5')]){const _0x9f701=_0x4b176c[_0x30e7('0x10')][0x0][_0x30e7('0xd')],_0x590297=Ht(_0x9f701);if(null!==_0x590297)return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x378071(0x1,_0x590297))};const _0x2f1c89=_0x4a79b0[_0x30e7('0x6')](_0x2ce1f3=>_0x2ce1f3['model']===_0x9f701)[_0x30e7('0x2')];return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x3ff5df(0x1,_0x2f1c89))};}});}}function Ht(_0x109d51){const _0x45abfa=_0x109d51[_0x30e7('0x11')](/^heading(\d+)$/);return _0x45abfa?_0x45abfa[0x1]:null;}
23
+ const _0xe206=['selection','isObject','heading.options','filter','enableCommand','format','heading','document','markBlockFormat','*Change\x20to:*\x20%0','title','schema','from','TrackChangesEditing','formatBlock','blockName','locale','match','value','paragraph','_descriptionFactory','config','registerElementLabel','model','editor','change','parent','registerDescriptionCallback','get','commandName','ELEMENT_HEADING_CUSTOM','plugins','name'];(function(_0x2fb8df,_0xe206cc){const _0x36cac3=function(_0x30f4c3){while(--_0x30f4c3){_0x2fb8df['push'](_0x2fb8df['shift']());}};_0x36cac3(++_0xe206cc);}(_0xe206,0x12c));const _0x36ca=function(_0x2fb8df,_0xe206cc){_0x2fb8df=_0x2fb8df-0x0;let _0x36cac3=_0xe206[_0x2fb8df];return _0x36cac3;};import{Plugin as _0x3f6513}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x24aabb}from'./utils';import{getTranslation as _0x32ae6e}from'../utils/common-translations';export default class W extends _0x3f6513{['afterInit'](){const _0x3babfb=this[_0x36ca('0x15')],_0x55c4cd=_0x3babfb[_0x36ca('0xd')],_0xf9c32c=_0x3babfb[_0x36ca('0x12')][_0x36ca('0x19')](_0x36ca('0x20'));if(!_0x3babfb[_0x36ca('0x1c')]['has']('HeadingEditing'))return;const _0x3b885a=_0x3babfb[_0x36ca('0x1c')]['get'](_0x36ca('0xa'));_0x3b885a[_0x36ca('0x1')](_0x36ca('0x3'),(_0x2e0e3c,_0x11604c)=>{const _0x1d6933=_0x11604c[_0x36ca('0xf')],_0x15657a=Array[_0x36ca('0x9')](this[_0x36ca('0x15')][_0x36ca('0x14')][_0x36ca('0x4')][_0x36ca('0x1e')]['getSelectedBlocks']())[_0x36ca('0x0')](_0x4e8eeb=>function(_0x3e68f0,_0x2cbdb1,_0x3ff58c){return _0x3ff58c['checkChild'](_0x3e68f0[_0x36ca('0x17')],_0x2cbdb1)&&!_0x3ff58c[_0x36ca('0x1f')](_0x3e68f0)&&_0x3e68f0[_0x36ca('0x1d')]!=_0x2cbdb1;}(_0x4e8eeb,_0x1d6933,this['editor']['model'][_0x36ca('0x8')]));_0x3babfb['model'][_0x36ca('0x16')](()=>{for(const _0x23cbdf of _0x15657a)_0x3b885a[_0x36ca('0x5')](_0x23cbdf,{'commandName':_0x36ca('0x3'),'commandParams':[_0x11604c],'formatGroupId':_0x36ca('0xc')},_0x24aabb(_0x23cbdf));});});for(const _0x9908ea of _0xf9c32c)_0x36ca('0x10')!=_0x9908ea[_0x36ca('0x14')]&&_0x3b885a[_0x36ca('0x11')][_0x36ca('0x13')](_0x9908ea['model'],_0x519703=>{const _0x2848c4=Ht(_0x9908ea['model']);return null!==_0x2848c4?_0xa7c6af(_0x519703,_0x2848c4):_0x479670(_0x519703,_0x9908ea[_0x36ca('0x7')]);});function _0xa7c6af(_0x8372e3,_0x523537){return _0x32ae6e(_0x55c4cd,'ELEMENT_HEADING',[_0x8372e3,_0x523537]);}function _0x479670(_0x5350b0,_0x43424b){return _0x32ae6e(_0x55c4cd,_0x36ca('0x1b'),[_0x5350b0,_0x43424b]);}_0x3b885a[_0x36ca('0x11')][_0x36ca('0x18')](_0x407543=>{const {type:_0x225d17,data:_0x591c4b}=_0x407543;if(_0x36ca('0xb')==_0x225d17&&_0x591c4b&&_0x36ca('0x3')==_0x591c4b[_0x36ca('0x1a')]){const _0x121ff4=_0x591c4b['commandParams'][0x0][_0x36ca('0xf')],_0x57e1df=Ht(_0x121ff4);if(null!==_0x57e1df)return{'type':_0x36ca('0x2'),'content':_0x32ae6e(_0x55c4cd,'*Change\x20to:*\x20%0',_0xa7c6af(0x1,_0x57e1df))};const _0x141f87=_0xf9c32c['find'](_0x22bdb1=>_0x22bdb1['model']===_0x121ff4)['title'];return{'type':_0x36ca('0x2'),'content':_0x32ae6e(_0x55c4cd,_0x36ca('0x6'),_0x479670(0x1,_0x141f87))};}});}}function Ht(_0x2d71c7){const _0x2bf41f=_0x2d71c7[_0x36ca('0xe')](/^heading(\d+)$/);return _0x2bf41f?_0x2bf41f[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cb3=['registerDescriptionCallback','getRanges','formatInline','commandName','backward','getFirstPosition','highlight.options','value','HighlightEditing','get','push','item','format','color','*Set\x20highlight:*\x20%0','getLastMatchingPosition','plugins','change','find','hasAttribute','config','model','getAttribute','document','highlight','commandParams','editor','title'];(function(_0x525586,_0x4cb363){const _0x199050=function(_0x273c15){while(--_0x273c15){_0x525586['push'](_0x525586['shift']());}};_0x199050(++_0x4cb363);}(_0x4cb3,0x1be));const _0x1990=function(_0x525586,_0x4cb363){_0x525586=_0x525586-0x0;let _0x199050=_0x4cb3[_0x525586];return _0x199050;};import{Plugin as _0x16b635}from'ckeditor5/src/core';import{getTranslation as _0x3e9772}from'../utils/common-translations';import{getRangesWithAttribute as _0x1d3587}from'./utils';export default class W extends _0x16b635{['afterInit'](){const _0x290285=this[_0x1990('0x0')];if(!_0x290285[_0x1990('0x12')]['has'](_0x1990('0xa')))return;const _0x3b1fba=_0x290285[_0x1990('0x12')]['get']('TrackChangesEditing');_0x3b1fba['enableCommand'](_0x1990('0x1a'),(_0x3d3477,_0xa400f7={})=>{const _0x68241b=_0x290285['model'][_0x1990('0x19')]['selection'],_0x149ba4=_0x68241b['getAttribute']('highlight');let _0x114987=_0xa400f7[_0x1990('0x9')],_0xe4b497=[];if(_0x68241b['isCollapsed']){const _0x32c840=_0x68241b[_0x1990('0x7')]();if(!_0x68241b[_0x1990('0x15')](_0x1990('0x1a')))return void _0x3d3477(_0xa400f7);{const _0x31a650=_0x51af0a=>_0x51af0a[_0x1990('0xd')][_0x1990('0x18')](_0x1990('0x1a'))===_0x149ba4,_0x2f4ace=_0x32c840[_0x1990('0x11')](_0x31a650,{'direction':_0x1990('0x6')}),_0x485f67=_0x32c840[_0x1990('0x11')](_0x31a650);_0xe4b497=[_0x290285[_0x1990('0x17')]['createRange'](_0x2f4ace,_0x485f67)],_0x114987==_0x149ba4&&(_0x114987=null);}}else for(const _0xf5040e of _0x68241b[_0x1990('0x3')]())_0x114987?_0xe4b497[_0x1990('0xc')](_0xf5040e):_0xe4b497[_0x1990('0xc')](..._0x1d3587(_0x1990('0x1a'),_0xf5040e,_0x290285[_0x1990('0x17')]));_0x290285['model'][_0x1990('0x13')](()=>{for(const _0x4f91c7 of _0xe4b497)_0x3b1fba['markInlineFormat'](_0x4f91c7,{'commandName':'highlight','commandParams':[{'value':_0x114987}]});});});const _0x584dfd=_0x290285['locale'];_0x3b1fba['_descriptionFactory'][_0x1990('0x2')](_0x29422e=>{const {type:_0x95f774,data:_0x15a8ab}=_0x29422e;if(_0x1990('0x4')==_0x95f774&&_0x15a8ab&&_0x1990('0x1a')==_0x15a8ab[_0x1990('0x5')]){const _0x31b04d=_0x15a8ab[_0x1990('0x1b')][0x0]['value'];if(_0x31b04d){const _0x8ed2f3=_0x290285[_0x1990('0x16')][_0x1990('0xb')](_0x1990('0x8'))[_0x1990('0x14')](_0x5c2448=>_0x5c2448['model']==_0x31b04d),_0x10743c=_0x584dfd['_t'](_0x8ed2f3[_0x1990('0x1')])['toLowerCase']();return{'type':_0x1990('0xe'),'content':_0x3e9772(_0x584dfd,_0x1990('0x10'),_0x10743c),'color':{'value':_0x8ed2f3[_0x1990('0xf')],'title':_0x8ed2f3[_0x1990('0x1')]}};}return{'type':_0x1990('0xe'),'content':_0x3e9772(_0x584dfd,'*Remove\x20highlight*',_0x3e9772(_0x584dfd,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x3f92=['item','*Set\x20highlight:*\x20%0','toLowerCase','commandName','find','FORMAT_HIGHLIGHT','getRanges','color','_descriptionFactory','document','title','TrackChangesEditing','value','backward','getLastMatchingPosition','has','config','HighlightEditing','change','formatInline','locale','getFirstPosition','model','isCollapsed','plugins','highlight','editor','*Remove\x20highlight*','createRange','selection','getAttribute','format'];(function(_0x325e9b,_0x3f9219){const _0x670ac7=function(_0x2e63f2){while(--_0x2e63f2){_0x325e9b['push'](_0x325e9b['shift']());}};_0x670ac7(++_0x3f9219);}(_0x3f92,0x137));const _0x670a=function(_0x325e9b,_0x3f9219){_0x325e9b=_0x325e9b-0x0;let _0x670ac7=_0x3f92[_0x325e9b];return _0x670ac7;};import{Plugin as _0x1f7d8e}from'ckeditor5/src/core';import{getTranslation as _0x3da83f}from'../utils/common-translations';import{getRangesWithAttribute as _0xf8fd19}from'./utils';export default class z extends _0x1f7d8e{['afterInit'](){const _0xe48f7f=this[_0x670a('0x3')];if(!_0xe48f7f['plugins'][_0x670a('0x18')](_0x670a('0x1a')))return;const _0xe72232=_0xe48f7f[_0x670a('0x1')]['get'](_0x670a('0x14'));_0xe72232['enableCommand']('highlight',(_0x472c4e,_0x12bc0b={})=>{const _0x29c4b5=_0xe48f7f[_0x670a('0x1f')][_0x670a('0x12')][_0x670a('0x6')],_0x461f16=_0x29c4b5[_0x670a('0x7')](_0x670a('0x2'));let _0x47f441=_0x12bc0b[_0x670a('0x15')],_0x48f89b=[];if(_0x29c4b5[_0x670a('0x0')]){const _0x54cb71=_0x29c4b5[_0x670a('0x1e')]();if(!_0x29c4b5['hasAttribute']('highlight'))return void _0x472c4e(_0x12bc0b);{const _0x4b717b=_0x18a11a=>_0x18a11a[_0x670a('0x9')]['getAttribute']('highlight')===_0x461f16,_0x649fe7=_0x54cb71['getLastMatchingPosition'](_0x4b717b,{'direction':_0x670a('0x16')}),_0x188dd2=_0x54cb71[_0x670a('0x17')](_0x4b717b);_0x48f89b=[_0xe48f7f[_0x670a('0x1f')][_0x670a('0x5')](_0x649fe7,_0x188dd2)],_0x47f441==_0x461f16&&(_0x47f441=null);}}else for(const _0x5c2e5f of _0x29c4b5[_0x670a('0xf')]())_0x47f441?_0x48f89b['push'](_0x5c2e5f):_0x48f89b['push'](..._0xf8fd19(_0x670a('0x2'),_0x5c2e5f,_0xe48f7f[_0x670a('0x1f')]));_0xe48f7f['model'][_0x670a('0x1b')](()=>{for(const _0x4f2b9f of _0x48f89b)_0xe72232['markInlineFormat'](_0x4f2b9f,{'commandName':_0x670a('0x2'),'commandParams':[{'value':_0x47f441}]});});});const _0x46db48=_0xe48f7f[_0x670a('0x1d')];_0xe72232[_0x670a('0x11')]['registerDescriptionCallback'](_0x479008=>{const {type:_0xc5ae1a,data:_0x555b49}=_0x479008;if(_0x670a('0x1c')==_0xc5ae1a&&_0x555b49&&_0x670a('0x2')==_0x555b49[_0x670a('0xc')]){const _0x4f924b=_0x555b49['commandParams'][0x0][_0x670a('0x15')];if(_0x4f924b){const _0x65d5e1=_0xe48f7f[_0x670a('0x19')]['get']('highlight.options')[_0x670a('0xd')](_0x51b497=>_0x51b497[_0x670a('0x1f')]==_0x4f924b),_0x1d28a2=_0x46db48['_t'](_0x65d5e1[_0x670a('0x13')])[_0x670a('0xb')]();return{'type':_0x670a('0x8'),'content':_0x3da83f(_0x46db48,_0x670a('0xa'),_0x1d28a2),'color':{'value':_0x65d5e1[_0x670a('0x10')],'title':_0x65d5e1[_0x670a('0x13')]}};}return{'type':_0x670a('0x8'),'content':_0x3da83f(_0x46db48,_0x670a('0x4'),_0x3da83f(_0x46db48,_0x670a('0xe')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48e3=['plugins','insert','high','HorizontalLineEditing','conversion','dataDowncast','afterInit','createEmptyElement','elementToStructure','get','horizontalLine','createContainerElement','enableCommand','showSuggestionHighlights','locale','has','_descriptionFactory'];(function(_0xc290a0,_0x48e3d4){const _0x5b3c9e=function(_0x399f12){while(--_0x399f12){_0xc290a0['push'](_0xc290a0['shift']());}};_0x5b3c9e(++_0x48e3d4);}(_0x48e3,0x97));const _0x5b3c=function(_0xc290a0,_0x48e3d4){_0xc290a0=_0xc290a0-0x0;let _0x5b3c9e=_0x48e3[_0xc290a0];return _0x5b3c9e;};import{Plugin as _0x52f773}from'ckeditor5/src/core';import{getTranslation as _0x22a042}from'../utils/common-translations';export default class z extends _0x52f773{[_0x5b3c('0x8')](){const _0x189aee=this['editor'];if(!_0x189aee['plugins'][_0x5b3c('0x0')](_0x5b3c('0x5')))return;_0x189aee[_0x5b3c('0x2')][_0x5b3c('0xb')]('TrackChangesEditing')[_0x5b3c('0xe')](_0x5b3c('0xc'));const _0x1c8182=_0x189aee[_0x5b3c('0x2')]['get']('TrackChangesEditing'),_0x59ff0d=_0x189aee[_0x5b3c('0x10')];_0x1c8182[_0x5b3c('0x1')]['registerElementLabel'](_0x5b3c('0xc'),_0x5adff1=>_0x22a042(_0x59ff0d,'ELEMENT_HORIZONTAL_LINE',_0x5adff1)),_0x189aee[_0x5b3c('0x6')]['for'](_0x5b3c('0x7'))[_0x5b3c('0xa')]({'model':'horizontalLine','view':(_0x499e90,{writer:_0x32d2be,options:_0x2fb9f5})=>{if(!_0x2fb9f5[_0x5b3c('0xf')])return;const _0x4045a5=_0x32d2be[_0x5b3c('0xd')]('div'),_0x34e0f3=_0x32d2be[_0x5b3c('0x9')]('hr');return _0x32d2be['addClass']('ck-horizontal-line',_0x4045a5),_0x32d2be[_0x5b3c('0x3')](_0x32d2be['createPositionAt'](_0x4045a5,0x0),_0x34e0f3),_0x4045a5;},'converterPriority':_0x5b3c('0x4')});}}
23
+ const _0x570e=['div','get','createPositionAt','plugins','ELEMENT_HORIZONTAL_LINE','locale','insert','horizontalLine','for','elementToStructure','addClass','has','registerElementLabel','createContainerElement','enableCommand','editor','dataDowncast','TrackChangesEditing','ck-horizontal-line','HorizontalLineEditing'];(function(_0x108ec4,_0x570efb){const _0x5977f1=function(_0x172e8b){while(--_0x172e8b){_0x108ec4['push'](_0x108ec4['shift']());}};_0x5977f1(++_0x570efb);}(_0x570e,0xa9));const _0x5977=function(_0x108ec4,_0x570efb){_0x108ec4=_0x108ec4-0x0;let _0x5977f1=_0x570e[_0x108ec4];return _0x5977f1;};import{Plugin as _0x2d5baa}from'ckeditor5/src/core';import{getTranslation as _0xc012de}from'../utils/common-translations';export default class J extends _0x2d5baa{['afterInit'](){const _0x2572d6=this[_0x5977('0x6')];if(!_0x2572d6[_0x5977('0xe')][_0x5977('0x2')](_0x5977('0xa')))return;_0x2572d6['plugins'][_0x5977('0xc')]('TrackChangesEditing')[_0x5977('0x5')](_0x5977('0x12'));const _0x45dd6d=_0x2572d6[_0x5977('0xe')][_0x5977('0xc')](_0x5977('0x8')),_0x116701=_0x2572d6[_0x5977('0x10')];_0x45dd6d['_descriptionFactory'][_0x5977('0x3')](_0x5977('0x12'),_0x2ec2b8=>_0xc012de(_0x116701,_0x5977('0xf'),_0x2ec2b8)),_0x2572d6['conversion'][_0x5977('0x13')](_0x5977('0x7'))[_0x5977('0x0')]({'model':_0x5977('0x12'),'view':(_0x50e165,{writer:_0x1c42f0,options:_0x2456fd})=>{if(!_0x2456fd['showSuggestionHighlights'])return;const _0x3b4330=_0x1c42f0[_0x5977('0x4')](_0x5977('0xb')),_0x34a560=_0x1c42f0['createEmptyElement']('hr');return _0x1c42f0[_0x5977('0x1')](_0x5977('0x9'),_0x3b4330),_0x1c42f0[_0x5977('0x11')](_0x1c42f0[_0x5977('0xd')](_0x3b4330,0x0),_0x34a560),_0x3b4330;},'converterPriority':'high'});}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x3320=['commandName','HtmlEmbed','*Change\x20%0\x20content*','registerDescriptionCallback','markBlockFormat','format','rawHtml','cancel','document','ELEMENT_HTML_EMBED','value','htmlEmbed','enableCommand','getCustomProperty','element','rawHtmlApi','getSelectedElement','get','locale','has','model','_descriptionFactory','editor','TrackChangesEditing','selection','plugins','view','registerElementLabel'];(function(_0x46d05b,_0x332038){const _0x7f797d=function(_0x58ac84){while(--_0x58ac84){_0x46d05b['push'](_0x46d05b['shift']());}};_0x7f797d(++_0x332038);}(_0x3320,0x18d));const _0x7f79=function(_0x46d05b,_0x332038){_0x46d05b=_0x46d05b-0x0;let _0x7f797d=_0x3320[_0x46d05b];return _0x7f797d;};import{Plugin as _0x343877}from'ckeditor5/src/core';import{getTranslation as _0x242400}from'../utils/common-translations';export default class K extends _0x343877{['afterInit'](){const _0x3f1ebc=this[_0x7f79('0x11')];if(!_0x3f1ebc[_0x7f79('0x14')][_0x7f79('0xe')](_0x7f79('0x18')))return;const _0xf70d30=_0x3f1ebc['plugins']['get'](_0x7f79('0x12')),_0x137cc0=_0x3f1ebc[_0x7f79('0xd')],_0x573fdf=_0x3f1ebc['editing'][_0x7f79('0x15')]['document']['selection'];_0xf70d30[_0x7f79('0x10')][_0x7f79('0x16')](_0x7f79('0x1'),_0x148111=>_0x242400(_0x137cc0,_0x7f79('0x4'),_0x148111)),_0x3f1ebc[_0x7f79('0x14')][_0x7f79('0xc')](_0x7f79('0x12'))[_0x7f79('0x7')]('htmlEmbed',(_0x538c59,_0x223399)=>{const _0x23658f=_0x3f1ebc[_0x7f79('0xf')],_0x5a91e3=_0x23658f[_0x7f79('0x3')][_0x7f79('0x13')];_0x23658f['change'](()=>{const _0x198900=function(_0x56f6b4){const _0x168f5c=_0x56f6b4[_0x7f79('0xb')]();if(_0x168f5c&&_0x168f5c['is'](_0x7f79('0x9'),_0x7f79('0x1')))return _0x56f6b4[_0x7f79('0xb')]();return null;}(_0x5a91e3);if(!_0x198900)return void _0x538c59(null);const _0x1055a0=_0x198900['getAttribute'](_0x7f79('0x5'))||'';if(void 0x0===_0x223399)return;if(_0x223399===_0x1055a0)return;_0xf70d30[_0x7f79('0x1b')](_0x198900,{'commandName':_0x7f79('0x6'),'commandParams':[_0x223399]}),_0x573fdf[_0x7f79('0xb')]()[_0x7f79('0x8')](_0x7f79('0xa'))[_0x7f79('0x2')]();});}),_0xf70d30[_0x7f79('0x10')][_0x7f79('0x1a')](_0x25b0ec=>{const {data:_0x4cb892}=_0x25b0ec;if(_0x4cb892&&_0x7f79('0x6')==_0x4cb892[_0x7f79('0x17')]){const _0x196be1=_0x242400(_0x137cc0,'ELEMENT_HTML_EMBED');return{'type':_0x7f79('0x0'),'content':_0x242400(_0x137cc0,_0x7f79('0x19'),_0x196be1)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a50=['isInlineImage','toggleImageCaption','TrackChangesEditing','filter','registerPostFixer','ImageBlockEditing','getContainedElement','findIndex','suggestion','isIntersecting','*Set\x20image\x20width:*\x20%0','start','addObject','*Set\x20image\x20text\x20alternative:*\x20%0','markBlockFormat','selection','isBlockImage','nodeBefore','schema','find','nodeAfter','head','getAttribute','insertImage','document','ImageEditing','deletion','width','getClosestSelectedImageElement','hasAttribute','createRange','ImageUtils','commands','getChangedMarkers','from','imageStylePreApply','convertInlineImageToBlock','side','toNext','detach','getSuggestion','Users','plugins','imageStyle','_suggestionFactory','isInContent','ELEMENT_CAPTION','end','author','newValue','getCaptionFromImageModelElement','markDeletion','model','*Remove\x20image\x20text\x20alternative*','get','uploadImage','name','chain','editor','removeObject','hasSuggestion','imageStylePostApply','differ','forward','refresh','commandReversedParams','enableCommand','next','isOwn','imageTypeInline','accept','markInsertion','subType','formatInline','imageBlock','type','commandParams','_descriptionFactory','has','ImageUploadEditing','forEach','Inline\x20image\x20to\x20block\x20image','discardSuggestion','resizeImage','ImageStyleEditing','imageCaption','forceDefaultExecution','registerCustomCallback','ELEMENT_INLINE_IMAGE','createRangeOn','isEqual','caption','getSuggestionCallback','formatBlock','isBefore','FORMAT_SIDE_IMAGE','length','registerDescriptionCallback','Block\x20image\x20to\x20inline\x20image','join','*Format:*\x20%0','isCollapsed','getFirstRange','commandName','format','imageTextAlternative','registerElementLabel','alt','change','shouldConvertImageType','backward','imageTypeBlock','ImageResize','ImageInlineEditing','imageInline','fromPosition','element','ELEMENT_IMAGE','insertion','value','convertBlockImageToInline','discard'];(function(_0x93521a,_0x4a50dd){const _0x284046=function(_0x55fe74){while(--_0x55fe74){_0x93521a['push'](_0x93521a['shift']());}};_0x284046(++_0x4a50dd);}(_0x4a50,0x8a));const _0x2840=function(_0x93521a,_0x4a50dd){_0x93521a=_0x93521a-0x0;let _0x284046=_0x4a50[_0x93521a];return _0x284046;};import{Plugin as _0x3dde7a}from'ckeditor5/src/core';import{LivePosition as _0x1c23e8}from'ckeditor5/src/engine';import{uid as _0x4b86b1}from'ckeditor5/src/utils';import{getTranslation as _0x4ab2ad}from'../utils/common-translations';export default class J extends _0x3dde7a{['afterInit'](){const _0x2e5467=this[_0x2840('0x2a')];if(!_0x2e5467['plugins']['has'](_0x2840('0x9')))return;const _0x4c0ed2=_0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x6c')),_0x5906f4=_0x2e5467[_0x2840('0x1a')]['get'](_0x2840('0xf')),_0x318a2b={},_0x5d1a05=_0x2e5467['locale'];if(_0x4c0ed2['enableCommand'](_0x2840('0x7')),_0x4c0ed2[_0x2840('0x3d')]['registerElementLabel'](_0x2840('0x3a'),_0x50d277=>_0x4ab2ad(_0x5d1a05,_0x2840('0x65'),_0x50d277)),_0x4c0ed2['_descriptionFactory'][_0x2840('0x5a')](_0x2840('0x62'),_0x457f66=>_0x4ab2ad(_0x5d1a05,_0x2840('0x48'),_0x457f66)),_0x4c0ed2[_0x2840('0x3d')]['registerElementLabel'](_0x2840('0x4b'),_0x4ab2ad(_0x5d1a05,_0x2840('0x1e'))),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x3f'))&&_0x4c0ed2['enableCommand'](_0x2840('0x27')),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x6f'))&&_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x61'))&&(_0x4c0ed2[_0x2840('0x32')](_0x2840('0x35'),(_0xa98013,_0x5392f9)=>{const _0x2bbe51=_0x5906f4[_0x2840('0xc')](_0x2e5467['model'][_0x2840('0x8')]['selection']);_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{_0x4c0ed2[_0x2840('0x78')](_0x2bbe51,{'commandName':_0x2840('0x35'),'commandParams':[_0x5392f9]},[],_0x2840('0x68'));});}),_0x4c0ed2[_0x2840('0x32')]('imageTypeBlock',(_0x20ef14,_0x4e302a)=>{_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](_0x524d07=>{let _0x43e8bc=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x35502c=_0x524d07[_0x2840('0x49')](_0x43e8bc);const _0x5d0ac4=_0x1c23e8['fromPosition'](_0x35502c[_0x2840('0x75')],'toPrevious'),_0x570d1f=_0x1c23e8[_0x2840('0x63')](_0x35502c[_0x2840('0x1f')],_0x2840('0x16'));_0x4c0ed2[_0x2840('0x46')](()=>_0x20ef14(_0x4e302a)),_0x43e8bc=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')]['document'][_0x2840('0x79')]),_0x35502c=_0x524d07[_0x2840('0x49')](_0x43e8bc);const _0x847c26=_0x524d07['createRange'](_0x5d0ac4,_0x570d1f);_0x5d0ac4[_0x2840('0x17')](),_0x570d1f[_0x2840('0x17')](),_0x4c0ed2[_0x2840('0x78')](_0x43e8bc,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x847c26['start'][_0x2840('0x4e')](_0x35502c[_0x2840('0x75')])&&_0x4c0ed2['markInsertion'](_0x524d07[_0x2840('0xe')](_0x847c26[_0x2840('0x75')],_0x35502c['start']),_0x2840('0x14')),_0x35502c['end'][_0x2840('0x4e')](_0x847c26[_0x2840('0x1f')])&&_0x4c0ed2[_0x2840('0x37')](_0x524d07[_0x2840('0xe')](_0x35502c['end'],_0x847c26['end']),_0x2840('0x14'));});}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')]('formatBlock','convertInlineImageToBlock',_0x2840('0x53'),()=>{}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x14'),_0x2840('0x36'),()=>{}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x14'),_0x2840('0x69'),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x4d'),'',_0x2840('0x36'))),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback']('insertion',_0x2840('0x14'),'join',()=>{}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x66'),_0x2840('0x14'),_0x2840('0x69'),([_0x38014c])=>{const _0x5c2f9e=_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x66'),'','discard');let _0x1642e3=_0x38014c[_0x2840('0x75')],_0x3b5053=_0x38014c[_0x2840('0x1f')];const _0x3a62c2=_0x2e5467[_0x2840('0x24')][_0x2840('0x2')]['getNearestSelectionRange'](_0x1642e3,_0x2840('0x5e')),_0x51b4a2=_0x2e5467['model']['schema']['getNearestSelectionRange'](_0x3b5053,_0x2840('0x2f'));_0x3a62c2['isCollapsed']&&(_0x1642e3=_0x3a62c2[_0x2840('0x75')]),_0x51b4a2[_0x2840('0x55')]&&(_0x3b5053=_0x51b4a2['end']),_0x5c2f9e([_0x2e5467[_0x2840('0x24')][_0x2840('0xe')](_0x1642e3,_0x3b5053)]);}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),'convertInlineImageToBlock',_0x2840('0x29'),_0x3b7d0d),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x66'),_0x2840('0x14'),_0x2840('0x29'),_0x3b7d0d)),_0x2e5467['plugins'][_0x2840('0x3e')]('ImageCaptionEditing')&&(_0x4c0ed2[_0x2840('0x32')](_0x2840('0x6b'),(_0x4dd05c,_0x5b0f96)=>{const _0x2dc753=_0x2e5467[_0x2840('0x1a')]['get']('ImageCaptionUtils');let _0x1f3e19=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x312d63=_0x2dc753[_0x2840('0x22')](_0x1f3e19);_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{if(_0x312d63)return void _0x4c0ed2[_0x2840('0x23')](_0x2e5467['model'][_0x2840('0x49')](_0x312d63));const _0x490f8c=_0x5906f4[_0x2840('0x0')](_0x1f3e19);_0x4dd05c(_0x5b0f96),_0x1f3e19=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x312d63=_0x2dc753[_0x2840('0x22')](_0x1f3e19),_0x4c0ed2[_0x2840('0x37')](_0x2e5467[_0x2840('0x24')][_0x2840('0x49')](_0x312d63),_0x490f8c?null:_0x2840('0x45'));});}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback']('insertion',_0x2840('0x45'),'chain',_0x3b7d0d)),_0x2e5467['plugins']['has'](_0x2840('0x44'))){_0x4c0ed2[_0x2840('0x32')](_0x2840('0x1b'),(_0x1c600e,_0x4ac32e)=>{const _0x4ab8fd=_0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x19'))['me'],_0x332969=_0x2e5467[_0x2840('0x10')]['get'](_0x2840('0x1b'));let _0x910273=_0x5906f4[_0x2840('0xc')](_0x2e5467['model']['document'][_0x2840('0x79')]),_0x41c10e=_0x2e5467['model'][_0x2840('0x49')](_0x910273),_0x40df67=_0x332969[_0x2840('0x67')];if(_0x40df67==_0x4ac32e[_0x2840('0x67')])return;const _0x5f1d9e={'commandName':'imageStyle','commandParams':[_0x4ac32e],'formatGroupId':_0x4b86b1()};_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{if(_0x4c0ed2['getSuggestions']()[_0x2840('0x6d')](_0x4e3160=>_0x4e3160[_0x2840('0x1d')]&&_0x4ab8fd==_0x4e3160[_0x2840('0x20')]&&('formatBlock'==_0x4e3160['type']||'formatInline'==_0x4e3160[_0x2840('0x3b')])&&(_0x2840('0x13')==_0x4e3160['subType']||_0x2840('0x2d')==_0x4e3160[_0x2840('0x38')])&&_0x4e3160[_0x2840('0x56')]()[_0x2840('0x4a')](_0x41c10e))[_0x2840('0x40')](_0x2191b7=>_0x4c0ed2[_0x2840('0x42')](_0x2191b7[_0x2840('0x5')])),_0x910273=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')]['selection']),_0x41c10e=_0x2e5467['model'][_0x2840('0x49')](_0x910273),_0x332969[_0x2840('0x30')](),_0x2e5467[_0x2840('0x10')][_0x2840('0x26')](_0x2840('0x35'))[_0x2840('0x30')](),_0x2e5467['commands']['get'](_0x2840('0x5f'))[_0x2840('0x30')](),_0x40df67=_0x332969[_0x2840('0x67')],_0x40df67!=_0x4ac32e[_0x2840('0x67')])return _0x5906f4[_0x2840('0x6a')](_0x910273)&&_0x332969[_0x2840('0x5d')](_0x4ac32e[_0x2840('0x67')],_0x910273)?(_0x1c600e(_0x4ac32e),_0x910273=_0x5906f4['getClosestSelectedImageElement'](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),void _0x4c0ed2['markBlockFormat'](_0x910273,{..._0x5f1d9e,'commandReversedParams':[{'value':_0x40df67||null}]},[],'imageStylePreApply')):void(_0x5906f4['isBlockImage'](_0x910273)?_0x4c0ed2[_0x2840('0x78')](_0x910273,_0x5f1d9e,[],_0x2840('0x2d')):_0x4c0ed2['markInlineFormat'](_0x41c10e,_0x5f1d9e,'imageStylePostApply'));});});for(const _0x20f7c1 of _0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x44'))['normalizedStyles'])_0x318a2b[_0x20f7c1[_0x2840('0x28')]]=_0x20f7c1['title']['toLowerCase']();_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x53'),()=>{}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),'imageStylePostApply',_0x2840('0x53'),()=>{}),_0x4c0ed2['_suggestionFactory']['registerCustomCallback'](_0x2840('0x39'),_0x2840('0x2d'),_0x2840('0x53'),()=>{}),_0x4c0ed2['_suggestionFactory'][_0x2840('0x47')](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x36'),()=>{}),_0x4c0ed2['_suggestionFactory']['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x69'),(_0x3fbadf,_0xf87e33)=>{_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x4d'),'',_0x2840('0x36'))(_0x3fbadf,{'commandName':_0xf87e33['commandName'],'commandParams':_0xf87e33[_0x2840('0x31')]});}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')]('formatBlock','imageStylePreApply',_0x2840('0x29'),_0x3b7d0d);}const _0x1bb794=[{'type':_0x2840('0x4d'),'subType':_0x2840('0x13')},{'type':_0x2840('0x66'),'subType':_0x2840('0x45')},{'type':_0x2840('0x4d'),'subType':_0x2840('0x14')},{'type':_0x2840('0x66'),'subType':_0x2840('0x14')}];function _0x57a7e9(_0x42c0a3,_0x567381){const _0x4578db=_0x1bb794['findIndex'](({type:_0x2e6330,subType:_0x3ab3af})=>_0x42c0a3[_0x2840('0x3b')]==_0x2e6330&&_0x42c0a3[_0x2840('0x38')]==_0x3ab3af),_0x3e768e=_0x1bb794[_0x2840('0x71')](({type:_0x5e8ff2,subType:_0x400323})=>_0x567381['type']==_0x5e8ff2&&_0x567381[_0x2840('0x38')]==_0x400323);if(_0x4578db<0x0||_0x3e768e<0x0)return!0x1;const _0x364e66=_0x42c0a3[_0x2840('0x56')](),_0x168e45=_0x567381[_0x2840('0x56')]();if((0x0==_0x4578db||0x1==_0x4578db)&&0x2==_0x3e768e&&_0x364e66[_0x2840('0x73')](_0x168e45))return!0x0;if(0x2==_0x4578db&&0x3==_0x3e768e){const _0x1b84ea=_0x4c0ed2['_findSuggestions'](_0x364e66,_0x2840('0x66'))[_0x2840('0x6d')](({suggestion:_0x19095d,meta:_0x171db5})=>_0x171db5[_0x2840('0x34')]&&_0x2840('0x14')==_0x19095d[_0x2840('0x38')]);if(_0x1b84ea['length']>0x1&&_0x168e45[_0x2840('0x1f')]['isEqual'](_0x364e66[_0x2840('0x75')]))return!0x0;if(0x1==_0x1b84ea[_0x2840('0x50')]&&(_0x364e66[_0x2840('0x75')][_0x2840('0x4a')](_0x168e45[_0x2840('0x1f')])||_0x364e66[_0x2840('0x1f')][_0x2840('0x4a')](_0x168e45[_0x2840('0x75')])))return!0x0;}if(0x3==_0x4578db&&0x3==_0x3e768e&&_0x364e66[_0x2840('0x75')]['isBefore'](_0x168e45[_0x2840('0x75')])){const _0x2df1ee=_0x364e66[_0x2840('0x1f')][_0x2840('0x4')],_0x46ae90=_0x168e45[_0x2840('0x75')][_0x2840('0x1')];return _0x5906f4[_0x2840('0x0')](_0x2df1ee)&&_0x2df1ee===_0x46ae90;}return!0x1;}function _0x3b7d0d(_0x57144e,_0x584675){return _0x57a7e9(_0x57144e,_0x584675)?[_0x57144e,_0x584675]:_0x57a7e9(_0x584675,_0x57144e)?[_0x584675,_0x57144e]:null;}_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x6e')](()=>{let _0x2ac673=!0x1;const _0x495d58=Array[_0x2840('0x12')](_0x2e5467[_0x2840('0x24')]['document'][_0x2840('0x2e')][_0x2840('0x11')]());for(const {name:_0x4362fd,data:_0x1a6228}of _0x495d58){const {group:_0x5ed58b,type:_0x6e57ac,subType:_0x2c790f,id:_0x227e61}=_0x4c0ed2['_splitMarkerName'](_0x4362fd);if(_0x2840('0x72')==_0x5ed58b&&_0x4c0ed2[_0x2840('0x2c')](_0x227e61)){if('formatBlock'==_0x6e57ac&&(_0x2840('0x13')==_0x2c790f||_0x2840('0x2d')==_0x2c790f)){const _0xc1749b=_0x4c0ed2[_0x2840('0x18')](_0x227e61);if(_0x1a6228['newRange']){const _0x11234e=_0xc1749b['getFirstRange']()[_0x2840('0x70')]();if(_0x5906f4[_0x2840('0x0')](_0x11234e))continue;_0x4c0ed2[_0x2840('0x42')](_0xc1749b),_0x2ac673=!0x0;}}if('insertion'==_0x6e57ac&&_0x2840('0x45')==_0x2c790f&&!_0x1a6228['newRange']){const _0x1c2d74=_0x4c0ed2['getSuggestion'](_0x227e61);_0x1c2d74['next']&&_0x1c2d74[_0x2840('0x33')][_0x2840('0x1d')]&&(_0x4c0ed2[_0x2840('0x42')](_0x1c2d74['next']),_0x2ac673=!0x0);}}}return _0x2ac673;}),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x60'))&&_0x4c0ed2[_0x2840('0x32')](_0x2840('0x43'),(_0xcdeb8,_0x387495)=>{const _0xb75193=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')]['selection']);_0xb75193['getAttribute'](_0x2840('0xb'))!=_0x387495['width']&&_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{_0x4c0ed2['markBlockFormat'](_0xb75193,{'commandName':_0x2840('0x43'),'commandParams':[_0x387495]});});}),_0x2e5467['plugins'][_0x2840('0x3e')]('ImageTextAlternativeEditing')&&_0x4c0ed2['enableCommand'](_0x2840('0x59'),(_0x5e3934,_0x4d64d8)=>{const _0x31f9bd=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]);(_0x31f9bd[_0x2840('0xd')]('alt')?_0x31f9bd[_0x2840('0x6')](_0x2840('0x5b')):'')!=_0x4d64d8['newValue']&&_0x2e5467['model']['change'](()=>{_0x4c0ed2[_0x2840('0x78')](_0x31f9bd,{'commandName':_0x2840('0x59'),'commandParams':[_0x4d64d8]});});}),_0x4c0ed2[_0x2840('0x3d')][_0x2840('0x51')](_0x151b87=>{if(!!_0x1bb794[_0x2840('0x3')](({type:_0x3b41a6,subType:_0x3016ae})=>_0x151b87[_0x2840('0x3b')]==_0x3b41a6&&_0x151b87['subType']==_0x3016ae))return _0x151b87['previous']?{}:void 0x0;}),_0x4c0ed2['_descriptionFactory'][_0x2840('0x51')](_0x188b79=>{if(_0x2840('0x66')==_0x188b79[_0x2840('0x3b')]||_0x2840('0xa')==_0x188b79['type']){const _0x4cc863=_0x188b79['getContainedElement']();if(_0x4cc863&&_0x4cc863['is'](_0x2840('0x64'),_0x2840('0x4b')))return{'type':_0x2840('0x66')==_0x188b79[_0x2840('0x3b')]?_0x2840('0x76'):_0x2840('0x2b'),'name':_0x4cc863['name'],'quantity':0x1};}}),_0x4c0ed2[_0x2840('0x3d')][_0x2840('0x51')](_0xfb62b9=>_0x2840('0x4d')==_0xfb62b9['type']&&_0x2840('0x14')==_0xfb62b9['subType']?{'type':_0x2840('0x58'),'content':_0x2840('0x41')}:'formatBlock'==_0xfb62b9['type']&&_0x2840('0x68')==_0xfb62b9['subType']?{'type':'format','content':_0x2840('0x52')}:void 0x0),_0x4c0ed2['_descriptionFactory'][_0x2840('0x51')](_0x304024=>{const {data:_0x59f140}=_0x304024;if(_0x59f140){if(_0x2840('0x1b')==_0x59f140[_0x2840('0x57')]){const _0x10626b=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0x67')];return _0x326f06(_0x2840('0x15')===_0x10626b?_0x4ab2ad(_0x5d1a05,_0x2840('0x4f')):_0x318a2b[_0x10626b]||_0x10626b);}if(_0x2840('0x59')==_0x59f140[_0x2840('0x57')]){const _0x4fc4c1=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0x21')];return _0x4fc4c1?{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x77'),'\x22'+_0x4fc4c1+'\x22')}:{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x25'))};}if(_0x2840('0x43')==_0x59f140[_0x2840('0x57')]){const _0x2f777d=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0xb')];return _0x2f777d?{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x74'),_0x2f777d)}:{'type':'format','content':_0x4ab2ad(_0x5d1a05,'*Reset\x20image\x20width*')};}}function _0x326f06(_0x21e335){return{'type':'format','content':_0x4ab2ad(_0x5d1a05,_0x2840('0x54'),_0x21e335)};}});}}
23
+ const _0x3cd2=['registerCustomCallback','getNearestSelectionRange','getContainedElement','width','plugins','hasAttribute','resizeImage','join','toPrevious','ImageCaptionUtils','imageTypeInline','formatBlock','enableCommand','getAttribute','subType','discardSuggestion','newRange','locale','removeObject','shouldConvertImageType','getFirstRange','start','getChangedMarkers','imageBlock','end','imageTextAlternative','accept','change','ImageStyleEditing','previous','getCaptionFromImageModelElement','schema','filter','*Set\x20image\x20text\x20alternative:*\x20%0','registerDescriptionCallback','nodeAfter','createRangeOn','imageStyle','formatInline','registerElementLabel','imageCaption','author','getSuggestions','isCollapsed','ELEMENT_IMAGE','toLowerCase','Block\x20image\x20to\x20inline\x20image','caption','*Set\x20image\x20width:*\x20%0','fromPosition','*Remove\x20image\x20text\x20alternative*','ImageTextAlternativeEditing','normalizedStyles','getSuggestion','format','refresh','name','forEach','toggleImageCaption','imageStylePostApply','imageStylePreApply','_descriptionFactory','forward','commandReversedParams','*Format:*\x20%0','commands','isBlockImage','title','imageTypeBlock','chain','insertion','side','value','markBlockFormat','find','_splitMarkerName','ELEMENT_INLINE_IMAGE','isIntersecting','getClosestSelectedImageElement','detach','Inline\x20image\x20to\x20block\x20image','uploadImage','getSuggestionCallback','discard','get','findIndex','isInlineImage','length','isBefore','next','afterInit','selection','FORMAT_SIDE_IMAGE','newValue','hasSuggestion','document','isInContent','has','ImageUtils','nodeBefore','head','isEqual','toNext','markInlineFormat','from','deletion','editor','ImageBlockEditing','ImageInlineEditing','type','_findSuggestions','model','element','commandParams','createRange','commandName','convertBlockImageToInline','_suggestionFactory','convertInlineImageToBlock'];(function(_0x523a1e,_0x3cd220){const _0x4c5665=function(_0x39a630){while(--_0x39a630){_0x523a1e['push'](_0x523a1e['shift']());}};_0x4c5665(++_0x3cd220);}(_0x3cd2,0x1bd));const _0x4c56=function(_0x523a1e,_0x3cd220){_0x523a1e=_0x523a1e-0x0;let _0x4c5665=_0x3cd2[_0x523a1e];return _0x4c5665;};import{Plugin as _0xaa44d5}from'ckeditor5/src/core';import{LivePosition as _0x29fefc}from'ckeditor5/src/engine';import{uid as _0x2ef34a}from'ckeditor5/src/utils';import{getTranslation as _0x313fcd}from'../utils/common-translations';export default class Q extends _0xaa44d5{[_0x4c56('0x2')](){const _0x5ea4fa=this[_0x4c56('0x12')];if(!_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x9')]('ImageEditing'))return;const _0x1ad126=_0x5ea4fa[_0x4c56('0x23')]['get']('TrackChangesEditing'),_0x4c113c=_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x73')](_0x4c56('0xa')),_0x116d08={},_0x4b5a36=_0x5ea4fa[_0x4c56('0x30')];if(_0x1ad126[_0x4c56('0x2b')]('insertImage'),_0x1ad126[_0x4c56('0x5c')][_0x4c56('0x46')](_0x4c56('0x36'),_0x534e30=>_0x313fcd(_0x4b5a36,_0x4c56('0x4b'),_0x534e30)),_0x1ad126[_0x4c56('0x5c')][_0x4c56('0x46')]('imageInline',_0x1a32c6=>_0x313fcd(_0x4b5a36,_0x4c56('0x6b'),_0x1a32c6)),_0x1ad126[_0x4c56('0x5c')]['registerElementLabel']('caption',_0x313fcd(_0x4b5a36,'ELEMENT_CAPTION')),_0x5ea4fa[_0x4c56('0x23')]['has']('ImageUploadEditing')&&_0x1ad126[_0x4c56('0x2b')](_0x4c56('0x70')),_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x9')](_0x4c56('0x13'))&&_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x9')](_0x4c56('0x14'))&&(_0x1ad126[_0x4c56('0x2b')](_0x4c56('0x29'),(_0x441608,_0x557a08)=>{const _0x83498f=_0x4c113c[_0x4c56('0x6d')](_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x7')][_0x4c56('0x3')]);_0x5ea4fa['model'][_0x4c56('0x3a')](()=>{_0x1ad126[_0x4c56('0x68')](_0x83498f,{'commandName':_0x4c56('0x29'),'commandParams':[_0x557a08]},[],_0x4c56('0x1c'));});}),_0x1ad126[_0x4c56('0x2b')]('imageTypeBlock',(_0x2d4b15,_0x4ef02c)=>{_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x3a')](_0x4f1a7a=>{let _0x3d2853=_0x4c113c['getClosestSelectedImageElement'](_0x5ea4fa[_0x4c56('0x17')]['document'][_0x4c56('0x3')]),_0x1fc74a=_0x4f1a7a[_0x4c56('0x43')](_0x3d2853);const _0x504e93=_0x29fefc[_0x4c56('0x50')](_0x1fc74a['start'],_0x4c56('0x27')),_0x54a84d=_0x29fefc[_0x4c56('0x50')](_0x1fc74a[_0x4c56('0x37')],_0x4c56('0xe'));_0x1ad126['forceDefaultExecution'](()=>_0x2d4b15(_0x4ef02c)),_0x3d2853=_0x4c113c[_0x4c56('0x6d')](_0x5ea4fa['model'][_0x4c56('0x7')][_0x4c56('0x3')]),_0x1fc74a=_0x4f1a7a[_0x4c56('0x43')](_0x3d2853);const _0x34ada0=_0x4f1a7a['createRange'](_0x504e93,_0x54a84d);_0x504e93['detach'](),_0x54a84d[_0x4c56('0x6e')](),_0x1ad126[_0x4c56('0x68')](_0x3d2853,{'commandName':_0x4c56('0x29')},[],_0x4c56('0x1e')),_0x34ada0['start'][_0x4c56('0x0')](_0x1fc74a[_0x4c56('0x34')])&&_0x1ad126['markInsertion'](_0x4f1a7a[_0x4c56('0x1a')](_0x34ada0['start'],_0x1fc74a['start']),'convertInlineImageToBlock'),_0x1fc74a[_0x4c56('0x37')][_0x4c56('0x0')](_0x34ada0[_0x4c56('0x37')])&&_0x1ad126['markInsertion'](_0x4f1a7a[_0x4c56('0x1a')](_0x1fc74a['end'],_0x34ada0[_0x4c56('0x37')]),_0x4c56('0x1e'));});}),_0x1ad126['_suggestionFactory'][_0x4c56('0x1f')](_0x4c56('0x2a'),_0x4c56('0x1e'),_0x4c56('0x26'),()=>{}),_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x1f')](_0x4c56('0x2a'),_0x4c56('0x1e'),_0x4c56('0x39'),()=>{}),_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x1f')](_0x4c56('0x2a'),_0x4c56('0x1e'),_0x4c56('0x72'),_0x1ad126['_suggestionFactory']['getSuggestionCallback'](_0x4c56('0x2a'),'',_0x4c56('0x39'))),_0x1ad126['_suggestionFactory'][_0x4c56('0x1f')]('insertion',_0x4c56('0x1e'),_0x4c56('0x26'),()=>{}),_0x1ad126[_0x4c56('0x1d')]['registerCustomCallback'](_0x4c56('0x65'),'convertInlineImageToBlock',_0x4c56('0x72'),([_0x10f2e4])=>{const _0x43cab8=_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x71')](_0x4c56('0x65'),'',_0x4c56('0x72'));let _0x52ea2e=_0x10f2e4[_0x4c56('0x34')],_0x9c9317=_0x10f2e4[_0x4c56('0x37')];const _0x11f590=_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x3e')][_0x4c56('0x20')](_0x52ea2e,'backward'),_0xe68475=_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x3e')][_0x4c56('0x20')](_0x9c9317,_0x4c56('0x5d'));_0x11f590[_0x4c56('0x4a')]&&(_0x52ea2e=_0x11f590[_0x4c56('0x34')]),_0xe68475[_0x4c56('0x4a')]&&(_0x9c9317=_0xe68475[_0x4c56('0x37')]),_0x43cab8([_0x5ea4fa[_0x4c56('0x17')]['createRange'](_0x52ea2e,_0x9c9317)]);}),_0x1ad126[_0x4c56('0x1d')]['registerCustomCallback'](_0x4c56('0x2a'),_0x4c56('0x1e'),_0x4c56('0x64'),_0x1139a8),_0x1ad126['_suggestionFactory']['registerCustomCallback'](_0x4c56('0x65'),_0x4c56('0x1e'),_0x4c56('0x64'),_0x1139a8)),_0x5ea4fa['plugins']['has']('ImageCaptionEditing')&&(_0x1ad126[_0x4c56('0x2b')](_0x4c56('0x59'),(_0x5ad566,_0x5d3a96)=>{const _0x340ec9=_0x5ea4fa[_0x4c56('0x23')]['get'](_0x4c56('0x28'));let _0x50df48=_0x4c113c[_0x4c56('0x6d')](_0x5ea4fa['model'][_0x4c56('0x7')][_0x4c56('0x3')]),_0x724eeb=_0x340ec9[_0x4c56('0x3d')](_0x50df48);_0x5ea4fa['model'][_0x4c56('0x3a')](()=>{if(_0x724eeb)return void _0x1ad126['markDeletion'](_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x43')](_0x724eeb));const _0x3dc449=_0x4c113c[_0x4c56('0x61')](_0x50df48);_0x5ad566(_0x5d3a96),_0x50df48=_0x4c113c[_0x4c56('0x6d')](_0x5ea4fa[_0x4c56('0x17')]['document']['selection']),_0x724eeb=_0x340ec9['getCaptionFromImageModelElement'](_0x50df48),_0x1ad126['markInsertion'](_0x5ea4fa[_0x4c56('0x17')]['createRangeOn'](_0x724eeb),_0x3dc449?null:_0x4c56('0x47'));});}),_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x1f')]('insertion',_0x4c56('0x47'),'chain',_0x1139a8)),_0x5ea4fa['plugins'][_0x4c56('0x9')]('ImageStyleEditing')){_0x1ad126['enableCommand'](_0x4c56('0x44'),(_0x9ad42b,_0x473c42)=>{const _0x31546b=_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x73')]('Users')['me'],_0x31b86e=_0x5ea4fa[_0x4c56('0x60')][_0x4c56('0x73')](_0x4c56('0x44'));let _0x1b8ed7=_0x4c113c['getClosestSelectedImageElement'](_0x5ea4fa[_0x4c56('0x17')]['document']['selection']),_0x11342d=_0x5ea4fa['model'][_0x4c56('0x43')](_0x1b8ed7),_0x3ece1a=_0x31b86e['value'];if(_0x3ece1a==_0x473c42['value'])return;const _0x4cb94e={'commandName':'imageStyle','commandParams':[_0x473c42],'formatGroupId':_0x2ef34a()};_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x3a')](()=>{if(_0x1ad126[_0x4c56('0x49')]()[_0x4c56('0x3f')](_0x43c1de=>_0x43c1de[_0x4c56('0x8')]&&_0x31546b==_0x43c1de[_0x4c56('0x48')]&&('formatBlock'==_0x43c1de[_0x4c56('0x15')]||_0x4c56('0x45')==_0x43c1de[_0x4c56('0x15')])&&('imageStylePreApply'==_0x43c1de[_0x4c56('0x2d')]||'imageStylePostApply'==_0x43c1de[_0x4c56('0x2d')])&&_0x43c1de[_0x4c56('0x33')]()[_0x4c56('0xd')](_0x11342d))[_0x4c56('0x58')](_0x4f0388=>_0x1ad126[_0x4c56('0x2e')](_0x4f0388[_0x4c56('0xc')])),_0x1b8ed7=_0x4c113c[_0x4c56('0x6d')](_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x7')][_0x4c56('0x3')]),_0x11342d=_0x5ea4fa[_0x4c56('0x17')]['createRangeOn'](_0x1b8ed7),_0x31b86e[_0x4c56('0x56')](),_0x5ea4fa[_0x4c56('0x60')][_0x4c56('0x73')](_0x4c56('0x29'))[_0x4c56('0x56')](),_0x5ea4fa['commands'][_0x4c56('0x73')](_0x4c56('0x63'))[_0x4c56('0x56')](),_0x3ece1a=_0x31b86e[_0x4c56('0x67')],_0x3ece1a!=_0x473c42[_0x4c56('0x67')])return _0x4c113c[_0x4c56('0x75')](_0x1b8ed7)&&_0x31b86e[_0x4c56('0x32')](_0x473c42[_0x4c56('0x67')],_0x1b8ed7)?(_0x9ad42b(_0x473c42),_0x1b8ed7=_0x4c113c[_0x4c56('0x6d')](_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x7')][_0x4c56('0x3')]),void _0x1ad126[_0x4c56('0x68')](_0x1b8ed7,{..._0x4cb94e,'commandReversedParams':[{'value':_0x3ece1a||null}]},[],_0x4c56('0x5b'))):void(_0x4c113c[_0x4c56('0x61')](_0x1b8ed7)?_0x1ad126[_0x4c56('0x68')](_0x1b8ed7,_0x4cb94e,[],_0x4c56('0x5a')):_0x1ad126[_0x4c56('0xf')](_0x11342d,_0x4cb94e,'imageStylePostApply'));});});for(const _0x3c810a of _0x5ea4fa[_0x4c56('0x23')]['get'](_0x4c56('0x3b'))[_0x4c56('0x53')])_0x116d08[_0x3c810a[_0x4c56('0x57')]]=_0x3c810a[_0x4c56('0x62')][_0x4c56('0x4c')]();_0x1ad126[_0x4c56('0x1d')]['registerCustomCallback'](_0x4c56('0x2a'),'imageStylePreApply',_0x4c56('0x26'),()=>{}),_0x1ad126['_suggestionFactory'][_0x4c56('0x1f')]('formatBlock','imageStylePostApply',_0x4c56('0x26'),()=>{}),_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x1f')](_0x4c56('0x45'),_0x4c56('0x5a'),_0x4c56('0x26'),()=>{}),_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x1f')]('formatBlock',_0x4c56('0x5b'),_0x4c56('0x39'),()=>{}),_0x1ad126[_0x4c56('0x1d')]['registerCustomCallback'](_0x4c56('0x2a'),_0x4c56('0x5b'),_0x4c56('0x72'),(_0x47b0af,_0x173cc2)=>{_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x71')](_0x4c56('0x2a'),'',_0x4c56('0x39'))(_0x47b0af,{'commandName':_0x173cc2['commandName'],'commandParams':_0x173cc2[_0x4c56('0x5e')]});}),_0x1ad126[_0x4c56('0x1d')][_0x4c56('0x1f')](_0x4c56('0x2a'),_0x4c56('0x5b'),_0x4c56('0x64'),_0x1139a8);}const _0x311fc6=[{'type':_0x4c56('0x2a'),'subType':'imageStylePreApply'},{'type':_0x4c56('0x65'),'subType':'imageCaption'},{'type':_0x4c56('0x2a'),'subType':_0x4c56('0x1e')},{'type':'insertion','subType':_0x4c56('0x1e')}];function _0x3f4a07(_0x2ee083,_0x5853c9){const _0x32115d=_0x311fc6['findIndex'](({type:_0x529c00,subType:_0x479ab3})=>_0x2ee083[_0x4c56('0x15')]==_0x529c00&&_0x2ee083[_0x4c56('0x2d')]==_0x479ab3),_0x420e39=_0x311fc6[_0x4c56('0x74')](({type:_0x528a90,subType:_0x21a2ad})=>_0x5853c9['type']==_0x528a90&&_0x5853c9[_0x4c56('0x2d')]==_0x21a2ad);if(_0x32115d<0x0||_0x420e39<0x0)return!0x1;const _0x4f7073=_0x2ee083[_0x4c56('0x33')](),_0x1d26ed=_0x5853c9[_0x4c56('0x33')]();if((0x0==_0x32115d||0x1==_0x32115d)&&0x2==_0x420e39&&_0x4f7073[_0x4c56('0x6c')](_0x1d26ed))return!0x0;if(0x2==_0x32115d&&0x3==_0x420e39){const _0x4301c4=_0x1ad126[_0x4c56('0x16')](_0x4f7073,_0x4c56('0x65'))[_0x4c56('0x3f')](({suggestion:_0xe90282,meta:_0x5aa2ad})=>_0x5aa2ad['isOwn']&&'convertInlineImageToBlock'==_0xe90282[_0x4c56('0x2d')]);if(_0x4301c4[_0x4c56('0x76')]>0x1&&_0x1d26ed['end'][_0x4c56('0xd')](_0x4f7073['start']))return!0x0;if(0x1==_0x4301c4[_0x4c56('0x76')]&&(_0x4f7073[_0x4c56('0x34')][_0x4c56('0xd')](_0x1d26ed[_0x4c56('0x37')])||_0x4f7073[_0x4c56('0x37')][_0x4c56('0xd')](_0x1d26ed[_0x4c56('0x34')])))return!0x0;}if(0x3==_0x32115d&&0x3==_0x420e39&&_0x4f7073[_0x4c56('0x34')][_0x4c56('0x0')](_0x1d26ed['start'])){const _0x46f37d=_0x4f7073[_0x4c56('0x37')][_0x4c56('0x42')],_0x5ea0cb=_0x1d26ed['start'][_0x4c56('0xb')];return _0x4c113c[_0x4c56('0x61')](_0x46f37d)&&_0x46f37d===_0x5ea0cb;}return!0x1;}function _0x1139a8(_0x12bf84,_0x3d5e03){return _0x3f4a07(_0x12bf84,_0x3d5e03)?[_0x12bf84,_0x3d5e03]:_0x3f4a07(_0x3d5e03,_0x12bf84)?[_0x3d5e03,_0x12bf84]:null;}_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x7')]['registerPostFixer'](()=>{let _0x4d0b54=!0x1;const _0x4e3e55=Array[_0x4c56('0x10')](_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x7')]['differ'][_0x4c56('0x35')]());for(const {name:_0x436910,data:_0x5d269b}of _0x4e3e55){const {group:_0x334490,type:_0x1e6442,subType:_0x2d6e01,id:_0x2b5726}=_0x1ad126[_0x4c56('0x6a')](_0x436910);if('suggestion'==_0x334490&&_0x1ad126[_0x4c56('0x6')](_0x2b5726)){if(_0x4c56('0x2a')==_0x1e6442&&(_0x4c56('0x5b')==_0x2d6e01||_0x4c56('0x5a')==_0x2d6e01)){const _0x371729=_0x1ad126[_0x4c56('0x54')](_0x2b5726);if(_0x5d269b[_0x4c56('0x2f')]){const _0x20530d=_0x371729['getFirstRange']()[_0x4c56('0x21')]();if(_0x4c113c[_0x4c56('0x61')](_0x20530d))continue;_0x1ad126[_0x4c56('0x2e')](_0x371729),_0x4d0b54=!0x0;}}if(_0x4c56('0x65')==_0x1e6442&&_0x4c56('0x47')==_0x2d6e01&&!_0x5d269b[_0x4c56('0x2f')]){const _0x1f45cd=_0x1ad126[_0x4c56('0x54')](_0x2b5726);_0x1f45cd[_0x4c56('0x1')]&&_0x1f45cd[_0x4c56('0x1')][_0x4c56('0x8')]&&(_0x1ad126[_0x4c56('0x2e')](_0x1f45cd[_0x4c56('0x1')]),_0x4d0b54=!0x0);}}}return _0x4d0b54;}),_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x9')]('ImageResize')&&_0x1ad126['enableCommand'](_0x4c56('0x25'),(_0x3b0cb9,_0x5ae525)=>{const _0x4e7b53=_0x4c113c['getClosestSelectedImageElement'](_0x5ea4fa[_0x4c56('0x17')]['document'][_0x4c56('0x3')]);_0x4e7b53[_0x4c56('0x2c')](_0x4c56('0x22'))!=_0x5ae525['width']&&_0x5ea4fa['model']['change'](()=>{_0x1ad126[_0x4c56('0x68')](_0x4e7b53,{'commandName':_0x4c56('0x25'),'commandParams':[_0x5ae525]});});}),_0x5ea4fa[_0x4c56('0x23')][_0x4c56('0x9')](_0x4c56('0x52'))&&_0x1ad126[_0x4c56('0x2b')](_0x4c56('0x38'),(_0x4e9d41,_0x525811)=>{const _0x2499fb=_0x4c113c['getClosestSelectedImageElement'](_0x5ea4fa['model'][_0x4c56('0x7')]['selection']);(_0x2499fb[_0x4c56('0x24')]('alt')?_0x2499fb[_0x4c56('0x2c')]('alt'):'')!=_0x525811[_0x4c56('0x5')]&&_0x5ea4fa[_0x4c56('0x17')][_0x4c56('0x3a')](()=>{_0x1ad126[_0x4c56('0x68')](_0x2499fb,{'commandName':_0x4c56('0x38'),'commandParams':[_0x525811]});});}),_0x1ad126[_0x4c56('0x5c')][_0x4c56('0x41')](_0xed562a=>{if(!!_0x311fc6[_0x4c56('0x69')](({type:_0x2c67dd,subType:_0x5f27ca})=>_0xed562a[_0x4c56('0x15')]==_0x2c67dd&&_0xed562a['subType']==_0x5f27ca))return _0xed562a[_0x4c56('0x3c')]?{}:void 0x0;}),_0x1ad126['_descriptionFactory'][_0x4c56('0x41')](_0x5343e5=>{if(_0x4c56('0x65')==_0x5343e5['type']||_0x4c56('0x11')==_0x5343e5['type']){const _0x2d904b=_0x5343e5['getContainedElement']();if(_0x2d904b&&_0x2d904b['is'](_0x4c56('0x18'),_0x4c56('0x4e')))return{'type':_0x4c56('0x65')==_0x5343e5['type']?'addObject':_0x4c56('0x31'),'name':_0x2d904b['name'],'quantity':0x1};}}),_0x1ad126[_0x4c56('0x5c')][_0x4c56('0x41')](_0xcd0942=>_0x4c56('0x2a')==_0xcd0942[_0x4c56('0x15')]&&_0x4c56('0x1e')==_0xcd0942[_0x4c56('0x2d')]?{'type':_0x4c56('0x55'),'content':_0x4c56('0x6f')}:_0x4c56('0x2a')==_0xcd0942[_0x4c56('0x15')]&&_0x4c56('0x1c')==_0xcd0942[_0x4c56('0x2d')]?{'type':_0x4c56('0x55'),'content':_0x4c56('0x4d')}:void 0x0),_0x1ad126[_0x4c56('0x5c')][_0x4c56('0x41')](_0x5dba1c=>{const {data:_0x11dda2}=_0x5dba1c;if(_0x11dda2){if(_0x4c56('0x44')==_0x11dda2[_0x4c56('0x1b')]){const _0x1bce7f=_0x11dda2[_0x4c56('0x19')][0x0][_0x4c56('0x67')];return _0xfb2ff9(_0x4c56('0x66')===_0x1bce7f?_0x313fcd(_0x4b5a36,_0x4c56('0x4')):_0x116d08[_0x1bce7f]||_0x1bce7f);}if(_0x4c56('0x38')==_0x11dda2['commandName']){const _0x355b05=_0x11dda2[_0x4c56('0x19')][0x0][_0x4c56('0x5')];return _0x355b05?{'type':'format','content':_0x313fcd(_0x4b5a36,_0x4c56('0x40'),'\x22'+_0x355b05+'\x22')}:{'type':_0x4c56('0x55'),'content':_0x313fcd(_0x4b5a36,_0x4c56('0x51'))};}if(_0x4c56('0x25')==_0x11dda2['commandName']){const _0x1c7125=_0x11dda2[_0x4c56('0x19')][0x0]['width'];return _0x1c7125?{'type':_0x4c56('0x55'),'content':_0x313fcd(_0x4b5a36,_0x4c56('0x4f'),_0x1c7125)}:{'type':'format','content':_0x313fcd(_0x4b5a36,'*Reset\x20image\x20width*')};}}function _0xfb2ff9(_0x218873){return{'type':'format','content':_0x313fcd(_0x4b5a36,_0x4c56('0x5f'),_0x218873)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a53=['from','document','registerDescriptionCallback','change','outdentBlock','plugins','getItems','indentBlock','IndentEditing','filter','checkAttribute','indent','format','selection','outdent','*Indent:*\x20%0','getItemLabel','markBlockFormat','commandName','afterInit','IndentBlock','getSelectedBlocks','has','TrackChangesEditing','enableCommand','model','_descriptionFactory','editor','locale'];(function(_0x502f18,_0x2a53b0){const _0x53a1db=function(_0x5428f8){while(--_0x5428f8){_0x502f18['push'](_0x502f18['shift']());}};_0x53a1db(++_0x2a53b0);}(_0x2a53,0x1b5));const _0x53a1=function(_0x502f18,_0x2a53b0){_0x502f18=_0x502f18-0x0;let _0x53a1db=_0x2a53[_0x502f18];return _0x53a1db;};import{Plugin as _0x5ca99e}from'ckeditor5/src/core';import{getTranslation as _0x60f3ea}from'../utils/common-translations';export default class K extends _0x5ca99e{[_0x53a1('0x11')](){const _0x1c89e8=this[_0x53a1('0x19')],_0x3c46f2=_0x1c89e8[_0x53a1('0x3')]['get'](_0x53a1('0x15'));_0x1c89e8['plugins'][_0x53a1('0x14')](_0x53a1('0x6'))&&(_0x3c46f2[_0x53a1('0x16')](_0x53a1('0x9')),_0x3c46f2[_0x53a1('0x16')](_0x53a1('0xc')));const _0x770fcc=_0x1c89e8[_0x53a1('0x1a')];if(_0x1c89e8[_0x53a1('0x3')][_0x53a1('0x14')](_0x53a1('0x12'))){for(const _0x6f62f3 of['indentBlock',_0x53a1('0x2')])_0x3c46f2[_0x53a1('0x16')](_0x6f62f3,()=>{const _0x8082a4=Array[_0x53a1('0x1b')](this[_0x53a1('0x19')][_0x53a1('0x17')][_0x53a1('0x1c')][_0x53a1('0xb')][_0x53a1('0x13')]())[_0x53a1('0x7')](_0x2a08e9=>this[_0x53a1('0x19')]['model']['schema'][_0x53a1('0x8')](_0x2a08e9,'blockIndent'));_0x1c89e8[_0x53a1('0x17')][_0x53a1('0x1')](()=>{for(const _0x2a00c8 of _0x8082a4)_0x3c46f2[_0x53a1('0xf')](_0x2a00c8,{'commandName':_0x6f62f3,'commandParams':[{'value':''}],'formatGroupId':_0x53a1('0x5')});});});_0x3c46f2[_0x53a1('0x18')][_0x53a1('0x0')](_0xea9527=>{const {data:_0x4b2ee3}=_0xea9527;if(!_0x4b2ee3)return;if(_0x53a1('0x5')!=_0x4b2ee3[_0x53a1('0x10')]&&_0x53a1('0x2')!=_0x4b2ee3[_0x53a1('0x10')])return;const _0xcaeea5=_0xea9527[_0x53a1('0x4')]()[0x0],_0x4ec159=_0x3c46f2[_0x53a1('0x18')][_0x53a1('0xe')](_0xcaeea5['name']);return _0x53a1('0x5')==_0x4b2ee3[_0x53a1('0x10')]?{'type':_0x53a1('0xa'),'content':_0x60f3ea(_0x770fcc,_0x53a1('0xd'),_0x4ec159)}:_0x53a1('0x2')==_0x4b2ee3[_0x53a1('0x10')]?{'type':'format','content':_0x60f3ea(_0x770fcc,'*Outdent:*\x20%0',_0x4ec159)}:void 0x0;});}}}
23
+ const _0x2ba6=['getSelectedBlocks','outdent','IndentBlock','getItems','model','has','filter','name','format','checkAttribute','getItemLabel','indentBlock','from','editor','enableCommand','change','locale','commandName','plugins','document','_descriptionFactory','registerDescriptionCallback','indent','blockIndent','afterInit','outdentBlock'];(function(_0xa3b71c,_0x2ba6b6){const _0x3a2f73=function(_0x587d8c){while(--_0x587d8c){_0xa3b71c['push'](_0xa3b71c['shift']());}};_0x3a2f73(++_0x2ba6b6);}(_0x2ba6,0x8e));const _0x3a2f=function(_0xa3b71c,_0x2ba6b6){_0xa3b71c=_0xa3b71c-0x0;let _0x3a2f73=_0x2ba6[_0xa3b71c];return _0x3a2f73;};import{Plugin as _0x95ce84}from'ckeditor5/src/core';import{getTranslation as _0x3e679c}from'../utils/common-translations';export default class V extends _0x95ce84{[_0x3a2f('0xc')](){const _0x43517e=this[_0x3a2f('0x1')],_0x3262fe=_0x43517e[_0x3a2f('0x6')]['get']('TrackChangesEditing');_0x43517e[_0x3a2f('0x6')]['has']('IndentEditing')&&(_0x3262fe[_0x3a2f('0x2')](_0x3a2f('0xa')),_0x3262fe[_0x3a2f('0x2')](_0x3a2f('0xf')));const _0x29864b=_0x43517e[_0x3a2f('0x4')];if(_0x43517e[_0x3a2f('0x6')][_0x3a2f('0x13')](_0x3a2f('0x10'))){for(const _0x4f3fd2 of[_0x3a2f('0x19'),_0x3a2f('0xd')])_0x3262fe[_0x3a2f('0x2')](_0x4f3fd2,()=>{const _0x292daf=Array[_0x3a2f('0x0')](this[_0x3a2f('0x1')][_0x3a2f('0x12')][_0x3a2f('0x7')]['selection'][_0x3a2f('0xe')]())[_0x3a2f('0x14')](_0xb9d036=>this[_0x3a2f('0x1')][_0x3a2f('0x12')]['schema'][_0x3a2f('0x17')](_0xb9d036,_0x3a2f('0xb')));_0x43517e[_0x3a2f('0x12')][_0x3a2f('0x3')](()=>{for(const _0x39c8fd of _0x292daf)_0x3262fe['markBlockFormat'](_0x39c8fd,{'commandName':_0x4f3fd2,'commandParams':[{'value':''}],'formatGroupId':_0x3a2f('0x19')});});});_0x3262fe[_0x3a2f('0x8')][_0x3a2f('0x9')](_0x92c83b=>{const {data:_0x571915}=_0x92c83b;if(!_0x571915)return;if(_0x3a2f('0x19')!=_0x571915[_0x3a2f('0x5')]&&_0x3a2f('0xd')!=_0x571915[_0x3a2f('0x5')])return;const _0x43d347=_0x92c83b[_0x3a2f('0x11')]()[0x0],_0x24f58f=_0x3262fe['_descriptionFactory'][_0x3a2f('0x18')](_0x43d347[_0x3a2f('0x15')]);return _0x3a2f('0x19')==_0x571915['commandName']?{'type':_0x3a2f('0x16'),'content':_0x3e679c(_0x29864b,'*Indent:*\x20%0',_0x24f58f)}:_0x3a2f('0xd')==_0x571915[_0x3a2f('0x5')]?{'type':'format','content':_0x3e679c(_0x29864b,'*Outdent:*\x20%0',_0x24f58f)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c2b=['enableCommand','get','editor','init'];(function(_0x25558d,_0x3c2b7d){var _0x39ec40=function(_0x518237){while(--_0x518237){_0x25558d['push'](_0x25558d['shift']());}};_0x39ec40(++_0x3c2b7d);}(_0x3c2b,0x100));var _0x39ec=function(_0x25558d,_0x3c2b7d){_0x25558d=_0x25558d-0x0;var _0x39ec40=_0x3c2b[_0x25558d];return _0x39ec40;};import{Plugin as _0x5e2cfa}from'ckeditor5/src/core';import{Input as _0x5479ec}from'ckeditor5/src/typing';export default class Q extends _0x5e2cfa{static get['requires'](){return[_0x5479ec];}[_0x39ec('0x3')](){this[_0x39ec('0x2')]['plugins'][_0x39ec('0x1')]('TrackChangesEditing')[_0x39ec('0x0')]('input');}}
23
+ var _0x11bb=['get','input','editor','init','enableCommand','requires'];(function(_0x408483,_0x11bb5f){var _0x11cac9=function(_0x711cc4){while(--_0x711cc4){_0x408483['push'](_0x408483['shift']());}};_0x11cac9(++_0x11bb5f);}(_0x11bb,0x173));var _0x11ca=function(_0x408483,_0x11bb5f){_0x408483=_0x408483-0x0;var _0x11cac9=_0x11bb[_0x408483];return _0x11cac9;};import{Plugin as _0x37d84c}from'ckeditor5/src/core';import{Input as _0x40a81b}from'ckeditor5/src/typing';export default class X extends _0x37d84c{static get[_0x11ca('0x0')](){return[_0x40a81b];}[_0x11ca('0x4')](){this[_0x11ca('0x3')]['plugins'][_0x11ca('0x1')]('TrackChangesEditing')[_0x11ca('0x5')](_0x11ca('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27a0=['hasAttribute','selection','isCollapsed','unlink','*Remove\x20link*','registerDescriptionCallback','change','document','LinkEditing','model','commandParams','format','commandName','*Set\x20link:*\x20%0','getFirstRange','getFirstPosition','TrackChangesEditing','getAttribute','enableCommand','linkHref','link','editor','markInlineFormat'];(function(_0x65646c,_0x27a0c3){const _0x35c6a3=function(_0x1ce8fe){while(--_0x1ce8fe){_0x65646c['push'](_0x65646c['shift']());}};_0x35c6a3(++_0x27a0c3);}(_0x27a0,0x7e));const _0x35c6=function(_0x65646c,_0x27a0c3){_0x65646c=_0x65646c-0x0;let _0x35c6a3=_0x27a0[_0x65646c];return _0x35c6a3;};import{Plugin as _0xb8f7c4}from'ckeditor5/src/core';import{findAttributeRange as _0x29ce8b}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x54f21c}from'./utils';import{getTranslation as _0x4f5558}from'../utils/common-translations';export default class V extends _0xb8f7c4{['afterInit'](){const _0x1e7675=this[_0x35c6('0xa')];if(!_0x1e7675['plugins']['has'](_0x35c6('0x14')))return;const _0x539d92=_0x1e7675['plugins']['get'](_0x35c6('0x5'));_0x539d92['enableCommand']('link',(_0x6fa172,_0x86de1e)=>{const _0x31566e=_0x1e7675['model'][_0x35c6('0x13')][_0x35c6('0xd')];let _0x203f46=[];if(_0x31566e['isCollapsed']){if(!_0x31566e[_0x35c6('0xc')](_0x35c6('0x8')))return void _0x6fa172(_0x86de1e);{const _0x188f28=_0x29ce8b(_0x31566e[_0x35c6('0x4')](),_0x35c6('0x8'),_0x31566e[_0x35c6('0x6')](_0x35c6('0x8')),_0x1e7675[_0x35c6('0x15')]);_0x203f46=[_0x188f28];}}else _0x203f46=Array['from'](_0x31566e['getRanges']());_0x1e7675['model']['change'](()=>{for(const _0x4d0115 of _0x203f46)_0x539d92['markInlineFormat'](_0x4d0115,{'commandName':_0x35c6('0x9'),'commandParams':[_0x86de1e]});});}),_0x539d92[_0x35c6('0x7')](_0x35c6('0xf'),()=>{const _0x4739fd=this[_0x35c6('0xa')]['model'],_0x1b3344=_0x4739fd['document'][_0x35c6('0xd')];_0x4739fd[_0x35c6('0x12')](()=>{let _0x59c7cb=[];if(_0x1b3344[_0x35c6('0xe')])_0x59c7cb=[_0x29ce8b(_0x1b3344[_0x35c6('0x4')](),_0x35c6('0x8'),_0x1b3344['getAttribute'](_0x35c6('0x8')),_0x1e7675[_0x35c6('0x15')])];else _0x59c7cb=_0x54f21c(_0x35c6('0x8'),_0x1b3344[_0x35c6('0x3')](),_0x1e7675['model']);for(const _0x577b99 of _0x59c7cb)_0x539d92[_0x35c6('0xb')](_0x577b99,{'commandName':_0x35c6('0xf'),'commandParams':[]});});}),_0x539d92['_descriptionFactory'][_0x35c6('0x11')](_0xaec68c=>{const {data:_0xf48e38}=_0xaec68c,_0x36942f=_0x1e7675['locale'];if(_0xf48e38){if(_0x35c6('0x9')==_0xf48e38[_0x35c6('0x1')]){const _0x495a20=_0xf48e38[_0x35c6('0x16')][0x0];return{'type':_0x35c6('0x0'),'content':_0x4f5558(_0x36942f,_0x35c6('0x2'),'\x22'+_0x495a20+'\x22')};}return'unlink'==_0xf48e38[_0x35c6('0x1')]?{'type':_0x35c6('0x0'),'content':_0x4f5558(_0x36942f,_0x35c6('0x10'))}:void 0x0;}});}}
23
+ const _0x48cf=['from','get','markInlineFormat','change','format','afterInit','getFirstRange','unlink','enableCommand','selection','hasAttribute','commandParams','getRanges','*Set\x20link:*\x20%0','registerDescriptionCallback','TrackChangesEditing','commandName','_descriptionFactory','isCollapsed','model','link','editor','locale','getAttribute','getFirstPosition','linkHref','has','document'];(function(_0x3264fe,_0x48cfe6){const _0x398550=function(_0x394116){while(--_0x394116){_0x3264fe['push'](_0x3264fe['shift']());}};_0x398550(++_0x48cfe6);}(_0x48cf,0x137));const _0x3985=function(_0x3264fe,_0x48cfe6){_0x3264fe=_0x3264fe-0x0;let _0x398550=_0x48cf[_0x3264fe];return _0x398550;};import{Plugin as _0x5f48af}from'ckeditor5/src/core';import{findAttributeRange as _0x1253f1}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x430a12}from'./utils';import{getTranslation as _0x2a418d}from'../utils/common-translations';export default class Y extends _0x5f48af{[_0x3985('0x2')](){const _0x9f9fcf=this[_0x3985('0x12')];if(!_0x9f9fcf['plugins'][_0x3985('0x17')]('LinkEditing'))return;const _0x1b2462=_0x9f9fcf['plugins'][_0x3985('0x1a')](_0x3985('0xc'));_0x1b2462['enableCommand']('link',(_0x3b3d6a,_0xe274f9)=>{const _0x46cc5c=_0x9f9fcf[_0x3985('0x10')][_0x3985('0x18')][_0x3985('0x6')];let _0x382aab=[];if(_0x46cc5c[_0x3985('0xf')]){if(!_0x46cc5c[_0x3985('0x7')]('linkHref'))return void _0x3b3d6a(_0xe274f9);{const _0x1c72f6=_0x1253f1(_0x46cc5c[_0x3985('0x15')](),_0x3985('0x16'),_0x46cc5c[_0x3985('0x14')]('linkHref'),_0x9f9fcf['model']);_0x382aab=[_0x1c72f6];}}else _0x382aab=Array[_0x3985('0x19')](_0x46cc5c[_0x3985('0x9')]());_0x9f9fcf['model'][_0x3985('0x0')](()=>{for(const _0x8b5e16 of _0x382aab)_0x1b2462[_0x3985('0x1b')](_0x8b5e16,{'commandName':_0x3985('0x11'),'commandParams':[_0xe274f9]});});}),_0x1b2462[_0x3985('0x5')](_0x3985('0x4'),()=>{const _0x19bf54=this[_0x3985('0x12')][_0x3985('0x10')],_0x21678d=_0x19bf54[_0x3985('0x18')][_0x3985('0x6')];_0x19bf54[_0x3985('0x0')](()=>{let _0x5a1fea=[];if(_0x21678d[_0x3985('0xf')])_0x5a1fea=[_0x1253f1(_0x21678d[_0x3985('0x15')](),_0x3985('0x16'),_0x21678d['getAttribute']('linkHref'),_0x9f9fcf[_0x3985('0x10')])];else _0x5a1fea=_0x430a12(_0x3985('0x16'),_0x21678d[_0x3985('0x3')](),_0x9f9fcf[_0x3985('0x10')]);for(const _0x1c9a7a of _0x5a1fea)_0x1b2462[_0x3985('0x1b')](_0x1c9a7a,{'commandName':_0x3985('0x4'),'commandParams':[]});});}),_0x1b2462[_0x3985('0xe')][_0x3985('0xb')](_0x3650f4=>{const {data:_0x25dd12}=_0x3650f4,_0x106b42=_0x9f9fcf[_0x3985('0x13')];if(_0x25dd12){if('link'==_0x25dd12[_0x3985('0xd')]){const _0x18d27d=_0x25dd12[_0x3985('0x8')][0x0];return{'type':_0x3985('0x1'),'content':_0x2a418d(_0x106b42,_0x3985('0xa'),'\x22'+_0x18d27d+'\x22')};}return _0x3985('0x4')==_0x25dd12[_0x3985('0xd')]?{'type':_0x3985('0x1'),'content':_0x2a418d(_0x106b42,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fe0=['_selectedElements','bulletedList','*Outdent:*\x20%0','todo','afterInit','format','slice','blockName','indentList','from','createRange','listIndent','TodoListEditing','*Change\x20to:*\x20%0','checkTodoList','parent','previousSibling','name','checkChild','outdentList','element','TrackChangesEditing','replace','document','*Indent:*\x20%0','listItem','markBlockFormat','nextSibling','List','*Check\x20item*','commands','numberedList','commandParams','todoList','filter','change','selection','findIndex','createPositionAt','ELEMENT_LIST_ITEM','enableCommand','getAttribute','paragraph','has','ELEMENT_NUMBERED_LIST','model','plugins','ListEditing','execute','commandName','listType','registerElementLabel','isObject','before','_descriptionFactory','get','schema','locale','getSelectedBlocks','numbered','value','add'];(function(_0x3fa639,_0x1fe0ab){const _0x322df2=function(_0x589a34){while(--_0x589a34){_0x3fa639['push'](_0x3fa639['shift']());}};_0x322df2(++_0x1fe0ab);}(_0x1fe0,0x16f));const _0x322d=function(_0x3fa639,_0x1fe0ab){_0x3fa639=_0x3fa639-0x0;let _0x322df2=_0x1fe0[_0x3fa639];return _0x322df2;};import{Plugin as _0x19e814}from'ckeditor5/src/core';import{getTranslation as _0x497e4b}from'../utils/common-translations';export default class X extends _0x19e814{[_0x322d('0x9')](){const _0x2bd578=this['editor'],_0x5e0a64=_0x2bd578[_0x322d('0x0')];if(!_0x2bd578[_0x322d('0x33')][_0x322d('0x30')](_0x322d('0x34')))return;const _0x5771ee=_0x2bd578['plugins'][_0x322d('0x3c')](_0x322d('0x1a')),_0x27cb9b=_0x2bd578[_0x322d('0x33')]['has'](_0x322d('0x11'));function _0x5cdba2(_0xbb0a90){return()=>{const _0x376867=_0x2bd578[_0x322d('0x32')][_0x322d('0x1c')][_0x322d('0x29')],_0x4307fa=_0x2bd578[_0x322d('0x23')][_0x322d('0x3c')](_0xbb0a90);if(_0x4307fa[_0x322d('0x3')])return void _0x2bd578[_0x322d('0x35')](_0x322d('0x2f'),{});const _0x13df83=_0xbb0a90[_0x322d('0xb')](0x0,-0x4),_0x1c17f5=function(_0x3177df,_0x1ac696,_0x379d01){let _0x5da8b1=Array['from'](_0x3177df)[_0x322d('0x27')](_0x262c80=>function(_0x1b6bf2,_0x11e7aa){return _0x11e7aa[_0x322d('0x17')](_0x1b6bf2[_0x322d('0x14')],_0x322d('0x1e'))&&!_0x11e7aa[_0x322d('0x39')](_0x1b6bf2);}(_0x262c80,_0x379d01));_0x5da8b1=_0x5da8b1[_0x322d('0x27')](_0x34a5ff=>!_0x34a5ff['is'](_0x322d('0x19'),_0x322d('0x1e'))||_0x34a5ff[_0x322d('0x2e')](_0x322d('0x37'))!=_0x1ac696);const _0x4a94e6=new Set();for(const _0x1938bc of _0x5da8b1)_0x1938bc['is']('element',_0x322d('0x1e'))?_0x4a94e6[_0x322d('0x4')](Mt(_0x1938bc)):_0x4a94e6[_0x322d('0x4')](_0x1938bc);return Array[_0x322d('0xe')](_0x4a94e6);}(_0x376867[_0x322d('0x1')](),_0x13df83,_0x2bd578[_0x322d('0x32')][_0x322d('0x3d')]);_0x2bd578[_0x322d('0x32')][_0x322d('0x28')](()=>{for(const _0x445ee3 of _0x1c17f5)_0x5771ee[_0x322d('0x1f')](_0x445ee3,{'commandName':_0xbb0a90,'commandParams':[{'forceValue':!_0x4307fa[_0x322d('0x3')]}],'formatGroupId':_0x322d('0xc')},Pt(_0x445ee3));});};}function _0x10045b(_0x2e81f8){return()=>{const _0xd5cb1f=function(_0x347bb6){const _0x5d6b43=(_0x347bb6=Array[_0x322d('0xe')](_0x347bb6))[_0x322d('0x2a')](_0x22edeb=>'listItem'!=_0x22edeb['name']);return _0x5d6b43>-0x1&&(_0x347bb6=_0x347bb6[_0x322d('0xb')](0x0,_0x5d6b43)),_0x347bb6;}(_0x2bd578[_0x322d('0x32')]['document']['selection']['getSelectedBlocks']()),_0x1a6895=_0x2bd578[_0x322d('0x32')][_0x322d('0xf')](_0x2bd578['model'][_0x322d('0x2b')](_0xd5cb1f[0x0],_0x322d('0x3a')),_0x2bd578[_0x322d('0x32')][_0x322d('0x2b')](_0xd5cb1f[_0xd5cb1f['length']-0x1],'end'));_0x2bd578['model'][_0x322d('0x28')](()=>{_0x5771ee['markBlockFormat'](_0x1a6895,{'commandName':_0x2e81f8,'commandParams':[],'formatGroupId':_0x322d('0x10')},function(_0x37b2b4){const _0x1c0970=new Set();for(const _0x4a725b of _0x37b2b4){let _0x4dbf27=_0x4a725b[_0x322d('0x20')];for(;_0x4dbf27&&_0x4dbf27[_0x322d('0x2e')](_0x322d('0x10'))>_0x4a725b[_0x322d('0x2e')](_0x322d('0x10'));)_0x1c0970[_0x322d('0x4')](_0x4dbf27),_0x4dbf27=_0x4dbf27[_0x322d('0x20')];}return Array[_0x322d('0xe')](_0x1c0970);}(_0xd5cb1f));});};}_0x5771ee[_0x322d('0x2d')](_0x322d('0x24'),_0x5cdba2(_0x322d('0x24'))),_0x5771ee['enableCommand'](_0x322d('0x6'),_0x5cdba2(_0x322d('0x6'))),_0x27cb9b&&_0x5771ee[_0x322d('0x2d')](_0x322d('0x26'),_0x5cdba2(_0x322d('0x26'))),_0x5771ee[_0x322d('0x2d')](_0x322d('0xd'),_0x10045b('indentList')),_0x5771ee[_0x322d('0x2d')](_0x322d('0x18'),_0x10045b(_0x322d('0x18'))),_0x27cb9b&&_0x5771ee['enableCommand']('checkTodoList',()=>{const _0x38cfb4=_0x2bd578[_0x322d('0x23')]['get'](_0x322d('0x13')),_0x1304b5=Array['from'](_0x38cfb4[_0x322d('0x5')]);_0x1304b5['filter'](_0x59233e=>_0x59233e[_0x322d('0x2e')]('todoListChecked')!=_0x38cfb4['value']),_0x2bd578[_0x322d('0x32')][_0x322d('0x28')](()=>{for(const _0x16b360 of _0x1304b5)_0x5771ee[_0x322d('0x1f')](_0x16b360,{'commandName':_0x322d('0x13'),'commandParams':[{'forceValue':!_0x38cfb4[_0x322d('0x3')]}]});});}),_0x5771ee['_descriptionFactory'][_0x322d('0x38')](_0x322d('0x1e'),_0xaf9a5c=>_0x497e4b(_0x5e0a64,_0x322d('0x2c'),_0xaf9a5c)),_0x5771ee[_0x322d('0x3b')]['registerDescriptionCallback'](_0xab2249=>{const {data:_0x2fefb2}=_0xab2249;if(_0x2fefb2){if('numberedList'==_0x2fefb2['commandName']||_0x322d('0x6')==_0x2fefb2['commandName']||_0x322d('0x26')==_0x2fefb2[_0x322d('0x36')])switch(_0x2fefb2[_0x322d('0x36')][_0x322d('0x1b')](_0x322d('0x21'),'')){case'bulleted':return _0x31c42b(_0x497e4b(_0x5e0a64,'ELEMENT_BULLETED_LIST'));case _0x322d('0x2'):return _0x31c42b(_0x497e4b(_0x5e0a64,_0x322d('0x31')));case _0x322d('0x8'):return _0x31c42b(_0x497e4b(_0x5e0a64,'ELEMENT_TODO_LIST'));}if(_0x322d('0xd')==_0x2fefb2['commandName'])return{'type':'format','content':_0x497e4b(_0x5e0a64,_0x322d('0x1d'),_0x497e4b(_0x5e0a64,_0x322d('0x2c')))};if(_0x322d('0x18')==_0x2fefb2[_0x322d('0x36')])return{'type':'format','content':_0x497e4b(_0x5e0a64,_0x322d('0x7'),_0x497e4b(_0x5e0a64,_0x322d('0x2c')))};if(_0x322d('0x13')==_0x2fefb2[_0x322d('0x36')])return _0x2fefb2[_0x322d('0x25')][0x0]['forceValue']?{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,_0x322d('0x22'))}:{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,'*Uncheck\x20item*')};}function _0x31c42b(_0x55e884){return{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,_0x322d('0x12'),_0x55e884)};}});}}function Mt(_0x2a0f88){const _0x2e7c4f=_0x2a0f88[_0x322d('0x2e')](_0x322d('0x10'));if(0x0==_0x2e7c4f)return _0x2a0f88;let _0x159558=_0x2a0f88;for(;_0x2a0f88[_0x322d('0x15')]&&_0x2a0f88[_0x322d('0x15')]['is'](_0x322d('0x19'),'listItem');){const _0x3296d8=_0x2a0f88[_0x322d('0x15')]['getAttribute']('listIndent');if(_0x3296d8==_0x2e7c4f)_0x159558=_0x2a0f88[_0x322d('0x15')];else{if(_0x3296d8<_0x2e7c4f)break;}_0x2a0f88=_0x2a0f88[_0x322d('0x15')];}return _0x159558;}function Pt(_0x2ea73b){const _0x49151a=[];if(_0x2ea73b['is'](_0x322d('0x19'),_0x322d('0x1e'))&&_0x2ea73b[_0x322d('0x2e')](_0x322d('0x10'))>0x0){let _0x4c84af=_0x2ea73b[_0x322d('0x20')];for(;_0x4c84af&&'listItem'==_0x4c84af[_0x322d('0x16')]&&_0x4c84af[_0x322d('0x2e')](_0x322d('0x10'))==_0x2ea73b[_0x322d('0x2e')]('listIndent');)_0x49151a['push'](_0x4c84af),_0x4c84af=_0x4c84af[_0x322d('0x20')];}return _0x49151a;}
23
+ const _0x28c5=['editor','model','previousSibling','bulletedList','has','afterInit','getAttribute','markBlockFormat','forceValue','nextSibling','filter','numbered','checkTodoList','commands','document','add','blockName','numberedList','*Uncheck\x20item*','List','createRange','todoList','plugins','change','registerDescriptionCallback','isObject','get','value','length','createPositionAt','bulleted','end','TrackChangesEditing','paragraph','ELEMENT_NUMBERED_LIST','checkChild','listItem','before','_selectedElements','slice','enableCommand','getSelectedBlocks','name','*Change\x20to:*\x20%0','_descriptionFactory','from','schema','indentList','TodoListEditing','commandParams','*Check\x20item*','element','todoListChecked','ELEMENT_LIST_ITEM','*Indent:*\x20%0','listIndent','push','format','commandName','*Outdent:*\x20%0','ListEditing','outdentList'];(function(_0x56afd2,_0x28c534){const _0x20edeb=function(_0x44e5dc){while(--_0x44e5dc){_0x56afd2['push'](_0x56afd2['shift']());}};_0x20edeb(++_0x28c534);}(_0x28c5,0x1d0));const _0x20ed=function(_0x56afd2,_0x28c534){_0x56afd2=_0x56afd2-0x0;let _0x20edeb=_0x28c5[_0x56afd2];return _0x20edeb;};import{Plugin as _0x20240c}from'ckeditor5/src/core';import{getTranslation as _0x3d130f}from'../utils/common-translations';export default class Z extends _0x20240c{[_0x20ed('0x25')](){const _0x37d9b6=this[_0x20ed('0x20')],_0x181d6c=_0x37d9b6['locale'];if(!_0x37d9b6['plugins'][_0x20ed('0x24')](_0x20ed('0x1e')))return;const _0x292556=_0x37d9b6['plugins']['get'](_0x20ed('0x2')),_0x3b3662=_0x37d9b6[_0x20ed('0x36')][_0x20ed('0x24')](_0x20ed('0x12'));function _0x3348ff(_0x809a79){return()=>{const _0x13d9eb=_0x37d9b6[_0x20ed('0x21')]['document']['selection'],_0x1e8058=_0x37d9b6[_0x20ed('0x2d')][_0x20ed('0x3a')](_0x809a79);if(_0x1e8058[_0x20ed('0x3b')])return void _0x37d9b6['execute'](_0x20ed('0x3'),{});const _0x1ceb6c=_0x809a79['slice'](0x0,-0x4),_0x4198af=function(_0x452b87,_0x51de74,_0x36c25a){let _0x2a33f3=Array[_0x20ed('0xf')](_0x452b87)['filter'](_0x30e382=>function(_0x56f817,_0x5c37b9){return _0x5c37b9[_0x20ed('0x5')](_0x56f817['parent'],'listItem')&&!_0x5c37b9[_0x20ed('0x39')](_0x56f817);}(_0x30e382,_0x36c25a));_0x2a33f3=_0x2a33f3[_0x20ed('0x2a')](_0x35d11d=>!_0x35d11d['is'](_0x20ed('0x15'),_0x20ed('0x6'))||_0x35d11d[_0x20ed('0x26')]('listType')!=_0x51de74);const _0x4a82cc=new Set();for(const _0x309683 of _0x2a33f3)_0x309683['is']('element',_0x20ed('0x6'))?_0x4a82cc['add'](Lt(_0x309683)):_0x4a82cc[_0x20ed('0x2f')](_0x309683);return Array[_0x20ed('0xf')](_0x4a82cc);}(_0x13d9eb[_0x20ed('0xb')](),_0x1ceb6c,_0x37d9b6['model'][_0x20ed('0x10')]);_0x37d9b6[_0x20ed('0x21')][_0x20ed('0x37')](()=>{for(const _0x1daed4 of _0x4198af)_0x292556[_0x20ed('0x27')](_0x1daed4,{'commandName':_0x809a79,'commandParams':[{'forceValue':!_0x1e8058[_0x20ed('0x3b')]}],'formatGroupId':_0x20ed('0x30')},Mt(_0x1daed4));});};}function _0x21731e(_0x19ee25){return()=>{const _0x278d36=function(_0x4c6595){const _0xd75f9c=(_0x4c6595=Array['from'](_0x4c6595))['findIndex'](_0x59a9b0=>_0x20ed('0x6')!=_0x59a9b0['name']);return _0xd75f9c>-0x1&&(_0x4c6595=_0x4c6595[_0x20ed('0x9')](0x0,_0xd75f9c)),_0x4c6595;}(_0x37d9b6[_0x20ed('0x21')][_0x20ed('0x2e')]['selection'][_0x20ed('0xb')]()),_0x31be03=_0x37d9b6[_0x20ed('0x21')][_0x20ed('0x34')](_0x37d9b6[_0x20ed('0x21')][_0x20ed('0x3d')](_0x278d36[0x0],_0x20ed('0x7')),_0x37d9b6['model'][_0x20ed('0x3d')](_0x278d36[_0x278d36[_0x20ed('0x3c')]-0x1],_0x20ed('0x1')));_0x37d9b6[_0x20ed('0x21')]['change'](()=>{_0x292556[_0x20ed('0x27')](_0x31be03,{'commandName':_0x19ee25,'commandParams':[],'formatGroupId':_0x20ed('0x19')},function(_0x2c2d2e){const _0x393066=new Set();for(const _0x2a8f5d of _0x2c2d2e){let _0x45e1ec=_0x2a8f5d[_0x20ed('0x29')];for(;_0x45e1ec&&_0x45e1ec[_0x20ed('0x26')](_0x20ed('0x19'))>_0x2a8f5d[_0x20ed('0x26')](_0x20ed('0x19'));)_0x393066[_0x20ed('0x2f')](_0x45e1ec),_0x45e1ec=_0x45e1ec[_0x20ed('0x29')];}return Array['from'](_0x393066);}(_0x278d36));});};}_0x292556[_0x20ed('0xa')](_0x20ed('0x31'),_0x3348ff(_0x20ed('0x31'))),_0x292556[_0x20ed('0xa')](_0x20ed('0x23'),_0x3348ff(_0x20ed('0x23'))),_0x3b3662&&_0x292556[_0x20ed('0xa')](_0x20ed('0x35'),_0x3348ff('todoList')),_0x292556['enableCommand'](_0x20ed('0x11'),_0x21731e(_0x20ed('0x11'))),_0x292556[_0x20ed('0xa')](_0x20ed('0x1f'),_0x21731e(_0x20ed('0x1f'))),_0x3b3662&&_0x292556['enableCommand']('checkTodoList',()=>{const _0x3792a3=_0x37d9b6['commands'][_0x20ed('0x3a')]('checkTodoList'),_0x5ca1eb=Array[_0x20ed('0xf')](_0x3792a3[_0x20ed('0x8')]);_0x5ca1eb['filter'](_0xc6a721=>_0xc6a721[_0x20ed('0x26')](_0x20ed('0x16'))!=_0x3792a3[_0x20ed('0x3b')]),_0x37d9b6['model']['change'](()=>{for(const _0x17f78f of _0x5ca1eb)_0x292556[_0x20ed('0x27')](_0x17f78f,{'commandName':_0x20ed('0x2c'),'commandParams':[{'forceValue':!_0x3792a3[_0x20ed('0x3b')]}]});});}),_0x292556[_0x20ed('0xe')]['registerElementLabel']('listItem',_0x215097=>_0x3d130f(_0x181d6c,_0x20ed('0x17'),_0x215097)),_0x292556[_0x20ed('0xe')][_0x20ed('0x38')](_0xca1985=>{const {data:_0x5050be}=_0xca1985;if(_0x5050be){if(_0x20ed('0x31')==_0x5050be[_0x20ed('0x1c')]||'bulletedList'==_0x5050be[_0x20ed('0x1c')]||_0x20ed('0x35')==_0x5050be[_0x20ed('0x1c')])switch(_0x5050be[_0x20ed('0x1c')]['replace'](_0x20ed('0x33'),'')){case _0x20ed('0x0'):return _0x5f195c(_0x3d130f(_0x181d6c,'ELEMENT_BULLETED_LIST'));case _0x20ed('0x2b'):return _0x5f195c(_0x3d130f(_0x181d6c,_0x20ed('0x4')));case'todo':return _0x5f195c(_0x3d130f(_0x181d6c,'ELEMENT_TODO_LIST'));}if('indentList'==_0x5050be[_0x20ed('0x1c')])return{'type':_0x20ed('0x1b'),'content':_0x3d130f(_0x181d6c,_0x20ed('0x18'),_0x3d130f(_0x181d6c,'ELEMENT_LIST_ITEM'))};if(_0x20ed('0x1f')==_0x5050be[_0x20ed('0x1c')])return{'type':_0x20ed('0x1b'),'content':_0x3d130f(_0x181d6c,_0x20ed('0x1d'),_0x3d130f(_0x181d6c,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x5050be[_0x20ed('0x1c')])return _0x5050be[_0x20ed('0x13')][0x0][_0x20ed('0x28')]?{'type':_0x20ed('0x1b'),'content':_0x3d130f(_0x181d6c,_0x20ed('0x14'))}:{'type':'format','content':_0x3d130f(_0x181d6c,_0x20ed('0x32'))};}function _0x5f195c(_0x591055){return{'type':_0x20ed('0x1b'),'content':_0x3d130f(_0x181d6c,_0x20ed('0xd'),_0x591055)};}});}}function Lt(_0xa3ec1e){const _0x22dbcf=_0xa3ec1e[_0x20ed('0x26')](_0x20ed('0x19'));if(0x0==_0x22dbcf)return _0xa3ec1e;let _0x2c7337=_0xa3ec1e;for(;_0xa3ec1e[_0x20ed('0x22')]&&_0xa3ec1e[_0x20ed('0x22')]['is'](_0x20ed('0x15'),_0x20ed('0x6'));){const _0x272ab5=_0xa3ec1e['previousSibling'][_0x20ed('0x26')](_0x20ed('0x19'));if(_0x272ab5==_0x22dbcf)_0x2c7337=_0xa3ec1e['previousSibling'];else{if(_0x272ab5<_0x22dbcf)break;}_0xa3ec1e=_0xa3ec1e[_0x20ed('0x22')];}return _0x2c7337;}function Mt(_0x2c694e){const _0x291745=[];if(_0x2c694e['is'](_0x20ed('0x15'),_0x20ed('0x6'))&&_0x2c694e[_0x20ed('0x26')](_0x20ed('0x19'))>0x0){let _0x3ef917=_0x2c694e[_0x20ed('0x29')];for(;_0x3ef917&&_0x20ed('0x6')==_0x3ef917[_0x20ed('0xc')]&&_0x3ef917[_0x20ed('0x26')](_0x20ed('0x19'))==_0x2c694e[_0x20ed('0x26')](_0x20ed('0x19'));)_0x291745[_0x20ed('0x1a')](_0x3ef917),_0x3ef917=_0x3ef917[_0x20ed('0x29')];}return _0x291745;}