@ckeditor/ckeditor5-track-changes 41.0.0 → 41.1.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 (69) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/ro.js +1 -1
  3. package/lang/translations/ro.po +1 -1
  4. package/package.json +3 -3
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.js +1 -1
  7. package/src/commands/executeonallsuggestionscommand.js +1 -1
  8. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  9. package/src/commands/trackchangescommand.js +1 -1
  10. package/src/integrations/aiassistant.js +1 -1
  11. package/src/integrations/alignment.js +1 -1
  12. package/src/integrations/basicstyles.js +1 -1
  13. package/src/integrations/blockquote.js +1 -1
  14. package/src/integrations/casechange.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/legacylist.js +1 -1
  34. package/src/integrations/legacylistproperties.js +1 -1
  35. package/src/integrations/link.js +1 -1
  36. package/src/integrations/list.js +1 -1
  37. package/src/integrations/listproperties.js +1 -1
  38. package/src/integrations/mediaembed.js +1 -1
  39. package/src/integrations/mention.js +1 -1
  40. package/src/integrations/pagebreak.js +1 -1
  41. package/src/integrations/paragraph.js +1 -1
  42. package/src/integrations/removeformat.js +1 -1
  43. package/src/integrations/restrictededitingmode.js +1 -1
  44. package/src/integrations/shiftentercommand.js +1 -1
  45. package/src/integrations/standardeditingmode.js +1 -1
  46. package/src/integrations/style.js +1 -1
  47. package/src/integrations/table.js +1 -1
  48. package/src/integrations/tablecaption.js +1 -1
  49. package/src/integrations/tableclipboard.js +1 -1
  50. package/src/integrations/tablecolumnresize.js +1 -1
  51. package/src/integrations/tableheadings.js +1 -1
  52. package/src/integrations/tablemergesplit.js +1 -1
  53. package/src/integrations/tableofcontents.js +1 -1
  54. package/src/integrations/tableproperties.js +1 -1
  55. package/src/integrations/template.js +1 -1
  56. package/src/integrations/title.js +1 -1
  57. package/src/integrations/undo.js +1 -1
  58. package/src/integrations/utils.js +1 -1
  59. package/src/suggestion.js +1 -1
  60. package/src/suggestiondescriptionfactory.js +1 -1
  61. package/src/trackchanges.js +1 -1
  62. package/src/trackchangesdata.js +1 -1
  63. package/src/trackchangesediting.js +1 -1
  64. package/src/trackchangesui.js +1 -1
  65. package/src/ui/suggestioncontroller.js +1 -1
  66. package/src/ui/view/basesuggestionthreadview.js +1 -1
  67. package/src/ui/view/suggestionthreadview.js +1 -1
  68. package/src/utils/common-translations.js +1 -1
  69. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1916=['get','config','*Change\x20to:*\x20%0','commandParams','has','format','plugins','formatBlock','ELEMENT_HEADING','editor','ELEMENT_HEADING_CUSTOM','_getHeadingLevel','type','match','name','_registerLegacyDescription','_headingOptions','locale','registerDescriptionCallback','value','TrackChangesEditing','_descriptionFactory','title','HeadingEditing','model','view','commandName','find','registerElementLabel','heading','_enableDefaultAttributesIntegration'];(function(_0x639897,_0x19169e){const _0x406bb1=function(_0x135722){while(--_0x135722){_0x639897['push'](_0x639897['shift']());}};_0x406bb1(++_0x19169e);}(_0x1916,0x7e));const _0x406b=function(_0x639897,_0x19169e){_0x639897=_0x639897-0x0;let _0x406bb1=_0x1916[_0x639897];return _0x406bb1;};import{Plugin as _0x5cc316}from'ckeditor5/src/core.js';import{getTranslation as _0xd45161}from'../utils/common-translations.js';export default class Y extends _0x5cc316{['afterInit'](){const _0x9cf6f0=this['editor'];if(!_0x9cf6f0[_0x406b('0x4')][_0x406b('0x2')](_0x406b('0x15')))return;this[_0x406b('0xe')]=_0x9cf6f0[_0x406b('0x1e')][_0x406b('0x1d')]('heading.options');const _0x5c1eb6=_0x9cf6f0[_0x406b('0xf')],_0x57d64b=_0x9cf6f0['plugins'][_0x406b('0x1d')]('TrackChangesEditing');_0x57d64b[_0x406b('0x1c')](_0x406b('0x1b'));for(const _0x1d2ee0 of this['_headingOptions'])'paragraph'!=_0x1d2ee0[_0x406b('0x16')]&&_0x57d64b[_0x406b('0x13')][_0x406b('0x1a')](_0x1d2ee0['model'],_0x10e576=>{const _0xd94829=this[_0x406b('0x9')](_0x1d2ee0['model']);return null!==_0xd94829?_0x5743fa(_0x10e576,_0xd94829):_0x48a741(_0x10e576,_0x1d2ee0['title']);});function _0x5743fa(_0x79c4f0,_0x41306d){return _0xd45161(_0x5c1eb6,_0x406b('0x6'),[_0x79c4f0,_0x41306d]);}function _0x48a741(_0x20fe7d,_0x2b25b9){return _0xd45161(_0x5c1eb6,'ELEMENT_HEADING_CUSTOM',[_0x20fe7d,_0x2b25b9]);}this[_0x406b('0xd')]();}[_0x406b('0xd')](){const _0x46486f=this[_0x406b('0x7')],_0x1b0eed=_0x46486f['locale'];function _0x3a12e1(_0x8a2f25,_0x48819f){return _0xd45161(_0x1b0eed,_0x406b('0x8'),[_0x8a2f25,_0x48819f]);}_0x46486f[_0x406b('0x4')][_0x406b('0x1d')](_0x406b('0x12'))[_0x406b('0x13')][_0x406b('0x10')](_0x4fc4b0=>{if(_0x406b('0x5')!=_0x4fc4b0[_0x406b('0xa')])return;const {data:_0x3a5bda}=_0x4fc4b0;if(_0x3a5bda&&'heading'==_0x3a5bda[_0x406b('0x18')]){const _0x54ba4b=_0x3a5bda[_0x406b('0x1')][0x0][_0x406b('0x11')],_0x3ee8d0=this[_0x406b('0x9')](_0x54ba4b);if(null!==_0x3ee8d0)return{'type':_0x406b('0x3'),'content':_0xd45161(_0x1b0eed,_0x406b('0x0'),(_0x34fc13=0x1,_0x3d0478=_0x3ee8d0,_0xd45161(_0x1b0eed,_0x406b('0x6'),[_0x34fc13,_0x3d0478])))};const _0xc37b9a=this['_headingOptions']['find'](_0x2fe579=>_0x2fe579[_0x406b('0x16')]===_0x54ba4b)[_0x406b('0x14')];return{'type':_0x406b('0x3'),'content':_0xd45161(_0x1b0eed,_0x406b('0x0'),_0x3a12e1(0x1,_0xc37b9a))};}var _0x34fc13,_0x3d0478;});}[_0x406b('0x9')](_0x2c0a70){var _0x44f035,_0xfa0c31;const _0x445ad8=_0x2c0a70[_0x406b('0xb')](/^heading(\d+)/);if(_0x445ad8)return _0x445ad8[0x1];const _0x227c96=null===(_0x44f035=this['_headingOptions'])||void 0x0===_0x44f035?void 0x0:_0x44f035[_0x406b('0x19')](_0x2d8bdf=>_0x2d8bdf[_0x406b('0x16')]==_0x2c0a70);if(_0x227c96&&_0x227c96[_0x406b('0x17')]){const _0x55f3ce=_0x227c96[_0x406b('0x17')],_0x983899=(null!==(_0xfa0c31=_0x55f3ce[_0x406b('0xc')])&&void 0x0!==_0xfa0c31?_0xfa0c31:_0x55f3ce)[_0x406b('0xb')](/^h(\d+)/);if(_0x983899)return _0x983899[0x1];}return null;}}
