@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231128.0 → 0.0.0-nightly-20231129.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 (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22f3=['error-saving-suggestion-data-suggestion-discarded','reconvertMarker','formatGroupId','newName','_defaultCallbacks','track-changes-command-not-found','acceptSelectedSuggestions','commands','howMany','ENTER','warn','multipleBlocks','suggestionLoaded','markDeletion','originalSuggestionId','elementToElement','setTo','markerToData','containsRange','createSelection','removeAttribute','_processAttributeChanges','setSelection','getCustomProperty','isMultiRange','batch','locale','meta','_createSuggestion','insertion','addMarkerName','_updateSuggestionData','splice','filter','widget','hasComments','attributeNewValue','_getAttributeKeyFromSubType','toViewElement','_SUGGESTION_ANNOUNCEMENT','deletion:accept','authorName','pop','markerReady','targetPosition','getSuggestions','deletion:chain','model','_initAriaMarkerChangeAnnouncements','_refreshAttributeSuggestionsChain','$graveyard','addUser','enableReadOnlyMode','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.','moveTargetPosition','addMarker','detach','rethrowUnexpectedError','_getMarkerAnnouncementText','updateSuggestion','_enableDefaultAttributesIntegration','_joinSuggestions','writer','rename','define','applyOperation','init','markInsertion','never','plugins','markAttributeChange','formatBlock:discard','Users','oldName','get','end','forceDefaultExecution','activeMarkers','addHighlight','fetchCommentThread','setAttribute','getItems','multi','buildSuggestion','backward','$elementName','removed','clear','after','_trackFormatChanges','getChanges','removeComment','containerElement','addClass','trackChangesCommand','group','isObject','suggestion:attribute:','lowest','consumable','remove','deletion:join','adapter','suggestion','toJSON','ariaLiveAnnouncer','catch','discardSuggestion','insertion:chain','includes','add','mapper','isNextTo','ck-suggestion-marker--active','isAtEnd','_model','CommentsRepository','getAllAdjacentSuggestions','createPositionAfter','upcast','type','attribute','ready','getSuggestionCallback','_suggestionState','sort','low','stop','assign','_getExternalAuthor','newRange','containsPosition','range','$textProxy','deleteContent','ck-suggestion-marker','from','splitPosition','isIntersecting','_customCallbacks','format','startsWith','for','requires','isEqual','editingDowncast','fire','_suggestionFactory','addComment','high','toUpperCase','version','unbindElementFromMarkerName','removeMarkers','markerName','getAncestors','formatBlock','some','enqueueChange','return','getMultiRangeId','dataToMarker','_handleNewSuggestionMarker','insertion:join','data-suggestion','_descriptionFactory','formatBlock:chain','insertion:','creator','markerToHighlight','_rangeIsInLocalUserInsertion','getRange','FORMATTING','listenTo','removeClass','trackChanges','normal','isLimit','hasCommentThread','addSuggestion','_joinWithAdjacentSuggestions','item','attributeKey','set','groupId','addAttribute','elementStart','formatBlock:join','commandName','@external','find','isCollapsed','getLastMatchingPosition','_recordAttributeChanges','_checkSuggestionCorrectness','_isBlockAttribute','getChangedMarkers','_removeSuggestion','comments','options','markBlockFormat','createdAt','removeMarker','acceptSuggestion','forward','next','commentThread','attribute:accept','fromCharCode','_processAttributeSuggestions','_cutOutSuggestionMarker','substr','isLocal','suggestion-type','isIntersectingWithRange','collaboration.channelId','isInsideObject','_addSuggestionMarker','attribute:join','attributes','createElement','_setSuggestionData','removeMarker:suggestion:attribute','start','_reduceSuggestionAttributeRange','default','isBefore','map','isRemovable','_enabledCommands','createPositionAt','delete','getAttribute','getShiftedBy','always','push','values','changeAttribute','has','config','registerPostFixer','insertion:accept','updateMarker','_commentsRepository','differ','discardAllSuggestions','value','discard','_inlineAttributeKeys','_mergeNestedSuggestions','stopListening','element','size','rejected','authoredAt','_isDataLoaded','isSelectable','_addThreadToSuggestion','_blockAttributeKeys','_adapter','attribute:','oldRange','markMultiRangeBlockFormat','split','_recordAttributeSuggestionsFromVersion','newValue','_getAuthorFromId','formatInline','createRange','open','selection','pluginName','change','name','isInContent','deletion','acceptAllSuggestions','discardSelectedSuggestions','consume','unbind','track-changes-suggestion-data-mismatch','getIntersection','attribute:discard','_editor','previous','ck-suggestion-marker-','_isForcedDefaultExecutionBlock','isDocumentOperation','suggestionChanged','addRange','clone','subType','_breakSuggestionMarker','track-changes-user-not-found','data','length','_refreshSuggestionsChain','_setSuggestionRange','position','getUser','author','_findSuggestions','schema','parent','addCommentThread','track-changes-suggestion-not-found','markerNameToElements','getSuggestion','dataDowncast','_registerInlineAttribute','suggestion:','rootName','hasSuggestion','addSuggestionData','conversion','addMarker:suggestion:attribute','_saved','nodeAfter','update:suggestion','then','before','resolve','isTouching','$text','chain','containsRangeInObject','dataReady','enableCommand','formatInline:','keys','getNearestSelectionRange','formatBlock:accept','root','getOperations','trackChanges.mergeNestedSuggestions','markMultiRangeDeletion','change:_saved','execute','_reduceExistingSuggestions','notReady','_suggestions','trackChanges.trackFormatChanges','unshift','forEach','showSuggestionHighlights','createPositionBefore','isOwn','_onDiscard','join','getRanges','getFirstRange','marker-count','track-changes-enable-command-twice','_registerDefaultCallbacks','formatInline:accept','isArray','isBlock','oldValue','getFirstMarker','history','isUndo','insert','skipNestingCheck','addMarker:suggestion','containsItem','document','PendingActions','editor','_getSuggestionData','nodeBefore','getDifference','highest','PENDING_ACTION_SUGGESTION','formatInline:chain','_splitMarkerName','tablePasteChainId','key','every','ck-suggestion-marker-formatBlock','isAfter','formatBlock:','markInlineFormat','markers','accept'];(function(_0x33ec0b,_0x22f323){const _0x3625e5=function(_0xedfc79){while(--_0xedfc79){_0x33ec0b['push'](_0x33ec0b['shift']());}};_0x3625e5(++_0x22f323);}(_0x22f3,0x13e));const _0x3625=function(_0x33ec0b,_0x22f323){_0x33ec0b=_0x33ec0b-0x0;let _0x3625e5=_0x22f3[_0x33ec0b];return _0x3625e5;};import{Plugin as _0x452a09,PendingActions as _0x203349}from'ckeditor5/src/core';import{LiveRange as _0x149eb5}from'ckeditor5/src/engine';import{CKEditorError as _0x3548d3,uid as _0xfa15dc,priorities as _0x33f700,logWarning as _0x115eaf}from'ckeditor5/src/utils';import{toWidget as _0x5c1e53}from'ckeditor5/src/widget';import{Users as _0x3e9695,hashObject as _0x4e15fe,surroundingMarkersDetector as _0x4c3300}from'ckeditor5-collaboration/src/collaboration-core';import _0xde69a9 from'./commands/trackchangescommand';import _0x1fd219 from'./commands/acceptsuggestioncommand';import _0x5aac11 from'./commands/discardsuggestioncommand';import _0x8c5b71 from'./commands/executeonallsuggestionscommand';import _0x260e54 from'./commands/executeonselectedsuggestionscommand';import _0x3439e5 from'./suggestion';import _0x3cb5e6 from'./suggestiondescriptionfactory';import _0x442361 from'./integrations/aiassistant';import _0x1730de from'./integrations/alignment';import _0x260b62 from'./integrations/basicstyles';import _0x261232 from'./integrations/blockquote';import _0x51f1c0 from'./integrations/ckbox';import _0x35dcb0 from'./integrations/codeblock';import _0x5cbcad from'./integrations/comments';import _0x3e6fbd from'./integrations/deletecommand';import _0x431383 from'./integrations/documentlist';import _0x469f4a from'./integrations/documentlistproperties';import _0x2c9518 from'./integrations/entercommand';import _0x22a7bf from'./integrations/findandreplace';import _0x5d10fe from'./integrations/font';import _0x44322b from'./integrations/formatpainter';import _0x26ca39 from'./integrations/heading';import _0x362068 from'./integrations/highlight';import _0x45ce77 from'./integrations/horizontalline';import _0x5f41b0 from'./integrations/htmlembed';import _0x176fe7 from'./integrations/image';import _0x147baa from'./integrations/imagereplace';import _0x20dfad from'./integrations/imagestyle';import _0xcabec2 from'./integrations/importword';import _0x409a44 from'./integrations/indent';import _0x2644b5 from'./integrations/inputcommand';import _0x4cb8d7 from'./integrations/link';import _0x1b2de1 from'./integrations/list';import _0x23796 from'./integrations/listproperties';import _0x4afc3b from'./integrations/mediaembed';import _0x536ea4 from'./integrations/mention';import _0x508bb5 from'./integrations/pagebreak';import _0x32dd89 from'./integrations/paragraph';import _0x8a528d from'./integrations/removeformat';import _0x575bdd from'./integrations/restrictededitingmode';import _0x3e56ec from'./integrations/shiftentercommand';import _0x59317c from'./integrations/standardeditingmode';import _0x419e74 from'./integrations/style';import _0x56eeb2 from'./integrations/table';import _0x52115e from'./integrations/tablemergesplit';import _0x2b7931 from'./integrations/tableheadings';import _0x62ba29 from'./integrations/tableclipboard';import _0x1f4332 from'./integrations/tablecolumnresize';import _0xbead46 from'./integrations/template';import _0x31841e from'./integrations/tableofcontents';import _0x42306a from'./integrations/title';import _0x43c0e1 from'./integrations/undo';import _0x10d2c9 from'./integrations/tablecaption';import _0x1c4669 from'./integrations/tableproperties';import{getTranslation as _0x5ed0a4}from'./utils/common-translations';import{isEqual as _0x22a34e,omit as _0x1bda79}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x452a09{static get[_0x3625('0xd1')](){return[_0x3625('0xb6'),_0x3e9695,_0x203349,_0x442361,_0x1730de,_0x260b62,_0x261232,_0x51f1c0,_0x35dcb0,_0x5cbcad,_0x3e6fbd,_0x431383,_0x469f4a,_0x2c9518,_0x22a7bf,_0x5d10fe,_0x44322b,_0x26ca39,_0x362068,_0x45ce77,_0x5f41b0,_0x176fe7,_0x20dfad,_0x147baa,_0xcabec2,_0x409a44,_0x2644b5,_0x4cb8d7,_0x1b2de1,_0x23796,_0x4afc3b,_0x536ea4,_0x508bb5,_0x32dd89,_0x8a528d,_0x575bdd,_0x3e56ec,_0x59317c,_0x419e74,_0x56eeb2,_0x52115e,_0x2b7931,_0x10d2c9,_0x62ba29,_0x1f4332,_0x31841e,_0x1c4669,_0xbead46,_0x42306a,_0x43c0e1];}static get[_0x3625('0x151')](){return'TrackChangesEditing';}constructor(_0x3c752e){function _0x49ef4c(_0x3692ad){return _0x3692ad['map'](_0x2babbb=>String[_0x3625('0x112')](_0x2babbb))['join']('');}super(_0x3c752e),this[_0x3625('0x14a')]=null,this[_0x3625('0xf9')](_0x3625('0x8f'),[]),this['on']('change:activeMarkers',(_0x260505,_0x524f63,_0x523d1e,_0x247920)=>{this[_0x3625('0xb5')][_0x3625('0x152')](()=>{for(const _0x1b9391 of[..._0x247920,..._0x523d1e])this[_0x3625('0xb5')][_0x3625('0x40')][_0x3625('0x130')](_0x1b9391)&&_0x3c752e['editing'][_0x3625('0x43')](_0x1b9391);});}),this[_0x3625('0xe7')]=new _0x3cb5e6(this[_0x3625('0x31')][_0x3625('0x71')][_0x3625('0x170')],this[_0x3625('0x31')][_0x3625('0x5c')]),this['_adapter']=null,this[_0x3625('0xd5')]=new Bt(this[_0x3625('0x31')]),this['_suggestions']=new Map(),this[_0x3625('0x135')]=_0x3c752e[_0x3625('0x87')]['get'](_0x3625('0xb6')),this[_0x3625('0x127')]=new Set(),this[_0x3625('0xb5')]=this[_0x3625('0x31')][_0x3625('0x71')],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x3625('0x144')]=new Set([_0x3625('0x97')]),this[_0x3625('0x13a')]=new Set(),_0x3c752e['config'][_0x3625('0x82')](_0x3625('0x17'),_0x3625('0x123')),this[_0x3625('0x9b')]=_0x3c752e[_0x3625('0x131')]['get'](_0x3625('0x17')),_0x3c752e[_0x3625('0x131')][_0x3625('0x82')]('trackChanges.mergeNestedSuggestions',!0x0),this[_0x3625('0x13b')]=_0x3c752e[_0x3625('0x131')][_0x3625('0x8c')](_0x3625('0x10')),this[_0x3625('0xa0')]=new _0xde69a9(_0x3c752e,this[_0x3625('0x127')]),this[_0x3625('0x72')](),this[_0x49ef4c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x49ef4c([0x34,0x30,0x34,0x36,0x32,0x32,0x35,0x36]);}[_0x3625('0x84')](){const _0x5dc352=this[_0x3625('0x31')],_0x5df83c=(_0x2ca7bb,_0x4bbfd5)=>{if('attribute'!=_0x2ca7bb)return _0x3625('0x15f')+_0x2ca7bb;const _0x410a62=_0x4bbfd5['split']('|')[0x0];return this[_0x3625('0x105')](_0x410a62)?_0x3625('0x3c'):'ck-suggestion-marker-formatInline';};_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')]('editingDowncast')[_0x3625('0xeb')]({'model':_0x3625('0xa9'),'view':_0x2196f3=>{const {id:_0x4a47c0,type:_0x45c023,subType:_0x439161}=this[_0x3625('0x38')](_0x2196f3[_0x3625('0xdc')]),_0x2d1854=[_0x3625('0xc9'),_0x5df83c(_0x45c023,_0x439161)];let _0x174cac=0xbb8;return this['activeMarkers']['includes'](_0x2196f3[_0x3625('0xdc')])&&(_0x2d1854[_0x3625('0x12d')](_0x3625('0xb3')),_0x174cac=0xbc2),_0x3625('0x155')==_0x45c023&&(_0x174cac+=0x5),{'classes':_0x2d1854,'attributes':{'data-suggestion':_0x4a47c0},'priority':_0x174cac};}}),_0x5dc352[_0x3625('0x17c')]['for'](_0x3625('0x176'))[_0x3625('0xb0')](_0x53f8a2=>{_0x53f8a2['on'](_0x3625('0x2d'),(_0x431229,_0x2ceefa,_0x241a3f)=>{if(!_0x241a3f[_0x3625('0x109')]['showSuggestionHighlights'])return;const _0x509a16=_0x2ceefa[_0x3625('0xf7')];if(!_0x509a16)return;const _0x43cf53=_0x241a3f[_0x3625('0xb1')][_0x3625('0x68')](_0x509a16);_0x5dc352[_0x3625('0x71')][_0x3625('0x170')][_0x3625('0xa2')](_0x509a16)&&_0x43cf53&&!_0x43cf53[_0x3625('0x59')](_0x3625('0x64'))&&_0x43cf53['is'](_0x3625('0x9e'))&&_0x5c1e53(_0x43cf53,_0x241a3f['writer']);},{'priority':'high'});}),_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')](_0x3625('0x176'))['markerToHighlight']({'model':'suggestion','view':(_0x463647,_0x468180)=>{if(!_0x468180['options']['showSuggestionHighlights'])return null;const {type:_0x55dec4,subType:_0x36d788}=this[_0x3625('0x38')](_0x463647[_0x3625('0xdc')]);return{'classes':['ck-suggestion-marker',_0x5df83c(_0x55dec4,_0x36d788)],'priority':0xbb8};}});const _0x52c96c=({showActiveMarkers:_0x7dea60=!0x0,isAttributeSuggestion:_0x2bfd8a=!0x1}={})=>(_0x29f0d7,_0x11dd04,_0x3c6acf)=>{if(!_0x11dd04['item'])return;const {id:_0x25783b}=this['_splitMarkerName'](_0x11dd04[_0x3625('0xdc')]);if(_0x2bfd8a){const _0x2152d6=this[_0x3625('0x16')]['get'](_0x25783b),_0xf8f3f7=this[_0x3625('0x67')](_0x2152d6);if(!this['_isBlockAttribute'](_0xf8f3f7))return;}if(_0x11dd04[_0x3625('0xf7')]['is'](_0x3625('0x150')))return void _0x3c6acf[_0x3625('0xa5')][_0x3625('0x158')](_0x11dd04[_0x3625('0xf7')],_0x29f0d7[_0x3625('0x153')]);const _0x4d5756=_0x3c6acf[_0x3625('0xb1')][_0x3625('0x68')](_0x11dd04[_0x3625('0xf7')]);if(_0x11dd04['item']['is'](_0x3625('0x13d'))&&_0x5dc352[_0x3625('0x71')][_0x3625('0x170')]['isBlock'](_0x11dd04[_0x3625('0xf7')])&&!_0x4d5756[_0x3625('0x59')](_0x3625('0x90'))){_0x3c6acf[_0x3625('0x80')][_0x3625('0x9f')]([_0x3625('0xc9'),'ck-suggestion-marker-formatBlock'],_0x4d5756),_0x3c6acf[_0x3625('0x80')][_0x3625('0x92')](_0x3625('0xe6'),_0x25783b,_0x4d5756),_0x3c6acf[_0x3625('0xb1')]['bindElementToMarker'](_0x4d5756,_0x11dd04[_0x3625('0xdc')]),_0x7dea60&&(this[_0x3625('0x8f')][_0x3625('0xaf')](_0x11dd04[_0x3625('0xdc')])?_0x3c6acf[_0x3625('0x80')][_0x3625('0x9f')]('ck-suggestion-marker--active',_0x4d5756):_0x3c6acf[_0x3625('0x80')]['removeClass']('ck-suggestion-marker--active',_0x4d5756));for(const _0xd4f54f of _0x5dc352[_0x3625('0x71')]['createRangeIn'](_0x11dd04[_0x3625('0xf7')])[_0x3625('0x93')]())_0x3c6acf[_0x3625('0xa5')][_0x3625('0x158')](_0xd4f54f,_0x29f0d7['name']);_0x3c6acf[_0x3625('0xa5')]['consume'](_0x11dd04['item'],_0x29f0d7[_0x3625('0x153')]);}};_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')](_0x3625('0x176'))['add'](_0x279237=>{_0x279237['on']('addMarker:suggestion:formatBlock',(_0x3cc971,_0x121e02,_0xc8ada)=>{_0xc8ada[_0x3625('0x109')][_0x3625('0x1a')]&&_0x52c96c({'showActiveMarkers':!0x1})(_0x3cc971,_0x121e02,_0xc8ada);},{'priority':'highest'});}),_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')](_0x3625('0x176'))[_0x3625('0xb0')](_0x2d5db8=>{_0x2d5db8['on'](_0x3625('0x17d'),(_0x372b98,_0x4a8879,_0x32dfc0)=>{_0x32dfc0[_0x3625('0x109')][_0x3625('0x1a')]&&_0x52c96c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x372b98,_0x4a8879,_0x32dfc0);},{'priority':_0x3625('0x35')});}),_0x5dc352[_0x3625('0x17c')]['for'](_0x3625('0x176'))[_0x3625('0x53')]({'model':_0x3625('0xa9'),'view':(_0x2069b2,_0x475f3b)=>_0x475f3b[_0x3625('0x109')]['showSuggestionHighlights']?null:{'group':_0x3625('0xa9'),'name':_0x2069b2[_0x3625('0x115')](0xb)}}),_0x5dc352['conversion'][_0x3625('0xd0')](_0x3625('0xb9'))[_0x3625('0x51')]({'view':{'name':_0x3625('0xa9'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1dd663,{writer:_0x5999c9})=>{let _0x125bba=_0x3625('0x178')+_0x1dd663[_0x3625('0x12a')](_0x3625('0x117'))+':'+_0x1dd663[_0x3625('0x12a')]('id');return _0x1dd663[_0x3625('0x12a')](_0x3625('0x21'))&&(_0x125bba+=':'+_0x1dd663[_0x3625('0x12a')](_0x3625('0x21'))),_0x5999c9[_0x3625('0x11e')]('$marker',{'data-name':_0x125bba});}}),_0x5dc352[_0x3625('0x17c')]['for'](_0x3625('0xb9'))[_0x3625('0xe3')]({'view':_0x3625('0xa9')}),_0x5dc352['conversion'][_0x3625('0xd0')]('editingDowncast')[_0x3625('0xb0')](_0x544c09=>{_0x544c09['on']('addMarker:suggestion:formatBlock',_0x52c96c(),{'priority':_0x3625('0xd7')});}),_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')]('editingDowncast')[_0x3625('0xb0')](_0x4fbcf8=>{_0x4fbcf8['on']('addMarker:suggestion:attribute',_0x52c96c({'isAttributeSuggestion':!0x0}),{'priority':_0x3625('0xd7')});}),_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')](_0x3625('0xd3'))[_0x3625('0xb0')](_0x29d459=>{_0x29d459['on']('removeMarker:suggestion:formatBlock',(_0x3ba83b,_0x4be09e,_0x2b22bf)=>{const _0x4af4d6=_0x2b22bf['mapper'][_0x3625('0x174')](_0x4be09e[_0x3625('0xdc')]);if(_0x4af4d6)for(const _0x26be2c of _0x4af4d6)_0x26be2c['getCustomProperty']('addHighlight')||(_0x2b22bf[_0x3625('0x80')][_0x3625('0xf0')]([_0x3625('0xc9'),_0x3625('0x3c'),_0x3625('0xb3')],_0x26be2c),_0x2b22bf[_0x3625('0x80')][_0x3625('0x56')](_0x3625('0xe6'),_0x26be2c),_0x2b22bf[_0x3625('0xb1')][_0x3625('0xda')](_0x26be2c,_0x4be09e['markerName']));},{'priority':_0x3625('0xd7')});}),_0x5dc352[_0x3625('0x17c')][_0x3625('0xd0')](_0x3625('0xd3'))[_0x3625('0xb0')](_0x28aa07=>{_0x28aa07['on'](_0x3625('0x120'),(_0x2ae04f,_0x2d351b,_0x4d64d9)=>{const _0x5dc494=_0x4d64d9[_0x3625('0xb1')][_0x3625('0x174')](_0x2d351b[_0x3625('0xdc')]);if(!_0x5dc494)return;const {id:_0x319e92}=this[_0x3625('0x38')](_0x2d351b[_0x3625('0xdc')]),_0x20acf2=this['_suggestions'][_0x3625('0x8c')](_0x319e92),_0x1c3c85=this[_0x3625('0x67')](_0x20acf2);if(this['_isBlockAttribute'](_0x1c3c85))for(const _0x44b877 of _0x5dc494)_0x44b877[_0x3625('0x59')](_0x3625('0x90'))||(_0x4d64d9[_0x3625('0x80')]['removeClass']([_0x3625('0xc9'),_0x3625('0x3c'),_0x3625('0xb3')],_0x44b877),_0x4d64d9['writer'][_0x3625('0x56')](_0x3625('0xe6'),_0x44b877),_0x4d64d9[_0x3625('0xb1')][_0x3625('0xda')](_0x44b877,_0x2d351b['markerName']));},{'priority':_0x3625('0xd7')});}),_0x5dc352['model'][_0x3625('0x2f')][_0x3625('0x132')](_0x351ef4=>{let _0x11b328=!0x1;const _0x16e095=Array[_0x3625('0xca')](_0x5dc352[_0x3625('0x71')][_0x3625('0x2f')][_0x3625('0x136')]['getChangedMarkers']()),_0x1a2fd7=new Set();for(const {name:_0x3dc6e2,data:_0x44dceb}of _0x16e095){const {group:_0x20710e,type:_0x398182,subType:_0xea8a38,id:_0x45b1b7}=this[_0x3625('0x38')](_0x3dc6e2);if('suggestion'!==_0x20710e)continue;const _0x35a1a6=this[_0x3625('0x16')][_0x3625('0x8c')](_0x45b1b7);if(null!=_0x44dceb[_0x3625('0xc4')]){'formatInline'==_0x398182&&(_0x11b328=_0x11b328||Et(_0x44dceb[_0x3625('0xc4')],_0x3dc6e2,_0x351ef4,_0x5dc352[_0x3625('0x71')][_0x3625('0x170')]));const _0x7bbe65='attribute'==_0x398182&&this['_isBlockAttribute'](_0xea8a38['split']('|')[0x0]);if(_0x44dceb[_0x3625('0xc4')][_0x3625('0x101')]||_0x3625('0x74')==_0x44dceb['newRange'][_0x3625('0xe')][_0x3625('0x179')]||_0x3625('0xde')==_0x398182&&!jt(_0x44dceb['newRange'])||_0x7bbe65&&!jt(_0x44dceb[_0x3625('0xc4')])||_0x3625('0x155')==_0x398182&&!(!xt(_0xd9d651=_0x44dceb[_0x3625('0xc4')])&&!function(_0x199d7e){return _0x199d7e[_0x3625('0x121')][_0x3625('0x171')]==_0x199d7e[_0x3625('0x8d')][_0x3625('0x33')]&&_0x199d7e[_0x3625('0x121')][_0x3625('0xb4')];}(_0xd9d651)))_0x351ef4['removeMarker'](_0x3dc6e2),_0x11b328=!0x0;else{if(!_0x35a1a6||!_0x35a1a6['isInContent'])continue;_0x1a2fd7[_0x3625('0xb0')](_0x35a1a6);}}}var _0xd9d651;return _0x1a2fd7[_0x3625('0x13e')]>0x0&&(_0x11b328=!!this[_0x3625('0xf6')](_0x1a2fd7)||_0x11b328),_0x11b328;}),_0x5dc352['model'][_0x3625('0x2f')][_0x3625('0x132')](_0x57f636=>{let _0xf24920=!0x1;for(const _0x3392aa of _0x5dc352[_0x3625('0x71')][_0x3625('0x2f')][_0x3625('0x136')][_0x3625('0x9c')]())if('insert'==_0x3392aa['type'])for(const _0x335eed of this[_0x3625('0x16')][_0x3625('0x12e')]()){if(_0x335eed['isMultiRange']||!_0x335eed['isInContent'])continue;const _0x8adf26=_0x3625('0xde')==_0x335eed[_0x3625('0xba')],_0x5729f2=this[_0x3625('0x67')](_0x335eed),_0x54e3d7=_0x5729f2&&this[_0x3625('0x105')](_0x5729f2);if(!_0x8adf26&&!_0x54e3d7)continue;const _0x148635=_0x335eed[_0x3625('0x20')]();if(_0x148635[_0x3625('0x121')]['parent']!=_0x148635[_0x3625('0x8d')][_0x3625('0x171')]&&!_0x148635[_0x3625('0x8d')][_0x3625('0xb4')]){const _0x2480bc=_0x5dc352['model'][_0x3625('0x128')](_0x148635[_0x3625('0x121')][_0x3625('0x17f')],'end'),_0x285405=_0x5dc352[_0x3625('0x71')][_0x3625('0x14e')](_0x148635[_0x3625('0x121')],_0x2480bc);_0x57f636[_0x3625('0x134')](_0x335eed[_0x3625('0x28')](),{'range':_0x285405}),_0xf24920=!0x0;}}return _0xf24920;}),_0x5dc352['model'][_0x3625('0x2f')][_0x3625('0x132')](_0x235069=>this[_0x3625('0x57')](_0x235069)),_0x5dc352[_0x3625('0x71')]['document'][_0x3625('0x132')](_0x1670af=>!_0x1670af[_0x3625('0x5b')][_0x3625('0x116')]&&this[_0x3625('0x113')](_0x1670af)),_0x5dc352[_0x3625('0x71')][_0x3625('0x40')]['on'](_0x3625('0x0'),(_0x3b2d95,_0x5a33ff,_0xaae89a)=>{if(null==_0xaae89a){const {id:_0xd5aaba}=this[_0x3625('0x38')](_0x5a33ff['name']),_0x1ae423=this[_0x3625('0x16')]['get'](_0xd5aaba);_0x1ae423&&_0x1ae423[_0x3625('0x60')](_0x5a33ff['name']);}}),_0x5dc352[_0x3625('0x71')][_0x3625('0x2f')]['on']('change:data',()=>{const _0x179906=Array[_0x3625('0xca')](_0x5dc352['model'][_0x3625('0x2f')][_0x3625('0x136')][_0x3625('0x106')]())['filter'](_0x59bb33=>_0x3625('0xa9')===this['_splitMarkerName'](_0x59bb33[_0x3625('0x153')])[_0x3625('0xa1')]);if(0x0===_0x179906[_0x3625('0x169')])return;_0x179906[_0x3625('0xbf')]((_0x45414b,_0x459922)=>{const _0x59ba75=_0x45414b[_0x3625('0x168')]['oldRange'],_0x198205=_0x459922[_0x3625('0x168')][_0x3625('0x147')];return null===_0x59ba75&&null===_0x198205?0x0:null===_0x59ba75&&null!==_0x198205?-0x1:null!==_0x59ba75&&null===_0x198205?0x1:_0x59ba75[_0x3625('0x121')]['isBefore'](_0x198205[_0x3625('0x121')])?-0x1:0x1;});const _0x233482=new Set(),_0x25c235=new Set();for(const {name:_0x1b72d3,data:_0x4fbcf5}of _0x179906){const {id:_0x58dc73}=this[_0x3625('0x38')](_0x1b72d3);if(null===_0x4fbcf5[_0x3625('0x147')]){const _0x418678=this['_handleNewSuggestionMarker'](_0x1b72d3);_0x25c235[_0x3625('0xb0')](_0x418678);}else{const _0x4a3620=this[_0x3625('0x16')][_0x3625('0x8c')](_0x58dc73);null!==_0x4fbcf5[_0x3625('0xc4')]||_0x4a3620[_0x3625('0x154')]?(_0x233482[_0x3625('0xb0')](_0x4a3620['head']),_0x25c235[_0x3625('0xb0')](_0x4a3620)):this['_removeSuggestion'](_0x4a3620);}}_0x25c235[_0x3625('0x13e')]>0x0&&this[_0x3625('0x16a')](_0x25c235);for(const _0x401f29 of _0x233482)this['fire'](_0x3625('0x162'),_0x401f29);}),_0x5dc352['model']['on'](_0x3625('0x83'),(_0x234474,_0x2b0dec)=>{const _0x20dd5e=_0x2b0dec[0x0];if(!this[_0x3625('0x16')][_0x3625('0x13e')])return;if(!_0x20dd5e[_0x3625('0x161')])return;if(_0x20dd5e[_0x3625('0x5b')][_0x3625('0x2a')]||!_0x20dd5e[_0x3625('0x5b')][_0x3625('0x116')])return;let _0x4b9c03,_0x1924c;switch(_0x20dd5e[_0x3625('0xba')]){case _0x3625('0x2b'):_0x4b9c03=_0x5dc352['model']['createPositionAt'](_0x20dd5e['position']),_0x1924c=_0x4b9c03[_0x3625('0x12b')](_0x20dd5e['howMany']);break;case _0x3625('0x149'):_0x4b9c03=_0x5dc352[_0x3625('0x71')]['createPositionAt'](_0x20dd5e[_0x3625('0xcb')]),_0x1924c=_0x5dc352['model'][_0x3625('0x128')](_0x20dd5e[_0x3625('0x78')]);break;case'move':_0x4b9c03=_0x5dc352[_0x3625('0x71')][_0x3625('0x128')](_0x20dd5e[_0x3625('0x6e')]),_0x1924c=_0x4b9c03[_0x3625('0x12b')](_0x20dd5e[_0x3625('0x4a')]);break;default:return;}const _0x210b89=_0x5dc352['model'][_0x3625('0x14e')](_0x4b9c03,_0x1924c);_0x5dc352[_0x3625('0x71')][_0x3625('0x152')](()=>{for(const {suggestion:_0x1430c2,meta:_0x2bc2d9}of this[_0x3625('0x16f')](_0x210b89)){if(_0x1430c2[_0x3625('0x5a')])continue;if(_0x3625('0x14d')==_0x1430c2['type'])continue;const _0x5519fc=this[_0x3625('0x67')](_0x1430c2);if(_0x5519fc&&this[_0x3625('0x105')](_0x5519fc)&&_0x3625('0x149')!=_0x20dd5e[_0x3625('0xba')])continue;const _0x2b2866=_0x1430c2[_0x3625('0x168')]&&_0x1430c2[_0x3625('0x168')]['multipleBlocks'];(_0x3625('0xde')!=_0x1430c2['type']||_0x3625('0x149')==_0x20dd5e[_0x3625('0xba')]&&!_0x2b2866)&&(_0x2bc2d9[_0x3625('0x7')]||_0x3625('0x5f')==_0x1430c2[_0x3625('0xba')]&&_0x2bc2d9[_0x3625('0x1c')]||_0x1430c2[_0x3625('0x20')]()[_0x3625('0x54')](_0x210b89)&&this[_0x3625('0x166')](_0x1430c2,_0x4b9c03,_0x1924c));}});},{'priority':_0x3625('0xa4')}),_0x5dc352[_0x3625('0x71')]['on'](_0x3625('0xc8'),(_0x71d82b,_0x1b25ba)=>{const _0x515a6d=_0x1b25ba[0x0],_0x525ad3=_0x1b25ba[0x1];if(_0x525ad3&&_0x525ad3['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x3625('0xa0')]['value'])return;if(_0x515a6d[_0x3625('0x101')])return;const _0x1cff30=_0x5dc352[_0x3625('0x71')][_0x3625('0x170')],{start:_0x421682,end:_0x574244}=_0x515a6d[_0x3625('0x20')](),_0x1ebb0f=_0x421682[_0x3625('0x17f')]&&_0x1cff30['isLimit'](_0x421682[_0x3625('0x17f')])?null:_0x1cff30['getNearestSelectionRange'](_0x421682,_0x3625('0x10e')),_0x29fdf6=_0x574244[_0x3625('0x33')]&&_0x1cff30[_0x3625('0xf3')](_0x574244[_0x3625('0x33')])?null:_0x1cff30[_0x3625('0xc')](_0x574244,_0x3625('0x96')),_0x16cd15=_0x5dc352[_0x3625('0x71')][_0x3625('0x14e')](_0x1ebb0f?_0x1ebb0f[_0x3625('0x121')]:_0x421682,_0x29fdf6?_0x29fdf6['end']:_0x574244);_0x5dc352[_0x3625('0x71')][_0x3625('0x152')](_0xc3132=>{this[_0x3625('0x4f')](_0x16cd15);const _0xa4635c=_0x5dc352[_0x3625('0x71')][_0x3625('0x170')][_0x3625('0xc')](_0x16cd15[_0x3625('0x121')]);_0x515a6d['is']('documentSelection')?_0xc3132[_0x3625('0x58')](_0xa4635c):_0x515a6d[_0x3625('0x52')](_0xa4635c);}),_0x71d82b[_0x3625('0xc1')]();},{'priority':_0x33f700[_0x3625('0xf2')]+0xa}),_0x5dc352[_0x3625('0x71')]['on']('insertContent',(_0x19b56e,_0x486f20)=>{const _0xfb6b3=_0x486f20[_0x486f20['length']-0x1];_0xfb6b3&&_0xfb6b3[_0x3625('0x8e')]||this[_0x3625('0x160')]||this['trackChangesCommand']['value']&&(_0x5dc352['model']['change'](()=>{let _0x299f84=_0x5dc352[_0x3625('0x71')]['insertContent'](_0x486f20[0x0],_0x486f20[0x1],_0x486f20[0x2],{'forceDefaultExecution':!0x0});if(!_0x299f84)return;_0x19b56e[_0x3625('0xe1')]=_0x299f84[_0x3625('0x164')]();const _0x53d2f2=_0x299f84[_0x3625('0x8d')][_0x3625('0x33')],_0x2a3010=_0x5dc352[_0x3625('0x71')][_0x3625('0x170')];_0x53d2f2&&_0x2a3010[_0x3625('0x26')](_0x53d2f2)&&!_0x2a3010['isObject'](_0x53d2f2)&&(_0x299f84=_0x5dc352['model'][_0x3625('0x14e')](_0x299f84[_0x3625('0x121')],_0x5dc352[_0x3625('0x71')][_0x3625('0x128')](_0x53d2f2,_0x3625('0x8d')))),this[_0x3625('0x85')](_0x299f84);}),_0x19b56e['stop']());},{'priority':'high'}),this[_0x3625('0x31')][_0x3625('0x49')][_0x3625('0xb0')](_0x3625('0xf1'),this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0xf1a87c=new _0x1fd219(_0x5dc352,this[_0x3625('0x16')]);_0x5dc352[_0x3625('0x49')]['add'](_0x3625('0x10d'),_0xf1a87c),this[_0x3625('0x9')](_0x3625('0x10d'));const _0x460f66=new _0x5aac11(_0x5dc352,this[_0x3625('0x16')]);_0x5dc352['commands'][_0x3625('0xb0')](_0x3625('0xad'),_0x460f66),this['enableCommand'](_0x3625('0xad')),_0x5dc352[_0x3625('0x49')][_0x3625('0xb0')](_0x3625('0x156'),new _0x8c5b71(_0x5dc352,_0xf1a87c,this['_suggestions'])),this[_0x3625('0x9')](_0x3625('0x156')),_0x5dc352[_0x3625('0x49')]['add']('discardAllSuggestions',new _0x8c5b71(_0x5dc352,_0x460f66,this[_0x3625('0x16')])),this[_0x3625('0x9')](_0x3625('0x137')),_0x5dc352[_0x3625('0x49')][_0x3625('0xb0')](_0x3625('0x48'),new _0x260e54(_0x5dc352,_0xf1a87c,this[_0x3625('0x16')])),this[_0x3625('0x9')]('acceptSelectedSuggestions'),_0x5dc352[_0x3625('0x49')][_0x3625('0xb0')](_0x3625('0x157'),new _0x260e54(_0x5dc352,_0x460f66,this[_0x3625('0x16')])),this['enableCommand']('discardSelectedSuggestions');const _0x5e395d=_0x5dc352[_0x3625('0x87')]['get'](_0x3625('0xb6'));this[_0x3625('0xef')](_0x5e395d,_0x3625('0xd6'),(_0x42b0f2,{threadId:_0x4634f9})=>{const _0x38a489=this[_0x3625('0x16')][_0x3625('0x8c')](_0x4634f9);_0x38a489&&_0x38a489[_0x3625('0x110')]&&0x1===_0x38a489['commentThread'][_0x3625('0x169')]&&this[_0x3625('0x61')](_0x4634f9,{'hasComments':!0x0});},{'priority':'low'}),this[_0x3625('0xef')](_0x5e395d,_0x3625('0x9d'),(_0x3af161,{threadId:_0x253492})=>{const _0x3df205=this['_suggestions'][_0x3625('0x8c')](_0x253492);_0x3df205&&_0x3df205[_0x3625('0x110')]&&!_0x3df205[_0x3625('0x110')][_0x3625('0x169')]&&this[_0x3625('0x61')](_0x253492,{'hasComments':!0x1});},{'priority':_0x3625('0xc0')});}set['adapter'](_0x12cf4e){if(this[_0x3625('0x145')])throw new _0x3548d3('track-changes-adapter-already-set',this);this[_0x3625('0x145')]=_0x12cf4e;}get[_0x3625('0xa8')](){return this[_0x3625('0x145')];}['getSuggestions']({skipNotAttached:_0x30f85b=!0x1,toJSON:_0x362bf0=!0x1}={}){const _0x30dceb=[];for(const _0x3be6f2 of this['_suggestions'][_0x3625('0x12e')]())_0x30f85b&&!_0x3be6f2[_0x3625('0x154')]||_0x30dceb['push'](_0x3be6f2);return _0x362bf0?_0x30dceb[_0x3625('0x125')](_0x55cb90=>_0x55cb90[_0x3625('0xaa')]()):_0x30dceb;}[_0x3625('0x175')](_0x55c05e){const _0x572261=this[_0x3625('0x16')][_0x3625('0x8c')](_0x55c05e);if(!_0x572261)throw new _0x3548d3(_0x3625('0x173'),this);return _0x572261;}[_0x3625('0x17a')](_0x39b539){return this['_suggestions']['has'](_0x39b539);}[_0x3625('0x17b')](_0x1f6a81){const {authorId:_0x22d85a,id:_0x3d2723,attributes:_0x32a12e}=_0x1f6a81,[_0x549288,_0x53a88d]=_0x1f6a81['type'][_0x3625('0x149')](':'),_0xe3db9=this[_0x3625('0x16')][_0x3625('0x8c')](_0x3d2723)||this[_0x3625('0x5e')](_0x549288,_0x53a88d,_0x3d2723,_0x22d85a,_0x32a12e);if(this['_addThreadToSuggestion'](_0xe3db9),this['_checkSuggestionCorrectness'](_0xe3db9,_0x549288,_0x53a88d||null,_0x22d85a),_0xe3db9['createdAt']=_0x1f6a81[_0x3625('0x10b')],_0xe3db9[_0x3625('0x141')]=!0x0,_0x32a12e&&_0x32a12e[_0x3625('0xff')]){const _0xd87efb=_0x32a12e['@external'],_0x45f59c=this['_getExternalAuthor'](_0xd87efb[_0x3625('0x6b')]);_0xe3db9[_0x3625('0x140')]=_0xd87efb['createdAt'],_0xe3db9['author']=_0x45f59c,_0xe3db9['isExternal']=!0x0;}else _0xe3db9[_0x3625('0x140')]=_0x1f6a81[_0x3625('0x10b')];switch(_0x1f6a81[_0x3625('0x168')]&&(_0xe3db9['data']=_0x1f6a81[_0x3625('0x168')]),_0x1f6a81['attributes']&&(_0xe3db9['attributes']=_0x1f6a81[_0x3625('0x11d')]),this[_0x3625('0x145')]&&this['_adapter'][_0x3625('0xf5')]||(_0xe3db9[_0x3625('0x17e')]=!0x0),this['_suggestionState']['get'](_0xe3db9)){case _0x3625('0x15'):this[_0x3625('0xbe')][_0x3625('0xf9')](_0xe3db9,_0x3625('0x8'));break;case'markerReady':_0xe3db9['isInContent']?(this[_0x3625('0x16a')](new Set([_0xe3db9])),this[_0x3625('0xf6')](new Set([_0xe3db9])),this[_0x3625('0xbe')][_0x3625('0xf9')](_0xe3db9,_0x3625('0xbc')),this[_0x3625('0xd4')](_0x3625('0x4e'),_0xe3db9)):this[_0x3625('0xbe')]['set'](_0xe3db9,_0x3625('0x98'));}return _0xe3db9;}[_0x3625('0x10d')](_0x44d29e){this[_0x3625('0x8e')](()=>{this[_0x3625('0x31')][_0x3625('0x71')][_0x3625('0x152')](()=>{for(const _0x2aa884 of _0x44d29e[_0x3625('0xb7')]())_0x2aa884[_0x3625('0x41')]();});});}[_0x3625('0xad')](_0x2b8e65){this[_0x3625('0x8e')](()=>{this[_0x3625('0x31')][_0x3625('0x71')][_0x3625('0x152')](()=>{for(const _0x270a90 of _0x2b8e65[_0x3625('0xb7')]())_0x270a90[_0x3625('0x139')]();});});}['enableCommand'](_0x292c15,_0x2c56e8){const _0x15e35f=this[_0x3625('0x31')][_0x3625('0x49')][_0x3625('0x8c')](_0x292c15);if(!_0x15e35f)throw new _0x3548d3(_0x3625('0x47'),this,{'commandName':_0x292c15});if(this['_enabledCommands'][_0x3625('0x130')](_0x15e35f))throw new _0x3548d3(_0x3625('0x22'),this,{'commandName':_0x292c15});this[_0x3625('0x127')][_0x3625('0xb0')](_0x15e35f),_0x2c56e8&&_0x15e35f['on'](_0x3625('0x13'),(_0x2a207c,_0x11b7b2)=>{this[_0x3625('0xa0')][_0x3625('0x138')]&&(this[_0x3625('0x160')]||(_0x11b7b2[_0x3625('0x169')]>0x0&&_0x11b7b2[_0x11b7b2[_0x3625('0x169')]-0x1]&&_0x11b7b2[_0x11b7b2[_0x3625('0x169')]-0x1][_0x3625('0x8e')]?_0x11b7b2[_0x3625('0x6c')]():(_0x2a207c[_0x3625('0xe1')]=_0x2c56e8((..._0x559746)=>_0x15e35f[_0x3625('0x13')](..._0x559746,{'forceDefaultExecution':!0x0}),..._0x11b7b2),_0x2a207c[_0x3625('0xc1')]())));},{'priority':_0x3625('0xd7')});}[_0x3625('0x8e')](_0x45f866){let _0x54fb97,_0x3257d8;const _0x564aa3=this[_0x3625('0x160')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x54fb97=_0x45f866();}catch(_0x4b8522){_0x3257d8=_0x4b8522;}return _0x564aa3||(this[_0x3625('0x160')]=!0x1),_0x3257d8&&_0x3548d3[_0x3625('0x7b')](_0x3257d8,this),_0x54fb97;}['markInsertion'](_0x3c319f,_0x426dfe=null,_0x5bb11b={}){if(_0x3c319f[_0x3625('0x101')])return null;const _0x2270df=this['editor'][_0x3625('0x87')]['get'](_0x3625('0x8a'))['me'];for(const {suggestion:_0x23a38d,meta:_0x34d885}of this[_0x3625('0x16f')](_0x3c319f,'insertion'))if(_0x34d885[_0x3625('0x1c')]){if(!_0x34d885['isNextTo']){if(_0x34d885[_0x3625('0x7')]){if(!this['_mergeNestedSuggestions']||!Ft(_0x23a38d,_0x5bb11b))continue;return _0x23a38d;}if(Ft(_0x23a38d,_0x5bb11b))return _0x23a38d;this['_breakSuggestionMarker'](_0x23a38d,_0x3c319f[_0x3625('0x121')],_0x3c319f[_0x3625('0x8d')]);break;}if(_0x426dfe==_0x23a38d[_0x3625('0x165')]&&Ft(_0x23a38d,_0x5bb11b)){const _0x1385b9=_0x23a38d['getFirstRange']();return _0x1385b9['start'][_0x3625('0xd2')](_0x3c319f[_0x3625('0x8d')])?this['_setSuggestionRange'](_0x23a38d,this[_0x3625('0xb5')][_0x3625('0x14e')](_0x3c319f[_0x3625('0x121')],_0x1385b9[_0x3625('0x8d')])):this[_0x3625('0x16b')](_0x23a38d,this[_0x3625('0xb5')]['createRange'](_0x1385b9[_0x3625('0x121')],_0x3c319f[_0x3625('0x8d')])),_0x23a38d;}}const _0x26dcdb=_0xfa15dc(),_0x3d55f2=_0x2270df['id'],_0x6af516=_0x426dfe?_0x3625('0xe9')+_0x426dfe:_0x3625('0x5f'),_0x355321=this[_0x3625('0x11f')]({'id':_0x26dcdb,'type':_0x6af516,'createdAt':new Date(),'authorId':_0x3d55f2,'attributes':_0x5bb11b});return this[_0x3625('0x11b')](_0x6af516,_0x26dcdb,_0x3d55f2,_0x3c319f),_0x355321;}['markMultiRangeInsertion'](_0x4da795,_0x21495c=_0x3625('0x94'),_0x2eafc3={}){const _0x57e982=this[_0x3625('0x31')][_0x3625('0x87')][_0x3625('0x8c')]('Users')['me'],_0x171d2e=this[_0x3625('0xd5')]['getSuggestionCallback'](_0x3625('0x5f'),_0x21495c,_0x3625('0x1e'));for(const _0x203ea3 of this[_0x3625('0x6f')]())if(_0x203ea3[_0x3625('0x16e')]['id']==_0x57e982['id']&&'insertion'==_0x203ea3['type']&&_0x203ea3[_0x3625('0x165')]==_0x21495c&&Ft(_0x203ea3,_0x2eafc3)&&(_0x171d2e(_0x203ea3[_0x3625('0x1f')](),_0x4da795)||_0x171d2e(_0x4da795,_0x203ea3[_0x3625('0x1f')]()))){for(const _0x4d85ac of _0x4da795)_0x203ea3[_0x3625('0x163')](_0x4d85ac);return _0x203ea3;}for(const {suggestion:_0x2a8ae4,meta:_0x22db6a}of this[_0x3625('0x16f')](_0x4da795,_0x3625('0x5f'))){if(!_0x22db6a[_0x3625('0x1c')])continue;if(!this['_mergeNestedSuggestions']&&_0x22db6a['containsRangeInObject'])continue;if(!Ft(_0x2a8ae4,_0x2eafc3))continue;let _0x15f1cc=!0x0;for(const _0x44c872 of _0x2a8ae4['getRanges']())for(const _0x153e18 of _0x4da795)if(!_0x44c872[_0x3625('0x54')](_0x153e18)){_0x15f1cc=!0x1;break;}if(_0x15f1cc)return _0x2a8ae4;}const _0x352882=_0xfa15dc(),_0x4c38c9=_0x57e982['id'],_0xaa7d32=_0x3625('0xe9')+_0x21495c,_0x4dac18=this[_0x3625('0x11f')]({'id':_0x352882,'type':_0xaa7d32,'createdAt':new Date(),'authorId':_0x4c38c9,'attributes':_0x2eafc3});for(const _0x14f2d8 of _0x4da795)this['_addSuggestionMarker'](_0xaa7d32,_0x352882,_0x4c38c9,_0x14f2d8,_0x3439e5['getMultiRangeId']());return _0x4dac18;}[_0x3625('0x3f')](_0x8de362,_0x5b591a,_0x4b7007=null,_0x25a9a3={}){if(_0x4b7007=_0x4b7007||Rt(_0x5b591a),_0x8de362[_0x3625('0x101')])return null;if(_0x3625('0x86')===this[_0x3625('0x9b')]){const _0xc97721=this[_0x3625('0xd5')]['getSuggestionCallback'](_0x3625('0x14d'),_0x4b7007,'accept');return this[_0x3625('0x8e')](()=>_0xc97721([_0x8de362],_0x5b591a,_0x25a9a3)),null;}const _0x4f4584=this['editor'][_0x3625('0x87')][_0x3625('0x8c')](_0x3625('0x8a'))['me'],_0x3ea912=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x3c2938,meta:_0x4a4edf}of this[_0x3625('0x16f')](_0x8de362,_0x3625('0x5f')))_0x4a4edf[_0x3625('0x1c')]&&!_0x4a4edf[_0x3625('0x11a')]&&_0x3ea912[_0x3625('0x12d')](..._0x3c2938[_0x3625('0x1f')]());const _0x4f1920=function(_0x1a0f46,_0x4c2f76){const _0x16aca4=[];for(const _0x5b9ea8 of _0x4c2f76){const _0x29e78a=_0x1a0f46[_0x3625('0x15b')](_0x5b9ea8);_0x29e78a&&_0x16aca4[_0x3625('0x12d')](_0x29e78a);}return _0x16aca4;}(_0x8de362,_0x3ea912),_0x444f18=function(_0x18e550,_0x471fff){const _0x534cf9=[_0x18e550];for(const _0x546567 of _0x471fff){let _0x430f96=0x0;for(;_0x430f96<_0x534cf9['length'];){const _0x40280c=_0x534cf9[_0x430f96][_0x3625('0x34')](_0x546567);_0x534cf9[_0x3625('0x62')](_0x430f96,0x1,..._0x40280c),_0x430f96+=_0x40280c[_0x3625('0x169')];}}return _0x534cf9;}(_0x8de362,_0x3ea912);_0x4f1920[_0x3625('0x169')]&&this[_0x3625('0xb5')][_0x3625('0x152')](()=>{for(const _0x246950 of _0x4f1920){const _0x4739cd=this[_0x3625('0xd5')][_0x3625('0xbd')](_0x3625('0x14d'),_0x4b7007,'accept');this['forceDefaultExecution'](()=>_0x4739cd([_0x246950],_0x5b591a,_0x25a9a3));}});for(const _0x1f32fc of _0x444f18){let _0x58ebe6=null,_0x359da3=_0x1f32fc['start'],_0x2569f0=_0x1f32fc[_0x3625('0x8d')];for(const {suggestion:_0x2e6694,meta:_0x5f0050}of this[_0x3625('0x16f')](_0x1f32fc,_0x3625('0x14d'))){if(!_0x5f0050[_0x3625('0x1c')])continue;if(_0x2e6694[_0x3625('0x165')]!=_0x4b7007)continue;if(!Ft(_0x2e6694,_0x25a9a3))continue;const _0x33eac2=_0x2e6694[_0x3625('0x20')]();if(_0x33eac2['containsRange'](_0x1f32fc,!0x0))return null;_0x359da3=_0x359da3[_0x3625('0x124')](_0x33eac2[_0x3625('0x121')])?_0x359da3:_0x33eac2[_0x3625('0x121')],_0x2569f0=_0x2569f0[_0x3625('0x3d')](_0x33eac2['end'])?_0x2569f0:_0x33eac2[_0x3625('0x8d')],_0x58ebe6?_0x33eac2['start'][_0x3625('0x124')](_0x58ebe6[_0x3625('0x20')]()[_0x3625('0x121')])?(_0x58ebe6[_0x3625('0xdb')](),_0x58ebe6=_0x2e6694):_0x2e6694[_0x3625('0xdb')]():_0x58ebe6=_0x2e6694;}const _0x1848b1=this[_0x3625('0xb5')][_0x3625('0x14e')](_0x359da3,_0x2569f0);if(_0x58ebe6)this['_setSuggestionRange'](_0x58ebe6,_0x1848b1);else{const _0x3e5d9d=_0xfa15dc(),_0x196d48=_0x4f4584['id'];this['_setSuggestionData']({'id':_0x3e5d9d,'type':_0x3625('0xa')+_0x4b7007,'data':_0x5b591a,'createdAt':new Date(),'authorId':_0x196d48,'attributes':_0x25a9a3}),this['_addSuggestionMarker'](_0x3625('0xa')+_0x4b7007,_0x3e5d9d,_0x196d48,_0x1848b1);}}return null;}[_0x3625('0x10a')](_0x5df38e,_0x56e5cf,_0x139b30=[],_0x5d21d7=null,_0x57f045={}){_0x56e5cf[_0x3625('0x44')]||(_0x56e5cf['formatGroupId']=_0x56e5cf[_0x3625('0xfe')]),_0x56e5cf[_0x3625('0x4d')]=_0x5df38e['is'](_0x3625('0xc6')),_0x5d21d7=_0x5d21d7||Rt(_0x56e5cf);const _0x524c73=_0x139b30[_0x3625('0x125')](_0x1ad843=>Ut(_0x1ad843,this['_model'])),_0x3dcdb2=_0x5df38e['is']('range')?_0x5df38e:Ut(_0x5df38e,this[_0x3625('0xb5')]);if('never'===this[_0x3625('0x9b')]){const _0x5ef640=this[_0x3625('0xd5')][_0x3625('0xbd')](_0x3625('0xde'),_0x5d21d7,_0x3625('0x41'));return this[_0x3625('0x8e')](()=>_0x5ef640([_0x3dcdb2],_0x56e5cf,_0x57f045)),null;}_0x524c73['push'](_0x3dcdb2);let _0x21d9bd=!0x0;for(const _0x27c41a of _0x524c73)if(!this['_rangeIsInLocalUserInsertion'](_0x27c41a)){_0x21d9bd=!0x1;break;}if(_0x21d9bd&&_0x3625('0x12c')!==this[_0x3625('0x9b')]){const _0x416197=this[_0x3625('0xd5')][_0x3625('0xbd')]('formatBlock',_0x5d21d7,'accept');return this[_0x3625('0x8e')](()=>_0x416197([_0x3dcdb2],_0x56e5cf,_0x57f045)),null;}let _0x357548=null,_0x34d44b=_0x3dcdb2[_0x3625('0x121')],_0x1c73e0=_0x3dcdb2[_0x3625('0x8d')];for(const {suggestion:_0x508158,meta:_0x555653}of this[_0x3625('0x16f')](_0x3dcdb2,_0x3625('0xde'))){if(!_0x555653[_0x3625('0x1c')])continue;if(_0x555653[_0x3625('0xb2')]||_0x555653[_0x3625('0x7')]||_0x555653[_0x3625('0x11a')])continue;if(_0x508158[_0x3625('0x168')][_0x3625('0x44')]!=_0x56e5cf['formatGroupId'])continue;if(!Ft(_0x508158,_0x57f045))continue;const _0x5a8730=_0x508158[_0x3625('0x20')]();if(_0x508158[_0x3625('0x165')]==_0x5d21d7){if(_0x5a8730[_0x3625('0x54')](_0x3dcdb2,!0x0))return null;_0x34d44b=_0x34d44b[_0x3625('0x124')](_0x5a8730[_0x3625('0x121')])?_0x34d44b:_0x5a8730[_0x3625('0x121')],_0x1c73e0=_0x1c73e0[_0x3625('0x3d')](_0x5a8730[_0x3625('0x8d')])?_0x1c73e0:_0x5a8730[_0x3625('0x8d')],_0x357548?_0x5a8730['start']['isBefore'](_0x357548[_0x3625('0x20')]()[_0x3625('0x121')])?(_0x357548[_0x3625('0xdb')](),_0x357548=_0x508158):_0x508158['removeMarkers']():_0x357548=_0x508158;}else{const _0xe9e59=_0x3dcdb2[_0x3625('0x15b')](_0x5a8730);this[_0x3625('0x114')](_0x508158,_0xe9e59);}}const _0x28f9cb=this[_0x3625('0x31')][_0x3625('0x87')]['get'](_0x3625('0x8a'))['me'],_0x50cf8a=_0xfa15dc(),_0x2b8eb4=_0x28f9cb['id'];if(_0x357548)return this[_0x3625('0x16b')](_0x357548,this['_model'][_0x3625('0x14e')](_0x34d44b,_0x1c73e0)),_0x357548;{const _0xdc1804=this['_setSuggestionData']({'id':_0x50cf8a,'type':_0x3625('0x3e')+_0x5d21d7,'data':_0x56e5cf,'createdAt':new Date(),'authorId':_0x2b8eb4,'attributes':_0x57f045});return this[_0x3625('0x11b')](_0x3625('0x3e')+_0x5d21d7,_0x50cf8a,_0x2b8eb4,this[_0x3625('0xb5')][_0x3625('0x14e')](_0x34d44b,_0x1c73e0)),_0xdc1804;}}[_0x3625('0x148')](_0x1c97d6,_0x217c81,_0x3a0f22=[],_0x565094=null,_0x5ae8ef={}){_0x217c81[_0x3625('0x44')]||(_0x217c81[_0x3625('0x44')]=_0x217c81[_0x3625('0xfe')]);const _0x27bacd=_0x1c97d6[0x0];_0x217c81[_0x3625('0x4d')]=_0x27bacd['is'](_0x3625('0xc6')),_0x565094=_0x565094||Rt(_0x217c81);const _0x591e5f=_0x3a0f22['map'](_0x300e2e=>Ut(_0x300e2e,this[_0x3625('0xb5')])),_0x1410d2=_0x27bacd['is']('range')?_0x1c97d6:_0x1c97d6[_0x3625('0x125')](_0x4b4941=>Ut(_0x4b4941,this[_0x3625('0xb5')]));if(_0x3625('0x86')===this[_0x3625('0x9b')]){const _0x26cae5=this[_0x3625('0xd5')][_0x3625('0xbd')]('formatBlock',_0x565094,_0x3625('0x41'));return this['forceDefaultExecution'](()=>_0x26cae5(_0x1410d2,_0x217c81,_0x5ae8ef)),null;}_0x591e5f[_0x3625('0x12d')](..._0x1410d2);let _0x9761b5=!0x0;for(const _0x582308 of _0x591e5f)if(!this['_rangeIsInLocalUserInsertion'](_0x582308)){_0x9761b5=!0x1;break;}if(_0x9761b5&&_0x3625('0x12c')!==this[_0x3625('0x9b')]){const _0x7c2d39=this[_0x3625('0xd5')][_0x3625('0xbd')](_0x3625('0xde'),_0x565094,'accept');return this[_0x3625('0x8e')](()=>_0x7c2d39(_0x1410d2,_0x217c81,_0x5ae8ef)),null;}const _0x585ef8=this['editor'][_0x3625('0x87')][_0x3625('0x8c')](_0x3625('0x8a'))['me'];for(const _0x34bbfa of this['getSuggestions']()){if(_0x34bbfa[_0x3625('0x16e')]['id']!=_0x585ef8['id'])continue;if(_0x3625('0xde')!=_0x34bbfa[_0x3625('0xba')]||_0x34bbfa[_0x3625('0x168')][_0x3625('0x44')]!=_0x217c81[_0x3625('0x44')])continue;if(!Ft(_0x34bbfa,_0x5ae8ef))continue;const _0x323767=_0x34bbfa[_0x3625('0x165')]==_0x565094;for(let _0x2ce54a=0x0;_0x2ce54a<_0x1410d2[_0x3625('0x169')];_0x2ce54a++){const _0x71b7af=_0x1410d2[_0x2ce54a];for(const _0x432c63 of _0x34bbfa['getMarkers']()){const _0x2e82b3=_0x432c63[_0x3625('0xed')]();if(_0x71b7af[_0x3625('0xd2')](_0x2e82b3)){_0x323767?(_0x1410d2['splice'](_0x2ce54a,0x1),_0x2ce54a--):_0x34bbfa[_0x3625('0x10c')](_0x432c63['name']);break;}}}}if(0x0==_0x1410d2[_0x3625('0x169')])return null;const _0x3b616a=this['_suggestionFactory']['getSuggestionCallback'](_0x3625('0xde'),_0x565094,_0x3625('0x1e'));for(const _0xefc0f6 of this[_0x3625('0x6f')]())if(_0xefc0f6['author']['id']==_0x585ef8['id']&&_0x3625('0xde')==_0xefc0f6[_0x3625('0xba')]&&_0xefc0f6[_0x3625('0x168')][_0x3625('0x44')]==_0x217c81['formatGroupId']&&_0xefc0f6[_0x3625('0x165')]==_0x565094&&Ft(_0xefc0f6,_0x5ae8ef)&&(_0x3b616a(_0xefc0f6[_0x3625('0x1f')](),_0x1410d2)||_0x3b616a(_0x1410d2,_0xefc0f6['getRanges']()))){for(const _0x20f444 of _0x1410d2)_0xefc0f6[_0x3625('0x163')](_0x20f444);return _0xefc0f6;}const _0x3ce06e=_0xfa15dc(),_0x51f188=_0x585ef8['id'],_0x4354d2='formatBlock:'+_0x565094,_0x529ba8=this[_0x3625('0x11f')]({'id':_0x3ce06e,'type':_0x4354d2,'data':_0x217c81,'createdAt':new Date(),'authorId':_0x51f188,'attributes':_0x5ae8ef});for(const _0x3b1a49 of _0x1410d2)this[_0x3625('0x11b')](_0x4354d2,_0x3ce06e,_0x51f188,_0x3b1a49,_0x3439e5[_0x3625('0xe2')]());return _0x529ba8;}[_0x3625('0x4f')](_0x536865,_0x2a85f9=null,_0x5369c8={}){if(_0x536865[_0x3625('0x101')])return null;const _0x4b4593=this[_0x3625('0x31')][_0x3625('0x87')][_0x3625('0x8c')](_0x3625('0x8a'))['me'],_0x2d6ee9=new _0x149eb5(_0x536865[_0x3625('0x121')],_0x536865[_0x3625('0x8d')]);for(const {suggestion:_0x5185c9,meta:_0x26cd09}of this[_0x3625('0x16f')](_0x2d6ee9,'insertion'))if(_0x26cd09[_0x3625('0x1c')]&&!_0x26cd09[_0x3625('0xb2')]){if(_0x5185c9['isMultiRange']){const _0x224801=_0x5185c9[_0x3625('0x1f')]()[_0x3625('0x63')](_0x32af8a=>_0x3625('0x74')!=_0x32af8a['root'][_0x3625('0x179')]);_0x224801[_0x3625('0x3b')](_0x5bdf35=>_0x2d6ee9[_0x3625('0x54')](_0x5bdf35,!0x0))&&_0x5185c9[_0x3625('0x139')]();if(_0x224801[_0x3625('0xdf')](_0x1f19ec=>_0x1f19ec[_0x3625('0x54')](_0x2d6ee9,!0x0))){const _0x2ae115=this[_0x3625('0xd5')][_0x3625('0xbd')](_0x3625('0x155'),_0x2a85f9,'accept');return this[_0x3625('0x8e')](()=>_0x2ae115([_0x2d6ee9],null,_0x5369c8)),null;}}else{const _0x102681=_0x2d6ee9[_0x3625('0x15b')](_0x5185c9[_0x3625('0x20')]());null!==_0x102681&&_0x5185c9[_0x3625('0x1d')]([_0x102681],null,_0x5369c8);}}if(_0x2d6ee9[_0x3625('0x7a')](),_0x2d6ee9['isCollapsed']||_0x3625('0x74')==_0x2d6ee9['root'][_0x3625('0x179')])return null;let _0x6142f5=null,_0x49d488=_0x2d6ee9[_0x3625('0x121')],_0x5cf4d2=_0x2d6ee9[_0x3625('0x8d')];const _0x423372=this[_0x3625('0x16f')](_0x2d6ee9,'deletion');for(const {suggestion:_0x21dd44,meta:_0xa33bef}of _0x423372){const _0x31302c=this['_model'][_0x3625('0x14e')](_0x49d488,_0x5cf4d2);if(_0xa33bef[_0x3625('0x1c')]&&(this[_0x3625('0x13b')]||!_0xa33bef[_0x3625('0x7')]&&!_0xa33bef['isInsideObject'])){if(_0x21dd44['isMultiRange']){if(!Ft(_0x21dd44,_0x5369c8))continue;let _0x3ad718=!0x0;for(const _0x1165b2 of _0x21dd44[_0x3625('0x1f')]()){if(_0x1165b2[_0x3625('0x54')](_0x31302c,!0x0))return _0x21dd44;_0x31302c[_0x3625('0x54')](_0x1165b2)||(_0x3ad718=!0x1);}_0x3ad718&&_0x21dd44[_0x3625('0x139')]();}else{const _0x146d6f=_0x21dd44['getFirstRange']();if(_0x146d6f['containsRange'](_0x31302c,!0x0))return _0x21dd44;if(!Ft(_0x21dd44,_0x5369c8)){_0x31302c[_0x3625('0x54')](_0x146d6f)?_0x21dd44[_0x3625('0xdb')]():_0x146d6f[_0x3625('0xc5')](_0x49d488)?_0x49d488=_0x146d6f['end']:_0x146d6f[_0x3625('0xc5')](_0x5cf4d2)&&(_0x5cf4d2=_0x146d6f[_0x3625('0x121')]);continue;}_0x49d488=_0x49d488['isBefore'](_0x146d6f[_0x3625('0x121')])?_0x49d488:_0x146d6f['start'],_0x5cf4d2=_0x5cf4d2[_0x3625('0x3d')](_0x146d6f[_0x3625('0x8d')])?_0x5cf4d2:_0x146d6f[_0x3625('0x8d')],_0x5369c8=Object[_0x3625('0xc2')]({},_0x21dd44[_0x3625('0x11d')]),_0x6142f5?_0x146d6f['start'][_0x3625('0x124')](_0x6142f5[_0x3625('0x20')]()['start'])?(_0x6142f5[_0x3625('0xdb')](),_0x6142f5=_0x21dd44):_0x21dd44['removeMarkers']():_0x6142f5=_0x21dd44;}}}if(_0x6142f5)return this[_0x3625('0x16b')](_0x6142f5,this[_0x3625('0xb5')][_0x3625('0x14e')](_0x49d488,_0x5cf4d2)),_0x6142f5;{const _0x42277b=_0xfa15dc(),_0x1d0837=this[_0x3625('0xb5')][_0x3625('0x14e')](_0x49d488,_0x5cf4d2),_0x79be0b=_0x4b4593['id'],_0xf3220f=_0x2a85f9?'deletion:'+_0x2a85f9:_0x3625('0x155'),_0x374000=this[_0x3625('0x11f')]({'id':_0x42277b,'type':_0xf3220f,'createdAt':new Date(),'authorId':_0x79be0b,'attributes':_0x5369c8});return this['_addSuggestionMarker'](_0xf3220f,_0x42277b,_0x79be0b,_0x1d0837),_0x374000;}}[_0x3625('0x11')](_0xe778ea,_0x71f333='multi',_0x67435c={}){const _0x30f0e0=this[_0x3625('0x31')]['plugins'][_0x3625('0x8c')](_0x3625('0x8a'))['me'],_0x35b4c5=_0xe778ea[_0x3625('0x125')](_0x4afaa6=>new _0x149eb5(_0x4afaa6['start'],_0x4afaa6['end'])),_0x3a4119=new Set();for(const {suggestion:_0x13cef6,meta:_0x323bd7}of this[_0x3625('0x16f')](_0x35b4c5,_0x3625('0x5f')))_0x323bd7['isOwn']&&!_0x323bd7[_0x3625('0xb2')]&&_0x3a4119[_0x3625('0xb0')](_0x13cef6);for(const _0x1c8e05 of _0x3a4119)if(_0x1c8e05['isMultiRange']){const _0x228cd3=_0x1c8e05[_0x3625('0x1f')]();(!_0x1c8e05[_0x3625('0x11d')]||!_0x1c8e05['attributes'][_0x3625('0x2c')])&&(_0x228cd3[_0x3625('0x3b')](_0x3dc49c=>_0x35b4c5['some'](_0x716b1=>_0x716b1['containsRange'](_0x3dc49c,!0x0)))&&_0x1c8e05['discard']());if(_0x35b4c5['every'](_0x1f2ad2=>_0x228cd3['some'](_0x1e23c5=>_0x1e23c5[_0x3625('0x54')](_0x1f2ad2,!0x0)))){const _0x25f77e=this['_suggestionFactory'][_0x3625('0xbd')]('deletion',_0x71f333,_0x3625('0x41'));return this['forceDefaultExecution'](()=>_0x25f77e(_0xe778ea,null,_0x67435c)),null;}}else{const _0x22569d=_0x1c8e05[_0x3625('0x20')]();_0x35b4c5[_0x3625('0xdf')](_0x1ca617=>_0x1ca617['containsRange'](_0x22569d,!0x0))&&_0x1c8e05[_0x3625('0x139')]();if(_0x35b4c5[_0x3625('0x3b')](_0x7f0376=>_0x22569d[_0x3625('0x54')](_0x7f0376,!0x0))){const _0x433a99=this[_0x3625('0xd5')][_0x3625('0xbd')]('deletion',_0x71f333,_0x3625('0x41'));return this['forceDefaultExecution'](()=>_0x433a99(_0x35b4c5,null,_0x67435c)),null;}}const _0x28e59c=this[_0x3625('0xd5')][_0x3625('0xbd')]('deletion',_0x71f333,_0x3625('0x1e'));let _0x534710=null;for(const _0x4ffaac of this['getSuggestions']())if(_0x4ffaac['author']['id']==_0x30f0e0['id']&&_0x4ffaac[_0x3625('0x154')]&&_0x3625('0x155')==_0x4ffaac[_0x3625('0xba')]&&_0x4ffaac[_0x3625('0x165')]==_0x71f333&&Ft(_0x4ffaac,_0x67435c)&&(_0x28e59c(_0x4ffaac[_0x3625('0x1f')](),_0x35b4c5)||_0x28e59c(_0x35b4c5,_0x4ffaac['getRanges']()))){if(_0x534710){if(_0x4ffaac[_0x3625('0x110')]&&_0x4ffaac[_0x3625('0x110')][_0x3625('0x169')])continue;for(const _0x5982e0 of _0x4ffaac[_0x3625('0x1f')]())_0x534710[_0x3625('0x118')](_0x5982e0)||_0x534710[_0x3625('0x163')](_0x5982e0);_0x4ffaac[_0x3625('0xdb')]();}else{_0x534710=_0x4ffaac;for(const _0x57aa1f of _0x35b4c5)_0x4ffaac[_0x3625('0x118')](_0x57aa1f)||_0x4ffaac[_0x3625('0x163')](_0x57aa1f);}}if(_0x534710)return _0x534710;_0x3a4119[_0x3625('0x99')]();for(const {suggestion:_0x576dfc,meta:_0x1c58a2}of this[_0x3625('0x16f')](_0x35b4c5,_0x3625('0x155')))_0x1c58a2['isOwn']&&(this[_0x3625('0x13b')]||!_0x1c58a2[_0x3625('0x7')]&&!_0x1c58a2[_0x3625('0x11a')])&&Ft(_0x576dfc,_0x67435c)&&_0x3a4119['add'](_0x576dfc);for(const _0x7d122d of _0x3a4119){const _0x2b8732=_0x7d122d[_0x3625('0x1f')]();if(!_0x67435c||!_0x67435c[_0x3625('0x2c')]){if(_0x35b4c5['every'](_0x35cd0e=>_0x2b8732[_0x3625('0xdf')](_0x1c6906=>_0x1c6906[_0x3625('0x54')](_0x35cd0e,!0x0))))return _0x7d122d;}(!_0x7d122d['attributes']||!_0x7d122d[_0x3625('0x11d')][_0x3625('0x2c')])&&(_0x2b8732[_0x3625('0x3b')](_0x44c631=>_0x35b4c5[_0x3625('0xdf')](_0x4bc83e=>_0x4bc83e['containsRange'](_0x44c631,!0x0)))&&_0x7d122d[_0x3625('0x139')]());}const _0x4cf908=_0xfa15dc(),_0xf8b55b=_0x30f0e0['id'],_0x3e28e1='deletion:'+_0x71f333,_0x3c2bb6=this[_0x3625('0x11f')]({'id':_0x4cf908,'type':_0x3e28e1,'createdAt':new Date(),'authorId':_0xf8b55b,'attributes':_0x67435c});for(const _0x55a215 of _0x35b4c5)_0x55a215[_0x3625('0x7a')](),_0x55a215[_0x3625('0x101')]||_0x3625('0x74')==_0x55a215['root'][_0x3625('0x179')]||this[_0x3625('0x11b')](_0x3e28e1,_0x4cf908,_0xf8b55b,_0x55a215,_0x3439e5[_0x3625('0xe2')]());return _0x3c2bb6;}[_0x3625('0x88')](_0x599f60,_0x5c15f1,_0x29bad9,_0x286406,_0x29c47b){if(_0x599f60[_0x3625('0x101')])return[];if(_0x3625('0x86')===this['_trackFormatChanges'])return[];const _0x34104f=this[_0x3625('0x31')][_0x3625('0x87')]['get'](_0x3625('0x8a'))['me']['id'],_0x449b23=Array[_0x3625('0xca')](this['_suggestions'][_0x3625('0x12e')]())[_0x3625('0x63')](_0x531f47=>_0x3625('0xbb')==_0x531f47[_0x3625('0xba')]&&_0x531f47['data'][_0x3625('0x3a')]==_0x5c15f1&&_0x531f47[_0x3625('0x118')](_0x599f60));if('default'===this[_0x3625('0x9b')]){const _0x486faf=this[_0x3625('0x16f')](_0x599f60,_0x3625('0x5f'))['filter'](({meta:_0x1b8e9e})=>_0x1b8e9e[_0x3625('0x1c')]&&!_0x1b8e9e['isInsideObject']&&!_0x1b8e9e['isNextTo'])[_0x3625('0x125')](({suggestion:_0x264676})=>_0x264676);_0x449b23[_0x3625('0x18')](..._0x486faf);}const _0x56b9e2=new Map([[_0x599f60,_0x29bad9]]);for(const _0x1738d3 of _0x449b23){const _0x4b983d='attribute'==_0x1738d3[_0x3625('0xba')]?_0x1738d3[_0x3625('0x168')][_0x3625('0x27')]:void 0x0,_0x1a5dfd=_0x1738d3[_0x3625('0x20')](),_0x5d45f3=Array[_0x3625('0xca')](_0x56b9e2[_0x3625('0xb')]())[_0x3625('0x100')](_0x165af9=>_0x165af9[_0x3625('0xcc')](_0x1a5dfd));_0x5d45f3&&(_0x56b9e2['delete'](_0x5d45f3),_0x5d45f3['getDifference'](_0x1a5dfd)['forEach'](_0x38dd3d=>{_0x56b9e2[_0x3625('0xf9')](_0x38dd3d,_0x29bad9);}),'insertion'!=_0x1738d3[_0x3625('0xba')]&&_0x4b983d!=_0x286406&&_0x56b9e2['set'](_0x5d45f3['getIntersection'](_0x1a5dfd),_0x4b983d));}const _0x36af7e=[];for(const [_0x2630f4,_0x2959e6]of _0x56b9e2){const _0x2a7d69=_0xfa15dc(),_0x5ace91={'key':_0x5c15f1,'oldValue':_0x2959e6,'newValue':_0x286406};_0x5c15f1[_0x3625('0x169')]>0x25&&console[_0x3625('0x4c')](_0x3625('0x77'),{'key':_0x5c15f1});const _0xbbcab6=(_0x3625('0x146')+(_0x5c15f1+'|'+Rt({'newValue':_0x286406})))['substring'](0x0,0x3c),_0x16d4bc=this[_0x3625('0x11f')]({'id':_0x2a7d69,'type':_0xbbcab6,'data':_0x5ace91,'createdAt':new Date(),'authorId':_0x34104f,'attributes':_0x29c47b});_0x36af7e[_0x3625('0x12d')](_0x16d4bc),this[_0x3625('0x11b')](_0xbbcab6,_0x2a7d69,_0x34104f,_0x2630f4);}return _0x36af7e;}['_registerBlockAttribute'](_0x1443c0){this[_0x3625('0x144')][_0x3625('0xb0')](_0x1443c0);}[_0x3625('0x177')](_0x2149a2){this[_0x3625('0x13a')]['add'](_0x2149a2);}[_0x3625('0x7e')](_0x35c826,_0x414984=[],_0x5a97a3=[]){this[_0x3625('0x9')](_0x35c826,(_0x255492,..._0x2ac9b0)=>{this[_0x3625('0x103')](()=>{_0x255492(..._0x2ac9b0);});});for(const _0x526099 of _0x414984)this[_0x3625('0x177')](_0x526099);for(const _0x531032 of _0x5a97a3)this['_registerBlockAttribute'](_0x531032);}[_0x3625('0x16b')](_0x24c406,_0x1d91f0){const _0x100a62=_0x24c406[_0x3625('0x28')]();this['_model'][_0x3625('0x152')](_0x38d5df=>{_0x38d5df[_0x3625('0x134')](_0x100a62,{'range':_0x1d91f0});});}[_0x3625('0x143')](_0x23152b){const _0x187b69=_0x23152b['id'],_0x40e071=this[_0x3625('0x31')][_0x3625('0x131')][_0x3625('0x8c')](_0x3625('0x119'));this[_0x3625('0x135')][_0x3625('0xf4')](_0x187b69)||this[_0x3625('0x135')][_0x3625('0x172')]({'channelId':_0x40e071,'threadId':_0x187b69,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x513767=this[_0x3625('0x135')]['getCommentThread'](_0x187b69);_0x513767[_0x3625('0x159')](_0x3625('0x126')),_0x513767[_0x3625('0x126')]=!0x1,_0x23152b[_0x3625('0x110')]=_0x513767;}[_0x3625('0x104')](_0x3dec0a,_0x174e5c,_0x141132,_0x3b98a1){if(_0x3dec0a[_0x3625('0xba')]!=_0x174e5c||_0x3dec0a[_0x3625('0x165')]!=_0x141132||_0x3dec0a['creator']['id']!=_0x3b98a1)throw this['editor'][_0x3625('0x76')](_0x3625('0x15a')),new _0x3548d3(_0x3625('0x15a'),this);}[_0x3625('0x114')](_0x2af833,_0x20faee){const _0x5ec195=_0x2af833[_0x3625('0x20')]();if(_0x20faee['isEqual'](_0x5ec195))_0x2af833[_0x3625('0xdb')]();else{if(_0x5ec195['containsRange'](_0x20faee)){const _0x3cbd64=this[_0x3625('0xb5')][_0x3625('0x128')](_0x20faee[_0x3625('0x121')][_0x3625('0x33')],'end');this[_0x3625('0x16b')](_0x2af833,this['_model']['createRange'](_0x5ec195[_0x3625('0x121')],_0x3cbd64));const _0x3c2cff=_0xfa15dc(),_0xd3f37e=_0x2af833[_0x3625('0xea')]['id'],_0x17c7aa=_0x2af833[_0x3625('0xba')]+':'+_0x2af833[_0x3625('0x165')];this[_0x3625('0x11f')]({'id':_0x3c2cff,'type':_0x17c7aa,'createdAt':new Date(),'authorId':_0xd3f37e,'data':_0x2af833[_0x3625('0x168')],'attributes':_0x2af833[_0x3625('0x11d')]});const _0x3a2095=this[_0x3625('0xb5')][_0x3625('0x128')](_0x20faee[_0x3625('0x8d')][_0x3625('0x171')],'after'),_0x358e4d=this[_0x3625('0xb5')][_0x3625('0x14e')](_0x3a2095,_0x5ec195[_0x3625('0x8d')]);this[_0x3625('0x11b')](_0x17c7aa,_0x3c2cff,_0xd3f37e,_0x358e4d);}else{if(_0x5ec195[_0x3625('0xc5')](_0x20faee[_0x3625('0x121')])){const _0x3661e2=this[_0x3625('0xb5')][_0x3625('0x128')](_0x20faee[_0x3625('0x121')][_0x3625('0x33')],'end');this[_0x3625('0x16b')](_0x2af833,this['_model']['createRange'](_0x5ec195[_0x3625('0x121')],_0x3661e2));}else{const _0x20ea48=this[_0x3625('0xb5')]['createPositionAt'](_0x20faee[_0x3625('0x8d')][_0x3625('0x171')],_0x3625('0x9a'));this['_setSuggestionRange'](_0x2af833,this[_0x3625('0xb5')][_0x3625('0x14e')](_0x20ea48,_0x5ec195['end']));}}}}[_0x3625('0xec')](_0x10bb76){for(const {suggestion:_0x3c5957,meta:_0x3d1e94}of this['_findSuggestions'](_0x10bb76,_0x3625('0x5f'))){if(!_0x3d1e94[_0x3625('0x1c')])continue;const _0x1c4fba=_0x3c5957[_0x3625('0x1f')]();for(const _0x128769 of _0x1c4fba)if(!_0x10bb76[_0x3625('0x34')](_0x128769)[_0x3625('0x169')])return!0x0;}return!0x1;}[_0x3625('0x14c')](_0x2a8a6d){const _0x357f54=this[_0x3625('0x31')]['plugins'][_0x3625('0x8c')](_0x3625('0x8a'))['getUser'](_0x2a8a6d);if(!_0x357f54)throw new _0x3548d3(_0x3625('0x167'),this);return _0x357f54;}[_0x3625('0xc3')](_0x1f029c){const _0x2e420b=this[_0x3625('0x31')][_0x3625('0x87')][_0x3625('0x8c')]('Users'),_0x24c6d5=_0x4e15fe('external:'+_0x1f029c),_0x53759f=_0x2e420b[_0x3625('0x16d')](_0x24c6d5);return _0x53759f||_0x2e420b[_0x3625('0x75')]({'id':_0x24c6d5,'name':_0x1f029c});}[_0x3625('0x5e')](_0x28c61c,_0x37b5e5,_0x205696,_0x51fc93,_0x56d1b6){const _0x1ff33c=this[_0x3625('0x14c')](_0x51fc93),_0x3d75c0=this['_suggestionFactory'][_0x3625('0x95')](_0x28c61c,_0x37b5e5,_0x205696,_0x1ff33c,_0x56d1b6,_0x247a98=>this[_0x3625('0x61')](_0x205696,{'attributes':_0x247a98}));return this['listenTo'](_0x3d75c0,_0x3625('0x41'),()=>{this[_0x3625('0x61')](_0x205696,{'state':'accepted'});},{'priority':'high'}),this[_0x3625('0xef')](_0x3d75c0,_0x3625('0x139'),()=>{this['_updateSuggestionData'](_0x205696,{'state':_0x3625('0x13f')});},{'priority':_0x3625('0xd7')}),this['_suggestions'][_0x3625('0xf9')](_0x205696,_0x3d75c0),this[_0x3625('0xbe')][_0x3625('0xf9')](_0x3d75c0,_0x3625('0x15')),_0x3d75c0;}[_0x3625('0x38')](_0x7ef52d){const _0x47304f=_0x7ef52d[_0x3625('0x149')](':');return{'group':_0x47304f[0x0],'type':_0x47304f[0x1],'subType':_0x47304f['length']>=0x5?_0x47304f[0x2]:null,'id':_0x47304f['length']<0x5?_0x47304f[0x2]:_0x47304f[0x3],'authorId':_0x47304f[_0x3625('0x169')]<0x5?_0x47304f[0x3]:_0x47304f[0x4],'markerCount':0x6==_0x47304f[_0x3625('0x169')]?_0x47304f[0x5]:null};}[_0x3625('0x166')](_0x2983fd,_0x587407,_0x3085f0){const _0x5ca0e8=_0x2983fd[_0x3625('0x20')](),_0xac19a6=_0x5ca0e8[_0x3625('0x121')],_0x247e12=_0x5ca0e8[_0x3625('0x8d')];this['_setSuggestionRange'](_0x2983fd,this['_model'][_0x3625('0x14e')](_0xac19a6,_0x587407));const _0x44d617=_0xfa15dc(),_0x3b99b6=_0x2983fd['creator']['id'],_0x504c02=_0x2983fd[_0x3625('0xba')]+(_0x2983fd['subType']?':'+_0x2983fd[_0x3625('0x165')]:'');this[_0x3625('0x11f')]({'id':_0x44d617,'type':_0x504c02,'createdAt':new Date(),'authorId':_0x3b99b6,'originalSuggestionId':_0x2983fd['id'],'attributes':_0x2983fd[_0x3625('0x11d')],'data':_0x2983fd[_0x3625('0x168')]});const _0x31637f=this[_0x3625('0x67')](_0x2983fd);('formatBlock'==_0x2983fd[_0x3625('0xba')]||_0x31637f&&this['_isBlockAttribute'](_0x31637f))&&(_0x3085f0=this[_0x3625('0xb5')][_0x3625('0x1b')](_0x3085f0[_0x3625('0x171')])),this['_addSuggestionMarker'](_0x504c02,_0x44d617,_0x3b99b6,this[_0x3625('0xb5')][_0x3625('0x14e')](_0x3085f0,_0x247e12));}[_0x3625('0x16f')](_0x45ea26,_0x1b4157=null){const _0x1ded5a=[],_0x36f65f=this[_0x3625('0x31')]['plugins'][_0x3625('0x8c')](_0x3625('0x8a'))['me'];Array[_0x3625('0x25')](_0x45ea26)||(_0x45ea26=[_0x45ea26]);for(const _0x1db59a of this[_0x3625('0x6f')]()){if(!_0x1db59a[_0x3625('0x154')])continue;if(_0x1b4157&&_0x1db59a['type']!=_0x1b4157)continue;let _0xcf3339=!0x1;for(const _0x3f7dd2 of _0x1db59a[_0x3625('0x1f')]()){for(const _0x3a7ce0 of _0x45ea26){const _0x245817=_0x3a7ce0[_0x3625('0x121')][_0x3625('0xd2')](_0x3f7dd2['end'])||_0x3a7ce0[_0x3625('0x8d')]['isEqual'](_0x3f7dd2[_0x3625('0x121')]);if(_0x245817||_0x3a7ce0[_0x3625('0x15b')](_0x3f7dd2)){const _0xa59c9b=_0x3a7ce0[_0x3625('0x54')](_0x3f7dd2)&&Tt(this['_model'][_0x3625('0x170')],_0x3f7dd2[_0x3625('0x121')],_0x3a7ce0),_0x411998=_0x3f7dd2['containsRange'](_0x3a7ce0)&&Tt(this['_model']['schema'],_0x3a7ce0[_0x3625('0x121')],_0x3f7dd2);_0x1ded5a[_0x3625('0x12d')]({'suggestion':_0x1db59a,'meta':{'isOwn':_0x36f65f==_0x1db59a[_0x3625('0x16e')],'isNextTo':_0x245817,'isInsideObject':_0xa59c9b,'containsRangeInObject':_0x411998}}),_0xcf3339=!0x0;break;}}if(_0xcf3339)break;}}return _0x1ded5a;}[_0x3625('0x11b')](_0x19f2e4,_0x5422dc,_0x7f2017,_0x28e77a,_0x19d5a7){this['_model'][_0x3625('0x152')](_0x5c9a92=>{let _0xe14ae7=_0x3625('0x178')+_0x19f2e4+':'+_0x5422dc+':'+_0x7f2017;_0x19d5a7&&(_0xe14ae7=_0xe14ae7+':'+_0x19d5a7),_0x5c9a92[_0x3625('0x79')](_0xe14ae7,{'range':_0x28e77a,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3625('0x107')](_0x500a3b){const _0x2c5f76=_0x500a3b[_0x3625('0x15e')],_0x4c0d6a=_0x500a3b[_0x3625('0x10f')];_0x500a3b[_0x3625('0x15e')]=null,_0x500a3b[_0x3625('0x10f')]=null,null!=_0x2c5f76&&(_0x2c5f76[_0x3625('0x10f')]=_0x4c0d6a),null!=_0x4c0d6a&&(_0x4c0d6a['previous']=_0x2c5f76),_0x3625('0xbc')==this[_0x3625('0xbe')][_0x3625('0x8c')](_0x500a3b)&&(this[_0x3625('0xbe')][_0x3625('0xf9')](_0x500a3b,_0x3625('0x98')),this[_0x3625('0xd4')]('suggestionUnloaded',_0x500a3b,_0x2c5f76,_0x4c0d6a));}[_0x3625('0x11f')](_0x1a1d86){const _0x269633=_0x1a1d86['id'],_0x5557a0=this[_0x3625('0x17b')](_0x1a1d86);if(this['_adapter']&&this[_0x3625('0x145')][_0x3625('0xf5')]){const _0x974646=this['editor']['plugins'][_0x3625('0x8c')](_0x3625('0x30')),_0x5b3916=_0x5557a0[_0x3625('0x65')],_0x290c3c=_0x5557a0['subType']?_0x5557a0['type']+':'+_0x5557a0[_0x3625('0x165')]:_0x5557a0[_0x3625('0xba')],_0x17c0d5=this['editor']['locale'],_0x31ab0f=_0x974646['add'](_0x5ed0a4(_0x17c0d5,'PENDING_ACTION_SUGGESTION')),_0x4dfabc={'id':_0x269633,'type':_0x290c3c,'hasComments':_0x5b3916,'data':_0x1a1d86[_0x3625('0x168')]||null,'originalSuggestionId':_0x1a1d86[_0x3625('0x50')]||null,'attributes':_0x5557a0[_0x3625('0x11d')]};this[_0x3625('0x145')][_0x3625('0xf5')](_0x4dfabc)[_0x3625('0x1')](_0x5a930c=>{_0x5557a0[_0x3625('0x17e')]=!0x0,_0x974646[_0x3625('0xa6')](_0x31ab0f),_0x5a930c&&_0x5a930c[_0x3625('0x10b')]&&(this['_suggestions'][_0x3625('0x8c')](_0x269633)[_0x3625('0x10b')]=_0x5a930c[_0x3625('0x10b')]);})[_0x3625('0xac')](_0x1433ff=>{throw _0x115eaf(_0x3625('0x42')),this[_0x3625('0x31')][_0x3625('0x71')][_0x3625('0xe0')]({'isUndoable':!0x1},()=>{_0x5557a0[_0x3625('0x139')]();}),_0x5557a0[_0x3625('0x13c')](),this[_0x3625('0x16')][_0x3625('0x129')](_0x5557a0['id']),this['_suggestionState'][_0x3625('0x129')](_0x5557a0),_0x1433ff;});}return _0x5557a0;}[_0x3625('0x105')](_0x839ef){return this[_0x3625('0x144')]['has'](_0x839ef);}[_0x3625('0x67')](_0x2976a8){return'attribute'==_0x2976a8[_0x3625('0xba')]&&_0x2976a8['subType'][_0x3625('0x149')]('|')[0x0];}[_0x3625('0x61')](_0x51160f,_0x1ce6f7){const _0x4111fd=this[_0x3625('0x31')][_0x3625('0x87')][_0x3625('0x8c')](_0x3625('0x30')),_0x3446e2=this[_0x3625('0x175')](_0x51160f);if(this[_0x3625('0x145')]&&this['_adapter'][_0x3625('0x7d')]){if(_0x3446e2[_0x3625('0x17e')]){const _0x274a64=_0x4111fd['add'](_0x5ed0a4(this['editor']['locale'],_0x3625('0x36')));this[_0x3625('0x145')][_0x3625('0x7d')](_0x51160f,_0x1ce6f7)[_0x3625('0x1')](()=>{_0x4111fd[_0x3625('0xa6')](_0x274a64);});}else _0x3446e2['on'](_0x3625('0x12'),()=>{this[_0x3625('0x61')](_0x51160f,_0x1ce6f7);});}}[_0x3625('0x32')](_0x54388a){if(!this[_0x3625('0x145')]||!this[_0x3625('0x145')][_0x3625('0x175')])throw new _0x3548d3('track-changes-adapter-missing-getsuggestion',this);return this[_0x3625('0x145')][_0x3625('0x175')](_0x54388a);}[_0x3625('0xe4')](_0x19f14e){const {id:_0x2e0232,type:_0x475b23,subType:_0x201e26,authorId:_0x2df2c3}=this['_splitMarkerName'](_0x19f14e),_0x593c82=this[_0x3625('0x16')]['get'](_0x2e0232)||this['_createSuggestion'](_0x475b23,_0x201e26,_0x2e0232,_0x2df2c3,{});switch(this['_checkSuggestionCorrectness'](_0x593c82,_0x475b23,_0x201e26,_0x2df2c3),this[_0x3625('0xbe')][_0x3625('0x8c')](_0x593c82)){case _0x3625('0x15'):this[_0x3625('0x32')](_0x2e0232)[_0x3625('0x1')](_0x4ce028=>{let _0x1f41c1=Promise[_0x3625('0x3')]();_0x4ce028[_0x3625('0x65')]&&(_0x1f41c1=this[_0x3625('0x135')][_0x3625('0x91')]({'channelId':this[_0x3625('0x31')]['config']['get'](_0x3625('0x119')),'threadId':_0x2e0232})),_0x1f41c1['then'](()=>{this[_0x3625('0x17b')](_0x4ce028)[_0x3625('0x17e')]=!0x0;});}),this[_0x3625('0xbe')][_0x3625('0xf9')](_0x593c82,_0x3625('0x6d'));break;case'removed':this[_0x3625('0x61')](_0x2e0232,{'state':_0x3625('0x14f')});case _0x3625('0x8'):this[_0x3625('0xbe')]['set'](_0x593c82,_0x3625('0xbc')),this[_0x3625('0xd4')]('suggestionLoaded',_0x593c82);break;case _0x3625('0xbc'):this['fire'](_0x3625('0x162'),_0x593c82);}return _0x593c82[_0x3625('0x60')](_0x19f14e),_0x593c82;}[_0x3625('0x16a')](_0x1c4561){const _0x2113fb=Array[_0x3625('0xca')](_0x1c4561),_0x2eaa3c=_0x2113fb[_0x3625('0x63')](_0x99ac1f=>'attribute'==_0x99ac1f[_0x3625('0xba')]);this[_0x3625('0x73')](_0x2eaa3c);const _0x42840c=_0x2113fb[_0x3625('0x63')](_0x21e080=>!_0x21e080[_0x3625('0x5a')]&&_0x3625('0xbb')!=_0x21e080[_0x3625('0xba')]),_0x5d602c=this[_0x3625('0x6f')]({'skipNotAttached':!0x0})[_0x3625('0x63')](_0x37e775=>!_0x37e775[_0x3625('0x5a')]&&_0x3625('0xbb')!=_0x37e775[_0x3625('0xba')]),_0x5909ee=_0x5d602c[_0x3625('0x63')](_0x12661d=>!_0x1c4561[_0x3625('0x130')](_0x12661d)),_0x3e2e23=new Map(_0x5d602c[_0x3625('0x125')](_0x12f6b4=>[_0x12f6b4,this[_0x3625('0xd5')][_0x3625('0xbd')](_0x12f6b4[_0x3625('0xba')],_0x12f6b4[_0x3625('0x165')],_0x3625('0x6'))])),_0x1d11bf=new Map(_0x5d602c[_0x3625('0x125')](_0x96d14f=>[_0x96d14f,_0x96d14f[_0x3625('0x20')]()])),_0x550a87=new Set(),_0x5e06a1=new Set();for(let _0x45bd33=0x0;_0x45bd33<_0x42840c[_0x3625('0x169')];_0x45bd33++)_0x286339(_0x42840c[_0x45bd33],_0x42840c,_0x45bd33+0x1);for(let _0x45adee=0x0;_0x45adee<_0x42840c['length'];_0x45adee++)_0x286339(_0x42840c[_0x45adee],_0x5909ee,0x0);const _0x441da8=new Set();for(let _0x977a77=0x0;_0x977a77<_0x42840c[_0x3625('0x169')];_0x977a77++){const _0x5af810=_0x42840c[_0x977a77];!_0x5e06a1[_0x3625('0x130')](_0x5af810)&&_0x5af810['previous']&&(_0x441da8[_0x3625('0xb0')](_0x5af810[_0x3625('0x15e')]),_0x5af810[_0x3625('0x15e')][_0x3625('0x10f')]===_0x5af810&&(_0x5af810[_0x3625('0x15e')][_0x3625('0x10f')]=null),_0x5af810[_0x3625('0x15e')]=null),!_0x550a87[_0x3625('0x130')](_0x5af810)&&_0x5af810[_0x3625('0x10f')]&&(_0x441da8[_0x3625('0xb0')](_0x5af810[_0x3625('0x10f')]),_0x5af810[_0x3625('0x10f')][_0x3625('0x15e')]===_0x5af810&&(_0x5af810[_0x3625('0x10f')]['previous']=null),_0x5af810[_0x3625('0x10f')]=null);}function _0x286339(_0x357ce0,_0x59dddf,_0x4e40c1){for(let _0x59a3ce=_0x4e40c1;_0x59a3ce<_0x59dddf[_0x3625('0x169')];_0x59a3ce++){const _0x5b781c=_0x466837(_0x357ce0,_0x59dddf[_0x59a3ce]);_0x5b781c&&(_0x5b781c[0x0][_0x3625('0x10f')]=_0x5b781c[0x1],_0x5b781c[0x1][_0x3625('0x15e')]=_0x5b781c[0x0],_0x550a87[_0x3625('0xb0')](_0x5b781c[0x0]),_0x5e06a1[_0x3625('0xb0')](_0x5b781c[0x1]));}}function _0x466837(_0x3120d6,_0x166129){if(_0x3120d6[_0x3625('0x16e')]['id']!==_0x166129[_0x3625('0x16e')]['id'])return null;const _0x574ec9=_0x3e2e23[_0x3625('0x8c')](_0x3120d6)(_0x3120d6,_0x166129,_0x1d11bf['get'](_0x3120d6),_0x1d11bf['get'](_0x166129));if(!_0x574ec9)return null;return _0x3e2e23[_0x3625('0x8c')](_0x166129)(_0x3120d6,_0x166129,_0x1d11bf[_0x3625('0x8c')](_0x3120d6),_0x1d11bf[_0x3625('0x8c')](_0x166129))?_0x574ec9[0x1]['commentThread']&&_0x574ec9[0x1][_0x3625('0x110')][_0x3625('0x169')]?null:_0x574ec9:null;}_0x441da8[_0x3625('0x13e')]&&this[_0x3625('0x16a')](_0x441da8);}[_0x3625('0x73')](_0x22149d){if(0x0==_0x22149d[_0x3625('0x169')])return;const _0xbfaf20=this[_0x3625('0x6f')]({'skipNotAttached':!0x0})[_0x3625('0x63')](_0x1caa9b=>_0x3625('0xbb')==_0x1caa9b[_0x3625('0xba')]&&_0x1caa9b['_isDataLoaded']),_0x523260=[],_0x323da9=new Map();for(const _0x1b6467 of _0xbfaf20){const _0x4eed76=_0x4e15fe(_0x1b6467['attributes']);_0x323da9[_0x3625('0x130')](_0x4eed76)||(_0x323da9[_0x3625('0xf9')](_0x4eed76,_0x523260[_0x3625('0x169')]),_0x523260['push']([]));const _0x39260f=_0x323da9[_0x3625('0x8c')](_0x4eed76);_0x523260[_0x39260f][_0x3625('0x12d')](_0x1b6467);}!function(){_0x523260['sort']((_0x40ffec,_0x4eaa6d)=>{const _0x3a2c6d=_0x40ffec[0x0]['createdAt'],_0x57c24f=_0x4eaa6d[0x0][_0x3625('0x10b')];return _0x3a2c6d==_0x57c24f?_0x40ffec[0x0][_0x3625('0x11d')][_0x3625('0xfa')]<_0x4eaa6d[0x0][_0x3625('0x11d')]['groupId']?-0x1:0x1:_0x3a2c6d<_0x57c24f?-0x1:0x1;});for(const _0x12574a of _0x523260)_0x12574a['sort']((_0x3b8881,_0x3fe140)=>_0x3b8881['id']<_0x3fe140['id']?-0x1:0x1);}();for(let _0x1152aa=0x0;_0x1152aa<_0x523260[_0x3625('0x169')];_0x1152aa++){if(0x0==_0x523260[_0x1152aa][_0x3625('0x169')])continue;const _0x48069d=[];for(let _0x34d297=_0x1152aa+0x1;_0x34d297<_0x523260[_0x3625('0x169')];_0x34d297++)0x0!=_0x523260[_0x34d297][_0x3625('0x169')]&&_0x1d9ba9(_0x523260[_0x1152aa],_0x523260[_0x34d297])&&_0x48069d[_0x3625('0x12d')](_0x34d297);for(const _0x4c80bd of _0x48069d)_0x523260[_0x1152aa]=_0x523260[_0x1152aa]['concat'](_0x523260[_0x4c80bd]),_0x523260[_0x4c80bd]=[];}for(const _0x1885bd of _0x523260)for(let _0x3d7e09=0x0;_0x3d7e09<_0x1885bd[_0x3625('0x169')];_0x3d7e09++)_0x1885bd[_0x3d7e09][_0x3625('0x10f')]=_0x1885bd[_0x3d7e09+0x1]||null;for(const _0x2eaa0b of _0x523260)for(let _0x55c65e=0x0;_0x55c65e<_0x2eaa0b[_0x3625('0x169')];_0x55c65e++)_0x2eaa0b[_0x55c65e][_0x3625('0x15e')]=_0x2eaa0b[_0x55c65e-0x1]||null;function _0x1d9ba9(_0x9ca4da,_0xda5f78){if(_0x9ca4da[0x0][_0x3625('0x16e')]!==_0xda5f78[0x0][_0x3625('0x16e')])return!0x1;if(!function(_0x1362e3,_0x3e02b1){if(!_0x1362e3[_0x3625('0x65')]&&!_0x3e02b1[_0x3625('0x65')])return!0x0;if(_0x1362e3[_0x3625('0x65')]&&_0x3e02b1[_0x3625('0x65')])return!0x1;if(_0x1362e3[_0x3625('0x65')]&&_0x3e02b1['createdAt']<_0x1362e3[_0x3625('0x110')][_0x3625('0x108')][_0x3625('0x8c')](0x0)['createdAt'])return!0x0;if(_0x3e02b1[_0x3625('0x65')]&&_0x1362e3[_0x3625('0x10b')]<_0x3e02b1['commentThread'][_0x3625('0x108')][_0x3625('0x8c')](0x0)[_0x3625('0x10b')])return!0x0;return!0x1;}(_0x9ca4da[0x0],_0xda5f78[0x0]))return!0x1;const _0x49ba54=_0x1bda79(_0x9ca4da[0x0][_0x3625('0x11d')],_0x3625('0xfa')),_0x400752=_0x1bda79(_0xda5f78[0x0][_0x3625('0x11d')],_0x3625('0xfa'));if(!_0x22a34e(_0x49ba54,_0x400752))return!0x1;return!!_0x9ca4da[_0x3625('0x3b')](_0x2288ca=>_0xda5f78[_0x3625('0xdf')](_0x2bbf98=>_0x2288ca[_0x3625('0x20')]()[_0x3625('0xd2')](_0x2bbf98[_0x3625('0x20')]())))&&_0xda5f78[_0x3625('0x3b')](_0x3cf050=>_0x9ca4da[_0x3625('0xdf')](_0x323193=>_0x3cf050[_0x3625('0x20')]()[_0x3625('0xd2')](_0x323193[_0x3625('0x20')]())));}}[_0x3625('0xf6')](_0xf9a76f){const _0x14f01b=Array[_0x3625('0xca')](_0xf9a76f),_0xee45b9=this[_0x3625('0x6f')]({'skipNotAttached':!0x0}),_0x1c45c2=_0xee45b9['filter'](_0xf4c436=>!_0xf9a76f[_0x3625('0x130')](_0xf4c436)),_0x5456e8=new Map(_0x14f01b['map'](_0x3bd125=>[_0x3bd125,this[_0x3625('0xd5')][_0x3625('0xbd')](_0x3bd125[_0x3625('0xba')],_0x3bd125[_0x3625('0x165')],_0x3625('0x1e'))])),_0x519cb4=new Map(_0xee45b9['map'](_0x13687a=>[_0x13687a,_0x13687a[_0x3625('0x1f')]()]));for(let _0x1e0181=0x0;_0x1e0181<_0x14f01b[_0x3625('0x169')];_0x1e0181++){if(_0x533ea1(this,_0x14f01b[_0x1e0181],_0x14f01b,_0x1e0181+0x1))return!0x0;}for(let _0x4c7343=0x0;_0x4c7343<_0x14f01b[_0x3625('0x169')];_0x4c7343++){if(_0x533ea1(this,_0x14f01b[_0x4c7343],_0x1c45c2,0x0))return!0x0;}return!0x1;function _0x533ea1(_0xd0b10b,_0x23d8c1,_0x21c6f1,_0x41e113){for(let _0x2bf7e3=_0x41e113;_0x2bf7e3<_0x21c6f1[_0x3625('0x169')];_0x2bf7e3++){const _0x5a84d2=_0x21c6f1[_0x2bf7e3];if(_0x5a84d2[_0x3625('0xba')]!==_0x23d8c1[_0x3625('0xba')]||_0x5a84d2[_0x3625('0x16e')]['id']!==_0x23d8c1['author']['id']||_0x5a84d2[_0x3625('0x165')]!==_0x23d8c1[_0x3625('0x165')])continue;if(!Vt(_0x23d8c1,_0x5a84d2))continue;if(_0x3625('0xbb')==_0x23d8c1[_0x3625('0xba')]&&_0x23d8c1['data'][_0x3625('0x27')]!=_0x5a84d2[_0x3625('0x168')][_0x3625('0x27')])continue;if(_0x3625('0xbb')==_0x23d8c1['type']&&_0xd0b10b['_isBlockAttribute'](_0x23d8c1[_0x3625('0x168')]['key']))continue;const _0x3916e2=_0x5456e8[_0x3625('0x8c')](_0x23d8c1),_0x2c2382=_0x519cb4['get'](_0x23d8c1),_0x3da3bf=_0x519cb4[_0x3625('0x8c')](_0x5a84d2),_0x1d1548=_0x23d8c1['commentThread']&&_0x23d8c1[_0x3625('0x110')][_0x3625('0x169')],_0x2ed053=_0x5a84d2[_0x3625('0x110')]&&_0x5a84d2[_0x3625('0x110')]['length'];if(!_0x1d1548&&_0x3916e2(_0x3da3bf,_0x2c2382))return _0xd0b10b[_0x3625('0x7f')](_0x5a84d2,_0x23d8c1),_0x519cb4[_0x3625('0x129')](_0x23d8c1),!0x0;if(!_0x2ed053&&_0x3916e2(_0x2c2382,_0x3da3bf))return _0xd0b10b[_0x3625('0x7f')](_0x23d8c1,_0x5a84d2),_0x519cb4[_0x3625('0x129')](_0x5a84d2),!0x0;}return!0x1;}}['_joinSuggestions'](_0x163872,_0x543c0b){if(_0x163872[_0x3625('0x5a')])for(const _0x15c186 of _0x543c0b[_0x3625('0x1f')]())_0x163872[_0x3625('0x163')](_0x15c186);else{const _0x316f04=_0x543c0b[_0x3625('0x20')]()[_0x3625('0x8d')];this['_setSuggestionRange'](_0x163872,this[_0x3625('0xb5')]['createRange'](_0x163872['getFirstRange']()[_0x3625('0x121')],_0x316f04));}_0x543c0b[_0x3625('0xdb')]();}['_getMarkerAnnouncementText'](_0x151dd5,_0x15eaa8){const _0x2b20b5=_0x151dd5['startsWith'](_0x3625('0xce'))||_0x151dd5[_0x3625('0xcf')](_0x3625('0xbb'))?_0x3625('0xee'):_0x151dd5[_0x3625('0xd8')]();return _0x5ed0a4(this[_0x3625('0x31')][_0x3625('0x5c')],_0x15eaa8+'_'+_0x2b20b5+_0x3625('0x69'));}[_0x3625('0x72')](){const _0xa92a28=this[_0x3625('0x31')];_0x4c3300(this[_0x3625('0xb5')],({left:_0x391c3d,entered:_0x6b0a62})=>{const _0x3432b8=[];for(const _0x13d8aa of _0x391c3d){const {group:_0x402089,type:_0x14c0f4}=this[_0x3625('0x38')](_0x13d8aa[_0x3625('0x153')]);if(_0x3625('0xa9')===_0x402089){_0x3432b8[_0x3625('0x12d')](this['_getMarkerAnnouncementText'](_0x14c0f4,'LEAVE'));break;}}for(const _0x3acdc5 of _0x6b0a62){const {group:_0x7f8d46,type:_0x4ee44e}=this[_0x3625('0x38')](_0x3acdc5['name']);if('suggestion'===_0x7f8d46){_0x3432b8['push'](this[_0x3625('0x7c')](_0x4ee44e,_0x3625('0x4b')));break;}}_0x3432b8['length']&&_0xa92a28['ui'][_0x3625('0xab')]['announce'](_0x3625('0xf1'),_0x3432b8[_0x3625('0x1e')]('\x20'));});}['_processAttributeChanges'](_0x32cf33){if(null!==this[_0x3625('0x14a')])return!0x1;const _0x33bb94=this[_0x3625('0x31')],_0x2ee6ce=_0x33bb94['model']['document'][_0x3625('0x136')][_0x3625('0x9c')]();if(0x0==_0x2ee6ce[_0x3625('0x169')])return!0x1;const _0x58b8f9=[],_0x4b73e8=_0x2ee6ce[_0x3625('0x63')](_0x11e999=>_0x3625('0xbb')==_0x11e999['type']),_0x588d6a=_0x2ee6ce[_0x3625('0x63')](_0x300681=>_0x3625('0x2b')==_0x300681['type']&&_0x3625('0x5')!=_0x300681['name']),_0x37bdff=_0x2ee6ce[_0x3625('0x63')](_0x16c02b=>_0x3625('0xa6')==_0x16c02b[_0x3625('0xba')]&&_0x3625('0x5')!=_0x16c02b['name']);for(const _0x3b8ca1 of _0x4b73e8)_0x58b8f9[_0x3625('0x12d')]({'key':_0x3b8ca1[_0x3625('0xf8')],'newValue':_0x3b8ca1[_0x3625('0x66')],'oldValue':_0x3b8ca1['attributeOldValue'],'range':_0x30238f(_0x3b8ca1[_0x3625('0xc6')])});for(const _0x2a300c of _0x588d6a){const _0x312059=_0x37bdff[_0x3625('0x100')](_0x21b07f=>_0x21b07f[_0x3625('0x16c')][_0x3625('0xd2')](_0x2a300c[_0x3625('0x16c')]));_0x312059&&_0x58b8f9[_0x3625('0x12d')]({'key':_0x3625('0x97'),'newValue':_0x2a300c[_0x3625('0x153')],'oldValue':_0x312059['name'],'range':_0x33bb94[_0x3625('0x71')]['createRangeOn'](_0x2a300c[_0x3625('0x16c')][_0x3625('0x17f')])});}return 0x0!=_0x58b8f9[_0x3625('0x169')]&&this[_0x3625('0x14')](_0x32cf33,_0x58b8f9);function _0x30238f(_0x4aa0bd){return null==_0x4aa0bd[_0x3625('0x8d')][_0x3625('0x33')]&&_0x4aa0bd[_0x3625('0x8d')][_0x3625('0x171')]==_0x4aa0bd[_0x3625('0x121')]['nodeAfter']?Ut(_0x4aa0bd[_0x3625('0x121')][_0x3625('0x17f')],_0x33bb94[_0x3625('0x71')]):_0x4aa0bd;}}[_0x3625('0x113')](_0x16172f){let _0x514fb3=!0x1;const _0x279ef0=this[_0x3625('0x31')]['model']['document'][_0x3625('0x136')][_0x3625('0x106')]()[_0x3625('0x63')](_0x2465ec=>_0x2465ec[_0x3625('0x168')][_0x3625('0xc4')]&&_0x2465ec[_0x3625('0x153')][_0x3625('0xcf')](_0x3625('0xa3')));for(const _0x355138 of _0x279ef0){const {subType:_0x9cdb24,id:_0x1fb443}=this[_0x3625('0x38')](_0x355138[_0x3625('0x153')]),_0x5279da=_0x9cdb24[_0x3625('0x149')]('|')[0x0];for(const _0x194877 of this[_0x3625('0x6f')]({'skipNotAttached':!0x0}))_0x194877['id']!=_0x1fb443&&_0x3625('0xbb')==_0x194877[_0x3625('0xba')]&&_0x194877[_0x3625('0x168')]&&_0x194877[_0x3625('0x168')]['key']==_0x5279da&&_0x194877['getFirstRange']()['isIntersecting'](_0x355138[_0x3625('0x168')][_0x3625('0xc4')])&&(this[_0x3625('0x122')](_0x194877,_0x355138[_0x3625('0x168')][_0x3625('0xc4')],_0x16172f),_0x514fb3=!0x0);}return _0x514fb3;}[_0x3625('0x103')](_0x27465a){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x27465a();const _0xaf5c56=this[_0x3625('0x31')];this['_recordAttributeSuggestionsFromVersion']=_0xaf5c56['model'][_0x3625('0x2f')][_0x3625('0xd9')],_0x27465a();const _0x2ed4ce=new Map();for(const _0x20eaf0 of _0xaf5c56[_0x3625('0x71')]['document'][_0x3625('0x29')][_0x3625('0xf')](this[_0x3625('0x14a')]))if([_0x3625('0x81'),_0x3625('0xfb'),_0x3625('0x56'),_0x3625('0x12f')][_0x3625('0xaf')](_0x20eaf0[_0x3625('0xba')])){const _0xde5a54=_0x20eaf0['batch'],_0x1408b6=_0x2ed4ce[_0x3625('0x8c')](_0xde5a54)||[];_0x1408b6[_0x3625('0x12d')](_0x20eaf0),_0x2ed4ce[_0x3625('0xf9')](_0xde5a54,_0x1408b6);}this[_0x3625('0x14a')]=null;for(const [_0x29f80a,_0x42004c]of _0x2ed4ce){const _0x467a26=_0xfa15dc();_0xaf5c56[_0x3625('0x71')][_0x3625('0xe0')](_0x29f80a,_0x651ee6=>{const _0x1ed2db=[];for(const _0x5f5825 of _0x42004c){let _0x15e0e2,_0x3ab3fe,_0x3a5399,_0x471bc2;if(_0x3625('0x81')==_0x5f5825[_0x3625('0xba')]){const _0x606e3a=_0x5f5825;_0x15e0e2=Ut(_0x606e3a[_0x3625('0x16c')][_0x3625('0x17f')],_0xaf5c56[_0x3625('0x71')]),_0x3ab3fe=_0x3625('0x97'),_0x3a5399=_0x606e3a[_0x3625('0x45')],_0x471bc2=_0x606e3a[_0x3625('0x8b')];}else{const _0x22ba9c=_0x5f5825,_0x558c8b=this[_0x3625('0x105')](_0x22ba9c[_0x3625('0x3a')]),_0x5c93c6=this[_0x3625('0x13a')][_0x3625('0x130')](_0x22ba9c['key']);if(!_0x558c8b&&!_0x5c93c6)continue;_0x15e0e2=_0x558c8b?Ut(_0x22ba9c[_0x3625('0xc6')][_0x3625('0x121')][_0x3625('0x17f')],_0xaf5c56[_0x3625('0x71')]):_0x22ba9c['range'],_0x3ab3fe=_0x22ba9c[_0x3625('0x3a')],_0x3a5399='removeAttribute'==_0x5f5825[_0x3625('0xba')]?void 0x0:_0x22ba9c[_0x3625('0x14b')],_0x471bc2=_0x22ba9c[_0x3625('0x27')];}this[_0x3625('0x88')](_0x15e0e2,_0x3ab3fe,_0x471bc2,_0x3a5399,{'groupId':_0x467a26}),_0x1ed2db[_0x3625('0x12d')]({'range':_0x15e0e2,'key':_0x3ab3fe,'newValue':_0x3a5399,'oldValue':_0x471bc2});}this[_0x3625('0x14')](_0x651ee6,_0x1ed2db);});}}[_0x3625('0x14')](_0x1514ab,_0x5ca633){if(0x0==_0x5ca633['length'])return!0x1;let _0x41ba8b=!0x1;for(const _0x5ca4a6 of _0x5ca633){const _0xfe7c90=this[_0x3625('0x16f')](_0x5ca4a6[_0x3625('0xc6')],_0x3625('0xbb'))['filter'](_0x4a58a6=>!_0x4a58a6[_0x3625('0x5d')][_0x3625('0xb2')])[_0x3625('0x125')](_0x3de9fd=>_0x3de9fd[_0x3625('0xa9')]),_0x5f28c9=_0x4e15fe({'newValue':_0x5ca4a6[_0x3625('0x14b')]});_0xfe7c90[_0x3625('0x63')](_0x3b84ee=>{const [_0x25be83,_0x1d8726]=_0x3b84ee[_0x3625('0x165')][_0x3625('0x149')]('|');return _0x25be83==_0x5ca4a6['key']&&_0x1d8726!=_0x5f28c9;})[_0x3625('0x19')](_0x45f5f6=>{this['_reduceSuggestionAttributeRange'](_0x45f5f6,_0x5ca4a6[_0x3625('0xc6')],_0x1514ab),_0x41ba8b=!0x0;});}return _0x41ba8b;}[_0x3625('0x122')](_0x59957b,_0x4a9866,_0x4004d0){const _0x407124=_0x59957b[_0x3625('0x20')]()[_0x3625('0x34')](_0x4a9866);0x0!==_0x407124['length']?0x1!==_0x407124[_0x3625('0x169')]?this[_0x3625('0x166')](_0x59957b,_0x4a9866[_0x3625('0x121')],_0x4a9866[_0x3625('0x8d')]):this[_0x3625('0x16b')](_0x59957b,_0x407124[0x0]):_0x4004d0[_0x3625('0x10c')](_0x59957b['getFirstMarker']());}}class Bt{constructor(_0x16ed9){this[_0x3625('0x15d')]=_0x16ed9,this[_0x3625('0xb5')]=_0x16ed9[_0x3625('0x71')],this['_customCallbacks']=new Map(),this[_0x3625('0x46')]=new Map(),this['_registerDefaultCallbacks']();}[_0x3625('0x95')](_0x4a57ee,_0x2e3c1b,_0x2b8378,_0x4c14f3,_0x570d83,_0x52414e){return new _0x3439e5(this[_0x3625('0xb5')],{'type':_0x4a57ee,'subType':_0x2e3c1b,'id':_0x2b8378,'author':_0x4c14f3,'creator':_0x4c14f3,'attributes':_0x570d83,'onAttributesChange':_0x52414e,'onAccept':(..._0x3492bc)=>this[_0x3625('0xbd')](_0x4a57ee,_0x2e3c1b,_0x3625('0x41'))(..._0x3492bc),'onDiscard':(..._0x4243b9)=>this[_0x3625('0xbd')](_0x4a57ee,_0x2e3c1b,_0x3625('0x139'))(..._0x4243b9)});}['registerCustomCallback'](_0x5cf54a,_0xa74a8,_0x2de7bf,_0x754039){const _0x466b5e=_0x5cf54a+':'+_0xa74a8+':'+_0x2de7bf;this[_0x3625('0xcd')][_0x3625('0xf9')](_0x466b5e,_0x754039);}[_0x3625('0xbd')](_0xd226db,_0x2bb26c,_0x4ef8d){const _0x2873ee=_0xd226db+':'+_0x2bb26c+':'+_0x4ef8d;return this['_customCallbacks'][_0x3625('0x8c')](_0x2873ee)||this['_defaultCallbacks'][_0x3625('0x8c')](_0xd226db+':'+_0x4ef8d);}[_0x3625('0x23')](){const _0xf5bdb1=()=>!0x1,_0x3299e7=_0x3dfc12=>{_0x3dfc12[_0x3625('0xbf')]((_0x5afe72,_0x33def0)=>_0x5afe72[_0x3625('0x121')]['isBefore'](_0x33def0[_0x3625('0x121')])?0x1:-0x1),this[_0x3625('0xb5')][_0x3625('0x152')](_0x5ca3c0=>{for(const _0x3b3944 of _0x3dfc12){let _0x6bc45e;_0x6bc45e=_0x3b3944[_0x3625('0x8d')][_0x3625('0xb4')]&&_0x3b3944[_0x3625('0x8d')]['parent']==_0x3b3944[_0x3625('0x121')][_0x3625('0x17f')]?_0x5ca3c0['createSelection'](_0x3b3944[_0x3625('0x121')][_0x3625('0x17f')],'on'):_0x5ca3c0[_0x3625('0x55')](_0x3b3944),this[_0x3625('0xb5')][_0x3625('0xc8')](_0x6bc45e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0xc69db3=(_0x3c6ff3,_0x1cbf2a)=>{_0x1cbf2a&&this['_model'][_0x3625('0x152')](_0x3f96e7=>{const {commandName:_0x198c74,commandParams:_0x3150af=[]}=_0x1cbf2a,_0x4f2207=_0x3c6ff3['map'](_0x4a27b0=>(xt(_0x4a27b0)&&(_0x4a27b0=this['_model']['createRange'](_0x4a27b0[_0x3625('0x8d')])),_0x4a27b0))[_0x3625('0x63')](_0x531cca=>'$graveyard'!==_0x531cca[_0x3625('0xe')][_0x3625('0x179')]);if(_0x4f2207[_0x3625('0x169')]<0x1)return;const _0x2ed333=Array['from'](this[_0x3625('0xb5')][_0x3625('0x2f')][_0x3625('0x150')][_0x3625('0x1f')]())[_0x3625('0x125')](_0x24aeee=>_0x149eb5['fromRange'](_0x24aeee));_0x3f96e7[_0x3625('0x58')](_0x4f2207);for(const _0x2ed092 of this[_0x3625('0x15d')][_0x3625('0x49')][_0x3625('0x49')]())_0x2ed092['refresh']();_0x3150af['push']({'forceDefaultExecution':!0x0}),this[_0x3625('0x15d')][_0x3625('0x13')](_0x198c74,..._0x3150af);const _0x33a964=_0x2ed333[_0x3625('0x63')](_0x4747ba=>_0x3625('0x74')!=_0x4747ba[_0x3625('0xe')]['rootName']);_0x33a964[_0x3625('0x169')]>0x0&&_0x3f96e7[_0x3625('0x58')](_0x33a964);for(const _0x136b1f of _0x2ed333)_0x136b1f[_0x3625('0x7a')]();});},_0x4e8ac7=(_0x577f79,_0x146e2f)=>0x1==_0x577f79[_0x3625('0x169')]&&0x1==_0x146e2f[_0x3625('0x169')]&&_0x577f79[0x0][_0x3625('0x8d')][_0x3625('0xd2')](_0x146e2f[0x0]['start']),_0x377b54=(_0x25959e,_0x3c10e7,_0x54f165,_0xfb3d80)=>Ot(_0x25959e,_0x3c10e7,_0x54f165,_0xfb3d80,this[_0x3625('0xb5')])?[_0x25959e,_0x3c10e7]:Ot(_0x3c10e7,_0x25959e,_0xfb3d80,_0x54f165,this[_0x3625('0xb5')])?[_0x3c10e7,_0x25959e]:null;this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0x133'),_0xf5bdb1),this[_0x3625('0x46')][_0x3625('0xf9')]('insertion:discard',_0x3299e7),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0xe5'),_0x4e8ac7),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0xae'),_0x377b54),this['_defaultCallbacks'][_0x3625('0xf9')](_0x3625('0x6a'),_0x3299e7),this[_0x3625('0x46')][_0x3625('0xf9')]('deletion:discard',_0xf5bdb1),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0xa7'),_0x4e8ac7),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0x70'),_0x377b54),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0x24'),_0xc69db3),this[_0x3625('0x46')][_0x3625('0xf9')]('formatInline:discard',_0xf5bdb1),this[_0x3625('0x46')][_0x3625('0xf9')]('formatInline:join',_0x4e8ac7),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0x37'),_0xf5bdb1),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0xd'),_0xc69db3),this[_0x3625('0x46')]['set'](_0x3625('0x89'),_0xf5bdb1),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0xfd'),_0x4e8ac7),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0xe8'),_0xf5bdb1),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0x111'),_0xf5bdb1),this['_defaultCallbacks'][_0x3625('0xf9')](_0x3625('0x15c'),(_0x23d9eb,_0x20e5dc)=>{if(!_0x20e5dc)return;const _0xe35965=this[_0x3625('0x15d')]['plugins'][_0x3625('0x8c')](p);this[_0x3625('0xb5')][_0x3625('0x152')](_0x5005d5=>{if(_0x3625('0x97')==_0x20e5dc[_0x3625('0x3a')])for(const _0x5ae062 of _0x23d9eb){const _0xfb0efe=_0x5ae062[_0x3625('0x121')][_0x3625('0x17f')],_0x364c5e=_0x20e5dc['oldValue'];_0x5005d5[_0x3625('0x81')](_0xfb0efe,_0x364c5e);}else{if(_0xe35965[_0x3625('0x105')](_0x20e5dc[_0x3625('0x3a')]))for(const _0x34419d of _0x23d9eb)void 0x0!==_0x20e5dc['oldValue']?_0x5005d5[_0x3625('0x92')](_0x20e5dc['key'],_0x20e5dc[_0x3625('0x27')],_0x34419d[_0x3625('0x121')][_0x3625('0x17f')]):_0x5005d5[_0x3625('0x56')](_0x20e5dc[_0x3625('0x3a')],_0x34419d[_0x3625('0x121')][_0x3625('0x17f')]);else for(const _0x549ec2 of _0x23d9eb)_0x20e5dc['oldValue']?_0x5005d5['setAttribute'](_0x20e5dc[_0x3625('0x3a')],_0x20e5dc['oldValue'],_0x549ec2):_0x5005d5[_0x3625('0x56')](_0x20e5dc[_0x3625('0x3a')],_0x549ec2);}});}),this[_0x3625('0x46')][_0x3625('0xf9')](_0x3625('0x11c'),_0x4e8ac7);}}function Tt(_0x5738a8,_0x293ddd,_0x1ac5ea){for(const _0x41cba6 of _0x293ddd[_0x3625('0x171')][_0x3625('0xdd')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x41cba6[_0x3625('0xe')]==_0x41cba6)return!0x1;if(!_0x1ac5ea[_0x3625('0x2e')](_0x41cba6))return!0x1;if(_0x5738a8[_0x3625('0xa2')](_0x41cba6)||_0x5738a8['isLimit'](_0x41cba6))return!0x0;}return!0x1;}function xt(_0x39ce7d){return _0x39ce7d[_0x3625('0x8d')]['parent']==_0x39ce7d['start'][_0x3625('0x17f')]&&_0x39ce7d[_0x3625('0x8d')]['isAtStart'];}function Et(_0x1eb848,_0x369d14,_0x3c8f0b,_0x44593f){const _0x388c2f=_0x5e70bd=>!_0x5e70bd['item']['is'](_0x3625('0xc7'))&&!_0x44593f[_0x3625('0xa2')](_0x5e70bd[_0x3625('0xf7')]),_0xcdd872=_0x1eb848[_0x3625('0x121')][_0x3625('0x102')](_0x388c2f),_0x24dceb=_0x1eb848[_0x3625('0x8d')]['getLastMatchingPosition'](_0x388c2f,{'direction':_0x3625('0x96')});return(!_0x1eb848[_0x3625('0x121')][_0x3625('0xd2')](_0xcdd872)||!_0x1eb848['end'][_0x3625('0xd2')](_0x24dceb))&&(_0xcdd872[_0x3625('0x124')](_0x24dceb)?_0x3c8f0b[_0x3625('0x134')](_0x369d14,{'range':_0x3c8f0b[_0x3625('0x14e')](_0xcdd872,_0x24dceb)}):_0x3c8f0b[_0x3625('0x10c')](_0x369d14),!0x0);}function Rt(_0x251eab){return _0x4e15fe(_0x251eab);}function jt(_0x3a968c){const _0x1612dd=_0x3a968c[_0x3625('0x121')][_0x3625('0x17f')];return _0x1612dd&&_0x1612dd['is'](_0x3625('0x13d'));}function Ut(_0x330c8f,_0x5a8378){const _0x428c66=_0x5a8378[_0x3625('0x170')][_0x3625('0xa2')](_0x330c8f)||_0x5a8378[_0x3625('0x170')][_0x3625('0x142')](_0x330c8f);return _0x5a8378[_0x3625('0x14e')](_0x5a8378[_0x3625('0x128')](_0x330c8f,_0x3625('0x2')),_0x428c66?_0x5a8378[_0x3625('0xb8')](_0x330c8f):_0x5a8378[_0x3625('0x128')](_0x330c8f,_0x3625('0x8d')));}function Ot(_0x36a06d,_0x26a82c,_0x313137,_0x4b4121,_0x21a691){if(!Vt(_0x36a06d,_0x26a82c))return!0x1;if(_0x313137[_0x3625('0x8d')][_0x3625('0xd2')](_0x4b4121[_0x3625('0x121')]))return!0x0;if(_0x36a06d[_0x3625('0xba')]!=_0x26a82c[_0x3625('0xba')])return!0x1;if(!_0x313137[_0x3625('0x8d')][_0x3625('0x4')](_0x4b4121['start']))return!0x1;const _0x4ad855=_0x21a691[_0x3625('0x14e')](_0x313137['end'],_0x4b4121[_0x3625('0x121')])['getWalker']();for(const _0x2e4ffd of _0x4ad855)if([_0x3625('0xfc'),'elementEnd'][_0x3625('0xaf')](_0x2e4ffd[_0x3625('0xba')])&&_0x21a691[_0x3625('0x170')][_0x3625('0xf3')](_0x2e4ffd[_0x3625('0xf7')]))return!0x1;return!0x0;}function Vt(_0x3e6f96,_0x4168c4){return!(!_0x3e6f96[_0x3625('0x141')]||!_0x4168c4['_isDataLoaded'])&&_0x22a34e(_0x3e6f96[_0x3625('0x11d')],_0x4168c4[_0x3625('0x11d')]);}function Ft(_0x1bb3b2,_0x521109){const _0x4a3847=Gt(_0x1bb3b2['attributes']),_0x204355=Gt(_0x521109);if(!_0x1bb3b2[_0x3625('0x141')])return!0x1;for(const _0x5d6360 of Object[_0x3625('0xb')](_0x204355))if(!_0x22a34e(_0x4a3847[_0x5d6360],_0x204355[_0x5d6360]))return!0x1;return!0x0;}function Gt(_0x4a4a33){const _0x292f6b=Object[_0x3625('0xc2')]({},_0x4a4a33);return delete _0x292f6b[_0x3625('0x2c')],delete _0x292f6b[_0x3625('0x39')],_0x292f6b;}
23
+ const _0x2db8=['isIntersectingWithRange','containsItem','filter','getMarkers','getCustomProperty','isNextTo','change:data','dataDowncast','after','deletion','getContainedElement','schema','getSuggestions','_refreshAttributeSuggestionsChain','accept','highest','_blockAttributeKeys','trackChanges.trackFormatChanges','getAncestors','markers','backward','mapper','isCollapsed','low','item','widget','model','never','updateMarker','updateSuggestion','acceptAllSuggestions','format','_updateSuggestionData','comments','$marker','announce','_adapter','_processAttributeSuggestions','insertion:chain','_cutOutSuggestionMarker','_getExternalAuthor','hasComments','collaboration.channelId','acceptSuggestion','init','parent','showSuggestionHighlights','addCommentThread','start','multipleBlocks','getAllAdjacentSuggestions','_isDataLoaded','attribute:accept','oldName','every','selection','_reduceExistingSuggestions','_suggestionState','newName','@external','formatGroupId','deletion:chain','formatBlock','createElement','suggestionLoaded','TrackChangesEditing','setAttribute','isInContent','registerCustomCallback','isLimit','isOwn','insertion:discard','_joinWithAdjacentSuggestions','hasCommentThread','track-changes-enable-command-twice','addSuggestionData','getShiftedBy','rejected','attributes','_initAriaMarkerChangeAnnouncements','unshift','_registerDefaultCallbacks','addMarker:suggestion:formatBlock','add','forceDefaultExecution','always','formatBlock:','isEqual','track-changes-suggestion-not-found','_reduceSuggestionAttributeRange','_saved','rootName','_joinSuggestions','elementStart','originalSuggestionId','includes','changeAttribute','_refreshSuggestionsChain','consumable','commentThread','addMarkerName','targetPosition','creator','editor','isRemovable','track-changes-suggestion-data-mismatch','consume','moveTargetPosition','push','move','_getSuggestionData','_registerBlockAttribute','name','createPositionAfter','deletion:','_recordAttributeChanges','startsWith','pop','deletion:discard','markerName','createPositionAt','update:suggestion','detach','oldRange','history','containsPosition','_inlineAttributeKeys','removeAttribute','version','for','newRange','PENDING_ACTION_SUGGESTION','_handleNewSuggestionMarker','fromCharCode','commandName','getSuggestion','keys','createRange','markMultiRangeBlockFormat','markDeletion','splitPosition','rename','document','set','_removeSuggestion','toViewElement','getItems','marker-count','markInlineFormat','fetchCommentThread','getSuggestionCallback','_model','next','_setSuggestionData','trackChanges','activeMarkers','ck-suggestion-marker-formatInline','before','normal','concat','reconvertMarker','isIntersecting','options','discard','size','CommentsRepository','conversion','_setSuggestionRange','forward','isLocal','batch','_mergeNestedSuggestions','insertContent','attribute:discard','buildSuggestion','formatInline:','element','author','markerToData','$elementName','range','isInsideObject','_suggestionFactory','get','attribute','execute','removed','_createSuggestion','insertion:','_getMarkerAnnouncementText','formatBlock:chain','attribute:join','addSuggestion','insertion','_getAttributeKeyFromSubType','locale','markAttributeChange','suggestion:attribute:','formatBlock:join','getChanges','addMarker:suggestion','_editor','_splitMarkerName','trackChanges.mergeNestedSuggestions','join','catch','markMultiRangeInsertion','return','getChangedMarkers','newValue','isDocumentOperation','createRangeIn','getIntersection','stop','dataReady','has','multi','bindElementToMarker','root','ENTER','formatInline:chain','splice','find','formatInline','markerNameToElements','toUpperCase','PendingActions','LEAVE','nodeBefore','differ','groupId','formatInline:discard','trackChangesCommand','createSelection','getMultiRangeId','fromRange','editingDowncast','addClass','data-suggestion','isSelectable','key','authoredAt','dataToMarker','_suggestions','isMultiRange','define','adapter','change','removeMarker','addRange','getAttribute','unbindElementFromMarkerName','attributeNewValue','listenTo','Users','length','deleteContent','value','some','data','suggestionUnloaded','getNearestSelectionRange','tablePasteChainId','warn','nodeAfter','from','clear','skipNestingCheck','insertion:join','formatBlock:discard','formatInline:accept','removeMarkers','isBefore','subType','_descriptionFactory','delete','enableCommand','track-changes-adapter-missing-getsuggestion','ck-suggestion-marker','rethrowUnexpectedError','enqueueChange','getRange','isTouching','_customCallbacks','oldValue','elementEnd','isExternal','fire','markerToHighlight','suggestion','deletion:accept','_trackFormatChanges','addHighlight','ck-suggestion-marker-','removeClass','isBlock','default','remove','commands','getOperations','documentSelection','then','_addThreadToSuggestion','applyOperation','_commentsRepository','editing','markInsertion','split','isUndo','addMarker:suggestion:attribute','forEach','discardSelectedSuggestions','_recordAttributeSuggestionsFromVersion','accepted','getFirstRange','getFirstMarker','track-changes-user-not-found','getUser','_findSuggestions','discardAllSuggestions','sort','suggestionChanged','markMultiRangeDeletion','head','meta','high','authorName','_isForcedDefaultExecutionBlock','_SUGGESTION_ANNOUNCEMENT','enableReadOnlyMode','end','$text','ck-suggestion-marker-formatBlock','suggestion:','ready','isAfter','markerReady','formatInline:join','registerPostFixer','requires','_getAuthorFromId','howMany','previous','_rangeIsInLocalUserInsertion','getDifference','getWalker','notReady','values','insert','hasSuggestion','_onDiscard','_breakSuggestionMarker','getLastMatchingPosition','_isBlockAttribute','_enabledCommands','discardSuggestion','_registerInlineAttribute','change:_saved','_addSuggestionMarker','containsRangeInObject','createRangeOn','ck-suggestion-marker--active','upcast','config','$graveyard','containsRange','getRanges','map','_defaultCallbacks','_processAttributeChanges','setSelection','plugins','_checkSuggestionCorrectness','createdAt','isObject','refresh','writer','attributeKey','position','type','removeMarker:suggestion:attribute'];(function(_0x5e7bc0,_0x2db8b4){const _0x1097fb=function(_0xc21ddf){while(--_0xc21ddf){_0x5e7bc0['push'](_0x5e7bc0['shift']());}};_0x1097fb(++_0x2db8b4);}(_0x2db8,0x1f1));const _0x1097=function(_0x5e7bc0,_0x2db8b4){_0x5e7bc0=_0x5e7bc0-0x0;let _0x1097fb=_0x2db8[_0x5e7bc0];return _0x1097fb;};import{Plugin as _0x10cbc0,PendingActions as _0x36214d}from'ckeditor5/src/core';import{LiveRange as _0x1becc6}from'ckeditor5/src/engine';import{CKEditorError as _0x1b320d,uid as _0x2bcffc,priorities as _0x4dff16,logWarning as _0x19df8b}from'ckeditor5/src/utils';import{toWidget as _0x2a5f11}from'ckeditor5/src/widget';import{Users as _0x47d6cf,hashObject as _0x2c1c43,surroundingMarkersDetector as _0x2567d7}from'ckeditor5-collaboration/src/collaboration-core';import _0x18442c from'./commands/trackchangescommand';import _0x14f528 from'./commands/acceptsuggestioncommand';import _0x3c5c02 from'./commands/discardsuggestioncommand';import _0x13bc7a from'./commands/executeonallsuggestionscommand';import _0x2c15d2 from'./commands/executeonselectedsuggestionscommand';import _0x547259 from'./suggestion';import _0x1fca97 from'./suggestiondescriptionfactory';import _0x22953b from'./integrations/aiassistant';import _0x2e6ba0 from'./integrations/alignment';import _0x51dcf6 from'./integrations/basicstyles';import _0xf3ee86 from'./integrations/blockquote';import _0x23fcf3 from'./integrations/ckbox';import _0x5e1760 from'./integrations/codeblock';import _0x4da3e0 from'./integrations/comments';import _0x4f43d2 from'./integrations/deletecommand';import _0x1caa27 from'./integrations/documentlist';import _0x48ca17 from'./integrations/documentlistproperties';import _0x320060 from'./integrations/entercommand';import _0x44d270 from'./integrations/findandreplace';import _0x2a7b0e from'./integrations/font';import _0x50ff22 from'./integrations/formatpainter';import _0x5f2a4f from'./integrations/heading';import _0x151ac0 from'./integrations/highlight';import _0x412447 from'./integrations/horizontalline';import _0x1a94e4 from'./integrations/htmlembed';import _0x3d4a4a from'./integrations/image';import _0xe8d4ac from'./integrations/imagereplace';import _0x1cea4d from'./integrations/imagestyle';import _0x287244 from'./integrations/importword';import _0x2fe7c3 from'./integrations/indent';import _0x1180ed from'./integrations/inputcommand';import _0x362ad0 from'./integrations/link';import _0x7bee7b from'./integrations/list';import _0x101dd3 from'./integrations/listproperties';import _0x2d6d1a from'./integrations/mediaembed';import _0x1d0af2 from'./integrations/mention';import _0x33767c from'./integrations/pagebreak';import _0x55d204 from'./integrations/paragraph';import _0x4e19ba from'./integrations/removeformat';import _0x15f0d7 from'./integrations/restrictededitingmode';import _0x2e6a86 from'./integrations/shiftentercommand';import _0x21b35f from'./integrations/standardeditingmode';import _0xbb23e3 from'./integrations/style';import _0x40f487 from'./integrations/table';import _0x5bbf5c from'./integrations/tablemergesplit';import _0x19a7ff from'./integrations/tableheadings';import _0x287b58 from'./integrations/tableclipboard';import _0x1e6412 from'./integrations/tablecolumnresize';import _0x276861 from'./integrations/template';import _0x1a44ca from'./integrations/tableofcontents';import _0x68d457 from'./integrations/title';import _0x69e1c8 from'./integrations/undo';import _0x5b5de2 from'./integrations/tablecaption';import _0x4466fd from'./integrations/tableproperties';import{getTranslation as _0x1cd636}from'./utils/common-translations';import{isEqual as _0x4de6b8,omit as _0x370f6a}from'lodash-es';export const renameAttributeKey=_0x1097('0x3f');export default class p extends _0x10cbc0{static get[_0x1097('0xdf')](){return[_0x1097('0x31'),_0x47d6cf,_0x36214d,_0x22953b,_0x2e6ba0,_0x51dcf6,_0xf3ee86,_0x23fcf3,_0x5e1760,_0x4da3e0,_0x4f43d2,_0x1caa27,_0x48ca17,_0x320060,_0x44d270,_0x2a7b0e,_0x50ff22,_0x5f2a4f,_0x151ac0,_0x412447,_0x1a94e4,_0x3d4a4a,_0x1cea4d,_0xe8d4ac,_0x287244,_0x2fe7c3,_0x1180ed,_0x362ad0,_0x7bee7b,_0x101dd3,_0x2d6d1a,_0x1d0af2,_0x33767c,_0x55d204,_0x4e19ba,_0x15f0d7,_0x2e6a86,_0x21b35f,_0xbb23e3,_0x40f487,_0x5bbf5c,_0x19a7ff,_0x5b5de2,_0x287b58,_0x1e6412,_0x1a44ca,_0x4466fd,_0x276861,_0x68d457,_0x69e1c8];}static get['pluginName'](){return _0x1097('0x14a');}constructor(_0x23f6e9){function _0x3c4d72(_0x42234c){return _0x42234c['map'](_0x1ee396=>String[_0x1097('0x11')](_0x1ee396))[_0x1097('0x58')]('');}super(_0x23f6e9),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x1097('0x1b')]('activeMarkers',[]),this['on']('change:activeMarkers',(_0x480be7,_0x206141,_0x910550,_0x130627)=>{this[_0x1097('0x23')][_0x1097('0x83')](()=>{for(const _0xcae7b0 of[..._0x130627,..._0x910550])this[_0x1097('0x23')]['markers'][_0x1097('0x63')](_0xcae7b0)&&_0x23f6e9[_0x1097('0xbd')][_0x1097('0x2c')](_0xcae7b0);});}),this[_0x1097('0x9e')]=new _0x1fca97(this[_0x1097('0x170')][_0x1097('0x123')][_0x1097('0x114')],this[_0x1097('0x170')][_0x1097('0x4f')]),this[_0x1097('0x12d')]=null,this['_suggestionFactory']=new Bt(this[_0x1097('0x170')]),this[_0x1097('0x7f')]=new Map(),this['_commentsRepository']=_0x23f6e9[_0x1097('0xff')]['get'](_0x1097('0x31')),this['_enabledCommands']=new Set(),this[_0x1097('0x23')]=this[_0x1097('0x170')][_0x1097('0x123')],this[_0x1097('0x142')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x1097('0x119')]=new Set(['$elementName']),this[_0x1097('0xa')]=new Set(),_0x23f6e9[_0x1097('0xf7')][_0x1097('0x81')](_0x1097('0x11a'),'default'),this[_0x1097('0xaf')]=_0x23f6e9[_0x1097('0xf7')][_0x1097('0x43')](_0x1097('0x11a')),_0x23f6e9[_0x1097('0xf7')][_0x1097('0x81')]('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x23f6e9[_0x1097('0xf7')][_0x1097('0x43')](_0x1097('0x57')),this[_0x1097('0x74')]=new _0x18442c(_0x23f6e9,this[_0x1097('0xee')]),this[_0x1097('0x158')](),this[_0x3c4d72([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x3c4d72([0x34,0x30,0x34,0x36,0x32,0x32,0x35,0x38]);}[_0x1097('0x135')](){const _0x5c38ff=this[_0x1097('0x170')],_0x5deed0=(_0x5c140b,_0x2c46f4)=>{if('attribute'!=_0x5c140b)return _0x1097('0xb1')+_0x5c140b;const _0x3216b5=_0x2c46f4[_0x1097('0xbf')]('|')[0x0];return this[_0x1097('0xed')](_0x3216b5)?_0x1097('0xd8'):_0x1097('0x28');};_0x5c38ff[_0x1097('0x32')][_0x1097('0xd')](_0x1097('0x78'))[_0x1097('0xac')]({'model':_0x1097('0xad'),'view':_0x3a4499=>{const {id:_0x3d0ff4,type:_0xf8816b,subType:_0x59ae58}=this['_splitMarkerName'](_0x3a4499['markerName']),_0x5eb729=[_0x1097('0xa2'),_0x5deed0(_0xf8816b,_0x59ae58)];let _0x46609c=0xbb8;return this[_0x1097('0x27')][_0x1097('0x168')](_0x3a4499[_0x1097('0x3')])&&(_0x5eb729[_0x1097('0x175')](_0x1097('0xf5')),_0x46609c=0xbc2),_0x1097('0x112')==_0xf8816b&&(_0x46609c+=0x5),{'classes':_0x5eb729,'attributes':{'data-suggestion':_0x3d0ff4},'priority':_0x46609c};}}),_0x5c38ff[_0x1097('0x32')][_0x1097('0xd')]('dataDowncast')[_0x1097('0x15c')](_0x160d60=>{_0x160d60['on'](_0x1097('0x54'),(_0x59c07b,_0x1f8047,_0x55ae24)=>{if(!_0x55ae24[_0x1097('0x2e')][_0x1097('0x137')])return;const _0x36ea90=_0x1f8047[_0x1097('0x121')];if(!_0x36ea90)return;const _0x17f729=_0x55ae24[_0x1097('0x11e')][_0x1097('0x1d')](_0x36ea90);_0x5c38ff[_0x1097('0x123')][_0x1097('0x114')][_0x1097('0x102')](_0x36ea90)&&_0x17f729&&!_0x17f729[_0x1097('0x10d')](_0x1097('0x122'))&&_0x17f729['is']('containerElement')&&_0x2a5f11(_0x17f729,_0x55ae24[_0x1097('0x104')]);},{'priority':_0x1097('0xd1')});}),_0x5c38ff[_0x1097('0x32')]['for'](_0x1097('0x110'))[_0x1097('0xac')]({'model':_0x1097('0xad'),'view':(_0x25a24a,_0xa20ed2)=>{if(!_0xa20ed2['options'][_0x1097('0x137')])return null;const {type:_0x52c3ab,subType:_0x497f20}=this[_0x1097('0x56')](_0x25a24a[_0x1097('0x3')]);return{'classes':[_0x1097('0xa2'),_0x5deed0(_0x52c3ab,_0x497f20)],'priority':0xbb8};}});const _0x4936c1=({showActiveMarkers:_0x251881=!0x0,isAttributeSuggestion:_0x75318f=!0x1}={})=>(_0x468397,_0x3dd890,_0x1a4ec0)=>{if(!_0x3dd890[_0x1097('0x121')])return;const {id:_0x34c0d9}=this['_splitMarkerName'](_0x3dd890['markerName']);if(_0x75318f){const _0x39a9cd=this[_0x1097('0x7f')][_0x1097('0x43')](_0x34c0d9),_0x3d7d1a=this[_0x1097('0x4e')](_0x39a9cd);if(!this[_0x1097('0xed')](_0x3d7d1a))return;}if(_0x3dd890[_0x1097('0x121')]['is']('selection'))return void _0x1a4ec0[_0x1097('0x16b')][_0x1097('0x173')](_0x3dd890[_0x1097('0x121')],_0x468397[_0x1097('0x179')]);const _0x1dea88=_0x1a4ec0[_0x1097('0x11e')][_0x1097('0x1d')](_0x3dd890[_0x1097('0x121')]);if(_0x3dd890[_0x1097('0x121')]['is']('element')&&_0x5c38ff[_0x1097('0x123')][_0x1097('0x114')]['isBlock'](_0x3dd890[_0x1097('0x121')])&&!_0x1dea88[_0x1097('0x10d')](_0x1097('0xb0'))){_0x1a4ec0[_0x1097('0x104')]['addClass']([_0x1097('0xa2'),_0x1097('0xd8')],_0x1dea88),_0x1a4ec0[_0x1097('0x104')][_0x1097('0x14b')](_0x1097('0x7a'),_0x34c0d9,_0x1dea88),_0x1a4ec0['mapper'][_0x1097('0x65')](_0x1dea88,_0x3dd890[_0x1097('0x3')]),_0x251881&&(this[_0x1097('0x27')]['includes'](_0x3dd890[_0x1097('0x3')])?_0x1a4ec0[_0x1097('0x104')][_0x1097('0x79')]('ck-suggestion-marker--active',_0x1dea88):_0x1a4ec0['writer'][_0x1097('0xb2')](_0x1097('0xf5'),_0x1dea88));for(const _0x379394 of _0x5c38ff[_0x1097('0x123')][_0x1097('0x5f')](_0x3dd890[_0x1097('0x121')])[_0x1097('0x1e')]())_0x1a4ec0['consumable'][_0x1097('0x173')](_0x379394,_0x468397['name']);_0x1a4ec0[_0x1097('0x16b')][_0x1097('0x173')](_0x3dd890[_0x1097('0x121')],_0x468397['name']);}};_0x5c38ff[_0x1097('0x32')]['for'](_0x1097('0x110'))['add'](_0x8c3942=>{_0x8c3942['on']('addMarker:suggestion:formatBlock',(_0x5e8ece,_0x3769f6,_0x17a280)=>{_0x17a280['options']['showSuggestionHighlights']&&_0x4936c1({'showActiveMarkers':!0x1})(_0x5e8ece,_0x3769f6,_0x17a280);},{'priority':_0x1097('0x118')});}),_0x5c38ff['conversion'][_0x1097('0xd')](_0x1097('0x110'))['add'](_0x4a2e6e=>{_0x4a2e6e['on'](_0x1097('0xc1'),(_0x260375,_0x864359,_0x5a1a20)=>{_0x5a1a20[_0x1097('0x2e')][_0x1097('0x137')]&&_0x4936c1({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x260375,_0x864359,_0x5a1a20);},{'priority':_0x1097('0x118')});}),_0x5c38ff['conversion']['for']('dataDowncast')[_0x1097('0x3e')]({'model':_0x1097('0xad'),'view':(_0x1e402e,_0x442ec5)=>_0x442ec5['options'][_0x1097('0x137')]?null:{'group':_0x1097('0xad'),'name':_0x1e402e['substr'](0xb)}}),_0x5c38ff[_0x1097('0x32')][_0x1097('0xd')](_0x1097('0xf6'))['elementToElement']({'view':{'name':_0x1097('0xad'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2671e6,{writer:_0x41efeb})=>{let _0x146737=_0x1097('0xd9')+_0x2671e6[_0x1097('0x86')]('suggestion-type')+':'+_0x2671e6[_0x1097('0x86')]('id');return _0x2671e6['getAttribute'](_0x1097('0x1f'))&&(_0x146737+=':'+_0x2671e6[_0x1097('0x86')]('marker-count')),_0x41efeb[_0x1097('0x148')](_0x1097('0x12b'),{'data-name':_0x146737});}}),_0x5c38ff[_0x1097('0x32')]['for'](_0x1097('0xf6'))[_0x1097('0x7e')]({'view':'suggestion'}),_0x5c38ff['conversion'][_0x1097('0xd')](_0x1097('0x78'))[_0x1097('0x15c')](_0x105a09=>{_0x105a09['on'](_0x1097('0x15b'),_0x4936c1(),{'priority':_0x1097('0xd1')});}),_0x5c38ff[_0x1097('0x32')][_0x1097('0xd')]('editingDowncast')[_0x1097('0x15c')](_0x49f66c=>{_0x49f66c['on'](_0x1097('0xc1'),_0x4936c1({'isAttributeSuggestion':!0x0}),{'priority':_0x1097('0xd1')});}),_0x5c38ff['conversion']['for'](_0x1097('0x78'))[_0x1097('0x15c')](_0x995246=>{_0x995246['on']('removeMarker:suggestion:formatBlock',(_0x45a3f0,_0x44ae07,_0x5557d3)=>{const _0x1ab26a=_0x5557d3[_0x1097('0x11e')]['markerNameToElements'](_0x44ae07[_0x1097('0x3')]);if(_0x1ab26a)for(const _0x4ad82d of _0x1ab26a)_0x4ad82d[_0x1097('0x10d')](_0x1097('0xb0'))||(_0x5557d3[_0x1097('0x104')]['removeClass']([_0x1097('0xa2'),_0x1097('0xd8'),_0x1097('0xf5')],_0x4ad82d),_0x5557d3[_0x1097('0x104')][_0x1097('0xb')](_0x1097('0x7a'),_0x4ad82d),_0x5557d3['mapper'][_0x1097('0x87')](_0x4ad82d,_0x44ae07['markerName']));},{'priority':_0x1097('0xd1')});}),_0x5c38ff['conversion'][_0x1097('0xd')](_0x1097('0x78'))[_0x1097('0x15c')](_0x5bf54c=>{_0x5bf54c['on'](_0x1097('0x108'),(_0x3c8c95,_0x4c760b,_0x58c326)=>{const _0x11245c=_0x58c326[_0x1097('0x11e')][_0x1097('0x6c')](_0x4c760b[_0x1097('0x3')]);if(!_0x11245c)return;const {id:_0x54bb82}=this[_0x1097('0x56')](_0x4c760b[_0x1097('0x3')]),_0x2f8914=this[_0x1097('0x7f')][_0x1097('0x43')](_0x54bb82),_0x507ed1=this[_0x1097('0x4e')](_0x2f8914);if(this[_0x1097('0xed')](_0x507ed1))for(const _0xfa6773 of _0x11245c)_0xfa6773[_0x1097('0x10d')](_0x1097('0xb0'))||(_0x58c326[_0x1097('0x104')][_0x1097('0xb2')]([_0x1097('0xa2'),_0x1097('0xd8'),_0x1097('0xf5')],_0xfa6773),_0x58c326[_0x1097('0x104')][_0x1097('0xb')](_0x1097('0x7a'),_0xfa6773),_0x58c326[_0x1097('0x11e')][_0x1097('0x87')](_0xfa6773,_0x4c760b[_0x1097('0x3')]));},{'priority':_0x1097('0xd1')});}),_0x5c38ff['model'][_0x1097('0x1a')][_0x1097('0xde')](_0xeeebe5=>{let _0x5cdca2=!0x1;const _0xe6e566=Array['from'](_0x5c38ff[_0x1097('0x123')][_0x1097('0x1a')][_0x1097('0x71')]['getChangedMarkers']()),_0x2b03fd=new Set();for(const {name:_0x6eeef9,data:_0x4b7efc}of _0xe6e566){const {group:_0x235d8d,type:_0x20e8d6,subType:_0x4e2619,id:_0x3e9813}=this[_0x1097('0x56')](_0x6eeef9);if(_0x1097('0xad')!==_0x235d8d)continue;const _0x1f19aa=this[_0x1097('0x7f')][_0x1097('0x43')](_0x3e9813);if(null!=_0x4b7efc[_0x1097('0xe')]){_0x1097('0x6b')==_0x20e8d6&&(_0x5cdca2=_0x5cdca2||Et(_0x4b7efc['newRange'],_0x6eeef9,_0xeeebe5,_0x5c38ff[_0x1097('0x123')][_0x1097('0x114')]));const _0x2566f5='attribute'==_0x20e8d6&&this['_isBlockAttribute'](_0x4e2619[_0x1097('0xbf')]('|')[0x0]);if(_0x4b7efc[_0x1097('0xe')][_0x1097('0x11f')]||_0x1097('0xf8')==_0x4b7efc[_0x1097('0xe')][_0x1097('0x66')][_0x1097('0x164')]||_0x1097('0x147')==_0x20e8d6&&!jt(_0x4b7efc[_0x1097('0xe')])||_0x2566f5&&!jt(_0x4b7efc[_0x1097('0xe')])||_0x1097('0x112')==_0x20e8d6&&!(!xt(_0x145557=_0x4b7efc[_0x1097('0xe')])&&!function(_0x63eace){return _0x63eace['start']['parent']==_0x63eace['end'][_0x1097('0x70')]&&_0x63eace[_0x1097('0x139')]['isAtEnd'];}(_0x145557)))_0xeeebe5[_0x1097('0x84')](_0x6eeef9),_0x5cdca2=!0x0;else{if(!_0x1f19aa||!_0x1f19aa['isInContent'])continue;_0x2b03fd['add'](_0x1f19aa);}}}var _0x145557;return _0x2b03fd[_0x1097('0x30')]>0x0&&(_0x5cdca2=!!this[_0x1097('0x151')](_0x2b03fd)||_0x5cdca2),_0x5cdca2;}),_0x5c38ff[_0x1097('0x123')]['document'][_0x1097('0xde')](_0x438708=>{let _0x2e8941=!0x1;for(const _0x2660c0 of _0x5c38ff[_0x1097('0x123')]['document'][_0x1097('0x71')][_0x1097('0x53')]())if(_0x1097('0xe8')==_0x2660c0[_0x1097('0x107')])for(const _0x205de3 of this[_0x1097('0x7f')][_0x1097('0xe7')]()){if(_0x205de3[_0x1097('0x80')]||!_0x205de3[_0x1097('0x14c')])continue;const _0x3b1b11=_0x1097('0x147')==_0x205de3[_0x1097('0x107')],_0x3dd727=this[_0x1097('0x4e')](_0x205de3),_0x1ad9c9=_0x3dd727&&this[_0x1097('0xed')](_0x3dd727);if(!_0x3b1b11&&!_0x1ad9c9)continue;const _0x68c8a=_0x205de3[_0x1097('0xc6')]();if(_0x68c8a[_0x1097('0x139')]['parent']!=_0x68c8a[_0x1097('0xd6')][_0x1097('0x136')]&&!_0x68c8a[_0x1097('0xd6')]['isAtEnd']){const _0x47ee1e=_0x5c38ff[_0x1097('0x123')][_0x1097('0x4')](_0x68c8a['start'][_0x1097('0x94')],_0x1097('0xd6')),_0x11e723=_0x5c38ff['model'][_0x1097('0x15')](_0x68c8a['start'],_0x47ee1e);_0x438708[_0x1097('0x125')](_0x205de3[_0x1097('0xc7')](),{'range':_0x11e723}),_0x2e8941=!0x0;}}return _0x2e8941;}),_0x5c38ff[_0x1097('0x123')][_0x1097('0x1a')][_0x1097('0xde')](_0x25aa87=>this['_processAttributeChanges'](_0x25aa87)),_0x5c38ff['model']['document'][_0x1097('0xde')](_0x42231c=>!_0x42231c[_0x1097('0x36')][_0x1097('0x35')]&&this['_processAttributeSuggestions'](_0x42231c)),_0x5c38ff[_0x1097('0x123')][_0x1097('0x11c')]['on'](_0x1097('0x5'),(_0x34cd11,_0x1b6a20,_0x2e3229)=>{if(null==_0x2e3229){const {id:_0x10749f}=this[_0x1097('0x56')](_0x1b6a20[_0x1097('0x179')]),_0x91f88e=this[_0x1097('0x7f')][_0x1097('0x43')](_0x10749f);_0x91f88e&&_0x91f88e[_0x1097('0x16d')](_0x1b6a20['name']);}}),_0x5c38ff[_0x1097('0x123')][_0x1097('0x1a')]['on'](_0x1097('0x10f'),()=>{const _0x47f3b2=Array[_0x1097('0x95')](_0x5c38ff[_0x1097('0x123')]['document'][_0x1097('0x71')]['getChangedMarkers']())[_0x1097('0x10b')](_0x294ac4=>_0x1097('0xad')===this[_0x1097('0x56')](_0x294ac4[_0x1097('0x179')])['group']);if(0x0===_0x47f3b2['length'])return;_0x47f3b2[_0x1097('0xcc')]((_0x63cda7,_0x4f5d22)=>{const _0x51c574=_0x63cda7['data'][_0x1097('0x7')],_0x27a951=_0x4f5d22[_0x1097('0x8f')][_0x1097('0x7')];return null===_0x51c574&&null===_0x27a951?0x0:null===_0x51c574&&null!==_0x27a951?-0x1:null!==_0x51c574&&null===_0x27a951?0x1:_0x51c574['start']['isBefore'](_0x27a951[_0x1097('0x139')])?-0x1:0x1;});const _0x45d1bd=new Set(),_0x21efb6=new Set();for(const {name:_0x52e22f,data:_0x24d17e}of _0x47f3b2){const {id:_0x8977d9}=this[_0x1097('0x56')](_0x52e22f);if(null===_0x24d17e[_0x1097('0x7')]){const _0x333b51=this['_handleNewSuggestionMarker'](_0x52e22f);_0x21efb6['add'](_0x333b51);}else{const _0x38a8e0=this[_0x1097('0x7f')][_0x1097('0x43')](_0x8977d9);null!==_0x24d17e[_0x1097('0xe')]||_0x38a8e0['isInContent']?(_0x45d1bd[_0x1097('0x15c')](_0x38a8e0[_0x1097('0xcf')]),_0x21efb6[_0x1097('0x15c')](_0x38a8e0)):this[_0x1097('0x1c')](_0x38a8e0);}}_0x21efb6['size']>0x0&&this[_0x1097('0x16a')](_0x21efb6);for(const _0x27e81b of _0x45d1bd)this[_0x1097('0xab')](_0x1097('0xcd'),_0x27e81b);}),_0x5c38ff['model']['on'](_0x1097('0xbb'),(_0x42c882,_0x40b054)=>{const _0x5247b4=_0x40b054[0x0];if(!this[_0x1097('0x7f')][_0x1097('0x30')])return;if(!_0x5247b4[_0x1097('0x5e')])return;if(_0x5247b4[_0x1097('0x36')][_0x1097('0xc0')]||!_0x5247b4[_0x1097('0x36')][_0x1097('0x35')])return;let _0x2592f4,_0x1b1f34;switch(_0x5247b4[_0x1097('0x107')]){case'insert':_0x2592f4=_0x5c38ff[_0x1097('0x123')][_0x1097('0x4')](_0x5247b4[_0x1097('0x106')]),_0x1b1f34=_0x2592f4[_0x1097('0x155')](_0x5247b4[_0x1097('0xe1')]);break;case _0x1097('0xbf'):_0x2592f4=_0x5c38ff['model'][_0x1097('0x4')](_0x5247b4[_0x1097('0x18')]),_0x1b1f34=_0x5c38ff[_0x1097('0x123')][_0x1097('0x4')](_0x5247b4[_0x1097('0x174')]);break;case _0x1097('0x176'):_0x2592f4=_0x5c38ff[_0x1097('0x123')]['createPositionAt'](_0x5247b4[_0x1097('0x16e')]),_0x1b1f34=_0x2592f4['getShiftedBy'](_0x5247b4[_0x1097('0xe1')]);break;default:return;}const _0x3e1807=_0x5c38ff['model'][_0x1097('0x15')](_0x2592f4,_0x1b1f34);_0x5c38ff[_0x1097('0x123')][_0x1097('0x83')](()=>{for(const {suggestion:_0x1c55d4,meta:_0x2ae8ae}of this[_0x1097('0xca')](_0x3e1807)){if(_0x1c55d4[_0x1097('0x80')])continue;if('formatInline'==_0x1c55d4['type'])continue;const _0x534a0f=this[_0x1097('0x4e')](_0x1c55d4);if(_0x534a0f&&this[_0x1097('0xed')](_0x534a0f)&&'split'!=_0x5247b4['type'])continue;const _0x4e5cf4=_0x1c55d4[_0x1097('0x8f')]&&_0x1c55d4[_0x1097('0x8f')][_0x1097('0x13a')];(_0x1097('0x147')!=_0x1c55d4[_0x1097('0x107')]||_0x1097('0xbf')==_0x5247b4[_0x1097('0x107')]&&!_0x4e5cf4)&&(_0x2ae8ae['containsRangeInObject']||'insertion'==_0x1c55d4[_0x1097('0x107')]&&_0x2ae8ae[_0x1097('0x14f')]||_0x1c55d4[_0x1097('0xc6')]()[_0x1097('0xf9')](_0x3e1807)&&this[_0x1097('0xeb')](_0x1c55d4,_0x2592f4,_0x1b1f34));}});},{'priority':'lowest'}),_0x5c38ff['model']['on']('deleteContent',(_0x10671d,_0x497572)=>{const _0x1d9f15=_0x497572[0x0],_0x2a9788=_0x497572[0x1];if(_0x2a9788&&_0x2a9788[_0x1097('0x15d')])return;if(this[_0x1097('0xd3')])return;if(!this[_0x1097('0x74')]['value'])return;if(_0x1d9f15['isCollapsed'])return;const _0x5765e3=_0x5c38ff[_0x1097('0x123')][_0x1097('0x114')],{start:_0x1b4655,end:_0x383737}=_0x1d9f15[_0x1097('0xc6')](),_0x3bf0e5=_0x1b4655[_0x1097('0x94')]&&_0x5765e3[_0x1097('0x14e')](_0x1b4655[_0x1097('0x94')])?null:_0x5765e3['getNearestSelectionRange'](_0x1b4655,_0x1097('0x34')),_0x4dd2f0=_0x383737[_0x1097('0x70')]&&_0x5765e3['isLimit'](_0x383737[_0x1097('0x70')])?null:_0x5765e3[_0x1097('0x91')](_0x383737,_0x1097('0x11d')),_0x1d4ca9=_0x5c38ff[_0x1097('0x123')][_0x1097('0x15')](_0x3bf0e5?_0x3bf0e5['start']:_0x1b4655,_0x4dd2f0?_0x4dd2f0[_0x1097('0xd6')]:_0x383737);_0x5c38ff[_0x1097('0x123')][_0x1097('0x83')](_0x539932=>{this[_0x1097('0x17')](_0x1d4ca9);const _0x299de3=_0x5c38ff['model'][_0x1097('0x114')]['getNearestSelectionRange'](_0x1d4ca9[_0x1097('0x139')]);_0x1d9f15['is'](_0x1097('0xb8'))?_0x539932[_0x1097('0xfe')](_0x299de3):_0x1d9f15['setTo'](_0x299de3);}),_0x10671d[_0x1097('0x61')]();},{'priority':_0x4dff16[_0x1097('0x2a')]+0xa}),_0x5c38ff[_0x1097('0x123')]['on']('insertContent',(_0x196939,_0x3c28b8)=>{const _0x282165=_0x3c28b8[_0x3c28b8[_0x1097('0x8b')]-0x1];_0x282165&&_0x282165[_0x1097('0x15d')]||this['_isForcedDefaultExecutionBlock']||this[_0x1097('0x74')]['value']&&(_0x5c38ff[_0x1097('0x123')][_0x1097('0x83')](()=>{let _0x3b6200=_0x5c38ff[_0x1097('0x123')][_0x1097('0x38')](_0x3c28b8[0x0],_0x3c28b8[0x1],_0x3c28b8[0x2],{'forceDefaultExecution':!0x0});if(!_0x3b6200)return;_0x196939['return']=_0x3b6200['clone']();const _0x487fa1=_0x3b6200[_0x1097('0xd6')][_0x1097('0x70')],_0x265adc=_0x5c38ff[_0x1097('0x123')][_0x1097('0x114')];_0x487fa1&&_0x265adc[_0x1097('0xb3')](_0x487fa1)&&!_0x265adc[_0x1097('0x102')](_0x487fa1)&&(_0x3b6200=_0x5c38ff['model'][_0x1097('0x15')](_0x3b6200[_0x1097('0x139')],_0x5c38ff[_0x1097('0x123')][_0x1097('0x4')](_0x487fa1,_0x1097('0xd6')))),this['markInsertion'](_0x3b6200);}),_0x196939['stop']());},{'priority':_0x1097('0xd1')}),this[_0x1097('0x170')][_0x1097('0xb6')][_0x1097('0x15c')]('trackChanges',this[_0x1097('0x74')]),this[_0x1097('0xa0')]('trackChanges');const _0x530e30=new _0x14f528(_0x5c38ff,this[_0x1097('0x7f')]);_0x5c38ff[_0x1097('0xb6')][_0x1097('0x15c')](_0x1097('0x134'),_0x530e30),this['enableCommand']('acceptSuggestion');const _0x3e42da=new _0x3c5c02(_0x5c38ff,this[_0x1097('0x7f')]);_0x5c38ff[_0x1097('0xb6')][_0x1097('0x15c')](_0x1097('0xef'),_0x3e42da),this[_0x1097('0xa0')](_0x1097('0xef')),_0x5c38ff[_0x1097('0xb6')]['add']('acceptAllSuggestions',new _0x13bc7a(_0x5c38ff,_0x530e30,this['_suggestions'])),this[_0x1097('0xa0')](_0x1097('0x127')),_0x5c38ff['commands'][_0x1097('0x15c')](_0x1097('0xcb'),new _0x13bc7a(_0x5c38ff,_0x3e42da,this[_0x1097('0x7f')])),this[_0x1097('0xa0')]('discardAllSuggestions'),_0x5c38ff['commands'][_0x1097('0x15c')]('acceptSelectedSuggestions',new _0x2c15d2(_0x5c38ff,_0x530e30,this[_0x1097('0x7f')])),this[_0x1097('0xa0')]('acceptSelectedSuggestions'),_0x5c38ff[_0x1097('0xb6')][_0x1097('0x15c')]('discardSelectedSuggestions',new _0x2c15d2(_0x5c38ff,_0x3e42da,this['_suggestions'])),this[_0x1097('0xa0')](_0x1097('0xc3'));const _0x2bdf93=_0x5c38ff[_0x1097('0xff')][_0x1097('0x43')]('CommentsRepository');this['listenTo'](_0x2bdf93,'addComment',(_0x4695ac,{threadId:_0x2d6682})=>{const _0x2d21b0=this[_0x1097('0x7f')][_0x1097('0x43')](_0x2d6682);_0x2d21b0&&_0x2d21b0[_0x1097('0x16c')]&&0x1===_0x2d21b0[_0x1097('0x16c')][_0x1097('0x8b')]&&this[_0x1097('0x129')](_0x2d6682,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x2bdf93,'removeComment',(_0x2f5839,{threadId:_0x25e011})=>{const _0x2db664=this['_suggestions']['get'](_0x25e011);_0x2db664&&_0x2db664[_0x1097('0x16c')]&&!_0x2db664['commentThread'][_0x1097('0x8b')]&&this[_0x1097('0x129')](_0x25e011,{'hasComments':!0x1});},{'priority':_0x1097('0x120')});}set[_0x1097('0x82')](_0x26d68a){if(this[_0x1097('0x12d')])throw new _0x1b320d('track-changes-adapter-already-set',this);this[_0x1097('0x12d')]=_0x26d68a;}get['adapter'](){return this[_0x1097('0x12d')];}[_0x1097('0x115')]({skipNotAttached:_0x13da00=!0x1,toJSON:_0x5460f9=!0x1}={}){const _0x360419=[];for(const _0x330fa7 of this['_suggestions'][_0x1097('0xe7')]())_0x13da00&&!_0x330fa7[_0x1097('0x14c')]||_0x360419[_0x1097('0x175')](_0x330fa7);return _0x5460f9?_0x360419[_0x1097('0xfb')](_0x5d8e92=>_0x5d8e92['toJSON']()):_0x360419;}[_0x1097('0x13')](_0x2439af){const _0x2639cc=this[_0x1097('0x7f')][_0x1097('0x43')](_0x2439af);if(!_0x2639cc)throw new _0x1b320d(_0x1097('0x161'),this);return _0x2639cc;}[_0x1097('0xe9')](_0x358f94){return this[_0x1097('0x7f')][_0x1097('0x63')](_0x358f94);}[_0x1097('0x154')](_0x56662c){const {authorId:_0x18c5d9,id:_0x17ccdc,attributes:_0x41d5d3}=_0x56662c,[_0x57d019,_0x1260b0]=_0x56662c[_0x1097('0x107')][_0x1097('0xbf')](':'),_0x27e2bf=this['_suggestions']['get'](_0x17ccdc)||this[_0x1097('0x47')](_0x57d019,_0x1260b0,_0x17ccdc,_0x18c5d9,_0x41d5d3);if(this['_addThreadToSuggestion'](_0x27e2bf),this['_checkSuggestionCorrectness'](_0x27e2bf,_0x57d019,_0x1260b0||null,_0x18c5d9),_0x27e2bf[_0x1097('0x101')]=_0x56662c[_0x1097('0x101')],_0x27e2bf['_isDataLoaded']=!0x0,_0x41d5d3&&_0x41d5d3[_0x1097('0x144')]){const _0xc0b73=_0x41d5d3['@external'],_0x1c4cd5=this[_0x1097('0x131')](_0xc0b73[_0x1097('0xd2')]);_0x27e2bf[_0x1097('0x7d')]=_0xc0b73['createdAt'],_0x27e2bf[_0x1097('0x3d')]=_0x1c4cd5,_0x27e2bf[_0x1097('0xaa')]=!0x0;}else _0x27e2bf[_0x1097('0x7d')]=_0x56662c['createdAt'];switch(_0x56662c['data']&&(_0x27e2bf[_0x1097('0x8f')]=_0x56662c[_0x1097('0x8f')]),_0x56662c[_0x1097('0x157')]&&(_0x27e2bf[_0x1097('0x157')]=_0x56662c[_0x1097('0x157')]),this[_0x1097('0x12d')]&&this[_0x1097('0x12d')][_0x1097('0x4c')]||(_0x27e2bf[_0x1097('0x163')]=!0x0),this[_0x1097('0x142')][_0x1097('0x43')](_0x27e2bf)){case _0x1097('0xe6'):this[_0x1097('0x142')]['set'](_0x27e2bf,_0x1097('0x62'));break;case'markerReady':_0x27e2bf[_0x1097('0x14c')]?(this[_0x1097('0x16a')](new Set([_0x27e2bf])),this[_0x1097('0x151')](new Set([_0x27e2bf])),this['_suggestionState'][_0x1097('0x1b')](_0x27e2bf,_0x1097('0xda')),this[_0x1097('0xab')](_0x1097('0x149'),_0x27e2bf)):this[_0x1097('0x142')]['set'](_0x27e2bf,_0x1097('0x46'));}return _0x27e2bf;}[_0x1097('0x134')](_0x2b6905){this[_0x1097('0x15d')](()=>{this[_0x1097('0x170')][_0x1097('0x123')]['change'](()=>{for(const _0x2975fe of _0x2b6905[_0x1097('0x13b')]())_0x2975fe[_0x1097('0x117')]();});});}[_0x1097('0xef')](_0x552c36){this[_0x1097('0x15d')](()=>{this[_0x1097('0x170')][_0x1097('0x123')][_0x1097('0x83')](()=>{for(const _0x2b26ad of _0x552c36[_0x1097('0x13b')]())_0x2b26ad[_0x1097('0x2f')]();});});}['enableCommand'](_0x11470a,_0x101811){const _0x120b0b=this['editor'][_0x1097('0xb6')][_0x1097('0x43')](_0x11470a);if(!_0x120b0b)throw new _0x1b320d('track-changes-command-not-found',this,{'commandName':_0x11470a});if(this['_enabledCommands'][_0x1097('0x63')](_0x120b0b))throw new _0x1b320d(_0x1097('0x153'),this,{'commandName':_0x11470a});this[_0x1097('0xee')][_0x1097('0x15c')](_0x120b0b),_0x101811&&_0x120b0b['on'](_0x1097('0x45'),(_0x23fe24,_0x3f56f1)=>{this[_0x1097('0x74')][_0x1097('0x8d')]&&(this['_isForcedDefaultExecutionBlock']||(_0x3f56f1[_0x1097('0x8b')]>0x0&&_0x3f56f1[_0x3f56f1['length']-0x1]&&_0x3f56f1[_0x3f56f1[_0x1097('0x8b')]-0x1]['forceDefaultExecution']?_0x3f56f1[_0x1097('0x1')]():(_0x23fe24[_0x1097('0x5b')]=_0x101811((..._0x903709)=>_0x120b0b[_0x1097('0x45')](..._0x903709,{'forceDefaultExecution':!0x0}),..._0x3f56f1),_0x23fe24[_0x1097('0x61')]())));},{'priority':_0x1097('0xd1')});}[_0x1097('0x15d')](_0x3edfbf){let _0x24065a,_0x397c68;const _0x4182a8=this[_0x1097('0xd3')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x24065a=_0x3edfbf();}catch(_0x14ceb1){_0x397c68=_0x14ceb1;}return _0x4182a8||(this[_0x1097('0xd3')]=!0x1),_0x397c68&&_0x1b320d[_0x1097('0xa3')](_0x397c68,this),_0x24065a;}[_0x1097('0xbe')](_0x636e2c,_0x119687=null,_0x421dd3={}){if(_0x636e2c[_0x1097('0x11f')])return null;const _0x66b1bb=this[_0x1097('0x170')][_0x1097('0xff')]['get']('Users')['me'];for(const {suggestion:_0x5a4ea0,meta:_0x59e73c}of this[_0x1097('0xca')](_0x636e2c,'insertion'))if(_0x59e73c[_0x1097('0x14f')]){if(!_0x59e73c[_0x1097('0x10e')]){if(_0x59e73c[_0x1097('0xf3')]){if(!this[_0x1097('0x37')]||!Ft(_0x5a4ea0,_0x421dd3))continue;return _0x5a4ea0;}if(Ft(_0x5a4ea0,_0x421dd3))return _0x5a4ea0;this[_0x1097('0xeb')](_0x5a4ea0,_0x636e2c[_0x1097('0x139')],_0x636e2c[_0x1097('0xd6')]);break;}if(_0x119687==_0x5a4ea0['subType']&&Ft(_0x5a4ea0,_0x421dd3)){const _0x282dae=_0x5a4ea0[_0x1097('0xc6')]();return _0x282dae[_0x1097('0x139')][_0x1097('0x160')](_0x636e2c['end'])?this[_0x1097('0x33')](_0x5a4ea0,this[_0x1097('0x23')][_0x1097('0x15')](_0x636e2c['start'],_0x282dae[_0x1097('0xd6')])):this[_0x1097('0x33')](_0x5a4ea0,this[_0x1097('0x23')]['createRange'](_0x282dae[_0x1097('0x139')],_0x636e2c[_0x1097('0xd6')])),_0x5a4ea0;}}const _0x2b0c48=_0x2bcffc(),_0x11917e=_0x66b1bb['id'],_0x3a50ca=_0x119687?'insertion:'+_0x119687:_0x1097('0x4d'),_0x3f5a18=this['_setSuggestionData']({'id':_0x2b0c48,'type':_0x3a50ca,'createdAt':new Date(),'authorId':_0x11917e,'attributes':_0x421dd3});return this['_addSuggestionMarker'](_0x3a50ca,_0x2b0c48,_0x11917e,_0x636e2c),_0x3f5a18;}[_0x1097('0x5a')](_0x253740,_0x2301eb=_0x1097('0x64'),_0x21a249={}){const _0x476529=this[_0x1097('0x170')][_0x1097('0xff')][_0x1097('0x43')](_0x1097('0x8a'))['me'],_0x8301ea=this[_0x1097('0x42')][_0x1097('0x22')]('insertion',_0x2301eb,_0x1097('0x58'));for(const _0x231a13 of this[_0x1097('0x115')]())if(_0x231a13[_0x1097('0x3d')]['id']==_0x476529['id']&&'insertion'==_0x231a13[_0x1097('0x107')]&&_0x231a13[_0x1097('0x9d')]==_0x2301eb&&Ft(_0x231a13,_0x21a249)&&(_0x8301ea(_0x231a13[_0x1097('0xfa')](),_0x253740)||_0x8301ea(_0x253740,_0x231a13[_0x1097('0xfa')]()))){for(const _0x4a3766 of _0x253740)_0x231a13['addRange'](_0x4a3766);return _0x231a13;}for(const {suggestion:_0x40cd5d,meta:_0x2a1bd8}of this[_0x1097('0xca')](_0x253740,_0x1097('0x4d'))){if(!_0x2a1bd8[_0x1097('0x14f')])continue;if(!this[_0x1097('0x37')]&&_0x2a1bd8[_0x1097('0xf3')])continue;if(!Ft(_0x40cd5d,_0x21a249))continue;let _0x5211d6=!0x0;for(const _0x3a4efb of _0x40cd5d['getRanges']())for(const _0x3f7876 of _0x253740)if(!_0x3a4efb[_0x1097('0xf9')](_0x3f7876)){_0x5211d6=!0x1;break;}if(_0x5211d6)return _0x40cd5d;}const _0x128306=_0x2bcffc(),_0x57b6be=_0x476529['id'],_0x5849fb=_0x1097('0x48')+_0x2301eb,_0x4c2958=this[_0x1097('0x25')]({'id':_0x128306,'type':_0x5849fb,'createdAt':new Date(),'authorId':_0x57b6be,'attributes':_0x21a249});for(const _0x582369 of _0x253740)this[_0x1097('0xf2')](_0x5849fb,_0x128306,_0x57b6be,_0x582369,_0x547259[_0x1097('0x76')]());return _0x4c2958;}[_0x1097('0x20')](_0x477b34,_0x391516,_0x2804f0=null,_0x268f00={}){if(_0x2804f0=_0x2804f0||Rt(_0x391516),_0x477b34['isCollapsed'])return null;if(_0x1097('0x124')===this['_trackFormatChanges']){const _0x3ac9d1=this[_0x1097('0x42')][_0x1097('0x22')](_0x1097('0x6b'),_0x2804f0,_0x1097('0x117'));return this[_0x1097('0x15d')](()=>_0x3ac9d1([_0x477b34],_0x391516,_0x268f00)),null;}const _0x235c4e=this[_0x1097('0x170')]['plugins'][_0x1097('0x43')](_0x1097('0x8a'))['me'],_0x358541=[];if('always'!==this[_0x1097('0xaf')])for(const {suggestion:_0x12e5c3,meta:_0x2f4474}of this[_0x1097('0xca')](_0x477b34,_0x1097('0x4d')))_0x2f4474[_0x1097('0x14f')]&&!_0x2f4474[_0x1097('0x41')]&&_0x358541[_0x1097('0x175')](..._0x12e5c3[_0x1097('0xfa')]());const _0x2db266=function(_0xb3f632,_0x1847b2){const _0x1ceaa5=[];for(const _0x18f5f1 of _0x1847b2){const _0x306aec=_0xb3f632['getIntersection'](_0x18f5f1);_0x306aec&&_0x1ceaa5['push'](_0x306aec);}return _0x1ceaa5;}(_0x477b34,_0x358541),_0x52c93f=function(_0x4e1974,_0x231841){const _0x534c12=[_0x4e1974];for(const _0x191ff3 of _0x231841){let _0x1e2591=0x0;for(;_0x1e2591<_0x534c12[_0x1097('0x8b')];){const _0x31d8b2=_0x534c12[_0x1e2591]['getDifference'](_0x191ff3);_0x534c12[_0x1097('0x69')](_0x1e2591,0x1,..._0x31d8b2),_0x1e2591+=_0x31d8b2['length'];}}return _0x534c12;}(_0x477b34,_0x358541);_0x2db266[_0x1097('0x8b')]&&this[_0x1097('0x23')][_0x1097('0x83')](()=>{for(const _0x239f3b of _0x2db266){const _0x44ac96=this[_0x1097('0x42')]['getSuggestionCallback'](_0x1097('0x6b'),_0x2804f0,_0x1097('0x117'));this['forceDefaultExecution'](()=>_0x44ac96([_0x239f3b],_0x391516,_0x268f00));}});for(const _0x46ea9f of _0x52c93f){let _0x546ab9=null,_0x21bc1c=_0x46ea9f[_0x1097('0x139')],_0x1c9f39=_0x46ea9f['end'];for(const {suggestion:_0x397579,meta:_0x20cfa9}of this[_0x1097('0xca')](_0x46ea9f,_0x1097('0x6b'))){if(!_0x20cfa9[_0x1097('0x14f')])continue;if(_0x397579[_0x1097('0x9d')]!=_0x2804f0)continue;if(!Ft(_0x397579,_0x268f00))continue;const _0x4e2480=_0x397579['getFirstRange']();if(_0x4e2480[_0x1097('0xf9')](_0x46ea9f,!0x0))return null;_0x21bc1c=_0x21bc1c[_0x1097('0x9c')](_0x4e2480['start'])?_0x21bc1c:_0x4e2480[_0x1097('0x139')],_0x1c9f39=_0x1c9f39[_0x1097('0xdb')](_0x4e2480['end'])?_0x1c9f39:_0x4e2480[_0x1097('0xd6')],_0x546ab9?_0x4e2480[_0x1097('0x139')][_0x1097('0x9c')](_0x546ab9[_0x1097('0xc6')]()['start'])?(_0x546ab9[_0x1097('0x9b')](),_0x546ab9=_0x397579):_0x397579[_0x1097('0x9b')]():_0x546ab9=_0x397579;}const _0x179eb1=this[_0x1097('0x23')][_0x1097('0x15')](_0x21bc1c,_0x1c9f39);if(_0x546ab9)this[_0x1097('0x33')](_0x546ab9,_0x179eb1);else{const _0x5ab6b0=_0x2bcffc(),_0x1f80ce=_0x235c4e['id'];this['_setSuggestionData']({'id':_0x5ab6b0,'type':_0x1097('0x3b')+_0x2804f0,'data':_0x391516,'createdAt':new Date(),'authorId':_0x1f80ce,'attributes':_0x268f00}),this[_0x1097('0xf2')]('formatInline:'+_0x2804f0,_0x5ab6b0,_0x1f80ce,_0x179eb1);}}return null;}['markBlockFormat'](_0x7b3630,_0x807427,_0x4561c3=[],_0x52a13b=null,_0x4ee4ec={}){_0x807427[_0x1097('0x145')]||(_0x807427[_0x1097('0x145')]=_0x807427[_0x1097('0x12')]),_0x807427[_0x1097('0x13a')]=_0x7b3630['is'](_0x1097('0x40')),_0x52a13b=_0x52a13b||Rt(_0x807427);const _0x4385f1=_0x4561c3[_0x1097('0xfb')](_0x19902c=>Ut(_0x19902c,this[_0x1097('0x23')])),_0x14c296=_0x7b3630['is'](_0x1097('0x40'))?_0x7b3630:Ut(_0x7b3630,this[_0x1097('0x23')]);if('never'===this[_0x1097('0xaf')]){const _0x5ea3c3=this['_suggestionFactory'][_0x1097('0x22')]('formatBlock',_0x52a13b,_0x1097('0x117'));return this[_0x1097('0x15d')](()=>_0x5ea3c3([_0x14c296],_0x807427,_0x4ee4ec)),null;}_0x4385f1['push'](_0x14c296);let _0x47eca1=!0x0;for(const _0x26f0f1 of _0x4385f1)if(!this[_0x1097('0xe3')](_0x26f0f1)){_0x47eca1=!0x1;break;}if(_0x47eca1&&_0x1097('0x15e')!==this[_0x1097('0xaf')]){const _0xf4b359=this[_0x1097('0x42')][_0x1097('0x22')](_0x1097('0x147'),_0x52a13b,'accept');return this['forceDefaultExecution'](()=>_0xf4b359([_0x14c296],_0x807427,_0x4ee4ec)),null;}let _0xece2f4=null,_0x4d7be5=_0x14c296[_0x1097('0x139')],_0x3f8ad8=_0x14c296[_0x1097('0xd6')];for(const {suggestion:_0x22fc9c,meta:_0x5eb2e0}of this[_0x1097('0xca')](_0x14c296,'formatBlock')){if(!_0x5eb2e0[_0x1097('0x14f')])continue;if(_0x5eb2e0[_0x1097('0x10e')]||_0x5eb2e0[_0x1097('0xf3')]||_0x5eb2e0['isInsideObject'])continue;if(_0x22fc9c['data'][_0x1097('0x145')]!=_0x807427[_0x1097('0x145')])continue;if(!Ft(_0x22fc9c,_0x4ee4ec))continue;const _0x370e2f=_0x22fc9c[_0x1097('0xc6')]();if(_0x22fc9c[_0x1097('0x9d')]==_0x52a13b){if(_0x370e2f[_0x1097('0xf9')](_0x14c296,!0x0))return null;_0x4d7be5=_0x4d7be5[_0x1097('0x9c')](_0x370e2f['start'])?_0x4d7be5:_0x370e2f[_0x1097('0x139')],_0x3f8ad8=_0x3f8ad8[_0x1097('0xdb')](_0x370e2f[_0x1097('0xd6')])?_0x3f8ad8:_0x370e2f[_0x1097('0xd6')],_0xece2f4?_0x370e2f[_0x1097('0x139')][_0x1097('0x9c')](_0xece2f4[_0x1097('0xc6')]()[_0x1097('0x139')])?(_0xece2f4['removeMarkers'](),_0xece2f4=_0x22fc9c):_0x22fc9c[_0x1097('0x9b')]():_0xece2f4=_0x22fc9c;}else{const _0x48c3cd=_0x14c296[_0x1097('0x60')](_0x370e2f);this[_0x1097('0x130')](_0x22fc9c,_0x48c3cd);}}const _0x4051e0=this[_0x1097('0x170')][_0x1097('0xff')][_0x1097('0x43')](_0x1097('0x8a'))['me'],_0x561d4e=_0x2bcffc(),_0x47a989=_0x4051e0['id'];if(_0xece2f4)return this[_0x1097('0x33')](_0xece2f4,this[_0x1097('0x23')][_0x1097('0x15')](_0x4d7be5,_0x3f8ad8)),_0xece2f4;{const _0x2a2097=this[_0x1097('0x25')]({'id':_0x561d4e,'type':_0x1097('0x15f')+_0x52a13b,'data':_0x807427,'createdAt':new Date(),'authorId':_0x47a989,'attributes':_0x4ee4ec});return this[_0x1097('0xf2')](_0x1097('0x15f')+_0x52a13b,_0x561d4e,_0x47a989,this['_model']['createRange'](_0x4d7be5,_0x3f8ad8)),_0x2a2097;}}[_0x1097('0x16')](_0x57a9a7,_0x42c1da,_0x17ef06=[],_0x14e527=null,_0x320acf={}){_0x42c1da[_0x1097('0x145')]||(_0x42c1da[_0x1097('0x145')]=_0x42c1da['commandName']);const _0x5db50d=_0x57a9a7[0x0];_0x42c1da[_0x1097('0x13a')]=_0x5db50d['is'](_0x1097('0x40')),_0x14e527=_0x14e527||Rt(_0x42c1da);const _0x32ac1f=_0x17ef06[_0x1097('0xfb')](_0x4f2f84=>Ut(_0x4f2f84,this[_0x1097('0x23')])),_0x1c07fd=_0x5db50d['is']('range')?_0x57a9a7:_0x57a9a7[_0x1097('0xfb')](_0x297bd9=>Ut(_0x297bd9,this[_0x1097('0x23')]));if('never'===this['_trackFormatChanges']){const _0x43c6f3=this[_0x1097('0x42')][_0x1097('0x22')]('formatBlock',_0x14e527,_0x1097('0x117'));return this[_0x1097('0x15d')](()=>_0x43c6f3(_0x1c07fd,_0x42c1da,_0x320acf)),null;}_0x32ac1f['push'](..._0x1c07fd);let _0x9490b6=!0x0;for(const _0x2a0b5a of _0x32ac1f)if(!this[_0x1097('0xe3')](_0x2a0b5a)){_0x9490b6=!0x1;break;}if(_0x9490b6&&_0x1097('0x15e')!==this[_0x1097('0xaf')]){const _0x37e702=this['_suggestionFactory'][_0x1097('0x22')](_0x1097('0x147'),_0x14e527,_0x1097('0x117'));return this['forceDefaultExecution'](()=>_0x37e702(_0x1c07fd,_0x42c1da,_0x320acf)),null;}const _0x5a342a=this[_0x1097('0x170')][_0x1097('0xff')]['get']('Users')['me'];for(const _0x28a7a8 of this[_0x1097('0x115')]()){if(_0x28a7a8['author']['id']!=_0x5a342a['id'])continue;if('formatBlock'!=_0x28a7a8['type']||_0x28a7a8[_0x1097('0x8f')][_0x1097('0x145')]!=_0x42c1da[_0x1097('0x145')])continue;if(!Ft(_0x28a7a8,_0x320acf))continue;const _0x56f3d9=_0x28a7a8[_0x1097('0x9d')]==_0x14e527;for(let _0x49b592=0x0;_0x49b592<_0x1c07fd[_0x1097('0x8b')];_0x49b592++){const _0x5be5d9=_0x1c07fd[_0x49b592];for(const _0x380023 of _0x28a7a8[_0x1097('0x10c')]()){const _0x455978=_0x380023[_0x1097('0xa5')]();if(_0x5be5d9[_0x1097('0x160')](_0x455978)){_0x56f3d9?(_0x1c07fd[_0x1097('0x69')](_0x49b592,0x1),_0x49b592--):_0x28a7a8[_0x1097('0x84')](_0x380023[_0x1097('0x179')]);break;}}}}if(0x0==_0x1c07fd[_0x1097('0x8b')])return null;const _0x383163=this['_suggestionFactory'][_0x1097('0x22')](_0x1097('0x147'),_0x14e527,_0x1097('0x58'));for(const _0x48a2e7 of this[_0x1097('0x115')]())if(_0x48a2e7[_0x1097('0x3d')]['id']==_0x5a342a['id']&&_0x1097('0x147')==_0x48a2e7[_0x1097('0x107')]&&_0x48a2e7[_0x1097('0x8f')][_0x1097('0x145')]==_0x42c1da[_0x1097('0x145')]&&_0x48a2e7['subType']==_0x14e527&&Ft(_0x48a2e7,_0x320acf)&&(_0x383163(_0x48a2e7[_0x1097('0xfa')](),_0x1c07fd)||_0x383163(_0x1c07fd,_0x48a2e7[_0x1097('0xfa')]()))){for(const _0x112637 of _0x1c07fd)_0x48a2e7[_0x1097('0x85')](_0x112637);return _0x48a2e7;}const _0x2c4eeb=_0x2bcffc(),_0x56a440=_0x5a342a['id'],_0x1341d5=_0x1097('0x15f')+_0x14e527,_0xb0d267=this[_0x1097('0x25')]({'id':_0x2c4eeb,'type':_0x1341d5,'data':_0x42c1da,'createdAt':new Date(),'authorId':_0x56a440,'attributes':_0x320acf});for(const _0x3d900e of _0x1c07fd)this[_0x1097('0xf2')](_0x1341d5,_0x2c4eeb,_0x56a440,_0x3d900e,_0x547259[_0x1097('0x76')]());return _0xb0d267;}[_0x1097('0x17')](_0x70e44f,_0x5e3578=null,_0x27619b={}){if(_0x70e44f[_0x1097('0x11f')])return null;const _0x458c7a=this[_0x1097('0x170')][_0x1097('0xff')]['get'](_0x1097('0x8a'))['me'],_0x1bd288=new _0x1becc6(_0x70e44f[_0x1097('0x139')],_0x70e44f['end']);for(const {suggestion:_0x2ecd62,meta:_0x3227cf}of this[_0x1097('0xca')](_0x1bd288,'insertion'))if(_0x3227cf[_0x1097('0x14f')]&&!_0x3227cf['isNextTo']){if(_0x2ecd62[_0x1097('0x80')]){const _0x47ebc9=_0x2ecd62[_0x1097('0xfa')]()[_0x1097('0x10b')](_0x562c08=>_0x1097('0xf8')!=_0x562c08['root'][_0x1097('0x164')]);_0x47ebc9[_0x1097('0x13f')](_0x56c5f2=>_0x1bd288[_0x1097('0xf9')](_0x56c5f2,!0x0))&&_0x2ecd62[_0x1097('0x2f')]();if(_0x47ebc9['some'](_0x5be16f=>_0x5be16f[_0x1097('0xf9')](_0x1bd288,!0x0))){const _0x270207=this['_suggestionFactory']['getSuggestionCallback'](_0x1097('0x112'),_0x5e3578,_0x1097('0x117'));return this[_0x1097('0x15d')](()=>_0x270207([_0x1bd288],null,_0x27619b)),null;}}else{const _0xc32157=_0x1bd288[_0x1097('0x60')](_0x2ecd62[_0x1097('0xc6')]());null!==_0xc32157&&_0x2ecd62[_0x1097('0xea')]([_0xc32157],null,_0x27619b);}}if(_0x1bd288[_0x1097('0x6')](),_0x1bd288[_0x1097('0x11f')]||_0x1097('0xf8')==_0x1bd288[_0x1097('0x66')][_0x1097('0x164')])return null;let _0x4fb39f=null,_0x4f9228=_0x1bd288[_0x1097('0x139')],_0x30724a=_0x1bd288[_0x1097('0xd6')];const _0x29ab79=this[_0x1097('0xca')](_0x1bd288,_0x1097('0x112'));for(const {suggestion:_0x1bccb8,meta:_0x1b723a}of _0x29ab79){const _0x586a01=this['_model'][_0x1097('0x15')](_0x4f9228,_0x30724a);if(_0x1b723a['isOwn']&&(this[_0x1097('0x37')]||!_0x1b723a[_0x1097('0xf3')]&&!_0x1b723a['isInsideObject'])){if(_0x1bccb8[_0x1097('0x80')]){if(!Ft(_0x1bccb8,_0x27619b))continue;let _0xeb99c6=!0x0;for(const _0x5645fd of _0x1bccb8[_0x1097('0xfa')]()){if(_0x5645fd[_0x1097('0xf9')](_0x586a01,!0x0))return _0x1bccb8;_0x586a01['containsRange'](_0x5645fd)||(_0xeb99c6=!0x1);}_0xeb99c6&&_0x1bccb8['discard']();}else{const _0x272a42=_0x1bccb8[_0x1097('0xc6')]();if(_0x272a42[_0x1097('0xf9')](_0x586a01,!0x0))return _0x1bccb8;if(!Ft(_0x1bccb8,_0x27619b)){_0x586a01['containsRange'](_0x272a42)?_0x1bccb8[_0x1097('0x9b')]():_0x272a42[_0x1097('0x9')](_0x4f9228)?_0x4f9228=_0x272a42[_0x1097('0xd6')]:_0x272a42[_0x1097('0x9')](_0x30724a)&&(_0x30724a=_0x272a42[_0x1097('0x139')]);continue;}_0x4f9228=_0x4f9228[_0x1097('0x9c')](_0x272a42[_0x1097('0x139')])?_0x4f9228:_0x272a42[_0x1097('0x139')],_0x30724a=_0x30724a[_0x1097('0xdb')](_0x272a42[_0x1097('0xd6')])?_0x30724a:_0x272a42[_0x1097('0xd6')],_0x27619b=Object['assign']({},_0x1bccb8[_0x1097('0x157')]),_0x4fb39f?_0x272a42['start'][_0x1097('0x9c')](_0x4fb39f['getFirstRange']()[_0x1097('0x139')])?(_0x4fb39f[_0x1097('0x9b')](),_0x4fb39f=_0x1bccb8):_0x1bccb8[_0x1097('0x9b')]():_0x4fb39f=_0x1bccb8;}}}if(_0x4fb39f)return this['_setSuggestionRange'](_0x4fb39f,this[_0x1097('0x23')][_0x1097('0x15')](_0x4f9228,_0x30724a)),_0x4fb39f;{const _0xacffa7=_0x2bcffc(),_0x181eb1=this[_0x1097('0x23')][_0x1097('0x15')](_0x4f9228,_0x30724a),_0x29a898=_0x458c7a['id'],_0x4e1988=_0x5e3578?'deletion:'+_0x5e3578:_0x1097('0x112'),_0x4a6c46=this[_0x1097('0x25')]({'id':_0xacffa7,'type':_0x4e1988,'createdAt':new Date(),'authorId':_0x29a898,'attributes':_0x27619b});return this[_0x1097('0xf2')](_0x4e1988,_0xacffa7,_0x29a898,_0x181eb1),_0x4a6c46;}}[_0x1097('0xce')](_0x439835,_0x112261='multi',_0x52822b={}){const _0x36120b=this[_0x1097('0x170')]['plugins'][_0x1097('0x43')]('Users')['me'],_0x5067da=_0x439835['map'](_0x50b870=>new _0x1becc6(_0x50b870['start'],_0x50b870[_0x1097('0xd6')])),_0x5c6c96=new Set();for(const {suggestion:_0x274028,meta:_0x3c2684}of this[_0x1097('0xca')](_0x5067da,_0x1097('0x4d')))_0x3c2684[_0x1097('0x14f')]&&!_0x3c2684[_0x1097('0x10e')]&&_0x5c6c96['add'](_0x274028);for(const _0x3f4882 of _0x5c6c96)if(_0x3f4882[_0x1097('0x80')]){const _0x37028b=_0x3f4882[_0x1097('0xfa')]();(!_0x3f4882['attributes']||!_0x3f4882[_0x1097('0x157')][_0x1097('0x97')])&&(_0x37028b[_0x1097('0x13f')](_0x3199a3=>_0x5067da[_0x1097('0x8e')](_0x13ea2b=>_0x13ea2b['containsRange'](_0x3199a3,!0x0)))&&_0x3f4882[_0x1097('0x2f')]());if(_0x5067da[_0x1097('0x13f')](_0x432c89=>_0x37028b[_0x1097('0x8e')](_0x18ff2a=>_0x18ff2a[_0x1097('0xf9')](_0x432c89,!0x0)))){const _0x524902=this[_0x1097('0x42')][_0x1097('0x22')]('deletion',_0x112261,_0x1097('0x117'));return this[_0x1097('0x15d')](()=>_0x524902(_0x439835,null,_0x52822b)),null;}}else{const _0x1cc259=_0x3f4882['getFirstRange']();_0x5067da[_0x1097('0x8e')](_0x5b9ea3=>_0x5b9ea3[_0x1097('0xf9')](_0x1cc259,!0x0))&&_0x3f4882[_0x1097('0x2f')]();if(_0x5067da[_0x1097('0x13f')](_0x3b276c=>_0x1cc259[_0x1097('0xf9')](_0x3b276c,!0x0))){const _0x275f60=this[_0x1097('0x42')][_0x1097('0x22')]('deletion',_0x112261,_0x1097('0x117'));return this[_0x1097('0x15d')](()=>_0x275f60(_0x5067da,null,_0x52822b)),null;}}const _0x3dc415=this[_0x1097('0x42')][_0x1097('0x22')](_0x1097('0x112'),_0x112261,_0x1097('0x58'));let _0x433adf=null;for(const _0x505f68 of this[_0x1097('0x115')]())if(_0x505f68['author']['id']==_0x36120b['id']&&_0x505f68[_0x1097('0x14c')]&&_0x1097('0x112')==_0x505f68[_0x1097('0x107')]&&_0x505f68[_0x1097('0x9d')]==_0x112261&&Ft(_0x505f68,_0x52822b)&&(_0x3dc415(_0x505f68[_0x1097('0xfa')](),_0x5067da)||_0x3dc415(_0x5067da,_0x505f68['getRanges']()))){if(_0x433adf){if(_0x505f68['commentThread']&&_0x505f68[_0x1097('0x16c')][_0x1097('0x8b')])continue;for(const _0x7e2fe5 of _0x505f68[_0x1097('0xfa')]())_0x433adf[_0x1097('0x109')](_0x7e2fe5)||_0x433adf[_0x1097('0x85')](_0x7e2fe5);_0x505f68[_0x1097('0x9b')]();}else{_0x433adf=_0x505f68;for(const _0x4cb451 of _0x5067da)_0x505f68['isIntersectingWithRange'](_0x4cb451)||_0x505f68['addRange'](_0x4cb451);}}if(_0x433adf)return _0x433adf;_0x5c6c96[_0x1097('0x96')]();for(const {suggestion:_0x725f3f,meta:_0x3fb7d8}of this[_0x1097('0xca')](_0x5067da,_0x1097('0x112')))_0x3fb7d8['isOwn']&&(this[_0x1097('0x37')]||!_0x3fb7d8['containsRangeInObject']&&!_0x3fb7d8['isInsideObject'])&&Ft(_0x725f3f,_0x52822b)&&_0x5c6c96[_0x1097('0x15c')](_0x725f3f);for(const _0x1f4cef of _0x5c6c96){const _0x1fe789=_0x1f4cef[_0x1097('0xfa')]();if(!_0x52822b||!_0x52822b['skipNestingCheck']){if(_0x5067da[_0x1097('0x13f')](_0x206941=>_0x1fe789['some'](_0x4d3712=>_0x4d3712[_0x1097('0xf9')](_0x206941,!0x0))))return _0x1f4cef;}(!_0x1f4cef[_0x1097('0x157')]||!_0x1f4cef[_0x1097('0x157')][_0x1097('0x97')])&&(_0x1fe789['every'](_0x12089f=>_0x5067da[_0x1097('0x8e')](_0x498a29=>_0x498a29[_0x1097('0xf9')](_0x12089f,!0x0)))&&_0x1f4cef['discard']());}const _0x1acb35=_0x2bcffc(),_0x24c567=_0x36120b['id'],_0x2710f8=_0x1097('0x17b')+_0x112261,_0x107a58=this[_0x1097('0x25')]({'id':_0x1acb35,'type':_0x2710f8,'createdAt':new Date(),'authorId':_0x24c567,'attributes':_0x52822b});for(const _0x579857 of _0x5067da)_0x579857[_0x1097('0x6')](),_0x579857[_0x1097('0x11f')]||_0x1097('0xf8')==_0x579857[_0x1097('0x66')][_0x1097('0x164')]||this['_addSuggestionMarker'](_0x2710f8,_0x1acb35,_0x24c567,_0x579857,_0x547259[_0x1097('0x76')]());return _0x107a58;}[_0x1097('0x50')](_0x2f3048,_0x2f40ff,_0x479d3c,_0x21bf85,_0x1dbdfc){if(_0x2f3048[_0x1097('0x11f')])return[];if(_0x1097('0x124')===this[_0x1097('0xaf')])return[];const _0x26f4ce=this[_0x1097('0x170')][_0x1097('0xff')][_0x1097('0x43')](_0x1097('0x8a'))['me']['id'],_0x4ff17a=Array[_0x1097('0x95')](this[_0x1097('0x7f')]['values']())[_0x1097('0x10b')](_0x22cd24=>_0x1097('0x44')==_0x22cd24[_0x1097('0x107')]&&_0x22cd24[_0x1097('0x8f')]['key']==_0x2f40ff&&_0x22cd24[_0x1097('0x109')](_0x2f3048));if(_0x1097('0xb4')===this[_0x1097('0xaf')]){const _0x453fd3=this['_findSuggestions'](_0x2f3048,_0x1097('0x4d'))[_0x1097('0x10b')](({meta:_0x130afd})=>_0x130afd[_0x1097('0x14f')]&&!_0x130afd[_0x1097('0x41')]&&!_0x130afd[_0x1097('0x10e')])[_0x1097('0xfb')](({suggestion:_0x1362de})=>_0x1362de);_0x4ff17a[_0x1097('0x159')](..._0x453fd3);}const _0x371ca9=new Map([[_0x2f3048,_0x479d3c]]);for(const _0x623b35 of _0x4ff17a){const _0x2b0eff=_0x1097('0x44')==_0x623b35[_0x1097('0x107')]?_0x623b35[_0x1097('0x8f')]['oldValue']:void 0x0,_0x1c3319=_0x623b35[_0x1097('0xc6')](),_0x1fe1bd=Array[_0x1097('0x95')](_0x371ca9[_0x1097('0x14')]())[_0x1097('0x6a')](_0x148036=>_0x148036[_0x1097('0x2d')](_0x1c3319));if(!_0x1fe1bd)continue;const _0x5204d9=_0x1fe1bd['getDifference'](_0x1c3319);this[_0x1097('0xed')](_0x2f40ff)&&_0x1097('0x4d')==_0x623b35[_0x1097('0x107')]&&0x0!=_0x5204d9['length']||(_0x371ca9[_0x1097('0x9f')](_0x1fe1bd),_0x5204d9[_0x1097('0xc2')](_0x430925=>{_0x371ca9[_0x1097('0x1b')](_0x430925,_0x479d3c);}),'insertion'!=_0x623b35[_0x1097('0x107')]&&_0x2b0eff!=_0x21bf85&&_0x371ca9[_0x1097('0x1b')](_0x1fe1bd[_0x1097('0x60')](_0x1c3319),_0x2b0eff));}const _0x1bac40=[];for(const [_0x535a14,_0x12255c]of _0x371ca9){const _0x5cf6ec=_0x2bcffc(),_0x41e689={'key':_0x2f40ff,'oldValue':_0x12255c,'newValue':_0x21bf85};_0x2f40ff[_0x1097('0x8b')]>0x25&&console[_0x1097('0x93')]('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.',{'key':_0x2f40ff});const _0x583a32=('attribute:'+(_0x2f40ff+'|'+Rt({'newValue':_0x21bf85})))['substring'](0x0,0x3c),_0xd4419f=this['_setSuggestionData']({'id':_0x5cf6ec,'type':_0x583a32,'data':_0x41e689,'createdAt':new Date(),'authorId':_0x26f4ce,'attributes':_0x1dbdfc});_0x1bac40[_0x1097('0x175')](_0xd4419f),this['_addSuggestionMarker'](_0x583a32,_0x5cf6ec,_0x26f4ce,_0x535a14);}return _0x1bac40;}['_registerBlockAttribute'](_0x21395e){this[_0x1097('0x119')][_0x1097('0x15c')](_0x21395e);}[_0x1097('0xf0')](_0x13c8fe){this[_0x1097('0xa')][_0x1097('0x15c')](_0x13c8fe);}['_enableDefaultAttributesIntegration'](_0x3ce3fb,_0xed967=[],_0x3bdc19=[]){this[_0x1097('0xa0')](_0x3ce3fb,(_0x4a6835,..._0x4250ad)=>{this[_0x1097('0x17c')](()=>{_0x4a6835(..._0x4250ad);});});for(const _0x4573b1 of _0xed967)this['_registerInlineAttribute'](_0x4573b1);for(const _0xe6e8d of _0x3bdc19)this[_0x1097('0x178')](_0xe6e8d);}[_0x1097('0x33')](_0x43d9aa,_0x15ebdf){const _0x8733a0=_0x43d9aa[_0x1097('0xc7')]();this[_0x1097('0x23')]['change'](_0x37f71a=>{_0x37f71a[_0x1097('0x125')](_0x8733a0,{'range':_0x15ebdf});});}[_0x1097('0xba')](_0x31566f){const _0x50c75b=_0x31566f['id'],_0x1fcaae=this['editor']['config']['get']('collaboration.channelId');this[_0x1097('0xbc')][_0x1097('0x152')](_0x50c75b)||this[_0x1097('0xbc')][_0x1097('0x138')]({'channelId':_0x1fcaae,'threadId':_0x50c75b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x103e4c=this['_commentsRepository']['getCommentThread'](_0x50c75b);_0x103e4c['unbind'](_0x1097('0x171')),_0x103e4c[_0x1097('0x171')]=!0x1,_0x31566f[_0x1097('0x16c')]=_0x103e4c;}[_0x1097('0x100')](_0x4dcd98,_0x23f0ae,_0x7fe6cb,_0x1092cf){if(_0x4dcd98[_0x1097('0x107')]!=_0x23f0ae||_0x4dcd98['subType']!=_0x7fe6cb||_0x4dcd98['creator']['id']!=_0x1092cf)throw this[_0x1097('0x170')][_0x1097('0xd5')](_0x1097('0x172')),new _0x1b320d(_0x1097('0x172'),this);}[_0x1097('0x130')](_0x4dcc8a,_0x15a101){const _0x588b8f=_0x4dcc8a[_0x1097('0xc6')]();if(_0x15a101[_0x1097('0x160')](_0x588b8f))_0x4dcc8a[_0x1097('0x9b')]();else{if(_0x588b8f[_0x1097('0xf9')](_0x15a101)){const _0x3972be=this[_0x1097('0x23')]['createPositionAt'](_0x15a101['start'][_0x1097('0x70')],'end');this['_setSuggestionRange'](_0x4dcc8a,this['_model'][_0x1097('0x15')](_0x588b8f[_0x1097('0x139')],_0x3972be));const _0x4d2355=_0x2bcffc(),_0x26885a=_0x4dcc8a[_0x1097('0x16f')]['id'],_0x1670f8=_0x4dcc8a[_0x1097('0x107')]+':'+_0x4dcc8a[_0x1097('0x9d')];this[_0x1097('0x25')]({'id':_0x4d2355,'type':_0x1670f8,'createdAt':new Date(),'authorId':_0x26885a,'data':_0x4dcc8a[_0x1097('0x8f')],'attributes':_0x4dcc8a['attributes']});const _0x14bd80=this[_0x1097('0x23')][_0x1097('0x4')](_0x15a101[_0x1097('0xd6')][_0x1097('0x136')],_0x1097('0x111')),_0xe31493=this[_0x1097('0x23')][_0x1097('0x15')](_0x14bd80,_0x588b8f[_0x1097('0xd6')]);this[_0x1097('0xf2')](_0x1670f8,_0x4d2355,_0x26885a,_0xe31493);}else{if(_0x588b8f[_0x1097('0x9')](_0x15a101[_0x1097('0x139')])){const _0xd8e76a=this[_0x1097('0x23')][_0x1097('0x4')](_0x15a101[_0x1097('0x139')]['nodeBefore'],_0x1097('0xd6'));this['_setSuggestionRange'](_0x4dcc8a,this[_0x1097('0x23')][_0x1097('0x15')](_0x588b8f[_0x1097('0x139')],_0xd8e76a));}else{const _0x44e8b9=this[_0x1097('0x23')][_0x1097('0x4')](_0x15a101[_0x1097('0xd6')][_0x1097('0x136')],'after');this['_setSuggestionRange'](_0x4dcc8a,this[_0x1097('0x23')][_0x1097('0x15')](_0x44e8b9,_0x588b8f[_0x1097('0xd6')]));}}}}[_0x1097('0xe3')](_0x959d12){for(const {suggestion:_0x362f65,meta:_0x506adf}of this[_0x1097('0xca')](_0x959d12,'insertion')){if(!_0x506adf[_0x1097('0x14f')])continue;const _0x280992=_0x362f65[_0x1097('0xfa')]();for(const _0x1331ff of _0x280992)if(!_0x959d12[_0x1097('0xe4')](_0x1331ff)['length'])return!0x0;}return!0x1;}[_0x1097('0xe0')](_0x4efaf3){const _0x55bc9a=this['editor'][_0x1097('0xff')]['get'](_0x1097('0x8a'))[_0x1097('0xc9')](_0x4efaf3);if(!_0x55bc9a)throw new _0x1b320d(_0x1097('0xc8'),this);return _0x55bc9a;}['_getExternalAuthor'](_0xea1b15){const _0x4c41b4=this[_0x1097('0x170')][_0x1097('0xff')][_0x1097('0x43')]('Users'),_0x23fb14=_0x2c1c43('external:'+_0xea1b15),_0x4205af=_0x4c41b4[_0x1097('0xc9')](_0x23fb14);return _0x4205af||_0x4c41b4['addUser']({'id':_0x23fb14,'name':_0xea1b15});}[_0x1097('0x47')](_0x1e0765,_0x5ba241,_0x141900,_0x1efdb3,_0x93fa66){const _0x385884=this['_getAuthorFromId'](_0x1efdb3),_0x1648ae=this[_0x1097('0x42')]['buildSuggestion'](_0x1e0765,_0x5ba241,_0x141900,_0x385884,_0x93fa66,_0x25218e=>this[_0x1097('0x129')](_0x141900,{'attributes':_0x25218e}));return this['listenTo'](_0x1648ae,'accept',()=>{this[_0x1097('0x129')](_0x141900,{'state':_0x1097('0xc5')});},{'priority':_0x1097('0xd1')}),this[_0x1097('0x89')](_0x1648ae,_0x1097('0x2f'),()=>{this[_0x1097('0x129')](_0x141900,{'state':_0x1097('0x156')});},{'priority':_0x1097('0xd1')}),this[_0x1097('0x7f')][_0x1097('0x1b')](_0x141900,_0x1648ae),this['_suggestionState']['set'](_0x1648ae,'notReady'),_0x1648ae;}[_0x1097('0x56')](_0x2a2d7b){const _0x332acc=_0x2a2d7b[_0x1097('0xbf')](':');return{'group':_0x332acc[0x0],'type':_0x332acc[0x1],'subType':_0x332acc[_0x1097('0x8b')]>=0x5?_0x332acc[0x2]:null,'id':_0x332acc[_0x1097('0x8b')]<0x5?_0x332acc[0x2]:_0x332acc[0x3],'authorId':_0x332acc[_0x1097('0x8b')]<0x5?_0x332acc[0x3]:_0x332acc[0x4],'markerCount':0x6==_0x332acc['length']?_0x332acc[0x5]:null};}[_0x1097('0xeb')](_0x1c027d,_0x126390,_0x546ef0){const _0x433159=_0x1c027d[_0x1097('0xc6')](),_0x5d20a5=_0x433159[_0x1097('0x139')],_0x246a10=_0x433159['end'];this['_setSuggestionRange'](_0x1c027d,this[_0x1097('0x23')][_0x1097('0x15')](_0x5d20a5,_0x126390));const _0x334c8a=_0x2bcffc(),_0x792ca5=_0x1c027d[_0x1097('0x16f')]['id'],_0x235b42=_0x1c027d[_0x1097('0x107')]+(_0x1c027d['subType']?':'+_0x1c027d['subType']:'');this[_0x1097('0x25')]({'id':_0x334c8a,'type':_0x235b42,'createdAt':new Date(),'authorId':_0x792ca5,'originalSuggestionId':_0x1c027d['id'],'attributes':_0x1c027d[_0x1097('0x157')],'data':_0x1c027d[_0x1097('0x8f')]});const _0x545300=this[_0x1097('0x4e')](_0x1c027d);(_0x1097('0x147')==_0x1c027d[_0x1097('0x107')]||_0x545300&&this[_0x1097('0xed')](_0x545300))&&(_0x546ef0=this['_model']['createPositionBefore'](_0x546ef0[_0x1097('0x136')])),this['_addSuggestionMarker'](_0x235b42,_0x334c8a,_0x792ca5,this[_0x1097('0x23')][_0x1097('0x15')](_0x546ef0,_0x246a10));}[_0x1097('0xca')](_0x18e42b,_0x455245=null){const _0x55adb2=[],_0x1c5e22=this['editor'][_0x1097('0xff')][_0x1097('0x43')](_0x1097('0x8a'))['me'];Array['isArray'](_0x18e42b)||(_0x18e42b=[_0x18e42b]);for(const _0x56d3b5 of this[_0x1097('0x115')]()){if(!_0x56d3b5['isInContent'])continue;if(_0x455245&&_0x56d3b5[_0x1097('0x107')]!=_0x455245)continue;let _0x4486a5=!0x1;for(const _0x5a6c53 of _0x56d3b5[_0x1097('0xfa')]()){for(const _0x5cd093 of _0x18e42b){const _0x4b580d=_0x5cd093[_0x1097('0x139')][_0x1097('0x160')](_0x5a6c53[_0x1097('0xd6')])||_0x5cd093[_0x1097('0xd6')][_0x1097('0x160')](_0x5a6c53['start']);if(_0x4b580d||_0x5cd093['getIntersection'](_0x5a6c53)){const _0x5d0381=_0x5cd093[_0x1097('0xf9')](_0x5a6c53)&&Tt(this[_0x1097('0x23')][_0x1097('0x114')],_0x5a6c53[_0x1097('0x139')],_0x5cd093),_0x10158c=_0x5a6c53[_0x1097('0xf9')](_0x5cd093)&&Tt(this[_0x1097('0x23')][_0x1097('0x114')],_0x5cd093[_0x1097('0x139')],_0x5a6c53);_0x55adb2['push']({'suggestion':_0x56d3b5,'meta':{'isOwn':_0x1c5e22==_0x56d3b5[_0x1097('0x3d')],'isNextTo':_0x4b580d,'isInsideObject':_0x5d0381,'containsRangeInObject':_0x10158c}}),_0x4486a5=!0x0;break;}}if(_0x4486a5)break;}}return _0x55adb2;}[_0x1097('0xf2')](_0x8fec87,_0x55eacd,_0xc7cd9b,_0x4d6af0,_0x1100da){this['_model'][_0x1097('0x83')](_0x571c4d=>{let _0x83706c=_0x1097('0xd9')+_0x8fec87+':'+_0x55eacd+':'+_0xc7cd9b;_0x1100da&&(_0x83706c=_0x83706c+':'+_0x1100da),_0x571c4d['addMarker'](_0x83706c,{'range':_0x4d6af0,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1097('0x1c')](_0x1a5884){const _0xc20eae=_0x1a5884[_0x1097('0xe2')],_0x517562=_0x1a5884[_0x1097('0x24')];_0x1a5884['previous']=null,_0x1a5884['next']=null,null!=_0xc20eae&&(_0xc20eae[_0x1097('0x24')]=_0x517562),null!=_0x517562&&(_0x517562['previous']=_0xc20eae),_0x1097('0xda')==this[_0x1097('0x142')][_0x1097('0x43')](_0x1a5884)&&(this[_0x1097('0x142')][_0x1097('0x1b')](_0x1a5884,'removed'),this[_0x1097('0xab')](_0x1097('0x90'),_0x1a5884,_0xc20eae,_0x517562));}[_0x1097('0x25')](_0x384723){const _0x3b35d3=_0x384723['id'],_0x43bd95=this[_0x1097('0x154')](_0x384723);if(this[_0x1097('0x12d')]&&this[_0x1097('0x12d')]['addSuggestion']){const _0x37583=this['editor']['plugins'][_0x1097('0x43')](_0x1097('0x6e')),_0x20d9bf=_0x43bd95[_0x1097('0x132')],_0x53f9a2=_0x43bd95['subType']?_0x43bd95[_0x1097('0x107')]+':'+_0x43bd95['subType']:_0x43bd95[_0x1097('0x107')],_0x27f11c=this[_0x1097('0x170')]['locale'],_0x4a10bd=_0x37583['add'](_0x1cd636(_0x27f11c,_0x1097('0xf'))),_0x4e59a1={'id':_0x3b35d3,'type':_0x53f9a2,'hasComments':_0x20d9bf,'data':_0x384723['data']||null,'originalSuggestionId':_0x384723[_0x1097('0x167')]||null,'attributes':_0x43bd95['attributes']};this[_0x1097('0x12d')][_0x1097('0x4c')](_0x4e59a1)[_0x1097('0xb9')](_0x4418eb=>{_0x43bd95[_0x1097('0x163')]=!0x0,_0x37583[_0x1097('0xb5')](_0x4a10bd),_0x4418eb&&_0x4418eb[_0x1097('0x101')]&&(this['_suggestions'][_0x1097('0x43')](_0x3b35d3)[_0x1097('0x101')]=_0x4418eb['createdAt']);})[_0x1097('0x59')](_0x3505a1=>{throw _0x19df8b('error-saving-suggestion-data-suggestion-discarded'),this[_0x1097('0x170')][_0x1097('0x123')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x43bd95[_0x1097('0x2f')]();}),_0x43bd95['stopListening'](),this['_suggestions'][_0x1097('0x9f')](_0x43bd95['id']),this['_suggestionState'][_0x1097('0x9f')](_0x43bd95),_0x3505a1;});}return _0x43bd95;}[_0x1097('0xed')](_0x59ccb0){return this['_blockAttributeKeys'][_0x1097('0x63')](_0x59ccb0);}[_0x1097('0x4e')](_0x7768b1){return'attribute'==_0x7768b1[_0x1097('0x107')]&&_0x7768b1[_0x1097('0x9d')]['split']('|')[0x0];}[_0x1097('0x129')](_0x5f04f5,_0x4aa296){const _0x1de638=this[_0x1097('0x170')][_0x1097('0xff')][_0x1097('0x43')](_0x1097('0x6e')),_0x15e7b6=this[_0x1097('0x13')](_0x5f04f5);if(this[_0x1097('0x12d')]&&this[_0x1097('0x12d')][_0x1097('0x126')]){if(_0x15e7b6[_0x1097('0x163')]){const _0x3cb5f1=_0x1de638[_0x1097('0x15c')](_0x1cd636(this['editor'][_0x1097('0x4f')],'PENDING_ACTION_SUGGESTION'));this[_0x1097('0x12d')][_0x1097('0x126')](_0x5f04f5,_0x4aa296)[_0x1097('0xb9')](()=>{_0x1de638[_0x1097('0xb5')](_0x3cb5f1);});}else _0x15e7b6['on'](_0x1097('0xf1'),()=>{this[_0x1097('0x129')](_0x5f04f5,_0x4aa296);});}}[_0x1097('0x177')](_0x552f62){if(!this[_0x1097('0x12d')]||!this['_adapter']['getSuggestion'])throw new _0x1b320d(_0x1097('0xa1'),this);return this[_0x1097('0x12d')][_0x1097('0x13')](_0x552f62);}[_0x1097('0x10')](_0x881aa5){const {id:_0xea373d,type:_0x59aa5a,subType:_0x2be851,authorId:_0x153e54}=this[_0x1097('0x56')](_0x881aa5),_0x148bc3=this[_0x1097('0x7f')]['get'](_0xea373d)||this[_0x1097('0x47')](_0x59aa5a,_0x2be851,_0xea373d,_0x153e54,{});switch(this[_0x1097('0x100')](_0x148bc3,_0x59aa5a,_0x2be851,_0x153e54),this[_0x1097('0x142')][_0x1097('0x43')](_0x148bc3)){case'notReady':this[_0x1097('0x177')](_0xea373d)[_0x1097('0xb9')](_0x2063d6=>{let _0x37b9aa=Promise['resolve']();_0x2063d6[_0x1097('0x132')]&&(_0x37b9aa=this[_0x1097('0xbc')][_0x1097('0x21')]({'channelId':this[_0x1097('0x170')]['config'][_0x1097('0x43')](_0x1097('0x133')),'threadId':_0xea373d})),_0x37b9aa['then'](()=>{this[_0x1097('0x154')](_0x2063d6)[_0x1097('0x163')]=!0x0;});}),this[_0x1097('0x142')][_0x1097('0x1b')](_0x148bc3,_0x1097('0xdc'));break;case _0x1097('0x46'):this['_updateSuggestionData'](_0xea373d,{'state':'open'});case _0x1097('0x62'):this[_0x1097('0x142')]['set'](_0x148bc3,_0x1097('0xda')),this[_0x1097('0xab')](_0x1097('0x149'),_0x148bc3);break;case _0x1097('0xda'):this[_0x1097('0xab')]('suggestionChanged',_0x148bc3);}return _0x148bc3[_0x1097('0x16d')](_0x881aa5),_0x148bc3;}[_0x1097('0x16a')](_0x15488c){const _0x418a0e=Array[_0x1097('0x95')](_0x15488c),_0x2fc253=_0x418a0e['filter'](_0x2c18a0=>_0x1097('0x44')==_0x2c18a0[_0x1097('0x107')]);this['_refreshAttributeSuggestionsChain'](_0x2fc253);const _0x5ad79c=_0x418a0e[_0x1097('0x10b')](_0x5d08fd=>!_0x5d08fd[_0x1097('0x80')]&&_0x1097('0x44')!=_0x5d08fd[_0x1097('0x107')]),_0x25aafb=this[_0x1097('0x115')]({'skipNotAttached':!0x0})[_0x1097('0x10b')](_0x15e73d=>!_0x15e73d[_0x1097('0x80')]&&_0x1097('0x44')!=_0x15e73d['type']),_0x650c29=_0x25aafb[_0x1097('0x10b')](_0x3ecde6=>!_0x15488c[_0x1097('0x63')](_0x3ecde6)),_0x3bdcec=new Map(_0x25aafb[_0x1097('0xfb')](_0x487dbd=>[_0x487dbd,this['_suggestionFactory']['getSuggestionCallback'](_0x487dbd[_0x1097('0x107')],_0x487dbd[_0x1097('0x9d')],'chain')])),_0x3fad2b=new Map(_0x25aafb[_0x1097('0xfb')](_0x5c675c=>[_0x5c675c,_0x5c675c[_0x1097('0xc6')]()])),_0x26e202=new Set(),_0x1416d7=new Set();for(let _0x77f307=0x0;_0x77f307<_0x5ad79c[_0x1097('0x8b')];_0x77f307++)_0xf05cf6(_0x5ad79c[_0x77f307],_0x5ad79c,_0x77f307+0x1);for(let _0x504514=0x0;_0x504514<_0x5ad79c['length'];_0x504514++)_0xf05cf6(_0x5ad79c[_0x504514],_0x650c29,0x0);const _0x273b45=new Set();for(let _0x3f3edf=0x0;_0x3f3edf<_0x5ad79c[_0x1097('0x8b')];_0x3f3edf++){const _0x2a5b84=_0x5ad79c[_0x3f3edf];!_0x1416d7['has'](_0x2a5b84)&&_0x2a5b84[_0x1097('0xe2')]&&(_0x273b45[_0x1097('0x15c')](_0x2a5b84[_0x1097('0xe2')]),_0x2a5b84[_0x1097('0xe2')]['next']===_0x2a5b84&&(_0x2a5b84[_0x1097('0xe2')][_0x1097('0x24')]=null),_0x2a5b84[_0x1097('0xe2')]=null),!_0x26e202[_0x1097('0x63')](_0x2a5b84)&&_0x2a5b84[_0x1097('0x24')]&&(_0x273b45[_0x1097('0x15c')](_0x2a5b84[_0x1097('0x24')]),_0x2a5b84[_0x1097('0x24')][_0x1097('0xe2')]===_0x2a5b84&&(_0x2a5b84[_0x1097('0x24')][_0x1097('0xe2')]=null),_0x2a5b84['next']=null);}function _0xf05cf6(_0xf62221,_0xb013a5,_0x1af308){for(let _0xb9ea64=_0x1af308;_0xb9ea64<_0xb013a5['length'];_0xb9ea64++){const _0x17c3de=_0x54cef0(_0xf62221,_0xb013a5[_0xb9ea64]);_0x17c3de&&(_0x17c3de[0x0]['next']=_0x17c3de[0x1],_0x17c3de[0x1][_0x1097('0xe2')]=_0x17c3de[0x0],_0x26e202[_0x1097('0x15c')](_0x17c3de[0x0]),_0x1416d7['add'](_0x17c3de[0x1]));}}function _0x54cef0(_0x3e3982,_0x46711a){if(_0x3e3982[_0x1097('0x3d')]['id']!==_0x46711a['author']['id'])return null;const _0x99a408=_0x3bdcec['get'](_0x3e3982)(_0x3e3982,_0x46711a,_0x3fad2b[_0x1097('0x43')](_0x3e3982),_0x3fad2b['get'](_0x46711a));if(!_0x99a408)return null;return _0x3bdcec[_0x1097('0x43')](_0x46711a)(_0x3e3982,_0x46711a,_0x3fad2b[_0x1097('0x43')](_0x3e3982),_0x3fad2b[_0x1097('0x43')](_0x46711a))?_0x99a408[0x1][_0x1097('0x16c')]&&_0x99a408[0x1][_0x1097('0x16c')]['length']?null:_0x99a408:null;}_0x273b45[_0x1097('0x30')]&&this[_0x1097('0x16a')](_0x273b45);}[_0x1097('0x116')](_0x3f9dbd){if(0x0==_0x3f9dbd[_0x1097('0x8b')])return;const _0x1e29b1=this['getSuggestions']({'skipNotAttached':!0x0})[_0x1097('0x10b')](_0x522bde=>'attribute'==_0x522bde[_0x1097('0x107')]&&_0x522bde[_0x1097('0x13c')]),_0x48ed30=[],_0xac3c27=new Map();for(const _0x240baa of _0x1e29b1){const _0x41cf30=_0x2c1c43(_0x240baa[_0x1097('0x157')]);_0xac3c27[_0x1097('0x63')](_0x41cf30)||(_0xac3c27['set'](_0x41cf30,_0x48ed30[_0x1097('0x8b')]),_0x48ed30[_0x1097('0x175')]([]));const _0x539537=_0xac3c27['get'](_0x41cf30);_0x48ed30[_0x539537][_0x1097('0x175')](_0x240baa);}!function(){_0x48ed30[_0x1097('0xcc')]((_0x4d2bf5,_0x8f299e)=>{const _0x2ea4b1=_0x4d2bf5[0x0][_0x1097('0x101')],_0x3e4663=_0x8f299e[0x0][_0x1097('0x101')];return _0x2ea4b1==_0x3e4663?_0x4d2bf5[0x0]['attributes'][_0x1097('0x72')]<_0x8f299e[0x0][_0x1097('0x157')]['groupId']?-0x1:0x1:_0x2ea4b1<_0x3e4663?-0x1:0x1;});for(const _0x26be99 of _0x48ed30)_0x26be99[_0x1097('0xcc')]((_0x41d3c9,_0x3da193)=>_0x41d3c9['id']<_0x3da193['id']?-0x1:0x1);}();for(let _0x22a962=0x0;_0x22a962<_0x48ed30[_0x1097('0x8b')];_0x22a962++){if(0x0==_0x48ed30[_0x22a962]['length'])continue;const _0x929367=[];for(let _0x362fa5=_0x22a962+0x1;_0x362fa5<_0x48ed30['length'];_0x362fa5++)0x0!=_0x48ed30[_0x362fa5][_0x1097('0x8b')]&&_0x4723c6(_0x48ed30[_0x22a962],_0x48ed30[_0x362fa5])&&_0x929367[_0x1097('0x175')](_0x362fa5);for(const _0x58de84 of _0x929367)_0x48ed30[_0x22a962]=_0x48ed30[_0x22a962][_0x1097('0x2b')](_0x48ed30[_0x58de84]),_0x48ed30[_0x58de84]=[];}for(const _0x3621f4 of _0x48ed30)for(let _0x1d1c4d=0x0;_0x1d1c4d<_0x3621f4['length'];_0x1d1c4d++)_0x3621f4[_0x1d1c4d][_0x1097('0x24')]=_0x3621f4[_0x1d1c4d+0x1]||null;for(const _0x132645 of _0x48ed30)for(let _0x22f4b=0x0;_0x22f4b<_0x132645[_0x1097('0x8b')];_0x22f4b++)_0x132645[_0x22f4b][_0x1097('0xe2')]=_0x132645[_0x22f4b-0x1]||null;function _0x4723c6(_0x1ca987,_0x45f409){if(_0x1ca987[0x0][_0x1097('0x3d')]!==_0x45f409[0x0][_0x1097('0x3d')])return!0x1;if(!function(_0x5d39c9,_0x22dafb){if(!_0x5d39c9['hasComments']&&!_0x22dafb['hasComments'])return!0x0;if(_0x5d39c9[_0x1097('0x132')]&&_0x22dafb['hasComments'])return!0x1;if(_0x5d39c9[_0x1097('0x132')]&&_0x22dafb[_0x1097('0x101')]<_0x5d39c9[_0x1097('0x16c')][_0x1097('0x12a')][_0x1097('0x43')](0x0)[_0x1097('0x101')])return!0x0;if(_0x22dafb[_0x1097('0x132')]&&_0x5d39c9[_0x1097('0x101')]<_0x22dafb['commentThread'][_0x1097('0x12a')]['get'](0x0)[_0x1097('0x101')])return!0x0;return!0x1;}(_0x1ca987[0x0],_0x45f409[0x0]))return!0x1;const _0x22ffd1=_0x370f6a(_0x1ca987[0x0]['attributes'],_0x1097('0x72')),_0x1c68d5=_0x370f6a(_0x45f409[0x0]['attributes'],_0x1097('0x72'));if(!_0x4de6b8(_0x22ffd1,_0x1c68d5))return!0x1;return!!_0x1ca987[_0x1097('0x13f')](_0xddb304=>_0x45f409[_0x1097('0x8e')](_0x24d713=>_0xddb304['getFirstRange']()[_0x1097('0x160')](_0x24d713[_0x1097('0xc6')]())))&&_0x45f409[_0x1097('0x13f')](_0x2cf8ae=>_0x1ca987[_0x1097('0x8e')](_0xda7f0f=>_0x2cf8ae[_0x1097('0xc6')]()[_0x1097('0x160')](_0xda7f0f[_0x1097('0xc6')]())));}}[_0x1097('0x151')](_0x167753){const _0xe1c1d0=Array['from'](_0x167753),_0x4324e9=this[_0x1097('0x115')]({'skipNotAttached':!0x0}),_0x47ed27=_0x4324e9[_0x1097('0x10b')](_0x41a213=>!_0x167753[_0x1097('0x63')](_0x41a213)),_0x3fbd90=new Map(_0xe1c1d0['map'](_0x5476d9=>[_0x5476d9,this[_0x1097('0x42')][_0x1097('0x22')](_0x5476d9[_0x1097('0x107')],_0x5476d9[_0x1097('0x9d')],'join')])),_0x47f07a=new Map(_0x4324e9[_0x1097('0xfb')](_0x3ba10d=>[_0x3ba10d,_0x3ba10d[_0x1097('0xfa')]()]));for(let _0xd54922=0x0;_0xd54922<_0xe1c1d0[_0x1097('0x8b')];_0xd54922++){if(_0x1bc421(this,_0xe1c1d0[_0xd54922],_0xe1c1d0,_0xd54922+0x1))return!0x0;}for(let _0x18cf85=0x0;_0x18cf85<_0xe1c1d0[_0x1097('0x8b')];_0x18cf85++){if(_0x1bc421(this,_0xe1c1d0[_0x18cf85],_0x47ed27,0x0))return!0x0;}return!0x1;function _0x1bc421(_0x7af377,_0x64076a,_0x1e5d44,_0x12fe64){for(let _0x1af7b0=_0x12fe64;_0x1af7b0<_0x1e5d44[_0x1097('0x8b')];_0x1af7b0++){const _0x1282b3=_0x1e5d44[_0x1af7b0];if(_0x1282b3[_0x1097('0x107')]!==_0x64076a[_0x1097('0x107')]||_0x1282b3[_0x1097('0x3d')]['id']!==_0x64076a[_0x1097('0x3d')]['id']||_0x1282b3['subType']!==_0x64076a[_0x1097('0x9d')])continue;if(!Vt(_0x64076a,_0x1282b3))continue;if('attribute'==_0x64076a[_0x1097('0x107')]&&_0x64076a['data']['oldValue']!=_0x1282b3[_0x1097('0x8f')][_0x1097('0xa8')])continue;if(_0x1097('0x44')==_0x64076a[_0x1097('0x107')]&&_0x7af377[_0x1097('0xed')](_0x64076a[_0x1097('0x8f')][_0x1097('0x7c')]))continue;if(_0x1097('0x147')==_0x64076a[_0x1097('0x107')]){const _0xd7831b=_0x7af377[_0x1097('0x170')][_0x1097('0x123')],_0x4fec7c=_0x64076a[_0x1097('0x113')]();if(_0x4fec7c&&(_0xd7831b[_0x1097('0x114')]['isObject'](_0x4fec7c)||_0xd7831b['schema'][_0x1097('0x14e')](_0x4fec7c)))continue;}const _0x45b92a=_0x3fbd90[_0x1097('0x43')](_0x64076a),_0x2759e9=_0x47f07a[_0x1097('0x43')](_0x64076a),_0x4382d4=_0x47f07a[_0x1097('0x43')](_0x1282b3),_0x343198=_0x64076a['commentThread']&&_0x64076a['commentThread']['length'],_0x4fefc2=_0x1282b3[_0x1097('0x16c')]&&_0x1282b3[_0x1097('0x16c')][_0x1097('0x8b')];if(!_0x343198&&_0x45b92a(_0x4382d4,_0x2759e9))return _0x7af377[_0x1097('0x165')](_0x1282b3,_0x64076a),_0x47f07a[_0x1097('0x9f')](_0x64076a),!0x0;if(!_0x4fefc2&&_0x45b92a(_0x2759e9,_0x4382d4))return _0x7af377['_joinSuggestions'](_0x64076a,_0x1282b3),_0x47f07a[_0x1097('0x9f')](_0x1282b3),!0x0;}return!0x1;}}['_joinSuggestions'](_0x4399cb,_0x53d814){if(_0x4399cb['isMultiRange'])for(const _0x734c6e of _0x53d814[_0x1097('0xfa')]())_0x4399cb['addRange'](_0x734c6e);else{const _0x5281e8=_0x53d814[_0x1097('0xc6')]()[_0x1097('0xd6')];this[_0x1097('0x33')](_0x4399cb,this[_0x1097('0x23')][_0x1097('0x15')](_0x4399cb[_0x1097('0xc6')]()[_0x1097('0x139')],_0x5281e8));}_0x53d814[_0x1097('0x9b')]();}[_0x1097('0x49')](_0x2db46b,_0x9585ba){const _0x70d402=_0x2db46b[_0x1097('0x0')](_0x1097('0x128'))||_0x2db46b[_0x1097('0x0')](_0x1097('0x44'))?'FORMATTING':_0x2db46b[_0x1097('0x6d')]();return _0x1cd636(this[_0x1097('0x170')][_0x1097('0x4f')],_0x9585ba+'_'+_0x70d402+_0x1097('0xd4'));}[_0x1097('0x158')](){const _0x3a3c80=this[_0x1097('0x170')];_0x2567d7(this['_model'],({left:_0x3aa3cf,entered:_0x49eb93})=>{const _0x582e1c=[];for(const _0x119edb of _0x3aa3cf){const {group:_0x39c415,type:_0x27654b}=this['_splitMarkerName'](_0x119edb[_0x1097('0x179')]);if(_0x1097('0xad')===_0x39c415){_0x582e1c['push'](this[_0x1097('0x49')](_0x27654b,_0x1097('0x6f')));break;}}for(const _0x48a000 of _0x49eb93){const {group:_0x490008,type:_0x407931}=this[_0x1097('0x56')](_0x48a000[_0x1097('0x179')]);if(_0x1097('0xad')===_0x490008){_0x582e1c[_0x1097('0x175')](this[_0x1097('0x49')](_0x407931,_0x1097('0x67')));break;}}_0x582e1c[_0x1097('0x8b')]&&_0x3a3c80['ui']['ariaLiveAnnouncer'][_0x1097('0x12c')](_0x1097('0x26'),_0x582e1c[_0x1097('0x58')]('\x20'));});}[_0x1097('0xfd')](_0x519e2b){if(null!==this[_0x1097('0xc4')])return!0x1;const _0x53c7c1=this[_0x1097('0x170')],_0x2f115a=_0x53c7c1['model'][_0x1097('0x1a')][_0x1097('0x71')]['getChanges']();if(0x0==_0x2f115a[_0x1097('0x8b')])return!0x1;const _0x40f62a=[],_0x4df0dc=_0x2f115a[_0x1097('0x10b')](_0x3c200c=>_0x1097('0x44')==_0x3c200c['type']),_0x5e9613=_0x2f115a[_0x1097('0x10b')](_0x2c76a2=>'insert'==_0x2c76a2['type']&&_0x1097('0xd7')!=_0x2c76a2[_0x1097('0x179')]),_0x2c359d=_0x2f115a['filter'](_0x109a68=>'remove'==_0x109a68[_0x1097('0x107')]&&_0x1097('0xd7')!=_0x109a68[_0x1097('0x179')]);for(const _0x2b05e1 of _0x4df0dc)_0x40f62a[_0x1097('0x175')]({'key':_0x2b05e1[_0x1097('0x105')],'newValue':_0x2b05e1[_0x1097('0x88')],'oldValue':_0x2b05e1['attributeOldValue'],'range':_0x27ca49(_0x2b05e1[_0x1097('0x40')])});for(const _0x38d04e of _0x5e9613){const _0x11fe5a=_0x2c359d[_0x1097('0x6a')](_0x417044=>_0x417044['position'][_0x1097('0x160')](_0x38d04e[_0x1097('0x106')]));_0x11fe5a&&_0x40f62a[_0x1097('0x175')]({'key':'$elementName','newValue':_0x38d04e[_0x1097('0x179')],'oldValue':_0x11fe5a['name'],'range':_0x53c7c1['model'][_0x1097('0xf4')](_0x38d04e['position'][_0x1097('0x94')])});}return 0x0!=_0x40f62a[_0x1097('0x8b')]&&this[_0x1097('0x141')](_0x519e2b,_0x40f62a);function _0x27ca49(_0x2b161c){return null==_0x2b161c[_0x1097('0xd6')][_0x1097('0x70')]&&_0x2b161c[_0x1097('0xd6')][_0x1097('0x136')]==_0x2b161c[_0x1097('0x139')]['nodeAfter']?Ut(_0x2b161c[_0x1097('0x139')][_0x1097('0x94')],_0x53c7c1[_0x1097('0x123')]):_0x2b161c;}}[_0x1097('0x12e')](_0x518d75){let _0x5c6977=!0x1;const _0xc95486=this[_0x1097('0x170')][_0x1097('0x123')]['document'][_0x1097('0x71')][_0x1097('0x5c')]()[_0x1097('0x10b')](_0x2379a0=>_0x2379a0['data'][_0x1097('0xe')]&&_0x2379a0[_0x1097('0x179')][_0x1097('0x0')](_0x1097('0x51')));for(const _0x181de8 of _0xc95486){const {subType:_0xd8fab7,id:_0x21859d}=this[_0x1097('0x56')](_0x181de8[_0x1097('0x179')]),_0x3b4e88=_0xd8fab7[_0x1097('0xbf')]('|')[0x0];for(const _0x48da62 of this[_0x1097('0x115')]({'skipNotAttached':!0x0}))_0x48da62['id']!=_0x21859d&&_0x1097('0x44')==_0x48da62['type']&&_0x48da62[_0x1097('0x8f')]&&_0x48da62[_0x1097('0x8f')][_0x1097('0x7c')]==_0x3b4e88&&_0x48da62[_0x1097('0xc6')]()['isIntersecting'](_0x181de8[_0x1097('0x8f')]['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x48da62,_0x181de8[_0x1097('0x8f')][_0x1097('0xe')],_0x518d75),_0x5c6977=!0x0);}return _0x5c6977;}[_0x1097('0x17c')](_0x476b3f){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x476b3f();const _0xa6013b=this[_0x1097('0x170')];this[_0x1097('0xc4')]=_0xa6013b[_0x1097('0x123')]['document'][_0x1097('0xc')],_0x476b3f();const _0x4dc004=new Map();for(const _0xffc0e6 of _0xa6013b[_0x1097('0x123')]['document'][_0x1097('0x8')][_0x1097('0xb7')](this[_0x1097('0xc4')]))if([_0x1097('0x19'),'addAttribute',_0x1097('0xb'),_0x1097('0x169')][_0x1097('0x168')](_0xffc0e6[_0x1097('0x107')])){const _0x2f88e0=_0xffc0e6['batch'],_0x4bc394=_0x4dc004[_0x1097('0x43')](_0x2f88e0)||[];_0x4bc394[_0x1097('0x175')](_0xffc0e6),_0x4dc004[_0x1097('0x1b')](_0x2f88e0,_0x4bc394);}this[_0x1097('0xc4')]=null;for(const [_0x1d28a0,_0x24eb90]of _0x4dc004){const _0x3bf261=_0x2bcffc();_0xa6013b['model'][_0x1097('0xa4')](_0x1d28a0,_0x283902=>{const _0x58f481=[];for(const _0x3d5c6c of _0x24eb90){let _0x4acf79,_0x30e6ec,_0x22c6ff,_0x19c725;if(_0x1097('0x19')==_0x3d5c6c[_0x1097('0x107')]){const _0x36ad51=_0x3d5c6c;_0x4acf79=Ut(_0x36ad51[_0x1097('0x106')][_0x1097('0x94')],_0xa6013b[_0x1097('0x123')]),_0x30e6ec=_0x1097('0x3f'),_0x22c6ff=_0x36ad51[_0x1097('0x143')],_0x19c725=_0x36ad51[_0x1097('0x13e')];}else{const _0x40f19f=_0x3d5c6c,_0x1328eb=this[_0x1097('0xed')](_0x40f19f[_0x1097('0x7c')]),_0x3bdbda=this['_inlineAttributeKeys'][_0x1097('0x63')](_0x40f19f[_0x1097('0x7c')]);if(!_0x1328eb&&!_0x3bdbda)continue;_0x4acf79=_0x1328eb?Ut(_0x40f19f[_0x1097('0x40')][_0x1097('0x139')]['nodeAfter'],_0xa6013b[_0x1097('0x123')]):_0x40f19f[_0x1097('0x40')],_0x30e6ec=_0x40f19f[_0x1097('0x7c')],_0x22c6ff=_0x1097('0xb')==_0x3d5c6c[_0x1097('0x107')]?void 0x0:_0x40f19f[_0x1097('0x5d')],_0x19c725=_0x40f19f[_0x1097('0xa8')];}this[_0x1097('0x50')](_0x4acf79,_0x30e6ec,_0x19c725,_0x22c6ff,{'groupId':_0x3bf261}),_0x58f481[_0x1097('0x175')]({'range':_0x4acf79,'key':_0x30e6ec,'newValue':_0x22c6ff,'oldValue':_0x19c725});}this[_0x1097('0x141')](_0x283902,_0x58f481);});}}['_reduceExistingSuggestions'](_0x566aa3,_0x183838){if(0x0==_0x183838[_0x1097('0x8b')])return!0x1;let _0x3a031d=!0x1;for(const _0x82b294 of _0x183838){const _0x13c283=this[_0x1097('0xca')](_0x82b294[_0x1097('0x40')],_0x1097('0x44'))['filter'](_0x88ae5c=>!_0x88ae5c[_0x1097('0xd0')][_0x1097('0x10e')])[_0x1097('0xfb')](_0x52733=>_0x52733[_0x1097('0xad')]),_0x3d7dc0=_0x2c1c43({'newValue':_0x82b294[_0x1097('0x5d')]});_0x13c283[_0x1097('0x10b')](_0x5b5b2e=>{const [_0x30dc87,_0x27f03d]=_0x5b5b2e[_0x1097('0x9d')]['split']('|');return _0x30dc87==_0x82b294[_0x1097('0x7c')]&&_0x27f03d!=_0x3d7dc0;})[_0x1097('0xc2')](_0x57db40=>{this[_0x1097('0x162')](_0x57db40,_0x82b294['range'],_0x566aa3),_0x3a031d=!0x0;});}return _0x3a031d;}['_reduceSuggestionAttributeRange'](_0x39f2f4,_0x5d1352,_0x1a22ed){const _0x367ac1=_0x39f2f4['getFirstRange']()['getDifference'](_0x5d1352);0x0!==_0x367ac1[_0x1097('0x8b')]?0x1!==_0x367ac1[_0x1097('0x8b')]?this['_breakSuggestionMarker'](_0x39f2f4,_0x5d1352[_0x1097('0x139')],_0x5d1352[_0x1097('0xd6')]):this['_setSuggestionRange'](_0x39f2f4,_0x367ac1[0x0]):_0x1a22ed['removeMarker'](_0x39f2f4[_0x1097('0xc7')]());}}class Bt{constructor(_0x55977c){this[_0x1097('0x55')]=_0x55977c,this['_model']=_0x55977c['model'],this[_0x1097('0xa7')]=new Map(),this[_0x1097('0xfc')]=new Map(),this[_0x1097('0x15a')]();}[_0x1097('0x3a')](_0x41ddbf,_0x3c75d8,_0xe719be,_0x78c0fb,_0x237fb4,_0x2f30aa){return new _0x547259(this['_model'],{'type':_0x41ddbf,'subType':_0x3c75d8,'id':_0xe719be,'author':_0x78c0fb,'creator':_0x78c0fb,'attributes':_0x237fb4,'onAttributesChange':_0x2f30aa,'onAccept':(..._0x3dddf2)=>this[_0x1097('0x22')](_0x41ddbf,_0x3c75d8,'accept')(..._0x3dddf2),'onDiscard':(..._0x2febb6)=>this['getSuggestionCallback'](_0x41ddbf,_0x3c75d8,_0x1097('0x2f'))(..._0x2febb6)});}[_0x1097('0x14d')](_0x16b74f,_0x722876,_0x2934a5,_0x398bdc){const _0x2b7efe=_0x16b74f+':'+_0x722876+':'+_0x2934a5;this[_0x1097('0xa7')]['set'](_0x2b7efe,_0x398bdc);}[_0x1097('0x22')](_0x7d8e03,_0x394df6,_0x25b37d){const _0x11d927=_0x7d8e03+':'+_0x394df6+':'+_0x25b37d;return this[_0x1097('0xa7')][_0x1097('0x43')](_0x11d927)||this[_0x1097('0xfc')][_0x1097('0x43')](_0x7d8e03+':'+_0x25b37d);}['_registerDefaultCallbacks'](){const _0x95c45=()=>!0x1,_0x591232=_0xaec1ae=>{_0xaec1ae[_0x1097('0xcc')]((_0x1c382e,_0x3c6248)=>_0x1c382e['start']['isBefore'](_0x3c6248['start'])?0x1:-0x1),this[_0x1097('0x23')]['change'](_0x4419a1=>{for(const _0x5e6ab1 of _0xaec1ae){let _0x10079e;_0x10079e=_0x5e6ab1['end']['isAtEnd']&&_0x5e6ab1[_0x1097('0xd6')][_0x1097('0x136')]==_0x5e6ab1[_0x1097('0x139')][_0x1097('0x94')]?_0x4419a1[_0x1097('0x75')](_0x5e6ab1[_0x1097('0x139')][_0x1097('0x94')],'on'):_0x4419a1[_0x1097('0x75')](_0x5e6ab1),this[_0x1097('0x23')][_0x1097('0x8c')](_0x10079e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x311f3f=(_0x119503,_0x33b5cd)=>{_0x33b5cd&&this[_0x1097('0x23')][_0x1097('0x83')](_0x127fc7=>{const {commandName:_0x122c1f,commandParams:_0x19099d=[]}=_0x33b5cd,_0x32d84e=_0x119503[_0x1097('0xfb')](_0x42d86e=>(xt(_0x42d86e)&&(_0x42d86e=this[_0x1097('0x23')][_0x1097('0x15')](_0x42d86e[_0x1097('0xd6')])),_0x42d86e))[_0x1097('0x10b')](_0x5ce435=>_0x1097('0xf8')!==_0x5ce435[_0x1097('0x66')][_0x1097('0x164')]);if(_0x32d84e[_0x1097('0x8b')]<0x1)return;const _0x2c3e36=Array[_0x1097('0x95')](this[_0x1097('0x23')][_0x1097('0x1a')][_0x1097('0x140')]['getRanges']())[_0x1097('0xfb')](_0x5b800e=>_0x1becc6[_0x1097('0x77')](_0x5b800e));_0x127fc7['setSelection'](_0x32d84e);for(const _0x321fec of this[_0x1097('0x55')][_0x1097('0xb6')][_0x1097('0xb6')]())_0x321fec[_0x1097('0x103')]();_0x19099d[_0x1097('0x175')]({'forceDefaultExecution':!0x0}),this[_0x1097('0x55')]['execute'](_0x122c1f,..._0x19099d);const _0x5f2c7d=_0x2c3e36[_0x1097('0x10b')](_0x3edee3=>_0x1097('0xf8')!=_0x3edee3[_0x1097('0x66')]['rootName']);_0x5f2c7d[_0x1097('0x8b')]>0x0&&_0x127fc7[_0x1097('0xfe')](_0x5f2c7d);for(const _0x2078b0 of _0x2c3e36)_0x2078b0[_0x1097('0x6')]();});},_0x6fdad=(_0x35f3ad,_0x38467e)=>0x1==_0x35f3ad[_0x1097('0x8b')]&&0x1==_0x38467e[_0x1097('0x8b')]&&_0x35f3ad[0x0]['end'][_0x1097('0x160')](_0x38467e[0x0][_0x1097('0x139')]),_0x49fec9=(_0x32a885,_0x153a25,_0x4d204f,_0x36728f)=>Ot(_0x32a885,_0x153a25,_0x4d204f,_0x36728f,this[_0x1097('0x23')])?[_0x32a885,_0x153a25]:Ot(_0x153a25,_0x32a885,_0x36728f,_0x4d204f,this[_0x1097('0x23')])?[_0x153a25,_0x32a885]:null;this[_0x1097('0xfc')][_0x1097('0x1b')]('insertion:accept',_0x95c45),this[_0x1097('0xfc')][_0x1097('0x1b')](_0x1097('0x150'),_0x591232),this['_defaultCallbacks'][_0x1097('0x1b')](_0x1097('0x98'),_0x6fdad),this[_0x1097('0xfc')]['set'](_0x1097('0x12f'),_0x49fec9),this[_0x1097('0xfc')][_0x1097('0x1b')](_0x1097('0xae'),_0x591232),this['_defaultCallbacks'][_0x1097('0x1b')](_0x1097('0x2'),_0x95c45),this[_0x1097('0xfc')]['set']('deletion:join',_0x6fdad),this['_defaultCallbacks'][_0x1097('0x1b')](_0x1097('0x146'),_0x49fec9),this[_0x1097('0xfc')]['set'](_0x1097('0x9a'),_0x311f3f),this['_defaultCallbacks'][_0x1097('0x1b')](_0x1097('0x73'),_0x95c45),this[_0x1097('0xfc')][_0x1097('0x1b')](_0x1097('0xdd'),_0x6fdad),this['_defaultCallbacks']['set'](_0x1097('0x68'),_0x95c45),this[_0x1097('0xfc')][_0x1097('0x1b')]('formatBlock:accept',_0x311f3f),this[_0x1097('0xfc')]['set'](_0x1097('0x99'),_0x95c45),this[_0x1097('0xfc')][_0x1097('0x1b')](_0x1097('0x52'),_0x6fdad),this[_0x1097('0xfc')][_0x1097('0x1b')](_0x1097('0x4a'),_0x95c45),this['_defaultCallbacks']['set'](_0x1097('0x13d'),_0x95c45),this['_defaultCallbacks']['set'](_0x1097('0x39'),(_0x4c44e3,_0x345e4f)=>{if(!_0x345e4f)return;const _0x45abd4=this[_0x1097('0x55')]['plugins']['get'](p);this[_0x1097('0x23')]['change'](_0x1d5149=>{if(_0x1097('0x3f')==_0x345e4f[_0x1097('0x7c')])for(const _0x588d17 of _0x4c44e3){const _0x142a4e=_0x588d17[_0x1097('0x139')][_0x1097('0x94')],_0x4a1567=_0x345e4f[_0x1097('0xa8')];_0x1d5149[_0x1097('0x19')](_0x142a4e,_0x4a1567);}else{if(_0x45abd4[_0x1097('0xed')](_0x345e4f[_0x1097('0x7c')]))for(const _0x126956 of _0x4c44e3)void 0x0!==_0x345e4f[_0x1097('0xa8')]?_0x1d5149['setAttribute'](_0x345e4f[_0x1097('0x7c')],_0x345e4f[_0x1097('0xa8')],_0x126956[_0x1097('0x139')]['nodeAfter']):_0x1d5149[_0x1097('0xb')](_0x345e4f[_0x1097('0x7c')],_0x126956[_0x1097('0x139')][_0x1097('0x94')]);else for(const _0x2db045 of _0x4c44e3)_0x345e4f[_0x1097('0xa8')]?_0x1d5149['setAttribute'](_0x345e4f[_0x1097('0x7c')],_0x345e4f[_0x1097('0xa8')],_0x2db045):_0x1d5149[_0x1097('0xb')](_0x345e4f[_0x1097('0x7c')],_0x2db045);}});}),this['_defaultCallbacks'][_0x1097('0x1b')](_0x1097('0x4b'),_0x6fdad);}}function Tt(_0x7da06d,_0x38f914,_0x1af7f0){for(const _0x1c9464 of _0x38f914[_0x1097('0x136')][_0x1097('0x11b')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1c9464['root']==_0x1c9464)return!0x1;if(!_0x1af7f0[_0x1097('0x10a')](_0x1c9464))return!0x1;if(_0x7da06d[_0x1097('0x102')](_0x1c9464)||_0x7da06d[_0x1097('0x14e')](_0x1c9464))return!0x0;}return!0x1;}function xt(_0x307a50){return _0x307a50[_0x1097('0xd6')][_0x1097('0x136')]==_0x307a50['start'][_0x1097('0x94')]&&_0x307a50[_0x1097('0xd6')]['isAtStart'];}function Et(_0x447904,_0x8c3f0a,_0x514a58,_0x3b542c){const _0x51c748=_0x40f759=>!_0x40f759['item']['is']('$textProxy')&&!_0x3b542c[_0x1097('0x102')](_0x40f759[_0x1097('0x121')]),_0x38216a=_0x447904[_0x1097('0x139')]['getLastMatchingPosition'](_0x51c748),_0x3d0594=_0x447904['end'][_0x1097('0xec')](_0x51c748,{'direction':_0x1097('0x11d')});return(!_0x447904['start'][_0x1097('0x160')](_0x38216a)||!_0x447904[_0x1097('0xd6')][_0x1097('0x160')](_0x3d0594))&&(_0x38216a[_0x1097('0x9c')](_0x3d0594)?_0x514a58[_0x1097('0x125')](_0x8c3f0a,{'range':_0x514a58[_0x1097('0x15')](_0x38216a,_0x3d0594)}):_0x514a58[_0x1097('0x84')](_0x8c3f0a),!0x0);}function Rt(_0x3da1dd){return _0x2c1c43(_0x3da1dd);}function jt(_0x23b8e9){const _0x325775=_0x23b8e9[_0x1097('0x139')]['nodeAfter'];return _0x325775&&_0x325775['is'](_0x1097('0x3c'));}function Ut(_0xaf6415,_0x260aed){const _0x4caed1=_0x260aed[_0x1097('0x114')]['isObject'](_0xaf6415)||_0x260aed[_0x1097('0x114')][_0x1097('0x7b')](_0xaf6415);return _0x260aed[_0x1097('0x15')](_0x260aed[_0x1097('0x4')](_0xaf6415,_0x1097('0x29')),_0x4caed1?_0x260aed[_0x1097('0x17a')](_0xaf6415):_0x260aed[_0x1097('0x4')](_0xaf6415,_0x1097('0xd6')));}function Ot(_0x138bfd,_0x199b73,_0x423e97,_0x5664a5,_0x155ae5){if(!Vt(_0x138bfd,_0x199b73))return!0x1;if(_0x423e97['end'][_0x1097('0x160')](_0x5664a5['start']))return!0x0;if(_0x138bfd[_0x1097('0x107')]!=_0x199b73[_0x1097('0x107')])return!0x1;if(!_0x423e97[_0x1097('0xd6')][_0x1097('0xa6')](_0x5664a5[_0x1097('0x139')]))return!0x1;const _0x502c12=_0x155ae5['createRange'](_0x423e97['end'],_0x5664a5[_0x1097('0x139')])[_0x1097('0xe5')]();for(const _0x3f9b55 of _0x502c12)if([_0x1097('0x166'),_0x1097('0xa9')][_0x1097('0x168')](_0x3f9b55[_0x1097('0x107')])&&_0x155ae5['schema']['isLimit'](_0x3f9b55[_0x1097('0x121')]))return!0x1;return!0x0;}function Vt(_0x1b10e4,_0x3b62a3){return!(!_0x1b10e4[_0x1097('0x13c')]||!_0x3b62a3[_0x1097('0x13c')])&&_0x4de6b8(_0x1b10e4[_0x1097('0x157')],_0x3b62a3['attributes']);}function Ft(_0xada7b0,_0x22fef2){const _0x27ab55=Gt(_0xada7b0[_0x1097('0x157')]),_0x8ac44c=Gt(_0x22fef2);if(!_0xada7b0[_0x1097('0x13c')])return!0x1;for(const _0x5b8184 of Object[_0x1097('0x14')](_0x8ac44c))if(!_0x4de6b8(_0x27ab55[_0x5b8184],_0x8ac44c[_0x5b8184]))return!0x1;return!0x0;}function Gt(_0x4d858b){const _0x5ed024=Object['assign']({},_0x4d858b);return delete _0x5ed024[_0x1097('0x97')],delete _0x5ed024[_0x1097('0x92')],_0x5ed024;}