@ckeditor/ckeditor5-track-changes 40.1.0 → 40.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +15 -15
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sq.js +1 -1
  39. package/build/translations/sr-latn.js +1 -1
  40. package/build/translations/sr.js +1 -1
  41. package/build/translations/sv.js +1 -1
  42. package/build/translations/th.js +1 -1
  43. package/build/translations/tk.js +1 -1
  44. package/build/translations/tr.js +1 -1
  45. package/build/translations/tt.js +1 -1
  46. package/build/translations/uk.js +1 -1
  47. package/build/translations/ur.js +1 -1
  48. package/build/translations/vi.js +1 -1
  49. package/build/translations/zh-cn.js +1 -1
  50. package/build/translations/zh.js +1 -1
  51. package/lang/translations/ar.po +5 -5
  52. package/lang/translations/az.po +4 -4
  53. package/lang/translations/bg.po +5 -5
  54. package/lang/translations/bn.po +5 -5
  55. package/lang/translations/ca.po +5 -5
  56. package/lang/translations/cs.po +5 -5
  57. package/lang/translations/da.po +5 -5
  58. package/lang/translations/de.po +5 -5
  59. package/lang/translations/el.po +5 -5
  60. package/lang/translations/en-au.po +5 -5
  61. package/lang/translations/en.po +5 -5
  62. package/lang/translations/es.po +5 -5
  63. package/lang/translations/et.po +5 -5
  64. package/lang/translations/fi.po +5 -5
  65. package/lang/translations/fr.po +5 -5
  66. package/lang/translations/gl.po +36 -36
  67. package/lang/translations/he.po +5 -5
  68. package/lang/translations/hi.po +5 -5
  69. package/lang/translations/hr.po +5 -5
  70. package/lang/translations/hu.po +5 -5
  71. package/lang/translations/id.po +5 -5
  72. package/lang/translations/it.po +5 -5
  73. package/lang/translations/ja.po +5 -5
  74. package/lang/translations/ko.po +5 -5
  75. package/lang/translations/lt.po +5 -5
  76. package/lang/translations/lv.po +5 -5
  77. package/lang/translations/ms.po +5 -5
  78. package/lang/translations/nl.po +5 -5
  79. package/lang/translations/no.po +5 -5
  80. package/lang/translations/pl.po +5 -5
  81. package/lang/translations/pt-br.po +5 -5
  82. package/lang/translations/pt.po +5 -5
  83. package/lang/translations/ro.po +5 -5
  84. package/lang/translations/ru.po +5 -5
  85. package/lang/translations/sk.po +5 -5
  86. package/lang/translations/sq.po +4 -4
  87. package/lang/translations/sr-latn.po +24 -24
  88. package/lang/translations/sr.po +5 -5
  89. package/lang/translations/sv.po +5 -5
  90. package/lang/translations/th.po +5 -5
  91. package/lang/translations/tk.po +4 -4
  92. package/lang/translations/tr.po +5 -5
  93. package/lang/translations/tt.po +4 -4
  94. package/lang/translations/uk.po +5 -5
  95. package/lang/translations/ur.po +4 -4
  96. package/lang/translations/vi.po +5 -5
  97. package/lang/translations/zh-cn.po +5 -5
  98. package/lang/translations/zh.po +5 -5
  99. package/package.json +3 -3
  100. package/src/commands/acceptsuggestioncommand.js +1 -1
  101. package/src/commands/discardsuggestioncommand.js +1 -1
  102. package/src/commands/executeonallsuggestionscommand.js +1 -1
  103. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  104. package/src/commands/trackchangescommand.js +1 -1
  105. package/src/integrations/aiassistant.js +1 -1
  106. package/src/integrations/alignment.js +1 -1
  107. package/src/integrations/basicstyles.js +1 -1
  108. package/src/integrations/blockquote.js +1 -1
  109. package/src/integrations/ckbox.js +1 -1
  110. package/src/integrations/codeblock.js +1 -1
  111. package/src/integrations/comments.js +1 -1
  112. package/src/integrations/deletecommand.js +1 -1
  113. package/src/integrations/documentlist.js +1 -1
  114. package/src/integrations/documentlistproperties.js +1 -1
  115. package/src/integrations/entercommand.js +1 -1
  116. package/src/integrations/findandreplace.js +1 -1
  117. package/src/integrations/font.js +1 -1
  118. package/src/integrations/formatpainter.js +1 -1
  119. package/src/integrations/heading.js +1 -1
  120. package/src/integrations/highlight.js +1 -1
  121. package/src/integrations/horizontalline.js +1 -1
  122. package/src/integrations/htmlembed.js +1 -1
  123. package/src/integrations/image.js +1 -1
  124. package/src/integrations/imagereplace.js +1 -1
  125. package/src/integrations/imagestyle.js +1 -1
  126. package/src/integrations/importword.js +1 -1
  127. package/src/integrations/indent.js +1 -1
  128. package/src/integrations/inputcommand.js +1 -1
  129. package/src/integrations/link.js +1 -1
  130. package/src/integrations/list.js +1 -1
  131. package/src/integrations/listproperties.js +1 -1
  132. package/src/integrations/mediaembed.js +1 -1
  133. package/src/integrations/mention.js +1 -1
  134. package/src/integrations/pagebreak.js +1 -1
  135. package/src/integrations/paragraph.js +1 -1
  136. package/src/integrations/removeformat.js +1 -1
  137. package/src/integrations/restrictededitingmode.js +1 -1
  138. package/src/integrations/shiftentercommand.js +1 -1
  139. package/src/integrations/standardeditingmode.js +1 -1
  140. package/src/integrations/style.js +1 -1
  141. package/src/integrations/table.js +1 -1
  142. package/src/integrations/tablecaption.js +1 -1
  143. package/src/integrations/tableclipboard.js +1 -1
  144. package/src/integrations/tablecolumnresize.js +1 -1
  145. package/src/integrations/tableheadings.js +1 -1
  146. package/src/integrations/tablemergesplit.js +1 -1
  147. package/src/integrations/tableofcontents.js +1 -1
  148. package/src/integrations/tableproperties.js +1 -1
  149. package/src/integrations/template.js +1 -1
  150. package/src/integrations/title.js +1 -1
  151. package/src/integrations/undo.js +1 -1
  152. package/src/integrations/utils.js +1 -1
  153. package/src/suggestion.js +1 -1
  154. package/src/suggestiondescriptionfactory.js +1 -1
  155. package/src/trackchanges.js +1 -1
  156. package/src/trackchangesdata.js +1 -1
  157. package/src/trackchangesediting.js +1 -1
  158. package/src/trackchangesui.js +1 -1
  159. package/src/ui/suggestioncontroller.js +1 -1
  160. package/src/ui/view/basesuggestionthreadview.js +1 -1
  161. package/src/ui/view/suggestionthreadview.js +1 -1
  162. package/src/utils/common-translations.js +1 -1
  163. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2891=['track-changes-command-not-found','batch','_updateSuggestionData','setAttribute','_findSuggestions','markAttributeChange','getCustomProperty','_recordAttributeChanges','getUser','createRange','getFirstRange','previous','rootName','model','formatBlock:','getAncestors','markInlineFormat','originalSuggestionId','item','removeAttribute','_saved','consumable','options','getSuggestions','markerName','@external','removeMarker','values','discardSelectedSuggestions','isNextTo','_recordAttributeSuggestionsFromVersion','commandName','addSuggestionData','getSuggestion','warn','markMultiRangeBlockFormat','track-changes-adapter-missing-getsuggestion','isInsideObject','getShiftedBy','deletion:','detach','fromRange','_inlineAttributeKeys','containsItem','suggestion:attribute:','formatBlock:accept','_enabledCommands','isBefore','suggestionUnloaded','nodeBefore','backward','never','_getMarkerAnnouncementText','deletion:chain','addAttribute','differ','track-changes-enable-command-twice','high','deletion:join','_setSuggestionData','before','addHighlight','selection','acceptSuggestion','activeMarkers','external:','formatBlock','isEqual','suggestionChanged','containerElement','isIntersecting','_suggestionState','ENTER','commands','update:suggestion','trackChanges','_isForcedDefaultExecutionBlock','CommentsRepository','_onDiscard','change:_saved','ready','resolve','getOperations','filter','hasCommentThread','setTo','suggestionLoaded','announce','unshift','comments','fetchCommentThread','toUpperCase','define','isAtStart','discardSuggestion','track-changes-suggestion-not-found','PENDING_ACTION_SUGGESTION','push','isAfter','remove','rethrowUnexpectedError','_getAuthorFromId','_removeSuggestion','collaboration.channelId','some','registerCustomCallback','trackChanges.mergeNestedSuggestions','track-changes-suggestion-data-mismatch','change:data','_createSuggestion','elementEnd','startsWith','size','isObject','consume','createElement','map','reconvertMarker','addCommentThread','root','removed','_breakSuggestionMarker','splitPosition','enqueueChange','attributes','accept','_handleNewSuggestionMarker','_commentsRepository','containsRangeInObject','author','removeMarker:suggestion:formatBlock','_suggestionFactory','value','formatInline','removeMarkers','_registerInlineAttribute','commentThread','editingDowncast','then','addRange','dataReady','authorName','addMarker:suggestion:attribute','forEach','name','removeClass','getNearestSelectionRange','rename','_suggestions','_splitMarkerName','data','_addThreadToSuggestion','config','default','widget','_refreshAttributeSuggestionsChain','delete','history','acceptSelectedSuggestions','ck-suggestion-marker','start','_registerDefaultCallbacks','rejected','after','_getAttributeKeyFromSubType','notReady','getWalker','createPositionAt','writer','isMultiRange','FORMATTING','isLocal','buildSuggestion','get','isUndo','_registerBlockAttribute','trackChangesCommand','_blockAttributeKeys','updateMarker','element','_checkSuggestionCorrectness','formatInline:chain','createSelection','createRangeOn','isOwn','containsPosition','key','listenTo','elementStart','suggestion','addMarkerName','plugins','_model','moveTargetPosition','$graveyard','requires','assign','formatBlock:discard','stop','_reduceSuggestionAttributeRange','getMultiRangeId','has','creator','mapper','position','_addSuggestionMarker','includes','PendingActions','nodeAfter','_getExternalAuthor','isLimit','version','dataDowncast','getCommentThread','hasSuggestion','chain','isCollapsed','fire','$textProxy','isIntersectingWithRange','targetPosition','discardAllSuggestions','highest','upcast','deletion:accept','markDeletion','hasComments','getRange','markBlockFormat','discard','deletion:discard','execute','_defaultCallbacks','clone','_adapter','always','attribute','addUser','enableReadOnlyMode','meta','_processAttributeSuggestions','adapter','concat','open','keys','attributeKey','unbind','format','add','conversion','getChanges','_reduceExistingSuggestions','length','set','TrackChangesEditing','attribute:discard','substring','formatInline:','documentSelection','addMarker:suggestion:formatBlock','oldRange','getChangedMarkers','_refreshSuggestionsChain','updateSuggestion','_editor','enableCommand','isRemovable','isExternal','markInsertion','getAttribute','suggestion:','move','multipleBlocks','document','fromCharCode','setSelection','schema','toViewElement','markerToData','change:activeMarkers','dataToMarker','_cutOutSuggestionMarker','insertion:discard','getIntersection','attributeNewValue','addMarker','_joinSuggestions','split','type','multi','createRangeIn','addSuggestion','insert','addClass','$marker','applyOperation','insertion:join','locale','forceDefaultExecution','_trackFormatChanges','createPositionBefore','pluginName','lowest','newValue','markMultiRangeDeletion','skipNestingCheck','attribute:join','deletion','parent','oldValue','ck-suggestion-marker-formatInline','acceptAllSuggestions','ck-suggestion-marker--active','$text','every','removeComment','sort','_customCallbacks','low','_isDataLoaded','getDifference','elementToElement','init','attributeOldValue','insertion','addComment','markerNameToElements','return','pop','isInContent','_getSuggestionData','isAtEnd','end','_initAriaMarkerChangeAnnouncements','createdAt','$elementName','marker-count','attribute:accept','ariaLiveAnnouncer','markerToHighlight','groupId','Users','_joinWithAdjacentSuggestions','isTouching','formatInline:accept','ck-suggestion-marker-formatBlock','getFirstMarker','getSuggestionCallback','howMany','isBlock','for','subType','formatInline:join','getRanges','_isBlockAttribute','containsRange','getAllAdjacentSuggestions','editor','toJSON','formatGroupId','showSuggestionHighlights','registerPostFixer','_rangeIsInLocalUserInsertion','getLastMatchingPosition','find','change','next','catch','_setSuggestionRange','changeAttribute','normal','join','_mergeNestedSuggestions','addMarker:suggestion','formatBlock:chain','_enableDefaultAttributesIntegration','markMultiRangeInsertion','splice','newName','from','authoredAt','clear','newRange','range','_processAttributeChanges','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.'];(function(_0xc3c85d,_0x28912f){const _0x439e9d=function(_0x241bd1){while(--_0x241bd1){_0xc3c85d['push'](_0xc3c85d['shift']());}};_0x439e9d(++_0x28912f);}(_0x2891,0x97));const _0x439e=function(_0xc3c85d,_0x28912f){_0xc3c85d=_0xc3c85d-0x0;let _0x439e9d=_0x2891[_0xc3c85d];return _0x439e9d;};import{Plugin as _0xb5740b,PendingActions as _0x48b18f}from'ckeditor5/src/core';import{LiveRange as _0x5d4469}from'ckeditor5/src/engine';import{CKEditorError as _0x316ab1,uid as _0x1990b4,priorities as _0x121d4a,logWarning as _0x189efa}from'ckeditor5/src/utils';import{toWidget as _0x2ba5c7}from'ckeditor5/src/widget';import{Users as _0x27ca29,hashObject as _0xf5555,surroundingMarkersDetector as _0x56de40}from'ckeditor5-collaboration/src/collaboration-core';import _0x140afb from'./commands/trackchangescommand';import _0x51a034 from'./commands/acceptsuggestioncommand';import _0x284540 from'./commands/discardsuggestioncommand';import _0x7353a0 from'./commands/executeonallsuggestionscommand';import _0x51fe86 from'./commands/executeonselectedsuggestionscommand';import _0x5b5191 from'./suggestion';import _0x4c2e37 from'./suggestiondescriptionfactory';import _0xff436d from'./integrations/aiassistant';import _0x3779c6 from'./integrations/alignment';import _0x3f3199 from'./integrations/basicstyles';import _0x3a1bd3 from'./integrations/blockquote';import _0x40e4e8 from'./integrations/ckbox';import _0x194967 from'./integrations/codeblock';import _0x455dee from'./integrations/comments';import _0x496034 from'./integrations/deletecommand';import _0x458830 from'./integrations/documentlist';import _0x44773f from'./integrations/documentlistproperties';import _0x5943d9 from'./integrations/entercommand';import _0x246de8 from'./integrations/findandreplace';import _0x4295a8 from'./integrations/font';import _0x21e31f from'./integrations/formatpainter';import _0x2321f3 from'./integrations/heading';import _0x5e7e0e from'./integrations/highlight';import _0x58f566 from'./integrations/horizontalline';import _0x19d6b9 from'./integrations/htmlembed';import _0x50a6b4 from'./integrations/image';import _0x2be66d from'./integrations/imagereplace';import _0x414b62 from'./integrations/imagestyle';import _0x10f290 from'./integrations/importword';import _0x210cf6 from'./integrations/indent';import _0x6dee9d from'./integrations/inputcommand';import _0x1f99a1 from'./integrations/link';import _0x2f5d38 from'./integrations/list';import _0x50b71b from'./integrations/listproperties';import _0x4928eb from'./integrations/mediaembed';import _0x334590 from'./integrations/mention';import _0x4196b8 from'./integrations/pagebreak';import _0x3ce299 from'./integrations/paragraph';import _0x521475 from'./integrations/removeformat';import _0x368ea9 from'./integrations/restrictededitingmode';import _0x357818 from'./integrations/shiftentercommand';import _0xcdcfa3 from'./integrations/standardeditingmode';import _0x388006 from'./integrations/style';import _0x23da1c from'./integrations/table';import _0x4b84e7 from'./integrations/tablemergesplit';import _0x340a03 from'./integrations/tableheadings';import _0x439cc8 from'./integrations/tableclipboard';import _0xfc6d3 from'./integrations/tablecolumnresize';import _0x2bf240 from'./integrations/template';import _0x3a2c3a from'./integrations/tableofcontents';import _0x49b43a from'./integrations/title';import _0x1e1584 from'./integrations/undo';import _0x465142 from'./integrations/tablecaption';import _0x342e07 from'./integrations/tableproperties';import{getTranslation as _0x1027b4}from'./utils/common-translations';import{isEqual as _0x42d7a6,omit as _0x2e307b}from'lodash-es';export const renameAttributeKey=_0x439e('0xb8');export default class p extends _0xb5740b{static get[_0x439e('0x2c')](){return[_0x439e('0x138'),_0x27ca29,_0x48b18f,_0xff436d,_0x3779c6,_0x3f3199,_0x3a1bd3,_0x40e4e8,_0x194967,_0x455dee,_0x496034,_0x458830,_0x44773f,_0x5943d9,_0x246de8,_0x4295a8,_0x21e31f,_0x2321f3,_0x5e7e0e,_0x58f566,_0x19d6b9,_0x50a6b4,_0x414b62,_0x2be66d,_0x10f290,_0x210cf6,_0x6dee9d,_0x1f99a1,_0x2f5d38,_0x50b71b,_0x4928eb,_0x334590,_0x4196b8,_0x3ce299,_0x521475,_0x368ea9,_0x357818,_0xcdcfa3,_0x388006,_0x23da1c,_0x4b84e7,_0x340a03,_0x465142,_0x439cc8,_0xfc6d3,_0x3a2c3a,_0x342e07,_0x2bf240,_0x49b43a,_0x1e1584];}static get[_0x439e('0x96')](){return _0x439e('0x67');}constructor(_0x4a5c11){function _0x2ecdd4(_0x275789){return _0x275789[_0x439e('0x15f')](_0x29340d=>String[_0x439e('0x7b')](_0x29340d))[_0x439e('0xdc')]('');}super(_0x4a5c11),this[_0x439e('0x109')]=null,this[_0x439e('0x66')](_0x439e('0x12b'),[]),this['on'](_0x439e('0x80'),(_0x43f0d5,_0x4a4ac6,_0x564759,_0x4071c3)=>{this[_0x439e('0x29')][_0x439e('0xd6')](()=>{for(const _0x488b2e of[..._0x4071c3,..._0x564759])this[_0x439e('0x29')]['markers']['has'](_0x488b2e)&&_0x4a5c11['editing'][_0x439e('0x160')](_0x488b2e);});}),this['_descriptionFactory']=new _0x4c2e37(this[_0x439e('0xce')][_0x439e('0xf8')][_0x439e('0x7d')],this[_0x439e('0xce')][_0x439e('0x92')]),this[_0x439e('0x53')]=null,this[_0x439e('0x16e')]=new Bt(this[_0x439e('0xce')]),this[_0x439e('0x17f')]=new Map(),this[_0x439e('0x16a')]=_0x4a5c11[_0x439e('0x28')][_0x439e('0x16')]('CommentsRepository'),this[_0x439e('0x119')]=new Set(),this[_0x439e('0x29')]=this[_0x439e('0xce')][_0x439e('0xf8')],this['_suggestionState']=new WeakMap(),this[_0x439e('0x137')]=!0x1,this['_blockAttributeKeys']=new Set([_0x439e('0xb8')]),this[_0x439e('0x115')]=new Set(),_0x4a5c11[_0x439e('0x1')]['define']('trackChanges.trackFormatChanges',_0x439e('0x2')),this[_0x439e('0x94')]=_0x4a5c11['config'][_0x439e('0x16')]('trackChanges.trackFormatChanges'),_0x4a5c11[_0x439e('0x1')][_0x439e('0x147')](_0x439e('0x155'),!0x0),this[_0x439e('0xdd')]=_0x4a5c11['config']['get'](_0x439e('0x155')),this['trackChangesCommand']=new _0x140afb(_0x4a5c11,this[_0x439e('0x119')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x2ecdd4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x2ecdd4([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x30]);}[_0x439e('0xab')](){const _0x332b58=this[_0x439e('0xce')],_0x91a2bc=(_0x45f3f0,_0x30b344)=>{if('attribute'!=_0x45f3f0)return'ck-suggestion-marker-'+_0x45f3f0;const _0x28c7b1=_0x30b344[_0x439e('0x88')]('|')[0x0];return this[_0x439e('0xcb')](_0x28c7b1)?_0x439e('0xc2'):_0x439e('0x9f');};_0x332b58[_0x439e('0x62')][_0x439e('0xc7')](_0x439e('0x174'))['markerToHighlight']({'model':_0x439e('0x26'),'view':_0x4e95b4=>{const {id:_0x132278,type:_0x2a1926,subType:_0x542348}=this[_0x439e('0x180')](_0x4e95b4[_0x439e('0x103')]),_0x1713fd=[_0x439e('0x8'),_0x91a2bc(_0x2a1926,_0x542348)];let _0x479e71=0xbb8;return this['activeMarkers'][_0x439e('0x37')](_0x4e95b4['markerName'])&&(_0x1713fd[_0x439e('0x14c')](_0x439e('0xa1')),_0x479e71=0xbc2),_0x439e('0x9c')==_0x2a1926&&(_0x479e71+=0x5),{'classes':_0x1713fd,'attributes':{'data-suggestion':_0x132278},'priority':_0x479e71};}}),_0x332b58[_0x439e('0x62')][_0x439e('0xc7')](_0x439e('0x3d'))[_0x439e('0x61')](_0x5c1b86=>{_0x5c1b86['on'](_0x439e('0xde'),(_0x4ee577,_0x17cad3,_0x25b21c)=>{if(!_0x25b21c[_0x439e('0x101')]['showSuggestionHighlights'])return;const _0x1c5d2e=_0x17cad3[_0x439e('0xfd')];if(!_0x1c5d2e)return;const _0x1f5c8d=_0x25b21c[_0x439e('0x34')]['toViewElement'](_0x1c5d2e);_0x332b58['model'][_0x439e('0x7d')]['isObject'](_0x1c5d2e)&&_0x1f5c8d&&!_0x1f5c8d[_0x439e('0xf1')](_0x439e('0x3'))&&_0x1f5c8d['is'](_0x439e('0x130'))&&_0x2ba5c7(_0x1f5c8d,_0x25b21c[_0x439e('0x11')]);},{'priority':_0x439e('0x124')});}),_0x332b58['conversion'][_0x439e('0xc7')](_0x439e('0x3d'))[_0x439e('0xbc')]({'model':'suggestion','view':(_0x1ccda0,_0x5b2f81)=>{if(!_0x5b2f81[_0x439e('0x101')][_0x439e('0xd1')])return null;const {type:_0x255ce8,subType:_0x169533}=this[_0x439e('0x180')](_0x1ccda0[_0x439e('0x103')]);return{'classes':['ck-suggestion-marker',_0x91a2bc(_0x255ce8,_0x169533)],'priority':0xbb8};}});const _0x92fc44=({showActiveMarkers:_0x38acd7=!0x0,isAttributeSuggestion:_0x51319e=!0x1}={})=>(_0x5c842d,_0x34889d,_0x3faa94)=>{if(!_0x34889d[_0x439e('0xfd')])return;const {id:_0x2a7262}=this['_splitMarkerName'](_0x34889d[_0x439e('0x103')]);if(_0x51319e){const _0x5d0c96=this[_0x439e('0x17f')][_0x439e('0x16')](_0x2a7262),_0x315570=this['_getAttributeKeyFromSubType'](_0x5d0c96);if(!this[_0x439e('0xcb')](_0x315570))return;}if(_0x34889d[_0x439e('0xfd')]['is'](_0x439e('0x129')))return void _0x3faa94['consumable'][_0x439e('0x15d')](_0x34889d[_0x439e('0xfd')],_0x5c842d['name']);const _0x355e70=_0x3faa94[_0x439e('0x34')][_0x439e('0x7e')](_0x34889d[_0x439e('0xfd')]);if(_0x34889d[_0x439e('0xfd')]['is'](_0x439e('0x1c'))&&_0x332b58[_0x439e('0xf8')][_0x439e('0x7d')][_0x439e('0xc6')](_0x34889d[_0x439e('0xfd')])&&!_0x355e70['getCustomProperty'](_0x439e('0x128'))){_0x3faa94['writer'][_0x439e('0x8e')]([_0x439e('0x8'),_0x439e('0xc2')],_0x355e70),_0x3faa94[_0x439e('0x11')][_0x439e('0xee')]('data-suggestion',_0x2a7262,_0x355e70),_0x3faa94[_0x439e('0x34')]['bindElementToMarker'](_0x355e70,_0x34889d[_0x439e('0x103')]),_0x38acd7&&(this[_0x439e('0x12b')][_0x439e('0x37')](_0x34889d[_0x439e('0x103')])?_0x3faa94[_0x439e('0x11')]['addClass'](_0x439e('0xa1'),_0x355e70):_0x3faa94[_0x439e('0x11')][_0x439e('0x17c')](_0x439e('0xa1'),_0x355e70));for(const _0x2577f3 of _0x332b58[_0x439e('0xf8')][_0x439e('0x8b')](_0x34889d[_0x439e('0xfd')])['getItems']())_0x3faa94[_0x439e('0x100')][_0x439e('0x15d')](_0x2577f3,_0x5c842d[_0x439e('0x17b')]);_0x3faa94['consumable'][_0x439e('0x15d')](_0x34889d[_0x439e('0xfd')],_0x5c842d[_0x439e('0x17b')]);}};_0x332b58[_0x439e('0x62')][_0x439e('0xc7')](_0x439e('0x3d'))[_0x439e('0x61')](_0x399bba=>{_0x399bba['on'](_0x439e('0x6c'),(_0x5a5b7d,_0x3f0afa,_0x480842)=>{_0x480842[_0x439e('0x101')][_0x439e('0xd1')]&&_0x92fc44({'showActiveMarkers':!0x1})(_0x5a5b7d,_0x3f0afa,_0x480842);},{'priority':_0x439e('0x47')});}),_0x332b58[_0x439e('0x62')][_0x439e('0xc7')](_0x439e('0x3d'))['add'](_0x59a787=>{_0x59a787['on']('addMarker:suggestion:attribute',(_0x4c6160,_0x19582d,_0x5574bc)=>{_0x5574bc[_0x439e('0x101')][_0x439e('0xd1')]&&_0x92fc44({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4c6160,_0x19582d,_0x5574bc);},{'priority':_0x439e('0x47')});}),_0x332b58[_0x439e('0x62')][_0x439e('0xc7')](_0x439e('0x3d'))[_0x439e('0x7f')]({'model':_0x439e('0x26'),'view':(_0x34f734,_0xc2c52d)=>_0xc2c52d[_0x439e('0x101')][_0x439e('0xd1')]?null:{'group':_0x439e('0x26'),'name':_0x34f734['substr'](0xb)}}),_0x332b58['conversion']['for'](_0x439e('0x48'))[_0x439e('0xaa')]({'view':{'name':_0x439e('0x26'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x10b3a2,{writer:_0x481913})=>{let _0x48f19e=_0x439e('0x77')+_0x10b3a2[_0x439e('0x76')]('suggestion-type')+':'+_0x10b3a2['getAttribute']('id');return _0x10b3a2[_0x439e('0x76')]('marker-count')&&(_0x48f19e+=':'+_0x10b3a2[_0x439e('0x76')](_0x439e('0xb9'))),_0x481913[_0x439e('0x15e')](_0x439e('0x8f'),{'data-name':_0x48f19e});}}),_0x332b58['conversion']['for'](_0x439e('0x48'))[_0x439e('0x81')]({'view':_0x439e('0x26')}),_0x332b58['conversion'][_0x439e('0xc7')]('editingDowncast')['add'](_0x45706f=>{_0x45706f['on'](_0x439e('0x6c'),_0x92fc44(),{'priority':_0x439e('0x124')});}),_0x332b58[_0x439e('0x62')][_0x439e('0xc7')]('editingDowncast')[_0x439e('0x61')](_0x3ca407=>{_0x3ca407['on'](_0x439e('0x179'),_0x92fc44({'isAttributeSuggestion':!0x0}),{'priority':_0x439e('0x124')});}),_0x332b58[_0x439e('0x62')]['for'](_0x439e('0x174'))[_0x439e('0x61')](_0x18b7a9=>{_0x18b7a9['on'](_0x439e('0x16d'),(_0x36efe1,_0x423d7f,_0x2471b8)=>{const _0x8039f8=_0x2471b8[_0x439e('0x34')][_0x439e('0xaf')](_0x423d7f['markerName']);if(_0x8039f8)for(const _0x399f33 of _0x8039f8)_0x399f33['getCustomProperty'](_0x439e('0x128'))||(_0x2471b8['writer'][_0x439e('0x17c')]([_0x439e('0x8'),'ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x399f33),_0x2471b8[_0x439e('0x11')][_0x439e('0xfe')]('data-suggestion',_0x399f33),_0x2471b8['mapper']['unbindElementFromMarkerName'](_0x399f33,_0x423d7f[_0x439e('0x103')]));},{'priority':_0x439e('0x124')});}),_0x332b58['conversion'][_0x439e('0xc7')](_0x439e('0x174'))[_0x439e('0x61')](_0x3212ad=>{_0x3212ad['on']('removeMarker:suggestion:attribute',(_0x1932fe,_0x5314ee,_0x314a05)=>{const _0x193ae3=_0x314a05[_0x439e('0x34')][_0x439e('0xaf')](_0x5314ee['markerName']);if(!_0x193ae3)return;const {id:_0x3572cc}=this[_0x439e('0x180')](_0x5314ee[_0x439e('0x103')]),_0xf7d0ee=this[_0x439e('0x17f')]['get'](_0x3572cc),_0x2956b3=this[_0x439e('0xd')](_0xf7d0ee);if(this[_0x439e('0xcb')](_0x2956b3))for(const _0x4e469e of _0x193ae3)_0x4e469e[_0x439e('0xf1')]('addHighlight')||(_0x314a05['writer'][_0x439e('0x17c')]([_0x439e('0x8'),_0x439e('0xc2'),_0x439e('0xa1')],_0x4e469e),_0x314a05[_0x439e('0x11')][_0x439e('0xfe')]('data-suggestion',_0x4e469e),_0x314a05[_0x439e('0x34')]['unbindElementFromMarkerName'](_0x4e469e,_0x5314ee[_0x439e('0x103')]));},{'priority':'high'});}),_0x332b58[_0x439e('0xf8')]['document']['registerPostFixer'](_0x1ed4fc=>{let _0x1f5b88=!0x1;const _0x58ff62=Array[_0x439e('0xe4')](_0x332b58[_0x439e('0xf8')]['document'][_0x439e('0x122')]['getChangedMarkers']()),_0x7f7df=new Set();for(const {name:_0x161503,data:_0x483547}of _0x58ff62){const {group:_0x475325,type:_0x15195a,subType:_0x685b4d,id:_0x13e707}=this[_0x439e('0x180')](_0x161503);if(_0x439e('0x26')!==_0x475325)continue;const _0x513d0c=this[_0x439e('0x17f')]['get'](_0x13e707);if(null!=_0x483547['newRange']){_0x439e('0x170')==_0x15195a&&(_0x1f5b88=_0x1f5b88||Et(_0x483547[_0x439e('0xe7')],_0x161503,_0x1ed4fc,_0x332b58[_0x439e('0xf8')]['schema']));const _0x12f29a=_0x439e('0x55')==_0x15195a&&this[_0x439e('0xcb')](_0x685b4d['split']('|')[0x0]);if(_0x483547[_0x439e('0xe7')][_0x439e('0x41')]||_0x439e('0x2b')==_0x483547[_0x439e('0xe7')][_0x439e('0x162')][_0x439e('0xf7')]||_0x439e('0x12d')==_0x15195a&&!jt(_0x483547[_0x439e('0xe7')])||_0x12f29a&&!jt(_0x483547[_0x439e('0xe7')])||'deletion'==_0x15195a&&!(!xt(_0x4e93f4=_0x483547['newRange'])&&!function(_0x1aedd5){return _0x1aedd5[_0x439e('0x9')]['parent']==_0x1aedd5[_0x439e('0xb5')][_0x439e('0x11c')]&&_0x1aedd5[_0x439e('0x9')]['isAtEnd'];}(_0x4e93f4)))_0x1ed4fc['removeMarker'](_0x161503),_0x1f5b88=!0x0;else{if(!_0x513d0c||!_0x513d0c[_0x439e('0xb2')])continue;_0x7f7df[_0x439e('0x61')](_0x513d0c);}}}var _0x4e93f4;return _0x7f7df[_0x439e('0x15b')]>0x0&&(_0x1f5b88=!!this[_0x439e('0xbf')](_0x7f7df)||_0x1f5b88),_0x1f5b88;}),_0x332b58[_0x439e('0xf8')]['document'][_0x439e('0xd2')](_0x2b126e=>{let _0xc3902b=!0x1;for(const _0x23a666 of _0x332b58[_0x439e('0xf8')][_0x439e('0x7a')][_0x439e('0x122')]['getChanges']())if(_0x439e('0x8d')==_0x23a666['type'])for(const _0x5433f8 of this[_0x439e('0x17f')][_0x439e('0x106')]()){if(_0x5433f8[_0x439e('0x12')]||!_0x5433f8[_0x439e('0xb2')])continue;const _0xb5c9c9=_0x439e('0x12d')==_0x5433f8[_0x439e('0x89')],_0x45d341=this[_0x439e('0xd')](_0x5433f8),_0x47a90e=_0x45d341&&this[_0x439e('0xcb')](_0x45d341);if(!_0xb5c9c9&&!_0x47a90e)continue;const _0x4b8117=_0x5433f8[_0x439e('0xf5')]();if(_0x4b8117[_0x439e('0x9')]['parent']!=_0x4b8117[_0x439e('0xb5')]['parent']&&!_0x4b8117[_0x439e('0xb5')][_0x439e('0xb4')]){const _0x1d439c=_0x332b58['model'][_0x439e('0x10')](_0x4b8117[_0x439e('0x9')][_0x439e('0x39')],'end'),_0xc1d44a=_0x332b58[_0x439e('0xf8')][_0x439e('0xf4')](_0x4b8117[_0x439e('0x9')],_0x1d439c);_0x2b126e['updateMarker'](_0x5433f8[_0x439e('0xc3')](),{'range':_0xc1d44a}),_0xc3902b=!0x0;}}return _0xc3902b;}),_0x332b58[_0x439e('0xf8')][_0x439e('0x7a')]['registerPostFixer'](_0x873eb3=>this[_0x439e('0xe9')](_0x873eb3)),_0x332b58['model'][_0x439e('0x7a')][_0x439e('0xd2')](_0x10e8bd=>!_0x10e8bd[_0x439e('0xec')][_0x439e('0x14')]&&this[_0x439e('0x59')](_0x10e8bd)),_0x332b58['model']['markers']['on'](_0x439e('0x135'),(_0x44a9c7,_0xa82a95,_0x2aed27)=>{if(null==_0x2aed27){const {id:_0x56df16}=this['_splitMarkerName'](_0xa82a95[_0x439e('0x17b')]),_0x36f175=this['_suggestions'][_0x439e('0x16')](_0x56df16);_0x36f175&&_0x36f175['addMarkerName'](_0xa82a95[_0x439e('0x17b')]);}}),_0x332b58[_0x439e('0xf8')][_0x439e('0x7a')]['on'](_0x439e('0x157'),()=>{const _0x22d0a5=Array['from'](_0x332b58[_0x439e('0xf8')][_0x439e('0x7a')]['differ'][_0x439e('0x6e')]())['filter'](_0x42e52b=>_0x439e('0x26')===this['_splitMarkerName'](_0x42e52b[_0x439e('0x17b')])['group']);if(0x0===_0x22d0a5['length'])return;_0x22d0a5[_0x439e('0xa5')]((_0x3c5397,_0x5c1a78)=>{const _0x4c3b5a=_0x3c5397[_0x439e('0x181')]['oldRange'],_0x562d99=_0x5c1a78[_0x439e('0x181')][_0x439e('0x6d')];return null===_0x4c3b5a&&null===_0x562d99?0x0:null===_0x4c3b5a&&null!==_0x562d99?-0x1:null!==_0x4c3b5a&&null===_0x562d99?0x1:_0x4c3b5a[_0x439e('0x9')][_0x439e('0x11a')](_0x562d99['start'])?-0x1:0x1;});const _0x582371=new Set(),_0x53ac68=new Set();for(const {name:_0x58e5c5,data:_0x4cf6f0}of _0x22d0a5){const {id:_0x1514e3}=this[_0x439e('0x180')](_0x58e5c5);if(null===_0x4cf6f0[_0x439e('0x6d')]){const _0xcc2cb2=this[_0x439e('0x169')](_0x58e5c5);_0x53ac68[_0x439e('0x61')](_0xcc2cb2);}else{const _0x4f5f84=this[_0x439e('0x17f')][_0x439e('0x16')](_0x1514e3);null!==_0x4cf6f0[_0x439e('0xe7')]||_0x4f5f84[_0x439e('0xb2')]?(_0x582371[_0x439e('0x61')](_0x4f5f84['head']),_0x53ac68[_0x439e('0x61')](_0x4f5f84)):this['_removeSuggestion'](_0x4f5f84);}}_0x53ac68[_0x439e('0x15b')]>0x0&&this[_0x439e('0x6f')](_0x53ac68);for(const _0x4c1bc4 of _0x582371)this[_0x439e('0x42')](_0x439e('0x12f'),_0x4c1bc4);}),_0x332b58[_0x439e('0xf8')]['on'](_0x439e('0x90'),(_0xd814d9,_0x297d5c)=>{const _0x119f95=_0x297d5c[0x0];if(!this[_0x439e('0x17f')][_0x439e('0x15b')])return;if(!_0x119f95['isDocumentOperation'])return;if(_0x119f95[_0x439e('0xec')][_0x439e('0x17')]||!_0x119f95[_0x439e('0xec')][_0x439e('0x14')])return;let _0x912aab,_0x230bb8;switch(_0x119f95[_0x439e('0x89')]){case _0x439e('0x8d'):_0x912aab=_0x332b58[_0x439e('0xf8')][_0x439e('0x10')](_0x119f95['position']),_0x230bb8=_0x912aab['getShiftedBy'](_0x119f95[_0x439e('0xc5')]);break;case _0x439e('0x88'):_0x912aab=_0x332b58['model'][_0x439e('0x10')](_0x119f95[_0x439e('0x165')]),_0x230bb8=_0x332b58[_0x439e('0xf8')][_0x439e('0x10')](_0x119f95[_0x439e('0x2a')]);break;case _0x439e('0x78'):_0x912aab=_0x332b58[_0x439e('0xf8')][_0x439e('0x10')](_0x119f95[_0x439e('0x45')]),_0x230bb8=_0x912aab[_0x439e('0x111')](_0x119f95['howMany']);break;default:return;}const _0xe31760=_0x332b58['model'][_0x439e('0xf4')](_0x912aab,_0x230bb8);_0x332b58[_0x439e('0xf8')]['change'](()=>{for(const {suggestion:_0x3e1924,meta:_0x151e50}of this['_findSuggestions'](_0xe31760)){if(_0x3e1924['isMultiRange'])continue;if('formatInline'==_0x3e1924[_0x439e('0x89')])continue;const _0x212b05=this[_0x439e('0xd')](_0x3e1924);if(_0x212b05&&this['_isBlockAttribute'](_0x212b05)&&_0x439e('0x88')!=_0x119f95[_0x439e('0x89')])continue;const _0x18cea0=_0x3e1924[_0x439e('0x181')]&&_0x3e1924[_0x439e('0x181')][_0x439e('0x79')];(_0x439e('0x12d')!=_0x3e1924[_0x439e('0x89')]||_0x439e('0x88')==_0x119f95[_0x439e('0x89')]&&!_0x18cea0)&&(_0x151e50[_0x439e('0x16b')]||_0x439e('0xad')==_0x3e1924['type']&&_0x151e50[_0x439e('0x21')]||_0x3e1924[_0x439e('0xf5')]()[_0x439e('0xcc')](_0xe31760)&&this[_0x439e('0x164')](_0x3e1924,_0x912aab,_0x230bb8));}});},{'priority':_0x439e('0x97')}),_0x332b58[_0x439e('0xf8')]['on']('deleteContent',(_0x7d2170,_0x5e6182)=>{const _0x45d277=_0x5e6182[0x0],_0x236e3a=_0x5e6182[0x1];if(_0x236e3a&&_0x236e3a['forceDefaultExecution'])return;if(this[_0x439e('0x137')])return;if(!this['trackChangesCommand'][_0x439e('0x16f')])return;if(_0x45d277['isCollapsed'])return;const _0x56e457=_0x332b58['model'][_0x439e('0x7d')],{start:_0x1373dc,end:_0x5836d8}=_0x45d277[_0x439e('0xf5')](),_0x139b7f=_0x1373dc['nodeAfter']&&_0x56e457[_0x439e('0x3b')](_0x1373dc[_0x439e('0x39')])?null:_0x56e457[_0x439e('0x17d')](_0x1373dc,'forward'),_0xb03ef1=_0x5836d8['nodeBefore']&&_0x56e457[_0x439e('0x3b')](_0x5836d8['nodeBefore'])?null:_0x56e457[_0x439e('0x17d')](_0x5836d8,_0x439e('0x11d')),_0x4b721e=_0x332b58['model']['createRange'](_0x139b7f?_0x139b7f[_0x439e('0x9')]:_0x1373dc,_0xb03ef1?_0xb03ef1['end']:_0x5836d8);_0x332b58[_0x439e('0xf8')][_0x439e('0xd6')](_0x4ef398=>{this[_0x439e('0x4a')](_0x4b721e);const _0x39907a=_0x332b58[_0x439e('0xf8')][_0x439e('0x7d')]['getNearestSelectionRange'](_0x4b721e[_0x439e('0x9')]);_0x45d277['is'](_0x439e('0x6b'))?_0x4ef398[_0x439e('0x7c')](_0x39907a):_0x45d277[_0x439e('0x140')](_0x39907a);}),_0x7d2170[_0x439e('0x2f')]();},{'priority':_0x121d4a[_0x439e('0xdb')]+0xa}),_0x332b58['model']['on']('insertContent',(_0x18aad8,_0x41973e)=>{const _0x4522a3=_0x41973e[_0x41973e[_0x439e('0x65')]-0x1];_0x4522a3&&_0x4522a3[_0x439e('0x93')]||this[_0x439e('0x137')]||this['trackChangesCommand'][_0x439e('0x16f')]&&(_0x332b58[_0x439e('0xf8')][_0x439e('0xd6')](()=>{let _0x303a54=_0x332b58[_0x439e('0xf8')]['insertContent'](_0x41973e[0x0],_0x41973e[0x1],_0x41973e[0x2],{'forceDefaultExecution':!0x0});if(!_0x303a54)return;_0x18aad8[_0x439e('0xb0')]=_0x303a54[_0x439e('0x52')]();const _0x28b76d=_0x303a54[_0x439e('0xb5')]['nodeBefore'],_0x51811e=_0x332b58['model'][_0x439e('0x7d')];_0x28b76d&&_0x51811e['isBlock'](_0x28b76d)&&!_0x51811e[_0x439e('0x15c')](_0x28b76d)&&(_0x303a54=_0x332b58[_0x439e('0xf8')][_0x439e('0xf4')](_0x303a54[_0x439e('0x9')],_0x332b58[_0x439e('0xf8')]['createPositionAt'](_0x28b76d,'end'))),this[_0x439e('0x75')](_0x303a54);}),_0x18aad8['stop']());},{'priority':_0x439e('0x124')}),this[_0x439e('0xce')][_0x439e('0x134')][_0x439e('0x61')](_0x439e('0x136'),this[_0x439e('0x19')]),this[_0x439e('0x72')](_0x439e('0x136'));const _0x2bbda2=new _0x51a034(_0x332b58,this[_0x439e('0x17f')]);_0x332b58[_0x439e('0x134')][_0x439e('0x61')]('acceptSuggestion',_0x2bbda2),this['enableCommand'](_0x439e('0x12a'));const _0x37c4a3=new _0x284540(_0x332b58,this[_0x439e('0x17f')]);_0x332b58['commands'][_0x439e('0x61')](_0x439e('0x149'),_0x37c4a3),this[_0x439e('0x72')](_0x439e('0x149')),_0x332b58['commands'][_0x439e('0x61')](_0x439e('0xa0'),new _0x7353a0(_0x332b58,_0x2bbda2,this[_0x439e('0x17f')])),this[_0x439e('0x72')](_0x439e('0xa0')),_0x332b58[_0x439e('0x134')][_0x439e('0x61')](_0x439e('0x46'),new _0x7353a0(_0x332b58,_0x37c4a3,this[_0x439e('0x17f')])),this[_0x439e('0x72')](_0x439e('0x46')),_0x332b58[_0x439e('0x134')]['add'](_0x439e('0x7'),new _0x51fe86(_0x332b58,_0x2bbda2,this[_0x439e('0x17f')])),this[_0x439e('0x72')]('acceptSelectedSuggestions'),_0x332b58[_0x439e('0x134')][_0x439e('0x61')](_0x439e('0x107'),new _0x51fe86(_0x332b58,_0x37c4a3,this[_0x439e('0x17f')])),this[_0x439e('0x72')](_0x439e('0x107'));const _0x502463=_0x332b58[_0x439e('0x28')][_0x439e('0x16')](_0x439e('0x138'));this[_0x439e('0x24')](_0x502463,_0x439e('0xae'),(_0x3069b6,{threadId:_0x406804})=>{const _0x4255d9=this[_0x439e('0x17f')][_0x439e('0x16')](_0x406804);_0x4255d9&&_0x4255d9[_0x439e('0x173')]&&0x1===_0x4255d9[_0x439e('0x173')][_0x439e('0x65')]&&this[_0x439e('0xed')](_0x406804,{'hasComments':!0x0});},{'priority':_0x439e('0xa7')}),this[_0x439e('0x24')](_0x502463,_0x439e('0xa4'),(_0x45c29b,{threadId:_0x4ede74})=>{const _0x180c66=this[_0x439e('0x17f')][_0x439e('0x16')](_0x4ede74);_0x180c66&&_0x180c66[_0x439e('0x173')]&&!_0x180c66['commentThread']['length']&&this[_0x439e('0xed')](_0x4ede74,{'hasComments':!0x1});},{'priority':_0x439e('0xa7')});}set[_0x439e('0x5a')](_0x9fbdb){if(this[_0x439e('0x53')])throw new _0x316ab1('track-changes-adapter-already-set',this);this[_0x439e('0x53')]=_0x9fbdb;}get['adapter'](){return this[_0x439e('0x53')];}[_0x439e('0x102')]({skipNotAttached:_0x20df3e=!0x1,toJSON:_0xa1a949=!0x1}={}){const _0x2b72df=[];for(const _0x4da944 of this[_0x439e('0x17f')][_0x439e('0x106')]())_0x20df3e&&!_0x4da944[_0x439e('0xb2')]||_0x2b72df['push'](_0x4da944);return _0xa1a949?_0x2b72df[_0x439e('0x15f')](_0x57dd64=>_0x57dd64[_0x439e('0xcf')]()):_0x2b72df;}[_0x439e('0x10c')](_0x18c286){const _0x1b55d7=this[_0x439e('0x17f')][_0x439e('0x16')](_0x18c286);if(!_0x1b55d7)throw new _0x316ab1(_0x439e('0x14a'),this);return _0x1b55d7;}[_0x439e('0x3f')](_0x2a2c56){return this[_0x439e('0x17f')][_0x439e('0x32')](_0x2a2c56);}[_0x439e('0x10b')](_0x54e8ed){const {authorId:_0x117788,id:_0x3b31c2,attributes:_0x5ef0e2}=_0x54e8ed,[_0x3a0b76,_0xb5c64b]=_0x54e8ed[_0x439e('0x89')][_0x439e('0x88')](':'),_0x41ea07=this[_0x439e('0x17f')]['get'](_0x3b31c2)||this[_0x439e('0x158')](_0x3a0b76,_0xb5c64b,_0x3b31c2,_0x117788,_0x5ef0e2);if(this[_0x439e('0x0')](_0x41ea07),this[_0x439e('0x1d')](_0x41ea07,_0x3a0b76,_0xb5c64b||null,_0x117788),_0x41ea07[_0x439e('0xb7')]=_0x54e8ed['createdAt'],_0x41ea07['_isDataLoaded']=!0x0,_0x5ef0e2&&_0x5ef0e2[_0x439e('0x104')]){const _0x18893e=_0x5ef0e2[_0x439e('0x104')],_0x345859=this[_0x439e('0x3a')](_0x18893e[_0x439e('0x178')]);_0x41ea07[_0x439e('0xe5')]=_0x18893e[_0x439e('0xb7')],_0x41ea07[_0x439e('0x16c')]=_0x345859,_0x41ea07[_0x439e('0x74')]=!0x0;}else _0x41ea07[_0x439e('0xe5')]=_0x54e8ed[_0x439e('0xb7')];switch(_0x54e8ed[_0x439e('0x181')]&&(_0x41ea07[_0x439e('0x181')]=_0x54e8ed[_0x439e('0x181')]),_0x54e8ed[_0x439e('0x167')]&&(_0x41ea07[_0x439e('0x167')]=_0x54e8ed[_0x439e('0x167')]),this[_0x439e('0x53')]&&this[_0x439e('0x53')][_0x439e('0x8c')]||(_0x41ea07[_0x439e('0xff')]=!0x0),this['_suggestionState']['get'](_0x41ea07)){case _0x439e('0xe'):this[_0x439e('0x132')][_0x439e('0x66')](_0x41ea07,'dataReady');break;case'markerReady':_0x41ea07[_0x439e('0xb2')]?(this[_0x439e('0x6f')](new Set([_0x41ea07])),this[_0x439e('0xbf')](new Set([_0x41ea07])),this[_0x439e('0x132')][_0x439e('0x66')](_0x41ea07,_0x439e('0x13b')),this[_0x439e('0x42')](_0x439e('0x141'),_0x41ea07)):this[_0x439e('0x132')][_0x439e('0x66')](_0x41ea07,_0x439e('0x163'));}return _0x41ea07;}[_0x439e('0x12a')](_0x20f616){this[_0x439e('0x93')](()=>{this[_0x439e('0xce')]['model'][_0x439e('0xd6')](()=>{for(const _0x1be62b of _0x20f616['getAllAdjacentSuggestions']())_0x1be62b[_0x439e('0x168')]();});});}['discardSuggestion'](_0x5b4ec4){this['forceDefaultExecution'](()=>{this[_0x439e('0xce')]['model'][_0x439e('0xd6')](()=>{for(const _0x23c695 of _0x5b4ec4[_0x439e('0xcd')]())_0x23c695[_0x439e('0x4e')]();});});}['enableCommand'](_0x53bbcd,_0x56abde){const _0x45960f=this[_0x439e('0xce')][_0x439e('0x134')][_0x439e('0x16')](_0x53bbcd);if(!_0x45960f)throw new _0x316ab1(_0x439e('0xeb'),this,{'commandName':_0x53bbcd});if(this['_enabledCommands']['has'](_0x45960f))throw new _0x316ab1(_0x439e('0x123'),this,{'commandName':_0x53bbcd});this['_enabledCommands'][_0x439e('0x61')](_0x45960f),_0x56abde&&_0x45960f['on'](_0x439e('0x50'),(_0x3723e2,_0x348e00)=>{this['trackChangesCommand'][_0x439e('0x16f')]&&(this[_0x439e('0x137')]||(_0x348e00['length']>0x0&&_0x348e00[_0x348e00[_0x439e('0x65')]-0x1]&&_0x348e00[_0x348e00[_0x439e('0x65')]-0x1][_0x439e('0x93')]?_0x348e00[_0x439e('0xb1')]():(_0x3723e2[_0x439e('0xb0')]=_0x56abde((..._0x55cdc6)=>_0x45960f[_0x439e('0x50')](..._0x55cdc6,{'forceDefaultExecution':!0x0}),..._0x348e00),_0x3723e2[_0x439e('0x2f')]())));},{'priority':'high'});}[_0x439e('0x93')](_0x333f65){let _0x162711,_0x2390e4;const _0x3fb903=this[_0x439e('0x137')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x162711=_0x333f65();}catch(_0x5a6328){_0x2390e4=_0x5a6328;}return _0x3fb903||(this[_0x439e('0x137')]=!0x1),_0x2390e4&&_0x316ab1[_0x439e('0x14f')](_0x2390e4,this),_0x162711;}[_0x439e('0x75')](_0x5a00d6,_0x577c2b=null,_0x16f3db={}){if(_0x5a00d6['isCollapsed'])return null;const _0xa63d2c=this[_0x439e('0xce')][_0x439e('0x28')]['get'](_0x439e('0xbe'))['me'];for(const {suggestion:_0x39c345,meta:_0x598600}of this['_findSuggestions'](_0x5a00d6,_0x439e('0xad')))if(_0x598600[_0x439e('0x21')]){if(!_0x598600['isNextTo']){if(_0x598600[_0x439e('0x16b')]){if(!this[_0x439e('0xdd')]||!Ft(_0x39c345,_0x16f3db))continue;return _0x39c345;}if(Ft(_0x39c345,_0x16f3db))return _0x39c345;this[_0x439e('0x164')](_0x39c345,_0x5a00d6[_0x439e('0x9')],_0x5a00d6[_0x439e('0xb5')]);break;}if(_0x577c2b==_0x39c345[_0x439e('0xc8')]&&Ft(_0x39c345,_0x16f3db)){const _0x2e9c85=_0x39c345[_0x439e('0xf5')]();return _0x2e9c85[_0x439e('0x9')][_0x439e('0x12e')](_0x5a00d6['end'])?this[_0x439e('0xd9')](_0x39c345,this[_0x439e('0x29')][_0x439e('0xf4')](_0x5a00d6[_0x439e('0x9')],_0x2e9c85[_0x439e('0xb5')])):this[_0x439e('0xd9')](_0x39c345,this[_0x439e('0x29')]['createRange'](_0x2e9c85[_0x439e('0x9')],_0x5a00d6[_0x439e('0xb5')])),_0x39c345;}}const _0x510fcc=_0x1990b4(),_0x2997bd=_0xa63d2c['id'],_0x277985=_0x577c2b?'insertion:'+_0x577c2b:_0x439e('0xad'),_0xbf2e65=this[_0x439e('0x126')]({'id':_0x510fcc,'type':_0x277985,'createdAt':new Date(),'authorId':_0x2997bd,'attributes':_0x16f3db});return this['_addSuggestionMarker'](_0x277985,_0x510fcc,_0x2997bd,_0x5a00d6),_0xbf2e65;}[_0x439e('0xe1')](_0x36e5c6,_0x4325bc=_0x439e('0x8a'),_0x4b40f4={}){const _0x505442=this[_0x439e('0xce')][_0x439e('0x28')]['get'](_0x439e('0xbe'))['me'],_0x574675=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0xad'),_0x4325bc,_0x439e('0xdc'));for(const _0x31f632 of this[_0x439e('0x102')]())if(_0x31f632[_0x439e('0x16c')]['id']==_0x505442['id']&&_0x439e('0xad')==_0x31f632[_0x439e('0x89')]&&_0x31f632[_0x439e('0xc8')]==_0x4325bc&&Ft(_0x31f632,_0x4b40f4)&&(_0x574675(_0x31f632['getRanges'](),_0x36e5c6)||_0x574675(_0x36e5c6,_0x31f632[_0x439e('0xca')]()))){for(const _0x361ad2 of _0x36e5c6)_0x31f632[_0x439e('0x176')](_0x361ad2);return _0x31f632;}for(const {suggestion:_0x2294a1,meta:_0x88f9c6}of this[_0x439e('0xef')](_0x36e5c6,_0x439e('0xad'))){if(!_0x88f9c6[_0x439e('0x21')])continue;if(!this[_0x439e('0xdd')]&&_0x88f9c6[_0x439e('0x16b')])continue;if(!Ft(_0x2294a1,_0x4b40f4))continue;let _0x1c78d8=!0x0;for(const _0x239485 of _0x2294a1[_0x439e('0xca')]())for(const _0x3a3a5a of _0x36e5c6)if(!_0x239485[_0x439e('0xcc')](_0x3a3a5a)){_0x1c78d8=!0x1;break;}if(_0x1c78d8)return _0x2294a1;}const _0x5aae96=_0x1990b4(),_0x3d295a=_0x505442['id'],_0x346e23='insertion:'+_0x4325bc,_0x3c807d=this[_0x439e('0x126')]({'id':_0x5aae96,'type':_0x346e23,'createdAt':new Date(),'authorId':_0x3d295a,'attributes':_0x4b40f4});for(const _0x2ce9fa of _0x36e5c6)this[_0x439e('0x36')](_0x346e23,_0x5aae96,_0x3d295a,_0x2ce9fa,_0x5b5191[_0x439e('0x31')]());return _0x3c807d;}[_0x439e('0xfb')](_0x6c3a93,_0x569327,_0x172ed9=null,_0x385f1f={}){if(_0x172ed9=_0x172ed9||Rt(_0x569327),_0x6c3a93[_0x439e('0x41')])return null;if(_0x439e('0x11e')===this['_trackFormatChanges']){const _0x4e9550=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x170'),_0x172ed9,'accept');return this['forceDefaultExecution'](()=>_0x4e9550([_0x6c3a93],_0x569327,_0x385f1f)),null;}const _0x5ce8e4=this[_0x439e('0xce')][_0x439e('0x28')][_0x439e('0x16')]('Users')['me'],_0x18ec3f=[];if(_0x439e('0x54')!==this[_0x439e('0x94')])for(const {suggestion:_0x5af049,meta:_0x2ee26e}of this['_findSuggestions'](_0x6c3a93,_0x439e('0xad')))_0x2ee26e[_0x439e('0x21')]&&!_0x2ee26e['isInsideObject']&&_0x18ec3f[_0x439e('0x14c')](..._0x5af049[_0x439e('0xca')]());const _0x28e32c=function(_0x22b32a,_0x5f5ce6){const _0x2e630d=[];for(const _0x1d55d4 of _0x5f5ce6){const _0x2276a3=_0x22b32a['getIntersection'](_0x1d55d4);_0x2276a3&&_0x2e630d['push'](_0x2276a3);}return _0x2e630d;}(_0x6c3a93,_0x18ec3f),_0x11a7b8=function(_0x48a76f,_0x11f567){const _0xac9e3a=[_0x48a76f];for(const _0x29bee3 of _0x11f567){let _0x2b266b=0x0;for(;_0x2b266b<_0xac9e3a[_0x439e('0x65')];){const _0x58cb78=_0xac9e3a[_0x2b266b][_0x439e('0xa9')](_0x29bee3);_0xac9e3a[_0x439e('0xe2')](_0x2b266b,0x1,..._0x58cb78),_0x2b266b+=_0x58cb78[_0x439e('0x65')];}}return _0xac9e3a;}(_0x6c3a93,_0x18ec3f);_0x28e32c[_0x439e('0x65')]&&this['_model']['change'](()=>{for(const _0x2c4a6e of _0x28e32c){const _0x191908=this['_suggestionFactory'][_0x439e('0xc4')](_0x439e('0x170'),_0x172ed9,_0x439e('0x168'));this['forceDefaultExecution'](()=>_0x191908([_0x2c4a6e],_0x569327,_0x385f1f));}});for(const _0x168efd of _0x11a7b8){let _0x3915c5=null,_0x462fa7=_0x168efd[_0x439e('0x9')],_0x38293f=_0x168efd['end'];for(const {suggestion:_0x4280fd,meta:_0x5aaadd}of this['_findSuggestions'](_0x168efd,_0x439e('0x170'))){if(!_0x5aaadd[_0x439e('0x21')])continue;if(_0x4280fd[_0x439e('0xc8')]!=_0x172ed9)continue;if(!Ft(_0x4280fd,_0x385f1f))continue;const _0x5b87e4=_0x4280fd['getFirstRange']();if(_0x5b87e4[_0x439e('0xcc')](_0x168efd,!0x0))return null;_0x462fa7=_0x462fa7['isBefore'](_0x5b87e4[_0x439e('0x9')])?_0x462fa7:_0x5b87e4['start'],_0x38293f=_0x38293f[_0x439e('0x14d')](_0x5b87e4[_0x439e('0xb5')])?_0x38293f:_0x5b87e4[_0x439e('0xb5')],_0x3915c5?_0x5b87e4[_0x439e('0x9')][_0x439e('0x11a')](_0x3915c5['getFirstRange']()['start'])?(_0x3915c5[_0x439e('0x171')](),_0x3915c5=_0x4280fd):_0x4280fd['removeMarkers']():_0x3915c5=_0x4280fd;}const _0x3ea219=this[_0x439e('0x29')]['createRange'](_0x462fa7,_0x38293f);if(_0x3915c5)this[_0x439e('0xd9')](_0x3915c5,_0x3ea219);else{const _0x32dc8e=_0x1990b4(),_0x376454=_0x5ce8e4['id'];this[_0x439e('0x126')]({'id':_0x32dc8e,'type':'formatInline:'+_0x172ed9,'data':_0x569327,'createdAt':new Date(),'authorId':_0x376454,'attributes':_0x385f1f}),this[_0x439e('0x36')](_0x439e('0x6a')+_0x172ed9,_0x32dc8e,_0x376454,_0x3ea219);}}return null;}[_0x439e('0x4d')](_0x5ecf47,_0x2c3cef,_0x314efe=[],_0x4a5bfc=null,_0x121fa7={}){_0x2c3cef[_0x439e('0xd0')]||(_0x2c3cef[_0x439e('0xd0')]=_0x2c3cef[_0x439e('0x10a')]),_0x2c3cef[_0x439e('0x79')]=_0x5ecf47['is'](_0x439e('0xe8')),_0x4a5bfc=_0x4a5bfc||Rt(_0x2c3cef);const _0x48c407=_0x314efe[_0x439e('0x15f')](_0x46b628=>Ut(_0x46b628,this[_0x439e('0x29')])),_0x191e73=_0x5ecf47['is'](_0x439e('0xe8'))?_0x5ecf47:Ut(_0x5ecf47,this[_0x439e('0x29')]);if('never'===this[_0x439e('0x94')]){const _0x19cbec=this['_suggestionFactory'][_0x439e('0xc4')](_0x439e('0x12d'),_0x4a5bfc,_0x439e('0x168'));return this[_0x439e('0x93')](()=>_0x19cbec([_0x191e73],_0x2c3cef,_0x121fa7)),null;}_0x48c407[_0x439e('0x14c')](_0x191e73);let _0x315ea6=!0x0;for(const _0x823dc7 of _0x48c407)if(!this[_0x439e('0xd3')](_0x823dc7)){_0x315ea6=!0x1;break;}if(_0x315ea6&&_0x439e('0x54')!==this[_0x439e('0x94')]){const _0x13f483=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x12d'),_0x4a5bfc,_0x439e('0x168'));return this[_0x439e('0x93')](()=>_0x13f483([_0x191e73],_0x2c3cef,_0x121fa7)),null;}let _0x3b8278=null,_0x1c0a2b=_0x191e73['start'],_0x57f904=_0x191e73[_0x439e('0xb5')];for(const {suggestion:_0x224c05,meta:_0x49bb3a}of this['_findSuggestions'](_0x191e73,'formatBlock')){if(!_0x49bb3a[_0x439e('0x21')])continue;if(_0x49bb3a[_0x439e('0x108')]||_0x49bb3a[_0x439e('0x16b')]||_0x49bb3a[_0x439e('0x110')])continue;if(_0x224c05[_0x439e('0x181')][_0x439e('0xd0')]!=_0x2c3cef[_0x439e('0xd0')])continue;if(!Ft(_0x224c05,_0x121fa7))continue;const _0x58b7d7=_0x224c05['getFirstRange']();if(_0x224c05['subType']==_0x4a5bfc){if(_0x58b7d7[_0x439e('0xcc')](_0x191e73,!0x0))return null;_0x1c0a2b=_0x1c0a2b[_0x439e('0x11a')](_0x58b7d7[_0x439e('0x9')])?_0x1c0a2b:_0x58b7d7[_0x439e('0x9')],_0x57f904=_0x57f904[_0x439e('0x14d')](_0x58b7d7[_0x439e('0xb5')])?_0x57f904:_0x58b7d7[_0x439e('0xb5')],_0x3b8278?_0x58b7d7[_0x439e('0x9')][_0x439e('0x11a')](_0x3b8278[_0x439e('0xf5')]()['start'])?(_0x3b8278[_0x439e('0x171')](),_0x3b8278=_0x224c05):_0x224c05[_0x439e('0x171')]():_0x3b8278=_0x224c05;}else{const _0x20da2b=_0x191e73['getIntersection'](_0x58b7d7);this[_0x439e('0x82')](_0x224c05,_0x20da2b);}}const _0x52c946=this[_0x439e('0xce')][_0x439e('0x28')]['get'](_0x439e('0xbe'))['me'],_0x8e7589=_0x1990b4(),_0x5c001b=_0x52c946['id'];if(_0x3b8278)return this[_0x439e('0xd9')](_0x3b8278,this['_model']['createRange'](_0x1c0a2b,_0x57f904)),_0x3b8278;{const _0x18efcb=this[_0x439e('0x126')]({'id':_0x8e7589,'type':'formatBlock:'+_0x4a5bfc,'data':_0x2c3cef,'createdAt':new Date(),'authorId':_0x5c001b,'attributes':_0x121fa7});return this[_0x439e('0x36')](_0x439e('0xf9')+_0x4a5bfc,_0x8e7589,_0x5c001b,this[_0x439e('0x29')][_0x439e('0xf4')](_0x1c0a2b,_0x57f904)),_0x18efcb;}}[_0x439e('0x10e')](_0x55cec7,_0x47ee97,_0x2902f4=[],_0x65e828=null,_0x23babf={}){_0x47ee97[_0x439e('0xd0')]||(_0x47ee97[_0x439e('0xd0')]=_0x47ee97[_0x439e('0x10a')]);const _0xc0a93a=_0x55cec7[0x0];_0x47ee97['multipleBlocks']=_0xc0a93a['is'](_0x439e('0xe8')),_0x65e828=_0x65e828||Rt(_0x47ee97);const _0x435136=_0x2902f4[_0x439e('0x15f')](_0x420a0a=>Ut(_0x420a0a,this['_model'])),_0x571c97=_0xc0a93a['is'](_0x439e('0xe8'))?_0x55cec7:_0x55cec7[_0x439e('0x15f')](_0x4b3506=>Ut(_0x4b3506,this['_model']));if(_0x439e('0x11e')===this[_0x439e('0x94')]){const _0x64683c=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x12d'),_0x65e828,'accept');return this[_0x439e('0x93')](()=>_0x64683c(_0x571c97,_0x47ee97,_0x23babf)),null;}_0x435136[_0x439e('0x14c')](..._0x571c97);let _0x30ebca=!0x0;for(const _0xa2e78a of _0x435136)if(!this[_0x439e('0xd3')](_0xa2e78a)){_0x30ebca=!0x1;break;}if(_0x30ebca&&_0x439e('0x54')!==this[_0x439e('0x94')]){const _0xeab250=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x12d'),_0x65e828,_0x439e('0x168'));return this[_0x439e('0x93')](()=>_0xeab250(_0x571c97,_0x47ee97,_0x23babf)),null;}const _0x5a2ac1=this[_0x439e('0xce')][_0x439e('0x28')][_0x439e('0x16')](_0x439e('0xbe'))['me'];for(const _0x3d78a5 of this[_0x439e('0x102')]()){if(_0x3d78a5[_0x439e('0x16c')]['id']!=_0x5a2ac1['id'])continue;if('formatBlock'!=_0x3d78a5[_0x439e('0x89')]||_0x3d78a5[_0x439e('0x181')][_0x439e('0xd0')]!=_0x47ee97[_0x439e('0xd0')])continue;if(!Ft(_0x3d78a5,_0x23babf))continue;const _0x59f44f=_0x3d78a5['subType']==_0x65e828;for(let _0x5e076e=0x0;_0x5e076e<_0x571c97['length'];_0x5e076e++){const _0x2520ab=_0x571c97[_0x5e076e];for(const _0x1ab24f of _0x3d78a5['getMarkers']()){const _0x3dda5c=_0x1ab24f[_0x439e('0x4c')]();if(_0x2520ab[_0x439e('0x12e')](_0x3dda5c)){_0x59f44f?(_0x571c97['splice'](_0x5e076e,0x1),_0x5e076e--):_0x3d78a5['removeMarker'](_0x1ab24f[_0x439e('0x17b')]);break;}}}}if(0x0==_0x571c97['length'])return null;const _0x4983c2=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x12d'),_0x65e828,_0x439e('0xdc'));for(const _0x1a9ee1 of this[_0x439e('0x102')]())if(_0x1a9ee1[_0x439e('0x16c')]['id']==_0x5a2ac1['id']&&_0x439e('0x12d')==_0x1a9ee1[_0x439e('0x89')]&&_0x1a9ee1['data']['formatGroupId']==_0x47ee97[_0x439e('0xd0')]&&_0x1a9ee1[_0x439e('0xc8')]==_0x65e828&&Ft(_0x1a9ee1,_0x23babf)&&(_0x4983c2(_0x1a9ee1[_0x439e('0xca')](),_0x571c97)||_0x4983c2(_0x571c97,_0x1a9ee1[_0x439e('0xca')]()))){for(const _0x4df071 of _0x571c97)_0x1a9ee1['addRange'](_0x4df071);return _0x1a9ee1;}const _0x2e1a6e=_0x1990b4(),_0x163a03=_0x5a2ac1['id'],_0x29020b=_0x439e('0xf9')+_0x65e828,_0x51c4f0=this['_setSuggestionData']({'id':_0x2e1a6e,'type':_0x29020b,'data':_0x47ee97,'createdAt':new Date(),'authorId':_0x163a03,'attributes':_0x23babf});for(const _0x2e58e1 of _0x571c97)this[_0x439e('0x36')](_0x29020b,_0x2e1a6e,_0x163a03,_0x2e58e1,_0x5b5191[_0x439e('0x31')]());return _0x51c4f0;}[_0x439e('0x4a')](_0x1a484c,_0x555456=null,_0x36b132={}){if(_0x1a484c['isCollapsed'])return null;const _0x1b0ac7=this['editor'][_0x439e('0x28')][_0x439e('0x16')]('Users')['me'],_0x31c849=new _0x5d4469(_0x1a484c[_0x439e('0x9')],_0x1a484c[_0x439e('0xb5')]);for(const {suggestion:_0x38bf8c,meta:_0x3188da}of this[_0x439e('0xef')](_0x31c849,_0x439e('0xad')))if(_0x3188da['isOwn']&&!_0x3188da[_0x439e('0x108')]){if(_0x38bf8c[_0x439e('0x12')]){const _0x31cb36=_0x38bf8c['getRanges']()[_0x439e('0x13e')](_0x1ddd4f=>_0x439e('0x2b')!=_0x1ddd4f[_0x439e('0x162')][_0x439e('0xf7')]);_0x31cb36[_0x439e('0xa3')](_0x58017f=>_0x31c849[_0x439e('0xcc')](_0x58017f,!0x0))&&_0x38bf8c[_0x439e('0x4e')]();if(_0x31cb36[_0x439e('0x153')](_0x27062c=>_0x27062c[_0x439e('0xcc')](_0x31c849,!0x0))){const _0x54712c=this['_suggestionFactory'][_0x439e('0xc4')](_0x439e('0x9c'),_0x555456,_0x439e('0x168'));return this['forceDefaultExecution'](()=>_0x54712c([_0x31c849],null,_0x36b132)),null;}}else{const _0xfa809c=_0x31c849[_0x439e('0x84')](_0x38bf8c[_0x439e('0xf5')]());null!==_0xfa809c&&_0x38bf8c[_0x439e('0x139')]([_0xfa809c],null,_0x36b132);}}if(_0x31c849[_0x439e('0x113')](),_0x31c849[_0x439e('0x41')]||_0x439e('0x2b')==_0x31c849[_0x439e('0x162')][_0x439e('0xf7')])return null;let _0x2ebaad=null,_0x48ba44=_0x31c849[_0x439e('0x9')],_0x4838ff=_0x31c849[_0x439e('0xb5')];const _0x5635a5=this[_0x439e('0xef')](_0x31c849,'deletion');for(const {suggestion:_0x2e001f,meta:_0x1d14fb}of _0x5635a5){const _0x456d1e=this[_0x439e('0x29')][_0x439e('0xf4')](_0x48ba44,_0x4838ff);if(_0x1d14fb[_0x439e('0x21')]&&(this[_0x439e('0xdd')]||!_0x1d14fb['containsRangeInObject']&&!_0x1d14fb['isInsideObject'])){if(_0x2e001f[_0x439e('0x12')]){if(!Ft(_0x2e001f,_0x36b132))continue;let _0x4dc7d2=!0x0;for(const _0x2024e8 of _0x2e001f[_0x439e('0xca')]()){if(_0x2024e8[_0x439e('0xcc')](_0x456d1e,!0x0))return _0x2e001f;_0x456d1e[_0x439e('0xcc')](_0x2024e8)||(_0x4dc7d2=!0x1);}_0x4dc7d2&&_0x2e001f[_0x439e('0x4e')]();}else{const _0x382710=_0x2e001f[_0x439e('0xf5')]();if(_0x382710[_0x439e('0xcc')](_0x456d1e,!0x0))return _0x2e001f;if(!Ft(_0x2e001f,_0x36b132)){_0x456d1e[_0x439e('0xcc')](_0x382710)?_0x2e001f['removeMarkers']():_0x382710[_0x439e('0x22')](_0x48ba44)?_0x48ba44=_0x382710[_0x439e('0xb5')]:_0x382710['containsPosition'](_0x4838ff)&&(_0x4838ff=_0x382710[_0x439e('0x9')]);continue;}_0x48ba44=_0x48ba44[_0x439e('0x11a')](_0x382710['start'])?_0x48ba44:_0x382710[_0x439e('0x9')],_0x4838ff=_0x4838ff[_0x439e('0x14d')](_0x382710[_0x439e('0xb5')])?_0x4838ff:_0x382710[_0x439e('0xb5')],_0x36b132=Object['assign']({},_0x2e001f[_0x439e('0x167')]),_0x2ebaad?_0x382710[_0x439e('0x9')][_0x439e('0x11a')](_0x2ebaad[_0x439e('0xf5')]()[_0x439e('0x9')])?(_0x2ebaad[_0x439e('0x171')](),_0x2ebaad=_0x2e001f):_0x2e001f[_0x439e('0x171')]():_0x2ebaad=_0x2e001f;}}}if(_0x2ebaad)return this['_setSuggestionRange'](_0x2ebaad,this['_model'][_0x439e('0xf4')](_0x48ba44,_0x4838ff)),_0x2ebaad;{const _0x2305dd=_0x1990b4(),_0x364b01=this['_model'][_0x439e('0xf4')](_0x48ba44,_0x4838ff),_0x45713a=_0x1b0ac7['id'],_0x2aaef=_0x555456?_0x439e('0x112')+_0x555456:'deletion',_0x542653=this[_0x439e('0x126')]({'id':_0x2305dd,'type':_0x2aaef,'createdAt':new Date(),'authorId':_0x45713a,'attributes':_0x36b132});return this['_addSuggestionMarker'](_0x2aaef,_0x2305dd,_0x45713a,_0x364b01),_0x542653;}}[_0x439e('0x99')](_0x5d11c7,_0x464f92=_0x439e('0x8a'),_0x41b464={}){const _0x47ba67=this['editor']['plugins'][_0x439e('0x16')](_0x439e('0xbe'))['me'],_0x404cdf=_0x5d11c7[_0x439e('0x15f')](_0x57fafb=>new _0x5d4469(_0x57fafb[_0x439e('0x9')],_0x57fafb[_0x439e('0xb5')])),_0x4239ec=new Set();for(const {suggestion:_0x5e67d9,meta:_0x20d877}of this['_findSuggestions'](_0x404cdf,_0x439e('0xad')))_0x20d877[_0x439e('0x21')]&&!_0x20d877[_0x439e('0x108')]&&_0x4239ec['add'](_0x5e67d9);for(const _0x331ba5 of _0x4239ec)if(_0x331ba5[_0x439e('0x12')]){const _0x1690ee=_0x331ba5['getRanges']();(!_0x331ba5[_0x439e('0x167')]||!_0x331ba5['attributes'][_0x439e('0x9a')])&&(_0x1690ee[_0x439e('0xa3')](_0x1b78d6=>_0x404cdf['some'](_0x44832b=>_0x44832b[_0x439e('0xcc')](_0x1b78d6,!0x0)))&&_0x331ba5[_0x439e('0x4e')]());if(_0x404cdf['every'](_0x14ee5b=>_0x1690ee[_0x439e('0x153')](_0x172715=>_0x172715[_0x439e('0xcc')](_0x14ee5b,!0x0)))){const _0x5677e7=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x9c'),_0x464f92,_0x439e('0x168'));return this[_0x439e('0x93')](()=>_0x5677e7(_0x5d11c7,null,_0x41b464)),null;}}else{const _0x1587b3=_0x331ba5[_0x439e('0xf5')]();_0x404cdf[_0x439e('0x153')](_0x1a601f=>_0x1a601f['containsRange'](_0x1587b3,!0x0))&&_0x331ba5['discard']();if(_0x404cdf[_0x439e('0xa3')](_0xba9ae0=>_0x1587b3['containsRange'](_0xba9ae0,!0x0))){const _0x1c651a=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x9c'),_0x464f92,_0x439e('0x168'));return this['forceDefaultExecution'](()=>_0x1c651a(_0x404cdf,null,_0x41b464)),null;}}const _0xdba20=this[_0x439e('0x16e')][_0x439e('0xc4')](_0x439e('0x9c'),_0x464f92,'join');let _0x384764=null;for(const _0x2a56e7 of this[_0x439e('0x102')]())if(_0x2a56e7[_0x439e('0x16c')]['id']==_0x47ba67['id']&&_0x2a56e7[_0x439e('0xb2')]&&_0x439e('0x9c')==_0x2a56e7['type']&&_0x2a56e7[_0x439e('0xc8')]==_0x464f92&&Ft(_0x2a56e7,_0x41b464)&&(_0xdba20(_0x2a56e7['getRanges'](),_0x404cdf)||_0xdba20(_0x404cdf,_0x2a56e7[_0x439e('0xca')]()))){if(_0x384764){if(_0x2a56e7[_0x439e('0x173')]&&_0x2a56e7['commentThread'][_0x439e('0x65')])continue;for(const _0x3265e0 of _0x2a56e7[_0x439e('0xca')]())_0x384764[_0x439e('0x44')](_0x3265e0)||_0x384764['addRange'](_0x3265e0);_0x2a56e7['removeMarkers']();}else{_0x384764=_0x2a56e7;for(const _0x44703f of _0x404cdf)_0x2a56e7['isIntersectingWithRange'](_0x44703f)||_0x2a56e7[_0x439e('0x176')](_0x44703f);}}if(_0x384764)return _0x384764;_0x4239ec[_0x439e('0xe6')]();for(const {suggestion:_0xf96c82,meta:_0xdc1c2e}of this['_findSuggestions'](_0x404cdf,_0x439e('0x9c')))_0xdc1c2e['isOwn']&&(this[_0x439e('0xdd')]||!_0xdc1c2e[_0x439e('0x16b')]&&!_0xdc1c2e[_0x439e('0x110')])&&Ft(_0xf96c82,_0x41b464)&&_0x4239ec[_0x439e('0x61')](_0xf96c82);for(const _0x4825e0 of _0x4239ec){const _0x57f742=_0x4825e0[_0x439e('0xca')]();if(!_0x41b464||!_0x41b464[_0x439e('0x9a')]){if(_0x404cdf[_0x439e('0xa3')](_0xb61195=>_0x57f742[_0x439e('0x153')](_0x419e4d=>_0x419e4d['containsRange'](_0xb61195,!0x0))))return _0x4825e0;}(!_0x4825e0[_0x439e('0x167')]||!_0x4825e0[_0x439e('0x167')][_0x439e('0x9a')])&&(_0x57f742[_0x439e('0xa3')](_0x9890d=>_0x404cdf[_0x439e('0x153')](_0x39eec0=>_0x39eec0[_0x439e('0xcc')](_0x9890d,!0x0)))&&_0x4825e0[_0x439e('0x4e')]());}const _0x1746d5=_0x1990b4(),_0x4b59f1=_0x47ba67['id'],_0x434bba=_0x439e('0x112')+_0x464f92,_0x2c1e06=this[_0x439e('0x126')]({'id':_0x1746d5,'type':_0x434bba,'createdAt':new Date(),'authorId':_0x4b59f1,'attributes':_0x41b464});for(const _0xc1bcc8 of _0x404cdf)_0xc1bcc8[_0x439e('0x113')](),_0xc1bcc8[_0x439e('0x41')]||'$graveyard'==_0xc1bcc8[_0x439e('0x162')]['rootName']||this['_addSuggestionMarker'](_0x434bba,_0x1746d5,_0x4b59f1,_0xc1bcc8,_0x5b5191[_0x439e('0x31')]());return _0x2c1e06;}[_0x439e('0xf0')](_0x46ff33,_0x204f30,_0x529f31,_0x1f06a0,_0x5d680b){if(_0x46ff33[_0x439e('0x41')])return[];if('never'===this['_trackFormatChanges'])return[];const _0xc57bb0=this[_0x439e('0xce')][_0x439e('0x28')][_0x439e('0x16')](_0x439e('0xbe'))['me']['id'],_0x390db2=Array[_0x439e('0xe4')](this[_0x439e('0x17f')]['values']())[_0x439e('0x13e')](_0x2aeb55=>_0x439e('0x55')==_0x2aeb55[_0x439e('0x89')]&&_0x2aeb55[_0x439e('0x181')][_0x439e('0x23')]==_0x204f30&&_0x2aeb55[_0x439e('0x44')](_0x46ff33));if(_0x439e('0x2')===this[_0x439e('0x94')]){const _0x2ea816=this[_0x439e('0xef')](_0x46ff33,'insertion')[_0x439e('0x13e')](({meta:_0x2412fb})=>_0x2412fb[_0x439e('0x21')]&&!_0x2412fb[_0x439e('0x110')]&&!_0x2412fb[_0x439e('0x108')])['map'](({suggestion:_0x2dd3bc})=>_0x2dd3bc);_0x390db2[_0x439e('0x143')](..._0x2ea816);}const _0x160ef9=new Map([[_0x46ff33,_0x529f31]]);for(const _0x2ec390 of _0x390db2){const _0x5b277d=_0x439e('0x55')==_0x2ec390[_0x439e('0x89')]?_0x2ec390[_0x439e('0x181')][_0x439e('0x9e')]:void 0x0,_0x1368af=_0x2ec390[_0x439e('0xf5')](),_0x291c53=Array[_0x439e('0xe4')](_0x160ef9[_0x439e('0x5d')]())[_0x439e('0xd5')](_0x2c5551=>_0x2c5551['isIntersecting'](_0x1368af));_0x291c53&&(_0x160ef9[_0x439e('0x5')](_0x291c53),_0x291c53[_0x439e('0xa9')](_0x1368af)[_0x439e('0x17a')](_0xcfc9d6=>{_0x160ef9[_0x439e('0x66')](_0xcfc9d6,_0x529f31);}),'insertion'!=_0x2ec390['type']&&_0x5b277d!=_0x1f06a0&&_0x160ef9[_0x439e('0x66')](_0x291c53[_0x439e('0x84')](_0x1368af),_0x5b277d));}const _0x5649c9=[];for(const [_0x24a14,_0x28c0ec]of _0x160ef9){const _0x542350=_0x1990b4(),_0x408fe9={'key':_0x204f30,'oldValue':_0x28c0ec,'newValue':_0x1f06a0};_0x204f30[_0x439e('0x65')]>0x25&&console[_0x439e('0x10d')](_0x439e('0xea'),{'key':_0x204f30});const _0x3b5349=('attribute:'+(_0x204f30+'|'+Rt({'newValue':_0x1f06a0})))[_0x439e('0x69')](0x0,0x3c),_0x130cf1=this[_0x439e('0x126')]({'id':_0x542350,'type':_0x3b5349,'data':_0x408fe9,'createdAt':new Date(),'authorId':_0xc57bb0,'attributes':_0x5d680b});_0x5649c9['push'](_0x130cf1),this[_0x439e('0x36')](_0x3b5349,_0x542350,_0xc57bb0,_0x24a14);}return _0x5649c9;}[_0x439e('0x18')](_0x5925d3){this['_blockAttributeKeys'][_0x439e('0x61')](_0x5925d3);}[_0x439e('0x172')](_0x52e065){this[_0x439e('0x115')][_0x439e('0x61')](_0x52e065);}[_0x439e('0xe0')](_0x38e0af,_0x4074b5=[],_0x460c5b=[]){this['enableCommand'](_0x38e0af,(_0x374d98,..._0x166422)=>{this['_recordAttributeChanges'](()=>{_0x374d98(..._0x166422);});});for(const _0xd2c3e2 of _0x4074b5)this[_0x439e('0x172')](_0xd2c3e2);for(const _0x82ad5d of _0x460c5b)this['_registerBlockAttribute'](_0x82ad5d);}[_0x439e('0xd9')](_0x1b5e79,_0x3049bd){const _0x2ef680=_0x1b5e79['getFirstMarker']();this[_0x439e('0x29')]['change'](_0x18760b=>{_0x18760b[_0x439e('0x1b')](_0x2ef680,{'range':_0x3049bd});});}[_0x439e('0x0')](_0x40beeb){const _0x33657a=_0x40beeb['id'],_0x5ebfd7=this[_0x439e('0xce')]['config']['get'](_0x439e('0x152'));this[_0x439e('0x16a')][_0x439e('0x13f')](_0x33657a)||this[_0x439e('0x16a')][_0x439e('0x161')]({'channelId':_0x5ebfd7,'threadId':_0x33657a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x451071=this[_0x439e('0x16a')][_0x439e('0x3e')](_0x33657a);_0x451071[_0x439e('0x5f')](_0x439e('0x73')),_0x451071[_0x439e('0x73')]=!0x1,_0x40beeb[_0x439e('0x173')]=_0x451071;}['_checkSuggestionCorrectness'](_0x5f080a,_0x353a28,_0xe7049f,_0x35015f){if(_0x5f080a[_0x439e('0x89')]!=_0x353a28||_0x5f080a[_0x439e('0xc8')]!=_0xe7049f||_0x5f080a[_0x439e('0x33')]['id']!=_0x35015f)throw this[_0x439e('0xce')][_0x439e('0x57')](_0x439e('0x156')),new _0x316ab1(_0x439e('0x156'),this);}[_0x439e('0x82')](_0x5732b3,_0x5f3dae){const _0x3b4cbf=_0x5732b3[_0x439e('0xf5')]();if(_0x5f3dae[_0x439e('0x12e')](_0x3b4cbf))_0x5732b3[_0x439e('0x171')]();else{if(_0x3b4cbf['containsRange'](_0x5f3dae)){const _0x42808a=this[_0x439e('0x29')]['createPositionAt'](_0x5f3dae[_0x439e('0x9')]['nodeBefore'],_0x439e('0xb5'));this[_0x439e('0xd9')](_0x5732b3,this[_0x439e('0x29')]['createRange'](_0x3b4cbf['start'],_0x42808a));const _0x455a43=_0x1990b4(),_0x89102=_0x5732b3[_0x439e('0x33')]['id'],_0x97d361=_0x5732b3[_0x439e('0x89')]+':'+_0x5732b3[_0x439e('0xc8')];this['_setSuggestionData']({'id':_0x455a43,'type':_0x97d361,'createdAt':new Date(),'authorId':_0x89102,'data':_0x5732b3[_0x439e('0x181')],'attributes':_0x5732b3[_0x439e('0x167')]});const _0xb1fa50=this['_model']['createPositionAt'](_0x5f3dae[_0x439e('0xb5')][_0x439e('0x9d')],_0x439e('0xc')),_0x5c83bd=this[_0x439e('0x29')][_0x439e('0xf4')](_0xb1fa50,_0x3b4cbf[_0x439e('0xb5')]);this[_0x439e('0x36')](_0x97d361,_0x455a43,_0x89102,_0x5c83bd);}else{if(_0x3b4cbf[_0x439e('0x22')](_0x5f3dae[_0x439e('0x9')])){const _0x1469ff=this[_0x439e('0x29')][_0x439e('0x10')](_0x5f3dae[_0x439e('0x9')][_0x439e('0x11c')],_0x439e('0xb5'));this[_0x439e('0xd9')](_0x5732b3,this[_0x439e('0x29')][_0x439e('0xf4')](_0x3b4cbf[_0x439e('0x9')],_0x1469ff));}else{const _0xb0e1e6=this['_model'][_0x439e('0x10')](_0x5f3dae[_0x439e('0xb5')][_0x439e('0x9d')],'after');this[_0x439e('0xd9')](_0x5732b3,this['_model']['createRange'](_0xb0e1e6,_0x3b4cbf[_0x439e('0xb5')]));}}}}[_0x439e('0xd3')](_0x35855a){for(const {suggestion:_0x5171bf,meta:_0x43f620}of this[_0x439e('0xef')](_0x35855a,_0x439e('0xad'))){if(!_0x43f620[_0x439e('0x21')])continue;const _0x580632=_0x5171bf[_0x439e('0xca')]();for(const _0x54d592 of _0x580632)if(!_0x35855a[_0x439e('0xa9')](_0x54d592)[_0x439e('0x65')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x520c5d){const _0x3b0920=this[_0x439e('0xce')][_0x439e('0x28')][_0x439e('0x16')](_0x439e('0xbe'))[_0x439e('0xf3')](_0x520c5d);if(!_0x3b0920)throw new _0x316ab1('track-changes-user-not-found',this);return _0x3b0920;}[_0x439e('0x3a')](_0x57f6b3){const _0x23e71a=this[_0x439e('0xce')][_0x439e('0x28')][_0x439e('0x16')](_0x439e('0xbe')),_0x191237=_0xf5555(_0x439e('0x12c')+_0x57f6b3),_0x511eb7=_0x23e71a['getUser'](_0x191237);return _0x511eb7||_0x23e71a[_0x439e('0x56')]({'id':_0x191237,'name':_0x57f6b3});}['_createSuggestion'](_0x1b7497,_0x42b070,_0x266348,_0x18bd98,_0x37555c){const _0x3ef560=this[_0x439e('0x150')](_0x18bd98),_0x16aeb1=this['_suggestionFactory'][_0x439e('0x15')](_0x1b7497,_0x42b070,_0x266348,_0x3ef560,_0x37555c,_0x3c89d8=>this[_0x439e('0xed')](_0x266348,{'attributes':_0x3c89d8}));return this[_0x439e('0x24')](_0x16aeb1,_0x439e('0x168'),()=>{this[_0x439e('0xed')](_0x266348,{'state':'accepted'});},{'priority':_0x439e('0x124')}),this[_0x439e('0x24')](_0x16aeb1,_0x439e('0x4e'),()=>{this[_0x439e('0xed')](_0x266348,{'state':_0x439e('0xb')});},{'priority':_0x439e('0x124')}),this[_0x439e('0x17f')][_0x439e('0x66')](_0x266348,_0x16aeb1),this[_0x439e('0x132')][_0x439e('0x66')](_0x16aeb1,_0x439e('0xe')),_0x16aeb1;}[_0x439e('0x180')](_0x5af011){const _0x253eaf=_0x5af011[_0x439e('0x88')](':');return{'group':_0x253eaf[0x0],'type':_0x253eaf[0x1],'subType':_0x253eaf['length']>=0x5?_0x253eaf[0x2]:null,'id':_0x253eaf['length']<0x5?_0x253eaf[0x2]:_0x253eaf[0x3],'authorId':_0x253eaf[_0x439e('0x65')]<0x5?_0x253eaf[0x3]:_0x253eaf[0x4],'markerCount':0x6==_0x253eaf[_0x439e('0x65')]?_0x253eaf[0x5]:null};}[_0x439e('0x164')](_0x13ef03,_0xedfb72,_0x41bafa){const _0x963091=_0x13ef03[_0x439e('0xf5')](),_0x48e50a=_0x963091[_0x439e('0x9')],_0x55a3a6=_0x963091['end'];this[_0x439e('0xd9')](_0x13ef03,this[_0x439e('0x29')][_0x439e('0xf4')](_0x48e50a,_0xedfb72));const _0x3df39b=_0x1990b4(),_0x4e1a06=_0x13ef03[_0x439e('0x33')]['id'],_0x82b40=_0x13ef03['type']+(_0x13ef03[_0x439e('0xc8')]?':'+_0x13ef03[_0x439e('0xc8')]:'');this['_setSuggestionData']({'id':_0x3df39b,'type':_0x82b40,'createdAt':new Date(),'authorId':_0x4e1a06,'originalSuggestionId':_0x13ef03['id'],'attributes':_0x13ef03[_0x439e('0x167')],'data':_0x13ef03[_0x439e('0x181')]});const _0x596795=this[_0x439e('0xd')](_0x13ef03);(_0x439e('0x12d')==_0x13ef03['type']||_0x596795&&this[_0x439e('0xcb')](_0x596795))&&(_0x41bafa=this[_0x439e('0x29')][_0x439e('0x95')](_0x41bafa[_0x439e('0x9d')])),this[_0x439e('0x36')](_0x82b40,_0x3df39b,_0x4e1a06,this['_model'][_0x439e('0xf4')](_0x41bafa,_0x55a3a6));}[_0x439e('0xef')](_0x15ec08,_0x4aad48=null){const _0x32759f=[],_0x4bd7d5=this[_0x439e('0xce')][_0x439e('0x28')]['get'](_0x439e('0xbe'))['me'];Array['isArray'](_0x15ec08)||(_0x15ec08=[_0x15ec08]);for(const _0x13b926 of this['getSuggestions']()){if(!_0x13b926['isInContent'])continue;if(_0x4aad48&&_0x13b926[_0x439e('0x89')]!=_0x4aad48)continue;let _0x3dce60=!0x1;for(const _0x5d8f29 of _0x13b926[_0x439e('0xca')]()){for(const _0x37a3ad of _0x15ec08){const _0x31443c=_0x37a3ad['start'][_0x439e('0x12e')](_0x5d8f29[_0x439e('0xb5')])||_0x37a3ad[_0x439e('0xb5')][_0x439e('0x12e')](_0x5d8f29[_0x439e('0x9')]);if(_0x31443c||_0x37a3ad[_0x439e('0x84')](_0x5d8f29)){const _0x3324e4=_0x37a3ad[_0x439e('0xcc')](_0x5d8f29)&&Tt(this[_0x439e('0x29')][_0x439e('0x7d')],_0x5d8f29[_0x439e('0x9')],_0x37a3ad),_0x5660a0=_0x5d8f29[_0x439e('0xcc')](_0x37a3ad)&&Tt(this[_0x439e('0x29')][_0x439e('0x7d')],_0x37a3ad[_0x439e('0x9')],_0x5d8f29);_0x32759f[_0x439e('0x14c')]({'suggestion':_0x13b926,'meta':{'isOwn':_0x4bd7d5==_0x13b926['author'],'isNextTo':_0x31443c,'isInsideObject':_0x3324e4,'containsRangeInObject':_0x5660a0}}),_0x3dce60=!0x0;break;}}if(_0x3dce60)break;}}return _0x32759f;}[_0x439e('0x36')](_0x3148ed,_0x320d6b,_0x5090e6,_0x1b04bb,_0x3ac91d){this[_0x439e('0x29')][_0x439e('0xd6')](_0x253520=>{let _0x51c873='suggestion:'+_0x3148ed+':'+_0x320d6b+':'+_0x5090e6;_0x3ac91d&&(_0x51c873=_0x51c873+':'+_0x3ac91d),_0x253520[_0x439e('0x86')](_0x51c873,{'range':_0x1b04bb,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x439e('0x151')](_0x42971b){const _0x3897ed=_0x42971b[_0x439e('0xf6')],_0x2aeeae=_0x42971b[_0x439e('0xd7')];_0x42971b[_0x439e('0xf6')]=null,_0x42971b[_0x439e('0xd7')]=null,null!=_0x3897ed&&(_0x3897ed['next']=_0x2aeeae),null!=_0x2aeeae&&(_0x2aeeae['previous']=_0x3897ed),_0x439e('0x13b')==this[_0x439e('0x132')]['get'](_0x42971b)&&(this[_0x439e('0x132')][_0x439e('0x66')](_0x42971b,_0x439e('0x163')),this[_0x439e('0x42')](_0x439e('0x11b'),_0x42971b,_0x3897ed,_0x2aeeae));}[_0x439e('0x126')](_0x54f73d){const _0x21bffd=_0x54f73d['id'],_0x1a0cc4=this[_0x439e('0x10b')](_0x54f73d);if(this[_0x439e('0x53')]&&this['_adapter'][_0x439e('0x8c')]){const _0x151547=this[_0x439e('0xce')][_0x439e('0x28')][_0x439e('0x16')](_0x439e('0x38')),_0x130255=_0x1a0cc4[_0x439e('0x4b')],_0x3e1509=_0x1a0cc4[_0x439e('0xc8')]?_0x1a0cc4[_0x439e('0x89')]+':'+_0x1a0cc4[_0x439e('0xc8')]:_0x1a0cc4[_0x439e('0x89')],_0x338ea2=this[_0x439e('0xce')][_0x439e('0x92')],_0x408ae3=_0x151547[_0x439e('0x61')](_0x1027b4(_0x338ea2,_0x439e('0x14b'))),_0x11890f={'id':_0x21bffd,'type':_0x3e1509,'hasComments':_0x130255,'data':_0x54f73d['data']||null,'originalSuggestionId':_0x54f73d[_0x439e('0xfc')]||null,'attributes':_0x1a0cc4[_0x439e('0x167')]};this[_0x439e('0x53')][_0x439e('0x8c')](_0x11890f)[_0x439e('0x175')](_0x7efeb9=>{_0x1a0cc4[_0x439e('0xff')]=!0x0,_0x151547[_0x439e('0x14e')](_0x408ae3),_0x7efeb9&&_0x7efeb9[_0x439e('0xb7')]&&(this[_0x439e('0x17f')]['get'](_0x21bffd)['createdAt']=_0x7efeb9[_0x439e('0xb7')]);})[_0x439e('0xd8')](_0x332449=>{throw _0x189efa('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0x439e('0xf8')][_0x439e('0x166')]({'isUndoable':!0x1},()=>{_0x1a0cc4[_0x439e('0x4e')]();}),_0x1a0cc4['stopListening'](),this[_0x439e('0x17f')][_0x439e('0x5')](_0x1a0cc4['id']),this['_suggestionState'][_0x439e('0x5')](_0x1a0cc4),_0x332449;});}return _0x1a0cc4;}[_0x439e('0xcb')](_0x7baf0d){return this[_0x439e('0x1a')]['has'](_0x7baf0d);}['_getAttributeKeyFromSubType'](_0x463cba){return _0x439e('0x55')==_0x463cba[_0x439e('0x89')]&&_0x463cba[_0x439e('0xc8')]['split']('|')[0x0];}['_updateSuggestionData'](_0x34de02,_0x2dc190){const _0x571397=this[_0x439e('0xce')]['plugins'][_0x439e('0x16')](_0x439e('0x38')),_0x21e75d=this[_0x439e('0x10c')](_0x34de02);if(this[_0x439e('0x53')]&&this['_adapter'][_0x439e('0x70')]){if(_0x21e75d[_0x439e('0xff')]){const _0x1e76e9=_0x571397[_0x439e('0x61')](_0x1027b4(this['editor'][_0x439e('0x92')],_0x439e('0x14b')));this[_0x439e('0x53')][_0x439e('0x70')](_0x34de02,_0x2dc190)[_0x439e('0x175')](()=>{_0x571397[_0x439e('0x14e')](_0x1e76e9);});}else _0x21e75d['on'](_0x439e('0x13a'),()=>{this[_0x439e('0xed')](_0x34de02,_0x2dc190);});}}['_getSuggestionData'](_0x458999){if(!this['_adapter']||!this[_0x439e('0x53')][_0x439e('0x10c')])throw new _0x316ab1(_0x439e('0x10f'),this);return this[_0x439e('0x53')]['getSuggestion'](_0x458999);}['_handleNewSuggestionMarker'](_0x544a1f){const {id:_0x1d11ee,type:_0x13acb9,subType:_0x21837d,authorId:_0x540e13}=this[_0x439e('0x180')](_0x544a1f),_0x1ae29e=this[_0x439e('0x17f')][_0x439e('0x16')](_0x1d11ee)||this[_0x439e('0x158')](_0x13acb9,_0x21837d,_0x1d11ee,_0x540e13,{});switch(this[_0x439e('0x1d')](_0x1ae29e,_0x13acb9,_0x21837d,_0x540e13),this[_0x439e('0x132')][_0x439e('0x16')](_0x1ae29e)){case'notReady':this[_0x439e('0xb3')](_0x1d11ee)[_0x439e('0x175')](_0x26db17=>{let _0x379135=Promise[_0x439e('0x13c')]();_0x26db17[_0x439e('0x4b')]&&(_0x379135=this[_0x439e('0x16a')][_0x439e('0x145')]({'channelId':this[_0x439e('0xce')]['config']['get'](_0x439e('0x152')),'threadId':_0x1d11ee})),_0x379135[_0x439e('0x175')](()=>{this[_0x439e('0x10b')](_0x26db17)[_0x439e('0xff')]=!0x0;});}),this[_0x439e('0x132')][_0x439e('0x66')](_0x1ae29e,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x1d11ee,{'state':_0x439e('0x5c')});case _0x439e('0x177'):this['_suggestionState'][_0x439e('0x66')](_0x1ae29e,'ready'),this['fire'](_0x439e('0x141'),_0x1ae29e);break;case _0x439e('0x13b'):this[_0x439e('0x42')](_0x439e('0x12f'),_0x1ae29e);}return _0x1ae29e[_0x439e('0x27')](_0x544a1f),_0x1ae29e;}['_refreshSuggestionsChain'](_0x9315fa){const _0x181674=Array[_0x439e('0xe4')](_0x9315fa),_0x9e650=_0x181674['filter'](_0x5eeb91=>_0x439e('0x55')==_0x5eeb91[_0x439e('0x89')]);this['_refreshAttributeSuggestionsChain'](_0x9e650);const _0x4a80ea=_0x181674[_0x439e('0x13e')](_0xed3a95=>!_0xed3a95[_0x439e('0x12')]&&_0x439e('0x55')!=_0xed3a95['type']),_0x5efd89=this['getSuggestions']({'skipNotAttached':!0x0})[_0x439e('0x13e')](_0x40b571=>!_0x40b571[_0x439e('0x12')]&&_0x439e('0x55')!=_0x40b571['type']),_0x5ca9a7=_0x5efd89[_0x439e('0x13e')](_0x5aaca2=>!_0x9315fa['has'](_0x5aaca2)),_0x5602b0=new Map(_0x5efd89[_0x439e('0x15f')](_0x32b320=>[_0x32b320,this[_0x439e('0x16e')][_0x439e('0xc4')](_0x32b320[_0x439e('0x89')],_0x32b320[_0x439e('0xc8')],_0x439e('0x40'))])),_0x55973c=new Map(_0x5efd89[_0x439e('0x15f')](_0x4b153f=>[_0x4b153f,_0x4b153f[_0x439e('0xf5')]()])),_0x4afc4e=new Set(),_0x3e94b0=new Set();for(let _0x4794b0=0x0;_0x4794b0<_0x4a80ea['length'];_0x4794b0++)_0xb672a2(_0x4a80ea[_0x4794b0],_0x4a80ea,_0x4794b0+0x1);for(let _0x59a9de=0x0;_0x59a9de<_0x4a80ea[_0x439e('0x65')];_0x59a9de++)_0xb672a2(_0x4a80ea[_0x59a9de],_0x5ca9a7,0x0);const _0x27331c=new Set();for(let _0x48fe09=0x0;_0x48fe09<_0x4a80ea['length'];_0x48fe09++){const _0x4c7d7f=_0x4a80ea[_0x48fe09];!_0x3e94b0[_0x439e('0x32')](_0x4c7d7f)&&_0x4c7d7f[_0x439e('0xf6')]&&(_0x27331c[_0x439e('0x61')](_0x4c7d7f['previous']),_0x4c7d7f[_0x439e('0xf6')][_0x439e('0xd7')]===_0x4c7d7f&&(_0x4c7d7f[_0x439e('0xf6')][_0x439e('0xd7')]=null),_0x4c7d7f[_0x439e('0xf6')]=null),!_0x4afc4e['has'](_0x4c7d7f)&&_0x4c7d7f[_0x439e('0xd7')]&&(_0x27331c['add'](_0x4c7d7f[_0x439e('0xd7')]),_0x4c7d7f[_0x439e('0xd7')]['previous']===_0x4c7d7f&&(_0x4c7d7f['next'][_0x439e('0xf6')]=null),_0x4c7d7f[_0x439e('0xd7')]=null);}function _0xb672a2(_0x3d51dd,_0x2ac2ee,_0x373f05){for(let _0xf19ee2=_0x373f05;_0xf19ee2<_0x2ac2ee['length'];_0xf19ee2++){const _0x6f5fd5=_0x54f82a(_0x3d51dd,_0x2ac2ee[_0xf19ee2]);_0x6f5fd5&&(_0x6f5fd5[0x0][_0x439e('0xd7')]=_0x6f5fd5[0x1],_0x6f5fd5[0x1]['previous']=_0x6f5fd5[0x0],_0x4afc4e['add'](_0x6f5fd5[0x0]),_0x3e94b0[_0x439e('0x61')](_0x6f5fd5[0x1]));}}function _0x54f82a(_0x14171e,_0x5b6fdd){if(_0x14171e[_0x439e('0x16c')]['id']!==_0x5b6fdd[_0x439e('0x16c')]['id'])return null;const _0x38c340=_0x5602b0[_0x439e('0x16')](_0x14171e)(_0x14171e,_0x5b6fdd,_0x55973c['get'](_0x14171e),_0x55973c[_0x439e('0x16')](_0x5b6fdd));if(!_0x38c340)return null;return _0x5602b0[_0x439e('0x16')](_0x5b6fdd)(_0x14171e,_0x5b6fdd,_0x55973c[_0x439e('0x16')](_0x14171e),_0x55973c[_0x439e('0x16')](_0x5b6fdd))?_0x38c340[0x1][_0x439e('0x173')]&&_0x38c340[0x1][_0x439e('0x173')][_0x439e('0x65')]?null:_0x38c340:null;}_0x27331c[_0x439e('0x15b')]&&this[_0x439e('0x6f')](_0x27331c);}[_0x439e('0x4')](_0x4f38f9){if(0x0==_0x4f38f9[_0x439e('0x65')])return;const _0x5eebc6=this[_0x439e('0x102')]({'skipNotAttached':!0x0})[_0x439e('0x13e')](_0x42f822=>_0x439e('0x55')==_0x42f822[_0x439e('0x89')]&&_0x42f822['_isDataLoaded']),_0x12d6c5=[],_0x240d47=new Map();for(const _0x455926 of _0x5eebc6){const _0x2af183=_0xf5555(_0x455926[_0x439e('0x167')]);_0x240d47[_0x439e('0x32')](_0x2af183)||(_0x240d47[_0x439e('0x66')](_0x2af183,_0x12d6c5['length']),_0x12d6c5['push']([]));const _0x3ea60c=_0x240d47[_0x439e('0x16')](_0x2af183);_0x12d6c5[_0x3ea60c]['push'](_0x455926);}!function(){_0x12d6c5[_0x439e('0xa5')]((_0x59ca70,_0x51b74e)=>{const _0x1e648d=_0x59ca70[0x0]['createdAt'],_0x3b8618=_0x51b74e[0x0]['createdAt'];return _0x1e648d==_0x3b8618?_0x59ca70[0x0][_0x439e('0x167')]['groupId']<_0x51b74e[0x0][_0x439e('0x167')]['groupId']?-0x1:0x1:_0x1e648d<_0x3b8618?-0x1:0x1;});for(const _0x577ca6 of _0x12d6c5)_0x577ca6['sort']((_0x235eff,_0x137e0d)=>_0x235eff['id']<_0x137e0d['id']?-0x1:0x1);}();for(let _0x4d56c6=0x0;_0x4d56c6<_0x12d6c5['length'];_0x4d56c6++){if(0x0==_0x12d6c5[_0x4d56c6][_0x439e('0x65')])continue;const _0x273924=[];for(let _0x4805cc=_0x4d56c6+0x1;_0x4805cc<_0x12d6c5['length'];_0x4805cc++)0x0!=_0x12d6c5[_0x4805cc][_0x439e('0x65')]&&_0x2974b0(_0x12d6c5[_0x4d56c6],_0x12d6c5[_0x4805cc])&&_0x273924[_0x439e('0x14c')](_0x4805cc);for(const _0x4c6d9b of _0x273924)_0x12d6c5[_0x4d56c6]=_0x12d6c5[_0x4d56c6][_0x439e('0x5b')](_0x12d6c5[_0x4c6d9b]),_0x12d6c5[_0x4c6d9b]=[];}for(const _0x3d718d of _0x12d6c5)for(let _0x299260=0x0;_0x299260<_0x3d718d['length'];_0x299260++)_0x3d718d[_0x299260][_0x439e('0xd7')]=_0x3d718d[_0x299260+0x1]||null;for(const _0x387b7f of _0x12d6c5)for(let _0x45631=0x0;_0x45631<_0x387b7f[_0x439e('0x65')];_0x45631++)_0x387b7f[_0x45631]['previous']=_0x387b7f[_0x45631-0x1]||null;function _0x2974b0(_0x3e1d06,_0xb4378a){if(_0x3e1d06[0x0]['author']!==_0xb4378a[0x0][_0x439e('0x16c')])return!0x1;if(!function(_0x406d2a,_0xf0aec7){if(!_0x406d2a[_0x439e('0x4b')]&&!_0xf0aec7[_0x439e('0x4b')])return!0x0;if(_0x406d2a[_0x439e('0x4b')]&&_0xf0aec7['hasComments'])return!0x1;if(_0x406d2a['hasComments']&&_0xf0aec7['createdAt']<_0x406d2a['commentThread'][_0x439e('0x144')]['get'](0x0)['createdAt'])return!0x0;if(_0xf0aec7['hasComments']&&_0x406d2a[_0x439e('0xb7')]<_0xf0aec7[_0x439e('0x173')][_0x439e('0x144')][_0x439e('0x16')](0x0)[_0x439e('0xb7')])return!0x0;return!0x1;}(_0x3e1d06[0x0],_0xb4378a[0x0]))return!0x1;const _0x2eac05=_0x2e307b(_0x3e1d06[0x0][_0x439e('0x167')],_0x439e('0xbd')),_0x58633d=_0x2e307b(_0xb4378a[0x0][_0x439e('0x167')],_0x439e('0xbd'));if(!_0x42d7a6(_0x2eac05,_0x58633d))return!0x1;return!!_0x3e1d06[_0x439e('0xa3')](_0x12a54e=>_0xb4378a[_0x439e('0x153')](_0x2f9ca7=>_0x12a54e[_0x439e('0xf5')]()['isEqual'](_0x2f9ca7['getFirstRange']())))&&_0xb4378a[_0x439e('0xa3')](_0x440892=>_0x3e1d06[_0x439e('0x153')](_0x5a7164=>_0x440892['getFirstRange']()['isEqual'](_0x5a7164['getFirstRange']())));}}[_0x439e('0xbf')](_0xf5df91){const _0x47971c=Array[_0x439e('0xe4')](_0xf5df91),_0x597677=this['getSuggestions']({'skipNotAttached':!0x0}),_0x4efa0e=_0x597677['filter'](_0x16d7e2=>!_0xf5df91[_0x439e('0x32')](_0x16d7e2)),_0x265b6c=new Map(_0x47971c['map'](_0x3073a9=>[_0x3073a9,this['_suggestionFactory'][_0x439e('0xc4')](_0x3073a9[_0x439e('0x89')],_0x3073a9[_0x439e('0xc8')],'join')])),_0x5d915f=new Map(_0x597677['map'](_0x25ac10=>[_0x25ac10,_0x25ac10[_0x439e('0xca')]()]));for(let _0x589b2f=0x0;_0x589b2f<_0x47971c[_0x439e('0x65')];_0x589b2f++){if(_0x7ef5ca(this,_0x47971c[_0x589b2f],_0x47971c,_0x589b2f+0x1))return!0x0;}for(let _0x46feb=0x0;_0x46feb<_0x47971c[_0x439e('0x65')];_0x46feb++){if(_0x7ef5ca(this,_0x47971c[_0x46feb],_0x4efa0e,0x0))return!0x0;}return!0x1;function _0x7ef5ca(_0x4a4915,_0x28ac73,_0x381865,_0x126a05){for(let _0x46436e=_0x126a05;_0x46436e<_0x381865[_0x439e('0x65')];_0x46436e++){const _0x2d735f=_0x381865[_0x46436e];if(_0x2d735f[_0x439e('0x89')]!==_0x28ac73['type']||_0x2d735f['author']['id']!==_0x28ac73[_0x439e('0x16c')]['id']||_0x2d735f['subType']!==_0x28ac73[_0x439e('0xc8')])continue;if(!Vt(_0x28ac73,_0x2d735f))continue;if(_0x439e('0x55')==_0x28ac73[_0x439e('0x89')]&&_0x28ac73[_0x439e('0x181')][_0x439e('0x9e')]!=_0x2d735f[_0x439e('0x181')][_0x439e('0x9e')])continue;if(_0x439e('0x55')==_0x28ac73['type']&&_0x4a4915[_0x439e('0xcb')](_0x28ac73[_0x439e('0x181')][_0x439e('0x23')]))continue;const _0x4f7c60=_0x265b6c[_0x439e('0x16')](_0x28ac73),_0x42a8e8=_0x5d915f['get'](_0x28ac73),_0x39978a=_0x5d915f[_0x439e('0x16')](_0x2d735f),_0x3f5a1d=_0x28ac73['commentThread']&&_0x28ac73[_0x439e('0x173')]['length'],_0x4dbee6=_0x2d735f[_0x439e('0x173')]&&_0x2d735f[_0x439e('0x173')][_0x439e('0x65')];if(!_0x3f5a1d&&_0x4f7c60(_0x39978a,_0x42a8e8))return _0x4a4915[_0x439e('0x87')](_0x2d735f,_0x28ac73),_0x5d915f['delete'](_0x28ac73),!0x0;if(!_0x4dbee6&&_0x4f7c60(_0x42a8e8,_0x39978a))return _0x4a4915[_0x439e('0x87')](_0x28ac73,_0x2d735f),_0x5d915f['delete'](_0x2d735f),!0x0;}return!0x1;}}[_0x439e('0x87')](_0x35b6e1,_0x5ca312){if(_0x35b6e1[_0x439e('0x12')])for(const _0x7a41b of _0x5ca312[_0x439e('0xca')]())_0x35b6e1[_0x439e('0x176')](_0x7a41b);else{const _0x2767c=_0x5ca312['getFirstRange']()['end'];this['_setSuggestionRange'](_0x35b6e1,this[_0x439e('0x29')][_0x439e('0xf4')](_0x35b6e1['getFirstRange']()[_0x439e('0x9')],_0x2767c));}_0x5ca312['removeMarkers']();}[_0x439e('0x11f')](_0x581459,_0x74de6d){const _0x232817=_0x581459[_0x439e('0x15a')](_0x439e('0x60'))||_0x581459['startsWith'](_0x439e('0x55'))?_0x439e('0x13'):_0x581459[_0x439e('0x146')]();return _0x1027b4(this['editor'][_0x439e('0x92')],_0x74de6d+'_'+_0x232817+'_SUGGESTION_ANNOUNCEMENT');}[_0x439e('0xb6')](){const _0x3e9fb7=this[_0x439e('0xce')];_0x56de40(this[_0x439e('0x29')],({left:_0x744e28,entered:_0x12dec2})=>{const _0x44f12e=[];for(const _0x48b5d5 of _0x744e28){const {group:_0x5ead15,type:_0x138e20}=this[_0x439e('0x180')](_0x48b5d5['name']);if('suggestion'===_0x5ead15){_0x44f12e['push'](this[_0x439e('0x11f')](_0x138e20,'LEAVE'));break;}}for(const _0x56075c of _0x12dec2){const {group:_0x15eacf,type:_0x3eadf4}=this['_splitMarkerName'](_0x56075c[_0x439e('0x17b')]);if('suggestion'===_0x15eacf){_0x44f12e[_0x439e('0x14c')](this['_getMarkerAnnouncementText'](_0x3eadf4,_0x439e('0x133')));break;}}_0x44f12e[_0x439e('0x65')]&&_0x3e9fb7['ui'][_0x439e('0xbb')][_0x439e('0x142')](_0x439e('0x136'),_0x44f12e[_0x439e('0xdc')]('\x20'));});}[_0x439e('0xe9')](_0x1b1028){if(null!==this[_0x439e('0x109')])return!0x1;const _0x29ad8c=this[_0x439e('0xce')],_0x2243be=_0x29ad8c[_0x439e('0xf8')][_0x439e('0x7a')]['differ'][_0x439e('0x63')]();if(0x0==_0x2243be[_0x439e('0x65')])return!0x1;const _0x3c5c3d=[],_0xa93262=_0x2243be[_0x439e('0x13e')](_0x6ad1b3=>_0x439e('0x55')==_0x6ad1b3[_0x439e('0x89')]),_0x238c8c=_0x2243be[_0x439e('0x13e')](_0x42b362=>_0x439e('0x8d')==_0x42b362[_0x439e('0x89')]&&'$text'!=_0x42b362[_0x439e('0x17b')]),_0x15690c=_0x2243be[_0x439e('0x13e')](_0x36f824=>'remove'==_0x36f824[_0x439e('0x89')]&&_0x439e('0xa2')!=_0x36f824[_0x439e('0x17b')]);for(const _0x167ebb of _0xa93262)_0x3c5c3d[_0x439e('0x14c')]({'key':_0x167ebb[_0x439e('0x5e')],'newValue':_0x167ebb[_0x439e('0x85')],'oldValue':_0x167ebb[_0x439e('0xac')],'range':_0x157e2c(_0x167ebb[_0x439e('0xe8')])});for(const _0x59f89a of _0x238c8c){const _0x53106=_0x15690c[_0x439e('0xd5')](_0xcfa012=>_0xcfa012['position']['isEqual'](_0x59f89a[_0x439e('0x35')]));_0x53106&&_0x3c5c3d[_0x439e('0x14c')]({'key':_0x439e('0xb8'),'newValue':_0x59f89a[_0x439e('0x17b')],'oldValue':_0x53106[_0x439e('0x17b')],'range':_0x29ad8c['model'][_0x439e('0x20')](_0x59f89a['position'][_0x439e('0x39')])});}return 0x0!=_0x3c5c3d['length']&&this[_0x439e('0x64')](_0x1b1028,_0x3c5c3d);function _0x157e2c(_0x1310aa){return null==_0x1310aa[_0x439e('0xb5')][_0x439e('0x11c')]&&_0x1310aa['end'][_0x439e('0x9d')]==_0x1310aa[_0x439e('0x9')][_0x439e('0x39')]?Ut(_0x1310aa['start'][_0x439e('0x39')],_0x29ad8c[_0x439e('0xf8')]):_0x1310aa;}}[_0x439e('0x59')](_0x44d5ff){let _0x3f0582=!0x1;const _0x2723bb=this[_0x439e('0xce')][_0x439e('0xf8')][_0x439e('0x7a')][_0x439e('0x122')][_0x439e('0x6e')]()['filter'](_0x50dda3=>_0x50dda3[_0x439e('0x181')][_0x439e('0xe7')]&&_0x50dda3[_0x439e('0x17b')]['startsWith'](_0x439e('0x117')));for(const _0x4f0cf0 of _0x2723bb){const {subType:_0x1d539a,id:_0x2d5f91}=this[_0x439e('0x180')](_0x4f0cf0[_0x439e('0x17b')]),_0x288e24=_0x1d539a[_0x439e('0x88')]('|')[0x0];for(const _0x24c51a of this[_0x439e('0x102')]({'skipNotAttached':!0x0}))_0x24c51a['id']!=_0x2d5f91&&_0x439e('0x55')==_0x24c51a[_0x439e('0x89')]&&_0x24c51a[_0x439e('0x181')]&&_0x24c51a['data'][_0x439e('0x23')]==_0x288e24&&_0x24c51a[_0x439e('0xf5')]()[_0x439e('0x131')](_0x4f0cf0['data'][_0x439e('0xe7')])&&(this[_0x439e('0x30')](_0x24c51a,_0x4f0cf0[_0x439e('0x181')][_0x439e('0xe7')],_0x44d5ff),_0x3f0582=!0x0);}return _0x3f0582;}[_0x439e('0xf2')](_0x49c01d){if(null!==this[_0x439e('0x109')])return void _0x49c01d();const _0x3ee421=this[_0x439e('0xce')];this[_0x439e('0x109')]=_0x3ee421[_0x439e('0xf8')][_0x439e('0x7a')][_0x439e('0x3c')],_0x49c01d();const _0x93589=new Map();for(const _0x47de51 of _0x3ee421[_0x439e('0xf8')][_0x439e('0x7a')][_0x439e('0x6')][_0x439e('0x13d')](this[_0x439e('0x109')]))if([_0x439e('0x17e'),_0x439e('0x121'),_0x439e('0xfe'),_0x439e('0xda')][_0x439e('0x37')](_0x47de51[_0x439e('0x89')])){const _0x596634=_0x47de51[_0x439e('0xec')],_0x123cca=_0x93589[_0x439e('0x16')](_0x596634)||[];_0x123cca[_0x439e('0x14c')](_0x47de51),_0x93589[_0x439e('0x66')](_0x596634,_0x123cca);}this[_0x439e('0x109')]=null;for(const [_0x20cee6,_0x2c26a5]of _0x93589){const _0x2a88a7=_0x1990b4();_0x3ee421[_0x439e('0xf8')]['enqueueChange'](_0x20cee6,_0x416b1b=>{const _0x14501b=[];for(const _0x46558b of _0x2c26a5){let _0x35792d,_0x1f74d7,_0x1b239e,_0x30da6c;if(_0x439e('0x17e')==_0x46558b[_0x439e('0x89')]){const _0x5e1f05=_0x46558b;_0x35792d=Ut(_0x5e1f05[_0x439e('0x35')][_0x439e('0x39')],_0x3ee421[_0x439e('0xf8')]),_0x1f74d7=_0x439e('0xb8'),_0x1b239e=_0x5e1f05[_0x439e('0xe3')],_0x30da6c=_0x5e1f05['oldName'];}else{const _0x1bdf82=_0x46558b,_0x5d8cf9=this[_0x439e('0xcb')](_0x1bdf82['key']),_0x5c86e4=this[_0x439e('0x115')][_0x439e('0x32')](_0x1bdf82[_0x439e('0x23')]);if(!_0x5d8cf9&&!_0x5c86e4)continue;_0x35792d=_0x5d8cf9?Ut(_0x1bdf82[_0x439e('0xe8')]['start'][_0x439e('0x39')],_0x3ee421[_0x439e('0xf8')]):_0x1bdf82['range'],_0x1f74d7=_0x1bdf82[_0x439e('0x23')],_0x1b239e=_0x439e('0xfe')==_0x46558b[_0x439e('0x89')]?void 0x0:_0x1bdf82[_0x439e('0x98')],_0x30da6c=_0x1bdf82['oldValue'];}this[_0x439e('0xf0')](_0x35792d,_0x1f74d7,_0x30da6c,_0x1b239e,{'groupId':_0x2a88a7}),_0x14501b[_0x439e('0x14c')]({'range':_0x35792d,'key':_0x1f74d7,'newValue':_0x1b239e,'oldValue':_0x30da6c});}this[_0x439e('0x64')](_0x416b1b,_0x14501b);});}}[_0x439e('0x64')](_0x54dd30,_0x282a43){if(0x0==_0x282a43[_0x439e('0x65')])return!0x1;let _0x5e959c=!0x1;for(const _0x37774c of _0x282a43){const _0x241261=this[_0x439e('0xef')](_0x37774c[_0x439e('0xe8')],_0x439e('0x55'))[_0x439e('0x13e')](_0x10438e=>!_0x10438e[_0x439e('0x58')][_0x439e('0x108')])[_0x439e('0x15f')](_0x130623=>_0x130623[_0x439e('0x26')]),_0x27c5a9=_0xf5555({'newValue':_0x37774c[_0x439e('0x98')]});_0x241261['filter'](_0x23f0d5=>{const [_0x4e3b1d,_0x865120]=_0x23f0d5[_0x439e('0xc8')]['split']('|');return _0x4e3b1d==_0x37774c[_0x439e('0x23')]&&_0x865120!=_0x27c5a9;})[_0x439e('0x17a')](_0x21334f=>{this[_0x439e('0x30')](_0x21334f,_0x37774c['range'],_0x54dd30),_0x5e959c=!0x0;});}return _0x5e959c;}['_reduceSuggestionAttributeRange'](_0x375a29,_0x571cde,_0x269221){const _0x156267=_0x375a29[_0x439e('0xf5')]()['getDifference'](_0x571cde);0x0!==_0x156267['length']?0x1!==_0x156267[_0x439e('0x65')]?this[_0x439e('0x164')](_0x375a29,_0x571cde[_0x439e('0x9')],_0x571cde[_0x439e('0xb5')]):this[_0x439e('0xd9')](_0x375a29,_0x156267[0x0]):_0x269221[_0x439e('0x105')](_0x375a29[_0x439e('0xc3')]());}}class Bt{constructor(_0x3b6b58){this[_0x439e('0x71')]=_0x3b6b58,this['_model']=_0x3b6b58['model'],this[_0x439e('0xa6')]=new Map(),this[_0x439e('0x51')]=new Map(),this['_registerDefaultCallbacks']();}[_0x439e('0x15')](_0x733284,_0xd759f4,_0x1b921d,_0x58fcc1,_0x16a4c7,_0xe9ceea){return new _0x5b5191(this[_0x439e('0x29')],{'type':_0x733284,'subType':_0xd759f4,'id':_0x1b921d,'author':_0x58fcc1,'creator':_0x58fcc1,'attributes':_0x16a4c7,'onAttributesChange':_0xe9ceea,'onAccept':(..._0x1776cb)=>this['getSuggestionCallback'](_0x733284,_0xd759f4,'accept')(..._0x1776cb),'onDiscard':(..._0x22118f)=>this[_0x439e('0xc4')](_0x733284,_0xd759f4,_0x439e('0x4e'))(..._0x22118f)});}[_0x439e('0x154')](_0x478e2a,_0xf8d2aa,_0x5f3450,_0x5826af){const _0x20683d=_0x478e2a+':'+_0xf8d2aa+':'+_0x5f3450;this[_0x439e('0xa6')][_0x439e('0x66')](_0x20683d,_0x5826af);}['getSuggestionCallback'](_0x25b1c0,_0x49f2c2,_0x1930d2){const _0x2ea77d=_0x25b1c0+':'+_0x49f2c2+':'+_0x1930d2;return this['_customCallbacks'][_0x439e('0x16')](_0x2ea77d)||this['_defaultCallbacks'][_0x439e('0x16')](_0x25b1c0+':'+_0x1930d2);}[_0x439e('0xa')](){const _0x3fe1f2=()=>!0x1,_0x3c5434=_0x58f995=>{_0x58f995[_0x439e('0xa5')]((_0x1476fc,_0x144efe)=>_0x1476fc[_0x439e('0x9')][_0x439e('0x11a')](_0x144efe[_0x439e('0x9')])?0x1:-0x1),this['_model'][_0x439e('0xd6')](_0x5a3db5=>{for(const _0x395891 of _0x58f995){let _0x36372e;_0x36372e=_0x395891[_0x439e('0xb5')][_0x439e('0xb4')]&&_0x395891['end'][_0x439e('0x9d')]==_0x395891[_0x439e('0x9')][_0x439e('0x39')]?_0x5a3db5[_0x439e('0x1f')](_0x395891[_0x439e('0x9')][_0x439e('0x39')],'on'):_0x5a3db5['createSelection'](_0x395891),this['_model']['deleteContent'](_0x36372e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0xfd33b8=(_0x32cacb,_0x448759)=>{_0x448759&&this['_model']['change'](_0x217ad1=>{const {commandName:_0x1da7d8,commandParams:_0x24f75e=[]}=_0x448759,_0x9301a7=_0x32cacb[_0x439e('0x15f')](_0x2c56e8=>(xt(_0x2c56e8)&&(_0x2c56e8=this['_model'][_0x439e('0xf4')](_0x2c56e8[_0x439e('0xb5')])),_0x2c56e8))[_0x439e('0x13e')](_0x44f795=>'$graveyard'!==_0x44f795[_0x439e('0x162')][_0x439e('0xf7')]);if(_0x9301a7['length']<0x1)return;const _0xb4331=Array[_0x439e('0xe4')](this['_model'][_0x439e('0x7a')][_0x439e('0x129')][_0x439e('0xca')]())['map'](_0x15f6c2=>_0x5d4469[_0x439e('0x114')](_0x15f6c2));_0x217ad1[_0x439e('0x7c')](_0x9301a7);for(const _0x13ab47 of this[_0x439e('0x71')][_0x439e('0x134')]['commands']())_0x13ab47['refresh']();_0x24f75e['push']({'forceDefaultExecution':!0x0}),this[_0x439e('0x71')][_0x439e('0x50')](_0x1da7d8,..._0x24f75e);const _0x20454d=_0xb4331['filter'](_0x44a35a=>_0x439e('0x2b')!=_0x44a35a['root']['rootName']);_0x20454d[_0x439e('0x65')]>0x0&&_0x217ad1[_0x439e('0x7c')](_0x20454d);for(const _0x1af951 of _0xb4331)_0x1af951[_0x439e('0x113')]();});},_0x50417d=(_0x2157b5,_0x3e9111)=>0x1==_0x2157b5[_0x439e('0x65')]&&0x1==_0x3e9111[_0x439e('0x65')]&&_0x2157b5[0x0][_0x439e('0xb5')][_0x439e('0x12e')](_0x3e9111[0x0][_0x439e('0x9')]),_0x11909b=(_0xec5420,_0x37eb7f,_0x5b47ec,_0x2bf9b3)=>Ot(_0xec5420,_0x37eb7f,_0x5b47ec,_0x2bf9b3,this[_0x439e('0x29')])?[_0xec5420,_0x37eb7f]:Ot(_0x37eb7f,_0xec5420,_0x2bf9b3,_0x5b47ec,this[_0x439e('0x29')])?[_0x37eb7f,_0xec5420]:null;this[_0x439e('0x51')][_0x439e('0x66')]('insertion:accept',_0x3fe1f2),this['_defaultCallbacks'][_0x439e('0x66')](_0x439e('0x83'),_0x3c5434),this[_0x439e('0x51')]['set'](_0x439e('0x91'),_0x50417d),this[_0x439e('0x51')][_0x439e('0x66')]('insertion:chain',_0x11909b),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x49'),_0x3c5434),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x4f'),_0x3fe1f2),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x125'),_0x50417d),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x120'),_0x11909b),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0xc1'),_0xfd33b8),this[_0x439e('0x51')][_0x439e('0x66')]('formatInline:discard',_0x3fe1f2),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0xc9'),_0x50417d),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x1e'),_0x3fe1f2),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x118'),_0xfd33b8),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x2e'),_0x3fe1f2),this[_0x439e('0x51')][_0x439e('0x66')]('formatBlock:join',_0x50417d),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0xdf'),_0x3fe1f2),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0xba'),_0x3fe1f2),this[_0x439e('0x51')][_0x439e('0x66')](_0x439e('0x68'),(_0xc3fe57,_0x2b9b08)=>{if(!_0x2b9b08)return;const _0x3ce1e6=this[_0x439e('0x71')][_0x439e('0x28')][_0x439e('0x16')](p);this[_0x439e('0x29')][_0x439e('0xd6')](_0x262837=>{if(_0x439e('0xb8')==_0x2b9b08[_0x439e('0x23')])for(const _0x127473 of _0xc3fe57){const _0x562e02=_0x127473[_0x439e('0x9')][_0x439e('0x39')],_0x34b92b=_0x2b9b08[_0x439e('0x9e')];_0x262837[_0x439e('0x17e')](_0x562e02,_0x34b92b);}else{if(_0x3ce1e6[_0x439e('0xcb')](_0x2b9b08['key']))for(const _0xda6cfd of _0xc3fe57)void 0x0!==_0x2b9b08[_0x439e('0x9e')]?_0x262837[_0x439e('0xee')](_0x2b9b08[_0x439e('0x23')],_0x2b9b08[_0x439e('0x9e')],_0xda6cfd[_0x439e('0x9')]['nodeAfter']):_0x262837[_0x439e('0xfe')](_0x2b9b08['key'],_0xda6cfd[_0x439e('0x9')]['nodeAfter']);else for(const _0x1447e of _0xc3fe57)_0x2b9b08[_0x439e('0x9e')]?_0x262837[_0x439e('0xee')](_0x2b9b08[_0x439e('0x23')],_0x2b9b08[_0x439e('0x9e')],_0x1447e):_0x262837['removeAttribute'](_0x2b9b08[_0x439e('0x23')],_0x1447e);}});}),this[_0x439e('0x51')]['set'](_0x439e('0x9b'),_0x50417d);}}function Tt(_0x1fff19,_0x625bd4,_0x5296fe){for(const _0x3c4fa9 of _0x625bd4['parent'][_0x439e('0xfa')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3c4fa9[_0x439e('0x162')]==_0x3c4fa9)return!0x1;if(!_0x5296fe[_0x439e('0x116')](_0x3c4fa9))return!0x1;if(_0x1fff19['isObject'](_0x3c4fa9)||_0x1fff19[_0x439e('0x3b')](_0x3c4fa9))return!0x0;}return!0x1;}function xt(_0x1ffba0){return _0x1ffba0[_0x439e('0xb5')]['parent']==_0x1ffba0[_0x439e('0x9')][_0x439e('0x39')]&&_0x1ffba0[_0x439e('0xb5')][_0x439e('0x148')];}function Et(_0x19a469,_0x137c92,_0x466802,_0x3bce56){const _0x1af504=_0x4fc904=>!_0x4fc904[_0x439e('0xfd')]['is'](_0x439e('0x43'))&&!_0x3bce56[_0x439e('0x15c')](_0x4fc904[_0x439e('0xfd')]),_0x269049=_0x19a469[_0x439e('0x9')]['getLastMatchingPosition'](_0x1af504),_0x58cb7b=_0x19a469[_0x439e('0xb5')][_0x439e('0xd4')](_0x1af504,{'direction':_0x439e('0x11d')});return(!_0x19a469[_0x439e('0x9')][_0x439e('0x12e')](_0x269049)||!_0x19a469[_0x439e('0xb5')][_0x439e('0x12e')](_0x58cb7b))&&(_0x269049[_0x439e('0x11a')](_0x58cb7b)?_0x466802['updateMarker'](_0x137c92,{'range':_0x466802[_0x439e('0xf4')](_0x269049,_0x58cb7b)}):_0x466802[_0x439e('0x105')](_0x137c92),!0x0);}function Rt(_0x4c3866){return _0xf5555(_0x4c3866);}function jt(_0x1beb5f){const _0x46b554=_0x1beb5f[_0x439e('0x9')][_0x439e('0x39')];return _0x46b554&&_0x46b554['is'](_0x439e('0x1c'));}function Ut(_0x2c4116,_0x299515){const _0x593481=_0x299515['schema']['isObject'](_0x2c4116)||_0x299515[_0x439e('0x7d')]['isSelectable'](_0x2c4116);return _0x299515[_0x439e('0xf4')](_0x299515[_0x439e('0x10')](_0x2c4116,_0x439e('0x127')),_0x593481?_0x299515['createPositionAfter'](_0x2c4116):_0x299515[_0x439e('0x10')](_0x2c4116,_0x439e('0xb5')));}function Ot(_0x2ad377,_0x40c0e7,_0x25c207,_0x2e429c,_0x221d9a){if(!Vt(_0x2ad377,_0x40c0e7))return!0x1;if(_0x25c207['end']['isEqual'](_0x2e429c[_0x439e('0x9')]))return!0x0;if(_0x2ad377['type']!=_0x40c0e7[_0x439e('0x89')])return!0x1;if(!_0x25c207[_0x439e('0xb5')][_0x439e('0xc0')](_0x2e429c['start']))return!0x1;const _0x4841db=_0x221d9a[_0x439e('0xf4')](_0x25c207[_0x439e('0xb5')],_0x2e429c[_0x439e('0x9')])[_0x439e('0xf')]();for(const _0x3d5d1a of _0x4841db)if([_0x439e('0x25'),_0x439e('0x159')][_0x439e('0x37')](_0x3d5d1a[_0x439e('0x89')])&&_0x221d9a[_0x439e('0x7d')][_0x439e('0x3b')](_0x3d5d1a[_0x439e('0xfd')]))return!0x1;return!0x0;}function Vt(_0x26b52f,_0xe56fd0){return!(!_0x26b52f['_isDataLoaded']||!_0xe56fd0[_0x439e('0xa8')])&&_0x42d7a6(_0x26b52f[_0x439e('0x167')],_0xe56fd0[_0x439e('0x167')]);}function Ft(_0x434106,_0x1ab8e8){const _0x56e9d4=Gt(_0x434106['attributes']),_0x7fa22b=Gt(_0x1ab8e8);if(!_0x434106[_0x439e('0xa8')])return!0x1;for(const _0x363bea of Object['keys'](_0x7fa22b))if(!_0x42d7a6(_0x56e9d4[_0x363bea],_0x7fa22b[_0x363bea]))return!0x1;return!0x0;}function Gt(_0x2749e5){const _0x167466=Object[_0x439e('0x2d')]({},_0x2749e5);return delete _0x167466[_0x439e('0x9a')],delete _0x167466['tablePasteChainId'],_0x167466;}