23
+ const _0x595b=['config','heading','has','_headingOptions','title','model','plugins','ELEMENT_HEADING','heading.options','commandName','editor','*Change\x20to:*\x20%0','TrackChangesEditing','_enableDefaultAttributesIntegration','ELEMENT_HEADING_CUSTOM','registerElementLabel','format','commandParams','type','afterInit','_registerLegacyDescription','_getHeadingLevel','locale','formatBlock','find','value','get'];(function(_0x57740a,_0x595b8f){const _0x4b30e0=function(_0x3eec43){while(--_0x3eec43){_0x57740a['push'](_0x57740a['shift']());}};_0x4b30e0(++_0x595b8f);}(_0x595b,0x1d3));const _0x4b30=function(_0x57740a,_0x595b8f){_0x57740a=_0x57740a-0x0;let _0x4b30e0=_0x595b[_0x57740a];return _0x4b30e0;};import{Plugin as _0x583501}from'ckeditor5/src/core.js';import{getTranslation as _0x5555ff}from'../utils/common-translations.js';export default class Y extends _0x583501{[_0x4b30('0xb')](){const _0x25f047=this[_0x4b30('0x2')];if(!_0x25f047['plugins'][_0x4b30('0x15')]('HeadingEditing'))return;this[_0x4b30('0x16')]=_0x25f047[_0x4b30('0x13')][_0x4b30('0x12')](_0x4b30('0x0'));const _0x2717ae=_0x25f047[_0x4b30('0xe')],_0x62ae31=_0x25f047[_0x4b30('0x19')]['get']('TrackChangesEditing');_0x62ae31[_0x4b30('0x5')](_0x4b30('0x14'));for(const _0x1e293d of this[_0x4b30('0x16')])'paragraph'!=_0x1e293d[_0x4b30('0x18')]&&_0x62ae31['_descriptionFactory'][_0x4b30('0x7')](_0x1e293d[_0x4b30('0x18')],_0x217c25=>{const _0x145d6e=this[_0x4b30('0xd')](_0x1e293d[_0x4b30('0x18')]);return null!==_0x145d6e?_0x344341(_0x217c25,_0x145d6e):_0x5694eb(_0x217c25,_0x1e293d[_0x4b30('0x17')]);});function _0x344341(_0x538b20,_0x5c4fe9){return _0x5555ff(_0x2717ae,_0x4b30('0x1a'),[_0x538b20,_0x5c4fe9]);}function _0x5694eb(_0x93e228,_0x38a895){return _0x5555ff(_0x2717ae,_0x4b30('0x6'),[_0x93e228,_0x38a895]);}this[_0x4b30('0xc')]();}[_0x4b30('0xc')](){const _0x592293=this[_0x4b30('0x2')],_0x5916f6=_0x592293['locale'];function _0x5ba550(_0x13572a,_0x5ee815){return _0x5555ff(_0x5916f6,_0x4b30('0x6'),[_0x13572a,_0x5ee815]);}_0x592293[_0x4b30('0x19')][_0x4b30('0x12')](_0x4b30('0x4'))['_descriptionFactory']['registerDescriptionCallback'](_0x2de3d1=>{if(_0x4b30('0xf')!=_0x2de3d1[_0x4b30('0xa')])return;const {data:_0x45f256}=_0x2de3d1;if(_0x45f256&&_0x4b30('0x14')==_0x45f256[_0x4b30('0x1')]){const _0x3634fc=_0x45f256[_0x4b30('0x9')][0x0][_0x4b30('0x11')],_0x135bb4=this[_0x4b30('0xd')](_0x3634fc);if(null!==_0x135bb4)return{'type':_0x4b30('0x8'),'content':_0x5555ff(_0x5916f6,_0x4b30('0x3'),(_0x4d2a2b=0x1,_0x573d2c=_0x135bb4,_0x5555ff(_0x5916f6,_0x4b30('0x1a'),[_0x4d2a2b,_0x573d2c])))};const _0x286b1e=this[_0x4b30('0x16')][_0x4b30('0x10')](_0x5f52af=>_0x5f52af[_0x4b30('0x18')]===_0x3634fc)[_0x4b30('0x17')];return{'type':'format','content':_0x5555ff(_0x5916f6,_0x4b30('0x3'),_0x5ba550(0x1,_0x286b1e))};}var _0x4d2a2b,_0x573d2c;});}['_getHeadingLevel'](_0x1606f7){var _0x553ffa,_0x2fd64a;const _0x44af23=_0x1606f7['match'](/^heading(\d+)/);if(_0x44af23)return _0x44af23[0x1];const _0x135be2=null===(_0x553ffa=this[_0x4b30('0x16')])||void 0x0===_0x553ffa?void 0x0:_0x553ffa['find'](_0x5af897=>_0x5af897['model']==_0x1606f7);if(_0x135be2&&_0x135be2['view']){const _0x398d19=_0x135be2['view'],_0x44192e=(null!==(_0x2fd64a=_0x398d19['name'])&&void 0x0!==_0x2fd64a?_0x2fd64a:_0x398d19)['match'](/^h(\d+)/);if(_0x44192e)return _0x44192e[0x1];}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9055=['_registerLegacyDescription','has','editor','HighlightEditing','highlight','FORMAT_HIGHLIGHT','color','title','locale','_enableDefaultAttributesIntegration','afterInit','value','*Remove\x20highlight*','TrackChangesEditing','toLowerCase','registerDescriptionCallback','commandName','*Set\x20highlight:*\x20%0','format','registerAttributeLabel','plugins','highlight.options','get','commandParams'];(function(_0x588951,_0x905559){const _0x450034=function(_0x4c69f2){while(--_0x4c69f2){_0x588951['push'](_0x588951['shift']());}};_0x450034(++_0x905559);}(_0x9055,0x1d8));const _0x4500=function(_0x588951,_0x905559){_0x588951=_0x588951-0x0;let _0x450034=_0x9055[_0x588951];return _0x450034;};import{Plugin as _0x33fd7a}from'ckeditor5/src/core.js';import{getTranslation as _0x37aa9f}from'../utils/common-translations.js';export default class Z extends _0x33fd7a{[_0x4500('0x12')](){const _0x194d03=this[_0x4500('0xa')];if(!_0x194d03[_0x4500('0x4')][_0x4500('0x9')](_0x4500('0xb')))return;const _0x133c38=_0x194d03[_0x4500('0x4')][_0x4500('0x6')]('TrackChangesEditing'),_0x2be5e7=_0x194d03[_0x4500('0x10')];_0x133c38[_0x4500('0x11')](_0x4500('0xc'),['highlight']),_0x133c38['_descriptionFactory'][_0x4500('0x3')](_0x4500('0xc'),_0x37aa9f(_0x2be5e7,_0x4500('0xd'))),this[_0x4500('0x8')]();}[_0x4500('0x8')](){const _0x55eff6=this[_0x4500('0xa')],_0x36c56b=_0x55eff6['locale'];_0x55eff6[_0x4500('0x4')]['get'](_0x4500('0x15'))['_descriptionFactory'][_0x4500('0x17')](_0x535388=>{if('formatInline'!=_0x535388['type'])return;const {data:_0x57d511}=_0x535388;if(_0x57d511&&'highlight'==_0x57d511[_0x4500('0x0')]){const _0x45270d=_0x36c56b['t'],_0x4574ca=_0x57d511[_0x4500('0x7')][0x0][_0x4500('0x13')];if(_0x4574ca){const _0x38be6e=_0x55eff6['config']['get'](_0x4500('0x5'))['find'](_0x4111d7=>_0x4111d7['model']==_0x4574ca),_0x315aa4=_0x45270d(_0x38be6e[_0x4500('0xf')])[_0x4500('0x16')]();return{'type':'format','content':_0x37aa9f(_0x36c56b,_0x4500('0x1'),_0x315aa4),'color':{'value':_0x38be6e[_0x4500('0xe')],'title':_0x38be6e[_0x4500('0xf')]}};}return{'type':_0x4500('0x2'),'content':_0x37aa9f(_0x36c56b,_0x4500('0x14'),_0x37aa9f(_0x36c56b,_0x4500('0xd')))};}});}}
23
+ const _0x548f=['commandName','has','color','config','locale','registerAttributeLabel','highlight.options','plugins','_descriptionFactory','_registerLegacyDescription','model','toLowerCase','FORMAT_HIGHLIGHT','title','editor','highlight','TrackChangesEditing','find'];(function(_0x19abab,_0x548f23){const _0x57aee9=function(_0x4a96d5){while(--_0x4a96d5){_0x19abab['push'](_0x19abab['shift']());}};_0x57aee9(++_0x548f23);}(_0x548f,0xcf));const _0x57ae=function(_0x19abab,_0x548f23){_0x19abab=_0x19abab-0x0;let _0x57aee9=_0x548f[_0x19abab];return _0x57aee9;};import{Plugin as _0x487f5f}from'ckeditor5/src/core.js';import{getTranslation as _0x354afe}from'../utils/common-translations.js';export default class Z extends _0x487f5f{['afterInit'](){const _0x3ea539=this[_0x57ae('0x5')];if(!_0x3ea539[_0x57ae('0x10')][_0x57ae('0xa')]('HighlightEditing'))return;const _0x5ae5ce=_0x3ea539[_0x57ae('0x10')]['get'](_0x57ae('0x7')),_0x49971c=_0x3ea539[_0x57ae('0xd')];_0x5ae5ce['_enableDefaultAttributesIntegration'](_0x57ae('0x6'),[_0x57ae('0x6')]),_0x5ae5ce[_0x57ae('0x11')][_0x57ae('0xe')](_0x57ae('0x6'),_0x354afe(_0x49971c,_0x57ae('0x3'))),this[_0x57ae('0x0')]();}[_0x57ae('0x0')](){const _0x3ea04f=this[_0x57ae('0x5')],_0x340a70=_0x3ea04f['locale'];_0x3ea04f[_0x57ae('0x10')]['get']('TrackChangesEditing')['_descriptionFactory']['registerDescriptionCallback'](_0xba8c7a=>{if('formatInline'!=_0xba8c7a['type'])return;const {data:_0xc1565b}=_0xba8c7a;if(_0xc1565b&&_0x57ae('0x6')==_0xc1565b[_0x57ae('0x9')]){const _0x5902b6=_0x340a70['t'],_0x5b962f=_0xc1565b['commandParams'][0x0]['value'];if(_0x5b962f){const _0x28ff76=_0x3ea04f[_0x57ae('0xc')]['get'](_0x57ae('0xf'))[_0x57ae('0x8')](_0x5d074f=>_0x5d074f[_0x57ae('0x1')]==_0x5b962f),_0x5ad66a=_0x5902b6(_0x28ff76[_0x57ae('0x4')])[_0x57ae('0x2')]();return{'type':'format','content':_0x354afe(_0x340a70,'*Set\x20highlight:*\x20%0',_0x5ad66a),'color':{'value':_0x28ff76[_0x57ae('0xb')],'title':_0x28ff76['title']}};}return{'type':'format','content':_0x354afe(_0x340a70,'*Remove\x20highlight*',_0x354afe(_0x340a70,_0x57ae('0x3')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x227a=['addClass','createEmptyElement','has','createContainerElement','horizontalLine','high','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','dataDowncast','conversion','plugins','HorizontalLineEditing','elementToStructure','showSuggestionHighlights','div','registerElementLabel','editor','insert','_descriptionFactory','for'];(function(_0x431fcf,_0x227a0d){const _0x4f92c1=function(_0x141f8d){while(--_0x141f8d){_0x431fcf['push'](_0x431fcf['shift']());}};_0x4f92c1(++_0x227a0d);}(_0x227a,0x17e));const _0x4f92=function(_0x431fcf,_0x227a0d){_0x431fcf=_0x431fcf-0x0;let _0x4f92c1=_0x227a[_0x431fcf];return _0x4f92c1;};import{Plugin as _0x3602ed}from'ckeditor5/src/core.js';import{getTranslation as _0x1b93ed}from'../utils/common-translations.js';export default class tt extends _0x3602ed{['afterInit'](){const _0xef86a8=this[_0x4f92('0xd')];if(!_0xef86a8[_0x4f92('0x7')][_0x4f92('0x13')](_0x4f92('0x8')))return;_0xef86a8[_0x4f92('0x7')]['get'](_0x4f92('0x2'))['enableCommand'](_0x4f92('0x0'));const _0x4ec117=_0xef86a8[_0x4f92('0x7')]['get'](_0x4f92('0x2')),_0x4e3a1e=_0xef86a8['locale'];_0x4ec117[_0x4f92('0xf')][_0x4f92('0xc')](_0x4f92('0x0'),_0x5b4760=>_0x1b93ed(_0x4e3a1e,_0x4f92('0x3'),_0x5b4760)),_0xef86a8[_0x4f92('0x6')][_0x4f92('0x10')](_0x4f92('0x5'))[_0x4f92('0x9')]({'model':'horizontalLine','view':(_0x187f01,{writer:_0x85b13,options:_0x41bdce})=>{if(!_0x41bdce[_0x4f92('0xa')])return null;const _0x488a50=_0x85b13[_0x4f92('0x14')](_0x4f92('0xb')),_0x1a1058=_0x85b13[_0x4f92('0x12')]('hr');return _0x85b13[_0x4f92('0x11')](_0x4f92('0x4'),_0x488a50),_0x85b13[_0x4f92('0xe')](_0x85b13['createPositionAt'](_0x488a50,0x0),_0x1a1058),_0x488a50;},'converterPriority':_0x4f92('0x1')});}}
23
+ const _0xbe0b=['createEmptyElement','registerElementLabel','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','high','insert','ck-horizontal-line','plugins','addClass','_descriptionFactory','editor','has','HorizontalLineEditing','horizontalLine','div','elementToStructure','showSuggestionHighlights','dataDowncast','for','get','conversion','locale'];(function(_0x75a6e6,_0xbe0b06){const _0x200930=function(_0x2260f1){while(--_0x2260f1){_0x75a6e6['push'](_0x75a6e6['shift']());}};_0x200930(++_0xbe0b06);}(_0xbe0b,0x82));const _0x2009=function(_0x75a6e6,_0xbe0b06){_0x75a6e6=_0x75a6e6-0x0;let _0x200930=_0xbe0b[_0x75a6e6];return _0x200930;};import{Plugin as _0x591cf0}from'ckeditor5/src/core.js';import{getTranslation as _0x2a09d4}from'../utils/common-translations.js';export default class tt extends _0x591cf0{['afterInit'](){const _0x47cb25=this[_0x2009('0xc')];if(!_0x47cb25[_0x2009('0x9')][_0x2009('0xd')](_0x2009('0xe')))return;_0x47cb25[_0x2009('0x9')][_0x2009('0x15')](_0x2009('0x5'))['enableCommand'](_0x2009('0xf'));const _0x4e1dd0=_0x47cb25['plugins'][_0x2009('0x15')](_0x2009('0x5')),_0x166fe7=_0x47cb25[_0x2009('0x1')];_0x4e1dd0[_0x2009('0xb')][_0x2009('0x3')]('horizontalLine',_0x3f6a7b=>_0x2a09d4(_0x166fe7,_0x2009('0x4'),_0x3f6a7b)),_0x47cb25[_0x2009('0x0')][_0x2009('0x14')](_0x2009('0x13'))[_0x2009('0x11')]({'model':_0x2009('0xf'),'view':(_0x4cd7ed,{writer:_0x5c1e89,options:_0x195162})=>{if(!_0x195162[_0x2009('0x12')])return null;const _0x5aad39=_0x5c1e89['createContainerElement'](_0x2009('0x10')),_0xa1903c=_0x5c1e89[_0x2009('0x2')]('hr');return _0x5c1e89[_0x2009('0xa')](_0x2009('0x8'),_0x5aad39),_0x5c1e89[_0x2009('0x7')](_0x5c1e89['createPositionAt'](_0x5aad39,0x0),_0xa1903c),_0x5aad39;},'converterPriority':_0x2009('0x6')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c43=['TrackChangesEditing','editor','locale','getFirstRange','rawHtml','key','start','_descriptionFactory','has','htmlEmbed','_enableDefaultAttributesIntegration','*Change\x20%0\x20content*','format','value','formatBlock','type','afterInit','attribute','_registerLegacyDescription','registerElementLabel','ELEMENT_HTML_EMBED','plugins','commandName'];(function(_0x2b78fe,_0x3c4308){const _0x3491de=function(_0x607b7){while(--_0x607b7){_0x2b78fe['push'](_0x2b78fe['shift']());}};_0x3491de(++_0x3c4308);}(_0x3c43,0x11a));const _0x3491=function(_0x2b78fe,_0x3c4308){_0x2b78fe=_0x2b78fe-0x0;let _0x3491de=_0x3c43[_0x2b78fe];return _0x3491de;};import{Plugin as _0x4a1dd7}from'ckeditor5/src/core.js';import{getTranslation as _0x1462a5}from'../utils/common-translations.js';export default class et extends _0x4a1dd7{[_0x3491('0xa')](){const _0x8886f4=this[_0x3491('0x12')];if(!_0x8886f4[_0x3491('0xf')][_0x3491('0x2')]('HtmlEmbed'))return;const _0x27b4dd=_0x8886f4[_0x3491('0xf')]['get'](_0x3491('0x11')),_0x281ffa=_0x8886f4['locale'];_0x27b4dd['_descriptionFactory'][_0x3491('0xd')](_0x3491('0x15'),_0x4114d5=>_0x1462a5(_0x281ffa,_0x3491('0xe'),_0x4114d5)),_0x27b4dd[_0x3491('0x4')](_0x3491('0x3'),[],[_0x3491('0x7')]),_0x27b4dd[_0x3491('0x1')]['registerDescriptionCallback'](_0x289e9d=>{if(_0x3491('0xb')!=_0x289e9d['type'])return;const {data:_0x30aa39}=_0x289e9d;if(_0x30aa39&&_0x3491('0x7')==_0x30aa39[_0x3491('0x16')]&&_0x289e9d[_0x3491('0x14')]()[_0x3491('0x0')]['nodeAfter']['is']('element',_0x3491('0x15'))){const _0x498103=_0x1462a5(_0x281ffa,_0x3491('0xe'));return{'type':_0x3491('0x6'),'content':_0x1462a5(_0x281ffa,_0x3491('0x5'),_0x498103)};}}),this[_0x3491('0xc')]();}[_0x3491('0xc')](){const _0x34b496=this[_0x3491('0x12')],_0x774a0f=_0x34b496[_0x3491('0x13')];_0x34b496[_0x3491('0xf')]['get'](_0x3491('0x11'))[_0x3491('0x1')]['registerDescriptionCallback'](_0x44cf40=>{if(_0x3491('0x8')!=_0x44cf40[_0x3491('0x9')])return;const {data:_0x3ac7ed}=_0x44cf40;if(_0x3ac7ed&&_0x3491('0x3')==_0x3ac7ed[_0x3491('0x10')]){const _0x282101=_0x1462a5(_0x774a0f,_0x3491('0xe'));return{'type':_0x3491('0x6'),'content':_0x1462a5(_0x774a0f,_0x3491('0x5'),_0x282101)};}});}}
23
+ const _0x25b4=['get','element','plugins','editor','formatBlock','_descriptionFactory','*Change\x20%0\x20content*','rawHtml','value','key','_enableDefaultAttributesIntegration','attribute','afterInit','ELEMENT_HTML_EMBED','_registerLegacyDescription','htmlEmbed','format','TrackChangesEditing','type','has','registerDescriptionCallback','locale','HtmlEmbed'];(function(_0x1a7697,_0x25b42b){const _0x582003=function(_0x45c940){while(--_0x45c940){_0x1a7697['push'](_0x1a7697['shift']());}};_0x582003(++_0x25b42b);}(_0x25b4,0xd3));const _0x5820=function(_0x1a7697,_0x25b42b){_0x1a7697=_0x1a7697-0x0;let _0x582003=_0x25b4[_0x1a7697];return _0x582003;};import{Plugin as _0x5a4698}from'ckeditor5/src/core.js';import{getTranslation as _0x106398}from'../utils/common-translations.js';export default class et extends _0x5a4698{[_0x5820('0x8')](){const _0xf21ba=this[_0x5820('0x16')];if(!_0xf21ba[_0x5820('0x15')][_0x5820('0xf')](_0x5820('0x12')))return;const _0x4e8add=_0xf21ba[_0x5820('0x15')]['get'](_0x5820('0xd')),_0x2e751e=_0xf21ba[_0x5820('0x11')];_0x4e8add[_0x5820('0x1')]['registerElementLabel'](_0x5820('0x3'),_0x51283c=>_0x106398(_0x2e751e,_0x5820('0x9'),_0x51283c)),_0x4e8add[_0x5820('0x6')](_0x5820('0xb'),[],['value']),_0x4e8add['_descriptionFactory'][_0x5820('0x10')](_0x80885a=>{if(_0x5820('0x7')!=_0x80885a[_0x5820('0xe')])return;const {data:_0x557dcd}=_0x80885a;if(_0x557dcd&&_0x5820('0x4')==_0x557dcd[_0x5820('0x5')]&&_0x80885a['getFirstRange']()['start']['nodeAfter']['is'](_0x5820('0x14'),'rawHtml')){const _0x3d5fcf=_0x106398(_0x2e751e,_0x5820('0x9'));return{'type':_0x5820('0xc'),'content':_0x106398(_0x2e751e,_0x5820('0x2'),_0x3d5fcf)};}}),this[_0x5820('0xa')]();}[_0x5820('0xa')](){const _0x5670de=this['editor'],_0x23b4ba=_0x5670de[_0x5820('0x11')];_0x5670de[_0x5820('0x15')][_0x5820('0x13')](_0x5820('0xd'))[_0x5820('0x1')][_0x5820('0x10')](_0x3cac5a=>{if(_0x5820('0x0')!=_0x3cac5a[_0x5820('0xe')])return;const {data:_0x479a69}=_0x3cac5a;if(_0x479a69&&_0x5820('0xb')==_0x479a69['commandName']){const _0x3c9d43=_0x106398(_0x23b4ba,_0x5820('0x9'));return{'type':_0x5820('0xc'),'content':_0x106398(_0x23b4ba,_0x5820('0x2'),_0x3c9d43)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2aa9=['Inline\x20image\x20to\x20block\x20image','*Reset\x20image\x20width*','end','getNearestSelectionRange','convertBlockImageToInline','join','imageTextAlternative','isIntersecting','_registerLegacyDescription','schema','_suggestionFactory','addObject','markInsertion','createRange','document','convertInlineImageToBlock','ImageEditing','imageTypeInline','change','editor','detach','ELEMENT_INLINE_IMAGE','afterInit','imageTypeBlock','commandParams','formatBlock','previous','isBlockImage','enableCommand','TrackChangesEditing','imageStylePreApply','model','resizedWidth','get','registerDescriptionCallback','ImageCaptionEditing','getFirstRange','*Set\x20image\x20text\x20alternative:*\x20%0','getClosestSelectedImageElement','insertImage','element','*Remove\x20image\x20text\x20alternative*','caption','ImageUtils','imageInline','locale','backward','discard','selection','isCollapsed','commandName','alt','markBlockFormat','start','resizeImage','nodeAfter','getSuggestionCallback','findIndex','chain','isEqual','fromPosition','ELEMENT_IMAGE','createRangeOn','_enableDefaultAttributesIntegration','ImageResize','plugins','deletion','*Set\x20image\x20width:*\x20%0','isOwn','toPrevious','isBefore','registerAttributeLabel','ImageTextAlternativeEditing','registerElementLabel','accept','ImageInlineEditing','nodeBefore','filter','_findSuggestions','has','length','FORMAT_IMAGE_SIZE','width','type','subType','forceDefaultExecution','imageCaption','formatInline','newValue','registerCustomCallback','getContainedElement','_descriptionFactory','insertion','format'];(function(_0x2d539d,_0x2aa9f2){const _0xa32b74=function(_0x1a7977){while(--_0x1a7977){_0x2d539d['push'](_0x2d539d['shift']());}};_0xa32b74(++_0x2aa9f2);}(_0x2aa9,0x122));const _0xa32b=function(_0x2d539d,_0x2aa9f2){_0x2d539d=_0x2d539d-0x0;let _0xa32b74=_0x2aa9[_0x2d539d];return _0xa32b74;};import{Plugin as _0x4634ca}from'ckeditor5/src/core.js';import{LivePosition as _0x467a13}from'ckeditor5/src/engine.js';import{getTranslation as _0x547086}from'../utils/common-translations.js';export default class it extends _0x4634ca{[_0xa32b('0xe')](){const _0x1f63f2=this['editor'];if(!_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x8')))return;const _0x192532=_0x1f63f2[_0xa32b('0x39')]['get']('TrackChangesEditing'),_0x4df73a=_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x19')](_0xa32b('0x23')),_0x3a1eae=_0x1f63f2[_0xa32b('0x25')];_0x192532[_0xa32b('0x14')](_0xa32b('0x1f')),_0x192532[_0xa32b('0x53')][_0xa32b('0x41')]('imageBlock',_0x2aa0d8=>_0x547086(_0x3a1eae,_0xa32b('0x35'),_0x2aa0d8)),_0x192532[_0xa32b('0x53')][_0xa32b('0x41')](_0xa32b('0x24'),_0xc97ad7=>_0x547086(_0x3a1eae,_0xa32b('0xd'),_0xc97ad7)),_0x192532[_0xa32b('0x53')]['registerElementLabel'](_0xa32b('0x22'),()=>_0x547086(_0x3a1eae,'ELEMENT_CAPTION')),_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')]('ImageUploadEditing')&&_0x192532[_0xa32b('0x14')]('uploadImage'),_0x1f63f2[_0xa32b('0x39')]['has']('ImageBlockEditing')&&_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x43'))&&(_0x192532[_0xa32b('0x14')]('imageTypeInline',(_0x4c72ce,_0x595306)=>{const _0x1f0d32=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2[_0xa32b('0x17')]['document']['selection']);_0x1f63f2[_0xa32b('0x17')][_0xa32b('0xa')](()=>{_0x192532['markBlockFormat'](_0x1f0d32,{'commandName':'imageTypeInline','commandParams':[_0x595306]},[],_0xa32b('0x5a'));});}),_0x192532[_0xa32b('0x14')](_0xa32b('0xf'),(_0x1af318,_0x4c440a)=>{_0x1f63f2[_0xa32b('0x17')][_0xa32b('0xa')](_0x8d027f=>{let _0x4e157c=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2[_0xa32b('0x17')]['document'][_0xa32b('0x28')]),_0x2fe0b1=_0x8d027f[_0xa32b('0x36')](_0x4e157c);const _0x3d7d33=_0x467a13['fromPosition'](_0x2fe0b1['start'],_0xa32b('0x3d')),_0x23325d=_0x467a13[_0xa32b('0x34')](_0x2fe0b1[_0xa32b('0x58')],'toNext');_0x192532[_0xa32b('0x4d')](()=>_0x1af318(_0x4c440a)),_0x4e157c=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2['model'][_0xa32b('0x6')][_0xa32b('0x28')]),_0x2fe0b1=_0x8d027f[_0xa32b('0x36')](_0x4e157c);const _0x5c7b4b=_0x8d027f[_0xa32b('0x5')](_0x3d7d33,_0x23325d);_0x3d7d33[_0xa32b('0xc')](),_0x23325d['detach'](),_0x192532[_0xa32b('0x2c')](_0x4e157c,{'commandName':_0xa32b('0x9'),'commandParams':[_0x4c440a]},[],'convertInlineImageToBlock'),_0x5c7b4b[_0xa32b('0x2d')][_0xa32b('0x3e')](_0x2fe0b1[_0xa32b('0x2d')])&&_0x192532['markInsertion'](_0x8d027f['createRange'](_0x5c7b4b[_0xa32b('0x2d')],_0x2fe0b1[_0xa32b('0x2d')]),_0xa32b('0x7')),_0x2fe0b1[_0xa32b('0x58')][_0xa32b('0x3e')](_0x5c7b4b['end'])&&_0x192532[_0xa32b('0x4')](_0x8d027f['createRange'](_0x2fe0b1['end'],_0x5c7b4b['end']),_0xa32b('0x7'));});}),_0x192532['_suggestionFactory'][_0xa32b('0x51')](_0xa32b('0x11'),_0xa32b('0x7'),_0xa32b('0x5b'),()=>!0x1),_0x192532[_0xa32b('0x2')][_0xa32b('0x51')](_0xa32b('0x11'),_0xa32b('0x7'),_0xa32b('0x42'),()=>!0x1),_0x192532[_0xa32b('0x2')][_0xa32b('0x51')](_0xa32b('0x11'),'convertInlineImageToBlock',_0xa32b('0x27'),_0x192532['_suggestionFactory']['getSuggestionCallback'](_0xa32b('0x11'),'','accept')),_0x192532[_0xa32b('0x2')][_0xa32b('0x51')](_0xa32b('0x54'),'convertInlineImageToBlock','join',()=>!0x1),_0x192532['_suggestionFactory'][_0xa32b('0x51')]('insertion',_0xa32b('0x7'),_0xa32b('0x27'),([_0x5e6db3])=>{const _0x58e0ca=_0x192532[_0xa32b('0x2')][_0xa32b('0x30')]('insertion','','discard');let _0x334f9d=_0x5e6db3['start'],_0x9cec37=_0x5e6db3[_0xa32b('0x58')];const _0x51b78a=_0x1f63f2['model'][_0xa32b('0x1')]['getNearestSelectionRange'](_0x334f9d,_0xa32b('0x26')),_0x488087=_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x1')][_0xa32b('0x59')](_0x9cec37,'forward');_0x51b78a[_0xa32b('0x29')]&&(_0x334f9d=_0x51b78a['start']),_0x488087[_0xa32b('0x29')]&&(_0x9cec37=_0x488087[_0xa32b('0x58')]),_0x58e0ca([_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x5')](_0x334f9d,_0x9cec37)]);}),_0x192532['_suggestionFactory'][_0xa32b('0x51')](_0xa32b('0x11'),_0xa32b('0x7'),_0xa32b('0x32'),_0x183f70),_0x192532['_suggestionFactory'][_0xa32b('0x51')](_0xa32b('0x54'),_0xa32b('0x7'),_0xa32b('0x32'),_0x183f70)),_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x1b'))&&(_0x192532[_0xa32b('0x14')]('toggleImageCaption',(_0x4a76a6,_0x2df82e)=>{const _0x5500fc=_0x1f63f2[_0xa32b('0x39')]['get']('ImageCaptionUtils');let _0x4b15ae=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x6')][_0xa32b('0x28')]),_0x2b964f=_0x5500fc['getCaptionFromImageModelElement'](_0x4b15ae);_0x1f63f2[_0xa32b('0x17')][_0xa32b('0xa')](()=>{if(_0x2b964f)return void _0x192532['markDeletion'](_0x1f63f2[_0xa32b('0x17')][_0xa32b('0x36')](_0x2b964f));const _0x45650e=_0x4df73a[_0xa32b('0x13')](_0x4b15ae);_0x4a76a6(_0x2df82e),_0x4b15ae=_0x4df73a[_0xa32b('0x1e')](_0x1f63f2['model']['document'][_0xa32b('0x28')]),_0x2b964f=_0x5500fc['getCaptionFromImageModelElement'](_0x4b15ae),_0x192532[_0xa32b('0x4')](_0x1f63f2['model']['createRangeOn'](_0x2b964f),_0x45650e?null:_0xa32b('0x4e'));});}),_0x192532[_0xa32b('0x2')]['registerCustomCallback']('insertion','imageCaption','chain',_0x183f70));const _0x2bfe45=[{'type':_0xa32b('0x11'),'subType':_0xa32b('0x16')},{'type':_0xa32b('0x54'),'subType':_0xa32b('0x4e')},{'type':_0xa32b('0x11'),'subType':_0xa32b('0x7')},{'type':_0xa32b('0x54'),'subType':_0xa32b('0x7')}];function _0x50dee7(_0x44fe9b,_0x3a7d8f){const _0xadad42=_0x2bfe45[_0xa32b('0x31')](({type:_0x478f11,subType:_0x883b23})=>_0x44fe9b['type']==_0x478f11&&_0x44fe9b[_0xa32b('0x4c')]==_0x883b23),_0x4b894b=_0x2bfe45['findIndex'](({type:_0x5c0a71,subType:_0x419b32})=>_0x3a7d8f['type']==_0x5c0a71&&_0x3a7d8f[_0xa32b('0x4c')]==_0x419b32);if(_0xadad42<0x0||_0x4b894b<0x0)return!0x1;const _0x25c463=_0x44fe9b[_0xa32b('0x1c')](),_0x2b6bc9=_0x3a7d8f[_0xa32b('0x1c')]();if((0x0==_0xadad42||0x1==_0xadad42)&&0x2==_0x4b894b&&_0x25c463[_0xa32b('0x5d')](_0x2b6bc9))return!0x0;if(0x2==_0xadad42&&0x3==_0x4b894b){const _0x5b8d52=_0x192532[_0xa32b('0x46')](_0x25c463,_0xa32b('0x54'))[_0xa32b('0x45')](({suggestion:_0x3e8e5d,meta:_0x31e541})=>_0x31e541[_0xa32b('0x3c')]&&_0xa32b('0x7')==_0x3e8e5d[_0xa32b('0x4c')]);if(_0x5b8d52[_0xa32b('0x48')]>0x1&&_0x2b6bc9[_0xa32b('0x58')][_0xa32b('0x33')](_0x25c463['start']))return!0x0;if(0x1==_0x5b8d52[_0xa32b('0x48')]&&(_0x25c463[_0xa32b('0x2d')][_0xa32b('0x33')](_0x2b6bc9[_0xa32b('0x58')])||_0x25c463[_0xa32b('0x58')][_0xa32b('0x33')](_0x2b6bc9[_0xa32b('0x2d')])))return!0x0;}if(0x3==_0xadad42&&0x3==_0x4b894b&&_0x25c463[_0xa32b('0x2d')]['isBefore'](_0x2b6bc9['start'])){const _0x23c93b=_0x25c463[_0xa32b('0x58')][_0xa32b('0x2f')],_0x2d2f49=_0x2b6bc9[_0xa32b('0x2d')][_0xa32b('0x44')];return _0x4df73a[_0xa32b('0x13')](_0x23c93b)&&_0x23c93b===_0x2d2f49;}return!0x1;}function _0x183f70(_0x311f2f,_0x51acd6){return _0x50dee7(_0x311f2f,_0x51acd6)?[_0x311f2f,_0x51acd6]:_0x50dee7(_0x51acd6,_0x311f2f)?[_0x51acd6,_0x311f2f]:null;}_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x38'))&&(_0x192532[_0xa32b('0x37')](_0xa32b('0x2e'),[],['resizedWidth']),_0x192532[_0xa32b('0x53')][_0xa32b('0x3f')](_0xa32b('0x18'),_0x547086(_0x3a1eae,_0xa32b('0x49')))),_0x1f63f2[_0xa32b('0x39')][_0xa32b('0x47')](_0xa32b('0x40'))&&_0x192532[_0xa32b('0x37')](_0xa32b('0x5c'),[],['alt']),_0x192532['_descriptionFactory']['registerDescriptionCallback'](_0x3c4e95=>{if(!!_0x2bfe45['find'](({type:_0x455d1b,subType:_0x3acc99})=>_0x3c4e95[_0xa32b('0x4b')]==_0x455d1b&&_0x3c4e95[_0xa32b('0x4c')]==_0x3acc99))return _0x3c4e95[_0xa32b('0x12')]?{}:void 0x0;}),_0x192532[_0xa32b('0x53')][_0xa32b('0x1a')](_0x1151b3=>{if(_0xa32b('0x54')==_0x1151b3[_0xa32b('0x4b')]||_0xa32b('0x3a')==_0x1151b3['type']){const _0x443b11=_0x1151b3[_0xa32b('0x52')]();if(_0x443b11&&_0x443b11['is'](_0xa32b('0x20'),'caption'))return{'type':'insertion'==_0x1151b3[_0xa32b('0x4b')]?_0xa32b('0x3'):'removeObject','element':_0x443b11,'quantity':0x1};}}),_0x192532[_0xa32b('0x53')][_0xa32b('0x1a')](_0x3b9073=>'formatBlock'==_0x3b9073[_0xa32b('0x4b')]&&'convertInlineImageToBlock'==_0x3b9073[_0xa32b('0x4c')]?{'type':_0xa32b('0x55'),'content':_0xa32b('0x56')}:'formatBlock'==_0x3b9073[_0xa32b('0x4b')]&&'convertBlockImageToInline'==_0x3b9073[_0xa32b('0x4c')]?{'type':_0xa32b('0x55'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x192532[_0xa32b('0x53')]['registerDescriptionCallback'](_0x4e9c47=>{if('attribute'!=_0x4e9c47[_0xa32b('0x4b')])return;const {data:_0x284b20}=_0x4e9c47;if(!_0x284b20||_0xa32b('0x2b')!=_0x284b20['key'])return;const _0xc7df45=_0x284b20['newValue'];return _0xc7df45?{'type':_0xa32b('0x55'),'content':_0x547086(_0x3a1eae,_0xa32b('0x1d'),'\x22'+_0xc7df45+'\x22')}:{'type':'format','content':_0x547086(_0x3a1eae,_0xa32b('0x21'))};}),this[_0xa32b('0x0')]();}['_registerLegacyDescription'](){const _0x533a1c=this[_0xa32b('0xb')],_0x298ec9=_0x533a1c[_0xa32b('0x25')];_0x533a1c['plugins']['get'](_0xa32b('0x15'))[_0xa32b('0x53')][_0xa32b('0x1a')](_0x4054ce=>{if(_0xa32b('0x11')!=_0x4054ce['type']&&_0xa32b('0x4f')!=_0x4054ce[_0xa32b('0x4b')])return;const {data:_0xc7f8fa}=_0x4054ce;if(_0xc7f8fa){if(_0xa32b('0x5c')==_0xc7f8fa[_0xa32b('0x2a')]){const _0x42cf68=_0xc7f8fa[_0xa32b('0x10')][0x0][_0xa32b('0x50')];return _0x42cf68?{'type':_0xa32b('0x55'),'content':_0x547086(_0x298ec9,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x42cf68+'\x22')}:{'type':_0xa32b('0x55'),'content':_0x547086(_0x298ec9,'*Remove\x20image\x20text\x20alternative*')};}if(_0xa32b('0x2e')==_0xc7f8fa[_0xa32b('0x2a')]){const _0x1a2ea6=_0xc7f8fa['commandParams'][0x0][_0xa32b('0x4a')];return _0x1a2ea6?{'type':_0xa32b('0x55'),'content':_0x547086(_0x298ec9,_0xa32b('0x3b'),_0x1a2ea6)}:{'type':'format','content':_0x547086(_0x298ec9,_0xa32b('0x57'))};}}});}}
23
+ const _0x2133=['*Reset\x20image\x20width*','forward','getNearestSelectionRange','toNext','ImageTextAlternativeEditing','newValue','commandParams','discard','nodeBefore','filter','chain','start','formatInline','detach','markBlockFormat','registerCustomCallback','TrackChangesEditing','imageTypeInline','ImageCaptionUtils','_findSuggestions','_suggestionFactory','plugins','ELEMENT_CAPTION','previous','createRangeOn','ImageUtils','element','locale','isEqual','change','insertion','ImageUploadEditing','Inline\x20image\x20to\x20block\x20image','schema','get','registerDescriptionCallback','convertBlockImageToInline','markInsertion','getContainedElement','find','_descriptionFactory','imageTextAlternative','length','join','isOwn','fromPosition','end','imageStylePreApply','ELEMENT_IMAGE','ImageEditing','model','isCollapsed','isBefore','caption','imageCaption','findIndex','subType','commandName','type','toggleImageCaption','ImageInlineEditing','imageTypeBlock','selection','getSuggestionCallback','document','*Set\x20image\x20width:*\x20%0','format','enableCommand','createRange','registerElementLabel','has','formatBlock','imageInline','*Remove\x20image\x20text\x20alternative*','addObject','deletion','toPrevious','uploadImage','insertImage','forceDefaultExecution','nodeAfter','accept','Block\x20image\x20to\x20inline\x20image','*Set\x20image\x20text\x20alternative:*\x20%0','markDeletion','afterInit','backward','_registerLegacyDescription','width','getFirstRange','isBlockImage','editor','convertInlineImageToBlock','resizedWidth','removeObject','key','getClosestSelectedImageElement','imageBlock','isIntersecting','_enableDefaultAttributesIntegration','resizeImage'];(function(_0x4e89ba,_0x2133c3){const _0x2c55a9=function(_0x39f6b6){while(--_0x39f6b6){_0x4e89ba['push'](_0x4e89ba['shift']());}};_0x2c55a9(++_0x2133c3);}(_0x2133,0x1ae));const _0x2c55=function(_0x4e89ba,_0x2133c3){_0x4e89ba=_0x4e89ba-0x0;let _0x2c55a9=_0x2133[_0x4e89ba];return _0x2c55a9;};import{Plugin as _0xf96540}from'ckeditor5/src/core.js';import{LivePosition as _0x4f8d00}from'ckeditor5/src/engine.js';import{getTranslation as _0x59a6bc}from'../utils/common-translations.js';export default class it extends _0xf96540{[_0x2c55('0x3b')](){const _0x33dd42=this[_0x2c55('0x41')];if(!_0x33dd42[_0x2c55('0x60')]['has'](_0x2c55('0x17')))return;const _0x20712b=_0x33dd42[_0x2c55('0x60')][_0x2c55('0x8')](_0x2c55('0x5b')),_0x17fae1=_0x33dd42['plugins'][_0x2c55('0x8')](_0x2c55('0x64')),_0x1b4588=_0x33dd42['locale'];_0x20712b[_0x2c55('0x29')](_0x2c55('0x34')),_0x20712b[_0x2c55('0xe')][_0x2c55('0x2b')](_0x2c55('0x47'),_0x406e53=>_0x59a6bc(_0x1b4588,_0x2c55('0x16'),_0x406e53)),_0x20712b['_descriptionFactory'][_0x2c55('0x2b')](_0x2c55('0x2e'),_0x2b0722=>_0x59a6bc(_0x1b4588,'ELEMENT_INLINE_IMAGE',_0x2b0722)),_0x20712b[_0x2c55('0xe')][_0x2c55('0x2b')]('caption',()=>_0x59a6bc(_0x1b4588,_0x2c55('0x61'))),_0x33dd42[_0x2c55('0x60')][_0x2c55('0x2c')](_0x2c55('0x5'))&&_0x20712b[_0x2c55('0x29')](_0x2c55('0x33')),_0x33dd42[_0x2c55('0x60')][_0x2c55('0x2c')]('ImageBlockEditing')&&_0x33dd42[_0x2c55('0x60')][_0x2c55('0x2c')](_0x2c55('0x22'))&&(_0x20712b['enableCommand'](_0x2c55('0x5c'),(_0x236079,_0xd43dde)=>{const _0x5130d2=_0x17fae1['getClosestSelectedImageElement'](_0x33dd42['model']['document'][_0x2c55('0x24')]);_0x33dd42[_0x2c55('0x18')]['change'](()=>{_0x20712b[_0x2c55('0x59')](_0x5130d2,{'commandName':'imageTypeInline','commandParams':[_0xd43dde]},[],_0x2c55('0xa'));});}),_0x20712b[_0x2c55('0x29')](_0x2c55('0x23'),(_0x1d7b1b,_0x3a8620)=>{_0x33dd42['model'][_0x2c55('0x3')](_0x1e7e56=>{let _0x48f994=_0x17fae1[_0x2c55('0x46')](_0x33dd42[_0x2c55('0x18')]['document'][_0x2c55('0x24')]),_0x3e59d7=_0x1e7e56[_0x2c55('0x63')](_0x48f994);const _0x359245=_0x4f8d00[_0x2c55('0x13')](_0x3e59d7[_0x2c55('0x56')],_0x2c55('0x32')),_0x91630f=_0x4f8d00['fromPosition'](_0x3e59d7['end'],_0x2c55('0x4e'));_0x20712b[_0x2c55('0x35')](()=>_0x1d7b1b(_0x3a8620)),_0x48f994=_0x17fae1[_0x2c55('0x46')](_0x33dd42[_0x2c55('0x18')][_0x2c55('0x26')][_0x2c55('0x24')]),_0x3e59d7=_0x1e7e56['createRangeOn'](_0x48f994);const _0x11fd7e=_0x1e7e56[_0x2c55('0x2a')](_0x359245,_0x91630f);_0x359245['detach'](),_0x91630f[_0x2c55('0x58')](),_0x20712b[_0x2c55('0x59')](_0x48f994,{'commandName':'imageTypeInline','commandParams':[_0x3a8620]},[],_0x2c55('0x42')),_0x11fd7e[_0x2c55('0x56')][_0x2c55('0x1a')](_0x3e59d7['start'])&&_0x20712b['markInsertion'](_0x1e7e56[_0x2c55('0x2a')](_0x11fd7e['start'],_0x3e59d7[_0x2c55('0x56')]),'convertInlineImageToBlock'),_0x3e59d7[_0x2c55('0x14')][_0x2c55('0x1a')](_0x11fd7e[_0x2c55('0x14')])&&_0x20712b[_0x2c55('0xb')](_0x1e7e56['createRange'](_0x3e59d7[_0x2c55('0x14')],_0x11fd7e[_0x2c55('0x14')]),_0x2c55('0x42'));});}),_0x20712b[_0x2c55('0x5f')][_0x2c55('0x5a')](_0x2c55('0x2d'),_0x2c55('0x42'),_0x2c55('0x11'),()=>!0x1),_0x20712b[_0x2c55('0x5f')]['registerCustomCallback'](_0x2c55('0x2d'),_0x2c55('0x42'),_0x2c55('0x37'),()=>!0x1),_0x20712b[_0x2c55('0x5f')]['registerCustomCallback'](_0x2c55('0x2d'),'convertInlineImageToBlock','discard',_0x20712b[_0x2c55('0x5f')][_0x2c55('0x25')](_0x2c55('0x2d'),'',_0x2c55('0x37'))),_0x20712b['_suggestionFactory'][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x42'),_0x2c55('0x11'),()=>!0x1),_0x20712b[_0x2c55('0x5f')][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x42'),'discard',([_0x5e33ab])=>{const _0x431b7c=_0x20712b['_suggestionFactory'][_0x2c55('0x25')]('insertion','',_0x2c55('0x52'));let _0x478503=_0x5e33ab['start'],_0x156394=_0x5e33ab[_0x2c55('0x14')];const _0x106f70=_0x33dd42[_0x2c55('0x18')][_0x2c55('0x7')][_0x2c55('0x4d')](_0x478503,_0x2c55('0x3c')),_0x3609a0=_0x33dd42[_0x2c55('0x18')]['schema'][_0x2c55('0x4d')](_0x156394,_0x2c55('0x4c'));_0x106f70['isCollapsed']&&(_0x478503=_0x106f70[_0x2c55('0x56')]),_0x3609a0[_0x2c55('0x19')]&&(_0x156394=_0x3609a0[_0x2c55('0x14')]),_0x431b7c([_0x33dd42[_0x2c55('0x18')]['createRange'](_0x478503,_0x156394)]);}),_0x20712b[_0x2c55('0x5f')]['registerCustomCallback']('formatBlock',_0x2c55('0x42'),_0x2c55('0x55'),_0x8f121d),_0x20712b[_0x2c55('0x5f')][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x42'),_0x2c55('0x55'),_0x8f121d)),_0x33dd42['plugins'][_0x2c55('0x2c')]('ImageCaptionEditing')&&(_0x20712b[_0x2c55('0x29')](_0x2c55('0x21'),(_0x308cc1,_0x460e1e)=>{const _0x267a69=_0x33dd42[_0x2c55('0x60')][_0x2c55('0x8')](_0x2c55('0x5d'));let _0x6f12ae=_0x17fae1[_0x2c55('0x46')](_0x33dd42['model'][_0x2c55('0x26')][_0x2c55('0x24')]),_0x3f9cf2=_0x267a69['getCaptionFromImageModelElement'](_0x6f12ae);_0x33dd42[_0x2c55('0x18')][_0x2c55('0x3')](()=>{if(_0x3f9cf2)return void _0x20712b[_0x2c55('0x3a')](_0x33dd42['model'][_0x2c55('0x63')](_0x3f9cf2));const _0x43dca2=_0x17fae1[_0x2c55('0x40')](_0x6f12ae);_0x308cc1(_0x460e1e),_0x6f12ae=_0x17fae1[_0x2c55('0x46')](_0x33dd42[_0x2c55('0x18')]['document'][_0x2c55('0x24')]),_0x3f9cf2=_0x267a69['getCaptionFromImageModelElement'](_0x6f12ae),_0x20712b[_0x2c55('0xb')](_0x33dd42['model'][_0x2c55('0x63')](_0x3f9cf2),_0x43dca2?null:'imageCaption');});}),_0x20712b['_suggestionFactory'][_0x2c55('0x5a')](_0x2c55('0x4'),_0x2c55('0x1c'),_0x2c55('0x55'),_0x8f121d));const _0x2b0b62=[{'type':_0x2c55('0x2d'),'subType':_0x2c55('0x15')},{'type':_0x2c55('0x4'),'subType':_0x2c55('0x1c')},{'type':_0x2c55('0x2d'),'subType':_0x2c55('0x42')},{'type':_0x2c55('0x4'),'subType':'convertInlineImageToBlock'}];function _0xac846c(_0x29eb48,_0x5aff1a){const _0x545068=_0x2b0b62['findIndex'](({type:_0x275f62,subType:_0x3ec08e})=>_0x29eb48[_0x2c55('0x20')]==_0x275f62&&_0x29eb48[_0x2c55('0x1e')]==_0x3ec08e),_0x1b9daa=_0x2b0b62[_0x2c55('0x1d')](({type:_0x56b627,subType:_0x4f6aaa})=>_0x5aff1a['type']==_0x56b627&&_0x5aff1a[_0x2c55('0x1e')]==_0x4f6aaa);if(_0x545068<0x0||_0x1b9daa<0x0)return!0x1;const _0x226e78=_0x29eb48['getFirstRange'](),_0x2ec6bc=_0x5aff1a[_0x2c55('0x3f')]();if((0x0==_0x545068||0x1==_0x545068)&&0x2==_0x1b9daa&&_0x226e78[_0x2c55('0x48')](_0x2ec6bc))return!0x0;if(0x2==_0x545068&&0x3==_0x1b9daa){const _0x1d0b85=_0x20712b[_0x2c55('0x5e')](_0x226e78,_0x2c55('0x4'))[_0x2c55('0x54')](({suggestion:_0x47bfa0,meta:_0x2f2ae0})=>_0x2f2ae0[_0x2c55('0x12')]&&_0x2c55('0x42')==_0x47bfa0[_0x2c55('0x1e')]);if(_0x1d0b85[_0x2c55('0x10')]>0x1&&_0x2ec6bc[_0x2c55('0x14')][_0x2c55('0x2')](_0x226e78[_0x2c55('0x56')]))return!0x0;if(0x1==_0x1d0b85[_0x2c55('0x10')]&&(_0x226e78['start']['isEqual'](_0x2ec6bc[_0x2c55('0x14')])||_0x226e78['end'][_0x2c55('0x2')](_0x2ec6bc[_0x2c55('0x56')])))return!0x0;}if(0x3==_0x545068&&0x3==_0x1b9daa&&_0x226e78[_0x2c55('0x56')]['isBefore'](_0x2ec6bc[_0x2c55('0x56')])){const _0x3e7625=_0x226e78[_0x2c55('0x14')][_0x2c55('0x36')],_0x2f786e=_0x2ec6bc['start'][_0x2c55('0x53')];return _0x17fae1['isBlockImage'](_0x3e7625)&&_0x3e7625===_0x2f786e;}return!0x1;}function _0x8f121d(_0x1a10e2,_0x1f94a7){return _0xac846c(_0x1a10e2,_0x1f94a7)?[_0x1a10e2,_0x1f94a7]:_0xac846c(_0x1f94a7,_0x1a10e2)?[_0x1f94a7,_0x1a10e2]:null;}_0x33dd42['plugins'][_0x2c55('0x2c')]('ImageResize')&&(_0x20712b[_0x2c55('0x49')]('resizeImage',[],[_0x2c55('0x43')]),_0x20712b['_descriptionFactory']['registerAttributeLabel'](_0x2c55('0x43'),_0x59a6bc(_0x1b4588,'FORMAT_IMAGE_SIZE'))),_0x33dd42['plugins']['has'](_0x2c55('0x4f'))&&_0x20712b['_enableDefaultAttributesIntegration'](_0x2c55('0xf'),[],['alt']),_0x20712b[_0x2c55('0xe')][_0x2c55('0x9')](_0x553d4b=>{if(!!_0x2b0b62[_0x2c55('0xd')](({type:_0x146cf6,subType:_0x50bcbf})=>_0x553d4b['type']==_0x146cf6&&_0x553d4b[_0x2c55('0x1e')]==_0x50bcbf))return _0x553d4b[_0x2c55('0x62')]?{}:void 0x0;}),_0x20712b[_0x2c55('0xe')][_0x2c55('0x9')](_0x322046=>{if(_0x2c55('0x4')==_0x322046['type']||_0x2c55('0x31')==_0x322046[_0x2c55('0x20')]){const _0x101fff=_0x322046[_0x2c55('0xc')]();if(_0x101fff&&_0x101fff['is'](_0x2c55('0x0'),_0x2c55('0x1b')))return{'type':_0x2c55('0x4')==_0x322046['type']?_0x2c55('0x30'):_0x2c55('0x44'),'element':_0x101fff,'quantity':0x1};}}),_0x20712b['_descriptionFactory'][_0x2c55('0x9')](_0x4246a8=>_0x2c55('0x2d')==_0x4246a8['type']&&_0x2c55('0x42')==_0x4246a8[_0x2c55('0x1e')]?{'type':_0x2c55('0x28'),'content':_0x2c55('0x6')}:_0x2c55('0x2d')==_0x4246a8[_0x2c55('0x20')]&&_0x2c55('0xa')==_0x4246a8[_0x2c55('0x1e')]?{'type':_0x2c55('0x28'),'content':_0x2c55('0x38')}:void 0x0),_0x20712b[_0x2c55('0xe')][_0x2c55('0x9')](_0x14a969=>{if('attribute'!=_0x14a969[_0x2c55('0x20')])return;const {data:_0x3ad7ee}=_0x14a969;if(!_0x3ad7ee||'alt'!=_0x3ad7ee[_0x2c55('0x45')])return;const _0x54fc9a=_0x3ad7ee[_0x2c55('0x50')];return _0x54fc9a?{'type':'format','content':_0x59a6bc(_0x1b4588,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x54fc9a+'\x22')}:{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x1b4588,_0x2c55('0x2f'))};}),this[_0x2c55('0x3d')]();}['_registerLegacyDescription'](){const _0x58fbd0=this[_0x2c55('0x41')],_0x246a7c=_0x58fbd0[_0x2c55('0x1')];_0x58fbd0['plugins'][_0x2c55('0x8')](_0x2c55('0x5b'))['_descriptionFactory']['registerDescriptionCallback'](_0x2b10b1=>{if(_0x2c55('0x2d')!=_0x2b10b1[_0x2c55('0x20')]&&_0x2c55('0x57')!=_0x2b10b1[_0x2c55('0x20')])return;const {data:_0x263f9d}=_0x2b10b1;if(_0x263f9d){if(_0x2c55('0xf')==_0x263f9d[_0x2c55('0x1f')]){const _0x589824=_0x263f9d[_0x2c55('0x51')][0x0]['newValue'];return _0x589824?{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,_0x2c55('0x39'),'\x22'+_0x589824+'\x22')}:{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,'*Remove\x20image\x20text\x20alternative*')};}if(_0x2c55('0x4a')==_0x263f9d[_0x2c55('0x1f')]){const _0x25c5a2=_0x263f9d[_0x2c55('0x51')][0x0][_0x2c55('0x3e')];return _0x25c5a2?{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,_0x2c55('0x27'),_0x25c5a2)}:{'type':_0x2c55('0x28'),'content':_0x59a6bc(_0x246a7c,_0x2c55('0x4b'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c1b=['get','format','attribute','formatBlock','_descriptionFactory','_suggestionFactory','replaceImageSource','editor','getSuggestionCallback','commandName','type','_handleLegacySuggestions','registerCustomCallback','_enableDefaultAttributesIntegration','_registerLegacyDescription','newValue','afterInit','plugins','ImageEditing','formatInline','registerDescriptionCallback','*Format:*\x20replace\x20image\x20URL','TrackChangesEditing','key','has','src','locale'];(function(_0x4d45b6,_0x5c1b68){const _0x11ea75=function(_0x4eaa0b){while(--_0x4eaa0b){_0x4d45b6['push'](_0x4d45b6['shift']());}};_0x11ea75(++_0x5c1b68);}(_0x5c1b,0x1a8));const _0x11ea=function(_0x4d45b6,_0x5c1b68){_0x4d45b6=_0x4d45b6-0x0;let _0x11ea75=_0x5c1b[_0x4d45b6];return _0x11ea75;};import{Plugin as _0x4c39fb}from'ckeditor5/src/core.js';import{getTranslation as _0x30925c}from'../utils/common-translations.js';export default class st extends _0x4c39fb{[_0x11ea('0x18')](){if(!this[_0x11ea('0xf')][_0x11ea('0x19')][_0x11ea('0x5')](_0x11ea('0x1a')))return;const _0x12d6cd=this[_0x11ea('0xf')][_0x11ea('0x7')],_0xe68bd0=this['editor'][_0x11ea('0x19')]['get']('TrackChangesEditing');_0xe68bd0[_0x11ea('0x15')](_0x11ea('0xe'),[],['src']),_0xe68bd0[_0x11ea('0xc')][_0x11ea('0x1')](_0x35ca1f=>{if(_0x11ea('0xa')!=_0x35ca1f[_0x11ea('0x12')])return;const {data:_0x1a027b}=_0x35ca1f;return _0x1a027b&&_0x11ea('0x6')==_0x1a027b[_0x11ea('0x4')]?_0x1a027b[_0x11ea('0x17')]&&_0x1a027b['oldValue']?{'type':_0x11ea('0x9'),'content':_0x30925c(_0x12d6cd,'*Replace\x20image\x20URL*')}:{'type':'format','content':''}:void 0x0;}),this[_0x11ea('0x13')]();}[_0x11ea('0x13')](){const _0x224a04=this['editor'][_0x11ea('0x19')][_0x11ea('0x8')]('TrackChangesEditing');_0x224a04[_0x11ea('0xd')][_0x11ea('0x14')](_0x11ea('0xb'),_0x11ea('0xe'),'accept',_0x224a04['_suggestionFactory'][_0x11ea('0x10')](_0x11ea('0xb'),null,'discard')),_0x224a04[_0x11ea('0xd')][_0x11ea('0x14')](_0x11ea('0xb'),'replaceImageSource','discard',_0x224a04[_0x11ea('0xd')][_0x11ea('0x10')]('formatBlock',null,'accept')),this[_0x11ea('0x16')]();}[_0x11ea('0x16')](){const _0x48a367=this[_0x11ea('0xf')],_0x2e953d=_0x48a367['locale'];_0x48a367[_0x11ea('0x19')][_0x11ea('0x8')](_0x11ea('0x3'))[_0x11ea('0xc')][_0x11ea('0x1')](_0x481d25=>{if('formatBlock'!=_0x481d25['type']&&_0x11ea('0x0')!=_0x481d25[_0x11ea('0x12')])return;const {data:_0x396189}=_0x481d25;if(!_0x396189||_0x11ea('0xe')!=_0x396189[_0x11ea('0x11')])return;return{'type':_0x11ea('0x9'),'content':_0x30925c(_0x2e953d,_0x11ea('0x2'))};});}}
23
+ const _0x1a20=['registerDescriptionCallback','key','formatBlock','formatInline','registerCustomCallback','*Replace\x20image\x20URL*','has','plugins','replaceImageSource','src','format','TrackChangesEditing','ImageEditing','getSuggestionCallback','accept','locale','editor','type','afterInit','attribute','_suggestionFactory','_handleLegacySuggestions','oldValue','get','_registerLegacyDescription','*Format:*\x20replace\x20image\x20URL','_descriptionFactory'];(function(_0x2d2c05,_0x1a209c){const _0x58076a=function(_0x8b1ddc){while(--_0x8b1ddc){_0x2d2c05['push'](_0x2d2c05['shift']());}};_0x58076a(++_0x1a209c);}(_0x1a20,0x121));const _0x5807=function(_0x2d2c05,_0x1a209c){_0x2d2c05=_0x2d2c05-0x0;let _0x58076a=_0x1a20[_0x2d2c05];return _0x58076a;};import{Plugin as _0x33555b}from'ckeditor5/src/core.js';import{getTranslation as _0x56b6cf}from'../utils/common-translations.js';export default class st extends _0x33555b{[_0x5807('0x1a')](){if(!this[_0x5807('0x18')]['plugins'][_0x5807('0xe')](_0x5807('0x14')))return;const _0x23e954=this['editor'][_0x5807('0x17')],_0x31cb78=this[_0x5807('0x18')][_0x5807('0xf')][_0x5807('0x4')](_0x5807('0x13'));_0x31cb78['_enableDefaultAttributesIntegration']('replaceImageSource',[],['src']),_0x31cb78[_0x5807('0x7')][_0x5807('0x8')](_0x466157=>{if(_0x5807('0x0')!=_0x466157['type'])return;const {data:_0x2573aa}=_0x466157;return _0x2573aa&&_0x5807('0x11')==_0x2573aa[_0x5807('0x9')]?_0x2573aa['newValue']&&_0x2573aa[_0x5807('0x3')]?{'type':_0x5807('0x12'),'content':_0x56b6cf(_0x23e954,_0x5807('0xd'))}:{'type':_0x5807('0x12'),'content':''}:void 0x0;}),this[_0x5807('0x2')]();}['_handleLegacySuggestions'](){const _0x4b650f=this['editor']['plugins'][_0x5807('0x4')](_0x5807('0x13'));_0x4b650f[_0x5807('0x1')][_0x5807('0xc')]('formatBlock',_0x5807('0x10'),_0x5807('0x16'),_0x4b650f[_0x5807('0x1')][_0x5807('0x15')](_0x5807('0xa'),null,'discard')),_0x4b650f[_0x5807('0x1')][_0x5807('0xc')](_0x5807('0xa'),_0x5807('0x10'),'discard',_0x4b650f[_0x5807('0x1')][_0x5807('0x15')](_0x5807('0xa'),null,_0x5807('0x16'))),this['_registerLegacyDescription']();}[_0x5807('0x5')](){const _0x306422=this[_0x5807('0x18')],_0x424467=_0x306422['locale'];_0x306422[_0x5807('0xf')][_0x5807('0x4')](_0x5807('0x13'))[_0x5807('0x7')][_0x5807('0x8')](_0x3c4580=>{if('formatBlock'!=_0x3c4580[_0x5807('0x19')]&&_0x5807('0xb')!=_0x3c4580['type'])return;const {data:_0x4d473b}=_0x3c4580;if(!_0x4d473b||'replaceImageSource'!=_0x4d473b['commandName'])return;return{'type':_0x5807('0x12'),'content':_0x56b6cf(_0x424467,_0x5807('0x6'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4579=['registerDescriptionCallback','isEqual','next','start','filter','suggestion','isBefore','head','accept','convertInlineImageToBlock','formatBlock','normalizedStyles','type','createRangeOn','commands','document','ImageStyleEditing','_splitMarkerName','end','_findSuggestions','registerPostFixer','formatInline','has','imageStylePostApply','side','commandReversedParams','editor','imageStylePreApply','isInContent','name','_descriptionFactory','commandParams','markBlockFormat','discard','nodeBefore','findIndex','getSuggestionCallback','join','model','_suggestionFactory','get','getSuggestions','discardSuggestion','Users','getChangedMarkers','format','refresh','isOwn','hasSuggestion','enableCommand','imageStyle','getContainedElement','isInlineImage','*Format:*\x20%0','commandName','chain','nodeAfter','value','getFirstRange','isIntersecting','ImageUtils','insertion','imageTypeInline','selection','getSuggestion','forEach','getClosestSelectedImageElement','newRange','plugins','imageTypeBlock','imageCaption','isBlockImage','registerCustomCallback','TrackChangesEditing','subType'];(function(_0x344ae0,_0x4579a0){const _0xfc46ae=function(_0xdd7666){while(--_0xdd7666){_0x344ae0['push'](_0x344ae0['shift']());}};_0xfc46ae(++_0x4579a0);}(_0x4579,0x13f));const _0xfc46=function(_0x344ae0,_0x4579a0){_0x344ae0=_0x344ae0-0x0;let _0xfc46ae=_0x4579[_0x344ae0];return _0xfc46ae;};import{Plugin as _0x3c0e6a}from'ckeditor5/src/core.js';import{uid as _0x31990e}from'ckeditor5/src/utils.js';import{getTranslation as _0x4b9fe6}from'../utils/common-translations.js';export default class nt extends _0x3c0e6a{['afterInit'](){const _0xddc003=this[_0xfc46('0x7')];if(!_0xddc003[_0xfc46('0x31')][_0xfc46('0x3')](_0xfc46('0x48')))return;const _0x86b4d2=_0xddc003['plugins']['get'](_0xfc46('0x36')),_0x128887=_0xddc003['plugins'][_0xfc46('0x15')](_0xfc46('0x29')),_0x2b7dce={};_0x86b4d2[_0xfc46('0x1e')](_0xfc46('0x1f'),(_0x547711,_0x11f147)=>{const _0x2fcbb5=_0xddc003['plugins'][_0xfc46('0x15')](_0xfc46('0x18'))['me'],_0x402c26=_0xddc003[_0xfc46('0x46')][_0xfc46('0x15')](_0xfc46('0x1f'));let _0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')][_0xfc46('0x2c')]),_0x221b76=_0xddc003['model']['createRangeOn'](_0x350684),_0x2c2350=_0x402c26['value'];if(_0x2c2350==_0x11f147[_0xfc46('0x26')])return;const _0x11def5={'commandName':_0xfc46('0x1f'),'commandParams':[_0x11f147],'formatGroupId':_0x31990e()};_0xddc003[_0xfc46('0x13')]['change'](()=>{if(_0x86b4d2[_0xfc46('0x16')]()[_0xfc46('0x3c')](_0x410a1b=>_0x410a1b[_0xfc46('0x9')]&&_0x2fcbb5==_0x410a1b['author']&&(_0xfc46('0x42')==_0x410a1b[_0xfc46('0x44')]||_0xfc46('0x2')==_0x410a1b[_0xfc46('0x44')])&&(_0xfc46('0x8')==_0x410a1b[_0xfc46('0x37')]||'imageStylePostApply'==_0x410a1b[_0xfc46('0x37')])&&_0x410a1b[_0xfc46('0x27')]()[_0xfc46('0x39')](_0x221b76))[_0xfc46('0x2e')](_0x17c127=>_0x86b4d2[_0xfc46('0x17')](_0x17c127[_0xfc46('0x3f')])),_0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')][_0xfc46('0x2c')]),_0x221b76=_0xddc003[_0xfc46('0x13')][_0xfc46('0x45')](_0x350684),_0x402c26[_0xfc46('0x1b')](),_0xddc003[_0xfc46('0x46')]['get'](_0xfc46('0x2b'))[_0xfc46('0x1b')](),_0xddc003[_0xfc46('0x46')][_0xfc46('0x15')](_0xfc46('0x32'))[_0xfc46('0x1b')](),_0x2c2350=_0x402c26['value'],_0x2c2350!=_0x11f147[_0xfc46('0x26')])return _0x128887[_0xfc46('0x21')](_0x350684)&&_0x402c26['shouldConvertImageType'](_0x11f147['value'],_0x350684)?(_0x547711({..._0x11f147,'setImageSizes':!0x1}),_0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003['model']['document']['selection']),void _0x86b4d2[_0xfc46('0xd')](_0x350684,{..._0x11def5,'commandReversedParams':[{'value':_0x2c2350||null,'setImageSizes':!0x1}]},[],_0xfc46('0x8'))):void(_0x128887['isBlockImage'](_0x350684)?_0x86b4d2[_0xfc46('0xd')](_0x350684,_0x11def5,[],_0xfc46('0x4')):_0x86b4d2['markInlineFormat'](_0x221b76,_0x11def5,_0xfc46('0x4')));});});for(const _0x3026e7 of _0xddc003['plugins']['get'](_0xfc46('0x48'))[_0xfc46('0x43')])_0x2b7dce[_0x3026e7[_0xfc46('0xa')]]=_0x3026e7['title']['toLowerCase']();_0x86b4d2['_suggestionFactory'][_0xfc46('0x35')]('formatBlock',_0xfc46('0x8'),_0xfc46('0x12'),()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),'imageStylePostApply','join',()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x2'),_0xfc46('0x4'),_0xfc46('0x12'),()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),'accept',([_0x5e0760])=>{_0x128887['setImageNaturalSizeAttributes'](_0x5e0760[_0xfc46('0x20')]());}),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),_0xfc46('0xe'),(_0x3cd33a,_0x1a23e8)=>{_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x11')](_0xfc46('0x42'),'',_0xfc46('0x40'))(_0x3cd33a,{'commandName':_0x1a23e8['commandName'],'commandParams':_0x1a23e8[_0xfc46('0x6')]});}),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),_0xfc46('0x24'),function(_0x5ec53a,_0x3b49d7){if(_0x27309c(_0x5ec53a,_0x3b49d7))return[_0x5ec53a,_0x3b49d7];if(_0x27309c(_0x3b49d7,_0x5ec53a))return[_0x3b49d7,_0x5ec53a];return null;});const _0x24af36=[{'type':_0xfc46('0x42'),'subType':_0xfc46('0x8')},{'type':_0xfc46('0x2a'),'subType':'imageCaption'},{'type':_0xfc46('0x42'),'subType':_0xfc46('0x41')},{'type':_0xfc46('0x2a'),'subType':_0xfc46('0x41')}];function _0x27309c(_0x40aa9d,_0x4b4242){const _0x47cbd1=_0x24af36[_0xfc46('0x10')](({type:_0x513cdc,subType:_0x486957})=>_0x40aa9d[_0xfc46('0x44')]==_0x513cdc&&_0x40aa9d[_0xfc46('0x37')]==_0x486957),_0x4546ed=_0x24af36[_0xfc46('0x10')](({type:_0x553099,subType:_0x4200ea})=>_0x4b4242[_0xfc46('0x44')]==_0x553099&&_0x4b4242['subType']==_0x4200ea);if(_0x47cbd1<0x0||_0x4546ed<0x0)return!0x1;const _0x2b452e=_0x40aa9d[_0xfc46('0x27')](),_0x4e2190=_0x4b4242[_0xfc46('0x27')]();if((0x0==_0x47cbd1||0x1==_0x47cbd1)&&0x2==_0x4546ed&&_0x2b452e[_0xfc46('0x28')](_0x4e2190))return!0x0;if(0x2==_0x47cbd1&&0x3==_0x4546ed){const _0x165b64=_0x86b4d2[_0xfc46('0x0')](_0x2b452e,'insertion')[_0xfc46('0x3c')](({suggestion:_0x5d6a70,meta:_0x489b02})=>_0x489b02[_0xfc46('0x1c')]&&_0xfc46('0x41')==_0x5d6a70['subType']);if(_0x165b64['length']>0x1&&_0x4e2190[_0xfc46('0x4a')]['isEqual'](_0x2b452e[_0xfc46('0x3b')]))return!0x0;if(0x1==_0x165b64['length']&&(_0x2b452e[_0xfc46('0x3b')]['isEqual'](_0x4e2190[_0xfc46('0x4a')])||_0x2b452e[_0xfc46('0x4a')]['isEqual'](_0x4e2190[_0xfc46('0x3b')])))return!0x0;}if(0x3==_0x47cbd1&&0x3==_0x4546ed&&_0x2b452e[_0xfc46('0x3b')][_0xfc46('0x3e')](_0x4e2190['start'])){const _0x3e47bf=_0x2b452e[_0xfc46('0x4a')][_0xfc46('0x25')],_0x4a5a79=_0x4e2190[_0xfc46('0x3b')][_0xfc46('0xf')];return _0x128887[_0xfc46('0x34')](_0x3e47bf)&&_0x3e47bf===_0x4a5a79;}return!0x1;}_0xddc003['model']['document'][_0xfc46('0x1')](()=>{let _0x24390d=!0x1;const _0x51a8a3=Array['from'](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')]['differ'][_0xfc46('0x19')]());for(const {name:_0x5b2fe8,data:_0x3f33a6}of _0x51a8a3){const {group:_0x455c1a,type:_0x2b40e4,subType:_0x366108,id:_0x19e272}=_0x86b4d2[_0xfc46('0x49')](_0x5b2fe8);if(_0xfc46('0x3d')==_0x455c1a&&_0x86b4d2[_0xfc46('0x1d')](_0x19e272)){if('formatBlock'==_0x2b40e4&&(_0xfc46('0x8')==_0x366108||'imageStylePostApply'==_0x366108)){const _0x1e57c7=_0x86b4d2[_0xfc46('0x2d')](_0x19e272);if(_0x3f33a6[_0xfc46('0x30')]){const _0x3150dd=_0x1e57c7[_0xfc46('0x27')]()[_0xfc46('0x20')]();if(_0x128887[_0xfc46('0x34')](_0x3150dd))continue;_0x86b4d2[_0xfc46('0x17')](_0x1e57c7),_0x24390d=!0x0;}}if('insertion'==_0x2b40e4&&_0xfc46('0x33')==_0x366108&&!_0x3f33a6['newRange']){const _0x49943b=_0x86b4d2[_0xfc46('0x2d')](_0x19e272);_0x49943b['next']&&_0x49943b[_0xfc46('0x3a')][_0xfc46('0x9')]&&(_0x86b4d2[_0xfc46('0x17')](_0x49943b[_0xfc46('0x3a')]),_0x24390d=!0x0);}}}return _0x24390d;}),this['_registerLegacyDescription'](_0x2b7dce);}['_registerLegacyDescription'](_0x4ef550){const _0xc060a6=this['editor'],_0x2430f0=_0xc060a6['locale'];_0xc060a6['plugins'][_0xfc46('0x15')](_0xfc46('0x36'))[_0xfc46('0xb')][_0xfc46('0x38')](_0x4451db=>{if('formatBlock'!=_0x4451db[_0xfc46('0x44')]&&_0xfc46('0x2')!=_0x4451db[_0xfc46('0x44')])return;const {data:_0x197530}=_0x4451db;if(!_0x197530||_0xfc46('0x1f')!=_0x197530[_0xfc46('0x23')])return;const _0x5da5ed=_0x197530[_0xfc46('0xc')][0x0]['value'];return _0x3054ce(_0xfc46('0x5')===_0x5da5ed?_0x4b9fe6(_0x2430f0,'FORMAT_SIDE_IMAGE'):_0x4ef550[_0x5da5ed]||_0x5da5ed);function _0x3054ce(_0x1c93f1){return{'type':_0xfc46('0x1a'),'content':_0x4b9fe6(_0x2430f0,_0xfc46('0x22'),_0x1c93f1)};}});}}
23
+ const _0x3f89=['plugins','createRangeOn','formatBlock','side','start','commandReversedParams','imageTypeBlock','_splitMarkerName','markInlineFormat','imageStyle','model','getContainedElement','markBlockFormat','commands','normalizedStyles','isEqual','commandParams','has','refresh','toLowerCase','change','isInContent','selection','hasSuggestion','forEach','formatInline','newRange','name','commandName','join','ImageStyleEditing','setImageNaturalSizeAttributes','imageStylePreApply','accept','convertInlineImageToBlock','isOwn','next','document','isBefore','head','imageCaption','_findSuggestions','getChangedMarkers','title','ImageUtils','getSuggestionCallback','author','subType','Users','registerCustomCallback','editor','getClosestSelectedImageElement','type','get','_suggestionFactory','_descriptionFactory','nodeBefore','getFirstRange','length','enableCommand','value','isInlineImage','FORMAT_SIDE_IMAGE','imageStylePostApply','_registerLegacyDescription','filter','discardSuggestion','TrackChangesEditing','shouldConvertImageType','insertion','getSuggestion','format','chain','end','imageTypeInline','findIndex','isBlockImage'];(function(_0x1c7915,_0x3f8928){const _0x2e5785=function(_0x5beb49){while(--_0x5beb49){_0x1c7915['push'](_0x1c7915['shift']());}};_0x2e5785(++_0x3f8928);}(_0x3f89,0xdb));const _0x2e57=function(_0x1c7915,_0x3f8928){_0x1c7915=_0x1c7915-0x0;let _0x2e5785=_0x3f89[_0x1c7915];return _0x2e5785;};import{Plugin as _0x2a1bc2}from'ckeditor5/src/core.js';import{uid as _0x136e8b}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f3a62}from'../utils/common-translations.js';export default class nt extends _0x2a1bc2{['afterInit'](){const _0x2ada09=this['editor'];if(!_0x2ada09[_0x2e57('0xc')][_0x2e57('0x1d')](_0x2e57('0x2a')))return;const _0x388a6b=_0x2ada09['plugins'][_0x2e57('0x41')]('TrackChangesEditing'),_0x3067cc=_0x2ada09[_0x2e57('0xc')][_0x2e57('0x41')](_0x2e57('0x38')),_0x5a0d60={};_0x388a6b[_0x2e57('0x47')](_0x2e57('0x15'),(_0x575670,_0xa0c9b3)=>{const _0x120e9b=_0x2ada09[_0x2e57('0xc')]['get'](_0x2e57('0x3c'))['me'],_0x5009b7=_0x2ada09[_0x2e57('0x19')][_0x2e57('0x41')](_0x2e57('0x15'));let _0x2a0921=_0x3067cc[_0x2e57('0x3f')](_0x2ada09[_0x2e57('0x16')]['document'][_0x2e57('0x22')]),_0x5e7729=_0x2ada09[_0x2e57('0x16')][_0x2e57('0xd')](_0x2a0921),_0x3527d4=_0x5009b7[_0x2e57('0x48')];if(_0x3527d4==_0xa0c9b3['value'])return;const _0x5f26dc={'commandName':_0x2e57('0x15'),'commandParams':[_0xa0c9b3],'formatGroupId':_0x136e8b()};_0x2ada09[_0x2e57('0x16')][_0x2e57('0x20')](()=>{if(_0x388a6b['getSuggestions']()[_0x2e57('0x0')](_0x2cf16=>_0x2cf16[_0x2e57('0x21')]&&_0x120e9b==_0x2cf16[_0x2e57('0x3a')]&&(_0x2e57('0xe')==_0x2cf16[_0x2e57('0x40')]||_0x2e57('0x25')==_0x2cf16['type'])&&(_0x2e57('0x2c')==_0x2cf16[_0x2e57('0x3b')]||'imageStylePostApply'==_0x2cf16[_0x2e57('0x3b')])&&_0x2cf16[_0x2e57('0x45')]()['isEqual'](_0x5e7729))[_0x2e57('0x24')](_0x56543a=>_0x388a6b[_0x2e57('0x1')](_0x56543a[_0x2e57('0x33')])),_0x2a0921=_0x3067cc[_0x2e57('0x3f')](_0x2ada09['model'][_0x2e57('0x31')][_0x2e57('0x22')]),_0x5e7729=_0x2ada09['model']['createRangeOn'](_0x2a0921),_0x5009b7[_0x2e57('0x1e')](),_0x2ada09['commands'][_0x2e57('0x41')](_0x2e57('0x9'))[_0x2e57('0x1e')](),_0x2ada09[_0x2e57('0x19')][_0x2e57('0x41')](_0x2e57('0x12'))[_0x2e57('0x1e')](),_0x3527d4=_0x5009b7[_0x2e57('0x48')],_0x3527d4!=_0xa0c9b3[_0x2e57('0x48')])return _0x3067cc[_0x2e57('0x49')](_0x2a0921)&&_0x5009b7[_0x2e57('0x3')](_0xa0c9b3[_0x2e57('0x48')],_0x2a0921)?(_0x575670({..._0xa0c9b3,'setImageSizes':!0x1}),_0x2a0921=_0x3067cc[_0x2e57('0x3f')](_0x2ada09[_0x2e57('0x16')]['document']['selection']),void _0x388a6b[_0x2e57('0x18')](_0x2a0921,{..._0x5f26dc,'commandReversedParams':[{'value':_0x3527d4||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x3067cc[_0x2e57('0xb')](_0x2a0921)?_0x388a6b[_0x2e57('0x18')](_0x2a0921,_0x5f26dc,[],_0x2e57('0x4b')):_0x388a6b[_0x2e57('0x14')](_0x5e7729,_0x5f26dc,_0x2e57('0x4b')));});});for(const _0x33e424 of _0x2ada09['plugins'][_0x2e57('0x41')](_0x2e57('0x2a'))[_0x2e57('0x1a')])_0x5a0d60[_0x33e424[_0x2e57('0x27')]]=_0x33e424[_0x2e57('0x37')][_0x2e57('0x1f')]();_0x388a6b[_0x2e57('0x42')][_0x2e57('0x3d')](_0x2e57('0xe'),_0x2e57('0x2c'),'join',()=>!0x1),_0x388a6b['_suggestionFactory'][_0x2e57('0x3d')]('formatBlock',_0x2e57('0x4b'),_0x2e57('0x29'),()=>!0x1),_0x388a6b[_0x2e57('0x42')][_0x2e57('0x3d')](_0x2e57('0x25'),_0x2e57('0x4b'),_0x2e57('0x29'),()=>!0x1),_0x388a6b['_suggestionFactory'][_0x2e57('0x3d')](_0x2e57('0xe'),'imageStylePreApply',_0x2e57('0x2d'),([_0x4bde33])=>{_0x3067cc[_0x2e57('0x2b')](_0x4bde33[_0x2e57('0x17')]());}),_0x388a6b['_suggestionFactory'][_0x2e57('0x3d')]('formatBlock',_0x2e57('0x2c'),'discard',(_0x38cefa,_0x39e391)=>{_0x388a6b['_suggestionFactory'][_0x2e57('0x39')](_0x2e57('0xe'),'','accept')(_0x38cefa,{'commandName':_0x39e391[_0x2e57('0x28')],'commandParams':_0x39e391[_0x2e57('0x11')]});}),_0x388a6b[_0x2e57('0x42')][_0x2e57('0x3d')](_0x2e57('0xe'),_0x2e57('0x2c'),_0x2e57('0x7'),function(_0x3455df,_0x871844){if(_0x56f370(_0x3455df,_0x871844))return[_0x3455df,_0x871844];if(_0x56f370(_0x871844,_0x3455df))return[_0x871844,_0x3455df];return null;});const _0x5ce519=[{'type':_0x2e57('0xe'),'subType':_0x2e57('0x2c')},{'type':_0x2e57('0x4'),'subType':_0x2e57('0x34')},{'type':_0x2e57('0xe'),'subType':'convertInlineImageToBlock'},{'type':_0x2e57('0x4'),'subType':'convertInlineImageToBlock'}];function _0x56f370(_0x5698e8,_0x3e94a5){const _0x51e49c=_0x5ce519[_0x2e57('0xa')](({type:_0x1d7def,subType:_0x28f620})=>_0x5698e8[_0x2e57('0x40')]==_0x1d7def&&_0x5698e8[_0x2e57('0x3b')]==_0x28f620),_0x46a14f=_0x5ce519['findIndex'](({type:_0x3eb2fe,subType:_0x58f1ba})=>_0x3e94a5[_0x2e57('0x40')]==_0x3eb2fe&&_0x3e94a5[_0x2e57('0x3b')]==_0x58f1ba);if(_0x51e49c<0x0||_0x46a14f<0x0)return!0x1;const _0x162aa1=_0x5698e8[_0x2e57('0x45')](),_0x566ec1=_0x3e94a5[_0x2e57('0x45')]();if((0x0==_0x51e49c||0x1==_0x51e49c)&&0x2==_0x46a14f&&_0x162aa1['isIntersecting'](_0x566ec1))return!0x0;if(0x2==_0x51e49c&&0x3==_0x46a14f){const _0x21e49c=_0x388a6b[_0x2e57('0x35')](_0x162aa1,_0x2e57('0x4'))[_0x2e57('0x0')](({suggestion:_0x318432,meta:_0x26d6dd})=>_0x26d6dd[_0x2e57('0x2f')]&&_0x2e57('0x2e')==_0x318432[_0x2e57('0x3b')]);if(_0x21e49c[_0x2e57('0x46')]>0x1&&_0x566ec1['end'][_0x2e57('0x1b')](_0x162aa1[_0x2e57('0x10')]))return!0x0;if(0x1==_0x21e49c[_0x2e57('0x46')]&&(_0x162aa1[_0x2e57('0x10')][_0x2e57('0x1b')](_0x566ec1[_0x2e57('0x8')])||_0x162aa1['end'][_0x2e57('0x1b')](_0x566ec1[_0x2e57('0x10')])))return!0x0;}if(0x3==_0x51e49c&&0x3==_0x46a14f&&_0x162aa1[_0x2e57('0x10')][_0x2e57('0x32')](_0x566ec1[_0x2e57('0x10')])){const _0x2c94cf=_0x162aa1[_0x2e57('0x8')]['nodeAfter'],_0x35b8c8=_0x566ec1[_0x2e57('0x10')][_0x2e57('0x44')];return _0x3067cc['isBlockImage'](_0x2c94cf)&&_0x2c94cf===_0x35b8c8;}return!0x1;}_0x2ada09[_0x2e57('0x16')][_0x2e57('0x31')]['registerPostFixer'](()=>{let _0x4a3314=!0x1;const _0x56c521=Array['from'](_0x2ada09['model']['document']['differ'][_0x2e57('0x36')]());for(const {name:_0x5abfa1,data:_0x2fe67e}of _0x56c521){const {group:_0x473ad5,type:_0x581460,subType:_0x553cc7,id:_0x6ab664}=_0x388a6b[_0x2e57('0x13')](_0x5abfa1);if('suggestion'==_0x473ad5&&_0x388a6b[_0x2e57('0x23')](_0x6ab664)){if(_0x2e57('0xe')==_0x581460&&(_0x2e57('0x2c')==_0x553cc7||_0x2e57('0x4b')==_0x553cc7)){const _0x53f6b0=_0x388a6b[_0x2e57('0x5')](_0x6ab664);if(_0x2fe67e[_0x2e57('0x26')]){const _0x3b61c8=_0x53f6b0[_0x2e57('0x45')]()[_0x2e57('0x17')]();if(_0x3067cc[_0x2e57('0xb')](_0x3b61c8))continue;_0x388a6b[_0x2e57('0x1')](_0x53f6b0),_0x4a3314=!0x0;}}if('insertion'==_0x581460&&_0x2e57('0x34')==_0x553cc7&&!_0x2fe67e['newRange']){const _0x171a51=_0x388a6b[_0x2e57('0x5')](_0x6ab664);_0x171a51[_0x2e57('0x30')]&&_0x171a51[_0x2e57('0x30')][_0x2e57('0x21')]&&(_0x388a6b[_0x2e57('0x1')](_0x171a51[_0x2e57('0x30')]),_0x4a3314=!0x0);}}}return _0x4a3314;}),this[_0x2e57('0x4c')](_0x5a0d60);}[_0x2e57('0x4c')](_0x4c8a38){const _0x4fc7cd=this[_0x2e57('0x3e')],_0x49fc74=_0x4fc7cd['locale'];_0x4fc7cd[_0x2e57('0xc')]['get'](_0x2e57('0x2'))[_0x2e57('0x43')]['registerDescriptionCallback'](_0x31a879=>{if(_0x2e57('0xe')!=_0x31a879[_0x2e57('0x40')]&&'formatInline'!=_0x31a879['type'])return;const {data:_0x777c32}=_0x31a879;if(!_0x777c32||_0x2e57('0x15')!=_0x777c32['commandName'])return;const _0x1ec4fa=_0x777c32[_0x2e57('0x1c')][0x0][_0x2e57('0x48')];return _0x3c4137(_0x2e57('0xf')===_0x1ec4fa?_0x5f3a62(_0x49fc74,_0x2e57('0x4a')):_0x4c8a38[_0x1ec4fa]||_0x1ec4fa);function _0x3c4137(_0xf2bb5d){return{'type':_0x2e57('0x6'),'content':_0x5f3a62(_0x49fc74,'*Format:*\x20%0',_0xf2bb5d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17b9=['plugins','_handleImportedData','lowest','value','bind','commands','dataInsert','get','collaboration_features','_setSuggestionData','listenTo','importWord','enableCommand','forEach','_trackChangesExecuted','_trackChangesValueDuringImport','afterInit','TrackChangesEditing','track_changes','high','trackChanges'];(function(_0x411224,_0x17b9be){const _0x1da7d8=function(_0x139fa8){while(--_0x139fa8){_0x411224['push'](_0x411224['shift']());}};_0x1da7d8(++_0x17b9be);}(_0x17b9,0x175));const _0x1da7=function(_0x411224,_0x17b9be){_0x411224=_0x411224-0x0;let _0x1da7d8=_0x17b9[_0x411224];return _0x1da7d8;};import{Plugin as _0x3cc9dc}from'ckeditor5/src/core.js';export default class ot extends _0x3cc9dc{constructor(_0x460839){super(_0x460839),this[_0x1da7('0x14')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x1da7('0x0')](){const _0x2f6b11=this['editor'],_0xdc2e92=_0x2f6b11['commands'][_0x1da7('0xc')]('importWord'),_0x373784=_0x2f6b11['commands'][_0x1da7('0xc')](_0x1da7('0x4'));_0xdc2e92&&(_0xdc2e92['on']('execute',(_0x43cfe5,[,_0x3aa6e5])=>{this[_0x1da7('0x14')]=_0x373784[_0x1da7('0x8')],_0x3aa6e5[_0x1da7('0xd')][_0x1da7('0x2')]=!this[_0x1da7('0x14')];},{'priority':_0x1da7('0x3')}),this[_0x1da7('0xf')](_0xdc2e92,_0x1da7('0xb'),this['_handleImportedData'][_0x1da7('0x9')](this)),this[_0x1da7('0xf')](_0xdc2e92,_0x1da7('0xb'),()=>{this[_0x1da7('0x13')]&&(_0x373784['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x1da7('0x7')}),_0x2f6b11['plugins']['get'](_0x1da7('0x1'))[_0x1da7('0x11')](_0x1da7('0x10')));}[_0x1da7('0x6')](_0x1dbe9a,_0x41cf99){const {suggestions:_0x4fd333}=_0x41cf99,_0x42576c=this['editor'][_0x1da7('0xa')]['get'](_0x1da7('0x4')),_0x15e734=_0x42576c[_0x1da7('0x8')];this[_0x1da7('0x14')]!==_0x15e734&&(_0x42576c['execute'](),this[_0x1da7('0x13')]=!0x0),_0x4fd333&&_0x4fd333[_0x1da7('0x12')](({id:_0x1a7554,type:_0x2999fd,author:_0x17a900,created_at:_0x4d73ce})=>{const _0x38872f={'id':_0x1a7554,'type':_0x2999fd,'authorId':this['editor'][_0x1da7('0x5')][_0x1da7('0xc')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x17a900,'createdAt':_0x4d73ce?new Date(_0x4d73ce):new Date(),'source':'importWord'}}};this['editor'][_0x1da7('0x5')]['get']('TrackChangesEditing')[_0x1da7('0xe')](_0x38872f);});}}
23
+ const _0x4dad=['bind','high','get','TrackChangesEditing','importWord','_trackChangesValueDuringImport','commands','execute','plugins','listenTo','Users','dataInsert','enableCommand','trackChanges','_handleImportedData','editor','_trackChangesExecuted','lowest','track_changes','value'];(function(_0x29b1c2,_0x4dad14){const _0x59fbde=function(_0x5c3360){while(--_0x5c3360){_0x29b1c2['push'](_0x29b1c2['shift']());}};_0x59fbde(++_0x4dad14);}(_0x4dad,0x113));const _0x59fb=function(_0x29b1c2,_0x4dad14){_0x29b1c2=_0x29b1c2-0x0;let _0x59fbde=_0x4dad[_0x29b1c2];return _0x59fbde;};import{Plugin as _0x220cb1}from'ckeditor5/src/core.js';export default class ot extends _0x220cb1{constructor(_0x2b4071){super(_0x2b4071),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0xaf3af1=this[_0x59fb('0x0')],_0x24d5e8=_0xaf3af1[_0x59fb('0xb')][_0x59fb('0x7')](_0x59fb('0x9')),_0x1aa998=_0xaf3af1['commands'][_0x59fb('0x7')](_0x59fb('0x12'));_0x24d5e8&&(_0x24d5e8['on'](_0x59fb('0xc'),(_0x54e644,[,_0x581ecf])=>{this['_trackChangesValueDuringImport']=_0x1aa998[_0x59fb('0x4')],_0x581ecf['collaboration_features'][_0x59fb('0x3')]=!this[_0x59fb('0xa')];},{'priority':_0x59fb('0x6')}),this[_0x59fb('0xe')](_0x24d5e8,_0x59fb('0x10'),this[_0x59fb('0x13')][_0x59fb('0x5')](this)),this['listenTo'](_0x24d5e8,_0x59fb('0x10'),()=>{this[_0x59fb('0x1')]&&(_0x1aa998[_0x59fb('0xc')](),this[_0x59fb('0x1')]=!0x1);},{'priority':_0x59fb('0x2')}),_0xaf3af1[_0x59fb('0xd')]['get'](_0x59fb('0x8'))[_0x59fb('0x11')](_0x59fb('0x9')));}[_0x59fb('0x13')](_0x17af2b,_0x3d1d46){const {suggestions:_0x3849f6}=_0x3d1d46,_0x1e5c03=this[_0x59fb('0x0')][_0x59fb('0xb')]['get'](_0x59fb('0x12')),_0x224703=_0x1e5c03[_0x59fb('0x4')];this[_0x59fb('0xa')]!==_0x224703&&(_0x1e5c03[_0x59fb('0xc')](),this['_trackChangesExecuted']=!0x0),_0x3849f6&&_0x3849f6['forEach'](({id:_0x59a539,type:_0x8eae40,author:_0x3afffc,created_at:_0x3b3e8c})=>{const _0x2f22a5={'id':_0x59a539,'type':_0x8eae40,'authorId':this['editor'][_0x59fb('0xd')][_0x59fb('0x7')](_0x59fb('0xf'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x3afffc,'createdAt':_0x3b3e8c?new Date(_0x3b3e8c):new Date(),'source':_0x59fb('0x9')}}};this[_0x59fb('0x0')][_0x59fb('0xd')][_0x59fb('0x7')](_0x59fb('0x8'))['_setSuggestionData'](_0x2f22a5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30eb=['format','indentBlock','locale','has','*Outdent:*\x20%0','_registerBlockAttribute','commandName','registerAttributeLabel','FORMAT_INDENT','afterInit','_registerLegacyDescription','outdentBlock','blockIndent','enableCommand','_enableDefaultAttributesIntegration','formatBlock','getItems','plugins','TrackChangesEditing','indent','IndentEditing','_descriptionFactory','IndentBlock','type','get','outdent'];(function(_0x173fed,_0x30eb9e){const _0x161c97=function(_0x1e177e){while(--_0x1e177e){_0x173fed['push'](_0x173fed['shift']());}};_0x161c97(++_0x30eb9e);}(_0x30eb,0x6a));const _0x161c=function(_0x173fed,_0x30eb9e){_0x173fed=_0x173fed-0x0;let _0x161c97=_0x30eb[_0x173fed];return _0x161c97;};import{Plugin as _0x312bd5}from'ckeditor5/src/core.js';import{getTranslation as _0xd3b36d}from'../utils/common-translations.js';export default class rt extends _0x312bd5{[_0x161c('0x7')](){const _0x4c8f77=this['editor'],_0x49d105=_0x4c8f77[_0x161c('0xf')][_0x161c('0x16')](_0x161c('0x10'));if(_0x4c8f77['plugins'][_0x161c('0x1')](_0x161c('0x12'))&&(_0x49d105[_0x161c('0xb')](_0x161c('0x11')),_0x49d105[_0x161c('0xb')](_0x161c('0x17'))),_0x4c8f77['plugins']['has'](_0x161c('0x14')))for(const _0x25f19f of[_0x161c('0x19'),_0x161c('0x9')])_0x49d105[_0x161c('0xc')](_0x25f19f);const _0x186de1=_0x4c8f77[_0x161c('0x0')];_0x49d105[_0x161c('0x3')](_0x161c('0xa')),_0x49d105['_descriptionFactory'][_0x161c('0x5')](_0x161c('0xa'),_0xd3b36d(_0x186de1,_0x161c('0x6'))),this[_0x161c('0x8')]();}[_0x161c('0x8')](){const _0x51d770=this['editor'],_0x169a5e=_0x51d770[_0x161c('0x0')],_0x30a3ce=_0x51d770[_0x161c('0xf')]['get']('TrackChangesEditing');_0x30a3ce[_0x161c('0x13')]['registerDescriptionCallback'](_0x488024=>{if(_0x161c('0xd')!=_0x488024[_0x161c('0x15')])return;const {data:_0x2dbf20}=_0x488024;if(!_0x2dbf20)return;if(_0x161c('0x19')!=_0x2dbf20[_0x161c('0x4')]&&'outdentBlock'!=_0x2dbf20[_0x161c('0x4')])return;const _0x11ebcb=_0x488024[_0x161c('0xe')]()[0x0],_0x1a3639=_0x30a3ce['_descriptionFactory']['getItemLabel'](_0x11ebcb);return'indentBlock'==_0x2dbf20[_0x161c('0x4')]?{'type':_0x161c('0x18'),'content':_0xd3b36d(_0x169a5e,'*Indent:*\x20%0',_0x1a3639)}:'outdentBlock'==_0x2dbf20[_0x161c('0x4')]?{'type':_0x161c('0x18'),'content':_0xd3b36d(_0x169a5e,_0x161c('0x2'),_0x1a3639)}:void 0x0;});}}
23
+ const _0x1e74=['_enableDefaultAttributesIntegration','_descriptionFactory','blockIndent','*Outdent:*\x20%0','editor','IndentEditing','format','TrackChangesEditing','commandName','formatBlock','IndentBlock','_registerBlockAttribute','plugins','indent','get','registerDescriptionCallback','*Indent:*\x20%0','_registerLegacyDescription','locale','outdent','outdentBlock','indentBlock','afterInit','registerAttributeLabel','FORMAT_INDENT','enableCommand','has'];(function(_0x7c81d8,_0x1e74f7){const _0x579614=function(_0x265de0){while(--_0x265de0){_0x7c81d8['push'](_0x7c81d8['shift']());}};_0x579614(++_0x1e74f7);}(_0x1e74,0x84));const _0x5796=function(_0x7c81d8,_0x1e74f7){_0x7c81d8=_0x7c81d8-0x0;let _0x579614=_0x1e74[_0x7c81d8];return _0x579614;};import{Plugin as _0x20c660}from'ckeditor5/src/core.js';import{getTranslation as _0x4ad8f8}from'../utils/common-translations.js';export default class rt extends _0x20c660{[_0x5796('0x19')](){const _0x5301e5=this[_0x5796('0x7')],_0x2f4cd3=_0x5301e5['plugins'][_0x5796('0x11')](_0x5796('0xa'));if(_0x5301e5[_0x5796('0xf')]['has'](_0x5796('0x8'))&&(_0x2f4cd3[_0x5796('0x1')](_0x5796('0x10')),_0x2f4cd3[_0x5796('0x1')](_0x5796('0x16'))),_0x5301e5[_0x5796('0xf')][_0x5796('0x2')](_0x5796('0xd')))for(const _0x1ea284 of[_0x5796('0x18'),'outdentBlock'])_0x2f4cd3[_0x5796('0x3')](_0x1ea284);const _0x32a774=_0x5301e5[_0x5796('0x15')];_0x2f4cd3[_0x5796('0xe')](_0x5796('0x5')),_0x2f4cd3['_descriptionFactory'][_0x5796('0x1a')](_0x5796('0x5'),_0x4ad8f8(_0x32a774,_0x5796('0x0'))),this['_registerLegacyDescription']();}[_0x5796('0x14')](){const _0x239cad=this[_0x5796('0x7')],_0x111f85=_0x239cad[_0x5796('0x15')],_0x1c7cc0=_0x239cad[_0x5796('0xf')][_0x5796('0x11')](_0x5796('0xa'));_0x1c7cc0[_0x5796('0x4')][_0x5796('0x12')](_0xe24e2=>{if(_0x5796('0xc')!=_0xe24e2['type'])return;const {data:_0x45dfa7}=_0xe24e2;if(!_0x45dfa7)return;if(_0x5796('0x18')!=_0x45dfa7[_0x5796('0xb')]&&'outdentBlock'!=_0x45dfa7[_0x5796('0xb')])return;const _0x38d1ba=_0xe24e2['getItems']()[0x0],_0x56bd9e=_0x1c7cc0['_descriptionFactory']['getItemLabel'](_0x38d1ba);return _0x5796('0x18')==_0x45dfa7['commandName']?{'type':_0x5796('0x9'),'content':_0x4ad8f8(_0x111f85,_0x5796('0x13'),_0x56bd9e)}:_0x5796('0x17')==_0x45dfa7[_0x5796('0xb')]?{'type':_0x5796('0x9'),'content':_0x4ad8f8(_0x111f85,_0x5796('0x6'),_0x56bd9e)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x15e3=['input','init','editor','requires','plugins','enableCommand','TrackChangesEditing'];(function(_0xa92df7,_0x15e348){var _0x28954e=function(_0x52c005){while(--_0x52c005){_0xa92df7['push'](_0xa92df7['shift']());}};_0x28954e(++_0x15e348);}(_0x15e3,0x90));var _0x2895=function(_0xa92df7,_0x15e348){_0xa92df7=_0xa92df7-0x0;var _0x28954e=_0x15e3[_0xa92df7];return _0x28954e;};import{Plugin as _0x4b4968}from'ckeditor5/src/core.js';import{Input as _0x1de65f}from'ckeditor5/src/typing.js';export default class at extends _0x4b4968{static get[_0x2895('0x6')](){return[_0x1de65f];}[_0x2895('0x4')](){this[_0x2895('0x5')][_0x2895('0x0')]['get'](_0x2895('0x2'))[_0x2895('0x1')](_0x2895('0x3'));}}
23
+ var _0x197a=['enableCommand','TrackChangesEditing','requires','init','get'];(function(_0x4d39ca,_0x197ac4){var _0x48493d=function(_0x124a3e){while(--_0x124a3e){_0x4d39ca['push'](_0x4d39ca['shift']());}};_0x48493d(++_0x197ac4);}(_0x197a,0x78));var _0x4849=function(_0x4d39ca,_0x197ac4){_0x4d39ca=_0x4d39ca-0x0;var _0x48493d=_0x197a[_0x4d39ca];return _0x48493d;};import{Plugin as _0x34a2d0}from'ckeditor5/src/core.js';import{Input as _0x57d4f5}from'ckeditor5/src/typing.js';export default class at extends _0x34a2d0{static get[_0x4849('0x2')](){return[_0x57d4f5];}[_0x4849('0x3')](){this['editor']['plugins'][_0x4849('0x4')](_0x4849('0x1'))[_0x4849('0x0')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5783=['LegacyTodoListEditing','replace','afterInit','blockName','_selectedElements','bulleted','indentList','formatBlock','length','parent','slice','element','commandName','*Change\x20to:*\x20%0','*Uncheck\x20item*','*Outdent:*\x20%0','todo','document','getAttribute','model','nextSibling','TrackChangesEditing','ELEMENT_LIST_ITEM','get','schema','name','add','ELEMENT_NUMBERED_LIST','markBlockFormat','registerElementLabel','enableCommand','push','getSelectedBlocks','value','formatInline','type','numberedList','end','previousSibling','_descriptionFactory','selection','format','execute','listIndent','listItem','change','plugins','registerDescriptionCallback','*Check\x20item*','numbered','outdentList','checkTodoList','List','todoListChecked','createPositionAt','from','isObject','filter','todoList','LegacyListEditing','findIndex','*Indent:*\x20%0','has','locale','bulletedList','listType','commands'];(function(_0x21d116,_0x578325){const _0x5d483e=function(_0x2e3af7){while(--_0x2e3af7){_0x21d116['push'](_0x21d116['shift']());}};_0x5d483e(++_0x578325);}(_0x5783,0xf2));const _0x5d48=function(_0x21d116,_0x578325){_0x21d116=_0x21d116-0x0;let _0x5d483e=_0x5783[_0x21d116];return _0x5d483e;};import{Plugin as _0x188771}from'ckeditor5/src/core.js';import{getTranslation as _0x36ff2b}from'../utils/common-translations.js';export default class ut extends _0x188771{[_0x5d48('0x1c')](){const _0x59e532=this['editor'],_0x38def3=_0x59e532[_0x5d48('0x16')];if(!_0x59e532[_0x5d48('0x5')][_0x5d48('0x15')](_0x5d48('0x12')))return;const _0x381710=_0x59e532['plugins']['get'](_0x5d48('0x2f')),_0x192145=_0x59e532[_0x5d48('0x5')][_0x5d48('0x15')](_0x5d48('0x1a'));function _0x203543(_0x4184b1){return()=>{const _0x16e699=_0x59e532[_0x5d48('0x2d')][_0x5d48('0x2b')][_0x5d48('0x42')],_0x44a783=_0x59e532[_0x5d48('0x19')][_0x5d48('0x31')](_0x4184b1);if(_0x44a783[_0x5d48('0x3b')])return void _0x59e532[_0x5d48('0x1')]('paragraph',{});const _0x490959=_0x4184b1['slice'](0x0,-0x4),_0x5839b6=function(_0x5cf004,_0x300466,_0x50917c){let _0xc949c6=Array[_0x5d48('0xe')](_0x5cf004)[_0x5d48('0x10')](_0xc1c496=>function(_0x5c9226,_0x32f702){return _0x32f702['checkChild'](_0x5c9226[_0x5d48('0x23')],_0x5d48('0x3'))&&!_0x32f702[_0x5d48('0xf')](_0x5c9226);}(_0xc1c496,_0x50917c));_0xc949c6=_0xc949c6['filter'](_0xafb661=>!_0xafb661['is'](_0x5d48('0x25'),_0x5d48('0x3'))||_0xafb661[_0x5d48('0x2c')](_0x5d48('0x18'))!=_0x300466);const _0x4c203e=new Set();for(const _0x1f8084 of _0xc949c6)_0x1f8084['is'](_0x5d48('0x25'),_0x5d48('0x3'))?_0x4c203e[_0x5d48('0x34')](ne(_0x1f8084)):_0x4c203e[_0x5d48('0x34')](_0x1f8084);return Array['from'](_0x4c203e);}(_0x16e699[_0x5d48('0x3a')](),_0x490959,_0x59e532[_0x5d48('0x2d')][_0x5d48('0x32')]);_0x59e532['model'][_0x5d48('0x4')](()=>{for(const _0x1abdba of _0x5839b6)_0x381710[_0x5d48('0x36')](_0x1abdba,{'commandName':_0x4184b1,'commandParams':[{'forceValue':!_0x44a783[_0x5d48('0x3b')]}],'formatGroupId':_0x5d48('0x1d')},oe(_0x1abdba));});};}function _0x5c742d(_0x8d1ef3){return()=>{const _0x1662db=function(_0x3f86e2){let _0x1e2b7a=Array[_0x5d48('0xe')](_0x3f86e2);const _0x44ce09=_0x1e2b7a[_0x5d48('0x13')](_0x4e17cb=>_0x5d48('0x3')!=_0x4e17cb[_0x5d48('0x33')]);return _0x44ce09>-0x1&&(_0x1e2b7a=_0x1e2b7a[_0x5d48('0x24')](0x0,_0x44ce09)),_0x1e2b7a;}(_0x59e532[_0x5d48('0x2d')][_0x5d48('0x2b')]['selection'][_0x5d48('0x3a')]()),_0x3a8ca4=_0x59e532['model']['createRange'](_0x59e532['model'][_0x5d48('0xd')](_0x1662db[0x0],'before'),_0x59e532['model'][_0x5d48('0xd')](_0x1662db[_0x1662db[_0x5d48('0x22')]-0x1],_0x5d48('0x3f')));_0x59e532[_0x5d48('0x2d')][_0x5d48('0x4')](()=>{_0x381710[_0x5d48('0x36')](_0x3a8ca4,{'commandName':_0x8d1ef3,'commandParams':[],'formatGroupId':_0x5d48('0x2')},function(_0x3e7610){const _0x35e72e=new Set();for(const _0x54b5b2 of _0x3e7610){let _0x23ec41=_0x54b5b2[_0x5d48('0x2e')];for(;_0x23ec41&&_0x23ec41[_0x5d48('0x2c')](_0x5d48('0x2'))>_0x54b5b2[_0x5d48('0x2c')](_0x5d48('0x2'));)_0x35e72e[_0x5d48('0x34')](_0x23ec41),_0x23ec41=_0x23ec41[_0x5d48('0x2e')];}return Array['from'](_0x35e72e);}(_0x1662db));});};}_0x381710['enableCommand'](_0x5d48('0x3e'),_0x203543('numberedList')),_0x381710[_0x5d48('0x38')](_0x5d48('0x17'),_0x203543(_0x5d48('0x17'))),_0x192145&&_0x381710[_0x5d48('0x38')](_0x5d48('0x11'),_0x203543(_0x5d48('0x11'))),_0x381710[_0x5d48('0x38')](_0x5d48('0x20'),_0x5c742d('indentList')),_0x381710['enableCommand'](_0x5d48('0x9'),_0x5c742d('outdentList')),_0x192145&&_0x381710[_0x5d48('0x38')]('checkTodoList',()=>{const _0x45e85d=_0x59e532[_0x5d48('0x19')][_0x5d48('0x31')](_0x5d48('0xa')),_0x4a06b8=Array[_0x5d48('0xe')](_0x45e85d[_0x5d48('0x1e')]);_0x4a06b8[_0x5d48('0x10')](_0x2ef18b=>_0x2ef18b[_0x5d48('0x2c')](_0x5d48('0xc'))!=_0x45e85d['value']),_0x59e532[_0x5d48('0x2d')][_0x5d48('0x4')](()=>{for(const _0x40ebcb of _0x4a06b8)_0x381710[_0x5d48('0x36')](_0x40ebcb,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x45e85d[_0x5d48('0x3b')]}]});});}),_0x381710[_0x5d48('0x41')][_0x5d48('0x37')](_0x5d48('0x3'),_0x540ed8=>_0x36ff2b(_0x38def3,_0x5d48('0x30'),_0x540ed8)),_0x381710['_descriptionFactory'][_0x5d48('0x6')](_0x38e136=>{if(_0x5d48('0x21')!=_0x38e136['type']&&_0x5d48('0x3c')!=_0x38e136[_0x5d48('0x3d')])return;const {data:_0x3743c5}=_0x38e136;if(_0x3743c5){if('numberedList'==_0x3743c5[_0x5d48('0x26')]||_0x5d48('0x17')==_0x3743c5[_0x5d48('0x26')]||_0x5d48('0x11')==_0x3743c5[_0x5d48('0x26')])switch(_0x3743c5[_0x5d48('0x26')][_0x5d48('0x1b')](_0x5d48('0xb'),'')){case _0x5d48('0x1f'):return _0x18e183(_0x36ff2b(_0x38def3,'ELEMENT_BULLETED_LIST'));case _0x5d48('0x8'):return _0x18e183(_0x36ff2b(_0x38def3,_0x5d48('0x35')));case _0x5d48('0x2a'):return _0x18e183(_0x36ff2b(_0x38def3,'ELEMENT_TODO_LIST'));}if(_0x5d48('0x20')==_0x3743c5[_0x5d48('0x26')])return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x14'),_0x36ff2b(_0x38def3,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x3743c5['commandName'])return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x29'),_0x36ff2b(_0x38def3,_0x5d48('0x30')))};if(_0x5d48('0xa')==_0x3743c5[_0x5d48('0x26')])return _0x3743c5['commandParams'][0x0]['forceValue']?{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x7'))}:{'type':'format','content':_0x36ff2b(_0x38def3,_0x5d48('0x28'))};}function _0x18e183(_0x154296){return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x27'),_0x154296)};}});}}function ne(_0x3c15ff){const _0x58c617=_0x3c15ff[_0x5d48('0x2c')]('listIndent');if(0x0==_0x58c617)return _0x3c15ff;let _0x303dcd=_0x3c15ff;for(;_0x3c15ff[_0x5d48('0x40')]&&_0x3c15ff[_0x5d48('0x40')]['is']('element',_0x5d48('0x3'));){const _0x4fc169=_0x3c15ff[_0x5d48('0x40')]['getAttribute']('listIndent');if(_0x4fc169==_0x58c617)_0x303dcd=_0x3c15ff[_0x5d48('0x40')];else{if(_0x4fc169<_0x58c617)break;}_0x3c15ff=_0x3c15ff[_0x5d48('0x40')];}return _0x303dcd;}function oe(_0x3a2452){const _0x2e53aa=[];if(_0x3a2452['is']('element',_0x5d48('0x3'))&&_0x3a2452[_0x5d48('0x2c')](_0x5d48('0x2'))>0x0){let _0x44bf9f=_0x3a2452[_0x5d48('0x2e')];for(;_0x44bf9f&&'listItem'==_0x44bf9f[_0x5d48('0x33')]&&_0x44bf9f[_0x5d48('0x2c')]('listIndent')==_0x3a2452[_0x5d48('0x2c')](_0x5d48('0x2'));)_0x2e53aa[_0x5d48('0x39')](_0x44bf9f),_0x44bf9f=_0x44bf9f['nextSibling'];}return _0x2e53aa;}
23
+ const _0xd91a=['*Change\x20to:*\x20%0','enableCommand','format','get','ELEMENT_LIST_ITEM','numbered','type','registerElementLabel','before','slice','plugins','filter','name','from','markBlockFormat','todoListChecked','forceValue','LegacyTodoListEditing','_selectedElements','bulleted','ELEMENT_NUMBERED_LIST','add','indentList','*Indent:*\x20%0','_descriptionFactory','model','listIndent','commandParams','bulletedList','registerDescriptionCallback','getSelectedBlocks','previousSibling','selection','getAttribute','listType','checkChild','findIndex','value','numberedList','has','*Uncheck\x20item*','outdentList','commandName','createPositionAt','locale','todo','TrackChangesEditing','schema','nextSibling','List','isObject','element','afterInit','commands','end','*Outdent:*\x20%0','todoList','listItem','paragraph','*Check\x20item*','change','checkTodoList'];(function(_0x46eade,_0xd91a37){const _0x2e0650=function(_0x835ebf){while(--_0x835ebf){_0x46eade['push'](_0x46eade['shift']());}};_0x2e0650(++_0xd91a37);}(_0xd91a,0x18e));const _0x2e06=function(_0x46eade,_0xd91a37){_0x46eade=_0x46eade-0x0;let _0x2e0650=_0xd91a[_0x46eade];return _0x2e0650;};import{Plugin as _0x3ada6e}from'ckeditor5/src/core.js';import{getTranslation as _0x2728a6}from'../utils/common-translations.js';export default class ut extends _0x3ada6e{[_0x2e06('0x1a')](){const _0x3713e3=this['editor'],_0x21b8e4=_0x3713e3[_0x2e06('0x12')];if(!_0x3713e3[_0x2e06('0x2e')][_0x2e06('0xd')]('LegacyListEditing'))return;const _0x3d7570=_0x3713e3['plugins']['get'](_0x2e06('0x14')),_0x84c4b3=_0x3713e3[_0x2e06('0x2e')][_0x2e06('0xd')](_0x2e06('0x35'));function _0x2441ef(_0x48ffb6){return()=>{const _0x413932=_0x3713e3[_0x2e06('0x3d')]['document'][_0x2e06('0x6')],_0x2a9936=_0x3713e3[_0x2e06('0x1b')][_0x2e06('0x27')](_0x48ffb6);if(_0x2a9936[_0x2e06('0xb')])return void _0x3713e3['execute'](_0x2e06('0x20'),{});const _0x3c76d9=_0x48ffb6[_0x2e06('0x2d')](0x0,-0x4),_0x204d96=function(_0x48ae63,_0x14666e,_0x4a4b45){let _0x586780=Array['from'](_0x48ae63)[_0x2e06('0x2f')](_0x37af29=>function(_0x1b9836,_0x14fd06){return _0x14fd06[_0x2e06('0x9')](_0x1b9836['parent'],_0x2e06('0x1f'))&&!_0x14fd06[_0x2e06('0x18')](_0x1b9836);}(_0x37af29,_0x4a4b45));_0x586780=_0x586780[_0x2e06('0x2f')](_0x4161d6=>!_0x4161d6['is'](_0x2e06('0x19'),_0x2e06('0x1f'))||_0x4161d6[_0x2e06('0x7')](_0x2e06('0x8'))!=_0x14666e);const _0x4cb724=new Set();for(const _0x9165c7 of _0x586780)_0x9165c7['is']('element',_0x2e06('0x1f'))?_0x4cb724[_0x2e06('0x39')](ne(_0x9165c7)):_0x4cb724[_0x2e06('0x39')](_0x9165c7);return Array[_0x2e06('0x31')](_0x4cb724);}(_0x413932[_0x2e06('0x4')](),_0x3c76d9,_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x15')]);_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x22')](()=>{for(const _0x4fe3c5 of _0x204d96)_0x3d7570['markBlockFormat'](_0x4fe3c5,{'commandName':_0x48ffb6,'commandParams':[{'forceValue':!_0x2a9936[_0x2e06('0xb')]}],'formatGroupId':'blockName'},oe(_0x4fe3c5));});};}function _0x53e625(_0x526460){return()=>{const _0x1426a1=function(_0xc864aa){let _0x4f4085=Array[_0x2e06('0x31')](_0xc864aa);const _0x4ce9de=_0x4f4085[_0x2e06('0xa')](_0x9e81dd=>_0x2e06('0x1f')!=_0x9e81dd[_0x2e06('0x30')]);return _0x4ce9de>-0x1&&(_0x4f4085=_0x4f4085[_0x2e06('0x2d')](0x0,_0x4ce9de)),_0x4f4085;}(_0x3713e3[_0x2e06('0x3d')]['document'][_0x2e06('0x6')][_0x2e06('0x4')]()),_0x5eed07=_0x3713e3[_0x2e06('0x3d')]['createRange'](_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x11')](_0x1426a1[0x0],_0x2e06('0x2c')),_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x11')](_0x1426a1[_0x1426a1['length']-0x1],_0x2e06('0x1c')));_0x3713e3[_0x2e06('0x3d')][_0x2e06('0x22')](()=>{_0x3d7570[_0x2e06('0x32')](_0x5eed07,{'commandName':_0x526460,'commandParams':[],'formatGroupId':_0x2e06('0x0')},function(_0x276271){const _0x958313=new Set();for(const _0x40ad6e of _0x276271){let _0x28dd60=_0x40ad6e['nextSibling'];for(;_0x28dd60&&_0x28dd60[_0x2e06('0x7')](_0x2e06('0x0'))>_0x40ad6e['getAttribute'](_0x2e06('0x0'));)_0x958313[_0x2e06('0x39')](_0x28dd60),_0x28dd60=_0x28dd60[_0x2e06('0x16')];}return Array[_0x2e06('0x31')](_0x958313);}(_0x1426a1));});};}_0x3d7570['enableCommand']('numberedList',_0x2441ef(_0x2e06('0xc'))),_0x3d7570[_0x2e06('0x25')](_0x2e06('0x2'),_0x2441ef(_0x2e06('0x2'))),_0x84c4b3&&_0x3d7570['enableCommand'](_0x2e06('0x1e'),_0x2441ef(_0x2e06('0x1e'))),_0x3d7570[_0x2e06('0x25')](_0x2e06('0x3a'),_0x53e625('indentList')),_0x3d7570[_0x2e06('0x25')](_0x2e06('0xf'),_0x53e625(_0x2e06('0xf'))),_0x84c4b3&&_0x3d7570[_0x2e06('0x25')](_0x2e06('0x23'),()=>{const _0x37d224=_0x3713e3[_0x2e06('0x1b')][_0x2e06('0x27')](_0x2e06('0x23')),_0x269822=Array[_0x2e06('0x31')](_0x37d224[_0x2e06('0x36')]);_0x269822[_0x2e06('0x2f')](_0x4a3f74=>_0x4a3f74[_0x2e06('0x7')](_0x2e06('0x33'))!=_0x37d224['value']),_0x3713e3['model'][_0x2e06('0x22')](()=>{for(const _0x243ed7 of _0x269822)_0x3d7570[_0x2e06('0x32')](_0x243ed7,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x37d224[_0x2e06('0xb')]}]});});}),_0x3d7570[_0x2e06('0x3c')][_0x2e06('0x2b')](_0x2e06('0x1f'),_0xbd4724=>_0x2728a6(_0x21b8e4,'ELEMENT_LIST_ITEM',_0xbd4724)),_0x3d7570[_0x2e06('0x3c')][_0x2e06('0x3')](_0x463c3e=>{if('formatBlock'!=_0x463c3e[_0x2e06('0x2a')]&&'formatInline'!=_0x463c3e[_0x2e06('0x2a')])return;const {data:_0x536534}=_0x463c3e;if(_0x536534){if(_0x2e06('0xc')==_0x536534[_0x2e06('0x10')]||_0x2e06('0x2')==_0x536534[_0x2e06('0x10')]||'todoList'==_0x536534['commandName'])switch(_0x536534[_0x2e06('0x10')]['replace'](_0x2e06('0x17'),'')){case _0x2e06('0x37'):return _0x3cb24b(_0x2728a6(_0x21b8e4,'ELEMENT_BULLETED_LIST'));case _0x2e06('0x29'):return _0x3cb24b(_0x2728a6(_0x21b8e4,_0x2e06('0x38')));case _0x2e06('0x13'):return _0x3cb24b(_0x2728a6(_0x21b8e4,'ELEMENT_TODO_LIST'));}if(_0x2e06('0x3a')==_0x536534[_0x2e06('0x10')])return{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x3b'),_0x2728a6(_0x21b8e4,_0x2e06('0x28')))};if(_0x2e06('0xf')==_0x536534['commandName'])return{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x1d'),_0x2728a6(_0x21b8e4,_0x2e06('0x28')))};if(_0x2e06('0x23')==_0x536534['commandName'])return _0x536534[_0x2e06('0x1')][0x0][_0x2e06('0x34')]?{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x21'))}:{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0xe'))};}function _0x3cb24b(_0x12375a){return{'type':_0x2e06('0x26'),'content':_0x2728a6(_0x21b8e4,_0x2e06('0x24'),_0x12375a)};}});}}function ne(_0xba092d){const _0x275520=_0xba092d[_0x2e06('0x7')](_0x2e06('0x0'));if(0x0==_0x275520)return _0xba092d;let _0x373ddf=_0xba092d;for(;_0xba092d['previousSibling']&&_0xba092d['previousSibling']['is'](_0x2e06('0x19'),_0x2e06('0x1f'));){const _0x55dea3=_0xba092d[_0x2e06('0x5')][_0x2e06('0x7')](_0x2e06('0x0'));if(_0x55dea3==_0x275520)_0x373ddf=_0xba092d['previousSibling'];else{if(_0x55dea3<_0x275520)break;}_0xba092d=_0xba092d[_0x2e06('0x5')];}return _0x373ddf;}function oe(_0x564fe6){const _0x469671=[];if(_0x564fe6['is'](_0x2e06('0x19'),_0x2e06('0x1f'))&&_0x564fe6['getAttribute']('listIndent')>0x0){let _0x2d5f61=_0x564fe6['nextSibling'];for(;_0x2d5f61&&_0x2e06('0x1f')==_0x2d5f61['name']&&_0x2d5f61[_0x2e06('0x7')]('listIndent')==_0x564fe6['getAttribute'](_0x2e06('0x0'));)_0x469671['push'](_0x2d5f61),_0x2d5f61=_0x2d5f61[_0x2e06('0x16')];}return _0x469671;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x767b=['getSelectedBlocks','numbered','reversed','format','commandName','formatInline','locale','TrackChangesEditing','forward','listType','listStyle','registerDescriptionCallback','getSiblingNodes','LegacyListUtils','before','plugins','_getSuggestionBlocks','toUpperCase','_getTranslationKeyForListStyle','getFirstPosition','_getSuggestionBlocksForListStyle','type','listItem','*Format:*\x20set\x20start\x20index\x20to\x20%0','listReversed','formatBlock','model','handleListStartCommand','from','length','listStart','backward','unshift','markMultiRangeBlockFormat','handleListStyleCommand','flat','document','*Format:*\x20set\x20order\x20to\x20regular','element','bind','getLastPosition','_LIST_','*Format:*\x20set\x20order\x20to\x20reversed','get','handleDescriptions','selection','styles','commandParams','map','enableCommand','replace','handleListReversedCommand','createRange','startIndex','change','afterInit','filter','push','editor','createPositionAt','getAttribute'];(function(_0x31d837,_0x767bd7){const _0x607846=function(_0xb8e9cf){while(--_0xb8e9cf){_0x31d837['push'](_0x31d837['shift']());}};_0x607846(++_0x767bd7);}(_0x767b,0x135));const _0x6078=function(_0x31d837,_0x767bd7){_0x31d837=_0x31d837-0x0;let _0x607846=_0x767b[_0x31d837];return _0x607846;};import{Plugin as _0x38ef3d}from'ckeditor5/src/core.js';import{getTranslation as _0x23cfef}from'../utils/common-translations.js';export default class K extends _0x38ef3d{[_0x6078('0x33')](){if(!this[_0x6078('0x36')][_0x6078('0xb')]['has']('LegacyListPropertiesEditing'))return;const _0x1007e6=this['editor']['config'][_0x6078('0x27')]('list.properties'),_0x177770=this[_0x6078('0x36')][_0x6078('0xb')][_0x6078('0x27')](_0x6078('0x3'));_0x1007e6[_0x6078('0x2a')]&&_0x177770[_0x6078('0x2d')](_0x6078('0x6'),this['handleListStyleCommand'][_0x6078('0x23')](this)),_0x1007e6[_0x6078('0x3b')]&&_0x177770[_0x6078('0x2d')]('listReversed',this[_0x6078('0x2f')]['bind'](this)),_0x1007e6[_0x6078('0x31')]&&_0x177770[_0x6078('0x2d')](_0x6078('0x1a'),this[_0x6078('0x17')][_0x6078('0x23')](this)),_0x177770['_descriptionFactory'][_0x6078('0x7')](this['handleDescriptions']['bind'](this));}[_0x6078('0x1e')](_0x570604,_0xc6cb33={}){const _0x19b265=this[_0x6078('0x36')]['plugins'][_0x6078('0x27')]('TrackChangesEditing'),_0x1c24ce=this[_0x6078('0x10')]();this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x19b265[_0x6078('0x1d')](_0x1c24ce,{'commandName':_0x6078('0x6'),'commandParams':[{'type':_0xc6cb33[_0x6078('0x11')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x4d3088,_0x403c9f={}){const _0x3cf6e0=this[_0x6078('0x36')][_0x6078('0xb')]['get'](_0x6078('0x3')),_0x45a6cf=this[_0x6078('0xc')](_0x163ed3=>_0x163ed3['is']('element',_0x6078('0x12'))&&_0x6078('0x3a')===_0x163ed3[_0x6078('0x38')](_0x6078('0x5')));if(_0x45a6cf['length']<0x1)return;const _0x414b8a=_0x45a6cf[_0x6078('0x2c')](_0x3e711f=>this[_0x6078('0x36')]['model'][_0x6078('0x30')](this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x3e711f,_0x6078('0xa')),this['editor'][_0x6078('0x16')]['createPositionAt'](_0x3e711f,0x0)));this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x3cf6e0['markMultiRangeBlockFormat'](_0x414b8a,{'commandName':'listReversed','commandParams':[{'reversed':_0x403c9f[_0x6078('0x3b')]}],'formatGroupId':_0x6078('0x14')});});}['handleListStartCommand'](_0x5e0dfa,_0x14c592={}){const _0x235898=this[_0x6078('0x36')][_0x6078('0xb')]['get'](_0x6078('0x3')),_0x51ac13=this[_0x6078('0xc')](_0x86cce0=>_0x86cce0['is'](_0x6078('0x22'),_0x6078('0x12'))&&_0x6078('0x3a')===_0x86cce0['getAttribute'](_0x6078('0x5')));if(_0x51ac13[_0x6078('0x19')]<0x1)return;const _0x69cae7=_0x51ac13[_0x6078('0x2c')](_0x506933=>this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x30')](this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x506933,_0x6078('0xa')),this[_0x6078('0x36')]['model'][_0x6078('0x37')](_0x506933,0x0)));this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x235898[_0x6078('0x1d')](_0x69cae7,{'commandName':_0x6078('0x1a'),'commandParams':[{'startIndex':_0x14c592[_0x6078('0x31')]}],'formatGroupId':'listStart'});});}[_0x6078('0x28')](_0x20ce05){if(_0x6078('0x15')!=_0x20ce05[_0x6078('0x11')]&&_0x6078('0x1')!=_0x20ce05[_0x6078('0x11')])return;const _0x5cd890=this[_0x6078('0x36')][_0x6078('0x2')],{data:_0x18ab4}=_0x20ce05;if(!_0x18ab4)return;let _0x39d95d,_0x3ce771;switch(_0x18ab4[_0x6078('0x0')]){case _0x6078('0x6'):_0x39d95d='*Change\x20to:*\x20%0',_0x3ce771={'type':_0x6078('0x3c'),'content':_0x23cfef(_0x5cd890,_0x39d95d,_0x23cfef(_0x5cd890,this[_0x6078('0xe')](_0x18ab4['commandParams'][0x0][_0x6078('0x11')])))};break;case _0x6078('0x14'):_0x39d95d=_0x18ab4[_0x6078('0x2b')][0x0][_0x6078('0x3b')]?_0x6078('0x26'):_0x6078('0x21'),_0x3ce771={'type':'format','content':_0x23cfef(_0x5cd890,_0x39d95d)};break;case _0x6078('0x1a'):_0x39d95d=_0x6078('0x13'),_0x3ce771={'type':_0x6078('0x3c'),'content':_0x23cfef(_0x5cd890,_0x39d95d,_0x18ab4[_0x6078('0x2b')][0x0][_0x6078('0x31')])};}return _0x3ce771;}['_getSuggestionBlocksForListStyle'](){var _0x5c35b4,_0x4d88a3,_0x1cb25f,_0x394142;const _0x4a80e0=this[_0x6078('0x36')][_0x6078('0xb')][_0x6078('0x27')](_0x6078('0x9'));let _0x4b09de=Array['from'](this[_0x6078('0x36')][_0x6078('0x16')]['document'][_0x6078('0x29')][_0x6078('0x39')]());return(null===(_0x5c35b4=_0x4b09de[0x0])||void 0x0===_0x5c35b4?void 0x0:_0x5c35b4['is'](_0x6078('0x22'),_0x6078('0x12')))&&_0x4b09de[_0x6078('0x1c')](..._0x4a80e0[_0x6078('0x8')](this[_0x6078('0x36')]['model'][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0xf')](),_0x6078('0x1b'))),(null===(_0x4d88a3=_0x4b09de[_0x4b09de[_0x6078('0x19')]-0x1])||void 0x0===_0x4d88a3?void 0x0:_0x4d88a3['is'](_0x6078('0x22'),_0x6078('0x12')))&&_0x4b09de[_0x6078('0x35')](..._0x4a80e0[_0x6078('0x8')](this['editor'][_0x6078('0x16')][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0x24')](),_0x6078('0x4'))),_0x4b09de=[...new Set(_0x4b09de)],(null===(_0x394142=null===(_0x1cb25f=this['editor'][_0x6078('0x16')][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0xf')]())||void 0x0===_0x1cb25f?void 0x0:_0x1cb25f['parent'])||void 0x0===_0x394142?void 0x0:_0x394142['is']('element',_0x6078('0x12')))&&(_0x4b09de=_0x4b09de[_0x6078('0x34')](_0x1c704f=>_0x1c704f['is'](_0x6078('0x22'),_0x6078('0x12')))),_0x4b09de;}[_0x6078('0xc')](_0x22d5a3){const _0x3640f6=this['editor']['plugins'][_0x6078('0x27')](_0x6078('0x9'));let _0x4e537d=Array[_0x6078('0x18')](this[_0x6078('0x36')]['model'][_0x6078('0x20')][_0x6078('0x29')]['getSelectedBlocks']())['filter'](_0x22d5a3)[_0x6078('0x2c')](_0x3d5c90=>{const _0x4943fa=this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x3d5c90,0x0);return[..._0x3640f6[_0x6078('0x8')](_0x4943fa,_0x6078('0x1b')),..._0x3640f6[_0x6078('0x8')](_0x4943fa,'forward')];})[_0x6078('0x1f')]();return _0x4e537d=[...new Set(_0x4e537d)],_0x4e537d;}['_getTranslationKeyForListStyle'](_0xdd377b){return'ELEMENT_'+this[_0x6078('0x36')]['plugins']['get'](_0x6078('0x9'))['getListTypeFromListStyleType'](_0xdd377b)[_0x6078('0xd')]()+_0x6078('0x25')+_0xdd377b[_0x6078('0xd')]()[_0x6078('0x2e')](/-/g,'_');}}
23
+ const _0x3854=['_descriptionFactory','get','afterInit','editor','handleDescriptions','startIndex','reversed','listStart','document','getAttribute','*Format:*\x20set\x20start\x20index\x20to\x20%0','getFirstPosition','listItem','push','format','numbered','backward','_getSuggestionBlocks','handleListReversedCommand','ELEMENT_','registerDescriptionCallback','handleListStartCommand','listReversed','element','map','handleListStyleCommand','locale','getSelectedBlocks','markMultiRangeBlockFormat','LegacyListPropertiesEditing','LegacyListUtils','getSiblingNodes','type','*Format:*\x20set\x20order\x20to\x20regular','createPositionAt','*Format:*\x20set\x20order\x20to\x20reversed','selection','commandParams','change','flat','formatBlock','TrackChangesEditing','length','commandName','_LIST_','plugins','createRange','filter','listType','model','formatInline','unshift','config','_getSuggestionBlocksForListStyle','before','forward','listStyle','toUpperCase','_getTranslationKeyForListStyle','enableCommand','bind'];(function(_0x279ede,_0x385496){const _0x364645=function(_0x3fc443){while(--_0x3fc443){_0x279ede['push'](_0x279ede['shift']());}};_0x364645(++_0x385496);}(_0x3854,0x10a));const _0x3646=function(_0x279ede,_0x385496){_0x279ede=_0x279ede-0x0;let _0x364645=_0x3854[_0x279ede];return _0x364645;};import{Plugin as _0x5a7abc}from'ckeditor5/src/core.js';import{getTranslation as _0x561b28}from'../utils/common-translations.js';export default class K extends _0x5a7abc{[_0x3646('0x29')](){if(!this[_0x3646('0x2a')][_0x3646('0x17')]['has'](_0x3646('0x7')))return;const _0x28d28a=this[_0x3646('0x2a')][_0x3646('0x1e')]['get']('list.properties'),_0x5ec1bf=this[_0x3646('0x2a')][_0x3646('0x17')][_0x3646('0x28')](_0x3646('0x13'));_0x28d28a['styles']&&_0x5ec1bf[_0x3646('0x25')](_0x3646('0x22'),this[_0x3646('0x3')][_0x3646('0x26')](this)),_0x28d28a[_0x3646('0x2d')]&&_0x5ec1bf[_0x3646('0x25')](_0x3646('0x0'),this[_0x3646('0x39')][_0x3646('0x26')](this)),_0x28d28a[_0x3646('0x2c')]&&_0x5ec1bf[_0x3646('0x25')](_0x3646('0x2e'),this[_0x3646('0x3c')]['bind'](this)),_0x5ec1bf[_0x3646('0x27')][_0x3646('0x3b')](this[_0x3646('0x2b')]['bind'](this));}[_0x3646('0x3')](_0x55f404,_0x20833d={}){const _0x5399e1=this['editor']['plugins'][_0x3646('0x28')](_0x3646('0x13')),_0x998552=this['_getSuggestionBlocksForListStyle']();this[_0x3646('0x2a')]['model']['change'](()=>{_0x5399e1[_0x3646('0x6')](_0x998552,{'commandName':_0x3646('0x22'),'commandParams':[{'type':_0x20833d['type']}],'formatGroupId':_0x3646('0x22')});});}[_0x3646('0x39')](_0x3c2b62,_0x47af5f={}){const _0x4635f1=this[_0x3646('0x2a')]['plugins'][_0x3646('0x28')](_0x3646('0x13')),_0x3c6aa0=this[_0x3646('0x38')](_0x47da61=>_0x47da61['is'](_0x3646('0x1'),_0x3646('0x33'))&&_0x3646('0x36')===_0x47da61[_0x3646('0x30')](_0x3646('0x1a')));if(_0x3c6aa0['length']<0x1)return;const _0x25cb01=_0x3c6aa0[_0x3646('0x2')](_0x1f90bf=>this[_0x3646('0x2a')]['model'][_0x3646('0x18')](this[_0x3646('0x2a')][_0x3646('0x1b')]['createPositionAt'](_0x1f90bf,_0x3646('0x20')),this['editor'][_0x3646('0x1b')][_0x3646('0xc')](_0x1f90bf,0x0)));this[_0x3646('0x2a')][_0x3646('0x1b')]['change'](()=>{_0x4635f1['markMultiRangeBlockFormat'](_0x25cb01,{'commandName':_0x3646('0x0'),'commandParams':[{'reversed':_0x47af5f[_0x3646('0x2d')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x33b7bf,_0x3ffe1d={}){const _0x2d56f4=this['editor']['plugins'][_0x3646('0x28')](_0x3646('0x13')),_0x552a68=this[_0x3646('0x38')](_0x39375c=>_0x39375c['is'](_0x3646('0x1'),_0x3646('0x33'))&&_0x3646('0x36')===_0x39375c[_0x3646('0x30')](_0x3646('0x1a')));if(_0x552a68['length']<0x1)return;const _0x31191a=_0x552a68['map'](_0x5a39ad=>this['editor'][_0x3646('0x1b')]['createRange'](this[_0x3646('0x2a')]['model'][_0x3646('0xc')](_0x5a39ad,_0x3646('0x20')),this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0xc')](_0x5a39ad,0x0)));this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0x10')](()=>{_0x2d56f4[_0x3646('0x6')](_0x31191a,{'commandName':_0x3646('0x2e'),'commandParams':[{'startIndex':_0x3ffe1d[_0x3646('0x2c')]}],'formatGroupId':'listStart'});});}[_0x3646('0x2b')](_0x469397){if(_0x3646('0x12')!=_0x469397[_0x3646('0xa')]&&_0x3646('0x1c')!=_0x469397['type'])return;const _0x3676cf=this[_0x3646('0x2a')][_0x3646('0x4')],{data:_0x150196}=_0x469397;if(!_0x150196)return;let _0x105224,_0x3a26c4;switch(_0x150196[_0x3646('0x15')]){case'listStyle':_0x105224='*Change\x20to:*\x20%0',_0x3a26c4={'type':'format','content':_0x561b28(_0x3676cf,_0x105224,_0x561b28(_0x3676cf,this['_getTranslationKeyForListStyle'](_0x150196[_0x3646('0xf')][0x0][_0x3646('0xa')])))};break;case _0x3646('0x0'):_0x105224=_0x150196[_0x3646('0xf')][0x0]['reversed']?_0x3646('0xd'):_0x3646('0xb'),_0x3a26c4={'type':_0x3646('0x35'),'content':_0x561b28(_0x3676cf,_0x105224)};break;case _0x3646('0x2e'):_0x105224=_0x3646('0x31'),_0x3a26c4={'type':'format','content':_0x561b28(_0x3676cf,_0x105224,_0x150196[_0x3646('0xf')][0x0][_0x3646('0x2c')])};}return _0x3a26c4;}[_0x3646('0x1f')](){var _0x1bff3c,_0x459ca4,_0x1b64fb,_0x1c1cd3;const _0x1332c6=this['editor'][_0x3646('0x17')][_0x3646('0x28')]('LegacyListUtils');let _0x11588d=Array['from'](this['editor'][_0x3646('0x1b')]['document'][_0x3646('0xe')][_0x3646('0x5')]());return(null===(_0x1bff3c=_0x11588d[0x0])||void 0x0===_0x1bff3c?void 0x0:_0x1bff3c['is'](_0x3646('0x1'),'listItem'))&&_0x11588d[_0x3646('0x1d')](..._0x1332c6[_0x3646('0x9')](this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0x2f')][_0x3646('0xe')]['getFirstPosition'](),_0x3646('0x37'))),(null===(_0x459ca4=_0x11588d[_0x11588d[_0x3646('0x14')]-0x1])||void 0x0===_0x459ca4?void 0x0:_0x459ca4['is'](_0x3646('0x1'),_0x3646('0x33')))&&_0x11588d[_0x3646('0x34')](..._0x1332c6[_0x3646('0x9')](this[_0x3646('0x2a')][_0x3646('0x1b')][_0x3646('0x2f')][_0x3646('0xe')]['getLastPosition'](),_0x3646('0x21'))),_0x11588d=[...new Set(_0x11588d)],(null===(_0x1c1cd3=null===(_0x1b64fb=this[_0x3646('0x2a')][_0x3646('0x1b')]['document'][_0x3646('0xe')][_0x3646('0x32')]())||void 0x0===_0x1b64fb?void 0x0:_0x1b64fb['parent'])||void 0x0===_0x1c1cd3?void 0x0:_0x1c1cd3['is'](_0x3646('0x1'),_0x3646('0x33')))&&(_0x11588d=_0x11588d['filter'](_0x8f51c7=>_0x8f51c7['is'](_0x3646('0x1'),_0x3646('0x33')))),_0x11588d;}[_0x3646('0x38')](_0x4695e1){const _0x175900=this['editor'][_0x3646('0x17')]['get'](_0x3646('0x8'));let _0x5b4227=Array['from'](this[_0x3646('0x2a')][_0x3646('0x1b')]['document'][_0x3646('0xe')][_0x3646('0x5')]())[_0x3646('0x19')](_0x4695e1)[_0x3646('0x2')](_0x44cd8c=>{const _0x123ec4=this[_0x3646('0x2a')][_0x3646('0x1b')]['createPositionAt'](_0x44cd8c,0x0);return[..._0x175900['getSiblingNodes'](_0x123ec4,'backward'),..._0x175900[_0x3646('0x9')](_0x123ec4,'forward')];})[_0x3646('0x11')]();return _0x5b4227=[...new Set(_0x5b4227)],_0x5b4227;}[_0x3646('0x24')](_0x73a25){return _0x3646('0x3a')+this[_0x3646('0x2a')][_0x3646('0x17')][_0x3646('0x28')](_0x3646('0x8'))['getListTypeFromListStyleType'](_0x73a25)['toUpperCase']()+_0x3646('0x16')+_0x73a25[_0x3646('0x23')]()['replace'](/-/g,'_');}}