@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231206.0 → 0.0.0-nightly-20231208.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 (161) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/translations/ar.po +5 -5
  50. package/lang/translations/az.po +4 -4
  51. package/lang/translations/bg.po +5 -5
  52. package/lang/translations/bn.po +5 -5
  53. package/lang/translations/ca.po +5 -5
  54. package/lang/translations/cs.po +5 -5
  55. package/lang/translations/da.po +5 -5
  56. package/lang/translations/de.po +5 -5
  57. package/lang/translations/el.po +5 -5
  58. package/lang/translations/en-au.po +5 -5
  59. package/lang/translations/en.po +5 -5
  60. package/lang/translations/es.po +5 -5
  61. package/lang/translations/et.po +5 -5
  62. package/lang/translations/fi.po +5 -5
  63. package/lang/translations/fr.po +5 -5
  64. package/lang/translations/gl.po +36 -36
  65. package/lang/translations/he.po +5 -5
  66. package/lang/translations/hi.po +5 -5
  67. package/lang/translations/hr.po +5 -5
  68. package/lang/translations/hu.po +5 -5
  69. package/lang/translations/id.po +5 -5
  70. package/lang/translations/it.po +5 -5
  71. package/lang/translations/ja.po +5 -5
  72. package/lang/translations/ko.po +5 -5
  73. package/lang/translations/lt.po +5 -5
  74. package/lang/translations/lv.po +5 -5
  75. package/lang/translations/ms.po +5 -5
  76. package/lang/translations/nl.po +5 -5
  77. package/lang/translations/no.po +5 -5
  78. package/lang/translations/pl.po +5 -5
  79. package/lang/translations/pt-br.po +5 -5
  80. package/lang/translations/pt.po +5 -5
  81. package/lang/translations/ro.po +5 -5
  82. package/lang/translations/ru.po +5 -5
  83. package/lang/translations/sk.po +5 -5
  84. package/lang/translations/sq.po +4 -4
  85. package/lang/translations/sr-latn.po +24 -24
  86. package/lang/translations/sr.po +5 -5
  87. package/lang/translations/sv.po +5 -5
  88. package/lang/translations/th.po +5 -5
  89. package/lang/translations/tk.po +4 -4
  90. package/lang/translations/tr.po +5 -5
  91. package/lang/translations/tt.po +4 -4
  92. package/lang/translations/uk.po +5 -5
  93. package/lang/translations/ur.po +4 -4
  94. package/lang/translations/vi.po +5 -5
  95. package/lang/translations/zh-cn.po +5 -5
  96. package/lang/translations/zh.po +5 -5
  97. package/package.json +3 -3
  98. package/src/commands/acceptsuggestioncommand.js +1 -1
  99. package/src/commands/discardsuggestioncommand.js +1 -1
  100. package/src/commands/executeonallsuggestionscommand.js +1 -1
  101. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  102. package/src/commands/trackchangescommand.js +1 -1
  103. package/src/integrations/aiassistant.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +1 -1
  112. package/src/integrations/documentlistproperties.js +1 -1
  113. package/src/integrations/entercommand.js +1 -1
  114. package/src/integrations/findandreplace.js +1 -1
  115. package/src/integrations/font.js +1 -1
  116. package/src/integrations/formatpainter.js +1 -1
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/imagestyle.js +1 -1
  124. package/src/integrations/importword.js +1 -1
  125. package/src/integrations/indent.js +1 -1
  126. package/src/integrations/inputcommand.js +1 -1
  127. package/src/integrations/link.js +1 -1
  128. package/src/integrations/list.js +1 -1
  129. package/src/integrations/listproperties.js +1 -1
  130. package/src/integrations/mediaembed.js +1 -1
  131. package/src/integrations/mention.js +1 -1
  132. package/src/integrations/pagebreak.js +1 -1
  133. package/src/integrations/paragraph.js +1 -1
  134. package/src/integrations/removeformat.js +1 -1
  135. package/src/integrations/restrictededitingmode.js +1 -1
  136. package/src/integrations/shiftentercommand.js +1 -1
  137. package/src/integrations/standardeditingmode.js +1 -1
  138. package/src/integrations/style.js +1 -1
  139. package/src/integrations/table.js +1 -1
  140. package/src/integrations/tablecaption.js +1 -1
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.js +1 -1
  143. package/src/integrations/tableheadings.js +1 -1
  144. package/src/integrations/tablemergesplit.js +1 -1
  145. package/src/integrations/tableofcontents.js +1 -1
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.js +1 -1
  148. package/src/integrations/title.js +1 -1
  149. package/src/integrations/undo.js +1 -1
  150. package/src/integrations/utils.js +1 -1
  151. package/src/suggestion.js +1 -1
  152. package/src/suggestiondescriptionfactory.js +1 -1
  153. package/src/trackchanges.js +1 -1
  154. package/src/trackchangesdata.js +1 -1
  155. package/src/trackchangesediting.js +1 -1
  156. package/src/trackchangesui.js +1 -1
  157. package/src/ui/suggestioncontroller.js +1 -1
  158. package/src/ui/view/basesuggestionthreadview.js +1 -1
  159. package/src/ui/view/suggestionthreadview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
  161. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x816e=['model','getItems','forward','isObject','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','createPositionBefore','removeComment','ck-suggestion-marker-','skipNestingCheck','createdAt','_inlineAttributeKeys','isAfter','collaboration.channelId','$graveyard','_blockAttributeKeys','isArray','_registerInlineAttribute','hasComments','batch','$text','showSuggestionHighlights','selection','end','split','_breakSuggestionMarker','requires','howMany','_suggestions','track-changes-enable-command-twice','delete','removeMarkers','_recordAttributeChanges','substr','buildSuggestion','writer','nodeBefore','isSelectable','head','_removeSuggestion','marker-count','track-changes-adapter-missing-getsuggestion','concat','keys','$textProxy','getWalker','getContainedElement','_setSuggestionData','getCustomProperty','markerReady','never','track-changes-suggestion-data-mismatch','_enableDefaultAttributesIntegration','attribute:discard','_findSuggestions','registerPostFixer','consume','track-changes-adapter-already-set','newRange','item','_splitMarkerName','createRange','creator','options','map','_getExternalAuthor','ck-suggestion-marker-formatBlock','_onDiscard','getSuggestion','_commentsRepository','discardSelectedSuggestions','createSelection','formatBlock','authoredAt','insertion:','formatBlock:','some','always','stopListening','_recordAttributeSuggestionsFromVersion','notReady','_defaultCallbacks','addSuggestion','getAncestors','default','isInContent','range','createPositionAt','getFirstMarker','trackChanges','insertion:accept','newValue','isOwn','isAtStart','getMultiRangeId','suggestion:','_createSuggestion','splice','dataToMarker','rethrowUnexpectedError','getChangedMarkers','acceptAllSuggestions','change:activeMarkers','isIntersectingWithRange','insertContent','sort','formatInline:accept','then','attribute:accept','deleteContent','_SUGGESTION_ANNOUNCEMENT','detach','track-changes-command-not-found','formatBlock:join','addCommentThread','error-saving-suggestion-data-suggestion-discarded','enqueueChange','formatBlock:chain','_cutOutSuggestionMarker','push','lowest','accept','_descriptionFactory','locale','find','removeMarker','change','_addSuggestionMarker','isCollapsed','before','nodeAfter','ck-suggestion-marker-formatInline','values','format','data','isLimit','bindElementToMarker','getSuggestionCallback','_isForcedDefaultExecutionBlock','get','_reduceSuggestionAttributeRange','suggestion-type','addSuggestionData','startsWith','getAllAdjacentSuggestions','chain','multi','markDeletion','markerNameToElements','getFirstRange','pluginName','isTouching','length','splitPosition','trackChanges.mergeNestedSuggestions','markMultiRangeDeletion','dataReady','discard','getIntersection','fire','removeClass','acceptSelectedSuggestions','getUser','addMarker:suggestion','unbind','substring','move','activeMarkers','updateMarker','key','author','previous','insertion','insertion:discard','isRemovable','_refreshSuggestionsChain','from','createElement','includes','formatBlock:accept','document','markMultiRangeInsertion','conversion','getSuggestions','size','getAttribute','_customCallbacks','config','containsRangeInObject','backward','formatInline:join','rootName','enableReadOnlyMode','discardAllSuggestions','getNearestSelectionRange','deletion:chain','isBlock','trackChangesCommand','parent','addAttribute','markBlockFormat','isAtEnd','getDifference','_trackFormatChanges','assign','_registerBlockAttribute','_checkSuggestionCorrectness','trackChanges.trackFormatChanges','fetchCommentThread','attributeKey','_editor','PendingActions','_getAuthorFromId','createPositionAfter','_suggestionState','isBefore','containsRange','getLastMatchingPosition','commands','_isBlockAttribute','change:data','addClass','_refreshAttributeSuggestionsChain','_mergeNestedSuggestions','isIntersecting','getRange','setAttribute','getCommentThread','deletion','subType','hasCommentThread','oldRange','markInlineFormat','markMultiRangeBlockFormat','comments','isEqual','insert','isLocal','originalSuggestionId','consumable','unbindElementFromMarkerName','_adapter','discardSuggestion','removeMarker:suggestion:attribute','groupId','multipleBlocks','_rangeIsInLocalUserInsertion','schema','FORMATTING','remove','toViewElement','value','_handleNewSuggestionMarker','ready','type','low','markInsertion','suggestion','markAttributeChange','isNextTo','toJSON','isExternal','ENTER','getRanges','getShiftedBy','return','root','getOperations','Users','set','after','next','suggestionUnloaded','tablePasteChainId','_reduceExistingSuggestions','addHighlight','add','CommentsRepository','ck-suggestion-marker','markers','formatBlock:discard','_updateSuggestionData','setSelection','stop','editingDowncast','_model','attributeOldValue','_getSuggestionData','newName','authorName','_getMarkerAnnouncementText','updateSuggestion','join','_addThreadToSuggestion','targetPosition','isDocumentOperation','data-suggestion','removeAttribute','markerToHighlight','_processAttributeSuggestions','containerElement','upcast','formatInline','_joinSuggestions','position','elementEnd','enableCommand','ck-suggestion-marker--active','track-changes-suggestion-not-found','editing','addRange','attributes','addMarker:suggestion:formatBlock','isInsideObject','deletion:accept','_joinWithAdjacentSuggestions','unshift','differ','init','pop','forceDefaultExecution','$marker','markerName','start','rejected','_suggestionFactory','formatGroupId','for','_saved','define','suggestionLoaded','attributeNewValue','has','createRangeOn','filter','editor','$elementName','adapter','TrackChangesEditing','high','oldValue','element','_registerDefaultCallbacks','every','_setSuggestionRange','containsPosition','getMarkers','clear','_enabledCommands','acceptSuggestion','_initAriaMarkerChangeAnnouncements','name','deletion:join','deletion:','addUser','commentThread','dataDowncast','addMarkerName','highest','plugins','formatInline:','mapper','execute','attribute','getChanges','listenTo','ariaLiveAnnouncer','isMultiRange','_isDataLoaded','track-changes-user-not-found','commandName','forEach','_processAttributeChanges','rename','documentSelection','PENDING_ACTION_SUGGESTION','widget'];(function(_0x31938d,_0x816e08){const _0x506774=function(_0x1acfca){while(--_0x1acfca){_0x31938d['push'](_0x31938d['shift']());}};_0x506774(++_0x816e08);}(_0x816e,0x134));const _0x5067=function(_0x31938d,_0x816e08){_0x31938d=_0x31938d-0x0;let _0x506774=_0x816e[_0x31938d];return _0x506774;};import{Plugin as _0x2dcb3e,PendingActions as _0x2ad348}from'ckeditor5/src/core';import{LiveRange as _0x108700}from'ckeditor5/src/engine';import{CKEditorError as _0x4a14e0,uid as _0x4f1cad,priorities as _0x1d101f,logWarning as _0x1665dd}from'ckeditor5/src/utils';import{toWidget as _0x3fe84d}from'ckeditor5/src/widget';import{Users as _0x323eaf,hashObject as _0x3e3341,surroundingMarkersDetector as _0x24ed9b}from'ckeditor5-collaboration/src/collaboration-core';import _0xa1f896 from'./commands/trackchangescommand';import _0x30bd07 from'./commands/acceptsuggestioncommand';import _0x19a51d from'./commands/discardsuggestioncommand';import _0x26923f from'./commands/executeonallsuggestionscommand';import _0x1324cb from'./commands/executeonselectedsuggestionscommand';import _0x1629a3 from'./suggestion';import _0x2cd0af from'./suggestiondescriptionfactory';import _0x2cd2b9 from'./integrations/aiassistant';import _0x544704 from'./integrations/alignment';import _0x4f74e8 from'./integrations/basicstyles';import _0x34d6ca from'./integrations/blockquote';import _0x41e513 from'./integrations/ckbox';import _0x3f7d9f from'./integrations/codeblock';import _0x17d7e0 from'./integrations/comments';import _0x1c50f4 from'./integrations/deletecommand';import _0x4b4def from'./integrations/documentlist';import _0x117722 from'./integrations/documentlistproperties';import _0x2431f4 from'./integrations/entercommand';import _0x326b74 from'./integrations/findandreplace';import _0x219377 from'./integrations/font';import _0x2e3878 from'./integrations/formatpainter';import _0x4329cd from'./integrations/heading';import _0xd874e from'./integrations/highlight';import _0xb9ffc8 from'./integrations/horizontalline';import _0x3b4be2 from'./integrations/htmlembed';import _0x2de0c7 from'./integrations/image';import _0x3b525e from'./integrations/imagereplace';import _0x3ab62f from'./integrations/imagestyle';import _0x27df30 from'./integrations/importword';import _0x2b4063 from'./integrations/indent';import _0xe7bcab from'./integrations/inputcommand';import _0x2f4b8e from'./integrations/link';import _0x50a31b from'./integrations/list';import _0x163106 from'./integrations/listproperties';import _0x2d315a from'./integrations/mediaembed';import _0x77283c from'./integrations/mention';import _0x14fc81 from'./integrations/pagebreak';import _0x1382a8 from'./integrations/paragraph';import _0x43d1e6 from'./integrations/removeformat';import _0x429846 from'./integrations/restrictededitingmode';import _0x11cd46 from'./integrations/shiftentercommand';import _0x5c22ba from'./integrations/standardeditingmode';import _0x46bd9f from'./integrations/style';import _0x30e708 from'./integrations/table';import _0x3cb0e4 from'./integrations/tablemergesplit';import _0x5b6d9c from'./integrations/tableheadings';import _0x39664d from'./integrations/tableclipboard';import _0x217dbf from'./integrations/tablecolumnresize';import _0x28bbe1 from'./integrations/template';import _0x4b81b5 from'./integrations/tableofcontents';import _0x42f37d from'./integrations/title';import _0x2605f2 from'./integrations/undo';import _0x2eac60 from'./integrations/tablecaption';import _0x10eabd from'./integrations/tableproperties';import{getTranslation as _0x2de78a}from'./utils/common-translations';import{isEqual as _0x3875c5,omit as _0x358d9a}from'lodash-es';export const renameAttributeKey=_0x5067('0x1b');export default class p extends _0x2dcb3e{static get[_0x5067('0x5d')](){return[_0x5067('0x158'),_0x323eaf,_0x2ad348,_0x2cd2b9,_0x544704,_0x4f74e8,_0x34d6ca,_0x41e513,_0x3f7d9f,_0x17d7e0,_0x1c50f4,_0x4b4def,_0x117722,_0x2431f4,_0x326b74,_0x219377,_0x2e3878,_0x4329cd,_0xd874e,_0xb9ffc8,_0x3b4be2,_0x2de0c7,_0x3ab62f,_0x3b525e,_0x27df30,_0x2b4063,_0xe7bcab,_0x2f4b8e,_0x50a31b,_0x163106,_0x2d315a,_0x77283c,_0x14fc81,_0x1382a8,_0x43d1e6,_0x429846,_0x11cd46,_0x5c22ba,_0x46bd9f,_0x30e708,_0x3cb0e4,_0x5b6d9c,_0x2eac60,_0x39664d,_0x217dbf,_0x4b81b5,_0x10eabd,_0x28bbe1,_0x42f37d,_0x2605f2];}static get[_0x5067('0xd9')](){return _0x5067('0x1d');}constructor(_0x9a82ed){function _0x46b718(_0x6566d8){return _0x6566d8['map'](_0x498193=>String['fromCharCode'](_0x498193))[_0x5067('0x167')]('');}super(_0x9a82ed),this[_0x5067('0x92')]=null,this[_0x5067('0x150')](_0x5067('0xea'),[]),this['on'](_0x5067('0xa9'),(_0x59f6fd,_0x3d2ae5,_0xb158c9,_0x4d09ea)=>{this[_0x5067('0x160')]['change'](()=>{for(const _0x30f8fd of[..._0x4d09ea,..._0xb158c9])this[_0x5067('0x160')]['markers'][_0x5067('0x17')](_0x30f8fd)&&_0x9a82ed[_0x5067('0x0')]['reconvertMarker'](_0x30f8fd);});}),this[_0x5067('0xbd')]=new _0x2cd0af(this[_0x5067('0x1a')][_0x5067('0x44')][_0x5067('0x13a')],this[_0x5067('0x1a')][_0x5067('0xbe')]),this['_adapter']=null,this[_0x5067('0x10')]=new Bt(this[_0x5067('0x1a')]),this[_0x5067('0x5f')]=new Map(),this[_0x5067('0x88')]=_0x9a82ed[_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x158')),this[_0x5067('0x27')]=new Set(),this['_model']=this['editor'][_0x5067('0x44')],this[_0x5067('0x119')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x5067('0x52')]=new Set([_0x5067('0x1b')]),this[_0x5067('0x4e')]=new Set(),_0x9a82ed[_0x5067('0xfe')][_0x5067('0x14')](_0x5067('0x112'),'default'),this[_0x5067('0x10e')]=_0x9a82ed[_0x5067('0xfe')]['get'](_0x5067('0x112')),_0x9a82ed[_0x5067('0xfe')][_0x5067('0x14')](_0x5067('0xdd'),!0x0),this['_mergeNestedSuggestions']=_0x9a82ed[_0x5067('0xfe')][_0x5067('0xce')](_0x5067('0xdd')),this[_0x5067('0x108')]=new _0xa1f896(_0x9a82ed,this[_0x5067('0x27')]),this[_0x5067('0x29')](),this[_0x46b718([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x46b718([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x32]);}[_0x5067('0x9')](){const _0x425a89=this['editor'],_0x34faac=(_0x7c94ec,_0x4f8ff8)=>{if('attribute'!=_0x7c94ec)return _0x5067('0x4b')+_0x7c94ec;const _0x5dd52a=_0x4f8ff8[_0x5067('0x5b')]('|')[0x0];return this[_0x5067('0x11e')](_0x5dd52a)?'ck-suggestion-marker-formatBlock':_0x5067('0xc6');};_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x15f'))[_0x5067('0x16d')]({'model':_0x5067('0x144'),'view':_0x1e0738=>{const {id:_0x4ce38a,type:_0x4371c2,subType:_0x126ea4}=this[_0x5067('0x7f')](_0x1e0738[_0x5067('0xd')]),_0x2ed8fb=['ck-suggestion-marker',_0x34faac(_0x4371c2,_0x126ea4)];let _0x1704bc=0xbb8;return this[_0x5067('0xea')][_0x5067('0xf5')](_0x1e0738[_0x5067('0xd')])&&(_0x2ed8fb[_0x5067('0xba')](_0x5067('0x176')),_0x1704bc=0xbc2),_0x5067('0x127')==_0x4371c2&&(_0x1704bc+=0x5),{'classes':_0x2ed8fb,'attributes':{'data-suggestion':_0x4ce38a},'priority':_0x1704bc};}}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x2f'))[_0x5067('0x157')](_0x47bcc0=>{_0x47bcc0['on'](_0x5067('0xe6'),(_0x5913da,_0x3f30af,_0x57200f)=>{if(!_0x57200f[_0x5067('0x82')][_0x5067('0x58')])return;const _0x31977a=_0x3f30af[_0x5067('0x7e')];if(!_0x31977a)return;const _0x30dedb=_0x57200f[_0x5067('0x34')]['toViewElement'](_0x31977a);_0x425a89[_0x5067('0x44')][_0x5067('0x13a')][_0x5067('0x47')](_0x31977a)&&_0x30dedb&&!_0x30dedb[_0x5067('0x73')](_0x5067('0x43'))&&_0x30dedb['is'](_0x5067('0x16f'))&&_0x3fe84d(_0x30dedb,_0x57200f[_0x5067('0x66')]);},{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')]('dataDowncast')['markerToHighlight']({'model':_0x5067('0x144'),'view':(_0x5a405c,_0x2060fb)=>{if(!_0x2060fb[_0x5067('0x82')][_0x5067('0x58')])return null;const {type:_0x4df264,subType:_0x35cafd}=this[_0x5067('0x7f')](_0x5a405c[_0x5067('0xd')]);return{'classes':[_0x5067('0x159'),_0x34faac(_0x4df264,_0x35cafd)],'priority':0xbb8};}});const _0xd0016c=({showActiveMarkers:_0xc316ee=!0x0,isAttributeSuggestion:_0x53b6b9=!0x1}={})=>(_0x4ae895,_0x422631,_0x40edc6)=>{if(!_0x422631[_0x5067('0x7e')])return;const {id:_0x4bb831}=this['_splitMarkerName'](_0x422631[_0x5067('0xd')]);if(_0x53b6b9){const _0x3d34=Pt(this[_0x5067('0x5f')][_0x5067('0xce')](_0x4bb831));if(!this[_0x5067('0x11e')](_0x3d34))return;}if(_0x422631[_0x5067('0x7e')]['is'](_0x5067('0x59')))return void _0x40edc6[_0x5067('0x132')][_0x5067('0x7b')](_0x422631[_0x5067('0x7e')],_0x4ae895[_0x5067('0x2a')]);const _0x906b4=_0x40edc6[_0x5067('0x34')][_0x5067('0x13d')](_0x422631[_0x5067('0x7e')]);if(_0x422631[_0x5067('0x7e')]['is'](_0x5067('0x20'))&&_0x425a89[_0x5067('0x44')][_0x5067('0x13a')][_0x5067('0x107')](_0x422631[_0x5067('0x7e')])&&!_0x906b4['getCustomProperty'](_0x5067('0x156'))){_0x40edc6['writer']['addClass']([_0x5067('0x159'),'ck-suggestion-marker-formatBlock'],_0x906b4),_0x40edc6[_0x5067('0x66')]['setAttribute'](_0x5067('0x16b'),_0x4bb831,_0x906b4),_0x40edc6[_0x5067('0x34')][_0x5067('0xcb')](_0x906b4,_0x422631[_0x5067('0xd')]),_0xc316ee&&(this[_0x5067('0xea')][_0x5067('0xf5')](_0x422631[_0x5067('0xd')])?_0x40edc6[_0x5067('0x66')][_0x5067('0x120')](_0x5067('0x176'),_0x906b4):_0x40edc6[_0x5067('0x66')]['removeClass'](_0x5067('0x176'),_0x906b4));for(const _0x1f7864 of _0x425a89['model']['createRangeIn'](_0x422631[_0x5067('0x7e')])[_0x5067('0x45')]())_0x40edc6[_0x5067('0x132')]['consume'](_0x1f7864,_0x4ae895['name']);_0x40edc6['consumable'][_0x5067('0x7b')](_0x422631['item'],_0x4ae895['name']);}};_0x425a89['conversion'][_0x5067('0x12')](_0x5067('0x2f'))[_0x5067('0x157')](_0x283620=>{_0x283620['on'](_0x5067('0x3'),(_0x55822f,_0x5986e0,_0x5868bb)=>{_0x5868bb[_0x5067('0x82')][_0x5067('0x58')]&&_0xd0016c({'showActiveMarkers':!0x1})(_0x55822f,_0x5986e0,_0x5868bb);},{'priority':_0x5067('0x31')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')]('dataDowncast')[_0x5067('0x157')](_0x5ade9e=>{_0x5ade9e['on']('addMarker:suggestion:attribute',(_0x4e78ab,_0x436e2c,_0x4c96b2)=>{_0x4c96b2[_0x5067('0x82')][_0x5067('0x58')]&&_0xd0016c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4e78ab,_0x436e2c,_0x4c96b2);},{'priority':_0x5067('0x31')});}),_0x425a89['conversion'][_0x5067('0x12')]('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x3150cc,_0x49bfdd)=>_0x49bfdd[_0x5067('0x82')][_0x5067('0x58')]?null:{'group':_0x5067('0x144'),'name':_0x3150cc[_0x5067('0x64')](0xb)}}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')]('upcast')['elementToElement']({'view':{'name':_0x5067('0x144'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x16610a,{writer:_0x135395})=>{let _0x3f6f50=_0x5067('0xa2')+_0x16610a['getAttribute'](_0x5067('0xd0'))+':'+_0x16610a[_0x5067('0xfc')]('id');return _0x16610a['getAttribute'](_0x5067('0x6b'))&&(_0x3f6f50+=':'+_0x16610a[_0x5067('0xfc')]('marker-count')),_0x135395[_0x5067('0xf4')](_0x5067('0xc'),{'data-name':_0x3f6f50});}}),_0x425a89[_0x5067('0xf9')]['for'](_0x5067('0x170'))[_0x5067('0xa5')]({'view':_0x5067('0x144')}),_0x425a89['conversion'][_0x5067('0x12')](_0x5067('0x15f'))['add'](_0x1c19f8=>{_0x1c19f8['on'](_0x5067('0x3'),_0xd0016c(),{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x15f'))['add'](_0x487228=>{_0x487228['on']('addMarker:suggestion:attribute',_0xd0016c({'isAttributeSuggestion':!0x0}),{'priority':_0x5067('0x1e')});}),_0x425a89['conversion']['for']('editingDowncast')[_0x5067('0x157')](_0x18f47f=>{_0x18f47f['on']('removeMarker:suggestion:formatBlock',(_0x503a50,_0x4d44f8,_0x92b8c9)=>{const _0x2fd6af=_0x92b8c9[_0x5067('0x34')]['markerNameToElements'](_0x4d44f8[_0x5067('0xd')]);if(_0x2fd6af)for(const _0x26e5d5 of _0x2fd6af)_0x26e5d5[_0x5067('0x73')](_0x5067('0x156'))||(_0x92b8c9[_0x5067('0x66')]['removeClass']([_0x5067('0x159'),_0x5067('0x85'),_0x5067('0x176')],_0x26e5d5),_0x92b8c9['writer'][_0x5067('0x16c')](_0x5067('0x16b'),_0x26e5d5),_0x92b8c9[_0x5067('0x34')][_0x5067('0x133')](_0x26e5d5,_0x4d44f8[_0x5067('0xd')]));},{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x15f'))[_0x5067('0x157')](_0x1b4edb=>{_0x1b4edb['on'](_0x5067('0x136'),(_0x18ad4f,_0x35d41a,_0x20625b)=>{const _0x4fc845=_0x20625b[_0x5067('0x34')][_0x5067('0xd7')](_0x35d41a[_0x5067('0xd')]);if(!_0x4fc845)return;const {id:_0x447c52}=this[_0x5067('0x7f')](_0x35d41a['markerName']),_0x568cda=Pt(this['_suggestions']['get'](_0x447c52));if(this['_isBlockAttribute'](_0x568cda))for(const _0x4a54da of _0x4fc845)_0x4a54da[_0x5067('0x73')](_0x5067('0x156'))||(_0x20625b[_0x5067('0x66')][_0x5067('0xe3')](['ck-suggestion-marker',_0x5067('0x85'),'ck-suggestion-marker--active'],_0x4a54da),_0x20625b['writer']['removeAttribute'](_0x5067('0x16b'),_0x4a54da),_0x20625b[_0x5067('0x34')][_0x5067('0x133')](_0x4a54da,_0x35d41a[_0x5067('0xd')]));},{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0x44')]['document'][_0x5067('0x7a')](_0x227576=>{let _0x360be8=!0x1;const _0xe9680e=Array[_0x5067('0xf3')](_0x425a89[_0x5067('0x44')][_0x5067('0xf7')]['differ']['getChangedMarkers']()),_0x115bba=new Set();for(const {name:_0x50b063,data:_0x36b11a}of _0xe9680e){const {group:_0x2a766e,type:_0x39182c,subType:_0x361f60,id:_0x28b316}=this['_splitMarkerName'](_0x50b063);if(_0x5067('0x144')!==_0x2a766e)continue;const _0x10c109=this[_0x5067('0x5f')][_0x5067('0xce')](_0x28b316);if(null!=_0x36b11a[_0x5067('0x7d')]){_0x5067('0x171')==_0x39182c&&(_0x360be8=_0x360be8||Et(_0x36b11a[_0x5067('0x7d')],_0x50b063,_0x227576,_0x425a89['model']['schema']));const _0x4165ac=_0x5067('0x36')==_0x39182c&&this[_0x5067('0x11e')](_0x361f60[_0x5067('0x5b')]('|')[0x0]);if(_0x36b11a[_0x5067('0x7d')][_0x5067('0xc3')]||_0x5067('0x51')==_0x36b11a['newRange'][_0x5067('0x14d')]['rootName']||_0x5067('0x8b')==_0x39182c&&!jt(_0x36b11a[_0x5067('0x7d')])||_0x4165ac&&!jt(_0x36b11a['newRange'])||'deletion'==_0x39182c&&!(!xt(_0x405e48=_0x36b11a[_0x5067('0x7d')])&&!function(_0x23eb78){return _0x23eb78[_0x5067('0xe')][_0x5067('0x109')]==_0x23eb78[_0x5067('0x5a')]['nodeBefore']&&_0x23eb78[_0x5067('0xe')][_0x5067('0x10c')];}(_0x405e48)))_0x227576[_0x5067('0xc0')](_0x50b063),_0x360be8=!0x0;else{if(!_0x10c109||!_0x10c109[_0x5067('0x98')])continue;_0x115bba[_0x5067('0x157')](_0x10c109);}}}var _0x405e48;return _0x115bba[_0x5067('0xfb')]>0x0&&(_0x360be8=!!this[_0x5067('0x6')](_0x115bba)||_0x360be8),_0x360be8;}),_0x425a89[_0x5067('0x44')][_0x5067('0xf7')][_0x5067('0x7a')](_0x5184b7=>{let _0x2822fd=!0x1;for(const _0x366cac of _0x425a89['model'][_0x5067('0xf7')][_0x5067('0x8')][_0x5067('0x37')]())if(_0x5067('0x12f')==_0x366cac[_0x5067('0x141')])for(const _0x19c150 of this['_suggestions'][_0x5067('0xc7')]()){if(_0x19c150[_0x5067('0x3a')]||!_0x19c150['isInContent'])continue;const _0x11e4f0=_0x5067('0x8b')==_0x19c150[_0x5067('0x141')],_0x33fd49=Pt(_0x19c150),_0x495f0e=_0x33fd49&&this[_0x5067('0x11e')](_0x33fd49);if(!_0x11e4f0&&!_0x495f0e)continue;const _0x3f4f60=_0x19c150['getFirstRange']();if(_0x3f4f60[_0x5067('0xe')]['parent']!=_0x3f4f60[_0x5067('0x5a')]['parent']&&!_0x3f4f60['end']['isAtEnd']){const _0x2429e3=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x3f4f60['start'][_0x5067('0xc5')],_0x5067('0x5a')),_0x30e1b9=_0x425a89[_0x5067('0x44')][_0x5067('0x80')](_0x3f4f60[_0x5067('0xe')],_0x2429e3);_0x5184b7['updateMarker'](_0x19c150['getFirstMarker'](),{'range':_0x30e1b9}),_0x2822fd=!0x0;}}return _0x2822fd;}),_0x425a89['model']['document'][_0x5067('0x7a')](_0xb2c88f=>this[_0x5067('0x3f')](_0xb2c88f)),_0x425a89['model'][_0x5067('0xf7')]['registerPostFixer'](_0x4ab56e=>!_0x4ab56e[_0x5067('0x56')][_0x5067('0x130')]&&this[_0x5067('0x16e')](_0x4ab56e)),_0x425a89[_0x5067('0x44')][_0x5067('0x15a')]['on']('update:suggestion',(_0x4cf009,_0x5480e3,_0x1ee523)=>{if(null==_0x1ee523){const {id:_0x1536d3}=this[_0x5067('0x7f')](_0x5480e3[_0x5067('0x2a')]),_0x551cbb=this[_0x5067('0x5f')][_0x5067('0xce')](_0x1536d3);_0x551cbb&&_0x551cbb['addMarkerName'](_0x5480e3['name']);}}),_0x425a89['model'][_0x5067('0xf7')]['on'](_0x5067('0x11f'),()=>{const _0x24431f=Array['from'](_0x425a89[_0x5067('0x44')]['document'][_0x5067('0x8')][_0x5067('0xa7')]())[_0x5067('0x19')](_0x3df876=>_0x5067('0x144')===this[_0x5067('0x7f')](_0x3df876[_0x5067('0x2a')])['group']);if(0x0===_0x24431f[_0x5067('0xdb')])return;_0x24431f['sort']((_0x225022,_0x37fd65)=>{const _0x15afd8=_0x225022[_0x5067('0xc9')]['oldRange'],_0x40f123=_0x37fd65[_0x5067('0xc9')][_0x5067('0x12a')];return null===_0x15afd8&&null===_0x40f123?0x0:null===_0x15afd8&&null!==_0x40f123?-0x1:null!==_0x15afd8&&null===_0x40f123?0x1:_0x15afd8[_0x5067('0xe')][_0x5067('0x11a')](_0x40f123[_0x5067('0xe')])?-0x1:0x1;});const _0x26bfa1=new Set(),_0x445eb2=new Set();for(const {name:_0x327092,data:_0x406233}of _0x24431f){const {id:_0x5bd6ac}=this[_0x5067('0x7f')](_0x327092);if(null===_0x406233['oldRange']){const _0x3cc028=this[_0x5067('0x13f')](_0x327092);_0x445eb2[_0x5067('0x157')](_0x3cc028);}else{const _0x52fc23=this[_0x5067('0x5f')][_0x5067('0xce')](_0x5bd6ac);null!==_0x406233[_0x5067('0x7d')]||_0x52fc23[_0x5067('0x98')]?(_0x26bfa1[_0x5067('0x157')](_0x52fc23[_0x5067('0x69')]),_0x445eb2['add'](_0x52fc23)):this[_0x5067('0x6a')](_0x52fc23);}}_0x445eb2['size']>0x0&&this[_0x5067('0xf2')](_0x445eb2);for(const _0xdde4cc of _0x26bfa1)this[_0x5067('0xe2')]('suggestionChanged',_0xdde4cc);}),_0x425a89[_0x5067('0x44')]['on']('applyOperation',(_0x293529,_0x58af2b)=>{const _0x2f90b6=_0x58af2b[0x0];if(!this[_0x5067('0x5f')]['size'])return;if(!_0x2f90b6[_0x5067('0x16a')])return;if(_0x2f90b6[_0x5067('0x56')]['isUndo']||!_0x2f90b6[_0x5067('0x56')][_0x5067('0x130')])return;let _0x28cc92,_0x567244;switch(_0x2f90b6[_0x5067('0x141')]){case _0x5067('0x12f'):_0x28cc92=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x2f90b6[_0x5067('0x173')]),_0x567244=_0x28cc92[_0x5067('0x14b')](_0x2f90b6[_0x5067('0x5e')]);break;case _0x5067('0x5b'):_0x28cc92=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x2f90b6[_0x5067('0xdc')]),_0x567244=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x2f90b6['moveTargetPosition']);break;case _0x5067('0xe9'):_0x28cc92=_0x425a89['model'][_0x5067('0x9a')](_0x2f90b6[_0x5067('0x169')]),_0x567244=_0x28cc92['getShiftedBy'](_0x2f90b6[_0x5067('0x5e')]);break;default:return;}const _0x2cf5ad=_0x425a89[_0x5067('0x44')][_0x5067('0x80')](_0x28cc92,_0x567244);_0x425a89[_0x5067('0x44')][_0x5067('0xc1')](()=>{for(const {suggestion:_0x5a6a68,meta:_0x4211e8}of this[_0x5067('0x79')](_0x2cf5ad)){if(_0x5a6a68[_0x5067('0x3a')])continue;if(_0x5067('0x171')==_0x5a6a68[_0x5067('0x141')])continue;const _0x5f0d76=Pt(_0x5a6a68);if(_0x5f0d76&&this[_0x5067('0x11e')](_0x5f0d76)&&_0x5067('0x5b')!=_0x2f90b6[_0x5067('0x141')])continue;const _0x1ab5db=_0x5a6a68[_0x5067('0xc9')]&&_0x5a6a68[_0x5067('0xc9')][_0x5067('0x138')];('formatBlock'!=_0x5a6a68[_0x5067('0x141')]||_0x5067('0x5b')==_0x2f90b6[_0x5067('0x141')]&&!_0x1ab5db)&&(_0x4211e8[_0x5067('0xff')]||_0x5067('0xef')==_0x5a6a68['type']&&_0x4211e8[_0x5067('0x9f')]||_0x5a6a68[_0x5067('0xd8')]()['containsRange'](_0x2cf5ad)&&this[_0x5067('0x5c')](_0x5a6a68,_0x28cc92,_0x567244));}});},{'priority':_0x5067('0xbb')}),_0x425a89[_0x5067('0x44')]['on'](_0x5067('0xb0'),(_0x5f3159,_0x4f6a55)=>{const _0x59a6a3=_0x4f6a55[0x0],_0x21ed4a=_0x4f6a55[0x1];if(_0x21ed4a&&_0x21ed4a[_0x5067('0xb')])return;if(this[_0x5067('0xcd')])return;if(!this[_0x5067('0x108')]['value'])return;if(_0x59a6a3[_0x5067('0xc3')])return;const _0x4761b5=_0x425a89[_0x5067('0x44')][_0x5067('0x13a')],{start:_0xe03897,end:_0x3ae83a}=_0x59a6a3[_0x5067('0xd8')](),_0x5df749=_0xe03897['nodeAfter']&&_0x4761b5[_0x5067('0xca')](_0xe03897[_0x5067('0xc5')])?null:_0x4761b5[_0x5067('0x105')](_0xe03897,_0x5067('0x46')),_0x40890d=_0x3ae83a['nodeBefore']&&_0x4761b5[_0x5067('0xca')](_0x3ae83a['nodeBefore'])?null:_0x4761b5[_0x5067('0x105')](_0x3ae83a,_0x5067('0x100')),_0x28f5c8=_0x425a89['model'][_0x5067('0x80')](_0x5df749?_0x5df749['start']:_0xe03897,_0x40890d?_0x40890d[_0x5067('0x5a')]:_0x3ae83a);_0x425a89['model'][_0x5067('0xc1')](_0x5d2d98=>{this[_0x5067('0xd6')](_0x28f5c8);const _0x307d89=_0x425a89[_0x5067('0x44')][_0x5067('0x13a')][_0x5067('0x105')](_0x28f5c8[_0x5067('0xe')]);_0x59a6a3['is'](_0x5067('0x41'))?_0x5d2d98['setSelection'](_0x307d89):_0x59a6a3['setTo'](_0x307d89);}),_0x5f3159[_0x5067('0x15e')]();},{'priority':_0x1d101f['normal']+0xa}),_0x425a89[_0x5067('0x44')]['on'](_0x5067('0xab'),(_0x20c9bf,_0x343416)=>{const _0x218147=_0x343416[_0x343416[_0x5067('0xdb')]-0x1];_0x218147&&_0x218147[_0x5067('0xb')]||this['_isForcedDefaultExecutionBlock']||this[_0x5067('0x108')][_0x5067('0x13e')]&&(_0x425a89[_0x5067('0x44')][_0x5067('0xc1')](()=>{let _0x47419d=_0x425a89[_0x5067('0x44')][_0x5067('0xab')](_0x343416[0x0],_0x343416[0x1],_0x343416[0x2],{'forceDefaultExecution':!0x0});if(!_0x47419d)return;_0x20c9bf[_0x5067('0x14c')]=_0x47419d['clone']();const _0x1e7dcf=_0x47419d[_0x5067('0x5a')][_0x5067('0x67')],_0x4385e5=_0x425a89[_0x5067('0x44')][_0x5067('0x13a')];_0x1e7dcf&&_0x4385e5[_0x5067('0x107')](_0x1e7dcf)&&!_0x4385e5[_0x5067('0x47')](_0x1e7dcf)&&(_0x47419d=_0x425a89[_0x5067('0x44')]['createRange'](_0x47419d[_0x5067('0xe')],_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x1e7dcf,'end'))),this[_0x5067('0x143')](_0x47419d);}),_0x20c9bf[_0x5067('0x15e')]());},{'priority':_0x5067('0x1e')}),this[_0x5067('0x1a')][_0x5067('0x11d')]['add']('trackChanges',this[_0x5067('0x108')]),this[_0x5067('0x175')](_0x5067('0x9c'));const _0x5d36d0=new _0x30bd07(_0x425a89,this['_suggestions']);_0x425a89[_0x5067('0x11d')][_0x5067('0x157')](_0x5067('0x28'),_0x5d36d0),this['enableCommand']('acceptSuggestion');const _0x1ae805=new _0x19a51d(_0x425a89,this[_0x5067('0x5f')]);_0x425a89['commands'][_0x5067('0x157')](_0x5067('0x135'),_0x1ae805),this[_0x5067('0x175')](_0x5067('0x135')),_0x425a89['commands']['add'](_0x5067('0xa8'),new _0x26923f(_0x425a89,_0x5d36d0,this[_0x5067('0x5f')])),this[_0x5067('0x175')](_0x5067('0xa8')),_0x425a89[_0x5067('0x11d')][_0x5067('0x157')](_0x5067('0x104'),new _0x26923f(_0x425a89,_0x1ae805,this[_0x5067('0x5f')])),this[_0x5067('0x175')]('discardAllSuggestions'),_0x425a89[_0x5067('0x11d')][_0x5067('0x157')](_0x5067('0xe4'),new _0x1324cb(_0x425a89,_0x5d36d0,this[_0x5067('0x5f')])),this['enableCommand']('acceptSelectedSuggestions'),_0x425a89[_0x5067('0x11d')][_0x5067('0x157')]('discardSelectedSuggestions',new _0x1324cb(_0x425a89,_0x1ae805,this[_0x5067('0x5f')])),this[_0x5067('0x175')](_0x5067('0x89'));const _0x2f2190=_0x425a89[_0x5067('0x32')]['get'](_0x5067('0x158'));this[_0x5067('0x38')](_0x2f2190,'addComment',(_0x5e8d48,{threadId:_0x1d2571})=>{const _0x4c83aa=this['_suggestions']['get'](_0x1d2571);_0x4c83aa&&_0x4c83aa[_0x5067('0x2e')]&&0x1===_0x4c83aa[_0x5067('0x2e')][_0x5067('0xdb')]&&this[_0x5067('0x15c')](_0x1d2571,{'hasComments':!0x0});},{'priority':_0x5067('0x142')}),this[_0x5067('0x38')](_0x2f2190,_0x5067('0x4a'),(_0x63e10b,{threadId:_0x5fe335})=>{const _0x566095=this[_0x5067('0x5f')][_0x5067('0xce')](_0x5fe335);_0x566095&&_0x566095[_0x5067('0x2e')]&&!_0x566095[_0x5067('0x2e')]['length']&&this[_0x5067('0x15c')](_0x5fe335,{'hasComments':!0x1});},{'priority':_0x5067('0x142')});}set[_0x5067('0x1c')](_0x5d1654){if(this[_0x5067('0x134')])throw new _0x4a14e0(_0x5067('0x7c'),this);this['_adapter']=_0x5d1654;}get[_0x5067('0x1c')](){return this[_0x5067('0x134')];}[_0x5067('0xfa')]({skipNotAttached:_0x17ff13=!0x1,toJSON:_0x3e5aab=!0x1}={}){const _0x1a54c9=[];for(const _0x58af93 of this[_0x5067('0x5f')]['values']())_0x17ff13&&!_0x58af93['isInContent']||_0x1a54c9[_0x5067('0xba')](_0x58af93);return _0x3e5aab?_0x1a54c9['map'](_0x43f59d=>_0x43f59d[_0x5067('0x147')]()):_0x1a54c9;}['getSuggestion'](_0x31b786){const _0x5b4141=this[_0x5067('0x5f')][_0x5067('0xce')](_0x31b786);if(!_0x5b4141)throw new _0x4a14e0(_0x5067('0x177'),this);return _0x5b4141;}['hasSuggestion'](_0x1ae1f0){return this['_suggestions'][_0x5067('0x17')](_0x1ae1f0);}[_0x5067('0xd1')](_0x32ab7c){const {authorId:_0x23eb39,id:_0x7650df,attributes:_0x18de95}=_0x32ab7c,[_0x390d3f,_0x316dcc]=_0x32ab7c[_0x5067('0x141')]['split'](':'),_0x1f9a77=this[_0x5067('0x5f')][_0x5067('0xce')](_0x7650df)||this[_0x5067('0xa3')](_0x390d3f,_0x316dcc,_0x7650df,_0x23eb39,_0x18de95);if(this[_0x5067('0x168')](_0x1f9a77),this[_0x5067('0x111')](_0x1f9a77,_0x390d3f,_0x316dcc||null,_0x23eb39),_0x1f9a77[_0x5067('0x4d')]=_0x32ab7c[_0x5067('0x4d')],_0x1f9a77[_0x5067('0x3b')]=!0x0,_0x18de95&&_0x18de95['@external']){const _0x2d6142=_0x18de95['@external'],_0x1a0d14=this[_0x5067('0x84')](_0x2d6142[_0x5067('0x164')]);_0x1f9a77[_0x5067('0x8c')]=_0x2d6142['createdAt'],_0x1f9a77['author']=_0x1a0d14,_0x1f9a77[_0x5067('0x148')]=!0x0;}else _0x1f9a77['authoredAt']=_0x32ab7c[_0x5067('0x4d')];switch(_0x32ab7c[_0x5067('0xc9')]&&(_0x1f9a77[_0x5067('0xc9')]=_0x32ab7c['data']),_0x32ab7c['attributes']&&(_0x1f9a77[_0x5067('0x2')]=_0x32ab7c['attributes']),this[_0x5067('0x134')]&&this[_0x5067('0x134')][_0x5067('0x95')]||(_0x1f9a77[_0x5067('0x13')]=!0x0),this[_0x5067('0x119')][_0x5067('0xce')](_0x1f9a77)){case _0x5067('0x93'):this[_0x5067('0x119')]['set'](_0x1f9a77,_0x5067('0xdf'));break;case'markerReady':_0x1f9a77[_0x5067('0x98')]?(this[_0x5067('0xf2')](new Set([_0x1f9a77])),this['_joinWithAdjacentSuggestions'](new Set([_0x1f9a77])),this[_0x5067('0x119')][_0x5067('0x150')](_0x1f9a77,_0x5067('0x140')),this[_0x5067('0xe2')](_0x5067('0x15'),_0x1f9a77)):this[_0x5067('0x119')]['set'](_0x1f9a77,'removed');}return _0x1f9a77;}[_0x5067('0x28')](_0x558217){this[_0x5067('0xb')](()=>{this[_0x5067('0x1a')]['model'][_0x5067('0xc1')](()=>{for(const _0x2fda50 of _0x558217[_0x5067('0xd3')]())_0x2fda50['accept']();});});}[_0x5067('0x135')](_0x5536bc){this[_0x5067('0xb')](()=>{this[_0x5067('0x1a')][_0x5067('0x44')][_0x5067('0xc1')](()=>{for(const _0x18a4c1 of _0x5536bc[_0x5067('0xd3')]())_0x18a4c1['discard']();});});}['enableCommand'](_0x25aa78,_0x14922d){const _0x269fb3=this[_0x5067('0x1a')][_0x5067('0x11d')][_0x5067('0xce')](_0x25aa78);if(!_0x269fb3)throw new _0x4a14e0(_0x5067('0xb3'),this,{'commandName':_0x25aa78});if(this[_0x5067('0x27')][_0x5067('0x17')](_0x269fb3))throw new _0x4a14e0(_0x5067('0x60'),this,{'commandName':_0x25aa78});this[_0x5067('0x27')][_0x5067('0x157')](_0x269fb3),_0x14922d&&_0x269fb3['on']('execute',(_0x46579d,_0x3ad184)=>{this['trackChangesCommand'][_0x5067('0x13e')]&&(this['_isForcedDefaultExecutionBlock']||(_0x3ad184[_0x5067('0xdb')]>0x0&&_0x3ad184[_0x3ad184['length']-0x1]&&_0x3ad184[_0x3ad184['length']-0x1][_0x5067('0xb')]?_0x3ad184[_0x5067('0xa')]():(_0x46579d[_0x5067('0x14c')]=_0x14922d((..._0x3ca419)=>_0x269fb3[_0x5067('0x35')](..._0x3ca419,{'forceDefaultExecution':!0x0}),..._0x3ad184),_0x46579d[_0x5067('0x15e')]())));},{'priority':_0x5067('0x1e')});}[_0x5067('0xb')](_0x1e799d){let _0x1695d5,_0x1973f5;const _0x562964=this[_0x5067('0xcd')];this[_0x5067('0xcd')]=!0x0;try{_0x1695d5=_0x1e799d();}catch(_0x2d396b){_0x1973f5=_0x2d396b;}return _0x562964||(this[_0x5067('0xcd')]=!0x1),_0x1973f5&&_0x4a14e0[_0x5067('0xa6')](_0x1973f5,this),_0x1695d5;}[_0x5067('0x143')](_0x4f46fc,_0x1c444c=null,_0x515725={}){if(_0x4f46fc[_0x5067('0xc3')])return null;const _0x5ce301=this[_0x5067('0x1a')][_0x5067('0x32')]['get'](_0x5067('0x14f'))['me'];for(const {suggestion:_0x1f481e,meta:_0x56db66}of this[_0x5067('0x79')](_0x4f46fc,_0x5067('0xef')))if(_0x56db66[_0x5067('0x9f')]){if(!_0x56db66[_0x5067('0x146')]){if(_0x56db66[_0x5067('0xff')]){if(!this[_0x5067('0x122')]||!Gt(_0x1f481e,_0x515725))continue;return _0x1f481e;}if(Gt(_0x1f481e,_0x515725))return _0x1f481e;this['_breakSuggestionMarker'](_0x1f481e,_0x4f46fc[_0x5067('0xe')],_0x4f46fc[_0x5067('0x5a')]);break;}if(_0x1c444c==_0x1f481e['subType']&&Gt(_0x1f481e,_0x515725)){const _0x17bf53=_0x1f481e[_0x5067('0xd8')]();return _0x17bf53[_0x5067('0xe')][_0x5067('0x12e')](_0x4f46fc['end'])?this[_0x5067('0x23')](_0x1f481e,this[_0x5067('0x160')]['createRange'](_0x4f46fc[_0x5067('0xe')],_0x17bf53['end'])):this[_0x5067('0x23')](_0x1f481e,this[_0x5067('0x160')][_0x5067('0x80')](_0x17bf53[_0x5067('0xe')],_0x4f46fc[_0x5067('0x5a')])),_0x1f481e;}}const _0x37c4ee=_0x4f1cad(),_0x2834f5=_0x5ce301['id'],_0x10bd13=_0x1c444c?'insertion:'+_0x1c444c:'insertion',_0x40651e=this[_0x5067('0x72')]({'id':_0x37c4ee,'type':_0x10bd13,'createdAt':new Date(),'authorId':_0x2834f5,'attributes':_0x515725});return this[_0x5067('0xc2')](_0x10bd13,_0x37c4ee,_0x2834f5,_0x4f46fc),_0x40651e;}[_0x5067('0xf8')](_0x541342,_0x4cac51='multi',_0x2862f7={}){const _0x3cf093=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me'],_0x4e679e=this[_0x5067('0x10')]['getSuggestionCallback'](_0x5067('0xef'),_0x4cac51,_0x5067('0x167'));for(const _0x125024 of this['getSuggestions']())if(_0x125024[_0x5067('0xed')]['id']==_0x3cf093['id']&&_0x5067('0xef')==_0x125024[_0x5067('0x141')]&&_0x125024['subType']==_0x4cac51&&Gt(_0x125024,_0x2862f7)&&(_0x4e679e(_0x125024[_0x5067('0x14a')](),_0x541342)||_0x4e679e(_0x541342,_0x125024[_0x5067('0x14a')]()))){for(const _0x40158b of _0x541342)_0x125024[_0x5067('0x1')](_0x40158b);return _0x125024;}for(const {suggestion:_0x14dc89,meta:_0xadc114}of this[_0x5067('0x79')](_0x541342,_0x5067('0xef'))){if(!_0xadc114[_0x5067('0x9f')])continue;if(!this[_0x5067('0x122')]&&_0xadc114[_0x5067('0xff')])continue;if(!Gt(_0x14dc89,_0x2862f7))continue;let _0x9381fe=!0x0;for(const _0x3d61b3 of _0x14dc89['getRanges']())for(const _0x140989 of _0x541342)if(!_0x3d61b3[_0x5067('0x11b')](_0x140989)){_0x9381fe=!0x1;break;}if(_0x9381fe)return _0x14dc89;}const _0x56ea25=_0x4f1cad(),_0x31e79b=_0x3cf093['id'],_0xcb8603=_0x5067('0x8d')+_0x4cac51,_0x3cfed6=this[_0x5067('0x72')]({'id':_0x56ea25,'type':_0xcb8603,'createdAt':new Date(),'authorId':_0x31e79b,'attributes':_0x2862f7});for(const _0x507e58 of _0x541342)this[_0x5067('0xc2')](_0xcb8603,_0x56ea25,_0x31e79b,_0x507e58,_0x1629a3['getMultiRangeId']());return _0x3cfed6;}[_0x5067('0x12b')](_0x505bc4,_0x921641,_0x514f50=null,_0x4c3c60={}){if(_0x514f50=_0x514f50||Rt(_0x921641),_0x505bc4['isCollapsed'])return null;if(_0x5067('0x75')===this[_0x5067('0x10e')]){const _0x1c739a=this[_0x5067('0x10')][_0x5067('0xcc')]('formatInline',_0x514f50,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x1c739a([_0x505bc4],_0x921641,_0x4c3c60)),null;}const _0x218e05=this[_0x5067('0x1a')]['plugins'][_0x5067('0xce')](_0x5067('0x14f'))['me'],_0x424d1b=[];if('always'!==this[_0x5067('0x10e')])for(const {suggestion:_0x228b19,meta:_0x5b8312}of this[_0x5067('0x79')](_0x505bc4,'insertion'))_0x5b8312[_0x5067('0x9f')]&&!_0x5b8312[_0x5067('0x4')]&&_0x424d1b[_0x5067('0xba')](..._0x228b19[_0x5067('0x14a')]());const _0x14386c=function(_0x1925b2,_0x9c5d95){const _0xe3a199=[];for(const _0x268899 of _0x9c5d95){const _0x1fc648=_0x1925b2['getIntersection'](_0x268899);_0x1fc648&&_0xe3a199[_0x5067('0xba')](_0x1fc648);}return _0xe3a199;}(_0x505bc4,_0x424d1b),_0x573822=function(_0x4e17d0,_0x5daea){const _0x39be80=[_0x4e17d0];for(const _0xe6eb37 of _0x5daea){let _0x538858=0x0;for(;_0x538858<_0x39be80[_0x5067('0xdb')];){const _0x18ca6b=_0x39be80[_0x538858]['getDifference'](_0xe6eb37);_0x39be80[_0x5067('0xa4')](_0x538858,0x1,..._0x18ca6b),_0x538858+=_0x18ca6b['length'];}}return _0x39be80;}(_0x505bc4,_0x424d1b);_0x14386c['length']&&this[_0x5067('0x160')][_0x5067('0xc1')](()=>{for(const _0x2c87f8 of _0x14386c){const _0x425263=this[_0x5067('0x10')]['getSuggestionCallback'](_0x5067('0x171'),_0x514f50,'accept');this[_0x5067('0xb')](()=>_0x425263([_0x2c87f8],_0x921641,_0x4c3c60));}});for(const _0x3c1024 of _0x573822){let _0x32fc7c=null,_0x2419a9=_0x3c1024[_0x5067('0xe')],_0x228a05=_0x3c1024[_0x5067('0x5a')];for(const {suggestion:_0x5e3f21,meta:_0xbe6d36}of this[_0x5067('0x79')](_0x3c1024,'formatInline')){if(!_0xbe6d36[_0x5067('0x9f')])continue;if(_0x5e3f21[_0x5067('0x128')]!=_0x514f50)continue;if(!Gt(_0x5e3f21,_0x4c3c60))continue;const _0x420d9d=_0x5e3f21[_0x5067('0xd8')]();if(_0x420d9d[_0x5067('0x11b')](_0x3c1024,!0x0))return null;_0x2419a9=_0x2419a9['isBefore'](_0x420d9d[_0x5067('0xe')])?_0x2419a9:_0x420d9d[_0x5067('0xe')],_0x228a05=_0x228a05[_0x5067('0x4f')](_0x420d9d['end'])?_0x228a05:_0x420d9d[_0x5067('0x5a')],_0x32fc7c?_0x420d9d[_0x5067('0xe')][_0x5067('0x11a')](_0x32fc7c[_0x5067('0xd8')]()[_0x5067('0xe')])?(_0x32fc7c[_0x5067('0x62')](),_0x32fc7c=_0x5e3f21):_0x5e3f21[_0x5067('0x62')]():_0x32fc7c=_0x5e3f21;}const _0x48cc83=this[_0x5067('0x160')][_0x5067('0x80')](_0x2419a9,_0x228a05);if(_0x32fc7c)this[_0x5067('0x23')](_0x32fc7c,_0x48cc83);else{const _0x3eb75b=_0x4f1cad(),_0x49b2ee=_0x218e05['id'];this[_0x5067('0x72')]({'id':_0x3eb75b,'type':_0x5067('0x33')+_0x514f50,'data':_0x921641,'createdAt':new Date(),'authorId':_0x49b2ee,'attributes':_0x4c3c60}),this[_0x5067('0xc2')](_0x5067('0x33')+_0x514f50,_0x3eb75b,_0x49b2ee,_0x48cc83);}}return null;}[_0x5067('0x10b')](_0xd22513,_0x326253,_0x4bfa18=[],_0x5dbec8=null,_0x3e65a0={}){_0x326253[_0x5067('0x11')]||(_0x326253['formatGroupId']=_0x326253[_0x5067('0x3d')]),_0x326253[_0x5067('0x138')]=_0xd22513['is'](_0x5067('0x99')),_0x5dbec8=_0x5dbec8||Rt(_0x326253);const _0x117be4=_0x4bfa18['map'](_0x2aa5f3=>Ut(_0x2aa5f3,this[_0x5067('0x160')])),_0x61112c=_0xd22513['is']('range')?_0xd22513:Ut(_0xd22513,this[_0x5067('0x160')]);if(_0x5067('0x75')===this[_0x5067('0x10e')]){const _0x3a91a3=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5dbec8,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x3a91a3([_0x61112c],_0x326253,_0x3e65a0)),null;}_0x117be4[_0x5067('0xba')](_0x61112c);let _0xacde25=!0x0;for(const _0x390cc9 of _0x117be4)if(!this['_rangeIsInLocalUserInsertion'](_0x390cc9)){_0xacde25=!0x1;break;}if(_0xacde25&&'always'!==this[_0x5067('0x10e')]){const _0x151a8=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5dbec8,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x151a8([_0x61112c],_0x326253,_0x3e65a0)),null;}let _0x4bc549=null,_0x3f7ce1=_0x61112c[_0x5067('0xe')],_0x343328=_0x61112c[_0x5067('0x5a')];for(const {suggestion:_0x41612a,meta:_0x2a01ba}of this[_0x5067('0x79')](_0x61112c,_0x5067('0x8b'))){if(!_0x2a01ba['isOwn'])continue;if(_0x2a01ba[_0x5067('0x146')]||_0x2a01ba[_0x5067('0xff')]||_0x2a01ba[_0x5067('0x4')])continue;if(_0x41612a[_0x5067('0xc9')][_0x5067('0x11')]!=_0x326253[_0x5067('0x11')])continue;if(!Gt(_0x41612a,_0x3e65a0))continue;const _0x2f75ad=_0x41612a[_0x5067('0xd8')]();if(_0x41612a['subType']==_0x5dbec8){if(_0x2f75ad['containsRange'](_0x61112c,!0x0))return null;_0x3f7ce1=_0x3f7ce1[_0x5067('0x11a')](_0x2f75ad[_0x5067('0xe')])?_0x3f7ce1:_0x2f75ad[_0x5067('0xe')],_0x343328=_0x343328['isAfter'](_0x2f75ad[_0x5067('0x5a')])?_0x343328:_0x2f75ad['end'],_0x4bc549?_0x2f75ad[_0x5067('0xe')][_0x5067('0x11a')](_0x4bc549[_0x5067('0xd8')]()[_0x5067('0xe')])?(_0x4bc549[_0x5067('0x62')](),_0x4bc549=_0x41612a):_0x41612a[_0x5067('0x62')]():_0x4bc549=_0x41612a;}else{const _0x2052ae=_0x61112c[_0x5067('0xe1')](_0x2f75ad);this[_0x5067('0xb9')](_0x41612a,_0x2052ae);}}const _0xd9a586=this['editor'][_0x5067('0x32')][_0x5067('0xce')]('Users')['me'],_0x1ba543=_0x4f1cad(),_0xcd437e=_0xd9a586['id'];if(_0x4bc549)return this['_setSuggestionRange'](_0x4bc549,this[_0x5067('0x160')][_0x5067('0x80')](_0x3f7ce1,_0x343328)),_0x4bc549;{const _0x264143=this[_0x5067('0x72')]({'id':_0x1ba543,'type':_0x5067('0x8e')+_0x5dbec8,'data':_0x326253,'createdAt':new Date(),'authorId':_0xcd437e,'attributes':_0x3e65a0});return this[_0x5067('0xc2')](_0x5067('0x8e')+_0x5dbec8,_0x1ba543,_0xcd437e,this[_0x5067('0x160')]['createRange'](_0x3f7ce1,_0x343328)),_0x264143;}}[_0x5067('0x12c')](_0x339563,_0x585cf5,_0x77235c=[],_0x5db339=null,_0x11f3c0={}){_0x585cf5[_0x5067('0x11')]||(_0x585cf5[_0x5067('0x11')]=_0x585cf5[_0x5067('0x3d')]);const _0x72906e=_0x339563[0x0];_0x585cf5[_0x5067('0x138')]=_0x72906e['is'](_0x5067('0x99')),_0x5db339=_0x5db339||Rt(_0x585cf5);const _0xbb2641=_0x77235c[_0x5067('0x83')](_0x568274=>Ut(_0x568274,this[_0x5067('0x160')])),_0xc559ad=_0x72906e['is'](_0x5067('0x99'))?_0x339563:_0x339563['map'](_0x520bea=>Ut(_0x520bea,this[_0x5067('0x160')]));if(_0x5067('0x75')===this[_0x5067('0x10e')]){const _0x199a88=this[_0x5067('0x10')][_0x5067('0xcc')]('formatBlock',_0x5db339,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x199a88(_0xc559ad,_0x585cf5,_0x11f3c0)),null;}_0xbb2641['push'](..._0xc559ad);let _0x21f664=!0x0;for(const _0x36c569 of _0xbb2641)if(!this['_rangeIsInLocalUserInsertion'](_0x36c569)){_0x21f664=!0x1;break;}if(_0x21f664&&_0x5067('0x90')!==this[_0x5067('0x10e')]){const _0x2a396e=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5db339,'accept');return this[_0x5067('0xb')](()=>_0x2a396e(_0xc559ad,_0x585cf5,_0x11f3c0)),null;}const _0x1f937e=this[_0x5067('0x1a')]['plugins'][_0x5067('0xce')](_0x5067('0x14f'))['me'];for(const _0x398063 of this[_0x5067('0xfa')]()){if(_0x398063['author']['id']!=_0x1f937e['id'])continue;if('formatBlock'!=_0x398063[_0x5067('0x141')]||_0x398063[_0x5067('0xc9')][_0x5067('0x11')]!=_0x585cf5[_0x5067('0x11')])continue;if(!Gt(_0x398063,_0x11f3c0))continue;const _0x31d886=_0x398063[_0x5067('0x128')]==_0x5db339;for(let _0x338f91=0x0;_0x338f91<_0xc559ad[_0x5067('0xdb')];_0x338f91++){const _0x5a917b=_0xc559ad[_0x338f91];for(const _0x350b78 of _0x398063[_0x5067('0x25')]()){const _0x5a3603=_0x350b78[_0x5067('0x124')]();if(_0x5a917b[_0x5067('0x12e')](_0x5a3603)){_0x31d886?(_0xc559ad[_0x5067('0xa4')](_0x338f91,0x1),_0x338f91--):_0x398063[_0x5067('0xc0')](_0x350b78[_0x5067('0x2a')]);break;}}}}if(0x0==_0xc559ad[_0x5067('0xdb')])return null;const _0xea0880=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5db339,_0x5067('0x167'));for(const _0x40b546 of this['getSuggestions']())if(_0x40b546['author']['id']==_0x1f937e['id']&&'formatBlock'==_0x40b546[_0x5067('0x141')]&&_0x40b546[_0x5067('0xc9')][_0x5067('0x11')]==_0x585cf5[_0x5067('0x11')]&&_0x40b546['subType']==_0x5db339&&Gt(_0x40b546,_0x11f3c0)&&(_0xea0880(_0x40b546[_0x5067('0x14a')](),_0xc559ad)||_0xea0880(_0xc559ad,_0x40b546[_0x5067('0x14a')]()))){for(const _0x423cfb of _0xc559ad)_0x40b546['addRange'](_0x423cfb);return _0x40b546;}const _0x564f23=_0x4f1cad(),_0x22f049=_0x1f937e['id'],_0x1bbc34=_0x5067('0x8e')+_0x5db339,_0x510eef=this[_0x5067('0x72')]({'id':_0x564f23,'type':_0x1bbc34,'data':_0x585cf5,'createdAt':new Date(),'authorId':_0x22f049,'attributes':_0x11f3c0});for(const _0x3a9983 of _0xc559ad)this[_0x5067('0xc2')](_0x1bbc34,_0x564f23,_0x22f049,_0x3a9983,_0x1629a3['getMultiRangeId']());return _0x510eef;}[_0x5067('0xd6')](_0x48b730,_0x353bf8=null,_0x2a1270={}){if(_0x48b730['isCollapsed'])return null;const _0x54f275=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me'],_0x139f08=new _0x108700(_0x48b730['start'],_0x48b730[_0x5067('0x5a')]);for(const {suggestion:_0x2af825,meta:_0x5ceed2}of this[_0x5067('0x79')](_0x139f08,_0x5067('0xef')))if(_0x5ceed2[_0x5067('0x9f')]&&!_0x5ceed2[_0x5067('0x146')]){if(_0x2af825['isMultiRange']){const _0x4120aa=_0x2af825['getRanges']()[_0x5067('0x19')](_0x522e19=>_0x5067('0x51')!=_0x522e19[_0x5067('0x14d')][_0x5067('0x102')]);_0x4120aa[_0x5067('0x22')](_0x28272a=>_0x139f08[_0x5067('0x11b')](_0x28272a,!0x0))&&_0x2af825['discard']();if(_0x4120aa[_0x5067('0x8f')](_0x4f8572=>_0x4f8572[_0x5067('0x11b')](_0x139f08,!0x0))){const _0x1cb9fe=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x127'),_0x353bf8,_0x5067('0xbc'));return this['forceDefaultExecution'](()=>_0x1cb9fe([_0x139f08],null,_0x2a1270)),null;}}else{const _0x89e90f=_0x139f08['getIntersection'](_0x2af825[_0x5067('0xd8')]());null!==_0x89e90f&&_0x2af825[_0x5067('0x86')]([_0x89e90f],null,_0x2a1270);}}if(_0x139f08[_0x5067('0xb2')](),_0x139f08['isCollapsed']||_0x5067('0x51')==_0x139f08[_0x5067('0x14d')][_0x5067('0x102')])return null;let _0x4c23e9=null,_0x512e1b=_0x139f08[_0x5067('0xe')],_0x45c6f5=_0x139f08[_0x5067('0x5a')];const _0x2e14e3=this['_findSuggestions'](_0x139f08,'deletion');for(const {suggestion:_0x56901f,meta:_0x31ded3}of _0x2e14e3){const _0x4a4491=this['_model'][_0x5067('0x80')](_0x512e1b,_0x45c6f5);if(_0x31ded3['isOwn']&&(this[_0x5067('0x122')]||!_0x31ded3['containsRangeInObject']&&!_0x31ded3[_0x5067('0x4')])){if(_0x56901f[_0x5067('0x3a')]){if(!Gt(_0x56901f,_0x2a1270))continue;let _0x59236e=!0x0;for(const _0x2014b7 of _0x56901f['getRanges']()){if(_0x2014b7['containsRange'](_0x4a4491,!0x0))return _0x56901f;_0x4a4491[_0x5067('0x11b')](_0x2014b7)||(_0x59236e=!0x1);}_0x59236e&&_0x56901f[_0x5067('0xe0')]();}else{const _0x3f52ca=_0x56901f[_0x5067('0xd8')]();if(_0x3f52ca[_0x5067('0x11b')](_0x4a4491,!0x0))return _0x56901f;if(!Gt(_0x56901f,_0x2a1270)){_0x4a4491['containsRange'](_0x3f52ca)?_0x56901f['removeMarkers']():_0x3f52ca[_0x5067('0x24')](_0x512e1b)?_0x512e1b=_0x3f52ca[_0x5067('0x5a')]:_0x3f52ca['containsPosition'](_0x45c6f5)&&(_0x45c6f5=_0x3f52ca[_0x5067('0xe')]);continue;}_0x512e1b=_0x512e1b[_0x5067('0x11a')](_0x3f52ca['start'])?_0x512e1b:_0x3f52ca['start'],_0x45c6f5=_0x45c6f5[_0x5067('0x4f')](_0x3f52ca[_0x5067('0x5a')])?_0x45c6f5:_0x3f52ca[_0x5067('0x5a')],_0x2a1270=Object['assign']({},_0x56901f[_0x5067('0x2')]),_0x4c23e9?_0x3f52ca[_0x5067('0xe')][_0x5067('0x11a')](_0x4c23e9[_0x5067('0xd8')]()[_0x5067('0xe')])?(_0x4c23e9[_0x5067('0x62')](),_0x4c23e9=_0x56901f):_0x56901f[_0x5067('0x62')]():_0x4c23e9=_0x56901f;}}}if(_0x4c23e9)return this[_0x5067('0x23')](_0x4c23e9,this[_0x5067('0x160')][_0x5067('0x80')](_0x512e1b,_0x45c6f5)),_0x4c23e9;{const _0xe243f1=_0x4f1cad(),_0x554594=this[_0x5067('0x160')][_0x5067('0x80')](_0x512e1b,_0x45c6f5),_0x4c105f=_0x54f275['id'],_0x39bdfb=_0x353bf8?_0x5067('0x2c')+_0x353bf8:_0x5067('0x127'),_0x480447=this[_0x5067('0x72')]({'id':_0xe243f1,'type':_0x39bdfb,'createdAt':new Date(),'authorId':_0x4c105f,'attributes':_0x2a1270});return this[_0x5067('0xc2')](_0x39bdfb,_0xe243f1,_0x4c105f,_0x554594),_0x480447;}}[_0x5067('0xde')](_0x473314,_0x2ed2d6=_0x5067('0xd5'),_0x464577={}){const _0x569c77=this[_0x5067('0x1a')]['plugins']['get'](_0x5067('0x14f'))['me'],_0x546891=_0x473314[_0x5067('0x83')](_0x43888e=>new _0x108700(_0x43888e['start'],_0x43888e[_0x5067('0x5a')])),_0x4dee6f=new Set();for(const {suggestion:_0x3c5d88,meta:_0x46bbd5}of this[_0x5067('0x79')](_0x546891,_0x5067('0xef')))_0x46bbd5[_0x5067('0x9f')]&&!_0x46bbd5[_0x5067('0x146')]&&_0x4dee6f[_0x5067('0x157')](_0x3c5d88);for(const _0x7380c of _0x4dee6f)if(_0x7380c[_0x5067('0x3a')]){const _0x50999f=_0x7380c[_0x5067('0x14a')]();(!_0x7380c[_0x5067('0x2')]||!_0x7380c[_0x5067('0x2')][_0x5067('0x4c')])&&(_0x50999f['every'](_0x34d311=>_0x546891['some'](_0x5c4e05=>_0x5c4e05['containsRange'](_0x34d311,!0x0)))&&_0x7380c[_0x5067('0xe0')]());if(_0x546891[_0x5067('0x22')](_0x2171ed=>_0x50999f[_0x5067('0x8f')](_0x426484=>_0x426484[_0x5067('0x11b')](_0x2171ed,!0x0)))){const _0x2c3fe7=this[_0x5067('0x10')]['getSuggestionCallback'](_0x5067('0x127'),_0x2ed2d6,_0x5067('0xbc'));return this['forceDefaultExecution'](()=>_0x2c3fe7(_0x473314,null,_0x464577)),null;}}else{const _0x3abe6f=_0x7380c[_0x5067('0xd8')]();_0x546891[_0x5067('0x8f')](_0x266a9e=>_0x266a9e[_0x5067('0x11b')](_0x3abe6f,!0x0))&&_0x7380c[_0x5067('0xe0')]();if(_0x546891[_0x5067('0x22')](_0x4d1a2a=>_0x3abe6f[_0x5067('0x11b')](_0x4d1a2a,!0x0))){const _0x3853a1=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x127'),_0x2ed2d6,'accept');return this['forceDefaultExecution'](()=>_0x3853a1(_0x546891,null,_0x464577)),null;}}const _0x38827f=this['_suggestionFactory'][_0x5067('0xcc')]('deletion',_0x2ed2d6,_0x5067('0x167'));let _0x219976=null;for(const _0x1bb7d8 of this['getSuggestions']())if(_0x1bb7d8[_0x5067('0xed')]['id']==_0x569c77['id']&&_0x1bb7d8[_0x5067('0x98')]&&_0x5067('0x127')==_0x1bb7d8[_0x5067('0x141')]&&_0x1bb7d8['subType']==_0x2ed2d6&&Gt(_0x1bb7d8,_0x464577)&&(_0x38827f(_0x1bb7d8[_0x5067('0x14a')](),_0x546891)||_0x38827f(_0x546891,_0x1bb7d8[_0x5067('0x14a')]()))){if(_0x219976){if(_0x1bb7d8[_0x5067('0x2e')]&&_0x1bb7d8[_0x5067('0x2e')]['length'])continue;for(const _0x3db683 of _0x1bb7d8[_0x5067('0x14a')]())_0x219976[_0x5067('0xaa')](_0x3db683)||_0x219976['addRange'](_0x3db683);_0x1bb7d8[_0x5067('0x62')]();}else{_0x219976=_0x1bb7d8;for(const _0xbb7772 of _0x546891)_0x1bb7d8[_0x5067('0xaa')](_0xbb7772)||_0x1bb7d8[_0x5067('0x1')](_0xbb7772);}}if(_0x219976)return _0x219976;_0x4dee6f[_0x5067('0x26')]();for(const {suggestion:_0x5d7be8,meta:_0x32e855}of this[_0x5067('0x79')](_0x546891,_0x5067('0x127')))_0x32e855[_0x5067('0x9f')]&&(this[_0x5067('0x122')]||!_0x32e855[_0x5067('0xff')]&&!_0x32e855[_0x5067('0x4')])&&Gt(_0x5d7be8,_0x464577)&&_0x4dee6f[_0x5067('0x157')](_0x5d7be8);for(const _0x259f81 of _0x4dee6f){const _0x10da3e=_0x259f81['getRanges']();if(!_0x464577||!_0x464577[_0x5067('0x4c')]){if(_0x546891['every'](_0x5bb4f3=>_0x10da3e[_0x5067('0x8f')](_0x488578=>_0x488578[_0x5067('0x11b')](_0x5bb4f3,!0x0))))return _0x259f81;}(!_0x259f81[_0x5067('0x2')]||!_0x259f81[_0x5067('0x2')][_0x5067('0x4c')])&&(_0x10da3e['every'](_0x312b62=>_0x546891[_0x5067('0x8f')](_0x134175=>_0x134175[_0x5067('0x11b')](_0x312b62,!0x0)))&&_0x259f81[_0x5067('0xe0')]());}const _0x42157f=_0x4f1cad(),_0xbc0a3d=_0x569c77['id'],_0xf31584=_0x5067('0x2c')+_0x2ed2d6,_0x24efcb=this[_0x5067('0x72')]({'id':_0x42157f,'type':_0xf31584,'createdAt':new Date(),'authorId':_0xbc0a3d,'attributes':_0x464577});for(const _0x1e5160 of _0x546891)_0x1e5160[_0x5067('0xb2')](),_0x1e5160[_0x5067('0xc3')]||'$graveyard'==_0x1e5160['root'][_0x5067('0x102')]||this['_addSuggestionMarker'](_0xf31584,_0x42157f,_0xbc0a3d,_0x1e5160,_0x1629a3[_0x5067('0xa1')]());return _0x24efcb;}[_0x5067('0x145')](_0x3c8ed0,_0x18d0e1,_0x1d209e,_0x109e1c,_0x122ee7){if(_0x3c8ed0['isCollapsed'])return[];if(_0x5067('0x75')===this[_0x5067('0x10e')])return[];const _0xad8326=this['editor'][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me']['id'],_0x10ea97=Array[_0x5067('0xf3')](this[_0x5067('0x5f')]['values']())[_0x5067('0x19')](_0x35554c=>'attribute'==_0x35554c[_0x5067('0x141')]&&_0x35554c['data']['key']==_0x18d0e1&&_0x35554c[_0x5067('0xaa')](_0x3c8ed0));if(_0x5067('0x97')===this[_0x5067('0x10e')]){const _0x2bae2d=this[_0x5067('0x79')](_0x3c8ed0,'insertion')[_0x5067('0x19')](({meta:_0x4f1af0})=>_0x4f1af0['isOwn']&&!_0x4f1af0[_0x5067('0x4')]&&!_0x4f1af0[_0x5067('0x146')])[_0x5067('0x83')](({suggestion:_0x1d1bc7})=>_0x1d1bc7);_0x10ea97[_0x5067('0x7')](..._0x2bae2d);}const _0x4a0ebc=new Map([[_0x3c8ed0,_0x1d209e]]);for(const _0x426ee of _0x10ea97){const _0x426c3e='attribute'==_0x426ee[_0x5067('0x141')]?_0x426ee[_0x5067('0xc9')][_0x5067('0x1f')]:void 0x0,_0x4421f3=_0x426ee['getFirstRange'](),_0x1e0948=Array[_0x5067('0xf3')](_0x4a0ebc[_0x5067('0x6e')]())[_0x5067('0xbf')](_0x62d13c=>_0x62d13c['isIntersecting'](_0x4421f3));if(!_0x1e0948)continue;const _0x3b2560=_0x1e0948[_0x5067('0x10d')](_0x4421f3);this[_0x5067('0x11e')](_0x18d0e1)&&_0x5067('0xef')==_0x426ee[_0x5067('0x141')]&&0x0!=_0x3b2560[_0x5067('0xdb')]||(_0x4a0ebc[_0x5067('0x61')](_0x1e0948),_0x3b2560['forEach'](_0x240068=>{_0x4a0ebc[_0x5067('0x150')](_0x240068,_0x1d209e);}),_0x5067('0xef')!=_0x426ee[_0x5067('0x141')]&&_0x426c3e!=_0x109e1c&&_0x4a0ebc[_0x5067('0x150')](_0x1e0948[_0x5067('0xe1')](_0x4421f3),_0x426c3e));}const _0x5a8438=[];for(const [_0x53c05d,_0x5cbcef]of _0x4a0ebc){const _0x1ddae1=_0x4f1cad(),_0x5c68e2={'key':_0x18d0e1,'oldValue':_0x5cbcef,'newValue':_0x109e1c};_0x18d0e1[_0x5067('0xdb')]>0x25&&console['warn'](_0x5067('0x48'),{'key':_0x18d0e1});const _0x362842=('attribute:'+(_0x18d0e1+'|'+Rt({'newValue':_0x109e1c})))[_0x5067('0xe8')](0x0,0x3c),_0x421742=this[_0x5067('0x72')]({'id':_0x1ddae1,'type':_0x362842,'data':_0x5c68e2,'createdAt':new Date(),'authorId':_0xad8326,'attributes':_0x122ee7});_0x5a8438[_0x5067('0xba')](_0x421742),this[_0x5067('0xc2')](_0x362842,_0x1ddae1,_0xad8326,_0x53c05d);}return _0x5a8438;}[_0x5067('0x110')](_0x254454){this[_0x5067('0x52')]['add'](_0x254454);}['_registerInlineAttribute'](_0x1841d2){this['_inlineAttributeKeys']['add'](_0x1841d2);}[_0x5067('0x77')](_0x13705c,_0x52110e=[],_0x1f5907=[]){this['enableCommand'](_0x13705c,(_0xc2ab68,..._0x39abf5)=>{this[_0x5067('0x63')](()=>{_0xc2ab68(..._0x39abf5);});});for(const _0x5c8c81 of _0x52110e)this[_0x5067('0x54')](_0x5c8c81);for(const _0x2ef208 of _0x1f5907)this[_0x5067('0x110')](_0x2ef208);}[_0x5067('0x23')](_0x308830,_0x51605e){const _0x29346b=_0x308830[_0x5067('0x9b')]();this[_0x5067('0x160')][_0x5067('0xc1')](_0x1372b4=>{_0x1372b4[_0x5067('0xeb')](_0x29346b,{'range':_0x51605e});});}[_0x5067('0x168')](_0x2187a0){const _0x49cb48=_0x2187a0['id'],_0x5af77b=this[_0x5067('0x1a')][_0x5067('0xfe')]['get'](_0x5067('0x50'));this[_0x5067('0x88')][_0x5067('0x129')](_0x49cb48)||this[_0x5067('0x88')][_0x5067('0xb5')]({'channelId':_0x5af77b,'threadId':_0x49cb48,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5269f2=this[_0x5067('0x88')][_0x5067('0x126')](_0x49cb48);_0x5269f2[_0x5067('0xe7')]('isRemovable'),_0x5269f2[_0x5067('0xf1')]=!0x1,_0x2187a0['commentThread']=_0x5269f2;}[_0x5067('0x111')](_0x8d0fb2,_0x167fc0,_0x47fd52,_0x59168b){if(_0x8d0fb2['type']!=_0x167fc0||_0x8d0fb2[_0x5067('0x128')]!=_0x47fd52||_0x8d0fb2[_0x5067('0x81')]['id']!=_0x59168b)throw this[_0x5067('0x1a')][_0x5067('0x103')](_0x5067('0x76')),new _0x4a14e0(_0x5067('0x76'),this);}[_0x5067('0xb9')](_0x5bfd40,_0x46edb7){const _0x41cb50=_0x5bfd40[_0x5067('0xd8')]();if(_0x46edb7[_0x5067('0x12e')](_0x41cb50))_0x5bfd40[_0x5067('0x62')]();else{if(_0x41cb50[_0x5067('0x11b')](_0x46edb7)){const _0x12023e=this['_model'][_0x5067('0x9a')](_0x46edb7[_0x5067('0xe')][_0x5067('0x67')],_0x5067('0x5a'));this[_0x5067('0x23')](_0x5bfd40,this['_model'][_0x5067('0x80')](_0x41cb50[_0x5067('0xe')],_0x12023e));const _0xb1885d=_0x4f1cad(),_0x48c4c8=_0x5bfd40[_0x5067('0x81')]['id'],_0xdf3701=_0x5bfd40[_0x5067('0x141')]+':'+_0x5bfd40['subType'];this[_0x5067('0x72')]({'id':_0xb1885d,'type':_0xdf3701,'createdAt':new Date(),'authorId':_0x48c4c8,'data':_0x5bfd40[_0x5067('0xc9')],'attributes':_0x5bfd40[_0x5067('0x2')]});const _0x27839a=this[_0x5067('0x160')][_0x5067('0x9a')](_0x46edb7[_0x5067('0x5a')][_0x5067('0x109')],_0x5067('0x151')),_0x20a6a3=this[_0x5067('0x160')][_0x5067('0x80')](_0x27839a,_0x41cb50[_0x5067('0x5a')]);this[_0x5067('0xc2')](_0xdf3701,_0xb1885d,_0x48c4c8,_0x20a6a3);}else{if(_0x41cb50[_0x5067('0x24')](_0x46edb7[_0x5067('0xe')])){const _0x34577e=this['_model'][_0x5067('0x9a')](_0x46edb7[_0x5067('0xe')][_0x5067('0x67')],_0x5067('0x5a'));this[_0x5067('0x23')](_0x5bfd40,this[_0x5067('0x160')]['createRange'](_0x41cb50['start'],_0x34577e));}else{const _0x4b6d83=this[_0x5067('0x160')][_0x5067('0x9a')](_0x46edb7[_0x5067('0x5a')]['parent'],_0x5067('0x151'));this[_0x5067('0x23')](_0x5bfd40,this[_0x5067('0x160')][_0x5067('0x80')](_0x4b6d83,_0x41cb50[_0x5067('0x5a')]));}}}}[_0x5067('0x139')](_0x3fa9e3){for(const {suggestion:_0x1d8abd,meta:_0xc86f29}of this[_0x5067('0x79')](_0x3fa9e3,_0x5067('0xef'))){if(!_0xc86f29[_0x5067('0x9f')])continue;const _0x39443f=_0x1d8abd['getRanges']();for(const _0x398745 of _0x39443f)if(!_0x3fa9e3[_0x5067('0x10d')](_0x398745)['length'])return!0x0;}return!0x1;}[_0x5067('0x117')](_0x5c1c93){const _0x48386e=this['editor'][_0x5067('0x32')][_0x5067('0xce')]('Users')[_0x5067('0xe5')](_0x5c1c93);if(!_0x48386e)throw new _0x4a14e0(_0x5067('0x3c'),this);return _0x48386e;}[_0x5067('0x84')](_0x5f0162){const _0x3f7480=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')]('Users'),_0x2d04e1=_0x3e3341('external:'+_0x5f0162),_0x1ac1c0=_0x3f7480[_0x5067('0xe5')](_0x2d04e1);return _0x1ac1c0||_0x3f7480[_0x5067('0x2d')]({'id':_0x2d04e1,'name':_0x5f0162});}[_0x5067('0xa3')](_0x4fee43,_0x45333a,_0x5a5631,_0x5b6f4d,_0x5b8b15){const _0xf04cb9=this[_0x5067('0x117')](_0x5b6f4d),_0x189386=this['_suggestionFactory'][_0x5067('0x65')](_0x4fee43,_0x45333a,_0x5a5631,_0xf04cb9,_0x5b8b15,_0x5ea403=>this['_updateSuggestionData'](_0x5a5631,{'attributes':_0x5ea403}));return this['listenTo'](_0x189386,_0x5067('0xbc'),()=>{this[_0x5067('0x15c')](_0x5a5631,{'state':'accepted'});},{'priority':'high'}),this[_0x5067('0x38')](_0x189386,'discard',()=>{this[_0x5067('0x15c')](_0x5a5631,{'state':_0x5067('0xf')});},{'priority':_0x5067('0x1e')}),this['_suggestions'][_0x5067('0x150')](_0x5a5631,_0x189386),this[_0x5067('0x119')][_0x5067('0x150')](_0x189386,_0x5067('0x93')),_0x189386;}['_splitMarkerName'](_0x411a65){const _0x3a3e0b=_0x411a65[_0x5067('0x5b')](':');return{'group':_0x3a3e0b[0x0],'type':_0x3a3e0b[0x1],'subType':_0x3a3e0b[_0x5067('0xdb')]>=0x5?_0x3a3e0b[0x2]:null,'id':_0x3a3e0b[_0x5067('0xdb')]<0x5?_0x3a3e0b[0x2]:_0x3a3e0b[0x3],'authorId':_0x3a3e0b[_0x5067('0xdb')]<0x5?_0x3a3e0b[0x3]:_0x3a3e0b[0x4],'markerCount':0x6==_0x3a3e0b[_0x5067('0xdb')]?_0x3a3e0b[0x5]:null};}[_0x5067('0x5c')](_0x91e2c9,_0x39ff19,_0x4c00f6){const _0xa57045=_0x91e2c9['getFirstRange'](),_0x46a228=_0xa57045[_0x5067('0xe')],_0x2bb855=_0xa57045['end'];this[_0x5067('0x23')](_0x91e2c9,this[_0x5067('0x160')]['createRange'](_0x46a228,_0x39ff19));const _0x2c6220=_0x4f1cad(),_0x424ce8=_0x91e2c9[_0x5067('0x81')]['id'],_0x3034b7=_0x91e2c9[_0x5067('0x141')]+(_0x91e2c9[_0x5067('0x128')]?':'+_0x91e2c9['subType']:'');this['_setSuggestionData']({'id':_0x2c6220,'type':_0x3034b7,'createdAt':new Date(),'authorId':_0x424ce8,'originalSuggestionId':_0x91e2c9['id'],'attributes':_0x91e2c9['attributes'],'data':_0x91e2c9['data']});const _0x5da508=Pt(_0x91e2c9);(_0x5067('0x8b')==_0x91e2c9[_0x5067('0x141')]||_0x5da508&&this['_isBlockAttribute'](_0x5da508))&&(_0x4c00f6=this[_0x5067('0x160')][_0x5067('0x49')](_0x4c00f6[_0x5067('0x109')])),this[_0x5067('0xc2')](_0x3034b7,_0x2c6220,_0x424ce8,this[_0x5067('0x160')]['createRange'](_0x4c00f6,_0x2bb855));}['_findSuggestions'](_0x769e9c,_0x2deb48=null){const _0x4735f0=[],_0x1cfb47=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me'];Array[_0x5067('0x53')](_0x769e9c)||(_0x769e9c=[_0x769e9c]);for(const _0x1af727 of this[_0x5067('0xfa')]()){if(!_0x1af727[_0x5067('0x98')])continue;if(_0x2deb48&&_0x1af727[_0x5067('0x141')]!=_0x2deb48)continue;let _0x30b2f9=!0x1;for(const _0x2462ba of _0x1af727[_0x5067('0x14a')]()){for(const _0x433240 of _0x769e9c){const _0x5d5a57=_0x433240[_0x5067('0xe')]['isEqual'](_0x2462ba['end'])||_0x433240['end']['isEqual'](_0x2462ba['start']);if(_0x5d5a57||_0x433240[_0x5067('0xe1')](_0x2462ba)){const _0x37be91=_0x433240[_0x5067('0x11b')](_0x2462ba)&&Tt(this[_0x5067('0x160')][_0x5067('0x13a')],_0x2462ba[_0x5067('0xe')],_0x433240),_0x11fb1a=_0x2462ba[_0x5067('0x11b')](_0x433240)&&Tt(this[_0x5067('0x160')]['schema'],_0x433240['start'],_0x2462ba);_0x4735f0[_0x5067('0xba')]({'suggestion':_0x1af727,'meta':{'isOwn':_0x1cfb47==_0x1af727['author'],'isNextTo':_0x5d5a57,'isInsideObject':_0x37be91,'containsRangeInObject':_0x11fb1a}}),_0x30b2f9=!0x0;break;}}if(_0x30b2f9)break;}}return _0x4735f0;}[_0x5067('0xc2')](_0x46efc3,_0x45a8e9,_0x3188f7,_0x3a52f0,_0x25b9d2){this[_0x5067('0x160')]['change'](_0x3689dd=>{let _0xd91978='suggestion:'+_0x46efc3+':'+_0x45a8e9+':'+_0x3188f7;_0x25b9d2&&(_0xd91978=_0xd91978+':'+_0x25b9d2),_0x3689dd['addMarker'](_0xd91978,{'range':_0x3a52f0,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5067('0x6a')](_0x248598){const _0x46daea=_0x248598[_0x5067('0xee')],_0x5621a4=_0x248598[_0x5067('0x152')];_0x248598[_0x5067('0xee')]=null,_0x248598[_0x5067('0x152')]=null,null!=_0x46daea&&(_0x46daea[_0x5067('0x152')]=_0x5621a4),null!=_0x5621a4&&(_0x5621a4['previous']=_0x46daea),_0x5067('0x140')==this[_0x5067('0x119')][_0x5067('0xce')](_0x248598)&&(this[_0x5067('0x119')][_0x5067('0x150')](_0x248598,'removed'),this[_0x5067('0xe2')](_0x5067('0x153'),_0x248598,_0x46daea,_0x5621a4));}[_0x5067('0x72')](_0x5013e5){const _0xc33e19=_0x5013e5['id'],_0x5976bd=this[_0x5067('0xd1')](_0x5013e5);if(this[_0x5067('0x134')]&&this[_0x5067('0x134')][_0x5067('0x95')]){const _0x5f1f38=this[_0x5067('0x1a')]['plugins']['get']('PendingActions'),_0xa5421e=_0x5976bd[_0x5067('0x55')],_0x46c89e=_0x5976bd[_0x5067('0x128')]?_0x5976bd[_0x5067('0x141')]+':'+_0x5976bd['subType']:_0x5976bd['type'],_0x8d4884=this[_0x5067('0x1a')][_0x5067('0xbe')],_0x568375=_0x5f1f38[_0x5067('0x157')](_0x2de78a(_0x8d4884,_0x5067('0x42'))),_0xcb35e={'id':_0xc33e19,'type':_0x46c89e,'hasComments':_0xa5421e,'data':_0x5013e5[_0x5067('0xc9')]||null,'originalSuggestionId':_0x5013e5[_0x5067('0x131')]||null,'attributes':_0x5976bd[_0x5067('0x2')]};this['_adapter']['addSuggestion'](_0xcb35e)[_0x5067('0xae')](_0x26a057=>{_0x5976bd[_0x5067('0x13')]=!0x0,_0x5f1f38[_0x5067('0x13c')](_0x568375),_0x26a057&&_0x26a057[_0x5067('0x4d')]&&(this[_0x5067('0x5f')][_0x5067('0xce')](_0xc33e19)[_0x5067('0x4d')]=_0x26a057[_0x5067('0x4d')]);})['catch'](_0x342cf6=>{throw _0x1665dd(_0x5067('0xb6')),this[_0x5067('0x1a')][_0x5067('0x44')][_0x5067('0xb7')]({'isUndoable':!0x1},()=>{_0x5976bd[_0x5067('0xe0')]();}),_0x5976bd[_0x5067('0x91')](),this[_0x5067('0x5f')][_0x5067('0x61')](_0x5976bd['id']),this[_0x5067('0x119')][_0x5067('0x61')](_0x5976bd),_0x342cf6;});}return _0x5976bd;}['_isBlockAttribute'](_0x1e68c4){return this[_0x5067('0x52')]['has'](_0x1e68c4);}[_0x5067('0x15c')](_0x1b1a54,_0x16314c){const _0x20a81b=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x116')),_0x183dbe=this[_0x5067('0x87')](_0x1b1a54);if(this['_adapter']&&this[_0x5067('0x134')][_0x5067('0x166')]){if(_0x183dbe[_0x5067('0x13')]){const _0x374628=_0x20a81b[_0x5067('0x157')](_0x2de78a(this[_0x5067('0x1a')][_0x5067('0xbe')],'PENDING_ACTION_SUGGESTION'));this[_0x5067('0x134')][_0x5067('0x166')](_0x1b1a54,_0x16314c)['then'](()=>{_0x20a81b['remove'](_0x374628);});}else _0x183dbe['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x1b1a54,_0x16314c);});}}[_0x5067('0x162')](_0xfc533b){if(!this['_adapter']||!this[_0x5067('0x134')][_0x5067('0x87')])throw new _0x4a14e0(_0x5067('0x6c'),this);return this['_adapter'][_0x5067('0x87')](_0xfc533b);}['_handleNewSuggestionMarker'](_0x29ad2){const {id:_0x5f0bcd,type:_0x54c448,subType:_0x36e20b,authorId:_0x216537}=this['_splitMarkerName'](_0x29ad2),_0x141a07=this[_0x5067('0x5f')]['get'](_0x5f0bcd)||this[_0x5067('0xa3')](_0x54c448,_0x36e20b,_0x5f0bcd,_0x216537,{});switch(this['_checkSuggestionCorrectness'](_0x141a07,_0x54c448,_0x36e20b,_0x216537),this[_0x5067('0x119')][_0x5067('0xce')](_0x141a07)){case _0x5067('0x93'):this['_getSuggestionData'](_0x5f0bcd)[_0x5067('0xae')](_0x72347e=>{let _0x5c54cc=Promise['resolve']();_0x72347e[_0x5067('0x55')]&&(_0x5c54cc=this['_commentsRepository'][_0x5067('0x113')]({'channelId':this[_0x5067('0x1a')][_0x5067('0xfe')][_0x5067('0xce')](_0x5067('0x50')),'threadId':_0x5f0bcd})),_0x5c54cc[_0x5067('0xae')](()=>{this[_0x5067('0xd1')](_0x72347e)['_saved']=!0x0;});}),this[_0x5067('0x119')][_0x5067('0x150')](_0x141a07,_0x5067('0x74'));break;case'removed':this[_0x5067('0x15c')](_0x5f0bcd,{'state':'open'});case _0x5067('0xdf'):this[_0x5067('0x119')][_0x5067('0x150')](_0x141a07,'ready'),this[_0x5067('0xe2')]('suggestionLoaded',_0x141a07);break;case _0x5067('0x140'):this[_0x5067('0xe2')]('suggestionChanged',_0x141a07);}return _0x141a07[_0x5067('0x30')](_0x29ad2),_0x141a07;}['_refreshSuggestionsChain'](_0x32fdfa){const _0x395cbe=Array[_0x5067('0xf3')](_0x32fdfa),_0x4ec398=_0x395cbe[_0x5067('0x19')](_0x717758=>_0x5067('0x36')==_0x717758[_0x5067('0x141')]);this['_refreshAttributeSuggestionsChain'](_0x4ec398);const _0x2ee95e=_0x395cbe[_0x5067('0x19')](_0xc55063=>!_0xc55063['isMultiRange']&&'attribute'!=_0xc55063['type']),_0x368a59=this[_0x5067('0xfa')]({'skipNotAttached':!0x0})[_0x5067('0x19')](_0x829d9b=>!_0x829d9b['isMultiRange']&&_0x5067('0x36')!=_0x829d9b[_0x5067('0x141')]),_0x1d1cf7=_0x368a59[_0x5067('0x19')](_0xd07377=>!_0x32fdfa[_0x5067('0x17')](_0xd07377)),_0x4ba521=new Map(_0x368a59[_0x5067('0x83')](_0x52e2e4=>[_0x52e2e4,this[_0x5067('0x10')]['getSuggestionCallback'](_0x52e2e4[_0x5067('0x141')],_0x52e2e4[_0x5067('0x128')],_0x5067('0xd4'))])),_0x4f44d0=new Map(_0x368a59[_0x5067('0x83')](_0x49ce41=>[_0x49ce41,_0x49ce41[_0x5067('0xd8')]()])),_0x1883e8=new Set(),_0xbb96bb=new Set();for(let _0x1c7844=0x0;_0x1c7844<_0x2ee95e[_0x5067('0xdb')];_0x1c7844++)_0x58fc2d(_0x2ee95e[_0x1c7844],_0x2ee95e,_0x1c7844+0x1);for(let _0x51381b=0x0;_0x51381b<_0x2ee95e[_0x5067('0xdb')];_0x51381b++)_0x58fc2d(_0x2ee95e[_0x51381b],_0x1d1cf7,0x0);const _0x2171e1=new Set();for(let _0x4a5e4e=0x0;_0x4a5e4e<_0x2ee95e[_0x5067('0xdb')];_0x4a5e4e++){const _0x3cf7ec=_0x2ee95e[_0x4a5e4e];!_0xbb96bb[_0x5067('0x17')](_0x3cf7ec)&&_0x3cf7ec[_0x5067('0xee')]&&(_0x2171e1[_0x5067('0x157')](_0x3cf7ec[_0x5067('0xee')]),_0x3cf7ec[_0x5067('0xee')][_0x5067('0x152')]===_0x3cf7ec&&(_0x3cf7ec[_0x5067('0xee')]['next']=null),_0x3cf7ec[_0x5067('0xee')]=null),!_0x1883e8[_0x5067('0x17')](_0x3cf7ec)&&_0x3cf7ec[_0x5067('0x152')]&&(_0x2171e1[_0x5067('0x157')](_0x3cf7ec[_0x5067('0x152')]),_0x3cf7ec[_0x5067('0x152')]['previous']===_0x3cf7ec&&(_0x3cf7ec[_0x5067('0x152')]['previous']=null),_0x3cf7ec[_0x5067('0x152')]=null);}function _0x58fc2d(_0x23e518,_0x12dd50,_0x17350d){for(let _0x467bbe=_0x17350d;_0x467bbe<_0x12dd50[_0x5067('0xdb')];_0x467bbe++){const _0x361863=_0x2cecec(_0x23e518,_0x12dd50[_0x467bbe]);_0x361863&&(_0x361863[0x0][_0x5067('0x152')]=_0x361863[0x1],_0x361863[0x1][_0x5067('0xee')]=_0x361863[0x0],_0x1883e8[_0x5067('0x157')](_0x361863[0x0]),_0xbb96bb[_0x5067('0x157')](_0x361863[0x1]));}}function _0x2cecec(_0x5f2800,_0x481ce3){if(_0x5f2800[_0x5067('0xed')]['id']!==_0x481ce3[_0x5067('0xed')]['id'])return null;const _0x2d4073=_0x4ba521['get'](_0x5f2800)(_0x5f2800,_0x481ce3,_0x4f44d0[_0x5067('0xce')](_0x5f2800),_0x4f44d0[_0x5067('0xce')](_0x481ce3));if(!_0x2d4073)return null;return _0x4ba521[_0x5067('0xce')](_0x481ce3)(_0x5f2800,_0x481ce3,_0x4f44d0['get'](_0x5f2800),_0x4f44d0[_0x5067('0xce')](_0x481ce3))?_0x2d4073[0x1][_0x5067('0x2e')]&&_0x2d4073[0x1][_0x5067('0x2e')][_0x5067('0xdb')]?null:_0x2d4073:null;}_0x2171e1['size']&&this['_refreshSuggestionsChain'](_0x2171e1);}[_0x5067('0x121')](_0x1e4a69){if(0x0==_0x1e4a69[_0x5067('0xdb')])return;const _0x18a995=this[_0x5067('0xfa')]({'skipNotAttached':!0x0})['filter'](_0x41d440=>_0x5067('0x36')==_0x41d440[_0x5067('0x141')]&&_0x41d440[_0x5067('0x3b')]),_0x210c31=[],_0x537cfa=new Map();for(const _0x2caf3d of _0x18a995){const _0x1bc17a=_0x3e3341(_0x2caf3d['attributes']);_0x537cfa[_0x5067('0x17')](_0x1bc17a)||(_0x537cfa['set'](_0x1bc17a,_0x210c31[_0x5067('0xdb')]),_0x210c31[_0x5067('0xba')]([]));const _0x49ddc7=_0x537cfa['get'](_0x1bc17a);_0x210c31[_0x49ddc7][_0x5067('0xba')](_0x2caf3d);}!function(){_0x210c31['sort']((_0x213eeb,_0xc80248)=>{const _0x50082e=_0x213eeb[0x0][_0x5067('0x4d')],_0x290d17=_0xc80248[0x0][_0x5067('0x4d')];return _0x50082e==_0x290d17?_0x213eeb[0x0][_0x5067('0x2')][_0x5067('0x137')]<_0xc80248[0x0]['attributes'][_0x5067('0x137')]?-0x1:0x1:_0x50082e<_0x290d17?-0x1:0x1;});for(const _0xd50243 of _0x210c31)_0xd50243[_0x5067('0xac')]((_0x83bb43,_0x2073a2)=>_0x83bb43['id']<_0x2073a2['id']?-0x1:0x1);}();for(let _0x525566=0x0;_0x525566<_0x210c31[_0x5067('0xdb')];_0x525566++){if(0x0==_0x210c31[_0x525566][_0x5067('0xdb')])continue;const _0x143ade=[];for(let _0x5e20e0=_0x525566+0x1;_0x5e20e0<_0x210c31[_0x5067('0xdb')];_0x5e20e0++)0x0!=_0x210c31[_0x5e20e0][_0x5067('0xdb')]&&_0x5302b1(_0x210c31[_0x525566],_0x210c31[_0x5e20e0])&&_0x143ade[_0x5067('0xba')](_0x5e20e0);for(const _0x3d3196 of _0x143ade)_0x210c31[_0x525566]=_0x210c31[_0x525566][_0x5067('0x6d')](_0x210c31[_0x3d3196]),_0x210c31[_0x3d3196]=[];}for(const _0x31d2ba of _0x210c31)for(let _0x3fb05a=0x0;_0x3fb05a<_0x31d2ba[_0x5067('0xdb')];_0x3fb05a++)_0x31d2ba[_0x3fb05a][_0x5067('0x152')]=_0x31d2ba[_0x3fb05a+0x1]||null;for(const _0xd68495 of _0x210c31)for(let _0x456a25=0x0;_0x456a25<_0xd68495['length'];_0x456a25++)_0xd68495[_0x456a25]['previous']=_0xd68495[_0x456a25-0x1]||null;function _0x5302b1(_0x172b85,_0x517cad){if(_0x172b85[0x0][_0x5067('0xed')]!==_0x517cad[0x0]['author'])return!0x1;if(!function(_0x43d5be,_0x26e39b){if(!_0x43d5be[_0x5067('0x55')]&&!_0x26e39b[_0x5067('0x55')])return!0x0;if(_0x43d5be[_0x5067('0x55')]&&_0x26e39b[_0x5067('0x55')])return!0x1;if(_0x43d5be[_0x5067('0x55')]&&_0x26e39b[_0x5067('0x4d')]<_0x43d5be['commentThread'][_0x5067('0x12d')][_0x5067('0xce')](0x0)[_0x5067('0x4d')])return!0x0;if(_0x26e39b[_0x5067('0x55')]&&_0x43d5be['createdAt']<_0x26e39b[_0x5067('0x2e')]['comments'][_0x5067('0xce')](0x0)[_0x5067('0x4d')])return!0x0;return!0x1;}(_0x172b85[0x0],_0x517cad[0x0]))return!0x1;const _0x5e88e8=_0x358d9a(_0x172b85[0x0]['attributes'],'groupId'),_0x35180a=_0x358d9a(_0x517cad[0x0][_0x5067('0x2')],'groupId');if(!_0x3875c5(_0x5e88e8,_0x35180a))return!0x1;return!!_0x172b85['every'](_0x4d6e3f=>_0x517cad[_0x5067('0x8f')](_0x57347a=>_0x4d6e3f[_0x5067('0xd8')]()[_0x5067('0x12e')](_0x57347a[_0x5067('0xd8')]())))&&_0x517cad[_0x5067('0x22')](_0x3535cc=>_0x172b85[_0x5067('0x8f')](_0x2d30b0=>_0x3535cc[_0x5067('0xd8')]()[_0x5067('0x12e')](_0x2d30b0[_0x5067('0xd8')]())));}}[_0x5067('0x6')](_0x6de3c){const _0x3ebc45=Array[_0x5067('0xf3')](_0x6de3c),_0x30df28=this['getSuggestions']({'skipNotAttached':!0x0}),_0x479ecc=_0x30df28[_0x5067('0x19')](_0x273f67=>!_0x6de3c[_0x5067('0x17')](_0x273f67)),_0x4d72ea=new Map(_0x3ebc45['map'](_0x18b3f1=>[_0x18b3f1,this[_0x5067('0x10')][_0x5067('0xcc')](_0x18b3f1[_0x5067('0x141')],_0x18b3f1['subType'],'join')])),_0x4cb5af=new Map(_0x30df28['map'](_0x221369=>[_0x221369,_0x221369['getRanges']()]));for(let _0x3b04e6=0x0;_0x3b04e6<_0x3ebc45['length'];_0x3b04e6++){if(_0x17e179(this,_0x3ebc45[_0x3b04e6],_0x3ebc45,_0x3b04e6+0x1))return!0x0;}for(let _0x42da74=0x0;_0x42da74<_0x3ebc45[_0x5067('0xdb')];_0x42da74++){if(_0x17e179(this,_0x3ebc45[_0x42da74],_0x479ecc,0x0))return!0x0;}return!0x1;function _0x17e179(_0x1ea48c,_0x44d6e7,_0x3ad2f5,_0x21b20c){for(let _0x21fef3=_0x21b20c;_0x21fef3<_0x3ad2f5[_0x5067('0xdb')];_0x21fef3++){const _0x4ec3f1=_0x3ad2f5[_0x21fef3];if(_0x4ec3f1[_0x5067('0x141')]!==_0x44d6e7[_0x5067('0x141')]||_0x4ec3f1[_0x5067('0xed')]['id']!==_0x44d6e7[_0x5067('0xed')]['id']||_0x4ec3f1['subType']!==_0x44d6e7[_0x5067('0x128')])continue;if(!Vt(_0x44d6e7,_0x4ec3f1))continue;if(_0x5067('0x36')==_0x44d6e7[_0x5067('0x141')]&&_0x44d6e7[_0x5067('0xc9')]['oldValue']!=_0x4ec3f1[_0x5067('0xc9')][_0x5067('0x1f')])continue;if(_0x5067('0x36')==_0x44d6e7[_0x5067('0x141')]&&_0x1ea48c[_0x5067('0x11e')](_0x44d6e7['data']['key']))continue;if(_0x5067('0x8b')==_0x44d6e7['type']){const _0x1bb0f0=_0x1ea48c[_0x5067('0x1a')][_0x5067('0x44')],_0x4257f5=_0x44d6e7[_0x5067('0x71')]();if(_0x4257f5&&(_0x1bb0f0['schema'][_0x5067('0x47')](_0x4257f5)||_0x1bb0f0[_0x5067('0x13a')][_0x5067('0xca')](_0x4257f5)))continue;}const _0x3a329e=_0x4d72ea[_0x5067('0xce')](_0x44d6e7),_0x34d08d=_0x4cb5af[_0x5067('0xce')](_0x44d6e7),_0x539e57=_0x4cb5af['get'](_0x4ec3f1),_0x3b029d=_0x44d6e7[_0x5067('0x2e')]&&_0x44d6e7[_0x5067('0x2e')][_0x5067('0xdb')],_0x2607c4=_0x4ec3f1[_0x5067('0x2e')]&&_0x4ec3f1[_0x5067('0x2e')][_0x5067('0xdb')];if(!_0x3b029d&&_0x3a329e(_0x539e57,_0x34d08d))return _0x1ea48c['_joinSuggestions'](_0x4ec3f1,_0x44d6e7),_0x4cb5af['delete'](_0x44d6e7),!0x0;if(!_0x2607c4&&_0x3a329e(_0x34d08d,_0x539e57))return _0x1ea48c[_0x5067('0x172')](_0x44d6e7,_0x4ec3f1),_0x4cb5af['delete'](_0x4ec3f1),!0x0;}return!0x1;}}[_0x5067('0x172')](_0x28c2cc,_0x190be1){if(_0x28c2cc[_0x5067('0x3a')])for(const _0x4fb84f of _0x190be1[_0x5067('0x14a')]())_0x28c2cc[_0x5067('0x1')](_0x4fb84f);else{const _0x54bd72=_0x190be1['getFirstRange']()[_0x5067('0x5a')];this[_0x5067('0x23')](_0x28c2cc,this['_model'][_0x5067('0x80')](_0x28c2cc[_0x5067('0xd8')]()[_0x5067('0xe')],_0x54bd72));}_0x190be1['removeMarkers']();}[_0x5067('0x165')](_0x274211,_0x12851a){const _0x542e19=_0x274211[_0x5067('0xd2')](_0x5067('0xc8'))||_0x274211['startsWith'](_0x5067('0x36'))?_0x5067('0x13b'):_0x274211['toUpperCase']();return _0x2de78a(this[_0x5067('0x1a')][_0x5067('0xbe')],_0x12851a+'_'+_0x542e19+_0x5067('0xb1'));}['_initAriaMarkerChangeAnnouncements'](){const _0x51727a=this[_0x5067('0x1a')];_0x24ed9b(this[_0x5067('0x160')],({left:_0xa624bb,entered:_0x3a6a65})=>{const _0x14259c=[];for(const _0x180bc3 of _0xa624bb){const {group:_0x36dcfd,type:_0x3b4078}=this[_0x5067('0x7f')](_0x180bc3[_0x5067('0x2a')]);if(_0x5067('0x144')===_0x36dcfd){_0x14259c[_0x5067('0xba')](this[_0x5067('0x165')](_0x3b4078,'LEAVE'));break;}}for(const _0x388049 of _0x3a6a65){const {group:_0xcee2c,type:_0x235b1e}=this['_splitMarkerName'](_0x388049['name']);if('suggestion'===_0xcee2c){_0x14259c['push'](this[_0x5067('0x165')](_0x235b1e,_0x5067('0x149')));break;}}_0x14259c['length']&&_0x51727a['ui'][_0x5067('0x39')]['announce'](_0x5067('0x9c'),_0x14259c[_0x5067('0x167')]('\x20'));});}[_0x5067('0x3f')](_0x2a16f0){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x204a2f=this[_0x5067('0x1a')],_0x1e92e4=_0x204a2f[_0x5067('0x44')][_0x5067('0xf7')][_0x5067('0x8')][_0x5067('0x37')]();if(0x0==_0x1e92e4[_0x5067('0xdb')])return!0x1;const _0x39bd32=[],_0x1bf298=_0x1e92e4[_0x5067('0x19')](_0x13ff52=>_0x5067('0x36')==_0x13ff52[_0x5067('0x141')]),_0x2aca25=_0x1e92e4[_0x5067('0x19')](_0x3b4c86=>_0x5067('0x12f')==_0x3b4c86['type']&&_0x5067('0x57')!=_0x3b4c86[_0x5067('0x2a')]),_0x353eda=_0x1e92e4[_0x5067('0x19')](_0x2d8bb1=>'remove'==_0x2d8bb1[_0x5067('0x141')]&&_0x5067('0x57')!=_0x2d8bb1[_0x5067('0x2a')]);for(const _0xae03ad of _0x1bf298)_0x39bd32[_0x5067('0xba')]({'key':_0xae03ad[_0x5067('0x114')],'newValue':_0xae03ad[_0x5067('0x16')],'oldValue':_0xae03ad[_0x5067('0x161')],'range':_0x4581da(_0xae03ad[_0x5067('0x99')])});for(const _0x14413c of _0x2aca25){const _0x30f8c3=_0x353eda[_0x5067('0xbf')](_0x52e438=>_0x52e438['position'][_0x5067('0x12e')](_0x14413c[_0x5067('0x173')]));_0x30f8c3&&_0x39bd32[_0x5067('0xba')]({'key':'$elementName','newValue':_0x14413c[_0x5067('0x2a')],'oldValue':_0x30f8c3['name'],'range':_0x204a2f[_0x5067('0x44')][_0x5067('0x18')](_0x14413c[_0x5067('0x173')]['nodeAfter'])});}return 0x0!=_0x39bd32['length']&&this[_0x5067('0x155')](_0x2a16f0,_0x39bd32);function _0x4581da(_0x11e5ad){return null==_0x11e5ad['end'][_0x5067('0x67')]&&_0x11e5ad[_0x5067('0x5a')][_0x5067('0x109')]==_0x11e5ad[_0x5067('0xe')][_0x5067('0xc5')]?Ut(_0x11e5ad[_0x5067('0xe')][_0x5067('0xc5')],_0x204a2f['model']):_0x11e5ad;}}[_0x5067('0x16e')](_0x303e10){let _0x593b0e=!0x1;const _0x1e98cd=this[_0x5067('0x1a')][_0x5067('0x44')]['document'][_0x5067('0x8')]['getChangedMarkers']()['filter'](_0x4022ab=>_0x4022ab[_0x5067('0xc9')]['newRange']&&_0x4022ab['name'][_0x5067('0xd2')]('suggestion:attribute:'));for(const _0x1aa20f of _0x1e98cd){const {subType:_0x4cfe38,id:_0x26a372}=this[_0x5067('0x7f')](_0x1aa20f[_0x5067('0x2a')]),_0x205eb4=_0x4cfe38['split']('|')[0x0];for(const _0x22605d of this[_0x5067('0xfa')]({'skipNotAttached':!0x0}))_0x22605d['id']!=_0x26a372&&_0x5067('0x36')==_0x22605d[_0x5067('0x141')]&&_0x22605d[_0x5067('0xc9')]&&_0x22605d[_0x5067('0xc9')][_0x5067('0xec')]==_0x205eb4&&_0x22605d['getFirstRange']()[_0x5067('0x123')](_0x1aa20f[_0x5067('0xc9')]['newRange'])&&(this[_0x5067('0xcf')](_0x22605d,_0x1aa20f[_0x5067('0xc9')]['newRange'],_0x303e10),_0x593b0e=!0x0);}return _0x593b0e;}['_recordAttributeChanges'](_0x26d30a){if(null!==this[_0x5067('0x92')])return void _0x26d30a();const _0x9203f9=this['editor'];this['_recordAttributeSuggestionsFromVersion']=_0x9203f9['model'][_0x5067('0xf7')]['version'],_0x26d30a();const _0x15a9f6=new Map();for(const _0x5d2b5b of _0x9203f9['model'][_0x5067('0xf7')]['history'][_0x5067('0x14e')](this['_recordAttributeSuggestionsFromVersion']))if([_0x5067('0x40'),_0x5067('0x10a'),_0x5067('0x16c'),'changeAttribute']['includes'](_0x5d2b5b[_0x5067('0x141')])){const _0x3aff90=_0x5d2b5b['batch'],_0x13b116=_0x15a9f6[_0x5067('0xce')](_0x3aff90)||[];_0x13b116['push'](_0x5d2b5b),_0x15a9f6[_0x5067('0x150')](_0x3aff90,_0x13b116);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x480a3e,_0x409f51]of _0x15a9f6){const _0xc32758=_0x4f1cad();_0x9203f9[_0x5067('0x44')][_0x5067('0xb7')](_0x480a3e,_0x4d2b9a=>{const _0x17006a=[];for(const _0x4e698e of _0x409f51){let _0x9ce1f4,_0x5d24a5,_0x4b7b42,_0x199472;if('rename'==_0x4e698e[_0x5067('0x141')]){const _0x48da08=_0x4e698e;_0x9ce1f4=Ut(_0x48da08[_0x5067('0x173')][_0x5067('0xc5')],_0x9203f9['model']),_0x5d24a5=_0x5067('0x1b'),_0x4b7b42=_0x48da08[_0x5067('0x163')],_0x199472=_0x48da08['oldName'];}else{const _0x50407f=_0x4e698e,_0x2c6af6=this[_0x5067('0x11e')](_0x50407f[_0x5067('0xec')]),_0x4ee945=this[_0x5067('0x4e')]['has'](_0x50407f['key']);if(!_0x2c6af6&&!_0x4ee945)continue;_0x9ce1f4=_0x2c6af6?Ut(_0x50407f[_0x5067('0x99')][_0x5067('0xe')]['nodeAfter'],_0x9203f9[_0x5067('0x44')]):_0x50407f[_0x5067('0x99')],_0x5d24a5=_0x50407f['key'],_0x4b7b42=_0x5067('0x16c')==_0x4e698e[_0x5067('0x141')]?void 0x0:_0x50407f[_0x5067('0x9e')],_0x199472=_0x50407f[_0x5067('0x1f')];}this[_0x5067('0x145')](_0x9ce1f4,_0x5d24a5,_0x199472,_0x4b7b42,{'groupId':_0xc32758}),_0x17006a[_0x5067('0xba')]({'range':_0x9ce1f4,'key':_0x5d24a5,'newValue':_0x4b7b42,'oldValue':_0x199472});}this['_reduceExistingSuggestions'](_0x4d2b9a,_0x17006a);});}}[_0x5067('0x155')](_0x1b012b,_0x2d6731){if(0x0==_0x2d6731['length'])return!0x1;let _0x14931b=!0x1;for(const _0x210061 of _0x2d6731){const _0x571669=this['_findSuggestions'](_0x210061[_0x5067('0x99')],_0x5067('0x36'))[_0x5067('0x19')](_0x40db16=>!_0x40db16['meta']['isNextTo'])['map'](_0x3dddea=>_0x3dddea['suggestion']),_0x1272f7=_0x3e3341({'newValue':_0x210061[_0x5067('0x9e')]});_0x571669[_0x5067('0x19')](_0x225aa9=>{const [_0x3ff2a2,_0x543e76]=_0x225aa9[_0x5067('0x128')][_0x5067('0x5b')]('|');return _0x3ff2a2==_0x210061[_0x5067('0xec')]&&_0x543e76!=_0x1272f7;})[_0x5067('0x3e')](_0x54c579=>{this[_0x5067('0xcf')](_0x54c579,_0x210061[_0x5067('0x99')],_0x1b012b),_0x14931b=!0x0;});}return _0x14931b;}[_0x5067('0xcf')](_0x24be35,_0x27c3d0,_0x7193cf){const _0x2782f3=_0x24be35['getFirstRange']()[_0x5067('0x10d')](_0x27c3d0);0x0!==_0x2782f3[_0x5067('0xdb')]?0x1!==_0x2782f3[_0x5067('0xdb')]?this['_breakSuggestionMarker'](_0x24be35,_0x27c3d0['start'],_0x27c3d0[_0x5067('0x5a')]):this[_0x5067('0x23')](_0x24be35,_0x2782f3[0x0]):_0x7193cf[_0x5067('0xc0')](_0x24be35[_0x5067('0x9b')]());}}class Bt{constructor(_0x2cff12){this['_editor']=_0x2cff12,this[_0x5067('0x160')]=_0x2cff12[_0x5067('0x44')],this[_0x5067('0xfd')]=new Map(),this[_0x5067('0x94')]=new Map(),this[_0x5067('0x21')]();}[_0x5067('0x65')](_0x4cd5d1,_0x544ec5,_0x4590ff,_0x3aa29f,_0x5c7b0e,_0x1bb1f0){return new _0x1629a3(this[_0x5067('0x160')],{'type':_0x4cd5d1,'subType':_0x544ec5,'id':_0x4590ff,'author':_0x3aa29f,'creator':_0x3aa29f,'attributes':_0x5c7b0e,'onAttributesChange':_0x1bb1f0,'onAccept':(..._0x3c4484)=>this[_0x5067('0xcc')](_0x4cd5d1,_0x544ec5,_0x5067('0xbc'))(..._0x3c4484),'onDiscard':(..._0x45d3d3)=>this[_0x5067('0xcc')](_0x4cd5d1,_0x544ec5,'discard')(..._0x45d3d3)});}['registerCustomCallback'](_0x2ad3ee,_0x1a362a,_0xff70a5,_0x114549){const _0x1c93c1=_0x2ad3ee+':'+_0x1a362a+':'+_0xff70a5;this['_customCallbacks'][_0x5067('0x150')](_0x1c93c1,_0x114549);}[_0x5067('0xcc')](_0x57de76,_0x31b057,_0x56c5de){const _0x4081fd=_0x57de76+':'+_0x31b057+':'+_0x56c5de;return this[_0x5067('0xfd')][_0x5067('0xce')](_0x4081fd)||this[_0x5067('0x94')][_0x5067('0xce')](_0x57de76+':'+_0x56c5de);}[_0x5067('0x21')](){const _0x4b3437=()=>!0x1,_0x1c1d7f=_0x3fd841=>{_0x3fd841['sort']((_0x13be97,_0x493571)=>_0x13be97[_0x5067('0xe')][_0x5067('0x11a')](_0x493571[_0x5067('0xe')])?0x1:-0x1),this[_0x5067('0x160')][_0x5067('0xc1')](_0x4d33de=>{for(const _0x328fe4 of _0x3fd841){let _0x289471;_0x289471=_0x328fe4['end']['isAtEnd']&&_0x328fe4[_0x5067('0x5a')]['parent']==_0x328fe4[_0x5067('0xe')]['nodeAfter']?_0x4d33de[_0x5067('0x8a')](_0x328fe4['start'][_0x5067('0xc5')],'on'):_0x4d33de[_0x5067('0x8a')](_0x328fe4),this['_model'][_0x5067('0xb0')](_0x289471,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x46a068=(_0x2e00fb,_0x4905a4)=>{_0x4905a4&&this['_model'][_0x5067('0xc1')](_0x5e9ba1=>{const {commandName:_0x39fc5b,commandParams:_0x424d54=[]}=_0x4905a4,_0x52f652=_0x2e00fb[_0x5067('0x83')](_0x2bedc4=>(xt(_0x2bedc4)&&(_0x2bedc4=this[_0x5067('0x160')][_0x5067('0x80')](_0x2bedc4['end'])),_0x2bedc4))['filter'](_0x36c496=>_0x5067('0x51')!==_0x36c496[_0x5067('0x14d')]['rootName']);if(_0x52f652[_0x5067('0xdb')]<0x1)return;const _0x39ef68=Array['from'](this[_0x5067('0x160')]['document'][_0x5067('0x59')][_0x5067('0x14a')]())['map'](_0x3abc99=>_0x108700['fromRange'](_0x3abc99));_0x5e9ba1['setSelection'](_0x52f652);for(const _0x32e3b7 of this['_editor'][_0x5067('0x11d')]['commands']())_0x32e3b7['refresh']();_0x424d54[_0x5067('0xba')]({'forceDefaultExecution':!0x0}),this[_0x5067('0x115')][_0x5067('0x35')](_0x39fc5b,..._0x424d54);const _0x2eb7e0=_0x39ef68[_0x5067('0x19')](_0x5405bd=>_0x5067('0x51')!=_0x5405bd[_0x5067('0x14d')][_0x5067('0x102')]);_0x2eb7e0[_0x5067('0xdb')]>0x0&&_0x5e9ba1[_0x5067('0x15d')](_0x2eb7e0);for(const _0x2b4993 of _0x39ef68)_0x2b4993[_0x5067('0xb2')]();});},_0x564870=(_0x3e4565,_0x5220db)=>0x1==_0x3e4565[_0x5067('0xdb')]&&0x1==_0x5220db['length']&&_0x3e4565[0x0][_0x5067('0x5a')][_0x5067('0x12e')](_0x5220db[0x0][_0x5067('0xe')]),_0x5df31c=(_0x55647b,_0x2c822e,_0x5c8842,_0x112dfc)=>Ot(_0x55647b,_0x2c822e,_0x5c8842,_0x112dfc,this[_0x5067('0x160')])?[_0x55647b,_0x2c822e]:Ot(_0x2c822e,_0x55647b,_0x112dfc,_0x5c8842,this[_0x5067('0x160')])?[_0x2c822e,_0x55647b]:null;this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x9d'),_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xf0'),_0x1c1d7f),this[_0x5067('0x94')]['set']('insertion:join',_0x564870),this['_defaultCallbacks']['set']('insertion:chain',_0x5df31c),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x5'),_0x1c1d7f),this[_0x5067('0x94')][_0x5067('0x150')]('deletion:discard',_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x2b'),_0x564870),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x106'),_0x5df31c),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xad'),_0x46a068),this[_0x5067('0x94')][_0x5067('0x150')]('formatInline:discard',_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x101'),_0x564870),this['_defaultCallbacks']['set']('formatInline:chain',_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xf6'),_0x46a068),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x15b'),_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xb4'),_0x564870),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xb8'),_0x4b3437),this[_0x5067('0x94')]['set'](_0x5067('0xaf'),_0x4b3437),this[_0x5067('0x94')]['set'](_0x5067('0x78'),(_0x5a6ce1,_0x4bcf0e)=>{if(!_0x4bcf0e)return;const _0x2ce509=this['_editor'][_0x5067('0x32')][_0x5067('0xce')](p);this[_0x5067('0x160')][_0x5067('0xc1')](_0x717fa8=>{if(_0x5067('0x1b')==_0x4bcf0e['key'])for(const _0x575ff2 of _0x5a6ce1){const _0x4fc1ff=_0x575ff2[_0x5067('0xe')]['nodeAfter'],_0x7f774a=_0x4bcf0e[_0x5067('0x1f')];_0x717fa8[_0x5067('0x40')](_0x4fc1ff,_0x7f774a);}else{if(_0x2ce509[_0x5067('0x11e')](_0x4bcf0e[_0x5067('0xec')]))for(const _0x594cc6 of _0x5a6ce1)void 0x0!==_0x4bcf0e['oldValue']?_0x717fa8[_0x5067('0x125')](_0x4bcf0e[_0x5067('0xec')],_0x4bcf0e[_0x5067('0x1f')],_0x594cc6[_0x5067('0xe')][_0x5067('0xc5')]):_0x717fa8['removeAttribute'](_0x4bcf0e[_0x5067('0xec')],_0x594cc6[_0x5067('0xe')][_0x5067('0xc5')]);else for(const _0x203623 of _0x5a6ce1)_0x4bcf0e[_0x5067('0x1f')]?_0x717fa8['setAttribute'](_0x4bcf0e['key'],_0x4bcf0e[_0x5067('0x1f')],_0x203623):_0x717fa8[_0x5067('0x16c')](_0x4bcf0e[_0x5067('0xec')],_0x203623);}});}),this[_0x5067('0x94')][_0x5067('0x150')]('attribute:join',_0x564870);}}function Tt(_0x498e36,_0x24e3b1,_0x55b3e2){for(const _0x1b6eb7 of _0x24e3b1[_0x5067('0x109')][_0x5067('0x96')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1b6eb7[_0x5067('0x14d')]==_0x1b6eb7)return!0x1;if(!_0x55b3e2['containsItem'](_0x1b6eb7))return!0x1;if(_0x498e36[_0x5067('0x47')](_0x1b6eb7)||_0x498e36['isLimit'](_0x1b6eb7))return!0x0;}return!0x1;}function xt(_0x1885fb){return _0x1885fb[_0x5067('0x5a')][_0x5067('0x109')]==_0x1885fb[_0x5067('0xe')][_0x5067('0xc5')]&&_0x1885fb[_0x5067('0x5a')][_0x5067('0xa0')];}function Et(_0x3eda7b,_0xefe71e,_0x4cbe15,_0x9e7e60){const _0x3a33bf=_0x43b2d8=>!_0x43b2d8[_0x5067('0x7e')]['is'](_0x5067('0x6f'))&&!_0x9e7e60[_0x5067('0x47')](_0x43b2d8[_0x5067('0x7e')]),_0x5a494d=_0x3eda7b[_0x5067('0xe')][_0x5067('0x11c')](_0x3a33bf),_0x32edc4=_0x3eda7b[_0x5067('0x5a')]['getLastMatchingPosition'](_0x3a33bf,{'direction':_0x5067('0x100')});return(!_0x3eda7b[_0x5067('0xe')]['isEqual'](_0x5a494d)||!_0x3eda7b[_0x5067('0x5a')]['isEqual'](_0x32edc4))&&(_0x5a494d[_0x5067('0x11a')](_0x32edc4)?_0x4cbe15[_0x5067('0xeb')](_0xefe71e,{'range':_0x4cbe15[_0x5067('0x80')](_0x5a494d,_0x32edc4)}):_0x4cbe15[_0x5067('0xc0')](_0xefe71e),!0x0);}function Rt(_0x329679){return _0x3e3341(_0x329679);}function jt(_0x2a6bdc){const _0x248a5c=_0x2a6bdc[_0x5067('0xe')][_0x5067('0xc5')];return _0x248a5c&&_0x248a5c['is']('element');}function Ut(_0x857ebf,_0x3dd834){const _0x4f140a=_0x3dd834[_0x5067('0x13a')][_0x5067('0x47')](_0x857ebf)||_0x3dd834[_0x5067('0x13a')][_0x5067('0x68')](_0x857ebf);return _0x3dd834['createRange'](_0x3dd834[_0x5067('0x9a')](_0x857ebf,_0x5067('0xc4')),_0x4f140a?_0x3dd834[_0x5067('0x118')](_0x857ebf):_0x3dd834[_0x5067('0x9a')](_0x857ebf,_0x5067('0x5a')));}function Ot(_0x24898c,_0x1c4baf,_0x39570c,_0x128049,_0x1ef854){if(!Vt(_0x24898c,_0x1c4baf))return!0x1;if(_0x39570c[_0x5067('0x5a')][_0x5067('0x12e')](_0x128049['start']))return!0x0;if(_0x24898c['type']!=_0x1c4baf[_0x5067('0x141')])return!0x1;if(!_0x39570c[_0x5067('0x5a')][_0x5067('0xda')](_0x128049[_0x5067('0xe')]))return!0x1;const _0x4a4ebb=_0x1ef854[_0x5067('0x80')](_0x39570c[_0x5067('0x5a')],_0x128049[_0x5067('0xe')])[_0x5067('0x70')]();for(const _0x318753 of _0x4a4ebb)if(['elementStart',_0x5067('0x174')][_0x5067('0xf5')](_0x318753[_0x5067('0x141')])&&_0x1ef854['schema'][_0x5067('0xca')](_0x318753[_0x5067('0x7e')]))return!0x1;return!0x0;}function Vt(_0x2d6663,_0x342b36){return!(!_0x2d6663[_0x5067('0x3b')]||!_0x342b36['_isDataLoaded'])&&_0x3875c5(_0x2d6663['attributes'],_0x342b36[_0x5067('0x2')]);}function Gt(_0x4ac758,_0x2329a7){const _0x2be2ef=Ft(_0x4ac758[_0x5067('0x2')]),_0x3434ee=Ft(_0x2329a7);if(!_0x4ac758[_0x5067('0x3b')])return!0x1;for(const _0x30ed4e of Object[_0x5067('0x6e')](_0x3434ee))if(!_0x3875c5(_0x2be2ef[_0x30ed4e],_0x3434ee[_0x30ed4e]))return!0x1;return!0x0;}function Ft(_0x53d47b){const _0x519b9b=Object[_0x5067('0x10f')]({},_0x53d47b);return delete _0x519b9b[_0x5067('0x4c')],delete _0x519b9b[_0x5067('0x154')],_0x519b9b;}function Pt(_0x3b3914){return _0x5067('0x36')==_0x3b3914['type']?_0x3b3914[_0x5067('0x128')][_0x5067('0x5b')]('|')[0x0]:null;}
