@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231127.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 _0x4bf1=['formatInline:chain','detach','getWalker','formatInline:','_breakSuggestionMarker','_customCallbacks','type','isBlock','_initAriaMarkerChangeAnnouncements','getMultiRangeId','fromRange','_rangeIsInLocalUserInsertion','removeMarker:suggestion:attribute','subType','_addThreadToSuggestion','setTo','insertion:accept','registerCustomCallback','from','before','ck-suggestion-marker-','author','_suggestions','_processAttributeSuggestions','_onDiscard','getFirstRange','isOwn','ck-suggestion-marker-formatBlock','Users','toJSON','accept','editing','createRange','suggestionLoaded','elementStart','commands','format','markAttributeChange','addMarker:suggestion','commandName','insertContent','_enabledCommands','highest','isIntersecting','multipleBlocks','formatBlock','createPositionBefore','data-suggestion','values','getLastMatchingPosition','moveTargetPosition','ck-suggestion-marker','PENDING_ACTION_SUGGESTION','plugins','isAfter','schema','TrackChangesEditing','_reduceExistingSuggestions','isObject','hasCommentThread','isArray','markerName','_defaultCallbacks','createPositionAt','_getAttributeKeyFromSubType','attributeOldValue','isMultiRange','formatBlock:','_updateSuggestionData','stop','_descriptionFactory','insertion:join','differ','range','remove','_getExternalAuthor','setSelection','createRangeOn','addMarkerName','batch','multi','authorName','_setSuggestionRange','find','_inlineAttributeKeys','splitPosition','refresh','_mergeNestedSuggestions','isNextTo','_adapter','keys','_setSuggestionData','containsPosition','enableCommand','formatInline:accept','end','_getMarkerAnnouncementText','length','notReady','attribute:','track-changes-adapter-already-set','getCommentThread','_registerDefaultCallbacks','hasSuggestion','previous','removeMarkers','size','toViewElement','_isDataLoaded','comments','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.','deletion:join','normal','elementToElement','warn','isAtEnd','discardAllSuggestions','hasComments','for','getRanges','getIntersection','groupId','reconvertMarker','clear','getUser','@external','isCollapsed','lowest','_addSuggestionMarker','getChangedMarkers','_checkSuggestionCorrectness','getChanges','addAttribute','isIntersectingWithRange','attributes','_reduceSuggestionAttributeRange','suggestion:','fromCharCode','_recordAttributeChanges','suggestionUnloaded','version','collaboration.channelId','chain','isDocumentOperation','addMarker:suggestion:attribute','deleteContent','listenTo','name','open','position','getNearestSelectionRange','acceptSuggestion','upcast','isLimit','getAttribute','insertion:','model','discardSelectedSuggestions','getAncestors','unshift','_refreshSuggestionsChain','insertion:discard','unbind','toUpperCase','markerToData','isRemovable','forEach','track-changes-user-not-found','_findSuggestions','acceptSelectedSuggestions','formatBlock:chain','fire','rename','execute','_enableDefaultAttributesIntegration','$elementName','_model','isInsideObject','dataReady','after','addHighlight','registerPostFixer','oldValue','markMultiRangeBlockFormat','track-changes-suggestion-data-mismatch','track-changes-enable-command-twice','containsRangeInObject','removeMarker','authoredAt','$graveyard','ck-suggestion-marker-formatInline','backward','suggestionChanged','consume','includes','marker-count','createRangeIn','addMarker','isSelectable','rootName','locale','map','_recordAttributeSuggestionsFromVersion','key','concat','getSuggestion','addClass','nodeAfter','suggestion-type','acceptAllSuggestions','has','next','$marker','_joinWithAdjacentSuggestions','markInsertion','isTouching','track-changes-suggestion-not-found','selection','setAttribute','_blockAttributeKeys','group','_isBlockAttribute','attributeNewValue','ck-suggestion-marker--active','join','createElement','some','isUndo','_isForcedDefaultExecutionBlock','getAllAdjacentSuggestions','mapper','ready','deletion:chain','addSuggestionData','discard','update:suggestion','element','stopListening','getItems','never','skipNestingCheck','insert','elementEnd','attribute','removeMarker:suggestion:formatBlock','then','updateMarker','newRange','removeComment','attributeKey','_cutOutSuggestionMarker','sort','trackChanges.trackFormatChanges','default','isExternal','getDifference','newName','item','documentSelection','commentThread','editor','removeAttribute','showSuggestionHighlights','startsWith','getFirstMarker','deletion','markerNameToElements','isInContent','howMany','rethrowUnexpectedError','formatGroupId','external:','containsRange','consumable','getCustomProperty','getSuggestions','getSuggestionCallback','CommentsRepository','_trackFormatChanges','history','add','announce','_editor','markerToHighlight','data','addComment','removeClass','root','containsItem','unbindElementFromMarkerName','$textProxy','ENTER','attribute:discard','_removeSuggestion','$text','forward','move','getShiftedBy','resolve','change','bindElementToMarker','get','substr','every','_refreshAttributeSuggestionsChain','_processAttributeChanges','formatBlock:discard','return','_createSuggestion','isEqual','value','document','assign','rejected','editingDowncast','suggestion','changeAttribute','activeMarkers','createSelection','_suggestionFactory','isLocal','init','applyOperation','markMultiRangeInsertion','trackChangesCommand','always','high','oldRange','nodeBefore','_getSuggestionData','createPositionAfter','push','forceDefaultExecution','options','_suggestionState','formatInline','define','conversion','set','updateSuggestion','addRange','formatBlock:join','_SUGGESTION_ANNOUNCEMENT','_getAuthorFromId','enableReadOnlyMode','_saved','PendingActions','_commentsRepository','_splitMarkerName','error-saving-suggestion-data-suggestion-discarded','_joinSuggestions','fetchCommentThread','isBefore','markInlineFormat','formatInline:discard','enqueueChange','delete','insertion','addSuggestion','split','splice','markers','containerElement','pop','markBlockFormat','createdAt','dataToMarker','markerReady','removed','LEAVE','discardSuggestion','ariaLiveAnnouncer','creator','start','trackChanges','_registerBlockAttribute','head','writer','markDeletion','originalSuggestionId','_registerInlineAttribute','getRange','FORMATTING','accepted','targetPosition','deletion:accept','clone','track-changes-command-not-found','filter','dataDowncast','_handleNewSuggestionMarker','parent','config'];(function(_0x82f674,_0x4bf16a){const _0x52f5de=function(_0x10c937){while(--_0x10c937){_0x82f674['push'](_0x82f674['shift']());}};_0x52f5de(++_0x4bf16a);}(_0x4bf1,0x86));const _0x52f5=function(_0x82f674,_0x4bf16a){_0x82f674=_0x82f674-0x0;let _0x52f5de=_0x4bf1[_0x82f674];return _0x52f5de;};import{Plugin as _0x3b122b,PendingActions as _0x4c4cb3}from'ckeditor5/src/core';import{LiveRange as _0x56471a}from'ckeditor5/src/engine';import{CKEditorError as _0x3b4ff1,uid as _0x1a0241,priorities as _0x563284,logWarning as _0x5aec1f}from'ckeditor5/src/utils';import{toWidget as _0x5640ca}from'ckeditor5/src/widget';import{Users as _0x262e69,hashObject as _0x3d0e47,surroundingMarkersDetector as _0x269c35}from'ckeditor5-collaboration/src/collaboration-core';import _0x584b94 from'./commands/trackchangescommand';import _0x193fde from'./commands/acceptsuggestioncommand';import _0x8ec34b from'./commands/discardsuggestioncommand';import _0x3b7ebe from'./commands/executeonallsuggestionscommand';import _0x5f3237 from'./commands/executeonselectedsuggestionscommand';import _0x2b492d from'./suggestion';import _0x34e150 from'./suggestiondescriptionfactory';import _0x110eb1 from'./integrations/aiassistant';import _0x5b063a from'./integrations/alignment';import _0x3398e6 from'./integrations/basicstyles';import _0x568b09 from'./integrations/blockquote';import _0x886ab from'./integrations/ckbox';import _0x339a2e from'./integrations/codeblock';import _0x4be4ea from'./integrations/comments';import _0xc29b9e from'./integrations/deletecommand';import _0x26e021 from'./integrations/documentlist';import _0x7c2ce0 from'./integrations/documentlistproperties';import _0x97114e from'./integrations/entercommand';import _0x43ea99 from'./integrations/findandreplace';import _0x528e36 from'./integrations/font';import _0xc0411c from'./integrations/formatpainter';import _0xebdfda from'./integrations/heading';import _0x3367f4 from'./integrations/highlight';import _0x5a6260 from'./integrations/horizontalline';import _0x5b567f from'./integrations/htmlembed';import _0x1d6350 from'./integrations/image';import _0x4396c5 from'./integrations/imagereplace';import _0x158daf from'./integrations/imagestyle';import _0x549b5f from'./integrations/importword';import _0x4926ad from'./integrations/indent';import _0x3880fa from'./integrations/inputcommand';import _0x548abe from'./integrations/link';import _0x2505e3 from'./integrations/list';import _0x2a3c7d from'./integrations/listproperties';import _0x1a4e32 from'./integrations/mediaembed';import _0x244196 from'./integrations/mention';import _0x4b1d4e from'./integrations/pagebreak';import _0x4a5152 from'./integrations/paragraph';import _0x35b1d3 from'./integrations/removeformat';import _0x73ca15 from'./integrations/restrictededitingmode';import _0x2fdce6 from'./integrations/shiftentercommand';import _0x2a245a from'./integrations/standardeditingmode';import _0xf91a51 from'./integrations/style';import _0x1684da from'./integrations/table';import _0x4145fa from'./integrations/tablemergesplit';import _0x27306b from'./integrations/tableheadings';import _0x35eaf7 from'./integrations/tableclipboard';import _0x56d345 from'./integrations/tablecolumnresize';import _0x23ea74 from'./integrations/template';import _0x57ac82 from'./integrations/tableofcontents';import _0x366589 from'./integrations/title';import _0x3bdb59 from'./integrations/undo';import _0x3531a8 from'./integrations/tablecaption';import _0x140739 from'./integrations/tableproperties';import{getTranslation as _0x3c2fbc}from'./utils/common-translations';import{isEqual as _0xa3113d,omit as _0x4ea7c2}from'lodash-es';export const renameAttributeKey=_0x52f5('0x29');export default class p extends _0x3b122b{static get['requires'](){return[_0x52f5('0x8f'),_0x262e69,_0x4c4cb3,_0x110eb1,_0x5b063a,_0x3398e6,_0x568b09,_0x886ab,_0x339a2e,_0x4be4ea,_0xc29b9e,_0x26e021,_0x7c2ce0,_0x97114e,_0x43ea99,_0x528e36,_0xc0411c,_0xebdfda,_0x3367f4,_0x5a6260,_0x5b567f,_0x1d6350,_0x158daf,_0x4396c5,_0x549b5f,_0x4926ad,_0x3880fa,_0x548abe,_0x2505e3,_0x2a3c7d,_0x1a4e32,_0x244196,_0x4b1d4e,_0x4a5152,_0x35b1d3,_0x73ca15,_0x2fdce6,_0x2a245a,_0xf91a51,_0x1684da,_0x4145fa,_0x27306b,_0x3531a8,_0x35eaf7,_0x56d345,_0x57ac82,_0x140739,_0x23ea74,_0x366589,_0x3bdb59];}static get['pluginName'](){return _0x52f5('0x13b');}constructor(_0xa16ec7){function _0x3f7822(_0x3a80ec){return _0x3a80ec[_0x52f5('0x43')](_0x587b08=>String[_0x52f5('0x3')](_0x587b08))[_0x52f5('0x5a')]('');}super(_0xa16ec7),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x52f5('0xcc')]('activeMarkers',[]),this['on']('change:activeMarkers',(_0x2e405f,_0x206c9e,_0x245495,_0x1bb41e)=>{this['_model'][_0x52f5('0xa5')](()=>{for(const _0x20c1c2 of[..._0x1bb41e,..._0x245495])this['_model']['markers'][_0x52f5('0x4c')](_0x20c1c2)&&_0xa16ec7[_0x52f5('0x122')][_0x52f5('0x17d')](_0x20c1c2);});}),this[_0x52f5('0x149')]=new _0x34e150(this[_0x52f5('0x7e')][_0x52f5('0x16')]['schema'],this[_0x52f5('0x7e')][_0x52f5('0x42')]),this[_0x52f5('0x15c')]=null,this[_0x52f5('0xb9')]=new Bt(this['editor']),this['_suggestions']=new Map(),this[_0x52f5('0xd5')]=_0xa16ec7[_0x52f5('0x138')][_0x52f5('0xa7')](_0x52f5('0x8f')),this[_0x52f5('0x12c')]=new Set(),this[_0x52f5('0x2a')]=this[_0x52f5('0x7e')][_0x52f5('0x16')],this[_0x52f5('0xc8')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([_0x52f5('0x29')]),this['_inlineAttributeKeys']=new Set(),_0xa16ec7[_0x52f5('0x102')]['define']('trackChanges.trackFormatChanges',_0x52f5('0x77')),this[_0x52f5('0x90')]=_0xa16ec7[_0x52f5('0x102')][_0x52f5('0xa7')](_0x52f5('0x76')),_0xa16ec7[_0x52f5('0x102')][_0x52f5('0xca')]('trackChanges.mergeNestedSuggestions',!0x0),this[_0x52f5('0x15a')]=_0xa16ec7[_0x52f5('0x102')]['get']('trackChanges.mergeNestedSuggestions'),this[_0x52f5('0xbe')]=new _0x584b94(_0xa16ec7,this[_0x52f5('0x12c')]),this[_0x52f5('0x10b')](),this[_0x3f7822([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x3f7822([0x34,0x30,0x34,0x36,0x32,0x32,0x35,0x34]);}[_0x52f5('0xbb')](){const _0x4cfe4f=this['editor'],_0x21dae8=(_0x5f2450,_0x4fbf3a)=>{if(_0x52f5('0x6d')!=_0x5f2450)return _0x52f5('0x117')+_0x5f2450;const _0x1c00c7=_0x4fbf3a[_0x52f5('0xe1')]('|')[0x0];return this['_isBlockAttribute'](_0x1c00c7)?_0x52f5('0x11e'):_0x52f5('0x38');};_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xb4'))[_0x52f5('0x95')]({'model':'suggestion','view':_0x79c31c=>{const {id:_0x1c9b26,type:_0x45b6ab,subType:_0x2c0902}=this[_0x52f5('0xd6')](_0x79c31c[_0x52f5('0x140')]),_0x3f4f50=[_0x52f5('0x136'),_0x21dae8(_0x45b6ab,_0x2c0902)];let _0x4bfba4=0xbb8;return this[_0x52f5('0xb7')][_0x52f5('0x3c')](_0x79c31c[_0x52f5('0x140')])&&(_0x3f4f50[_0x52f5('0xc5')](_0x52f5('0x59')),_0x4bfba4=0xbc2),_0x52f5('0x83')==_0x45b6ab&&(_0x4bfba4+=0x5),{'classes':_0x3f4f50,'attributes':{'data-suggestion':_0x1c9b26},'priority':_0x4bfba4};}}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xff'))[_0x52f5('0x92')](_0x27250c=>{_0x27250c['on'](_0x52f5('0x129'),(_0x574b38,_0x4b7a6d,_0x37c44d)=>{if(!_0x37c44d[_0x52f5('0xc7')][_0x52f5('0x80')])return;const _0x16b4f0=_0x4b7a6d['item'];if(!_0x16b4f0)return;const _0x5f483e=_0x37c44d['mapper'][_0x52f5('0x16e')](_0x16b4f0);_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x13a')][_0x52f5('0x13d')](_0x16b4f0)&&_0x5f483e&&!_0x5f483e['getCustomProperty']('widget')&&_0x5f483e['is'](_0x52f5('0xe4'))&&_0x5640ca(_0x5f483e,_0x37c44d[_0x52f5('0xf3')]);},{'priority':_0x52f5('0xc0')});}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xff'))['markerToHighlight']({'model':_0x52f5('0xb5'),'view':(_0x17dcba,_0x1bb94d)=>{if(!_0x1bb94d[_0x52f5('0xc7')][_0x52f5('0x80')])return null;const {type:_0x362f2b,subType:_0x5ce6bb}=this[_0x52f5('0xd6')](_0x17dcba[_0x52f5('0x140')]);return{'classes':[_0x52f5('0x136'),_0x21dae8(_0x362f2b,_0x5ce6bb)],'priority':0xbb8};}});const _0x4cb466=({showActiveMarkers:_0x2ca21=!0x0,isAttributeSuggestion:_0x1fc081=!0x1}={})=>(_0x1e9075,_0x4fdb2c,_0x3dd839)=>{if(!_0x4fdb2c[_0x52f5('0x7b')])return;const {id:_0x10f1ef}=this['_splitMarkerName'](_0x4fdb2c[_0x52f5('0x140')]);if(_0x1fc081){const _0x40d8cc=this[_0x52f5('0x119')]['get'](_0x10f1ef),_0x156c3c=this[_0x52f5('0x143')](_0x40d8cc);if(!this['_isBlockAttribute'](_0x156c3c))return;}if(_0x4fdb2c[_0x52f5('0x7b')]['is']('selection'))return void _0x3dd839['consumable'][_0x52f5('0x3b')](_0x4fdb2c[_0x52f5('0x7b')],_0x1e9075[_0x52f5('0xd')]);const _0x459234=_0x3dd839[_0x52f5('0x60')][_0x52f5('0x16e')](_0x4fdb2c['item']);if(_0x4fdb2c[_0x52f5('0x7b')]['is'](_0x52f5('0x66'))&&_0x4cfe4f[_0x52f5('0x16')]['schema'][_0x52f5('0x10a')](_0x4fdb2c[_0x52f5('0x7b')])&&!_0x459234[_0x52f5('0x8c')](_0x52f5('0x2e'))){_0x3dd839[_0x52f5('0xf3')][_0x52f5('0x48')]([_0x52f5('0x136'),'ck-suggestion-marker-formatBlock'],_0x459234),_0x3dd839['writer'][_0x52f5('0x54')](_0x52f5('0x132'),_0x10f1ef,_0x459234),_0x3dd839[_0x52f5('0x60')][_0x52f5('0xa6')](_0x459234,_0x4fdb2c[_0x52f5('0x140')]),_0x2ca21&&(this[_0x52f5('0xb7')][_0x52f5('0x3c')](_0x4fdb2c[_0x52f5('0x140')])?_0x3dd839[_0x52f5('0xf3')][_0x52f5('0x48')](_0x52f5('0x59'),_0x459234):_0x3dd839[_0x52f5('0xf3')]['removeClass'](_0x52f5('0x59'),_0x459234));for(const _0x25fc63 of _0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x3e')](_0x4fdb2c[_0x52f5('0x7b')])[_0x52f5('0x68')]())_0x3dd839[_0x52f5('0x8b')]['consume'](_0x25fc63,_0x1e9075[_0x52f5('0xd')]);_0x3dd839['consumable'][_0x52f5('0x3b')](_0x4fdb2c[_0x52f5('0x7b')],_0x1e9075[_0x52f5('0xd')]);}};_0x4cfe4f[_0x52f5('0xcb')]['for'](_0x52f5('0xff'))[_0x52f5('0x92')](_0x3ecfe0=>{_0x3ecfe0['on']('addMarker:suggestion:formatBlock',(_0x4a94c4,_0x253cfe,_0x5e1acb)=>{_0x5e1acb[_0x52f5('0xc7')][_0x52f5('0x80')]&&_0x4cb466({'showActiveMarkers':!0x1})(_0x4a94c4,_0x253cfe,_0x5e1acb);},{'priority':_0x52f5('0x12d')});}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xff'))['add'](_0xa14c07=>{_0xa14c07['on'](_0x52f5('0xa'),(_0x43c571,_0x455674,_0x51c9f2)=>{_0x51c9f2['options']['showSuggestionHighlights']&&_0x4cb466({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x43c571,_0x455674,_0x51c9f2);},{'priority':_0x52f5('0x12d')});}),_0x4cfe4f['conversion'][_0x52f5('0x179')](_0x52f5('0xff'))[_0x52f5('0x1e')]({'model':_0x52f5('0xb5'),'view':(_0x6a2b09,_0xb235d0)=>_0xb235d0[_0x52f5('0xc7')][_0x52f5('0x80')]?null:{'group':_0x52f5('0xb5'),'name':_0x6a2b09[_0x52f5('0xa8')](0xb)}}),_0x4cfe4f[_0x52f5('0xcb')]['for'](_0x52f5('0x12'))[_0x52f5('0x174')]({'view':{'name':_0x52f5('0xb5'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xa0648e,{writer:_0x4a7fe4})=>{let _0x53c6e9=_0x52f5('0x2')+_0xa0648e[_0x52f5('0x14')](_0x52f5('0x4a'))+':'+_0xa0648e[_0x52f5('0x14')]('id');return _0xa0648e['getAttribute'](_0x52f5('0x3d'))&&(_0x53c6e9+=':'+_0xa0648e[_0x52f5('0x14')](_0x52f5('0x3d'))),_0x4a7fe4[_0x52f5('0x5b')](_0x52f5('0x4e'),{'data-name':_0x53c6e9});}}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0x12'))[_0x52f5('0xe8')]({'view':_0x52f5('0xb5')}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xb4'))[_0x52f5('0x92')](_0x31b850=>{_0x31b850['on']('addMarker:suggestion:formatBlock',_0x4cb466(),{'priority':_0x52f5('0xc0')});}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xb4'))['add'](_0x124a25=>{_0x124a25['on'](_0x52f5('0xa'),_0x4cb466({'isAttributeSuggestion':!0x0}),{'priority':_0x52f5('0xc0')});}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xb4'))[_0x52f5('0x92')](_0x3d4d14=>{_0x3d4d14['on'](_0x52f5('0x6e'),(_0x1779f9,_0x2b93e5,_0x3c625d)=>{const _0xb53cdf=_0x3c625d[_0x52f5('0x60')][_0x52f5('0x84')](_0x2b93e5['markerName']);if(_0xb53cdf)for(const _0x175dd7 of _0xb53cdf)_0x175dd7[_0x52f5('0x8c')]('addHighlight')||(_0x3c625d[_0x52f5('0xf3')][_0x52f5('0x98')]([_0x52f5('0x136'),_0x52f5('0x11e'),_0x52f5('0x59')],_0x175dd7),_0x3c625d[_0x52f5('0xf3')][_0x52f5('0x7f')](_0x52f5('0x132'),_0x175dd7),_0x3c625d[_0x52f5('0x60')][_0x52f5('0x9b')](_0x175dd7,_0x2b93e5[_0x52f5('0x140')]));},{'priority':_0x52f5('0xc0')});}),_0x4cfe4f[_0x52f5('0xcb')][_0x52f5('0x179')](_0x52f5('0xb4'))[_0x52f5('0x92')](_0x5acf7b=>{_0x5acf7b['on'](_0x52f5('0x10f'),(_0x1697b4,_0x3e657c,_0x12f0fb)=>{const _0x2d5f75=_0x12f0fb[_0x52f5('0x60')][_0x52f5('0x84')](_0x3e657c[_0x52f5('0x140')]);if(!_0x2d5f75)return;const {id:_0x13495e}=this[_0x52f5('0xd6')](_0x3e657c['markerName']),_0x55547e=this[_0x52f5('0x119')]['get'](_0x13495e),_0x5cc786=this['_getAttributeKeyFromSubType'](_0x55547e);if(this[_0x52f5('0x57')](_0x5cc786))for(const _0x39278d of _0x2d5f75)_0x39278d['getCustomProperty'](_0x52f5('0x2e'))||(_0x12f0fb[_0x52f5('0xf3')]['removeClass']([_0x52f5('0x136'),_0x52f5('0x11e'),_0x52f5('0x59')],_0x39278d),_0x12f0fb[_0x52f5('0xf3')][_0x52f5('0x7f')](_0x52f5('0x132'),_0x39278d),_0x12f0fb[_0x52f5('0x60')][_0x52f5('0x9b')](_0x39278d,_0x3e657c[_0x52f5('0x140')]));},{'priority':'high'});}),_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0xb1')][_0x52f5('0x2f')](_0xc4a4a5=>{let _0x3182e4=!0x1;const _0x3f5e4b=Array[_0x52f5('0x115')](_0x4cfe4f[_0x52f5('0x16')]['document'][_0x52f5('0x14b')][_0x52f5('0x184')]()),_0x13516c=new Set();for(const {name:_0x48d4f8,data:_0x359f6d}of _0x3f5e4b){const {group:_0x4aaaae,type:_0x48af73,subType:_0xeadfca,id:_0x221f46}=this['_splitMarkerName'](_0x48d4f8);if(_0x52f5('0xb5')!==_0x4aaaae)continue;const _0x2a6e21=this[_0x52f5('0x119')]['get'](_0x221f46);if(null!=_0x359f6d['newRange']){_0x52f5('0xc9')==_0x48af73&&(_0x3182e4=_0x3182e4||Et(_0x359f6d[_0x52f5('0x71')],_0x48d4f8,_0xc4a4a5,_0x4cfe4f['model']['schema']));const _0x42b79d=_0x52f5('0x6d')==_0x48af73&&this[_0x52f5('0x57')](_0xeadfca[_0x52f5('0xe1')]('|')[0x0]);if(_0x359f6d[_0x52f5('0x71')][_0x52f5('0x181')]||_0x52f5('0x37')==_0x359f6d[_0x52f5('0x71')][_0x52f5('0x99')][_0x52f5('0x41')]||_0x52f5('0x130')==_0x48af73&&!jt(_0x359f6d[_0x52f5('0x71')])||_0x42b79d&&!jt(_0x359f6d[_0x52f5('0x71')])||_0x52f5('0x83')==_0x48af73&&!(!xt(_0x232732=_0x359f6d[_0x52f5('0x71')])&&!function(_0x37ada8){return _0x37ada8['start'][_0x52f5('0x101')]==_0x37ada8[_0x52f5('0x162')][_0x52f5('0xc2')]&&_0x37ada8[_0x52f5('0xef')][_0x52f5('0x176')];}(_0x232732)))_0xc4a4a5['removeMarker'](_0x48d4f8),_0x3182e4=!0x0;else{if(!_0x2a6e21||!_0x2a6e21[_0x52f5('0x85')])continue;_0x13516c['add'](_0x2a6e21);}}}var _0x232732;return _0x13516c['size']>0x0&&(_0x3182e4=!!this['_joinWithAdjacentSuggestions'](_0x13516c)||_0x3182e4),_0x3182e4;}),_0x4cfe4f['model'][_0x52f5('0xb1')][_0x52f5('0x2f')](_0x2f3567=>{let _0x153e59=!0x1;for(const _0x496337 of _0x4cfe4f[_0x52f5('0x16')]['document'][_0x52f5('0x14b')][_0x52f5('0x186')]())if('insert'==_0x496337[_0x52f5('0x109')])for(const _0x43e9a9 of this['_suggestions'][_0x52f5('0x133')]()){if(_0x43e9a9[_0x52f5('0x145')]||!_0x43e9a9['isInContent'])continue;const _0x5651e6=_0x52f5('0x130')==_0x43e9a9[_0x52f5('0x109')],_0x3a8296=this[_0x52f5('0x143')](_0x43e9a9),_0x502e24=_0x3a8296&&this['_isBlockAttribute'](_0x3a8296);if(!_0x5651e6&&!_0x502e24)continue;const _0x128410=_0x43e9a9[_0x52f5('0x11c')]();if(_0x128410[_0x52f5('0xef')][_0x52f5('0x101')]!=_0x128410[_0x52f5('0x162')]['parent']&&!_0x128410['end']['isAtEnd']){const _0x3d0954=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x142')](_0x128410[_0x52f5('0xef')]['nodeAfter'],'end'),_0x477d1c=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x123')](_0x128410[_0x52f5('0xef')],_0x3d0954);_0x2f3567[_0x52f5('0x70')](_0x43e9a9[_0x52f5('0x82')](),{'range':_0x477d1c}),_0x153e59=!0x0;}}return _0x153e59;}),_0x4cfe4f[_0x52f5('0x16')]['document']['registerPostFixer'](_0x55e22e=>this[_0x52f5('0xab')](_0x55e22e)),_0x4cfe4f['model'][_0x52f5('0xb1')]['registerPostFixer'](_0x49cf1e=>!_0x49cf1e[_0x52f5('0x152')][_0x52f5('0xba')]&&this['_processAttributeSuggestions'](_0x49cf1e)),_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0xe3')]['on'](_0x52f5('0x65'),(_0x217f8a,_0x1b088a,_0x5328f5)=>{if(null==_0x5328f5){const {id:_0x5b7dfb}=this[_0x52f5('0xd6')](_0x1b088a[_0x52f5('0xd')]),_0x34ec44=this[_0x52f5('0x119')][_0x52f5('0xa7')](_0x5b7dfb);_0x34ec44&&_0x34ec44[_0x52f5('0x151')](_0x1b088a['name']);}}),_0x4cfe4f['model'][_0x52f5('0xb1')]['on']('change:data',()=>{const _0x52d72c=Array['from'](_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0xb1')][_0x52f5('0x14b')][_0x52f5('0x184')]())[_0x52f5('0xfe')](_0x53797f=>_0x52f5('0xb5')===this['_splitMarkerName'](_0x53797f[_0x52f5('0xd')])[_0x52f5('0x56')]);if(0x0===_0x52d72c[_0x52f5('0x164')])return;_0x52d72c[_0x52f5('0x75')]((_0x5bb600,_0x57aa57)=>{const _0x36e636=_0x5bb600[_0x52f5('0x96')][_0x52f5('0xc1')],_0x562c71=_0x57aa57[_0x52f5('0x96')][_0x52f5('0xc1')];return null===_0x36e636&&null===_0x562c71?0x0:null===_0x36e636&&null!==_0x562c71?-0x1:null!==_0x36e636&&null===_0x562c71?0x1:_0x36e636[_0x52f5('0xef')][_0x52f5('0xda')](_0x562c71[_0x52f5('0xef')])?-0x1:0x1;});const _0x2be5e6=new Set(),_0x1a83ab=new Set();for(const {name:_0x416292,data:_0x5b9b04}of _0x52d72c){const {id:_0x589f8b}=this['_splitMarkerName'](_0x416292);if(null===_0x5b9b04[_0x52f5('0xc1')]){const _0x381193=this[_0x52f5('0x100')](_0x416292);_0x1a83ab[_0x52f5('0x92')](_0x381193);}else{const _0x218ee8=this[_0x52f5('0x119')][_0x52f5('0xa7')](_0x589f8b);null!==_0x5b9b04[_0x52f5('0x71')]||_0x218ee8[_0x52f5('0x85')]?(_0x2be5e6['add'](_0x218ee8[_0x52f5('0xf2')]),_0x1a83ab[_0x52f5('0x92')](_0x218ee8)):this[_0x52f5('0x9f')](_0x218ee8);}}_0x1a83ab[_0x52f5('0x16d')]>0x0&&this[_0x52f5('0x1a')](_0x1a83ab);for(const _0x4bcfd1 of _0x2be5e6)this['fire'](_0x52f5('0x3a'),_0x4bcfd1);}),_0x4cfe4f[_0x52f5('0x16')]['on'](_0x52f5('0xbc'),(_0xc45246,_0x2f7e3f)=>{const _0x4d2a8c=_0x2f7e3f[0x0];if(!this[_0x52f5('0x119')][_0x52f5('0x16d')])return;if(!_0x4d2a8c[_0x52f5('0x9')])return;if(_0x4d2a8c[_0x52f5('0x152')][_0x52f5('0x5d')]||!_0x4d2a8c[_0x52f5('0x152')][_0x52f5('0xba')])return;let _0x22f482,_0x2eca58;switch(_0x4d2a8c[_0x52f5('0x109')]){case _0x52f5('0x6b'):_0x22f482=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x142')](_0x4d2a8c[_0x52f5('0xf')]),_0x2eca58=_0x22f482[_0x52f5('0xa3')](_0x4d2a8c[_0x52f5('0x86')]);break;case _0x52f5('0xe1'):_0x22f482=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x142')](_0x4d2a8c[_0x52f5('0x158')]),_0x2eca58=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x142')](_0x4d2a8c[_0x52f5('0x135')]);break;case _0x52f5('0xa2'):_0x22f482=_0x4cfe4f['model']['createPositionAt'](_0x4d2a8c[_0x52f5('0xfa')]),_0x2eca58=_0x22f482['getShiftedBy'](_0x4d2a8c[_0x52f5('0x86')]);break;default:return;}const _0x3322ae=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x123')](_0x22f482,_0x2eca58);_0x4cfe4f['model'][_0x52f5('0xa5')](()=>{for(const {suggestion:_0x5ed28b,meta:_0x4519c8}of this[_0x52f5('0x22')](_0x3322ae)){if(_0x5ed28b['isMultiRange'])continue;if('formatInline'==_0x5ed28b[_0x52f5('0x109')])continue;const _0x4b67c1=this[_0x52f5('0x143')](_0x5ed28b);if(_0x4b67c1&&this['_isBlockAttribute'](_0x4b67c1)&&_0x52f5('0xe1')!=_0x4d2a8c[_0x52f5('0x109')])continue;const _0x5673e0=_0x5ed28b['data']&&_0x5ed28b[_0x52f5('0x96')][_0x52f5('0x12f')];(_0x52f5('0x130')!=_0x5ed28b[_0x52f5('0x109')]||_0x52f5('0xe1')==_0x4d2a8c['type']&&!_0x5673e0)&&(_0x4519c8[_0x52f5('0x34')]||_0x52f5('0xdf')==_0x5ed28b[_0x52f5('0x109')]&&_0x4519c8[_0x52f5('0x11d')]||_0x5ed28b['getFirstRange']()['containsRange'](_0x3322ae)&&this['_breakSuggestionMarker'](_0x5ed28b,_0x22f482,_0x2eca58));}});},{'priority':_0x52f5('0x182')}),_0x4cfe4f[_0x52f5('0x16')]['on'](_0x52f5('0xb'),(_0x3c4cb0,_0x5424c4)=>{const _0x53031f=_0x5424c4[0x0],_0x291277=_0x5424c4[0x1];if(_0x291277&&_0x291277[_0x52f5('0xc6')])return;if(this[_0x52f5('0x5e')])return;if(!this[_0x52f5('0xbe')][_0x52f5('0xb0')])return;if(_0x53031f['isCollapsed'])return;const _0x51e24b=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x13a')],{start:_0x3610b1,end:_0x2ddf86}=_0x53031f['getFirstRange'](),_0x13cee1=_0x3610b1[_0x52f5('0x49')]&&_0x51e24b[_0x52f5('0x13')](_0x3610b1[_0x52f5('0x49')])?null:_0x51e24b[_0x52f5('0x10')](_0x3610b1,_0x52f5('0xa1')),_0x1cedcb=_0x2ddf86[_0x52f5('0xc2')]&&_0x51e24b['isLimit'](_0x2ddf86[_0x52f5('0xc2')])?null:_0x51e24b['getNearestSelectionRange'](_0x2ddf86,_0x52f5('0x39')),_0x46e737=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x123')](_0x13cee1?_0x13cee1[_0x52f5('0xef')]:_0x3610b1,_0x1cedcb?_0x1cedcb[_0x52f5('0x162')]:_0x2ddf86);_0x4cfe4f['model'][_0x52f5('0xa5')](_0x3dd749=>{this['markDeletion'](_0x46e737);const _0x45594b=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x13a')][_0x52f5('0x10')](_0x46e737[_0x52f5('0xef')]);_0x53031f['is'](_0x52f5('0x7c'))?_0x3dd749[_0x52f5('0x14f')](_0x45594b):_0x53031f[_0x52f5('0x112')](_0x45594b);}),_0x3c4cb0[_0x52f5('0x148')]();},{'priority':_0x563284[_0x52f5('0x173')]+0xa}),_0x4cfe4f[_0x52f5('0x16')]['on'](_0x52f5('0x12b'),(_0x31dce3,_0x2529c6)=>{const _0x487ee5=_0x2529c6[_0x2529c6[_0x52f5('0x164')]-0x1];_0x487ee5&&_0x487ee5['forceDefaultExecution']||this[_0x52f5('0x5e')]||this['trackChangesCommand'][_0x52f5('0xb0')]&&(_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0xa5')](()=>{let _0x5bea0c=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x12b')](_0x2529c6[0x0],_0x2529c6[0x1],_0x2529c6[0x2],{'forceDefaultExecution':!0x0});if(!_0x5bea0c)return;_0x31dce3['return']=_0x5bea0c[_0x52f5('0xfc')]();const _0x522a8f=_0x5bea0c[_0x52f5('0x162')][_0x52f5('0xc2')],_0x2a094e=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x13a')];_0x522a8f&&_0x2a094e[_0x52f5('0x10a')](_0x522a8f)&&!_0x2a094e[_0x52f5('0x13d')](_0x522a8f)&&(_0x5bea0c=_0x4cfe4f[_0x52f5('0x16')][_0x52f5('0x123')](_0x5bea0c['start'],_0x4cfe4f[_0x52f5('0x16')]['createPositionAt'](_0x522a8f,_0x52f5('0x162')))),this[_0x52f5('0x50')](_0x5bea0c);}),_0x31dce3[_0x52f5('0x148')]());},{'priority':_0x52f5('0xc0')}),this['editor'][_0x52f5('0x126')]['add'](_0x52f5('0xf0'),this[_0x52f5('0xbe')]),this[_0x52f5('0x160')]('trackChanges');const _0xf6dd00=new _0x193fde(_0x4cfe4f,this[_0x52f5('0x119')]);_0x4cfe4f[_0x52f5('0x126')]['add']('acceptSuggestion',_0xf6dd00),this['enableCommand'](_0x52f5('0x11'));const _0x11490a=new _0x8ec34b(_0x4cfe4f,this[_0x52f5('0x119')]);_0x4cfe4f[_0x52f5('0x126')]['add'](_0x52f5('0xec'),_0x11490a),this[_0x52f5('0x160')](_0x52f5('0xec')),_0x4cfe4f[_0x52f5('0x126')][_0x52f5('0x92')]('acceptAllSuggestions',new _0x3b7ebe(_0x4cfe4f,_0xf6dd00,this['_suggestions'])),this[_0x52f5('0x160')](_0x52f5('0x4b')),_0x4cfe4f[_0x52f5('0x126')][_0x52f5('0x92')](_0x52f5('0x177'),new _0x3b7ebe(_0x4cfe4f,_0x11490a,this[_0x52f5('0x119')])),this[_0x52f5('0x160')](_0x52f5('0x177')),_0x4cfe4f[_0x52f5('0x126')]['add'](_0x52f5('0x23'),new _0x5f3237(_0x4cfe4f,_0xf6dd00,this[_0x52f5('0x119')])),this[_0x52f5('0x160')](_0x52f5('0x23')),_0x4cfe4f[_0x52f5('0x126')]['add']('discardSelectedSuggestions',new _0x5f3237(_0x4cfe4f,_0x11490a,this['_suggestions'])),this[_0x52f5('0x160')](_0x52f5('0x17'));const _0xc7055f=_0x4cfe4f['plugins'][_0x52f5('0xa7')](_0x52f5('0x8f'));this[_0x52f5('0xc')](_0xc7055f,_0x52f5('0x97'),(_0x2f02cd,{threadId:_0x4e27cc})=>{const _0x4f2cb6=this[_0x52f5('0x119')]['get'](_0x4e27cc);_0x4f2cb6&&_0x4f2cb6['commentThread']&&0x1===_0x4f2cb6['commentThread'][_0x52f5('0x164')]&&this[_0x52f5('0x147')](_0x4e27cc,{'hasComments':!0x0});},{'priority':'low'}),this[_0x52f5('0xc')](_0xc7055f,_0x52f5('0x72'),(_0x2828f5,{threadId:_0x51b93a})=>{const _0x5459d3=this[_0x52f5('0x119')][_0x52f5('0xa7')](_0x51b93a);_0x5459d3&&_0x5459d3[_0x52f5('0x7d')]&&!_0x5459d3['commentThread'][_0x52f5('0x164')]&&this[_0x52f5('0x147')](_0x51b93a,{'hasComments':!0x1});},{'priority':'low'});}set['adapter'](_0x81aa90){if(this[_0x52f5('0x15c')])throw new _0x3b4ff1(_0x52f5('0x167'),this);this[_0x52f5('0x15c')]=_0x81aa90;}get['adapter'](){return this[_0x52f5('0x15c')];}[_0x52f5('0x8d')]({skipNotAttached:_0x1f3477=!0x1,toJSON:_0x49b050=!0x1}={}){const _0x411299=[];for(const _0x5eb9e2 of this[_0x52f5('0x119')][_0x52f5('0x133')]())_0x1f3477&&!_0x5eb9e2[_0x52f5('0x85')]||_0x411299[_0x52f5('0xc5')](_0x5eb9e2);return _0x49b050?_0x411299[_0x52f5('0x43')](_0x28710f=>_0x28710f[_0x52f5('0x120')]()):_0x411299;}[_0x52f5('0x47')](_0x25cbc5){const _0xd1af0a=this[_0x52f5('0x119')]['get'](_0x25cbc5);if(!_0xd1af0a)throw new _0x3b4ff1(_0x52f5('0x52'),this);return _0xd1af0a;}[_0x52f5('0x16a')](_0x40a03e){return this[_0x52f5('0x119')][_0x52f5('0x4c')](_0x40a03e);}['addSuggestionData'](_0x2afb40){const {authorId:_0x4b7fee,id:_0x4e512b,attributes:_0x532870}=_0x2afb40,[_0x51434a,_0x1e52d1]=_0x2afb40['type']['split'](':'),_0x274b7c=this[_0x52f5('0x119')][_0x52f5('0xa7')](_0x4e512b)||this['_createSuggestion'](_0x51434a,_0x1e52d1,_0x4e512b,_0x4b7fee,_0x532870);if(this[_0x52f5('0x111')](_0x274b7c),this[_0x52f5('0x185')](_0x274b7c,_0x51434a,_0x1e52d1||null,_0x4b7fee),_0x274b7c[_0x52f5('0xe7')]=_0x2afb40[_0x52f5('0xe7')],_0x274b7c[_0x52f5('0x16f')]=!0x0,_0x532870&&_0x532870[_0x52f5('0x180')]){const _0xbfc643=_0x532870[_0x52f5('0x180')],_0x4d0f10=this[_0x52f5('0x14e')](_0xbfc643[_0x52f5('0x154')]);_0x274b7c[_0x52f5('0x36')]=_0xbfc643[_0x52f5('0xe7')],_0x274b7c[_0x52f5('0x118')]=_0x4d0f10,_0x274b7c[_0x52f5('0x78')]=!0x0;}else _0x274b7c[_0x52f5('0x36')]=_0x2afb40[_0x52f5('0xe7')];switch(_0x2afb40[_0x52f5('0x96')]&&(_0x274b7c[_0x52f5('0x96')]=_0x2afb40[_0x52f5('0x96')]),_0x2afb40[_0x52f5('0x0')]&&(_0x274b7c['attributes']=_0x2afb40['attributes']),this['_adapter']&&this['_adapter'][_0x52f5('0xe0')]||(_0x274b7c[_0x52f5('0xd3')]=!0x0),this[_0x52f5('0xc8')][_0x52f5('0xa7')](_0x274b7c)){case _0x52f5('0x165'):this['_suggestionState'][_0x52f5('0xcc')](_0x274b7c,_0x52f5('0x2c'));break;case _0x52f5('0xe9'):_0x274b7c[_0x52f5('0x85')]?(this[_0x52f5('0x1a')](new Set([_0x274b7c])),this[_0x52f5('0x4f')](new Set([_0x274b7c])),this[_0x52f5('0xc8')][_0x52f5('0xcc')](_0x274b7c,_0x52f5('0x61')),this[_0x52f5('0x25')](_0x52f5('0x124'),_0x274b7c)):this[_0x52f5('0xc8')][_0x52f5('0xcc')](_0x274b7c,_0x52f5('0xea'));}return _0x274b7c;}[_0x52f5('0x11')](_0x1969a1){this[_0x52f5('0xc6')](()=>{this[_0x52f5('0x7e')][_0x52f5('0x16')][_0x52f5('0xa5')](()=>{for(const _0x593b65 of _0x1969a1['getAllAdjacentSuggestions']())_0x593b65[_0x52f5('0x121')]();});});}[_0x52f5('0xec')](_0x53ccb1){this[_0x52f5('0xc6')](()=>{this[_0x52f5('0x7e')]['model'][_0x52f5('0xa5')](()=>{for(const _0x33e6d2 of _0x53ccb1[_0x52f5('0x5f')]())_0x33e6d2[_0x52f5('0x64')]();});});}[_0x52f5('0x160')](_0x854a91,_0x54ee54){const _0x2be89d=this[_0x52f5('0x7e')][_0x52f5('0x126')][_0x52f5('0xa7')](_0x854a91);if(!_0x2be89d)throw new _0x3b4ff1(_0x52f5('0xfd'),this,{'commandName':_0x854a91});if(this[_0x52f5('0x12c')][_0x52f5('0x4c')](_0x2be89d))throw new _0x3b4ff1(_0x52f5('0x33'),this,{'commandName':_0x854a91});this[_0x52f5('0x12c')][_0x52f5('0x92')](_0x2be89d),_0x54ee54&&_0x2be89d['on'](_0x52f5('0x27'),(_0x1a8ab6,_0x9d8e64)=>{this[_0x52f5('0xbe')]['value']&&(this[_0x52f5('0x5e')]||(_0x9d8e64[_0x52f5('0x164')]>0x0&&_0x9d8e64[_0x9d8e64[_0x52f5('0x164')]-0x1]&&_0x9d8e64[_0x9d8e64[_0x52f5('0x164')]-0x1][_0x52f5('0xc6')]?_0x9d8e64[_0x52f5('0xe5')]():(_0x1a8ab6[_0x52f5('0xad')]=_0x54ee54((..._0x2dc58e)=>_0x2be89d[_0x52f5('0x27')](..._0x2dc58e,{'forceDefaultExecution':!0x0}),..._0x9d8e64),_0x1a8ab6[_0x52f5('0x148')]())));},{'priority':_0x52f5('0xc0')});}['forceDefaultExecution'](_0x4bf728){let _0x23c7ba,_0x5c0e64;const _0xd9aa58=this[_0x52f5('0x5e')];this[_0x52f5('0x5e')]=!0x0;try{_0x23c7ba=_0x4bf728();}catch(_0x40623f){_0x5c0e64=_0x40623f;}return _0xd9aa58||(this[_0x52f5('0x5e')]=!0x1),_0x5c0e64&&_0x3b4ff1[_0x52f5('0x87')](_0x5c0e64,this),_0x23c7ba;}[_0x52f5('0x50')](_0x4f980d,_0x228b80=null,_0x2a4978={}){if(_0x4f980d[_0x52f5('0x181')])return null;const _0x223c7f=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')](_0x52f5('0x11f'))['me'];for(const {suggestion:_0x9d48ff,meta:_0xba246d}of this[_0x52f5('0x22')](_0x4f980d,_0x52f5('0xdf')))if(_0xba246d[_0x52f5('0x11d')]){if(!_0xba246d[_0x52f5('0x15b')]){if(_0xba246d['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!Ft(_0x9d48ff,_0x2a4978))continue;return _0x9d48ff;}if(Ft(_0x9d48ff,_0x2a4978))return _0x9d48ff;this[_0x52f5('0x107')](_0x9d48ff,_0x4f980d[_0x52f5('0xef')],_0x4f980d['end']);break;}if(_0x228b80==_0x9d48ff[_0x52f5('0x110')]&&Ft(_0x9d48ff,_0x2a4978)){const _0x38ec1c=_0x9d48ff[_0x52f5('0x11c')]();return _0x38ec1c[_0x52f5('0xef')][_0x52f5('0xaf')](_0x4f980d['end'])?this[_0x52f5('0x155')](_0x9d48ff,this['_model']['createRange'](_0x4f980d[_0x52f5('0xef')],_0x38ec1c[_0x52f5('0x162')])):this['_setSuggestionRange'](_0x9d48ff,this['_model']['createRange'](_0x38ec1c['start'],_0x4f980d[_0x52f5('0x162')])),_0x9d48ff;}}const _0x660e55=_0x1a0241(),_0x4e7444=_0x223c7f['id'],_0x349912=_0x228b80?_0x52f5('0x15')+_0x228b80:_0x52f5('0xdf'),_0x47142d=this[_0x52f5('0x15e')]({'id':_0x660e55,'type':_0x349912,'createdAt':new Date(),'authorId':_0x4e7444,'attributes':_0x2a4978});return this['_addSuggestionMarker'](_0x349912,_0x660e55,_0x4e7444,_0x4f980d),_0x47142d;}[_0x52f5('0xbd')](_0x4ae211,_0x5bbc75=_0x52f5('0x153'),_0x41c04d={}){const _0x4bd6b2=this[_0x52f5('0x7e')][_0x52f5('0x138')]['get'](_0x52f5('0x11f'))['me'],_0x3ac152=this[_0x52f5('0xb9')][_0x52f5('0x8e')](_0x52f5('0xdf'),_0x5bbc75,_0x52f5('0x5a'));for(const _0x5847d2 of this['getSuggestions']())if(_0x5847d2[_0x52f5('0x118')]['id']==_0x4bd6b2['id']&&_0x52f5('0xdf')==_0x5847d2[_0x52f5('0x109')]&&_0x5847d2[_0x52f5('0x110')]==_0x5bbc75&&Ft(_0x5847d2,_0x41c04d)&&(_0x3ac152(_0x5847d2[_0x52f5('0x17a')](),_0x4ae211)||_0x3ac152(_0x4ae211,_0x5847d2['getRanges']()))){for(const _0x4533b6 of _0x4ae211)_0x5847d2[_0x52f5('0xce')](_0x4533b6);return _0x5847d2;}for(const {suggestion:_0x2ff9d2,meta:_0x573a60}of this[_0x52f5('0x22')](_0x4ae211,'insertion')){if(!_0x573a60['isOwn'])continue;if(!this[_0x52f5('0x15a')]&&_0x573a60['containsRangeInObject'])continue;if(!Ft(_0x2ff9d2,_0x41c04d))continue;let _0x3e4488=!0x0;for(const _0x40e34f of _0x2ff9d2['getRanges']())for(const _0x1d183a of _0x4ae211)if(!_0x40e34f[_0x52f5('0x8a')](_0x1d183a)){_0x3e4488=!0x1;break;}if(_0x3e4488)return _0x2ff9d2;}const _0x2438a3=_0x1a0241(),_0x8779d1=_0x4bd6b2['id'],_0x13bad6=_0x52f5('0x15')+_0x5bbc75,_0x29603e=this['_setSuggestionData']({'id':_0x2438a3,'type':_0x13bad6,'createdAt':new Date(),'authorId':_0x8779d1,'attributes':_0x41c04d});for(const _0xfadb57 of _0x4ae211)this[_0x52f5('0x183')](_0x13bad6,_0x2438a3,_0x8779d1,_0xfadb57,_0x2b492d[_0x52f5('0x10c')]());return _0x29603e;}[_0x52f5('0xdb')](_0x111234,_0x59eb0c,_0x5e1845=null,_0x11a9f7={}){if(_0x5e1845=_0x5e1845||Rt(_0x59eb0c),_0x111234[_0x52f5('0x181')])return null;if(_0x52f5('0x69')===this[_0x52f5('0x90')]){const _0x51d7ef=this[_0x52f5('0xb9')]['getSuggestionCallback']('formatInline',_0x5e1845,_0x52f5('0x121'));return this[_0x52f5('0xc6')](()=>_0x51d7ef([_0x111234],_0x59eb0c,_0x11a9f7)),null;}const _0x19a0a9=this[_0x52f5('0x7e')][_0x52f5('0x138')]['get'](_0x52f5('0x11f'))['me'],_0x5837a7=[];if(_0x52f5('0xbf')!==this['_trackFormatChanges'])for(const {suggestion:_0x543f04,meta:_0x20c6af}of this[_0x52f5('0x22')](_0x111234,'insertion'))_0x20c6af['isOwn']&&!_0x20c6af[_0x52f5('0x2b')]&&_0x5837a7['push'](..._0x543f04[_0x52f5('0x17a')]());const _0x558c6b=function(_0x8ea590,_0x454a57){const _0x460c21=[];for(const _0x4f556e of _0x454a57){const _0x35310a=_0x8ea590[_0x52f5('0x17b')](_0x4f556e);_0x35310a&&_0x460c21['push'](_0x35310a);}return _0x460c21;}(_0x111234,_0x5837a7),_0x31be97=function(_0x20a550,_0x4e25e2){const _0x33c0ed=[_0x20a550];for(const _0x224bbb of _0x4e25e2){let _0x336f41=0x0;for(;_0x336f41<_0x33c0ed[_0x52f5('0x164')];){const _0x53c70c=_0x33c0ed[_0x336f41][_0x52f5('0x79')](_0x224bbb);_0x33c0ed[_0x52f5('0xe2')](_0x336f41,0x1,..._0x53c70c),_0x336f41+=_0x53c70c[_0x52f5('0x164')];}}return _0x33c0ed;}(_0x111234,_0x5837a7);_0x558c6b[_0x52f5('0x164')]&&this[_0x52f5('0x2a')][_0x52f5('0xa5')](()=>{for(const _0x548353 of _0x558c6b){const _0x5b18c0=this['_suggestionFactory'][_0x52f5('0x8e')]('formatInline',_0x5e1845,_0x52f5('0x121'));this[_0x52f5('0xc6')](()=>_0x5b18c0([_0x548353],_0x59eb0c,_0x11a9f7));}});for(const _0x2bc31d of _0x31be97){let _0x5431a3=null,_0x356d5e=_0x2bc31d[_0x52f5('0xef')],_0x3d6f55=_0x2bc31d['end'];for(const {suggestion:_0x6a03f,meta:_0x4a58cb}of this[_0x52f5('0x22')](_0x2bc31d,_0x52f5('0xc9'))){if(!_0x4a58cb[_0x52f5('0x11d')])continue;if(_0x6a03f[_0x52f5('0x110')]!=_0x5e1845)continue;if(!Ft(_0x6a03f,_0x11a9f7))continue;const _0x34bd5b=_0x6a03f[_0x52f5('0x11c')]();if(_0x34bd5b['containsRange'](_0x2bc31d,!0x0))return null;_0x356d5e=_0x356d5e[_0x52f5('0xda')](_0x34bd5b['start'])?_0x356d5e:_0x34bd5b['start'],_0x3d6f55=_0x3d6f55['isAfter'](_0x34bd5b['end'])?_0x3d6f55:_0x34bd5b['end'],_0x5431a3?_0x34bd5b['start'][_0x52f5('0xda')](_0x5431a3['getFirstRange']()['start'])?(_0x5431a3[_0x52f5('0x16c')](),_0x5431a3=_0x6a03f):_0x6a03f[_0x52f5('0x16c')]():_0x5431a3=_0x6a03f;}const _0x488ab2=this[_0x52f5('0x2a')]['createRange'](_0x356d5e,_0x3d6f55);if(_0x5431a3)this[_0x52f5('0x155')](_0x5431a3,_0x488ab2);else{const _0x128728=_0x1a0241(),_0x26b27c=_0x19a0a9['id'];this[_0x52f5('0x15e')]({'id':_0x128728,'type':_0x52f5('0x106')+_0x5e1845,'data':_0x59eb0c,'createdAt':new Date(),'authorId':_0x26b27c,'attributes':_0x11a9f7}),this[_0x52f5('0x183')](_0x52f5('0x106')+_0x5e1845,_0x128728,_0x26b27c,_0x488ab2);}}return null;}[_0x52f5('0xe6')](_0x6a959,_0x4a15c5,_0xc03188=[],_0x261ce3=null,_0x41156e={}){_0x4a15c5[_0x52f5('0x88')]||(_0x4a15c5['formatGroupId']=_0x4a15c5[_0x52f5('0x12a')]),_0x4a15c5[_0x52f5('0x12f')]=_0x6a959['is'](_0x52f5('0x14c')),_0x261ce3=_0x261ce3||Rt(_0x4a15c5);const _0x2255fe=_0xc03188['map'](_0x435d7f=>Ut(_0x435d7f,this[_0x52f5('0x2a')])),_0x117ffd=_0x6a959['is'](_0x52f5('0x14c'))?_0x6a959:Ut(_0x6a959,this[_0x52f5('0x2a')]);if('never'===this[_0x52f5('0x90')]){const _0x153bc0=this[_0x52f5('0xb9')][_0x52f5('0x8e')](_0x52f5('0x130'),_0x261ce3,_0x52f5('0x121'));return this[_0x52f5('0xc6')](()=>_0x153bc0([_0x117ffd],_0x4a15c5,_0x41156e)),null;}_0x2255fe[_0x52f5('0xc5')](_0x117ffd);let _0x498a3d=!0x0;for(const _0x5c4778 of _0x2255fe)if(!this[_0x52f5('0x10e')](_0x5c4778)){_0x498a3d=!0x1;break;}if(_0x498a3d&&'always'!==this[_0x52f5('0x90')]){const _0x247c66=this[_0x52f5('0xb9')][_0x52f5('0x8e')]('formatBlock',_0x261ce3,_0x52f5('0x121'));return this['forceDefaultExecution'](()=>_0x247c66([_0x117ffd],_0x4a15c5,_0x41156e)),null;}let _0xebb53a=null,_0x1eb192=_0x117ffd[_0x52f5('0xef')],_0x23b1c6=_0x117ffd[_0x52f5('0x162')];for(const {suggestion:_0x5cef56,meta:_0x1c189}of this[_0x52f5('0x22')](_0x117ffd,_0x52f5('0x130'))){if(!_0x1c189['isOwn'])continue;if(_0x1c189[_0x52f5('0x15b')]||_0x1c189['containsRangeInObject']||_0x1c189['isInsideObject'])continue;if(_0x5cef56[_0x52f5('0x96')][_0x52f5('0x88')]!=_0x4a15c5[_0x52f5('0x88')])continue;if(!Ft(_0x5cef56,_0x41156e))continue;const _0x1b080e=_0x5cef56[_0x52f5('0x11c')]();if(_0x5cef56[_0x52f5('0x110')]==_0x261ce3){if(_0x1b080e[_0x52f5('0x8a')](_0x117ffd,!0x0))return null;_0x1eb192=_0x1eb192[_0x52f5('0xda')](_0x1b080e[_0x52f5('0xef')])?_0x1eb192:_0x1b080e[_0x52f5('0xef')],_0x23b1c6=_0x23b1c6[_0x52f5('0x139')](_0x1b080e[_0x52f5('0x162')])?_0x23b1c6:_0x1b080e[_0x52f5('0x162')],_0xebb53a?_0x1b080e[_0x52f5('0xef')][_0x52f5('0xda')](_0xebb53a[_0x52f5('0x11c')]()[_0x52f5('0xef')])?(_0xebb53a[_0x52f5('0x16c')](),_0xebb53a=_0x5cef56):_0x5cef56[_0x52f5('0x16c')]():_0xebb53a=_0x5cef56;}else{const _0x15015c=_0x117ffd[_0x52f5('0x17b')](_0x1b080e);this[_0x52f5('0x74')](_0x5cef56,_0x15015c);}}const _0x21356d=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')](_0x52f5('0x11f'))['me'],_0x273335=_0x1a0241(),_0x2ae11e=_0x21356d['id'];if(_0xebb53a)return this[_0x52f5('0x155')](_0xebb53a,this['_model'][_0x52f5('0x123')](_0x1eb192,_0x23b1c6)),_0xebb53a;{const _0x462621=this[_0x52f5('0x15e')]({'id':_0x273335,'type':_0x52f5('0x146')+_0x261ce3,'data':_0x4a15c5,'createdAt':new Date(),'authorId':_0x2ae11e,'attributes':_0x41156e});return this['_addSuggestionMarker'](_0x52f5('0x146')+_0x261ce3,_0x273335,_0x2ae11e,this[_0x52f5('0x2a')][_0x52f5('0x123')](_0x1eb192,_0x23b1c6)),_0x462621;}}[_0x52f5('0x31')](_0x291ee9,_0x39b77e,_0x3dc230=[],_0x55565b=null,_0x3013f6={}){_0x39b77e[_0x52f5('0x88')]||(_0x39b77e['formatGroupId']=_0x39b77e[_0x52f5('0x12a')]);const _0x23ca4b=_0x291ee9[0x0];_0x39b77e[_0x52f5('0x12f')]=_0x23ca4b['is'](_0x52f5('0x14c')),_0x55565b=_0x55565b||Rt(_0x39b77e);const _0xb78dc3=_0x3dc230[_0x52f5('0x43')](_0xa5e48=>Ut(_0xa5e48,this[_0x52f5('0x2a')])),_0x16cbec=_0x23ca4b['is'](_0x52f5('0x14c'))?_0x291ee9:_0x291ee9[_0x52f5('0x43')](_0x49d634=>Ut(_0x49d634,this[_0x52f5('0x2a')]));if(_0x52f5('0x69')===this[_0x52f5('0x90')]){const _0x137a88=this[_0x52f5('0xb9')]['getSuggestionCallback'](_0x52f5('0x130'),_0x55565b,_0x52f5('0x121'));return this[_0x52f5('0xc6')](()=>_0x137a88(_0x16cbec,_0x39b77e,_0x3013f6)),null;}_0xb78dc3[_0x52f5('0xc5')](..._0x16cbec);let _0x381848=!0x0;for(const _0x382d06 of _0xb78dc3)if(!this[_0x52f5('0x10e')](_0x382d06)){_0x381848=!0x1;break;}if(_0x381848&&_0x52f5('0xbf')!==this[_0x52f5('0x90')]){const _0x2fb01c=this[_0x52f5('0xb9')][_0x52f5('0x8e')](_0x52f5('0x130'),_0x55565b,_0x52f5('0x121'));return this[_0x52f5('0xc6')](()=>_0x2fb01c(_0x16cbec,_0x39b77e,_0x3013f6)),null;}const _0x5f3732=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')]('Users')['me'];for(const _0x56127f of this['getSuggestions']()){if(_0x56127f[_0x52f5('0x118')]['id']!=_0x5f3732['id'])continue;if('formatBlock'!=_0x56127f[_0x52f5('0x109')]||_0x56127f[_0x52f5('0x96')][_0x52f5('0x88')]!=_0x39b77e[_0x52f5('0x88')])continue;if(!Ft(_0x56127f,_0x3013f6))continue;const _0x48012e=_0x56127f['subType']==_0x55565b;for(let _0x19ad9e=0x0;_0x19ad9e<_0x16cbec['length'];_0x19ad9e++){const _0xa556b4=_0x16cbec[_0x19ad9e];for(const _0x5e2ae8 of _0x56127f['getMarkers']()){const _0xfaa58f=_0x5e2ae8[_0x52f5('0xf7')]();if(_0xa556b4[_0x52f5('0xaf')](_0xfaa58f)){_0x48012e?(_0x16cbec[_0x52f5('0xe2')](_0x19ad9e,0x1),_0x19ad9e--):_0x56127f[_0x52f5('0x35')](_0x5e2ae8[_0x52f5('0xd')]);break;}}}}if(0x0==_0x16cbec[_0x52f5('0x164')])return null;const _0xecbeea=this[_0x52f5('0xb9')][_0x52f5('0x8e')]('formatBlock',_0x55565b,_0x52f5('0x5a'));for(const _0xad4b07 of this[_0x52f5('0x8d')]())if(_0xad4b07[_0x52f5('0x118')]['id']==_0x5f3732['id']&&_0x52f5('0x130')==_0xad4b07['type']&&_0xad4b07['data'][_0x52f5('0x88')]==_0x39b77e[_0x52f5('0x88')]&&_0xad4b07['subType']==_0x55565b&&Ft(_0xad4b07,_0x3013f6)&&(_0xecbeea(_0xad4b07['getRanges'](),_0x16cbec)||_0xecbeea(_0x16cbec,_0xad4b07['getRanges']()))){for(const _0x190c04 of _0x16cbec)_0xad4b07[_0x52f5('0xce')](_0x190c04);return _0xad4b07;}const _0x7c1a86=_0x1a0241(),_0x53496c=_0x5f3732['id'],_0x4a6657=_0x52f5('0x146')+_0x55565b,_0x5cb66d=this[_0x52f5('0x15e')]({'id':_0x7c1a86,'type':_0x4a6657,'data':_0x39b77e,'createdAt':new Date(),'authorId':_0x53496c,'attributes':_0x3013f6});for(const _0x2703b5 of _0x16cbec)this[_0x52f5('0x183')](_0x4a6657,_0x7c1a86,_0x53496c,_0x2703b5,_0x2b492d['getMultiRangeId']());return _0x5cb66d;}[_0x52f5('0xf4')](_0x366ed5,_0x48559a=null,_0x387017={}){if(_0x366ed5[_0x52f5('0x181')])return null;const _0x4348db=this['editor'][_0x52f5('0x138')]['get'](_0x52f5('0x11f'))['me'],_0x2c0c15=new _0x56471a(_0x366ed5['start'],_0x366ed5[_0x52f5('0x162')]);for(const {suggestion:_0x5aec9e,meta:_0xdd10bf}of this[_0x52f5('0x22')](_0x2c0c15,_0x52f5('0xdf')))if(_0xdd10bf['isOwn']&&!_0xdd10bf[_0x52f5('0x15b')]){if(_0x5aec9e[_0x52f5('0x145')]){const _0x4f9b95=_0x5aec9e[_0x52f5('0x17a')]()[_0x52f5('0xfe')](_0x580267=>_0x52f5('0x37')!=_0x580267[_0x52f5('0x99')]['rootName']);_0x4f9b95['every'](_0x59c8c9=>_0x2c0c15['containsRange'](_0x59c8c9,!0x0))&&_0x5aec9e['discard']();if(_0x4f9b95['some'](_0x53d5d9=>_0x53d5d9[_0x52f5('0x8a')](_0x2c0c15,!0x0))){const _0x3255a6=this[_0x52f5('0xb9')][_0x52f5('0x8e')]('deletion',_0x48559a,_0x52f5('0x121'));return this[_0x52f5('0xc6')](()=>_0x3255a6([_0x2c0c15],null,_0x387017)),null;}}else{const _0x324861=_0x2c0c15[_0x52f5('0x17b')](_0x5aec9e['getFirstRange']());null!==_0x324861&&_0x5aec9e[_0x52f5('0x11b')]([_0x324861],null,_0x387017);}}if(_0x2c0c15[_0x52f5('0x104')](),_0x2c0c15[_0x52f5('0x181')]||'$graveyard'==_0x2c0c15[_0x52f5('0x99')][_0x52f5('0x41')])return null;let _0xbd811a=null,_0x1fda8d=_0x2c0c15[_0x52f5('0xef')],_0x1f092b=_0x2c0c15[_0x52f5('0x162')];const _0x2df77e=this[_0x52f5('0x22')](_0x2c0c15,_0x52f5('0x83'));for(const {suggestion:_0x51af6d,meta:_0x3b290e}of _0x2df77e){const _0x38da9e=this[_0x52f5('0x2a')][_0x52f5('0x123')](_0x1fda8d,_0x1f092b);if(_0x3b290e[_0x52f5('0x11d')]&&(this[_0x52f5('0x15a')]||!_0x3b290e['containsRangeInObject']&&!_0x3b290e[_0x52f5('0x2b')])){if(_0x51af6d[_0x52f5('0x145')]){if(!Ft(_0x51af6d,_0x387017))continue;let _0x2cda22=!0x0;for(const _0x47eb17 of _0x51af6d['getRanges']()){if(_0x47eb17[_0x52f5('0x8a')](_0x38da9e,!0x0))return _0x51af6d;_0x38da9e[_0x52f5('0x8a')](_0x47eb17)||(_0x2cda22=!0x1);}_0x2cda22&&_0x51af6d['discard']();}else{const _0x1633fd=_0x51af6d[_0x52f5('0x11c')]();if(_0x1633fd[_0x52f5('0x8a')](_0x38da9e,!0x0))return _0x51af6d;if(!Ft(_0x51af6d,_0x387017)){_0x38da9e['containsRange'](_0x1633fd)?_0x51af6d[_0x52f5('0x16c')]():_0x1633fd['containsPosition'](_0x1fda8d)?_0x1fda8d=_0x1633fd[_0x52f5('0x162')]:_0x1633fd['containsPosition'](_0x1f092b)&&(_0x1f092b=_0x1633fd['start']);continue;}_0x1fda8d=_0x1fda8d['isBefore'](_0x1633fd[_0x52f5('0xef')])?_0x1fda8d:_0x1633fd[_0x52f5('0xef')],_0x1f092b=_0x1f092b['isAfter'](_0x1633fd['end'])?_0x1f092b:_0x1633fd[_0x52f5('0x162')],_0x387017=Object[_0x52f5('0xb2')]({},_0x51af6d[_0x52f5('0x0')]),_0xbd811a?_0x1633fd['start'][_0x52f5('0xda')](_0xbd811a[_0x52f5('0x11c')]()[_0x52f5('0xef')])?(_0xbd811a[_0x52f5('0x16c')](),_0xbd811a=_0x51af6d):_0x51af6d[_0x52f5('0x16c')]():_0xbd811a=_0x51af6d;}}}if(_0xbd811a)return this[_0x52f5('0x155')](_0xbd811a,this['_model'][_0x52f5('0x123')](_0x1fda8d,_0x1f092b)),_0xbd811a;{const _0x484306=_0x1a0241(),_0x1cce8b=this[_0x52f5('0x2a')][_0x52f5('0x123')](_0x1fda8d,_0x1f092b),_0x3a23f2=_0x4348db['id'],_0x3faea2=_0x48559a?'deletion:'+_0x48559a:_0x52f5('0x83'),_0x387884=this[_0x52f5('0x15e')]({'id':_0x484306,'type':_0x3faea2,'createdAt':new Date(),'authorId':_0x3a23f2,'attributes':_0x387017});return this['_addSuggestionMarker'](_0x3faea2,_0x484306,_0x3a23f2,_0x1cce8b),_0x387884;}}['markMultiRangeDeletion'](_0x42444e,_0x512c0a=_0x52f5('0x153'),_0x465eb1={}){const _0x5802c9=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')]('Users')['me'],_0x2faf1b=_0x42444e[_0x52f5('0x43')](_0x2136a0=>new _0x56471a(_0x2136a0['start'],_0x2136a0['end'])),_0x483575=new Set();for(const {suggestion:_0x53004a,meta:_0xd5043}of this[_0x52f5('0x22')](_0x2faf1b,_0x52f5('0xdf')))_0xd5043[_0x52f5('0x11d')]&&!_0xd5043[_0x52f5('0x15b')]&&_0x483575[_0x52f5('0x92')](_0x53004a);for(const _0x410759 of _0x483575)if(_0x410759['isMultiRange']){const _0x2bf063=_0x410759[_0x52f5('0x17a')]();(!_0x410759['attributes']||!_0x410759[_0x52f5('0x0')]['skipNestingCheck'])&&(_0x2bf063['every'](_0x16b97e=>_0x2faf1b[_0x52f5('0x5c')](_0x892f23=>_0x892f23[_0x52f5('0x8a')](_0x16b97e,!0x0)))&&_0x410759[_0x52f5('0x64')]());if(_0x2faf1b[_0x52f5('0xa9')](_0x554fb7=>_0x2bf063['some'](_0x50c4ff=>_0x50c4ff[_0x52f5('0x8a')](_0x554fb7,!0x0)))){const _0x2d7fb6=this[_0x52f5('0xb9')][_0x52f5('0x8e')](_0x52f5('0x83'),_0x512c0a,'accept');return this[_0x52f5('0xc6')](()=>_0x2d7fb6(_0x42444e,null,_0x465eb1)),null;}}else{const _0x2d4c0f=_0x410759['getFirstRange']();_0x2faf1b[_0x52f5('0x5c')](_0x406412=>_0x406412[_0x52f5('0x8a')](_0x2d4c0f,!0x0))&&_0x410759['discard']();if(_0x2faf1b['every'](_0xec0717=>_0x2d4c0f[_0x52f5('0x8a')](_0xec0717,!0x0))){const _0x501da9=this['_suggestionFactory'][_0x52f5('0x8e')](_0x52f5('0x83'),_0x512c0a,_0x52f5('0x121'));return this[_0x52f5('0xc6')](()=>_0x501da9(_0x2faf1b,null,_0x465eb1)),null;}}const _0x20197f=this[_0x52f5('0xb9')]['getSuggestionCallback']('deletion',_0x512c0a,_0x52f5('0x5a'));let _0xe3d832=null;for(const _0x2620c4 of this[_0x52f5('0x8d')]())if(_0x2620c4[_0x52f5('0x118')]['id']==_0x5802c9['id']&&_0x2620c4['isInContent']&&'deletion'==_0x2620c4[_0x52f5('0x109')]&&_0x2620c4[_0x52f5('0x110')]==_0x512c0a&&Ft(_0x2620c4,_0x465eb1)&&(_0x20197f(_0x2620c4[_0x52f5('0x17a')](),_0x2faf1b)||_0x20197f(_0x2faf1b,_0x2620c4[_0x52f5('0x17a')]()))){if(_0xe3d832){if(_0x2620c4['commentThread']&&_0x2620c4[_0x52f5('0x7d')][_0x52f5('0x164')])continue;for(const _0x1871e2 of _0x2620c4[_0x52f5('0x17a')]())_0xe3d832[_0x52f5('0x188')](_0x1871e2)||_0xe3d832[_0x52f5('0xce')](_0x1871e2);_0x2620c4['removeMarkers']();}else{_0xe3d832=_0x2620c4;for(const _0x404888 of _0x2faf1b)_0x2620c4[_0x52f5('0x188')](_0x404888)||_0x2620c4['addRange'](_0x404888);}}if(_0xe3d832)return _0xe3d832;_0x483575[_0x52f5('0x17e')]();for(const {suggestion:_0x128886,meta:_0x1ee745}of this[_0x52f5('0x22')](_0x2faf1b,_0x52f5('0x83')))_0x1ee745[_0x52f5('0x11d')]&&(this[_0x52f5('0x15a')]||!_0x1ee745[_0x52f5('0x34')]&&!_0x1ee745[_0x52f5('0x2b')])&&Ft(_0x128886,_0x465eb1)&&_0x483575[_0x52f5('0x92')](_0x128886);for(const _0x4c80a5 of _0x483575){const _0x25aaf7=_0x4c80a5[_0x52f5('0x17a')]();if(!_0x465eb1||!_0x465eb1['skipNestingCheck']){if(_0x2faf1b[_0x52f5('0xa9')](_0x2746bc=>_0x25aaf7['some'](_0x2d1ccd=>_0x2d1ccd[_0x52f5('0x8a')](_0x2746bc,!0x0))))return _0x4c80a5;}(!_0x4c80a5[_0x52f5('0x0')]||!_0x4c80a5[_0x52f5('0x0')]['skipNestingCheck'])&&(_0x25aaf7[_0x52f5('0xa9')](_0x30ead5=>_0x2faf1b[_0x52f5('0x5c')](_0x20bc7f=>_0x20bc7f[_0x52f5('0x8a')](_0x30ead5,!0x0)))&&_0x4c80a5[_0x52f5('0x64')]());}const _0x271b42=_0x1a0241(),_0x5801cf=_0x5802c9['id'],_0x472428='deletion:'+_0x512c0a,_0x295ba3=this['_setSuggestionData']({'id':_0x271b42,'type':_0x472428,'createdAt':new Date(),'authorId':_0x5801cf,'attributes':_0x465eb1});for(const _0xd17fad of _0x2faf1b)_0xd17fad['detach'](),_0xd17fad[_0x52f5('0x181')]||_0x52f5('0x37')==_0xd17fad[_0x52f5('0x99')]['rootName']||this[_0x52f5('0x183')](_0x472428,_0x271b42,_0x5801cf,_0xd17fad,_0x2b492d[_0x52f5('0x10c')]());return _0x295ba3;}['markAttributeChange'](_0x16b59c,_0x34942f,_0x24f4d5,_0x2cd1ef,_0x36a184){if(_0x16b59c['isCollapsed'])return[];if(_0x52f5('0x69')===this[_0x52f5('0x90')])return[];const _0x30e9fa=this[_0x52f5('0x7e')]['plugins'][_0x52f5('0xa7')](_0x52f5('0x11f'))['me']['id'],_0x41161d=Array[_0x52f5('0x115')](this[_0x52f5('0x119')][_0x52f5('0x133')]())[_0x52f5('0xfe')](_0x1d6071=>_0x52f5('0x6d')==_0x1d6071['type']&&_0x1d6071[_0x52f5('0x96')][_0x52f5('0x45')]==_0x34942f&&_0x1d6071[_0x52f5('0x188')](_0x16b59c));if('default'===this[_0x52f5('0x90')]){const _0x4b9951=this[_0x52f5('0x22')](_0x16b59c,_0x52f5('0xdf'))['filter'](({meta:_0x5c106f})=>_0x5c106f[_0x52f5('0x11d')]&&!_0x5c106f[_0x52f5('0x2b')]&&!_0x5c106f[_0x52f5('0x15b')])[_0x52f5('0x43')](({suggestion:_0x1cf1ac})=>_0x1cf1ac);_0x41161d[_0x52f5('0x19')](..._0x4b9951);}const _0x1573b3=new Map([[_0x16b59c,_0x24f4d5]]);for(const _0x442bdd of _0x41161d){const _0x47f106=_0x52f5('0x6d')==_0x442bdd[_0x52f5('0x109')]?_0x442bdd[_0x52f5('0x96')][_0x52f5('0x30')]:void 0x0,_0x2972e5=_0x442bdd[_0x52f5('0x11c')](),_0x4ba122=Array['from'](_0x1573b3[_0x52f5('0x15d')]())[_0x52f5('0x156')](_0x180084=>_0x180084['isIntersecting'](_0x2972e5));_0x4ba122&&(_0x1573b3['delete'](_0x4ba122),_0x4ba122[_0x52f5('0x79')](_0x2972e5)[_0x52f5('0x20')](_0x404a24=>{_0x1573b3[_0x52f5('0xcc')](_0x404a24,_0x24f4d5);}),'insertion'!=_0x442bdd[_0x52f5('0x109')]&&_0x47f106!=_0x2cd1ef&&_0x1573b3[_0x52f5('0xcc')](_0x4ba122[_0x52f5('0x17b')](_0x2972e5),_0x47f106));}const _0x38070c=[];for(const [_0x479708,_0x465a73]of _0x1573b3){const _0x1b47b1=_0x1a0241(),_0x74ae23={'key':_0x34942f,'oldValue':_0x465a73,'newValue':_0x2cd1ef};_0x34942f['length']>0x25&&console[_0x52f5('0x175')](_0x52f5('0x171'),{'key':_0x34942f});const _0x31723e=(_0x52f5('0x166')+(_0x34942f+'|'+Rt({'newValue':_0x2cd1ef})))['substring'](0x0,0x3c),_0x30be9a=this[_0x52f5('0x15e')]({'id':_0x1b47b1,'type':_0x31723e,'data':_0x74ae23,'createdAt':new Date(),'authorId':_0x30e9fa,'attributes':_0x36a184});_0x38070c[_0x52f5('0xc5')](_0x30be9a),this[_0x52f5('0x183')](_0x31723e,_0x1b47b1,_0x30e9fa,_0x479708);}return _0x38070c;}[_0x52f5('0xf1')](_0x51cb66){this[_0x52f5('0x55')][_0x52f5('0x92')](_0x51cb66);}[_0x52f5('0xf6')](_0x35ecf3){this[_0x52f5('0x157')][_0x52f5('0x92')](_0x35ecf3);}[_0x52f5('0x28')](_0x5a4158,_0x311a97=[],_0x3ea3d5=[]){this[_0x52f5('0x160')](_0x5a4158,(_0x3dcee4,..._0x54fc3a)=>{this[_0x52f5('0x4')](()=>{_0x3dcee4(..._0x54fc3a);});});for(const _0x5524dd of _0x311a97)this[_0x52f5('0xf6')](_0x5524dd);for(const _0x4f73f2 of _0x3ea3d5)this[_0x52f5('0xf1')](_0x4f73f2);}[_0x52f5('0x155')](_0x1a2d40,_0x5224b2){const _0x573c7e=_0x1a2d40[_0x52f5('0x82')]();this[_0x52f5('0x2a')]['change'](_0x4334da=>{_0x4334da[_0x52f5('0x70')](_0x573c7e,{'range':_0x5224b2});});}[_0x52f5('0x111')](_0x1b0561){const _0x56fe16=_0x1b0561['id'],_0x2d5f78=this[_0x52f5('0x7e')]['config'][_0x52f5('0xa7')](_0x52f5('0x7'));this['_commentsRepository'][_0x52f5('0x13e')](_0x56fe16)||this[_0x52f5('0xd5')]['addCommentThread']({'channelId':_0x2d5f78,'threadId':_0x56fe16,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x718a9=this[_0x52f5('0xd5')][_0x52f5('0x168')](_0x56fe16);_0x718a9[_0x52f5('0x1c')](_0x52f5('0x1f')),_0x718a9[_0x52f5('0x1f')]=!0x1,_0x1b0561[_0x52f5('0x7d')]=_0x718a9;}[_0x52f5('0x185')](_0x482084,_0x22babd,_0xc27c49,_0x304a3c){if(_0x482084[_0x52f5('0x109')]!=_0x22babd||_0x482084['subType']!=_0xc27c49||_0x482084[_0x52f5('0xee')]['id']!=_0x304a3c)throw this[_0x52f5('0x7e')][_0x52f5('0xd2')](_0x52f5('0x32')),new _0x3b4ff1(_0x52f5('0x32'),this);}['_cutOutSuggestionMarker'](_0xecbe5,_0x3b2868){const _0x58106e=_0xecbe5[_0x52f5('0x11c')]();if(_0x3b2868['isEqual'](_0x58106e))_0xecbe5['removeMarkers']();else{if(_0x58106e[_0x52f5('0x8a')](_0x3b2868)){const _0x31f1b0=this[_0x52f5('0x2a')][_0x52f5('0x142')](_0x3b2868[_0x52f5('0xef')]['nodeBefore'],_0x52f5('0x162'));this[_0x52f5('0x155')](_0xecbe5,this[_0x52f5('0x2a')][_0x52f5('0x123')](_0x58106e[_0x52f5('0xef')],_0x31f1b0));const _0x2e3d1f=_0x1a0241(),_0x4479d3=_0xecbe5[_0x52f5('0xee')]['id'],_0x46e153=_0xecbe5[_0x52f5('0x109')]+':'+_0xecbe5[_0x52f5('0x110')];this[_0x52f5('0x15e')]({'id':_0x2e3d1f,'type':_0x46e153,'createdAt':new Date(),'authorId':_0x4479d3,'data':_0xecbe5[_0x52f5('0x96')],'attributes':_0xecbe5[_0x52f5('0x0')]});const _0x503f59=this[_0x52f5('0x2a')][_0x52f5('0x142')](_0x3b2868[_0x52f5('0x162')]['parent'],_0x52f5('0x2d')),_0x27cafc=this[_0x52f5('0x2a')]['createRange'](_0x503f59,_0x58106e[_0x52f5('0x162')]);this[_0x52f5('0x183')](_0x46e153,_0x2e3d1f,_0x4479d3,_0x27cafc);}else{if(_0x58106e[_0x52f5('0x15f')](_0x3b2868[_0x52f5('0xef')])){const _0x3d7ed1=this['_model'][_0x52f5('0x142')](_0x3b2868['start'][_0x52f5('0xc2')],_0x52f5('0x162'));this[_0x52f5('0x155')](_0xecbe5,this[_0x52f5('0x2a')][_0x52f5('0x123')](_0x58106e[_0x52f5('0xef')],_0x3d7ed1));}else{const _0x37fae4=this[_0x52f5('0x2a')][_0x52f5('0x142')](_0x3b2868['end'][_0x52f5('0x101')],_0x52f5('0x2d'));this['_setSuggestionRange'](_0xecbe5,this['_model'][_0x52f5('0x123')](_0x37fae4,_0x58106e['end']));}}}}[_0x52f5('0x10e')](_0x306e4c){for(const {suggestion:_0x587a1e,meta:_0x102631}of this[_0x52f5('0x22')](_0x306e4c,_0x52f5('0xdf'))){if(!_0x102631[_0x52f5('0x11d')])continue;const _0x2b5629=_0x587a1e['getRanges']();for(const _0x53f6f5 of _0x2b5629)if(!_0x306e4c[_0x52f5('0x79')](_0x53f6f5)[_0x52f5('0x164')])return!0x0;}return!0x1;}[_0x52f5('0xd1')](_0x751178){const _0x32f664=this[_0x52f5('0x7e')][_0x52f5('0x138')]['get'](_0x52f5('0x11f'))[_0x52f5('0x17f')](_0x751178);if(!_0x32f664)throw new _0x3b4ff1(_0x52f5('0x21'),this);return _0x32f664;}[_0x52f5('0x14e')](_0x1ddb9f){const _0x5e1f46=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')](_0x52f5('0x11f')),_0x46b029=_0x3d0e47(_0x52f5('0x89')+_0x1ddb9f),_0x6bd3b0=_0x5e1f46['getUser'](_0x46b029);return _0x6bd3b0||_0x5e1f46['addUser']({'id':_0x46b029,'name':_0x1ddb9f});}[_0x52f5('0xae')](_0x5acce3,_0x1e3f00,_0x5b7e52,_0x14f41f,_0x464a28){const _0x46bec9=this[_0x52f5('0xd1')](_0x14f41f),_0x716641=this[_0x52f5('0xb9')]['buildSuggestion'](_0x5acce3,_0x1e3f00,_0x5b7e52,_0x46bec9,_0x464a28,_0x63d79b=>this[_0x52f5('0x147')](_0x5b7e52,{'attributes':_0x63d79b}));return this[_0x52f5('0xc')](_0x716641,'accept',()=>{this['_updateSuggestionData'](_0x5b7e52,{'state':_0x52f5('0xf9')});},{'priority':_0x52f5('0xc0')}),this[_0x52f5('0xc')](_0x716641,_0x52f5('0x64'),()=>{this[_0x52f5('0x147')](_0x5b7e52,{'state':_0x52f5('0xb3')});},{'priority':'high'}),this[_0x52f5('0x119')][_0x52f5('0xcc')](_0x5b7e52,_0x716641),this['_suggestionState'][_0x52f5('0xcc')](_0x716641,'notReady'),_0x716641;}['_splitMarkerName'](_0x5ced71){const _0x2e95be=_0x5ced71['split'](':');return{'group':_0x2e95be[0x0],'type':_0x2e95be[0x1],'subType':_0x2e95be[_0x52f5('0x164')]>=0x5?_0x2e95be[0x2]:null,'id':_0x2e95be[_0x52f5('0x164')]<0x5?_0x2e95be[0x2]:_0x2e95be[0x3],'authorId':_0x2e95be['length']<0x5?_0x2e95be[0x3]:_0x2e95be[0x4],'markerCount':0x6==_0x2e95be[_0x52f5('0x164')]?_0x2e95be[0x5]:null};}[_0x52f5('0x107')](_0x1103f0,_0x27151d,_0xdd1719){const _0x14a3c3=_0x1103f0['getFirstRange'](),_0x5bc88f=_0x14a3c3[_0x52f5('0xef')],_0xef7fc8=_0x14a3c3['end'];this[_0x52f5('0x155')](_0x1103f0,this[_0x52f5('0x2a')][_0x52f5('0x123')](_0x5bc88f,_0x27151d));const _0x194f5b=_0x1a0241(),_0x13ac82=_0x1103f0[_0x52f5('0xee')]['id'],_0x4974d3=_0x1103f0[_0x52f5('0x109')]+(_0x1103f0[_0x52f5('0x110')]?':'+_0x1103f0[_0x52f5('0x110')]:'');this[_0x52f5('0x15e')]({'id':_0x194f5b,'type':_0x4974d3,'createdAt':new Date(),'authorId':_0x13ac82,'originalSuggestionId':_0x1103f0['id'],'attributes':_0x1103f0[_0x52f5('0x0')],'data':_0x1103f0[_0x52f5('0x96')]});const _0x302265=this['_getAttributeKeyFromSubType'](_0x1103f0);(_0x52f5('0x130')==_0x1103f0[_0x52f5('0x109')]||_0x302265&&this[_0x52f5('0x57')](_0x302265))&&(_0xdd1719=this[_0x52f5('0x2a')][_0x52f5('0x131')](_0xdd1719[_0x52f5('0x101')])),this['_addSuggestionMarker'](_0x4974d3,_0x194f5b,_0x13ac82,this[_0x52f5('0x2a')][_0x52f5('0x123')](_0xdd1719,_0xef7fc8));}[_0x52f5('0x22')](_0x45b6f4,_0x218421=null){const _0x54b7d2=[],_0x5d3742=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')](_0x52f5('0x11f'))['me'];Array[_0x52f5('0x13f')](_0x45b6f4)||(_0x45b6f4=[_0x45b6f4]);for(const _0x9112a of this['getSuggestions']()){if(!_0x9112a[_0x52f5('0x85')])continue;if(_0x218421&&_0x9112a[_0x52f5('0x109')]!=_0x218421)continue;let _0x262617=!0x1;for(const _0x2606b5 of _0x9112a[_0x52f5('0x17a')]()){for(const _0x421c0e of _0x45b6f4){const _0x160fc8=_0x421c0e[_0x52f5('0xef')][_0x52f5('0xaf')](_0x2606b5[_0x52f5('0x162')])||_0x421c0e[_0x52f5('0x162')][_0x52f5('0xaf')](_0x2606b5[_0x52f5('0xef')]);if(_0x160fc8||_0x421c0e[_0x52f5('0x17b')](_0x2606b5)){const _0xec08b4=_0x421c0e['containsRange'](_0x2606b5)&&Tt(this[_0x52f5('0x2a')][_0x52f5('0x13a')],_0x2606b5[_0x52f5('0xef')],_0x421c0e),_0x368437=_0x2606b5[_0x52f5('0x8a')](_0x421c0e)&&Tt(this[_0x52f5('0x2a')][_0x52f5('0x13a')],_0x421c0e['start'],_0x2606b5);_0x54b7d2[_0x52f5('0xc5')]({'suggestion':_0x9112a,'meta':{'isOwn':_0x5d3742==_0x9112a[_0x52f5('0x118')],'isNextTo':_0x160fc8,'isInsideObject':_0xec08b4,'containsRangeInObject':_0x368437}}),_0x262617=!0x0;break;}}if(_0x262617)break;}}return _0x54b7d2;}[_0x52f5('0x183')](_0x356c27,_0x979265,_0x506bbb,_0x106376,_0x2ccfc2){this[_0x52f5('0x2a')][_0x52f5('0xa5')](_0x310505=>{let _0x3d4cd5='suggestion:'+_0x356c27+':'+_0x979265+':'+_0x506bbb;_0x2ccfc2&&(_0x3d4cd5=_0x3d4cd5+':'+_0x2ccfc2),_0x310505[_0x52f5('0x3f')](_0x3d4cd5,{'range':_0x106376,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x52f5('0x9f')](_0x55ed76){const _0x48403e=_0x55ed76['previous'],_0x296741=_0x55ed76[_0x52f5('0x4d')];_0x55ed76[_0x52f5('0x16b')]=null,_0x55ed76[_0x52f5('0x4d')]=null,null!=_0x48403e&&(_0x48403e[_0x52f5('0x4d')]=_0x296741),null!=_0x296741&&(_0x296741['previous']=_0x48403e),_0x52f5('0x61')==this['_suggestionState']['get'](_0x55ed76)&&(this[_0x52f5('0xc8')][_0x52f5('0xcc')](_0x55ed76,_0x52f5('0xea')),this[_0x52f5('0x25')](_0x52f5('0x5'),_0x55ed76,_0x48403e,_0x296741));}['_setSuggestionData'](_0x39117c){const _0x3bf9a2=_0x39117c['id'],_0xd2d3c7=this[_0x52f5('0x63')](_0x39117c);if(this[_0x52f5('0x15c')]&&this['_adapter'][_0x52f5('0xe0')]){const _0x27488e=this[_0x52f5('0x7e')]['plugins'][_0x52f5('0xa7')](_0x52f5('0xd4')),_0x4a79a0=_0xd2d3c7['hasComments'],_0x5475fb=_0xd2d3c7[_0x52f5('0x110')]?_0xd2d3c7[_0x52f5('0x109')]+':'+_0xd2d3c7[_0x52f5('0x110')]:_0xd2d3c7[_0x52f5('0x109')],_0x21c43f=this[_0x52f5('0x7e')]['locale'],_0x43a455=_0x27488e[_0x52f5('0x92')](_0x3c2fbc(_0x21c43f,_0x52f5('0x137'))),_0x29e643={'id':_0x3bf9a2,'type':_0x5475fb,'hasComments':_0x4a79a0,'data':_0x39117c[_0x52f5('0x96')]||null,'originalSuggestionId':_0x39117c[_0x52f5('0xf5')]||null,'attributes':_0xd2d3c7[_0x52f5('0x0')]};this['_adapter'][_0x52f5('0xe0')](_0x29e643)['then'](_0x519675=>{_0xd2d3c7[_0x52f5('0xd3')]=!0x0,_0x27488e[_0x52f5('0x14d')](_0x43a455),_0x519675&&_0x519675[_0x52f5('0xe7')]&&(this['_suggestions'][_0x52f5('0xa7')](_0x3bf9a2)[_0x52f5('0xe7')]=_0x519675[_0x52f5('0xe7')]);})['catch'](_0x3b7769=>{throw _0x5aec1f(_0x52f5('0xd7')),this[_0x52f5('0x7e')][_0x52f5('0x16')][_0x52f5('0xdd')]({'isUndoable':!0x1},()=>{_0xd2d3c7[_0x52f5('0x64')]();}),_0xd2d3c7[_0x52f5('0x67')](),this['_suggestions'][_0x52f5('0xde')](_0xd2d3c7['id']),this['_suggestionState']['delete'](_0xd2d3c7),_0x3b7769;});}return _0xd2d3c7;}[_0x52f5('0x57')](_0x394d5e){return this[_0x52f5('0x55')][_0x52f5('0x4c')](_0x394d5e);}[_0x52f5('0x143')](_0x19ac05){return _0x52f5('0x6d')==_0x19ac05['type']&&_0x19ac05[_0x52f5('0x110')]['split']('|')[0x0];}['_updateSuggestionData'](_0x487faa,_0x4b6ccf){const _0x28917d=this[_0x52f5('0x7e')][_0x52f5('0x138')][_0x52f5('0xa7')](_0x52f5('0xd4')),_0x4b8d74=this['getSuggestion'](_0x487faa);if(this[_0x52f5('0x15c')]&&this[_0x52f5('0x15c')][_0x52f5('0xcd')]){if(_0x4b8d74[_0x52f5('0xd3')]){const _0x40d7b9=_0x28917d[_0x52f5('0x92')](_0x3c2fbc(this[_0x52f5('0x7e')][_0x52f5('0x42')],_0x52f5('0x137')));this[_0x52f5('0x15c')][_0x52f5('0xcd')](_0x487faa,_0x4b6ccf)['then'](()=>{_0x28917d['remove'](_0x40d7b9);});}else _0x4b8d74['on']('change:_saved',()=>{this[_0x52f5('0x147')](_0x487faa,_0x4b6ccf);});}}[_0x52f5('0xc3')](_0x386da7){if(!this[_0x52f5('0x15c')]||!this[_0x52f5('0x15c')]['getSuggestion'])throw new _0x3b4ff1('track-changes-adapter-missing-getsuggestion',this);return this[_0x52f5('0x15c')]['getSuggestion'](_0x386da7);}[_0x52f5('0x100')](_0x1926f1){const {id:_0x4621e4,type:_0x29b319,subType:_0x2f1119,authorId:_0x538a57}=this[_0x52f5('0xd6')](_0x1926f1),_0x23a44e=this[_0x52f5('0x119')][_0x52f5('0xa7')](_0x4621e4)||this[_0x52f5('0xae')](_0x29b319,_0x2f1119,_0x4621e4,_0x538a57,{});switch(this[_0x52f5('0x185')](_0x23a44e,_0x29b319,_0x2f1119,_0x538a57),this[_0x52f5('0xc8')]['get'](_0x23a44e)){case _0x52f5('0x165'):this['_getSuggestionData'](_0x4621e4)[_0x52f5('0x6f')](_0x2b6d40=>{let _0x74899b=Promise[_0x52f5('0xa4')]();_0x2b6d40['hasComments']&&(_0x74899b=this['_commentsRepository'][_0x52f5('0xd9')]({'channelId':this[_0x52f5('0x7e')][_0x52f5('0x102')][_0x52f5('0xa7')](_0x52f5('0x7')),'threadId':_0x4621e4})),_0x74899b[_0x52f5('0x6f')](()=>{this[_0x52f5('0x63')](_0x2b6d40)[_0x52f5('0xd3')]=!0x0;});}),this[_0x52f5('0xc8')][_0x52f5('0xcc')](_0x23a44e,'markerReady');break;case _0x52f5('0xea'):this[_0x52f5('0x147')](_0x4621e4,{'state':_0x52f5('0xe')});case _0x52f5('0x2c'):this[_0x52f5('0xc8')][_0x52f5('0xcc')](_0x23a44e,_0x52f5('0x61')),this[_0x52f5('0x25')]('suggestionLoaded',_0x23a44e);break;case _0x52f5('0x61'):this[_0x52f5('0x25')]('suggestionChanged',_0x23a44e);}return _0x23a44e[_0x52f5('0x151')](_0x1926f1),_0x23a44e;}[_0x52f5('0x1a')](_0x57728e){const _0x32ede3=Array['from'](_0x57728e),_0x434352=_0x32ede3['filter'](_0x3da282=>_0x52f5('0x6d')==_0x3da282[_0x52f5('0x109')]);this[_0x52f5('0xaa')](_0x434352);const _0x32c8f5=_0x32ede3[_0x52f5('0xfe')](_0x3f2e41=>!_0x3f2e41[_0x52f5('0x145')]&&_0x52f5('0x6d')!=_0x3f2e41[_0x52f5('0x109')]),_0x57bad2=this['getSuggestions']({'skipNotAttached':!0x0})[_0x52f5('0xfe')](_0x375aff=>!_0x375aff[_0x52f5('0x145')]&&_0x52f5('0x6d')!=_0x375aff['type']),_0x5a66c9=_0x57bad2[_0x52f5('0xfe')](_0x3d42e5=>!_0x57728e[_0x52f5('0x4c')](_0x3d42e5)),_0x441c25=new Map(_0x57bad2[_0x52f5('0x43')](_0x1660dc=>[_0x1660dc,this['_suggestionFactory'][_0x52f5('0x8e')](_0x1660dc['type'],_0x1660dc[_0x52f5('0x110')],_0x52f5('0x8'))])),_0x18c512=new Map(_0x57bad2[_0x52f5('0x43')](_0x518def=>[_0x518def,_0x518def[_0x52f5('0x11c')]()])),_0x2e5c59=new Set(),_0x19a34a=new Set();for(let _0x16fb1b=0x0;_0x16fb1b<_0x32c8f5[_0x52f5('0x164')];_0x16fb1b++)_0x436439(_0x32c8f5[_0x16fb1b],_0x32c8f5,_0x16fb1b+0x1);for(let _0x489323=0x0;_0x489323<_0x32c8f5[_0x52f5('0x164')];_0x489323++)_0x436439(_0x32c8f5[_0x489323],_0x5a66c9,0x0);const _0x218082=new Set();for(let _0x3b2d86=0x0;_0x3b2d86<_0x32c8f5['length'];_0x3b2d86++){const _0x291082=_0x32c8f5[_0x3b2d86];!_0x19a34a['has'](_0x291082)&&_0x291082[_0x52f5('0x16b')]&&(_0x218082[_0x52f5('0x92')](_0x291082[_0x52f5('0x16b')]),_0x291082[_0x52f5('0x16b')][_0x52f5('0x4d')]===_0x291082&&(_0x291082[_0x52f5('0x16b')]['next']=null),_0x291082[_0x52f5('0x16b')]=null),!_0x2e5c59[_0x52f5('0x4c')](_0x291082)&&_0x291082[_0x52f5('0x4d')]&&(_0x218082[_0x52f5('0x92')](_0x291082[_0x52f5('0x4d')]),_0x291082[_0x52f5('0x4d')][_0x52f5('0x16b')]===_0x291082&&(_0x291082[_0x52f5('0x4d')][_0x52f5('0x16b')]=null),_0x291082[_0x52f5('0x4d')]=null);}function _0x436439(_0x112b9a,_0x81f01e,_0x401641){for(let _0x31b4a4=_0x401641;_0x31b4a4<_0x81f01e[_0x52f5('0x164')];_0x31b4a4++){const _0x5c810c=_0x25fcc5(_0x112b9a,_0x81f01e[_0x31b4a4]);_0x5c810c&&(_0x5c810c[0x0]['next']=_0x5c810c[0x1],_0x5c810c[0x1][_0x52f5('0x16b')]=_0x5c810c[0x0],_0x2e5c59['add'](_0x5c810c[0x0]),_0x19a34a[_0x52f5('0x92')](_0x5c810c[0x1]));}}function _0x25fcc5(_0x5341bc,_0x3884aa){if(_0x5341bc[_0x52f5('0x118')]['id']!==_0x3884aa[_0x52f5('0x118')]['id'])return null;const _0x1a6d89=_0x441c25[_0x52f5('0xa7')](_0x5341bc)(_0x5341bc,_0x3884aa,_0x18c512[_0x52f5('0xa7')](_0x5341bc),_0x18c512[_0x52f5('0xa7')](_0x3884aa));if(!_0x1a6d89)return null;return _0x441c25[_0x52f5('0xa7')](_0x3884aa)(_0x5341bc,_0x3884aa,_0x18c512[_0x52f5('0xa7')](_0x5341bc),_0x18c512['get'](_0x3884aa))?_0x1a6d89[0x1][_0x52f5('0x7d')]&&_0x1a6d89[0x1]['commentThread'][_0x52f5('0x164')]?null:_0x1a6d89:null;}_0x218082[_0x52f5('0x16d')]&&this[_0x52f5('0x1a')](_0x218082);}[_0x52f5('0xaa')](_0x37a1d4){if(0x0==_0x37a1d4[_0x52f5('0x164')])return;const _0x234e2e=this['getSuggestions']({'skipNotAttached':!0x0})[_0x52f5('0xfe')](_0x3771ce=>'attribute'==_0x3771ce['type']&&_0x3771ce[_0x52f5('0x16f')]),_0x2e8ea0=[],_0x2e2712=new Map();for(const _0x22a67d of _0x234e2e){const _0x48fd46=_0x3d0e47(_0x22a67d[_0x52f5('0x0')]);_0x2e2712[_0x52f5('0x4c')](_0x48fd46)||(_0x2e2712[_0x52f5('0xcc')](_0x48fd46,_0x2e8ea0[_0x52f5('0x164')]),_0x2e8ea0[_0x52f5('0xc5')]([]));const _0x1d3fef=_0x2e2712['get'](_0x48fd46);_0x2e8ea0[_0x1d3fef][_0x52f5('0xc5')](_0x22a67d);}!function(){_0x2e8ea0[_0x52f5('0x75')]((_0x43633a,_0x2f654a)=>{const _0x57c89f=_0x43633a[0x0][_0x52f5('0xe7')],_0x2497af=_0x2f654a[0x0][_0x52f5('0xe7')];return _0x57c89f==_0x2497af?_0x43633a[0x0]['attributes'][_0x52f5('0x17c')]<_0x2f654a[0x0]['attributes'][_0x52f5('0x17c')]?-0x1:0x1:_0x57c89f<_0x2497af?-0x1:0x1;});for(const _0x4ba4ec of _0x2e8ea0)_0x4ba4ec[_0x52f5('0x75')]((_0x33f263,_0x5b618b)=>_0x33f263['id']<_0x5b618b['id']?-0x1:0x1);}();for(let _0x36f82b=0x0;_0x36f82b<_0x2e8ea0[_0x52f5('0x164')];_0x36f82b++){if(0x0==_0x2e8ea0[_0x36f82b][_0x52f5('0x164')])continue;const _0x34554d=[];for(let _0x2754af=_0x36f82b+0x1;_0x2754af<_0x2e8ea0[_0x52f5('0x164')];_0x2754af++)0x0!=_0x2e8ea0[_0x2754af]['length']&&_0x42a426(_0x2e8ea0[_0x36f82b],_0x2e8ea0[_0x2754af])&&_0x34554d['push'](_0x2754af);for(const _0x3b79e5 of _0x34554d)_0x2e8ea0[_0x36f82b]=_0x2e8ea0[_0x36f82b][_0x52f5('0x46')](_0x2e8ea0[_0x3b79e5]),_0x2e8ea0[_0x3b79e5]=[];}for(const _0x3b47ab of _0x2e8ea0)for(let _0x54539e=0x0;_0x54539e<_0x3b47ab['length'];_0x54539e++)_0x3b47ab[_0x54539e][_0x52f5('0x4d')]=_0x3b47ab[_0x54539e+0x1]||null;for(const _0x8e5d06 of _0x2e8ea0)for(let _0x44f47c=0x0;_0x44f47c<_0x8e5d06[_0x52f5('0x164')];_0x44f47c++)_0x8e5d06[_0x44f47c]['previous']=_0x8e5d06[_0x44f47c-0x1]||null;function _0x42a426(_0x1f314e,_0x4d2056){if(_0x1f314e[0x0][_0x52f5('0x118')]!==_0x4d2056[0x0][_0x52f5('0x118')])return!0x1;if(!function(_0x3e0934,_0x5e9c6d){if(!_0x3e0934[_0x52f5('0x178')]&&!_0x5e9c6d[_0x52f5('0x178')])return!0x0;if(_0x3e0934[_0x52f5('0x178')]&&_0x5e9c6d['hasComments'])return!0x1;if(_0x3e0934['hasComments']&&_0x5e9c6d[_0x52f5('0xe7')]<_0x3e0934['commentThread'][_0x52f5('0x170')]['get'](0x0)[_0x52f5('0xe7')])return!0x0;if(_0x5e9c6d[_0x52f5('0x178')]&&_0x3e0934['createdAt']<_0x5e9c6d[_0x52f5('0x7d')][_0x52f5('0x170')][_0x52f5('0xa7')](0x0)[_0x52f5('0xe7')])return!0x0;return!0x1;}(_0x1f314e[0x0],_0x4d2056[0x0]))return!0x1;const _0x36be30=_0x4ea7c2(_0x1f314e[0x0][_0x52f5('0x0')],_0x52f5('0x17c')),_0x176d2a=_0x4ea7c2(_0x4d2056[0x0][_0x52f5('0x0')],'groupId');if(!_0xa3113d(_0x36be30,_0x176d2a))return!0x1;return!!_0x1f314e[_0x52f5('0xa9')](_0x23b5ac=>_0x4d2056['some'](_0x5ec4ab=>_0x23b5ac[_0x52f5('0x11c')]()['isEqual'](_0x5ec4ab[_0x52f5('0x11c')]())))&&_0x4d2056['every'](_0x163311=>_0x1f314e[_0x52f5('0x5c')](_0x277045=>_0x163311[_0x52f5('0x11c')]()['isEqual'](_0x277045[_0x52f5('0x11c')]())));}}[_0x52f5('0x4f')](_0x5af18a){const _0x3d77ce=Array[_0x52f5('0x115')](_0x5af18a),_0x2236e2=this[_0x52f5('0x8d')]({'skipNotAttached':!0x0}),_0x54a85c=_0x2236e2['filter'](_0x2cc59e=>!_0x5af18a[_0x52f5('0x4c')](_0x2cc59e)),_0xeb6426=new Map(_0x3d77ce[_0x52f5('0x43')](_0x202fe3=>[_0x202fe3,this[_0x52f5('0xb9')][_0x52f5('0x8e')](_0x202fe3[_0x52f5('0x109')],_0x202fe3['subType'],_0x52f5('0x5a'))])),_0x3750ca=new Map(_0x2236e2[_0x52f5('0x43')](_0x5db791=>[_0x5db791,_0x5db791[_0x52f5('0x17a')]()]));for(let _0xad132c=0x0;_0xad132c<_0x3d77ce[_0x52f5('0x164')];_0xad132c++){if(_0x27faf3(this,_0x3d77ce[_0xad132c],_0x3d77ce,_0xad132c+0x1))return!0x0;}for(let _0x4953bc=0x0;_0x4953bc<_0x3d77ce[_0x52f5('0x164')];_0x4953bc++){if(_0x27faf3(this,_0x3d77ce[_0x4953bc],_0x54a85c,0x0))return!0x0;}return!0x1;function _0x27faf3(_0x32315e,_0x4780b2,_0x663fd5,_0x5d899e){for(let _0xca5366=_0x5d899e;_0xca5366<_0x663fd5[_0x52f5('0x164')];_0xca5366++){const _0x211bf3=_0x663fd5[_0xca5366];if(_0x211bf3[_0x52f5('0x109')]!==_0x4780b2[_0x52f5('0x109')]||_0x211bf3['author']['id']!==_0x4780b2[_0x52f5('0x118')]['id']||_0x211bf3[_0x52f5('0x110')]!==_0x4780b2[_0x52f5('0x110')])continue;if(!Vt(_0x4780b2,_0x211bf3))continue;if(_0x52f5('0x6d')==_0x4780b2[_0x52f5('0x109')]&&_0x4780b2[_0x52f5('0x96')][_0x52f5('0x30')]!=_0x211bf3[_0x52f5('0x96')][_0x52f5('0x30')])continue;if('attribute'==_0x4780b2[_0x52f5('0x109')]&&_0x32315e[_0x52f5('0x57')](_0x4780b2['data'][_0x52f5('0x45')]))continue;const _0x796b71=_0xeb6426[_0x52f5('0xa7')](_0x4780b2),_0x8d1f3a=_0x3750ca['get'](_0x4780b2),_0x4d2eda=_0x3750ca[_0x52f5('0xa7')](_0x211bf3),_0x3084d8=_0x4780b2[_0x52f5('0x7d')]&&_0x4780b2[_0x52f5('0x7d')][_0x52f5('0x164')],_0x39f60c=_0x211bf3[_0x52f5('0x7d')]&&_0x211bf3[_0x52f5('0x7d')][_0x52f5('0x164')];if(!_0x3084d8&&_0x796b71(_0x4d2eda,_0x8d1f3a))return _0x32315e[_0x52f5('0xd8')](_0x211bf3,_0x4780b2),_0x3750ca[_0x52f5('0xde')](_0x4780b2),!0x0;if(!_0x39f60c&&_0x796b71(_0x8d1f3a,_0x4d2eda))return _0x32315e[_0x52f5('0xd8')](_0x4780b2,_0x211bf3),_0x3750ca[_0x52f5('0xde')](_0x211bf3),!0x0;}return!0x1;}}[_0x52f5('0xd8')](_0x3ef99f,_0x598f4f){if(_0x3ef99f[_0x52f5('0x145')])for(const _0xe656cf of _0x598f4f['getRanges']())_0x3ef99f[_0x52f5('0xce')](_0xe656cf);else{const _0x50f7e4=_0x598f4f[_0x52f5('0x11c')]()[_0x52f5('0x162')];this['_setSuggestionRange'](_0x3ef99f,this['_model'][_0x52f5('0x123')](_0x3ef99f[_0x52f5('0x11c')]()[_0x52f5('0xef')],_0x50f7e4));}_0x598f4f[_0x52f5('0x16c')]();}[_0x52f5('0x163')](_0x8e17c8,_0x4b8d6d){const _0x121779=_0x8e17c8['startsWith'](_0x52f5('0x127'))||_0x8e17c8[_0x52f5('0x81')](_0x52f5('0x6d'))?_0x52f5('0xf8'):_0x8e17c8[_0x52f5('0x1d')]();return _0x3c2fbc(this[_0x52f5('0x7e')][_0x52f5('0x42')],_0x4b8d6d+'_'+_0x121779+_0x52f5('0xd0'));}[_0x52f5('0x10b')](){const _0xa430d6=this[_0x52f5('0x7e')];_0x269c35(this[_0x52f5('0x2a')],({left:_0x19fdfc,entered:_0x52e75f})=>{const _0x253c40=[];for(const _0x31d684 of _0x19fdfc){const {group:_0x24e9c6,type:_0x413a66}=this[_0x52f5('0xd6')](_0x31d684[_0x52f5('0xd')]);if(_0x52f5('0xb5')===_0x24e9c6){_0x253c40[_0x52f5('0xc5')](this['_getMarkerAnnouncementText'](_0x413a66,_0x52f5('0xeb')));break;}}for(const _0x3fde40 of _0x52e75f){const {group:_0x4f2857,type:_0x3bfa78}=this[_0x52f5('0xd6')](_0x3fde40[_0x52f5('0xd')]);if(_0x52f5('0xb5')===_0x4f2857){_0x253c40[_0x52f5('0xc5')](this[_0x52f5('0x163')](_0x3bfa78,_0x52f5('0x9d')));break;}}_0x253c40[_0x52f5('0x164')]&&_0xa430d6['ui'][_0x52f5('0xed')][_0x52f5('0x93')]('trackChanges',_0x253c40[_0x52f5('0x5a')]('\x20'));});}[_0x52f5('0xab')](_0x35b88c){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x1277ea=this[_0x52f5('0x7e')],_0x424883=_0x1277ea[_0x52f5('0x16')]['document'][_0x52f5('0x14b')][_0x52f5('0x186')]();if(0x0==_0x424883['length'])return!0x1;const _0x5afbe6=[],_0x5e998b=_0x424883['filter'](_0xe5fabb=>_0x52f5('0x6d')==_0xe5fabb[_0x52f5('0x109')]),_0x26f5fa=_0x424883[_0x52f5('0xfe')](_0x5470f5=>_0x52f5('0x6b')==_0x5470f5[_0x52f5('0x109')]&&_0x52f5('0xa0')!=_0x5470f5['name']),_0x2f6db8=_0x424883[_0x52f5('0xfe')](_0x5f1cd9=>'remove'==_0x5f1cd9['type']&&_0x52f5('0xa0')!=_0x5f1cd9[_0x52f5('0xd')]);for(const _0x3a38 of _0x5e998b)_0x5afbe6[_0x52f5('0xc5')]({'key':_0x3a38[_0x52f5('0x73')],'newValue':_0x3a38[_0x52f5('0x58')],'oldValue':_0x3a38[_0x52f5('0x144')],'range':_0xea58af(_0x3a38['range'])});for(const _0x1e97cc of _0x26f5fa){const _0x1eb1d3=_0x2f6db8[_0x52f5('0x156')](_0x3874ce=>_0x3874ce[_0x52f5('0xf')]['isEqual'](_0x1e97cc[_0x52f5('0xf')]));_0x1eb1d3&&_0x5afbe6[_0x52f5('0xc5')]({'key':_0x52f5('0x29'),'newValue':_0x1e97cc[_0x52f5('0xd')],'oldValue':_0x1eb1d3['name'],'range':_0x1277ea[_0x52f5('0x16')][_0x52f5('0x150')](_0x1e97cc['position'][_0x52f5('0x49')])});}return 0x0!=_0x5afbe6[_0x52f5('0x164')]&&this['_reduceExistingSuggestions'](_0x35b88c,_0x5afbe6);function _0xea58af(_0x23ce74){return null==_0x23ce74[_0x52f5('0x162')][_0x52f5('0xc2')]&&_0x23ce74[_0x52f5('0x162')]['parent']==_0x23ce74[_0x52f5('0xef')]['nodeAfter']?Ut(_0x23ce74['start'][_0x52f5('0x49')],_0x1277ea['model']):_0x23ce74;}}[_0x52f5('0x11a')](_0x6b6abb){let _0x217db8=!0x1;const _0xc41b81=this[_0x52f5('0x7e')][_0x52f5('0x16')][_0x52f5('0xb1')]['differ'][_0x52f5('0x184')]()[_0x52f5('0xfe')](_0x30696b=>_0x30696b['data'][_0x52f5('0x71')]&&_0x30696b['name'][_0x52f5('0x81')]('suggestion:attribute:'));for(const _0x4e9dd3 of _0xc41b81){const {subType:_0x3544e4,id:_0x1fe566}=this[_0x52f5('0xd6')](_0x4e9dd3[_0x52f5('0xd')]),_0x39ab99=_0x3544e4['split']('|')[0x0];for(const _0xed5aeb of this[_0x52f5('0x8d')]({'skipNotAttached':!0x0}))_0xed5aeb['id']!=_0x1fe566&&'attribute'==_0xed5aeb['type']&&_0xed5aeb['data']&&_0xed5aeb[_0x52f5('0x96')][_0x52f5('0x45')]==_0x39ab99&&_0xed5aeb[_0x52f5('0x11c')]()[_0x52f5('0x12e')](_0x4e9dd3['data'][_0x52f5('0x71')])&&(this[_0x52f5('0x1')](_0xed5aeb,_0x4e9dd3[_0x52f5('0x96')]['newRange'],_0x6b6abb),_0x217db8=!0x0);}return _0x217db8;}[_0x52f5('0x4')](_0x4810cb){if(null!==this[_0x52f5('0x44')])return void _0x4810cb();const _0xe698e1=this['editor'];this[_0x52f5('0x44')]=_0xe698e1[_0x52f5('0x16')]['document'][_0x52f5('0x6')],_0x4810cb();const _0x58ee68=new Map();for(const _0x1535a5 of _0xe698e1[_0x52f5('0x16')][_0x52f5('0xb1')][_0x52f5('0x91')]['getOperations'](this[_0x52f5('0x44')]))if(['rename',_0x52f5('0x187'),_0x52f5('0x7f'),_0x52f5('0xb6')][_0x52f5('0x3c')](_0x1535a5['type'])){const _0x5368d4=_0x1535a5[_0x52f5('0x152')],_0x23e224=_0x58ee68['get'](_0x5368d4)||[];_0x23e224[_0x52f5('0xc5')](_0x1535a5),_0x58ee68[_0x52f5('0xcc')](_0x5368d4,_0x23e224);}this[_0x52f5('0x44')]=null;for(const [_0x359a3f,_0x5e3223]of _0x58ee68){const _0x594285=_0x1a0241();_0xe698e1[_0x52f5('0x16')][_0x52f5('0xdd')](_0x359a3f,_0x136878=>{const _0x61be84=[];for(const _0x4b7868 of _0x5e3223){let _0xf962ee,_0x3771ff,_0x594d7c,_0x223f30;if(_0x52f5('0x26')==_0x4b7868[_0x52f5('0x109')]){const _0x5bab62=_0x4b7868;_0xf962ee=Ut(_0x5bab62[_0x52f5('0xf')]['nodeAfter'],_0xe698e1[_0x52f5('0x16')]),_0x3771ff=_0x52f5('0x29'),_0x594d7c=_0x5bab62[_0x52f5('0x7a')],_0x223f30=_0x5bab62['oldName'];}else{const _0x1e7e4d=_0x4b7868,_0x5eda08=this[_0x52f5('0x57')](_0x1e7e4d[_0x52f5('0x45')]),_0x296fa7=this[_0x52f5('0x157')][_0x52f5('0x4c')](_0x1e7e4d[_0x52f5('0x45')]);if(!_0x5eda08&&!_0x296fa7)continue;_0xf962ee=_0x5eda08?Ut(_0x1e7e4d[_0x52f5('0x14c')][_0x52f5('0xef')]['nodeAfter'],_0xe698e1[_0x52f5('0x16')]):_0x1e7e4d['range'],_0x3771ff=_0x1e7e4d[_0x52f5('0x45')],_0x594d7c=_0x52f5('0x7f')==_0x4b7868['type']?void 0x0:_0x1e7e4d['newValue'],_0x223f30=_0x1e7e4d[_0x52f5('0x30')];}this[_0x52f5('0x128')](_0xf962ee,_0x3771ff,_0x223f30,_0x594d7c,{'groupId':_0x594285}),_0x61be84[_0x52f5('0xc5')]({'range':_0xf962ee,'key':_0x3771ff,'newValue':_0x594d7c,'oldValue':_0x223f30});}this['_reduceExistingSuggestions'](_0x136878,_0x61be84);});}}[_0x52f5('0x13c')](_0x3eceb9,_0x33455a){if(0x0==_0x33455a[_0x52f5('0x164')])return!0x1;let _0x1c0f81=!0x1;for(const _0x395244 of _0x33455a){const _0x31fc65=this[_0x52f5('0x22')](_0x395244[_0x52f5('0x14c')],_0x52f5('0x6d'))['filter'](_0x2ac9fe=>!_0x2ac9fe['meta'][_0x52f5('0x15b')])[_0x52f5('0x43')](_0x2ec51b=>_0x2ec51b[_0x52f5('0xb5')]),_0x333617=_0x3d0e47({'newValue':_0x395244['newValue']});_0x31fc65[_0x52f5('0xfe')](_0x3bc886=>{const [_0x183dae,_0x21ea8b]=_0x3bc886[_0x52f5('0x110')]['split']('|');return _0x183dae==_0x395244['key']&&_0x21ea8b!=_0x333617;})[_0x52f5('0x20')](_0x132be0=>{this[_0x52f5('0x1')](_0x132be0,_0x395244['range'],_0x3eceb9),_0x1c0f81=!0x0;});}return _0x1c0f81;}[_0x52f5('0x1')](_0x1d9214,_0x486338,_0x259a5d){const _0x3b8af7=_0x1d9214['getFirstRange']()['getDifference'](_0x486338);0x0!==_0x3b8af7[_0x52f5('0x164')]?0x1!==_0x3b8af7[_0x52f5('0x164')]?this[_0x52f5('0x107')](_0x1d9214,_0x486338[_0x52f5('0xef')],_0x486338[_0x52f5('0x162')]):this[_0x52f5('0x155')](_0x1d9214,_0x3b8af7[0x0]):_0x259a5d[_0x52f5('0x35')](_0x1d9214[_0x52f5('0x82')]());}}class Bt{constructor(_0x55e986){this[_0x52f5('0x94')]=_0x55e986,this[_0x52f5('0x2a')]=_0x55e986[_0x52f5('0x16')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this[_0x52f5('0x169')]();}['buildSuggestion'](_0x5006d1,_0x3d3a36,_0x5d9dbe,_0x2f6b55,_0x2347b8,_0xcf1433){return new _0x2b492d(this[_0x52f5('0x2a')],{'type':_0x5006d1,'subType':_0x3d3a36,'id':_0x5d9dbe,'author':_0x2f6b55,'creator':_0x2f6b55,'attributes':_0x2347b8,'onAttributesChange':_0xcf1433,'onAccept':(..._0x4a5990)=>this[_0x52f5('0x8e')](_0x5006d1,_0x3d3a36,'accept')(..._0x4a5990),'onDiscard':(..._0x11fbfc)=>this['getSuggestionCallback'](_0x5006d1,_0x3d3a36,_0x52f5('0x64'))(..._0x11fbfc)});}[_0x52f5('0x114')](_0x286855,_0x38f8f4,_0x40d4e3,_0x53d52c){const _0x43afc0=_0x286855+':'+_0x38f8f4+':'+_0x40d4e3;this[_0x52f5('0x108')][_0x52f5('0xcc')](_0x43afc0,_0x53d52c);}[_0x52f5('0x8e')](_0x1d8e04,_0x10ec13,_0x45b3c0){const _0x4a1125=_0x1d8e04+':'+_0x10ec13+':'+_0x45b3c0;return this['_customCallbacks'][_0x52f5('0xa7')](_0x4a1125)||this['_defaultCallbacks'][_0x52f5('0xa7')](_0x1d8e04+':'+_0x45b3c0);}[_0x52f5('0x169')](){const _0x3a853b=()=>!0x1,_0x30c3c0=_0x5883b9=>{_0x5883b9['sort']((_0x37efaf,_0x2e717f)=>_0x37efaf['start'][_0x52f5('0xda')](_0x2e717f[_0x52f5('0xef')])?0x1:-0x1),this[_0x52f5('0x2a')][_0x52f5('0xa5')](_0x2f96e2=>{for(const _0x2748e2 of _0x5883b9){let _0x175b7e;_0x175b7e=_0x2748e2[_0x52f5('0x162')][_0x52f5('0x176')]&&_0x2748e2[_0x52f5('0x162')][_0x52f5('0x101')]==_0x2748e2[_0x52f5('0xef')][_0x52f5('0x49')]?_0x2f96e2['createSelection'](_0x2748e2[_0x52f5('0xef')]['nodeAfter'],'on'):_0x2f96e2[_0x52f5('0xb8')](_0x2748e2),this[_0x52f5('0x2a')][_0x52f5('0xb')](_0x175b7e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3b9f68=(_0x112de7,_0x64b0ab)=>{_0x64b0ab&&this[_0x52f5('0x2a')][_0x52f5('0xa5')](_0x13544a=>{const {commandName:_0x3b1b21,commandParams:_0x16ad75=[]}=_0x64b0ab,_0x15810b=_0x112de7['map'](_0x2e0c5e=>(xt(_0x2e0c5e)&&(_0x2e0c5e=this[_0x52f5('0x2a')]['createRange'](_0x2e0c5e[_0x52f5('0x162')])),_0x2e0c5e))[_0x52f5('0xfe')](_0x256bca=>_0x52f5('0x37')!==_0x256bca['root'][_0x52f5('0x41')]);if(_0x15810b[_0x52f5('0x164')]<0x1)return;const _0x124cdd=Array[_0x52f5('0x115')](this[_0x52f5('0x2a')][_0x52f5('0xb1')][_0x52f5('0x53')][_0x52f5('0x17a')]())[_0x52f5('0x43')](_0x4d93b8=>_0x56471a[_0x52f5('0x10d')](_0x4d93b8));_0x13544a['setSelection'](_0x15810b);for(const _0x29124e of this[_0x52f5('0x94')][_0x52f5('0x126')][_0x52f5('0x126')]())_0x29124e[_0x52f5('0x159')]();_0x16ad75[_0x52f5('0xc5')]({'forceDefaultExecution':!0x0}),this[_0x52f5('0x94')][_0x52f5('0x27')](_0x3b1b21,..._0x16ad75);const _0x3ddf26=_0x124cdd['filter'](_0xd67ff4=>_0x52f5('0x37')!=_0xd67ff4['root'][_0x52f5('0x41')]);_0x3ddf26[_0x52f5('0x164')]>0x0&&_0x13544a[_0x52f5('0x14f')](_0x3ddf26);for(const _0x5533f3 of _0x124cdd)_0x5533f3[_0x52f5('0x104')]();});},_0x52ef33=(_0x3d4dd9,_0x22c2b1)=>0x1==_0x3d4dd9[_0x52f5('0x164')]&&0x1==_0x22c2b1[_0x52f5('0x164')]&&_0x3d4dd9[0x0][_0x52f5('0x162')][_0x52f5('0xaf')](_0x22c2b1[0x0]['start']),_0x28c8d7=(_0x4e92b8,_0xff882b,_0x398089,_0x2b1b8b)=>Ot(_0x4e92b8,_0xff882b,_0x398089,_0x2b1b8b,this[_0x52f5('0x2a')])?[_0x4e92b8,_0xff882b]:Ot(_0xff882b,_0x4e92b8,_0x2b1b8b,_0x398089,this['_model'])?[_0xff882b,_0x4e92b8]:null;this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0x113'),_0x3a853b),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0x1b'),_0x30c3c0),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0x14a'),_0x52ef33),this['_defaultCallbacks']['set']('insertion:chain',_0x28c8d7),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0xfb'),_0x30c3c0),this[_0x52f5('0x141')][_0x52f5('0xcc')]('deletion:discard',_0x3a853b),this[_0x52f5('0x141')]['set'](_0x52f5('0x172'),_0x52ef33),this['_defaultCallbacks'][_0x52f5('0xcc')](_0x52f5('0x62'),_0x28c8d7),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0x161'),_0x3b9f68),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0xdc'),_0x3a853b),this[_0x52f5('0x141')][_0x52f5('0xcc')]('formatInline:join',_0x52ef33),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0x103'),_0x3a853b),this['_defaultCallbacks']['set']('formatBlock:accept',_0x3b9f68),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0xac'),_0x3a853b),this['_defaultCallbacks'][_0x52f5('0xcc')](_0x52f5('0xcf'),_0x52ef33),this[_0x52f5('0x141')]['set'](_0x52f5('0x24'),_0x3a853b),this[_0x52f5('0x141')][_0x52f5('0xcc')]('attribute:accept',_0x3a853b),this[_0x52f5('0x141')][_0x52f5('0xcc')](_0x52f5('0x9e'),(_0x7d5554,_0x323c58)=>{if(!_0x323c58)return;const _0x59ccf1=this['_editor'][_0x52f5('0x138')][_0x52f5('0xa7')](p);this['_model']['change'](_0x1d7182=>{if(_0x52f5('0x29')==_0x323c58[_0x52f5('0x45')])for(const _0x598925 of _0x7d5554){const _0x2ed860=_0x598925[_0x52f5('0xef')][_0x52f5('0x49')],_0x3226da=_0x323c58[_0x52f5('0x30')];_0x1d7182[_0x52f5('0x26')](_0x2ed860,_0x3226da);}else{if(_0x59ccf1[_0x52f5('0x57')](_0x323c58[_0x52f5('0x45')]))for(const _0x47efa6 of _0x7d5554)void 0x0!==_0x323c58['oldValue']?_0x1d7182['setAttribute'](_0x323c58[_0x52f5('0x45')],_0x323c58[_0x52f5('0x30')],_0x47efa6['start']['nodeAfter']):_0x1d7182['removeAttribute'](_0x323c58[_0x52f5('0x45')],_0x47efa6[_0x52f5('0xef')][_0x52f5('0x49')]);else for(const _0x47756e of _0x7d5554)_0x323c58[_0x52f5('0x30')]?_0x1d7182[_0x52f5('0x54')](_0x323c58[_0x52f5('0x45')],_0x323c58['oldValue'],_0x47756e):_0x1d7182[_0x52f5('0x7f')](_0x323c58[_0x52f5('0x45')],_0x47756e);}});}),this[_0x52f5('0x141')][_0x52f5('0xcc')]('attribute:join',_0x52ef33);}}function Tt(_0x344941,_0x4feef0,_0x1e7cec){for(const _0xf3b000 of _0x4feef0[_0x52f5('0x101')][_0x52f5('0x18')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xf3b000[_0x52f5('0x99')]==_0xf3b000)return!0x1;if(!_0x1e7cec[_0x52f5('0x9a')](_0xf3b000))return!0x1;if(_0x344941[_0x52f5('0x13d')](_0xf3b000)||_0x344941['isLimit'](_0xf3b000))return!0x0;}return!0x1;}function xt(_0x5435d7){return _0x5435d7[_0x52f5('0x162')][_0x52f5('0x101')]==_0x5435d7[_0x52f5('0xef')]['nodeAfter']&&_0x5435d7[_0x52f5('0x162')]['isAtStart'];}function Et(_0x2437f3,_0x492696,_0x1797c9,_0x4926dd){const _0x3d481f=_0x27ca44=>!_0x27ca44[_0x52f5('0x7b')]['is'](_0x52f5('0x9c'))&&!_0x4926dd['isObject'](_0x27ca44[_0x52f5('0x7b')]),_0x5c9765=_0x2437f3['start']['getLastMatchingPosition'](_0x3d481f),_0x3b507c=_0x2437f3[_0x52f5('0x162')][_0x52f5('0x134')](_0x3d481f,{'direction':_0x52f5('0x39')});return(!_0x2437f3[_0x52f5('0xef')][_0x52f5('0xaf')](_0x5c9765)||!_0x2437f3[_0x52f5('0x162')][_0x52f5('0xaf')](_0x3b507c))&&(_0x5c9765['isBefore'](_0x3b507c)?_0x1797c9[_0x52f5('0x70')](_0x492696,{'range':_0x1797c9['createRange'](_0x5c9765,_0x3b507c)}):_0x1797c9[_0x52f5('0x35')](_0x492696),!0x0);}function Rt(_0x1a8877){return _0x3d0e47(_0x1a8877);}function jt(_0x13c28b){const _0x452aa8=_0x13c28b[_0x52f5('0xef')][_0x52f5('0x49')];return _0x452aa8&&_0x452aa8['is'](_0x52f5('0x66'));}function Ut(_0x519f84,_0x479b30){const _0x150c37=_0x479b30[_0x52f5('0x13a')][_0x52f5('0x13d')](_0x519f84)||_0x479b30[_0x52f5('0x13a')][_0x52f5('0x40')](_0x519f84);return _0x479b30[_0x52f5('0x123')](_0x479b30[_0x52f5('0x142')](_0x519f84,_0x52f5('0x116')),_0x150c37?_0x479b30[_0x52f5('0xc4')](_0x519f84):_0x479b30[_0x52f5('0x142')](_0x519f84,_0x52f5('0x162')));}function Ot(_0x2f66b2,_0x18b195,_0x3a4a18,_0xd786fc,_0x444432){if(!Vt(_0x2f66b2,_0x18b195))return!0x1;if(_0x3a4a18[_0x52f5('0x162')][_0x52f5('0xaf')](_0xd786fc['start']))return!0x0;if(_0x2f66b2[_0x52f5('0x109')]!=_0x18b195['type'])return!0x1;if(!_0x3a4a18[_0x52f5('0x162')][_0x52f5('0x51')](_0xd786fc[_0x52f5('0xef')]))return!0x1;const _0x39f204=_0x444432['createRange'](_0x3a4a18[_0x52f5('0x162')],_0xd786fc[_0x52f5('0xef')])[_0x52f5('0x105')]();for(const _0x4053a6 of _0x39f204)if([_0x52f5('0x125'),_0x52f5('0x6c')][_0x52f5('0x3c')](_0x4053a6['type'])&&_0x444432['schema'][_0x52f5('0x13')](_0x4053a6[_0x52f5('0x7b')]))return!0x1;return!0x0;}function Vt(_0x4b9053,_0x23ca2f){return!(!_0x4b9053[_0x52f5('0x16f')]||!_0x23ca2f[_0x52f5('0x16f')])&&_0xa3113d(_0x4b9053['attributes'],_0x23ca2f[_0x52f5('0x0')]);}function Ft(_0x50395a,_0x297cbf){const _0x3e6a8f=Gt(_0x50395a[_0x52f5('0x0')]),_0x158205=Gt(_0x297cbf);if(!_0x50395a[_0x52f5('0x16f')])return!0x1;for(const _0x2716bd of Object['keys'](_0x158205))if(!_0xa3113d(_0x3e6a8f[_0x2716bd],_0x158205[_0x2716bd]))return!0x1;return!0x0;}function Gt(_0x2caf36){const _0x4aae0f=Object[_0x52f5('0xb2')]({},_0x2caf36);return delete _0x4aae0f[_0x52f5('0x6a')],delete _0x4aae0f['tablePasteChainId'],_0x4aae0f;}
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;}