@ckeditor/ckeditor5-track-changes 39.0.2 → 40.0.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 (136) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +1 -1
  4. package/package.json +3 -3
  5. package/src/augmentation.d.ts +40 -40
  6. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  9. package/src/commands/discardsuggestioncommand.js +1 -1
  10. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  13. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  14. package/src/commands/trackchangescommand.d.ts +26 -26
  15. package/src/commands/trackchangescommand.js +1 -1
  16. package/src/index.d.ts +16 -16
  17. package/src/integrations/aiassistant.d.ts +17 -0
  18. package/src/integrations/aiassistant.js +23 -0
  19. package/src/integrations/alignment.d.ts +17 -17
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +17 -17
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +17 -17
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +17 -17
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +17 -17
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +14 -14
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +17 -17
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +17 -17
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +29 -29
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +16 -16
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +21 -21
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +17 -17
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +17 -17
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +17 -17
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +17 -17
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +17 -17
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +17 -17
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +17 -17
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +23 -23
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/importword.d.ts +18 -18
  58. package/src/integrations/importword.js +1 -1
  59. package/src/integrations/indent.d.ts +17 -17
  60. package/src/integrations/indent.js +1 -1
  61. package/src/integrations/inputcommand.d.ts +16 -16
  62. package/src/integrations/inputcommand.js +1 -1
  63. package/src/integrations/link.d.ts +17 -17
  64. package/src/integrations/link.js +1 -1
  65. package/src/integrations/list.d.ts +17 -17
  66. package/src/integrations/list.js +1 -1
  67. package/src/integrations/listproperties.d.ts +29 -29
  68. package/src/integrations/listproperties.js +1 -1
  69. package/src/integrations/mediaembed.d.ts +17 -17
  70. package/src/integrations/mediaembed.js +1 -1
  71. package/src/integrations/mention.d.ts +17 -17
  72. package/src/integrations/mention.js +1 -1
  73. package/src/integrations/pagebreak.d.ts +17 -17
  74. package/src/integrations/pagebreak.js +1 -1
  75. package/src/integrations/paragraph.d.ts +17 -17
  76. package/src/integrations/paragraph.js +1 -1
  77. package/src/integrations/removeformat.d.ts +17 -17
  78. package/src/integrations/removeformat.js +1 -1
  79. package/src/integrations/restrictededitingmode.d.ts +17 -17
  80. package/src/integrations/restrictededitingmode.js +1 -1
  81. package/src/integrations/shiftentercommand.d.ts +16 -16
  82. package/src/integrations/shiftentercommand.js +1 -1
  83. package/src/integrations/standardeditingmode.d.ts +17 -17
  84. package/src/integrations/standardeditingmode.js +1 -1
  85. package/src/integrations/style.d.ts +18 -18
  86. package/src/integrations/style.js +1 -1
  87. package/src/integrations/table.d.ts +42 -42
  88. package/src/integrations/table.js +1 -1
  89. package/src/integrations/tablecaption.d.ts +22 -22
  90. package/src/integrations/tablecaption.js +1 -1
  91. package/src/integrations/tableclipboard.d.ts +19 -19
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.d.ts +26 -26
  94. package/src/integrations/tablecolumnresize.js +1 -1
  95. package/src/integrations/tableheadings.d.ts +22 -22
  96. package/src/integrations/tableheadings.js +1 -1
  97. package/src/integrations/tablemergesplit.d.ts +22 -22
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.d.ts +17 -17
  100. package/src/integrations/tableofcontents.js +1 -1
  101. package/src/integrations/tableproperties.d.ts +27 -27
  102. package/src/integrations/tableproperties.js +1 -1
  103. package/src/integrations/template.d.ts +17 -17
  104. package/src/integrations/template.js +1 -1
  105. package/src/integrations/title.d.ts +17 -17
  106. package/src/integrations/title.js +1 -1
  107. package/src/integrations/undo.d.ts +17 -17
  108. package/src/integrations/undo.js +1 -1
  109. package/src/integrations/utils.d.ts +21 -21
  110. package/src/integrations/utils.js +1 -1
  111. package/src/suggestion.d.ts +276 -276
  112. package/src/suggestion.js +1 -1
  113. package/src/suggestiondescriptionfactory.d.ts +163 -163
  114. package/src/suggestiondescriptionfactory.js +1 -1
  115. package/src/trackchanges.d.ts +244 -244
  116. package/src/trackchanges.js +1 -1
  117. package/src/trackchangesconfig.d.ts +75 -75
  118. package/src/trackchangesdata.d.ts +41 -41
  119. package/src/trackchangesdata.js +1 -1
  120. package/src/trackchangesediting.d.ts +468 -467
  121. package/src/trackchangesediting.js +1 -1
  122. package/src/trackchangesui.d.ts +38 -38
  123. package/src/trackchangesui.js +1 -1
  124. package/src/ui/suggestioncontroller.d.ts +37 -37
  125. package/src/ui/suggestioncontroller.js +1 -1
  126. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  127. package/src/ui/view/basesuggestionthreadview.js +1 -1
  128. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  129. package/src/ui/view/suggestionthreadview.js +1 -1
  130. package/src/utils/common-translations.d.ts +9 -9
  131. package/src/utils/common-translations.js +1 -1
  132. package/src/utils/utils.d.ts +30 -30
  133. package/src/utils/utils.js +1 -1
  134. package/theme/icons/track-changes-accept.svg +1 -1
  135. package/theme/icons/track-changes-discard.svg +1 -1
  136. package/theme/icons/track-changes.svg +1 -1
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/image
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
- */
12
- export default class TrackChangesImage extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/image
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
+ */
12
+ export default class TrackChangesImage extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a49=['ImageStyleEditing','markInlineFormat','getSuggestionCallback','insertImage','_suggestionFactory','formatBlock','isBlockImage','imageStyle','addObject','forceDefaultExecution','ImageCaptionUtils','length','refresh','imageBlock','commandName','backward','_findSuggestions','getClosestSelectedImageElement','toggleImageCaption','document','forward','registerElementLabel','head','registerCustomCallback','editor','createRange','suggestion','getFirstRange','accept','newValue','nodeAfter','*Format:*\x20%0','from','newRange','detach','imageStylePreApply','registerPostFixer','ImageUploadEditing','commandParams','ImageCaptionEditing','ImageBlockEditing','discardSuggestion','fromPosition','isInContent','get','markBlockFormat','previous','type','name','registerDescriptionCallback','schema','getChangedMarkers','isOwn','alt','*Reset\x20image\x20width*','imageTextAlternative','title','hasAttribute','convertBlockImageToInline','selection','insertion','ImageTextAlternativeEditing','model','getCaptionFromImageModelElement','change','getAttribute','getNearestSelectionRange','format','caption','find','filter','next','plugins','TrackChangesEditing','uploadImage','removeObject','isEqual','_splitMarkerName','differ','getSuggestion','formatInline','markInsertion','toPrevious','afterInit','convertInlineImageToBlock','side','resizeImage','imageStylePostApply','*Set\x20image\x20text\x20alternative:*\x20%0','getSuggestions','width','findIndex','subType','start','shouldConvertImageType','Inline\x20image\x20to\x20block\x20image','imageTypeBlock','isBefore','imageTypeInline','Users','*Remove\x20image\x20text\x20alternative*','discard','getContainedElement','imageCaption','commands','author','forEach','enableCommand','nodeBefore','join','hasSuggestion','element','toLowerCase','ELEMENT_INLINE_IMAGE','has','chain','ImageUtils','end','ELEMENT_IMAGE','_descriptionFactory','createRangeOn','value'];(function(_0x165973,_0x5a49cb){const _0x32e453=function(_0x100f8a){while(--_0x100f8a){_0x165973['push'](_0x165973['shift']());}};_0x32e453(++_0x5a49cb);}(_0x5a49,0xc1));const _0x32e4=function(_0x165973,_0x5a49cb){_0x165973=_0x165973-0x0;let _0x32e453=_0x5a49[_0x165973];return _0x32e453;};import{Plugin as _0x5c8876}from'ckeditor5/src/core';import{LivePosition as _0x3d1457}from'ckeditor5/src/engine';import{uid as _0x2589f0}from'ckeditor5/src/utils';import{getTranslation as _0x5747b3}from'../utils/common-translations';export default class X extends _0x5c8876{[_0x32e4('0xc')](){const _0x2902be=this[_0x32e4('0x4b')];if(!_0x2902be['plugins'][_0x32e4('0x2b')]('ImageEditing'))return;const _0x10fe2d=_0x2902be[_0x32e4('0x1')]['get'](_0x32e4('0x2')),_0x3708ef=_0x2902be['plugins'][_0x32e4('0x5f')](_0x32e4('0x2d')),_0x2b7392={},_0x47202d=_0x2902be['locale'];if(_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x36')),_0x10fe2d[_0x32e4('0x30')][_0x32e4('0x48')](_0x32e4('0x40'),_0x5ba8fc=>_0x5747b3(_0x47202d,_0x32e4('0x2f'),_0x5ba8fc)),_0x10fe2d['_descriptionFactory'][_0x32e4('0x48')]('imageInline',_0x147f21=>_0x5747b3(_0x47202d,_0x32e4('0x2a'),_0x147f21)),_0x10fe2d[_0x32e4('0x30')]['registerElementLabel'](_0x32e4('0x77'),()=>_0x5747b3(_0x47202d,'ELEMENT_CAPTION')),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x58'))&&_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x3')),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x5b'))&&_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')]('ImageInlineEditing')&&(_0x10fe2d[_0x32e4('0x24')]('imageTypeInline',(_0x40c6da,_0x3c1cc2)=>{const _0x25ea53=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]);_0x2902be[_0x32e4('0x71')]['change'](()=>{_0x10fe2d[_0x32e4('0x60')](_0x25ea53,{'commandName':_0x32e4('0x1b'),'commandParams':[_0x3c1cc2]},[],_0x32e4('0x6d'));});}),_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x19'),(_0x376262,_0x456f87)=>{_0x2902be['model'][_0x32e4('0x73')](_0x530b47=>{let _0x4e85ca=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x456b8c=_0x530b47[_0x32e4('0x31')](_0x4e85ca);const _0x29b58a=_0x3d1457[_0x32e4('0x5d')](_0x456b8c['start'],_0x32e4('0xb')),_0x1df2c7=_0x3d1457[_0x32e4('0x5d')](_0x456b8c[_0x32e4('0x2e')],'toNext');_0x10fe2d[_0x32e4('0x3c')](()=>_0x376262(_0x456f87)),_0x4e85ca=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x456b8c=_0x530b47['createRangeOn'](_0x4e85ca);const _0x31f501=_0x530b47['createRange'](_0x29b58a,_0x1df2c7);_0x29b58a[_0x32e4('0x55')](),_0x1df2c7['detach'](),_0x10fe2d[_0x32e4('0x60')](_0x4e85ca,{'commandName':'imageTypeInline','commandParams':[]},[],_0x32e4('0xd')),_0x31f501[_0x32e4('0x16')][_0x32e4('0x1a')](_0x456b8c['start'])&&_0x10fe2d[_0x32e4('0xa')](_0x530b47[_0x32e4('0x4c')](_0x31f501[_0x32e4('0x16')],_0x456b8c[_0x32e4('0x16')]),_0x32e4('0xd')),_0x456b8c[_0x32e4('0x2e')][_0x32e4('0x1a')](_0x31f501['end'])&&_0x10fe2d['markInsertion'](_0x530b47['createRange'](_0x456b8c['end'],_0x31f501[_0x32e4('0x2e')]),'convertInlineImageToBlock');});}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0xd'),_0x32e4('0x26'),()=>!0x1),_0x10fe2d['_suggestionFactory'][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0xd'),_0x32e4('0x4f'),()=>!0x1),_0x10fe2d['_suggestionFactory'][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0xd'),_0x32e4('0x1e'),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x35')](_0x32e4('0x38'),'',_0x32e4('0x4f'))),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x6f'),_0x32e4('0xd'),_0x32e4('0x26'),()=>!0x1),_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x6f'),'convertInlineImageToBlock',_0x32e4('0x1e'),([_0x5176fd])=>{const _0x47d483=_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x35')]('insertion','',_0x32e4('0x1e'));let _0x55f1f3=_0x5176fd[_0x32e4('0x16')],_0x3e5e3c=_0x5176fd[_0x32e4('0x2e')];const _0x31f2c3=_0x2902be[_0x32e4('0x71')][_0x32e4('0x65')][_0x32e4('0x75')](_0x55f1f3,_0x32e4('0x42')),_0x1dd614=_0x2902be['model'][_0x32e4('0x65')][_0x32e4('0x75')](_0x3e5e3c,_0x32e4('0x47'));_0x31f2c3['isCollapsed']&&(_0x55f1f3=_0x31f2c3['start']),_0x1dd614['isCollapsed']&&(_0x3e5e3c=_0x1dd614[_0x32e4('0x2e')]),_0x47d483([_0x2902be[_0x32e4('0x71')][_0x32e4('0x4c')](_0x55f1f3,_0x3e5e3c)]);}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('formatBlock','convertInlineImageToBlock','chain',_0x543000),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x6f'),_0x32e4('0xd'),_0x32e4('0x2c'),_0x543000)),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x5a'))&&(_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x45'),(_0x30c616,_0xb43010)=>{const _0xbf777e=_0x2902be[_0x32e4('0x1')][_0x32e4('0x5f')](_0x32e4('0x3d'));let _0x3cb70a=_0x3708ef[_0x32e4('0x44')](_0x2902be['model'][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x25feac=_0xbf777e[_0x32e4('0x72')](_0x3cb70a);_0x2902be[_0x32e4('0x71')]['change'](()=>{if(_0x25feac)return void _0x10fe2d['markDeletion'](_0x2902be[_0x32e4('0x71')][_0x32e4('0x31')](_0x25feac));const _0x21bc78=_0x3708ef[_0x32e4('0x39')](_0x3cb70a);_0x30c616(_0xb43010),_0x3cb70a=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]),_0x25feac=_0xbf777e[_0x32e4('0x72')](_0x3cb70a),_0x10fe2d[_0x32e4('0xa')](_0x2902be['model'][_0x32e4('0x31')](_0x25feac),_0x21bc78?null:_0x32e4('0x20'));});}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('insertion',_0x32e4('0x20'),'chain',_0x543000)),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')](_0x32e4('0x33'))){_0x10fe2d[_0x32e4('0x24')]('imageStyle',(_0x319ed9,_0x1275a6)=>{const _0x5c7cc2=_0x2902be[_0x32e4('0x1')][_0x32e4('0x5f')](_0x32e4('0x1c'))['me'],_0x207674=_0x2902be[_0x32e4('0x21')][_0x32e4('0x5f')](_0x32e4('0x3a'));let _0x1fe048=_0x3708ef[_0x32e4('0x44')](_0x2902be['model']['document'][_0x32e4('0x6e')]),_0x9a12c1=_0x2902be[_0x32e4('0x71')]['createRangeOn'](_0x1fe048),_0x35dd13=_0x207674[_0x32e4('0x32')];if(_0x35dd13==_0x1275a6[_0x32e4('0x32')])return;const _0x450d53={'commandName':'imageStyle','commandParams':[_0x1275a6],'formatGroupId':_0x2589f0()};_0x2902be[_0x32e4('0x71')][_0x32e4('0x73')](()=>{if(_0x10fe2d[_0x32e4('0x12')]()[_0x32e4('0x79')](_0x55e126=>_0x55e126[_0x32e4('0x5e')]&&_0x5c7cc2==_0x55e126[_0x32e4('0x22')]&&(_0x32e4('0x38')==_0x55e126[_0x32e4('0x62')]||_0x32e4('0x9')==_0x55e126['type'])&&(_0x32e4('0x56')==_0x55e126[_0x32e4('0x15')]||_0x32e4('0x10')==_0x55e126[_0x32e4('0x15')])&&_0x55e126[_0x32e4('0x4e')]()[_0x32e4('0x5')](_0x9a12c1))[_0x32e4('0x23')](_0x1ef8cc=>_0x10fe2d['discardSuggestion'](_0x1ef8cc[_0x32e4('0x49')])),_0x1fe048=_0x3708ef[_0x32e4('0x44')](_0x2902be['model']['document'][_0x32e4('0x6e')]),_0x9a12c1=_0x2902be[_0x32e4('0x71')][_0x32e4('0x31')](_0x1fe048),_0x207674[_0x32e4('0x3f')](),_0x2902be[_0x32e4('0x21')][_0x32e4('0x5f')](_0x32e4('0x1b'))[_0x32e4('0x3f')](),_0x2902be['commands'][_0x32e4('0x5f')](_0x32e4('0x19'))[_0x32e4('0x3f')](),_0x35dd13=_0x207674['value'],_0x35dd13!=_0x1275a6[_0x32e4('0x32')])return _0x3708ef['isInlineImage'](_0x1fe048)&&_0x207674[_0x32e4('0x17')](_0x1275a6['value'],_0x1fe048)?(_0x319ed9(_0x1275a6),_0x1fe048=_0x3708ef['getClosestSelectedImageElement'](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')]['selection']),void _0x10fe2d[_0x32e4('0x60')](_0x1fe048,{..._0x450d53,'commandReversedParams':[{'value':_0x35dd13||null}]},[],'imageStylePreApply')):void(_0x3708ef[_0x32e4('0x39')](_0x1fe048)?_0x10fe2d[_0x32e4('0x60')](_0x1fe048,_0x450d53,[],_0x32e4('0x10')):_0x10fe2d[_0x32e4('0x34')](_0x9a12c1,_0x450d53,_0x32e4('0x10')));});});for(const _0x32e818 of _0x2902be['plugins']['get'](_0x32e4('0x33'))['normalizedStyles'])_0x2b7392[_0x32e818[_0x32e4('0x63')]]=_0x32e818[_0x32e4('0x6b')][_0x32e4('0x29')]();_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x38'),_0x32e4('0x56'),_0x32e4('0x26'),()=>!0x1),_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x38'),'imageStylePostApply','join',()=>!0x1),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('formatInline','imageStylePostApply',_0x32e4('0x26'),()=>!0x1),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')](_0x32e4('0x38'),_0x32e4('0x56'),'accept',()=>!0x1),_0x10fe2d[_0x32e4('0x37')]['registerCustomCallback'](_0x32e4('0x38'),_0x32e4('0x56'),_0x32e4('0x1e'),(_0x3954a8,_0xfbe19f)=>{_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x35')](_0x32e4('0x38'),'',_0x32e4('0x4f'))(_0x3954a8,{'commandName':_0xfbe19f[_0x32e4('0x41')],'commandParams':_0xfbe19f['commandReversedParams']});}),_0x10fe2d[_0x32e4('0x37')][_0x32e4('0x4a')]('formatBlock',_0x32e4('0x56'),_0x32e4('0x2c'),_0x543000);}const _0x5dad27=[{'type':'formatBlock','subType':_0x32e4('0x56')},{'type':_0x32e4('0x6f'),'subType':_0x32e4('0x20')},{'type':_0x32e4('0x38'),'subType':_0x32e4('0xd')},{'type':_0x32e4('0x6f'),'subType':'convertInlineImageToBlock'}];function _0x33edb3(_0x386114,_0x5572d1){const _0x3d72c0=_0x5dad27['findIndex'](({type:_0x2694af,subType:_0x4252e5})=>_0x386114[_0x32e4('0x62')]==_0x2694af&&_0x386114[_0x32e4('0x15')]==_0x4252e5),_0x5a3a14=_0x5dad27[_0x32e4('0x14')](({type:_0x3a9b47,subType:_0xbd4c05})=>_0x5572d1['type']==_0x3a9b47&&_0x5572d1['subType']==_0xbd4c05);if(_0x3d72c0<0x0||_0x5a3a14<0x0)return!0x1;const _0x22f59a=_0x386114[_0x32e4('0x4e')](),_0x594611=_0x5572d1[_0x32e4('0x4e')]();if((0x0==_0x3d72c0||0x1==_0x3d72c0)&&0x2==_0x5a3a14&&_0x22f59a['isIntersecting'](_0x594611))return!0x0;if(0x2==_0x3d72c0&&0x3==_0x5a3a14){const _0x2fdf98=_0x10fe2d[_0x32e4('0x43')](_0x22f59a,_0x32e4('0x6f'))[_0x32e4('0x79')](({suggestion:_0x1bf937,meta:_0x373602})=>_0x373602[_0x32e4('0x67')]&&_0x32e4('0xd')==_0x1bf937[_0x32e4('0x15')]);if(_0x2fdf98['length']>0x1&&_0x594611[_0x32e4('0x2e')][_0x32e4('0x5')](_0x22f59a['start']))return!0x0;if(0x1==_0x2fdf98[_0x32e4('0x3e')]&&(_0x22f59a[_0x32e4('0x16')][_0x32e4('0x5')](_0x594611[_0x32e4('0x2e')])||_0x22f59a['end'][_0x32e4('0x5')](_0x594611[_0x32e4('0x16')])))return!0x0;}if(0x3==_0x3d72c0&&0x3==_0x5a3a14&&_0x22f59a[_0x32e4('0x16')][_0x32e4('0x1a')](_0x594611[_0x32e4('0x16')])){const _0x37a8c3=_0x22f59a['end'][_0x32e4('0x51')],_0x27d8bd=_0x594611[_0x32e4('0x16')][_0x32e4('0x25')];return _0x3708ef[_0x32e4('0x39')](_0x37a8c3)&&_0x37a8c3===_0x27d8bd;}return!0x1;}function _0x543000(_0x363473,_0x274183){return _0x33edb3(_0x363473,_0x274183)?[_0x363473,_0x274183]:_0x33edb3(_0x274183,_0x363473)?[_0x274183,_0x363473]:null;}_0x2902be['model'][_0x32e4('0x46')][_0x32e4('0x57')](()=>{let _0x34ec4f=!0x1;const _0x158434=Array[_0x32e4('0x53')](_0x2902be['model'][_0x32e4('0x46')][_0x32e4('0x7')][_0x32e4('0x66')]());for(const {name:_0x2f628f,data:_0x4d1fa5}of _0x158434){const {group:_0x3de95e,type:_0x157146,subType:_0x46f651,id:_0x414cba}=_0x10fe2d[_0x32e4('0x6')](_0x2f628f);if(_0x32e4('0x4d')==_0x3de95e&&_0x10fe2d[_0x32e4('0x27')](_0x414cba)){if('formatBlock'==_0x157146&&('imageStylePreApply'==_0x46f651||'imageStylePostApply'==_0x46f651)){const _0x3139ac=_0x10fe2d[_0x32e4('0x8')](_0x414cba);if(_0x4d1fa5[_0x32e4('0x54')]){const _0x1e0221=_0x3139ac[_0x32e4('0x4e')]()['getContainedElement']();if(_0x3708ef[_0x32e4('0x39')](_0x1e0221))continue;_0x10fe2d[_0x32e4('0x5c')](_0x3139ac),_0x34ec4f=!0x0;}}if('insertion'==_0x157146&&'imageCaption'==_0x46f651&&!_0x4d1fa5['newRange']){const _0x50b340=_0x10fe2d[_0x32e4('0x8')](_0x414cba);_0x50b340[_0x32e4('0x0')]&&_0x50b340[_0x32e4('0x0')][_0x32e4('0x5e')]&&(_0x10fe2d[_0x32e4('0x5c')](_0x50b340['next']),_0x34ec4f=!0x0);}}}return _0x34ec4f;}),_0x2902be[_0x32e4('0x1')][_0x32e4('0x2b')]('ImageResize')&&_0x10fe2d[_0x32e4('0x24')](_0x32e4('0xf'),(_0x4962da,_0x220d14)=>{const _0x365fde=_0x3708ef['getClosestSelectedImageElement'](_0x2902be[_0x32e4('0x71')][_0x32e4('0x46')][_0x32e4('0x6e')]);_0x365fde[_0x32e4('0x74')](_0x32e4('0x13'))!=_0x220d14[_0x32e4('0x13')]&&_0x2902be[_0x32e4('0x71')][_0x32e4('0x73')](()=>{_0x10fe2d[_0x32e4('0x60')](_0x365fde,{'commandName':_0x32e4('0xf'),'commandParams':[_0x220d14]});});}),_0x2902be[_0x32e4('0x1')]['has'](_0x32e4('0x70'))&&_0x10fe2d[_0x32e4('0x24')](_0x32e4('0x6a'),(_0x350ad2,_0x11b1e8)=>{const _0x5a1131=_0x3708ef[_0x32e4('0x44')](_0x2902be[_0x32e4('0x71')]['document'][_0x32e4('0x6e')]);(_0x5a1131[_0x32e4('0x6c')](_0x32e4('0x68'))?_0x5a1131[_0x32e4('0x74')](_0x32e4('0x68')):'')!=_0x11b1e8['newValue']&&_0x2902be['model'][_0x32e4('0x73')](()=>{_0x10fe2d[_0x32e4('0x60')](_0x5a1131,{'commandName':_0x32e4('0x6a'),'commandParams':[_0x11b1e8]});});}),_0x10fe2d[_0x32e4('0x30')][_0x32e4('0x64')](_0xc08070=>{if(!!_0x5dad27[_0x32e4('0x78')](({type:_0xe73320,subType:_0x7a5c4d})=>_0xc08070[_0x32e4('0x62')]==_0xe73320&&_0xc08070[_0x32e4('0x15')]==_0x7a5c4d))return _0xc08070[_0x32e4('0x61')]?{}:void 0x0;}),_0x10fe2d['_descriptionFactory'][_0x32e4('0x64')](_0x2d5b75=>{if(_0x32e4('0x6f')==_0x2d5b75[_0x32e4('0x62')]||'deletion'==_0x2d5b75[_0x32e4('0x62')]){const _0x39b766=_0x2d5b75[_0x32e4('0x1f')]();if(_0x39b766&&_0x39b766['is'](_0x32e4('0x28'),_0x32e4('0x77')))return{'type':'insertion'==_0x2d5b75[_0x32e4('0x62')]?_0x32e4('0x3b'):_0x32e4('0x4'),'element':_0x39b766,'quantity':0x1};}}),_0x10fe2d[_0x32e4('0x30')][_0x32e4('0x64')](_0x35a144=>_0x32e4('0x38')==_0x35a144[_0x32e4('0x62')]&&_0x32e4('0xd')==_0x35a144[_0x32e4('0x15')]?{'type':'format','content':_0x32e4('0x18')}:_0x32e4('0x38')==_0x35a144[_0x32e4('0x62')]&&'convertBlockImageToInline'==_0x35a144['subType']?{'type':_0x32e4('0x76'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x10fe2d['_descriptionFactory']['registerDescriptionCallback'](_0x516f3a=>{const {data:_0x5644d1}=_0x516f3a;if(_0x5644d1){if(_0x32e4('0x3a')==_0x5644d1[_0x32e4('0x41')]){const _0x550d72=_0x5644d1[_0x32e4('0x59')][0x0][_0x32e4('0x32')];return _0x457f49(_0x32e4('0xe')===_0x550d72?_0x5747b3(_0x47202d,'FORMAT_SIDE_IMAGE'):_0x2b7392[_0x550d72]||_0x550d72);}if('imageTextAlternative'==_0x5644d1[_0x32e4('0x41')]){const _0x5d5fb5=_0x5644d1[_0x32e4('0x59')][0x0][_0x32e4('0x50')];return _0x5d5fb5?{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x11'),'\x22'+_0x5d5fb5+'\x22')}:{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x1d'))};}if(_0x32e4('0xf')==_0x5644d1[_0x32e4('0x41')]){const _0xe440a3=_0x5644d1['commandParams'][0x0]['width'];return _0xe440a3?{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,'*Set\x20image\x20width:*\x20%0',_0xe440a3)}:{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x69'))};}}function _0x457f49(_0x3786dd){return{'type':_0x32e4('0x76'),'content':_0x5747b3(_0x47202d,_0x32e4('0x52'),_0x3786dd)};}});}}
23
+ const _0x3443=['isBefore','getSuggestionCallback','editor','subType','deletion','imageCaption','markInlineFormat','afterInit','plugins','refresh','isInContent','registerPostFixer','join','getClosestSelectedImageElement','getAttribute','imageStylePostApply','Inline\x20image\x20to\x20block\x20image','markBlockFormat','ImageStyleEditing','registerCustomCallback','registerElementLabel','format','filter','ELEMENT_CAPTION','isBlockImage','differ','shouldConvertImageType','enableCommand','imageTextAlternative','suggestion','imageStyle','next','ImageTextAlternativeEditing','head','type','imageStylePreApply','markInsertion','getChangedMarkers','model','detach','discard','getContainedElement','*Set\x20image\x20width:*\x20%0','insertion','accept','commandName','ImageCaptionUtils','ELEMENT_IMAGE','_splitMarkerName','toPrevious','hasSuggestion','start','forceDefaultExecution','nodeAfter','*Format:*\x20%0','from','forEach','Users','convertInlineImageToBlock','backward','discardSuggestion','getFirstRange','ImageCaptionEditing','selection','caption','_findSuggestions','formatBlock','document','setImageNaturalSizeAttributes','chain','createRange','fromPosition','change','getNearestSelectionRange','convertBlockImageToInline','getCaptionFromImageModelElement','getSuggestions','Block\x20image\x20to\x20inline\x20image','previous','isOwn','registerDescriptionCallback','forward','alt','newValue','resizedWidth','hasAttribute','get','uploadImage','end','schema','has','isCollapsed','element','resizeImage','locale','findIndex','toNext','find','nodeBefore','createRangeOn','ImageInlineEditing','isInlineImage','getSuggestion','newRange','ImageBlockEditing','toLowerCase','*Reset\x20image\x20width*','length','_suggestionFactory','value','imageTypeInline','commandReversedParams','*Remove\x20image\x20text\x20alternative*','side','formatInline','isEqual','commands','imageInline','markDeletion','_descriptionFactory'];(function(_0x468396,_0x344356){const _0x58ddae=function(_0x206f23){while(--_0x206f23){_0x468396['push'](_0x468396['shift']());}};_0x58ddae(++_0x344356);}(_0x3443,0x18c));const _0x58dd=function(_0x468396,_0x344356){_0x468396=_0x468396-0x0;let _0x58ddae=_0x3443[_0x468396];return _0x58ddae;};import{Plugin as _0x59c4a4}from'ckeditor5/src/core';import{LivePosition as _0x5cfbca}from'ckeditor5/src/engine';import{uid as _0x1f19d4}from'ckeditor5/src/utils';import{getTranslation as _0x1d6875}from'../utils/common-translations';export default class Y extends _0x59c4a4{[_0x58dd('0x5b')](){const _0x18ebb7=this[_0x58dd('0x56')];if(!_0x18ebb7[_0x58dd('0x5c')]['has']('ImageEditing'))return;const _0x28d39e=_0x18ebb7['plugins'][_0x58dd('0x32')]('TrackChangesEditing'),_0xbfde1f=_0x18ebb7[_0x58dd('0x5c')]['get']('ImageUtils'),_0x1b6fac={},_0xffdc90=_0x18ebb7[_0x58dd('0x3a')];if(_0x28d39e['enableCommand']('insertImage'),_0x28d39e['_descriptionFactory'][_0x58dd('0x68')]('imageBlock',_0x16e1d4=>_0x1d6875(_0xffdc90,_0x58dd('0xb'),_0x16e1d4)),_0x28d39e[_0x58dd('0x53')][_0x58dd('0x68')](_0x58dd('0x51'),_0x2b7732=>_0x1d6875(_0xffdc90,'ELEMENT_INLINE_IMAGE',_0x2b7732)),_0x28d39e['_descriptionFactory'][_0x58dd('0x68')](_0x58dd('0x1c'),()=>_0x1d6875(_0xffdc90,_0x58dd('0x6b'))),_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')]('ImageUploadEditing')&&_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x33')),_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')](_0x58dd('0x44'))&&_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')](_0x58dd('0x40'))&&(_0x28d39e['enableCommand'](_0x58dd('0x4a'),(_0x484d1a,_0xf5162f)=>{const _0xa0b123=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')]['document'][_0x58dd('0x1b')]);_0x18ebb7[_0x58dd('0x2')]['change'](()=>{_0x28d39e[_0x58dd('0x65')](_0xa0b123,{'commandName':_0x58dd('0x4a'),'commandParams':[_0xf5162f]},[],_0x58dd('0x26'));});}),_0x28d39e[_0x58dd('0x6f')]('imageTypeBlock',(_0x4ddd51,_0x2cd245)=>{_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x24')](_0xa56ce8=>{let _0x3fe709=_0xbfde1f['getClosestSelectedImageElement'](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]),_0x3e4b13=_0xa56ce8['createRangeOn'](_0x3fe709);const _0x46f1e4=_0x5cfbca['fromPosition'](_0x3e4b13[_0x58dd('0xf')],_0x58dd('0xd')),_0x277fdb=_0x5cfbca[_0x58dd('0x23')](_0x3e4b13[_0x58dd('0x34')],_0x58dd('0x3c'));_0x28d39e[_0x58dd('0x10')](()=>_0x4ddd51(_0x2cd245)),_0x3fe709=_0xbfde1f['getClosestSelectedImageElement'](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')]['selection']),_0x3e4b13=_0xa56ce8[_0x58dd('0x3f')](_0x3fe709);const _0x559cad=_0xa56ce8[_0x58dd('0x22')](_0x46f1e4,_0x277fdb);_0x46f1e4[_0x58dd('0x3')](),_0x277fdb[_0x58dd('0x3')](),_0x28d39e['markBlockFormat'](_0x3fe709,{'commandName':_0x58dd('0x4a'),'commandParams':[_0x2cd245]},[],_0x58dd('0x16')),_0x559cad['start']['isBefore'](_0x3e4b13[_0x58dd('0xf')])&&_0x28d39e[_0x58dd('0x0')](_0xa56ce8[_0x58dd('0x22')](_0x559cad['start'],_0x3e4b13[_0x58dd('0xf')]),_0x58dd('0x16')),_0x3e4b13[_0x58dd('0x34')]['isBefore'](_0x559cad[_0x58dd('0x34')])&&_0x28d39e[_0x58dd('0x0')](_0xa56ce8[_0x58dd('0x22')](_0x3e4b13['end'],_0x559cad[_0x58dd('0x34')]),'convertInlineImageToBlock');});}),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')]('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x28d39e[_0x58dd('0x48')]['registerCustomCallback'](_0x58dd('0x1e'),'convertInlineImageToBlock',_0x58dd('0x8'),()=>!0x1),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x16'),'discard',_0x28d39e[_0x58dd('0x48')]['getSuggestionCallback'](_0x58dd('0x1e'),'',_0x58dd('0x8'))),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x7'),'convertInlineImageToBlock','join',()=>!0x1),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x7'),_0x58dd('0x16'),_0x58dd('0x4'),([_0x11cdd4])=>{const _0x31d052=_0x28d39e['_suggestionFactory'][_0x58dd('0x55')](_0x58dd('0x7'),'',_0x58dd('0x4'));let _0x12d001=_0x11cdd4[_0x58dd('0xf')],_0x45b024=_0x11cdd4[_0x58dd('0x34')];const _0x279de7=_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x35')][_0x58dd('0x25')](_0x12d001,_0x58dd('0x17')),_0x2f68af=_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x35')][_0x58dd('0x25')](_0x45b024,_0x58dd('0x2d'));_0x279de7['isCollapsed']&&(_0x12d001=_0x279de7[_0x58dd('0xf')]),_0x2f68af[_0x58dd('0x37')]&&(_0x45b024=_0x2f68af[_0x58dd('0x34')]),_0x31d052([_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x22')](_0x12d001,_0x45b024)]);}),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x16'),'chain',_0x11d686),_0x28d39e[_0x58dd('0x48')]['registerCustomCallback']('insertion',_0x58dd('0x16'),_0x58dd('0x21'),_0x11d686)),_0x18ebb7[_0x58dd('0x5c')]['has'](_0x58dd('0x1a'))&&(_0x28d39e['enableCommand']('toggleImageCaption',(_0x41f80d,_0x371454)=>{const _0x4406bf=_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x32')](_0x58dd('0xa'));let _0x875969=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')]['selection']),_0x2d196e=_0x4406bf[_0x58dd('0x27')](_0x875969);_0x18ebb7[_0x58dd('0x2')]['change'](()=>{if(_0x2d196e)return void _0x28d39e[_0x58dd('0x52')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x3f')](_0x2d196e));const _0x4e84d7=_0xbfde1f[_0x58dd('0x6c')](_0x875969);_0x41f80d(_0x371454),_0x875969=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7['model'][_0x58dd('0x1f')]['selection']),_0x2d196e=_0x4406bf[_0x58dd('0x27')](_0x875969),_0x28d39e[_0x58dd('0x0')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x3f')](_0x2d196e),_0x4e84d7?null:_0x58dd('0x59'));});}),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x7'),_0x58dd('0x59'),_0x58dd('0x21'),_0x11d686)),_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')](_0x58dd('0x66'))){_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x72'),(_0x4aa84e,_0x24ec3d)=>{const _0x26b84b=_0x18ebb7['plugins']['get'](_0x58dd('0x15'))['me'],_0x1f0054=_0x18ebb7['commands'][_0x58dd('0x32')](_0x58dd('0x72'));let _0x309654=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]),_0x1fe555=_0x18ebb7['model'][_0x58dd('0x3f')](_0x309654),_0x2f6619=_0x1f0054['value'];if(_0x2f6619==_0x24ec3d[_0x58dd('0x49')])return;const _0x515128={'commandName':_0x58dd('0x72'),'commandParams':[_0x24ec3d],'formatGroupId':_0x1f19d4()};_0x18ebb7['model'][_0x58dd('0x24')](()=>{if(_0x28d39e[_0x58dd('0x28')]()[_0x58dd('0x6a')](_0x42cb68=>_0x42cb68[_0x58dd('0x5e')]&&_0x26b84b==_0x42cb68['author']&&(_0x58dd('0x1e')==_0x42cb68[_0x58dd('0x76')]||_0x58dd('0x4e')==_0x42cb68[_0x58dd('0x76')])&&('imageStylePreApply'==_0x42cb68[_0x58dd('0x57')]||_0x58dd('0x63')==_0x42cb68[_0x58dd('0x57')])&&_0x42cb68['getFirstRange']()[_0x58dd('0x4f')](_0x1fe555))[_0x58dd('0x14')](_0x45ed13=>_0x28d39e['discardSuggestion'](_0x45ed13[_0x58dd('0x75')])),_0x309654=_0xbfde1f['getClosestSelectedImageElement'](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]),_0x1fe555=_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x3f')](_0x309654),_0x1f0054['refresh'](),_0x18ebb7[_0x58dd('0x50')]['get']('imageTypeInline')[_0x58dd('0x5d')](),_0x18ebb7[_0x58dd('0x50')][_0x58dd('0x32')]('imageTypeBlock')[_0x58dd('0x5d')](),_0x2f6619=_0x1f0054['value'],_0x2f6619!=_0x24ec3d[_0x58dd('0x49')])return _0xbfde1f[_0x58dd('0x41')](_0x309654)&&_0x1f0054[_0x58dd('0x6e')](_0x24ec3d['value'],_0x309654)?(_0x4aa84e({..._0x24ec3d,'setImageSizes':!0x1}),_0x309654=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')]['selection']),void _0x28d39e[_0x58dd('0x65')](_0x309654,{..._0x515128,'commandReversedParams':[{'value':_0x2f6619||null,'setImageSizes':!0x1}]},[],_0x58dd('0x77'))):void(_0xbfde1f[_0x58dd('0x6c')](_0x309654)?_0x28d39e[_0x58dd('0x65')](_0x309654,_0x515128,[],_0x58dd('0x63')):_0x28d39e[_0x58dd('0x5a')](_0x1fe555,_0x515128,_0x58dd('0x63')));});});for(const _0xd026be of _0x18ebb7[_0x58dd('0x5c')]['get'](_0x58dd('0x66'))['normalizedStyles'])_0x1b6fac[_0xd026be['name']]=_0xd026be['title'][_0x58dd('0x45')]();_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x77'),'join',()=>!0x1),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x63'),_0x58dd('0x60'),()=>!0x1),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')]('formatInline',_0x58dd('0x63'),_0x58dd('0x60'),()=>!0x1),_0x28d39e[_0x58dd('0x48')]['registerCustomCallback'](_0x58dd('0x1e'),_0x58dd('0x77'),_0x58dd('0x8'),([_0x43341a])=>{_0xbfde1f[_0x58dd('0x20')](_0x43341a[_0x58dd('0x5')]());}),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x77'),_0x58dd('0x4'),(_0x49acec,_0x2b3329)=>{_0x28d39e[_0x58dd('0x48')][_0x58dd('0x55')](_0x58dd('0x1e'),'',_0x58dd('0x8'))(_0x49acec,{'commandName':_0x2b3329[_0x58dd('0x9')],'commandParams':_0x2b3329[_0x58dd('0x4b')]});}),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')]('formatBlock','imageStylePreApply',_0x58dd('0x21'),_0x11d686);}const _0xc6006b=[{'type':_0x58dd('0x1e'),'subType':_0x58dd('0x77')},{'type':_0x58dd('0x7'),'subType':_0x58dd('0x59')},{'type':_0x58dd('0x1e'),'subType':_0x58dd('0x16')},{'type':_0x58dd('0x7'),'subType':_0x58dd('0x16')}];function _0x58bc94(_0x24a5c2,_0x3118a3){const _0x5e0712=_0xc6006b[_0x58dd('0x3b')](({type:_0x11234c,subType:_0x2d204c})=>_0x24a5c2[_0x58dd('0x76')]==_0x11234c&&_0x24a5c2['subType']==_0x2d204c),_0x19aaf9=_0xc6006b[_0x58dd('0x3b')](({type:_0x2646be,subType:_0x8cd84c})=>_0x3118a3[_0x58dd('0x76')]==_0x2646be&&_0x3118a3[_0x58dd('0x57')]==_0x8cd84c);if(_0x5e0712<0x0||_0x19aaf9<0x0)return!0x1;const _0x511971=_0x24a5c2[_0x58dd('0x19')](),_0x40bed8=_0x3118a3[_0x58dd('0x19')]();if((0x0==_0x5e0712||0x1==_0x5e0712)&&0x2==_0x19aaf9&&_0x511971['isIntersecting'](_0x40bed8))return!0x0;if(0x2==_0x5e0712&&0x3==_0x19aaf9){const _0x3af161=_0x28d39e[_0x58dd('0x1d')](_0x511971,_0x58dd('0x7'))['filter'](({suggestion:_0x28ec92,meta:_0x4e5d84})=>_0x4e5d84[_0x58dd('0x2b')]&&_0x58dd('0x16')==_0x28ec92[_0x58dd('0x57')]);if(_0x3af161[_0x58dd('0x47')]>0x1&&_0x40bed8[_0x58dd('0x34')]['isEqual'](_0x511971['start']))return!0x0;if(0x1==_0x3af161['length']&&(_0x511971[_0x58dd('0xf')]['isEqual'](_0x40bed8[_0x58dd('0x34')])||_0x511971[_0x58dd('0x34')][_0x58dd('0x4f')](_0x40bed8[_0x58dd('0xf')])))return!0x0;}if(0x3==_0x5e0712&&0x3==_0x19aaf9&&_0x511971['start'][_0x58dd('0x54')](_0x40bed8[_0x58dd('0xf')])){const _0x2f9dc8=_0x511971[_0x58dd('0x34')][_0x58dd('0x11')],_0x383cc6=_0x40bed8[_0x58dd('0xf')][_0x58dd('0x3e')];return _0xbfde1f['isBlockImage'](_0x2f9dc8)&&_0x2f9dc8===_0x383cc6;}return!0x1;}function _0x11d686(_0x46338f,_0xe40f80){return _0x58bc94(_0x46338f,_0xe40f80)?[_0x46338f,_0xe40f80]:_0x58bc94(_0xe40f80,_0x46338f)?[_0xe40f80,_0x46338f]:null;}_0x18ebb7['model']['document'][_0x58dd('0x5f')](()=>{let _0x1f49df=!0x1;const _0x2c1ee8=Array[_0x58dd('0x13')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x6d')][_0x58dd('0x1')]());for(const {name:_0x5b31a6,data:_0x539cd8}of _0x2c1ee8){const {group:_0x307937,type:_0x2f4739,subType:_0x25f8f5,id:_0x26cd16}=_0x28d39e[_0x58dd('0xc')](_0x5b31a6);if(_0x58dd('0x71')==_0x307937&&_0x28d39e[_0x58dd('0xe')](_0x26cd16)){if(_0x58dd('0x1e')==_0x2f4739&&(_0x58dd('0x77')==_0x25f8f5||_0x58dd('0x63')==_0x25f8f5)){const _0x4df89e=_0x28d39e[_0x58dd('0x42')](_0x26cd16);if(_0x539cd8[_0x58dd('0x43')]){const _0xbe64ad=_0x4df89e[_0x58dd('0x19')]()[_0x58dd('0x5')]();if(_0xbfde1f[_0x58dd('0x6c')](_0xbe64ad))continue;_0x28d39e[_0x58dd('0x18')](_0x4df89e),_0x1f49df=!0x0;}}if('insertion'==_0x2f4739&&_0x58dd('0x59')==_0x25f8f5&&!_0x539cd8['newRange']){const _0x2d55ee=_0x28d39e[_0x58dd('0x42')](_0x26cd16);_0x2d55ee['next']&&_0x2d55ee[_0x58dd('0x73')]['isInContent']&&(_0x28d39e['discardSuggestion'](_0x2d55ee['next']),_0x1f49df=!0x0);}}}return _0x1f49df;}),_0x18ebb7['plugins']['has']('ImageResize')&&_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x39'),(_0x44ff55,_0x2ab065)=>{const _0x490cec=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')]['document'][_0x58dd('0x1b')]);_0x490cec[_0x58dd('0x62')](_0x58dd('0x30'))!=_0x2ab065['width']&&_0x18ebb7['model'][_0x58dd('0x24')](()=>{_0x28d39e[_0x58dd('0x65')](_0x490cec,{'commandName':'resizeImage','commandParams':[_0x2ab065]});});}),_0x18ebb7['plugins'][_0x58dd('0x36')](_0x58dd('0x74'))&&_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x70'),(_0x105ae9,_0x517c05)=>{const _0x5c6303=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]);(_0x5c6303[_0x58dd('0x31')]('alt')?_0x5c6303[_0x58dd('0x62')](_0x58dd('0x2e')):'')!=_0x517c05[_0x58dd('0x2f')]&&_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x24')](()=>{_0x28d39e[_0x58dd('0x65')](_0x5c6303,{'commandName':_0x58dd('0x70'),'commandParams':[_0x517c05]});});}),_0x28d39e['_descriptionFactory'][_0x58dd('0x2c')](_0x29a5e7=>{if(!!_0xc6006b[_0x58dd('0x3d')](({type:_0x107bca,subType:_0x4dd03a})=>_0x29a5e7[_0x58dd('0x76')]==_0x107bca&&_0x29a5e7[_0x58dd('0x57')]==_0x4dd03a))return _0x29a5e7[_0x58dd('0x2a')]?{}:void 0x0;}),_0x28d39e[_0x58dd('0x53')][_0x58dd('0x2c')](_0x27cce4=>{if(_0x58dd('0x7')==_0x27cce4[_0x58dd('0x76')]||_0x58dd('0x58')==_0x27cce4[_0x58dd('0x76')]){const _0xb71b12=_0x27cce4[_0x58dd('0x5')]();if(_0xb71b12&&_0xb71b12['is'](_0x58dd('0x38'),_0x58dd('0x1c')))return{'type':_0x58dd('0x7')==_0x27cce4['type']?'addObject':'removeObject','element':_0xb71b12,'quantity':0x1};}}),_0x28d39e['_descriptionFactory'][_0x58dd('0x2c')](_0x57ed2b=>_0x58dd('0x1e')==_0x57ed2b[_0x58dd('0x76')]&&_0x58dd('0x16')==_0x57ed2b['subType']?{'type':_0x58dd('0x69'),'content':_0x58dd('0x64')}:_0x58dd('0x1e')==_0x57ed2b[_0x58dd('0x76')]&&_0x58dd('0x26')==_0x57ed2b[_0x58dd('0x57')]?{'type':_0x58dd('0x69'),'content':_0x58dd('0x29')}:void 0x0),_0x28d39e[_0x58dd('0x53')]['registerDescriptionCallback'](_0x1e6972=>{const {data:_0x5d40ac}=_0x1e6972;if(_0x5d40ac){if(_0x58dd('0x72')==_0x5d40ac[_0x58dd('0x9')]){const _0x5d9799=_0x5d40ac['commandParams'][0x0][_0x58dd('0x49')];return _0x1f10d2(_0x58dd('0x4d')===_0x5d9799?_0x1d6875(_0xffdc90,'FORMAT_SIDE_IMAGE'):_0x1b6fac[_0x5d9799]||_0x5d9799);}if(_0x58dd('0x70')==_0x5d40ac[_0x58dd('0x9')]){const _0x369747=_0x5d40ac['commandParams'][0x0][_0x58dd('0x2f')];return _0x369747?{'type':'format','content':_0x1d6875(_0xffdc90,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x369747+'\x22')}:{'type':'format','content':_0x1d6875(_0xffdc90,_0x58dd('0x4c'))};}if('resizeImage'==_0x5d40ac[_0x58dd('0x9')]){const _0x425fba=_0x5d40ac['commandParams'][0x0]['width'];return _0x425fba?{'type':_0x58dd('0x69'),'content':_0x1d6875(_0xffdc90,_0x58dd('0x6'),_0x425fba)}:{'type':_0x58dd('0x69'),'content':_0x1d6875(_0xffdc90,_0x58dd('0x46'))};}}function _0x1f10d2(_0x349bdb){return{'type':_0x58dd('0x69'),'content':_0x1d6875(_0xffdc90,_0x58dd('0x12'),_0x349bdb)};}});}}
@@ -1,23 +1,23 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/imagereplace
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type Suggestion from '../suggestion';
10
- import type { Description } from '../suggestiondescriptionfactory';
11
- /**
12
- * Provides track changes plugin integration for image replace feature.
13
- */
14
- export default class TrackChangesImageReplace extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- afterInit(): void;
19
- handleReplaceImageCommand(executeCommand: Function, options: {
20
- source: string;
21
- }): void;
22
- handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
23
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/imagereplace
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type Suggestion from '../suggestion';
10
+ import type { Description } from '../suggestiondescriptionfactory';
11
+ /**
12
+ * Provides track changes plugin integration for image replace feature.
13
+ */
14
+ export default class TrackChangesImageReplace extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ afterInit(): void;
19
+ handleReplaceImageCommand(executeCommand: Function, options: {
20
+ source: string;
21
+ }): void;
22
+ handleSuggestionDescription(suggestion: Suggestion): Description | undefined;
23
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1933=['ImageEditing','TrackChangesEditing','accept','change','commandParams','afterInit','handleSuggestionDescription','formatBlock','getSelectedElement','editor','Users','enableCommand','_suggestionFactory','src','plugins','author','_descriptionFactory','source','registerCustomCallback','model','getSuggestionCallback','get','commandName','getAttribute','format','discard','document','handleReplaceImageCommand','markBlockFormat','registerDescriptionCallback','replaceImageSource'];(function(_0x2190ca,_0x19332e){const _0x1ef601=function(_0x1f9185){while(--_0x1f9185){_0x2190ca['push'](_0x2190ca['shift']());}};_0x1ef601(++_0x19332e);}(_0x1933,0xf1));const _0x1ef6=function(_0x2190ca,_0x19332e){_0x2190ca=_0x2190ca-0x0;let _0x1ef601=_0x1933[_0x2190ca];return _0x1ef601;};import{Plugin as _0x5012e9}from'ckeditor5/src/core';import{getTranslation as _0x5c9693}from'../utils/common-translations';export default class Y extends _0x5012e9{[_0x1ef6('0xc')](){if(!this['editor'][_0x1ef6('0x15')]['has'](_0x1ef6('0x7')))return;const _0x77305=this[_0x1ef6('0x10')]['plugins'][_0x1ef6('0x1c')](_0x1ef6('0x8'));_0x77305[_0x1ef6('0x12')](_0x1ef6('0x6'),(_0x3c88aa,_0x2341d8)=>this[_0x1ef6('0x3')](_0x3c88aa,_0x2341d8)),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x19')](_0x1ef6('0xe'),'replaceImageSource',_0x1ef6('0x9'),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x1b')]('formatBlock',null,_0x1ef6('0x1'))),_0x77305[_0x1ef6('0x13')][_0x1ef6('0x19')](_0x1ef6('0xe'),_0x1ef6('0x6'),'discard',_0x77305[_0x1ef6('0x13')]['getSuggestionCallback'](_0x1ef6('0xe'),null,_0x1ef6('0x9'))),_0x77305[_0x1ef6('0x17')][_0x1ef6('0x5')](_0x209bd1=>this[_0x1ef6('0xd')](_0x209bd1));}[_0x1ef6('0x3')](_0x4645db,_0x5d4235){const _0x48ea98=this[_0x1ef6('0x10')][_0x1ef6('0x15')]['get'](_0x1ef6('0x8')),_0x240371=this['editor'][_0x1ef6('0x1a')][_0x1ef6('0x2')]['selection'][_0x1ef6('0xf')]();this[_0x1ef6('0x10')][_0x1ef6('0x1a')][_0x1ef6('0xa')](()=>{let _0x2954be=_0x240371[_0x1ef6('0x1e')](_0x1ef6('0x14'));const _0x246890=this[_0x1ef6('0x10')][_0x1ef6('0x15')][_0x1ef6('0x1c')](_0x1ef6('0x11'))['me'];for(const _0x595127 of _0x48ea98['getSuggestions']({'skipNotAttached':!0x0})){const _0x1099b3=_0x595127['getContainedElement']();if('replaceImageSource'===_0x595127['subType']&&_0x1099b3===_0x240371){_0x595127[_0x1ef6('0x16')]!==_0x246890&&_0x595127[_0x1ef6('0x1')](),_0x2954be=_0x595127['data'][_0x1ef6('0xb')][0x0][_0x1ef6('0x18')];break;}}_0x4645db(_0x5d4235),_0x48ea98[_0x1ef6('0x4')](_0x240371,{'commandName':_0x1ef6('0x6'),'commandParams':[{'source':_0x2954be}]},[],_0x1ef6('0x6'));});}[_0x1ef6('0xd')](_0x2f8279){const {data:_0x33f18c}=_0x2f8279;if(_0x33f18c&&_0x1ef6('0x6')===_0x33f18c[_0x1ef6('0x1d')]){const _0x186eee='*Format:*\x20replace\x20image\x20URL';return{'type':_0x1ef6('0x0'),'content':_0x5c9693(this[_0x1ef6('0x10')]['locale'],_0x186eee)};}}}
23
+ const _0xf3c3=['has','selection','registerCustomCallback','get','author','source','data','enableCommand','handleSuggestionDescription','handleReplaceImageCommand','src','ImageEditing','_suggestionFactory','getSuggestionCallback','locale','afterInit','getContainedElement','getSuggestions','commandParams','commandName','markBlockFormat','accept','plugins','TrackChangesEditing','discard','Users','editor','replaceImageSource','format','*Format:*\x20replace\x20image\x20URL','formatBlock','change','getSelectedElement'];(function(_0x5447ff,_0xf3c35c){const _0x270773=function(_0x5e7a48){while(--_0x5e7a48){_0x5447ff['push'](_0x5447ff['shift']());}};_0x270773(++_0xf3c35c);}(_0xf3c3,0x1c6));const _0x2707=function(_0x5447ff,_0xf3c35c){_0x5447ff=_0x5447ff-0x0;let _0x270773=_0xf3c3[_0x5447ff];return _0x270773;};import{Plugin as _0x4bfaf2}from'ckeditor5/src/core';import{getTranslation as _0x4abe83}from'../utils/common-translations';export default class Z extends _0x4bfaf2{[_0x2707('0x17')](){if(!this[_0x2707('0x1')][_0x2707('0x1e')][_0x2707('0x8')](_0x2707('0x13')))return;const _0x2b4b29=this['editor']['plugins'][_0x2707('0xb')](_0x2707('0x1f'));_0x2b4b29[_0x2707('0xf')](_0x2707('0x2'),(_0x3d784c,_0x3f04cc)=>this[_0x2707('0x11')](_0x3d784c,_0x3f04cc)),_0x2b4b29[_0x2707('0x14')][_0x2707('0xa')](_0x2707('0x5'),'replaceImageSource',_0x2707('0x1d'),_0x2b4b29['_suggestionFactory'][_0x2707('0x15')](_0x2707('0x5'),null,'discard')),_0x2b4b29['_suggestionFactory'][_0x2707('0xa')](_0x2707('0x5'),_0x2707('0x2'),_0x2707('0x20'),_0x2b4b29['_suggestionFactory']['getSuggestionCallback'](_0x2707('0x5'),null,_0x2707('0x1d'))),_0x2b4b29['_descriptionFactory']['registerDescriptionCallback'](_0x4bca43=>this[_0x2707('0x10')](_0x4bca43));}['handleReplaceImageCommand'](_0x12ae28,_0x28850f){const _0x5184ac=this['editor'][_0x2707('0x1e')][_0x2707('0xb')](_0x2707('0x1f')),_0x218744=this[_0x2707('0x1')]['model']['document'][_0x2707('0x9')][_0x2707('0x7')]();this[_0x2707('0x1')]['model'][_0x2707('0x6')](()=>{let _0x3a7219=_0x218744['getAttribute'](_0x2707('0x12'));const _0x427c01=this[_0x2707('0x1')][_0x2707('0x1e')][_0x2707('0xb')](_0x2707('0x0'))['me'];for(const _0x27c9f6 of _0x5184ac[_0x2707('0x19')]({'skipNotAttached':!0x0})){const _0x57b50b=_0x27c9f6[_0x2707('0x18')]();if(_0x2707('0x2')===_0x27c9f6['subType']&&_0x57b50b===_0x218744){_0x27c9f6[_0x2707('0xc')]!==_0x427c01&&_0x27c9f6[_0x2707('0x20')](),_0x3a7219=_0x27c9f6[_0x2707('0xe')][_0x2707('0x1a')][0x0][_0x2707('0xd')];break;}}_0x12ae28(_0x28850f),_0x5184ac[_0x2707('0x1c')](_0x218744,{'commandName':_0x2707('0x2'),'commandParams':[{'source':_0x3a7219}]},[],_0x2707('0x2'));});}[_0x2707('0x10')](_0x1915b4){const {data:_0x24ccb6}=_0x1915b4;if(_0x24ccb6&&'replaceImageSource'===_0x24ccb6[_0x2707('0x1b')]){const _0x379186=_0x2707('0x4');return{'type':_0x2707('0x3'),'content':_0x4abe83(this['editor'][_0x2707('0x16')],_0x379186)};}}}
@@ -1,18 +1,18 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/importword
7
- */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the import from Word feature.
11
- */
12
- export default class TrackChangesImportWord extends Plugin {
13
- constructor(editor: Editor);
14
- /**
15
- * @inheritDoc
16
- */
17
- afterInit(): void;
18
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/importword
7
+ */
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the import from Word feature.
11
+ */
12
+ export default class TrackChangesImportWord extends Plugin {
13
+ constructor(editor: Editor);
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ afterInit(): void;
18
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4368=['bind','high','_setSuggestionData','commands','TrackChangesEditing','_handleImportedData','trackChanges','editor','lowest','dataInsert','importWord','_trackChangesExecuted','collaboration_features','enableCommand','afterInit','listenTo','get','execute','plugins','_trackChangesValueDuringImport','Users'];(function(_0x33f12e,_0x4368c3){const _0x4ff00a=function(_0x17671f){while(--_0x17671f){_0x33f12e['push'](_0x33f12e['shift']());}};_0x4ff00a(++_0x4368c3);}(_0x4368,0x13e));const _0x4ff0=function(_0x33f12e,_0x4368c3){_0x33f12e=_0x33f12e-0x0;let _0x4ff00a=_0x4368[_0x33f12e];return _0x4ff00a;};import{Plugin as _0x225e4a}from'ckeditor5/src/core';export default class Z extends _0x225e4a{constructor(_0x3f8a7d){super(_0x3f8a7d),this[_0x4ff0('0x10')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4ff0('0xb')](){const _0x34b67c=this['editor'],_0x440b71=_0x34b67c['commands']['get'](_0x4ff0('0x7')),_0x50c313=_0x34b67c[_0x4ff0('0x0')][_0x4ff0('0xd')](_0x4ff0('0x3'));_0x440b71&&(_0x440b71['on']('execute',(_0x57e102,[,_0x3ea11b])=>{this[_0x4ff0('0x10')]=_0x50c313['value'],_0x3ea11b[_0x4ff0('0x9')]['track_changes']=!this[_0x4ff0('0x10')];},{'priority':_0x4ff0('0x13')}),this[_0x4ff0('0xc')](_0x440b71,_0x4ff0('0x6'),this[_0x4ff0('0x2')][_0x4ff0('0x12')](this)),this[_0x4ff0('0xc')](_0x440b71,_0x4ff0('0x6'),()=>{this['_trackChangesExecuted']&&(_0x50c313[_0x4ff0('0xe')](),this[_0x4ff0('0x8')]=!0x1);},{'priority':_0x4ff0('0x5')}),_0x34b67c[_0x4ff0('0xf')][_0x4ff0('0xd')]('TrackChangesEditing')[_0x4ff0('0xa')](_0x4ff0('0x7')));}[_0x4ff0('0x2')](_0x102dfa,_0x586722){const {suggestions:_0x228104}=_0x586722,_0x40c3de=this[_0x4ff0('0x4')][_0x4ff0('0x0')][_0x4ff0('0xd')](_0x4ff0('0x3')),_0x162952=_0x40c3de['value'];this[_0x4ff0('0x10')]!==_0x162952&&(_0x40c3de[_0x4ff0('0xe')](),this[_0x4ff0('0x8')]=!0x0),_0x228104&&_0x228104['forEach'](({id:_0x44231d,type:_0x4fd678,author:_0x210bb9,created_at:_0x5cb3f6})=>{const _0x1aa20b={'id':_0x44231d,'type':_0x4fd678,'authorId':this[_0x4ff0('0x4')][_0x4ff0('0xf')]['get'](_0x4ff0('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x210bb9,'createdAt':_0x5cb3f6?new Date(_0x5cb3f6):new Date(),'source':_0x4ff0('0x7')}}};this[_0x4ff0('0x4')][_0x4ff0('0xf')]['get'](_0x4ff0('0x1'))[_0x4ff0('0x14')](_0x1aa20b);});}}
23
+ const _0x54db=['enableCommand','Users','TrackChangesEditing','listenTo','_trackChangesExecuted','trackChanges','_setSuggestionData','_trackChangesValueDuringImport','dataInsert','editor','plugins','forEach','lowest','high','importWord','execute','commands','bind','get','track_changes','collaboration_features','value','afterInit','_handleImportedData'];(function(_0x24fa38,_0x54db3e){const _0x5d15d5=function(_0x5de8af){while(--_0x5de8af){_0x24fa38['push'](_0x24fa38['shift']());}};_0x5d15d5(++_0x54db3e);}(_0x54db,0xff));const _0x5d15=function(_0x24fa38,_0x54db3e){_0x24fa38=_0x24fa38-0x0;let _0x5d15d5=_0x54db[_0x24fa38];return _0x5d15d5;};import{Plugin as _0x23c195}from'ckeditor5/src/core';export default class tt extends _0x23c195{constructor(_0x56c92b){super(_0x56c92b),this[_0x5d15('0x10')]=!0x1,this[_0x5d15('0xd')]=!0x1;}[_0x5d15('0x7')](){const _0x1715d3=this['editor'],_0xf241f6=_0x1715d3[_0x5d15('0x1')][_0x5d15('0x3')](_0x5d15('0x17')),_0x49e5ac=_0x1715d3[_0x5d15('0x1')][_0x5d15('0x3')](_0x5d15('0xe'));_0xf241f6&&(_0xf241f6['on'](_0x5d15('0x0'),(_0x203677,[,_0x560ef5])=>{this[_0x5d15('0x10')]=_0x49e5ac[_0x5d15('0x6')],_0x560ef5[_0x5d15('0x5')][_0x5d15('0x4')]=!this[_0x5d15('0x10')];},{'priority':_0x5d15('0x16')}),this[_0x5d15('0xc')](_0xf241f6,_0x5d15('0x11'),this[_0x5d15('0x8')][_0x5d15('0x2')](this)),this['listenTo'](_0xf241f6,_0x5d15('0x11'),()=>{this[_0x5d15('0xd')]&&(_0x49e5ac['execute'](),this[_0x5d15('0xd')]=!0x1);},{'priority':_0x5d15('0x15')}),_0x1715d3[_0x5d15('0x13')][_0x5d15('0x3')](_0x5d15('0xb'))[_0x5d15('0x9')](_0x5d15('0x17')));}[_0x5d15('0x8')](_0x12f349,_0x4fdb0b){const {suggestions:_0x1dc88c}=_0x4fdb0b,_0x572d21=this[_0x5d15('0x12')]['commands']['get'](_0x5d15('0xe')),_0x524ce3=_0x572d21['value'];this[_0x5d15('0x10')]!==_0x524ce3&&(_0x572d21[_0x5d15('0x0')](),this['_trackChangesExecuted']=!0x0),_0x1dc88c&&_0x1dc88c[_0x5d15('0x14')](({id:_0x216b01,type:_0x4c9289,author:_0x5e05d5,created_at:_0x5590aa})=>{const _0x1dc3d6={'id':_0x216b01,'type':_0x4c9289,'authorId':this[_0x5d15('0x12')]['plugins']['get'](_0x5d15('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5e05d5,'createdAt':_0x5590aa?new Date(_0x5590aa):new Date(),'source':_0x5d15('0x17')}}};this[_0x5d15('0x12')]['plugins'][_0x5d15('0x3')]('TrackChangesEditing')[_0x5d15('0xf')](_0x1dc3d6);});}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/indent
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
11
- */
12
- export default class TrackChangesIndent extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/indent
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
11
+ */
12
+ export default class TrackChangesIndent extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x341a=['model','IndentEditing','*Indent:*\x20%0','format','document','IndentBlock','get','schema','plugins','_descriptionFactory','getItemLabel','outdent','indent','blockIndent','getSelectedBlocks','has','registerDescriptionCallback','indentBlock','*Outdent:*\x20%0','markBlockFormat','commandName','selection','outdentBlock','filter','locale','enableCommand','editor','TrackChangesEditing'];(function(_0x55a68b,_0x341ab3){const _0x32aef1=function(_0x2f8fe0){while(--_0x2f8fe0){_0x55a68b['push'](_0x55a68b['shift']());}};_0x32aef1(++_0x341ab3);}(_0x341a,0x1cc));const _0x32ae=function(_0x55a68b,_0x341ab3){_0x55a68b=_0x55a68b-0x0;let _0x32aef1=_0x341a[_0x55a68b];return _0x32aef1;};import{Plugin as _0x6d82e9}from'ckeditor5/src/core';import{getTranslation as _0x4a3ee0}from'../utils/common-translations';export default class tt extends _0x6d82e9{['afterInit'](){const _0x115374=this[_0x32ae('0xe')],_0xb33b82=_0x115374['plugins'][_0x32ae('0x16')](_0x32ae('0xf'));_0x115374[_0x32ae('0x18')][_0x32ae('0x3')](_0x32ae('0x11'))&&(_0xb33b82['enableCommand'](_0x32ae('0x0')),_0xb33b82[_0x32ae('0xd')](_0x32ae('0x1b')));const _0x363016=_0x115374[_0x32ae('0xc')];if(_0x115374[_0x32ae('0x18')][_0x32ae('0x3')](_0x32ae('0x15'))){for(const _0x313ecc of[_0x32ae('0x5'),_0x32ae('0xa')])_0xb33b82['enableCommand'](_0x313ecc,()=>{const _0x3fef7d=Array['from'](this['editor'][_0x32ae('0x10')][_0x32ae('0x14')][_0x32ae('0x9')][_0x32ae('0x2')]())[_0x32ae('0xb')](_0x116bb2=>this[_0x32ae('0xe')][_0x32ae('0x10')][_0x32ae('0x17')]['checkAttribute'](_0x116bb2,_0x32ae('0x1')));_0x115374[_0x32ae('0x10')]['change'](()=>{for(const _0x25f7bd of _0x3fef7d)_0xb33b82[_0x32ae('0x7')](_0x25f7bd,{'commandName':_0x313ecc,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0xb33b82['_descriptionFactory'][_0x32ae('0x4')](_0x343a88=>{const {data:_0x1a2e8a}=_0x343a88;if(!_0x1a2e8a)return;if(_0x32ae('0x5')!=_0x1a2e8a[_0x32ae('0x8')]&&_0x32ae('0xa')!=_0x1a2e8a['commandName'])return;const _0x5c7ecc=_0x343a88['getItems']()[0x0],_0x25caed=_0xb33b82[_0x32ae('0x19')][_0x32ae('0x1a')](_0x5c7ecc);return'indentBlock'==_0x1a2e8a[_0x32ae('0x8')]?{'type':_0x32ae('0x13'),'content':_0x4a3ee0(_0x363016,_0x32ae('0x12'),_0x25caed)}:_0x32ae('0xa')==_0x1a2e8a[_0x32ae('0x8')]?{'type':_0x32ae('0x13'),'content':_0x4a3ee0(_0x363016,_0x32ae('0x6'),_0x25caed)}:void 0x0;});}}}
23
+ const _0x1932=['outdentBlock','document','locale','getSelectedBlocks','commandName','registerDescriptionCallback','editor','from','filter','plugins','afterInit','enableCommand','TrackChangesEditing','model','getItems','selection','indent','_descriptionFactory','format','IndentEditing','indentBlock','*Indent:*\x20%0','outdent','checkAttribute','has','*Outdent:*\x20%0','schema'];(function(_0x1b9c4f,_0x193242){const _0x4dab6f=function(_0x2d4950){while(--_0x2d4950){_0x1b9c4f['push'](_0x1b9c4f['shift']());}};_0x4dab6f(++_0x193242);}(_0x1932,0xd8));const _0x4dab=function(_0x1b9c4f,_0x193242){_0x1b9c4f=_0x1b9c4f-0x0;let _0x4dab6f=_0x1932[_0x1b9c4f];return _0x4dab6f;};import{Plugin as _0x2da79a}from'ckeditor5/src/core';import{getTranslation as _0x2f1e88}from'../utils/common-translations';export default class it extends _0x2da79a{[_0x4dab('0xa')](){const _0x1eb6dc=this[_0x4dab('0x6')],_0x12ee84=_0x1eb6dc[_0x4dab('0x9')]['get'](_0x4dab('0xc'));_0x1eb6dc[_0x4dab('0x9')][_0x4dab('0x18')](_0x4dab('0x13'))&&(_0x12ee84[_0x4dab('0xb')](_0x4dab('0x10')),_0x12ee84[_0x4dab('0xb')](_0x4dab('0x16')));const _0x16c392=_0x1eb6dc[_0x4dab('0x2')];if(_0x1eb6dc[_0x4dab('0x9')]['has']('IndentBlock')){for(const _0xcee4ec of[_0x4dab('0x14'),'outdentBlock'])_0x12ee84['enableCommand'](_0xcee4ec,()=>{const _0x2ab763=Array[_0x4dab('0x7')](this['editor'][_0x4dab('0xd')][_0x4dab('0x1')][_0x4dab('0xf')][_0x4dab('0x3')]())[_0x4dab('0x8')](_0x1a8d95=>this[_0x4dab('0x6')][_0x4dab('0xd')][_0x4dab('0x1a')][_0x4dab('0x17')](_0x1a8d95,'blockIndent'));_0x1eb6dc[_0x4dab('0xd')]['change'](()=>{for(const _0x28f15b of _0x2ab763)_0x12ee84['markBlockFormat'](_0x28f15b,{'commandName':_0xcee4ec,'commandParams':[{'value':''}],'formatGroupId':_0x4dab('0x14')});});});_0x12ee84['_descriptionFactory'][_0x4dab('0x5')](_0x277eec=>{const {data:_0x533f22}=_0x277eec;if(!_0x533f22)return;if(_0x4dab('0x14')!=_0x533f22[_0x4dab('0x4')]&&_0x4dab('0x0')!=_0x533f22[_0x4dab('0x4')])return;const _0x36ce4b=_0x277eec[_0x4dab('0xe')]()[0x0],_0x324cd9=_0x12ee84[_0x4dab('0x11')]['getItemLabel'](_0x36ce4b);return'indentBlock'==_0x533f22[_0x4dab('0x4')]?{'type':'format','content':_0x2f1e88(_0x16c392,_0x4dab('0x15'),_0x324cd9)}:_0x4dab('0x0')==_0x533f22[_0x4dab('0x4')]?{'type':_0x4dab('0x12'),'content':_0x2f1e88(_0x16c392,_0x4dab('0x19'),_0x324cd9)}:void 0x0;});}}}
@@ -1,16 +1,16 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/inputcommand/inputcommand
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Input } from 'ckeditor5/src/typing';
10
- /**
11
- * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
12
- */
13
- export default class TrackChangesInputCommand extends Plugin {
14
- static get requires(): readonly [typeof Input];
15
- init(): void;
16
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/inputcommand/inputcommand
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Input } from 'ckeditor5/src/typing';
10
+ /**
11
+ * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
12
+ */
13
+ export default class TrackChangesInputCommand extends Plugin {
14
+ static get requires(): readonly [typeof Input];
15
+ init(): void;
16
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3175=['input','requires','get','enableCommand','editor','init','TrackChangesEditing'];(function(_0xa3f951,_0x317574){var _0x3d75f1=function(_0x2af538){while(--_0x2af538){_0xa3f951['push'](_0xa3f951['shift']());}};_0x3d75f1(++_0x317574);}(_0x3175,0x8f));var _0x3d75=function(_0xa3f951,_0x317574){_0xa3f951=_0xa3f951-0x0;var _0x3d75f1=_0x3175[_0xa3f951];return _0x3d75f1;};import{Plugin as _0x477e3e}from'ckeditor5/src/core';import{Input as _0x220437}from'ckeditor5/src/typing';export default class it extends _0x477e3e{static get[_0x3d75('0x5')](){return[_0x220437];}[_0x3d75('0x2')](){this[_0x3d75('0x1')]['plugins'][_0x3d75('0x6')](_0x3d75('0x3'))[_0x3d75('0x0')](_0x3d75('0x4'));}}
23
+ var _0xa69b=['enableCommand','TrackChangesEditing','requires','input','init'];(function(_0x1adced,_0xa69b5c){var _0x46dff1=function(_0x229e90){while(--_0x229e90){_0x1adced['push'](_0x1adced['shift']());}};_0x46dff1(++_0xa69b5c);}(_0xa69b,0xd4));var _0x46df=function(_0x1adced,_0xa69b5c){_0x1adced=_0x1adced-0x0;var _0x46dff1=_0xa69b[_0x1adced];return _0x46dff1;};import{Plugin as _0x27c291}from'ckeditor5/src/core';import{Input as _0x1addf4}from'ckeditor5/src/typing';export default class et extends _0x27c291{static get[_0x46df('0x0')](){return[_0x1addf4];}[_0x46df('0x2')](){this['editor']['plugins']['get'](_0x46df('0x4'))[_0x46df('0x3')](_0x46df('0x1'));}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/link
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for link feature.
11
- */
12
- export default class TrackChangesLink extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/link
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for link feature.
11
+ */
12
+ export default class TrackChangesLink extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e7b=['getFirstPosition','format','plugins','enableCommand','_descriptionFactory','commandParams','isCollapsed','editor','document','getRanges','markInlineFormat','hasAttribute','commandName','afterInit','LinkEditing','getAttribute','unlink','locale','from','has','model','selection','getFirstRange','link','linkHref','*Remove\x20link*'];(function(_0x35c460,_0x5e7bfb){const _0x120cc5=function(_0x3a7f84){while(--_0x3a7f84){_0x35c460['push'](_0x35c460['shift']());}};_0x120cc5(++_0x5e7bfb);}(_0x5e7b,0x146));const _0x120c=function(_0x35c460,_0x5e7bfb){_0x35c460=_0x35c460-0x0;let _0x120cc5=_0x5e7b[_0x35c460];return _0x120cc5;};import{Plugin as _0x1f7cc5}from'ckeditor5/src/core';import{findAttributeRange as _0x5a37a0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x4cad24}from'./utils';import{getTranslation as _0x31c665}from'../utils/common-translations';export default class et extends _0x1f7cc5{[_0x120c('0x19')](){const _0x85c61b=this[_0x120c('0x13')];if(!_0x85c61b[_0x120c('0xe')][_0x120c('0x5')](_0x120c('0x0')))return;const _0x19fa94=_0x85c61b[_0x120c('0xe')]['get']('TrackChangesEditing');_0x19fa94[_0x120c('0xf')](_0x120c('0x9'),(_0x236c41,_0xce1871)=>{const _0x54c6fd=_0x85c61b[_0x120c('0x6')][_0x120c('0x14')][_0x120c('0x7')];let _0x48d633=[];if(_0x54c6fd[_0x120c('0x12')]){if(!_0x54c6fd[_0x120c('0x17')](_0x120c('0xa')))return void _0x236c41(_0xce1871);{const _0x21571f=_0x5a37a0(_0x54c6fd[_0x120c('0xc')](),_0x120c('0xa'),_0x54c6fd[_0x120c('0x1')](_0x120c('0xa')),_0x85c61b[_0x120c('0x6')]);_0x48d633=[_0x21571f];}}else _0x48d633=Array[_0x120c('0x4')](_0x54c6fd[_0x120c('0x15')]());_0x85c61b[_0x120c('0x6')]['change'](()=>{for(const _0x1c2176 of _0x48d633)_0x19fa94[_0x120c('0x16')](_0x1c2176,{'commandName':_0x120c('0x9'),'commandParams':[_0xce1871]});});}),_0x19fa94['enableCommand'](_0x120c('0x2'),()=>{const _0x542ae0=this['editor'][_0x120c('0x6')],_0x2a33ac=_0x542ae0[_0x120c('0x14')][_0x120c('0x7')];_0x542ae0['change'](()=>{let _0x626e5a=[];if(_0x2a33ac[_0x120c('0x12')])_0x626e5a=[_0x5a37a0(_0x2a33ac[_0x120c('0xc')](),'linkHref',_0x2a33ac[_0x120c('0x1')](_0x120c('0xa')),_0x85c61b[_0x120c('0x6')])];else _0x626e5a=_0x4cad24(_0x120c('0xa'),_0x2a33ac[_0x120c('0x8')](),_0x85c61b['model']);for(const _0x5a6771 of _0x626e5a)_0x19fa94['markInlineFormat'](_0x5a6771,{'commandName':'unlink','commandParams':[]});});}),_0x19fa94[_0x120c('0x10')]['registerDescriptionCallback'](_0x43ebcf=>{const {data:_0x425ac7}=_0x43ebcf,_0x5812de=_0x85c61b[_0x120c('0x3')];if(_0x425ac7){if('link'==_0x425ac7[_0x120c('0x18')]){const _0x127849=_0x425ac7[_0x120c('0x11')][0x0];return{'type':_0x120c('0xd'),'content':_0x31c665(_0x5812de,'*Set\x20link:*\x20%0','\x22'+_0x127849+'\x22')};}return _0x120c('0x2')==_0x425ac7[_0x120c('0x18')]?{'type':'format','content':_0x31c665(_0x5812de,_0x120c('0xb'))}:void 0x0;}});}}
23
+ const _0x1a1e=['isCollapsed','registerDescriptionCallback','selection','has','format','enableCommand','_descriptionFactory','document','change','link','*Remove\x20link*','getFirstRange','hasAttribute','unlink','linkHref','get','markInlineFormat','getFirstPosition','commandParams','model','TrackChangesEditing','LinkEditing','plugins','editor','commandName'];(function(_0x5e8429,_0x1a1e11){const _0x6a53ba=function(_0x47fdd8){while(--_0x47fdd8){_0x5e8429['push'](_0x5e8429['shift']());}};_0x6a53ba(++_0x1a1e11);}(_0x1a1e,0x1f1));const _0x6a53=function(_0x5e8429,_0x1a1e11){_0x5e8429=_0x5e8429-0x0;let _0x6a53ba=_0x1a1e[_0x5e8429];return _0x6a53ba;};import{Plugin as _0x5e5fe5}from'ckeditor5/src/core';import{findAttributeRange as _0x48920b}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x31378d}from'./utils';import{getTranslation as _0x4bcaff}from'../utils/common-translations';export default class nt extends _0x5e5fe5{['afterInit'](){const _0x47d753=this[_0x6a53('0x1')];if(!_0x47d753['plugins'][_0x6a53('0x6')](_0x6a53('0x18')))return;const _0x2f25b7=_0x47d753[_0x6a53('0x0')][_0x6a53('0x12')](_0x6a53('0x17'));_0x2f25b7[_0x6a53('0x8')](_0x6a53('0xc'),(_0x1cfee6,_0x214116)=>{const _0x1f1fbf=_0x47d753[_0x6a53('0x16')][_0x6a53('0xa')][_0x6a53('0x5')];let _0x156b27=[];if(_0x1f1fbf[_0x6a53('0x3')]){if(!_0x1f1fbf[_0x6a53('0xf')](_0x6a53('0x11')))return void _0x1cfee6(_0x214116);{const _0x425d65=_0x48920b(_0x1f1fbf[_0x6a53('0x14')](),_0x6a53('0x11'),_0x1f1fbf['getAttribute'](_0x6a53('0x11')),_0x47d753[_0x6a53('0x16')]);_0x156b27=[_0x425d65];}}else _0x156b27=Array['from'](_0x1f1fbf['getRanges']());_0x47d753[_0x6a53('0x16')][_0x6a53('0xb')](()=>{for(const _0x19782a of _0x156b27)_0x2f25b7[_0x6a53('0x13')](_0x19782a,{'commandName':'link','commandParams':[_0x214116]});});}),_0x2f25b7[_0x6a53('0x8')](_0x6a53('0x10'),()=>{const _0x241b46=this['editor'][_0x6a53('0x16')],_0x501559=_0x241b46[_0x6a53('0xa')]['selection'];_0x241b46['change'](()=>{let _0x428de8=[];if(_0x501559['isCollapsed'])_0x428de8=[_0x48920b(_0x501559[_0x6a53('0x14')](),_0x6a53('0x11'),_0x501559['getAttribute']('linkHref'),_0x47d753[_0x6a53('0x16')])];else _0x428de8=_0x31378d(_0x6a53('0x11'),_0x501559[_0x6a53('0xe')](),_0x47d753[_0x6a53('0x16')]);for(const _0x15664e of _0x428de8)_0x2f25b7['markInlineFormat'](_0x15664e,{'commandName':_0x6a53('0x10'),'commandParams':[]});});}),_0x2f25b7[_0x6a53('0x9')][_0x6a53('0x4')](_0x24bbe0=>{const {data:_0x4acef2}=_0x24bbe0,_0x4bbb1e=_0x47d753['locale'];if(_0x4acef2){if(_0x6a53('0xc')==_0x4acef2[_0x6a53('0x2')]){const _0x41850c=_0x4acef2[_0x6a53('0x15')][0x0];return{'type':'format','content':_0x4bcaff(_0x4bbb1e,'*Set\x20link:*\x20%0','\x22'+_0x41850c+'\x22')};}return _0x6a53('0x10')==_0x4acef2[_0x6a53('0x2')]?{'type':_0x6a53('0x7'),'content':_0x4bcaff(_0x4bbb1e,_0x6a53('0xd'))}:void 0x0;}});}}
@@ -1,17 +1,17 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module track-changes/integrations/list
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for list feature.
11
- */
12
- export default class TrackChangesList extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/list
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for list feature.
11
+ */
12
+ export default class TrackChangesList extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4027=['document','getSelectedBlocks','indentList','push','markBlockFormat','registerElementLabel','*Uncheck\x20item*','List','listIndent','parent','commands','bulletedList','enableCommand','filter','slice','plugins','element','ELEMENT_NUMBERED_LIST','checkChild','checkTodoList','execute','length','ELEMENT_BULLETED_LIST','todoListChecked','createPositionAt','createRange','ELEMENT_TODO_LIST','blockName','replace','todoList','outdentList','value','TodoListEditing','model','isObject','numberedList','*Indent:*\x20%0','_selectedElements','getAttribute','from','nextSibling','format','*Change\x20to:*\x20%0','TrackChangesEditing','change','previousSibling','_descriptionFactory','listType','commandName','add','todo','listItem','numbered','afterInit','ListEditing','selection','forceValue','has','get','end','ELEMENT_LIST_ITEM','bulleted','schema'];(function(_0x57b3bd,_0x402720){const _0x30f882=function(_0x3a95ea){while(--_0x3a95ea){_0x57b3bd['push'](_0x57b3bd['shift']());}};_0x30f882(++_0x402720);}(_0x4027,0x1d4));const _0x30f8=function(_0x57b3bd,_0x402720){_0x57b3bd=_0x57b3bd-0x0;let _0x30f882=_0x4027[_0x57b3bd];return _0x30f882;};import{Plugin as _0x44a8f4}from'ckeditor5/src/core';import{getTranslation as _0x138a87}from'../utils/common-translations';export default class nt extends _0x44a8f4{[_0x30f8('0x1a')](){const _0x13b32c=this['editor'],_0x361e28=_0x13b32c['locale'];if(!_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1e')](_0x30f8('0x1b')))return;const _0x1bf2e5=_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1f')](_0x30f8('0x10')),_0x535484=_0x13b32c[_0x30f8('0x33')][_0x30f8('0x1e')](_0x30f8('0x5'));function _0x2b345e(_0x1919ba){return()=>{const _0x4e54b7=_0x13b32c['model']['document'][_0x30f8('0x1c')],_0xcad3d5=_0x13b32c['commands'][_0x30f8('0x1f')](_0x1919ba);if(_0xcad3d5[_0x30f8('0x4')])return void _0x13b32c[_0x30f8('0x38')]('paragraph',{});const _0x525cce=_0x1919ba[_0x30f8('0x32')](0x0,-0x4),_0x6bb103=function(_0x33f701,_0x15a9d6,_0x15d887){let _0x3cbab8=Array['from'](_0x33f701)[_0x30f8('0x31')](_0x558e7f=>function(_0xa2763a,_0x44ccca){return _0x44ccca[_0x30f8('0x36')](_0xa2763a[_0x30f8('0x2d')],_0x30f8('0x18'))&&!_0x44ccca[_0x30f8('0x7')](_0xa2763a);}(_0x558e7f,_0x15d887));_0x3cbab8=_0x3cbab8[_0x30f8('0x31')](_0x124e90=>!_0x124e90['is'](_0x30f8('0x34'),'listItem')||_0x124e90[_0x30f8('0xb')](_0x30f8('0x14'))!=_0x15a9d6);const _0x5550ef=new Set();for(const _0x4c53a7 of _0x3cbab8)_0x4c53a7['is'](_0x30f8('0x34'),_0x30f8('0x18'))?_0x5550ef['add'](ne(_0x4c53a7)):_0x5550ef[_0x30f8('0x16')](_0x4c53a7);return Array[_0x30f8('0xc')](_0x5550ef);}(_0x4e54b7[_0x30f8('0x25')](),_0x525cce,_0x13b32c[_0x30f8('0x6')][_0x30f8('0x23')]);_0x13b32c[_0x30f8('0x6')][_0x30f8('0x11')](()=>{for(const _0x4d20f3 of _0x6bb103)_0x1bf2e5['markBlockFormat'](_0x4d20f3,{'commandName':_0x1919ba,'commandParams':[{'forceValue':!_0xcad3d5[_0x30f8('0x4')]}],'formatGroupId':_0x30f8('0x0')},oe(_0x4d20f3));});};}function _0x35dd40(_0x3dba9e){return()=>{const _0x5ade42=function(_0x2571d1){let _0x3965a7=Array[_0x30f8('0xc')](_0x2571d1);const _0x3f8bff=_0x3965a7['findIndex'](_0x235e24=>'listItem'!=_0x235e24['name']);return _0x3f8bff>-0x1&&(_0x3965a7=_0x3965a7[_0x30f8('0x32')](0x0,_0x3f8bff)),_0x3965a7;}(_0x13b32c['model'][_0x30f8('0x24')][_0x30f8('0x1c')]['getSelectedBlocks']()),_0x4c0611=_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3d')](_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3c')](_0x5ade42[0x0],'before'),_0x13b32c[_0x30f8('0x6')][_0x30f8('0x3c')](_0x5ade42[_0x5ade42[_0x30f8('0x39')]-0x1],_0x30f8('0x20')));_0x13b32c[_0x30f8('0x6')]['change'](()=>{_0x1bf2e5['markBlockFormat'](_0x4c0611,{'commandName':_0x3dba9e,'commandParams':[],'formatGroupId':_0x30f8('0x2c')},function(_0x558d36){const _0x2eebed=new Set();for(const _0x11c3ce of _0x558d36){let _0x4c09a1=_0x11c3ce['nextSibling'];for(;_0x4c09a1&&_0x4c09a1['getAttribute'](_0x30f8('0x2c'))>_0x11c3ce[_0x30f8('0xb')](_0x30f8('0x2c'));)_0x2eebed[_0x30f8('0x16')](_0x4c09a1),_0x4c09a1=_0x4c09a1[_0x30f8('0xd')];}return Array['from'](_0x2eebed);}(_0x5ade42));});};}_0x1bf2e5[_0x30f8('0x30')]('numberedList',_0x2b345e(_0x30f8('0x8'))),_0x1bf2e5[_0x30f8('0x30')](_0x30f8('0x2f'),_0x2b345e('bulletedList')),_0x535484&&_0x1bf2e5['enableCommand'](_0x30f8('0x2'),_0x2b345e(_0x30f8('0x2'))),_0x1bf2e5['enableCommand']('indentList',_0x35dd40(_0x30f8('0x26'))),_0x1bf2e5['enableCommand']('outdentList',_0x35dd40(_0x30f8('0x3'))),_0x535484&&_0x1bf2e5[_0x30f8('0x30')](_0x30f8('0x37'),()=>{const _0x10a949=_0x13b32c[_0x30f8('0x2e')]['get']('checkTodoList'),_0x53d1c7=Array[_0x30f8('0xc')](_0x10a949[_0x30f8('0xa')]);_0x53d1c7[_0x30f8('0x31')](_0x51ad14=>_0x51ad14[_0x30f8('0xb')](_0x30f8('0x3b'))!=_0x10a949[_0x30f8('0x4')]),_0x13b32c[_0x30f8('0x6')][_0x30f8('0x11')](()=>{for(const _0x57491e of _0x53d1c7)_0x1bf2e5[_0x30f8('0x28')](_0x57491e,{'commandName':_0x30f8('0x37'),'commandParams':[{'forceValue':!_0x10a949[_0x30f8('0x4')]}]});});}),_0x1bf2e5[_0x30f8('0x13')][_0x30f8('0x29')](_0x30f8('0x18'),_0xfcbf6d=>_0x138a87(_0x361e28,_0x30f8('0x21'),_0xfcbf6d)),_0x1bf2e5[_0x30f8('0x13')]['registerDescriptionCallback'](_0x498303=>{const {data:_0x3708ad}=_0x498303;if(_0x3708ad){if(_0x30f8('0x8')==_0x3708ad[_0x30f8('0x15')]||'bulletedList'==_0x3708ad[_0x30f8('0x15')]||'todoList'==_0x3708ad[_0x30f8('0x15')])switch(_0x3708ad['commandName'][_0x30f8('0x1')](_0x30f8('0x2b'),'')){case _0x30f8('0x22'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x3a')));case _0x30f8('0x19'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x35')));case _0x30f8('0x17'):return _0x4b4bf0(_0x138a87(_0x361e28,_0x30f8('0x3e')));}if(_0x30f8('0x26')==_0x3708ad[_0x30f8('0x15')])return{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0x9'),_0x138a87(_0x361e28,_0x30f8('0x21')))};if(_0x30f8('0x3')==_0x3708ad[_0x30f8('0x15')])return{'type':'format','content':_0x138a87(_0x361e28,'*Outdent:*\x20%0',_0x138a87(_0x361e28,'ELEMENT_LIST_ITEM'))};if(_0x30f8('0x37')==_0x3708ad[_0x30f8('0x15')])return _0x3708ad['commandParams'][0x0][_0x30f8('0x1d')]?{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,'*Check\x20item*')}:{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0x2a'))};}function _0x4b4bf0(_0x245d57){return{'type':_0x30f8('0xe'),'content':_0x138a87(_0x361e28,_0x30f8('0xf'),_0x245d57)};}});}}function ne(_0x446817){const _0x4755af=_0x446817['getAttribute']('listIndent');if(0x0==_0x4755af)return _0x446817;let _0x51d21c=_0x446817;for(;_0x446817['previousSibling']&&_0x446817[_0x30f8('0x12')]['is'](_0x30f8('0x34'),_0x30f8('0x18'));){const _0x3fd70d=_0x446817[_0x30f8('0x12')]['getAttribute']('listIndent');if(_0x3fd70d==_0x4755af)_0x51d21c=_0x446817['previousSibling'];else{if(_0x3fd70d<_0x4755af)break;}_0x446817=_0x446817[_0x30f8('0x12')];}return _0x51d21c;}function oe(_0x4dd0a9){const _0x312b10=[];if(_0x4dd0a9['is'](_0x30f8('0x34'),_0x30f8('0x18'))&&_0x4dd0a9[_0x30f8('0xb')](_0x30f8('0x2c'))>0x0){let _0x19f2c6=_0x4dd0a9[_0x30f8('0xd')];for(;_0x19f2c6&&_0x30f8('0x18')==_0x19f2c6['name']&&_0x19f2c6[_0x30f8('0xb')]('listIndent')==_0x4dd0a9['getAttribute'](_0x30f8('0x2c'));)_0x312b10[_0x30f8('0x27')](_0x19f2c6),_0x19f2c6=_0x19f2c6[_0x30f8('0xd')];}return _0x312b10;}
23
+ const _0x510b=['element','document','selection','format','ELEMENT_NUMBERED_LIST','has','commandName','todo','*Check\x20item*','registerDescriptionCallback','parent','nextSibling','*Uncheck\x20item*','slice','blockName','plugins','createRange','checkTodoList','registerElementLabel','commands','createPositionAt','get','todoList','length','listType','numbered','value','isObject','editor','execute','getSelectedBlocks','getAttribute','afterInit','List','schema','bulletedList','push','end','replace','_selectedElements','locale','paragraph','listItem','todoListChecked','*Change\x20to:*\x20%0','ELEMENT_LIST_ITEM','commandParams','_descriptionFactory','markBlockFormat','model','add','listIndent','ListEditing','before','enableCommand','previousSibling','from','outdentList','TodoListEditing','filter','change','name','indentList'];(function(_0x402542,_0x510b57){const _0x387953=function(_0x3f30c7){while(--_0x3f30c7){_0x402542['push'](_0x402542['shift']());}};_0x387953(++_0x510b57);}(_0x510b,0x171));const _0x3879=function(_0x402542,_0x510b57){_0x402542=_0x402542-0x0;let _0x387953=_0x510b[_0x402542];return _0x387953;};import{Plugin as _0x20c961}from'ckeditor5/src/core';import{getTranslation as _0x22cc15}from'../utils/common-translations';export default class st extends _0x20c961{[_0x3879('0x29')](){const _0x15afbe=this[_0x3879('0x25')],_0xfbecd4=_0x15afbe[_0x3879('0x31')];if(!_0x15afbe[_0x3879('0x18')][_0x3879('0xe')](_0x3879('0x3d')))return;const _0x55ebf9=_0x15afbe[_0x3879('0x18')][_0x3879('0x1e')]('TrackChangesEditing'),_0x18dd9c=_0x15afbe[_0x3879('0x18')]['has'](_0x3879('0x4'));function _0x3401db(_0x535d47){return()=>{const _0x18cd9f=_0x15afbe[_0x3879('0x3a')][_0x3879('0xa')][_0x3879('0xb')],_0x31f756=_0x15afbe[_0x3879('0x1c')][_0x3879('0x1e')](_0x535d47);if(_0x31f756[_0x3879('0x23')])return void _0x15afbe[_0x3879('0x26')](_0x3879('0x32'),{});const _0x4ff80d=_0x535d47[_0x3879('0x16')](0x0,-0x4),_0x2a2edf=function(_0x271ee6,_0x231b1e,_0x34eed3){let _0x598494=Array[_0x3879('0x2')](_0x271ee6)[_0x3879('0x5')](_0x3550b7=>function(_0x10b013,_0x108833){return _0x108833['checkChild'](_0x10b013[_0x3879('0x13')],_0x3879('0x33'))&&!_0x108833[_0x3879('0x24')](_0x10b013);}(_0x3550b7,_0x34eed3));_0x598494=_0x598494[_0x3879('0x5')](_0x29f602=>!_0x29f602['is']('element',_0x3879('0x33'))||_0x29f602[_0x3879('0x28')](_0x3879('0x21'))!=_0x231b1e);const _0x7f6074=new Set();for(const _0x3fdd57 of _0x598494)_0x3fdd57['is'](_0x3879('0x9'),_0x3879('0x33'))?_0x7f6074[_0x3879('0x3b')](ne(_0x3fdd57)):_0x7f6074[_0x3879('0x3b')](_0x3fdd57);return Array['from'](_0x7f6074);}(_0x18cd9f[_0x3879('0x27')](),_0x4ff80d,_0x15afbe[_0x3879('0x3a')][_0x3879('0x2b')]);_0x15afbe[_0x3879('0x3a')][_0x3879('0x6')](()=>{for(const _0x4cd9f8 of _0x2a2edf)_0x55ebf9['markBlockFormat'](_0x4cd9f8,{'commandName':_0x535d47,'commandParams':[{'forceValue':!_0x31f756[_0x3879('0x23')]}],'formatGroupId':_0x3879('0x17')},oe(_0x4cd9f8));});};}function _0x240ea3(_0x4ae6a2){return()=>{const _0x287367=function(_0x3693e7){let _0x111b2a=Array[_0x3879('0x2')](_0x3693e7);const _0x4a73c9=_0x111b2a['findIndex'](_0x525704=>_0x3879('0x33')!=_0x525704[_0x3879('0x7')]);return _0x4a73c9>-0x1&&(_0x111b2a=_0x111b2a['slice'](0x0,_0x4a73c9)),_0x111b2a;}(_0x15afbe['model'][_0x3879('0xa')]['selection'][_0x3879('0x27')]()),_0x27d400=_0x15afbe[_0x3879('0x3a')][_0x3879('0x19')](_0x15afbe[_0x3879('0x3a')][_0x3879('0x1d')](_0x287367[0x0],_0x3879('0x3e')),_0x15afbe[_0x3879('0x3a')][_0x3879('0x1d')](_0x287367[_0x287367[_0x3879('0x20')]-0x1],_0x3879('0x2e')));_0x15afbe[_0x3879('0x3a')][_0x3879('0x6')](()=>{_0x55ebf9[_0x3879('0x39')](_0x27d400,{'commandName':_0x4ae6a2,'commandParams':[],'formatGroupId':_0x3879('0x3c')},function(_0x4b4ffb){const _0xef6996=new Set();for(const _0x16b3bf of _0x4b4ffb){let _0x2c971e=_0x16b3bf['nextSibling'];for(;_0x2c971e&&_0x2c971e['getAttribute'](_0x3879('0x3c'))>_0x16b3bf['getAttribute']('listIndent');)_0xef6996[_0x3879('0x3b')](_0x2c971e),_0x2c971e=_0x2c971e['nextSibling'];}return Array[_0x3879('0x2')](_0xef6996);}(_0x287367));});};}_0x55ebf9[_0x3879('0x0')]('numberedList',_0x3401db('numberedList')),_0x55ebf9['enableCommand'](_0x3879('0x2c'),_0x3401db(_0x3879('0x2c'))),_0x18dd9c&&_0x55ebf9[_0x3879('0x0')](_0x3879('0x1f'),_0x3401db(_0x3879('0x1f'))),_0x55ebf9['enableCommand']('indentList',_0x240ea3(_0x3879('0x8'))),_0x55ebf9[_0x3879('0x0')](_0x3879('0x3'),_0x240ea3('outdentList')),_0x18dd9c&&_0x55ebf9[_0x3879('0x0')](_0x3879('0x1a'),()=>{const _0x26064d=_0x15afbe[_0x3879('0x1c')]['get'](_0x3879('0x1a')),_0xbe3c6d=Array['from'](_0x26064d[_0x3879('0x30')]);_0xbe3c6d[_0x3879('0x5')](_0xfd204a=>_0xfd204a[_0x3879('0x28')](_0x3879('0x34'))!=_0x26064d[_0x3879('0x23')]),_0x15afbe[_0x3879('0x3a')]['change'](()=>{for(const _0x19b6f6 of _0xbe3c6d)_0x55ebf9[_0x3879('0x39')](_0x19b6f6,{'commandName':_0x3879('0x1a'),'commandParams':[{'forceValue':!_0x26064d[_0x3879('0x23')]}]});});}),_0x55ebf9[_0x3879('0x38')][_0x3879('0x1b')](_0x3879('0x33'),_0x3b2199=>_0x22cc15(_0xfbecd4,_0x3879('0x36'),_0x3b2199)),_0x55ebf9[_0x3879('0x38')][_0x3879('0x12')](_0x3d8fcb=>{const {data:_0x3bd952}=_0x3d8fcb;if(_0x3bd952){if('numberedList'==_0x3bd952[_0x3879('0xf')]||'bulletedList'==_0x3bd952[_0x3879('0xf')]||_0x3879('0x1f')==_0x3bd952['commandName'])switch(_0x3bd952[_0x3879('0xf')][_0x3879('0x2f')](_0x3879('0x2a'),'')){case'bulleted':return _0x145960(_0x22cc15(_0xfbecd4,'ELEMENT_BULLETED_LIST'));case _0x3879('0x22'):return _0x145960(_0x22cc15(_0xfbecd4,_0x3879('0xd')));case _0x3879('0x10'):return _0x145960(_0x22cc15(_0xfbecd4,'ELEMENT_TODO_LIST'));}if(_0x3879('0x8')==_0x3bd952[_0x3879('0xf')])return{'type':_0x3879('0xc'),'content':_0x22cc15(_0xfbecd4,'*Indent:*\x20%0',_0x22cc15(_0xfbecd4,_0x3879('0x36')))};if(_0x3879('0x3')==_0x3bd952[_0x3879('0xf')])return{'type':'format','content':_0x22cc15(_0xfbecd4,'*Outdent:*\x20%0',_0x22cc15(_0xfbecd4,'ELEMENT_LIST_ITEM'))};if(_0x3879('0x1a')==_0x3bd952[_0x3879('0xf')])return _0x3bd952[_0x3879('0x37')][0x0]['forceValue']?{'type':_0x3879('0xc'),'content':_0x22cc15(_0xfbecd4,_0x3879('0x11'))}:{'type':_0x3879('0xc'),'content':_0x22cc15(_0xfbecd4,_0x3879('0x15'))};}function _0x145960(_0x47efed){return{'type':_0x3879('0xc'),'content':_0x22cc15(_0xfbecd4,_0x3879('0x35'),_0x47efed)};}});}}function ne(_0x37c1ff){const _0x1016fb=_0x37c1ff[_0x3879('0x28')]('listIndent');if(0x0==_0x1016fb)return _0x37c1ff;let _0x20f8b6=_0x37c1ff;for(;_0x37c1ff[_0x3879('0x1')]&&_0x37c1ff[_0x3879('0x1')]['is'](_0x3879('0x9'),_0x3879('0x33'));){const _0x3b9e32=_0x37c1ff[_0x3879('0x1')][_0x3879('0x28')](_0x3879('0x3c'));if(_0x3b9e32==_0x1016fb)_0x20f8b6=_0x37c1ff[_0x3879('0x1')];else{if(_0x3b9e32<_0x1016fb)break;}_0x37c1ff=_0x37c1ff[_0x3879('0x1')];}return _0x20f8b6;}function oe(_0x45ad78){const _0x2f24a7=[];if(_0x45ad78['is']('element',_0x3879('0x33'))&&_0x45ad78[_0x3879('0x28')]('listIndent')>0x0){let _0x3a089b=_0x45ad78['nextSibling'];for(;_0x3a089b&&'listItem'==_0x3a089b[_0x3879('0x7')]&&_0x3a089b[_0x3879('0x28')](_0x3879('0x3c'))==_0x45ad78['getAttribute'](_0x3879('0x3c'));)_0x2f24a7[_0x3879('0x2d')](_0x3a089b),_0x3a089b=_0x3a089b[_0x3879('0x14')];}return _0x2f24a7;}