23
+ const _0x22b5=['markers','getDifference','getFirstRange','attribute:discard','elementStart','_refreshAttributeSuggestionsChain','trackChangesCommand','_enableDefaultAttributesIntegration','getRange','addMarker','startsWith','isDocumentOperation','isRemovable','_checkSuggestionCorrectness','fromCharCode','element','isIntersectingWithRange','options','$marker','PENDING_ACTION_SUGGESTION','widget','insertContent','fromRange','CommentsRepository','isAtEnd','formatBlock:discard','_getMarkerAnnouncementText','unbindElementFromMarkerName','has','elementToElement','authoredAt','isUndo','containsPosition','enableCommand','markerToHighlight','bindElementToMarker','concat','createdAt','from','isNextTo','ENTER','insert','acceptAllSuggestions','editing','selection','originalSuggestionId','getShiftedBy','createPositionAt','change','substring','dataToMarker','format','after','before','enqueueChange','isAtStart','getUser','insertion:join','nodeAfter','schema','Users','_registerInlineAttribute','plugins','markerName','_defaultCallbacks','_setSuggestionData','oldRange','containsRange','attribute:accept','createSelection','notReady','newRange','sort','addUser','addCommentThread','init','track-changes-suggestion-not-found','pop','ready','deletion','length','markInsertion','trackChanges.trackFormatChanges','_initAriaMarkerChangeAnnouncements','remove','end','add','_handleNewSuggestionMarker','resolve','tablePasteChainId','_processAttributeSuggestions','next','group','dataReady','isInsideObject','changeAttribute','addMarker:suggestion','item','_suggestionState','_breakSuggestionMarker','trackChanges','splitPosition','getSuggestions','markMultiRangeInsertion','_suggestions','LEAVE','range','buildSuggestion','_customCallbacks','_registerBlockAttribute','showSuggestionHighlights','type','move','batch','markerToData','size','formatInline','_isForcedDefaultExecutionBlock','markerReady','join','_findSuggestions','discardSuggestion','$textProxy','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','getSuggestion','registerPostFixer','addSuggestion','removeMarkers','ck-suggestion-marker-formatInline','insertion','isLocal','chain','backward','TrackChangesEditing','insertion:accept','position','rename','isTouching','formatGroupId','default','detach','listenTo','getIntersection','_setSuggestionRange','_trackFormatChanges','refresh','_rangeIsInLocalUserInsertion','_enabledCommands','$elementName','ck-suggestion-marker-','getSuggestionCallback','ck-suggestion-marker-formatBlock','splice','setTo','subType','_descriptionFactory','setSelection','_onDiscard','isIntersecting','suggestion:','marker-count','removeAttribute','isBefore','map','deleteContent','documentSelection','split','_updateSuggestionData','model','_model','_commentsRepository','_refreshSuggestionsChain','commandName','filter','_inlineAttributeKeys','attribute:join','track-changes-user-not-found','hasSuggestion','differ','addMarker:suggestion:attribute','deletion:join','markDeletion','discardAllSuggestions','open','toUpperCase','_SUGGESTION_ANNOUNCEMENT','formatInline:discard','getMultiRangeId','high','_reduceSuggestionAttributeRange','formatInline:','moveTargetPosition','insertion:','authorName','track-changes-adapter-missing-getsuggestion','$text','addComment','isObject','keys','getAttribute','forceDefaultExecution','oldValue','registerCustomCallback','suggestion-type','isAfter','hasComments','change:data','_createSuggestion','newValue','_recordAttributeChanges','@external','_getSuggestionData','insertion:chain','isEqual','execute','_joinSuggestions','_reduceExistingSuggestions','suggestionLoaded','getLastMatchingPosition','markMultiRangeBlockFormat','_addThreadToSuggestion','acceptSelectedSuggestions','isLimit','formatInline:accept','addClass','getNearestSelectionRange','howMany','isInContent','editor','_processAttributeChanges','then','activeMarkers','highest','conversion','getChangedMarkers','rejected','meta','for','warn','isBlock','nodeBefore','never','announce','stop','forEach','removeMarker','assign','markMultiRangeDeletion','getCustomProperty','clear','addHighlight','_editor','_suggestionFactory','ck-suggestion-marker--active','mapper','value','isOwn','trackChanges.mergeNestedSuggestions','attributeKey','markAttributeChange','_removeSuggestion','find','accepted','suggestionChanged','addSuggestionData','creator','_addSuggestionMarker','document','createPositionBefore','isMultiRange','markerNameToElements','_isBlockAttribute','_adapter','set','change:_saved','_registerDefaultCallbacks','track-changes-command-not-found','name','markInlineFormat','setAttribute','getRanges','parent','suggestion','editingDowncast','groupId','deletion:','attributes','consumable','collaboration.channelId','some','formatInline:chain','error-saving-suggestion-data-suggestion-discarded','getWalker','isSelectable','commands','getFirstMarker','writer','isExternal','rootName','enableReadOnlyMode','createPositionAfter','delete','config','removeMarker:suggestion:formatBlock','low','stopListening','ck-suggestion-marker','includes','FORMATTING','markBlockFormat','PendingActions','applyOperation','upcast','createRange','$graveyard','normal','addRange','_isDataLoaded','lowest','data','formatBlock','createElement','consume','removeClass','data-suggestion','getItems','key','multipleBlocks','containsRangeInObject','start','requires','removeMarker:suggestion:attribute','root','_splitMarkerName','_joinWithAdjacentSuggestions','get','isCollapsed','removed','formatBlock:accept','newName','_blockAttributeKeys','acceptSuggestion','addMarker:suggestion:formatBlock','addMarkerName','every','deletion:discard','dataDowncast','attribute','accept','define','_mergeNestedSuggestions','author','_cutOutSuggestionMarker','updateSuggestion','toViewElement','_recordAttributeSuggestionsFromVersion','discard','values','deletion:chain','getAllAdjacentSuggestions','commentThread','updateMarker','always','update:suggestion','history','multi','fire','return','formatBlock:join','previous','push','locale','skipNestingCheck','discardSelectedSuggestions','_getAuthorFromId','comments','catch'];(function(_0x1ec929,_0x22b5ba){const _0x388092=function(_0x309615){while(--_0x309615){_0x1ec929['push'](_0x1ec929['shift']());}};_0x388092(++_0x22b5ba);}(_0x22b5,0xe5));const _0x3880=function(_0x1ec929,_0x22b5ba){_0x1ec929=_0x1ec929-0x0;let _0x388092=_0x22b5[_0x1ec929];return _0x388092;};import{Plugin as _0x5a673e,PendingActions as _0x1b4e23}from'ckeditor5/src/core';import{LiveRange as _0x2595e6}from'ckeditor5/src/engine';import{CKEditorError as _0x6be0f0,uid as _0x5396c2,priorities as _0x3b6973,logWarning as _0x54d3bf}from'ckeditor5/src/utils';import{toWidget as _0x498b5e}from'ckeditor5/src/widget';import{Users as _0x42bde0,hashObject as _0x29eae1,surroundingMarkersDetector as _0x24b154}from'ckeditor5-collaboration/src/collaboration-core';import _0x2fe3c5 from'./commands/trackchangescommand';import _0x3b9859 from'./commands/acceptsuggestioncommand';import _0x106d4d from'./commands/discardsuggestioncommand';import _0x47f0a8 from'./commands/executeonallsuggestionscommand';import _0x46f23d from'./commands/executeonselectedsuggestionscommand';import _0x256f0e from'./suggestion';import _0x55cf88 from'./suggestiondescriptionfactory';import _0x49c82e from'./integrations/aiassistant';import _0x230b78 from'./integrations/alignment';import _0xe23a10 from'./integrations/basicstyles';import _0x348368 from'./integrations/blockquote';import _0x2fddb5 from'./integrations/ckbox';import _0x2c671f from'./integrations/codeblock';import _0x1a2ac4 from'./integrations/comments';import _0x28d2da from'./integrations/deletecommand';import _0x44b02c from'./integrations/documentlist';import _0x41719a from'./integrations/documentlistproperties';import _0x2044d5 from'./integrations/entercommand';import _0x500a83 from'./integrations/findandreplace';import _0x263233 from'./integrations/font';import _0x45151e from'./integrations/formatpainter';import _0x3522da from'./integrations/heading';import _0x24fed8 from'./integrations/highlight';import _0x2810f8 from'./integrations/horizontalline';import _0x302e3b from'./integrations/htmlembed';import _0x3030de from'./integrations/image';import _0x409593 from'./integrations/imagereplace';import _0x1b2feb from'./integrations/imagestyle';import _0x3aae38 from'./integrations/importword';import _0x481e90 from'./integrations/indent';import _0x9c2202 from'./integrations/inputcommand';import _0x38bb0c from'./integrations/link';import _0x4ea6cd from'./integrations/list';import _0xd9fce5 from'./integrations/listproperties';import _0x1a4ed4 from'./integrations/mediaembed';import _0x46eade from'./integrations/mention';import _0x1e8843 from'./integrations/pagebreak';import _0x15e022 from'./integrations/paragraph';import _0x382b2b from'./integrations/removeformat';import _0x49cbc0 from'./integrations/restrictededitingmode';import _0x425c25 from'./integrations/shiftentercommand';import _0x41bfc3 from'./integrations/standardeditingmode';import _0x51ae0b from'./integrations/style';import _0x33cf7f from'./integrations/table';import _0x28c10c from'./integrations/tablemergesplit';import _0xc24c73 from'./integrations/tableheadings';import _0x2b6224 from'./integrations/tableclipboard';import _0x5b7f7d from'./integrations/tablecolumnresize';import _0x43a64c from'./integrations/template';import _0x355a7e from'./integrations/tableofcontents';import _0x2830be from'./integrations/title';import _0x53b439 from'./integrations/undo';import _0x34a2fc from'./integrations/tablecaption';import _0x253e69 from'./integrations/tableproperties';import{getTranslation as _0x33b9cf}from'./utils/common-translations';import{isEqual as _0x29860a,omit as _0x45df73}from'lodash-es';export const renameAttributeKey=_0x3880('0x128');export default class p extends _0x5a673e{static get[_0x3880('0x65')](){return['CommentsRepository',_0x42bde0,_0x1b4e23,_0x49c82e,_0x230b78,_0xe23a10,_0x348368,_0x2fddb5,_0x2c671f,_0x1a2ac4,_0x28d2da,_0x44b02c,_0x41719a,_0x2044d5,_0x500a83,_0x263233,_0x45151e,_0x3522da,_0x24fed8,_0x2810f8,_0x302e3b,_0x3030de,_0x1b2feb,_0x409593,_0x3aae38,_0x481e90,_0x9c2202,_0x38bb0c,_0x4ea6cd,_0xd9fce5,_0x1a4ed4,_0x46eade,_0x1e8843,_0x15e022,_0x382b2b,_0x49cbc0,_0x425c25,_0x41bfc3,_0x51ae0b,_0x33cf7f,_0x28c10c,_0xc24c73,_0x34a2fc,_0x2b6224,_0x5b7f7d,_0x355a7e,_0x253e69,_0x43a64c,_0x2830be,_0x53b439];}static get['pluginName'](){return _0x3880('0x119');}constructor(_0x2d86f8){function _0x4ecdac(_0x1b14ad){return _0x1b14ad[_0x3880('0x137')](_0x4b5ff0=>String[_0x3880('0xa2')](_0x4b5ff0))[_0x3880('0x10b')]('');}super(_0x2d86f8),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x3880('0x2c')](_0x3880('0x2'),[]),this['on']('change:activeMarkers',(_0x5292c9,_0xc5336,_0x3f174f,_0x2632f6)=>{this[_0x3880('0x13d')]['change'](()=>{for(const _0x206ce8 of[..._0x2632f6,..._0x3f174f])this[_0x3880('0x13d')]['markers'][_0x3880('0xb0')](_0x206ce8)&&_0x2d86f8[_0x3880('0xbf')]['reconvertMarker'](_0x206ce8);});}),this[_0x3880('0x12f')]=new _0x55cf88(this[_0x3880('0x178')][_0x3880('0x13c')][_0x3880('0xcf')],this[_0x3880('0x178')][_0x3880('0x8e')]),this[_0x3880('0x2b')]=null,this[_0x3880('0x17')]=new Bt(this[_0x3880('0x178')]),this['_suggestions']=new Map(),this[_0x3880('0x13e')]=_0x2d86f8['plugins'][_0x3880('0x6a')](_0x3880('0xab')),this[_0x3880('0x127')]=new Set(),this[_0x3880('0x13d')]=this[_0x3880('0x178')][_0x3880('0x13c')],this['_suggestionState']=new WeakMap(),this[_0x3880('0x109')]=!0x1,this[_0x3880('0x6f')]=new Set([_0x3880('0x128')]),this[_0x3880('0x142')]=new Set(),_0x2d86f8[_0x3880('0x49')][_0x3880('0x78')]('trackChanges.trackFormatChanges',_0x3880('0x11f')),this['_trackFormatChanges']=_0x2d86f8[_0x3880('0x49')][_0x3880('0x6a')](_0x3880('0xe6')),_0x2d86f8['config'][_0x3880('0x78')](_0x3880('0x1c'),!0x0),this[_0x3880('0x79')]=_0x2d86f8['config']['get']('trackChanges.mergeNestedSuggestions'),this[_0x3880('0x9a')]=new _0x2fe3c5(_0x2d86f8,this[_0x3880('0x127')]),this[_0x3880('0xe7')](),this[_0x4ecdac([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4ecdac([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x36]);}[_0x3880('0xdf')](){const _0x5ed81e=this[_0x3880('0x178')],_0x4c6b4d=(_0x68ae3,_0x9d88cf)=>{if(_0x3880('0x76')!=_0x68ae3)return _0x3880('0x129')+_0x68ae3;const _0x5b6f5b=_0x9d88cf[_0x3880('0x13a')]('|')[0x0];return this['_isBlockAttribute'](_0x5b6f5b)?_0x3880('0x12b'):_0x3880('0x114');};_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x36'))['markerToHighlight']({'model':_0x3880('0x35'),'view':_0x537d82=>{const {id:_0x18d599,type:_0x2d5140,subType:_0x5880f0}=this[_0x3880('0x68')](_0x537d82[_0x3880('0xd3')]),_0x1bfe95=['ck-suggestion-marker',_0x4c6b4d(_0x2d5140,_0x5880f0)];let _0x19d152=0xbb8;return this[_0x3880('0x2')][_0x3880('0x4e')](_0x537d82['markerName'])&&(_0x1bfe95[_0x3880('0x8d')]('ck-suggestion-marker--active'),_0x19d152=0xbc2),'deletion'==_0x2d5140&&(_0x19d152+=0x5),{'classes':_0x1bfe95,'attributes':{'data-suggestion':_0x18d599},'priority':_0x19d152};}}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))['add'](_0x44ebc3=>{_0x44ebc3['on'](_0x3880('0xf4'),(_0xb5576f,_0x254fe5,_0x1b90eb)=>{if(!_0x1b90eb[_0x3880('0xa5')][_0x3880('0x102')])return;const _0xbfc25e=_0x254fe5[_0x3880('0xf5')];if(!_0xbfc25e)return;const _0x4a924d=_0x1b90eb[_0x3880('0x19')][_0x3880('0x7d')](_0xbfc25e);_0x5ed81e[_0x3880('0x13c')]['schema'][_0x3880('0x159')](_0xbfc25e)&&_0x4a924d&&!_0x4a924d['getCustomProperty'](_0x3880('0xa8'))&&_0x4a924d['is']('containerElement')&&_0x498b5e(_0x4a924d,_0x1b90eb['writer']);},{'priority':_0x3880('0x150')});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))[_0x3880('0xb6')]({'model':_0x3880('0x35'),'view':(_0x2b175,_0x152d6b)=>{if(!_0x152d6b[_0x3880('0xa5')][_0x3880('0x102')])return null;const {type:_0x34bef8,subType:_0x3e50b2}=this[_0x3880('0x68')](_0x2b175[_0x3880('0xd3')]);return{'classes':[_0x3880('0x4d'),_0x4c6b4d(_0x34bef8,_0x3e50b2)],'priority':0xbb8};}});const _0x4a1f9f=({showActiveMarkers:_0x221356=!0x0,isAttributeSuggestion:_0x2f5575=!0x1}={})=>(_0x4aca38,_0x5b83c1,_0x2d109f)=>{if(!_0x5b83c1[_0x3880('0xf5')])return;const {id:_0x526e27}=this['_splitMarkerName'](_0x5b83c1[_0x3880('0xd3')]);if(_0x2f5575){const _0x247083=Pt(this[_0x3880('0xfc')][_0x3880('0x6a')](_0x526e27));if(!this['_isBlockAttribute'](_0x247083))return;}if(_0x5b83c1[_0x3880('0xf5')]['is']('selection'))return void _0x2d109f[_0x3880('0x3a')][_0x3880('0x5d')](_0x5b83c1[_0x3880('0xf5')],_0x4aca38[_0x3880('0x30')]);const _0x57c24b=_0x2d109f[_0x3880('0x19')][_0x3880('0x7d')](_0x5b83c1['item']);if(_0x5b83c1[_0x3880('0xf5')]['is'](_0x3880('0xa3'))&&_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')][_0x3880('0xa')](_0x5b83c1['item'])&&!_0x57c24b['getCustomProperty'](_0x3880('0x15'))){_0x2d109f[_0x3880('0x43')]['addClass'](['ck-suggestion-marker',_0x3880('0x12b')],_0x57c24b),_0x2d109f[_0x3880('0x43')][_0x3880('0x32')](_0x3880('0x5f'),_0x526e27,_0x57c24b),_0x2d109f[_0x3880('0x19')][_0x3880('0xb7')](_0x57c24b,_0x5b83c1[_0x3880('0xd3')]),_0x221356&&(this[_0x3880('0x2')][_0x3880('0x4e')](_0x5b83c1[_0x3880('0xd3')])?_0x2d109f[_0x3880('0x43')][_0x3880('0x174')](_0x3880('0x18'),_0x57c24b):_0x2d109f[_0x3880('0x43')][_0x3880('0x5e')](_0x3880('0x18'),_0x57c24b));for(const _0x36493f of _0x5ed81e[_0x3880('0x13c')]['createRangeIn'](_0x5b83c1['item'])[_0x3880('0x60')]())_0x2d109f[_0x3880('0x3a')]['consume'](_0x36493f,_0x4aca38[_0x3880('0x30')]);_0x2d109f['consumable'][_0x3880('0x5d')](_0x5b83c1[_0x3880('0xf5')],_0x4aca38[_0x3880('0x30')]);}};_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))[_0x3880('0xea')](_0x32a456=>{_0x32a456['on'](_0x3880('0x71'),(_0x6564ca,_0x24de77,_0x13f80b)=>{_0x13f80b[_0x3880('0xa5')][_0x3880('0x102')]&&_0x4a1f9f({'showActiveMarkers':!0x1})(_0x6564ca,_0x24de77,_0x13f80b);},{'priority':'highest'});}),_0x5ed81e[_0x3880('0x4')]['for']('dataDowncast')[_0x3880('0xea')](_0x47d7d9=>{_0x47d7d9['on'](_0x3880('0x147'),(_0x22a306,_0x339d5b,_0x757400)=>{_0x757400['options']['showSuggestionHighlights']&&_0x4a1f9f({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x22a306,_0x339d5b,_0x757400);},{'priority':_0x3880('0x3')});}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x75'))[_0x3880('0x106')]({'model':_0x3880('0x35'),'view':(_0x4db86e,_0x23f31f)=>_0x23f31f['options'][_0x3880('0x102')]?null:{'group':'suggestion','name':_0x4db86e['substr'](0xb)}}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x53'))[_0x3880('0xb1')]({'view':{'name':_0x3880('0x35'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x379cba,{writer:_0x47524e})=>{let _0x5b9178=_0x3880('0x133')+_0x379cba[_0x3880('0x15b')](_0x3880('0x15f'))+':'+_0x379cba[_0x3880('0x15b')]('id');return _0x379cba[_0x3880('0x15b')](_0x3880('0x134'))&&(_0x5b9178+=':'+_0x379cba[_0x3880('0x15b')](_0x3880('0x134'))),_0x47524e[_0x3880('0x5c')](_0x3880('0xa6'),{'data-name':_0x5b9178});}}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x53'))[_0x3880('0xc6')]({'view':'suggestion'}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x36'))[_0x3880('0xea')](_0x25e5af=>{_0x25e5af['on'](_0x3880('0x71'),_0x4a1f9f(),{'priority':'high'});}),_0x5ed81e['conversion'][_0x3880('0x8')](_0x3880('0x36'))['add'](_0x38e79c=>{_0x38e79c['on']('addMarker:suggestion:attribute',_0x4a1f9f({'isAttributeSuggestion':!0x0}),{'priority':_0x3880('0x150')});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x36'))[_0x3880('0xea')](_0x3555e3=>{_0x3555e3['on'](_0x3880('0x4a'),(_0x36a55c,_0x30cdba,_0x22759e)=>{const _0x244dbc=_0x22759e[_0x3880('0x19')][_0x3880('0x29')](_0x30cdba['markerName']);if(_0x244dbc)for(const _0x3d624c of _0x244dbc)_0x3d624c[_0x3880('0x13')]('addHighlight')||(_0x22759e[_0x3880('0x43')]['removeClass']([_0x3880('0x4d'),'ck-suggestion-marker-formatBlock',_0x3880('0x18')],_0x3d624c),_0x22759e['writer']['removeAttribute']('data-suggestion',_0x3d624c),_0x22759e['mapper'][_0x3880('0xaf')](_0x3d624c,_0x30cdba[_0x3880('0xd3')]));},{'priority':'high'});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x36'))[_0x3880('0xea')](_0x532b6c=>{_0x532b6c['on'](_0x3880('0x66'),(_0x510cf8,_0x5bb5c3,_0x2092d9)=>{const _0x5ccf0f=_0x2092d9['mapper'][_0x3880('0x29')](_0x5bb5c3['markerName']);if(!_0x5ccf0f)return;const {id:_0x47e136}=this[_0x3880('0x68')](_0x5bb5c3[_0x3880('0xd3')]),_0x1cfe57=Pt(this[_0x3880('0xfc')][_0x3880('0x6a')](_0x47e136));if(this[_0x3880('0x2a')](_0x1cfe57))for(const _0x50fb0c of _0x5ccf0f)_0x50fb0c[_0x3880('0x13')](_0x3880('0x15'))||(_0x2092d9[_0x3880('0x43')][_0x3880('0x5e')]([_0x3880('0x4d'),_0x3880('0x12b'),_0x3880('0x18')],_0x50fb0c),_0x2092d9[_0x3880('0x43')]['removeAttribute'](_0x3880('0x5f'),_0x50fb0c),_0x2092d9[_0x3880('0x19')]['unbindElementFromMarkerName'](_0x50fb0c,_0x5bb5c3['markerName']));},{'priority':_0x3880('0x150')});}),_0x5ed81e['model'][_0x3880('0x26')][_0x3880('0x111')](_0x3fc693=>{let _0x3cd36f=!0x1;const _0x223fc8=Array[_0x3880('0xba')](_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')]['differ']['getChangedMarkers']()),_0xaa7a94=new Set();for(const {name:_0x26d8b2,data:_0x4177f3}of _0x223fc8){const {group:_0x100590,type:_0x178be6,subType:_0x23c56e,id:_0x1884bf}=this[_0x3880('0x68')](_0x26d8b2);if('suggestion'!==_0x100590)continue;const _0x1e148f=this[_0x3880('0xfc')]['get'](_0x1884bf);if(null!=_0x4177f3[_0x3880('0xdb')]){_0x3880('0x108')==_0x178be6&&(_0x3cd36f=_0x3cd36f||Et(_0x4177f3[_0x3880('0xdb')],_0x26d8b2,_0x3fc693,_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')]));const _0x2424a9='attribute'==_0x178be6&&this[_0x3880('0x2a')](_0x23c56e[_0x3880('0x13a')]('|')[0x0]);if(_0x4177f3[_0x3880('0xdb')][_0x3880('0x6b')]||_0x3880('0x55')==_0x4177f3[_0x3880('0xdb')][_0x3880('0x67')][_0x3880('0x45')]||_0x3880('0x5b')==_0x178be6&&!jt(_0x4177f3[_0x3880('0xdb')])||_0x2424a9&&!jt(_0x4177f3[_0x3880('0xdb')])||_0x3880('0xe3')==_0x178be6&&!(!xt(_0xd1fbb6=_0x4177f3[_0x3880('0xdb')])&&!function(_0x5b7ec6){return _0x5b7ec6['start']['parent']==_0x5b7ec6[_0x3880('0xe9')]['nodeBefore']&&_0x5b7ec6[_0x3880('0x64')][_0x3880('0xac')];}(_0xd1fbb6)))_0x3fc693[_0x3880('0x10')](_0x26d8b2),_0x3cd36f=!0x0;else{if(!_0x1e148f||!_0x1e148f[_0x3880('0x177')])continue;_0xaa7a94[_0x3880('0xea')](_0x1e148f);}}}var _0xd1fbb6;return _0xaa7a94[_0x3880('0x107')]>0x0&&(_0x3cd36f=!!this[_0x3880('0x69')](_0xaa7a94)||_0x3cd36f),_0x3cd36f;}),_0x5ed81e[_0x3880('0x13c')]['document'][_0x3880('0x111')](_0x32e2e6=>{let _0x434aa4=!0x1;for(const _0x4b7ea6 of _0x5ed81e['model']['document'][_0x3880('0x146')]['getChanges']())if(_0x3880('0xbd')==_0x4b7ea6['type'])for(const _0x33bcb9 of this['_suggestions'][_0x3880('0x80')]()){if(_0x33bcb9[_0x3880('0x28')]||!_0x33bcb9[_0x3880('0x177')])continue;const _0x13582b=_0x3880('0x5b')==_0x33bcb9[_0x3880('0x103')],_0x5c5419=Pt(_0x33bcb9),_0x159a1e=_0x5c5419&&this[_0x3880('0x2a')](_0x5c5419);if(!_0x13582b&&!_0x159a1e)continue;const _0x401704=_0x33bcb9['getFirstRange']();if(_0x401704[_0x3880('0x64')][_0x3880('0x34')]!=_0x401704['end'][_0x3880('0x34')]&&!_0x401704[_0x3880('0xe9')]['isAtEnd']){const _0x4de8fb=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc3')](_0x401704['start']['nodeAfter'],_0x3880('0xe9')),_0x5ce7b5=_0x5ed81e[_0x3880('0x13c')][_0x3880('0x54')](_0x401704[_0x3880('0x64')],_0x4de8fb);_0x32e2e6['updateMarker'](_0x33bcb9[_0x3880('0x42')](),{'range':_0x5ce7b5}),_0x434aa4=!0x0;}}return _0x434aa4;}),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x111')](_0x316038=>this[_0x3880('0x0')](_0x316038)),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x111')](_0x5661a3=>!_0x5661a3[_0x3880('0x105')][_0x3880('0x116')]&&this[_0x3880('0xee')](_0x5661a3)),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x94')]['on'](_0x3880('0x86'),(_0x2a5a65,_0x1f8608,_0x28ebfc)=>{if(null==_0x28ebfc){const {id:_0xda830c}=this[_0x3880('0x68')](_0x1f8608[_0x3880('0x30')]),_0x451b6a=this[_0x3880('0xfc')][_0x3880('0x6a')](_0xda830c);_0x451b6a&&_0x451b6a[_0x3880('0x72')](_0x1f8608[_0x3880('0x30')]);}}),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')]['on'](_0x3880('0x162'),()=>{const _0x514f84=Array[_0x3880('0xba')](_0x5ed81e[_0x3880('0x13c')]['document'][_0x3880('0x146')][_0x3880('0x5')]())[_0x3880('0x141')](_0x2ec52a=>'suggestion'===this[_0x3880('0x68')](_0x2ec52a[_0x3880('0x30')])[_0x3880('0xf0')]);if(0x0===_0x514f84[_0x3880('0xe4')])return;_0x514f84['sort']((_0x4d8fd7,_0x46f92b)=>{const _0xfb9c14=_0x4d8fd7[_0x3880('0x5a')]['oldRange'],_0x5a9a3a=_0x46f92b[_0x3880('0x5a')][_0x3880('0xd6')];return null===_0xfb9c14&&null===_0x5a9a3a?0x0:null===_0xfb9c14&&null!==_0x5a9a3a?-0x1:null!==_0xfb9c14&&null===_0x5a9a3a?0x1:_0xfb9c14[_0x3880('0x64')]['isBefore'](_0x5a9a3a[_0x3880('0x64')])?-0x1:0x1;});const _0x22a1cd=new Set(),_0x36db65=new Set();for(const {name:_0x475c3a,data:_0x36f0c6}of _0x514f84){const {id:_0x334361}=this[_0x3880('0x68')](_0x475c3a);if(null===_0x36f0c6[_0x3880('0xd6')]){const _0x2b1305=this[_0x3880('0xeb')](_0x475c3a);_0x36db65[_0x3880('0xea')](_0x2b1305);}else{const _0x5e4fb6=this['_suggestions'][_0x3880('0x6a')](_0x334361);null!==_0x36f0c6['newRange']||_0x5e4fb6[_0x3880('0x177')]?(_0x22a1cd['add'](_0x5e4fb6['head']),_0x36db65[_0x3880('0xea')](_0x5e4fb6)):this[_0x3880('0x1f')](_0x5e4fb6);}}_0x36db65[_0x3880('0x107')]>0x0&&this['_refreshSuggestionsChain'](_0x36db65);for(const _0x66f932 of _0x22a1cd)this[_0x3880('0x89')](_0x3880('0x22'),_0x66f932);}),_0x5ed81e[_0x3880('0x13c')]['on'](_0x3880('0x52'),(_0x1388de,_0x2f5550)=>{const _0x1eaf36=_0x2f5550[0x0];if(!this[_0x3880('0xfc')][_0x3880('0x107')])return;if(!_0x1eaf36[_0x3880('0x9f')])return;if(_0x1eaf36[_0x3880('0x105')][_0x3880('0xb3')]||!_0x1eaf36['batch'][_0x3880('0x116')])return;let _0x5b0a5b,_0x321e1f;switch(_0x1eaf36[_0x3880('0x103')]){case _0x3880('0xbd'):_0x5b0a5b=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc3')](_0x1eaf36[_0x3880('0x11b')]),_0x321e1f=_0x5b0a5b[_0x3880('0xc2')](_0x1eaf36[_0x3880('0x176')]);break;case'split':_0x5b0a5b=_0x5ed81e['model'][_0x3880('0xc3')](_0x1eaf36[_0x3880('0xf9')]),_0x321e1f=_0x5ed81e['model'][_0x3880('0xc3')](_0x1eaf36[_0x3880('0x153')]);break;case _0x3880('0x104'):_0x5b0a5b=_0x5ed81e[_0x3880('0x13c')]['createPositionAt'](_0x1eaf36['targetPosition']),_0x321e1f=_0x5b0a5b['getShiftedBy'](_0x1eaf36[_0x3880('0x176')]);break;default:return;}const _0xd5b3bb=_0x5ed81e[_0x3880('0x13c')][_0x3880('0x54')](_0x5b0a5b,_0x321e1f);_0x5ed81e[_0x3880('0x13c')]['change'](()=>{for(const {suggestion:_0x47e4f3,meta:_0x371c8e}of this[_0x3880('0x10c')](_0xd5b3bb)){if(_0x47e4f3[_0x3880('0x28')])continue;if(_0x3880('0x108')==_0x47e4f3[_0x3880('0x103')])continue;const _0x2701ed=Pt(_0x47e4f3);if(_0x2701ed&&this[_0x3880('0x2a')](_0x2701ed)&&_0x3880('0x13a')!=_0x1eaf36[_0x3880('0x103')])continue;const _0x13790e=_0x47e4f3[_0x3880('0x5a')]&&_0x47e4f3[_0x3880('0x5a')][_0x3880('0x62')];(_0x3880('0x5b')!=_0x47e4f3[_0x3880('0x103')]||_0x3880('0x13a')==_0x1eaf36[_0x3880('0x103')]&&!_0x13790e)&&(_0x371c8e[_0x3880('0x63')]||'insertion'==_0x47e4f3[_0x3880('0x103')]&&_0x371c8e[_0x3880('0x1b')]||_0x47e4f3[_0x3880('0x96')]()[_0x3880('0xd7')](_0xd5b3bb)&&this[_0x3880('0xf7')](_0x47e4f3,_0x5b0a5b,_0x321e1f));}});},{'priority':_0x3880('0x59')}),_0x5ed81e['model']['on'](_0x3880('0x138'),(_0x36058f,_0xa53254)=>{const _0x10df3c=_0xa53254[0x0],_0x1a79a6=_0xa53254[0x1];if(_0x1a79a6&&_0x1a79a6[_0x3880('0x15c')])return;if(this[_0x3880('0x109')])return;if(!this[_0x3880('0x9a')][_0x3880('0x1a')])return;if(_0x10df3c['isCollapsed'])return;const _0x2888b8=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')],{start:_0x43687a,end:_0x36e323}=_0x10df3c['getFirstRange'](),_0x36d8ae=_0x43687a[_0x3880('0xce')]&&_0x2888b8[_0x3880('0x172')](_0x43687a['nodeAfter'])?null:_0x2888b8[_0x3880('0x175')](_0x43687a,'forward'),_0x1588a3=_0x36e323[_0x3880('0xb')]&&_0x2888b8[_0x3880('0x172')](_0x36e323[_0x3880('0xb')])?null:_0x2888b8[_0x3880('0x175')](_0x36e323,'backward'),_0x1baaa6=_0x5ed81e['model']['createRange'](_0x36d8ae?_0x36d8ae[_0x3880('0x64')]:_0x43687a,_0x1588a3?_0x1588a3['end']:_0x36e323);_0x5ed81e['model'][_0x3880('0xc4')](_0x50aa4b=>{this['markDeletion'](_0x1baaa6);const _0x5f0363=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')][_0x3880('0x175')](_0x1baaa6[_0x3880('0x64')]);_0x10df3c['is'](_0x3880('0x139'))?_0x50aa4b['setSelection'](_0x5f0363):_0x10df3c[_0x3880('0x12d')](_0x5f0363);}),_0x36058f['stop']();},{'priority':_0x3b6973[_0x3880('0x56')]+0xa}),_0x5ed81e[_0x3880('0x13c')]['on'](_0x3880('0xa9'),(_0x1944ea,_0x62baa7)=>{const _0x52765b=_0x62baa7[_0x62baa7[_0x3880('0xe4')]-0x1];_0x52765b&&_0x52765b['forceDefaultExecution']||this[_0x3880('0x109')]||this[_0x3880('0x9a')]['value']&&(_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc4')](()=>{let _0x328d0c=_0x5ed81e['model'][_0x3880('0xa9')](_0x62baa7[0x0],_0x62baa7[0x1],_0x62baa7[0x2],{'forceDefaultExecution':!0x0});if(!_0x328d0c)return;_0x1944ea[_0x3880('0x8a')]=_0x328d0c['clone']();const _0x24fc82=_0x328d0c[_0x3880('0xe9')][_0x3880('0xb')],_0x2372d9=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')];_0x24fc82&&_0x2372d9[_0x3880('0xa')](_0x24fc82)&&!_0x2372d9[_0x3880('0x159')](_0x24fc82)&&(_0x328d0c=_0x5ed81e[_0x3880('0x13c')]['createRange'](_0x328d0c[_0x3880('0x64')],_0x5ed81e['model'][_0x3880('0xc3')](_0x24fc82,_0x3880('0xe9')))),this[_0x3880('0xe5')](_0x328d0c);}),_0x1944ea[_0x3880('0xe')]());},{'priority':'high'}),this['editor'][_0x3880('0x41')][_0x3880('0xea')](_0x3880('0xf8'),this[_0x3880('0x9a')]),this[_0x3880('0xb5')](_0x3880('0xf8'));const _0x5e3f0a=new _0x3b9859(_0x5ed81e,this[_0x3880('0xfc')]);_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')]('acceptSuggestion',_0x5e3f0a),this[_0x3880('0xb5')]('acceptSuggestion');const _0x46937b=new _0x106d4d(_0x5ed81e,this[_0x3880('0xfc')]);_0x5ed81e['commands']['add']('discardSuggestion',_0x46937b),this['enableCommand'](_0x3880('0x10d')),_0x5ed81e[_0x3880('0x41')]['add'](_0x3880('0xbe'),new _0x47f0a8(_0x5ed81e,_0x5e3f0a,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0xbe')),_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')](_0x3880('0x14a'),new _0x47f0a8(_0x5ed81e,_0x46937b,this['_suggestions'])),this[_0x3880('0xb5')](_0x3880('0x14a')),_0x5ed81e['commands'][_0x3880('0xea')](_0x3880('0x171'),new _0x46f23d(_0x5ed81e,_0x5e3f0a,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0x171')),_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')](_0x3880('0x90'),new _0x46f23d(_0x5ed81e,_0x46937b,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0x90'));const _0x59dab4=_0x5ed81e[_0x3880('0xd2')][_0x3880('0x6a')]('CommentsRepository');this['listenTo'](_0x59dab4,_0x3880('0x158'),(_0x58f76b,{threadId:_0x2ee802})=>{const _0x1cf9ec=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x2ee802);_0x1cf9ec&&_0x1cf9ec[_0x3880('0x83')]&&0x1===_0x1cf9ec[_0x3880('0x83')]['length']&&this['_updateSuggestionData'](_0x2ee802,{'hasComments':!0x0});},{'priority':'low'}),this[_0x3880('0x121')](_0x59dab4,'removeComment',(_0x10e36d,{threadId:_0x11b0bf})=>{const _0x2d46ec=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x11b0bf);_0x2d46ec&&_0x2d46ec[_0x3880('0x83')]&&!_0x2d46ec[_0x3880('0x83')][_0x3880('0xe4')]&&this[_0x3880('0x13b')](_0x11b0bf,{'hasComments':!0x1});},{'priority':_0x3880('0x4b')});}set['adapter'](_0x3dac06){if(this[_0x3880('0x2b')])throw new _0x6be0f0('track-changes-adapter-already-set',this);this[_0x3880('0x2b')]=_0x3dac06;}get['adapter'](){return this[_0x3880('0x2b')];}[_0x3880('0xfa')]({skipNotAttached:_0x2dae49=!0x1,toJSON:_0x4d3e9c=!0x1}={}){const _0x33f09d=[];for(const _0x516553 of this['_suggestions'][_0x3880('0x80')]())_0x2dae49&&!_0x516553[_0x3880('0x177')]||_0x33f09d[_0x3880('0x8d')](_0x516553);return _0x4d3e9c?_0x33f09d[_0x3880('0x137')](_0x4d7e0d=>_0x4d7e0d['toJSON']()):_0x33f09d;}[_0x3880('0x110')](_0x251079){const _0x2d34aa=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x251079);if(!_0x2d34aa)throw new _0x6be0f0(_0x3880('0xe0'),this);return _0x2d34aa;}[_0x3880('0x145')](_0xe39e09){return this['_suggestions'][_0x3880('0xb0')](_0xe39e09);}[_0x3880('0x23')](_0x59c5b8){const {authorId:_0xb4c25b,id:_0x2a65ad,attributes:_0x3a87ce}=_0x59c5b8,[_0x28ed65,_0x3ccf3e]=_0x59c5b8[_0x3880('0x103')][_0x3880('0x13a')](':'),_0x51711d=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x2a65ad)||this[_0x3880('0x163')](_0x28ed65,_0x3ccf3e,_0x2a65ad,_0xb4c25b,_0x3a87ce);if(this[_0x3880('0x170')](_0x51711d),this[_0x3880('0xa1')](_0x51711d,_0x28ed65,_0x3ccf3e||null,_0xb4c25b),_0x51711d[_0x3880('0xb9')]=_0x59c5b8[_0x3880('0xb9')],_0x51711d['_isDataLoaded']=!0x0,_0x3a87ce&&_0x3a87ce[_0x3880('0x166')]){const _0x2148a5=_0x3a87ce['@external'],_0x3848a1=this['_getExternalAuthor'](_0x2148a5[_0x3880('0x155')]);_0x51711d[_0x3880('0xb2')]=_0x2148a5[_0x3880('0xb9')],_0x51711d[_0x3880('0x7a')]=_0x3848a1,_0x51711d[_0x3880('0x44')]=!0x0;}else _0x51711d[_0x3880('0xb2')]=_0x59c5b8[_0x3880('0xb9')];switch(_0x59c5b8[_0x3880('0x5a')]&&(_0x51711d[_0x3880('0x5a')]=_0x59c5b8[_0x3880('0x5a')]),_0x59c5b8[_0x3880('0x39')]&&(_0x51711d[_0x3880('0x39')]=_0x59c5b8[_0x3880('0x39')]),this['_adapter']&&this[_0x3880('0x2b')][_0x3880('0x112')]||(_0x51711d['_saved']=!0x0),this[_0x3880('0xf6')][_0x3880('0x6a')](_0x51711d)){case _0x3880('0xda'):this[_0x3880('0xf6')]['set'](_0x51711d,_0x3880('0xf1'));break;case _0x3880('0x10a'):_0x51711d[_0x3880('0x177')]?(this[_0x3880('0x13f')](new Set([_0x51711d])),this[_0x3880('0x69')](new Set([_0x51711d])),this['_suggestionState']['set'](_0x51711d,_0x3880('0xe2')),this['fire'](_0x3880('0x16d'),_0x51711d)):this[_0x3880('0xf6')][_0x3880('0x2c')](_0x51711d,_0x3880('0x6c'));}return _0x51711d;}[_0x3880('0x70')](_0x376fba){this['forceDefaultExecution'](()=>{this[_0x3880('0x178')]['model'][_0x3880('0xc4')](()=>{for(const _0x2734e8 of _0x376fba[_0x3880('0x82')]())_0x2734e8['accept']();});});}[_0x3880('0x10d')](_0x4a77b8){this[_0x3880('0x15c')](()=>{this[_0x3880('0x178')]['model'][_0x3880('0xc4')](()=>{for(const _0x22b328 of _0x4a77b8[_0x3880('0x82')]())_0x22b328[_0x3880('0x7f')]();});});}[_0x3880('0xb5')](_0x43cc7e,_0x570c6b){const _0x22852a=this[_0x3880('0x178')][_0x3880('0x41')][_0x3880('0x6a')](_0x43cc7e);if(!_0x22852a)throw new _0x6be0f0(_0x3880('0x2f'),this,{'commandName':_0x43cc7e});if(this['_enabledCommands'][_0x3880('0xb0')](_0x22852a))throw new _0x6be0f0('track-changes-enable-command-twice',this,{'commandName':_0x43cc7e});this['_enabledCommands'][_0x3880('0xea')](_0x22852a),_0x570c6b&&_0x22852a['on'](_0x3880('0x16a'),(_0x3b8769,_0x2521f8)=>{this[_0x3880('0x9a')][_0x3880('0x1a')]&&(this[_0x3880('0x109')]||(_0x2521f8[_0x3880('0xe4')]>0x0&&_0x2521f8[_0x2521f8['length']-0x1]&&_0x2521f8[_0x2521f8['length']-0x1]['forceDefaultExecution']?_0x2521f8[_0x3880('0xe1')]():(_0x3b8769['return']=_0x570c6b((..._0x35d9da)=>_0x22852a[_0x3880('0x16a')](..._0x35d9da,{'forceDefaultExecution':!0x0}),..._0x2521f8),_0x3b8769[_0x3880('0xe')]())));},{'priority':_0x3880('0x150')});}[_0x3880('0x15c')](_0x4adba9){let _0x209aba,_0x5bac40;const _0x349c62=this[_0x3880('0x109')];this[_0x3880('0x109')]=!0x0;try{_0x209aba=_0x4adba9();}catch(_0x99cd33){_0x5bac40=_0x99cd33;}return _0x349c62||(this[_0x3880('0x109')]=!0x1),_0x5bac40&&_0x6be0f0['rethrowUnexpectedError'](_0x5bac40,this),_0x209aba;}[_0x3880('0xe5')](_0xecf6eb,_0x47cebe=null,_0xa319b={}){if(_0xecf6eb['isCollapsed'])return null;const _0x39e429=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')](_0x3880('0xd0'))['me'];for(const {suggestion:_0x557a6a,meta:_0x4322b1}of this['_findSuggestions'](_0xecf6eb,_0x3880('0x115')))if(_0x4322b1[_0x3880('0x1b')]){if(!_0x4322b1[_0x3880('0xbb')]){if(_0x4322b1[_0x3880('0x63')]){if(!this[_0x3880('0x79')]||!Gt(_0x557a6a,_0xa319b))continue;return _0x557a6a;}if(Gt(_0x557a6a,_0xa319b))return _0x557a6a;this[_0x3880('0xf7')](_0x557a6a,_0xecf6eb[_0x3880('0x64')],_0xecf6eb['end']);break;}if(_0x47cebe==_0x557a6a[_0x3880('0x12e')]&&Gt(_0x557a6a,_0xa319b)){const _0x38230e=_0x557a6a[_0x3880('0x96')]();return _0x38230e[_0x3880('0x64')][_0x3880('0x169')](_0xecf6eb['end'])?this[_0x3880('0x123')](_0x557a6a,this[_0x3880('0x13d')][_0x3880('0x54')](_0xecf6eb['start'],_0x38230e[_0x3880('0xe9')])):this[_0x3880('0x123')](_0x557a6a,this[_0x3880('0x13d')][_0x3880('0x54')](_0x38230e['start'],_0xecf6eb[_0x3880('0xe9')])),_0x557a6a;}}const _0x43129f=_0x5396c2(),_0x256938=_0x39e429['id'],_0x42d6b8=_0x47cebe?_0x3880('0x154')+_0x47cebe:_0x3880('0x115'),_0x1182d6=this['_setSuggestionData']({'id':_0x43129f,'type':_0x42d6b8,'createdAt':new Date(),'authorId':_0x256938,'attributes':_0xa319b});return this[_0x3880('0x25')](_0x42d6b8,_0x43129f,_0x256938,_0xecf6eb),_0x1182d6;}[_0x3880('0xfb')](_0x3b3a08,_0x300049=_0x3880('0x88'),_0x35a2fa={}){const _0x4f0e8e=this['editor'][_0x3880('0xd2')][_0x3880('0x6a')]('Users')['me'],_0x3d55b7=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x115'),_0x300049,_0x3880('0x10b'));for(const _0x4af7d9 of this['getSuggestions']())if(_0x4af7d9[_0x3880('0x7a')]['id']==_0x4f0e8e['id']&&_0x3880('0x115')==_0x4af7d9[_0x3880('0x103')]&&_0x4af7d9[_0x3880('0x12e')]==_0x300049&&Gt(_0x4af7d9,_0x35a2fa)&&(_0x3d55b7(_0x4af7d9[_0x3880('0x33')](),_0x3b3a08)||_0x3d55b7(_0x3b3a08,_0x4af7d9['getRanges']()))){for(const _0x2e8be6 of _0x3b3a08)_0x4af7d9['addRange'](_0x2e8be6);return _0x4af7d9;}for(const {suggestion:_0x3b3bdc,meta:_0x29c103}of this['_findSuggestions'](_0x3b3a08,_0x3880('0x115'))){if(!_0x29c103[_0x3880('0x1b')])continue;if(!this[_0x3880('0x79')]&&_0x29c103[_0x3880('0x63')])continue;if(!Gt(_0x3b3bdc,_0x35a2fa))continue;let _0x2735e7=!0x0;for(const _0x31b250 of _0x3b3bdc[_0x3880('0x33')]())for(const _0x3824e4 of _0x3b3a08)if(!_0x31b250[_0x3880('0xd7')](_0x3824e4)){_0x2735e7=!0x1;break;}if(_0x2735e7)return _0x3b3bdc;}const _0xbe2f6f=_0x5396c2(),_0x519429=_0x4f0e8e['id'],_0x49ea14=_0x3880('0x154')+_0x300049,_0x28f471=this['_setSuggestionData']({'id':_0xbe2f6f,'type':_0x49ea14,'createdAt':new Date(),'authorId':_0x519429,'attributes':_0x35a2fa});for(const _0x2d8323 of _0x3b3a08)this[_0x3880('0x25')](_0x49ea14,_0xbe2f6f,_0x519429,_0x2d8323,_0x256f0e[_0x3880('0x14f')]());return _0x28f471;}[_0x3880('0x31')](_0x26d141,_0x416da1,_0x5d4205=null,_0x25526d={}){if(_0x5d4205=_0x5d4205||Rt(_0x416da1),_0x26d141['isCollapsed'])return null;if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x2e73ba=this[_0x3880('0x17')][_0x3880('0x12a')]('formatInline',_0x5d4205,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x2e73ba([_0x26d141],_0x416da1,_0x25526d)),null;}const _0x51c069=this['editor'][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x57be9f=[];if(_0x3880('0x85')!==this[_0x3880('0x124')])for(const {suggestion:_0x3e1f82,meta:_0x561c16}of this[_0x3880('0x10c')](_0x26d141,'insertion'))_0x561c16[_0x3880('0x1b')]&&!_0x561c16[_0x3880('0xf2')]&&_0x57be9f['push'](..._0x3e1f82[_0x3880('0x33')]());const _0x20960e=function(_0x3f9c07,_0x18ba97){const _0x4dcb8c=[];for(const _0x59a99b of _0x18ba97){const _0x15ec67=_0x3f9c07[_0x3880('0x122')](_0x59a99b);_0x15ec67&&_0x4dcb8c[_0x3880('0x8d')](_0x15ec67);}return _0x4dcb8c;}(_0x26d141,_0x57be9f),_0x1dc53a=function(_0x1490b1,_0x251ec3){const _0x408796=[_0x1490b1];for(const _0xa3f092 of _0x251ec3){let _0xa1b3ac=0x0;for(;_0xa1b3ac<_0x408796[_0x3880('0xe4')];){const _0xe64b63=_0x408796[_0xa1b3ac]['getDifference'](_0xa3f092);_0x408796[_0x3880('0x12c')](_0xa1b3ac,0x1,..._0xe64b63),_0xa1b3ac+=_0xe64b63['length'];}}return _0x408796;}(_0x26d141,_0x57be9f);_0x20960e[_0x3880('0xe4')]&&this['_model'][_0x3880('0xc4')](()=>{for(const _0x43ec7b of _0x20960e){const _0x39a18a=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x108'),_0x5d4205,_0x3880('0x77'));this[_0x3880('0x15c')](()=>_0x39a18a([_0x43ec7b],_0x416da1,_0x25526d));}});for(const _0x1df18f of _0x1dc53a){let _0x1847fe=null,_0x15441a=_0x1df18f[_0x3880('0x64')],_0x1eb23b=_0x1df18f[_0x3880('0xe9')];for(const {suggestion:_0x1b8ea5,meta:_0x3e38b8}of this[_0x3880('0x10c')](_0x1df18f,'formatInline')){if(!_0x3e38b8[_0x3880('0x1b')])continue;if(_0x1b8ea5[_0x3880('0x12e')]!=_0x5d4205)continue;if(!Gt(_0x1b8ea5,_0x25526d))continue;const _0x4e22b7=_0x1b8ea5['getFirstRange']();if(_0x4e22b7[_0x3880('0xd7')](_0x1df18f,!0x0))return null;_0x15441a=_0x15441a[_0x3880('0x136')](_0x4e22b7[_0x3880('0x64')])?_0x15441a:_0x4e22b7['start'],_0x1eb23b=_0x1eb23b[_0x3880('0x160')](_0x4e22b7['end'])?_0x1eb23b:_0x4e22b7['end'],_0x1847fe?_0x4e22b7['start'][_0x3880('0x136')](_0x1847fe[_0x3880('0x96')]()[_0x3880('0x64')])?(_0x1847fe[_0x3880('0x113')](),_0x1847fe=_0x1b8ea5):_0x1b8ea5['removeMarkers']():_0x1847fe=_0x1b8ea5;}const _0x58e6c1=this[_0x3880('0x13d')][_0x3880('0x54')](_0x15441a,_0x1eb23b);if(_0x1847fe)this['_setSuggestionRange'](_0x1847fe,_0x58e6c1);else{const _0x4a059b=_0x5396c2(),_0x4cee8a=_0x51c069['id'];this['_setSuggestionData']({'id':_0x4a059b,'type':_0x3880('0x152')+_0x5d4205,'data':_0x416da1,'createdAt':new Date(),'authorId':_0x4cee8a,'attributes':_0x25526d}),this[_0x3880('0x25')]('formatInline:'+_0x5d4205,_0x4a059b,_0x4cee8a,_0x58e6c1);}}return null;}[_0x3880('0x50')](_0x41ac17,_0x3c6800,_0x4534a7=[],_0x177f61=null,_0x633dc7={}){_0x3c6800['formatGroupId']||(_0x3c6800['formatGroupId']=_0x3c6800[_0x3880('0x140')]),_0x3c6800[_0x3880('0x62')]=_0x41ac17['is'](_0x3880('0xfe')),_0x177f61=_0x177f61||Rt(_0x3c6800);const _0x556c19=_0x4534a7[_0x3880('0x137')](_0x20c8f7=>Ut(_0x20c8f7,this[_0x3880('0x13d')])),_0x2ecc5d=_0x41ac17['is'](_0x3880('0xfe'))?_0x41ac17:Ut(_0x41ac17,this[_0x3880('0x13d')]);if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x5ddf8b=this[_0x3880('0x17')]['getSuggestionCallback'](_0x3880('0x5b'),_0x177f61,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x5ddf8b([_0x2ecc5d],_0x3c6800,_0x633dc7)),null;}_0x556c19[_0x3880('0x8d')](_0x2ecc5d);let _0x34b4fb=!0x0;for(const _0x1ac102 of _0x556c19)if(!this[_0x3880('0x126')](_0x1ac102)){_0x34b4fb=!0x1;break;}if(_0x34b4fb&&'always'!==this[_0x3880('0x124')]){const _0x1870b9=this[_0x3880('0x17')]['getSuggestionCallback']('formatBlock',_0x177f61,_0x3880('0x77'));return this['forceDefaultExecution'](()=>_0x1870b9([_0x2ecc5d],_0x3c6800,_0x633dc7)),null;}let _0x110253=null,_0x2e4445=_0x2ecc5d['start'],_0x4abaf7=_0x2ecc5d[_0x3880('0xe9')];for(const {suggestion:_0x4d506c,meta:_0x36a46c}of this[_0x3880('0x10c')](_0x2ecc5d,_0x3880('0x5b'))){if(!_0x36a46c[_0x3880('0x1b')])continue;if(_0x36a46c[_0x3880('0xbb')]||_0x36a46c[_0x3880('0x63')]||_0x36a46c[_0x3880('0xf2')])continue;if(_0x4d506c[_0x3880('0x5a')][_0x3880('0x11e')]!=_0x3c6800[_0x3880('0x11e')])continue;if(!Gt(_0x4d506c,_0x633dc7))continue;const _0xda0b5f=_0x4d506c[_0x3880('0x96')]();if(_0x4d506c[_0x3880('0x12e')]==_0x177f61){if(_0xda0b5f['containsRange'](_0x2ecc5d,!0x0))return null;_0x2e4445=_0x2e4445[_0x3880('0x136')](_0xda0b5f[_0x3880('0x64')])?_0x2e4445:_0xda0b5f[_0x3880('0x64')],_0x4abaf7=_0x4abaf7['isAfter'](_0xda0b5f[_0x3880('0xe9')])?_0x4abaf7:_0xda0b5f[_0x3880('0xe9')],_0x110253?_0xda0b5f[_0x3880('0x64')][_0x3880('0x136')](_0x110253[_0x3880('0x96')]()['start'])?(_0x110253['removeMarkers'](),_0x110253=_0x4d506c):_0x4d506c[_0x3880('0x113')]():_0x110253=_0x4d506c;}else{const _0x221ee4=_0x2ecc5d[_0x3880('0x122')](_0xda0b5f);this[_0x3880('0x7b')](_0x4d506c,_0x221ee4);}}const _0x350771=this[_0x3880('0x178')][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x519ee1=_0x5396c2(),_0x366b48=_0x350771['id'];if(_0x110253)return this['_setSuggestionRange'](_0x110253,this[_0x3880('0x13d')][_0x3880('0x54')](_0x2e4445,_0x4abaf7)),_0x110253;{const _0x15859d=this['_setSuggestionData']({'id':_0x519ee1,'type':'formatBlock:'+_0x177f61,'data':_0x3c6800,'createdAt':new Date(),'authorId':_0x366b48,'attributes':_0x633dc7});return this[_0x3880('0x25')]('formatBlock:'+_0x177f61,_0x519ee1,_0x366b48,this['_model']['createRange'](_0x2e4445,_0x4abaf7)),_0x15859d;}}[_0x3880('0x16f')](_0x2fb61c,_0x37760f,_0x50b399=[],_0x419b82=null,_0x331e55={}){_0x37760f[_0x3880('0x11e')]||(_0x37760f[_0x3880('0x11e')]=_0x37760f[_0x3880('0x140')]);const _0x3f1638=_0x2fb61c[0x0];_0x37760f['multipleBlocks']=_0x3f1638['is']('range'),_0x419b82=_0x419b82||Rt(_0x37760f);const _0xe33d8d=_0x50b399[_0x3880('0x137')](_0x12659c=>Ut(_0x12659c,this['_model'])),_0x33a0d0=_0x3f1638['is'](_0x3880('0xfe'))?_0x2fb61c:_0x2fb61c[_0x3880('0x137')](_0x5d2256=>Ut(_0x5d2256,this[_0x3880('0x13d')]));if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x108cd3=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x5b'),_0x419b82,'accept');return this[_0x3880('0x15c')](()=>_0x108cd3(_0x33a0d0,_0x37760f,_0x331e55)),null;}_0xe33d8d[_0x3880('0x8d')](..._0x33a0d0);let _0x5da1f1=!0x0;for(const _0x5d1b67 of _0xe33d8d)if(!this[_0x3880('0x126')](_0x5d1b67)){_0x5da1f1=!0x1;break;}if(_0x5da1f1&&_0x3880('0x85')!==this['_trackFormatChanges']){const _0x3bdb7a=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x5b'),_0x419b82,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x3bdb7a(_0x33a0d0,_0x37760f,_0x331e55)),null;}const _0x290dfb=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0xd0'))['me'];for(const _0x3980c6 of this[_0x3880('0xfa')]()){if(_0x3980c6[_0x3880('0x7a')]['id']!=_0x290dfb['id'])continue;if(_0x3880('0x5b')!=_0x3980c6[_0x3880('0x103')]||_0x3980c6[_0x3880('0x5a')][_0x3880('0x11e')]!=_0x37760f[_0x3880('0x11e')])continue;if(!Gt(_0x3980c6,_0x331e55))continue;const _0x3f602e=_0x3980c6[_0x3880('0x12e')]==_0x419b82;for(let _0x3a04f4=0x0;_0x3a04f4<_0x33a0d0[_0x3880('0xe4')];_0x3a04f4++){const _0x49b991=_0x33a0d0[_0x3a04f4];for(const _0x5767f2 of _0x3980c6['getMarkers']()){const _0x1b78c9=_0x5767f2[_0x3880('0x9c')]();if(_0x49b991[_0x3880('0x169')](_0x1b78c9)){_0x3f602e?(_0x33a0d0[_0x3880('0x12c')](_0x3a04f4,0x1),_0x3a04f4--):_0x3980c6[_0x3880('0x10')](_0x5767f2[_0x3880('0x30')]);break;}}}}if(0x0==_0x33a0d0[_0x3880('0xe4')])return null;const _0xa9a492=this[_0x3880('0x17')][_0x3880('0x12a')]('formatBlock',_0x419b82,_0x3880('0x10b'));for(const _0x19736a of this[_0x3880('0xfa')]())if(_0x19736a[_0x3880('0x7a')]['id']==_0x290dfb['id']&&_0x3880('0x5b')==_0x19736a[_0x3880('0x103')]&&_0x19736a[_0x3880('0x5a')][_0x3880('0x11e')]==_0x37760f['formatGroupId']&&_0x19736a['subType']==_0x419b82&&Gt(_0x19736a,_0x331e55)&&(_0xa9a492(_0x19736a[_0x3880('0x33')](),_0x33a0d0)||_0xa9a492(_0x33a0d0,_0x19736a[_0x3880('0x33')]()))){for(const _0x2f6c79 of _0x33a0d0)_0x19736a[_0x3880('0x57')](_0x2f6c79);return _0x19736a;}const _0x7c98bd=_0x5396c2(),_0x3b91f0=_0x290dfb['id'],_0x5c1661='formatBlock:'+_0x419b82,_0x256905=this[_0x3880('0xd5')]({'id':_0x7c98bd,'type':_0x5c1661,'data':_0x37760f,'createdAt':new Date(),'authorId':_0x3b91f0,'attributes':_0x331e55});for(const _0x1a2993 of _0x33a0d0)this[_0x3880('0x25')](_0x5c1661,_0x7c98bd,_0x3b91f0,_0x1a2993,_0x256f0e[_0x3880('0x14f')]());return _0x256905;}[_0x3880('0x149')](_0x5a40df,_0x522838=null,_0xbe16d7={}){if(_0x5a40df[_0x3880('0x6b')])return null;const _0x57b455=this[_0x3880('0x178')][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x2a364d=new _0x2595e6(_0x5a40df[_0x3880('0x64')],_0x5a40df[_0x3880('0xe9')]);for(const {suggestion:_0x207fec,meta:_0x46de39}of this[_0x3880('0x10c')](_0x2a364d,_0x3880('0x115')))if(_0x46de39[_0x3880('0x1b')]&&!_0x46de39['isNextTo']){if(_0x207fec[_0x3880('0x28')]){const _0x457673=_0x207fec[_0x3880('0x33')]()[_0x3880('0x141')](_0x51dc68=>_0x3880('0x55')!=_0x51dc68['root']['rootName']);_0x457673[_0x3880('0x73')](_0x4b314b=>_0x2a364d[_0x3880('0xd7')](_0x4b314b,!0x0))&&_0x207fec[_0x3880('0x7f')]();if(_0x457673[_0x3880('0x3c')](_0x378aae=>_0x378aae[_0x3880('0xd7')](_0x2a364d,!0x0))){const _0x45b88c=this['_suggestionFactory'][_0x3880('0x12a')](_0x3880('0xe3'),_0x522838,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x45b88c([_0x2a364d],null,_0xbe16d7)),null;}}else{const _0x5d3f68=_0x2a364d[_0x3880('0x122')](_0x207fec[_0x3880('0x96')]());null!==_0x5d3f68&&_0x207fec[_0x3880('0x131')]([_0x5d3f68],null,_0xbe16d7);}}if(_0x2a364d[_0x3880('0x120')](),_0x2a364d[_0x3880('0x6b')]||_0x3880('0x55')==_0x2a364d[_0x3880('0x67')][_0x3880('0x45')])return null;let _0x24f542=null,_0x477205=_0x2a364d[_0x3880('0x64')],_0xa75478=_0x2a364d[_0x3880('0xe9')];const _0x1fe2ff=this['_findSuggestions'](_0x2a364d,'deletion');for(const {suggestion:_0x269aa2,meta:_0xb77287}of _0x1fe2ff){const _0x32fefb=this['_model'][_0x3880('0x54')](_0x477205,_0xa75478);if(_0xb77287['isOwn']&&(this[_0x3880('0x79')]||!_0xb77287[_0x3880('0x63')]&&!_0xb77287[_0x3880('0xf2')])){if(_0x269aa2[_0x3880('0x28')]){if(!Gt(_0x269aa2,_0xbe16d7))continue;let _0x37b368=!0x0;for(const _0x352d43 of _0x269aa2[_0x3880('0x33')]()){if(_0x352d43[_0x3880('0xd7')](_0x32fefb,!0x0))return _0x269aa2;_0x32fefb[_0x3880('0xd7')](_0x352d43)||(_0x37b368=!0x1);}_0x37b368&&_0x269aa2['discard']();}else{const _0xd52db=_0x269aa2[_0x3880('0x96')]();if(_0xd52db[_0x3880('0xd7')](_0x32fefb,!0x0))return _0x269aa2;if(!Gt(_0x269aa2,_0xbe16d7)){_0x32fefb[_0x3880('0xd7')](_0xd52db)?_0x269aa2[_0x3880('0x113')]():_0xd52db[_0x3880('0xb4')](_0x477205)?_0x477205=_0xd52db[_0x3880('0xe9')]:_0xd52db['containsPosition'](_0xa75478)&&(_0xa75478=_0xd52db[_0x3880('0x64')]);continue;}_0x477205=_0x477205[_0x3880('0x136')](_0xd52db['start'])?_0x477205:_0xd52db[_0x3880('0x64')],_0xa75478=_0xa75478[_0x3880('0x160')](_0xd52db[_0x3880('0xe9')])?_0xa75478:_0xd52db[_0x3880('0xe9')],_0xbe16d7=Object[_0x3880('0x11')]({},_0x269aa2[_0x3880('0x39')]),_0x24f542?_0xd52db[_0x3880('0x64')][_0x3880('0x136')](_0x24f542['getFirstRange']()[_0x3880('0x64')])?(_0x24f542[_0x3880('0x113')](),_0x24f542=_0x269aa2):_0x269aa2[_0x3880('0x113')]():_0x24f542=_0x269aa2;}}}if(_0x24f542)return this[_0x3880('0x123')](_0x24f542,this[_0x3880('0x13d')][_0x3880('0x54')](_0x477205,_0xa75478)),_0x24f542;{const _0x2dc23a=_0x5396c2(),_0x519f7e=this[_0x3880('0x13d')][_0x3880('0x54')](_0x477205,_0xa75478),_0x2a8bde=_0x57b455['id'],_0x209101=_0x522838?_0x3880('0x38')+_0x522838:_0x3880('0xe3'),_0x1d1762=this['_setSuggestionData']({'id':_0x2dc23a,'type':_0x209101,'createdAt':new Date(),'authorId':_0x2a8bde,'attributes':_0xbe16d7});return this[_0x3880('0x25')](_0x209101,_0x2dc23a,_0x2a8bde,_0x519f7e),_0x1d1762;}}[_0x3880('0x12')](_0x583b89,_0x28e189='multi',_0x248f78={}){const _0x42f502=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')]('Users')['me'],_0x169266=_0x583b89['map'](_0x3191c1=>new _0x2595e6(_0x3191c1[_0x3880('0x64')],_0x3191c1[_0x3880('0xe9')])),_0x5d198a=new Set();for(const {suggestion:_0x6c359b,meta:_0x57d753}of this['_findSuggestions'](_0x169266,_0x3880('0x115')))_0x57d753[_0x3880('0x1b')]&&!_0x57d753['isNextTo']&&_0x5d198a[_0x3880('0xea')](_0x6c359b);for(const _0x315d9d of _0x5d198a)if(_0x315d9d[_0x3880('0x28')]){const _0x3b13cf=_0x315d9d[_0x3880('0x33')]();(!_0x315d9d['attributes']||!_0x315d9d[_0x3880('0x39')][_0x3880('0x8f')])&&(_0x3b13cf[_0x3880('0x73')](_0x299835=>_0x169266['some'](_0x55bb43=>_0x55bb43[_0x3880('0xd7')](_0x299835,!0x0)))&&_0x315d9d[_0x3880('0x7f')]());if(_0x169266[_0x3880('0x73')](_0x384c1b=>_0x3b13cf[_0x3880('0x3c')](_0xa80e8a=>_0xa80e8a[_0x3880('0xd7')](_0x384c1b,!0x0)))){const _0x52dec7=this['_suggestionFactory'][_0x3880('0x12a')](_0x3880('0xe3'),_0x28e189,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x52dec7(_0x583b89,null,_0x248f78)),null;}}else{const _0x5cdc89=_0x315d9d[_0x3880('0x96')]();_0x169266[_0x3880('0x3c')](_0x4f16b6=>_0x4f16b6[_0x3880('0xd7')](_0x5cdc89,!0x0))&&_0x315d9d[_0x3880('0x7f')]();if(_0x169266[_0x3880('0x73')](_0x4c95bb=>_0x5cdc89[_0x3880('0xd7')](_0x4c95bb,!0x0))){const _0x4dcb7e=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0xe3'),_0x28e189,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x4dcb7e(_0x169266,null,_0x248f78)),null;}}const _0x3a688f=this[_0x3880('0x17')]['getSuggestionCallback'](_0x3880('0xe3'),_0x28e189,_0x3880('0x10b'));let _0x4f3b3f=null;for(const _0x952572 of this[_0x3880('0xfa')]())if(_0x952572[_0x3880('0x7a')]['id']==_0x42f502['id']&&_0x952572['isInContent']&&_0x3880('0xe3')==_0x952572[_0x3880('0x103')]&&_0x952572[_0x3880('0x12e')]==_0x28e189&&Gt(_0x952572,_0x248f78)&&(_0x3a688f(_0x952572[_0x3880('0x33')](),_0x169266)||_0x3a688f(_0x169266,_0x952572['getRanges']()))){if(_0x4f3b3f){if(_0x952572[_0x3880('0x83')]&&_0x952572[_0x3880('0x83')]['length'])continue;for(const _0x8e47b8 of _0x952572[_0x3880('0x33')]())_0x4f3b3f[_0x3880('0xa4')](_0x8e47b8)||_0x4f3b3f[_0x3880('0x57')](_0x8e47b8);_0x952572[_0x3880('0x113')]();}else{_0x4f3b3f=_0x952572;for(const _0x2de8fc of _0x169266)_0x952572[_0x3880('0xa4')](_0x2de8fc)||_0x952572[_0x3880('0x57')](_0x2de8fc);}}if(_0x4f3b3f)return _0x4f3b3f;_0x5d198a[_0x3880('0x14')]();for(const {suggestion:_0x580e38,meta:_0x1afc84}of this[_0x3880('0x10c')](_0x169266,_0x3880('0xe3')))_0x1afc84[_0x3880('0x1b')]&&(this[_0x3880('0x79')]||!_0x1afc84[_0x3880('0x63')]&&!_0x1afc84[_0x3880('0xf2')])&&Gt(_0x580e38,_0x248f78)&&_0x5d198a[_0x3880('0xea')](_0x580e38);for(const _0x26e717 of _0x5d198a){const _0x435575=_0x26e717['getRanges']();if(!_0x248f78||!_0x248f78[_0x3880('0x8f')]){if(_0x169266[_0x3880('0x73')](_0xac847f=>_0x435575[_0x3880('0x3c')](_0x2c1b98=>_0x2c1b98[_0x3880('0xd7')](_0xac847f,!0x0))))return _0x26e717;}(!_0x26e717['attributes']||!_0x26e717[_0x3880('0x39')][_0x3880('0x8f')])&&(_0x435575[_0x3880('0x73')](_0x4fba42=>_0x169266[_0x3880('0x3c')](_0x2c36a3=>_0x2c36a3[_0x3880('0xd7')](_0x4fba42,!0x0)))&&_0x26e717[_0x3880('0x7f')]());}const _0x2c647d=_0x5396c2(),_0x267c8f=_0x42f502['id'],_0x1d9928=_0x3880('0x38')+_0x28e189,_0x1320d3=this[_0x3880('0xd5')]({'id':_0x2c647d,'type':_0x1d9928,'createdAt':new Date(),'authorId':_0x267c8f,'attributes':_0x248f78});for(const _0x730371 of _0x169266)_0x730371[_0x3880('0x120')](),_0x730371['isCollapsed']||_0x3880('0x55')==_0x730371[_0x3880('0x67')]['rootName']||this[_0x3880('0x25')](_0x1d9928,_0x2c647d,_0x267c8f,_0x730371,_0x256f0e[_0x3880('0x14f')]());return _0x1320d3;}[_0x3880('0x1e')](_0x46d0aa,_0x2d2414,_0x3b28c6,_0x5367fd,_0xe2c7fe){if(_0x46d0aa[_0x3880('0x6b')])return[];if('never'===this[_0x3880('0x124')])return[];const _0x3ceaa9=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0xd0'))['me']['id'],_0x24e28a=Array[_0x3880('0xba')](this[_0x3880('0xfc')][_0x3880('0x80')]())['filter'](_0x2f659d=>_0x3880('0x76')==_0x2f659d[_0x3880('0x103')]&&_0x2f659d[_0x3880('0x5a')][_0x3880('0x61')]==_0x2d2414&&_0x2f659d[_0x3880('0xa4')](_0x46d0aa));if('default'===this[_0x3880('0x124')]){const _0x2b65d1=this[_0x3880('0x10c')](_0x46d0aa,'insertion')[_0x3880('0x141')](({meta:_0x1bb0f8})=>_0x1bb0f8[_0x3880('0x1b')]&&!_0x1bb0f8[_0x3880('0xf2')]&&!_0x1bb0f8[_0x3880('0xbb')])['map'](({suggestion:_0x3df3d1})=>_0x3df3d1);_0x24e28a['unshift'](..._0x2b65d1);}const _0x4f1a30=new Map([[_0x46d0aa,_0x3b28c6]]);for(const _0x1ded23 of _0x24e28a){const _0x288118=_0x3880('0x76')==_0x1ded23[_0x3880('0x103')]?_0x1ded23[_0x3880('0x5a')][_0x3880('0x15d')]:void 0x0,_0x9649ae=_0x1ded23['getFirstRange'](),_0x356c49=Array['from'](_0x4f1a30[_0x3880('0x15a')]())[_0x3880('0x20')](_0x1570d0=>_0x1570d0[_0x3880('0x132')](_0x9649ae));if(!_0x356c49)continue;const _0x508790=_0x356c49[_0x3880('0x95')](_0x9649ae);this[_0x3880('0x2a')](_0x2d2414)&&_0x3880('0x115')==_0x1ded23[_0x3880('0x103')]&&0x0!=_0x508790[_0x3880('0xe4')]||(_0x4f1a30[_0x3880('0x48')](_0x356c49),_0x508790['forEach'](_0x5639a2=>{_0x4f1a30[_0x3880('0x2c')](_0x5639a2,_0x3b28c6);}),_0x3880('0x115')!=_0x1ded23[_0x3880('0x103')]&&_0x288118!=_0x5367fd&&_0x4f1a30[_0x3880('0x2c')](_0x356c49['getIntersection'](_0x9649ae),_0x288118));}const _0x475dc4=[];for(const [_0x96f6e0,_0x4581d1]of _0x4f1a30){const _0x3c6860=_0x5396c2(),_0x564273={'key':_0x2d2414,'oldValue':_0x4581d1,'newValue':_0x5367fd};_0x2d2414[_0x3880('0xe4')]>0x25&&console[_0x3880('0x9')](_0x3880('0x10f'),{'key':_0x2d2414});const _0x5c80f9=('attribute:'+(_0x2d2414+'|'+Rt({'newValue':_0x5367fd})))[_0x3880('0xc5')](0x0,0x3c),_0x127736=this[_0x3880('0xd5')]({'id':_0x3c6860,'type':_0x5c80f9,'data':_0x564273,'createdAt':new Date(),'authorId':_0x3ceaa9,'attributes':_0xe2c7fe});_0x475dc4[_0x3880('0x8d')](_0x127736),this['_addSuggestionMarker'](_0x5c80f9,_0x3c6860,_0x3ceaa9,_0x96f6e0);}return _0x475dc4;}['_registerBlockAttribute'](_0x206efd){this[_0x3880('0x6f')][_0x3880('0xea')](_0x206efd);}[_0x3880('0xd1')](_0x49f691){this[_0x3880('0x142')][_0x3880('0xea')](_0x49f691);}[_0x3880('0x9b')](_0x141b07,_0x379b82=[],_0x9a9f7e=[]){this[_0x3880('0xb5')](_0x141b07,(_0x422880,..._0x39f5e6)=>{this[_0x3880('0x165')](()=>{_0x422880(..._0x39f5e6);});});for(const _0x1929f9 of _0x379b82)this[_0x3880('0xd1')](_0x1929f9);for(const _0xbeb3b4 of _0x9a9f7e)this[_0x3880('0x101')](_0xbeb3b4);}[_0x3880('0x123')](_0x1548f6,_0x3c1b20){const _0x3d7ad1=_0x1548f6[_0x3880('0x42')]();this['_model'][_0x3880('0xc4')](_0x5a5d29=>{_0x5a5d29[_0x3880('0x84')](_0x3d7ad1,{'range':_0x3c1b20});});}[_0x3880('0x170')](_0x9f85c){const _0x3eecdd=_0x9f85c['id'],_0x415720=this[_0x3880('0x178')]['config']['get'](_0x3880('0x3b'));this[_0x3880('0x13e')]['hasCommentThread'](_0x3eecdd)||this[_0x3880('0x13e')][_0x3880('0xde')]({'channelId':_0x415720,'threadId':_0x3eecdd,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x966816=this[_0x3880('0x13e')]['getCommentThread'](_0x3eecdd);_0x966816['unbind'](_0x3880('0xa0')),_0x966816['isRemovable']=!0x1,_0x9f85c['commentThread']=_0x966816;}[_0x3880('0xa1')](_0x3245fd,_0x3d2b5d,_0x271e27,_0x3836f2){if(_0x3245fd[_0x3880('0x103')]!=_0x3d2b5d||_0x3245fd[_0x3880('0x12e')]!=_0x271e27||_0x3245fd[_0x3880('0x24')]['id']!=_0x3836f2)throw this[_0x3880('0x178')][_0x3880('0x46')]('track-changes-suggestion-data-mismatch'),new _0x6be0f0('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x2beaca,_0x4f4439){const _0x5168d1=_0x2beaca[_0x3880('0x96')]();if(_0x4f4439['isEqual'](_0x5168d1))_0x2beaca[_0x3880('0x113')]();else{if(_0x5168d1['containsRange'](_0x4f4439)){const _0x5a91f1=this[_0x3880('0x13d')][_0x3880('0xc3')](_0x4f4439[_0x3880('0x64')][_0x3880('0xb')],'end');this[_0x3880('0x123')](_0x2beaca,this[_0x3880('0x13d')][_0x3880('0x54')](_0x5168d1[_0x3880('0x64')],_0x5a91f1));const _0x3960ea=_0x5396c2(),_0x28edc6=_0x2beaca[_0x3880('0x24')]['id'],_0x1cd963=_0x2beaca[_0x3880('0x103')]+':'+_0x2beaca[_0x3880('0x12e')];this[_0x3880('0xd5')]({'id':_0x3960ea,'type':_0x1cd963,'createdAt':new Date(),'authorId':_0x28edc6,'data':_0x2beaca[_0x3880('0x5a')],'attributes':_0x2beaca[_0x3880('0x39')]});const _0x5f2b20=this[_0x3880('0x13d')][_0x3880('0xc3')](_0x4f4439[_0x3880('0xe9')][_0x3880('0x34')],_0x3880('0xc8')),_0x34b5f7=this[_0x3880('0x13d')][_0x3880('0x54')](_0x5f2b20,_0x5168d1[_0x3880('0xe9')]);this['_addSuggestionMarker'](_0x1cd963,_0x3960ea,_0x28edc6,_0x34b5f7);}else{if(_0x5168d1[_0x3880('0xb4')](_0x4f4439[_0x3880('0x64')])){const _0x68fbfe=this['_model'][_0x3880('0xc3')](_0x4f4439[_0x3880('0x64')]['nodeBefore'],_0x3880('0xe9'));this[_0x3880('0x123')](_0x2beaca,this['_model'][_0x3880('0x54')](_0x5168d1[_0x3880('0x64')],_0x68fbfe));}else{const _0xb90df2=this['_model'][_0x3880('0xc3')](_0x4f4439['end'][_0x3880('0x34')],_0x3880('0xc8'));this['_setSuggestionRange'](_0x2beaca,this['_model']['createRange'](_0xb90df2,_0x5168d1['end']));}}}}[_0x3880('0x126')](_0x4656bb){for(const {suggestion:_0x2c48af,meta:_0x454e38}of this[_0x3880('0x10c')](_0x4656bb,_0x3880('0x115'))){if(!_0x454e38[_0x3880('0x1b')])continue;const _0x1a0a92=_0x2c48af[_0x3880('0x33')]();for(const _0x35844b of _0x1a0a92)if(!_0x4656bb[_0x3880('0x95')](_0x35844b)[_0x3880('0xe4')])return!0x0;}return!0x1;}[_0x3880('0x91')](_0x3ae762){const _0x217312=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')](_0x3880('0xd0'))['getUser'](_0x3ae762);if(!_0x217312)throw new _0x6be0f0(_0x3880('0x144'),this);return _0x217312;}['_getExternalAuthor'](_0x27a064){const _0x43ebe7=this['editor'][_0x3880('0xd2')]['get']('Users'),_0x21bf17=_0x29eae1('external:'+_0x27a064),_0x2ab953=_0x43ebe7[_0x3880('0xcc')](_0x21bf17);return _0x2ab953||_0x43ebe7[_0x3880('0xdd')]({'id':_0x21bf17,'name':_0x27a064});}[_0x3880('0x163')](_0xa6ff36,_0x2f909d,_0x53398f,_0x152bac,_0x403d09){const _0x1c1fc6=this[_0x3880('0x91')](_0x152bac),_0x2e6747=this[_0x3880('0x17')]['buildSuggestion'](_0xa6ff36,_0x2f909d,_0x53398f,_0x1c1fc6,_0x403d09,_0x3a6de5=>this['_updateSuggestionData'](_0x53398f,{'attributes':_0x3a6de5}));return this[_0x3880('0x121')](_0x2e6747,_0x3880('0x77'),()=>{this[_0x3880('0x13b')](_0x53398f,{'state':_0x3880('0x21')});},{'priority':_0x3880('0x150')}),this[_0x3880('0x121')](_0x2e6747,_0x3880('0x7f'),()=>{this[_0x3880('0x13b')](_0x53398f,{'state':_0x3880('0x6')});},{'priority':_0x3880('0x150')}),this[_0x3880('0xfc')]['set'](_0x53398f,_0x2e6747),this['_suggestionState'][_0x3880('0x2c')](_0x2e6747,_0x3880('0xda')),_0x2e6747;}[_0x3880('0x68')](_0x2530d5){const _0xbb1135=_0x2530d5[_0x3880('0x13a')](':');return{'group':_0xbb1135[0x0],'type':_0xbb1135[0x1],'subType':_0xbb1135[_0x3880('0xe4')]>=0x5?_0xbb1135[0x2]:null,'id':_0xbb1135['length']<0x5?_0xbb1135[0x2]:_0xbb1135[0x3],'authorId':_0xbb1135[_0x3880('0xe4')]<0x5?_0xbb1135[0x3]:_0xbb1135[0x4],'markerCount':0x6==_0xbb1135[_0x3880('0xe4')]?_0xbb1135[0x5]:null};}[_0x3880('0xf7')](_0x496a75,_0x4081a7,_0x20a4b0){const _0x7b8f8e=_0x496a75[_0x3880('0x96')](),_0x49fe1f=_0x7b8f8e[_0x3880('0x64')],_0x4d85b5=_0x7b8f8e['end'];this[_0x3880('0x123')](_0x496a75,this[_0x3880('0x13d')][_0x3880('0x54')](_0x49fe1f,_0x4081a7));const _0x32b541=_0x5396c2(),_0x493812=_0x496a75[_0x3880('0x24')]['id'],_0x361144=_0x496a75[_0x3880('0x103')]+(_0x496a75['subType']?':'+_0x496a75[_0x3880('0x12e')]:'');this['_setSuggestionData']({'id':_0x32b541,'type':_0x361144,'createdAt':new Date(),'authorId':_0x493812,'originalSuggestionId':_0x496a75['id'],'attributes':_0x496a75[_0x3880('0x39')],'data':_0x496a75[_0x3880('0x5a')]});const _0x5ef22e=Pt(_0x496a75);(_0x3880('0x5b')==_0x496a75[_0x3880('0x103')]||_0x5ef22e&&this[_0x3880('0x2a')](_0x5ef22e))&&(_0x20a4b0=this['_model'][_0x3880('0x27')](_0x20a4b0['parent'])),this['_addSuggestionMarker'](_0x361144,_0x32b541,_0x493812,this[_0x3880('0x13d')][_0x3880('0x54')](_0x20a4b0,_0x4d85b5));}[_0x3880('0x10c')](_0xde3fa1,_0xd99b6e=null){const _0x5335a7=[],_0x291a8a=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')]('Users')['me'];Array['isArray'](_0xde3fa1)||(_0xde3fa1=[_0xde3fa1]);for(const _0xa838f5 of this[_0x3880('0xfa')]()){if(!_0xa838f5[_0x3880('0x177')])continue;if(_0xd99b6e&&_0xa838f5[_0x3880('0x103')]!=_0xd99b6e)continue;let _0x3d068d=!0x1;for(const _0x4044c5 of _0xa838f5['getRanges']()){for(const _0xcd5458 of _0xde3fa1){const _0x1eaa8c=_0xcd5458[_0x3880('0x64')][_0x3880('0x169')](_0x4044c5['end'])||_0xcd5458[_0x3880('0xe9')][_0x3880('0x169')](_0x4044c5['start']);if(_0x1eaa8c||_0xcd5458[_0x3880('0x122')](_0x4044c5)){const _0x9c88ef=_0xcd5458[_0x3880('0xd7')](_0x4044c5)&&Tt(this[_0x3880('0x13d')][_0x3880('0xcf')],_0x4044c5[_0x3880('0x64')],_0xcd5458),_0x518914=_0x4044c5[_0x3880('0xd7')](_0xcd5458)&&Tt(this['_model'][_0x3880('0xcf')],_0xcd5458['start'],_0x4044c5);_0x5335a7[_0x3880('0x8d')]({'suggestion':_0xa838f5,'meta':{'isOwn':_0x291a8a==_0xa838f5[_0x3880('0x7a')],'isNextTo':_0x1eaa8c,'isInsideObject':_0x9c88ef,'containsRangeInObject':_0x518914}}),_0x3d068d=!0x0;break;}}if(_0x3d068d)break;}}return _0x5335a7;}[_0x3880('0x25')](_0x28c9fd,_0x338109,_0x48b9f1,_0x2b2146,_0x2d0bb8){this[_0x3880('0x13d')][_0x3880('0xc4')](_0x43b31a=>{let _0x5ecf05=_0x3880('0x133')+_0x28c9fd+':'+_0x338109+':'+_0x48b9f1;_0x2d0bb8&&(_0x5ecf05=_0x5ecf05+':'+_0x2d0bb8),_0x43b31a[_0x3880('0x9d')](_0x5ecf05,{'range':_0x2b2146,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3880('0x1f')](_0x18d3fe){const _0x2ee061=_0x18d3fe[_0x3880('0x8c')],_0x3952e3=_0x18d3fe[_0x3880('0xef')];_0x18d3fe['previous']=null,_0x18d3fe[_0x3880('0xef')]=null,null!=_0x2ee061&&(_0x2ee061['next']=_0x3952e3),null!=_0x3952e3&&(_0x3952e3[_0x3880('0x8c')]=_0x2ee061),_0x3880('0xe2')==this[_0x3880('0xf6')][_0x3880('0x6a')](_0x18d3fe)&&(this[_0x3880('0xf6')][_0x3880('0x2c')](_0x18d3fe,'removed'),this['fire']('suggestionUnloaded',_0x18d3fe,_0x2ee061,_0x3952e3));}[_0x3880('0xd5')](_0x46f3d9){const _0x1ee631=_0x46f3d9['id'],_0x52c9ef=this[_0x3880('0x23')](_0x46f3d9);if(this['_adapter']&&this[_0x3880('0x2b')][_0x3880('0x112')]){const _0x352ce9=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0x51')),_0x164d3c=_0x52c9ef[_0x3880('0x161')],_0x5552fe=_0x52c9ef[_0x3880('0x12e')]?_0x52c9ef[_0x3880('0x103')]+':'+_0x52c9ef['subType']:_0x52c9ef[_0x3880('0x103')],_0x2b7849=this[_0x3880('0x178')][_0x3880('0x8e')],_0x5c7cbe=_0x352ce9[_0x3880('0xea')](_0x33b9cf(_0x2b7849,_0x3880('0xa7'))),_0x489d7b={'id':_0x1ee631,'type':_0x5552fe,'hasComments':_0x164d3c,'data':_0x46f3d9[_0x3880('0x5a')]||null,'originalSuggestionId':_0x46f3d9[_0x3880('0xc1')]||null,'attributes':_0x52c9ef[_0x3880('0x39')]};this[_0x3880('0x2b')][_0x3880('0x112')](_0x489d7b)[_0x3880('0x1')](_0x3f2120=>{_0x52c9ef['_saved']=!0x0,_0x352ce9[_0x3880('0xe8')](_0x5c7cbe),_0x3f2120&&_0x3f2120[_0x3880('0xb9')]&&(this[_0x3880('0xfc')]['get'](_0x1ee631)['createdAt']=_0x3f2120[_0x3880('0xb9')]);})[_0x3880('0x93')](_0x398b73=>{throw _0x54d3bf(_0x3880('0x3e')),this[_0x3880('0x178')][_0x3880('0x13c')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x52c9ef['discard']();}),_0x52c9ef[_0x3880('0x4c')](),this[_0x3880('0xfc')]['delete'](_0x52c9ef['id']),this[_0x3880('0xf6')][_0x3880('0x48')](_0x52c9ef),_0x398b73;});}return _0x52c9ef;}[_0x3880('0x2a')](_0x24926b){return this[_0x3880('0x6f')]['has'](_0x24926b);}[_0x3880('0x13b')](_0x58ef20,_0x2de9b9){const _0xd768f3=this['editor'][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0x51')),_0x52998d=this['getSuggestion'](_0x58ef20);if(this['_adapter']&&this['_adapter'][_0x3880('0x7c')]){if(_0x52998d['_saved']){const _0x3ceb43=_0xd768f3['add'](_0x33b9cf(this[_0x3880('0x178')][_0x3880('0x8e')],_0x3880('0xa7')));this['_adapter']['updateSuggestion'](_0x58ef20,_0x2de9b9)[_0x3880('0x1')](()=>{_0xd768f3[_0x3880('0xe8')](_0x3ceb43);});}else _0x52998d['on'](_0x3880('0x2d'),()=>{this[_0x3880('0x13b')](_0x58ef20,_0x2de9b9);});}}[_0x3880('0x167')](_0x5ccdb7){if(!this['_adapter']||!this[_0x3880('0x2b')][_0x3880('0x110')])throw new _0x6be0f0(_0x3880('0x156'),this);return this[_0x3880('0x2b')][_0x3880('0x110')](_0x5ccdb7);}[_0x3880('0xeb')](_0x2c4f16){const {id:_0x188049,type:_0x8cbbf0,subType:_0x54ed8a,authorId:_0x118f38}=this[_0x3880('0x68')](_0x2c4f16),_0x13768b=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x188049)||this[_0x3880('0x163')](_0x8cbbf0,_0x54ed8a,_0x188049,_0x118f38,{});switch(this['_checkSuggestionCorrectness'](_0x13768b,_0x8cbbf0,_0x54ed8a,_0x118f38),this['_suggestionState']['get'](_0x13768b)){case _0x3880('0xda'):this[_0x3880('0x167')](_0x188049)[_0x3880('0x1')](_0x5ac647=>{let _0x555ee6=Promise[_0x3880('0xec')]();_0x5ac647[_0x3880('0x161')]&&(_0x555ee6=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0x3880('0x178')]['config'][_0x3880('0x6a')]('collaboration.channelId'),'threadId':_0x188049})),_0x555ee6[_0x3880('0x1')](()=>{this[_0x3880('0x23')](_0x5ac647)['_saved']=!0x0;});}),this[_0x3880('0xf6')][_0x3880('0x2c')](_0x13768b,_0x3880('0x10a'));break;case _0x3880('0x6c'):this['_updateSuggestionData'](_0x188049,{'state':_0x3880('0x14b')});case _0x3880('0xf1'):this[_0x3880('0xf6')][_0x3880('0x2c')](_0x13768b,_0x3880('0xe2')),this['fire'](_0x3880('0x16d'),_0x13768b);break;case _0x3880('0xe2'):this[_0x3880('0x89')](_0x3880('0x22'),_0x13768b);}return _0x13768b[_0x3880('0x72')](_0x2c4f16),_0x13768b;}[_0x3880('0x13f')](_0x3f5a5b){const _0x29baee=Array[_0x3880('0xba')](_0x3f5a5b),_0x16e991=_0x29baee[_0x3880('0x141')](_0x46198a=>_0x3880('0x76')==_0x46198a[_0x3880('0x103')]);this[_0x3880('0x99')](_0x16e991);const _0x2710a0=_0x29baee['filter'](_0x40f4d6=>!_0x40f4d6[_0x3880('0x28')]&&_0x3880('0x76')!=_0x40f4d6[_0x3880('0x103')]),_0xd5eda=this[_0x3880('0xfa')]({'skipNotAttached':!0x0})[_0x3880('0x141')](_0x61360a=>!_0x61360a[_0x3880('0x28')]&&'attribute'!=_0x61360a[_0x3880('0x103')]),_0x7ae04e=_0xd5eda[_0x3880('0x141')](_0x37a2db=>!_0x3f5a5b[_0x3880('0xb0')](_0x37a2db)),_0x3a0713=new Map(_0xd5eda[_0x3880('0x137')](_0x5d9f18=>[_0x5d9f18,this['_suggestionFactory'][_0x3880('0x12a')](_0x5d9f18[_0x3880('0x103')],_0x5d9f18[_0x3880('0x12e')],_0x3880('0x117'))])),_0x3edf5e=new Map(_0xd5eda[_0x3880('0x137')](_0xeee296=>[_0xeee296,_0xeee296['getFirstRange']()])),_0x35dd89=new Set(),_0x36a98e=new Set();for(let _0x187eb6=0x0;_0x187eb6<_0x2710a0[_0x3880('0xe4')];_0x187eb6++)_0x3338e7(_0x2710a0[_0x187eb6],_0x2710a0,_0x187eb6+0x1);for(let _0xa36b68=0x0;_0xa36b68<_0x2710a0[_0x3880('0xe4')];_0xa36b68++)_0x3338e7(_0x2710a0[_0xa36b68],_0x7ae04e,0x0);const _0x3c852e=new Set();for(let _0x270fa7=0x0;_0x270fa7<_0x2710a0['length'];_0x270fa7++){const _0x2aae6d=_0x2710a0[_0x270fa7];!_0x36a98e[_0x3880('0xb0')](_0x2aae6d)&&_0x2aae6d['previous']&&(_0x3c852e[_0x3880('0xea')](_0x2aae6d[_0x3880('0x8c')]),_0x2aae6d[_0x3880('0x8c')][_0x3880('0xef')]===_0x2aae6d&&(_0x2aae6d[_0x3880('0x8c')][_0x3880('0xef')]=null),_0x2aae6d[_0x3880('0x8c')]=null),!_0x35dd89[_0x3880('0xb0')](_0x2aae6d)&&_0x2aae6d[_0x3880('0xef')]&&(_0x3c852e[_0x3880('0xea')](_0x2aae6d[_0x3880('0xef')]),_0x2aae6d['next'][_0x3880('0x8c')]===_0x2aae6d&&(_0x2aae6d['next']['previous']=null),_0x2aae6d[_0x3880('0xef')]=null);}function _0x3338e7(_0x2839b4,_0x18b8c8,_0xb7c7b){for(let _0x79f5a8=_0xb7c7b;_0x79f5a8<_0x18b8c8[_0x3880('0xe4')];_0x79f5a8++){const _0x234470=_0x32ef9e(_0x2839b4,_0x18b8c8[_0x79f5a8]);_0x234470&&(_0x234470[0x0][_0x3880('0xef')]=_0x234470[0x1],_0x234470[0x1]['previous']=_0x234470[0x0],_0x35dd89[_0x3880('0xea')](_0x234470[0x0]),_0x36a98e[_0x3880('0xea')](_0x234470[0x1]));}}function _0x32ef9e(_0x27b004,_0xd24c3e){if(_0x27b004[_0x3880('0x7a')]['id']!==_0xd24c3e[_0x3880('0x7a')]['id'])return null;const _0xc99508=_0x3a0713[_0x3880('0x6a')](_0x27b004)(_0x27b004,_0xd24c3e,_0x3edf5e[_0x3880('0x6a')](_0x27b004),_0x3edf5e['get'](_0xd24c3e));if(!_0xc99508)return null;return _0x3a0713[_0x3880('0x6a')](_0xd24c3e)(_0x27b004,_0xd24c3e,_0x3edf5e[_0x3880('0x6a')](_0x27b004),_0x3edf5e[_0x3880('0x6a')](_0xd24c3e))?_0xc99508[0x1][_0x3880('0x83')]&&_0xc99508[0x1][_0x3880('0x83')]['length']?null:_0xc99508:null;}_0x3c852e['size']&&this[_0x3880('0x13f')](_0x3c852e);}[_0x3880('0x99')](_0x4024ef){if(0x0==_0x4024ef[_0x3880('0xe4')])return;const _0x1afdb4=this[_0x3880('0xfa')]({'skipNotAttached':!0x0})['filter'](_0x193905=>_0x3880('0x76')==_0x193905['type']&&_0x193905[_0x3880('0x58')]),_0x39f1d3=[],_0x42bd68=new Map();for(const _0x15fe4b of _0x1afdb4){const _0x300838=_0x29eae1(_0x15fe4b[_0x3880('0x39')]);_0x42bd68['has'](_0x300838)||(_0x42bd68[_0x3880('0x2c')](_0x300838,_0x39f1d3[_0x3880('0xe4')]),_0x39f1d3[_0x3880('0x8d')]([]));const _0xe7fc1e=_0x42bd68['get'](_0x300838);_0x39f1d3[_0xe7fc1e][_0x3880('0x8d')](_0x15fe4b);}!function(){_0x39f1d3[_0x3880('0xdc')]((_0x156545,_0x30878a)=>{const _0x5cebda=_0x156545[0x0][_0x3880('0xb9')],_0x498eeb=_0x30878a[0x0][_0x3880('0xb9')];return _0x5cebda==_0x498eeb?_0x156545[0x0][_0x3880('0x39')]['groupId']<_0x30878a[0x0]['attributes']['groupId']?-0x1:0x1:_0x5cebda<_0x498eeb?-0x1:0x1;});for(const _0x39c03f of _0x39f1d3)_0x39c03f[_0x3880('0xdc')]((_0x2e5848,_0x3eb300)=>_0x2e5848['id']<_0x3eb300['id']?-0x1:0x1);}();for(let _0x583d16=0x0;_0x583d16<_0x39f1d3['length'];_0x583d16++){if(0x0==_0x39f1d3[_0x583d16][_0x3880('0xe4')])continue;const _0x255b6d=[];for(let _0x9bcb0b=_0x583d16+0x1;_0x9bcb0b<_0x39f1d3[_0x3880('0xe4')];_0x9bcb0b++)0x0!=_0x39f1d3[_0x9bcb0b][_0x3880('0xe4')]&&_0x3dd250(_0x39f1d3[_0x583d16],_0x39f1d3[_0x9bcb0b])&&_0x255b6d[_0x3880('0x8d')](_0x9bcb0b);for(const _0x48bfe5 of _0x255b6d)_0x39f1d3[_0x583d16]=_0x39f1d3[_0x583d16][_0x3880('0xb8')](_0x39f1d3[_0x48bfe5]),_0x39f1d3[_0x48bfe5]=[];}for(const _0x151b8d of _0x39f1d3)for(let _0xccf182=0x0;_0xccf182<_0x151b8d[_0x3880('0xe4')];_0xccf182++)_0x151b8d[_0xccf182][_0x3880('0xef')]=_0x151b8d[_0xccf182+0x1]||null;for(const _0xe79a98 of _0x39f1d3)for(let _0x12b13d=0x0;_0x12b13d<_0xe79a98[_0x3880('0xe4')];_0x12b13d++)_0xe79a98[_0x12b13d]['previous']=_0xe79a98[_0x12b13d-0x1]||null;function _0x3dd250(_0x77d723,_0x2a6903){if(_0x77d723[0x0][_0x3880('0x7a')]!==_0x2a6903[0x0][_0x3880('0x7a')])return!0x1;if(!function(_0x5834f6,_0x10b9b1){if(!_0x5834f6[_0x3880('0x161')]&&!_0x10b9b1['hasComments'])return!0x0;if(_0x5834f6['hasComments']&&_0x10b9b1[_0x3880('0x161')])return!0x1;if(_0x5834f6['hasComments']&&_0x10b9b1['createdAt']<_0x5834f6[_0x3880('0x83')]['comments']['get'](0x0)[_0x3880('0xb9')])return!0x0;if(_0x10b9b1[_0x3880('0x161')]&&_0x5834f6[_0x3880('0xb9')]<_0x10b9b1['commentThread'][_0x3880('0x92')]['get'](0x0)[_0x3880('0xb9')])return!0x0;return!0x1;}(_0x77d723[0x0],_0x2a6903[0x0]))return!0x1;const _0x34a10e=_0x45df73(_0x77d723[0x0]['attributes'],_0x3880('0x37')),_0x282c3b=_0x45df73(_0x2a6903[0x0][_0x3880('0x39')],_0x3880('0x37'));if(!_0x29860a(_0x34a10e,_0x282c3b))return!0x1;return!!_0x77d723[_0x3880('0x73')](_0x15cc94=>_0x2a6903[_0x3880('0x3c')](_0x2dce59=>_0x15cc94[_0x3880('0x96')]()[_0x3880('0x169')](_0x2dce59[_0x3880('0x96')]())))&&_0x2a6903[_0x3880('0x73')](_0x564000=>_0x77d723[_0x3880('0x3c')](_0x5e1a91=>_0x564000[_0x3880('0x96')]()['isEqual'](_0x5e1a91[_0x3880('0x96')]())));}}[_0x3880('0x69')](_0x7c3a58){const _0x7b728=Array[_0x3880('0xba')](_0x7c3a58),_0x102fa3=this[_0x3880('0xfa')]({'skipNotAttached':!0x0}),_0x143b0e=_0x102fa3[_0x3880('0x141')](_0x14acdd=>!_0x7c3a58['has'](_0x14acdd)),_0x12eef9=new Map(_0x7b728[_0x3880('0x137')](_0x69f2b5=>[_0x69f2b5,this[_0x3880('0x17')]['getSuggestionCallback'](_0x69f2b5[_0x3880('0x103')],_0x69f2b5[_0x3880('0x12e')],_0x3880('0x10b'))])),_0x5333bf=new Map(_0x102fa3[_0x3880('0x137')](_0x5a6e94=>[_0x5a6e94,_0x5a6e94[_0x3880('0x33')]()]));for(let _0xafd75d=0x0;_0xafd75d<_0x7b728['length'];_0xafd75d++){if(_0x4a4be9(this,_0x7b728[_0xafd75d],_0x7b728,_0xafd75d+0x1))return!0x0;}for(let _0xc8e524=0x0;_0xc8e524<_0x7b728[_0x3880('0xe4')];_0xc8e524++){if(_0x4a4be9(this,_0x7b728[_0xc8e524],_0x143b0e,0x0))return!0x0;}return!0x1;function _0x4a4be9(_0x3cd210,_0x116163,_0x7dc3ca,_0x24aff3){for(let _0x19d4ec=_0x24aff3;_0x19d4ec<_0x7dc3ca[_0x3880('0xe4')];_0x19d4ec++){const _0x2ae767=_0x7dc3ca[_0x19d4ec];if(_0x2ae767[_0x3880('0x103')]!==_0x116163[_0x3880('0x103')]||_0x2ae767['author']['id']!==_0x116163['author']['id']||_0x2ae767['subType']!==_0x116163[_0x3880('0x12e')])continue;if(!Vt(_0x116163,_0x2ae767))continue;if(_0x3880('0x76')==_0x116163['type']&&_0x116163[_0x3880('0x5a')][_0x3880('0x15d')]!=_0x2ae767['data']['oldValue'])continue;if('attribute'==_0x116163[_0x3880('0x103')]&&_0x3cd210[_0x3880('0x2a')](_0x116163[_0x3880('0x5a')][_0x3880('0x61')]))continue;if('formatBlock'==_0x116163[_0x3880('0x103')]){const _0x26e4cc=_0x3cd210[_0x3880('0x178')][_0x3880('0x13c')],_0x5e64df=_0x116163['getContainedElement']();if(_0x5e64df&&(_0x26e4cc[_0x3880('0xcf')][_0x3880('0x159')](_0x5e64df)||_0x26e4cc[_0x3880('0xcf')]['isLimit'](_0x5e64df)))continue;}const _0x173c23=_0x12eef9[_0x3880('0x6a')](_0x116163),_0x3de8b7=_0x5333bf['get'](_0x116163),_0x193ed6=_0x5333bf['get'](_0x2ae767),_0x4acdbc=_0x116163['commentThread']&&_0x116163[_0x3880('0x83')][_0x3880('0xe4')],_0x4ed96c=_0x2ae767[_0x3880('0x83')]&&_0x2ae767['commentThread'][_0x3880('0xe4')];if(!_0x4acdbc&&_0x173c23(_0x193ed6,_0x3de8b7))return _0x3cd210[_0x3880('0x16b')](_0x2ae767,_0x116163),_0x5333bf[_0x3880('0x48')](_0x116163),!0x0;if(!_0x4ed96c&&_0x173c23(_0x3de8b7,_0x193ed6))return _0x3cd210[_0x3880('0x16b')](_0x116163,_0x2ae767),_0x5333bf[_0x3880('0x48')](_0x2ae767),!0x0;}return!0x1;}}[_0x3880('0x16b')](_0x5cc0d2,_0x263433){if(_0x5cc0d2['isMultiRange'])for(const _0x558bb1 of _0x263433[_0x3880('0x33')]())_0x5cc0d2[_0x3880('0x57')](_0x558bb1);else{const _0x2224eb=_0x263433[_0x3880('0x96')]()[_0x3880('0xe9')];this[_0x3880('0x123')](_0x5cc0d2,this[_0x3880('0x13d')][_0x3880('0x54')](_0x5cc0d2[_0x3880('0x96')]()[_0x3880('0x64')],_0x2224eb));}_0x263433[_0x3880('0x113')]();}[_0x3880('0xae')](_0x2f7fa5,_0x33d7f5){const _0x433ac8=_0x2f7fa5[_0x3880('0x9e')](_0x3880('0xc7'))||_0x2f7fa5['startsWith']('attribute')?_0x3880('0x4f'):_0x2f7fa5[_0x3880('0x14c')]();return _0x33b9cf(this['editor'][_0x3880('0x8e')],_0x33d7f5+'_'+_0x433ac8+_0x3880('0x14d'));}[_0x3880('0xe7')](){const _0x58aee0=this[_0x3880('0x178')];_0x24b154(this[_0x3880('0x13d')],({left:_0x4d85d8,entered:_0x4fdaa6})=>{const _0x33cf48=[];for(const _0x521f72 of _0x4d85d8){const {group:_0x32216e,type:_0x48d038}=this[_0x3880('0x68')](_0x521f72[_0x3880('0x30')]);if(_0x3880('0x35')===_0x32216e){_0x33cf48['push'](this[_0x3880('0xae')](_0x48d038,_0x3880('0xfd')));break;}}for(const _0x4a4fef of _0x4fdaa6){const {group:_0x4969da,type:_0x30240f}=this[_0x3880('0x68')](_0x4a4fef['name']);if(_0x3880('0x35')===_0x4969da){_0x33cf48[_0x3880('0x8d')](this[_0x3880('0xae')](_0x30240f,_0x3880('0xbc')));break;}}_0x33cf48[_0x3880('0xe4')]&&_0x58aee0['ui']['ariaLiveAnnouncer'][_0x3880('0xd')](_0x3880('0xf8'),_0x33cf48[_0x3880('0x10b')]('\x20'));});}[_0x3880('0x0')](_0xe95d65){if(null!==this[_0x3880('0x7e')])return!0x1;const _0x51ec7c=this['editor'],_0x2186e7=_0x51ec7c[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x146')]['getChanges']();if(0x0==_0x2186e7['length'])return!0x1;const _0x47ccee=[],_0x21b12c=_0x2186e7['filter'](_0x214c2f=>'attribute'==_0x214c2f[_0x3880('0x103')]),_0x2c2d0c=_0x2186e7[_0x3880('0x141')](_0x45476e=>_0x3880('0xbd')==_0x45476e['type']&&_0x3880('0x157')!=_0x45476e[_0x3880('0x30')]),_0x1e0102=_0x2186e7['filter'](_0x4186cb=>_0x3880('0xe8')==_0x4186cb['type']&&_0x3880('0x157')!=_0x4186cb[_0x3880('0x30')]);for(const _0x236c10 of _0x21b12c)_0x47ccee[_0x3880('0x8d')]({'key':_0x236c10[_0x3880('0x1d')],'newValue':_0x236c10['attributeNewValue'],'oldValue':_0x236c10['attributeOldValue'],'range':_0x562079(_0x236c10[_0x3880('0xfe')])});for(const _0x35679c of _0x2c2d0c){const _0x435205=_0x1e0102[_0x3880('0x20')](_0x7bfb14=>_0x7bfb14[_0x3880('0x11b')][_0x3880('0x169')](_0x35679c[_0x3880('0x11b')]));_0x435205&&_0x47ccee[_0x3880('0x8d')]({'key':_0x3880('0x128'),'newValue':_0x35679c['name'],'oldValue':_0x435205['name'],'range':_0x51ec7c[_0x3880('0x13c')]['createRangeOn'](_0x35679c[_0x3880('0x11b')][_0x3880('0xce')])});}return 0x0!=_0x47ccee[_0x3880('0xe4')]&&this[_0x3880('0x16c')](_0xe95d65,_0x47ccee);function _0x562079(_0x5166c4){return null==_0x5166c4[_0x3880('0xe9')][_0x3880('0xb')]&&_0x5166c4['end']['parent']==_0x5166c4[_0x3880('0x64')][_0x3880('0xce')]?Ut(_0x5166c4[_0x3880('0x64')][_0x3880('0xce')],_0x51ec7c['model']):_0x5166c4;}}[_0x3880('0xee')](_0x128a0c){let _0x370d9b=!0x1;const _0x4b8aeb=this[_0x3880('0x178')][_0x3880('0x13c')][_0x3880('0x26')]['differ'][_0x3880('0x5')]()[_0x3880('0x141')](_0x21b3ba=>_0x21b3ba['data'][_0x3880('0xdb')]&&_0x21b3ba[_0x3880('0x30')][_0x3880('0x9e')]('suggestion:attribute:'));for(const _0x20f96e of _0x4b8aeb){const {subType:_0x16b3ee,id:_0x4bcb3f}=this['_splitMarkerName'](_0x20f96e[_0x3880('0x30')]),_0x59a934=_0x16b3ee[_0x3880('0x13a')]('|')[0x0];for(const _0x5b3fdc of this[_0x3880('0xfa')]({'skipNotAttached':!0x0}))_0x5b3fdc['id']!=_0x4bcb3f&&_0x3880('0x76')==_0x5b3fdc[_0x3880('0x103')]&&_0x5b3fdc['data']&&_0x5b3fdc['data'][_0x3880('0x61')]==_0x59a934&&_0x5b3fdc['getFirstRange']()[_0x3880('0x132')](_0x20f96e[_0x3880('0x5a')][_0x3880('0xdb')])&&(this['_reduceSuggestionAttributeRange'](_0x5b3fdc,_0x20f96e[_0x3880('0x5a')][_0x3880('0xdb')],_0x128a0c),_0x370d9b=!0x0);}return _0x370d9b;}[_0x3880('0x165')](_0x53a1eb){if(null!==this[_0x3880('0x7e')])return void _0x53a1eb();const _0x1f02c4=this['editor'];this[_0x3880('0x7e')]=_0x1f02c4[_0x3880('0x13c')][_0x3880('0x26')]['version'],_0x53a1eb();const _0x229e58=new Map();for(const _0x1d26da of _0x1f02c4[_0x3880('0x13c')]['document'][_0x3880('0x87')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if([_0x3880('0x11c'),'addAttribute',_0x3880('0x135'),_0x3880('0xf3')][_0x3880('0x4e')](_0x1d26da[_0x3880('0x103')])){const _0xcdc86f=_0x1d26da[_0x3880('0x105')],_0x562c23=_0x229e58[_0x3880('0x6a')](_0xcdc86f)||[];_0x562c23[_0x3880('0x8d')](_0x1d26da),_0x229e58[_0x3880('0x2c')](_0xcdc86f,_0x562c23);}this[_0x3880('0x7e')]=null;for(const [_0x5e6453,_0x322e7c]of _0x229e58){const _0x2c3ed3=_0x5396c2();_0x1f02c4[_0x3880('0x13c')][_0x3880('0xca')](_0x5e6453,_0x5bafbc=>{const _0x5c29f6=[];for(const _0x3262d3 of _0x322e7c){let _0x9050cc,_0x6ad878,_0x3003ec,_0x43740d;if(_0x3880('0x11c')==_0x3262d3[_0x3880('0x103')]){const _0x46b1d8=_0x3262d3;_0x9050cc=Ut(_0x46b1d8[_0x3880('0x11b')][_0x3880('0xce')],_0x1f02c4[_0x3880('0x13c')]),_0x6ad878='$elementName',_0x3003ec=_0x46b1d8[_0x3880('0x6e')],_0x43740d=_0x46b1d8['oldName'];}else{const _0x5bd255=_0x3262d3,_0x1bcc2c=this[_0x3880('0x2a')](_0x5bd255[_0x3880('0x61')]),_0x43a5ed=this[_0x3880('0x142')][_0x3880('0xb0')](_0x5bd255[_0x3880('0x61')]);if(!_0x1bcc2c&&!_0x43a5ed)continue;_0x9050cc=_0x1bcc2c?Ut(_0x5bd255['range'][_0x3880('0x64')][_0x3880('0xce')],_0x1f02c4[_0x3880('0x13c')]):_0x5bd255[_0x3880('0xfe')],_0x6ad878=_0x5bd255['key'],_0x3003ec=_0x3880('0x135')==_0x3262d3['type']?void 0x0:_0x5bd255[_0x3880('0x164')],_0x43740d=_0x5bd255[_0x3880('0x15d')];}this[_0x3880('0x1e')](_0x9050cc,_0x6ad878,_0x43740d,_0x3003ec,{'groupId':_0x2c3ed3}),_0x5c29f6['push']({'range':_0x9050cc,'key':_0x6ad878,'newValue':_0x3003ec,'oldValue':_0x43740d});}this[_0x3880('0x16c')](_0x5bafbc,_0x5c29f6);});}}[_0x3880('0x16c')](_0x100189,_0x1d8ac7){if(0x0==_0x1d8ac7['length'])return!0x1;let _0x23d8e3=!0x1;for(const _0x4b0253 of _0x1d8ac7){const _0x1054ca=this[_0x3880('0x10c')](_0x4b0253[_0x3880('0xfe')],_0x3880('0x76'))['filter'](_0xcdc648=>!_0xcdc648[_0x3880('0x7')][_0x3880('0xbb')])[_0x3880('0x137')](_0x3ca52c=>_0x3ca52c['suggestion']),_0x393d11=_0x29eae1({'newValue':_0x4b0253[_0x3880('0x164')]});_0x1054ca[_0x3880('0x141')](_0x3caa24=>{const [_0x1b8dd8,_0x2ab9f4]=_0x3caa24['subType'][_0x3880('0x13a')]('|');return _0x1b8dd8==_0x4b0253[_0x3880('0x61')]&&_0x2ab9f4!=_0x393d11;})[_0x3880('0xf')](_0x4f056c=>{this[_0x3880('0x151')](_0x4f056c,_0x4b0253['range'],_0x100189),_0x23d8e3=!0x0;});}return _0x23d8e3;}[_0x3880('0x151')](_0x2573c9,_0x4ae0da,_0x1a248b){const _0x513fc7=_0x2573c9['getFirstRange']()['getDifference'](_0x4ae0da);0x0!==_0x513fc7['length']?0x1!==_0x513fc7[_0x3880('0xe4')]?this[_0x3880('0xf7')](_0x2573c9,_0x4ae0da[_0x3880('0x64')],_0x4ae0da['end']):this[_0x3880('0x123')](_0x2573c9,_0x513fc7[0x0]):_0x1a248b['removeMarker'](_0x2573c9['getFirstMarker']());}}class Bt{constructor(_0x5bb9f6){this[_0x3880('0x16')]=_0x5bb9f6,this['_model']=_0x5bb9f6['model'],this[_0x3880('0x100')]=new Map(),this[_0x3880('0xd4')]=new Map(),this[_0x3880('0x2e')]();}[_0x3880('0xff')](_0x31ecff,_0x1cc41b,_0x300f03,_0x5f2069,_0x4499d2,_0x14b73f){return new _0x256f0e(this[_0x3880('0x13d')],{'type':_0x31ecff,'subType':_0x1cc41b,'id':_0x300f03,'author':_0x5f2069,'creator':_0x5f2069,'attributes':_0x4499d2,'onAttributesChange':_0x14b73f,'onAccept':(..._0x430889)=>this['getSuggestionCallback'](_0x31ecff,_0x1cc41b,_0x3880('0x77'))(..._0x430889),'onDiscard':(..._0x379119)=>this[_0x3880('0x12a')](_0x31ecff,_0x1cc41b,_0x3880('0x7f'))(..._0x379119)});}[_0x3880('0x15e')](_0x2a7bde,_0x13ee96,_0x714ff,_0x25e3b7){const _0x29e171=_0x2a7bde+':'+_0x13ee96+':'+_0x714ff;this[_0x3880('0x100')][_0x3880('0x2c')](_0x29e171,_0x25e3b7);}[_0x3880('0x12a')](_0x42dc8d,_0x1c6bde,_0x361e8d){const _0x7711f8=_0x42dc8d+':'+_0x1c6bde+':'+_0x361e8d;return this['_customCallbacks']['get'](_0x7711f8)||this['_defaultCallbacks'][_0x3880('0x6a')](_0x42dc8d+':'+_0x361e8d);}[_0x3880('0x2e')](){const _0x323b90=()=>!0x1,_0x4cb55d=_0x559439=>{_0x559439['sort']((_0x39ff83,_0x367408)=>_0x39ff83[_0x3880('0x64')][_0x3880('0x136')](_0x367408[_0x3880('0x64')])?0x1:-0x1),this[_0x3880('0x13d')][_0x3880('0xc4')](_0x2900d2=>{for(const _0x5fbc27 of _0x559439){let _0x3ceaa0;_0x3ceaa0=_0x5fbc27[_0x3880('0xe9')]['isAtEnd']&&_0x5fbc27[_0x3880('0xe9')][_0x3880('0x34')]==_0x5fbc27[_0x3880('0x64')][_0x3880('0xce')]?_0x2900d2[_0x3880('0xd9')](_0x5fbc27['start'][_0x3880('0xce')],'on'):_0x2900d2['createSelection'](_0x5fbc27),this['_model'][_0x3880('0x138')](_0x3ceaa0,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x39428f=(_0x5d7f00,_0x521d91)=>{_0x521d91&&this[_0x3880('0x13d')][_0x3880('0xc4')](_0x3a8d4a=>{const {commandName:_0x13d9f2,commandParams:_0x352a84=[]}=_0x521d91,_0x4dd06a=_0x5d7f00['map'](_0x107516=>(xt(_0x107516)&&(_0x107516=this[_0x3880('0x13d')][_0x3880('0x54')](_0x107516['end'])),_0x107516))[_0x3880('0x141')](_0x146b21=>'$graveyard'!==_0x146b21[_0x3880('0x67')][_0x3880('0x45')]);if(_0x4dd06a[_0x3880('0xe4')]<0x1)return;const _0x494a9f=Array[_0x3880('0xba')](this['_model'][_0x3880('0x26')][_0x3880('0xc0')][_0x3880('0x33')]())[_0x3880('0x137')](_0x36f2a9=>_0x2595e6[_0x3880('0xaa')](_0x36f2a9));_0x3a8d4a['setSelection'](_0x4dd06a);for(const _0x24895c of this[_0x3880('0x16')][_0x3880('0x41')]['commands']())_0x24895c[_0x3880('0x125')]();_0x352a84[_0x3880('0x8d')]({'forceDefaultExecution':!0x0}),this[_0x3880('0x16')]['execute'](_0x13d9f2,..._0x352a84);const _0x441996=_0x494a9f['filter'](_0x534b0b=>'$graveyard'!=_0x534b0b[_0x3880('0x67')][_0x3880('0x45')]);_0x441996[_0x3880('0xe4')]>0x0&&_0x3a8d4a[_0x3880('0x130')](_0x441996);for(const _0x114fb5 of _0x494a9f)_0x114fb5[_0x3880('0x120')]();});},_0x539c31=(_0x51f71b,_0x32a384)=>0x1==_0x51f71b['length']&&0x1==_0x32a384[_0x3880('0xe4')]&&_0x51f71b[0x0][_0x3880('0xe9')][_0x3880('0x169')](_0x32a384[0x0][_0x3880('0x64')]),_0x2feee1=(_0x3be250,_0x4f20c8,_0x36f285,_0x2c91da)=>Ot(_0x3be250,_0x4f20c8,_0x36f285,_0x2c91da,this[_0x3880('0x13d')])?[_0x3be250,_0x4f20c8]:Ot(_0x4f20c8,_0x3be250,_0x2c91da,_0x36f285,this['_model'])?[_0x4f20c8,_0x3be250]:null;this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x11a'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')]('insertion:discard',_0x4cb55d),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xcd'),_0x539c31),this[_0x3880('0xd4')]['set'](_0x3880('0x168'),_0x2feee1),this[_0x3880('0xd4')][_0x3880('0x2c')]('deletion:accept',_0x4cb55d),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x74'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x148'),_0x539c31),this['_defaultCallbacks']['set'](_0x3880('0x81'),_0x2feee1),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x173'),_0x39428f),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x14e'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')]('formatInline:join',_0x539c31),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x3d'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x6d'),_0x39428f),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xad'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x8b'),_0x539c31),this[_0x3880('0xd4')][_0x3880('0x2c')]('formatBlock:chain',_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xd8'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x97'),(_0x25f130,_0x1d84a3)=>{if(!_0x1d84a3)return;const _0x3fa6f3=this['_editor'][_0x3880('0xd2')]['get'](p);this[_0x3880('0x13d')][_0x3880('0xc4')](_0x2c92fb=>{if('$elementName'==_0x1d84a3[_0x3880('0x61')])for(const _0x5595af of _0x25f130){const _0x126a1b=_0x5595af[_0x3880('0x64')]['nodeAfter'],_0x23f13c=_0x1d84a3[_0x3880('0x15d')];_0x2c92fb[_0x3880('0x11c')](_0x126a1b,_0x23f13c);}else{if(_0x3fa6f3[_0x3880('0x2a')](_0x1d84a3[_0x3880('0x61')]))for(const _0x57f778 of _0x25f130)void 0x0!==_0x1d84a3[_0x3880('0x15d')]?_0x2c92fb[_0x3880('0x32')](_0x1d84a3[_0x3880('0x61')],_0x1d84a3[_0x3880('0x15d')],_0x57f778['start']['nodeAfter']):_0x2c92fb[_0x3880('0x135')](_0x1d84a3['key'],_0x57f778['start']['nodeAfter']);else for(const _0x4be7d6 of _0x25f130)_0x1d84a3[_0x3880('0x15d')]?_0x2c92fb[_0x3880('0x32')](_0x1d84a3['key'],_0x1d84a3['oldValue'],_0x4be7d6):_0x2c92fb[_0x3880('0x135')](_0x1d84a3[_0x3880('0x61')],_0x4be7d6);}});}),this['_defaultCallbacks'][_0x3880('0x2c')](_0x3880('0x143'),_0x539c31);}}function Tt(_0x526243,_0x491bfd,_0x2f3a1e){for(const _0x5df5ca of _0x491bfd[_0x3880('0x34')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5df5ca[_0x3880('0x67')]==_0x5df5ca)return!0x1;if(!_0x2f3a1e['containsItem'](_0x5df5ca))return!0x1;if(_0x526243['isObject'](_0x5df5ca)||_0x526243[_0x3880('0x172')](_0x5df5ca))return!0x0;}return!0x1;}function xt(_0x599f15){return _0x599f15[_0x3880('0xe9')]['parent']==_0x599f15[_0x3880('0x64')][_0x3880('0xce')]&&_0x599f15[_0x3880('0xe9')][_0x3880('0xcb')];}function Et(_0x56751b,_0x30a971,_0x7850b2,_0xbe6c62){const _0x1e3471=_0x7ae22d=>!_0x7ae22d[_0x3880('0xf5')]['is'](_0x3880('0x10e'))&&!_0xbe6c62[_0x3880('0x159')](_0x7ae22d[_0x3880('0xf5')]),_0x3ac7c7=_0x56751b[_0x3880('0x64')][_0x3880('0x16e')](_0x1e3471),_0x53f98c=_0x56751b[_0x3880('0xe9')][_0x3880('0x16e')](_0x1e3471,{'direction':_0x3880('0x118')});return(!_0x56751b[_0x3880('0x64')]['isEqual'](_0x3ac7c7)||!_0x56751b[_0x3880('0xe9')][_0x3880('0x169')](_0x53f98c))&&(_0x3ac7c7[_0x3880('0x136')](_0x53f98c)?_0x7850b2[_0x3880('0x84')](_0x30a971,{'range':_0x7850b2[_0x3880('0x54')](_0x3ac7c7,_0x53f98c)}):_0x7850b2['removeMarker'](_0x30a971),!0x0);}function Rt(_0xbb8264){return _0x29eae1(_0xbb8264);}function jt(_0x5bf0db){const _0x94ba86=_0x5bf0db[_0x3880('0x64')][_0x3880('0xce')];return _0x94ba86&&_0x94ba86['is'](_0x3880('0xa3'));}function Ut(_0x3ed6bf,_0x3e1023){const _0x49a967=_0x3e1023['schema']['isObject'](_0x3ed6bf)||_0x3e1023[_0x3880('0xcf')][_0x3880('0x40')](_0x3ed6bf);return _0x3e1023[_0x3880('0x54')](_0x3e1023[_0x3880('0xc3')](_0x3ed6bf,_0x3880('0xc9')),_0x49a967?_0x3e1023[_0x3880('0x47')](_0x3ed6bf):_0x3e1023[_0x3880('0xc3')](_0x3ed6bf,'end'));}function Ot(_0x3b613c,_0x2d7d0d,_0x556eaa,_0x55cc0c,_0x363fa5){if(!Vt(_0x3b613c,_0x2d7d0d))return!0x1;if(_0x556eaa[_0x3880('0xe9')][_0x3880('0x169')](_0x55cc0c['start']))return!0x0;if(_0x3b613c['type']!=_0x2d7d0d[_0x3880('0x103')])return!0x1;if(!_0x556eaa[_0x3880('0xe9')][_0x3880('0x11d')](_0x55cc0c[_0x3880('0x64')]))return!0x1;const _0x21ae98=_0x363fa5['createRange'](_0x556eaa[_0x3880('0xe9')],_0x55cc0c[_0x3880('0x64')])[_0x3880('0x3f')]();for(const _0x378efc of _0x21ae98)if([_0x3880('0x98'),'elementEnd'][_0x3880('0x4e')](_0x378efc[_0x3880('0x103')])&&_0x363fa5[_0x3880('0xcf')][_0x3880('0x172')](_0x378efc[_0x3880('0xf5')]))return!0x1;return!0x0;}function Vt(_0x32ecb9,_0x4c6afd){return!(!_0x32ecb9[_0x3880('0x58')]||!_0x4c6afd[_0x3880('0x58')])&&_0x29860a(_0x32ecb9[_0x3880('0x39')],_0x4c6afd[_0x3880('0x39')]);}function Gt(_0x4c849f,_0x1832e6){const _0x11e7bd=Ft(_0x4c849f[_0x3880('0x39')]),_0xaa1319=Ft(_0x1832e6);if(!_0x4c849f[_0x3880('0x58')])return!0x1;for(const _0x466ede of Object['keys'](_0xaa1319))if(!_0x29860a(_0x11e7bd[_0x466ede],_0xaa1319[_0x466ede]))return!0x1;return!0x0;}function Ft(_0x374576){const _0x489b05=Object['assign']({},_0x374576);return delete _0x489b05[_0x3880('0x8f')],delete _0x489b05[_0x3880('0xed')],_0x489b05;}function Pt(_0x17bd8a){return _0x3880('0x76')==_0x17bd8a['type']?_0x17bd8a[_0x3880('0x12e')][_0x3880('0x13a')]('|')[0x0]:null;}