23
+ const _0x3d2a=['isUndo','trackChangesCommand','some','stopListening','set','add','subType','execute','join','_setSuggestionRange','notReady','ariaLiveAnnouncer','_joinWithAdjacentSuggestions','change:activeMarkers','value','addCommentThread','getDifference','_SUGGESTION_ANNOUNCEMENT','discardSelectedSuggestions','options','insertion:','_customCallbacks','createPositionAfter','oldName','type','element','markerToData','formatBlock:accept','setAttribute','markInsertion','map','attribute','root','isSelectable','hasComments','rootName','unshift','showSuggestionHighlights','upcast','delete','_registerInlineAttribute','_recordAttributeChanges','differ','$marker','comments','rethrowUnexpectedError','author','data','formatBlock','markMultiRangeInsertion','track-changes-adapter-missing-getsuggestion','changeAttribute','writer','push','_inlineAttributeKeys','isCollapsed','consume','model','editingDowncast','plugins','trackChanges.trackFormatChanges','track-changes-command-not-found','createSelection','keys','data-suggestion','getAttribute','from','authorName','range','suggestion-type','formatBlock:chain','discardAllSuggestions','isRemovable','elementToElement','isObject','ck-suggestion-marker','_updateSuggestionData','unbindElementFromMarkerName','createRange','_getAuthorFromId','deletion:','rename','_handleNewSuggestionMarker','oldRange','move','creator','item','$elementName','insert','trackChanges.mergeNestedSuggestions','selection','formatBlock:join','document','deletion:accept','insertion:chain','default','markerName','isLocal','define','key','oldValue','listenTo','_suggestionFactory','discardSuggestion','_trackFormatChanges','change','createPositionAt','track-changes-user-not-found','getMarkers','containsRangeInObject','getNearestSelectionRange','fetchCommentThread','suggestion','mapper','next','getShiftedBy','start','_mergeNestedSuggestions','suggestion:attribute:','formatInline:discard','remove','announce','version','high','formatInline:','skipNestingCheck','FORMATTING','addClass','_blockAttributeKeys','$graveyard','Users','for','createPositionBefore','insertion','commandName','before','error-saving-suggestion-data-suggestion-discarded','CommentsRepository','$text','nodeBefore','_registerDefaultCallbacks','_commentsRepository','splice','_initAriaMarkerChangeAnnouncements','every','_processAttributeSuggestions','consumable','always','fromCharCode','_suggestions','_model','suggestionChanged','multipleBlocks','deletion','ck-suggestion-marker-','createRangeIn','normal','PENDING_ACTION_SUGGESTION','enableReadOnlyMode','isBefore','tablePasteChainId','lowest','track-changes-adapter-already-set','get','concat','markerToHighlight','conversion','elementStart','adapter','_isDataLoaded','ck-suggestion-marker--active','isEqual','$textProxy','pop','markAttributeChange','getIntersection','getChanges','setSelection','getChangedMarkers','removeAttribute','batch','_getSuggestionData','substring','splitPosition','_editor','_createSuggestion','formatGroupId','suggestion:','_processAttributeChanges','_suggestionState','updateSuggestion','_refreshAttributeSuggestionsChain','getRange','activeMarkers','addRange','markMultiRangeDeletion','isOwn','registerCustomCallback','startsWith','addMarker:suggestion:attribute','addSuggestion','rejected','isTouching','getAllAdjacentSuggestions','authoredAt','containsPosition','accept','_enableDefaultAttributesIntegration','addSuggestionData','originalSuggestionId','markInlineFormat','isBlock','_joinSuggestions','_removeSuggestion','substr','_enabledCommands','_splitMarkerName','length','forceDefaultExecution','getMultiRangeId','multi','newRange','_reduceSuggestionAttributeRange','_setSuggestionData','accepted','acceptSuggestion','_checkSuggestionCorrectness','group','insertion:accept','removeMarker:suggestion:attribute','_getMarkerAnnouncementText','collaboration.channelId','registerPostFixer','discard','name','getCustomProperty','containsItem','ready','previous','_breakSuggestionMarker','highest','fire','targetPosition','after','_recordAttributeSuggestionsFromVersion','history','includes','getWalker','enableCommand','formatBlock:discard','hasCommentThread','updateMarker','schema','commentThread','addMarker','ck-suggestion-marker-formatBlock','reconvertMarker','buildSuggestion','split','parent','has','containsRange','createdAt','PendingActions','TrackChangesEditing','track-changes-suggestion-data-mismatch','_reduceExistingSuggestions','getFirstMarker','toUpperCase','addAttribute','trackChanges','formatInline','deletion:join','getSuggestions','requires','low','acceptAllSuggestions','chain','addMarker:suggestion','getFirstRange','isExternal','find','markerReady','howMany','setTo','stop','return','_registerBlockAttribute','isInsideObject','forward','position','_addSuggestionMarker','isAtEnd','_cutOutSuggestionMarker','track-changes-enable-command-twice','dataReady','getRanges','commands','_addThreadToSuggestion','removeMarkers','meta','getItems','_isBlockAttribute','getLastMatchingPosition','suggestionLoaded','getContainedElement','moveTargetPosition','_isForcedDefaultExecutionBlock','acceptSelectedSuggestions','dataToMarker','insertion:join','LEAVE','_adapter','clone','attributes','_rangeIsInLocalUserInsertion','never','attributeNewValue','newValue','markers','update:suggestion','addComment','editor','applyOperation','addMarkerName','attributeOldValue','backward','getSuggestionCallback','sort','newName','filter','_refreshSuggestionsChain','nodeAfter','removeMarker','addHighlight','removed','markerNameToElements','attributeKey','isInContent','change:data','formatInline:accept','head','assign','@external','getUser','groupId','getSuggestion','refresh','formatBlock:','isAfter','end','isIntersecting','values','addMarker:suggestion:formatBlock','then','bindElementToMarker','config','clear','_getExternalAuthor','isLimit','forEach','init','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.','isNextTo','dataDowncast','isMultiRange','_findSuggestions','detach','locale','createRangeOn','toViewElement','isDocumentOperation','markDeletion','_saved','containerElement','_defaultCallbacks','marker-count','isAtStart'];(function(_0x3eb775,_0x3d2aef){const _0x24f21b=function(_0x2e6767){while(--_0x2e6767){_0x3eb775['push'](_0x3eb775['shift']());}};_0x24f21b(++_0x3d2aef);}(_0x3d2a,0x16b));const _0x24f2=function(_0x3eb775,_0x3d2aef){_0x3eb775=_0x3eb775-0x0;let _0x24f21b=_0x3d2a[_0x3eb775];return _0x24f21b;};import{Plugin as _0x357723,PendingActions as _0x4bdfad}from'ckeditor5/src/core';import{LiveRange as _0x353646}from'ckeditor5/src/engine';import{CKEditorError as _0x1937ba,uid as _0x4f0f07,priorities as _0x222b66,logWarning as _0x40d91e}from'ckeditor5/src/utils';import{toWidget as _0x1fcbde}from'ckeditor5/src/widget';import{Users as _0x98077b,hashObject as _0x232543,surroundingMarkersDetector as _0x492056}from'ckeditor5-collaboration/src/collaboration-core';import _0x2bfdb2 from'./commands/trackchangescommand';import _0x2a8fbb from'./commands/acceptsuggestioncommand';import _0x491c74 from'./commands/discardsuggestioncommand';import _0x547392 from'./commands/executeonallsuggestionscommand';import _0x13151f from'./commands/executeonselectedsuggestionscommand';import _0x897dd2 from'./suggestion';import _0x268df3 from'./suggestiondescriptionfactory';import _0x10ac8d from'./integrations/aiassistant';import _0x534c7c from'./integrations/alignment';import _0x4646e1 from'./integrations/basicstyles';import _0x28d659 from'./integrations/blockquote';import _0x171a31 from'./integrations/ckbox';import _0x2683ba from'./integrations/codeblock';import _0x16061c from'./integrations/comments';import _0x261a55 from'./integrations/deletecommand';import _0xdc7d3a from'./integrations/documentlist';import _0x34c47e from'./integrations/documentlistproperties';import _0x494961 from'./integrations/entercommand';import _0x688a2f from'./integrations/findandreplace';import _0x5667b0 from'./integrations/font';import _0xfbc7b9 from'./integrations/formatpainter';import _0x3b72ae from'./integrations/heading';import _0x184bd0 from'./integrations/highlight';import _0x387499 from'./integrations/horizontalline';import _0xfa4dcd from'./integrations/htmlembed';import _0x3bf7d7 from'./integrations/image';import _0x3aa902 from'./integrations/imagereplace';import _0x3ce75e from'./integrations/imagestyle';import _0x3d0d4f from'./integrations/importword';import _0x3d2af7 from'./integrations/indent';import _0x6ae1c4 from'./integrations/inputcommand';import _0x190643 from'./integrations/link';import _0x2a31bb from'./integrations/list';import _0x3fec6b from'./integrations/listproperties';import _0x744e7d from'./integrations/mediaembed';import _0x1de16c from'./integrations/mention';import _0x44510c from'./integrations/pagebreak';import _0x24dd38 from'./integrations/paragraph';import _0x561647 from'./integrations/removeformat';import _0x241604 from'./integrations/restrictededitingmode';import _0x43b96f from'./integrations/shiftentercommand';import _0xdfeb80 from'./integrations/standardeditingmode';import _0x701369 from'./integrations/style';import _0x8d2fc8 from'./integrations/table';import _0x2b2a5c from'./integrations/tablemergesplit';import _0x238db8 from'./integrations/tableheadings';import _0x2d1f31 from'./integrations/tableclipboard';import _0x31ff58 from'./integrations/tablecolumnresize';import _0x3c8e4e from'./integrations/template';import _0x300480 from'./integrations/tableofcontents';import _0x58f26c from'./integrations/title';import _0x36ea7d from'./integrations/undo';import _0x588a60 from'./integrations/tablecaption';import _0x4afdc0 from'./integrations/tableproperties';import{getTranslation as _0x46785b}from'./utils/common-translations';import{isEqual as _0x57a851,omit as _0x35f41d}from'lodash-es';export const renameAttributeKey=_0x24f2('0x66');export default class p extends _0x357723{static get[_0x24f2('0x121')](){return[_0x24f2('0x98'),_0x98077b,_0x4bdfad,_0x10ac8d,_0x534c7c,_0x4646e1,_0x28d659,_0x171a31,_0x2683ba,_0x16061c,_0x261a55,_0xdc7d3a,_0x34c47e,_0x494961,_0x688a2f,_0x5667b0,_0xfbc7b9,_0x3b72ae,_0x184bd0,_0x387499,_0xfa4dcd,_0x3bf7d7,_0x3ce75e,_0x3aa902,_0x3d0d4f,_0x3d2af7,_0x6ae1c4,_0x190643,_0x2a31bb,_0x3fec6b,_0x744e7d,_0x1de16c,_0x44510c,_0x24dd38,_0x561647,_0x241604,_0x43b96f,_0xdfeb80,_0x701369,_0x8d2fc8,_0x2b2a5c,_0x238db8,_0x588a60,_0x2d1f31,_0x31ff58,_0x300480,_0x4afdc0,_0x3c8e4e,_0x58f26c,_0x36ea7d];}static get['pluginName'](){return _0x24f2('0x117');}constructor(_0x3bbc2c){function _0x5396c1(_0x50b1b3){return _0x50b1b3[_0x24f2('0x2d')](_0x2308b6=>String[_0x24f2('0xa3')](_0x2308b6))[_0x24f2('0x17')]('');}super(_0x3bbc2c),this[_0x24f2('0x103')]=null,this['set'](_0x24f2('0xd0'),[]),this['on'](_0x24f2('0x1c'),(_0x577238,_0xc257d5,_0x52df2f,_0x3d626)=>{this[_0x24f2('0xa5')][_0x24f2('0x78')](()=>{for(const _0x38faa2 of[..._0x3d626,..._0x52df2f])this[_0x24f2('0xa5')][_0x24f2('0x14e')][_0x24f2('0x113')](_0x38faa2)&&_0x3bbc2c['editing'][_0x24f2('0x10f')](_0x38faa2);});}),this['_descriptionFactory']=new _0x268df3(this[_0x24f2('0x151')]['model'][_0x24f2('0x10b')],this[_0x24f2('0x151')][_0x24f2('0x5')]),this[_0x24f2('0x147')]=null,this['_suggestionFactory']=new Bt(this[_0x24f2('0x151')]),this[_0x24f2('0xa4')]=new Map(),this[_0x24f2('0x9c')]=_0x3bbc2c['plugins'][_0x24f2('0xb2')](_0x24f2('0x98')),this[_0x24f2('0xe6')]=new Set(),this['_model']=this[_0x24f2('0x151')][_0x24f2('0x48')],this[_0x24f2('0xcc')]=new WeakMap(),this[_0x24f2('0x142')]=!0x1,this[_0x24f2('0x8f')]=new Set([_0x24f2('0x66')]),this[_0x24f2('0x45')]=new Set(),_0x3bbc2c[_0x24f2('0x173')][_0x24f2('0x71')]('trackChanges.trackFormatChanges',_0x24f2('0x6e')),this['_trackFormatChanges']=_0x3bbc2c['config']['get'](_0x24f2('0x4b')),_0x3bbc2c[_0x24f2('0x173')][_0x24f2('0x71')](_0x24f2('0x68'),!0x0),this[_0x24f2('0x84')]=_0x3bbc2c[_0x24f2('0x173')]['get'](_0x24f2('0x68')),this[_0x24f2('0x10')]=new _0x2bfdb2(_0x3bbc2c,this[_0x24f2('0xe6')]),this[_0x24f2('0x9e')](),this[_0x5396c1([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x5396c1([0x34,0x30,0x34,0x36,0x32,0x34,0x32,0x34]);}[_0x24f2('0x178')](){const _0x3d7e7e=this[_0x24f2('0x151')],_0x486833=(_0x326ff3,_0x12c2ed)=>{if(_0x24f2('0x2e')!=_0x326ff3)return _0x24f2('0xa9')+_0x326ff3;const _0x326df0=_0x12c2ed[_0x24f2('0x111')]('|')[0x0];return this['_isBlockAttribute'](_0x326df0)?_0x24f2('0x10e'):'ck-suggestion-marker-formatInline';};_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x49'))['markerToHighlight']({'model':_0x24f2('0x7f'),'view':_0x288293=>{const {id:_0x8c0e63,type:_0x9ad9d2,subType:_0x205f78}=this[_0x24f2('0xe7')](_0x288293[_0x24f2('0x6f')]),_0x245f9f=[_0x24f2('0x5a'),_0x486833(_0x9ad9d2,_0x205f78)];let _0x4bc2eb=0xbb8;return this[_0x24f2('0xd0')][_0x24f2('0x105')](_0x288293[_0x24f2('0x6f')])&&(_0x245f9f[_0x24f2('0x44')](_0x24f2('0xb9')),_0x4bc2eb=0xbc2),_0x24f2('0xa8')==_0x9ad9d2&&(_0x4bc2eb+=0x5),{'classes':_0x245f9f,'attributes':{'data-suggestion':_0x8c0e63},'priority':_0x4bc2eb};}}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x1'))[_0x24f2('0x14')](_0x30c8a2=>{_0x30c8a2['on'](_0x24f2('0x125'),(_0x10e54c,_0xa15bfe,_0x2432da)=>{if(!_0x2432da[_0x24f2('0x22')]['showSuggestionHighlights'])return;const _0x17b0b9=_0xa15bfe[_0x24f2('0x65')];if(!_0x17b0b9)return;const _0x140307=_0x2432da[_0x24f2('0x80')]['toViewElement'](_0x17b0b9);_0x3d7e7e['model'][_0x24f2('0x10b')][_0x24f2('0x59')](_0x17b0b9)&&_0x140307&&!_0x140307[_0x24f2('0xfa')]('widget')&&_0x140307['is'](_0x24f2('0xb'))&&_0x1fcbde(_0x140307,_0x2432da[_0x24f2('0x43')]);},{'priority':_0x24f2('0x8a')});}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x1'))[_0x24f2('0xb4')]({'model':'suggestion','view':(_0x2780a3,_0x29be78)=>{if(!_0x29be78[_0x24f2('0x22')]['showSuggestionHighlights'])return null;const {type:_0x30ba0d,subType:_0x245b0f}=this['_splitMarkerName'](_0x2780a3[_0x24f2('0x6f')]);return{'classes':['ck-suggestion-marker',_0x486833(_0x30ba0d,_0x245b0f)],'priority':0xbb8};}});const _0x46eefa=({showActiveMarkers:_0x5c8c4e=!0x0,isAttributeSuggestion:_0x920ba4=!0x1}={})=>(_0x1b3e5b,_0x47180e,_0x364709)=>{if(!_0x47180e[_0x24f2('0x65')])return;const {id:_0x42d753}=this[_0x24f2('0xe7')](_0x47180e['markerName']);if(_0x920ba4){const _0x55ce5f=Pt(this[_0x24f2('0xa4')][_0x24f2('0xb2')](_0x42d753));if(!this[_0x24f2('0x13d')](_0x55ce5f))return;}if(_0x47180e[_0x24f2('0x65')]['is'](_0x24f2('0x69')))return void _0x364709[_0x24f2('0xa1')][_0x24f2('0x47')](_0x47180e['item'],_0x1b3e5b[_0x24f2('0xf9')]);const _0x952d78=_0x364709[_0x24f2('0x80')][_0x24f2('0x7')](_0x47180e[_0x24f2('0x65')]);if(_0x47180e[_0x24f2('0x65')]['is']('element')&&_0x3d7e7e['model'][_0x24f2('0x10b')][_0x24f2('0xe2')](_0x47180e[_0x24f2('0x65')])&&!_0x952d78[_0x24f2('0xfa')](_0x24f2('0x15d'))){_0x364709[_0x24f2('0x43')]['addClass']([_0x24f2('0x5a'),_0x24f2('0x10e')],_0x952d78),_0x364709[_0x24f2('0x43')][_0x24f2('0x2b')]('data-suggestion',_0x42d753,_0x952d78),_0x364709[_0x24f2('0x80')][_0x24f2('0x172')](_0x952d78,_0x47180e[_0x24f2('0x6f')]),_0x5c8c4e&&(this[_0x24f2('0xd0')][_0x24f2('0x105')](_0x47180e[_0x24f2('0x6f')])?_0x364709[_0x24f2('0x43')][_0x24f2('0x8e')](_0x24f2('0xb9'),_0x952d78):_0x364709['writer']['removeClass'](_0x24f2('0xb9'),_0x952d78));for(const _0x2075d6 of _0x3d7e7e[_0x24f2('0x48')][_0x24f2('0xaa')](_0x47180e[_0x24f2('0x65')])[_0x24f2('0x13c')]())_0x364709[_0x24f2('0xa1')][_0x24f2('0x47')](_0x2075d6,_0x1b3e5b[_0x24f2('0xf9')]);_0x364709[_0x24f2('0xa1')][_0x24f2('0x47')](_0x47180e[_0x24f2('0x65')],_0x1b3e5b[_0x24f2('0xf9')]);}};_0x3d7e7e['conversion']['for'](_0x24f2('0x1'))[_0x24f2('0x14')](_0x13775d=>{_0x13775d['on'](_0x24f2('0x170'),(_0x24bbe2,_0x2a2a9b,_0x2285f1)=>{_0x2285f1['options'][_0x24f2('0x34')]&&_0x46eefa({'showActiveMarkers':!0x1})(_0x24bbe2,_0x2a2a9b,_0x2285f1);},{'priority':_0x24f2('0xff')});}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x1'))['add'](_0x554ac7=>{_0x554ac7['on'](_0x24f2('0xd6'),(_0x2b6d70,_0x51d725,_0x3040b3)=>{_0x3040b3['options'][_0x24f2('0x34')]&&_0x46eefa({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x2b6d70,_0x51d725,_0x3040b3);},{'priority':_0x24f2('0xff')});}),_0x3d7e7e['conversion'][_0x24f2('0x92')](_0x24f2('0x1'))[_0x24f2('0x29')]({'model':_0x24f2('0x7f'),'view':(_0x2eb972,_0x50ca19)=>_0x50ca19[_0x24f2('0x22')][_0x24f2('0x34')]?null:{'group':_0x24f2('0x7f'),'name':_0x2eb972[_0x24f2('0xe5')](0xb)}}),_0x3d7e7e[_0x24f2('0xb5')]['for'](_0x24f2('0x35'))[_0x24f2('0x58')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x36c841,{writer:_0x24d5d3})=>{let _0x10b0d1=_0x24f2('0xca')+_0x36c841['getAttribute'](_0x24f2('0x54'))+':'+_0x36c841[_0x24f2('0x50')]('id');return _0x36c841['getAttribute'](_0x24f2('0xd'))&&(_0x10b0d1+=':'+_0x36c841['getAttribute'](_0x24f2('0xd'))),_0x24d5d3['createElement'](_0x24f2('0x3a'),{'data-name':_0x10b0d1});}}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x35'))[_0x24f2('0x144')]({'view':_0x24f2('0x7f')}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x49'))[_0x24f2('0x14')](_0x3351be=>{_0x3351be['on']('addMarker:suggestion:formatBlock',_0x46eefa(),{'priority':_0x24f2('0x8a')});}),_0x3d7e7e[_0x24f2('0xb5')]['for'](_0x24f2('0x49'))[_0x24f2('0x14')](_0x130665=>{_0x130665['on'](_0x24f2('0xd6'),_0x46eefa({'isAttributeSuggestion':!0x0}),{'priority':_0x24f2('0x8a')});}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x49'))[_0x24f2('0x14')](_0xfe60d2=>{_0xfe60d2['on']('removeMarker:suggestion:formatBlock',(_0x7f5072,_0x1843ce,_0x43f96a)=>{const _0x9f7b2b=_0x43f96a[_0x24f2('0x80')]['markerNameToElements'](_0x1843ce[_0x24f2('0x6f')]);if(_0x9f7b2b)for(const _0x15319d of _0x9f7b2b)_0x15319d[_0x24f2('0xfa')](_0x24f2('0x15d'))||(_0x43f96a[_0x24f2('0x43')]['removeClass']([_0x24f2('0x5a'),_0x24f2('0x10e'),_0x24f2('0xb9')],_0x15319d),_0x43f96a[_0x24f2('0x43')]['removeAttribute'](_0x24f2('0x4f'),_0x15319d),_0x43f96a[_0x24f2('0x80')][_0x24f2('0x5c')](_0x15319d,_0x1843ce[_0x24f2('0x6f')]));},{'priority':_0x24f2('0x8a')});}),_0x3d7e7e[_0x24f2('0xb5')][_0x24f2('0x92')](_0x24f2('0x49'))[_0x24f2('0x14')](_0x25a72a=>{_0x25a72a['on'](_0x24f2('0xf4'),(_0x393c93,_0x1ab11b,_0x5a1180)=>{const _0x2cf71d=_0x5a1180[_0x24f2('0x80')][_0x24f2('0x15f')](_0x1ab11b[_0x24f2('0x6f')]);if(!_0x2cf71d)return;const {id:_0x7974d1}=this[_0x24f2('0xe7')](_0x1ab11b[_0x24f2('0x6f')]),_0x285803=Pt(this[_0x24f2('0xa4')][_0x24f2('0xb2')](_0x7974d1));if(this[_0x24f2('0x13d')](_0x285803))for(const _0x16fee3 of _0x2cf71d)_0x16fee3[_0x24f2('0xfa')](_0x24f2('0x15d'))||(_0x5a1180[_0x24f2('0x43')]['removeClass']([_0x24f2('0x5a'),_0x24f2('0x10e'),_0x24f2('0xb9')],_0x16fee3),_0x5a1180['writer'][_0x24f2('0xc2')]('data-suggestion',_0x16fee3),_0x5a1180['mapper']['unbindElementFromMarkerName'](_0x16fee3,_0x1ab11b[_0x24f2('0x6f')]));},{'priority':_0x24f2('0x8a')});}),_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x6b')][_0x24f2('0xf7')](_0x3bf2fa=>{let _0x101e08=!0x1;const _0x8e5228=Array[_0x24f2('0x51')](_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x6b')][_0x24f2('0x39')]['getChangedMarkers']()),_0x25cb92=new Set();for(const {name:_0x528d21,data:_0x55e019}of _0x8e5228){const {group:_0x20b5e2,type:_0x2afee4,subType:_0x596c61,id:_0x22f1ed}=this[_0x24f2('0xe7')](_0x528d21);if(_0x24f2('0x7f')!==_0x20b5e2)continue;const _0x1bd4ce=this[_0x24f2('0xa4')][_0x24f2('0xb2')](_0x22f1ed);if(null!=_0x55e019[_0x24f2('0xec')]){_0x24f2('0x11e')==_0x2afee4&&(_0x101e08=_0x101e08||Et(_0x55e019['newRange'],_0x528d21,_0x3bf2fa,_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x10b')]));const _0x31023d=_0x24f2('0x2e')==_0x2afee4&&this[_0x24f2('0x13d')](_0x596c61[_0x24f2('0x111')]('|')[0x0]);if(_0x55e019[_0x24f2('0xec')][_0x24f2('0x46')]||'$graveyard'==_0x55e019[_0x24f2('0xec')][_0x24f2('0x2f')][_0x24f2('0x32')]||_0x24f2('0x3f')==_0x2afee4&&!jt(_0x55e019[_0x24f2('0xec')])||_0x31023d&&!jt(_0x55e019[_0x24f2('0xec')])||_0x24f2('0xa8')==_0x2afee4&&!(!xt(_0x5d1148=_0x55e019['newRange'])&&!function(_0x58e42f){return _0x58e42f[_0x24f2('0x83')][_0x24f2('0x112')]==_0x58e42f[_0x24f2('0x16d')][_0x24f2('0x9a')]&&_0x58e42f[_0x24f2('0x83')][_0x24f2('0x133')];}(_0x5d1148)))_0x3bf2fa[_0x24f2('0x15c')](_0x528d21),_0x101e08=!0x0;else{if(!_0x1bd4ce||!_0x1bd4ce['isInContent'])continue;_0x25cb92[_0x24f2('0x14')](_0x1bd4ce);}}}var _0x5d1148;return _0x25cb92['size']>0x0&&(_0x101e08=!!this[_0x24f2('0x1b')](_0x25cb92)||_0x101e08),_0x101e08;}),_0x3d7e7e[_0x24f2('0x48')]['document'][_0x24f2('0xf7')](_0x56a994=>{let _0x21cab6=!0x1;for(const _0x476cba of _0x3d7e7e['model']['document'][_0x24f2('0x39')][_0x24f2('0xbf')]())if(_0x24f2('0x67')==_0x476cba[_0x24f2('0x27')])for(const _0x3984af of this[_0x24f2('0xa4')][_0x24f2('0x16f')]()){if(_0x3984af[_0x24f2('0x2')]||!_0x3984af[_0x24f2('0x161')])continue;const _0x1a22b1=_0x24f2('0x3f')==_0x3984af['type'],_0x442043=Pt(_0x3984af),_0x4ba761=_0x442043&&this[_0x24f2('0x13d')](_0x442043);if(!_0x1a22b1&&!_0x4ba761)continue;const _0x4eba95=_0x3984af[_0x24f2('0x126')]();if(_0x4eba95[_0x24f2('0x83')]['parent']!=_0x4eba95[_0x24f2('0x16d')]['parent']&&!_0x4eba95[_0x24f2('0x16d')][_0x24f2('0x133')]){const _0x5b0d83=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x79')](_0x4eba95[_0x24f2('0x83')]['nodeAfter'],_0x24f2('0x16d')),_0xcb332e=_0x3d7e7e['model']['createRange'](_0x4eba95[_0x24f2('0x83')],_0x5b0d83);_0x56a994[_0x24f2('0x10a')](_0x3984af[_0x24f2('0x11a')](),{'range':_0xcb332e}),_0x21cab6=!0x0;}}return _0x21cab6;}),_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x6b')][_0x24f2('0xf7')](_0x183432=>this[_0x24f2('0xcb')](_0x183432)),_0x3d7e7e['model'][_0x24f2('0x6b')]['registerPostFixer'](_0x32257f=>!_0x32257f[_0x24f2('0xc3')][_0x24f2('0x70')]&&this['_processAttributeSuggestions'](_0x32257f)),_0x3d7e7e[_0x24f2('0x48')]['markers']['on'](_0x24f2('0x14f'),(_0x305b38,_0x25f289,_0x87de23)=>{if(null==_0x87de23){const {id:_0xbd01a8}=this[_0x24f2('0xe7')](_0x25f289[_0x24f2('0xf9')]),_0x2ff3ce=this[_0x24f2('0xa4')][_0x24f2('0xb2')](_0xbd01a8);_0x2ff3ce&&_0x2ff3ce[_0x24f2('0x153')](_0x25f289[_0x24f2('0xf9')]);}}),_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x6b')]['on'](_0x24f2('0x162'),()=>{const _0x40dab7=Array[_0x24f2('0x51')](_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x6b')][_0x24f2('0x39')]['getChangedMarkers']())[_0x24f2('0x159')](_0x476e4b=>'suggestion'===this[_0x24f2('0xe7')](_0x476e4b[_0x24f2('0xf9')])[_0x24f2('0xf2')]);if(0x0===_0x40dab7[_0x24f2('0xe8')])return;_0x40dab7[_0x24f2('0x157')]((_0x56ba5b,_0x59a881)=>{const _0x50bcf1=_0x56ba5b[_0x24f2('0x3e')][_0x24f2('0x62')],_0x2fc0f8=_0x59a881[_0x24f2('0x3e')][_0x24f2('0x62')];return null===_0x50bcf1&&null===_0x2fc0f8?0x0:null===_0x50bcf1&&null!==_0x2fc0f8?-0x1:null!==_0x50bcf1&&null===_0x2fc0f8?0x1:_0x50bcf1[_0x24f2('0x83')][_0x24f2('0xae')](_0x2fc0f8[_0x24f2('0x83')])?-0x1:0x1;});const _0x528952=new Set(),_0x4f5c38=new Set();for(const {name:_0x3e4282,data:_0x45cbb7}of _0x40dab7){const {id:_0x37b328}=this[_0x24f2('0xe7')](_0x3e4282);if(null===_0x45cbb7[_0x24f2('0x62')]){const _0x29401e=this[_0x24f2('0x61')](_0x3e4282);_0x4f5c38[_0x24f2('0x14')](_0x29401e);}else{const _0x19d0e2=this[_0x24f2('0xa4')]['get'](_0x37b328);null!==_0x45cbb7[_0x24f2('0xec')]||_0x19d0e2[_0x24f2('0x161')]?(_0x528952[_0x24f2('0x14')](_0x19d0e2[_0x24f2('0x164')]),_0x4f5c38[_0x24f2('0x14')](_0x19d0e2)):this[_0x24f2('0xe4')](_0x19d0e2);}}_0x4f5c38['size']>0x0&&this[_0x24f2('0x15a')](_0x4f5c38);for(const _0x42eb06 of _0x528952)this[_0x24f2('0x100')](_0x24f2('0xa6'),_0x42eb06);}),_0x3d7e7e[_0x24f2('0x48')]['on'](_0x24f2('0x152'),(_0x5c42d3,_0x20a01f)=>{const _0x2eb888=_0x20a01f[0x0];if(!this[_0x24f2('0xa4')]['size'])return;if(!_0x2eb888[_0x24f2('0x8')])return;if(_0x2eb888[_0x24f2('0xc3')][_0x24f2('0xf')]||!_0x2eb888[_0x24f2('0xc3')]['isLocal'])return;let _0x1bd635,_0x3e61ed;switch(_0x2eb888[_0x24f2('0x27')]){case _0x24f2('0x67'):_0x1bd635=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x79')](_0x2eb888[_0x24f2('0x131')]),_0x3e61ed=_0x1bd635['getShiftedBy'](_0x2eb888[_0x24f2('0x12a')]);break;case _0x24f2('0x111'):_0x1bd635=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x79')](_0x2eb888[_0x24f2('0xc6')]),_0x3e61ed=_0x3d7e7e['model'][_0x24f2('0x79')](_0x2eb888[_0x24f2('0x141')]);break;case _0x24f2('0x63'):_0x1bd635=_0x3d7e7e[_0x24f2('0x48')]['createPositionAt'](_0x2eb888[_0x24f2('0x101')]),_0x3e61ed=_0x1bd635[_0x24f2('0x82')](_0x2eb888['howMany']);break;default:return;}const _0x563602=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x5d')](_0x1bd635,_0x3e61ed);_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x78')](()=>{for(const {suggestion:_0x3ba849,meta:_0x1d65cc}of this[_0x24f2('0x3')](_0x563602)){if(_0x3ba849['isMultiRange'])continue;if(_0x24f2('0x11e')==_0x3ba849['type'])continue;const _0x4f43e3=Pt(_0x3ba849);if(_0x4f43e3&&this['_isBlockAttribute'](_0x4f43e3)&&_0x24f2('0x111')!=_0x2eb888['type'])continue;const _0x5d8a26=_0x3ba849['data']&&_0x3ba849[_0x24f2('0x3e')][_0x24f2('0xa7')];('formatBlock'!=_0x3ba849['type']||'split'==_0x2eb888[_0x24f2('0x27')]&&!_0x5d8a26)&&(_0x1d65cc[_0x24f2('0x7c')]||_0x24f2('0x94')==_0x3ba849[_0x24f2('0x27')]&&_0x1d65cc['isOwn']||_0x3ba849[_0x24f2('0x126')]()[_0x24f2('0x114')](_0x563602)&&this[_0x24f2('0xfe')](_0x3ba849,_0x1bd635,_0x3e61ed));}});},{'priority':_0x24f2('0xb0')}),_0x3d7e7e['model']['on']('deleteContent',(_0x548fe5,_0x3501cc)=>{const _0x16855e=_0x3501cc[0x0],_0x2b8198=_0x3501cc[0x1];if(_0x2b8198&&_0x2b8198[_0x24f2('0xe9')])return;if(this[_0x24f2('0x142')])return;if(!this[_0x24f2('0x10')]['value'])return;if(_0x16855e[_0x24f2('0x46')])return;const _0x128ec6=_0x3d7e7e[_0x24f2('0x48')]['schema'],{start:_0x29ebff,end:_0x5ac4e5}=_0x16855e[_0x24f2('0x126')](),_0x893621=_0x29ebff[_0x24f2('0x15b')]&&_0x128ec6[_0x24f2('0x176')](_0x29ebff['nodeAfter'])?null:_0x128ec6[_0x24f2('0x7d')](_0x29ebff,_0x24f2('0x130')),_0x6fc348=_0x5ac4e5[_0x24f2('0x9a')]&&_0x128ec6[_0x24f2('0x176')](_0x5ac4e5[_0x24f2('0x9a')])?null:_0x128ec6[_0x24f2('0x7d')](_0x5ac4e5,_0x24f2('0x155')),_0x4dc869=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x5d')](_0x893621?_0x893621[_0x24f2('0x83')]:_0x29ebff,_0x6fc348?_0x6fc348['end']:_0x5ac4e5);_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x78')](_0xf15765=>{this[_0x24f2('0x9')](_0x4dc869);const _0x2d63e1=_0x3d7e7e['model'][_0x24f2('0x10b')]['getNearestSelectionRange'](_0x4dc869['start']);_0x16855e['is']('documentSelection')?_0xf15765[_0x24f2('0xc0')](_0x2d63e1):_0x16855e[_0x24f2('0x12b')](_0x2d63e1);}),_0x548fe5['stop']();},{'priority':_0x222b66[_0x24f2('0xab')]+0xa}),_0x3d7e7e['model']['on']('insertContent',(_0x35b7f0,_0x506a41)=>{const _0x1941f4=_0x506a41[_0x506a41[_0x24f2('0xe8')]-0x1];_0x1941f4&&_0x1941f4[_0x24f2('0xe9')]||this[_0x24f2('0x142')]||this[_0x24f2('0x10')][_0x24f2('0x1d')]&&(_0x3d7e7e['model'][_0x24f2('0x78')](()=>{let _0x4b9b28=_0x3d7e7e['model']['insertContent'](_0x506a41[0x0],_0x506a41[0x1],_0x506a41[0x2],{'forceDefaultExecution':!0x0});if(!_0x4b9b28)return;_0x35b7f0[_0x24f2('0x12d')]=_0x4b9b28[_0x24f2('0x148')]();const _0x36c102=_0x4b9b28[_0x24f2('0x16d')][_0x24f2('0x9a')],_0x3fb381=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x10b')];_0x36c102&&_0x3fb381[_0x24f2('0xe2')](_0x36c102)&&!_0x3fb381[_0x24f2('0x59')](_0x36c102)&&(_0x4b9b28=_0x3d7e7e[_0x24f2('0x48')][_0x24f2('0x5d')](_0x4b9b28[_0x24f2('0x83')],_0x3d7e7e['model'][_0x24f2('0x79')](_0x36c102,_0x24f2('0x16d')))),this[_0x24f2('0x2c')](_0x4b9b28);}),_0x35b7f0['stop']());},{'priority':_0x24f2('0x8a')}),this[_0x24f2('0x151')]['commands'][_0x24f2('0x14')](_0x24f2('0x11d'),this[_0x24f2('0x10')]),this['enableCommand']('trackChanges');const _0x3d55ff=new _0x2a8fbb(_0x3d7e7e,this['_suggestions']);_0x3d7e7e[_0x24f2('0x138')]['add'](_0x24f2('0xf0'),_0x3d55ff),this[_0x24f2('0x107')]('acceptSuggestion');const _0x599473=new _0x491c74(_0x3d7e7e,this['_suggestions']);_0x3d7e7e['commands'][_0x24f2('0x14')](_0x24f2('0x76'),_0x599473),this[_0x24f2('0x107')]('discardSuggestion'),_0x3d7e7e['commands']['add'](_0x24f2('0x123'),new _0x547392(_0x3d7e7e,_0x3d55ff,this[_0x24f2('0xa4')])),this[_0x24f2('0x107')](_0x24f2('0x123')),_0x3d7e7e['commands']['add'](_0x24f2('0x56'),new _0x547392(_0x3d7e7e,_0x599473,this[_0x24f2('0xa4')])),this[_0x24f2('0x107')](_0x24f2('0x56')),_0x3d7e7e[_0x24f2('0x138')][_0x24f2('0x14')](_0x24f2('0x143'),new _0x13151f(_0x3d7e7e,_0x3d55ff,this[_0x24f2('0xa4')])),this['enableCommand'](_0x24f2('0x143')),_0x3d7e7e[_0x24f2('0x138')][_0x24f2('0x14')](_0x24f2('0x21'),new _0x13151f(_0x3d7e7e,_0x599473,this['_suggestions'])),this['enableCommand'](_0x24f2('0x21'));const _0x33b409=_0x3d7e7e[_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x98'));this['listenTo'](_0x33b409,_0x24f2('0x150'),(_0x2bbd09,{threadId:_0x5c1d9c})=>{const _0x52eae4=this['_suggestions']['get'](_0x5c1d9c);_0x52eae4&&_0x52eae4[_0x24f2('0x10c')]&&0x1===_0x52eae4[_0x24f2('0x10c')][_0x24f2('0xe8')]&&this[_0x24f2('0x5b')](_0x5c1d9c,{'hasComments':!0x0});},{'priority':_0x24f2('0x122')}),this['listenTo'](_0x33b409,'removeComment',(_0x56d7ee,{threadId:_0x5249d4})=>{const _0x4149ea=this['_suggestions'][_0x24f2('0xb2')](_0x5249d4);_0x4149ea&&_0x4149ea[_0x24f2('0x10c')]&&!_0x4149ea[_0x24f2('0x10c')][_0x24f2('0xe8')]&&this[_0x24f2('0x5b')](_0x5249d4,{'hasComments':!0x1});},{'priority':'low'});}set[_0x24f2('0xb7')](_0x3a7ec0){if(this[_0x24f2('0x147')])throw new _0x1937ba(_0x24f2('0xb1'),this);this[_0x24f2('0x147')]=_0x3a7ec0;}get[_0x24f2('0xb7')](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x242f4c=!0x1,toJSON:_0x3f1720=!0x1}={}){const _0x4d4841=[];for(const _0x3e3084 of this[_0x24f2('0xa4')]['values']())_0x242f4c&&!_0x3e3084[_0x24f2('0x161')]||_0x4d4841[_0x24f2('0x44')](_0x3e3084);return _0x3f1720?_0x4d4841[_0x24f2('0x2d')](_0x59b628=>_0x59b628['toJSON']()):_0x4d4841;}[_0x24f2('0x169')](_0x4d4f4e){const _0x5c0d2a=this[_0x24f2('0xa4')]['get'](_0x4d4f4e);if(!_0x5c0d2a)throw new _0x1937ba('track-changes-suggestion-not-found',this);return _0x5c0d2a;}['hasSuggestion'](_0x13011e){return this[_0x24f2('0xa4')][_0x24f2('0x113')](_0x13011e);}[_0x24f2('0xdf')](_0x5210e9){const {authorId:_0x572429,id:_0x182bca,attributes:_0x1e43b2}=_0x5210e9,[_0x32d4d4,_0x1fdbf8]=_0x5210e9[_0x24f2('0x27')][_0x24f2('0x111')](':'),_0x30d39d=this[_0x24f2('0xa4')][_0x24f2('0xb2')](_0x182bca)||this[_0x24f2('0xc8')](_0x32d4d4,_0x1fdbf8,_0x182bca,_0x572429,_0x1e43b2);if(this[_0x24f2('0x139')](_0x30d39d),this[_0x24f2('0xf1')](_0x30d39d,_0x32d4d4,_0x1fdbf8||null,_0x572429),_0x30d39d[_0x24f2('0x115')]=_0x5210e9['createdAt'],_0x30d39d[_0x24f2('0xb8')]=!0x0,_0x1e43b2&&_0x1e43b2[_0x24f2('0x166')]){const _0x7df383=_0x1e43b2[_0x24f2('0x166')],_0x4ca1e6=this[_0x24f2('0x175')](_0x7df383[_0x24f2('0x52')]);_0x30d39d[_0x24f2('0xdb')]=_0x7df383[_0x24f2('0x115')],_0x30d39d[_0x24f2('0x3d')]=_0x4ca1e6,_0x30d39d[_0x24f2('0x127')]=!0x0;}else _0x30d39d[_0x24f2('0xdb')]=_0x5210e9[_0x24f2('0x115')];switch(_0x5210e9[_0x24f2('0x3e')]&&(_0x30d39d[_0x24f2('0x3e')]=_0x5210e9[_0x24f2('0x3e')]),_0x5210e9['attributes']&&(_0x30d39d[_0x24f2('0x149')]=_0x5210e9[_0x24f2('0x149')]),this[_0x24f2('0x147')]&&this[_0x24f2('0x147')][_0x24f2('0xd7')]||(_0x30d39d[_0x24f2('0xa')]=!0x0),this[_0x24f2('0xcc')][_0x24f2('0xb2')](_0x30d39d)){case _0x24f2('0x19'):this[_0x24f2('0xcc')]['set'](_0x30d39d,'dataReady');break;case _0x24f2('0x129'):_0x30d39d[_0x24f2('0x161')]?(this[_0x24f2('0x15a')](new Set([_0x30d39d])),this[_0x24f2('0x1b')](new Set([_0x30d39d])),this[_0x24f2('0xcc')][_0x24f2('0x13')](_0x30d39d,_0x24f2('0xfc')),this[_0x24f2('0x100')](_0x24f2('0x13f'),_0x30d39d)):this[_0x24f2('0xcc')]['set'](_0x30d39d,_0x24f2('0x15e'));}return _0x30d39d;}[_0x24f2('0xf0')](_0xede858){this[_0x24f2('0xe9')](()=>{this['editor'][_0x24f2('0x48')][_0x24f2('0x78')](()=>{for(const _0x18ede6 of _0xede858[_0x24f2('0xda')]())_0x18ede6['accept']();});});}['discardSuggestion'](_0x48ea0a){this['forceDefaultExecution'](()=>{this[_0x24f2('0x151')][_0x24f2('0x48')]['change'](()=>{for(const _0x58a15b of _0x48ea0a[_0x24f2('0xda')]())_0x58a15b[_0x24f2('0xf8')]();});});}[_0x24f2('0x107')](_0xa5a271,_0xb8d8b9){const _0x1e7569=this['editor']['commands']['get'](_0xa5a271);if(!_0x1e7569)throw new _0x1937ba(_0x24f2('0x4c'),this,{'commandName':_0xa5a271});if(this[_0x24f2('0xe6')][_0x24f2('0x113')](_0x1e7569))throw new _0x1937ba(_0x24f2('0x135'),this,{'commandName':_0xa5a271});this['_enabledCommands'][_0x24f2('0x14')](_0x1e7569),_0xb8d8b9&&_0x1e7569['on']('execute',(_0x77b402,_0x34a9a4)=>{this[_0x24f2('0x10')]['value']&&(this[_0x24f2('0x142')]||(_0x34a9a4[_0x24f2('0xe8')]>0x0&&_0x34a9a4[_0x34a9a4[_0x24f2('0xe8')]-0x1]&&_0x34a9a4[_0x34a9a4[_0x24f2('0xe8')]-0x1]['forceDefaultExecution']?_0x34a9a4[_0x24f2('0xbc')]():(_0x77b402[_0x24f2('0x12d')]=_0xb8d8b9((..._0x882fef)=>_0x1e7569[_0x24f2('0x16')](..._0x882fef,{'forceDefaultExecution':!0x0}),..._0x34a9a4),_0x77b402[_0x24f2('0x12c')]())));},{'priority':'high'});}[_0x24f2('0xe9')](_0x165c2d){let _0x399299,_0x1d2878;const _0x3d0f19=this['_isForcedDefaultExecutionBlock'];this[_0x24f2('0x142')]=!0x0;try{_0x399299=_0x165c2d();}catch(_0x3bd8c4){_0x1d2878=_0x3bd8c4;}return _0x3d0f19||(this[_0x24f2('0x142')]=!0x1),_0x1d2878&&_0x1937ba[_0x24f2('0x3c')](_0x1d2878,this),_0x399299;}['markInsertion'](_0x504c6b,_0x51eb86=null,_0x298b0a={}){if(_0x504c6b['isCollapsed'])return null;const _0x4c62f9=this['editor'][_0x24f2('0x4a')]['get']('Users')['me'];for(const {suggestion:_0x38ce83,meta:_0x5ab8fb}of this[_0x24f2('0x3')](_0x504c6b,_0x24f2('0x94')))if(_0x5ab8fb[_0x24f2('0xd3')]){if(!_0x5ab8fb[_0x24f2('0x0')]){if(_0x5ab8fb[_0x24f2('0x7c')]){if(!this[_0x24f2('0x84')]||!Gt(_0x38ce83,_0x298b0a))continue;return _0x38ce83;}if(Gt(_0x38ce83,_0x298b0a))return _0x38ce83;this[_0x24f2('0xfe')](_0x38ce83,_0x504c6b['start'],_0x504c6b['end']);break;}if(_0x51eb86==_0x38ce83[_0x24f2('0x15')]&&Gt(_0x38ce83,_0x298b0a)){const _0x1f3333=_0x38ce83[_0x24f2('0x126')]();return _0x1f3333['start'][_0x24f2('0xba')](_0x504c6b['end'])?this['_setSuggestionRange'](_0x38ce83,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x504c6b['start'],_0x1f3333[_0x24f2('0x16d')])):this[_0x24f2('0x18')](_0x38ce83,this['_model'][_0x24f2('0x5d')](_0x1f3333['start'],_0x504c6b[_0x24f2('0x16d')])),_0x38ce83;}}const _0x5ee35b=_0x4f0f07(),_0x3af831=_0x4c62f9['id'],_0x41c16b=_0x51eb86?_0x24f2('0x23')+_0x51eb86:_0x24f2('0x94'),_0x1650f9=this[_0x24f2('0xee')]({'id':_0x5ee35b,'type':_0x41c16b,'createdAt':new Date(),'authorId':_0x3af831,'attributes':_0x298b0a});return this[_0x24f2('0x132')](_0x41c16b,_0x5ee35b,_0x3af831,_0x504c6b),_0x1650f9;}[_0x24f2('0x40')](_0x1bbaea,_0x1e1778='multi',_0x112a7d={}){const _0x5c46b5=this[_0x24f2('0x151')][_0x24f2('0x4a')]['get']('Users')['me'],_0x1f63c8=this[_0x24f2('0x75')][_0x24f2('0x156')](_0x24f2('0x94'),_0x1e1778,_0x24f2('0x17'));for(const _0x57ae87 of this[_0x24f2('0x120')]())if(_0x57ae87[_0x24f2('0x3d')]['id']==_0x5c46b5['id']&&_0x24f2('0x94')==_0x57ae87['type']&&_0x57ae87['subType']==_0x1e1778&&Gt(_0x57ae87,_0x112a7d)&&(_0x1f63c8(_0x57ae87[_0x24f2('0x137')](),_0x1bbaea)||_0x1f63c8(_0x1bbaea,_0x57ae87[_0x24f2('0x137')]()))){for(const _0x64460d of _0x1bbaea)_0x57ae87[_0x24f2('0xd1')](_0x64460d);return _0x57ae87;}for(const {suggestion:_0x1154fc,meta:_0x218d9f}of this[_0x24f2('0x3')](_0x1bbaea,_0x24f2('0x94'))){if(!_0x218d9f[_0x24f2('0xd3')])continue;if(!this[_0x24f2('0x84')]&&_0x218d9f[_0x24f2('0x7c')])continue;if(!Gt(_0x1154fc,_0x112a7d))continue;let _0xca75d5=!0x0;for(const _0x52759a of _0x1154fc[_0x24f2('0x137')]())for(const _0xabe3ee of _0x1bbaea)if(!_0x52759a[_0x24f2('0x114')](_0xabe3ee)){_0xca75d5=!0x1;break;}if(_0xca75d5)return _0x1154fc;}const _0x1e4d36=_0x4f0f07(),_0x27dbcc=_0x5c46b5['id'],_0x341ac0=_0x24f2('0x23')+_0x1e1778,_0x1c4340=this[_0x24f2('0xee')]({'id':_0x1e4d36,'type':_0x341ac0,'createdAt':new Date(),'authorId':_0x27dbcc,'attributes':_0x112a7d});for(const _0x22499f of _0x1bbaea)this[_0x24f2('0x132')](_0x341ac0,_0x1e4d36,_0x27dbcc,_0x22499f,_0x897dd2['getMultiRangeId']());return _0x1c4340;}[_0x24f2('0xe1')](_0x4494b1,_0x5ba860,_0x2d5ab0=null,_0x30fae9={}){if(_0x2d5ab0=_0x2d5ab0||Rt(_0x5ba860),_0x4494b1[_0x24f2('0x46')])return null;if(_0x24f2('0x14b')===this['_trackFormatChanges']){const _0x97d4c1=this[_0x24f2('0x75')][_0x24f2('0x156')]('formatInline',_0x2d5ab0,_0x24f2('0xdd'));return this['forceDefaultExecution'](()=>_0x97d4c1([_0x4494b1],_0x5ba860,_0x30fae9)),null;}const _0x569a33=this[_0x24f2('0x151')]['plugins'][_0x24f2('0xb2')](_0x24f2('0x91'))['me'],_0x36035c=[];if(_0x24f2('0xa2')!==this[_0x24f2('0x77')])for(const {suggestion:_0x2882a5,meta:_0xa8eaa6}of this['_findSuggestions'](_0x4494b1,_0x24f2('0x94')))_0xa8eaa6['isOwn']&&!_0xa8eaa6[_0x24f2('0x12f')]&&_0x36035c[_0x24f2('0x44')](..._0x2882a5[_0x24f2('0x137')]());const _0x48c65a=function(_0x2f3372,_0x504635){const _0x9e9888=[];for(const _0x2250fd of _0x504635){const _0x196d47=_0x2f3372[_0x24f2('0xbe')](_0x2250fd);_0x196d47&&_0x9e9888[_0x24f2('0x44')](_0x196d47);}return _0x9e9888;}(_0x4494b1,_0x36035c),_0x51898a=function(_0x41b2f5,_0x4f4366){const _0x1c2295=[_0x41b2f5];for(const _0x27c9e0 of _0x4f4366){let _0x2fcaf2=0x0;for(;_0x2fcaf2<_0x1c2295['length'];){const _0x25e99e=_0x1c2295[_0x2fcaf2][_0x24f2('0x1f')](_0x27c9e0);_0x1c2295['splice'](_0x2fcaf2,0x1,..._0x25e99e),_0x2fcaf2+=_0x25e99e[_0x24f2('0xe8')];}}return _0x1c2295;}(_0x4494b1,_0x36035c);_0x48c65a[_0x24f2('0xe8')]&&this[_0x24f2('0xa5')][_0x24f2('0x78')](()=>{for(const _0xdcba75 of _0x48c65a){const _0x1e7ca7=this['_suggestionFactory'][_0x24f2('0x156')](_0x24f2('0x11e'),_0x2d5ab0,_0x24f2('0xdd'));this['forceDefaultExecution'](()=>_0x1e7ca7([_0xdcba75],_0x5ba860,_0x30fae9));}});for(const _0x24f103 of _0x51898a){let _0x1bb5cc=null,_0xde2737=_0x24f103['start'],_0x26ebfc=_0x24f103['end'];for(const {suggestion:_0x2e13a5,meta:_0x50aaaa}of this['_findSuggestions'](_0x24f103,_0x24f2('0x11e'))){if(!_0x50aaaa[_0x24f2('0xd3')])continue;if(_0x2e13a5[_0x24f2('0x15')]!=_0x2d5ab0)continue;if(!Gt(_0x2e13a5,_0x30fae9))continue;const _0x24e485=_0x2e13a5[_0x24f2('0x126')]();if(_0x24e485[_0x24f2('0x114')](_0x24f103,!0x0))return null;_0xde2737=_0xde2737[_0x24f2('0xae')](_0x24e485[_0x24f2('0x83')])?_0xde2737:_0x24e485[_0x24f2('0x83')],_0x26ebfc=_0x26ebfc[_0x24f2('0x16c')](_0x24e485[_0x24f2('0x16d')])?_0x26ebfc:_0x24e485['end'],_0x1bb5cc?_0x24e485['start'][_0x24f2('0xae')](_0x1bb5cc[_0x24f2('0x126')]()['start'])?(_0x1bb5cc[_0x24f2('0x13a')](),_0x1bb5cc=_0x2e13a5):_0x2e13a5[_0x24f2('0x13a')]():_0x1bb5cc=_0x2e13a5;}const _0x20af0a=this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0xde2737,_0x26ebfc);if(_0x1bb5cc)this['_setSuggestionRange'](_0x1bb5cc,_0x20af0a);else{const _0x4cc525=_0x4f0f07(),_0x47e1e1=_0x569a33['id'];this[_0x24f2('0xee')]({'id':_0x4cc525,'type':_0x24f2('0x8b')+_0x2d5ab0,'data':_0x5ba860,'createdAt':new Date(),'authorId':_0x47e1e1,'attributes':_0x30fae9}),this[_0x24f2('0x132')]('formatInline:'+_0x2d5ab0,_0x4cc525,_0x47e1e1,_0x20af0a);}}return null;}['markBlockFormat'](_0x91b2b9,_0x21c697,_0x33768c=[],_0x2c565f=null,_0x102371={}){_0x21c697[_0x24f2('0xc9')]||(_0x21c697[_0x24f2('0xc9')]=_0x21c697['commandName']),_0x21c697['multipleBlocks']=_0x91b2b9['is']('range'),_0x2c565f=_0x2c565f||Rt(_0x21c697);const _0x231b83=_0x33768c[_0x24f2('0x2d')](_0xe3c181=>Ut(_0xe3c181,this['_model'])),_0x1ad07e=_0x91b2b9['is']('range')?_0x91b2b9:Ut(_0x91b2b9,this[_0x24f2('0xa5')]);if('never'===this[_0x24f2('0x77')]){const _0x773c73=this[_0x24f2('0x75')]['getSuggestionCallback'](_0x24f2('0x3f'),_0x2c565f,_0x24f2('0xdd'));return this[_0x24f2('0xe9')](()=>_0x773c73([_0x1ad07e],_0x21c697,_0x102371)),null;}_0x231b83['push'](_0x1ad07e);let _0x1c8335=!0x0;for(const _0x4c8f8c of _0x231b83)if(!this[_0x24f2('0x14a')](_0x4c8f8c)){_0x1c8335=!0x1;break;}if(_0x1c8335&&'always'!==this['_trackFormatChanges']){const _0x168c12=this[_0x24f2('0x75')][_0x24f2('0x156')](_0x24f2('0x3f'),_0x2c565f,'accept');return this[_0x24f2('0xe9')](()=>_0x168c12([_0x1ad07e],_0x21c697,_0x102371)),null;}let _0x1f9024=null,_0x5793dc=_0x1ad07e[_0x24f2('0x83')],_0x238642=_0x1ad07e[_0x24f2('0x16d')];for(const {suggestion:_0x41b517,meta:_0x1f62a8}of this[_0x24f2('0x3')](_0x1ad07e,_0x24f2('0x3f'))){if(!_0x1f62a8[_0x24f2('0xd3')])continue;if(_0x1f62a8[_0x24f2('0x0')]||_0x1f62a8[_0x24f2('0x7c')]||_0x1f62a8[_0x24f2('0x12f')])continue;if(_0x41b517[_0x24f2('0x3e')][_0x24f2('0xc9')]!=_0x21c697[_0x24f2('0xc9')])continue;if(!Gt(_0x41b517,_0x102371))continue;const _0xc9cc55=_0x41b517[_0x24f2('0x126')]();if(_0x41b517['subType']==_0x2c565f){if(_0xc9cc55['containsRange'](_0x1ad07e,!0x0))return null;_0x5793dc=_0x5793dc[_0x24f2('0xae')](_0xc9cc55[_0x24f2('0x83')])?_0x5793dc:_0xc9cc55['start'],_0x238642=_0x238642[_0x24f2('0x16c')](_0xc9cc55[_0x24f2('0x16d')])?_0x238642:_0xc9cc55[_0x24f2('0x16d')],_0x1f9024?_0xc9cc55[_0x24f2('0x83')][_0x24f2('0xae')](_0x1f9024[_0x24f2('0x126')]()[_0x24f2('0x83')])?(_0x1f9024[_0x24f2('0x13a')](),_0x1f9024=_0x41b517):_0x41b517[_0x24f2('0x13a')]():_0x1f9024=_0x41b517;}else{const _0x1319c8=_0x1ad07e[_0x24f2('0xbe')](_0xc9cc55);this[_0x24f2('0x134')](_0x41b517,_0x1319c8);}}const _0xc9b7b2=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x91'))['me'],_0x5c25db=_0x4f0f07(),_0x33e21e=_0xc9b7b2['id'];if(_0x1f9024)return this[_0x24f2('0x18')](_0x1f9024,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x5793dc,_0x238642)),_0x1f9024;{const _0x3636e5=this[_0x24f2('0xee')]({'id':_0x5c25db,'type':_0x24f2('0x16b')+_0x2c565f,'data':_0x21c697,'createdAt':new Date(),'authorId':_0x33e21e,'attributes':_0x102371});return this[_0x24f2('0x132')](_0x24f2('0x16b')+_0x2c565f,_0x5c25db,_0x33e21e,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x5793dc,_0x238642)),_0x3636e5;}}['markMultiRangeBlockFormat'](_0x21d96a,_0x38e2cd,_0x289ddc=[],_0x15f1a6=null,_0x1e894f={}){_0x38e2cd['formatGroupId']||(_0x38e2cd[_0x24f2('0xc9')]=_0x38e2cd[_0x24f2('0x95')]);const _0x20ea98=_0x21d96a[0x0];_0x38e2cd[_0x24f2('0xa7')]=_0x20ea98['is'](_0x24f2('0x53')),_0x15f1a6=_0x15f1a6||Rt(_0x38e2cd);const _0x275c9=_0x289ddc['map'](_0x47f531=>Ut(_0x47f531,this[_0x24f2('0xa5')])),_0x219d2c=_0x20ea98['is'](_0x24f2('0x53'))?_0x21d96a:_0x21d96a['map'](_0x320e95=>Ut(_0x320e95,this[_0x24f2('0xa5')]));if(_0x24f2('0x14b')===this[_0x24f2('0x77')]){const _0x1afa19=this[_0x24f2('0x75')]['getSuggestionCallback'](_0x24f2('0x3f'),_0x15f1a6,_0x24f2('0xdd'));return this[_0x24f2('0xe9')](()=>_0x1afa19(_0x219d2c,_0x38e2cd,_0x1e894f)),null;}_0x275c9['push'](..._0x219d2c);let _0x1abbad=!0x0;for(const _0x34f9cb of _0x275c9)if(!this[_0x24f2('0x14a')](_0x34f9cb)){_0x1abbad=!0x1;break;}if(_0x1abbad&&_0x24f2('0xa2')!==this[_0x24f2('0x77')]){const _0x58a514=this[_0x24f2('0x75')][_0x24f2('0x156')]('formatBlock',_0x15f1a6,'accept');return this[_0x24f2('0xe9')](()=>_0x58a514(_0x219d2c,_0x38e2cd,_0x1e894f)),null;}const _0x4c84db=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x91'))['me'];for(const _0x18a24a of this[_0x24f2('0x120')]()){if(_0x18a24a[_0x24f2('0x3d')]['id']!=_0x4c84db['id'])continue;if(_0x24f2('0x3f')!=_0x18a24a[_0x24f2('0x27')]||_0x18a24a[_0x24f2('0x3e')][_0x24f2('0xc9')]!=_0x38e2cd[_0x24f2('0xc9')])continue;if(!Gt(_0x18a24a,_0x1e894f))continue;const _0x4eb0fe=_0x18a24a['subType']==_0x15f1a6;for(let _0x1eb591=0x0;_0x1eb591<_0x219d2c['length'];_0x1eb591++){const _0x5cffe0=_0x219d2c[_0x1eb591];for(const _0x97cfe6 of _0x18a24a[_0x24f2('0x7b')]()){const _0x424be7=_0x97cfe6[_0x24f2('0xcf')]();if(_0x5cffe0[_0x24f2('0xba')](_0x424be7)){_0x4eb0fe?(_0x219d2c[_0x24f2('0x9d')](_0x1eb591,0x1),_0x1eb591--):_0x18a24a[_0x24f2('0x15c')](_0x97cfe6[_0x24f2('0xf9')]);break;}}}}if(0x0==_0x219d2c[_0x24f2('0xe8')])return null;const _0x4e1433=this[_0x24f2('0x75')]['getSuggestionCallback']('formatBlock',_0x15f1a6,_0x24f2('0x17'));for(const _0x4e4345 of this[_0x24f2('0x120')]())if(_0x4e4345[_0x24f2('0x3d')]['id']==_0x4c84db['id']&&_0x24f2('0x3f')==_0x4e4345['type']&&_0x4e4345[_0x24f2('0x3e')][_0x24f2('0xc9')]==_0x38e2cd[_0x24f2('0xc9')]&&_0x4e4345[_0x24f2('0x15')]==_0x15f1a6&&Gt(_0x4e4345,_0x1e894f)&&(_0x4e1433(_0x4e4345[_0x24f2('0x137')](),_0x219d2c)||_0x4e1433(_0x219d2c,_0x4e4345[_0x24f2('0x137')]()))){for(const _0x5eec84 of _0x219d2c)_0x4e4345[_0x24f2('0xd1')](_0x5eec84);return _0x4e4345;}const _0x1a8453=_0x4f0f07(),_0x48f5f8=_0x4c84db['id'],_0x183f6d=_0x24f2('0x16b')+_0x15f1a6,_0x140a63=this[_0x24f2('0xee')]({'id':_0x1a8453,'type':_0x183f6d,'data':_0x38e2cd,'createdAt':new Date(),'authorId':_0x48f5f8,'attributes':_0x1e894f});for(const _0xcbdec0 of _0x219d2c)this['_addSuggestionMarker'](_0x183f6d,_0x1a8453,_0x48f5f8,_0xcbdec0,_0x897dd2[_0x24f2('0xea')]());return _0x140a63;}[_0x24f2('0x9')](_0x195652,_0x8bcf47=null,_0x5bde1b={}){if(_0x195652[_0x24f2('0x46')])return null;const _0x180d35=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x91'))['me'],_0x474b44=new _0x353646(_0x195652[_0x24f2('0x83')],_0x195652['end']);for(const {suggestion:_0x47671c,meta:_0x4852fe}of this[_0x24f2('0x3')](_0x474b44,'insertion'))if(_0x4852fe[_0x24f2('0xd3')]&&!_0x4852fe[_0x24f2('0x0')]){if(_0x47671c['isMultiRange']){const _0x1fdfbb=_0x47671c[_0x24f2('0x137')]()[_0x24f2('0x159')](_0x5c5b80=>_0x24f2('0x90')!=_0x5c5b80['root'][_0x24f2('0x32')]);_0x1fdfbb[_0x24f2('0x9f')](_0xf4717=>_0x474b44[_0x24f2('0x114')](_0xf4717,!0x0))&&_0x47671c[_0x24f2('0xf8')]();if(_0x1fdfbb[_0x24f2('0x11')](_0x7b6d40=>_0x7b6d40[_0x24f2('0x114')](_0x474b44,!0x0))){const _0x12f513=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x8bcf47,_0x24f2('0xdd'));return this['forceDefaultExecution'](()=>_0x12f513([_0x474b44],null,_0x5bde1b)),null;}}else{const _0x266473=_0x474b44['getIntersection'](_0x47671c['getFirstRange']());null!==_0x266473&&_0x47671c['_onDiscard']([_0x266473],null,_0x5bde1b);}}if(_0x474b44['detach'](),_0x474b44[_0x24f2('0x46')]||'$graveyard'==_0x474b44[_0x24f2('0x2f')][_0x24f2('0x32')])return null;let _0x39a79d=null,_0x428752=_0x474b44[_0x24f2('0x83')],_0x258bb3=_0x474b44[_0x24f2('0x16d')];const _0xba9af1=this[_0x24f2('0x3')](_0x474b44,'deletion');for(const {suggestion:_0x29e544,meta:_0x40c8d2}of _0xba9af1){const _0x14ca5f=this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x428752,_0x258bb3);if(_0x40c8d2[_0x24f2('0xd3')]&&(this['_mergeNestedSuggestions']||!_0x40c8d2[_0x24f2('0x7c')]&&!_0x40c8d2[_0x24f2('0x12f')])){if(_0x29e544[_0x24f2('0x2')]){if(!Gt(_0x29e544,_0x5bde1b))continue;let _0x1f5685=!0x0;for(const _0x928770 of _0x29e544[_0x24f2('0x137')]()){if(_0x928770[_0x24f2('0x114')](_0x14ca5f,!0x0))return _0x29e544;_0x14ca5f[_0x24f2('0x114')](_0x928770)||(_0x1f5685=!0x1);}_0x1f5685&&_0x29e544[_0x24f2('0xf8')]();}else{const _0x106dd4=_0x29e544[_0x24f2('0x126')]();if(_0x106dd4[_0x24f2('0x114')](_0x14ca5f,!0x0))return _0x29e544;if(!Gt(_0x29e544,_0x5bde1b)){_0x14ca5f[_0x24f2('0x114')](_0x106dd4)?_0x29e544[_0x24f2('0x13a')]():_0x106dd4[_0x24f2('0xdc')](_0x428752)?_0x428752=_0x106dd4[_0x24f2('0x16d')]:_0x106dd4['containsPosition'](_0x258bb3)&&(_0x258bb3=_0x106dd4['start']);continue;}_0x428752=_0x428752[_0x24f2('0xae')](_0x106dd4[_0x24f2('0x83')])?_0x428752:_0x106dd4[_0x24f2('0x83')],_0x258bb3=_0x258bb3[_0x24f2('0x16c')](_0x106dd4[_0x24f2('0x16d')])?_0x258bb3:_0x106dd4['end'],_0x5bde1b=Object[_0x24f2('0x165')]({},_0x29e544['attributes']),_0x39a79d?_0x106dd4[_0x24f2('0x83')][_0x24f2('0xae')](_0x39a79d['getFirstRange']()[_0x24f2('0x83')])?(_0x39a79d[_0x24f2('0x13a')](),_0x39a79d=_0x29e544):_0x29e544[_0x24f2('0x13a')]():_0x39a79d=_0x29e544;}}}if(_0x39a79d)return this['_setSuggestionRange'](_0x39a79d,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x428752,_0x258bb3)),_0x39a79d;{const _0x3b98cd=_0x4f0f07(),_0x36e1b5=this['_model']['createRange'](_0x428752,_0x258bb3),_0x496d25=_0x180d35['id'],_0x2ed416=_0x8bcf47?_0x24f2('0x5f')+_0x8bcf47:'deletion',_0x207d06=this['_setSuggestionData']({'id':_0x3b98cd,'type':_0x2ed416,'createdAt':new Date(),'authorId':_0x496d25,'attributes':_0x5bde1b});return this[_0x24f2('0x132')](_0x2ed416,_0x3b98cd,_0x496d25,_0x36e1b5),_0x207d06;}}[_0x24f2('0xd2')](_0x5de69b,_0x1c9bc1=_0x24f2('0xeb'),_0x6519ff={}){const _0x9c248a=this['editor'][_0x24f2('0x4a')][_0x24f2('0xb2')]('Users')['me'],_0x5924ae=_0x5de69b[_0x24f2('0x2d')](_0x41e904=>new _0x353646(_0x41e904[_0x24f2('0x83')],_0x41e904[_0x24f2('0x16d')])),_0x49d57c=new Set();for(const {suggestion:_0x478159,meta:_0x346e01}of this[_0x24f2('0x3')](_0x5924ae,'insertion'))_0x346e01[_0x24f2('0xd3')]&&!_0x346e01[_0x24f2('0x0')]&&_0x49d57c[_0x24f2('0x14')](_0x478159);for(const _0x1d81ac of _0x49d57c)if(_0x1d81ac['isMultiRange']){const _0x52a01f=_0x1d81ac['getRanges']();(!_0x1d81ac[_0x24f2('0x149')]||!_0x1d81ac[_0x24f2('0x149')][_0x24f2('0x8c')])&&(_0x52a01f[_0x24f2('0x9f')](_0x39828a=>_0x5924ae[_0x24f2('0x11')](_0x32e76c=>_0x32e76c['containsRange'](_0x39828a,!0x0)))&&_0x1d81ac[_0x24f2('0xf8')]());if(_0x5924ae[_0x24f2('0x9f')](_0x26dfd6=>_0x52a01f[_0x24f2('0x11')](_0x4aa55b=>_0x4aa55b['containsRange'](_0x26dfd6,!0x0)))){const _0x19f20b=this[_0x24f2('0x75')][_0x24f2('0x156')](_0x24f2('0xa8'),_0x1c9bc1,_0x24f2('0xdd'));return this[_0x24f2('0xe9')](()=>_0x19f20b(_0x5de69b,null,_0x6519ff)),null;}}else{const _0x664a06=_0x1d81ac[_0x24f2('0x126')]();_0x5924ae[_0x24f2('0x11')](_0x43f332=>_0x43f332[_0x24f2('0x114')](_0x664a06,!0x0))&&_0x1d81ac['discard']();if(_0x5924ae[_0x24f2('0x9f')](_0x19a314=>_0x664a06[_0x24f2('0x114')](_0x19a314,!0x0))){const _0x35d387=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1c9bc1,_0x24f2('0xdd'));return this[_0x24f2('0xe9')](()=>_0x35d387(_0x5924ae,null,_0x6519ff)),null;}}const _0x570714=this[_0x24f2('0x75')][_0x24f2('0x156')](_0x24f2('0xa8'),_0x1c9bc1,'join');let _0x4f6fae=null;for(const _0x21f223 of this['getSuggestions']())if(_0x21f223['author']['id']==_0x9c248a['id']&&_0x21f223[_0x24f2('0x161')]&&_0x24f2('0xa8')==_0x21f223['type']&&_0x21f223['subType']==_0x1c9bc1&&Gt(_0x21f223,_0x6519ff)&&(_0x570714(_0x21f223[_0x24f2('0x137')](),_0x5924ae)||_0x570714(_0x5924ae,_0x21f223[_0x24f2('0x137')]()))){if(_0x4f6fae){if(_0x21f223[_0x24f2('0x10c')]&&_0x21f223[_0x24f2('0x10c')][_0x24f2('0xe8')])continue;for(const _0x28d997 of _0x21f223['getRanges']())_0x4f6fae['isIntersectingWithRange'](_0x28d997)||_0x4f6fae[_0x24f2('0xd1')](_0x28d997);_0x21f223[_0x24f2('0x13a')]();}else{_0x4f6fae=_0x21f223;for(const _0x19c987 of _0x5924ae)_0x21f223['isIntersectingWithRange'](_0x19c987)||_0x21f223[_0x24f2('0xd1')](_0x19c987);}}if(_0x4f6fae)return _0x4f6fae;_0x49d57c[_0x24f2('0x174')]();for(const {suggestion:_0x4051f7,meta:_0x10dfae}of this[_0x24f2('0x3')](_0x5924ae,'deletion'))_0x10dfae[_0x24f2('0xd3')]&&(this[_0x24f2('0x84')]||!_0x10dfae[_0x24f2('0x7c')]&&!_0x10dfae[_0x24f2('0x12f')])&&Gt(_0x4051f7,_0x6519ff)&&_0x49d57c[_0x24f2('0x14')](_0x4051f7);for(const _0x4c863b of _0x49d57c){const _0x3f605e=_0x4c863b['getRanges']();if(!_0x6519ff||!_0x6519ff[_0x24f2('0x8c')]){if(_0x5924ae[_0x24f2('0x9f')](_0x3a9d06=>_0x3f605e[_0x24f2('0x11')](_0x41235f=>_0x41235f['containsRange'](_0x3a9d06,!0x0))))return _0x4c863b;}(!_0x4c863b[_0x24f2('0x149')]||!_0x4c863b[_0x24f2('0x149')][_0x24f2('0x8c')])&&(_0x3f605e[_0x24f2('0x9f')](_0x232ce1=>_0x5924ae[_0x24f2('0x11')](_0x1e69ee=>_0x1e69ee[_0x24f2('0x114')](_0x232ce1,!0x0)))&&_0x4c863b[_0x24f2('0xf8')]());}const _0x6b2713=_0x4f0f07(),_0x1510c0=_0x9c248a['id'],_0x2a6f49=_0x24f2('0x5f')+_0x1c9bc1,_0x22f30c=this[_0x24f2('0xee')]({'id':_0x6b2713,'type':_0x2a6f49,'createdAt':new Date(),'authorId':_0x1510c0,'attributes':_0x6519ff});for(const _0x5086d4 of _0x5924ae)_0x5086d4[_0x24f2('0x4')](),_0x5086d4[_0x24f2('0x46')]||_0x24f2('0x90')==_0x5086d4[_0x24f2('0x2f')][_0x24f2('0x32')]||this[_0x24f2('0x132')](_0x2a6f49,_0x6b2713,_0x1510c0,_0x5086d4,_0x897dd2[_0x24f2('0xea')]());return _0x22f30c;}[_0x24f2('0xbd')](_0x35c10e,_0x205eb4,_0x1c7f4a,_0x74909d,_0x248fc8){if(_0x35c10e[_0x24f2('0x46')])return[];if('never'===this[_0x24f2('0x77')])return[];const _0x2de5d4=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x91'))['me']['id'],_0x18b5ff=Array[_0x24f2('0x51')](this[_0x24f2('0xa4')][_0x24f2('0x16f')]())[_0x24f2('0x159')](_0x47d435=>_0x24f2('0x2e')==_0x47d435[_0x24f2('0x27')]&&_0x47d435['data'][_0x24f2('0x72')]==_0x205eb4&&_0x47d435['isIntersectingWithRange'](_0x35c10e));if('default'===this[_0x24f2('0x77')]){const _0xb1e44b=this[_0x24f2('0x3')](_0x35c10e,_0x24f2('0x94'))[_0x24f2('0x159')](({meta:_0x45263e})=>_0x45263e[_0x24f2('0xd3')]&&!_0x45263e[_0x24f2('0x12f')]&&!_0x45263e[_0x24f2('0x0')])[_0x24f2('0x2d')](({suggestion:_0x160bb6})=>_0x160bb6);_0x18b5ff[_0x24f2('0x33')](..._0xb1e44b);}const _0x1a07ff=new Map([[_0x35c10e,_0x1c7f4a]]);for(const _0x2f789a of _0x18b5ff){const _0x261ad1=_0x24f2('0x2e')==_0x2f789a[_0x24f2('0x27')]?_0x2f789a[_0x24f2('0x3e')]['oldValue']:void 0x0,_0xa49337=_0x2f789a['getFirstRange'](),_0x269d95=Array[_0x24f2('0x51')](_0x1a07ff[_0x24f2('0x4e')]())[_0x24f2('0x128')](_0x47a609=>_0x47a609[_0x24f2('0x16e')](_0xa49337));if(!_0x269d95)continue;const _0x313224=_0x269d95[_0x24f2('0x1f')](_0xa49337);this[_0x24f2('0x13d')](_0x205eb4)&&'insertion'==_0x2f789a['type']&&0x0!=_0x313224[_0x24f2('0xe8')]||(_0x1a07ff[_0x24f2('0x36')](_0x269d95),_0x313224[_0x24f2('0x177')](_0xb54925=>{_0x1a07ff['set'](_0xb54925,_0x1c7f4a);}),_0x24f2('0x94')!=_0x2f789a[_0x24f2('0x27')]&&_0x261ad1!=_0x74909d&&_0x1a07ff[_0x24f2('0x13')](_0x269d95['getIntersection'](_0xa49337),_0x261ad1));}const _0x1eb0fa=[];for(const [_0x41e2d5,_0x10fd87]of _0x1a07ff){const _0x75e3f2=_0x4f0f07(),_0x434de8={'key':_0x205eb4,'oldValue':_0x10fd87,'newValue':_0x74909d};_0x205eb4['length']>0x25&&console['warn'](_0x24f2('0x179'),{'key':_0x205eb4});const _0x325677=('attribute:'+(_0x205eb4+'|'+Rt({'newValue':_0x74909d})))[_0x24f2('0xc5')](0x0,0x3c),_0x5cd322=this['_setSuggestionData']({'id':_0x75e3f2,'type':_0x325677,'data':_0x434de8,'createdAt':new Date(),'authorId':_0x2de5d4,'attributes':_0x248fc8});_0x1eb0fa['push'](_0x5cd322),this['_addSuggestionMarker'](_0x325677,_0x75e3f2,_0x2de5d4,_0x41e2d5);}return _0x1eb0fa;}[_0x24f2('0x12e')](_0x5c3f09){this[_0x24f2('0x8f')][_0x24f2('0x14')](_0x5c3f09);}['_registerInlineAttribute'](_0x5c1133){this[_0x24f2('0x45')][_0x24f2('0x14')](_0x5c1133);}[_0x24f2('0xde')](_0x3552f7,_0x11c292=[],_0x342d49=[]){this[_0x24f2('0x107')](_0x3552f7,(_0x583f9a,..._0x208fe9)=>{this['_recordAttributeChanges'](()=>{_0x583f9a(..._0x208fe9);});});for(const _0x5c7efb of _0x11c292)this[_0x24f2('0x37')](_0x5c7efb);for(const _0x2e5aeb of _0x342d49)this[_0x24f2('0x12e')](_0x2e5aeb);}[_0x24f2('0x18')](_0x2440be,_0x56a49d){const _0x19efb5=_0x2440be[_0x24f2('0x11a')]();this[_0x24f2('0xa5')][_0x24f2('0x78')](_0x2e6b3f=>{_0x2e6b3f['updateMarker'](_0x19efb5,{'range':_0x56a49d});});}['_addThreadToSuggestion'](_0x1110d2){const _0x36a563=_0x1110d2['id'],_0x415e96=this[_0x24f2('0x151')][_0x24f2('0x173')]['get'](_0x24f2('0xf6'));this['_commentsRepository'][_0x24f2('0x109')](_0x36a563)||this[_0x24f2('0x9c')][_0x24f2('0x1e')]({'channelId':_0x415e96,'threadId':_0x36a563,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x482ac5=this[_0x24f2('0x9c')]['getCommentThread'](_0x36a563);_0x482ac5['unbind']('isRemovable'),_0x482ac5[_0x24f2('0x57')]=!0x1,_0x1110d2[_0x24f2('0x10c')]=_0x482ac5;}[_0x24f2('0xf1')](_0x577a07,_0x33d7af,_0x12e158,_0xb2f6fd){if(_0x577a07[_0x24f2('0x27')]!=_0x33d7af||_0x577a07[_0x24f2('0x15')]!=_0x12e158||_0x577a07[_0x24f2('0x64')]['id']!=_0xb2f6fd)throw this[_0x24f2('0x151')][_0x24f2('0xad')]('track-changes-suggestion-data-mismatch'),new _0x1937ba(_0x24f2('0x118'),this);}[_0x24f2('0x134')](_0x45dd5b,_0x766a8e){const _0xfa70a0=_0x45dd5b[_0x24f2('0x126')]();if(_0x766a8e['isEqual'](_0xfa70a0))_0x45dd5b['removeMarkers']();else{if(_0xfa70a0[_0x24f2('0x114')](_0x766a8e)){const _0x5da62c=this['_model'][_0x24f2('0x79')](_0x766a8e[_0x24f2('0x83')][_0x24f2('0x9a')],'end');this['_setSuggestionRange'](_0x45dd5b,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0xfa70a0['start'],_0x5da62c));const _0xf2493c=_0x4f0f07(),_0x531d0c=_0x45dd5b[_0x24f2('0x64')]['id'],_0x44a802=_0x45dd5b[_0x24f2('0x27')]+':'+_0x45dd5b[_0x24f2('0x15')];this['_setSuggestionData']({'id':_0xf2493c,'type':_0x44a802,'createdAt':new Date(),'authorId':_0x531d0c,'data':_0x45dd5b[_0x24f2('0x3e')],'attributes':_0x45dd5b[_0x24f2('0x149')]});const _0xc34d00=this[_0x24f2('0xa5')]['createPositionAt'](_0x766a8e[_0x24f2('0x16d')][_0x24f2('0x112')],_0x24f2('0x102')),_0x1d4eae=this['_model']['createRange'](_0xc34d00,_0xfa70a0[_0x24f2('0x16d')]);this[_0x24f2('0x132')](_0x44a802,_0xf2493c,_0x531d0c,_0x1d4eae);}else{if(_0xfa70a0[_0x24f2('0xdc')](_0x766a8e[_0x24f2('0x83')])){const _0xd2928b=this['_model']['createPositionAt'](_0x766a8e['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x45dd5b,this['_model'][_0x24f2('0x5d')](_0xfa70a0[_0x24f2('0x83')],_0xd2928b));}else{const _0x7ad4ce=this['_model'][_0x24f2('0x79')](_0x766a8e['end'][_0x24f2('0x112')],_0x24f2('0x102'));this['_setSuggestionRange'](_0x45dd5b,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x7ad4ce,_0xfa70a0['end']));}}}}[_0x24f2('0x14a')](_0x1f8ca8){for(const {suggestion:_0x3ee735,meta:_0x207b0d}of this[_0x24f2('0x3')](_0x1f8ca8,_0x24f2('0x94'))){if(!_0x207b0d[_0x24f2('0xd3')])continue;const _0x333888=_0x3ee735['getRanges']();for(const _0x4dd76d of _0x333888)if(!_0x1f8ca8['getDifference'](_0x4dd76d)['length'])return!0x0;}return!0x1;}[_0x24f2('0x5e')](_0x11684e){const _0x2f1700=this['editor'][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x91'))[_0x24f2('0x167')](_0x11684e);if(!_0x2f1700)throw new _0x1937ba(_0x24f2('0x7a'),this);return _0x2f1700;}[_0x24f2('0x175')](_0x52fa40){const _0x56dcab=this[_0x24f2('0x151')]['plugins']['get'](_0x24f2('0x91')),_0x2b9f60=_0x232543('external:'+_0x52fa40),_0xcc6728=_0x56dcab[_0x24f2('0x167')](_0x2b9f60);return _0xcc6728||_0x56dcab['addUser']({'id':_0x2b9f60,'name':_0x52fa40});}['_createSuggestion'](_0x228ce8,_0x96d104,_0x310935,_0x2cb6af,_0x5c66b8){const _0x388c56=this[_0x24f2('0x5e')](_0x2cb6af),_0xc183dd=this[_0x24f2('0x75')][_0x24f2('0x110')](_0x228ce8,_0x96d104,_0x310935,_0x388c56,_0x5c66b8,_0x1959eb=>this[_0x24f2('0x5b')](_0x310935,{'attributes':_0x1959eb}));return this[_0x24f2('0x74')](_0xc183dd,_0x24f2('0xdd'),()=>{this[_0x24f2('0x5b')](_0x310935,{'state':_0x24f2('0xef')});},{'priority':_0x24f2('0x8a')}),this[_0x24f2('0x74')](_0xc183dd,_0x24f2('0xf8'),()=>{this[_0x24f2('0x5b')](_0x310935,{'state':_0x24f2('0xd8')});},{'priority':_0x24f2('0x8a')}),this[_0x24f2('0xa4')]['set'](_0x310935,_0xc183dd),this[_0x24f2('0xcc')][_0x24f2('0x13')](_0xc183dd,'notReady'),_0xc183dd;}[_0x24f2('0xe7')](_0x2c26f3){const _0x33d50f=_0x2c26f3[_0x24f2('0x111')](':');return{'group':_0x33d50f[0x0],'type':_0x33d50f[0x1],'subType':_0x33d50f['length']>=0x5?_0x33d50f[0x2]:null,'id':_0x33d50f[_0x24f2('0xe8')]<0x5?_0x33d50f[0x2]:_0x33d50f[0x3],'authorId':_0x33d50f[_0x24f2('0xe8')]<0x5?_0x33d50f[0x3]:_0x33d50f[0x4],'markerCount':0x6==_0x33d50f[_0x24f2('0xe8')]?_0x33d50f[0x5]:null};}[_0x24f2('0xfe')](_0x1d441b,_0x39aae7,_0x10a6a7){const _0x552a20=_0x1d441b[_0x24f2('0x126')](),_0x2e8a21=_0x552a20[_0x24f2('0x83')],_0xe85e56=_0x552a20[_0x24f2('0x16d')];this[_0x24f2('0x18')](_0x1d441b,this['_model'][_0x24f2('0x5d')](_0x2e8a21,_0x39aae7));const _0x777bf8=_0x4f0f07(),_0x2a32a1=_0x1d441b['creator']['id'],_0x19de86=_0x1d441b[_0x24f2('0x27')]+(_0x1d441b['subType']?':'+_0x1d441b[_0x24f2('0x15')]:'');this[_0x24f2('0xee')]({'id':_0x777bf8,'type':_0x19de86,'createdAt':new Date(),'authorId':_0x2a32a1,'originalSuggestionId':_0x1d441b['id'],'attributes':_0x1d441b['attributes'],'data':_0x1d441b[_0x24f2('0x3e')]});const _0x6e6b54=Pt(_0x1d441b);(_0x24f2('0x3f')==_0x1d441b[_0x24f2('0x27')]||_0x6e6b54&&this[_0x24f2('0x13d')](_0x6e6b54))&&(_0x10a6a7=this[_0x24f2('0xa5')][_0x24f2('0x93')](_0x10a6a7[_0x24f2('0x112')])),this['_addSuggestionMarker'](_0x19de86,_0x777bf8,_0x2a32a1,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x10a6a7,_0xe85e56));}[_0x24f2('0x3')](_0x2e731a,_0x2e99fb=null){const _0x58f65f=[],_0x5a7f5e=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x91'))['me'];Array['isArray'](_0x2e731a)||(_0x2e731a=[_0x2e731a]);for(const _0x567d40 of this[_0x24f2('0x120')]()){if(!_0x567d40[_0x24f2('0x161')])continue;if(_0x2e99fb&&_0x567d40[_0x24f2('0x27')]!=_0x2e99fb)continue;let _0x13b940=!0x1;for(const _0x158bca of _0x567d40[_0x24f2('0x137')]()){for(const _0x3dce3e of _0x2e731a){const _0x3ed8b4=_0x3dce3e[_0x24f2('0x83')][_0x24f2('0xba')](_0x158bca['end'])||_0x3dce3e[_0x24f2('0x16d')]['isEqual'](_0x158bca[_0x24f2('0x83')]);if(_0x3ed8b4||_0x3dce3e[_0x24f2('0xbe')](_0x158bca)){const _0x176450=_0x3dce3e['containsRange'](_0x158bca)&&Tt(this['_model'][_0x24f2('0x10b')],_0x158bca[_0x24f2('0x83')],_0x3dce3e),_0x23e0cd=_0x158bca['containsRange'](_0x3dce3e)&&Tt(this[_0x24f2('0xa5')][_0x24f2('0x10b')],_0x3dce3e[_0x24f2('0x83')],_0x158bca);_0x58f65f[_0x24f2('0x44')]({'suggestion':_0x567d40,'meta':{'isOwn':_0x5a7f5e==_0x567d40['author'],'isNextTo':_0x3ed8b4,'isInsideObject':_0x176450,'containsRangeInObject':_0x23e0cd}}),_0x13b940=!0x0;break;}}if(_0x13b940)break;}}return _0x58f65f;}[_0x24f2('0x132')](_0x7be702,_0x203c3c,_0x12fb90,_0x21c416,_0x8c8207){this['_model'][_0x24f2('0x78')](_0x8ec817=>{let _0x4d4e55=_0x24f2('0xca')+_0x7be702+':'+_0x203c3c+':'+_0x12fb90;_0x8c8207&&(_0x4d4e55=_0x4d4e55+':'+_0x8c8207),_0x8ec817[_0x24f2('0x10d')](_0x4d4e55,{'range':_0x21c416,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x24f2('0xe4')](_0x227a13){const _0x45a5c7=_0x227a13[_0x24f2('0xfd')],_0x388c9b=_0x227a13[_0x24f2('0x81')];_0x227a13[_0x24f2('0xfd')]=null,_0x227a13['next']=null,null!=_0x45a5c7&&(_0x45a5c7['next']=_0x388c9b),null!=_0x388c9b&&(_0x388c9b[_0x24f2('0xfd')]=_0x45a5c7),_0x24f2('0xfc')==this[_0x24f2('0xcc')][_0x24f2('0xb2')](_0x227a13)&&(this[_0x24f2('0xcc')]['set'](_0x227a13,_0x24f2('0x15e')),this[_0x24f2('0x100')]('suggestionUnloaded',_0x227a13,_0x45a5c7,_0x388c9b));}[_0x24f2('0xee')](_0x49fe40){const _0x31d57a=_0x49fe40['id'],_0x18cec7=this[_0x24f2('0xdf')](_0x49fe40);if(this[_0x24f2('0x147')]&&this['_adapter'][_0x24f2('0xd7')]){const _0x45d842=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x116')),_0x559aa5=_0x18cec7[_0x24f2('0x31')],_0x1fc9a1=_0x18cec7[_0x24f2('0x15')]?_0x18cec7[_0x24f2('0x27')]+':'+_0x18cec7[_0x24f2('0x15')]:_0x18cec7[_0x24f2('0x27')],_0x3725c7=this[_0x24f2('0x151')]['locale'],_0x5100ca=_0x45d842[_0x24f2('0x14')](_0x46785b(_0x3725c7,_0x24f2('0xac'))),_0x19f3ba={'id':_0x31d57a,'type':_0x1fc9a1,'hasComments':_0x559aa5,'data':_0x49fe40[_0x24f2('0x3e')]||null,'originalSuggestionId':_0x49fe40[_0x24f2('0xe0')]||null,'attributes':_0x18cec7[_0x24f2('0x149')]};this['_adapter'][_0x24f2('0xd7')](_0x19f3ba)[_0x24f2('0x171')](_0x2ada96=>{_0x18cec7[_0x24f2('0xa')]=!0x0,_0x45d842[_0x24f2('0x87')](_0x5100ca),_0x2ada96&&_0x2ada96[_0x24f2('0x115')]&&(this[_0x24f2('0xa4')]['get'](_0x31d57a)[_0x24f2('0x115')]=_0x2ada96[_0x24f2('0x115')]);})['catch'](_0x35aacd=>{throw _0x40d91e(_0x24f2('0x97')),this['editor'][_0x24f2('0x48')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x18cec7[_0x24f2('0xf8')]();}),_0x18cec7[_0x24f2('0x12')](),this['_suggestions'][_0x24f2('0x36')](_0x18cec7['id']),this[_0x24f2('0xcc')][_0x24f2('0x36')](_0x18cec7),_0x35aacd;});}return _0x18cec7;}[_0x24f2('0x13d')](_0x1253da){return this['_blockAttributeKeys'][_0x24f2('0x113')](_0x1253da);}[_0x24f2('0x5b')](_0x59508b,_0x427f0a){const _0xe629f4=this[_0x24f2('0x151')][_0x24f2('0x4a')][_0x24f2('0xb2')](_0x24f2('0x116')),_0x4bea3a=this['getSuggestion'](_0x59508b);if(this[_0x24f2('0x147')]&&this['_adapter'][_0x24f2('0xcd')]){if(_0x4bea3a[_0x24f2('0xa')]){const _0xb6521b=_0xe629f4['add'](_0x46785b(this['editor'][_0x24f2('0x5')],_0x24f2('0xac')));this[_0x24f2('0x147')][_0x24f2('0xcd')](_0x59508b,_0x427f0a)[_0x24f2('0x171')](()=>{_0xe629f4['remove'](_0xb6521b);});}else _0x4bea3a['on']('change:_saved',()=>{this[_0x24f2('0x5b')](_0x59508b,_0x427f0a);});}}[_0x24f2('0xc4')](_0x5466b3){if(!this[_0x24f2('0x147')]||!this[_0x24f2('0x147')][_0x24f2('0x169')])throw new _0x1937ba(_0x24f2('0x41'),this);return this[_0x24f2('0x147')][_0x24f2('0x169')](_0x5466b3);}[_0x24f2('0x61')](_0x5013eb){const {id:_0x9646f1,type:_0x4f25d8,subType:_0x514a8e,authorId:_0x4f1257}=this[_0x24f2('0xe7')](_0x5013eb),_0xfa5953=this[_0x24f2('0xa4')]['get'](_0x9646f1)||this[_0x24f2('0xc8')](_0x4f25d8,_0x514a8e,_0x9646f1,_0x4f1257,{});switch(this[_0x24f2('0xf1')](_0xfa5953,_0x4f25d8,_0x514a8e,_0x4f1257),this[_0x24f2('0xcc')][_0x24f2('0xb2')](_0xfa5953)){case _0x24f2('0x19'):this[_0x24f2('0xc4')](_0x9646f1)['then'](_0x57829=>{let _0x240069=Promise['resolve']();_0x57829[_0x24f2('0x31')]&&(_0x240069=this['_commentsRepository'][_0x24f2('0x7e')]({'channelId':this[_0x24f2('0x151')][_0x24f2('0x173')]['get'](_0x24f2('0xf6')),'threadId':_0x9646f1})),_0x240069[_0x24f2('0x171')](()=>{this[_0x24f2('0xdf')](_0x57829)[_0x24f2('0xa')]=!0x0;});}),this[_0x24f2('0xcc')][_0x24f2('0x13')](_0xfa5953,_0x24f2('0x129'));break;case _0x24f2('0x15e'):this[_0x24f2('0x5b')](_0x9646f1,{'state':'open'});case _0x24f2('0x136'):this[_0x24f2('0xcc')]['set'](_0xfa5953,_0x24f2('0xfc')),this[_0x24f2('0x100')](_0x24f2('0x13f'),_0xfa5953);break;case _0x24f2('0xfc'):this[_0x24f2('0x100')](_0x24f2('0xa6'),_0xfa5953);}return _0xfa5953[_0x24f2('0x153')](_0x5013eb),_0xfa5953;}[_0x24f2('0x15a')](_0xe0c8fd){const _0x33e2ac=Array[_0x24f2('0x51')](_0xe0c8fd),_0x26fc4f=_0x33e2ac['filter'](_0x30fa21=>'attribute'==_0x30fa21[_0x24f2('0x27')]);this[_0x24f2('0xce')](_0x26fc4f);const _0x421424=_0x33e2ac['filter'](_0x4627=>!_0x4627[_0x24f2('0x2')]&&_0x24f2('0x2e')!=_0x4627[_0x24f2('0x27')]),_0x56edaa=this[_0x24f2('0x120')]({'skipNotAttached':!0x0})['filter'](_0x81fc69=>!_0x81fc69[_0x24f2('0x2')]&&_0x24f2('0x2e')!=_0x81fc69[_0x24f2('0x27')]),_0x565abd=_0x56edaa[_0x24f2('0x159')](_0x278ba6=>!_0xe0c8fd[_0x24f2('0x113')](_0x278ba6)),_0x15dc01=new Map(_0x56edaa['map'](_0x133f46=>[_0x133f46,this[_0x24f2('0x75')]['getSuggestionCallback'](_0x133f46[_0x24f2('0x27')],_0x133f46['subType'],_0x24f2('0x124'))])),_0x2b3adf=new Map(_0x56edaa[_0x24f2('0x2d')](_0x87d50f=>[_0x87d50f,_0x87d50f[_0x24f2('0x126')]()])),_0x35806f=new Set(),_0x11f1b3=new Set();for(let _0x135a42=0x0;_0x135a42<_0x421424['length'];_0x135a42++)_0xee1b33(_0x421424[_0x135a42],_0x421424,_0x135a42+0x1);for(let _0x1377f7=0x0;_0x1377f7<_0x421424[_0x24f2('0xe8')];_0x1377f7++)_0xee1b33(_0x421424[_0x1377f7],_0x565abd,0x0);const _0x3937db=new Set();for(let _0x36770d=0x0;_0x36770d<_0x421424[_0x24f2('0xe8')];_0x36770d++){const _0x2629cd=_0x421424[_0x36770d];!_0x11f1b3[_0x24f2('0x113')](_0x2629cd)&&_0x2629cd[_0x24f2('0xfd')]&&(_0x3937db['add'](_0x2629cd[_0x24f2('0xfd')]),_0x2629cd['previous']['next']===_0x2629cd&&(_0x2629cd['previous']['next']=null),_0x2629cd[_0x24f2('0xfd')]=null),!_0x35806f[_0x24f2('0x113')](_0x2629cd)&&_0x2629cd[_0x24f2('0x81')]&&(_0x3937db['add'](_0x2629cd[_0x24f2('0x81')]),_0x2629cd['next'][_0x24f2('0xfd')]===_0x2629cd&&(_0x2629cd['next']['previous']=null),_0x2629cd['next']=null);}function _0xee1b33(_0x2ff590,_0x3b903f,_0x12a5f2){for(let _0x4ad2c0=_0x12a5f2;_0x4ad2c0<_0x3b903f[_0x24f2('0xe8')];_0x4ad2c0++){const _0x49f9ab=_0x3b3fe(_0x2ff590,_0x3b903f[_0x4ad2c0]);_0x49f9ab&&(_0x49f9ab[0x0]['next']=_0x49f9ab[0x1],_0x49f9ab[0x1][_0x24f2('0xfd')]=_0x49f9ab[0x0],_0x35806f['add'](_0x49f9ab[0x0]),_0x11f1b3[_0x24f2('0x14')](_0x49f9ab[0x1]));}}function _0x3b3fe(_0x2ae43d,_0x3fcc60){if(_0x2ae43d['author']['id']!==_0x3fcc60[_0x24f2('0x3d')]['id'])return null;const _0x4a3ddd=_0x15dc01[_0x24f2('0xb2')](_0x2ae43d)(_0x2ae43d,_0x3fcc60,_0x2b3adf[_0x24f2('0xb2')](_0x2ae43d),_0x2b3adf[_0x24f2('0xb2')](_0x3fcc60));if(!_0x4a3ddd)return null;return _0x15dc01[_0x24f2('0xb2')](_0x3fcc60)(_0x2ae43d,_0x3fcc60,_0x2b3adf[_0x24f2('0xb2')](_0x2ae43d),_0x2b3adf[_0x24f2('0xb2')](_0x3fcc60))?_0x4a3ddd[0x1][_0x24f2('0x10c')]&&_0x4a3ddd[0x1][_0x24f2('0x10c')][_0x24f2('0xe8')]?null:_0x4a3ddd:null;}_0x3937db['size']&&this[_0x24f2('0x15a')](_0x3937db);}['_refreshAttributeSuggestionsChain'](_0x390390){if(0x0==_0x390390[_0x24f2('0xe8')])return;const _0x538d0b=this[_0x24f2('0x120')]({'skipNotAttached':!0x0})[_0x24f2('0x159')](_0x463f7d=>_0x24f2('0x2e')==_0x463f7d['type']&&_0x463f7d[_0x24f2('0xb8')]),_0x187655=[],_0x54b602=new Map();for(const _0x3c3064 of _0x538d0b){const _0x29c91c=_0x232543(_0x3c3064[_0x24f2('0x149')]);_0x54b602[_0x24f2('0x113')](_0x29c91c)||(_0x54b602[_0x24f2('0x13')](_0x29c91c,_0x187655[_0x24f2('0xe8')]),_0x187655[_0x24f2('0x44')]([]));const _0x5e6b14=_0x54b602[_0x24f2('0xb2')](_0x29c91c);_0x187655[_0x5e6b14][_0x24f2('0x44')](_0x3c3064);}!function(){_0x187655[_0x24f2('0x157')]((_0xdac247,_0x59b765)=>{const _0x4871ef=_0xdac247[0x0][_0x24f2('0x115')],_0x121c35=_0x59b765[0x0][_0x24f2('0x115')];return _0x4871ef==_0x121c35?_0xdac247[0x0][_0x24f2('0x149')][_0x24f2('0x168')]<_0x59b765[0x0][_0x24f2('0x149')][_0x24f2('0x168')]?-0x1:0x1:_0x4871ef<_0x121c35?-0x1:0x1;});for(const _0x3938c6 of _0x187655)_0x3938c6[_0x24f2('0x157')]((_0x35a94c,_0x3f967e)=>_0x35a94c['id']<_0x3f967e['id']?-0x1:0x1);}();for(let _0x1f3e66=0x0;_0x1f3e66<_0x187655[_0x24f2('0xe8')];_0x1f3e66++){if(0x0==_0x187655[_0x1f3e66]['length'])continue;const _0x38d3f3=[];for(let _0x14edd7=_0x1f3e66+0x1;_0x14edd7<_0x187655[_0x24f2('0xe8')];_0x14edd7++)0x0!=_0x187655[_0x14edd7][_0x24f2('0xe8')]&&_0x1eaa84(_0x187655[_0x1f3e66],_0x187655[_0x14edd7])&&_0x38d3f3['push'](_0x14edd7);for(const _0x1c92cc of _0x38d3f3)_0x187655[_0x1f3e66]=_0x187655[_0x1f3e66][_0x24f2('0xb3')](_0x187655[_0x1c92cc]),_0x187655[_0x1c92cc]=[];}for(const _0x16187b of _0x187655)for(let _0x1e4b76=0x0;_0x1e4b76<_0x16187b[_0x24f2('0xe8')];_0x1e4b76++)_0x16187b[_0x1e4b76][_0x24f2('0x81')]=_0x16187b[_0x1e4b76+0x1]||null;for(const _0x47a8ce of _0x187655)for(let _0x3769e1=0x0;_0x3769e1<_0x47a8ce['length'];_0x3769e1++)_0x47a8ce[_0x3769e1]['previous']=_0x47a8ce[_0x3769e1-0x1]||null;function _0x1eaa84(_0x3fb731,_0x10327a){if(_0x3fb731[0x0]['author']!==_0x10327a[0x0][_0x24f2('0x3d')])return!0x1;if(!function(_0x3f83c2,_0x32baa0){if(!_0x3f83c2[_0x24f2('0x31')]&&!_0x32baa0['hasComments'])return!0x0;if(_0x3f83c2[_0x24f2('0x31')]&&_0x32baa0[_0x24f2('0x31')])return!0x1;if(_0x3f83c2[_0x24f2('0x31')]&&_0x32baa0['createdAt']<_0x3f83c2[_0x24f2('0x10c')][_0x24f2('0x3b')][_0x24f2('0xb2')](0x0)[_0x24f2('0x115')])return!0x0;if(_0x32baa0['hasComments']&&_0x3f83c2[_0x24f2('0x115')]<_0x32baa0[_0x24f2('0x10c')][_0x24f2('0x3b')][_0x24f2('0xb2')](0x0)[_0x24f2('0x115')])return!0x0;return!0x1;}(_0x3fb731[0x0],_0x10327a[0x0]))return!0x1;const _0xe2b539=_0x35f41d(_0x3fb731[0x0][_0x24f2('0x149')],_0x24f2('0x168')),_0x32ba32=_0x35f41d(_0x10327a[0x0]['attributes'],_0x24f2('0x168'));if(!_0x57a851(_0xe2b539,_0x32ba32))return!0x1;return!!_0x3fb731[_0x24f2('0x9f')](_0x3f703f=>_0x10327a['some'](_0x5ceb10=>_0x3f703f['getFirstRange']()['isEqual'](_0x5ceb10['getFirstRange']())))&&_0x10327a[_0x24f2('0x9f')](_0x3e1526=>_0x3fb731[_0x24f2('0x11')](_0x33d3c3=>_0x3e1526['getFirstRange']()[_0x24f2('0xba')](_0x33d3c3[_0x24f2('0x126')]())));}}[_0x24f2('0x1b')](_0x15be85){const _0x313b1b=Array[_0x24f2('0x51')](_0x15be85),_0x535d17=this['getSuggestions']({'skipNotAttached':!0x0}),_0x37d7a0=_0x535d17[_0x24f2('0x159')](_0x46363b=>!_0x15be85[_0x24f2('0x113')](_0x46363b)),_0x5c5ce4=new Map(_0x313b1b[_0x24f2('0x2d')](_0x555e39=>[_0x555e39,this[_0x24f2('0x75')][_0x24f2('0x156')](_0x555e39['type'],_0x555e39[_0x24f2('0x15')],'join')])),_0x8a2dc=new Map(_0x535d17[_0x24f2('0x2d')](_0x3cb04f=>[_0x3cb04f,_0x3cb04f['getRanges']()]));for(let _0xd563d9=0x0;_0xd563d9<_0x313b1b['length'];_0xd563d9++){if(_0xc2511f(this,_0x313b1b[_0xd563d9],_0x313b1b,_0xd563d9+0x1))return!0x0;}for(let _0x4c1ccc=0x0;_0x4c1ccc<_0x313b1b[_0x24f2('0xe8')];_0x4c1ccc++){if(_0xc2511f(this,_0x313b1b[_0x4c1ccc],_0x37d7a0,0x0))return!0x0;}return!0x1;function _0xc2511f(_0x3583e8,_0x4741dd,_0x2e1b2e,_0x2f4da4){for(let _0x230231=_0x2f4da4;_0x230231<_0x2e1b2e['length'];_0x230231++){const _0x3c2f44=_0x2e1b2e[_0x230231];if(_0x3c2f44[_0x24f2('0x27')]!==_0x4741dd[_0x24f2('0x27')]||_0x3c2f44[_0x24f2('0x3d')]['id']!==_0x4741dd['author']['id']||_0x3c2f44['subType']!==_0x4741dd[_0x24f2('0x15')])continue;if(!Vt(_0x4741dd,_0x3c2f44))continue;if('attribute'==_0x4741dd[_0x24f2('0x27')]&&_0x4741dd['data'][_0x24f2('0x73')]!=_0x3c2f44[_0x24f2('0x3e')][_0x24f2('0x73')])continue;if(_0x24f2('0x2e')==_0x4741dd[_0x24f2('0x27')]&&_0x3583e8[_0x24f2('0x13d')](_0x4741dd[_0x24f2('0x3e')]['key']))continue;if(_0x24f2('0x3f')==_0x4741dd[_0x24f2('0x27')]){const _0x197828=_0x3583e8[_0x24f2('0x151')][_0x24f2('0x48')],_0x1af861=_0x4741dd[_0x24f2('0x140')]();if(_0x1af861&&(_0x197828[_0x24f2('0x10b')][_0x24f2('0x59')](_0x1af861)||_0x197828['schema'][_0x24f2('0x176')](_0x1af861)))continue;}const _0x2a7e1a=_0x5c5ce4[_0x24f2('0xb2')](_0x4741dd),_0x4d80a3=_0x8a2dc[_0x24f2('0xb2')](_0x4741dd),_0x1e2630=_0x8a2dc[_0x24f2('0xb2')](_0x3c2f44),_0x3e5d3f=_0x4741dd[_0x24f2('0x10c')]&&_0x4741dd[_0x24f2('0x10c')][_0x24f2('0xe8')],_0x5b59bc=_0x3c2f44[_0x24f2('0x10c')]&&_0x3c2f44[_0x24f2('0x10c')][_0x24f2('0xe8')];if(!_0x3e5d3f&&_0x2a7e1a(_0x1e2630,_0x4d80a3))return _0x3583e8['_joinSuggestions'](_0x3c2f44,_0x4741dd),_0x8a2dc[_0x24f2('0x36')](_0x4741dd),!0x0;if(!_0x5b59bc&&_0x2a7e1a(_0x4d80a3,_0x1e2630))return _0x3583e8[_0x24f2('0xe3')](_0x4741dd,_0x3c2f44),_0x8a2dc[_0x24f2('0x36')](_0x3c2f44),!0x0;}return!0x1;}}['_joinSuggestions'](_0x4be695,_0x518641){if(_0x4be695[_0x24f2('0x2')])for(const _0x173dd4 of _0x518641[_0x24f2('0x137')]())_0x4be695[_0x24f2('0xd1')](_0x173dd4);else{const _0x507140=_0x518641[_0x24f2('0x126')]()[_0x24f2('0x16d')];this[_0x24f2('0x18')](_0x4be695,this[_0x24f2('0xa5')][_0x24f2('0x5d')](_0x4be695[_0x24f2('0x126')]()['start'],_0x507140));}_0x518641['removeMarkers']();}[_0x24f2('0xf5')](_0xd3f382,_0x2c6ffa){const _0x3c508a=_0xd3f382[_0x24f2('0xd5')]('format')||_0xd3f382[_0x24f2('0xd5')](_0x24f2('0x2e'))?_0x24f2('0x8d'):_0xd3f382[_0x24f2('0x11b')]();return _0x46785b(this[_0x24f2('0x151')][_0x24f2('0x5')],_0x2c6ffa+'_'+_0x3c508a+_0x24f2('0x20'));}[_0x24f2('0x9e')](){const _0x300f68=this['editor'];_0x492056(this['_model'],({left:_0x2bf37c,entered:_0x1ed2b9})=>{const _0x44e70f=[];for(const _0x5d8a7b of _0x2bf37c){const {group:_0xdb1f85,type:_0x21edec}=this[_0x24f2('0xe7')](_0x5d8a7b[_0x24f2('0xf9')]);if(_0x24f2('0x7f')===_0xdb1f85){_0x44e70f['push'](this[_0x24f2('0xf5')](_0x21edec,_0x24f2('0x146')));break;}}for(const _0x3d4edd of _0x1ed2b9){const {group:_0x41c251,type:_0x3e3651}=this[_0x24f2('0xe7')](_0x3d4edd[_0x24f2('0xf9')]);if('suggestion'===_0x41c251){_0x44e70f[_0x24f2('0x44')](this['_getMarkerAnnouncementText'](_0x3e3651,'ENTER'));break;}}_0x44e70f[_0x24f2('0xe8')]&&_0x300f68['ui'][_0x24f2('0x1a')][_0x24f2('0x88')](_0x24f2('0x11d'),_0x44e70f[_0x24f2('0x17')]('\x20'));});}[_0x24f2('0xcb')](_0x30a4ad){if(null!==this[_0x24f2('0x103')])return!0x1;const _0x1312ca=this[_0x24f2('0x151')],_0x1d39f4=_0x1312ca['model'][_0x24f2('0x6b')][_0x24f2('0x39')]['getChanges']();if(0x0==_0x1d39f4[_0x24f2('0xe8')])return!0x1;const _0x15e8ef=[],_0x40acd0=_0x1d39f4[_0x24f2('0x159')](_0x14bbb6=>_0x24f2('0x2e')==_0x14bbb6[_0x24f2('0x27')]),_0x270e7e=_0x1d39f4['filter'](_0x59c781=>_0x24f2('0x67')==_0x59c781['type']&&_0x24f2('0x99')!=_0x59c781['name']),_0x2e5652=_0x1d39f4[_0x24f2('0x159')](_0x30f01b=>_0x24f2('0x87')==_0x30f01b[_0x24f2('0x27')]&&'$text'!=_0x30f01b['name']);for(const _0x46b1ff of _0x40acd0)_0x15e8ef[_0x24f2('0x44')]({'key':_0x46b1ff[_0x24f2('0x160')],'newValue':_0x46b1ff[_0x24f2('0x14c')],'oldValue':_0x46b1ff[_0x24f2('0x154')],'range':_0x599448(_0x46b1ff['range'])});for(const _0x570cfc of _0x270e7e){const _0x48c0a5=_0x2e5652[_0x24f2('0x128')](_0x3a8fdd=>_0x3a8fdd[_0x24f2('0x131')][_0x24f2('0xba')](_0x570cfc['position']));_0x48c0a5&&_0x15e8ef[_0x24f2('0x44')]({'key':'$elementName','newValue':_0x570cfc[_0x24f2('0xf9')],'oldValue':_0x48c0a5[_0x24f2('0xf9')],'range':_0x1312ca[_0x24f2('0x48')][_0x24f2('0x6')](_0x570cfc[_0x24f2('0x131')][_0x24f2('0x15b')])});}return 0x0!=_0x15e8ef[_0x24f2('0xe8')]&&this[_0x24f2('0x119')](_0x30a4ad,_0x15e8ef);function _0x599448(_0x50c3ba){return null==_0x50c3ba[_0x24f2('0x16d')][_0x24f2('0x9a')]&&_0x50c3ba[_0x24f2('0x16d')][_0x24f2('0x112')]==_0x50c3ba[_0x24f2('0x83')][_0x24f2('0x15b')]?Ut(_0x50c3ba[_0x24f2('0x83')][_0x24f2('0x15b')],_0x1312ca['model']):_0x50c3ba;}}[_0x24f2('0xa0')](_0x27e8b0){let _0x1ab10f=!0x1;const _0x226ecb=this[_0x24f2('0x151')]['model'][_0x24f2('0x6b')][_0x24f2('0x39')][_0x24f2('0xc1')]()[_0x24f2('0x159')](_0x937f25=>_0x937f25['data'][_0x24f2('0xec')]&&_0x937f25['name']['startsWith'](_0x24f2('0x85')));for(const _0x354deb of _0x226ecb){const {subType:_0x394474,id:_0x1a1422}=this[_0x24f2('0xe7')](_0x354deb[_0x24f2('0xf9')]),_0x529f5b=_0x394474[_0x24f2('0x111')]('|')[0x0];for(const _0x435334 of this[_0x24f2('0x120')]({'skipNotAttached':!0x0}))_0x435334['id']!=_0x1a1422&&_0x24f2('0x2e')==_0x435334['type']&&_0x435334[_0x24f2('0x3e')]&&_0x435334[_0x24f2('0x3e')][_0x24f2('0x72')]==_0x529f5b&&_0x435334[_0x24f2('0x126')]()[_0x24f2('0x16e')](_0x354deb[_0x24f2('0x3e')][_0x24f2('0xec')])&&(this[_0x24f2('0xed')](_0x435334,_0x354deb[_0x24f2('0x3e')][_0x24f2('0xec')],_0x27e8b0),_0x1ab10f=!0x0);}return _0x1ab10f;}[_0x24f2('0x38')](_0x274d3c){if(null!==this[_0x24f2('0x103')])return void _0x274d3c();const _0x20950a=this[_0x24f2('0x151')];this[_0x24f2('0x103')]=_0x20950a['model'][_0x24f2('0x6b')][_0x24f2('0x89')],_0x274d3c();const _0x5e2f91=new Map();for(const _0x1d0ae3 of _0x20950a[_0x24f2('0x48')]['document'][_0x24f2('0x104')]['getOperations'](this[_0x24f2('0x103')]))if([_0x24f2('0x60'),_0x24f2('0x11c'),_0x24f2('0xc2'),_0x24f2('0x42')]['includes'](_0x1d0ae3['type'])){const _0x2e6d9a=_0x1d0ae3[_0x24f2('0xc3')],_0x41e02a=_0x5e2f91[_0x24f2('0xb2')](_0x2e6d9a)||[];_0x41e02a['push'](_0x1d0ae3),_0x5e2f91[_0x24f2('0x13')](_0x2e6d9a,_0x41e02a);}this[_0x24f2('0x103')]=null;for(const [_0x4d0c3c,_0x519c48]of _0x5e2f91){const _0x5c3d4a=_0x4f0f07();_0x20950a[_0x24f2('0x48')]['enqueueChange'](_0x4d0c3c,_0x45ae4b=>{const _0x227082=[];for(const _0x225919 of _0x519c48){let _0x16ce2b,_0x4a3eff,_0x2d8bf0,_0x2014a4;if(_0x24f2('0x60')==_0x225919[_0x24f2('0x27')]){const _0x3934fa=_0x225919;_0x16ce2b=Ut(_0x3934fa[_0x24f2('0x131')][_0x24f2('0x15b')],_0x20950a[_0x24f2('0x48')]),_0x4a3eff=_0x24f2('0x66'),_0x2d8bf0=_0x3934fa[_0x24f2('0x158')],_0x2014a4=_0x3934fa[_0x24f2('0x26')];}else{const _0x58385e=_0x225919,_0x310f87=this['_isBlockAttribute'](_0x58385e['key']),_0xa67d11=this[_0x24f2('0x45')]['has'](_0x58385e['key']);if(!_0x310f87&&!_0xa67d11)continue;_0x16ce2b=_0x310f87?Ut(_0x58385e[_0x24f2('0x53')]['start'][_0x24f2('0x15b')],_0x20950a['model']):_0x58385e[_0x24f2('0x53')],_0x4a3eff=_0x58385e[_0x24f2('0x72')],_0x2d8bf0=_0x24f2('0xc2')==_0x225919[_0x24f2('0x27')]?void 0x0:_0x58385e[_0x24f2('0x14d')],_0x2014a4=_0x58385e[_0x24f2('0x73')];}this['markAttributeChange'](_0x16ce2b,_0x4a3eff,_0x2014a4,_0x2d8bf0,{'groupId':_0x5c3d4a}),_0x227082['push']({'range':_0x16ce2b,'key':_0x4a3eff,'newValue':_0x2d8bf0,'oldValue':_0x2014a4});}this['_reduceExistingSuggestions'](_0x45ae4b,_0x227082);});}}[_0x24f2('0x119')](_0x559583,_0x3451b2){if(0x0==_0x3451b2[_0x24f2('0xe8')])return!0x1;let _0xd35416=!0x1;for(const _0x5c0d44 of _0x3451b2){const _0x2cf948=this[_0x24f2('0x3')](_0x5c0d44[_0x24f2('0x53')],_0x24f2('0x2e'))[_0x24f2('0x159')](_0x4f963c=>!_0x4f963c[_0x24f2('0x13b')][_0x24f2('0x0')])[_0x24f2('0x2d')](_0x76a17d=>_0x76a17d[_0x24f2('0x7f')]),_0x3fbe14=_0x232543({'newValue':_0x5c0d44[_0x24f2('0x14d')]});_0x2cf948[_0x24f2('0x159')](_0x5ae6ba=>{const [_0x35e2e8,_0x27ac9b]=_0x5ae6ba[_0x24f2('0x15')][_0x24f2('0x111')]('|');return _0x35e2e8==_0x5c0d44[_0x24f2('0x72')]&&_0x27ac9b!=_0x3fbe14;})[_0x24f2('0x177')](_0x55528f=>{this[_0x24f2('0xed')](_0x55528f,_0x5c0d44[_0x24f2('0x53')],_0x559583),_0xd35416=!0x0;});}return _0xd35416;}['_reduceSuggestionAttributeRange'](_0x25c2e4,_0x488924,_0xefebab){const _0x3ec868=_0x25c2e4[_0x24f2('0x126')]()[_0x24f2('0x1f')](_0x488924);0x0!==_0x3ec868[_0x24f2('0xe8')]?0x1!==_0x3ec868['length']?this[_0x24f2('0xfe')](_0x25c2e4,_0x488924[_0x24f2('0x83')],_0x488924[_0x24f2('0x16d')]):this[_0x24f2('0x18')](_0x25c2e4,_0x3ec868[0x0]):_0xefebab[_0x24f2('0x15c')](_0x25c2e4['getFirstMarker']());}}class Bt{constructor(_0x236e1f){this[_0x24f2('0xc7')]=_0x236e1f,this[_0x24f2('0xa5')]=_0x236e1f[_0x24f2('0x48')],this[_0x24f2('0x24')]=new Map(),this[_0x24f2('0xc')]=new Map(),this[_0x24f2('0x9b')]();}['buildSuggestion'](_0x22aa51,_0x9f2078,_0x5f581d,_0x5a6dcc,_0x28e9f0,_0x484fdb){return new _0x897dd2(this[_0x24f2('0xa5')],{'type':_0x22aa51,'subType':_0x9f2078,'id':_0x5f581d,'author':_0x5a6dcc,'creator':_0x5a6dcc,'attributes':_0x28e9f0,'onAttributesChange':_0x484fdb,'onAccept':(..._0x643d0)=>this['getSuggestionCallback'](_0x22aa51,_0x9f2078,'accept')(..._0x643d0),'onDiscard':(..._0x586766)=>this[_0x24f2('0x156')](_0x22aa51,_0x9f2078,_0x24f2('0xf8'))(..._0x586766)});}[_0x24f2('0xd4')](_0x5279ca,_0x1053c1,_0x188323,_0x2e4806){const _0x3c6fdd=_0x5279ca+':'+_0x1053c1+':'+_0x188323;this[_0x24f2('0x24')]['set'](_0x3c6fdd,_0x2e4806);}['getSuggestionCallback'](_0x454330,_0x665a69,_0x460a5d){const _0x21b7b6=_0x454330+':'+_0x665a69+':'+_0x460a5d;return this['_customCallbacks'][_0x24f2('0xb2')](_0x21b7b6)||this[_0x24f2('0xc')]['get'](_0x454330+':'+_0x460a5d);}['_registerDefaultCallbacks'](){const _0x4d1622=()=>!0x1,_0x4d4b53=_0x1c9500=>{_0x1c9500['sort']((_0x1dcb61,_0x39dde9)=>_0x1dcb61[_0x24f2('0x83')][_0x24f2('0xae')](_0x39dde9[_0x24f2('0x83')])?0x1:-0x1),this[_0x24f2('0xa5')][_0x24f2('0x78')](_0x1cff28=>{for(const _0x4ef710 of _0x1c9500){let _0x3f41f9;_0x3f41f9=_0x4ef710[_0x24f2('0x16d')][_0x24f2('0x133')]&&_0x4ef710[_0x24f2('0x16d')][_0x24f2('0x112')]==_0x4ef710[_0x24f2('0x83')][_0x24f2('0x15b')]?_0x1cff28[_0x24f2('0x4d')](_0x4ef710[_0x24f2('0x83')][_0x24f2('0x15b')],'on'):_0x1cff28['createSelection'](_0x4ef710),this[_0x24f2('0xa5')]['deleteContent'](_0x3f41f9,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x38d2b4=(_0x262078,_0x4b8ff5)=>{_0x4b8ff5&&this[_0x24f2('0xa5')][_0x24f2('0x78')](_0x4378f1=>{const {commandName:_0x134dcf,commandParams:_0x2620fb=[]}=_0x4b8ff5,_0x15f2a0=_0x262078['map'](_0x29e3c3=>(xt(_0x29e3c3)&&(_0x29e3c3=this['_model']['createRange'](_0x29e3c3[_0x24f2('0x16d')])),_0x29e3c3))['filter'](_0x5ce462=>_0x24f2('0x90')!==_0x5ce462[_0x24f2('0x2f')][_0x24f2('0x32')]);if(_0x15f2a0[_0x24f2('0xe8')]<0x1)return;const _0x4921ce=Array['from'](this[_0x24f2('0xa5')][_0x24f2('0x6b')]['selection']['getRanges']())[_0x24f2('0x2d')](_0x5530e7=>_0x353646['fromRange'](_0x5530e7));_0x4378f1[_0x24f2('0xc0')](_0x15f2a0);for(const _0x3917e3 of this['_editor'][_0x24f2('0x138')]['commands']())_0x3917e3[_0x24f2('0x16a')]();_0x2620fb[_0x24f2('0x44')]({'forceDefaultExecution':!0x0}),this[_0x24f2('0xc7')][_0x24f2('0x16')](_0x134dcf,..._0x2620fb);const _0x2d8397=_0x4921ce[_0x24f2('0x159')](_0x124943=>_0x24f2('0x90')!=_0x124943[_0x24f2('0x2f')][_0x24f2('0x32')]);_0x2d8397[_0x24f2('0xe8')]>0x0&&_0x4378f1[_0x24f2('0xc0')](_0x2d8397);for(const _0x21b54c of _0x4921ce)_0x21b54c[_0x24f2('0x4')]();});},_0x13c505=(_0x5d4b01,_0x6c667)=>0x1==_0x5d4b01[_0x24f2('0xe8')]&&0x1==_0x6c667['length']&&_0x5d4b01[0x0][_0x24f2('0x16d')][_0x24f2('0xba')](_0x6c667[0x0][_0x24f2('0x83')]),_0x58b662=(_0xd459c,_0x42b9a4,_0x191313,_0x5caecf)=>Ot(_0xd459c,_0x42b9a4,_0x191313,_0x5caecf,this[_0x24f2('0xa5')])?[_0xd459c,_0x42b9a4]:Ot(_0x42b9a4,_0xd459c,_0x5caecf,_0x191313,this[_0x24f2('0xa5')])?[_0x42b9a4,_0xd459c]:null;this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0xf3'),_0x4d1622),this[_0x24f2('0xc')][_0x24f2('0x13')]('insertion:discard',_0x4d4b53),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x145'),_0x13c505),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x6d'),_0x58b662),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x6c'),_0x4d4b53),this['_defaultCallbacks'][_0x24f2('0x13')]('deletion:discard',_0x4d1622),this[_0x24f2('0xc')]['set'](_0x24f2('0x11f'),_0x13c505),this[_0x24f2('0xc')][_0x24f2('0x13')]('deletion:chain',_0x58b662),this['_defaultCallbacks'][_0x24f2('0x13')](_0x24f2('0x163'),_0x38d2b4),this['_defaultCallbacks'][_0x24f2('0x13')](_0x24f2('0x86'),_0x4d1622),this[_0x24f2('0xc')][_0x24f2('0x13')]('formatInline:join',_0x13c505),this['_defaultCallbacks'][_0x24f2('0x13')]('formatInline:chain',_0x4d1622),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x2a'),_0x38d2b4),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x108'),_0x4d1622),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x6a'),_0x13c505),this[_0x24f2('0xc')][_0x24f2('0x13')](_0x24f2('0x55'),_0x4d1622),this[_0x24f2('0xc')][_0x24f2('0x13')]('attribute:accept',_0x4d1622),this[_0x24f2('0xc')][_0x24f2('0x13')]('attribute:discard',(_0x5317b3,_0x3d5207)=>{if(!_0x3d5207)return;const _0x578153=this[_0x24f2('0xc7')][_0x24f2('0x4a')][_0x24f2('0xb2')](p);this['_model'][_0x24f2('0x78')](_0x25ccb0=>{if(_0x24f2('0x66')==_0x3d5207[_0x24f2('0x72')])for(const _0x4d8d29 of _0x5317b3){const _0xc5afbe=_0x4d8d29[_0x24f2('0x83')][_0x24f2('0x15b')],_0x3cc3c4=_0x3d5207[_0x24f2('0x73')];_0x25ccb0[_0x24f2('0x60')](_0xc5afbe,_0x3cc3c4);}else{if(_0x578153[_0x24f2('0x13d')](_0x3d5207[_0x24f2('0x72')]))for(const _0x5150be of _0x5317b3)void 0x0!==_0x3d5207[_0x24f2('0x73')]?_0x25ccb0['setAttribute'](_0x3d5207[_0x24f2('0x72')],_0x3d5207[_0x24f2('0x73')],_0x5150be[_0x24f2('0x83')]['nodeAfter']):_0x25ccb0[_0x24f2('0xc2')](_0x3d5207[_0x24f2('0x72')],_0x5150be[_0x24f2('0x83')][_0x24f2('0x15b')]);else for(const _0x59cff9 of _0x5317b3)_0x3d5207[_0x24f2('0x73')]?_0x25ccb0[_0x24f2('0x2b')](_0x3d5207[_0x24f2('0x72')],_0x3d5207[_0x24f2('0x73')],_0x59cff9):_0x25ccb0['removeAttribute'](_0x3d5207[_0x24f2('0x72')],_0x59cff9);}});}),this[_0x24f2('0xc')][_0x24f2('0x13')]('attribute:join',_0x13c505);}}function Tt(_0x273299,_0x46f4f0,_0x586a4c){for(const _0x8b23cf of _0x46f4f0['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x8b23cf['root']==_0x8b23cf)return!0x1;if(!_0x586a4c[_0x24f2('0xfb')](_0x8b23cf))return!0x1;if(_0x273299[_0x24f2('0x59')](_0x8b23cf)||_0x273299['isLimit'](_0x8b23cf))return!0x0;}return!0x1;}function xt(_0x502659){return _0x502659[_0x24f2('0x16d')]['parent']==_0x502659[_0x24f2('0x83')][_0x24f2('0x15b')]&&_0x502659[_0x24f2('0x16d')][_0x24f2('0xe')];}function Et(_0x3549a8,_0x507c35,_0x383b5c,_0x40e741){const _0x1a95e3=_0x3cfad4=>!_0x3cfad4[_0x24f2('0x65')]['is'](_0x24f2('0xbb'))&&!_0x40e741[_0x24f2('0x59')](_0x3cfad4[_0x24f2('0x65')]),_0x14f80b=_0x3549a8[_0x24f2('0x83')][_0x24f2('0x13e')](_0x1a95e3),_0x3a76ed=_0x3549a8[_0x24f2('0x16d')][_0x24f2('0x13e')](_0x1a95e3,{'direction':_0x24f2('0x155')});return(!_0x3549a8[_0x24f2('0x83')]['isEqual'](_0x14f80b)||!_0x3549a8[_0x24f2('0x16d')]['isEqual'](_0x3a76ed))&&(_0x14f80b[_0x24f2('0xae')](_0x3a76ed)?_0x383b5c[_0x24f2('0x10a')](_0x507c35,{'range':_0x383b5c[_0x24f2('0x5d')](_0x14f80b,_0x3a76ed)}):_0x383b5c[_0x24f2('0x15c')](_0x507c35),!0x0);}function Rt(_0x4e4b35){return _0x232543(_0x4e4b35);}function jt(_0x919ea){const _0x100465=_0x919ea[_0x24f2('0x83')][_0x24f2('0x15b')];return _0x100465&&_0x100465['is'](_0x24f2('0x28'));}function Ut(_0xfbcc69,_0x5d9832){const _0x3cdd03=_0x5d9832[_0x24f2('0x10b')][_0x24f2('0x59')](_0xfbcc69)||_0x5d9832[_0x24f2('0x10b')][_0x24f2('0x30')](_0xfbcc69);return _0x5d9832[_0x24f2('0x5d')](_0x5d9832[_0x24f2('0x79')](_0xfbcc69,_0x24f2('0x96')),_0x3cdd03?_0x5d9832[_0x24f2('0x25')](_0xfbcc69):_0x5d9832[_0x24f2('0x79')](_0xfbcc69,_0x24f2('0x16d')));}function Ot(_0x3a745e,_0x2526b2,_0x3b0665,_0x157c78,_0x9e4424){if(!Vt(_0x3a745e,_0x2526b2))return!0x1;if(_0x3b0665[_0x24f2('0x16d')][_0x24f2('0xba')](_0x157c78[_0x24f2('0x83')]))return!0x0;if(_0x3a745e[_0x24f2('0x27')]!=_0x2526b2[_0x24f2('0x27')])return!0x1;if(!_0x3b0665[_0x24f2('0x16d')][_0x24f2('0xd9')](_0x157c78[_0x24f2('0x83')]))return!0x1;const _0x4160be=_0x9e4424[_0x24f2('0x5d')](_0x3b0665[_0x24f2('0x16d')],_0x157c78[_0x24f2('0x83')])[_0x24f2('0x106')]();for(const _0x4dec67 of _0x4160be)if([_0x24f2('0xb6'),'elementEnd'][_0x24f2('0x105')](_0x4dec67[_0x24f2('0x27')])&&_0x9e4424[_0x24f2('0x10b')][_0x24f2('0x176')](_0x4dec67[_0x24f2('0x65')]))return!0x1;return!0x0;}function Vt(_0x3a30e4,_0x234923){return!(!_0x3a30e4['_isDataLoaded']||!_0x234923['_isDataLoaded'])&&_0x57a851(_0x3a30e4[_0x24f2('0x149')],_0x234923['attributes']);}function Gt(_0x245881,_0x13705d){const _0x4333d0=Ft(_0x245881[_0x24f2('0x149')]),_0x5cc03e=Ft(_0x13705d);if(!_0x245881[_0x24f2('0xb8')])return!0x1;for(const _0x4c540e of Object['keys'](_0x5cc03e))if(!_0x57a851(_0x4333d0[_0x4c540e],_0x5cc03e[_0x4c540e]))return!0x1;return!0x0;}function Ft(_0x329747){const _0x215c55=Object[_0x24f2('0x165')]({},_0x329747);return delete _0x215c55[_0x24f2('0x8c')],delete _0x215c55[_0x24f2('0xaf')],_0x215c55;}function Pt(_0x58a8a1){return _0x24f2('0x2e')==_0x58a8a1[_0x24f2('0x27')]?_0x58a8a1[_0x24f2('0x15')][_0x24f2('0x111')]('|')[0x0]:null;}