@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231130.0 → 0.0.0-nightly-20231201.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 _0xec67=['root','multi','getChangedMarkers','init','markers','deletion:discard','getContainedElement','_adapter','enqueueChange','concat','locale','getFirstMarker','rename','external:','newRange','insertion:','track-changes-suggestion-data-mismatch','values','editingDowncast','_splitMarkerName','removeMarker:suggestion:formatBlock','delete','getMultiRangeId','isLimit','author','suggestionUnloaded','_joinSuggestions','trackChanges','name','_rangeIsInLocalUserInsertion','ck-suggestion-marker-','for','previous','fromRange','announce','_processAttributeSuggestions','suggestion:','applyOperation','isIntersecting','_setSuggestionData','change:activeMarkers','find','format','config','registerCustomCallback','getShiftedBy','notReady','removed','_inlineAttributeKeys','push','getLastMatchingPosition','upcast','dataToMarker','Users','attribute:join','clear','set','fetchCommentThread','toJSON','then','registerPostFixer','_addThreadToSuggestion','isInContent','_getSuggestionData','data-suggestion','meta','_trackFormatChanges','add','formatInline:','createRange','markerNameToElements','markAttributeChange','execute','_model','_registerDefaultCallbacks','trackChanges.trackFormatChanges','oldValue','_reduceExistingSuggestions','plugins','consumable','isEqual','getAttribute','after','attributes','highest','head','forEach','addUser','_suggestionFactory','oldRange','startsWith','TrackChangesEditing','getSuggestions','from','getItems','deletion:','setSelection','getSuggestion','containsItem','addMarkerName','originalSuggestionId','isObject','discardAllSuggestions','trackChanges.mergeNestedSuggestions','_setSuggestionRange','_getExternalAuthor','formatInline:discard','getUser','createdAt','_customCallbacks','size','setTo','_suggestionState','formatGroupId','mapper','selection','element','stop','catch','isLocal','FORMATTING','markInsertion','commands','isInsideObject','_suggestions','activeMarkers','discardSuggestion','isRemovable','value','keys','moveTargetPosition','commandName','next','_getAttributeKeyFromSubType','adapter','ck-suggestion-marker','removeMarker','formatInline:join','markerReady','unshift','insert','_cutOutSuggestionMarker','multipleBlocks','high','isExternal','_getMarkerAnnouncementText','listenTo','isArray','markInlineFormat','_blockAttributeKeys','markMultiRangeInsertion','differ','splice','attributeOldValue','schema','discard','addClass','widget','createSelection','range','normal','length','low','addSuggestion','isAtStart','formatInline:chain','isOwn','every','_refreshAttributeSuggestionsChain','data','getDifference','track-changes-adapter-already-set','removeMarker:suggestion:attribute','ck-suggestion-marker-formatBlock','attributeNewValue','isAtEnd','splitPosition','markMultiRangeBlockFormat','acceptAllSuggestions','error-saving-suggestion-data-suggestion-discarded','rethrowUnexpectedError','get','$graveyard','fire','getCustomProperty','removeMarkers','_saved','consume','oldName','map','newName','formatInline:accept','assign','markMultiRangeDeletion','hasSuggestion','_joinWithAdjacentSuggestions','enableReadOnlyMode','LEAVE','hasComments','has','deletion:accept','createPositionAfter','@external','addComment','changeAttribute','createPositionBefore','markerToData','_handleNewSuggestionMarker','containsRange','track-changes-adapter-missing-getsuggestion','insertion','deletion','key','addCommentThread','item','isSelectable','_defaultCallbacks','subType','always','type','_editor','editor','_findSuggestions','getFirstRange','createRangeOn','markerName','bindElementToMarker','suggestionLoaded','formatBlock:accept','track-changes-suggestion-not-found','skipNestingCheck','addMarker:suggestion:formatBlock','commentThread','accept','change','ENTER','fromCharCode','createRangeIn','nodeBefore','getIntersection','_checkSuggestionCorrectness','hasCommentThread','isNextTo','isIntersectingWithRange','containsRangeInObject','refresh','rootName','before','update:suggestion','getNearestSelectionRange','$text','isMultiRange','filter','version','suggestion','getWalker','history','_registerInlineAttribute','ariaLiveAnnouncer','createPositionAt','addHighlight','newValue','chain','nodeAfter','change:data','attribute:','discardSelectedSuggestions','containsPosition','ready','authoredAt','conversion','$marker','formatBlock','includes','creator','forward','_commentsRepository','_enabledCommands','detach','getSuggestionCallback','formatBlock:','_SUGGESTION_ANNOUNCEMENT','split','join','formatInline','_isForcedDefaultExecutionBlock','unbindElementFromMarkerName','buildSuggestion','_mergeNestedSuggestions','deletion:chain','change:_saved','_reduceSuggestionAttributeRange','marker-count','_isDataLoaded','PendingActions','batch','documentSelection','options','_updateSuggestionData','targetPosition','acceptSuggestion','groupId','move','isBefore','never','_recordAttributeChanges','tablePasteChainId','accepted','trackChangesCommand','_descriptionFactory','markerToHighlight','parent','remove','toViewElement','_registerBlockAttribute','createElement','writer','enableCommand','_refreshSuggestionsChain','removeClass','_recordAttributeSuggestionsFromVersion','track-changes-user-not-found','markDeletion','addMarker:suggestion:attribute','_addSuggestionMarker','suggestionChanged','some','ck-suggestion-marker--active','CommentsRepository','updateMarker','showSuggestionHighlights','end','removeAttribute','return','_removeSuggestion','position','collaboration.channelId','sort','_breakSuggestionMarker','isBlock','addSuggestionData','dataDowncast','howMany','substring','getAllAdjacentSuggestions','define','attribute','$textProxy','_processAttributeChanges','isAfter','_isBlockAttribute','model','requires','start','comments','lowest','addRange','dataReady','markBlockFormat','deleteContent','getRanges','pluginName','document','authorName','getRange','updateSuggestion','pop','_createSuggestion','clone','isCollapsed','forceDefaultExecution','getChanges','backward','_getAuthorFromId','PENDING_ACTION_SUGGESTION','$elementName','setAttribute'];(function(_0xc09b53,_0xec6731){const _0x4945d5=function(_0xc42476){while(--_0xc42476){_0xc09b53['push'](_0xc09b53['shift']());}};_0x4945d5(++_0xec6731);}(_0xec67,0x96));const _0x4945=function(_0xc09b53,_0xec6731){_0xc09b53=_0xc09b53-0x0;let _0x4945d5=_0xec67[_0xc09b53];return _0x4945d5;};import{Plugin as _0x582d36,PendingActions as _0x3fe7ce}from'ckeditor5/src/core';import{LiveRange as _0x4c2a3d}from'ckeditor5/src/engine';import{CKEditorError as _0xc58421,uid as _0x392fef,priorities as _0x588e74,logWarning as _0x232c54}from'ckeditor5/src/utils';import{toWidget as _0x454349}from'ckeditor5/src/widget';import{Users as _0x2678fb,hashObject as _0x1675da,surroundingMarkersDetector as _0x5c43b4}from'ckeditor5-collaboration/src/collaboration-core';import _0x244b60 from'./commands/trackchangescommand';import _0x50a3f0 from'./commands/acceptsuggestioncommand';import _0x194ff1 from'./commands/discardsuggestioncommand';import _0x19e01c from'./commands/executeonallsuggestionscommand';import _0x46b208 from'./commands/executeonselectedsuggestionscommand';import _0x7eae24 from'./suggestion';import _0x399f88 from'./suggestiondescriptionfactory';import _0x25c6b1 from'./integrations/aiassistant';import _0x3241ba from'./integrations/alignment';import _0x580c35 from'./integrations/basicstyles';import _0x3ddf57 from'./integrations/blockquote';import _0x28b78e from'./integrations/ckbox';import _0x446694 from'./integrations/codeblock';import _0x4fd3fc from'./integrations/comments';import _0x249a8c from'./integrations/deletecommand';import _0x4126ad from'./integrations/documentlist';import _0x1e441c from'./integrations/documentlistproperties';import _0x442503 from'./integrations/entercommand';import _0x527b26 from'./integrations/findandreplace';import _0x3a92f3 from'./integrations/font';import _0x58d7fd from'./integrations/formatpainter';import _0x45551a from'./integrations/heading';import _0xe0175d from'./integrations/highlight';import _0x48f1d5 from'./integrations/horizontalline';import _0x4d001b from'./integrations/htmlembed';import _0x2ba6f3 from'./integrations/image';import _0x491e78 from'./integrations/imagereplace';import _0x3853d7 from'./integrations/imagestyle';import _0x5ccc30 from'./integrations/importword';import _0x1a3a03 from'./integrations/indent';import _0x29797c from'./integrations/inputcommand';import _0x3ecadd from'./integrations/link';import _0x172db2 from'./integrations/list';import _0x288ec1 from'./integrations/listproperties';import _0x4e65cf from'./integrations/mediaembed';import _0x464d1a from'./integrations/mention';import _0x44f2e2 from'./integrations/pagebreak';import _0x447b48 from'./integrations/paragraph';import _0x50b1c2 from'./integrations/removeformat';import _0x17c8be from'./integrations/restrictededitingmode';import _0x359c5a from'./integrations/shiftentercommand';import _0x537369 from'./integrations/standardeditingmode';import _0x936dd6 from'./integrations/style';import _0x33b508 from'./integrations/table';import _0x45dc22 from'./integrations/tablemergesplit';import _0x7ddd77 from'./integrations/tableheadings';import _0xd1828 from'./integrations/tableclipboard';import _0x594e17 from'./integrations/tablecolumnresize';import _0x5aa601 from'./integrations/template';import _0xc2ce5e from'./integrations/tableofcontents';import _0x57712a from'./integrations/title';import _0x4c6b30 from'./integrations/undo';import _0x42ba37 from'./integrations/tablecaption';import _0x494da0 from'./integrations/tableproperties';import{getTranslation as _0x4c6660}from'./utils/common-translations';import{isEqual as _0x1035ae,omit as _0x37a1d1}from'lodash-es';export const renameAttributeKey=_0x4945('0xe1');export default class p extends _0x582d36{static get[_0x4945('0xca')](){return[_0x4945('0xb2'),_0x2678fb,_0x3fe7ce,_0x25c6b1,_0x3241ba,_0x580c35,_0x3ddf57,_0x28b78e,_0x446694,_0x4fd3fc,_0x249a8c,_0x4126ad,_0x1e441c,_0x442503,_0x527b26,_0x3a92f3,_0x58d7fd,_0x45551a,_0xe0175d,_0x48f1d5,_0x4d001b,_0x2ba6f3,_0x3853d7,_0x491e78,_0x5ccc30,_0x1a3a03,_0x29797c,_0x3ecadd,_0x172db2,_0x288ec1,_0x4e65cf,_0x464d1a,_0x44f2e2,_0x447b48,_0x50b1c2,_0x17c8be,_0x359c5a,_0x537369,_0x936dd6,_0x33b508,_0x45dc22,_0x7ddd77,_0x42ba37,_0xd1828,_0x594e17,_0xc2ce5e,_0x494da0,_0x5aa601,_0x57712a,_0x4c6b30];}static get[_0x4945('0xd3')](){return _0x4945('0x13e');}constructor(_0x500f41){function _0x26e79b(_0x50409a){return _0x50409a[_0x4945('0x27')](_0xc9e6d6=>String[_0x4945('0x56')](_0xc9e6d6))[_0x4945('0x85')]('');}super(_0x500f41),this[_0x4945('0xaa')]=null,this[_0x4945('0x11b')](_0x4945('0x160'),[]),this['on'](_0x4945('0x10b'),(_0x443146,_0x4e25f4,_0x97d014,_0xe950d5)=>{this[_0x4945('0x12c')][_0x4945('0x54')](()=>{for(const _0x1f6da9 of[..._0xe950d5,..._0x97d014])this[_0x4945('0x12c')]['markers'][_0x4945('0x31')](_0x1f6da9)&&_0x500f41['editing']['reconvertMarker'](_0x1f6da9);});}),this[_0x4945('0x9f')]=new _0x399f88(this[_0x4945('0x47')][_0x4945('0xc9')]['schema'],this[_0x4945('0x47')][_0x4945('0xed')]),this[_0x4945('0xea')]=null,this['_suggestionFactory']=new Bt(this[_0x4945('0x47')]),this['_suggestions']=new Map(),this[_0x4945('0x7e')]=_0x500f41[_0x4945('0x131')]['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this[_0x4945('0x12c')]=this[_0x4945('0x47')][_0x4945('0xc9')],this[_0x4945('0x153')]=new WeakMap(),this[_0x4945('0x87')]=!0x1,this[_0x4945('0x178')]=new Set([_0x4945('0xe1')]),this[_0x4945('0x113')]=new Set(),_0x500f41[_0x4945('0x10e')][_0x4945('0xc3')](_0x4945('0x12e'),'default'),this[_0x4945('0x125')]=_0x500f41['config'][_0x4945('0x1f')](_0x4945('0x12e')),_0x500f41['config'][_0x4945('0xc3')](_0x4945('0x14a'),!0x0),this['_mergeNestedSuggestions']=_0x500f41[_0x4945('0x10e')][_0x4945('0x1f')](_0x4945('0x14a')),this['trackChangesCommand']=new _0x244b60(_0x500f41,this[_0x4945('0x7f')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x26e79b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x26e79b([0x34,0x30,0x34,0x36,0x32,0x32,0x36,0x30]);}[_0x4945('0xe6')](){const _0x46112c=this[_0x4945('0x47')],_0x387582=(_0x228da3,_0x31c7f3)=>{if('attribute'!=_0x228da3)return _0x4945('0x101')+_0x228da3;const _0x128966=_0x31c7f3[_0x4945('0x84')]('|')[0x0];return this['_isBlockAttribute'](_0x128966)?_0x4945('0x17'):'ck-suggestion-marker-formatInline';};_0x46112c[_0x4945('0x78')][_0x4945('0x102')]('editingDowncast')[_0x4945('0xa0')]({'model':'suggestion','view':_0x4cb57b=>{const {id:_0x3f0054,type:_0x477773,subType:_0x573979}=this[_0x4945('0xf6')](_0x4cb57b[_0x4945('0x4b')]),_0xbb2c52=['ck-suggestion-marker',_0x387582(_0x477773,_0x573979)];let _0x46b5da=0xbb8;return this[_0x4945('0x160')][_0x4945('0x7b')](_0x4cb57b[_0x4945('0x4b')])&&(_0xbb2c52['push'](_0x4945('0xb1')),_0x46b5da=0xbc2),_0x4945('0x3d')==_0x477773&&(_0x46b5da+=0x5),{'classes':_0xbb2c52,'attributes':{'data-suggestion':_0x3f0054},'priority':_0x46b5da};}}),_0x46112c['conversion'][_0x4945('0x102')](_0x4945('0xbf'))[_0x4945('0x126')](_0x5a0f9f=>{_0x5a0f9f['on']('addMarker:suggestion',(_0x5d2ee0,_0x4530d7,_0x42439d)=>{if(!_0x42439d[_0x4945('0x93')][_0x4945('0xb4')])return;const _0x156d48=_0x4530d7[_0x4945('0x40')];if(!_0x156d48)return;const _0x19210d=_0x42439d[_0x4945('0x155')][_0x4945('0xa3')](_0x156d48);_0x46112c[_0x4945('0xc9')][_0x4945('0x4')]['isObject'](_0x156d48)&&_0x19210d&&!_0x19210d[_0x4945('0x22')](_0x4945('0x7'))&&_0x19210d['is']('containerElement')&&_0x454349(_0x19210d,_0x42439d[_0x4945('0xa6')]);},{'priority':_0x4945('0x172')});}),_0x46112c[_0x4945('0x78')][_0x4945('0x102')](_0x4945('0xbf'))[_0x4945('0xa0')]({'model':_0x4945('0x68'),'view':(_0x1d1aaf,_0x299199)=>{if(!_0x299199[_0x4945('0x93')][_0x4945('0xb4')])return null;const {type:_0x203584,subType:_0x1ad7d5}=this[_0x4945('0xf6')](_0x1d1aaf[_0x4945('0x4b')]);return{'classes':[_0x4945('0x16a'),_0x387582(_0x203584,_0x1ad7d5)],'priority':0xbb8};}});const _0x23202a=({showActiveMarkers:_0x134fe8=!0x0,isAttributeSuggestion:_0x40b2f7=!0x1}={})=>(_0x4139d8,_0x489157,_0x22ed39)=>{if(!_0x489157[_0x4945('0x40')])return;const {id:_0x1d385b}=this[_0x4945('0xf6')](_0x489157[_0x4945('0x4b')]);if(_0x40b2f7){const _0x2c174c=this['_suggestions'][_0x4945('0x1f')](_0x1d385b),_0x3db204=this[_0x4945('0x168')](_0x2c174c);if(!this[_0x4945('0xc8')](_0x3db204))return;}if(_0x489157[_0x4945('0x40')]['is'](_0x4945('0x156')))return void _0x22ed39[_0x4945('0x132')][_0x4945('0x25')](_0x489157[_0x4945('0x40')],_0x4139d8[_0x4945('0xff')]);const _0x59afb8=_0x22ed39[_0x4945('0x155')][_0x4945('0xa3')](_0x489157['item']);if(_0x489157[_0x4945('0x40')]['is']('element')&&_0x46112c['model'][_0x4945('0x4')][_0x4945('0xbd')](_0x489157[_0x4945('0x40')])&&!_0x59afb8[_0x4945('0x22')](_0x4945('0x6e'))){_0x22ed39[_0x4945('0xa6')][_0x4945('0x6')]([_0x4945('0x16a'),'ck-suggestion-marker-formatBlock'],_0x59afb8),_0x22ed39[_0x4945('0xa6')]['setAttribute'](_0x4945('0x123'),_0x1d385b,_0x59afb8),_0x22ed39[_0x4945('0x155')][_0x4945('0x4c')](_0x59afb8,_0x489157[_0x4945('0x4b')]),_0x134fe8&&(this[_0x4945('0x160')][_0x4945('0x7b')](_0x489157['markerName'])?_0x22ed39[_0x4945('0xa6')]['addClass'](_0x4945('0xb1'),_0x59afb8):_0x22ed39[_0x4945('0xa6')][_0x4945('0xa9')]('ck-suggestion-marker--active',_0x59afb8));for(const _0x22d3d2 of _0x46112c['model'][_0x4945('0x57')](_0x489157[_0x4945('0x40')])[_0x4945('0x141')]())_0x22ed39[_0x4945('0x132')][_0x4945('0x25')](_0x22d3d2,_0x4139d8[_0x4945('0xff')]);_0x22ed39[_0x4945('0x132')][_0x4945('0x25')](_0x489157[_0x4945('0x40')],_0x4139d8[_0x4945('0xff')]);}};_0x46112c[_0x4945('0x78')][_0x4945('0x102')]('dataDowncast')['add'](_0x1497c3=>{_0x1497c3['on'](_0x4945('0x51'),(_0x138d6a,_0x1f0900,_0x18fefb)=>{_0x18fefb[_0x4945('0x93')][_0x4945('0xb4')]&&_0x23202a({'showActiveMarkers':!0x1})(_0x138d6a,_0x1f0900,_0x18fefb);},{'priority':_0x4945('0x137')});}),_0x46112c['conversion'][_0x4945('0x102')](_0x4945('0xbf'))[_0x4945('0x126')](_0x3e2c6d=>{_0x3e2c6d['on']('addMarker:suggestion:attribute',(_0x58fde7,_0x10a134,_0x551834)=>{_0x551834[_0x4945('0x93')][_0x4945('0xb4')]&&_0x23202a({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x58fde7,_0x10a134,_0x551834);},{'priority':_0x4945('0x137')});}),_0x46112c['conversion'][_0x4945('0x102')](_0x4945('0xbf'))[_0x4945('0x38')]({'model':_0x4945('0x68'),'view':(_0x3ed1f3,_0x283db7)=>_0x283db7[_0x4945('0x93')][_0x4945('0xb4')]?null:{'group':'suggestion','name':_0x3ed1f3['substr'](0xb)}}),_0x46112c[_0x4945('0x78')][_0x4945('0x102')](_0x4945('0x116'))['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x502ad3,{writer:_0x5d06c2})=>{let _0x22bf43='suggestion:'+_0x502ad3[_0x4945('0x134')]('suggestion-type')+':'+_0x502ad3[_0x4945('0x134')]('id');return _0x502ad3[_0x4945('0x134')]('marker-count')&&(_0x22bf43+=':'+_0x502ad3['getAttribute'](_0x4945('0x8e'))),_0x5d06c2[_0x4945('0xa5')](_0x4945('0x79'),{'data-name':_0x22bf43});}}),_0x46112c[_0x4945('0x78')]['for'](_0x4945('0x116'))[_0x4945('0x117')]({'view':_0x4945('0x68')}),_0x46112c['conversion'][_0x4945('0x102')](_0x4945('0xf5'))[_0x4945('0x126')](_0x47ea6e=>{_0x47ea6e['on']('addMarker:suggestion:formatBlock',_0x23202a(),{'priority':_0x4945('0x172')});}),_0x46112c['conversion'][_0x4945('0x102')](_0x4945('0xf5'))[_0x4945('0x126')](_0x528258=>{_0x528258['on'](_0x4945('0xad'),_0x23202a({'isAttributeSuggestion':!0x0}),{'priority':_0x4945('0x172')});}),_0x46112c[_0x4945('0x78')][_0x4945('0x102')]('editingDowncast')[_0x4945('0x126')](_0x3713a1=>{_0x3713a1['on'](_0x4945('0xf7'),(_0x53de05,_0x5f478b,_0x403b78)=>{const _0x182228=_0x403b78[_0x4945('0x155')][_0x4945('0x129')](_0x5f478b[_0x4945('0x4b')]);if(_0x182228)for(const _0x86763f of _0x182228)_0x86763f[_0x4945('0x22')]('addHighlight')||(_0x403b78[_0x4945('0xa6')][_0x4945('0xa9')]([_0x4945('0x16a'),_0x4945('0x17'),_0x4945('0xb1')],_0x86763f),_0x403b78[_0x4945('0xa6')][_0x4945('0xb6')]('data-suggestion',_0x86763f),_0x403b78[_0x4945('0x155')][_0x4945('0x88')](_0x86763f,_0x5f478b['markerName']));},{'priority':'high'});}),_0x46112c[_0x4945('0x78')][_0x4945('0x102')](_0x4945('0xf5'))[_0x4945('0x126')](_0x267c04=>{_0x267c04['on'](_0x4945('0x16'),(_0x578320,_0x5f5dab,_0x16765f)=>{const _0x14f7d3=_0x16765f['mapper']['markerNameToElements'](_0x5f5dab[_0x4945('0x4b')]);if(!_0x14f7d3)return;const {id:_0x150130}=this[_0x4945('0xf6')](_0x5f5dab[_0x4945('0x4b')]),_0x57cd43=this['_suggestions'][_0x4945('0x1f')](_0x150130),_0x3f46e4=this[_0x4945('0x168')](_0x57cd43);if(this[_0x4945('0xc8')](_0x3f46e4))for(const _0x294476 of _0x14f7d3)_0x294476['getCustomProperty'](_0x4945('0x6e'))||(_0x16765f[_0x4945('0xa6')][_0x4945('0xa9')]([_0x4945('0x16a'),'ck-suggestion-marker-formatBlock',_0x4945('0xb1')],_0x294476),_0x16765f['writer'][_0x4945('0xb6')](_0x4945('0x123'),_0x294476),_0x16765f['mapper'][_0x4945('0x88')](_0x294476,_0x5f5dab['markerName']));},{'priority':_0x4945('0x172')});}),_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x11f')](_0x36962e=>{let _0x298704=!0x1;const _0x50cb4c=Array[_0x4945('0x140')](_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x1')]['getChangedMarkers']()),_0xedaa92=new Set();for(const {name:_0x12bec4,data:_0x117a86}of _0x50cb4c){const {group:_0xf64953,type:_0xa016d4,subType:_0x410039,id:_0x5f5bac}=this[_0x4945('0xf6')](_0x12bec4);if('suggestion'!==_0xf64953)continue;const _0x455d18=this[_0x4945('0x15f')][_0x4945('0x1f')](_0x5f5bac);if(null!=_0x117a86[_0x4945('0xf1')]){'formatInline'==_0xa016d4&&(_0x298704=_0x298704||Et(_0x117a86[_0x4945('0xf1')],_0x12bec4,_0x36962e,_0x46112c[_0x4945('0xc9')]['schema']));const _0x2075a6='attribute'==_0xa016d4&&this['_isBlockAttribute'](_0x410039['split']('|')[0x0]);if(_0x117a86[_0x4945('0xf1')][_0x4945('0xdb')]||'$graveyard'==_0x117a86[_0x4945('0xf1')][_0x4945('0xe3')][_0x4945('0x60')]||_0x4945('0x7a')==_0xa016d4&&!jt(_0x117a86['newRange'])||_0x2075a6&&!jt(_0x117a86[_0x4945('0xf1')])||'deletion'==_0xa016d4&&!(!xt(_0x25c47d=_0x117a86['newRange'])&&!function(_0x26602c){return _0x26602c[_0x4945('0xcb')][_0x4945('0xa1')]==_0x26602c['end']['nodeBefore']&&_0x26602c[_0x4945('0xcb')][_0x4945('0x19')];}(_0x25c47d)))_0x36962e[_0x4945('0x16b')](_0x12bec4),_0x298704=!0x0;else{if(!_0x455d18||!_0x455d18[_0x4945('0x121')])continue;_0xedaa92[_0x4945('0x126')](_0x455d18);}}}var _0x25c47d;return _0xedaa92[_0x4945('0x151')]>0x0&&(_0x298704=!!this[_0x4945('0x2d')](_0xedaa92)||_0x298704),_0x298704;}),_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x11f')](_0x5b1ca6=>{let _0x43e0d7=!0x1;for(const _0x41c4ff of _0x46112c['model'][_0x4945('0xd4')]['differ'][_0x4945('0xdd')]())if(_0x4945('0x16f')==_0x41c4ff[_0x4945('0x45')])for(const _0x261837 of this[_0x4945('0x15f')][_0x4945('0xf4')]()){if(_0x261837[_0x4945('0x65')]||!_0x261837[_0x4945('0x121')])continue;const _0x206e57=_0x4945('0x7a')==_0x261837[_0x4945('0x45')],_0x34b816=this[_0x4945('0x168')](_0x261837),_0x1e4970=_0x34b816&&this[_0x4945('0xc8')](_0x34b816);if(!_0x206e57&&!_0x1e4970)continue;const _0x5838d2=_0x261837[_0x4945('0x49')]();if(_0x5838d2[_0x4945('0xcb')][_0x4945('0xa1')]!=_0x5838d2[_0x4945('0xb5')][_0x4945('0xa1')]&&!_0x5838d2[_0x4945('0xb5')]['isAtEnd']){const _0x3301ae=_0x46112c[_0x4945('0xc9')][_0x4945('0x6d')](_0x5838d2[_0x4945('0xcb')][_0x4945('0x71')],'end'),_0x87d0e2=_0x46112c[_0x4945('0xc9')]['createRange'](_0x5838d2['start'],_0x3301ae);_0x5b1ca6[_0x4945('0xb3')](_0x261837[_0x4945('0xee')](),{'range':_0x87d0e2}),_0x43e0d7=!0x0;}}return _0x43e0d7;}),_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x11f')](_0x17761f=>this[_0x4945('0xc6')](_0x17761f)),_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')]['registerPostFixer'](_0x5d0cf2=>!_0x5d0cf2['batch']['isLocal']&&this[_0x4945('0x106')](_0x5d0cf2)),_0x46112c['model'][_0x4945('0xe7')]['on'](_0x4945('0x62'),(_0x4ce7ef,_0x541e22,_0x28bfc7)=>{if(null==_0x28bfc7){const {id:_0x544e30}=this[_0x4945('0xf6')](_0x541e22['name']),_0x15bf65=this[_0x4945('0x15f')]['get'](_0x544e30);_0x15bf65&&_0x15bf65['addMarkerName'](_0x541e22[_0x4945('0xff')]);}}),_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')]['on'](_0x4945('0x72'),()=>{const _0x131c1a=Array[_0x4945('0x140')](_0x46112c[_0x4945('0xc9')][_0x4945('0xd4')]['differ']['getChangedMarkers']())[_0x4945('0x66')](_0x40244b=>_0x4945('0x68')===this[_0x4945('0xf6')](_0x40244b[_0x4945('0xff')])['group']);if(0x0===_0x131c1a['length'])return;_0x131c1a[_0x4945('0xbb')]((_0x1c57ee,_0x33ccf7)=>{const _0x5d5c27=_0x1c57ee[_0x4945('0x13')][_0x4945('0x13c')],_0xe4233e=_0x33ccf7[_0x4945('0x13')][_0x4945('0x13c')];return null===_0x5d5c27&&null===_0xe4233e?0x0:null===_0x5d5c27&&null!==_0xe4233e?-0x1:null!==_0x5d5c27&&null===_0xe4233e?0x1:_0x5d5c27[_0x4945('0xcb')]['isBefore'](_0xe4233e[_0x4945('0xcb')])?-0x1:0x1;});const _0xaf77f7=new Set(),_0x519f5b=new Set();for(const {name:_0x231dcf,data:_0x14960d}of _0x131c1a){const {id:_0x4743f8}=this[_0x4945('0xf6')](_0x231dcf);if(null===_0x14960d[_0x4945('0x13c')]){const _0x428653=this[_0x4945('0x39')](_0x231dcf);_0x519f5b['add'](_0x428653);}else{const _0x5bd6a2=this[_0x4945('0x15f')][_0x4945('0x1f')](_0x4743f8);null!==_0x14960d[_0x4945('0xf1')]||_0x5bd6a2[_0x4945('0x121')]?(_0xaf77f7[_0x4945('0x126')](_0x5bd6a2[_0x4945('0x138')]),_0x519f5b[_0x4945('0x126')](_0x5bd6a2)):this['_removeSuggestion'](_0x5bd6a2);}}_0x519f5b['size']>0x0&&this['_refreshSuggestionsChain'](_0x519f5b);for(const _0x460e2d of _0xaf77f7)this['fire'](_0x4945('0xaf'),_0x460e2d);}),_0x46112c[_0x4945('0xc9')]['on'](_0x4945('0x108'),(_0x2b2f8a,_0x1000cb)=>{const _0x152a10=_0x1000cb[0x0];if(!this[_0x4945('0x15f')][_0x4945('0x151')])return;if(!_0x152a10['isDocumentOperation'])return;if(_0x152a10[_0x4945('0x91')]['isUndo']||!_0x152a10['batch'][_0x4945('0x15a')])return;let _0x450b5f,_0x434624;switch(_0x152a10['type']){case _0x4945('0x16f'):_0x450b5f=_0x46112c[_0x4945('0xc9')][_0x4945('0x6d')](_0x152a10[_0x4945('0xb9')]),_0x434624=_0x450b5f[_0x4945('0x110')](_0x152a10[_0x4945('0xc0')]);break;case _0x4945('0x84'):_0x450b5f=_0x46112c['model']['createPositionAt'](_0x152a10[_0x4945('0x1a')]),_0x434624=_0x46112c[_0x4945('0xc9')][_0x4945('0x6d')](_0x152a10[_0x4945('0x165')]);break;case _0x4945('0x98'):_0x450b5f=_0x46112c[_0x4945('0xc9')][_0x4945('0x6d')](_0x152a10[_0x4945('0x95')]),_0x434624=_0x450b5f[_0x4945('0x110')](_0x152a10[_0x4945('0xc0')]);break;default:return;}const _0x2c02ea=_0x46112c[_0x4945('0xc9')][_0x4945('0x128')](_0x450b5f,_0x434624);_0x46112c[_0x4945('0xc9')]['change'](()=>{for(const {suggestion:_0x4d06d3,meta:_0x219dd4}of this[_0x4945('0x48')](_0x2c02ea)){if(_0x4d06d3[_0x4945('0x65')])continue;if(_0x4945('0x86')==_0x4d06d3['type'])continue;const _0x120564=this[_0x4945('0x168')](_0x4d06d3);if(_0x120564&&this[_0x4945('0xc8')](_0x120564)&&'split'!=_0x152a10[_0x4945('0x45')])continue;const _0x5e3ef7=_0x4d06d3[_0x4945('0x13')]&&_0x4d06d3[_0x4945('0x13')]['multipleBlocks'];(_0x4945('0x7a')!=_0x4d06d3[_0x4945('0x45')]||_0x4945('0x84')==_0x152a10[_0x4945('0x45')]&&!_0x5e3ef7)&&(_0x219dd4[_0x4945('0x5e')]||_0x4945('0x3c')==_0x4d06d3[_0x4945('0x45')]&&_0x219dd4[_0x4945('0x10')]||_0x4d06d3[_0x4945('0x49')]()['containsRange'](_0x2c02ea)&&this[_0x4945('0xbc')](_0x4d06d3,_0x450b5f,_0x434624));}});},{'priority':_0x4945('0xcd')}),_0x46112c['model']['on'](_0x4945('0xd1'),(_0x1266e1,_0x52bf01)=>{const _0x24e4c9=_0x52bf01[0x0],_0x9fd832=_0x52bf01[0x1];if(_0x9fd832&&_0x9fd832[_0x4945('0xdc')])return;if(this[_0x4945('0x87')])return;if(!this['trackChangesCommand']['value'])return;if(_0x24e4c9[_0x4945('0xdb')])return;const _0x3d3c07=_0x46112c[_0x4945('0xc9')][_0x4945('0x4')],{start:_0x5bece8,end:_0x3c7076}=_0x24e4c9[_0x4945('0x49')](),_0x58995f=_0x5bece8['nodeAfter']&&_0x3d3c07[_0x4945('0xfa')](_0x5bece8[_0x4945('0x71')])?null:_0x3d3c07[_0x4945('0x63')](_0x5bece8,_0x4945('0x7d')),_0x5091aa=_0x3c7076[_0x4945('0x58')]&&_0x3d3c07['isLimit'](_0x3c7076[_0x4945('0x58')])?null:_0x3d3c07['getNearestSelectionRange'](_0x3c7076,_0x4945('0xde')),_0x2816cc=_0x46112c[_0x4945('0xc9')]['createRange'](_0x58995f?_0x58995f[_0x4945('0xcb')]:_0x5bece8,_0x5091aa?_0x5091aa['end']:_0x3c7076);_0x46112c['model']['change'](_0x1b0139=>{this['markDeletion'](_0x2816cc);const _0x6c1ea1=_0x46112c[_0x4945('0xc9')][_0x4945('0x4')][_0x4945('0x63')](_0x2816cc[_0x4945('0xcb')]);_0x24e4c9['is'](_0x4945('0x92'))?_0x1b0139[_0x4945('0x143')](_0x6c1ea1):_0x24e4c9[_0x4945('0x152')](_0x6c1ea1);}),_0x1266e1[_0x4945('0x158')]();},{'priority':_0x588e74[_0x4945('0xa')]+0xa}),_0x46112c[_0x4945('0xc9')]['on']('insertContent',(_0x3c5cd1,_0x1fbc08)=>{const _0x3d3e68=_0x1fbc08[_0x1fbc08[_0x4945('0xb')]-0x1];_0x3d3e68&&_0x3d3e68[_0x4945('0xdc')]||this[_0x4945('0x87')]||this[_0x4945('0x9e')][_0x4945('0x163')]&&(_0x46112c[_0x4945('0xc9')][_0x4945('0x54')](()=>{let _0x3d2d18=_0x46112c[_0x4945('0xc9')]['insertContent'](_0x1fbc08[0x0],_0x1fbc08[0x1],_0x1fbc08[0x2],{'forceDefaultExecution':!0x0});if(!_0x3d2d18)return;_0x3c5cd1[_0x4945('0xb7')]=_0x3d2d18[_0x4945('0xda')]();const _0x232195=_0x3d2d18['end']['nodeBefore'],_0xede561=_0x46112c[_0x4945('0xc9')][_0x4945('0x4')];_0x232195&&_0xede561['isBlock'](_0x232195)&&!_0xede561[_0x4945('0x148')](_0x232195)&&(_0x3d2d18=_0x46112c[_0x4945('0xc9')]['createRange'](_0x3d2d18['start'],_0x46112c[_0x4945('0xc9')]['createPositionAt'](_0x232195,_0x4945('0xb5')))),this[_0x4945('0x15c')](_0x3d2d18);}),_0x3c5cd1['stop']());},{'priority':'high'}),this['editor'][_0x4945('0x15d')][_0x4945('0x126')]('trackChanges',this[_0x4945('0x9e')]),this[_0x4945('0xa7')](_0x4945('0xfe'));const _0x28a8fd=new _0x50a3f0(_0x46112c,this[_0x4945('0x15f')]);_0x46112c[_0x4945('0x15d')][_0x4945('0x126')](_0x4945('0x96'),_0x28a8fd),this[_0x4945('0xa7')](_0x4945('0x96'));const _0xed7d9c=new _0x194ff1(_0x46112c,this[_0x4945('0x15f')]);_0x46112c[_0x4945('0x15d')][_0x4945('0x126')](_0x4945('0x161'),_0xed7d9c),this[_0x4945('0xa7')](_0x4945('0x161')),_0x46112c[_0x4945('0x15d')][_0x4945('0x126')](_0x4945('0x1c'),new _0x19e01c(_0x46112c,_0x28a8fd,this[_0x4945('0x15f')])),this['enableCommand'](_0x4945('0x1c')),_0x46112c[_0x4945('0x15d')][_0x4945('0x126')](_0x4945('0x149'),new _0x19e01c(_0x46112c,_0xed7d9c,this[_0x4945('0x15f')])),this['enableCommand']('discardAllSuggestions'),_0x46112c[_0x4945('0x15d')][_0x4945('0x126')]('acceptSelectedSuggestions',new _0x46b208(_0x46112c,_0x28a8fd,this[_0x4945('0x15f')])),this[_0x4945('0xa7')]('acceptSelectedSuggestions'),_0x46112c[_0x4945('0x15d')][_0x4945('0x126')](_0x4945('0x74'),new _0x46b208(_0x46112c,_0xed7d9c,this['_suggestions'])),this['enableCommand'](_0x4945('0x74'));const _0x3e4909=_0x46112c[_0x4945('0x131')]['get'](_0x4945('0xb2'));this[_0x4945('0x175')](_0x3e4909,_0x4945('0x35'),(_0x5dd145,{threadId:_0x57b937})=>{const _0x1f47f3=this[_0x4945('0x15f')][_0x4945('0x1f')](_0x57b937);_0x1f47f3&&_0x1f47f3[_0x4945('0x52')]&&0x1===_0x1f47f3[_0x4945('0x52')][_0x4945('0xb')]&&this[_0x4945('0x94')](_0x57b937,{'hasComments':!0x0});},{'priority':_0x4945('0xc')}),this[_0x4945('0x175')](_0x3e4909,'removeComment',(_0x4f2bee,{threadId:_0x53c616})=>{const _0x572f1d=this[_0x4945('0x15f')][_0x4945('0x1f')](_0x53c616);_0x572f1d&&_0x572f1d['commentThread']&&!_0x572f1d['commentThread'][_0x4945('0xb')]&&this[_0x4945('0x94')](_0x53c616,{'hasComments':!0x1});},{'priority':_0x4945('0xc')});}set[_0x4945('0x169')](_0x335ba0){if(this[_0x4945('0xea')])throw new _0xc58421(_0x4945('0x15'),this);this[_0x4945('0xea')]=_0x335ba0;}get[_0x4945('0x169')](){return this[_0x4945('0xea')];}[_0x4945('0x13f')]({skipNotAttached:_0x11a8c1=!0x1,toJSON:_0x3c0e3b=!0x1}={}){const _0x234a90=[];for(const _0x4754d1 of this[_0x4945('0x15f')]['values']())_0x11a8c1&&!_0x4754d1[_0x4945('0x121')]||_0x234a90[_0x4945('0x114')](_0x4754d1);return _0x3c0e3b?_0x234a90[_0x4945('0x27')](_0x4eaf7e=>_0x4eaf7e[_0x4945('0x11d')]()):_0x234a90;}[_0x4945('0x144')](_0xa88b05){const _0x4e7f36=this['_suggestions']['get'](_0xa88b05);if(!_0x4e7f36)throw new _0xc58421(_0x4945('0x4f'),this);return _0x4e7f36;}[_0x4945('0x2c')](_0x23f006){return this[_0x4945('0x15f')][_0x4945('0x31')](_0x23f006);}[_0x4945('0xbe')](_0x5add03){const {authorId:_0x367e9d,id:_0x5b805c,attributes:_0x197ffc}=_0x5add03,[_0x1133ad,_0x329ac1]=_0x5add03[_0x4945('0x45')][_0x4945('0x84')](':'),_0x56c995=this[_0x4945('0x15f')][_0x4945('0x1f')](_0x5b805c)||this['_createSuggestion'](_0x1133ad,_0x329ac1,_0x5b805c,_0x367e9d,_0x197ffc);if(this[_0x4945('0x120')](_0x56c995),this['_checkSuggestionCorrectness'](_0x56c995,_0x1133ad,_0x329ac1||null,_0x367e9d),_0x56c995[_0x4945('0x14f')]=_0x5add03[_0x4945('0x14f')],_0x56c995['_isDataLoaded']=!0x0,_0x197ffc&&_0x197ffc['@external']){const _0x39c106=_0x197ffc[_0x4945('0x34')],_0x36a20a=this[_0x4945('0x14c')](_0x39c106[_0x4945('0xd5')]);_0x56c995[_0x4945('0x77')]=_0x39c106['createdAt'],_0x56c995[_0x4945('0xfb')]=_0x36a20a,_0x56c995[_0x4945('0x173')]=!0x0;}else _0x56c995['authoredAt']=_0x5add03[_0x4945('0x14f')];switch(_0x5add03['data']&&(_0x56c995[_0x4945('0x13')]=_0x5add03['data']),_0x5add03[_0x4945('0x136')]&&(_0x56c995[_0x4945('0x136')]=_0x5add03[_0x4945('0x136')]),this[_0x4945('0xea')]&&this['_adapter'][_0x4945('0xd')]||(_0x56c995[_0x4945('0x24')]=!0x0),this[_0x4945('0x153')][_0x4945('0x1f')](_0x56c995)){case _0x4945('0x111'):this[_0x4945('0x153')][_0x4945('0x11b')](_0x56c995,'dataReady');break;case _0x4945('0x16d'):_0x56c995[_0x4945('0x121')]?(this[_0x4945('0xa8')](new Set([_0x56c995])),this['_joinWithAdjacentSuggestions'](new Set([_0x56c995])),this[_0x4945('0x153')][_0x4945('0x11b')](_0x56c995,_0x4945('0x76')),this['fire'](_0x4945('0x4d'),_0x56c995)):this['_suggestionState'][_0x4945('0x11b')](_0x56c995,_0x4945('0x112'));}return _0x56c995;}[_0x4945('0x96')](_0xee87cf){this[_0x4945('0xdc')](()=>{this['editor']['model'][_0x4945('0x54')](()=>{for(const _0x1b625b of _0xee87cf[_0x4945('0xc2')]())_0x1b625b['accept']();});});}[_0x4945('0x161')](_0x385c40){this[_0x4945('0xdc')](()=>{this[_0x4945('0x47')][_0x4945('0xc9')][_0x4945('0x54')](()=>{for(const _0x4567b2 of _0x385c40[_0x4945('0xc2')]())_0x4567b2[_0x4945('0x5')]();});});}[_0x4945('0xa7')](_0x4395a1,_0x53bb4f){const _0x5065b5=this[_0x4945('0x47')][_0x4945('0x15d')][_0x4945('0x1f')](_0x4395a1);if(!_0x5065b5)throw new _0xc58421('track-changes-command-not-found',this,{'commandName':_0x4395a1});if(this['_enabledCommands'][_0x4945('0x31')](_0x5065b5))throw new _0xc58421('track-changes-enable-command-twice',this,{'commandName':_0x4395a1});this[_0x4945('0x7f')]['add'](_0x5065b5),_0x53bb4f&&_0x5065b5['on']('execute',(_0x4285c6,_0xa14ad0)=>{this[_0x4945('0x9e')][_0x4945('0x163')]&&(this[_0x4945('0x87')]||(_0xa14ad0[_0x4945('0xb')]>0x0&&_0xa14ad0[_0xa14ad0[_0x4945('0xb')]-0x1]&&_0xa14ad0[_0xa14ad0[_0x4945('0xb')]-0x1][_0x4945('0xdc')]?_0xa14ad0[_0x4945('0xd8')]():(_0x4285c6[_0x4945('0xb7')]=_0x53bb4f((..._0x9611c8)=>_0x5065b5['execute'](..._0x9611c8,{'forceDefaultExecution':!0x0}),..._0xa14ad0),_0x4285c6[_0x4945('0x158')]())));},{'priority':_0x4945('0x172')});}[_0x4945('0xdc')](_0x4a9827){let _0x4793a9,_0x308138;const _0x3c8cc7=this[_0x4945('0x87')];this[_0x4945('0x87')]=!0x0;try{_0x4793a9=_0x4a9827();}catch(_0x301060){_0x308138=_0x301060;}return _0x3c8cc7||(this[_0x4945('0x87')]=!0x1),_0x308138&&_0xc58421[_0x4945('0x1e')](_0x308138,this),_0x4793a9;}[_0x4945('0x15c')](_0x9dd3fa,_0x323189=null,_0x29fd74={}){if(_0x9dd3fa[_0x4945('0xdb')])return null;const _0x47958d=this[_0x4945('0x47')]['plugins'][_0x4945('0x1f')](_0x4945('0x118'))['me'];for(const {suggestion:_0x135f91,meta:_0x2d07b1}of this['_findSuggestions'](_0x9dd3fa,_0x4945('0x3c')))if(_0x2d07b1['isOwn']){if(!_0x2d07b1['isNextTo']){if(_0x2d07b1[_0x4945('0x5e')]){if(!this[_0x4945('0x8a')]||!Ft(_0x135f91,_0x29fd74))continue;return _0x135f91;}if(Ft(_0x135f91,_0x29fd74))return _0x135f91;this[_0x4945('0xbc')](_0x135f91,_0x9dd3fa['start'],_0x9dd3fa[_0x4945('0xb5')]);break;}if(_0x323189==_0x135f91['subType']&&Ft(_0x135f91,_0x29fd74)){const _0x45fb6f=_0x135f91['getFirstRange']();return _0x45fb6f[_0x4945('0xcb')][_0x4945('0x133')](_0x9dd3fa[_0x4945('0xb5')])?this[_0x4945('0x14b')](_0x135f91,this['_model'][_0x4945('0x128')](_0x9dd3fa[_0x4945('0xcb')],_0x45fb6f[_0x4945('0xb5')])):this[_0x4945('0x14b')](_0x135f91,this[_0x4945('0x12c')][_0x4945('0x128')](_0x45fb6f[_0x4945('0xcb')],_0x9dd3fa[_0x4945('0xb5')])),_0x135f91;}}const _0x3cb51b=_0x392fef(),_0x2a7189=_0x47958d['id'],_0x142301=_0x323189?_0x4945('0xf2')+_0x323189:_0x4945('0x3c'),_0x530de3=this[_0x4945('0x10a')]({'id':_0x3cb51b,'type':_0x142301,'createdAt':new Date(),'authorId':_0x2a7189,'attributes':_0x29fd74});return this[_0x4945('0xae')](_0x142301,_0x3cb51b,_0x2a7189,_0x9dd3fa),_0x530de3;}[_0x4945('0x0')](_0x59fb81,_0x246476=_0x4945('0xe4'),_0x559bcb={}){const _0x29ad54=this[_0x4945('0x47')][_0x4945('0x131')][_0x4945('0x1f')](_0x4945('0x118'))['me'],_0x332f43=this[_0x4945('0x13b')][_0x4945('0x81')]('insertion',_0x246476,'join');for(const _0xb2a937 of this[_0x4945('0x13f')]())if(_0xb2a937['author']['id']==_0x29ad54['id']&&'insertion'==_0xb2a937[_0x4945('0x45')]&&_0xb2a937[_0x4945('0x43')]==_0x246476&&Ft(_0xb2a937,_0x559bcb)&&(_0x332f43(_0xb2a937[_0x4945('0xd2')](),_0x59fb81)||_0x332f43(_0x59fb81,_0xb2a937[_0x4945('0xd2')]()))){for(const _0x488bcc of _0x59fb81)_0xb2a937[_0x4945('0xce')](_0x488bcc);return _0xb2a937;}for(const {suggestion:_0x26941e,meta:_0x10248f}of this[_0x4945('0x48')](_0x59fb81,_0x4945('0x3c'))){if(!_0x10248f[_0x4945('0x10')])continue;if(!this[_0x4945('0x8a')]&&_0x10248f['containsRangeInObject'])continue;if(!Ft(_0x26941e,_0x559bcb))continue;let _0x363133=!0x0;for(const _0x3d3ae7 of _0x26941e[_0x4945('0xd2')]())for(const _0x414266 of _0x59fb81)if(!_0x3d3ae7[_0x4945('0x3a')](_0x414266)){_0x363133=!0x1;break;}if(_0x363133)return _0x26941e;}const _0x5f5770=_0x392fef(),_0x118bce=_0x29ad54['id'],_0xcb7f60=_0x4945('0xf2')+_0x246476,_0x13d69e=this[_0x4945('0x10a')]({'id':_0x5f5770,'type':_0xcb7f60,'createdAt':new Date(),'authorId':_0x118bce,'attributes':_0x559bcb});for(const _0x4de093 of _0x59fb81)this[_0x4945('0xae')](_0xcb7f60,_0x5f5770,_0x118bce,_0x4de093,_0x7eae24[_0x4945('0xf9')]());return _0x13d69e;}[_0x4945('0x177')](_0x5b24bc,_0x3817ff,_0x57065d=null,_0x16e8dd={}){if(_0x57065d=_0x57065d||Rt(_0x3817ff),_0x5b24bc[_0x4945('0xdb')])return null;if(_0x4945('0x9a')===this['_trackFormatChanges']){const _0x4eec11=this[_0x4945('0x13b')]['getSuggestionCallback'](_0x4945('0x86'),_0x57065d,_0x4945('0x53'));return this[_0x4945('0xdc')](()=>_0x4eec11([_0x5b24bc],_0x3817ff,_0x16e8dd)),null;}const _0x345b4f=this['editor'][_0x4945('0x131')][_0x4945('0x1f')](_0x4945('0x118'))['me'],_0x1ee957=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x13bc86,meta:_0x57acb2}of this['_findSuggestions'](_0x5b24bc,_0x4945('0x3c')))_0x57acb2[_0x4945('0x10')]&&!_0x57acb2[_0x4945('0x15e')]&&_0x1ee957[_0x4945('0x114')](..._0x13bc86[_0x4945('0xd2')]());const _0x385544=function(_0x50e839,_0x54d884){const _0x5f16cd=[];for(const _0x85d928 of _0x54d884){const _0x35b2d6=_0x50e839['getIntersection'](_0x85d928);_0x35b2d6&&_0x5f16cd['push'](_0x35b2d6);}return _0x5f16cd;}(_0x5b24bc,_0x1ee957),_0x467ec3=function(_0xa6b158,_0x157cc0){const _0x44f1f5=[_0xa6b158];for(const _0x3adf50 of _0x157cc0){let _0x407288=0x0;for(;_0x407288<_0x44f1f5[_0x4945('0xb')];){const _0x49924a=_0x44f1f5[_0x407288][_0x4945('0x14')](_0x3adf50);_0x44f1f5[_0x4945('0x2')](_0x407288,0x1,..._0x49924a),_0x407288+=_0x49924a[_0x4945('0xb')];}}return _0x44f1f5;}(_0x5b24bc,_0x1ee957);_0x385544[_0x4945('0xb')]&&this[_0x4945('0x12c')][_0x4945('0x54')](()=>{for(const _0x57ccc9 of _0x385544){const _0x204875=this[_0x4945('0x13b')][_0x4945('0x81')](_0x4945('0x86'),_0x57065d,_0x4945('0x53'));this[_0x4945('0xdc')](()=>_0x204875([_0x57ccc9],_0x3817ff,_0x16e8dd));}});for(const _0x125986 of _0x467ec3){let _0x18a380=null,_0x21e827=_0x125986[_0x4945('0xcb')],_0x2cfc90=_0x125986['end'];for(const {suggestion:_0x53c4dc,meta:_0x3a3fb0}of this[_0x4945('0x48')](_0x125986,_0x4945('0x86'))){if(!_0x3a3fb0[_0x4945('0x10')])continue;if(_0x53c4dc['subType']!=_0x57065d)continue;if(!Ft(_0x53c4dc,_0x16e8dd))continue;const _0x944fc0=_0x53c4dc['getFirstRange']();if(_0x944fc0[_0x4945('0x3a')](_0x125986,!0x0))return null;_0x21e827=_0x21e827['isBefore'](_0x944fc0['start'])?_0x21e827:_0x944fc0[_0x4945('0xcb')],_0x2cfc90=_0x2cfc90[_0x4945('0xc7')](_0x944fc0[_0x4945('0xb5')])?_0x2cfc90:_0x944fc0[_0x4945('0xb5')],_0x18a380?_0x944fc0[_0x4945('0xcb')][_0x4945('0x99')](_0x18a380[_0x4945('0x49')]()[_0x4945('0xcb')])?(_0x18a380[_0x4945('0x23')](),_0x18a380=_0x53c4dc):_0x53c4dc[_0x4945('0x23')]():_0x18a380=_0x53c4dc;}const _0x533626=this[_0x4945('0x12c')][_0x4945('0x128')](_0x21e827,_0x2cfc90);if(_0x18a380)this[_0x4945('0x14b')](_0x18a380,_0x533626);else{const _0x4b9dcb=_0x392fef(),_0x44c7ee=_0x345b4f['id'];this[_0x4945('0x10a')]({'id':_0x4b9dcb,'type':_0x4945('0x127')+_0x57065d,'data':_0x3817ff,'createdAt':new Date(),'authorId':_0x44c7ee,'attributes':_0x16e8dd}),this['_addSuggestionMarker'](_0x4945('0x127')+_0x57065d,_0x4b9dcb,_0x44c7ee,_0x533626);}}return null;}[_0x4945('0xd0')](_0x2f4cc9,_0x31bcbb,_0x3309fa=[],_0x364344=null,_0x43ed13={}){_0x31bcbb[_0x4945('0x154')]||(_0x31bcbb['formatGroupId']=_0x31bcbb[_0x4945('0x166')]),_0x31bcbb['multipleBlocks']=_0x2f4cc9['is'](_0x4945('0x9')),_0x364344=_0x364344||Rt(_0x31bcbb);const _0x2041d1=_0x3309fa[_0x4945('0x27')](_0x3306ba=>Ut(_0x3306ba,this[_0x4945('0x12c')])),_0x3ca0aa=_0x2f4cc9['is'](_0x4945('0x9'))?_0x2f4cc9:Ut(_0x2f4cc9,this[_0x4945('0x12c')]);if(_0x4945('0x9a')===this['_trackFormatChanges']){const _0x105aba=this[_0x4945('0x13b')][_0x4945('0x81')](_0x4945('0x7a'),_0x364344,'accept');return this[_0x4945('0xdc')](()=>_0x105aba([_0x3ca0aa],_0x31bcbb,_0x43ed13)),null;}_0x2041d1[_0x4945('0x114')](_0x3ca0aa);let _0x2ec913=!0x0;for(const _0x27f789 of _0x2041d1)if(!this[_0x4945('0x100')](_0x27f789)){_0x2ec913=!0x1;break;}if(_0x2ec913&&_0x4945('0x44')!==this[_0x4945('0x125')]){const _0xadbfc3=this[_0x4945('0x13b')][_0x4945('0x81')]('formatBlock',_0x364344,_0x4945('0x53'));return this[_0x4945('0xdc')](()=>_0xadbfc3([_0x3ca0aa],_0x31bcbb,_0x43ed13)),null;}let _0x1eb748=null,_0x3c5894=_0x3ca0aa['start'],_0x5a0147=_0x3ca0aa[_0x4945('0xb5')];for(const {suggestion:_0x1726ea,meta:_0x2792c6}of this[_0x4945('0x48')](_0x3ca0aa,'formatBlock')){if(!_0x2792c6[_0x4945('0x10')])continue;if(_0x2792c6[_0x4945('0x5c')]||_0x2792c6[_0x4945('0x5e')]||_0x2792c6[_0x4945('0x15e')])continue;if(_0x1726ea['data']['formatGroupId']!=_0x31bcbb['formatGroupId'])continue;if(!Ft(_0x1726ea,_0x43ed13))continue;const _0xda127d=_0x1726ea[_0x4945('0x49')]();if(_0x1726ea[_0x4945('0x43')]==_0x364344){if(_0xda127d[_0x4945('0x3a')](_0x3ca0aa,!0x0))return null;_0x3c5894=_0x3c5894[_0x4945('0x99')](_0xda127d[_0x4945('0xcb')])?_0x3c5894:_0xda127d[_0x4945('0xcb')],_0x5a0147=_0x5a0147[_0x4945('0xc7')](_0xda127d[_0x4945('0xb5')])?_0x5a0147:_0xda127d[_0x4945('0xb5')],_0x1eb748?_0xda127d[_0x4945('0xcb')][_0x4945('0x99')](_0x1eb748[_0x4945('0x49')]()[_0x4945('0xcb')])?(_0x1eb748[_0x4945('0x23')](),_0x1eb748=_0x1726ea):_0x1726ea[_0x4945('0x23')]():_0x1eb748=_0x1726ea;}else{const _0x1ea299=_0x3ca0aa[_0x4945('0x59')](_0xda127d);this[_0x4945('0x170')](_0x1726ea,_0x1ea299);}}const _0x5b0292=this[_0x4945('0x47')][_0x4945('0x131')][_0x4945('0x1f')]('Users')['me'],_0x9929c7=_0x392fef(),_0x236efd=_0x5b0292['id'];if(_0x1eb748)return this[_0x4945('0x14b')](_0x1eb748,this[_0x4945('0x12c')][_0x4945('0x128')](_0x3c5894,_0x5a0147)),_0x1eb748;{const _0x18cdf7=this[_0x4945('0x10a')]({'id':_0x9929c7,'type':_0x4945('0x82')+_0x364344,'data':_0x31bcbb,'createdAt':new Date(),'authorId':_0x236efd,'attributes':_0x43ed13});return this[_0x4945('0xae')](_0x4945('0x82')+_0x364344,_0x9929c7,_0x236efd,this[_0x4945('0x12c')]['createRange'](_0x3c5894,_0x5a0147)),_0x18cdf7;}}[_0x4945('0x1b')](_0x35f04d,_0x73676b,_0x5a7cbe=[],_0x20a920=null,_0x37389b={}){_0x73676b[_0x4945('0x154')]||(_0x73676b[_0x4945('0x154')]=_0x73676b['commandName']);const _0x3550d4=_0x35f04d[0x0];_0x73676b[_0x4945('0x171')]=_0x3550d4['is'](_0x4945('0x9')),_0x20a920=_0x20a920||Rt(_0x73676b);const _0x5861eb=_0x5a7cbe[_0x4945('0x27')](_0x518e49=>Ut(_0x518e49,this['_model'])),_0x12d6de=_0x3550d4['is'](_0x4945('0x9'))?_0x35f04d:_0x35f04d[_0x4945('0x27')](_0x4c4396=>Ut(_0x4c4396,this[_0x4945('0x12c')]));if(_0x4945('0x9a')===this[_0x4945('0x125')]){const _0x4b62cc=this[_0x4945('0x13b')][_0x4945('0x81')](_0x4945('0x7a'),_0x20a920,_0x4945('0x53'));return this['forceDefaultExecution'](()=>_0x4b62cc(_0x12d6de,_0x73676b,_0x37389b)),null;}_0x5861eb[_0x4945('0x114')](..._0x12d6de);let _0x67fcd5=!0x0;for(const _0x6bee14 of _0x5861eb)if(!this['_rangeIsInLocalUserInsertion'](_0x6bee14)){_0x67fcd5=!0x1;break;}if(_0x67fcd5&&'always'!==this['_trackFormatChanges']){const _0x294f61=this['_suggestionFactory'][_0x4945('0x81')](_0x4945('0x7a'),_0x20a920,_0x4945('0x53'));return this[_0x4945('0xdc')](()=>_0x294f61(_0x12d6de,_0x73676b,_0x37389b)),null;}const _0x250c6c=this[_0x4945('0x47')][_0x4945('0x131')][_0x4945('0x1f')](_0x4945('0x118'))['me'];for(const _0x40af12 of this[_0x4945('0x13f')]()){if(_0x40af12[_0x4945('0xfb')]['id']!=_0x250c6c['id'])continue;if(_0x4945('0x7a')!=_0x40af12[_0x4945('0x45')]||_0x40af12[_0x4945('0x13')]['formatGroupId']!=_0x73676b[_0x4945('0x154')])continue;if(!Ft(_0x40af12,_0x37389b))continue;const _0xd28c60=_0x40af12['subType']==_0x20a920;for(let _0x3d16a8=0x0;_0x3d16a8<_0x12d6de['length'];_0x3d16a8++){const _0x4883b7=_0x12d6de[_0x3d16a8];for(const _0x2c685a of _0x40af12['getMarkers']()){const _0x3f69d1=_0x2c685a[_0x4945('0xd6')]();if(_0x4883b7['isEqual'](_0x3f69d1)){_0xd28c60?(_0x12d6de[_0x4945('0x2')](_0x3d16a8,0x1),_0x3d16a8--):_0x40af12[_0x4945('0x16b')](_0x2c685a['name']);break;}}}}if(0x0==_0x12d6de['length'])return null;const _0x5c5766=this[_0x4945('0x13b')]['getSuggestionCallback']('formatBlock',_0x20a920,'join');for(const _0x98264 of this[_0x4945('0x13f')]())if(_0x98264[_0x4945('0xfb')]['id']==_0x250c6c['id']&&_0x4945('0x7a')==_0x98264[_0x4945('0x45')]&&_0x98264[_0x4945('0x13')]['formatGroupId']==_0x73676b[_0x4945('0x154')]&&_0x98264[_0x4945('0x43')]==_0x20a920&&Ft(_0x98264,_0x37389b)&&(_0x5c5766(_0x98264[_0x4945('0xd2')](),_0x12d6de)||_0x5c5766(_0x12d6de,_0x98264[_0x4945('0xd2')]()))){for(const _0x425c24 of _0x12d6de)_0x98264['addRange'](_0x425c24);return _0x98264;}const _0x1b1c8f=_0x392fef(),_0xdfe5=_0x250c6c['id'],_0x183894=_0x4945('0x82')+_0x20a920,_0x24861d=this[_0x4945('0x10a')]({'id':_0x1b1c8f,'type':_0x183894,'data':_0x73676b,'createdAt':new Date(),'authorId':_0xdfe5,'attributes':_0x37389b});for(const _0x1ea834 of _0x12d6de)this['_addSuggestionMarker'](_0x183894,_0x1b1c8f,_0xdfe5,_0x1ea834,_0x7eae24['getMultiRangeId']());return _0x24861d;}[_0x4945('0xac')](_0x353895,_0x359359=null,_0x19ee3e={}){if(_0x353895[_0x4945('0xdb')])return null;const _0x4d6257=this[_0x4945('0x47')]['plugins'][_0x4945('0x1f')](_0x4945('0x118'))['me'],_0x57e099=new _0x4c2a3d(_0x353895['start'],_0x353895['end']);for(const {suggestion:_0x374da4,meta:_0x42c3c1}of this[_0x4945('0x48')](_0x57e099,_0x4945('0x3c')))if(_0x42c3c1[_0x4945('0x10')]&&!_0x42c3c1[_0x4945('0x5c')]){if(_0x374da4[_0x4945('0x65')]){const _0x1c5cdb=_0x374da4[_0x4945('0xd2')]()[_0x4945('0x66')](_0x578210=>_0x4945('0x20')!=_0x578210[_0x4945('0xe3')]['rootName']);_0x1c5cdb[_0x4945('0x11')](_0x28ec2c=>_0x57e099[_0x4945('0x3a')](_0x28ec2c,!0x0))&&_0x374da4[_0x4945('0x5')]();if(_0x1c5cdb[_0x4945('0xb0')](_0xac2f04=>_0xac2f04[_0x4945('0x3a')](_0x57e099,!0x0))){const _0x8c6c0d=this[_0x4945('0x13b')][_0x4945('0x81')]('deletion',_0x359359,_0x4945('0x53'));return this[_0x4945('0xdc')](()=>_0x8c6c0d([_0x57e099],null,_0x19ee3e)),null;}}else{const _0x2e70bb=_0x57e099[_0x4945('0x59')](_0x374da4[_0x4945('0x49')]());null!==_0x2e70bb&&_0x374da4['_onDiscard']([_0x2e70bb],null,_0x19ee3e);}}if(_0x57e099[_0x4945('0x80')](),_0x57e099[_0x4945('0xdb')]||_0x4945('0x20')==_0x57e099[_0x4945('0xe3')][_0x4945('0x60')])return null;let _0x130d23=null,_0x26c8a1=_0x57e099['start'],_0xdb001c=_0x57e099[_0x4945('0xb5')];const _0xce625b=this['_findSuggestions'](_0x57e099,'deletion');for(const {suggestion:_0x4fa014,meta:_0x15783a}of _0xce625b){const _0x248122=this['_model'][_0x4945('0x128')](_0x26c8a1,_0xdb001c);if(_0x15783a['isOwn']&&(this[_0x4945('0x8a')]||!_0x15783a['containsRangeInObject']&&!_0x15783a['isInsideObject'])){if(_0x4fa014[_0x4945('0x65')]){if(!Ft(_0x4fa014,_0x19ee3e))continue;let _0x285d9f=!0x0;for(const _0x5601c4 of _0x4fa014[_0x4945('0xd2')]()){if(_0x5601c4[_0x4945('0x3a')](_0x248122,!0x0))return _0x4fa014;_0x248122[_0x4945('0x3a')](_0x5601c4)||(_0x285d9f=!0x1);}_0x285d9f&&_0x4fa014[_0x4945('0x5')]();}else{const _0x3ad766=_0x4fa014['getFirstRange']();if(_0x3ad766[_0x4945('0x3a')](_0x248122,!0x0))return _0x4fa014;if(!Ft(_0x4fa014,_0x19ee3e)){_0x248122[_0x4945('0x3a')](_0x3ad766)?_0x4fa014[_0x4945('0x23')]():_0x3ad766[_0x4945('0x75')](_0x26c8a1)?_0x26c8a1=_0x3ad766[_0x4945('0xb5')]:_0x3ad766[_0x4945('0x75')](_0xdb001c)&&(_0xdb001c=_0x3ad766['start']);continue;}_0x26c8a1=_0x26c8a1[_0x4945('0x99')](_0x3ad766[_0x4945('0xcb')])?_0x26c8a1:_0x3ad766['start'],_0xdb001c=_0xdb001c[_0x4945('0xc7')](_0x3ad766[_0x4945('0xb5')])?_0xdb001c:_0x3ad766[_0x4945('0xb5')],_0x19ee3e=Object[_0x4945('0x2a')]({},_0x4fa014[_0x4945('0x136')]),_0x130d23?_0x3ad766[_0x4945('0xcb')][_0x4945('0x99')](_0x130d23['getFirstRange']()[_0x4945('0xcb')])?(_0x130d23[_0x4945('0x23')](),_0x130d23=_0x4fa014):_0x4fa014[_0x4945('0x23')]():_0x130d23=_0x4fa014;}}}if(_0x130d23)return this[_0x4945('0x14b')](_0x130d23,this[_0x4945('0x12c')]['createRange'](_0x26c8a1,_0xdb001c)),_0x130d23;{const _0x5c8343=_0x392fef(),_0x57856e=this['_model']['createRange'](_0x26c8a1,_0xdb001c),_0x368bad=_0x4d6257['id'],_0x47cf13=_0x359359?_0x4945('0x142')+_0x359359:'deletion',_0x46d7a3=this[_0x4945('0x10a')]({'id':_0x5c8343,'type':_0x47cf13,'createdAt':new Date(),'authorId':_0x368bad,'attributes':_0x19ee3e});return this['_addSuggestionMarker'](_0x47cf13,_0x5c8343,_0x368bad,_0x57856e),_0x46d7a3;}}[_0x4945('0x2b')](_0x5223de,_0x192885=_0x4945('0xe4'),_0x226086={}){const _0x55a006=this[_0x4945('0x47')][_0x4945('0x131')][_0x4945('0x1f')](_0x4945('0x118'))['me'],_0x42756e=_0x5223de['map'](_0x5f219b=>new _0x4c2a3d(_0x5f219b['start'],_0x5f219b[_0x4945('0xb5')])),_0x2d137b=new Set();for(const {suggestion:_0x49ddc9,meta:_0x1c2a40}of this[_0x4945('0x48')](_0x42756e,_0x4945('0x3c')))_0x1c2a40[_0x4945('0x10')]&&!_0x1c2a40[_0x4945('0x5c')]&&_0x2d137b[_0x4945('0x126')](_0x49ddc9);for(const _0x4981e0 of _0x2d137b)if(_0x4981e0['isMultiRange']){const _0x12d2d2=_0x4981e0['getRanges']();(!_0x4981e0['attributes']||!_0x4981e0[_0x4945('0x136')][_0x4945('0x50')])&&(_0x12d2d2[_0x4945('0x11')](_0x785ec=>_0x42756e[_0x4945('0xb0')](_0x18c91d=>_0x18c91d['containsRange'](_0x785ec,!0x0)))&&_0x4981e0[_0x4945('0x5')]());if(_0x42756e['every'](_0x1e072c=>_0x12d2d2[_0x4945('0xb0')](_0x5b5527=>_0x5b5527[_0x4945('0x3a')](_0x1e072c,!0x0)))){const _0x2f095c=this[_0x4945('0x13b')][_0x4945('0x81')](_0x4945('0x3d'),_0x192885,_0x4945('0x53'));return this['forceDefaultExecution'](()=>_0x2f095c(_0x5223de,null,_0x226086)),null;}}else{const _0x2c8144=_0x4981e0['getFirstRange']();_0x42756e[_0x4945('0xb0')](_0x322b2e=>_0x322b2e[_0x4945('0x3a')](_0x2c8144,!0x0))&&_0x4981e0[_0x4945('0x5')]();if(_0x42756e[_0x4945('0x11')](_0x4e890c=>_0x2c8144[_0x4945('0x3a')](_0x4e890c,!0x0))){const _0x5b2100=this[_0x4945('0x13b')][_0x4945('0x81')](_0x4945('0x3d'),_0x192885,_0x4945('0x53'));return this[_0x4945('0xdc')](()=>_0x5b2100(_0x42756e,null,_0x226086)),null;}}const _0x2065b9=this[_0x4945('0x13b')][_0x4945('0x81')](_0x4945('0x3d'),_0x192885,_0x4945('0x85'));let _0x3d5825=null;for(const _0xd49690 of this[_0x4945('0x13f')]())if(_0xd49690[_0x4945('0xfb')]['id']==_0x55a006['id']&&_0xd49690[_0x4945('0x121')]&&_0x4945('0x3d')==_0xd49690[_0x4945('0x45')]&&_0xd49690[_0x4945('0x43')]==_0x192885&&Ft(_0xd49690,_0x226086)&&(_0x2065b9(_0xd49690['getRanges'](),_0x42756e)||_0x2065b9(_0x42756e,_0xd49690[_0x4945('0xd2')]()))){if(_0x3d5825){if(_0xd49690['commentThread']&&_0xd49690[_0x4945('0x52')][_0x4945('0xb')])continue;for(const _0x547308 of _0xd49690[_0x4945('0xd2')]())_0x3d5825[_0x4945('0x5d')](_0x547308)||_0x3d5825[_0x4945('0xce')](_0x547308);_0xd49690[_0x4945('0x23')]();}else{_0x3d5825=_0xd49690;for(const _0x222e23 of _0x42756e)_0xd49690['isIntersectingWithRange'](_0x222e23)||_0xd49690[_0x4945('0xce')](_0x222e23);}}if(_0x3d5825)return _0x3d5825;_0x2d137b[_0x4945('0x11a')]();for(const {suggestion:_0x108daf,meta:_0x21d973}of this['_findSuggestions'](_0x42756e,'deletion'))_0x21d973['isOwn']&&(this[_0x4945('0x8a')]||!_0x21d973[_0x4945('0x5e')]&&!_0x21d973[_0x4945('0x15e')])&&Ft(_0x108daf,_0x226086)&&_0x2d137b['add'](_0x108daf);for(const _0x1fd500 of _0x2d137b){const _0x435edd=_0x1fd500['getRanges']();if(!_0x226086||!_0x226086[_0x4945('0x50')]){if(_0x42756e['every'](_0x5cb32c=>_0x435edd[_0x4945('0xb0')](_0xf48a04=>_0xf48a04[_0x4945('0x3a')](_0x5cb32c,!0x0))))return _0x1fd500;}(!_0x1fd500[_0x4945('0x136')]||!_0x1fd500[_0x4945('0x136')][_0x4945('0x50')])&&(_0x435edd[_0x4945('0x11')](_0x33b4fb=>_0x42756e[_0x4945('0xb0')](_0x452aed=>_0x452aed['containsRange'](_0x33b4fb,!0x0)))&&_0x1fd500[_0x4945('0x5')]());}const _0x57e1a9=_0x392fef(),_0x16493d=_0x55a006['id'],_0x26a9d0='deletion:'+_0x192885,_0xf56ff3=this[_0x4945('0x10a')]({'id':_0x57e1a9,'type':_0x26a9d0,'createdAt':new Date(),'authorId':_0x16493d,'attributes':_0x226086});for(const _0x232643 of _0x42756e)_0x232643[_0x4945('0x80')](),_0x232643['isCollapsed']||'$graveyard'==_0x232643[_0x4945('0xe3')][_0x4945('0x60')]||this[_0x4945('0xae')](_0x26a9d0,_0x57e1a9,_0x16493d,_0x232643,_0x7eae24[_0x4945('0xf9')]());return _0xf56ff3;}['markAttributeChange'](_0x1706fd,_0x56070f,_0xc067cf,_0x5ba37c,_0x57a7e4){if(_0x1706fd[_0x4945('0xdb')])return[];if(_0x4945('0x9a')===this['_trackFormatChanges'])return[];const _0x4a4d55=this[_0x4945('0x47')]['plugins'][_0x4945('0x1f')](_0x4945('0x118'))['me']['id'],_0x14db6a=Array[_0x4945('0x140')](this[_0x4945('0x15f')][_0x4945('0xf4')]())[_0x4945('0x66')](_0x4d07d1=>_0x4945('0xc4')==_0x4d07d1[_0x4945('0x45')]&&_0x4d07d1[_0x4945('0x13')]['key']==_0x56070f&&_0x4d07d1[_0x4945('0x5d')](_0x1706fd));if('default'===this[_0x4945('0x125')]){const _0x1bb061=this[_0x4945('0x48')](_0x1706fd,_0x4945('0x3c'))[_0x4945('0x66')](({meta:_0x121a82})=>_0x121a82[_0x4945('0x10')]&&!_0x121a82[_0x4945('0x15e')]&&!_0x121a82[_0x4945('0x5c')])[_0x4945('0x27')](({suggestion:_0x37a2ef})=>_0x37a2ef);_0x14db6a[_0x4945('0x16e')](..._0x1bb061);}const _0x4fbfa0=new Map([[_0x1706fd,_0xc067cf]]);for(const _0x3f0306 of _0x14db6a){const _0x50250b=_0x4945('0xc4')==_0x3f0306['type']?_0x3f0306[_0x4945('0x13')][_0x4945('0x12f')]:void 0x0,_0x3c90bc=_0x3f0306[_0x4945('0x49')](),_0x43fc4e=Array[_0x4945('0x140')](_0x4fbfa0[_0x4945('0x164')]())[_0x4945('0x10c')](_0x1221c0=>_0x1221c0[_0x4945('0x109')](_0x3c90bc));if(!_0x43fc4e)continue;const _0x22e1fc=_0x43fc4e[_0x4945('0x14')](_0x3c90bc);this['_isBlockAttribute'](_0x56070f)&&_0x4945('0x3c')==_0x3f0306['type']&&0x0!=_0x22e1fc['length']||(_0x4fbfa0['delete'](_0x43fc4e),_0x22e1fc[_0x4945('0x139')](_0xa6b90f=>{_0x4fbfa0[_0x4945('0x11b')](_0xa6b90f,_0xc067cf);}),_0x4945('0x3c')!=_0x3f0306[_0x4945('0x45')]&&_0x50250b!=_0x5ba37c&&_0x4fbfa0['set'](_0x43fc4e[_0x4945('0x59')](_0x3c90bc),_0x50250b));}const _0x2b5ad0=[];for(const [_0x309ffc,_0x25bb21]of _0x4fbfa0){const _0x52d7d1=_0x392fef(),_0x4419fb={'key':_0x56070f,'oldValue':_0x25bb21,'newValue':_0x5ba37c};_0x56070f['length']>0x25&&console['warn']('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':_0x56070f});const _0xefe63f=(_0x4945('0x73')+(_0x56070f+'|'+Rt({'newValue':_0x5ba37c})))[_0x4945('0xc1')](0x0,0x3c),_0x15cb22=this['_setSuggestionData']({'id':_0x52d7d1,'type':_0xefe63f,'data':_0x4419fb,'createdAt':new Date(),'authorId':_0x4a4d55,'attributes':_0x57a7e4});_0x2b5ad0['push'](_0x15cb22),this[_0x4945('0xae')](_0xefe63f,_0x52d7d1,_0x4a4d55,_0x309ffc);}return _0x2b5ad0;}[_0x4945('0xa4')](_0x3bbded){this['_blockAttributeKeys'][_0x4945('0x126')](_0x3bbded);}['_registerInlineAttribute'](_0x38749b){this[_0x4945('0x113')][_0x4945('0x126')](_0x38749b);}['_enableDefaultAttributesIntegration'](_0x51f4f4,_0x152855=[],_0x3a4150=[]){this['enableCommand'](_0x51f4f4,(_0x3ec604,..._0xdf6658)=>{this[_0x4945('0x9b')](()=>{_0x3ec604(..._0xdf6658);});});for(const _0x36be8b of _0x152855)this[_0x4945('0x6b')](_0x36be8b);for(const _0x3be426 of _0x3a4150)this['_registerBlockAttribute'](_0x3be426);}['_setSuggestionRange'](_0x34f091,_0x1b0950){const _0x4f7fc0=_0x34f091[_0x4945('0xee')]();this[_0x4945('0x12c')][_0x4945('0x54')](_0x54f7a8=>{_0x54f7a8['updateMarker'](_0x4f7fc0,{'range':_0x1b0950});});}['_addThreadToSuggestion'](_0x41dd61){const _0x5f234c=_0x41dd61['id'],_0x256551=this[_0x4945('0x47')][_0x4945('0x10e')][_0x4945('0x1f')](_0x4945('0xba'));this[_0x4945('0x7e')][_0x4945('0x5b')](_0x5f234c)||this[_0x4945('0x7e')][_0x4945('0x3f')]({'channelId':_0x256551,'threadId':_0x5f234c,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x12763c=this['_commentsRepository']['getCommentThread'](_0x5f234c);_0x12763c['unbind'](_0x4945('0x162')),_0x12763c[_0x4945('0x162')]=!0x1,_0x41dd61['commentThread']=_0x12763c;}[_0x4945('0x5a')](_0x4cacd3,_0x3185a1,_0x381a49,_0x3ebc2d){if(_0x4cacd3[_0x4945('0x45')]!=_0x3185a1||_0x4cacd3[_0x4945('0x43')]!=_0x381a49||_0x4cacd3[_0x4945('0x7c')]['id']!=_0x3ebc2d)throw this['editor'][_0x4945('0x2e')]('track-changes-suggestion-data-mismatch'),new _0xc58421(_0x4945('0xf3'),this);}['_cutOutSuggestionMarker'](_0x221135,_0x3ae40b){const _0x6baf8a=_0x221135[_0x4945('0x49')]();if(_0x3ae40b[_0x4945('0x133')](_0x6baf8a))_0x221135[_0x4945('0x23')]();else{if(_0x6baf8a['containsRange'](_0x3ae40b)){const _0x3040f1=this[_0x4945('0x12c')][_0x4945('0x6d')](_0x3ae40b['start'][_0x4945('0x58')],_0x4945('0xb5'));this[_0x4945('0x14b')](_0x221135,this['_model'][_0x4945('0x128')](_0x6baf8a['start'],_0x3040f1));const _0x8ea2b4=_0x392fef(),_0xc46662=_0x221135[_0x4945('0x7c')]['id'],_0x4f1458=_0x221135['type']+':'+_0x221135[_0x4945('0x43')];this[_0x4945('0x10a')]({'id':_0x8ea2b4,'type':_0x4f1458,'createdAt':new Date(),'authorId':_0xc46662,'data':_0x221135['data'],'attributes':_0x221135[_0x4945('0x136')]});const _0x53d927=this[_0x4945('0x12c')][_0x4945('0x6d')](_0x3ae40b[_0x4945('0xb5')][_0x4945('0xa1')],_0x4945('0x135')),_0x57741b=this['_model'][_0x4945('0x128')](_0x53d927,_0x6baf8a[_0x4945('0xb5')]);this[_0x4945('0xae')](_0x4f1458,_0x8ea2b4,_0xc46662,_0x57741b);}else{if(_0x6baf8a[_0x4945('0x75')](_0x3ae40b[_0x4945('0xcb')])){const _0x534e3d=this[_0x4945('0x12c')][_0x4945('0x6d')](_0x3ae40b[_0x4945('0xcb')][_0x4945('0x58')],_0x4945('0xb5'));this[_0x4945('0x14b')](_0x221135,this[_0x4945('0x12c')][_0x4945('0x128')](_0x6baf8a[_0x4945('0xcb')],_0x534e3d));}else{const _0x1c4527=this[_0x4945('0x12c')][_0x4945('0x6d')](_0x3ae40b['end'][_0x4945('0xa1')],_0x4945('0x135'));this[_0x4945('0x14b')](_0x221135,this[_0x4945('0x12c')][_0x4945('0x128')](_0x1c4527,_0x6baf8a[_0x4945('0xb5')]));}}}}['_rangeIsInLocalUserInsertion'](_0x23bd49){for(const {suggestion:_0x46beb8,meta:_0x29675b}of this[_0x4945('0x48')](_0x23bd49,'insertion')){if(!_0x29675b[_0x4945('0x10')])continue;const _0x5b1252=_0x46beb8[_0x4945('0xd2')]();for(const _0x2e3ba0 of _0x5b1252)if(!_0x23bd49['getDifference'](_0x2e3ba0)['length'])return!0x0;}return!0x1;}[_0x4945('0xdf')](_0x315f71){const _0x1125fe=this['editor']['plugins'][_0x4945('0x1f')](_0x4945('0x118'))[_0x4945('0x14e')](_0x315f71);if(!_0x1125fe)throw new _0xc58421(_0x4945('0xab'),this);return _0x1125fe;}[_0x4945('0x14c')](_0x3cc9da){const _0x4c3ff1=this[_0x4945('0x47')][_0x4945('0x131')][_0x4945('0x1f')](_0x4945('0x118')),_0x1920f5=_0x1675da(_0x4945('0xf0')+_0x3cc9da),_0x2168b1=_0x4c3ff1[_0x4945('0x14e')](_0x1920f5);return _0x2168b1||_0x4c3ff1[_0x4945('0x13a')]({'id':_0x1920f5,'name':_0x3cc9da});}[_0x4945('0xd9')](_0xa1dfbe,_0x4aad68,_0x201552,_0x5bab14,_0x59272b){const _0x4bd6d6=this['_getAuthorFromId'](_0x5bab14),_0x20792c=this[_0x4945('0x13b')][_0x4945('0x89')](_0xa1dfbe,_0x4aad68,_0x201552,_0x4bd6d6,_0x59272b,_0x250522=>this[_0x4945('0x94')](_0x201552,{'attributes':_0x250522}));return this['listenTo'](_0x20792c,'accept',()=>{this[_0x4945('0x94')](_0x201552,{'state':_0x4945('0x9d')});},{'priority':_0x4945('0x172')}),this[_0x4945('0x175')](_0x20792c,_0x4945('0x5'),()=>{this[_0x4945('0x94')](_0x201552,{'state':'rejected'});},{'priority':_0x4945('0x172')}),this[_0x4945('0x15f')][_0x4945('0x11b')](_0x201552,_0x20792c),this[_0x4945('0x153')][_0x4945('0x11b')](_0x20792c,'notReady'),_0x20792c;}[_0x4945('0xf6')](_0x580e6d){const _0x1ffe6b=_0x580e6d['split'](':');return{'group':_0x1ffe6b[0x0],'type':_0x1ffe6b[0x1],'subType':_0x1ffe6b[_0x4945('0xb')]>=0x5?_0x1ffe6b[0x2]:null,'id':_0x1ffe6b[_0x4945('0xb')]<0x5?_0x1ffe6b[0x2]:_0x1ffe6b[0x3],'authorId':_0x1ffe6b[_0x4945('0xb')]<0x5?_0x1ffe6b[0x3]:_0x1ffe6b[0x4],'markerCount':0x6==_0x1ffe6b[_0x4945('0xb')]?_0x1ffe6b[0x5]:null};}[_0x4945('0xbc')](_0x48ac65,_0xcef020,_0x43f218){const _0x1a8388=_0x48ac65[_0x4945('0x49')](),_0x4086b2=_0x1a8388[_0x4945('0xcb')],_0x2babae=_0x1a8388[_0x4945('0xb5')];this[_0x4945('0x14b')](_0x48ac65,this['_model'][_0x4945('0x128')](_0x4086b2,_0xcef020));const _0x3622e4=_0x392fef(),_0x4e2937=_0x48ac65[_0x4945('0x7c')]['id'],_0x446407=_0x48ac65[_0x4945('0x45')]+(_0x48ac65[_0x4945('0x43')]?':'+_0x48ac65[_0x4945('0x43')]:'');this[_0x4945('0x10a')]({'id':_0x3622e4,'type':_0x446407,'createdAt':new Date(),'authorId':_0x4e2937,'originalSuggestionId':_0x48ac65['id'],'attributes':_0x48ac65[_0x4945('0x136')],'data':_0x48ac65[_0x4945('0x13')]});const _0x2f8638=this[_0x4945('0x168')](_0x48ac65);(_0x4945('0x7a')==_0x48ac65[_0x4945('0x45')]||_0x2f8638&&this[_0x4945('0xc8')](_0x2f8638))&&(_0x43f218=this[_0x4945('0x12c')][_0x4945('0x37')](_0x43f218['parent'])),this[_0x4945('0xae')](_0x446407,_0x3622e4,_0x4e2937,this[_0x4945('0x12c')][_0x4945('0x128')](_0x43f218,_0x2babae));}['_findSuggestions'](_0x365790,_0x47a22b=null){const _0x263be6=[],_0x322e11=this[_0x4945('0x47')][_0x4945('0x131')]['get'](_0x4945('0x118'))['me'];Array[_0x4945('0x176')](_0x365790)||(_0x365790=[_0x365790]);for(const _0x382f1e of this[_0x4945('0x13f')]()){if(!_0x382f1e['isInContent'])continue;if(_0x47a22b&&_0x382f1e[_0x4945('0x45')]!=_0x47a22b)continue;let _0x53f5f5=!0x1;for(const _0xc44888 of _0x382f1e[_0x4945('0xd2')]()){for(const _0x57851d of _0x365790){const _0x562f9f=_0x57851d['start'][_0x4945('0x133')](_0xc44888[_0x4945('0xb5')])||_0x57851d[_0x4945('0xb5')][_0x4945('0x133')](_0xc44888[_0x4945('0xcb')]);if(_0x562f9f||_0x57851d[_0x4945('0x59')](_0xc44888)){const _0x1d1cd8=_0x57851d['containsRange'](_0xc44888)&&Tt(this[_0x4945('0x12c')][_0x4945('0x4')],_0xc44888[_0x4945('0xcb')],_0x57851d),_0x35d43d=_0xc44888['containsRange'](_0x57851d)&&Tt(this['_model'][_0x4945('0x4')],_0x57851d['start'],_0xc44888);_0x263be6[_0x4945('0x114')]({'suggestion':_0x382f1e,'meta':{'isOwn':_0x322e11==_0x382f1e[_0x4945('0xfb')],'isNextTo':_0x562f9f,'isInsideObject':_0x1d1cd8,'containsRangeInObject':_0x35d43d}}),_0x53f5f5=!0x0;break;}}if(_0x53f5f5)break;}}return _0x263be6;}[_0x4945('0xae')](_0x497e01,_0x31cb25,_0x2a8dbb,_0x2437dc,_0x22677d){this[_0x4945('0x12c')][_0x4945('0x54')](_0x504d21=>{let _0x18a7d3=_0x4945('0x107')+_0x497e01+':'+_0x31cb25+':'+_0x2a8dbb;_0x22677d&&(_0x18a7d3=_0x18a7d3+':'+_0x22677d),_0x504d21['addMarker'](_0x18a7d3,{'range':_0x2437dc,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4945('0xb8')](_0x9398d6){const _0x1b0dbd=_0x9398d6[_0x4945('0x103')],_0x26fdc4=_0x9398d6[_0x4945('0x167')];_0x9398d6[_0x4945('0x103')]=null,_0x9398d6[_0x4945('0x167')]=null,null!=_0x1b0dbd&&(_0x1b0dbd['next']=_0x26fdc4),null!=_0x26fdc4&&(_0x26fdc4[_0x4945('0x103')]=_0x1b0dbd),_0x4945('0x76')==this[_0x4945('0x153')][_0x4945('0x1f')](_0x9398d6)&&(this['_suggestionState']['set'](_0x9398d6,_0x4945('0x112')),this[_0x4945('0x21')](_0x4945('0xfc'),_0x9398d6,_0x1b0dbd,_0x26fdc4));}[_0x4945('0x10a')](_0x16a1f8){const _0x130c6c=_0x16a1f8['id'],_0x5f8cb=this[_0x4945('0xbe')](_0x16a1f8);if(this[_0x4945('0xea')]&&this[_0x4945('0xea')][_0x4945('0xd')]){const _0x2a85d7=this[_0x4945('0x47')][_0x4945('0x131')]['get'](_0x4945('0x90')),_0x582943=_0x5f8cb[_0x4945('0x30')],_0x2820e7=_0x5f8cb[_0x4945('0x43')]?_0x5f8cb[_0x4945('0x45')]+':'+_0x5f8cb[_0x4945('0x43')]:_0x5f8cb[_0x4945('0x45')],_0x573aae=this[_0x4945('0x47')]['locale'],_0x43acce=_0x2a85d7[_0x4945('0x126')](_0x4c6660(_0x573aae,_0x4945('0xe0'))),_0x275f7d={'id':_0x130c6c,'type':_0x2820e7,'hasComments':_0x582943,'data':_0x16a1f8[_0x4945('0x13')]||null,'originalSuggestionId':_0x16a1f8[_0x4945('0x147')]||null,'attributes':_0x5f8cb[_0x4945('0x136')]};this[_0x4945('0xea')][_0x4945('0xd')](_0x275f7d)[_0x4945('0x11e')](_0x35719f=>{_0x5f8cb[_0x4945('0x24')]=!0x0,_0x2a85d7[_0x4945('0xa2')](_0x43acce),_0x35719f&&_0x35719f[_0x4945('0x14f')]&&(this['_suggestions']['get'](_0x130c6c)[_0x4945('0x14f')]=_0x35719f['createdAt']);})[_0x4945('0x159')](_0x3f9715=>{throw _0x232c54(_0x4945('0x1d')),this['editor'][_0x4945('0xc9')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x5f8cb[_0x4945('0x5')]();}),_0x5f8cb['stopListening'](),this[_0x4945('0x15f')][_0x4945('0xf8')](_0x5f8cb['id']),this[_0x4945('0x153')][_0x4945('0xf8')](_0x5f8cb),_0x3f9715;});}return _0x5f8cb;}['_isBlockAttribute'](_0x5a0554){return this[_0x4945('0x178')][_0x4945('0x31')](_0x5a0554);}['_getAttributeKeyFromSubType'](_0x38e09e){return _0x4945('0xc4')==_0x38e09e['type']&&_0x38e09e[_0x4945('0x43')]['split']('|')[0x0];}[_0x4945('0x94')](_0x3151b4,_0x2d5410){const _0x555336=this['editor'][_0x4945('0x131')]['get'](_0x4945('0x90')),_0xc48aca=this[_0x4945('0x144')](_0x3151b4);if(this[_0x4945('0xea')]&&this[_0x4945('0xea')]['updateSuggestion']){if(_0xc48aca['_saved']){const _0x66fde5=_0x555336[_0x4945('0x126')](_0x4c6660(this[_0x4945('0x47')]['locale'],_0x4945('0xe0')));this['_adapter'][_0x4945('0xd7')](_0x3151b4,_0x2d5410)[_0x4945('0x11e')](()=>{_0x555336['remove'](_0x66fde5);});}else _0xc48aca['on'](_0x4945('0x8c'),()=>{this[_0x4945('0x94')](_0x3151b4,_0x2d5410);});}}[_0x4945('0x122')](_0x4962fc){if(!this['_adapter']||!this[_0x4945('0xea')][_0x4945('0x144')])throw new _0xc58421(_0x4945('0x3b'),this);return this[_0x4945('0xea')][_0x4945('0x144')](_0x4962fc);}[_0x4945('0x39')](_0x4403a){const {id:_0x19d3f4,type:_0x41b8e9,subType:_0x195441,authorId:_0x316cc4}=this[_0x4945('0xf6')](_0x4403a),_0x9c03a9=this[_0x4945('0x15f')]['get'](_0x19d3f4)||this[_0x4945('0xd9')](_0x41b8e9,_0x195441,_0x19d3f4,_0x316cc4,{});switch(this['_checkSuggestionCorrectness'](_0x9c03a9,_0x41b8e9,_0x195441,_0x316cc4),this[_0x4945('0x153')][_0x4945('0x1f')](_0x9c03a9)){case'notReady':this['_getSuggestionData'](_0x19d3f4)[_0x4945('0x11e')](_0x431058=>{let _0x1d4532=Promise['resolve']();_0x431058[_0x4945('0x30')]&&(_0x1d4532=this['_commentsRepository'][_0x4945('0x11c')]({'channelId':this[_0x4945('0x47')][_0x4945('0x10e')][_0x4945('0x1f')](_0x4945('0xba')),'threadId':_0x19d3f4})),_0x1d4532[_0x4945('0x11e')](()=>{this[_0x4945('0xbe')](_0x431058)[_0x4945('0x24')]=!0x0;});}),this[_0x4945('0x153')][_0x4945('0x11b')](_0x9c03a9,_0x4945('0x16d'));break;case'removed':this['_updateSuggestionData'](_0x19d3f4,{'state':'open'});case _0x4945('0xcf'):this[_0x4945('0x153')][_0x4945('0x11b')](_0x9c03a9,_0x4945('0x76')),this[_0x4945('0x21')](_0x4945('0x4d'),_0x9c03a9);break;case _0x4945('0x76'):this[_0x4945('0x21')]('suggestionChanged',_0x9c03a9);}return _0x9c03a9[_0x4945('0x146')](_0x4403a),_0x9c03a9;}[_0x4945('0xa8')](_0x41a006){const _0x4876e6=Array[_0x4945('0x140')](_0x41a006),_0x56ca70=_0x4876e6[_0x4945('0x66')](_0x4be99a=>'attribute'==_0x4be99a[_0x4945('0x45')]);this[_0x4945('0x12')](_0x56ca70);const _0x96142a=_0x4876e6[_0x4945('0x66')](_0x57d55f=>!_0x57d55f[_0x4945('0x65')]&&_0x4945('0xc4')!=_0x57d55f[_0x4945('0x45')]),_0x5891d8=this[_0x4945('0x13f')]({'skipNotAttached':!0x0})[_0x4945('0x66')](_0x5b36e7=>!_0x5b36e7[_0x4945('0x65')]&&_0x4945('0xc4')!=_0x5b36e7[_0x4945('0x45')]),_0x2072ec=_0x5891d8[_0x4945('0x66')](_0x4cd27c=>!_0x41a006[_0x4945('0x31')](_0x4cd27c)),_0xd04125=new Map(_0x5891d8[_0x4945('0x27')](_0x9715e=>[_0x9715e,this[_0x4945('0x13b')][_0x4945('0x81')](_0x9715e[_0x4945('0x45')],_0x9715e[_0x4945('0x43')],_0x4945('0x70'))])),_0x3c64ee=new Map(_0x5891d8['map'](_0x1481b1=>[_0x1481b1,_0x1481b1['getFirstRange']()])),_0x543586=new Set(),_0x4aa795=new Set();for(let _0x45102c=0x0;_0x45102c<_0x96142a[_0x4945('0xb')];_0x45102c++)_0xb90c12(_0x96142a[_0x45102c],_0x96142a,_0x45102c+0x1);for(let _0xa2bcf7=0x0;_0xa2bcf7<_0x96142a[_0x4945('0xb')];_0xa2bcf7++)_0xb90c12(_0x96142a[_0xa2bcf7],_0x2072ec,0x0);const _0x2bf680=new Set();for(let _0x1f726e=0x0;_0x1f726e<_0x96142a[_0x4945('0xb')];_0x1f726e++){const _0x258dd0=_0x96142a[_0x1f726e];!_0x4aa795[_0x4945('0x31')](_0x258dd0)&&_0x258dd0[_0x4945('0x103')]&&(_0x2bf680[_0x4945('0x126')](_0x258dd0[_0x4945('0x103')]),_0x258dd0[_0x4945('0x103')][_0x4945('0x167')]===_0x258dd0&&(_0x258dd0[_0x4945('0x103')][_0x4945('0x167')]=null),_0x258dd0[_0x4945('0x103')]=null),!_0x543586[_0x4945('0x31')](_0x258dd0)&&_0x258dd0[_0x4945('0x167')]&&(_0x2bf680[_0x4945('0x126')](_0x258dd0[_0x4945('0x167')]),_0x258dd0[_0x4945('0x167')][_0x4945('0x103')]===_0x258dd0&&(_0x258dd0[_0x4945('0x167')][_0x4945('0x103')]=null),_0x258dd0[_0x4945('0x167')]=null);}function _0xb90c12(_0x5a682f,_0x42f0d9,_0x9057ca){for(let _0x167894=_0x9057ca;_0x167894<_0x42f0d9[_0x4945('0xb')];_0x167894++){const _0x41228b=_0x348e86(_0x5a682f,_0x42f0d9[_0x167894]);_0x41228b&&(_0x41228b[0x0]['next']=_0x41228b[0x1],_0x41228b[0x1][_0x4945('0x103')]=_0x41228b[0x0],_0x543586[_0x4945('0x126')](_0x41228b[0x0]),_0x4aa795[_0x4945('0x126')](_0x41228b[0x1]));}}function _0x348e86(_0x2e834a,_0x17a118){if(_0x2e834a['author']['id']!==_0x17a118[_0x4945('0xfb')]['id'])return null;const _0x3d522d=_0xd04125[_0x4945('0x1f')](_0x2e834a)(_0x2e834a,_0x17a118,_0x3c64ee[_0x4945('0x1f')](_0x2e834a),_0x3c64ee[_0x4945('0x1f')](_0x17a118));if(!_0x3d522d)return null;return _0xd04125[_0x4945('0x1f')](_0x17a118)(_0x2e834a,_0x17a118,_0x3c64ee[_0x4945('0x1f')](_0x2e834a),_0x3c64ee['get'](_0x17a118))?_0x3d522d[0x1]['commentThread']&&_0x3d522d[0x1][_0x4945('0x52')]['length']?null:_0x3d522d:null;}_0x2bf680['size']&&this[_0x4945('0xa8')](_0x2bf680);}[_0x4945('0x12')](_0x1cc912){if(0x0==_0x1cc912['length'])return;const _0x11b1c2=this['getSuggestions']({'skipNotAttached':!0x0})[_0x4945('0x66')](_0x576760=>_0x4945('0xc4')==_0x576760[_0x4945('0x45')]&&_0x576760['_isDataLoaded']),_0xffc02f=[],_0x2c87bd=new Map();for(const _0x537f7e of _0x11b1c2){const _0x32041f=_0x1675da(_0x537f7e[_0x4945('0x136')]);_0x2c87bd[_0x4945('0x31')](_0x32041f)||(_0x2c87bd[_0x4945('0x11b')](_0x32041f,_0xffc02f[_0x4945('0xb')]),_0xffc02f[_0x4945('0x114')]([]));const _0x3607a5=_0x2c87bd[_0x4945('0x1f')](_0x32041f);_0xffc02f[_0x3607a5][_0x4945('0x114')](_0x537f7e);}!function(){_0xffc02f['sort']((_0x45e087,_0x209a77)=>{const _0x4648a9=_0x45e087[0x0][_0x4945('0x14f')],_0x49cf74=_0x209a77[0x0][_0x4945('0x14f')];return _0x4648a9==_0x49cf74?_0x45e087[0x0][_0x4945('0x136')][_0x4945('0x97')]<_0x209a77[0x0][_0x4945('0x136')][_0x4945('0x97')]?-0x1:0x1:_0x4648a9<_0x49cf74?-0x1:0x1;});for(const _0x501049 of _0xffc02f)_0x501049[_0x4945('0xbb')]((_0x3ea1d4,_0x2a553d)=>_0x3ea1d4['id']<_0x2a553d['id']?-0x1:0x1);}();for(let _0x35907b=0x0;_0x35907b<_0xffc02f[_0x4945('0xb')];_0x35907b++){if(0x0==_0xffc02f[_0x35907b][_0x4945('0xb')])continue;const _0x24257c=[];for(let _0x2efa91=_0x35907b+0x1;_0x2efa91<_0xffc02f['length'];_0x2efa91++)0x0!=_0xffc02f[_0x2efa91]['length']&&_0x48f557(_0xffc02f[_0x35907b],_0xffc02f[_0x2efa91])&&_0x24257c[_0x4945('0x114')](_0x2efa91);for(const _0x1c9d9f of _0x24257c)_0xffc02f[_0x35907b]=_0xffc02f[_0x35907b][_0x4945('0xec')](_0xffc02f[_0x1c9d9f]),_0xffc02f[_0x1c9d9f]=[];}for(const _0x5563c4 of _0xffc02f)for(let _0x2b071f=0x0;_0x2b071f<_0x5563c4['length'];_0x2b071f++)_0x5563c4[_0x2b071f][_0x4945('0x167')]=_0x5563c4[_0x2b071f+0x1]||null;for(const _0xe6f281 of _0xffc02f)for(let _0xec84e6=0x0;_0xec84e6<_0xe6f281[_0x4945('0xb')];_0xec84e6++)_0xe6f281[_0xec84e6][_0x4945('0x103')]=_0xe6f281[_0xec84e6-0x1]||null;function _0x48f557(_0x49009e,_0x1dd080){if(_0x49009e[0x0]['author']!==_0x1dd080[0x0][_0x4945('0xfb')])return!0x1;if(!function(_0x32b10e,_0x5f2afe){if(!_0x32b10e['hasComments']&&!_0x5f2afe['hasComments'])return!0x0;if(_0x32b10e[_0x4945('0x30')]&&_0x5f2afe[_0x4945('0x30')])return!0x1;if(_0x32b10e[_0x4945('0x30')]&&_0x5f2afe['createdAt']<_0x32b10e[_0x4945('0x52')][_0x4945('0xcc')]['get'](0x0)[_0x4945('0x14f')])return!0x0;if(_0x5f2afe[_0x4945('0x30')]&&_0x32b10e[_0x4945('0x14f')]<_0x5f2afe[_0x4945('0x52')]['comments']['get'](0x0)[_0x4945('0x14f')])return!0x0;return!0x1;}(_0x49009e[0x0],_0x1dd080[0x0]))return!0x1;const _0x36b410=_0x37a1d1(_0x49009e[0x0][_0x4945('0x136')],_0x4945('0x97')),_0x19a33f=_0x37a1d1(_0x1dd080[0x0][_0x4945('0x136')],_0x4945('0x97'));if(!_0x1035ae(_0x36b410,_0x19a33f))return!0x1;return!!_0x49009e[_0x4945('0x11')](_0x33d79d=>_0x1dd080[_0x4945('0xb0')](_0x4bb218=>_0x33d79d[_0x4945('0x49')]()['isEqual'](_0x4bb218[_0x4945('0x49')]())))&&_0x1dd080['every'](_0x24df9c=>_0x49009e[_0x4945('0xb0')](_0x161bdf=>_0x24df9c[_0x4945('0x49')]()[_0x4945('0x133')](_0x161bdf[_0x4945('0x49')]())));}}[_0x4945('0x2d')](_0x244165){const _0x2f6d94=Array['from'](_0x244165),_0x23d39b=this[_0x4945('0x13f')]({'skipNotAttached':!0x0}),_0x4b4817=_0x23d39b[_0x4945('0x66')](_0xd84af6=>!_0x244165[_0x4945('0x31')](_0xd84af6)),_0x3714ff=new Map(_0x2f6d94[_0x4945('0x27')](_0xa91d96=>[_0xa91d96,this[_0x4945('0x13b')]['getSuggestionCallback'](_0xa91d96[_0x4945('0x45')],_0xa91d96['subType'],'join')])),_0x1a82e1=new Map(_0x23d39b[_0x4945('0x27')](_0x5e0503=>[_0x5e0503,_0x5e0503[_0x4945('0xd2')]()]));for(let _0x25763f=0x0;_0x25763f<_0x2f6d94[_0x4945('0xb')];_0x25763f++){if(_0x2785c1(this,_0x2f6d94[_0x25763f],_0x2f6d94,_0x25763f+0x1))return!0x0;}for(let _0x34e667=0x0;_0x34e667<_0x2f6d94[_0x4945('0xb')];_0x34e667++){if(_0x2785c1(this,_0x2f6d94[_0x34e667],_0x4b4817,0x0))return!0x0;}return!0x1;function _0x2785c1(_0x147436,_0x4ca361,_0x17da72,_0x78372){for(let _0x34853f=_0x78372;_0x34853f<_0x17da72[_0x4945('0xb')];_0x34853f++){const _0x2ac223=_0x17da72[_0x34853f];if(_0x2ac223[_0x4945('0x45')]!==_0x4ca361[_0x4945('0x45')]||_0x2ac223[_0x4945('0xfb')]['id']!==_0x4ca361[_0x4945('0xfb')]['id']||_0x2ac223['subType']!==_0x4ca361[_0x4945('0x43')])continue;if(!Vt(_0x4ca361,_0x2ac223))continue;if(_0x4945('0xc4')==_0x4ca361[_0x4945('0x45')]&&_0x4ca361[_0x4945('0x13')]['oldValue']!=_0x2ac223[_0x4945('0x13')][_0x4945('0x12f')])continue;if('attribute'==_0x4ca361[_0x4945('0x45')]&&_0x147436['_isBlockAttribute'](_0x4ca361[_0x4945('0x13')]['key']))continue;if(_0x4945('0x7a')==_0x4ca361['type']){const _0x404635=_0x147436[_0x4945('0x47')]['model'],_0x4ad8d3=_0x4ca361[_0x4945('0xe9')]();if(_0x4ad8d3&&(_0x404635['schema'][_0x4945('0x148')](_0x4ad8d3)||_0x404635[_0x4945('0x4')][_0x4945('0xfa')](_0x4ad8d3)))continue;}const _0x3cfcca=_0x3714ff['get'](_0x4ca361),_0x3ed9f3=_0x1a82e1[_0x4945('0x1f')](_0x4ca361),_0x3180e9=_0x1a82e1[_0x4945('0x1f')](_0x2ac223),_0x12b7ab=_0x4ca361[_0x4945('0x52')]&&_0x4ca361[_0x4945('0x52')][_0x4945('0xb')],_0x5e013e=_0x2ac223[_0x4945('0x52')]&&_0x2ac223[_0x4945('0x52')][_0x4945('0xb')];if(!_0x12b7ab&&_0x3cfcca(_0x3180e9,_0x3ed9f3))return _0x147436['_joinSuggestions'](_0x2ac223,_0x4ca361),_0x1a82e1['delete'](_0x4ca361),!0x0;if(!_0x5e013e&&_0x3cfcca(_0x3ed9f3,_0x3180e9))return _0x147436[_0x4945('0xfd')](_0x4ca361,_0x2ac223),_0x1a82e1[_0x4945('0xf8')](_0x2ac223),!0x0;}return!0x1;}}[_0x4945('0xfd')](_0x5418db,_0x28a771){if(_0x5418db[_0x4945('0x65')])for(const _0x18a9fc of _0x28a771[_0x4945('0xd2')]())_0x5418db['addRange'](_0x18a9fc);else{const _0x21971b=_0x28a771[_0x4945('0x49')]()[_0x4945('0xb5')];this[_0x4945('0x14b')](_0x5418db,this['_model'][_0x4945('0x128')](_0x5418db[_0x4945('0x49')]()[_0x4945('0xcb')],_0x21971b));}_0x28a771[_0x4945('0x23')]();}[_0x4945('0x174')](_0x4c00f3,_0x52943f){const _0x32f7d7=_0x4c00f3['startsWith'](_0x4945('0x10d'))||_0x4c00f3[_0x4945('0x13d')]('attribute')?_0x4945('0x15b'):_0x4c00f3['toUpperCase']();return _0x4c6660(this['editor'][_0x4945('0xed')],_0x52943f+'_'+_0x32f7d7+_0x4945('0x83'));}['_initAriaMarkerChangeAnnouncements'](){const _0x4712c1=this[_0x4945('0x47')];_0x5c43b4(this[_0x4945('0x12c')],({left:_0x1129a8,entered:_0x5066db})=>{const _0x3f7396=[];for(const _0xc8b8ef of _0x1129a8){const {group:_0x326386,type:_0x552a59}=this[_0x4945('0xf6')](_0xc8b8ef[_0x4945('0xff')]);if(_0x4945('0x68')===_0x326386){_0x3f7396['push'](this['_getMarkerAnnouncementText'](_0x552a59,_0x4945('0x2f')));break;}}for(const _0x4fe269 of _0x5066db){const {group:_0x57d26d,type:_0x74e4ca}=this[_0x4945('0xf6')](_0x4fe269[_0x4945('0xff')]);if(_0x4945('0x68')===_0x57d26d){_0x3f7396[_0x4945('0x114')](this[_0x4945('0x174')](_0x74e4ca,_0x4945('0x55')));break;}}_0x3f7396['length']&&_0x4712c1['ui'][_0x4945('0x6c')][_0x4945('0x105')](_0x4945('0xfe'),_0x3f7396[_0x4945('0x85')]('\x20'));});}[_0x4945('0xc6')](_0x37dd04){if(null!==this[_0x4945('0xaa')])return!0x1;const _0x486e61=this[_0x4945('0x47')],_0x2e0ddd=_0x486e61[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x1')]['getChanges']();if(0x0==_0x2e0ddd[_0x4945('0xb')])return!0x1;const _0x181cf4=[],_0x16f2a2=_0x2e0ddd[_0x4945('0x66')](_0xba29d4=>'attribute'==_0xba29d4[_0x4945('0x45')]),_0x1b4395=_0x2e0ddd['filter'](_0xc68a92=>_0x4945('0x16f')==_0xc68a92[_0x4945('0x45')]&&_0x4945('0x64')!=_0xc68a92['name']),_0x4bcdfe=_0x2e0ddd[_0x4945('0x66')](_0x56a6f7=>'remove'==_0x56a6f7['type']&&_0x4945('0x64')!=_0x56a6f7[_0x4945('0xff')]);for(const _0x426f58 of _0x16f2a2)_0x181cf4[_0x4945('0x114')]({'key':_0x426f58['attributeKey'],'newValue':_0x426f58[_0x4945('0x18')],'oldValue':_0x426f58[_0x4945('0x3')],'range':_0x4db141(_0x426f58['range'])});for(const _0x1da8f1 of _0x1b4395){const _0x83148b=_0x4bcdfe['find'](_0x3a9b93=>_0x3a9b93[_0x4945('0xb9')][_0x4945('0x133')](_0x1da8f1[_0x4945('0xb9')]));_0x83148b&&_0x181cf4['push']({'key':_0x4945('0xe1'),'newValue':_0x1da8f1[_0x4945('0xff')],'oldValue':_0x83148b['name'],'range':_0x486e61[_0x4945('0xc9')][_0x4945('0x4a')](_0x1da8f1[_0x4945('0xb9')]['nodeAfter'])});}return 0x0!=_0x181cf4[_0x4945('0xb')]&&this[_0x4945('0x130')](_0x37dd04,_0x181cf4);function _0x4db141(_0x4e588a){return null==_0x4e588a['end'][_0x4945('0x58')]&&_0x4e588a[_0x4945('0xb5')][_0x4945('0xa1')]==_0x4e588a[_0x4945('0xcb')][_0x4945('0x71')]?Ut(_0x4e588a['start'][_0x4945('0x71')],_0x486e61[_0x4945('0xc9')]):_0x4e588a;}}[_0x4945('0x106')](_0xaf2c0c){let _0x210d52=!0x1;const _0x1d4bb3=this[_0x4945('0x47')][_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x1')][_0x4945('0xe5')]()[_0x4945('0x66')](_0x1022e5=>_0x1022e5['data'][_0x4945('0xf1')]&&_0x1022e5[_0x4945('0xff')]['startsWith']('suggestion:attribute:'));for(const _0x3b6c12 of _0x1d4bb3){const {subType:_0x9e59f8,id:_0x10d0c7}=this['_splitMarkerName'](_0x3b6c12[_0x4945('0xff')]),_0xcc3ada=_0x9e59f8[_0x4945('0x84')]('|')[0x0];for(const _0x4a3104 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x4a3104['id']!=_0x10d0c7&&_0x4945('0xc4')==_0x4a3104[_0x4945('0x45')]&&_0x4a3104['data']&&_0x4a3104[_0x4945('0x13')]['key']==_0xcc3ada&&_0x4a3104['getFirstRange']()['isIntersecting'](_0x3b6c12['data']['newRange'])&&(this[_0x4945('0x8d')](_0x4a3104,_0x3b6c12['data'][_0x4945('0xf1')],_0xaf2c0c),_0x210d52=!0x0);}return _0x210d52;}['_recordAttributeChanges'](_0x175d8d){if(null!==this[_0x4945('0xaa')])return void _0x175d8d();const _0x37889c=this[_0x4945('0x47')];this[_0x4945('0xaa')]=_0x37889c[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x67')],_0x175d8d();const _0x3a7dbf=new Map();for(const _0x1c561d of _0x37889c[_0x4945('0xc9')][_0x4945('0xd4')][_0x4945('0x6a')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if([_0x4945('0xef'),'addAttribute','removeAttribute',_0x4945('0x36')][_0x4945('0x7b')](_0x1c561d[_0x4945('0x45')])){const _0x3d9e51=_0x1c561d[_0x4945('0x91')],_0x446790=_0x3a7dbf['get'](_0x3d9e51)||[];_0x446790[_0x4945('0x114')](_0x1c561d),_0x3a7dbf[_0x4945('0x11b')](_0x3d9e51,_0x446790);}this[_0x4945('0xaa')]=null;for(const [_0x46e94d,_0x1517d2]of _0x3a7dbf){const _0x1b84c5=_0x392fef();_0x37889c[_0x4945('0xc9')][_0x4945('0xeb')](_0x46e94d,_0x82db38=>{const _0x398b4e=[];for(const _0x18fa97 of _0x1517d2){let _0x27d320,_0x34d555,_0x2b2279,_0x28c94f;if(_0x4945('0xef')==_0x18fa97[_0x4945('0x45')]){const _0x4f1da2=_0x18fa97;_0x27d320=Ut(_0x4f1da2['position'][_0x4945('0x71')],_0x37889c[_0x4945('0xc9')]),_0x34d555=_0x4945('0xe1'),_0x2b2279=_0x4f1da2[_0x4945('0x28')],_0x28c94f=_0x4f1da2[_0x4945('0x26')];}else{const _0x14dae4=_0x18fa97,_0x3e6731=this[_0x4945('0xc8')](_0x14dae4[_0x4945('0x3e')]),_0x5a827f=this[_0x4945('0x113')][_0x4945('0x31')](_0x14dae4[_0x4945('0x3e')]);if(!_0x3e6731&&!_0x5a827f)continue;_0x27d320=_0x3e6731?Ut(_0x14dae4[_0x4945('0x9')][_0x4945('0xcb')][_0x4945('0x71')],_0x37889c[_0x4945('0xc9')]):_0x14dae4[_0x4945('0x9')],_0x34d555=_0x14dae4[_0x4945('0x3e')],_0x2b2279='removeAttribute'==_0x18fa97[_0x4945('0x45')]?void 0x0:_0x14dae4['newValue'],_0x28c94f=_0x14dae4[_0x4945('0x12f')];}this[_0x4945('0x12a')](_0x27d320,_0x34d555,_0x28c94f,_0x2b2279,{'groupId':_0x1b84c5}),_0x398b4e[_0x4945('0x114')]({'range':_0x27d320,'key':_0x34d555,'newValue':_0x2b2279,'oldValue':_0x28c94f});}this[_0x4945('0x130')](_0x82db38,_0x398b4e);});}}[_0x4945('0x130')](_0x7e5841,_0x58a673){if(0x0==_0x58a673[_0x4945('0xb')])return!0x1;let _0x4f67cf=!0x1;for(const _0x1c6fd0 of _0x58a673){const _0xd8ceab=this['_findSuggestions'](_0x1c6fd0[_0x4945('0x9')],'attribute')[_0x4945('0x66')](_0x4aa97a=>!_0x4aa97a[_0x4945('0x124')][_0x4945('0x5c')])['map'](_0x48ffec=>_0x48ffec[_0x4945('0x68')]),_0x1639f1=_0x1675da({'newValue':_0x1c6fd0[_0x4945('0x6f')]});_0xd8ceab['filter'](_0x13752c=>{const [_0x3c4113,_0xcbaa03]=_0x13752c[_0x4945('0x43')][_0x4945('0x84')]('|');return _0x3c4113==_0x1c6fd0['key']&&_0xcbaa03!=_0x1639f1;})[_0x4945('0x139')](_0x5ea62d=>{this[_0x4945('0x8d')](_0x5ea62d,_0x1c6fd0[_0x4945('0x9')],_0x7e5841),_0x4f67cf=!0x0;});}return _0x4f67cf;}[_0x4945('0x8d')](_0x490ec8,_0x24d8c2,_0x2ea527){const _0x34832d=_0x490ec8[_0x4945('0x49')]()['getDifference'](_0x24d8c2);0x0!==_0x34832d['length']?0x1!==_0x34832d[_0x4945('0xb')]?this[_0x4945('0xbc')](_0x490ec8,_0x24d8c2[_0x4945('0xcb')],_0x24d8c2[_0x4945('0xb5')]):this[_0x4945('0x14b')](_0x490ec8,_0x34832d[0x0]):_0x2ea527[_0x4945('0x16b')](_0x490ec8[_0x4945('0xee')]());}}class Bt{constructor(_0x2a9011){this[_0x4945('0x46')]=_0x2a9011,this[_0x4945('0x12c')]=_0x2a9011[_0x4945('0xc9')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this[_0x4945('0x12d')]();}[_0x4945('0x89')](_0x40881e,_0x2eb40f,_0x67dae6,_0x5ad898,_0xd1f18b,_0x4d8c82){return new _0x7eae24(this[_0x4945('0x12c')],{'type':_0x40881e,'subType':_0x2eb40f,'id':_0x67dae6,'author':_0x5ad898,'creator':_0x5ad898,'attributes':_0xd1f18b,'onAttributesChange':_0x4d8c82,'onAccept':(..._0x407e18)=>this[_0x4945('0x81')](_0x40881e,_0x2eb40f,_0x4945('0x53'))(..._0x407e18),'onDiscard':(..._0x333c3d)=>this[_0x4945('0x81')](_0x40881e,_0x2eb40f,_0x4945('0x5'))(..._0x333c3d)});}[_0x4945('0x10f')](_0x4d58fc,_0x9e1876,_0x314ad1,_0x5642e3){const _0xf6efe2=_0x4d58fc+':'+_0x9e1876+':'+_0x314ad1;this[_0x4945('0x150')]['set'](_0xf6efe2,_0x5642e3);}[_0x4945('0x81')](_0x5ae5be,_0x36d610,_0x501f9b){const _0x21c38=_0x5ae5be+':'+_0x36d610+':'+_0x501f9b;return this[_0x4945('0x150')][_0x4945('0x1f')](_0x21c38)||this[_0x4945('0x42')][_0x4945('0x1f')](_0x5ae5be+':'+_0x501f9b);}[_0x4945('0x12d')](){const _0x437cb9=()=>!0x1,_0x2d3762=_0x50db23=>{_0x50db23[_0x4945('0xbb')]((_0x2dd174,_0x1bbc45)=>_0x2dd174[_0x4945('0xcb')][_0x4945('0x99')](_0x1bbc45[_0x4945('0xcb')])?0x1:-0x1),this['_model'][_0x4945('0x54')](_0x2a17ff=>{for(const _0xc7f22f of _0x50db23){let _0x234943;_0x234943=_0xc7f22f[_0x4945('0xb5')][_0x4945('0x19')]&&_0xc7f22f[_0x4945('0xb5')][_0x4945('0xa1')]==_0xc7f22f[_0x4945('0xcb')][_0x4945('0x71')]?_0x2a17ff[_0x4945('0x8')](_0xc7f22f['start']['nodeAfter'],'on'):_0x2a17ff['createSelection'](_0xc7f22f),this[_0x4945('0x12c')][_0x4945('0xd1')](_0x234943,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x39dd55=(_0x4ec32d,_0xd7544b)=>{_0xd7544b&&this['_model'][_0x4945('0x54')](_0x2c76a3=>{const {commandName:_0x50a8cb,commandParams:_0x5e9303=[]}=_0xd7544b,_0x31331b=_0x4ec32d['map'](_0x43566e=>(xt(_0x43566e)&&(_0x43566e=this[_0x4945('0x12c')][_0x4945('0x128')](_0x43566e[_0x4945('0xb5')])),_0x43566e))['filter'](_0x1272d9=>_0x4945('0x20')!==_0x1272d9[_0x4945('0xe3')][_0x4945('0x60')]);if(_0x31331b[_0x4945('0xb')]<0x1)return;const _0x5465d8=Array[_0x4945('0x140')](this[_0x4945('0x12c')][_0x4945('0xd4')][_0x4945('0x156')][_0x4945('0xd2')]())['map'](_0x44dd96=>_0x4c2a3d[_0x4945('0x104')](_0x44dd96));_0x2c76a3[_0x4945('0x143')](_0x31331b);for(const _0x28ff8 of this['_editor'][_0x4945('0x15d')][_0x4945('0x15d')]())_0x28ff8[_0x4945('0x5f')]();_0x5e9303[_0x4945('0x114')]({'forceDefaultExecution':!0x0}),this[_0x4945('0x46')][_0x4945('0x12b')](_0x50a8cb,..._0x5e9303);const _0x3338e8=_0x5465d8[_0x4945('0x66')](_0x2bc3be=>_0x4945('0x20')!=_0x2bc3be[_0x4945('0xe3')][_0x4945('0x60')]);_0x3338e8[_0x4945('0xb')]>0x0&&_0x2c76a3[_0x4945('0x143')](_0x3338e8);for(const _0x4f0031 of _0x5465d8)_0x4f0031[_0x4945('0x80')]();});},_0x4efb79=(_0x38cb1a,_0xbaedbd)=>0x1==_0x38cb1a[_0x4945('0xb')]&&0x1==_0xbaedbd[_0x4945('0xb')]&&_0x38cb1a[0x0][_0x4945('0xb5')]['isEqual'](_0xbaedbd[0x0][_0x4945('0xcb')]),_0x55a019=(_0x4208f0,_0x38008b,_0x23c1d1,_0x2e8bbe)=>Ot(_0x4208f0,_0x38008b,_0x23c1d1,_0x2e8bbe,this[_0x4945('0x12c')])?[_0x4208f0,_0x38008b]:Ot(_0x38008b,_0x4208f0,_0x2e8bbe,_0x23c1d1,this[_0x4945('0x12c')])?[_0x38008b,_0x4208f0]:null;this['_defaultCallbacks'][_0x4945('0x11b')]('insertion:accept',_0x437cb9),this['_defaultCallbacks']['set']('insertion:discard',_0x2d3762),this[_0x4945('0x42')][_0x4945('0x11b')]('insertion:join',_0x4efb79),this['_defaultCallbacks']['set']('insertion:chain',_0x55a019),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x32'),_0x2d3762),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0xe8'),_0x437cb9),this[_0x4945('0x42')][_0x4945('0x11b')]('deletion:join',_0x4efb79),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x8b'),_0x55a019),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x29'),_0x39dd55),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x14d'),_0x437cb9),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x16c'),_0x4efb79),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0xf'),_0x437cb9),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x4e'),_0x39dd55),this[_0x4945('0x42')][_0x4945('0x11b')]('formatBlock:discard',_0x437cb9),this[_0x4945('0x42')][_0x4945('0x11b')]('formatBlock:join',_0x4efb79),this[_0x4945('0x42')]['set']('formatBlock:chain',_0x437cb9),this[_0x4945('0x42')][_0x4945('0x11b')]('attribute:accept',_0x437cb9),this[_0x4945('0x42')][_0x4945('0x11b')]('attribute:discard',(_0x403be6,_0x4739dd)=>{if(!_0x4739dd)return;const _0x53429a=this['_editor'][_0x4945('0x131')][_0x4945('0x1f')](p);this[_0x4945('0x12c')][_0x4945('0x54')](_0xfa2d6d=>{if(_0x4945('0xe1')==_0x4739dd[_0x4945('0x3e')])for(const _0x5dc2bc of _0x403be6){const _0x715ef4=_0x5dc2bc[_0x4945('0xcb')][_0x4945('0x71')],_0x1ff573=_0x4739dd[_0x4945('0x12f')];_0xfa2d6d[_0x4945('0xef')](_0x715ef4,_0x1ff573);}else{if(_0x53429a[_0x4945('0xc8')](_0x4739dd[_0x4945('0x3e')]))for(const _0x44ec22 of _0x403be6)void 0x0!==_0x4739dd[_0x4945('0x12f')]?_0xfa2d6d['setAttribute'](_0x4739dd['key'],_0x4739dd[_0x4945('0x12f')],_0x44ec22[_0x4945('0xcb')][_0x4945('0x71')]):_0xfa2d6d[_0x4945('0xb6')](_0x4739dd[_0x4945('0x3e')],_0x44ec22[_0x4945('0xcb')][_0x4945('0x71')]);else for(const _0x343288 of _0x403be6)_0x4739dd[_0x4945('0x12f')]?_0xfa2d6d[_0x4945('0xe2')](_0x4739dd[_0x4945('0x3e')],_0x4739dd[_0x4945('0x12f')],_0x343288):_0xfa2d6d['removeAttribute'](_0x4739dd[_0x4945('0x3e')],_0x343288);}});}),this[_0x4945('0x42')][_0x4945('0x11b')](_0x4945('0x119'),_0x4efb79);}}function Tt(_0xadce42,_0x39f6b7,_0x2d9372){for(const _0x420bc3 of _0x39f6b7[_0x4945('0xa1')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x420bc3[_0x4945('0xe3')]==_0x420bc3)return!0x1;if(!_0x2d9372[_0x4945('0x145')](_0x420bc3))return!0x1;if(_0xadce42[_0x4945('0x148')](_0x420bc3)||_0xadce42['isLimit'](_0x420bc3))return!0x0;}return!0x1;}function xt(_0x13e82c){return _0x13e82c[_0x4945('0xb5')]['parent']==_0x13e82c['start']['nodeAfter']&&_0x13e82c[_0x4945('0xb5')][_0x4945('0xe')];}function Et(_0x2af70e,_0x97fe30,_0x1b594d,_0x276913){const _0x3986f9=_0x1a3ccd=>!_0x1a3ccd[_0x4945('0x40')]['is'](_0x4945('0xc5'))&&!_0x276913[_0x4945('0x148')](_0x1a3ccd[_0x4945('0x40')]),_0x53a766=_0x2af70e[_0x4945('0xcb')][_0x4945('0x115')](_0x3986f9),_0x566fe6=_0x2af70e[_0x4945('0xb5')]['getLastMatchingPosition'](_0x3986f9,{'direction':_0x4945('0xde')});return(!_0x2af70e[_0x4945('0xcb')][_0x4945('0x133')](_0x53a766)||!_0x2af70e[_0x4945('0xb5')][_0x4945('0x133')](_0x566fe6))&&(_0x53a766['isBefore'](_0x566fe6)?_0x1b594d['updateMarker'](_0x97fe30,{'range':_0x1b594d[_0x4945('0x128')](_0x53a766,_0x566fe6)}):_0x1b594d['removeMarker'](_0x97fe30),!0x0);}function Rt(_0x4d56f4){return _0x1675da(_0x4d56f4);}function jt(_0x282cd4){const _0x2c56ea=_0x282cd4[_0x4945('0xcb')][_0x4945('0x71')];return _0x2c56ea&&_0x2c56ea['is'](_0x4945('0x157'));}function Ut(_0x4028f,_0x3789b0){const _0x1a3202=_0x3789b0[_0x4945('0x4')][_0x4945('0x148')](_0x4028f)||_0x3789b0[_0x4945('0x4')][_0x4945('0x41')](_0x4028f);return _0x3789b0[_0x4945('0x128')](_0x3789b0[_0x4945('0x6d')](_0x4028f,_0x4945('0x61')),_0x1a3202?_0x3789b0[_0x4945('0x33')](_0x4028f):_0x3789b0[_0x4945('0x6d')](_0x4028f,_0x4945('0xb5')));}function Ot(_0x13100d,_0x4d3b6f,_0x20f553,_0xcacc69,_0x351f0b){if(!Vt(_0x13100d,_0x4d3b6f))return!0x1;if(_0x20f553['end'][_0x4945('0x133')](_0xcacc69['start']))return!0x0;if(_0x13100d[_0x4945('0x45')]!=_0x4d3b6f[_0x4945('0x45')])return!0x1;if(!_0x20f553[_0x4945('0xb5')]['isTouching'](_0xcacc69[_0x4945('0xcb')]))return!0x1;const _0x52797a=_0x351f0b[_0x4945('0x128')](_0x20f553[_0x4945('0xb5')],_0xcacc69[_0x4945('0xcb')])[_0x4945('0x69')]();for(const _0x1d62c8 of _0x52797a)if(['elementStart','elementEnd'][_0x4945('0x7b')](_0x1d62c8[_0x4945('0x45')])&&_0x351f0b['schema'][_0x4945('0xfa')](_0x1d62c8[_0x4945('0x40')]))return!0x1;return!0x0;}function Vt(_0x10cc9b,_0x3f0bf9){return!(!_0x10cc9b[_0x4945('0x8f')]||!_0x3f0bf9[_0x4945('0x8f')])&&_0x1035ae(_0x10cc9b['attributes'],_0x3f0bf9['attributes']);}function Ft(_0x541427,_0x6c319d){const _0xf7f76a=Gt(_0x541427['attributes']),_0x34e948=Gt(_0x6c319d);if(!_0x541427[_0x4945('0x8f')])return!0x1;for(const _0xbc7f1 of Object[_0x4945('0x164')](_0x34e948))if(!_0x1035ae(_0xf7f76a[_0xbc7f1],_0x34e948[_0xbc7f1]))return!0x1;return!0x0;}function Gt(_0x221691){const _0x273600=Object[_0x4945('0x2a')]({},_0x221691);return delete _0x273600[_0x4945('0x50')],delete _0x273600[_0x4945('0x9c')],_0x273600;}
23
+ const _0x1640=['open','unshift','formatBlock:chain','moveTargetPosition','substr','suggestionLoaded','getShiftedBy','isIntersectingWithRange','registerPostFixer','deletion','addMarker:suggestion:formatBlock','markMultiRangeBlockFormat','documentSelection','skipNestingCheck','key','then','_joinSuggestions','accept','oldRange','isArray','_reduceExistingSuggestions','stop','newValue','start','schema','after','requires','startsWith','change:activeMarkers','root','_suggestionFactory','getSuggestions','isCollapsed','isObject','attributeOldValue','splitPosition','formatInline:discard','_splitMarkerName','change:_saved','isTouching','_isBlockAttribute','_trackFormatChanges','getRanges','head','track-changes-suggestion-data-mismatch','removed','ck-suggestion-marker-formatBlock','getCommentThread','addMarker:suggestion','ENTER','_registerDefaultCallbacks','notReady','_editor','_createSuggestion','next','suggestionUnloaded','formatBlock:','markMultiRangeDeletion','high','createRangeOn','_setSuggestionData','_initAriaMarkerChangeAnnouncements','markMultiRangeInsertion','_model','createSelection','substring','init','_refreshAttributeSuggestionsChain','track-changes-adapter-already-set','addCommentThread','size','_commentsRepository','containerElement','formatBlock:discard','_isForcedDefaultExecutionBlock','get','ck-suggestion-marker--active','hasSuggestion','removeMarker:suggestion:formatBlock','trackChangesCommand','fire','values','originalSuggestionId','addMarker:suggestion:attribute','set','getAllAdjacentSuggestions','addSuggestionData','setSelection','rootName','insertion:chain','unbindElementFromMarkerName','$text','_processAttributeChanges','acceptSelectedSuggestions','acceptAllSuggestions','createPositionBefore','updateMarker','newRange','acceptSuggestion','options','multipleBlocks','resolve','differ','item','elementToElement','suggestion-type','marker-count','isRemovable','formatInline','selection','always','addClass','_recordAttributeChanges','data','dataToMarker','_checkSuggestionCorrectness','_blockAttributeKeys','_customCallbacks','map','addHighlight','insertContent','_rangeIsInLocalUserInsertion','collaboration.channelId','getChangedMarkers','getSuggestion','insertion:discard','ready','lowest','toUpperCase','_mergeNestedSuggestions','suggestion','attributeKey','type','isLocal','trackChanges','containsItem','isSelectable','addAttribute','insert','addUser','refresh','isInContent','discard','parent','nodeBefore','enableCommand','insertion:accept','previous','Users','group','widget','TrackChangesEditing','isBefore','_enableDefaultAttributesIntegration','consume','isExternal','_cutOutSuggestionMarker','getItems','commentThread','toJSON','removeMarker','discardSelectedSuggestions','filter','removeClass','trackChanges.trackFormatChanges','join','suggestion:','from','insertion:','formatInline:','fetchCommentThread','tablePasteChainId','highest','ck-suggestion-marker','getIntersection','createRangeIn','value','some','sort','_removeSuggestion','getUser','_updateSuggestionData','_suggestions','rejected','LEAVE','_defaultCallbacks','setTo','_findSuggestions','pluginName','update:suggestion','createRange','deletion:accept','deletion:join','batch','oldValue','_registerBlockAttribute','containsRange','forward','_getExternalAuthor','CommentsRepository','_refreshSuggestionsChain','conversion','isAfter','_addSuggestionMarker','getSuggestionCallback','track-changes-adapter-missing-getsuggestion','split','commandName','createPositionAfter','formatBlock:accept','format','removeMarker:suggestion:attribute','getLastMatchingPosition','document','$elementName','editor','end','_recordAttributeSuggestionsFromVersion','fromRange','dataDowncast','attribute:','getCustomProperty','delete','deleteContent','subType','isLimit','getFirstRange','attribute','isEqual','remove','getMultiRangeId','version','addMarker','targetPosition','has','registerCustomCallback','_inlineAttributeKeys','addRange','getRange','getNearestSelectionRange','elementEnd','splice','PENDING_ACTION_SUGGESTION','element','forEach','add','formatInline:accept','insertion','reconvertMarker','_registerInlineAttribute','editingDowncast','_getAuthorFromId','upcast','hasComments','backward','locale','forceDefaultExecution','mapper','getOperations','attributes','range','push','never','changeAttribute','markAttributeChange','stopListening','isOwn','oldName','formatBlock','removeComment','markDeletion','change','writer','author','formatInline:chain','enqueueChange','low','authoredAt','deletion:discard','data-suggestion','unbind','trackChanges.mergeNestedSuggestions','name','@external','plugins','getContainedElement','suggestion:attribute:','attributeNewValue','suggestionChanged','isMultiRange','length','getChanges','consumable','announce','before','_handleNewSuggestionMarker','howMany','markInsertion','return','markers','listenTo','authorName','detach','keys','pop','newName','nodeAfter','markerReady','isAtEnd','markerName','getAncestors','getAttribute','addMarkerName','$graveyard','commands','execute','createElement','history','removeMarkers','discardSuggestion','_getSuggestionData','_breakSuggestionMarker','isBlock','isDocumentOperation','addComment','find','attribute:discard','comments','_isDataLoaded','every','setAttribute','_enabledCommands','attribute:accept','buildSuggestion','PendingActions','$marker','model','adapter','for','_setSuggestionRange','markerToHighlight','multi','_suggestionState','createPositionAt','activeMarkers','track-changes-suggestion-not-found','accepted','config','_getMarkerAnnouncementText','formatGroupId','updateSuggestion','_joinWithAdjacentSuggestions','removeAttribute','isInsideObject','fromCharCode','move','clone','_onDiscard','isNextTo','containsPosition','_addThreadToSuggestion','getDifference','_SUGGESTION_ANNOUNCEMENT','enableReadOnlyMode','showSuggestionHighlights','_adapter','clear','markerNameToElements','deletion:','markBlockFormat','meta','position','createdAt','getFirstMarker','default','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.','groupId','getMarkers','track-changes-user-not-found','addSuggestion','_processAttributeSuggestions','_saved','$textProxy','discardAllSuggestions','includes','assign','containsRangeInObject'];(function(_0x113e07,_0x164020){const _0x7c1016=function(_0x45ed84){while(--_0x45ed84){_0x113e07['push'](_0x113e07['shift']());}};_0x7c1016(++_0x164020);}(_0x1640,0xac));const _0x7c10=function(_0x113e07,_0x164020){_0x113e07=_0x113e07-0x0;let _0x7c1016=_0x1640[_0x113e07];return _0x7c1016;};import{Plugin as _0xf0bb92,PendingActions as _0x5caf11}from'ckeditor5/src/core';import{LiveRange as _0xc3c711}from'ckeditor5/src/engine';import{CKEditorError as _0x5391c2,uid as _0x362cf5,priorities as _0x57e543,logWarning as _0x404872}from'ckeditor5/src/utils';import{toWidget as _0x2a7fed}from'ckeditor5/src/widget';import{Users as _0x2c9ab9,hashObject as _0x5e0410,surroundingMarkersDetector as _0x429e67}from'ckeditor5-collaboration/src/collaboration-core';import _0x28c5d4 from'./commands/trackchangescommand';import _0x2b7c22 from'./commands/acceptsuggestioncommand';import _0x40d456 from'./commands/discardsuggestioncommand';import _0x439884 from'./commands/executeonallsuggestionscommand';import _0x2c1d1b from'./commands/executeonselectedsuggestionscommand';import _0x24cf3e from'./suggestion';import _0x1be473 from'./suggestiondescriptionfactory';import _0x46a97d from'./integrations/aiassistant';import _0x2f2068 from'./integrations/alignment';import _0x40cb59 from'./integrations/basicstyles';import _0xcf0110 from'./integrations/blockquote';import _0x512205 from'./integrations/ckbox';import _0x402e5b from'./integrations/codeblock';import _0x54fb6b from'./integrations/comments';import _0x557958 from'./integrations/deletecommand';import _0x44917d from'./integrations/documentlist';import _0x42de65 from'./integrations/documentlistproperties';import _0x2fd778 from'./integrations/entercommand';import _0x491fdc from'./integrations/findandreplace';import _0x9f5a01 from'./integrations/font';import _0x13e639 from'./integrations/formatpainter';import _0x15950e from'./integrations/heading';import _0x5ac3d5 from'./integrations/highlight';import _0xbf0971 from'./integrations/horizontalline';import _0x5bc643 from'./integrations/htmlembed';import _0x3f3d97 from'./integrations/image';import _0x5b4c19 from'./integrations/imagereplace';import _0x255d3d from'./integrations/imagestyle';import _0x2c03f7 from'./integrations/importword';import _0x3fa21b from'./integrations/indent';import _0xc3666 from'./integrations/inputcommand';import _0x15ca85 from'./integrations/link';import _0x559c97 from'./integrations/list';import _0x391900 from'./integrations/listproperties';import _0x67eca9 from'./integrations/mediaembed';import _0xba919f from'./integrations/mention';import _0x166b8c from'./integrations/pagebreak';import _0x4acdf6 from'./integrations/paragraph';import _0x20c317 from'./integrations/removeformat';import _0x376bfb from'./integrations/restrictededitingmode';import _0x69978c from'./integrations/shiftentercommand';import _0x40889f from'./integrations/standardeditingmode';import _0x42b5e9 from'./integrations/style';import _0x33b540 from'./integrations/table';import _0x2f45d0 from'./integrations/tablemergesplit';import _0x1e4b03 from'./integrations/tableheadings';import _0xcc4161 from'./integrations/tableclipboard';import _0x126f60 from'./integrations/tablecolumnresize';import _0x673622 from'./integrations/template';import _0x480fd9 from'./integrations/tableofcontents';import _0x5dede3 from'./integrations/title';import _0x46f644 from'./integrations/undo';import _0x49fa8b from'./integrations/tablecaption';import _0x219910 from'./integrations/tableproperties';import{getTranslation as _0x19e2f3}from'./utils/common-translations';import{isEqual as _0x3d5e0e,omit as _0x208585}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0xf0bb92{static get[_0x7c10('0xf1')](){return['CommentsRepository',_0x2c9ab9,_0x5caf11,_0x46a97d,_0x2f2068,_0x40cb59,_0xcf0110,_0x512205,_0x402e5b,_0x54fb6b,_0x557958,_0x44917d,_0x42de65,_0x2fd778,_0x491fdc,_0x9f5a01,_0x13e639,_0x15950e,_0x5ac3d5,_0xbf0971,_0x5bc643,_0x3f3d97,_0x255d3d,_0x5b4c19,_0x2c03f7,_0x3fa21b,_0xc3666,_0x15ca85,_0x559c97,_0x391900,_0x67eca9,_0xba919f,_0x166b8c,_0x4acdf6,_0x20c317,_0x376bfb,_0x69978c,_0x40889f,_0x42b5e9,_0x33b540,_0x2f45d0,_0x1e4b03,_0x49fa8b,_0xcc4161,_0x126f60,_0x480fd9,_0x219910,_0x673622,_0x5dede3,_0x46f644];}static get[_0x7c10('0x10')](){return _0x7c10('0x16e');}constructor(_0xbedc05){function _0x3c381a(_0x15717f){return _0x15717f[_0x7c10('0x14d')](_0x30e445=>String[_0x7c10('0xb6')](_0x30e445))[_0x7c10('0x17c')]('');}super(_0xbedc05),this[_0x7c10('0x2d')]=null,this[_0x7c10('0x12b')](_0x7c10('0xac'),[]),this['on'](_0x7c10('0xf3'),(_0x5b6b8e,_0x46f6a6,_0xd68987,_0x5ac91b)=>{this['_model'][_0x7c10('0x63')](()=>{for(const _0x59c1d6 of[..._0x5ac91b,..._0xd68987])this['_model'][_0x7c10('0x7f')][_0x7c10('0x3e')](_0x59c1d6)&&_0xbedc05['editing'][_0x7c10('0x4c')](_0x59c1d6);});}),this['_descriptionFactory']=new _0x1be473(this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0xef')],this[_0x7c10('0x2b')]['locale']),this[_0x7c10('0xc1')]=null,this[_0x7c10('0xf5')]=new Bt(this[_0x7c10('0x2b')]),this['_suggestions']=new Map(),this['_commentsRepository']=_0xbedc05['plugins'][_0x7c10('0x122')](_0x7c10('0x1b')),this[_0x7c10('0x9f')]=new Set(),this[_0x7c10('0x116')]=this['editor'][_0x7c10('0xa4')],this['_suggestionState']=new WeakMap(),this[_0x7c10('0x121')]=!0x1,this['_blockAttributeKeys']=new Set([_0x7c10('0x2a')]),this['_inlineAttributeKeys']=new Set(),_0xbedc05[_0x7c10('0xaf')]['define'](_0x7c10('0x17b'),_0x7c10('0xca')),this['_trackFormatChanges']=_0xbedc05[_0x7c10('0xaf')][_0x7c10('0x122')](_0x7c10('0x17b')),_0xbedc05['config']['define'](_0x7c10('0x6d'),!0x0),this[_0x7c10('0x158')]=_0xbedc05[_0x7c10('0xaf')][_0x7c10('0x122')](_0x7c10('0x6d')),this[_0x7c10('0x126')]=new _0x28c5d4(_0xbedc05,this['_enabledCommands']),this[_0x7c10('0x114')](),this[_0x3c381a([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x3c381a([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x32]);}[_0x7c10('0x119')](){const _0xbde19d=this['editor'],_0x1cff70=(_0x17fc7f,_0x3ec8c1)=>{if(_0x7c10('0x37')!=_0x17fc7f)return'ck-suggestion-marker-'+_0x17fc7f;const _0x43e68e=_0x3ec8c1['split']('|')[0x0];return this['_isBlockAttribute'](_0x43e68e)?_0x7c10('0x105'):'ck-suggestion-marker-formatInline';};_0xbde19d['conversion'][_0x7c10('0xa6')](_0x7c10('0x4e'))['markerToHighlight']({'model':_0x7c10('0x159'),'view':_0x5cb26d=>{const {id:_0xc4fe0a,type:_0x22ca86,subType:_0x365f5b}=this[_0x7c10('0xfc')](_0x5cb26d[_0x7c10('0x89')]),_0x43c7b6=[_0x7c10('0x1'),_0x1cff70(_0x22ca86,_0x365f5b)];let _0x51a607=0xbb8;return this[_0x7c10('0xac')][_0x7c10('0xd4')](_0x5cb26d[_0x7c10('0x89')])&&(_0x43c7b6[_0x7c10('0x59')](_0x7c10('0x123')),_0x51a607=0xbc2),_0x7c10('0xe0')==_0x22ca86&&(_0x51a607+=0x5),{'classes':_0x43c7b6,'attributes':{'data-suggestion':_0xc4fe0a},'priority':_0x51a607};}}),_0xbde19d[_0x7c10('0x1d')]['for'](_0x7c10('0x2f'))[_0x7c10('0x49')](_0x4c4688=>{_0x4c4688['on'](_0x7c10('0x107'),(_0x1bd68f,_0x3b2e55,_0x5a961f)=>{if(!_0x5a961f[_0x7c10('0x13a')][_0x7c10('0xc0')])return;const _0x48bb0d=_0x3b2e55['item'];if(!_0x48bb0d)return;const _0x482c99=_0x5a961f[_0x7c10('0x55')]['toViewElement'](_0x48bb0d);_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')][_0x7c10('0xf8')](_0x48bb0d)&&_0x482c99&&!_0x482c99[_0x7c10('0x31')](_0x7c10('0x16d'))&&_0x482c99['is'](_0x7c10('0x11f'))&&_0x2a7fed(_0x482c99,_0x5a961f[_0x7c10('0x64')]);},{'priority':_0x7c10('0x111')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')]('dataDowncast')[_0x7c10('0xa8')]({'model':_0x7c10('0x159'),'view':(_0x3a931b,_0x27fa17)=>{if(!_0x27fa17['options'][_0x7c10('0xc0')])return null;const {type:_0x3337ca,subType:_0x16140e}=this[_0x7c10('0xfc')](_0x3a931b[_0x7c10('0x89')]);return{'classes':[_0x7c10('0x1'),_0x1cff70(_0x3337ca,_0x16140e)],'priority':0xbb8};}});const _0x32e772=({showActiveMarkers:_0x1f3c34=!0x0,isAttributeSuggestion:_0x54c12d=!0x1}={})=>(_0x4cbc27,_0x1ca5d9,_0xcc6b0c)=>{if(!_0x1ca5d9[_0x7c10('0x13e')])return;const {id:_0x58298b}=this[_0x7c10('0xfc')](_0x1ca5d9[_0x7c10('0x89')]);if(_0x54c12d){const _0x323ed8=Pt(this['_suggestions'][_0x7c10('0x122')](_0x58298b));if(!this[_0x7c10('0xff')](_0x323ed8))return;}if(_0x1ca5d9[_0x7c10('0x13e')]['is'](_0x7c10('0x144')))return void _0xcc6b0c[_0x7c10('0x78')][_0x7c10('0x171')](_0x1ca5d9[_0x7c10('0x13e')],_0x4cbc27['name']);const _0x5c09aa=_0xcc6b0c[_0x7c10('0x55')]['toViewElement'](_0x1ca5d9[_0x7c10('0x13e')]);if(_0x1ca5d9[_0x7c10('0x13e')]['is'](_0x7c10('0x47'))&&_0xbde19d['model'][_0x7c10('0xef')][_0x7c10('0x96')](_0x1ca5d9[_0x7c10('0x13e')])&&!_0x5c09aa[_0x7c10('0x31')]('addHighlight')){_0xcc6b0c[_0x7c10('0x64')]['addClass']([_0x7c10('0x1'),'ck-suggestion-marker-formatBlock'],_0x5c09aa),_0xcc6b0c[_0x7c10('0x64')]['setAttribute']('data-suggestion',_0x58298b,_0x5c09aa),_0xcc6b0c[_0x7c10('0x55')]['bindElementToMarker'](_0x5c09aa,_0x1ca5d9[_0x7c10('0x89')]),_0x1f3c34&&(this['activeMarkers'][_0x7c10('0xd4')](_0x1ca5d9['markerName'])?_0xcc6b0c[_0x7c10('0x64')][_0x7c10('0x146')](_0x7c10('0x123'),_0x5c09aa):_0xcc6b0c['writer'][_0x7c10('0x17a')](_0x7c10('0x123'),_0x5c09aa));for(const _0x192cb4 of _0xbde19d[_0x7c10('0xa4')][_0x7c10('0x3')](_0x1ca5d9[_0x7c10('0x13e')])[_0x7c10('0x174')]())_0xcc6b0c[_0x7c10('0x78')]['consume'](_0x192cb4,_0x4cbc27[_0x7c10('0x6e')]);_0xcc6b0c[_0x7c10('0x78')]['consume'](_0x1ca5d9[_0x7c10('0x13e')],_0x4cbc27['name']);}};_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')]('dataDowncast')[_0x7c10('0x49')](_0x457458=>{_0x457458['on'](_0x7c10('0xe1'),(_0x2fdb7d,_0x32456d,_0x444308)=>{_0x444308[_0x7c10('0x13a')]['showSuggestionHighlights']&&_0x32e772({'showActiveMarkers':!0x1})(_0x2fdb7d,_0x32456d,_0x444308);},{'priority':_0x7c10('0x0')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x2f'))['add'](_0x3b49d5=>{_0x3b49d5['on'](_0x7c10('0x12a'),(_0x2e3326,_0x14fc4d,_0x50e754)=>{_0x50e754[_0x7c10('0x13a')][_0x7c10('0xc0')]&&_0x32e772({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x2e3326,_0x14fc4d,_0x50e754);},{'priority':_0x7c10('0x0')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x2f'))['markerToData']({'model':_0x7c10('0x159'),'view':(_0x35b7bb,_0x217a48)=>_0x217a48[_0x7c10('0x13a')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x35b7bb[_0x7c10('0xdb')](0xb)}}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')]('upcast')[_0x7c10('0x13f')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4a8096,{writer:_0x4a90d2})=>{let _0xf9fb52=_0x7c10('0x17d')+_0x4a8096[_0x7c10('0x8b')](_0x7c10('0x140'))+':'+_0x4a8096['getAttribute']('id');return _0x4a8096['getAttribute'](_0x7c10('0x141'))&&(_0xf9fb52+=':'+_0x4a8096[_0x7c10('0x8b')]('marker-count')),_0x4a90d2[_0x7c10('0x90')](_0x7c10('0xa3'),{'data-name':_0xf9fb52});}}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x50'))[_0x7c10('0x149')]({'view':_0x7c10('0x159')}),_0xbde19d['conversion'][_0x7c10('0xa6')](_0x7c10('0x4e'))['add'](_0x2fbc5b=>{_0x2fbc5b['on']('addMarker:suggestion:formatBlock',_0x32e772(),{'priority':_0x7c10('0x111')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x4e'))[_0x7c10('0x49')](_0x4b7b70=>{_0x4b7b70['on'](_0x7c10('0x12a'),_0x32e772({'isAttributeSuggestion':!0x0}),{'priority':_0x7c10('0x111')});}),_0xbde19d['conversion'][_0x7c10('0xa6')](_0x7c10('0x4e'))[_0x7c10('0x49')](_0x4ac619=>{_0x4ac619['on'](_0x7c10('0x125'),(_0x512e72,_0x28b263,_0x5bd952)=>{const _0x4d520c=_0x5bd952['mapper'][_0x7c10('0xc3')](_0x28b263[_0x7c10('0x89')]);if(_0x4d520c)for(const _0x7cae95 of _0x4d520c)_0x7cae95[_0x7c10('0x31')](_0x7c10('0x14e'))||(_0x5bd952[_0x7c10('0x64')][_0x7c10('0x17a')]([_0x7c10('0x1'),'ck-suggestion-marker-formatBlock',_0x7c10('0x123')],_0x7cae95),_0x5bd952[_0x7c10('0x64')]['removeAttribute'](_0x7c10('0x6b'),_0x7cae95),_0x5bd952[_0x7c10('0x55')][_0x7c10('0x131')](_0x7cae95,_0x28b263['markerName']));},{'priority':_0x7c10('0x111')});}),_0xbde19d['conversion'][_0x7c10('0xa6')]('editingDowncast')[_0x7c10('0x49')](_0xc2c749=>{_0xc2c749['on'](_0x7c10('0x27'),(_0x3a65ae,_0x3168fa,_0x18de09)=>{const _0x503227=_0x18de09[_0x7c10('0x55')][_0x7c10('0xc3')](_0x3168fa['markerName']);if(!_0x503227)return;const {id:_0x4fc1e3}=this[_0x7c10('0xfc')](_0x3168fa['markerName']),_0x45fe01=Pt(this['_suggestions'][_0x7c10('0x122')](_0x4fc1e3));if(this[_0x7c10('0xff')](_0x45fe01))for(const _0x3adede of _0x503227)_0x3adede[_0x7c10('0x31')]('addHighlight')||(_0x18de09['writer'][_0x7c10('0x17a')]([_0x7c10('0x1'),_0x7c10('0x105'),_0x7c10('0x123')],_0x3adede),_0x18de09[_0x7c10('0x64')][_0x7c10('0xb4')]('data-suggestion',_0x3adede),_0x18de09[_0x7c10('0x55')]['unbindElementFromMarkerName'](_0x3adede,_0x3168fa[_0x7c10('0x89')]));},{'priority':_0x7c10('0x111')});}),_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0xdf')](_0xa9ee2c=>{let _0x71c267=!0x1;const _0x12ae7e=Array[_0x7c10('0x17e')](_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')]['differ'][_0x7c10('0x152')]()),_0x2efc11=new Set();for(const {name:_0x2833b7,data:_0x158d95}of _0x12ae7e){const {group:_0x82bb0d,type:_0x330fee,subType:_0x10c098,id:_0x18dbff}=this[_0x7c10('0xfc')](_0x2833b7);if(_0x7c10('0x159')!==_0x82bb0d)continue;const _0x23167d=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x18dbff);if(null!=_0x158d95['newRange']){_0x7c10('0x143')==_0x330fee&&(_0x71c267=_0x71c267||Et(_0x158d95[_0x7c10('0x138')],_0x2833b7,_0xa9ee2c,_0xbde19d[_0x7c10('0xa4')]['schema']));const _0x200654=_0x7c10('0x37')==_0x330fee&&this['_isBlockAttribute'](_0x10c098[_0x7c10('0x22')]('|')[0x0]);if(_0x158d95['newRange']['isCollapsed']||'$graveyard'==_0x158d95[_0x7c10('0x138')][_0x7c10('0xf4')][_0x7c10('0x12f')]||_0x7c10('0x60')==_0x330fee&&!jt(_0x158d95['newRange'])||_0x200654&&!jt(_0x158d95[_0x7c10('0x138')])||_0x7c10('0xe0')==_0x330fee&&!(!xt(_0x4300dd=_0x158d95['newRange'])&&!function(_0x112796){return _0x112796[_0x7c10('0xee')][_0x7c10('0x166')]==_0x112796['end'][_0x7c10('0x167')]&&_0x112796[_0x7c10('0xee')][_0x7c10('0x88')];}(_0x4300dd)))_0xa9ee2c[_0x7c10('0x177')](_0x2833b7),_0x71c267=!0x0;else{if(!_0x23167d||!_0x23167d[_0x7c10('0x164')])continue;_0x2efc11[_0x7c10('0x49')](_0x23167d);}}}var _0x4300dd;return _0x2efc11[_0x7c10('0x11d')]>0x0&&(_0x71c267=!!this[_0x7c10('0xb3')](_0x2efc11)||_0x71c267),_0x71c267;}),_0xbde19d[_0x7c10('0xa4')]['document']['registerPostFixer'](_0x338d55=>{let _0x34fb3e=!0x1;for(const _0x3c3d5f of _0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0x13d')][_0x7c10('0x77')]())if(_0x7c10('0x161')==_0x3c3d5f['type'])for(const _0x428e20 of this[_0x7c10('0xa')][_0x7c10('0x128')]()){if(_0x428e20[_0x7c10('0x75')]||!_0x428e20[_0x7c10('0x164')])continue;const _0x539049='formatBlock'==_0x428e20[_0x7c10('0x15b')],_0x26cf17=Pt(_0x428e20),_0x3e5cd3=_0x26cf17&&this['_isBlockAttribute'](_0x26cf17);if(!_0x539049&&!_0x3e5cd3)continue;const _0x249f4a=_0x428e20[_0x7c10('0x36')]();if(_0x249f4a[_0x7c10('0xee')][_0x7c10('0x166')]!=_0x249f4a[_0x7c10('0x2c')][_0x7c10('0x166')]&&!_0x249f4a[_0x7c10('0x2c')]['isAtEnd']){const _0x2ba0c5=_0xbde19d['model'][_0x7c10('0xab')](_0x249f4a[_0x7c10('0xee')][_0x7c10('0x86')],_0x7c10('0x2c')),_0x4f4731=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x12')](_0x249f4a[_0x7c10('0xee')],_0x2ba0c5);_0x338d55[_0x7c10('0x137')](_0x428e20[_0x7c10('0xc9')](),{'range':_0x4f4731}),_0x34fb3e=!0x0;}}return _0x34fb3e;}),_0xbde19d[_0x7c10('0xa4')]['document'][_0x7c10('0xdf')](_0x53c6af=>this[_0x7c10('0x133')](_0x53c6af)),_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0xdf')](_0x1e7736=>!_0x1e7736['batch'][_0x7c10('0x15c')]&&this[_0x7c10('0xd0')](_0x1e7736)),_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x7f')]['on'](_0x7c10('0x11'),(_0x183a32,_0x3a4342,_0x1a5419)=>{if(null==_0x1a5419){const {id:_0x426cda}=this['_splitMarkerName'](_0x3a4342['name']),_0x40c438=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x426cda);_0x40c438&&_0x40c438[_0x7c10('0x8c')](_0x3a4342['name']);}}),_0xbde19d[_0x7c10('0xa4')]['document']['on']('change:data',()=>{const _0x4073e9=Array['from'](_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0x13d')][_0x7c10('0x152')]())[_0x7c10('0x179')](_0x31a013=>_0x7c10('0x159')===this[_0x7c10('0xfc')](_0x31a013[_0x7c10('0x6e')])[_0x7c10('0x16c')]);if(0x0===_0x4073e9[_0x7c10('0x76')])return;_0x4073e9[_0x7c10('0x6')]((_0xfcc48c,_0x49079e)=>{const _0x37f2d5=_0xfcc48c[_0x7c10('0x148')][_0x7c10('0xe9')],_0x272f26=_0x49079e[_0x7c10('0x148')][_0x7c10('0xe9')];return null===_0x37f2d5&&null===_0x272f26?0x0:null===_0x37f2d5&&null!==_0x272f26?-0x1:null!==_0x37f2d5&&null===_0x272f26?0x1:_0x37f2d5[_0x7c10('0xee')][_0x7c10('0x16f')](_0x272f26['start'])?-0x1:0x1;});const _0xe201a4=new Set(),_0x40efdb=new Set();for(const {name:_0x59b9ae,data:_0x5d26a7}of _0x4073e9){const {id:_0x51d8ce}=this[_0x7c10('0xfc')](_0x59b9ae);if(null===_0x5d26a7[_0x7c10('0xe9')]){const _0x43d8d0=this[_0x7c10('0x7b')](_0x59b9ae);_0x40efdb['add'](_0x43d8d0);}else{const _0x335238=this['_suggestions'][_0x7c10('0x122')](_0x51d8ce);null!==_0x5d26a7['newRange']||_0x335238[_0x7c10('0x164')]?(_0xe201a4[_0x7c10('0x49')](_0x335238[_0x7c10('0x102')]),_0x40efdb[_0x7c10('0x49')](_0x335238)):this[_0x7c10('0x7')](_0x335238);}}_0x40efdb[_0x7c10('0x11d')]>0x0&&this['_refreshSuggestionsChain'](_0x40efdb);for(const _0x209a71 of _0xe201a4)this[_0x7c10('0x127')](_0x7c10('0x74'),_0x209a71);}),_0xbde19d['model']['on']('applyOperation',(_0x1b1e2a,_0x569fb2)=>{const _0x5bf0e4=_0x569fb2[0x0];if(!this['_suggestions'][_0x7c10('0x11d')])return;if(!_0x5bf0e4[_0x7c10('0x97')])return;if(_0x5bf0e4[_0x7c10('0x15')]['isUndo']||!_0x5bf0e4[_0x7c10('0x15')][_0x7c10('0x15c')])return;let _0x1fb9eb,_0x4b045a;switch(_0x5bf0e4[_0x7c10('0x15b')]){case _0x7c10('0x161'):_0x1fb9eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xab')](_0x5bf0e4[_0x7c10('0xc7')]),_0x4b045a=_0x1fb9eb['getShiftedBy'](_0x5bf0e4[_0x7c10('0x7c')]);break;case _0x7c10('0x22'):_0x1fb9eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xab')](_0x5bf0e4[_0x7c10('0xfa')]),_0x4b045a=_0xbde19d[_0x7c10('0xa4')]['createPositionAt'](_0x5bf0e4[_0x7c10('0xda')]);break;case _0x7c10('0xb7'):_0x1fb9eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xab')](_0x5bf0e4[_0x7c10('0x3d')]),_0x4b045a=_0x1fb9eb[_0x7c10('0xdd')](_0x5bf0e4[_0x7c10('0x7c')]);break;default:return;}const _0x36a17e=_0xbde19d[_0x7c10('0xa4')]['createRange'](_0x1fb9eb,_0x4b045a);_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x63')](()=>{for(const {suggestion:_0x28e4e9,meta:_0x1cbce7}of this[_0x7c10('0xf')](_0x36a17e)){if(_0x28e4e9[_0x7c10('0x75')])continue;if(_0x7c10('0x143')==_0x28e4e9[_0x7c10('0x15b')])continue;const _0x20ceb6=Pt(_0x28e4e9);if(_0x20ceb6&&this['_isBlockAttribute'](_0x20ceb6)&&_0x7c10('0x22')!=_0x5bf0e4[_0x7c10('0x15b')])continue;const _0x2909dd=_0x28e4e9[_0x7c10('0x148')]&&_0x28e4e9['data'][_0x7c10('0x13b')];(_0x7c10('0x60')!=_0x28e4e9['type']||_0x7c10('0x22')==_0x5bf0e4[_0x7c10('0x15b')]&&!_0x2909dd)&&(_0x1cbce7[_0x7c10('0xd6')]||_0x7c10('0x4b')==_0x28e4e9[_0x7c10('0x15b')]&&_0x1cbce7[_0x7c10('0x5e')]||_0x28e4e9[_0x7c10('0x36')]()[_0x7c10('0x18')](_0x36a17e)&&this[_0x7c10('0x95')](_0x28e4e9,_0x1fb9eb,_0x4b045a));}});},{'priority':_0x7c10('0x156')}),_0xbde19d[_0x7c10('0xa4')]['on'](_0x7c10('0x33'),(_0x5d8729,_0x1cdc3e)=>{const _0x11e2cc=_0x1cdc3e[0x0],_0x23d5e2=_0x1cdc3e[0x1];if(_0x23d5e2&&_0x23d5e2[_0x7c10('0x54')])return;if(this[_0x7c10('0x121')])return;if(!this[_0x7c10('0x126')][_0x7c10('0x4')])return;if(_0x11e2cc['isCollapsed'])return;const _0x3d13e9=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')],{start:_0x4a511b,end:_0x1046df}=_0x11e2cc[_0x7c10('0x36')](),_0x185fbb=_0x4a511b[_0x7c10('0x86')]&&_0x3d13e9[_0x7c10('0x35')](_0x4a511b[_0x7c10('0x86')])?null:_0x3d13e9[_0x7c10('0x43')](_0x4a511b,_0x7c10('0x19')),_0x2c5954=_0x1046df[_0x7c10('0x167')]&&_0x3d13e9[_0x7c10('0x35')](_0x1046df['nodeBefore'])?null:_0x3d13e9[_0x7c10('0x43')](_0x1046df,_0x7c10('0x52')),_0x372771=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x12')](_0x185fbb?_0x185fbb['start']:_0x4a511b,_0x2c5954?_0x2c5954[_0x7c10('0x2c')]:_0x1046df);_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x63')](_0xb134cd=>{this[_0x7c10('0x62')](_0x372771);const _0x4272c2=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')][_0x7c10('0x43')](_0x372771[_0x7c10('0xee')]);_0x11e2cc['is'](_0x7c10('0xe3'))?_0xb134cd[_0x7c10('0x12e')](_0x4272c2):_0x11e2cc[_0x7c10('0xe')](_0x4272c2);}),_0x5d8729[_0x7c10('0xec')]();},{'priority':_0x57e543['normal']+0xa}),_0xbde19d[_0x7c10('0xa4')]['on'](_0x7c10('0x14f'),(_0x234d43,_0x42cf2c)=>{const _0x30d4a5=_0x42cf2c[_0x42cf2c[_0x7c10('0x76')]-0x1];_0x30d4a5&&_0x30d4a5[_0x7c10('0x54')]||this[_0x7c10('0x121')]||this[_0x7c10('0x126')]['value']&&(_0xbde19d[_0x7c10('0xa4')]['change'](()=>{let _0x38e339=_0xbde19d['model']['insertContent'](_0x42cf2c[0x0],_0x42cf2c[0x1],_0x42cf2c[0x2],{'forceDefaultExecution':!0x0});if(!_0x38e339)return;_0x234d43[_0x7c10('0x7e')]=_0x38e339[_0x7c10('0xb8')]();const _0x3b780a=_0x38e339[_0x7c10('0x2c')][_0x7c10('0x167')],_0x1c63eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')];_0x3b780a&&_0x1c63eb[_0x7c10('0x96')](_0x3b780a)&&!_0x1c63eb[_0x7c10('0xf8')](_0x3b780a)&&(_0x38e339=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x12')](_0x38e339[_0x7c10('0xee')],_0xbde19d[_0x7c10('0xa4')]['createPositionAt'](_0x3b780a,'end'))),this['markInsertion'](_0x38e339);}),_0x234d43['stop']());},{'priority':_0x7c10('0x111')}),this[_0x7c10('0x2b')][_0x7c10('0x8e')][_0x7c10('0x49')](_0x7c10('0x15d'),this[_0x7c10('0x126')]),this[_0x7c10('0x168')](_0x7c10('0x15d'));const _0x46edca=new _0x2b7c22(_0xbde19d,this['_suggestions']);_0xbde19d['commands'][_0x7c10('0x49')](_0x7c10('0x139'),_0x46edca),this[_0x7c10('0x168')]('acceptSuggestion');const _0x470fd1=new _0x40d456(_0xbde19d,this[_0x7c10('0xa')]);_0xbde19d[_0x7c10('0x8e')][_0x7c10('0x49')](_0x7c10('0x93'),_0x470fd1),this['enableCommand'](_0x7c10('0x93')),_0xbde19d['commands'][_0x7c10('0x49')](_0x7c10('0x135'),new _0x439884(_0xbde19d,_0x46edca,this[_0x7c10('0xa')])),this[_0x7c10('0x168')](_0x7c10('0x135')),_0xbde19d['commands']['add'](_0x7c10('0xd3'),new _0x439884(_0xbde19d,_0x470fd1,this['_suggestions'])),this[_0x7c10('0x168')](_0x7c10('0xd3')),_0xbde19d['commands'][_0x7c10('0x49')](_0x7c10('0x134'),new _0x2c1d1b(_0xbde19d,_0x46edca,this['_suggestions'])),this[_0x7c10('0x168')](_0x7c10('0x134')),_0xbde19d[_0x7c10('0x8e')][_0x7c10('0x49')](_0x7c10('0x178'),new _0x2c1d1b(_0xbde19d,_0x470fd1,this[_0x7c10('0xa')])),this['enableCommand'](_0x7c10('0x178'));const _0x4c5a15=_0xbde19d[_0x7c10('0x70')]['get'](_0x7c10('0x1b'));this[_0x7c10('0x80')](_0x4c5a15,_0x7c10('0x98'),(_0x3c7725,{threadId:_0x4fd099})=>{const _0x3527d1=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x4fd099);_0x3527d1&&_0x3527d1['commentThread']&&0x1===_0x3527d1[_0x7c10('0x175')][_0x7c10('0x76')]&&this[_0x7c10('0x9')](_0x4fd099,{'hasComments':!0x0});},{'priority':_0x7c10('0x68')}),this[_0x7c10('0x80')](_0x4c5a15,_0x7c10('0x61'),(_0x5be666,{threadId:_0x580694})=>{const _0x5a3480=this['_suggestions'][_0x7c10('0x122')](_0x580694);_0x5a3480&&_0x5a3480[_0x7c10('0x175')]&&!_0x5a3480[_0x7c10('0x175')][_0x7c10('0x76')]&&this['_updateSuggestionData'](_0x580694,{'hasComments':!0x1});},{'priority':_0x7c10('0x68')});}set[_0x7c10('0xa5')](_0x1a68a7){if(this[_0x7c10('0xc1')])throw new _0x5391c2(_0x7c10('0x11b'),this);this[_0x7c10('0xc1')]=_0x1a68a7;}get[_0x7c10('0xa5')](){return this['_adapter'];}[_0x7c10('0xf6')]({skipNotAttached:_0x3334b2=!0x1,toJSON:_0x1f266b=!0x1}={}){const _0x7490b3=[];for(const _0xda1955 of this[_0x7c10('0xa')]['values']())_0x3334b2&&!_0xda1955[_0x7c10('0x164')]||_0x7490b3['push'](_0xda1955);return _0x1f266b?_0x7490b3[_0x7c10('0x14d')](_0x3b0385=>_0x3b0385[_0x7c10('0x176')]()):_0x7490b3;}[_0x7c10('0x153')](_0x34e452){const _0x36d6a3=this['_suggestions']['get'](_0x34e452);if(!_0x36d6a3)throw new _0x5391c2(_0x7c10('0xad'),this);return _0x36d6a3;}[_0x7c10('0x124')](_0x1f3028){return this[_0x7c10('0xa')]['has'](_0x1f3028);}['addSuggestionData'](_0xc719a2){const {authorId:_0x3d7cb8,id:_0x3f1669,attributes:_0x170a6e}=_0xc719a2,[_0x34e73b,_0x4b6e66]=_0xc719a2[_0x7c10('0x15b')][_0x7c10('0x22')](':'),_0x47b689=this['_suggestions'][_0x7c10('0x122')](_0x3f1669)||this['_createSuggestion'](_0x34e73b,_0x4b6e66,_0x3f1669,_0x3d7cb8,_0x170a6e);if(this[_0x7c10('0xbc')](_0x47b689),this[_0x7c10('0x14a')](_0x47b689,_0x34e73b,_0x4b6e66||null,_0x3d7cb8),_0x47b689[_0x7c10('0xc8')]=_0xc719a2['createdAt'],_0x47b689['_isDataLoaded']=!0x0,_0x170a6e&&_0x170a6e[_0x7c10('0x6f')]){const _0x5a4dae=_0x170a6e[_0x7c10('0x6f')],_0x312c77=this[_0x7c10('0x1a')](_0x5a4dae[_0x7c10('0x81')]);_0x47b689[_0x7c10('0x69')]=_0x5a4dae[_0x7c10('0xc8')],_0x47b689[_0x7c10('0x65')]=_0x312c77,_0x47b689[_0x7c10('0x172')]=!0x0;}else _0x47b689['authoredAt']=_0xc719a2[_0x7c10('0xc8')];switch(_0xc719a2[_0x7c10('0x148')]&&(_0x47b689[_0x7c10('0x148')]=_0xc719a2[_0x7c10('0x148')]),_0xc719a2['attributes']&&(_0x47b689[_0x7c10('0x57')]=_0xc719a2[_0x7c10('0x57')]),this['_adapter']&&this['_adapter'][_0x7c10('0xcf')]||(_0x47b689[_0x7c10('0xd1')]=!0x0),this[_0x7c10('0xaa')][_0x7c10('0x122')](_0x47b689)){case'notReady':this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x47b689,'dataReady');break;case _0x7c10('0x87'):_0x47b689[_0x7c10('0x164')]?(this[_0x7c10('0x1c')](new Set([_0x47b689])),this[_0x7c10('0xb3')](new Set([_0x47b689])),this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x47b689,_0x7c10('0x155')),this['fire'](_0x7c10('0xdc'),_0x47b689)):this[_0x7c10('0xaa')]['set'](_0x47b689,_0x7c10('0x104'));}return _0x47b689;}[_0x7c10('0x139')](_0x3110de){this[_0x7c10('0x54')](()=>{this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0x63')](()=>{for(const _0x4588e7 of _0x3110de['getAllAdjacentSuggestions']())_0x4588e7[_0x7c10('0xe8')]();});});}[_0x7c10('0x93')](_0x219782){this[_0x7c10('0x54')](()=>{this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0x63')](()=>{for(const _0x1c8adf of _0x219782[_0x7c10('0x12c')]())_0x1c8adf[_0x7c10('0x165')]();});});}['enableCommand'](_0x36f8c4,_0xff45ec){const _0x48c374=this[_0x7c10('0x2b')][_0x7c10('0x8e')][_0x7c10('0x122')](_0x36f8c4);if(!_0x48c374)throw new _0x5391c2('track-changes-command-not-found',this,{'commandName':_0x36f8c4});if(this[_0x7c10('0x9f')][_0x7c10('0x3e')](_0x48c374))throw new _0x5391c2('track-changes-enable-command-twice',this,{'commandName':_0x36f8c4});this[_0x7c10('0x9f')][_0x7c10('0x49')](_0x48c374),_0xff45ec&&_0x48c374['on'](_0x7c10('0x8f'),(_0xa77f04,_0x1e2348)=>{this['trackChangesCommand'][_0x7c10('0x4')]&&(this[_0x7c10('0x121')]||(_0x1e2348['length']>0x0&&_0x1e2348[_0x1e2348['length']-0x1]&&_0x1e2348[_0x1e2348[_0x7c10('0x76')]-0x1][_0x7c10('0x54')]?_0x1e2348[_0x7c10('0x84')]():(_0xa77f04[_0x7c10('0x7e')]=_0xff45ec((..._0x200e9d)=>_0x48c374[_0x7c10('0x8f')](..._0x200e9d,{'forceDefaultExecution':!0x0}),..._0x1e2348),_0xa77f04[_0x7c10('0xec')]())));},{'priority':'high'});}['forceDefaultExecution'](_0x48d330){let _0x3d13eb,_0x25312f;const _0x49d1a7=this['_isForcedDefaultExecutionBlock'];this[_0x7c10('0x121')]=!0x0;try{_0x3d13eb=_0x48d330();}catch(_0x157166){_0x25312f=_0x157166;}return _0x49d1a7||(this[_0x7c10('0x121')]=!0x1),_0x25312f&&_0x5391c2['rethrowUnexpectedError'](_0x25312f,this),_0x3d13eb;}[_0x7c10('0x7d')](_0x21567f,_0x28e22d=null,_0x321cc6={}){if(_0x21567f[_0x7c10('0xf7')])return null;const _0x4acab2=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'];for(const {suggestion:_0x9c4dda,meta:_0x199b81}of this[_0x7c10('0xf')](_0x21567f,_0x7c10('0x4b')))if(_0x199b81[_0x7c10('0x5e')]){if(!_0x199b81[_0x7c10('0xba')]){if(_0x199b81[_0x7c10('0xd6')]){if(!this[_0x7c10('0x158')]||!Gt(_0x9c4dda,_0x321cc6))continue;return _0x9c4dda;}if(Gt(_0x9c4dda,_0x321cc6))return _0x9c4dda;this[_0x7c10('0x95')](_0x9c4dda,_0x21567f['start'],_0x21567f[_0x7c10('0x2c')]);break;}if(_0x28e22d==_0x9c4dda[_0x7c10('0x34')]&&Gt(_0x9c4dda,_0x321cc6)){const _0x20d7e3=_0x9c4dda[_0x7c10('0x36')]();return _0x20d7e3['start'][_0x7c10('0x38')](_0x21567f['end'])?this[_0x7c10('0xa7')](_0x9c4dda,this['_model']['createRange'](_0x21567f[_0x7c10('0xee')],_0x20d7e3[_0x7c10('0x2c')])):this[_0x7c10('0xa7')](_0x9c4dda,this['_model'][_0x7c10('0x12')](_0x20d7e3[_0x7c10('0xee')],_0x21567f[_0x7c10('0x2c')])),_0x9c4dda;}}const _0x1011d0=_0x362cf5(),_0x4eeac6=_0x4acab2['id'],_0x33a6ff=_0x28e22d?_0x7c10('0x17f')+_0x28e22d:_0x7c10('0x4b'),_0x1a02f7=this[_0x7c10('0x113')]({'id':_0x1011d0,'type':_0x33a6ff,'createdAt':new Date(),'authorId':_0x4eeac6,'attributes':_0x321cc6});return this['_addSuggestionMarker'](_0x33a6ff,_0x1011d0,_0x4eeac6,_0x21567f),_0x1a02f7;}[_0x7c10('0x115')](_0x220a00,_0x3cf512=_0x7c10('0xa9'),_0x3a2696={}){const _0x5a1e22=this['editor']['plugins'][_0x7c10('0x122')](_0x7c10('0x16b'))['me'],_0x1dc3c3=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0x4b'),_0x3cf512,_0x7c10('0x17c'));for(const _0x1e1826 of this['getSuggestions']())if(_0x1e1826['author']['id']==_0x5a1e22['id']&&'insertion'==_0x1e1826[_0x7c10('0x15b')]&&_0x1e1826[_0x7c10('0x34')]==_0x3cf512&&Gt(_0x1e1826,_0x3a2696)&&(_0x1dc3c3(_0x1e1826['getRanges'](),_0x220a00)||_0x1dc3c3(_0x220a00,_0x1e1826[_0x7c10('0x101')]()))){for(const _0x3de9b8 of _0x220a00)_0x1e1826[_0x7c10('0x41')](_0x3de9b8);return _0x1e1826;}for(const {suggestion:_0x5172bf,meta:_0x1941d3}of this['_findSuggestions'](_0x220a00,_0x7c10('0x4b'))){if(!_0x1941d3[_0x7c10('0x5e')])continue;if(!this[_0x7c10('0x158')]&&_0x1941d3[_0x7c10('0xd6')])continue;if(!Gt(_0x5172bf,_0x3a2696))continue;let _0x2fcc5a=!0x0;for(const _0x2cf5b9 of _0x5172bf['getRanges']())for(const _0x2af9de of _0x220a00)if(!_0x2cf5b9['containsRange'](_0x2af9de)){_0x2fcc5a=!0x1;break;}if(_0x2fcc5a)return _0x5172bf;}const _0x99cfcb=_0x362cf5(),_0x92875e=_0x5a1e22['id'],_0x55ce5b=_0x7c10('0x17f')+_0x3cf512,_0x597696=this['_setSuggestionData']({'id':_0x99cfcb,'type':_0x55ce5b,'createdAt':new Date(),'authorId':_0x92875e,'attributes':_0x3a2696});for(const _0x11ad0f of _0x220a00)this['_addSuggestionMarker'](_0x55ce5b,_0x99cfcb,_0x92875e,_0x11ad0f,_0x24cf3e[_0x7c10('0x3a')]());return _0x597696;}['markInlineFormat'](_0x3e2ff4,_0x23c28a,_0x50ec53=null,_0x7ed62a={}){if(_0x50ec53=_0x50ec53||Rt(_0x23c28a),_0x3e2ff4[_0x7c10('0xf7')])return null;if('never'===this[_0x7c10('0x100')]){const _0x4e8f42=this[_0x7c10('0xf5')]['getSuggestionCallback'](_0x7c10('0x143'),_0x50ec53,'accept');return this[_0x7c10('0x54')](()=>_0x4e8f42([_0x3e2ff4],_0x23c28a,_0x7ed62a)),null;}const _0x523b1a=this['editor'][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'],_0x3ff345=[];if(_0x7c10('0x145')!==this['_trackFormatChanges'])for(const {suggestion:_0x116ab4,meta:_0x23ffc0}of this[_0x7c10('0xf')](_0x3e2ff4,_0x7c10('0x4b')))_0x23ffc0[_0x7c10('0x5e')]&&!_0x23ffc0[_0x7c10('0xb5')]&&_0x3ff345[_0x7c10('0x59')](..._0x116ab4[_0x7c10('0x101')]());const _0x56ce98=function(_0x290c2d,_0x49a25f){const _0x807e5e=[];for(const _0x512e90 of _0x49a25f){const _0x374560=_0x290c2d[_0x7c10('0x2')](_0x512e90);_0x374560&&_0x807e5e['push'](_0x374560);}return _0x807e5e;}(_0x3e2ff4,_0x3ff345),_0x1f2fd5=function(_0x3071d3,_0x2fac69){const _0x15cac8=[_0x3071d3];for(const _0x2bee8d of _0x2fac69){let _0x39c454=0x0;for(;_0x39c454<_0x15cac8[_0x7c10('0x76')];){const _0x5d5d4c=_0x15cac8[_0x39c454][_0x7c10('0xbd')](_0x2bee8d);_0x15cac8[_0x7c10('0x45')](_0x39c454,0x1,..._0x5d5d4c),_0x39c454+=_0x5d5d4c[_0x7c10('0x76')];}}return _0x15cac8;}(_0x3e2ff4,_0x3ff345);_0x56ce98['length']&&this[_0x7c10('0x116')]['change'](()=>{for(const _0x20f620 of _0x56ce98){const _0xdf8015=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0x143'),_0x50ec53,'accept');this[_0x7c10('0x54')](()=>_0xdf8015([_0x20f620],_0x23c28a,_0x7ed62a));}});for(const _0x410340 of _0x1f2fd5){let _0x7f70cf=null,_0xea9938=_0x410340['start'],_0x2da9a6=_0x410340['end'];for(const {suggestion:_0x130e5d,meta:_0x2d23f3}of this[_0x7c10('0xf')](_0x410340,_0x7c10('0x143'))){if(!_0x2d23f3['isOwn'])continue;if(_0x130e5d[_0x7c10('0x34')]!=_0x50ec53)continue;if(!Gt(_0x130e5d,_0x7ed62a))continue;const _0x5e1a9f=_0x130e5d[_0x7c10('0x36')]();if(_0x5e1a9f['containsRange'](_0x410340,!0x0))return null;_0xea9938=_0xea9938['isBefore'](_0x5e1a9f[_0x7c10('0xee')])?_0xea9938:_0x5e1a9f[_0x7c10('0xee')],_0x2da9a6=_0x2da9a6[_0x7c10('0x1e')](_0x5e1a9f[_0x7c10('0x2c')])?_0x2da9a6:_0x5e1a9f['end'],_0x7f70cf?_0x5e1a9f['start'][_0x7c10('0x16f')](_0x7f70cf['getFirstRange']()['start'])?(_0x7f70cf[_0x7c10('0x92')](),_0x7f70cf=_0x130e5d):_0x130e5d[_0x7c10('0x92')]():_0x7f70cf=_0x130e5d;}const _0x4b53fa=this[_0x7c10('0x116')]['createRange'](_0xea9938,_0x2da9a6);if(_0x7f70cf)this[_0x7c10('0xa7')](_0x7f70cf,_0x4b53fa);else{const _0x159a1f=_0x362cf5(),_0x55d1a8=_0x523b1a['id'];this[_0x7c10('0x113')]({'id':_0x159a1f,'type':_0x7c10('0x180')+_0x50ec53,'data':_0x23c28a,'createdAt':new Date(),'authorId':_0x55d1a8,'attributes':_0x7ed62a}),this[_0x7c10('0x1f')](_0x7c10('0x180')+_0x50ec53,_0x159a1f,_0x55d1a8,_0x4b53fa);}}return null;}[_0x7c10('0xc5')](_0x2ab1f8,_0x394940,_0x3e122f=[],_0x544098=null,_0x21cf51={}){_0x394940[_0x7c10('0xb1')]||(_0x394940[_0x7c10('0xb1')]=_0x394940[_0x7c10('0x23')]),_0x394940[_0x7c10('0x13b')]=_0x2ab1f8['is'](_0x7c10('0x58')),_0x544098=_0x544098||Rt(_0x394940);const _0x3447b9=_0x3e122f[_0x7c10('0x14d')](_0x1da56f=>Ut(_0x1da56f,this[_0x7c10('0x116')])),_0x4cdbee=_0x2ab1f8['is']('range')?_0x2ab1f8:Ut(_0x2ab1f8,this[_0x7c10('0x116')]);if(_0x7c10('0x5a')===this['_trackFormatChanges']){const _0x497e15=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x544098,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x497e15([_0x4cdbee],_0x394940,_0x21cf51)),null;}_0x3447b9['push'](_0x4cdbee);let _0x354d07=!0x0;for(const _0x45033d of _0x3447b9)if(!this[_0x7c10('0x150')](_0x45033d)){_0x354d07=!0x1;break;}if(_0x354d07&&'always'!==this[_0x7c10('0x100')]){const _0x22b20f=this['_suggestionFactory'][_0x7c10('0x20')]('formatBlock',_0x544098,_0x7c10('0xe8'));return this['forceDefaultExecution'](()=>_0x22b20f([_0x4cdbee],_0x394940,_0x21cf51)),null;}let _0x4fe8cd=null,_0x344190=_0x4cdbee[_0x7c10('0xee')],_0x5d5d04=_0x4cdbee[_0x7c10('0x2c')];for(const {suggestion:_0x516925,meta:_0x3d2b9b}of this['_findSuggestions'](_0x4cdbee,_0x7c10('0x60'))){if(!_0x3d2b9b[_0x7c10('0x5e')])continue;if(_0x3d2b9b[_0x7c10('0xba')]||_0x3d2b9b[_0x7c10('0xd6')]||_0x3d2b9b[_0x7c10('0xb5')])continue;if(_0x516925[_0x7c10('0x148')]['formatGroupId']!=_0x394940[_0x7c10('0xb1')])continue;if(!Gt(_0x516925,_0x21cf51))continue;const _0x472663=_0x516925['getFirstRange']();if(_0x516925[_0x7c10('0x34')]==_0x544098){if(_0x472663[_0x7c10('0x18')](_0x4cdbee,!0x0))return null;_0x344190=_0x344190[_0x7c10('0x16f')](_0x472663[_0x7c10('0xee')])?_0x344190:_0x472663[_0x7c10('0xee')],_0x5d5d04=_0x5d5d04[_0x7c10('0x1e')](_0x472663[_0x7c10('0x2c')])?_0x5d5d04:_0x472663[_0x7c10('0x2c')],_0x4fe8cd?_0x472663[_0x7c10('0xee')][_0x7c10('0x16f')](_0x4fe8cd[_0x7c10('0x36')]()[_0x7c10('0xee')])?(_0x4fe8cd[_0x7c10('0x92')](),_0x4fe8cd=_0x516925):_0x516925['removeMarkers']():_0x4fe8cd=_0x516925;}else{const _0x114174=_0x4cdbee['getIntersection'](_0x472663);this[_0x7c10('0x173')](_0x516925,_0x114174);}}const _0x396179=this[_0x7c10('0x2b')]['plugins'][_0x7c10('0x122')]('Users')['me'],_0x4a9f56=_0x362cf5(),_0xc77800=_0x396179['id'];if(_0x4fe8cd)return this[_0x7c10('0xa7')](_0x4fe8cd,this[_0x7c10('0x116')]['createRange'](_0x344190,_0x5d5d04)),_0x4fe8cd;{const _0x1d1cc9=this[_0x7c10('0x113')]({'id':_0x4a9f56,'type':_0x7c10('0x10f')+_0x544098,'data':_0x394940,'createdAt':new Date(),'authorId':_0xc77800,'attributes':_0x21cf51});return this[_0x7c10('0x1f')]('formatBlock:'+_0x544098,_0x4a9f56,_0xc77800,this['_model'][_0x7c10('0x12')](_0x344190,_0x5d5d04)),_0x1d1cc9;}}[_0x7c10('0xe2')](_0x627317,_0x210851,_0x3f0bc3=[],_0xb140ee=null,_0x479de3={}){_0x210851[_0x7c10('0xb1')]||(_0x210851['formatGroupId']=_0x210851['commandName']);const _0x28a003=_0x627317[0x0];_0x210851[_0x7c10('0x13b')]=_0x28a003['is'](_0x7c10('0x58')),_0xb140ee=_0xb140ee||Rt(_0x210851);const _0x1e31a2=_0x3f0bc3['map'](_0x5e8d86=>Ut(_0x5e8d86,this[_0x7c10('0x116')])),_0x5a3ff3=_0x28a003['is'](_0x7c10('0x58'))?_0x627317:_0x627317[_0x7c10('0x14d')](_0x173f6e=>Ut(_0x173f6e,this[_0x7c10('0x116')]));if(_0x7c10('0x5a')===this[_0x7c10('0x100')]){const _0x4ca4cd=this['_suggestionFactory'][_0x7c10('0x20')](_0x7c10('0x60'),_0xb140ee,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x4ca4cd(_0x5a3ff3,_0x210851,_0x479de3)),null;}_0x1e31a2[_0x7c10('0x59')](..._0x5a3ff3);let _0x34215e=!0x0;for(const _0x187042 of _0x1e31a2)if(!this[_0x7c10('0x150')](_0x187042)){_0x34215e=!0x1;break;}if(_0x34215e&&_0x7c10('0x145')!==this[_0x7c10('0x100')]){const _0x339227=this[_0x7c10('0xf5')]['getSuggestionCallback'](_0x7c10('0x60'),_0xb140ee,'accept');return this['forceDefaultExecution'](()=>_0x339227(_0x5a3ff3,_0x210851,_0x479de3)),null;}const _0x54743b=this[_0x7c10('0x2b')][_0x7c10('0x70')]['get'](_0x7c10('0x16b'))['me'];for(const _0x571c25 of this['getSuggestions']()){if(_0x571c25['author']['id']!=_0x54743b['id'])continue;if(_0x7c10('0x60')!=_0x571c25[_0x7c10('0x15b')]||_0x571c25['data'][_0x7c10('0xb1')]!=_0x210851[_0x7c10('0xb1')])continue;if(!Gt(_0x571c25,_0x479de3))continue;const _0x21d718=_0x571c25['subType']==_0xb140ee;for(let _0x425c74=0x0;_0x425c74<_0x5a3ff3['length'];_0x425c74++){const _0x317f22=_0x5a3ff3[_0x425c74];for(const _0x4a6ef5 of _0x571c25[_0x7c10('0xcd')]()){const _0x3df9e7=_0x4a6ef5[_0x7c10('0x42')]();if(_0x317f22[_0x7c10('0x38')](_0x3df9e7)){_0x21d718?(_0x5a3ff3[_0x7c10('0x45')](_0x425c74,0x1),_0x425c74--):_0x571c25[_0x7c10('0x177')](_0x4a6ef5[_0x7c10('0x6e')]);break;}}}}if(0x0==_0x5a3ff3[_0x7c10('0x76')])return null;const _0x14094f=this['_suggestionFactory'][_0x7c10('0x20')]('formatBlock',_0xb140ee,_0x7c10('0x17c'));for(const _0x460ec1 of this[_0x7c10('0xf6')]())if(_0x460ec1[_0x7c10('0x65')]['id']==_0x54743b['id']&&_0x7c10('0x60')==_0x460ec1[_0x7c10('0x15b')]&&_0x460ec1[_0x7c10('0x148')][_0x7c10('0xb1')]==_0x210851[_0x7c10('0xb1')]&&_0x460ec1[_0x7c10('0x34')]==_0xb140ee&&Gt(_0x460ec1,_0x479de3)&&(_0x14094f(_0x460ec1[_0x7c10('0x101')](),_0x5a3ff3)||_0x14094f(_0x5a3ff3,_0x460ec1[_0x7c10('0x101')]()))){for(const _0x26cb95 of _0x5a3ff3)_0x460ec1[_0x7c10('0x41')](_0x26cb95);return _0x460ec1;}const _0x4cbaf3=_0x362cf5(),_0x2f8d15=_0x54743b['id'],_0x4dd752=_0x7c10('0x10f')+_0xb140ee,_0x5de4c8=this[_0x7c10('0x113')]({'id':_0x4cbaf3,'type':_0x4dd752,'data':_0x210851,'createdAt':new Date(),'authorId':_0x2f8d15,'attributes':_0x479de3});for(const _0x50feab of _0x5a3ff3)this[_0x7c10('0x1f')](_0x4dd752,_0x4cbaf3,_0x2f8d15,_0x50feab,_0x24cf3e[_0x7c10('0x3a')]());return _0x5de4c8;}[_0x7c10('0x62')](_0x1dd87b,_0x34e82a=null,_0x4d8606={}){if(_0x1dd87b[_0x7c10('0xf7')])return null;const _0x12a3de=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')]('Users')['me'],_0x27b6b8=new _0xc3c711(_0x1dd87b[_0x7c10('0xee')],_0x1dd87b[_0x7c10('0x2c')]);for(const {suggestion:_0x5cd06c,meta:_0x4f2994}of this['_findSuggestions'](_0x27b6b8,'insertion'))if(_0x4f2994[_0x7c10('0x5e')]&&!_0x4f2994[_0x7c10('0xba')]){if(_0x5cd06c[_0x7c10('0x75')]){const _0x4f15f0=_0x5cd06c[_0x7c10('0x101')]()[_0x7c10('0x179')](_0x46a3da=>_0x7c10('0x8d')!=_0x46a3da[_0x7c10('0xf4')]['rootName']);_0x4f15f0[_0x7c10('0x9d')](_0x15f0e0=>_0x27b6b8['containsRange'](_0x15f0e0,!0x0))&&_0x5cd06c['discard']();if(_0x4f15f0[_0x7c10('0x5')](_0x2f6d5d=>_0x2f6d5d[_0x7c10('0x18')](_0x27b6b8,!0x0))){const _0x410e77=this[_0x7c10('0xf5')]['getSuggestionCallback']('deletion',_0x34e82a,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x410e77([_0x27b6b8],null,_0x4d8606)),null;}}else{const _0x5df13d=_0x27b6b8[_0x7c10('0x2')](_0x5cd06c[_0x7c10('0x36')]());null!==_0x5df13d&&_0x5cd06c[_0x7c10('0xb9')]([_0x5df13d],null,_0x4d8606);}}if(_0x27b6b8[_0x7c10('0x82')](),_0x27b6b8['isCollapsed']||_0x7c10('0x8d')==_0x27b6b8[_0x7c10('0xf4')][_0x7c10('0x12f')])return null;let _0x580611=null,_0x4febf3=_0x27b6b8[_0x7c10('0xee')],_0x45027c=_0x27b6b8['end'];const _0x4203a1=this['_findSuggestions'](_0x27b6b8,_0x7c10('0xe0'));for(const {suggestion:_0x5f4758,meta:_0x5dbb7c}of _0x4203a1){const _0x4e134e=this['_model'][_0x7c10('0x12')](_0x4febf3,_0x45027c);if(_0x5dbb7c[_0x7c10('0x5e')]&&(this[_0x7c10('0x158')]||!_0x5dbb7c[_0x7c10('0xd6')]&&!_0x5dbb7c[_0x7c10('0xb5')])){if(_0x5f4758['isMultiRange']){if(!Gt(_0x5f4758,_0x4d8606))continue;let _0x166d5e=!0x0;for(const _0x5b772d of _0x5f4758[_0x7c10('0x101')]()){if(_0x5b772d[_0x7c10('0x18')](_0x4e134e,!0x0))return _0x5f4758;_0x4e134e[_0x7c10('0x18')](_0x5b772d)||(_0x166d5e=!0x1);}_0x166d5e&&_0x5f4758['discard']();}else{const _0x56253b=_0x5f4758[_0x7c10('0x36')]();if(_0x56253b[_0x7c10('0x18')](_0x4e134e,!0x0))return _0x5f4758;if(!Gt(_0x5f4758,_0x4d8606)){_0x4e134e[_0x7c10('0x18')](_0x56253b)?_0x5f4758[_0x7c10('0x92')]():_0x56253b['containsPosition'](_0x4febf3)?_0x4febf3=_0x56253b['end']:_0x56253b[_0x7c10('0xbb')](_0x45027c)&&(_0x45027c=_0x56253b['start']);continue;}_0x4febf3=_0x4febf3[_0x7c10('0x16f')](_0x56253b[_0x7c10('0xee')])?_0x4febf3:_0x56253b['start'],_0x45027c=_0x45027c[_0x7c10('0x1e')](_0x56253b[_0x7c10('0x2c')])?_0x45027c:_0x56253b['end'],_0x4d8606=Object[_0x7c10('0xd5')]({},_0x5f4758['attributes']),_0x580611?_0x56253b[_0x7c10('0xee')][_0x7c10('0x16f')](_0x580611['getFirstRange']()[_0x7c10('0xee')])?(_0x580611[_0x7c10('0x92')](),_0x580611=_0x5f4758):_0x5f4758[_0x7c10('0x92')]():_0x580611=_0x5f4758;}}}if(_0x580611)return this[_0x7c10('0xa7')](_0x580611,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x4febf3,_0x45027c)),_0x580611;{const _0x210a4e=_0x362cf5(),_0x21a064=this[_0x7c10('0x116')]['createRange'](_0x4febf3,_0x45027c),_0x9c0d9a=_0x12a3de['id'],_0x396784=_0x34e82a?_0x7c10('0xc4')+_0x34e82a:'deletion',_0x2df872=this['_setSuggestionData']({'id':_0x210a4e,'type':_0x396784,'createdAt':new Date(),'authorId':_0x9c0d9a,'attributes':_0x4d8606});return this[_0x7c10('0x1f')](_0x396784,_0x210a4e,_0x9c0d9a,_0x21a064),_0x2df872;}}[_0x7c10('0x110')](_0x1aa263,_0x50ef76='multi',_0x57df23={}){const _0xb56d12=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'],_0x560659=_0x1aa263['map'](_0x3c00fe=>new _0xc3c711(_0x3c00fe[_0x7c10('0xee')],_0x3c00fe['end'])),_0x50e3db=new Set();for(const {suggestion:_0x5a5102,meta:_0x54a7ee}of this['_findSuggestions'](_0x560659,_0x7c10('0x4b')))_0x54a7ee[_0x7c10('0x5e')]&&!_0x54a7ee[_0x7c10('0xba')]&&_0x50e3db[_0x7c10('0x49')](_0x5a5102);for(const _0x56e6c6 of _0x50e3db)if(_0x56e6c6[_0x7c10('0x75')]){const _0x2e1a7e=_0x56e6c6[_0x7c10('0x101')]();(!_0x56e6c6[_0x7c10('0x57')]||!_0x56e6c6[_0x7c10('0x57')][_0x7c10('0xe4')])&&(_0x2e1a7e['every'](_0x39b896=>_0x560659['some'](_0x280d5d=>_0x280d5d[_0x7c10('0x18')](_0x39b896,!0x0)))&&_0x56e6c6['discard']());if(_0x560659[_0x7c10('0x9d')](_0x183cb6=>_0x2e1a7e['some'](_0x101698=>_0x101698[_0x7c10('0x18')](_0x183cb6,!0x0)))){const _0x39904c=this[_0x7c10('0xf5')]['getSuggestionCallback']('deletion',_0x50ef76,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x39904c(_0x1aa263,null,_0x57df23)),null;}}else{const _0x49c890=_0x56e6c6[_0x7c10('0x36')]();_0x560659[_0x7c10('0x5')](_0x13916c=>_0x13916c[_0x7c10('0x18')](_0x49c890,!0x0))&&_0x56e6c6[_0x7c10('0x165')]();if(_0x560659[_0x7c10('0x9d')](_0x463c28=>_0x49c890[_0x7c10('0x18')](_0x463c28,!0x0))){const _0x3fdc1a=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0xe0'),_0x50ef76,_0x7c10('0xe8'));return this['forceDefaultExecution'](()=>_0x3fdc1a(_0x560659,null,_0x57df23)),null;}}const _0x58f573=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0xe0'),_0x50ef76,_0x7c10('0x17c'));let _0x3e9670=null;for(const _0x4d96e8 of this[_0x7c10('0xf6')]())if(_0x4d96e8[_0x7c10('0x65')]['id']==_0xb56d12['id']&&_0x4d96e8[_0x7c10('0x164')]&&_0x7c10('0xe0')==_0x4d96e8['type']&&_0x4d96e8[_0x7c10('0x34')]==_0x50ef76&&Gt(_0x4d96e8,_0x57df23)&&(_0x58f573(_0x4d96e8['getRanges'](),_0x560659)||_0x58f573(_0x560659,_0x4d96e8[_0x7c10('0x101')]()))){if(_0x3e9670){if(_0x4d96e8[_0x7c10('0x175')]&&_0x4d96e8[_0x7c10('0x175')]['length'])continue;for(const _0x2877e8 of _0x4d96e8[_0x7c10('0x101')]())_0x3e9670[_0x7c10('0xde')](_0x2877e8)||_0x3e9670[_0x7c10('0x41')](_0x2877e8);_0x4d96e8[_0x7c10('0x92')]();}else{_0x3e9670=_0x4d96e8;for(const _0x5e5287 of _0x560659)_0x4d96e8['isIntersectingWithRange'](_0x5e5287)||_0x4d96e8['addRange'](_0x5e5287);}}if(_0x3e9670)return _0x3e9670;_0x50e3db[_0x7c10('0xc2')]();for(const {suggestion:_0x3e21d5,meta:_0x1394e3}of this[_0x7c10('0xf')](_0x560659,_0x7c10('0xe0')))_0x1394e3[_0x7c10('0x5e')]&&(this['_mergeNestedSuggestions']||!_0x1394e3['containsRangeInObject']&&!_0x1394e3[_0x7c10('0xb5')])&&Gt(_0x3e21d5,_0x57df23)&&_0x50e3db[_0x7c10('0x49')](_0x3e21d5);for(const _0x298a44 of _0x50e3db){const _0x24b17f=_0x298a44[_0x7c10('0x101')]();if(!_0x57df23||!_0x57df23[_0x7c10('0xe4')]){if(_0x560659[_0x7c10('0x9d')](_0x551b17=>_0x24b17f[_0x7c10('0x5')](_0x4ef68a=>_0x4ef68a[_0x7c10('0x18')](_0x551b17,!0x0))))return _0x298a44;}(!_0x298a44[_0x7c10('0x57')]||!_0x298a44['attributes'][_0x7c10('0xe4')])&&(_0x24b17f[_0x7c10('0x9d')](_0x558bbd=>_0x560659[_0x7c10('0x5')](_0x7eae71=>_0x7eae71[_0x7c10('0x18')](_0x558bbd,!0x0)))&&_0x298a44['discard']());}const _0x52f695=_0x362cf5(),_0x4b9f0f=_0xb56d12['id'],_0x160a6c='deletion:'+_0x50ef76,_0x577b38=this['_setSuggestionData']({'id':_0x52f695,'type':_0x160a6c,'createdAt':new Date(),'authorId':_0x4b9f0f,'attributes':_0x57df23});for(const _0x229842 of _0x560659)_0x229842['detach'](),_0x229842['isCollapsed']||_0x7c10('0x8d')==_0x229842[_0x7c10('0xf4')][_0x7c10('0x12f')]||this[_0x7c10('0x1f')](_0x160a6c,_0x52f695,_0x4b9f0f,_0x229842,_0x24cf3e[_0x7c10('0x3a')]());return _0x577b38;}[_0x7c10('0x5c')](_0x53d749,_0x2bd586,_0x5a5a1c,_0x15b54f,_0x48c4b5){if(_0x53d749[_0x7c10('0xf7')])return[];if(_0x7c10('0x5a')===this[_0x7c10('0x100')])return[];const _0x3daf8a=this[_0x7c10('0x2b')][_0x7c10('0x70')]['get'](_0x7c10('0x16b'))['me']['id'],_0x1d4e34=Array[_0x7c10('0x17e')](this[_0x7c10('0xa')][_0x7c10('0x128')]())[_0x7c10('0x179')](_0x459c6b=>_0x7c10('0x37')==_0x459c6b[_0x7c10('0x15b')]&&_0x459c6b[_0x7c10('0x148')]['key']==_0x2bd586&&_0x459c6b[_0x7c10('0xde')](_0x53d749));if(_0x7c10('0xca')===this['_trackFormatChanges']){const _0x20eed6=this[_0x7c10('0xf')](_0x53d749,_0x7c10('0x4b'))['filter'](({meta:_0x4c4f33})=>_0x4c4f33[_0x7c10('0x5e')]&&!_0x4c4f33[_0x7c10('0xb5')]&&!_0x4c4f33[_0x7c10('0xba')])[_0x7c10('0x14d')](({suggestion:_0x262ebe})=>_0x262ebe);_0x1d4e34[_0x7c10('0xd8')](..._0x20eed6);}const _0x5322ce=new Map([[_0x53d749,_0x5a5a1c]]);for(const _0x2697e4 of _0x1d4e34){const _0xf6ce55=_0x7c10('0x37')==_0x2697e4['type']?_0x2697e4['data'][_0x7c10('0x16')]:void 0x0,_0x4ba2f8=_0x2697e4[_0x7c10('0x36')](),_0x2778ed=Array['from'](_0x5322ce['keys']())[_0x7c10('0x99')](_0x2e39f5=>_0x2e39f5['isIntersecting'](_0x4ba2f8));if(!_0x2778ed)continue;const _0x501536=_0x2778ed[_0x7c10('0xbd')](_0x4ba2f8);this[_0x7c10('0xff')](_0x2bd586)&&_0x7c10('0x4b')==_0x2697e4[_0x7c10('0x15b')]&&0x0!=_0x501536[_0x7c10('0x76')]||(_0x5322ce['delete'](_0x2778ed),_0x501536[_0x7c10('0x48')](_0x1780c4=>{_0x5322ce['set'](_0x1780c4,_0x5a5a1c);}),_0x7c10('0x4b')!=_0x2697e4[_0x7c10('0x15b')]&&_0xf6ce55!=_0x15b54f&&_0x5322ce[_0x7c10('0x12b')](_0x2778ed[_0x7c10('0x2')](_0x4ba2f8),_0xf6ce55));}const _0x56f7b8=[];for(const [_0xa7029a,_0x3fbe2c]of _0x5322ce){const _0x50d5ea=_0x362cf5(),_0x457cf8={'key':_0x2bd586,'oldValue':_0x3fbe2c,'newValue':_0x15b54f};_0x2bd586[_0x7c10('0x76')]>0x25&&console['warn'](_0x7c10('0xcb'),{'key':_0x2bd586});const _0x3e0d18=(_0x7c10('0x30')+(_0x2bd586+'|'+Rt({'newValue':_0x15b54f})))[_0x7c10('0x118')](0x0,0x3c),_0x1a43a3=this[_0x7c10('0x113')]({'id':_0x50d5ea,'type':_0x3e0d18,'data':_0x457cf8,'createdAt':new Date(),'authorId':_0x3daf8a,'attributes':_0x48c4b5});_0x56f7b8['push'](_0x1a43a3),this[_0x7c10('0x1f')](_0x3e0d18,_0x50d5ea,_0x3daf8a,_0xa7029a);}return _0x56f7b8;}[_0x7c10('0x17')](_0x363283){this['_blockAttributeKeys'][_0x7c10('0x49')](_0x363283);}[_0x7c10('0x4d')](_0x301ef9){this[_0x7c10('0x40')][_0x7c10('0x49')](_0x301ef9);}[_0x7c10('0x170')](_0x26217f,_0x169f44=[],_0x5841e4=[]){this[_0x7c10('0x168')](_0x26217f,(_0x1634e6,..._0x252546)=>{this[_0x7c10('0x147')](()=>{_0x1634e6(..._0x252546);});});for(const _0x2bd350 of _0x169f44)this[_0x7c10('0x4d')](_0x2bd350);for(const _0x4375a3 of _0x5841e4)this[_0x7c10('0x17')](_0x4375a3);}[_0x7c10('0xa7')](_0x5d2a3f,_0x5946fb){const _0x1f9ca8=_0x5d2a3f[_0x7c10('0xc9')]();this['_model'][_0x7c10('0x63')](_0x9ece04=>{_0x9ece04[_0x7c10('0x137')](_0x1f9ca8,{'range':_0x5946fb});});}['_addThreadToSuggestion'](_0x5c0944){const _0x503e2f=_0x5c0944['id'],_0xa1d58d=this[_0x7c10('0x2b')][_0x7c10('0xaf')][_0x7c10('0x122')](_0x7c10('0x151'));this[_0x7c10('0x11e')]['hasCommentThread'](_0x503e2f)||this[_0x7c10('0x11e')][_0x7c10('0x11c')]({'channelId':_0xa1d58d,'threadId':_0x503e2f,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x31b306=this[_0x7c10('0x11e')][_0x7c10('0x106')](_0x503e2f);_0x31b306[_0x7c10('0x6c')](_0x7c10('0x142')),_0x31b306['isRemovable']=!0x1,_0x5c0944[_0x7c10('0x175')]=_0x31b306;}[_0x7c10('0x14a')](_0x48678c,_0x2ab81c,_0x594c6d,_0x5b5742){if(_0x48678c[_0x7c10('0x15b')]!=_0x2ab81c||_0x48678c[_0x7c10('0x34')]!=_0x594c6d||_0x48678c['creator']['id']!=_0x5b5742)throw this[_0x7c10('0x2b')][_0x7c10('0xbf')](_0x7c10('0x103')),new _0x5391c2(_0x7c10('0x103'),this);}[_0x7c10('0x173')](_0xb7401b,_0x1c80a2){const _0x2a2c0c=_0xb7401b[_0x7c10('0x36')]();if(_0x1c80a2['isEqual'](_0x2a2c0c))_0xb7401b[_0x7c10('0x92')]();else{if(_0x2a2c0c[_0x7c10('0x18')](_0x1c80a2)){const _0x1c6ed8=this[_0x7c10('0x116')]['createPositionAt'](_0x1c80a2[_0x7c10('0xee')][_0x7c10('0x167')],'end');this[_0x7c10('0xa7')](_0xb7401b,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x2a2c0c[_0x7c10('0xee')],_0x1c6ed8));const _0x1d4fb8=_0x362cf5(),_0x591af2=_0xb7401b['creator']['id'],_0x435642=_0xb7401b[_0x7c10('0x15b')]+':'+_0xb7401b[_0x7c10('0x34')];this[_0x7c10('0x113')]({'id':_0x1d4fb8,'type':_0x435642,'createdAt':new Date(),'authorId':_0x591af2,'data':_0xb7401b[_0x7c10('0x148')],'attributes':_0xb7401b[_0x7c10('0x57')]});const _0xc0d265=this[_0x7c10('0x116')][_0x7c10('0xab')](_0x1c80a2[_0x7c10('0x2c')][_0x7c10('0x166')],_0x7c10('0xf0')),_0x50de54=this[_0x7c10('0x116')][_0x7c10('0x12')](_0xc0d265,_0x2a2c0c[_0x7c10('0x2c')]);this[_0x7c10('0x1f')](_0x435642,_0x1d4fb8,_0x591af2,_0x50de54);}else{if(_0x2a2c0c[_0x7c10('0xbb')](_0x1c80a2['start'])){const _0x5d2024=this['_model']['createPositionAt'](_0x1c80a2[_0x7c10('0xee')][_0x7c10('0x167')],'end');this[_0x7c10('0xa7')](_0xb7401b,this[_0x7c10('0x116')]['createRange'](_0x2a2c0c['start'],_0x5d2024));}else{const _0x3c4936=this[_0x7c10('0x116')][_0x7c10('0xab')](_0x1c80a2[_0x7c10('0x2c')][_0x7c10('0x166')],'after');this[_0x7c10('0xa7')](_0xb7401b,this[_0x7c10('0x116')]['createRange'](_0x3c4936,_0x2a2c0c['end']));}}}}[_0x7c10('0x150')](_0x24f172){for(const {suggestion:_0x5cf549,meta:_0x1c8457}of this[_0x7c10('0xf')](_0x24f172,_0x7c10('0x4b'))){if(!_0x1c8457[_0x7c10('0x5e')])continue;const _0x3bd275=_0x5cf549['getRanges']();for(const _0x36dd9f of _0x3bd275)if(!_0x24f172['getDifference'](_0x36dd9f)[_0x7c10('0x76')])return!0x0;}return!0x1;}[_0x7c10('0x4f')](_0x20c354){const _0x5f1582=this['editor'][_0x7c10('0x70')]['get'](_0x7c10('0x16b'))[_0x7c10('0x8')](_0x20c354);if(!_0x5f1582)throw new _0x5391c2(_0x7c10('0xce'),this);return _0x5f1582;}[_0x7c10('0x1a')](_0x2fbd3e){const _0x2b130e=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')]('Users'),_0xca4db7=_0x5e0410('external:'+_0x2fbd3e),_0x1d536c=_0x2b130e[_0x7c10('0x8')](_0xca4db7);return _0x1d536c||_0x2b130e[_0x7c10('0x162')]({'id':_0xca4db7,'name':_0x2fbd3e});}['_createSuggestion'](_0x695035,_0x1ec8b8,_0x33497c,_0x4d665b,_0x1e5780){const _0x4c21b5=this[_0x7c10('0x4f')](_0x4d665b),_0x3f9aac=this[_0x7c10('0xf5')][_0x7c10('0xa1')](_0x695035,_0x1ec8b8,_0x33497c,_0x4c21b5,_0x1e5780,_0x373c4d=>this[_0x7c10('0x9')](_0x33497c,{'attributes':_0x373c4d}));return this[_0x7c10('0x80')](_0x3f9aac,'accept',()=>{this[_0x7c10('0x9')](_0x33497c,{'state':_0x7c10('0xae')});},{'priority':_0x7c10('0x111')}),this[_0x7c10('0x80')](_0x3f9aac,'discard',()=>{this['_updateSuggestionData'](_0x33497c,{'state':_0x7c10('0xb')});},{'priority':_0x7c10('0x111')}),this['_suggestions']['set'](_0x33497c,_0x3f9aac),this['_suggestionState']['set'](_0x3f9aac,_0x7c10('0x10a')),_0x3f9aac;}['_splitMarkerName'](_0x393d0a){const _0x3fb973=_0x393d0a['split'](':');return{'group':_0x3fb973[0x0],'type':_0x3fb973[0x1],'subType':_0x3fb973[_0x7c10('0x76')]>=0x5?_0x3fb973[0x2]:null,'id':_0x3fb973['length']<0x5?_0x3fb973[0x2]:_0x3fb973[0x3],'authorId':_0x3fb973[_0x7c10('0x76')]<0x5?_0x3fb973[0x3]:_0x3fb973[0x4],'markerCount':0x6==_0x3fb973[_0x7c10('0x76')]?_0x3fb973[0x5]:null};}['_breakSuggestionMarker'](_0x2b8bf8,_0x52ac09,_0x199a90){const _0x487457=_0x2b8bf8[_0x7c10('0x36')](),_0x4796e1=_0x487457[_0x7c10('0xee')],_0x3f4463=_0x487457['end'];this[_0x7c10('0xa7')](_0x2b8bf8,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x4796e1,_0x52ac09));const _0x5187b3=_0x362cf5(),_0x508cd2=_0x2b8bf8['creator']['id'],_0x5e9979=_0x2b8bf8[_0x7c10('0x15b')]+(_0x2b8bf8['subType']?':'+_0x2b8bf8[_0x7c10('0x34')]:'');this[_0x7c10('0x113')]({'id':_0x5187b3,'type':_0x5e9979,'createdAt':new Date(),'authorId':_0x508cd2,'originalSuggestionId':_0x2b8bf8['id'],'attributes':_0x2b8bf8[_0x7c10('0x57')],'data':_0x2b8bf8[_0x7c10('0x148')]});const _0x1b0ff4=Pt(_0x2b8bf8);(_0x7c10('0x60')==_0x2b8bf8[_0x7c10('0x15b')]||_0x1b0ff4&&this['_isBlockAttribute'](_0x1b0ff4))&&(_0x199a90=this[_0x7c10('0x116')][_0x7c10('0x136')](_0x199a90[_0x7c10('0x166')])),this[_0x7c10('0x1f')](_0x5e9979,_0x5187b3,_0x508cd2,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x199a90,_0x3f4463));}['_findSuggestions'](_0x23863c,_0x2e6f26=null){const _0x5e0160=[],_0x25becc=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'];Array[_0x7c10('0xea')](_0x23863c)||(_0x23863c=[_0x23863c]);for(const _0x442df6 of this[_0x7c10('0xf6')]()){if(!_0x442df6[_0x7c10('0x164')])continue;if(_0x2e6f26&&_0x442df6[_0x7c10('0x15b')]!=_0x2e6f26)continue;let _0x7fa584=!0x1;for(const _0x186a63 of _0x442df6[_0x7c10('0x101')]()){for(const _0x4065a7 of _0x23863c){const _0xa859c8=_0x4065a7[_0x7c10('0xee')]['isEqual'](_0x186a63[_0x7c10('0x2c')])||_0x4065a7[_0x7c10('0x2c')][_0x7c10('0x38')](_0x186a63[_0x7c10('0xee')]);if(_0xa859c8||_0x4065a7[_0x7c10('0x2')](_0x186a63)){const _0xa77937=_0x4065a7['containsRange'](_0x186a63)&&Tt(this[_0x7c10('0x116')][_0x7c10('0xef')],_0x186a63[_0x7c10('0xee')],_0x4065a7),_0x48601a=_0x186a63['containsRange'](_0x4065a7)&&Tt(this[_0x7c10('0x116')]['schema'],_0x4065a7[_0x7c10('0xee')],_0x186a63);_0x5e0160[_0x7c10('0x59')]({'suggestion':_0x442df6,'meta':{'isOwn':_0x25becc==_0x442df6[_0x7c10('0x65')],'isNextTo':_0xa859c8,'isInsideObject':_0xa77937,'containsRangeInObject':_0x48601a}}),_0x7fa584=!0x0;break;}}if(_0x7fa584)break;}}return _0x5e0160;}[_0x7c10('0x1f')](_0x1a5639,_0x36832f,_0x407125,_0x34e7a5,_0x179a51){this['_model'][_0x7c10('0x63')](_0x27d595=>{let _0x4a3e11=_0x7c10('0x17d')+_0x1a5639+':'+_0x36832f+':'+_0x407125;_0x179a51&&(_0x4a3e11=_0x4a3e11+':'+_0x179a51),_0x27d595[_0x7c10('0x3c')](_0x4a3e11,{'range':_0x34e7a5,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x7c10('0x7')](_0x3dd25d){const _0x267721=_0x3dd25d['previous'],_0x9bf187=_0x3dd25d[_0x7c10('0x10d')];_0x3dd25d[_0x7c10('0x16a')]=null,_0x3dd25d[_0x7c10('0x10d')]=null,null!=_0x267721&&(_0x267721[_0x7c10('0x10d')]=_0x9bf187),null!=_0x9bf187&&(_0x9bf187[_0x7c10('0x16a')]=_0x267721),_0x7c10('0x155')==this[_0x7c10('0xaa')][_0x7c10('0x122')](_0x3dd25d)&&(this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x3dd25d,_0x7c10('0x104')),this['fire'](_0x7c10('0x10e'),_0x3dd25d,_0x267721,_0x9bf187));}[_0x7c10('0x113')](_0x4b9d18){const _0x4fae83=_0x4b9d18['id'],_0xae1e98=this['addSuggestionData'](_0x4b9d18);if(this[_0x7c10('0xc1')]&&this[_0x7c10('0xc1')]['addSuggestion']){const _0x41e217=this[_0x7c10('0x2b')][_0x7c10('0x70')]['get'](_0x7c10('0xa2')),_0x2df815=_0xae1e98['hasComments'],_0x3678dd=_0xae1e98[_0x7c10('0x34')]?_0xae1e98[_0x7c10('0x15b')]+':'+_0xae1e98[_0x7c10('0x34')]:_0xae1e98[_0x7c10('0x15b')],_0x5d3661=this[_0x7c10('0x2b')][_0x7c10('0x53')],_0x9d70e3=_0x41e217['add'](_0x19e2f3(_0x5d3661,'PENDING_ACTION_SUGGESTION')),_0x39b606={'id':_0x4fae83,'type':_0x3678dd,'hasComments':_0x2df815,'data':_0x4b9d18['data']||null,'originalSuggestionId':_0x4b9d18[_0x7c10('0x129')]||null,'attributes':_0xae1e98[_0x7c10('0x57')]};this[_0x7c10('0xc1')][_0x7c10('0xcf')](_0x39b606)[_0x7c10('0xe6')](_0x19f849=>{_0xae1e98[_0x7c10('0xd1')]=!0x0,_0x41e217[_0x7c10('0x39')](_0x9d70e3),_0x19f849&&_0x19f849['createdAt']&&(this[_0x7c10('0xa')][_0x7c10('0x122')](_0x4fae83)[_0x7c10('0xc8')]=_0x19f849[_0x7c10('0xc8')]);})['catch'](_0x3aa53d=>{throw _0x404872('error-saving-suggestion-data-suggestion-discarded'),this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0x67')]({'isUndoable':!0x1},()=>{_0xae1e98[_0x7c10('0x165')]();}),_0xae1e98[_0x7c10('0x5d')](),this[_0x7c10('0xa')][_0x7c10('0x32')](_0xae1e98['id']),this[_0x7c10('0xaa')][_0x7c10('0x32')](_0xae1e98),_0x3aa53d;});}return _0xae1e98;}[_0x7c10('0xff')](_0x1a7545){return this[_0x7c10('0x14b')]['has'](_0x1a7545);}[_0x7c10('0x9')](_0x33e1dc,_0x1a0469){const _0x471981=this['editor']['plugins']['get'](_0x7c10('0xa2')),_0x311033=this['getSuggestion'](_0x33e1dc);if(this[_0x7c10('0xc1')]&&this[_0x7c10('0xc1')][_0x7c10('0xb2')]){if(_0x311033[_0x7c10('0xd1')]){const _0x490392=_0x471981[_0x7c10('0x49')](_0x19e2f3(this['editor'][_0x7c10('0x53')],_0x7c10('0x46')));this['_adapter']['updateSuggestion'](_0x33e1dc,_0x1a0469)[_0x7c10('0xe6')](()=>{_0x471981[_0x7c10('0x39')](_0x490392);});}else _0x311033['on'](_0x7c10('0xfd'),()=>{this[_0x7c10('0x9')](_0x33e1dc,_0x1a0469);});}}['_getSuggestionData'](_0x81dde0){if(!this[_0x7c10('0xc1')]||!this['_adapter']['getSuggestion'])throw new _0x5391c2(_0x7c10('0x21'),this);return this[_0x7c10('0xc1')][_0x7c10('0x153')](_0x81dde0);}['_handleNewSuggestionMarker'](_0x715ebf){const {id:_0x161493,type:_0x491520,subType:_0x29b9b2,authorId:_0x1dfd58}=this[_0x7c10('0xfc')](_0x715ebf),_0x1aea11=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x161493)||this[_0x7c10('0x10c')](_0x491520,_0x29b9b2,_0x161493,_0x1dfd58,{});switch(this[_0x7c10('0x14a')](_0x1aea11,_0x491520,_0x29b9b2,_0x1dfd58),this[_0x7c10('0xaa')][_0x7c10('0x122')](_0x1aea11)){case _0x7c10('0x10a'):this[_0x7c10('0x94')](_0x161493)['then'](_0x35a381=>{let _0x1855da=Promise[_0x7c10('0x13c')]();_0x35a381[_0x7c10('0x51')]&&(_0x1855da=this[_0x7c10('0x11e')][_0x7c10('0x181')]({'channelId':this[_0x7c10('0x2b')]['config']['get'](_0x7c10('0x151')),'threadId':_0x161493})),_0x1855da[_0x7c10('0xe6')](()=>{this[_0x7c10('0x12d')](_0x35a381)[_0x7c10('0xd1')]=!0x0;});}),this['_suggestionState'][_0x7c10('0x12b')](_0x1aea11,_0x7c10('0x87'));break;case _0x7c10('0x104'):this[_0x7c10('0x9')](_0x161493,{'state':_0x7c10('0xd7')});case'dataReady':this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x1aea11,'ready'),this[_0x7c10('0x127')](_0x7c10('0xdc'),_0x1aea11);break;case _0x7c10('0x155'):this['fire'](_0x7c10('0x74'),_0x1aea11);}return _0x1aea11[_0x7c10('0x8c')](_0x715ebf),_0x1aea11;}['_refreshSuggestionsChain'](_0x53c3f4){const _0x45749e=Array[_0x7c10('0x17e')](_0x53c3f4),_0xcf28cc=_0x45749e[_0x7c10('0x179')](_0x5956e6=>_0x7c10('0x37')==_0x5956e6['type']);this[_0x7c10('0x11a')](_0xcf28cc);const _0xe39b9f=_0x45749e[_0x7c10('0x179')](_0x11dc59=>!_0x11dc59['isMultiRange']&&_0x7c10('0x37')!=_0x11dc59[_0x7c10('0x15b')]),_0x3c29b5=this[_0x7c10('0xf6')]({'skipNotAttached':!0x0})[_0x7c10('0x179')](_0xb8dd32=>!_0xb8dd32['isMultiRange']&&_0x7c10('0x37')!=_0xb8dd32[_0x7c10('0x15b')]),_0x394dd8=_0x3c29b5[_0x7c10('0x179')](_0x3686f6=>!_0x53c3f4[_0x7c10('0x3e')](_0x3686f6)),_0x464b56=new Map(_0x3c29b5[_0x7c10('0x14d')](_0x1b7a72=>[_0x1b7a72,this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x1b7a72[_0x7c10('0x15b')],_0x1b7a72[_0x7c10('0x34')],'chain')])),_0x4104a1=new Map(_0x3c29b5[_0x7c10('0x14d')](_0x3bd178=>[_0x3bd178,_0x3bd178[_0x7c10('0x36')]()])),_0x10d06c=new Set(),_0x26463d=new Set();for(let _0x2d0c64=0x0;_0x2d0c64<_0xe39b9f[_0x7c10('0x76')];_0x2d0c64++)_0x3a1b9b(_0xe39b9f[_0x2d0c64],_0xe39b9f,_0x2d0c64+0x1);for(let _0xd299e4=0x0;_0xd299e4<_0xe39b9f[_0x7c10('0x76')];_0xd299e4++)_0x3a1b9b(_0xe39b9f[_0xd299e4],_0x394dd8,0x0);const _0x3978f1=new Set();for(let _0x264dee=0x0;_0x264dee<_0xe39b9f['length'];_0x264dee++){const _0x387119=_0xe39b9f[_0x264dee];!_0x26463d[_0x7c10('0x3e')](_0x387119)&&_0x387119['previous']&&(_0x3978f1['add'](_0x387119['previous']),_0x387119[_0x7c10('0x16a')][_0x7c10('0x10d')]===_0x387119&&(_0x387119[_0x7c10('0x16a')][_0x7c10('0x10d')]=null),_0x387119[_0x7c10('0x16a')]=null),!_0x10d06c[_0x7c10('0x3e')](_0x387119)&&_0x387119[_0x7c10('0x10d')]&&(_0x3978f1[_0x7c10('0x49')](_0x387119[_0x7c10('0x10d')]),_0x387119[_0x7c10('0x10d')][_0x7c10('0x16a')]===_0x387119&&(_0x387119[_0x7c10('0x10d')]['previous']=null),_0x387119[_0x7c10('0x10d')]=null);}function _0x3a1b9b(_0x3f2341,_0x50ad71,_0x4d6630){for(let _0x9bbbfc=_0x4d6630;_0x9bbbfc<_0x50ad71[_0x7c10('0x76')];_0x9bbbfc++){const _0x50c44e=_0x4ed9d2(_0x3f2341,_0x50ad71[_0x9bbbfc]);_0x50c44e&&(_0x50c44e[0x0][_0x7c10('0x10d')]=_0x50c44e[0x1],_0x50c44e[0x1][_0x7c10('0x16a')]=_0x50c44e[0x0],_0x10d06c['add'](_0x50c44e[0x0]),_0x26463d[_0x7c10('0x49')](_0x50c44e[0x1]));}}function _0x4ed9d2(_0x4b2800,_0x487290){if(_0x4b2800[_0x7c10('0x65')]['id']!==_0x487290[_0x7c10('0x65')]['id'])return null;const _0x23a610=_0x464b56[_0x7c10('0x122')](_0x4b2800)(_0x4b2800,_0x487290,_0x4104a1[_0x7c10('0x122')](_0x4b2800),_0x4104a1[_0x7c10('0x122')](_0x487290));if(!_0x23a610)return null;return _0x464b56[_0x7c10('0x122')](_0x487290)(_0x4b2800,_0x487290,_0x4104a1[_0x7c10('0x122')](_0x4b2800),_0x4104a1['get'](_0x487290))?_0x23a610[0x1][_0x7c10('0x175')]&&_0x23a610[0x1]['commentThread'][_0x7c10('0x76')]?null:_0x23a610:null;}_0x3978f1[_0x7c10('0x11d')]&&this[_0x7c10('0x1c')](_0x3978f1);}[_0x7c10('0x11a')](_0x2a108d){if(0x0==_0x2a108d[_0x7c10('0x76')])return;const _0x1704c7=this[_0x7c10('0xf6')]({'skipNotAttached':!0x0})[_0x7c10('0x179')](_0x504de5=>'attribute'==_0x504de5[_0x7c10('0x15b')]&&_0x504de5[_0x7c10('0x9c')]),_0x5bf68f=[],_0x3034c0=new Map();for(const _0x27616f of _0x1704c7){const _0x140d99=_0x5e0410(_0x27616f[_0x7c10('0x57')]);_0x3034c0['has'](_0x140d99)||(_0x3034c0[_0x7c10('0x12b')](_0x140d99,_0x5bf68f['length']),_0x5bf68f[_0x7c10('0x59')]([]));const _0x40fec3=_0x3034c0['get'](_0x140d99);_0x5bf68f[_0x40fec3]['push'](_0x27616f);}!function(){_0x5bf68f[_0x7c10('0x6')]((_0x55bfca,_0x116981)=>{const _0x1f7054=_0x55bfca[0x0][_0x7c10('0xc8')],_0x20a955=_0x116981[0x0][_0x7c10('0xc8')];return _0x1f7054==_0x20a955?_0x55bfca[0x0]['attributes'][_0x7c10('0xcc')]<_0x116981[0x0][_0x7c10('0x57')][_0x7c10('0xcc')]?-0x1:0x1:_0x1f7054<_0x20a955?-0x1:0x1;});for(const _0x2df5f3 of _0x5bf68f)_0x2df5f3[_0x7c10('0x6')]((_0x47c5a7,_0x202e13)=>_0x47c5a7['id']<_0x202e13['id']?-0x1:0x1);}();for(let _0x3d6f98=0x0;_0x3d6f98<_0x5bf68f[_0x7c10('0x76')];_0x3d6f98++){if(0x0==_0x5bf68f[_0x3d6f98][_0x7c10('0x76')])continue;const _0x5e22a2=[];for(let _0x28fc03=_0x3d6f98+0x1;_0x28fc03<_0x5bf68f['length'];_0x28fc03++)0x0!=_0x5bf68f[_0x28fc03]['length']&&_0x320ecc(_0x5bf68f[_0x3d6f98],_0x5bf68f[_0x28fc03])&&_0x5e22a2['push'](_0x28fc03);for(const _0x103e98 of _0x5e22a2)_0x5bf68f[_0x3d6f98]=_0x5bf68f[_0x3d6f98]['concat'](_0x5bf68f[_0x103e98]),_0x5bf68f[_0x103e98]=[];}for(const _0x7fe3f7 of _0x5bf68f)for(let _0x28b17f=0x0;_0x28b17f<_0x7fe3f7[_0x7c10('0x76')];_0x28b17f++)_0x7fe3f7[_0x28b17f][_0x7c10('0x10d')]=_0x7fe3f7[_0x28b17f+0x1]||null;for(const _0x1576f1 of _0x5bf68f)for(let _0x304a80=0x0;_0x304a80<_0x1576f1[_0x7c10('0x76')];_0x304a80++)_0x1576f1[_0x304a80][_0x7c10('0x16a')]=_0x1576f1[_0x304a80-0x1]||null;function _0x320ecc(_0x565707,_0x132286){if(_0x565707[0x0]['author']!==_0x132286[0x0][_0x7c10('0x65')])return!0x1;if(!function(_0x318fc2,_0x27841b){if(!_0x318fc2[_0x7c10('0x51')]&&!_0x27841b[_0x7c10('0x51')])return!0x0;if(_0x318fc2[_0x7c10('0x51')]&&_0x27841b[_0x7c10('0x51')])return!0x1;if(_0x318fc2[_0x7c10('0x51')]&&_0x27841b[_0x7c10('0xc8')]<_0x318fc2['commentThread'][_0x7c10('0x9b')][_0x7c10('0x122')](0x0)['createdAt'])return!0x0;if(_0x27841b['hasComments']&&_0x318fc2[_0x7c10('0xc8')]<_0x27841b[_0x7c10('0x175')][_0x7c10('0x9b')][_0x7c10('0x122')](0x0)[_0x7c10('0xc8')])return!0x0;return!0x1;}(_0x565707[0x0],_0x132286[0x0]))return!0x1;const _0x27fb49=_0x208585(_0x565707[0x0][_0x7c10('0x57')],_0x7c10('0xcc')),_0x12c4bb=_0x208585(_0x132286[0x0][_0x7c10('0x57')],_0x7c10('0xcc'));if(!_0x3d5e0e(_0x27fb49,_0x12c4bb))return!0x1;return!!_0x565707['every'](_0x2d5fa0=>_0x132286['some'](_0x34db3b=>_0x2d5fa0[_0x7c10('0x36')]()[_0x7c10('0x38')](_0x34db3b[_0x7c10('0x36')]())))&&_0x132286[_0x7c10('0x9d')](_0x45a194=>_0x565707[_0x7c10('0x5')](_0x5c69e4=>_0x45a194['getFirstRange']()[_0x7c10('0x38')](_0x5c69e4['getFirstRange']())));}}[_0x7c10('0xb3')](_0x3872ed){const _0x2871d2=Array[_0x7c10('0x17e')](_0x3872ed),_0x303612=this[_0x7c10('0xf6')]({'skipNotAttached':!0x0}),_0x3aa86b=_0x303612[_0x7c10('0x179')](_0x2e90f2=>!_0x3872ed[_0x7c10('0x3e')](_0x2e90f2)),_0x2b726b=new Map(_0x2871d2[_0x7c10('0x14d')](_0x43e7eb=>[_0x43e7eb,this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x43e7eb['type'],_0x43e7eb[_0x7c10('0x34')],'join')])),_0x4c0eb1=new Map(_0x303612[_0x7c10('0x14d')](_0x10d62f=>[_0x10d62f,_0x10d62f[_0x7c10('0x101')]()]));for(let _0x16ca28=0x0;_0x16ca28<_0x2871d2['length'];_0x16ca28++){if(_0xc5555c(this,_0x2871d2[_0x16ca28],_0x2871d2,_0x16ca28+0x1))return!0x0;}for(let _0x23289d=0x0;_0x23289d<_0x2871d2[_0x7c10('0x76')];_0x23289d++){if(_0xc5555c(this,_0x2871d2[_0x23289d],_0x3aa86b,0x0))return!0x0;}return!0x1;function _0xc5555c(_0x5b3a5c,_0x291347,_0x418975,_0x1ea1c1){for(let _0x1c04b3=_0x1ea1c1;_0x1c04b3<_0x418975[_0x7c10('0x76')];_0x1c04b3++){const _0x2d5289=_0x418975[_0x1c04b3];if(_0x2d5289['type']!==_0x291347['type']||_0x2d5289[_0x7c10('0x65')]['id']!==_0x291347[_0x7c10('0x65')]['id']||_0x2d5289[_0x7c10('0x34')]!==_0x291347[_0x7c10('0x34')])continue;if(!Vt(_0x291347,_0x2d5289))continue;if(_0x7c10('0x37')==_0x291347['type']&&_0x291347['data'][_0x7c10('0x16')]!=_0x2d5289[_0x7c10('0x148')][_0x7c10('0x16')])continue;if(_0x7c10('0x37')==_0x291347[_0x7c10('0x15b')]&&_0x5b3a5c['_isBlockAttribute'](_0x291347[_0x7c10('0x148')][_0x7c10('0xe5')]))continue;if(_0x7c10('0x60')==_0x291347['type']){const _0x42655c=_0x5b3a5c[_0x7c10('0x2b')][_0x7c10('0xa4')],_0x35ba6c=_0x291347[_0x7c10('0x71')]();if(_0x35ba6c&&(_0x42655c[_0x7c10('0xef')][_0x7c10('0xf8')](_0x35ba6c)||_0x42655c[_0x7c10('0xef')][_0x7c10('0x35')](_0x35ba6c)))continue;}const _0x39fc7e=_0x2b726b['get'](_0x291347),_0x46d078=_0x4c0eb1[_0x7c10('0x122')](_0x291347),_0x51bfc3=_0x4c0eb1[_0x7c10('0x122')](_0x2d5289),_0x99f30c=_0x291347[_0x7c10('0x175')]&&_0x291347['commentThread'][_0x7c10('0x76')],_0x1d767d=_0x2d5289[_0x7c10('0x175')]&&_0x2d5289[_0x7c10('0x175')][_0x7c10('0x76')];if(!_0x99f30c&&_0x39fc7e(_0x51bfc3,_0x46d078))return _0x5b3a5c[_0x7c10('0xe7')](_0x2d5289,_0x291347),_0x4c0eb1[_0x7c10('0x32')](_0x291347),!0x0;if(!_0x1d767d&&_0x39fc7e(_0x46d078,_0x51bfc3))return _0x5b3a5c[_0x7c10('0xe7')](_0x291347,_0x2d5289),_0x4c0eb1[_0x7c10('0x32')](_0x2d5289),!0x0;}return!0x1;}}[_0x7c10('0xe7')](_0x52baa2,_0x294ae8){if(_0x52baa2[_0x7c10('0x75')])for(const _0x22c35d of _0x294ae8['getRanges']())_0x52baa2[_0x7c10('0x41')](_0x22c35d);else{const _0x1bf5ba=_0x294ae8[_0x7c10('0x36')]()[_0x7c10('0x2c')];this['_setSuggestionRange'](_0x52baa2,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x52baa2[_0x7c10('0x36')]()[_0x7c10('0xee')],_0x1bf5ba));}_0x294ae8[_0x7c10('0x92')]();}[_0x7c10('0xb0')](_0x394a7a,_0x1e5f6c){const _0x548efc=_0x394a7a['startsWith'](_0x7c10('0x26'))||_0x394a7a[_0x7c10('0xf2')](_0x7c10('0x37'))?'FORMATTING':_0x394a7a[_0x7c10('0x157')]();return _0x19e2f3(this[_0x7c10('0x2b')][_0x7c10('0x53')],_0x1e5f6c+'_'+_0x548efc+_0x7c10('0xbe'));}[_0x7c10('0x114')](){const _0x28f267=this[_0x7c10('0x2b')];_0x429e67(this[_0x7c10('0x116')],({left:_0x1c679f,entered:_0x5b216b})=>{const _0x1d8f1e=[];for(const _0x2f2e68 of _0x1c679f){const {group:_0xc3a346,type:_0x7f7a8}=this[_0x7c10('0xfc')](_0x2f2e68['name']);if(_0x7c10('0x159')===_0xc3a346){_0x1d8f1e[_0x7c10('0x59')](this[_0x7c10('0xb0')](_0x7f7a8,_0x7c10('0xc')));break;}}for(const _0x320e8 of _0x5b216b){const {group:_0x49c35c,type:_0x1a4898}=this['_splitMarkerName'](_0x320e8['name']);if('suggestion'===_0x49c35c){_0x1d8f1e[_0x7c10('0x59')](this[_0x7c10('0xb0')](_0x1a4898,_0x7c10('0x108')));break;}}_0x1d8f1e[_0x7c10('0x76')]&&_0x28f267['ui']['ariaLiveAnnouncer'][_0x7c10('0x79')](_0x7c10('0x15d'),_0x1d8f1e['join']('\x20'));});}['_processAttributeChanges'](_0x39b070){if(null!==this[_0x7c10('0x2d')])return!0x1;const _0x5dd765=this[_0x7c10('0x2b')],_0x4ba47b=_0x5dd765[_0x7c10('0xa4')][_0x7c10('0x29')]['differ'][_0x7c10('0x77')]();if(0x0==_0x4ba47b['length'])return!0x1;const _0x2da9e1=[],_0x5a9091=_0x4ba47b[_0x7c10('0x179')](_0x4bb31d=>'attribute'==_0x4bb31d[_0x7c10('0x15b')]),_0x55a942=_0x4ba47b[_0x7c10('0x179')](_0x2ee306=>'insert'==_0x2ee306[_0x7c10('0x15b')]&&'$text'!=_0x2ee306[_0x7c10('0x6e')]),_0x5ef612=_0x4ba47b[_0x7c10('0x179')](_0x2a0663=>'remove'==_0x2a0663['type']&&_0x7c10('0x132')!=_0x2a0663[_0x7c10('0x6e')]);for(const _0x50066a of _0x5a9091)_0x2da9e1[_0x7c10('0x59')]({'key':_0x50066a[_0x7c10('0x15a')],'newValue':_0x50066a[_0x7c10('0x73')],'oldValue':_0x50066a[_0x7c10('0xf9')],'range':_0x478e26(_0x50066a[_0x7c10('0x58')])});for(const _0x1c1569 of _0x55a942){const _0x1d3e81=_0x5ef612['find'](_0x3c237f=>_0x3c237f[_0x7c10('0xc7')][_0x7c10('0x38')](_0x1c1569['position']));_0x1d3e81&&_0x2da9e1['push']({'key':'$elementName','newValue':_0x1c1569[_0x7c10('0x6e')],'oldValue':_0x1d3e81[_0x7c10('0x6e')],'range':_0x5dd765[_0x7c10('0xa4')][_0x7c10('0x112')](_0x1c1569[_0x7c10('0xc7')][_0x7c10('0x86')])});}return 0x0!=_0x2da9e1[_0x7c10('0x76')]&&this[_0x7c10('0xeb')](_0x39b070,_0x2da9e1);function _0x478e26(_0x29d02a){return null==_0x29d02a[_0x7c10('0x2c')]['nodeBefore']&&_0x29d02a[_0x7c10('0x2c')]['parent']==_0x29d02a['start'][_0x7c10('0x86')]?Ut(_0x29d02a[_0x7c10('0xee')][_0x7c10('0x86')],_0x5dd765[_0x7c10('0xa4')]):_0x29d02a;}}[_0x7c10('0xd0')](_0x4797a9){let _0x38155a=!0x1;const _0x3eab4b=this[_0x7c10('0x2b')][_0x7c10('0xa4')]['document'][_0x7c10('0x13d')][_0x7c10('0x152')]()[_0x7c10('0x179')](_0xb902d2=>_0xb902d2[_0x7c10('0x148')]['newRange']&&_0xb902d2[_0x7c10('0x6e')][_0x7c10('0xf2')](_0x7c10('0x72')));for(const _0x32de74 of _0x3eab4b){const {subType:_0x17c022,id:_0x16da67}=this[_0x7c10('0xfc')](_0x32de74['name']),_0x34a368=_0x17c022[_0x7c10('0x22')]('|')[0x0];for(const _0x27e19f of this['getSuggestions']({'skipNotAttached':!0x0}))_0x27e19f['id']!=_0x16da67&&_0x7c10('0x37')==_0x27e19f[_0x7c10('0x15b')]&&_0x27e19f[_0x7c10('0x148')]&&_0x27e19f[_0x7c10('0x148')][_0x7c10('0xe5')]==_0x34a368&&_0x27e19f['getFirstRange']()['isIntersecting'](_0x32de74[_0x7c10('0x148')]['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x27e19f,_0x32de74[_0x7c10('0x148')][_0x7c10('0x138')],_0x4797a9),_0x38155a=!0x0);}return _0x38155a;}[_0x7c10('0x147')](_0x304d24){if(null!==this[_0x7c10('0x2d')])return void _0x304d24();const _0xe929cd=this[_0x7c10('0x2b')];this['_recordAttributeSuggestionsFromVersion']=_0xe929cd[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0x3b')],_0x304d24();const _0x4516c5=new Map();for(const _0x1a8663 of _0xe929cd[_0x7c10('0xa4')]['document'][_0x7c10('0x91')][_0x7c10('0x56')](this['_recordAttributeSuggestionsFromVersion']))if(['rename',_0x7c10('0x160'),'removeAttribute',_0x7c10('0x5b')][_0x7c10('0xd4')](_0x1a8663[_0x7c10('0x15b')])){const _0x31b4b6=_0x1a8663[_0x7c10('0x15')],_0x3c5e75=_0x4516c5[_0x7c10('0x122')](_0x31b4b6)||[];_0x3c5e75[_0x7c10('0x59')](_0x1a8663),_0x4516c5['set'](_0x31b4b6,_0x3c5e75);}this[_0x7c10('0x2d')]=null;for(const [_0x719dc2,_0x44c375]of _0x4516c5){const _0x48a63f=_0x362cf5();_0xe929cd['model']['enqueueChange'](_0x719dc2,_0x26596b=>{const _0xb84aa8=[];for(const _0x2f77f7 of _0x44c375){let _0x8bbc5a,_0x34d602,_0x4db502,_0x158c40;if('rename'==_0x2f77f7[_0x7c10('0x15b')]){const _0x10a611=_0x2f77f7;_0x8bbc5a=Ut(_0x10a611[_0x7c10('0xc7')][_0x7c10('0x86')],_0xe929cd['model']),_0x34d602=_0x7c10('0x2a'),_0x4db502=_0x10a611[_0x7c10('0x85')],_0x158c40=_0x10a611[_0x7c10('0x5f')];}else{const _0x96b4d4=_0x2f77f7,_0x513dbb=this['_isBlockAttribute'](_0x96b4d4[_0x7c10('0xe5')]),_0x407f32=this[_0x7c10('0x40')][_0x7c10('0x3e')](_0x96b4d4['key']);if(!_0x513dbb&&!_0x407f32)continue;_0x8bbc5a=_0x513dbb?Ut(_0x96b4d4[_0x7c10('0x58')][_0x7c10('0xee')]['nodeAfter'],_0xe929cd[_0x7c10('0xa4')]):_0x96b4d4[_0x7c10('0x58')],_0x34d602=_0x96b4d4[_0x7c10('0xe5')],_0x4db502='removeAttribute'==_0x2f77f7[_0x7c10('0x15b')]?void 0x0:_0x96b4d4[_0x7c10('0xed')],_0x158c40=_0x96b4d4['oldValue'];}this['markAttributeChange'](_0x8bbc5a,_0x34d602,_0x158c40,_0x4db502,{'groupId':_0x48a63f}),_0xb84aa8['push']({'range':_0x8bbc5a,'key':_0x34d602,'newValue':_0x4db502,'oldValue':_0x158c40});}this[_0x7c10('0xeb')](_0x26596b,_0xb84aa8);});}}['_reduceExistingSuggestions'](_0xd6d088,_0xc7f403){if(0x0==_0xc7f403[_0x7c10('0x76')])return!0x1;let _0xbcac21=!0x1;for(const _0x5924cb of _0xc7f403){const _0x3d4ba7=this[_0x7c10('0xf')](_0x5924cb[_0x7c10('0x58')],'attribute')[_0x7c10('0x179')](_0x173988=>!_0x173988[_0x7c10('0xc6')][_0x7c10('0xba')])[_0x7c10('0x14d')](_0x3e4846=>_0x3e4846[_0x7c10('0x159')]),_0x1640bc=_0x5e0410({'newValue':_0x5924cb[_0x7c10('0xed')]});_0x3d4ba7[_0x7c10('0x179')](_0x16a63a=>{const [_0x2ca84b,_0x6c26a7]=_0x16a63a[_0x7c10('0x34')][_0x7c10('0x22')]('|');return _0x2ca84b==_0x5924cb[_0x7c10('0xe5')]&&_0x6c26a7!=_0x1640bc;})[_0x7c10('0x48')](_0x41f8ec=>{this['_reduceSuggestionAttributeRange'](_0x41f8ec,_0x5924cb[_0x7c10('0x58')],_0xd6d088),_0xbcac21=!0x0;});}return _0xbcac21;}['_reduceSuggestionAttributeRange'](_0x1298bb,_0x51801b,_0xab96aa){const _0x4e5e64=_0x1298bb[_0x7c10('0x36')]()[_0x7c10('0xbd')](_0x51801b);0x0!==_0x4e5e64['length']?0x1!==_0x4e5e64['length']?this[_0x7c10('0x95')](_0x1298bb,_0x51801b[_0x7c10('0xee')],_0x51801b[_0x7c10('0x2c')]):this['_setSuggestionRange'](_0x1298bb,_0x4e5e64[0x0]):_0xab96aa['removeMarker'](_0x1298bb['getFirstMarker']());}}class Bt{constructor(_0x3748fe){this[_0x7c10('0x10b')]=_0x3748fe,this[_0x7c10('0x116')]=_0x3748fe[_0x7c10('0xa4')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}[_0x7c10('0xa1')](_0x25371b,_0xba5f2c,_0x5bf117,_0xf94aa0,_0x29d205,_0x637d82){return new _0x24cf3e(this[_0x7c10('0x116')],{'type':_0x25371b,'subType':_0xba5f2c,'id':_0x5bf117,'author':_0xf94aa0,'creator':_0xf94aa0,'attributes':_0x29d205,'onAttributesChange':_0x637d82,'onAccept':(..._0x5cc723)=>this[_0x7c10('0x20')](_0x25371b,_0xba5f2c,_0x7c10('0xe8'))(..._0x5cc723),'onDiscard':(..._0x1e8947)=>this[_0x7c10('0x20')](_0x25371b,_0xba5f2c,_0x7c10('0x165'))(..._0x1e8947)});}[_0x7c10('0x3f')](_0xe32992,_0x3b0f9b,_0x598669,_0x20ee4e){const _0x59d62f=_0xe32992+':'+_0x3b0f9b+':'+_0x598669;this[_0x7c10('0x14c')]['set'](_0x59d62f,_0x20ee4e);}[_0x7c10('0x20')](_0x3d15dd,_0x2e9a2c,_0x3fbdbb){const _0x357bc4=_0x3d15dd+':'+_0x2e9a2c+':'+_0x3fbdbb;return this['_customCallbacks'][_0x7c10('0x122')](_0x357bc4)||this[_0x7c10('0xd')][_0x7c10('0x122')](_0x3d15dd+':'+_0x3fbdbb);}[_0x7c10('0x109')](){const _0x47cfc7=()=>!0x1,_0x3cc9c4=_0x2b51cb=>{_0x2b51cb[_0x7c10('0x6')]((_0x5a6f67,_0x198d0e)=>_0x5a6f67[_0x7c10('0xee')]['isBefore'](_0x198d0e[_0x7c10('0xee')])?0x1:-0x1),this[_0x7c10('0x116')]['change'](_0x4bab25=>{for(const _0x1ffd92 of _0x2b51cb){let _0x1c4b82;_0x1c4b82=_0x1ffd92[_0x7c10('0x2c')][_0x7c10('0x88')]&&_0x1ffd92['end']['parent']==_0x1ffd92[_0x7c10('0xee')]['nodeAfter']?_0x4bab25[_0x7c10('0x117')](_0x1ffd92[_0x7c10('0xee')][_0x7c10('0x86')],'on'):_0x4bab25['createSelection'](_0x1ffd92),this['_model']['deleteContent'](_0x1c4b82,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4e2497=(_0x588a5d,_0xbc7af2)=>{_0xbc7af2&&this[_0x7c10('0x116')][_0x7c10('0x63')](_0x316740=>{const {commandName:_0x38390e,commandParams:_0x38e4d8=[]}=_0xbc7af2,_0x574460=_0x588a5d[_0x7c10('0x14d')](_0x4fa445=>(xt(_0x4fa445)&&(_0x4fa445=this[_0x7c10('0x116')][_0x7c10('0x12')](_0x4fa445['end'])),_0x4fa445))[_0x7c10('0x179')](_0x1bf928=>_0x7c10('0x8d')!==_0x1bf928['root']['rootName']);if(_0x574460[_0x7c10('0x76')]<0x1)return;const _0x4ababc=Array['from'](this['_model'][_0x7c10('0x29')][_0x7c10('0x144')][_0x7c10('0x101')]())[_0x7c10('0x14d')](_0x5a79ee=>_0xc3c711[_0x7c10('0x2e')](_0x5a79ee));_0x316740['setSelection'](_0x574460);for(const _0xa0147d of this[_0x7c10('0x10b')][_0x7c10('0x8e')][_0x7c10('0x8e')]())_0xa0147d[_0x7c10('0x163')]();_0x38e4d8['push']({'forceDefaultExecution':!0x0}),this['_editor'][_0x7c10('0x8f')](_0x38390e,..._0x38e4d8);const _0x4972af=_0x4ababc[_0x7c10('0x179')](_0x22a92c=>_0x7c10('0x8d')!=_0x22a92c['root']['rootName']);_0x4972af[_0x7c10('0x76')]>0x0&&_0x316740[_0x7c10('0x12e')](_0x4972af);for(const _0x159d78 of _0x4ababc)_0x159d78[_0x7c10('0x82')]();});},_0x2d6758=(_0x1abf54,_0x23f116)=>0x1==_0x1abf54[_0x7c10('0x76')]&&0x1==_0x23f116['length']&&_0x1abf54[0x0]['end']['isEqual'](_0x23f116[0x0]['start']),_0x44709f=(_0x4174fa,_0xbd1244,_0x5aab41,_0x281661)=>Ot(_0x4174fa,_0xbd1244,_0x5aab41,_0x281661,this[_0x7c10('0x116')])?[_0x4174fa,_0xbd1244]:Ot(_0xbd1244,_0x4174fa,_0x281661,_0x5aab41,this[_0x7c10('0x116')])?[_0xbd1244,_0x4174fa]:null;this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x169'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x154'),_0x3cc9c4),this[_0x7c10('0xd')]['set']('insertion:join',_0x2d6758),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x130'),_0x44709f),this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x13'),_0x3cc9c4),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x6a'),_0x47cfc7),this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x14'),_0x2d6758),this[_0x7c10('0xd')]['set']('deletion:chain',_0x44709f),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x4a'),_0x4e2497),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0xfb'),_0x47cfc7),this[_0x7c10('0xd')]['set']('formatInline:join',_0x2d6758),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x66'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x25'),_0x4e2497),this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x120'),_0x47cfc7),this['_defaultCallbacks'][_0x7c10('0x12b')]('formatBlock:join',_0x2d6758),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0xd9'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0xa0'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x9a'),(_0x2fea6b,_0x521db5)=>{if(!_0x521db5)return;const _0x541ba9=this[_0x7c10('0x10b')][_0x7c10('0x70')]['get'](p);this[_0x7c10('0x116')][_0x7c10('0x63')](_0x3386cf=>{if(_0x7c10('0x2a')==_0x521db5[_0x7c10('0xe5')])for(const _0x26db35 of _0x2fea6b){const _0x475e23=_0x26db35[_0x7c10('0xee')][_0x7c10('0x86')],_0x58fe0e=_0x521db5[_0x7c10('0x16')];_0x3386cf['rename'](_0x475e23,_0x58fe0e);}else{if(_0x541ba9[_0x7c10('0xff')](_0x521db5[_0x7c10('0xe5')]))for(const _0x3bf281 of _0x2fea6b)void 0x0!==_0x521db5[_0x7c10('0x16')]?_0x3386cf[_0x7c10('0x9e')](_0x521db5[_0x7c10('0xe5')],_0x521db5[_0x7c10('0x16')],_0x3bf281[_0x7c10('0xee')][_0x7c10('0x86')]):_0x3386cf[_0x7c10('0xb4')](_0x521db5[_0x7c10('0xe5')],_0x3bf281[_0x7c10('0xee')][_0x7c10('0x86')]);else for(const _0x44c4fd of _0x2fea6b)_0x521db5[_0x7c10('0x16')]?_0x3386cf[_0x7c10('0x9e')](_0x521db5[_0x7c10('0xe5')],_0x521db5[_0x7c10('0x16')],_0x44c4fd):_0x3386cf[_0x7c10('0xb4')](_0x521db5[_0x7c10('0xe5')],_0x44c4fd);}});}),this[_0x7c10('0xd')][_0x7c10('0x12b')]('attribute:join',_0x2d6758);}}function Tt(_0x546ad7,_0x1cae6c,_0x1f1c93){for(const _0x59a295 of _0x1cae6c['parent'][_0x7c10('0x8a')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x59a295[_0x7c10('0xf4')]==_0x59a295)return!0x1;if(!_0x1f1c93[_0x7c10('0x15e')](_0x59a295))return!0x1;if(_0x546ad7[_0x7c10('0xf8')](_0x59a295)||_0x546ad7['isLimit'](_0x59a295))return!0x0;}return!0x1;}function xt(_0x1c7db0){return _0x1c7db0['end']['parent']==_0x1c7db0[_0x7c10('0xee')][_0x7c10('0x86')]&&_0x1c7db0[_0x7c10('0x2c')]['isAtStart'];}function Et(_0x43cd82,_0x59f906,_0x736505,_0x1e8163){const _0x536413=_0x425782=>!_0x425782[_0x7c10('0x13e')]['is'](_0x7c10('0xd2'))&&!_0x1e8163[_0x7c10('0xf8')](_0x425782['item']),_0x4d9515=_0x43cd82[_0x7c10('0xee')][_0x7c10('0x28')](_0x536413),_0x184840=_0x43cd82[_0x7c10('0x2c')]['getLastMatchingPosition'](_0x536413,{'direction':_0x7c10('0x52')});return(!_0x43cd82[_0x7c10('0xee')][_0x7c10('0x38')](_0x4d9515)||!_0x43cd82[_0x7c10('0x2c')]['isEqual'](_0x184840))&&(_0x4d9515['isBefore'](_0x184840)?_0x736505[_0x7c10('0x137')](_0x59f906,{'range':_0x736505['createRange'](_0x4d9515,_0x184840)}):_0x736505[_0x7c10('0x177')](_0x59f906),!0x0);}function Rt(_0x3b91ba){return _0x5e0410(_0x3b91ba);}function jt(_0x3d0d12){const _0x4b5c4e=_0x3d0d12[_0x7c10('0xee')]['nodeAfter'];return _0x4b5c4e&&_0x4b5c4e['is']('element');}function Ut(_0x4a2a97,_0x54c811){const _0x3f22e5=_0x54c811[_0x7c10('0xef')][_0x7c10('0xf8')](_0x4a2a97)||_0x54c811[_0x7c10('0xef')][_0x7c10('0x15f')](_0x4a2a97);return _0x54c811[_0x7c10('0x12')](_0x54c811[_0x7c10('0xab')](_0x4a2a97,_0x7c10('0x7a')),_0x3f22e5?_0x54c811[_0x7c10('0x24')](_0x4a2a97):_0x54c811['createPositionAt'](_0x4a2a97,_0x7c10('0x2c')));}function Ot(_0xf6a51c,_0x2bf44f,_0x142728,_0x3e87e9,_0x1f7a04){if(!Vt(_0xf6a51c,_0x2bf44f))return!0x1;if(_0x142728[_0x7c10('0x2c')][_0x7c10('0x38')](_0x3e87e9[_0x7c10('0xee')]))return!0x0;if(_0xf6a51c[_0x7c10('0x15b')]!=_0x2bf44f['type'])return!0x1;if(!_0x142728['end'][_0x7c10('0xfe')](_0x3e87e9[_0x7c10('0xee')]))return!0x1;const _0x1c330b=_0x1f7a04[_0x7c10('0x12')](_0x142728['end'],_0x3e87e9[_0x7c10('0xee')])['getWalker']();for(const _0x26269d of _0x1c330b)if(['elementStart',_0x7c10('0x44')][_0x7c10('0xd4')](_0x26269d[_0x7c10('0x15b')])&&_0x1f7a04['schema']['isLimit'](_0x26269d[_0x7c10('0x13e')]))return!0x1;return!0x0;}function Vt(_0x1761cc,_0x5728b4){return!(!_0x1761cc['_isDataLoaded']||!_0x5728b4[_0x7c10('0x9c')])&&_0x3d5e0e(_0x1761cc[_0x7c10('0x57')],_0x5728b4[_0x7c10('0x57')]);}function Gt(_0x13765a,_0x58ee49){const _0x3655dd=Ft(_0x13765a[_0x7c10('0x57')]),_0x20def9=Ft(_0x58ee49);if(!_0x13765a[_0x7c10('0x9c')])return!0x1;for(const _0x4d4d1a of Object[_0x7c10('0x83')](_0x20def9))if(!_0x3d5e0e(_0x3655dd[_0x4d4d1a],_0x20def9[_0x4d4d1a]))return!0x1;return!0x0;}function Ft(_0x46b648){const _0x3744d5=Object[_0x7c10('0xd5')]({},_0x46b648);return delete _0x3744d5[_0x7c10('0xe4')],delete _0x3744d5[_0x7c10('0x182')],_0x3744d5;}function Pt(_0x52e4ce){return _0x7c10('0x37')==_0x52e4ce[_0x7c10('0x15b')]?_0x52e4ce['subType'][_0x7c10('0x22')]('|')[0x0]:null;}