@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231215.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 _0x2c5b=['markAttributeChange','dataDowncast','_cutOutSuggestionMarker','model','every','forceDefaultExecution','addMarker:suggestion:attribute','size','addAttribute','isAfter','acceptSuggestion','has','_registerInlineAttribute','_defaultCallbacks','LEAVE','getWalker','getShiftedBy','accept','includes','_isDataLoaded','toJSON','error-saving-suggestion-data-suggestion-discarded','addSuggestion','_suggestionFactory','isRemovable','get','elementEnd','createRangeIn','changeAttribute','toUpperCase','markDeletion','addHighlight','_setSuggestionRange','change:_saved','_handleNewSuggestionMarker','nodeAfter','containsRangeInObject','activeMarkers','_getAuthorFromId','plugins','version','_registerDefaultCallbacks','_initAriaMarkerChangeAnnouncements','ck-suggestion-marker--active','elementStart','getFirstRange','addMarker:suggestion','commentThread','trackChanges.mergeNestedSuggestions','getMultiRangeId','fire','isLimit','isBlock','deletion:accept','attribute','formatInline:discard','substr','author','acceptSelectedSuggestions','formatBlock:join','selection','getOperations','setAttribute','newValue','isSelectable','bindElementToMarker','oldName','ck-suggestion-marker-formatInline','formatInline','markerNameToElements','updateMarker','originalSuggestionId','insert','document','default','from','mapper','addClass','markInlineFormat','removeMarker:suggestion:attribute','push','trackChangesCommand','_createSuggestion','Users','updateSuggestion','skipNestingCheck','locale','name','getAttribute','targetPosition','_getExternalAuthor','markMultiRangeDeletion','external:','FORMATTING','isOwn','_joinSuggestions','stop','_checkSuggestionCorrectness','remove','getContainedElement','createdAt','track-changes-suggestion-not-found','attribute:','range','_model','addCommentThread','map','move','listenTo','createRange','_addSuggestionMarker','discardSuggestion','conversion','_setSuggestionData','containsRange','previous','getChangedMarkers','markInsertion','keys','requires','getSuggestion','isNextTo','enqueueChange','_joinWithAdjacentSuggestions','howMany','_enabledCommands','insertion:','update:suggestion','hasCommentThread','notReady','some','find','CommentsRepository','acceptAllSuggestions','rootName','deletion:chain','getItems','upcast','_getSuggestionData','markerToHighlight','isMultiRange','data','_suggestions','formatBlock:discard','markerName','formatBlock:','formatBlock:accept','unshift','deleteContent','_trackFormatChanges','_enableDefaultAttributesIntegration','formatBlock','add','trackChanges','formatInline:chain','creator','unbind','_processAttributeChanges','attribute:join','_rangeIsInLocalUserInsertion','@external','isObject','isUndo','fromRange','reconvertMarker','formatInline:join','filter','isInContent','detach','setSelection','track-changes-adapter-already-set','dataReady','values','buildSuggestion','track-changes-command-not-found','_adapter','insertion:chain','discardSelectedSuggestions','batch','_breakSuggestionMarker','$marker','substring','isAtEnd','position','attributeKey','containerElement','newRange','join','addMarker','clone','_saved','isBefore','getDifference','track-changes-suggestion-data-mismatch','trackChanges.trackFormatChanges','suggestionChanged','change','registerPostFixer','isCollapsed','$graveyard','rejected','_isBlockAttribute','markBlockFormat','head','getMarkers','suggestion:attribute:','_updateSuggestionData','deletion','toViewElement','insertContent','assign','commands','formatGroupId','high','addRange','removeMarker','_refreshSuggestionsChain','deletion:','isLocal','$elementName','startsWith','editor','getSuggestionCallback','_recordAttributeChanges','length','subType','insertion','item','isInsideObject','parent','ck-suggestion-marker','_inlineAttributeKeys','_isForcedDefaultExecutionBlock','containsPosition','always','differ','comments','suggestion','_reduceSuggestionAttributeRange','formatBlock:chain','oldRange','PENDING_ACTION_SUGGESTION','removeComment','ENTER','removeClass','isExternal','for','normal','change:data','split','root','enableReadOnlyMode','$textProxy','attribute:discard','sort','createPositionAt','ready','isArray','pop','key','set','createElement','delete','_getMarkerAnnouncementText','hasSuggestion','discard','marker-count','type','execute','end','discardAllSuggestions','oldValue','showSuggestionHighlights','history','_mergeNestedSuggestions','suggestionLoaded','_commentsRepository','then','markMultiRangeBlockFormat','markerReady','unbindElementFromMarkerName','_findSuggestions','dataToMarker','consumable','applyOperation','value','removeAttribute','chain','removeMarkers','getRanges','attributes','addSuggestionData','element','_blockAttributeKeys','config','highest','_recordAttributeSuggestionsFromVersion','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.','addMarkerName','start','_splitMarkerName','adapter','formatInline:','_registerBlockAttribute','getFirstMarker','newName','options','createPositionAfter','forEach','widget','suggestion:','getLastMatchingPosition','writer','getSuggestions','attributeOldValue','addMarker:suggestion:formatBlock','isTouching','_suggestionState','resolve','containsItem','open','nodeBefore','return','hasComments','removeMarker:suggestion:formatBlock','createSelection','data-suggestion','getRange','never','_editor','removed','rethrowUnexpectedError','backward','refresh','isIntersecting','getUser','ck-suggestion-marker-formatBlock','define','splice','markMultiRangeInsertion','TrackChangesEditing','multipleBlocks','_removeSuggestion','authoredAt','commandName','track-changes-adapter-missing-getsuggestion','_onDiscard','createPositionBefore','getAllAdjacentSuggestions','_reduceExistingSuggestions','editingDowncast','isEqual','init','getCommentThread','schema','setTo','rename','markers','addComment','groupId','getCustomProperty','tablePasteChainId','next','enableCommand','after','multi','_processAttributeSuggestions','getIntersection','_SUGGESTION_ANNOUNCEMENT','_customCallbacks','consume','isIntersectingWithRange'];(function(_0x5254a4,_0x2c5b75){const _0x5bb46a=function(_0x304f7a){while(--_0x304f7a){_0x5254a4['push'](_0x5254a4['shift']());}};_0x5bb46a(++_0x2c5b75);}(_0x2c5b,0x1be));const _0x5bb4=function(_0x5254a4,_0x2c5b75){_0x5254a4=_0x5254a4-0x0;let _0x5bb46a=_0x2c5b[_0x5254a4];return _0x5bb46a;};import{Plugin as _0x11b42f,PendingActions as _0x6e80da}from'ckeditor5/src/core';import{LiveRange as _0x87e607}from'ckeditor5/src/engine';import{CKEditorError as _0x426846,uid as _0x4f0212,priorities as _0x347639,logWarning as _0x841a3}from'ckeditor5/src/utils';import{toWidget as _0x1c2951}from'ckeditor5/src/widget';import{Users as _0x2197d7,hashObject as _0x457066,surroundingMarkersDetector as _0x2f2298}from'ckeditor5-collaboration/src/collaboration-core';import _0x4e1f9b from'./commands/trackchangescommand';import _0x378fec from'./commands/acceptsuggestioncommand';import _0x180cf0 from'./commands/discardsuggestioncommand';import _0x87823c from'./commands/executeonallsuggestionscommand';import _0x2b3bd6 from'./commands/executeonselectedsuggestionscommand';import _0x1343f2 from'./suggestion';import _0x4e352a from'./suggestiondescriptionfactory';import _0x264121 from'./integrations/aiassistant';import _0x5e86c1 from'./integrations/alignment';import _0x2a7c39 from'./integrations/basicstyles';import _0x5326aa from'./integrations/blockquote';import _0x1e101a from'./integrations/ckbox';import _0x59d1a0 from'./integrations/codeblock';import _0x42cb88 from'./integrations/comments';import _0x1082a7 from'./integrations/deletecommand';import _0x56eaab from'./integrations/documentlist';import _0x12676c from'./integrations/documentlistproperties';import _0x45ee9d from'./integrations/entercommand';import _0x5c242f from'./integrations/findandreplace';import _0x48aef5 from'./integrations/font';import _0x268aab from'./integrations/formatpainter';import _0x17c367 from'./integrations/heading';import _0x20f879 from'./integrations/highlight';import _0x410379 from'./integrations/horizontalline';import _0x2efda7 from'./integrations/htmlembed';import _0x4c8b4c from'./integrations/image';import _0x52a301 from'./integrations/imagereplace';import _0x18deaf from'./integrations/imagestyle';import _0x270d07 from'./integrations/importword';import _0x5d94ac from'./integrations/indent';import _0x120520 from'./integrations/inputcommand';import _0x49ef97 from'./integrations/link';import _0x292cf0 from'./integrations/list';import _0x3db439 from'./integrations/listproperties';import _0x324a63 from'./integrations/mediaembed';import _0x496038 from'./integrations/mention';import _0x4fab4e from'./integrations/pagebreak';import _0x5c9942 from'./integrations/paragraph';import _0x4e3f05 from'./integrations/removeformat';import _0x39c8a3 from'./integrations/restrictededitingmode';import _0x158ae0 from'./integrations/shiftentercommand';import _0x5505d6 from'./integrations/standardeditingmode';import _0x26a06e from'./integrations/style';import _0x5759dd from'./integrations/table';import _0x144338 from'./integrations/tablemergesplit';import _0x41c673 from'./integrations/tableheadings';import _0x47a501 from'./integrations/tableclipboard';import _0xc30a89 from'./integrations/tablecolumnresize';import _0x3886fc from'./integrations/template';import _0x4e2e0c from'./integrations/tableofcontents';import _0x141646 from'./integrations/title';import _0x5969be from'./integrations/undo';import _0x5c3a2c from'./integrations/tablecaption';import _0x572850 from'./integrations/tableproperties';import{getTranslation as _0x1f39dc}from'./utils/common-translations';import{isEqual as _0x53cbae,omit as _0xe709ef}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x11b42f{static get[_0x5bb4('0x2d')](){return[_0x5bb4('0x3a'),_0x2197d7,_0x6e80da,_0x264121,_0x5e86c1,_0x2a7c39,_0x5326aa,_0x1e101a,_0x59d1a0,_0x42cb88,_0x1082a7,_0x56eaab,_0x12676c,_0x45ee9d,_0x5c242f,_0x48aef5,_0x268aab,_0x17c367,_0x20f879,_0x410379,_0x2efda7,_0x4c8b4c,_0x18deaf,_0x52a301,_0x270d07,_0x5d94ac,_0x120520,_0x49ef97,_0x292cf0,_0x3db439,_0x324a63,_0x496038,_0x4fab4e,_0x5c9942,_0x4e3f05,_0x39c8a3,_0x158ae0,_0x5505d6,_0x26a06e,_0x5759dd,_0x144338,_0x41c673,_0x5c3a2c,_0x47a501,_0xc30a89,_0x4e2e0c,_0x572850,_0x3886fc,_0x141646,_0x5969be];}static get['pluginName'](){return _0x5bb4('0x10a');}constructor(_0x3de14c){function _0x301914(_0x4239af){return _0x4239af[_0x5bb4('0x20')](_0x6ece0a=>String['fromCharCode'](_0x6ece0a))['join']('');}super(_0x3de14c),this[_0x5bb4('0xde')]=null,this[_0x5bb4('0xba')](_0x5bb4('0x14f'),[]),this['on']('change:activeMarkers',(_0x118097,_0xd385b4,_0x419361,_0x1eb377)=>{this[_0x5bb4('0x1e')][_0x5bb4('0x7a')](()=>{for(const _0x54105c of[..._0x1eb377,..._0x419361])this[_0x5bb4('0x1e')][_0x5bb4('0x11b')][_0x5bb4('0x135')](_0x54105c)&&_0x3de14c['editing'][_0x5bb4('0x5a')](_0x54105c);});}),this['_descriptionFactory']=new _0x4e352a(this['editor'][_0x5bb4('0x12d')][_0x5bb4('0x118')],this[_0x5bb4('0x93')][_0x5bb4('0xc')]),this[_0x5bb4('0x65')]=null,this[_0x5bb4('0x141')]=new Bt(this[_0x5bb4('0x93')]),this['_suggestions']=new Map(),this[_0x5bb4('0xca')]=_0x3de14c[_0x5bb4('0x151')]['get'](_0x5bb4('0x3a')),this['_enabledCommands']=new Set(),this['_model']=this[_0x5bb4('0x93')]['model'],this['_suggestionState']=new WeakMap(),this[_0x5bb4('0x9e')]=!0x1,this[_0x5bb4('0xdb')]=new Set(['$elementName']),this[_0x5bb4('0x9d')]=new Set(),_0x3de14c[_0x5bb4('0xdc')][_0x5bb4('0x107')](_0x5bb4('0x78'),_0x5bb4('0x0')),this[_0x5bb4('0x4b')]=_0x3de14c[_0x5bb4('0xdc')][_0x5bb4('0x143')]('trackChanges.trackFormatChanges'),_0x3de14c[_0x5bb4('0xdc')][_0x5bb4('0x107')](_0x5bb4('0x15a'),!0x0),this['_mergeNestedSuggestions']=_0x3de14c['config'][_0x5bb4('0x143')](_0x5bb4('0x15a')),this[_0x5bb4('0x7')]=new _0x4e1f9b(_0x3de14c,this[_0x5bb4('0x33')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x301914([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x301914([0x34,0x30,0x34,0x36,0x32,0x34,0x32,0x38]);}[_0x5bb4('0x116')](){const _0x3f2c4b=this[_0x5bb4('0x93')],_0x550d65=(_0x491d12,_0x3fac78)=>{if(_0x5bb4('0x160')!=_0x491d12)return'ck-suggestion-marker-'+_0x491d12;const _0x299f8b=_0x3fac78[_0x5bb4('0xaf')]('|')[0x0];return this[_0x5bb4('0x7f')](_0x299f8b)?_0x5bb4('0x106'):_0x5bb4('0x16d');};_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x114'))[_0x5bb4('0x41')]({'model':_0x5bb4('0xa3'),'view':_0x2feaea=>{const {id:_0x295d88,type:_0x4a6463,subType:_0x28c6c5}=this['_splitMarkerName'](_0x2feaea['markerName']),_0x4b8209=['ck-suggestion-marker',_0x550d65(_0x4a6463,_0x28c6c5)];let _0x13515b=0xbb8;return this[_0x5bb4('0x14f')][_0x5bb4('0x13c')](_0x2feaea[_0x5bb4('0x46')])&&(_0x4b8209[_0x5bb4('0x6')]('ck-suggestion-marker--active'),_0x13515b=0xbc2),_0x5bb4('0x85')==_0x4a6463&&(_0x13515b+=0x5),{'classes':_0x4b8209,'attributes':{'data-suggestion':_0x295d88},'priority':_0x13515b};}}),_0x3f2c4b['conversion'][_0x5bb4('0xac')](_0x5bb4('0x12b'))['add'](_0xdc5e9a=>{_0xdc5e9a['on'](_0x5bb4('0x158'),(_0xca4bf7,_0x3ca330,_0x5406b9)=>{if(!_0x5406b9[_0x5bb4('0xe8')]['showSuggestionHighlights'])return;const _0x158373=_0x3ca330[_0x5bb4('0x99')];if(!_0x158373)return;const _0x1f7c4e=_0x5406b9[_0x5bb4('0x2')][_0x5bb4('0x86')](_0x158373);_0x3f2c4b[_0x5bb4('0x12d')]['schema']['isObject'](_0x158373)&&_0x1f7c4e&&!_0x1f7c4e[_0x5bb4('0x11e')](_0x5bb4('0xeb'))&&_0x1f7c4e['is'](_0x5bb4('0x6f'))&&_0x1c2951(_0x1f7c4e,_0x5406b9['writer']);},{'priority':_0x5bb4('0x8b')});}),_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x12b'))['markerToHighlight']({'model':_0x5bb4('0xa3'),'view':(_0x3f7e06,_0x1deb48)=>{if(!_0x1deb48[_0x5bb4('0xe8')][_0x5bb4('0xc6')])return null;const {type:_0x3a1a13,subType:_0x535b46}=this[_0x5bb4('0xe2')](_0x3f7e06[_0x5bb4('0x46')]);return{'classes':['ck-suggestion-marker',_0x550d65(_0x3a1a13,_0x535b46)],'priority':0xbb8};}});const _0xe59de0=({showActiveMarkers:_0x27e64a=!0x0,isAttributeSuggestion:_0x27b46c=!0x1}={})=>(_0x450020,_0xa6e9ea,_0x5295da)=>{if(!_0xa6e9ea['item'])return;const {id:_0x5d81ef}=this[_0x5bb4('0xe2')](_0xa6e9ea[_0x5bb4('0x46')]);if(_0x27b46c){const _0x35d71b=Pt(this['_suggestions']['get'](_0x5d81ef));if(!this[_0x5bb4('0x7f')](_0x35d71b))return;}if(_0xa6e9ea[_0x5bb4('0x99')]['is'](_0x5bb4('0x166')))return void _0x5295da[_0x5bb4('0xd1')][_0x5bb4('0x128')](_0xa6e9ea[_0x5bb4('0x99')],_0x450020[_0x5bb4('0xd')]);const _0x208b9d=_0x5295da['mapper'][_0x5bb4('0x86')](_0xa6e9ea['item']);if(_0xa6e9ea[_0x5bb4('0x99')]['is'](_0x5bb4('0xda'))&&_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x118')][_0x5bb4('0x15e')](_0xa6e9ea[_0x5bb4('0x99')])&&!_0x208b9d[_0x5bb4('0x11e')](_0x5bb4('0x149'))){_0x5295da['writer'][_0x5bb4('0x3')]([_0x5bb4('0x9c'),'ck-suggestion-marker-formatBlock'],_0x208b9d),_0x5295da[_0x5bb4('0xee')][_0x5bb4('0x168')](_0x5bb4('0xfc'),_0x5d81ef,_0x208b9d),_0x5295da[_0x5bb4('0x2')][_0x5bb4('0x16b')](_0x208b9d,_0xa6e9ea['markerName']),_0x27e64a&&(this['activeMarkers']['includes'](_0xa6e9ea['markerName'])?_0x5295da[_0x5bb4('0xee')][_0x5bb4('0x3')]('ck-suggestion-marker--active',_0x208b9d):_0x5295da['writer']['removeClass']('ck-suggestion-marker--active',_0x208b9d));for(const _0x21fa91 of _0x3f2c4b['model'][_0x5bb4('0x145')](_0xa6e9ea[_0x5bb4('0x99')])[_0x5bb4('0x3e')]())_0x5295da[_0x5bb4('0xd1')]['consume'](_0x21fa91,_0x450020[_0x5bb4('0xd')]);_0x5295da['consumable'][_0x5bb4('0x128')](_0xa6e9ea['item'],_0x450020[_0x5bb4('0xd')]);}};_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x12b'))[_0x5bb4('0x4e')](_0x23dd43=>{_0x23dd43['on'](_0x5bb4('0xf1'),(_0x531947,_0x4b104c,_0x1e3680)=>{_0x1e3680['options'][_0x5bb4('0xc6')]&&_0xe59de0({'showActiveMarkers':!0x1})(_0x531947,_0x4b104c,_0x1e3680);},{'priority':_0x5bb4('0xdd')});}),_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x12b'))['add'](_0x44c153=>{_0x44c153['on'](_0x5bb4('0x130'),(_0xaaaede,_0x22be1d,_0x548e54)=>{_0x548e54[_0x5bb4('0xe8')][_0x5bb4('0xc6')]&&_0xe59de0({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0xaaaede,_0x22be1d,_0x548e54);},{'priority':'highest'});}),_0x3f2c4b[_0x5bb4('0x26')]['for'](_0x5bb4('0x12b'))['markerToData']({'model':_0x5bb4('0xa3'),'view':(_0x4c38c3,_0x3c0c71)=>_0x3c0c71[_0x5bb4('0xe8')]['showSuggestionHighlights']?null:{'group':_0x5bb4('0xa3'),'name':_0x4c38c3[_0x5bb4('0x162')](0xb)}}),_0x3f2c4b['conversion']['for'](_0x5bb4('0x3f'))['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2326e4,{writer:_0x58a47e})=>{let _0x2b7c48=_0x5bb4('0xec')+_0x2326e4[_0x5bb4('0xe')]('suggestion-type')+':'+_0x2326e4['getAttribute']('id');return _0x2326e4[_0x5bb4('0xe')](_0x5bb4('0xc0'))&&(_0x2b7c48+=':'+_0x2326e4[_0x5bb4('0xe')](_0x5bb4('0xc0'))),_0x58a47e[_0x5bb4('0xbb')](_0x5bb4('0x6a'),{'data-name':_0x2b7c48});}}),_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x3f'))[_0x5bb4('0xd0')]({'view':_0x5bb4('0xa3')}),_0x3f2c4b[_0x5bb4('0x26')]['for'](_0x5bb4('0x114'))[_0x5bb4('0x4e')](_0x45f780=>{_0x45f780['on'](_0x5bb4('0xf1'),_0xe59de0(),{'priority':_0x5bb4('0x8b')});}),_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x114'))[_0x5bb4('0x4e')](_0x22d6f0=>{_0x22d6f0['on'](_0x5bb4('0x130'),_0xe59de0({'isAttributeSuggestion':!0x0}),{'priority':_0x5bb4('0x8b')});}),_0x3f2c4b[_0x5bb4('0x26')][_0x5bb4('0xac')](_0x5bb4('0x114'))['add'](_0x49ffdc=>{_0x49ffdc['on'](_0x5bb4('0xfa'),(_0x503fd6,_0xc47423,_0x2152d0)=>{const _0x52f0c7=_0x2152d0[_0x5bb4('0x2')][_0x5bb4('0x16f')](_0xc47423['markerName']);if(_0x52f0c7)for(const _0x27b04e of _0x52f0c7)_0x27b04e['getCustomProperty'](_0x5bb4('0x149'))||(_0x2152d0['writer'][_0x5bb4('0xaa')]([_0x5bb4('0x9c'),_0x5bb4('0x106'),_0x5bb4('0x155')],_0x27b04e),_0x2152d0[_0x5bb4('0xee')][_0x5bb4('0xd4')](_0x5bb4('0xfc'),_0x27b04e),_0x2152d0['mapper']['unbindElementFromMarkerName'](_0x27b04e,_0xc47423['markerName']));},{'priority':_0x5bb4('0x8b')});}),_0x3f2c4b['conversion'][_0x5bb4('0xac')](_0x5bb4('0x114'))['add'](_0x1f5150=>{_0x1f5150['on'](_0x5bb4('0x5'),(_0x44e7f1,_0x21f82d,_0xcf1076)=>{const _0x5e60bf=_0xcf1076[_0x5bb4('0x2')][_0x5bb4('0x16f')](_0x21f82d['markerName']);if(!_0x5e60bf)return;const {id:_0x39e7c8}=this['_splitMarkerName'](_0x21f82d[_0x5bb4('0x46')]),_0x49975e=Pt(this[_0x5bb4('0x44')][_0x5bb4('0x143')](_0x39e7c8));if(this[_0x5bb4('0x7f')](_0x49975e))for(const _0x30afa8 of _0x5e60bf)_0x30afa8[_0x5bb4('0x11e')]('addHighlight')||(_0xcf1076['writer'][_0x5bb4('0xaa')](['ck-suggestion-marker',_0x5bb4('0x106'),_0x5bb4('0x155')],_0x30afa8),_0xcf1076['writer']['removeAttribute'](_0x5bb4('0xfc'),_0x30afa8),_0xcf1076[_0x5bb4('0x2')][_0x5bb4('0xce')](_0x30afa8,_0x21f82d[_0x5bb4('0x46')]));},{'priority':'high'});}),_0x3f2c4b[_0x5bb4('0x12d')]['document'][_0x5bb4('0x7b')](_0x31e67c=>{let _0xa8a103=!0x1;const _0x261899=Array[_0x5bb4('0x1')](_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x173')]['differ'][_0x5bb4('0x2a')]()),_0x15de1f=new Set();for(const {name:_0x27ac62,data:_0x544494}of _0x261899){const {group:_0x1ea176,type:_0xcad0a4,subType:_0xb5ef6,id:_0x3ae9a9}=this['_splitMarkerName'](_0x27ac62);if(_0x5bb4('0xa3')!==_0x1ea176)continue;const _0x19252e=this[_0x5bb4('0x44')][_0x5bb4('0x143')](_0x3ae9a9);if(null!=_0x544494[_0x5bb4('0x70')]){_0x5bb4('0x16e')==_0xcad0a4&&(_0xa8a103=_0xa8a103||Et(_0x544494[_0x5bb4('0x70')],_0x27ac62,_0x31e67c,_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x118')]));const _0x12702a=_0x5bb4('0x160')==_0xcad0a4&&this['_isBlockAttribute'](_0xb5ef6[_0x5bb4('0xaf')]('|')[0x0]);if(_0x544494[_0x5bb4('0x70')][_0x5bb4('0x7c')]||_0x5bb4('0x7d')==_0x544494[_0x5bb4('0x70')][_0x5bb4('0xb0')][_0x5bb4('0x3c')]||'formatBlock'==_0xcad0a4&&!jt(_0x544494[_0x5bb4('0x70')])||_0x12702a&&!jt(_0x544494[_0x5bb4('0x70')])||'deletion'==_0xcad0a4&&!(!xt(_0x646e5=_0x544494[_0x5bb4('0x70')])&&!function(_0x13f226){return _0x13f226[_0x5bb4('0xe1')][_0x5bb4('0x9b')]==_0x13f226[_0x5bb4('0xc3')][_0x5bb4('0xf7')]&&_0x13f226[_0x5bb4('0xe1')][_0x5bb4('0x6c')];}(_0x646e5)))_0x31e67c[_0x5bb4('0x8d')](_0x27ac62),_0xa8a103=!0x0;else{if(!_0x19252e||!_0x19252e[_0x5bb4('0x5d')])continue;_0x15de1f['add'](_0x19252e);}}}var _0x646e5;return _0x15de1f[_0x5bb4('0x131')]>0x0&&(_0xa8a103=!!this[_0x5bb4('0x31')](_0x15de1f)||_0xa8a103),_0xa8a103;}),_0x3f2c4b['model']['document'][_0x5bb4('0x7b')](_0x324530=>{let _0xc479e1=!0x1;for(const _0x55d8b9 of _0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x173')]['differ']['getChanges']())if(_0x5bb4('0x172')==_0x55d8b9[_0x5bb4('0xc1')])for(const _0x15547d of this[_0x5bb4('0x44')][_0x5bb4('0x62')]()){if(_0x15547d['isMultiRange']||!_0x15547d[_0x5bb4('0x5d')])continue;const _0x13f423=_0x5bb4('0x4d')==_0x15547d['type'],_0x38e09c=Pt(_0x15547d),_0x16be53=_0x38e09c&&this[_0x5bb4('0x7f')](_0x38e09c);if(!_0x13f423&&!_0x16be53)continue;const _0x4375a8=_0x15547d[_0x5bb4('0x157')]();if(_0x4375a8[_0x5bb4('0xe1')][_0x5bb4('0x9b')]!=_0x4375a8[_0x5bb4('0xc3')]['parent']&&!_0x4375a8[_0x5bb4('0xc3')][_0x5bb4('0x6c')]){const _0x503a9d=_0x3f2c4b['model'][_0x5bb4('0xb5')](_0x4375a8[_0x5bb4('0xe1')][_0x5bb4('0x14d')],_0x5bb4('0xc3')),_0x1e581c=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x23')](_0x4375a8[_0x5bb4('0xe1')],_0x503a9d);_0x324530['updateMarker'](_0x15547d[_0x5bb4('0xe6')](),{'range':_0x1e581c}),_0xc479e1=!0x0;}}return _0xc479e1;}),_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x173')][_0x5bb4('0x7b')](_0x16c5f7=>this[_0x5bb4('0x53')](_0x16c5f7)),_0x3f2c4b['model'][_0x5bb4('0x173')][_0x5bb4('0x7b')](_0xda7e02=>!_0xda7e02[_0x5bb4('0x68')][_0x5bb4('0x90')]&&this[_0x5bb4('0x124')](_0xda7e02)),_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x11b')]['on'](_0x5bb4('0x35'),(_0x38d9e2,_0x32291f,_0x18abca)=>{if(null==_0x18abca){const {id:_0x26f744}=this[_0x5bb4('0xe2')](_0x32291f['name']),_0x4a13b3=this[_0x5bb4('0x44')][_0x5bb4('0x143')](_0x26f744);_0x4a13b3&&_0x4a13b3[_0x5bb4('0xe0')](_0x32291f['name']);}}),_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x173')]['on'](_0x5bb4('0xae'),()=>{const _0x15b613=Array['from'](_0x3f2c4b['model'][_0x5bb4('0x173')][_0x5bb4('0xa1')]['getChangedMarkers']())[_0x5bb4('0x5c')](_0x2b1d77=>_0x5bb4('0xa3')===this[_0x5bb4('0xe2')](_0x2b1d77[_0x5bb4('0xd')])['group']);if(0x0===_0x15b613[_0x5bb4('0x96')])return;_0x15b613[_0x5bb4('0xb4')]((_0x4af399,_0x1f0779)=>{const _0x2966e1=_0x4af399[_0x5bb4('0x43')][_0x5bb4('0xa6')],_0x3f8c8f=_0x1f0779[_0x5bb4('0x43')][_0x5bb4('0xa6')];return null===_0x2966e1&&null===_0x3f8c8f?0x0:null===_0x2966e1&&null!==_0x3f8c8f?-0x1:null!==_0x2966e1&&null===_0x3f8c8f?0x1:_0x2966e1[_0x5bb4('0xe1')][_0x5bb4('0x75')](_0x3f8c8f[_0x5bb4('0xe1')])?-0x1:0x1;});const _0x42409a=new Set(),_0xd05b5e=new Set();for(const {name:_0x3426f1,data:_0x423a3d}of _0x15b613){const {id:_0x13c33d}=this[_0x5bb4('0xe2')](_0x3426f1);if(null===_0x423a3d[_0x5bb4('0xa6')]){const _0x3a77ef=this[_0x5bb4('0x14c')](_0x3426f1);_0xd05b5e[_0x5bb4('0x4e')](_0x3a77ef);}else{const _0xe6745b=this[_0x5bb4('0x44')]['get'](_0x13c33d);null!==_0x423a3d[_0x5bb4('0x70')]||_0xe6745b[_0x5bb4('0x5d')]?(_0x42409a[_0x5bb4('0x4e')](_0xe6745b[_0x5bb4('0x81')]),_0xd05b5e['add'](_0xe6745b)):this[_0x5bb4('0x10c')](_0xe6745b);}}_0xd05b5e[_0x5bb4('0x131')]>0x0&&this['_refreshSuggestionsChain'](_0xd05b5e);for(const _0x34b0ac of _0x42409a)this[_0x5bb4('0x15c')](_0x5bb4('0x79'),_0x34b0ac);}),_0x3f2c4b['model']['on'](_0x5bb4('0xd2'),(_0x32e156,_0x4b0bd9)=>{const _0x8dcbb9=_0x4b0bd9[0x0];if(!this[_0x5bb4('0x44')]['size'])return;if(!_0x8dcbb9['isDocumentOperation'])return;if(_0x8dcbb9[_0x5bb4('0x68')][_0x5bb4('0x58')]||!_0x8dcbb9['batch']['isLocal'])return;let _0x4d5f89,_0x2eadd5;switch(_0x8dcbb9[_0x5bb4('0xc1')]){case'insert':_0x4d5f89=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0xb5')](_0x8dcbb9[_0x5bb4('0x6d')]),_0x2eadd5=_0x4d5f89['getShiftedBy'](_0x8dcbb9[_0x5bb4('0x32')]);break;case _0x5bb4('0xaf'):_0x4d5f89=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0xb5')](_0x8dcbb9['splitPosition']),_0x2eadd5=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0xb5')](_0x8dcbb9['moveTargetPosition']);break;case _0x5bb4('0x21'):_0x4d5f89=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0xb5')](_0x8dcbb9[_0x5bb4('0xf')]),_0x2eadd5=_0x4d5f89[_0x5bb4('0x13a')](_0x8dcbb9[_0x5bb4('0x32')]);break;default:return;}const _0x5a09ea=_0x3f2c4b['model'][_0x5bb4('0x23')](_0x4d5f89,_0x2eadd5);_0x3f2c4b[_0x5bb4('0x12d')]['change'](()=>{for(const {suggestion:_0x5af644,meta:_0x236486}of this['_findSuggestions'](_0x5a09ea)){if(_0x5af644['isMultiRange'])continue;if(_0x5bb4('0x16e')==_0x5af644[_0x5bb4('0xc1')])continue;const _0x7ae7a1=Pt(_0x5af644);if(_0x7ae7a1&&this[_0x5bb4('0x7f')](_0x7ae7a1)&&_0x5bb4('0xaf')!=_0x8dcbb9[_0x5bb4('0xc1')])continue;const _0x70d867=_0x5af644[_0x5bb4('0x43')]&&_0x5af644['data'][_0x5bb4('0x10b')];(_0x5bb4('0x4d')!=_0x5af644[_0x5bb4('0xc1')]||'split'==_0x8dcbb9['type']&&!_0x70d867)&&(_0x236486['containsRangeInObject']||_0x5bb4('0x98')==_0x5af644['type']&&_0x236486[_0x5bb4('0x14')]||_0x5af644['getFirstRange']()['containsRange'](_0x5a09ea)&&this[_0x5bb4('0x69')](_0x5af644,_0x4d5f89,_0x2eadd5));}});},{'priority':'lowest'}),_0x3f2c4b['model']['on'](_0x5bb4('0x4a'),(_0xcaafca,_0x13979c)=>{const _0x32391e=_0x13979c[0x0],_0x2f20c4=_0x13979c[0x1];if(_0x2f20c4&&_0x2f20c4[_0x5bb4('0x12f')])return;if(this[_0x5bb4('0x9e')])return;if(!this[_0x5bb4('0x7')][_0x5bb4('0xd3')])return;if(_0x32391e[_0x5bb4('0x7c')])return;const _0x4a3d31=_0x3f2c4b[_0x5bb4('0x12d')]['schema'],{start:_0xba868d,end:_0x35a9f8}=_0x32391e[_0x5bb4('0x157')](),_0x59c237=_0xba868d[_0x5bb4('0x14d')]&&_0x4a3d31[_0x5bb4('0x15d')](_0xba868d[_0x5bb4('0x14d')])?null:_0x4a3d31['getNearestSelectionRange'](_0xba868d,'forward'),_0xfa8be3=_0x35a9f8[_0x5bb4('0xf7')]&&_0x4a3d31[_0x5bb4('0x15d')](_0x35a9f8[_0x5bb4('0xf7')])?null:_0x4a3d31['getNearestSelectionRange'](_0x35a9f8,_0x5bb4('0x102')),_0x65fc1e=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x23')](_0x59c237?_0x59c237['start']:_0xba868d,_0xfa8be3?_0xfa8be3['end']:_0x35a9f8);_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x7a')](_0x3e0e74=>{this[_0x5bb4('0x148')](_0x65fc1e);const _0x5c81eb=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x118')]['getNearestSelectionRange'](_0x65fc1e['start']);_0x32391e['is']('documentSelection')?_0x3e0e74[_0x5bb4('0x5f')](_0x5c81eb):_0x32391e[_0x5bb4('0x119')](_0x5c81eb);}),_0xcaafca[_0x5bb4('0x16')]();},{'priority':_0x347639[_0x5bb4('0xad')]+0xa}),_0x3f2c4b[_0x5bb4('0x12d')]['on'](_0x5bb4('0x87'),(_0x25fa6a,_0x5552a3)=>{const _0x55d708=_0x5552a3[_0x5552a3[_0x5bb4('0x96')]-0x1];_0x55d708&&_0x55d708[_0x5bb4('0x12f')]||this[_0x5bb4('0x9e')]||this[_0x5bb4('0x7')][_0x5bb4('0xd3')]&&(_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x7a')](()=>{let _0x5919f8=_0x3f2c4b[_0x5bb4('0x12d')]['insertContent'](_0x5552a3[0x0],_0x5552a3[0x1],_0x5552a3[0x2],{'forceDefaultExecution':!0x0});if(!_0x5919f8)return;_0x25fa6a[_0x5bb4('0xf8')]=_0x5919f8[_0x5bb4('0x73')]();const _0x2830b3=_0x5919f8['end']['nodeBefore'],_0x43dc3d=_0x3f2c4b['model'][_0x5bb4('0x118')];_0x2830b3&&_0x43dc3d[_0x5bb4('0x15e')](_0x2830b3)&&!_0x43dc3d[_0x5bb4('0x57')](_0x2830b3)&&(_0x5919f8=_0x3f2c4b[_0x5bb4('0x12d')][_0x5bb4('0x23')](_0x5919f8['start'],_0x3f2c4b[_0x5bb4('0x12d')]['createPositionAt'](_0x2830b3,'end'))),this[_0x5bb4('0x2b')](_0x5919f8);}),_0x25fa6a['stop']());},{'priority':_0x5bb4('0x8b')}),this[_0x5bb4('0x93')][_0x5bb4('0x89')][_0x5bb4('0x4e')]('trackChanges',this[_0x5bb4('0x7')]),this[_0x5bb4('0x121')]('trackChanges');const _0x1b1a14=new _0x378fec(_0x3f2c4b,this[_0x5bb4('0x44')]);_0x3f2c4b[_0x5bb4('0x89')][_0x5bb4('0x4e')](_0x5bb4('0x134'),_0x1b1a14),this['enableCommand'](_0x5bb4('0x134'));const _0x5e8087=new _0x180cf0(_0x3f2c4b,this['_suggestions']);_0x3f2c4b[_0x5bb4('0x89')][_0x5bb4('0x4e')](_0x5bb4('0x25'),_0x5e8087),this[_0x5bb4('0x121')](_0x5bb4('0x25')),_0x3f2c4b['commands'][_0x5bb4('0x4e')](_0x5bb4('0x3b'),new _0x87823c(_0x3f2c4b,_0x1b1a14,this['_suggestions'])),this[_0x5bb4('0x121')](_0x5bb4('0x3b')),_0x3f2c4b[_0x5bb4('0x89')]['add'](_0x5bb4('0xc4'),new _0x87823c(_0x3f2c4b,_0x5e8087,this[_0x5bb4('0x44')])),this['enableCommand']('discardAllSuggestions'),_0x3f2c4b[_0x5bb4('0x89')][_0x5bb4('0x4e')](_0x5bb4('0x164'),new _0x2b3bd6(_0x3f2c4b,_0x1b1a14,this[_0x5bb4('0x44')])),this['enableCommand'](_0x5bb4('0x164')),_0x3f2c4b[_0x5bb4('0x89')][_0x5bb4('0x4e')](_0x5bb4('0x67'),new _0x2b3bd6(_0x3f2c4b,_0x5e8087,this[_0x5bb4('0x44')])),this['enableCommand']('discardSelectedSuggestions');const _0x55620e=_0x3f2c4b[_0x5bb4('0x151')]['get'](_0x5bb4('0x3a'));this['listenTo'](_0x55620e,_0x5bb4('0x11c'),(_0x1e6c1b,{threadId:_0x12835f})=>{const _0x5e56ef=this[_0x5bb4('0x44')][_0x5bb4('0x143')](_0x12835f);_0x5e56ef&&_0x5e56ef[_0x5bb4('0x159')]&&0x1===_0x5e56ef['commentThread']['length']&&this['_updateSuggestionData'](_0x12835f,{'hasComments':!0x0});},{'priority':'low'}),this[_0x5bb4('0x22')](_0x55620e,_0x5bb4('0xa8'),(_0x896cb,{threadId:_0x46a655})=>{const _0x4406c2=this['_suggestions'][_0x5bb4('0x143')](_0x46a655);_0x4406c2&&_0x4406c2[_0x5bb4('0x159')]&&!_0x4406c2['commentThread']['length']&&this['_updateSuggestionData'](_0x46a655,{'hasComments':!0x1});},{'priority':'low'});}set[_0x5bb4('0xe3')](_0x13e8b7){if(this[_0x5bb4('0x65')])throw new _0x426846(_0x5bb4('0x60'),this);this['_adapter']=_0x13e8b7;}get[_0x5bb4('0xe3')](){return this[_0x5bb4('0x65')];}[_0x5bb4('0xef')]({skipNotAttached:_0x30f2b4=!0x1,toJSON:_0x49027d=!0x1}={}){const _0x5bdc88=[];for(const _0x57aa30 of this['_suggestions'][_0x5bb4('0x62')]())_0x30f2b4&&!_0x57aa30[_0x5bb4('0x5d')]||_0x5bdc88[_0x5bb4('0x6')](_0x57aa30);return _0x49027d?_0x5bdc88[_0x5bb4('0x20')](_0x4b77ed=>_0x4b77ed[_0x5bb4('0x13e')]()):_0x5bdc88;}['getSuggestion'](_0x36e64b){const _0x167279=this[_0x5bb4('0x44')][_0x5bb4('0x143')](_0x36e64b);if(!_0x167279)throw new _0x426846(_0x5bb4('0x1b'),this);return _0x167279;}[_0x5bb4('0xbe')](_0x3c4be0){return this['_suggestions'][_0x5bb4('0x135')](_0x3c4be0);}[_0x5bb4('0xd9')](_0x45645d){const {authorId:_0x3cdf19,id:_0x4ae825,attributes:_0x1231b6}=_0x45645d,[_0x25f83a,_0x5b4bd2]=_0x45645d[_0x5bb4('0xc1')][_0x5bb4('0xaf')](':'),_0x31e023=this[_0x5bb4('0x44')][_0x5bb4('0x143')](_0x4ae825)||this['_createSuggestion'](_0x25f83a,_0x5b4bd2,_0x4ae825,_0x3cdf19,_0x1231b6);if(this['_addThreadToSuggestion'](_0x31e023),this[_0x5bb4('0x17')](_0x31e023,_0x25f83a,_0x5b4bd2||null,_0x3cdf19),_0x31e023['createdAt']=_0x45645d[_0x5bb4('0x1a')],_0x31e023[_0x5bb4('0x13d')]=!0x0,_0x1231b6&&_0x1231b6[_0x5bb4('0x56')]){const _0x27741e=_0x1231b6['@external'],_0x4be1f6=this[_0x5bb4('0x10')](_0x27741e['authorName']);_0x31e023[_0x5bb4('0x10d')]=_0x27741e[_0x5bb4('0x1a')],_0x31e023[_0x5bb4('0x163')]=_0x4be1f6,_0x31e023[_0x5bb4('0xab')]=!0x0;}else _0x31e023[_0x5bb4('0x10d')]=_0x45645d['createdAt'];switch(_0x45645d[_0x5bb4('0x43')]&&(_0x31e023[_0x5bb4('0x43')]=_0x45645d[_0x5bb4('0x43')]),_0x45645d[_0x5bb4('0xd8')]&&(_0x31e023['attributes']=_0x45645d[_0x5bb4('0xd8')]),this[_0x5bb4('0x65')]&&this[_0x5bb4('0x65')][_0x5bb4('0x140')]||(_0x31e023[_0x5bb4('0x74')]=!0x0),this['_suggestionState'][_0x5bb4('0x143')](_0x31e023)){case _0x5bb4('0x37'):this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x31e023,_0x5bb4('0x61'));break;case _0x5bb4('0xcd'):_0x31e023[_0x5bb4('0x5d')]?(this[_0x5bb4('0x8e')](new Set([_0x31e023])),this['_joinWithAdjacentSuggestions'](new Set([_0x31e023])),this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x31e023,_0x5bb4('0xb6')),this[_0x5bb4('0x15c')](_0x5bb4('0xc9'),_0x31e023)):this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x31e023,_0x5bb4('0x100'));}return _0x31e023;}[_0x5bb4('0x134')](_0x22cf24){this['forceDefaultExecution'](()=>{this['editor']['model'][_0x5bb4('0x7a')](()=>{for(const _0x452b52 of _0x22cf24[_0x5bb4('0x112')]())_0x452b52[_0x5bb4('0x13b')]();});});}[_0x5bb4('0x25')](_0x26c15d){this['forceDefaultExecution'](()=>{this[_0x5bb4('0x93')]['model'][_0x5bb4('0x7a')](()=>{for(const _0x516ff4 of _0x26c15d[_0x5bb4('0x112')]())_0x516ff4[_0x5bb4('0xbf')]();});});}['enableCommand'](_0x5cde2a,_0x20794c){const _0x52256c=this['editor']['commands'][_0x5bb4('0x143')](_0x5cde2a);if(!_0x52256c)throw new _0x426846(_0x5bb4('0x64'),this,{'commandName':_0x5cde2a});if(this[_0x5bb4('0x33')]['has'](_0x52256c))throw new _0x426846('track-changes-enable-command-twice',this,{'commandName':_0x5cde2a});this[_0x5bb4('0x33')][_0x5bb4('0x4e')](_0x52256c),_0x20794c&&_0x52256c['on'](_0x5bb4('0xc2'),(_0x1c3dfb,_0x2e0df3)=>{this[_0x5bb4('0x7')][_0x5bb4('0xd3')]&&(this['_isForcedDefaultExecutionBlock']||(_0x2e0df3[_0x5bb4('0x96')]>0x0&&_0x2e0df3[_0x2e0df3[_0x5bb4('0x96')]-0x1]&&_0x2e0df3[_0x2e0df3[_0x5bb4('0x96')]-0x1][_0x5bb4('0x12f')]?_0x2e0df3[_0x5bb4('0xb8')]():(_0x1c3dfb[_0x5bb4('0xf8')]=_0x20794c((..._0x36e514)=>_0x52256c[_0x5bb4('0xc2')](..._0x36e514,{'forceDefaultExecution':!0x0}),..._0x2e0df3),_0x1c3dfb[_0x5bb4('0x16')]())));},{'priority':_0x5bb4('0x8b')});}[_0x5bb4('0x12f')](_0x35d1d5){let _0x88dd90,_0x5b685b;const _0x5c761f=this[_0x5bb4('0x9e')];this[_0x5bb4('0x9e')]=!0x0;try{_0x88dd90=_0x35d1d5();}catch(_0xdca019){_0x5b685b=_0xdca019;}return _0x5c761f||(this[_0x5bb4('0x9e')]=!0x1),_0x5b685b&&_0x426846[_0x5bb4('0x101')](_0x5b685b,this),_0x88dd90;}[_0x5bb4('0x2b')](_0x4edc64,_0x7565c=null,_0x1a2778={}){if(_0x4edc64['isCollapsed'])return null;const _0x50d0cf=this[_0x5bb4('0x93')]['plugins'][_0x5bb4('0x143')](_0x5bb4('0x9'))['me'];for(const {suggestion:_0x33995c,meta:_0x29cd92}of this[_0x5bb4('0xcf')](_0x4edc64,_0x5bb4('0x98')))if(_0x29cd92[_0x5bb4('0x14')]){if(!_0x29cd92[_0x5bb4('0x2f')]){if(_0x29cd92[_0x5bb4('0x14e')]){if(!this[_0x5bb4('0xc8')]||!Gt(_0x33995c,_0x1a2778))continue;return _0x33995c;}if(Gt(_0x33995c,_0x1a2778))return _0x33995c;this[_0x5bb4('0x69')](_0x33995c,_0x4edc64[_0x5bb4('0xe1')],_0x4edc64['end']);break;}if(_0x7565c==_0x33995c['subType']&&Gt(_0x33995c,_0x1a2778)){const _0x99e26b=_0x33995c[_0x5bb4('0x157')]();return _0x99e26b['start'][_0x5bb4('0x115')](_0x4edc64[_0x5bb4('0xc3')])?this[_0x5bb4('0x14a')](_0x33995c,this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x4edc64['start'],_0x99e26b[_0x5bb4('0xc3')])):this[_0x5bb4('0x14a')](_0x33995c,this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x99e26b['start'],_0x4edc64[_0x5bb4('0xc3')])),_0x33995c;}}const _0x1407e5=_0x4f0212(),_0x24fa78=_0x50d0cf['id'],_0x7c684c=_0x7565c?_0x5bb4('0x34')+_0x7565c:_0x5bb4('0x98'),_0x27dcf5=this['_setSuggestionData']({'id':_0x1407e5,'type':_0x7c684c,'createdAt':new Date(),'authorId':_0x24fa78,'attributes':_0x1a2778});return this[_0x5bb4('0x24')](_0x7c684c,_0x1407e5,_0x24fa78,_0x4edc64),_0x27dcf5;}[_0x5bb4('0x109')](_0x35e314,_0x5244e0='multi',_0x5c611f={}){const _0x1c3ff3=this[_0x5bb4('0x93')][_0x5bb4('0x151')][_0x5bb4('0x143')](_0x5bb4('0x9'))['me'],_0x2c6340=this['_suggestionFactory'][_0x5bb4('0x94')](_0x5bb4('0x98'),_0x5244e0,_0x5bb4('0x71'));for(const _0x1f2966 of this[_0x5bb4('0xef')]())if(_0x1f2966[_0x5bb4('0x163')]['id']==_0x1c3ff3['id']&&_0x5bb4('0x98')==_0x1f2966[_0x5bb4('0xc1')]&&_0x1f2966['subType']==_0x5244e0&&Gt(_0x1f2966,_0x5c611f)&&(_0x2c6340(_0x1f2966[_0x5bb4('0xd7')](),_0x35e314)||_0x2c6340(_0x35e314,_0x1f2966[_0x5bb4('0xd7')]()))){for(const _0x453dc2 of _0x35e314)_0x1f2966[_0x5bb4('0x8c')](_0x453dc2);return _0x1f2966;}for(const {suggestion:_0x1dceed,meta:_0x505bba}of this[_0x5bb4('0xcf')](_0x35e314,_0x5bb4('0x98'))){if(!_0x505bba['isOwn'])continue;if(!this[_0x5bb4('0xc8')]&&_0x505bba[_0x5bb4('0x14e')])continue;if(!Gt(_0x1dceed,_0x5c611f))continue;let _0x1c96f8=!0x0;for(const _0x394764 of _0x1dceed['getRanges']())for(const _0x2fd64c of _0x35e314)if(!_0x394764[_0x5bb4('0x28')](_0x2fd64c)){_0x1c96f8=!0x1;break;}if(_0x1c96f8)return _0x1dceed;}const _0xb531b=_0x4f0212(),_0x39ba17=_0x1c3ff3['id'],_0x2bdbf0=_0x5bb4('0x34')+_0x5244e0,_0x450f71=this[_0x5bb4('0x27')]({'id':_0xb531b,'type':_0x2bdbf0,'createdAt':new Date(),'authorId':_0x39ba17,'attributes':_0x5c611f});for(const _0x21cfcb of _0x35e314)this[_0x5bb4('0x24')](_0x2bdbf0,_0xb531b,_0x39ba17,_0x21cfcb,_0x1343f2[_0x5bb4('0x15b')]());return _0x450f71;}[_0x5bb4('0x4')](_0x13dcba,_0x578607,_0x455202=null,_0x43f765={}){if(_0x455202=_0x455202||Rt(_0x578607),_0x13dcba[_0x5bb4('0x7c')])return null;if(_0x5bb4('0xfe')===this['_trackFormatChanges']){const _0x43afe9=this[_0x5bb4('0x141')]['getSuggestionCallback'](_0x5bb4('0x16e'),_0x455202,_0x5bb4('0x13b'));return this[_0x5bb4('0x12f')](()=>_0x43afe9([_0x13dcba],_0x578607,_0x43f765)),null;}const _0x2814c0=this[_0x5bb4('0x93')][_0x5bb4('0x151')][_0x5bb4('0x143')](_0x5bb4('0x9'))['me'],_0x54b964=[];if(_0x5bb4('0xa0')!==this[_0x5bb4('0x4b')])for(const {suggestion:_0x4ca903,meta:_0x291f63}of this[_0x5bb4('0xcf')](_0x13dcba,_0x5bb4('0x98')))_0x291f63['isOwn']&&!_0x291f63['isInsideObject']&&_0x54b964[_0x5bb4('0x6')](..._0x4ca903[_0x5bb4('0xd7')]());const _0x50952e=function(_0x5d27e7,_0x49a578){const _0x42a35e=[];for(const _0x592cd0 of _0x49a578){const _0x17a86d=_0x5d27e7[_0x5bb4('0x125')](_0x592cd0);_0x17a86d&&_0x42a35e[_0x5bb4('0x6')](_0x17a86d);}return _0x42a35e;}(_0x13dcba,_0x54b964),_0x22b9f3=function(_0x5ce97b,_0x2ca509){const _0x1481e6=[_0x5ce97b];for(const _0x211544 of _0x2ca509){let _0x449b7e=0x0;for(;_0x449b7e<_0x1481e6[_0x5bb4('0x96')];){const _0x28704e=_0x1481e6[_0x449b7e]['getDifference'](_0x211544);_0x1481e6[_0x5bb4('0x108')](_0x449b7e,0x1,..._0x28704e),_0x449b7e+=_0x28704e['length'];}}return _0x1481e6;}(_0x13dcba,_0x54b964);_0x50952e[_0x5bb4('0x96')]&&this['_model'][_0x5bb4('0x7a')](()=>{for(const _0x147bd9 of _0x50952e){const _0x3278c1=this[_0x5bb4('0x141')]['getSuggestionCallback'](_0x5bb4('0x16e'),_0x455202,_0x5bb4('0x13b'));this[_0x5bb4('0x12f')](()=>_0x3278c1([_0x147bd9],_0x578607,_0x43f765));}});for(const _0x181af5 of _0x22b9f3){let _0x4a4af9=null,_0x3d2b4b=_0x181af5[_0x5bb4('0xe1')],_0x5af05f=_0x181af5['end'];for(const {suggestion:_0x263c09,meta:_0x13acd8}of this[_0x5bb4('0xcf')](_0x181af5,'formatInline')){if(!_0x13acd8[_0x5bb4('0x14')])continue;if(_0x263c09[_0x5bb4('0x97')]!=_0x455202)continue;if(!Gt(_0x263c09,_0x43f765))continue;const _0x59bfc5=_0x263c09[_0x5bb4('0x157')]();if(_0x59bfc5['containsRange'](_0x181af5,!0x0))return null;_0x3d2b4b=_0x3d2b4b[_0x5bb4('0x75')](_0x59bfc5[_0x5bb4('0xe1')])?_0x3d2b4b:_0x59bfc5['start'],_0x5af05f=_0x5af05f[_0x5bb4('0x133')](_0x59bfc5['end'])?_0x5af05f:_0x59bfc5['end'],_0x4a4af9?_0x59bfc5['start'][_0x5bb4('0x75')](_0x4a4af9[_0x5bb4('0x157')]()[_0x5bb4('0xe1')])?(_0x4a4af9[_0x5bb4('0xd6')](),_0x4a4af9=_0x263c09):_0x263c09[_0x5bb4('0xd6')]():_0x4a4af9=_0x263c09;}const _0x53fa68=this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x3d2b4b,_0x5af05f);if(_0x4a4af9)this['_setSuggestionRange'](_0x4a4af9,_0x53fa68);else{const _0x3727b0=_0x4f0212(),_0x13a1b8=_0x2814c0['id'];this[_0x5bb4('0x27')]({'id':_0x3727b0,'type':_0x5bb4('0xe4')+_0x455202,'data':_0x578607,'createdAt':new Date(),'authorId':_0x13a1b8,'attributes':_0x43f765}),this[_0x5bb4('0x24')](_0x5bb4('0xe4')+_0x455202,_0x3727b0,_0x13a1b8,_0x53fa68);}}return null;}[_0x5bb4('0x80')](_0x7c3d3e,_0x5dcaec,_0x10bc1a=[],_0x3f8425=null,_0x30971b={}){_0x5dcaec[_0x5bb4('0x8a')]||(_0x5dcaec[_0x5bb4('0x8a')]=_0x5dcaec[_0x5bb4('0x10e')]),_0x5dcaec[_0x5bb4('0x10b')]=_0x7c3d3e['is'](_0x5bb4('0x1d')),_0x3f8425=_0x3f8425||Rt(_0x5dcaec);const _0xa943c6=_0x10bc1a[_0x5bb4('0x20')](_0x4342ca=>Ut(_0x4342ca,this[_0x5bb4('0x1e')])),_0x5e7247=_0x7c3d3e['is'](_0x5bb4('0x1d'))?_0x7c3d3e:Ut(_0x7c3d3e,this[_0x5bb4('0x1e')]);if(_0x5bb4('0xfe')===this[_0x5bb4('0x4b')]){const _0x124688=this[_0x5bb4('0x141')][_0x5bb4('0x94')]('formatBlock',_0x3f8425,_0x5bb4('0x13b'));return this[_0x5bb4('0x12f')](()=>_0x124688([_0x5e7247],_0x5dcaec,_0x30971b)),null;}_0xa943c6['push'](_0x5e7247);let _0x2ddd79=!0x0;for(const _0x46370b of _0xa943c6)if(!this[_0x5bb4('0x55')](_0x46370b)){_0x2ddd79=!0x1;break;}if(_0x2ddd79&&'always'!==this[_0x5bb4('0x4b')]){const _0xc526d9=this[_0x5bb4('0x141')][_0x5bb4('0x94')]('formatBlock',_0x3f8425,_0x5bb4('0x13b'));return this[_0x5bb4('0x12f')](()=>_0xc526d9([_0x5e7247],_0x5dcaec,_0x30971b)),null;}let _0x230bdd=null,_0x15fe5e=_0x5e7247[_0x5bb4('0xe1')],_0x34402b=_0x5e7247[_0x5bb4('0xc3')];for(const {suggestion:_0x1ef477,meta:_0x547ea2}of this[_0x5bb4('0xcf')](_0x5e7247,_0x5bb4('0x4d'))){if(!_0x547ea2['isOwn'])continue;if(_0x547ea2['isNextTo']||_0x547ea2[_0x5bb4('0x14e')]||_0x547ea2['isInsideObject'])continue;if(_0x1ef477[_0x5bb4('0x43')][_0x5bb4('0x8a')]!=_0x5dcaec[_0x5bb4('0x8a')])continue;if(!Gt(_0x1ef477,_0x30971b))continue;const _0x540c4b=_0x1ef477[_0x5bb4('0x157')]();if(_0x1ef477[_0x5bb4('0x97')]==_0x3f8425){if(_0x540c4b[_0x5bb4('0x28')](_0x5e7247,!0x0))return null;_0x15fe5e=_0x15fe5e[_0x5bb4('0x75')](_0x540c4b[_0x5bb4('0xe1')])?_0x15fe5e:_0x540c4b['start'],_0x34402b=_0x34402b[_0x5bb4('0x133')](_0x540c4b[_0x5bb4('0xc3')])?_0x34402b:_0x540c4b['end'],_0x230bdd?_0x540c4b[_0x5bb4('0xe1')][_0x5bb4('0x75')](_0x230bdd[_0x5bb4('0x157')]()[_0x5bb4('0xe1')])?(_0x230bdd[_0x5bb4('0xd6')](),_0x230bdd=_0x1ef477):_0x1ef477['removeMarkers']():_0x230bdd=_0x1ef477;}else{const _0x7d7d4a=_0x5e7247[_0x5bb4('0x125')](_0x540c4b);this[_0x5bb4('0x12c')](_0x1ef477,_0x7d7d4a);}}const _0x5a42e1=this[_0x5bb4('0x93')]['plugins']['get'](_0x5bb4('0x9'))['me'],_0x1f2548=_0x4f0212(),_0x29c66a=_0x5a42e1['id'];if(_0x230bdd)return this[_0x5bb4('0x14a')](_0x230bdd,this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x15fe5e,_0x34402b)),_0x230bdd;{const _0x39870c=this['_setSuggestionData']({'id':_0x1f2548,'type':'formatBlock:'+_0x3f8425,'data':_0x5dcaec,'createdAt':new Date(),'authorId':_0x29c66a,'attributes':_0x30971b});return this['_addSuggestionMarker'](_0x5bb4('0x47')+_0x3f8425,_0x1f2548,_0x29c66a,this[_0x5bb4('0x1e')]['createRange'](_0x15fe5e,_0x34402b)),_0x39870c;}}[_0x5bb4('0xcc')](_0x4950e5,_0x5748cd,_0x173a42=[],_0x952aaf=null,_0x54bdb9={}){_0x5748cd['formatGroupId']||(_0x5748cd[_0x5bb4('0x8a')]=_0x5748cd[_0x5bb4('0x10e')]);const _0x5e6246=_0x4950e5[0x0];_0x5748cd['multipleBlocks']=_0x5e6246['is']('range'),_0x952aaf=_0x952aaf||Rt(_0x5748cd);const _0x3faffe=_0x173a42[_0x5bb4('0x20')](_0x27b4df=>Ut(_0x27b4df,this['_model'])),_0x5c2448=_0x5e6246['is']('range')?_0x4950e5:_0x4950e5[_0x5bb4('0x20')](_0x4eeac9=>Ut(_0x4eeac9,this[_0x5bb4('0x1e')]));if(_0x5bb4('0xfe')===this[_0x5bb4('0x4b')]){const _0x329b98=this[_0x5bb4('0x141')]['getSuggestionCallback'](_0x5bb4('0x4d'),_0x952aaf,'accept');return this[_0x5bb4('0x12f')](()=>_0x329b98(_0x5c2448,_0x5748cd,_0x54bdb9)),null;}_0x3faffe[_0x5bb4('0x6')](..._0x5c2448);let _0x2fe3ab=!0x0;for(const _0x1ca2b5 of _0x3faffe)if(!this[_0x5bb4('0x55')](_0x1ca2b5)){_0x2fe3ab=!0x1;break;}if(_0x2fe3ab&&'always'!==this['_trackFormatChanges']){const _0x134eea=this[_0x5bb4('0x141')]['getSuggestionCallback']('formatBlock',_0x952aaf,_0x5bb4('0x13b'));return this[_0x5bb4('0x12f')](()=>_0x134eea(_0x5c2448,_0x5748cd,_0x54bdb9)),null;}const _0x55ad54=this[_0x5bb4('0x93')]['plugins']['get'](_0x5bb4('0x9'))['me'];for(const _0x37cacb of this[_0x5bb4('0xef')]()){if(_0x37cacb[_0x5bb4('0x163')]['id']!=_0x55ad54['id'])continue;if('formatBlock'!=_0x37cacb[_0x5bb4('0xc1')]||_0x37cacb[_0x5bb4('0x43')][_0x5bb4('0x8a')]!=_0x5748cd['formatGroupId'])continue;if(!Gt(_0x37cacb,_0x54bdb9))continue;const _0x22f4f2=_0x37cacb['subType']==_0x952aaf;for(let _0x5c7141=0x0;_0x5c7141<_0x5c2448[_0x5bb4('0x96')];_0x5c7141++){const _0x2d75c9=_0x5c2448[_0x5c7141];for(const _0x5a284d of _0x37cacb[_0x5bb4('0x82')]()){const _0x17bcd8=_0x5a284d[_0x5bb4('0xfd')]();if(_0x2d75c9['isEqual'](_0x17bcd8)){_0x22f4f2?(_0x5c2448[_0x5bb4('0x108')](_0x5c7141,0x1),_0x5c7141--):_0x37cacb[_0x5bb4('0x8d')](_0x5a284d['name']);break;}}}}if(0x0==_0x5c2448[_0x5bb4('0x96')])return null;const _0x3d9ddf=this[_0x5bb4('0x141')][_0x5bb4('0x94')](_0x5bb4('0x4d'),_0x952aaf,_0x5bb4('0x71'));for(const _0x170bda of this[_0x5bb4('0xef')]())if(_0x170bda[_0x5bb4('0x163')]['id']==_0x55ad54['id']&&'formatBlock'==_0x170bda[_0x5bb4('0xc1')]&&_0x170bda[_0x5bb4('0x43')][_0x5bb4('0x8a')]==_0x5748cd['formatGroupId']&&_0x170bda['subType']==_0x952aaf&&Gt(_0x170bda,_0x54bdb9)&&(_0x3d9ddf(_0x170bda[_0x5bb4('0xd7')](),_0x5c2448)||_0x3d9ddf(_0x5c2448,_0x170bda['getRanges']()))){for(const _0x47a0d9 of _0x5c2448)_0x170bda[_0x5bb4('0x8c')](_0x47a0d9);return _0x170bda;}const _0x328aa1=_0x4f0212(),_0x38e107=_0x55ad54['id'],_0x2eae48=_0x5bb4('0x47')+_0x952aaf,_0xca8d7a=this[_0x5bb4('0x27')]({'id':_0x328aa1,'type':_0x2eae48,'data':_0x5748cd,'createdAt':new Date(),'authorId':_0x38e107,'attributes':_0x54bdb9});for(const _0x43aa45 of _0x5c2448)this['_addSuggestionMarker'](_0x2eae48,_0x328aa1,_0x38e107,_0x43aa45,_0x1343f2[_0x5bb4('0x15b')]());return _0xca8d7a;}[_0x5bb4('0x148')](_0x31adc3,_0x44b802=null,_0x116a0c={}){if(_0x31adc3['isCollapsed'])return null;const _0x11b8d4=this[_0x5bb4('0x93')]['plugins']['get'](_0x5bb4('0x9'))['me'],_0x381535=new _0x87e607(_0x31adc3['start'],_0x31adc3['end']);for(const {suggestion:_0x44ff34,meta:_0x4d5a31}of this['_findSuggestions'](_0x381535,'insertion'))if(_0x4d5a31['isOwn']&&!_0x4d5a31[_0x5bb4('0x2f')]){if(_0x44ff34['isMultiRange']){const _0x24a8e5=_0x44ff34[_0x5bb4('0xd7')]()[_0x5bb4('0x5c')](_0x5cedb8=>_0x5bb4('0x7d')!=_0x5cedb8[_0x5bb4('0xb0')][_0x5bb4('0x3c')]);_0x24a8e5['every'](_0x2c547a=>_0x381535[_0x5bb4('0x28')](_0x2c547a,!0x0))&&_0x44ff34[_0x5bb4('0xbf')]();if(_0x24a8e5['some'](_0x5631e0=>_0x5631e0[_0x5bb4('0x28')](_0x381535,!0x0))){const _0x4bf5be=this['_suggestionFactory'][_0x5bb4('0x94')](_0x5bb4('0x85'),_0x44b802,'accept');return this[_0x5bb4('0x12f')](()=>_0x4bf5be([_0x381535],null,_0x116a0c)),null;}}else{const _0x58b457=_0x381535['getIntersection'](_0x44ff34['getFirstRange']());null!==_0x58b457&&_0x44ff34[_0x5bb4('0x110')]([_0x58b457],null,_0x116a0c);}}if(_0x381535[_0x5bb4('0x5e')](),_0x381535[_0x5bb4('0x7c')]||_0x5bb4('0x7d')==_0x381535[_0x5bb4('0xb0')][_0x5bb4('0x3c')])return null;let _0x17946b=null,_0x533785=_0x381535[_0x5bb4('0xe1')],_0x159acb=_0x381535[_0x5bb4('0xc3')];const _0x4465b0=this[_0x5bb4('0xcf')](_0x381535,_0x5bb4('0x85'));for(const {suggestion:_0x21ec97,meta:_0x83a5da}of _0x4465b0){const _0x437fd5=this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x533785,_0x159acb);if(_0x83a5da[_0x5bb4('0x14')]&&(this['_mergeNestedSuggestions']||!_0x83a5da[_0x5bb4('0x14e')]&&!_0x83a5da['isInsideObject'])){if(_0x21ec97[_0x5bb4('0x42')]){if(!Gt(_0x21ec97,_0x116a0c))continue;let _0xedf560=!0x0;for(const _0x4631a8 of _0x21ec97[_0x5bb4('0xd7')]()){if(_0x4631a8[_0x5bb4('0x28')](_0x437fd5,!0x0))return _0x21ec97;_0x437fd5[_0x5bb4('0x28')](_0x4631a8)||(_0xedf560=!0x1);}_0xedf560&&_0x21ec97[_0x5bb4('0xbf')]();}else{const _0x11e8dd=_0x21ec97[_0x5bb4('0x157')]();if(_0x11e8dd[_0x5bb4('0x28')](_0x437fd5,!0x0))return _0x21ec97;if(!Gt(_0x21ec97,_0x116a0c)){_0x437fd5[_0x5bb4('0x28')](_0x11e8dd)?_0x21ec97[_0x5bb4('0xd6')]():_0x11e8dd[_0x5bb4('0x9f')](_0x533785)?_0x533785=_0x11e8dd[_0x5bb4('0xc3')]:_0x11e8dd['containsPosition'](_0x159acb)&&(_0x159acb=_0x11e8dd[_0x5bb4('0xe1')]);continue;}_0x533785=_0x533785[_0x5bb4('0x75')](_0x11e8dd['start'])?_0x533785:_0x11e8dd[_0x5bb4('0xe1')],_0x159acb=_0x159acb[_0x5bb4('0x133')](_0x11e8dd[_0x5bb4('0xc3')])?_0x159acb:_0x11e8dd[_0x5bb4('0xc3')],_0x116a0c=Object[_0x5bb4('0x88')]({},_0x21ec97[_0x5bb4('0xd8')]),_0x17946b?_0x11e8dd[_0x5bb4('0xe1')][_0x5bb4('0x75')](_0x17946b['getFirstRange']()[_0x5bb4('0xe1')])?(_0x17946b[_0x5bb4('0xd6')](),_0x17946b=_0x21ec97):_0x21ec97[_0x5bb4('0xd6')]():_0x17946b=_0x21ec97;}}}if(_0x17946b)return this[_0x5bb4('0x14a')](_0x17946b,this['_model']['createRange'](_0x533785,_0x159acb)),_0x17946b;{const _0x4a3d1a=_0x4f0212(),_0x5036b1=this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x533785,_0x159acb),_0x561fd4=_0x11b8d4['id'],_0x3ec3e4=_0x44b802?'deletion:'+_0x44b802:'deletion',_0x1784dc=this[_0x5bb4('0x27')]({'id':_0x4a3d1a,'type':_0x3ec3e4,'createdAt':new Date(),'authorId':_0x561fd4,'attributes':_0x116a0c});return this[_0x5bb4('0x24')](_0x3ec3e4,_0x4a3d1a,_0x561fd4,_0x5036b1),_0x1784dc;}}[_0x5bb4('0x11')](_0x2b51fa,_0x45006f=_0x5bb4('0x123'),_0x872302={}){const _0x53bb82=this['editor'][_0x5bb4('0x151')][_0x5bb4('0x143')]('Users')['me'],_0x4754d9=_0x2b51fa[_0x5bb4('0x20')](_0x57c30d=>new _0x87e607(_0x57c30d['start'],_0x57c30d['end'])),_0x5712c7=new Set();for(const {suggestion:_0x3c812d,meta:_0xfc1751}of this[_0x5bb4('0xcf')](_0x4754d9,_0x5bb4('0x98')))_0xfc1751[_0x5bb4('0x14')]&&!_0xfc1751[_0x5bb4('0x2f')]&&_0x5712c7[_0x5bb4('0x4e')](_0x3c812d);for(const _0x36c742 of _0x5712c7)if(_0x36c742[_0x5bb4('0x42')]){const _0x5032d1=_0x36c742[_0x5bb4('0xd7')]();(!_0x36c742['attributes']||!_0x36c742[_0x5bb4('0xd8')][_0x5bb4('0xb')])&&(_0x5032d1[_0x5bb4('0x12e')](_0x15cc56=>_0x4754d9[_0x5bb4('0x38')](_0x15665a=>_0x15665a[_0x5bb4('0x28')](_0x15cc56,!0x0)))&&_0x36c742['discard']());if(_0x4754d9[_0x5bb4('0x12e')](_0x28adb7=>_0x5032d1[_0x5bb4('0x38')](_0x422fa6=>_0x422fa6[_0x5bb4('0x28')](_0x28adb7,!0x0)))){const _0x1a8b6a=this[_0x5bb4('0x141')][_0x5bb4('0x94')](_0x5bb4('0x85'),_0x45006f,'accept');return this[_0x5bb4('0x12f')](()=>_0x1a8b6a(_0x2b51fa,null,_0x872302)),null;}}else{const _0x2aea55=_0x36c742[_0x5bb4('0x157')]();_0x4754d9[_0x5bb4('0x38')](_0xef626e=>_0xef626e[_0x5bb4('0x28')](_0x2aea55,!0x0))&&_0x36c742['discard']();if(_0x4754d9[_0x5bb4('0x12e')](_0x3647fc=>_0x2aea55[_0x5bb4('0x28')](_0x3647fc,!0x0))){const _0xfaa0af=this[_0x5bb4('0x141')][_0x5bb4('0x94')](_0x5bb4('0x85'),_0x45006f,_0x5bb4('0x13b'));return this[_0x5bb4('0x12f')](()=>_0xfaa0af(_0x4754d9,null,_0x872302)),null;}}const _0x48cb41=this[_0x5bb4('0x141')]['getSuggestionCallback']('deletion',_0x45006f,_0x5bb4('0x71'));let _0x589623=null;for(const _0x25951e of this['getSuggestions']())if(_0x25951e[_0x5bb4('0x163')]['id']==_0x53bb82['id']&&_0x25951e[_0x5bb4('0x5d')]&&_0x5bb4('0x85')==_0x25951e['type']&&_0x25951e[_0x5bb4('0x97')]==_0x45006f&&Gt(_0x25951e,_0x872302)&&(_0x48cb41(_0x25951e['getRanges'](),_0x4754d9)||_0x48cb41(_0x4754d9,_0x25951e[_0x5bb4('0xd7')]()))){if(_0x589623){if(_0x25951e[_0x5bb4('0x159')]&&_0x25951e['commentThread'][_0x5bb4('0x96')])continue;for(const _0x1d9105 of _0x25951e[_0x5bb4('0xd7')]())_0x589623[_0x5bb4('0x129')](_0x1d9105)||_0x589623[_0x5bb4('0x8c')](_0x1d9105);_0x25951e[_0x5bb4('0xd6')]();}else{_0x589623=_0x25951e;for(const _0x767e07 of _0x4754d9)_0x25951e[_0x5bb4('0x129')](_0x767e07)||_0x25951e['addRange'](_0x767e07);}}if(_0x589623)return _0x589623;_0x5712c7['clear']();for(const {suggestion:_0x2ff5a2,meta:_0x46c823}of this['_findSuggestions'](_0x4754d9,_0x5bb4('0x85')))_0x46c823[_0x5bb4('0x14')]&&(this[_0x5bb4('0xc8')]||!_0x46c823[_0x5bb4('0x14e')]&&!_0x46c823['isInsideObject'])&&Gt(_0x2ff5a2,_0x872302)&&_0x5712c7[_0x5bb4('0x4e')](_0x2ff5a2);for(const _0x1fc5c2 of _0x5712c7){const _0xde55cd=_0x1fc5c2['getRanges']();if(!_0x872302||!_0x872302[_0x5bb4('0xb')]){if(_0x4754d9['every'](_0x2b0292=>_0xde55cd['some'](_0x54357c=>_0x54357c['containsRange'](_0x2b0292,!0x0))))return _0x1fc5c2;}(!_0x1fc5c2['attributes']||!_0x1fc5c2[_0x5bb4('0xd8')][_0x5bb4('0xb')])&&(_0xde55cd[_0x5bb4('0x12e')](_0x425e93=>_0x4754d9['some'](_0x12372f=>_0x12372f[_0x5bb4('0x28')](_0x425e93,!0x0)))&&_0x1fc5c2[_0x5bb4('0xbf')]());}const _0x1bfee2=_0x4f0212(),_0x21aec4=_0x53bb82['id'],_0x1ef260=_0x5bb4('0x8f')+_0x45006f,_0x4777b1=this[_0x5bb4('0x27')]({'id':_0x1bfee2,'type':_0x1ef260,'createdAt':new Date(),'authorId':_0x21aec4,'attributes':_0x872302});for(const _0xe98f80 of _0x4754d9)_0xe98f80[_0x5bb4('0x5e')](),_0xe98f80[_0x5bb4('0x7c')]||'$graveyard'==_0xe98f80[_0x5bb4('0xb0')][_0x5bb4('0x3c')]||this[_0x5bb4('0x24')](_0x1ef260,_0x1bfee2,_0x21aec4,_0xe98f80,_0x1343f2[_0x5bb4('0x15b')]());return _0x4777b1;}[_0x5bb4('0x12a')](_0x293413,_0x551a0b,_0x3f0f75,_0xdf24f6,_0x27d1c3){if(_0x293413['isCollapsed'])return[];if(_0x5bb4('0xfe')===this[_0x5bb4('0x4b')])return[];const _0xb3c8bb=this[_0x5bb4('0x93')][_0x5bb4('0x151')][_0x5bb4('0x143')](_0x5bb4('0x9'))['me']['id'],_0x5991f5=Array['from'](this['_suggestions'][_0x5bb4('0x62')]())[_0x5bb4('0x5c')](_0x18e977=>'attribute'==_0x18e977['type']&&_0x18e977[_0x5bb4('0x43')]['key']==_0x551a0b&&_0x18e977[_0x5bb4('0x129')](_0x293413));if(_0x5bb4('0x0')===this['_trackFormatChanges']){const _0x5ceef7=this['_findSuggestions'](_0x293413,_0x5bb4('0x98'))[_0x5bb4('0x5c')](({meta:_0x1b6617})=>_0x1b6617[_0x5bb4('0x14')]&&!_0x1b6617[_0x5bb4('0x9a')]&&!_0x1b6617[_0x5bb4('0x2f')])['map'](({suggestion:_0x463599})=>_0x463599);_0x5991f5[_0x5bb4('0x49')](..._0x5ceef7);}const _0x47089b=new Map([[_0x293413,_0x3f0f75]]);for(const _0x3129c0 of _0x5991f5){const _0x20595a=_0x5bb4('0x160')==_0x3129c0[_0x5bb4('0xc1')]?_0x3129c0[_0x5bb4('0x43')][_0x5bb4('0xc5')]:void 0x0,_0x1acf0a=_0x3129c0['getFirstRange'](),_0x4db521=Array[_0x5bb4('0x1')](_0x47089b['keys']())['find'](_0x3b9451=>_0x3b9451[_0x5bb4('0x104')](_0x1acf0a));if(!_0x4db521)continue;const _0x21cd69=_0x4db521['getDifference'](_0x1acf0a);this[_0x5bb4('0x7f')](_0x551a0b)&&_0x5bb4('0x98')==_0x3129c0[_0x5bb4('0xc1')]&&0x0!=_0x21cd69[_0x5bb4('0x96')]||(_0x47089b[_0x5bb4('0xbc')](_0x4db521),_0x21cd69[_0x5bb4('0xea')](_0x24dfa3=>{_0x47089b[_0x5bb4('0xba')](_0x24dfa3,_0x3f0f75);}),'insertion'!=_0x3129c0[_0x5bb4('0xc1')]&&_0x20595a!=_0xdf24f6&&_0x47089b['set'](_0x4db521[_0x5bb4('0x125')](_0x1acf0a),_0x20595a));}const _0x4a2cf3=[];for(const [_0x6ab091,_0x22b8cb]of _0x47089b){const _0x4bdd56=_0x4f0212(),_0x3c4c83={'key':_0x551a0b,'oldValue':_0x22b8cb,'newValue':_0xdf24f6};_0x551a0b[_0x5bb4('0x96')]>0x25&&console['warn'](_0x5bb4('0xdf'),{'key':_0x551a0b});const _0x5ffc0a=(_0x5bb4('0x1c')+(_0x551a0b+'|'+Rt({'newValue':_0xdf24f6})))[_0x5bb4('0x6b')](0x0,0x3c),_0x5cce9d=this[_0x5bb4('0x27')]({'id':_0x4bdd56,'type':_0x5ffc0a,'data':_0x3c4c83,'createdAt':new Date(),'authorId':_0xb3c8bb,'attributes':_0x27d1c3});_0x4a2cf3[_0x5bb4('0x6')](_0x5cce9d),this[_0x5bb4('0x24')](_0x5ffc0a,_0x4bdd56,_0xb3c8bb,_0x6ab091);}return _0x4a2cf3;}[_0x5bb4('0xe5')](_0x2761c3){this[_0x5bb4('0xdb')][_0x5bb4('0x4e')](_0x2761c3);}[_0x5bb4('0x136')](_0x24c6c9){this[_0x5bb4('0x9d')][_0x5bb4('0x4e')](_0x24c6c9);}[_0x5bb4('0x4c')](_0x170c0a,_0x12f12b=[],_0x318db5=[]){this['enableCommand'](_0x170c0a,(_0x316340,..._0x3b158c)=>{this[_0x5bb4('0x95')](()=>{_0x316340(..._0x3b158c);});});for(const _0x4d05f4 of _0x12f12b)this['_registerInlineAttribute'](_0x4d05f4);for(const _0x485519 of _0x318db5)this[_0x5bb4('0xe5')](_0x485519);}[_0x5bb4('0x14a')](_0x24633b,_0x21a610){const _0x3634b0=_0x24633b[_0x5bb4('0xe6')]();this[_0x5bb4('0x1e')]['change'](_0x5abb90=>{_0x5abb90[_0x5bb4('0x170')](_0x3634b0,{'range':_0x21a610});});}['_addThreadToSuggestion'](_0x52780f){const _0x1493b3=_0x52780f['id'],_0x6a037=this['editor']['config'][_0x5bb4('0x143')]('collaboration.channelId');this['_commentsRepository'][_0x5bb4('0x36')](_0x1493b3)||this[_0x5bb4('0xca')][_0x5bb4('0x1f')]({'channelId':_0x6a037,'threadId':_0x1493b3,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5ea4cd=this[_0x5bb4('0xca')][_0x5bb4('0x117')](_0x1493b3);_0x5ea4cd[_0x5bb4('0x52')]('isRemovable'),_0x5ea4cd[_0x5bb4('0x142')]=!0x1,_0x52780f[_0x5bb4('0x159')]=_0x5ea4cd;}[_0x5bb4('0x17')](_0x5adb1e,_0x53950f,_0x4ffa75,_0x413a71){if(_0x5adb1e[_0x5bb4('0xc1')]!=_0x53950f||_0x5adb1e[_0x5bb4('0x97')]!=_0x4ffa75||_0x5adb1e[_0x5bb4('0x51')]['id']!=_0x413a71)throw this[_0x5bb4('0x93')][_0x5bb4('0xb1')](_0x5bb4('0x77')),new _0x426846(_0x5bb4('0x77'),this);}[_0x5bb4('0x12c')](_0x4df9d3,_0x5a34fc){const _0x388844=_0x4df9d3['getFirstRange']();if(_0x5a34fc[_0x5bb4('0x115')](_0x388844))_0x4df9d3[_0x5bb4('0xd6')]();else{if(_0x388844[_0x5bb4('0x28')](_0x5a34fc)){const _0x17b65f=this[_0x5bb4('0x1e')][_0x5bb4('0xb5')](_0x5a34fc[_0x5bb4('0xe1')]['nodeBefore'],_0x5bb4('0xc3'));this[_0x5bb4('0x14a')](_0x4df9d3,this[_0x5bb4('0x1e')]['createRange'](_0x388844[_0x5bb4('0xe1')],_0x17b65f));const _0x3631dd=_0x4f0212(),_0x326fa3=_0x4df9d3[_0x5bb4('0x51')]['id'],_0x1fc32e=_0x4df9d3[_0x5bb4('0xc1')]+':'+_0x4df9d3[_0x5bb4('0x97')];this[_0x5bb4('0x27')]({'id':_0x3631dd,'type':_0x1fc32e,'createdAt':new Date(),'authorId':_0x326fa3,'data':_0x4df9d3['data'],'attributes':_0x4df9d3[_0x5bb4('0xd8')]});const _0x1f66f5=this[_0x5bb4('0x1e')][_0x5bb4('0xb5')](_0x5a34fc['end'][_0x5bb4('0x9b')],'after'),_0x1396a6=this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x1f66f5,_0x388844[_0x5bb4('0xc3')]);this['_addSuggestionMarker'](_0x1fc32e,_0x3631dd,_0x326fa3,_0x1396a6);}else{if(_0x388844['containsPosition'](_0x5a34fc[_0x5bb4('0xe1')])){const _0x141562=this['_model'][_0x5bb4('0xb5')](_0x5a34fc[_0x5bb4('0xe1')]['nodeBefore'],'end');this[_0x5bb4('0x14a')](_0x4df9d3,this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x388844[_0x5bb4('0xe1')],_0x141562));}else{const _0x2ecc54=this[_0x5bb4('0x1e')][_0x5bb4('0xb5')](_0x5a34fc[_0x5bb4('0xc3')]['parent'],_0x5bb4('0x122'));this[_0x5bb4('0x14a')](_0x4df9d3,this[_0x5bb4('0x1e')]['createRange'](_0x2ecc54,_0x388844[_0x5bb4('0xc3')]));}}}}[_0x5bb4('0x55')](_0x38ccef){for(const {suggestion:_0xb1f3a1,meta:_0x378de2}of this['_findSuggestions'](_0x38ccef,'insertion')){if(!_0x378de2[_0x5bb4('0x14')])continue;const _0xc09ad=_0xb1f3a1[_0x5bb4('0xd7')]();for(const _0x12cd61 of _0xc09ad)if(!_0x38ccef['getDifference'](_0x12cd61)['length'])return!0x0;}return!0x1;}[_0x5bb4('0x150')](_0x5ade1d){const _0x4c8b81=this[_0x5bb4('0x93')][_0x5bb4('0x151')][_0x5bb4('0x143')](_0x5bb4('0x9'))[_0x5bb4('0x105')](_0x5ade1d);if(!_0x4c8b81)throw new _0x426846('track-changes-user-not-found',this);return _0x4c8b81;}['_getExternalAuthor'](_0x32603e){const _0x4f9474=this[_0x5bb4('0x93')]['plugins']['get'](_0x5bb4('0x9')),_0x5ee7be=_0x457066(_0x5bb4('0x12')+_0x32603e),_0x2b323a=_0x4f9474[_0x5bb4('0x105')](_0x5ee7be);return _0x2b323a||_0x4f9474['addUser']({'id':_0x5ee7be,'name':_0x32603e});}[_0x5bb4('0x8')](_0x2920ee,_0x3f30da,_0x16a551,_0x141b55,_0x7d57d1){const _0x1651ab=this[_0x5bb4('0x150')](_0x141b55),_0x27d765=this[_0x5bb4('0x141')][_0x5bb4('0x63')](_0x2920ee,_0x3f30da,_0x16a551,_0x1651ab,_0x7d57d1,_0x54cd20=>this['_updateSuggestionData'](_0x16a551,{'attributes':_0x54cd20}));return this['listenTo'](_0x27d765,'accept',()=>{this[_0x5bb4('0x84')](_0x16a551,{'state':'accepted'});},{'priority':_0x5bb4('0x8b')}),this[_0x5bb4('0x22')](_0x27d765,_0x5bb4('0xbf'),()=>{this[_0x5bb4('0x84')](_0x16a551,{'state':_0x5bb4('0x7e')});},{'priority':_0x5bb4('0x8b')}),this[_0x5bb4('0x44')][_0x5bb4('0xba')](_0x16a551,_0x27d765),this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x27d765,_0x5bb4('0x37')),_0x27d765;}[_0x5bb4('0xe2')](_0x2f1e9f){const _0x1cd79f=_0x2f1e9f[_0x5bb4('0xaf')](':');return{'group':_0x1cd79f[0x0],'type':_0x1cd79f[0x1],'subType':_0x1cd79f['length']>=0x5?_0x1cd79f[0x2]:null,'id':_0x1cd79f[_0x5bb4('0x96')]<0x5?_0x1cd79f[0x2]:_0x1cd79f[0x3],'authorId':_0x1cd79f[_0x5bb4('0x96')]<0x5?_0x1cd79f[0x3]:_0x1cd79f[0x4],'markerCount':0x6==_0x1cd79f[_0x5bb4('0x96')]?_0x1cd79f[0x5]:null};}['_breakSuggestionMarker'](_0x4b4447,_0x1f607b,_0x52fa9f){const _0x142c33=_0x4b4447[_0x5bb4('0x157')](),_0x58b248=_0x142c33[_0x5bb4('0xe1')],_0x19d02c=_0x142c33[_0x5bb4('0xc3')];this[_0x5bb4('0x14a')](_0x4b4447,this['_model'][_0x5bb4('0x23')](_0x58b248,_0x1f607b));const _0x42b7c6=_0x4f0212(),_0x14867f=_0x4b4447[_0x5bb4('0x51')]['id'],_0x204bf7=_0x4b4447[_0x5bb4('0xc1')]+(_0x4b4447['subType']?':'+_0x4b4447[_0x5bb4('0x97')]:'');this['_setSuggestionData']({'id':_0x42b7c6,'type':_0x204bf7,'createdAt':new Date(),'authorId':_0x14867f,'originalSuggestionId':_0x4b4447['id'],'attributes':_0x4b4447['attributes'],'data':_0x4b4447[_0x5bb4('0x43')]});const _0x1a89fa=Pt(_0x4b4447);(_0x5bb4('0x4d')==_0x4b4447[_0x5bb4('0xc1')]||_0x1a89fa&&this[_0x5bb4('0x7f')](_0x1a89fa))&&(_0x52fa9f=this[_0x5bb4('0x1e')][_0x5bb4('0x111')](_0x52fa9f[_0x5bb4('0x9b')])),this['_addSuggestionMarker'](_0x204bf7,_0x42b7c6,_0x14867f,this[_0x5bb4('0x1e')]['createRange'](_0x52fa9f,_0x19d02c));}[_0x5bb4('0xcf')](_0x1fc05d,_0x136523=null){const _0x3a0e32=[],_0x392ce8=this[_0x5bb4('0x93')][_0x5bb4('0x151')][_0x5bb4('0x143')](_0x5bb4('0x9'))['me'];Array[_0x5bb4('0xb7')](_0x1fc05d)||(_0x1fc05d=[_0x1fc05d]);for(const _0x5d89a0 of this['getSuggestions']()){if(!_0x5d89a0[_0x5bb4('0x5d')])continue;if(_0x136523&&_0x5d89a0[_0x5bb4('0xc1')]!=_0x136523)continue;let _0x215982=!0x1;for(const _0x5d8ddb of _0x5d89a0[_0x5bb4('0xd7')]()){for(const _0x4cd1c4 of _0x1fc05d){const _0x1fa532=_0x4cd1c4[_0x5bb4('0xe1')][_0x5bb4('0x115')](_0x5d8ddb[_0x5bb4('0xc3')])||_0x4cd1c4[_0x5bb4('0xc3')][_0x5bb4('0x115')](_0x5d8ddb[_0x5bb4('0xe1')]);if(_0x1fa532||_0x4cd1c4[_0x5bb4('0x125')](_0x5d8ddb)){const _0x55698f=_0x4cd1c4[_0x5bb4('0x28')](_0x5d8ddb)&&Tt(this[_0x5bb4('0x1e')][_0x5bb4('0x118')],_0x5d8ddb[_0x5bb4('0xe1')],_0x4cd1c4),_0x4d4ad8=_0x5d8ddb[_0x5bb4('0x28')](_0x4cd1c4)&&Tt(this[_0x5bb4('0x1e')]['schema'],_0x4cd1c4[_0x5bb4('0xe1')],_0x5d8ddb);_0x3a0e32[_0x5bb4('0x6')]({'suggestion':_0x5d89a0,'meta':{'isOwn':_0x392ce8==_0x5d89a0['author'],'isNextTo':_0x1fa532,'isInsideObject':_0x55698f,'containsRangeInObject':_0x4d4ad8}}),_0x215982=!0x0;break;}}if(_0x215982)break;}}return _0x3a0e32;}[_0x5bb4('0x24')](_0x4e62b1,_0x4fe23a,_0x19fe75,_0x3e5fff,_0x462e15){this[_0x5bb4('0x1e')][_0x5bb4('0x7a')](_0x423808=>{let _0x1a45a5=_0x5bb4('0xec')+_0x4e62b1+':'+_0x4fe23a+':'+_0x19fe75;_0x462e15&&(_0x1a45a5=_0x1a45a5+':'+_0x462e15),_0x423808[_0x5bb4('0x72')](_0x1a45a5,{'range':_0x3e5fff,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5bb4('0x10c')](_0x480245){const _0x523f7b=_0x480245[_0x5bb4('0x29')],_0x165a01=_0x480245[_0x5bb4('0x120')];_0x480245['previous']=null,_0x480245[_0x5bb4('0x120')]=null,null!=_0x523f7b&&(_0x523f7b[_0x5bb4('0x120')]=_0x165a01),null!=_0x165a01&&(_0x165a01['previous']=_0x523f7b),_0x5bb4('0xb6')==this[_0x5bb4('0xf3')][_0x5bb4('0x143')](_0x480245)&&(this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x480245,_0x5bb4('0x100')),this[_0x5bb4('0x15c')]('suggestionUnloaded',_0x480245,_0x523f7b,_0x165a01));}[_0x5bb4('0x27')](_0x576094){const _0x1c7e10=_0x576094['id'],_0x6b0b21=this[_0x5bb4('0xd9')](_0x576094);if(this[_0x5bb4('0x65')]&&this[_0x5bb4('0x65')][_0x5bb4('0x140')]){const _0x41738c=this[_0x5bb4('0x93')][_0x5bb4('0x151')][_0x5bb4('0x143')]('PendingActions'),_0x37d347=_0x6b0b21[_0x5bb4('0xf9')],_0x262a54=_0x6b0b21['subType']?_0x6b0b21[_0x5bb4('0xc1')]+':'+_0x6b0b21[_0x5bb4('0x97')]:_0x6b0b21['type'],_0xdc4fbe=this[_0x5bb4('0x93')][_0x5bb4('0xc')],_0x385bbc=_0x41738c[_0x5bb4('0x4e')](_0x1f39dc(_0xdc4fbe,'PENDING_ACTION_SUGGESTION')),_0x59e344={'id':_0x1c7e10,'type':_0x262a54,'hasComments':_0x37d347,'data':_0x576094[_0x5bb4('0x43')]||null,'originalSuggestionId':_0x576094[_0x5bb4('0x171')]||null,'attributes':_0x6b0b21[_0x5bb4('0xd8')]};this[_0x5bb4('0x65')]['addSuggestion'](_0x59e344)['then'](_0x122e1d=>{_0x6b0b21['_saved']=!0x0,_0x41738c['remove'](_0x385bbc),_0x122e1d&&_0x122e1d[_0x5bb4('0x1a')]&&(this['_suggestions']['get'](_0x1c7e10)['createdAt']=_0x122e1d[_0x5bb4('0x1a')]);})['catch'](_0x45cc93=>{throw _0x841a3(_0x5bb4('0x13f')),this[_0x5bb4('0x93')][_0x5bb4('0x12d')][_0x5bb4('0x30')]({'isUndoable':!0x1},()=>{_0x6b0b21[_0x5bb4('0xbf')]();}),_0x6b0b21['stopListening'](),this['_suggestions'][_0x5bb4('0xbc')](_0x6b0b21['id']),this[_0x5bb4('0xf3')][_0x5bb4('0xbc')](_0x6b0b21),_0x45cc93;});}return _0x6b0b21;}[_0x5bb4('0x7f')](_0x5c648b){return this[_0x5bb4('0xdb')][_0x5bb4('0x135')](_0x5c648b);}[_0x5bb4('0x84')](_0xe6f03a,_0x4f7ca0){const _0x901d44=this['editor'][_0x5bb4('0x151')]['get']('PendingActions'),_0x5aeba4=this[_0x5bb4('0x2e')](_0xe6f03a);if(this[_0x5bb4('0x65')]&&this[_0x5bb4('0x65')][_0x5bb4('0xa')]){if(_0x5aeba4[_0x5bb4('0x74')]){const _0x28616a=_0x901d44[_0x5bb4('0x4e')](_0x1f39dc(this[_0x5bb4('0x93')][_0x5bb4('0xc')],_0x5bb4('0xa7')));this['_adapter'][_0x5bb4('0xa')](_0xe6f03a,_0x4f7ca0)['then'](()=>{_0x901d44[_0x5bb4('0x18')](_0x28616a);});}else _0x5aeba4['on'](_0x5bb4('0x14b'),()=>{this['_updateSuggestionData'](_0xe6f03a,_0x4f7ca0);});}}[_0x5bb4('0x40')](_0x3ec72a){if(!this[_0x5bb4('0x65')]||!this[_0x5bb4('0x65')][_0x5bb4('0x2e')])throw new _0x426846(_0x5bb4('0x10f'),this);return this[_0x5bb4('0x65')][_0x5bb4('0x2e')](_0x3ec72a);}[_0x5bb4('0x14c')](_0x37192d){const {id:_0x5b49a5,type:_0x3b1fdb,subType:_0x2e6205,authorId:_0x428e78}=this[_0x5bb4('0xe2')](_0x37192d),_0x33fe24=this['_suggestions'][_0x5bb4('0x143')](_0x5b49a5)||this[_0x5bb4('0x8')](_0x3b1fdb,_0x2e6205,_0x5b49a5,_0x428e78,{});switch(this['_checkSuggestionCorrectness'](_0x33fe24,_0x3b1fdb,_0x2e6205,_0x428e78),this[_0x5bb4('0xf3')][_0x5bb4('0x143')](_0x33fe24)){case _0x5bb4('0x37'):this[_0x5bb4('0x40')](_0x5b49a5)[_0x5bb4('0xcb')](_0x3cbd7a=>{let _0x254b9e=Promise[_0x5bb4('0xf4')]();_0x3cbd7a[_0x5bb4('0xf9')]&&(_0x254b9e=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0x5bb4('0x93')][_0x5bb4('0xdc')][_0x5bb4('0x143')]('collaboration.channelId'),'threadId':_0x5b49a5})),_0x254b9e[_0x5bb4('0xcb')](()=>{this[_0x5bb4('0xd9')](_0x3cbd7a)[_0x5bb4('0x74')]=!0x0;});}),this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x33fe24,_0x5bb4('0xcd'));break;case'removed':this[_0x5bb4('0x84')](_0x5b49a5,{'state':_0x5bb4('0xf6')});case _0x5bb4('0x61'):this[_0x5bb4('0xf3')][_0x5bb4('0xba')](_0x33fe24,_0x5bb4('0xb6')),this['fire'](_0x5bb4('0xc9'),_0x33fe24);break;case _0x5bb4('0xb6'):this[_0x5bb4('0x15c')](_0x5bb4('0x79'),_0x33fe24);}return _0x33fe24[_0x5bb4('0xe0')](_0x37192d),_0x33fe24;}[_0x5bb4('0x8e')](_0x34530c){const _0x4ab635=Array[_0x5bb4('0x1')](_0x34530c),_0x5a51d9=_0x4ab635[_0x5bb4('0x5c')](_0x39cb82=>_0x5bb4('0x160')==_0x39cb82[_0x5bb4('0xc1')]);this['_refreshAttributeSuggestionsChain'](_0x5a51d9);const _0x508e46=_0x4ab635['filter'](_0x3ffe01=>!_0x3ffe01[_0x5bb4('0x42')]&&'attribute'!=_0x3ffe01[_0x5bb4('0xc1')]),_0x142cf8=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x246f9c=>!_0x246f9c[_0x5bb4('0x42')]&&_0x5bb4('0x160')!=_0x246f9c[_0x5bb4('0xc1')]),_0x458c87=_0x142cf8['filter'](_0x58d6c7=>!_0x34530c['has'](_0x58d6c7)),_0xb39b26=new Map(_0x142cf8[_0x5bb4('0x20')](_0x4b922c=>[_0x4b922c,this[_0x5bb4('0x141')][_0x5bb4('0x94')](_0x4b922c[_0x5bb4('0xc1')],_0x4b922c[_0x5bb4('0x97')],_0x5bb4('0xd5'))])),_0x2fa6f7=new Map(_0x142cf8[_0x5bb4('0x20')](_0x2d375c=>[_0x2d375c,_0x2d375c[_0x5bb4('0x157')]()])),_0x23e7e0=new Set(),_0x47e4d9=new Set();for(let _0x50833a=0x0;_0x50833a<_0x508e46[_0x5bb4('0x96')];_0x50833a++)_0x4c59e2(_0x508e46[_0x50833a],_0x508e46,_0x50833a+0x1);for(let _0x49a6dc=0x0;_0x49a6dc<_0x508e46[_0x5bb4('0x96')];_0x49a6dc++)_0x4c59e2(_0x508e46[_0x49a6dc],_0x458c87,0x0);const _0x547e9a=new Set();for(let _0x25e297=0x0;_0x25e297<_0x508e46[_0x5bb4('0x96')];_0x25e297++){const _0x3b0f0d=_0x508e46[_0x25e297];!_0x47e4d9[_0x5bb4('0x135')](_0x3b0f0d)&&_0x3b0f0d[_0x5bb4('0x29')]&&(_0x547e9a[_0x5bb4('0x4e')](_0x3b0f0d[_0x5bb4('0x29')]),_0x3b0f0d[_0x5bb4('0x29')][_0x5bb4('0x120')]===_0x3b0f0d&&(_0x3b0f0d[_0x5bb4('0x29')][_0x5bb4('0x120')]=null),_0x3b0f0d[_0x5bb4('0x29')]=null),!_0x23e7e0[_0x5bb4('0x135')](_0x3b0f0d)&&_0x3b0f0d[_0x5bb4('0x120')]&&(_0x547e9a[_0x5bb4('0x4e')](_0x3b0f0d[_0x5bb4('0x120')]),_0x3b0f0d['next']['previous']===_0x3b0f0d&&(_0x3b0f0d['next'][_0x5bb4('0x29')]=null),_0x3b0f0d['next']=null);}function _0x4c59e2(_0x5107bc,_0x263863,_0x11a99c){for(let _0x40ca2d=_0x11a99c;_0x40ca2d<_0x263863[_0x5bb4('0x96')];_0x40ca2d++){const _0x1887e2=_0x738ee(_0x5107bc,_0x263863[_0x40ca2d]);_0x1887e2&&(_0x1887e2[0x0][_0x5bb4('0x120')]=_0x1887e2[0x1],_0x1887e2[0x1][_0x5bb4('0x29')]=_0x1887e2[0x0],_0x23e7e0[_0x5bb4('0x4e')](_0x1887e2[0x0]),_0x47e4d9['add'](_0x1887e2[0x1]));}}function _0x738ee(_0x5b2835,_0xfc4f87){if(_0x5b2835['author']['id']!==_0xfc4f87[_0x5bb4('0x163')]['id'])return null;const _0x3a8284=_0xb39b26[_0x5bb4('0x143')](_0x5b2835)(_0x5b2835,_0xfc4f87,_0x2fa6f7[_0x5bb4('0x143')](_0x5b2835),_0x2fa6f7[_0x5bb4('0x143')](_0xfc4f87));if(!_0x3a8284)return null;return _0xb39b26[_0x5bb4('0x143')](_0xfc4f87)(_0x5b2835,_0xfc4f87,_0x2fa6f7[_0x5bb4('0x143')](_0x5b2835),_0x2fa6f7[_0x5bb4('0x143')](_0xfc4f87))?_0x3a8284[0x1][_0x5bb4('0x159')]&&_0x3a8284[0x1]['commentThread'][_0x5bb4('0x96')]?null:_0x3a8284:null;}_0x547e9a[_0x5bb4('0x131')]&&this[_0x5bb4('0x8e')](_0x547e9a);}['_refreshAttributeSuggestionsChain'](_0x34fd2c){if(0x0==_0x34fd2c[_0x5bb4('0x96')])return;const _0x2db9b9=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x58278f=>_0x5bb4('0x160')==_0x58278f['type']&&_0x58278f[_0x5bb4('0x13d')]),_0x5d951=[],_0x4c46ee=new Map();for(const _0x375c27 of _0x2db9b9){const _0xef80ec=_0x457066(_0x375c27[_0x5bb4('0xd8')]);_0x4c46ee['has'](_0xef80ec)||(_0x4c46ee[_0x5bb4('0xba')](_0xef80ec,_0x5d951[_0x5bb4('0x96')]),_0x5d951[_0x5bb4('0x6')]([]));const _0x5611c9=_0x4c46ee[_0x5bb4('0x143')](_0xef80ec);_0x5d951[_0x5611c9][_0x5bb4('0x6')](_0x375c27);}!function(){_0x5d951['sort']((_0x4be14b,_0x284912)=>{const _0xcb6fe1=_0x4be14b[0x0][_0x5bb4('0x1a')],_0x2ada05=_0x284912[0x0][_0x5bb4('0x1a')];return _0xcb6fe1==_0x2ada05?_0x4be14b[0x0][_0x5bb4('0xd8')][_0x5bb4('0x11d')]<_0x284912[0x0][_0x5bb4('0xd8')][_0x5bb4('0x11d')]?-0x1:0x1:_0xcb6fe1<_0x2ada05?-0x1:0x1;});for(const _0x5138af of _0x5d951)_0x5138af['sort']((_0x2913ca,_0x3b6409)=>_0x2913ca['id']<_0x3b6409['id']?-0x1:0x1);}();for(let _0xfbea34=0x0;_0xfbea34<_0x5d951['length'];_0xfbea34++){if(0x0==_0x5d951[_0xfbea34][_0x5bb4('0x96')])continue;const _0x28805c=[];for(let _0x3774b6=_0xfbea34+0x1;_0x3774b6<_0x5d951['length'];_0x3774b6++)0x0!=_0x5d951[_0x3774b6][_0x5bb4('0x96')]&&_0x5daac5(_0x5d951[_0xfbea34],_0x5d951[_0x3774b6])&&_0x28805c['push'](_0x3774b6);for(const _0x3c53bf of _0x28805c)_0x5d951[_0xfbea34]=_0x5d951[_0xfbea34]['concat'](_0x5d951[_0x3c53bf]),_0x5d951[_0x3c53bf]=[];}for(const _0x25e5ba of _0x5d951)for(let _0x3b91d4=0x0;_0x3b91d4<_0x25e5ba[_0x5bb4('0x96')];_0x3b91d4++)_0x25e5ba[_0x3b91d4][_0x5bb4('0x120')]=_0x25e5ba[_0x3b91d4+0x1]||null;for(const _0x15af63 of _0x5d951)for(let _0x8c2d9e=0x0;_0x8c2d9e<_0x15af63['length'];_0x8c2d9e++)_0x15af63[_0x8c2d9e][_0x5bb4('0x29')]=_0x15af63[_0x8c2d9e-0x1]||null;function _0x5daac5(_0x4cb28d,_0x4e54a7){if(_0x4cb28d[0x0][_0x5bb4('0x163')]!==_0x4e54a7[0x0]['author'])return!0x1;if(!function(_0x1554b7,_0x336af8){if(!_0x1554b7[_0x5bb4('0xf9')]&&!_0x336af8[_0x5bb4('0xf9')])return!0x0;if(_0x1554b7[_0x5bb4('0xf9')]&&_0x336af8[_0x5bb4('0xf9')])return!0x1;if(_0x1554b7[_0x5bb4('0xf9')]&&_0x336af8[_0x5bb4('0x1a')]<_0x1554b7[_0x5bb4('0x159')][_0x5bb4('0xa2')]['get'](0x0)[_0x5bb4('0x1a')])return!0x0;if(_0x336af8['hasComments']&&_0x1554b7[_0x5bb4('0x1a')]<_0x336af8[_0x5bb4('0x159')][_0x5bb4('0xa2')]['get'](0x0)[_0x5bb4('0x1a')])return!0x0;return!0x1;}(_0x4cb28d[0x0],_0x4e54a7[0x0]))return!0x1;const _0x5e27ae=_0xe709ef(_0x4cb28d[0x0]['attributes'],'groupId'),_0x8e7cd5=_0xe709ef(_0x4e54a7[0x0][_0x5bb4('0xd8')],_0x5bb4('0x11d'));if(!_0x53cbae(_0x5e27ae,_0x8e7cd5))return!0x1;return!!_0x4cb28d['every'](_0x18fefa=>_0x4e54a7[_0x5bb4('0x38')](_0x59c2ea=>_0x18fefa['getFirstRange']()[_0x5bb4('0x115')](_0x59c2ea['getFirstRange']())))&&_0x4e54a7[_0x5bb4('0x12e')](_0x2b3e0a=>_0x4cb28d[_0x5bb4('0x38')](_0x20420a=>_0x2b3e0a[_0x5bb4('0x157')]()[_0x5bb4('0x115')](_0x20420a[_0x5bb4('0x157')]())));}}[_0x5bb4('0x31')](_0x17ae93){const _0x4b3b47=Array[_0x5bb4('0x1')](_0x17ae93),_0x17bb1f=this[_0x5bb4('0xef')]({'skipNotAttached':!0x0}),_0x1222ee=_0x17bb1f[_0x5bb4('0x5c')](_0x284446=>!_0x17ae93[_0x5bb4('0x135')](_0x284446)),_0x44a247=new Map(_0x4b3b47[_0x5bb4('0x20')](_0x32bfc7=>[_0x32bfc7,this[_0x5bb4('0x141')][_0x5bb4('0x94')](_0x32bfc7[_0x5bb4('0xc1')],_0x32bfc7[_0x5bb4('0x97')],_0x5bb4('0x71'))])),_0x49d12d=new Map(_0x17bb1f[_0x5bb4('0x20')](_0x2cd7fb=>[_0x2cd7fb,_0x2cd7fb['getRanges']()]));for(let _0x1c886d=0x0;_0x1c886d<_0x4b3b47[_0x5bb4('0x96')];_0x1c886d++){if(_0x57c8a7(this,_0x4b3b47[_0x1c886d],_0x4b3b47,_0x1c886d+0x1))return!0x0;}for(let _0x163027=0x0;_0x163027<_0x4b3b47[_0x5bb4('0x96')];_0x163027++){if(_0x57c8a7(this,_0x4b3b47[_0x163027],_0x1222ee,0x0))return!0x0;}return!0x1;function _0x57c8a7(_0x519927,_0x1f810f,_0x4e5961,_0x5e32d5){for(let _0x2d450b=_0x5e32d5;_0x2d450b<_0x4e5961[_0x5bb4('0x96')];_0x2d450b++){const _0x2b6ccb=_0x4e5961[_0x2d450b];if(_0x2b6ccb[_0x5bb4('0xc1')]!==_0x1f810f[_0x5bb4('0xc1')]||_0x2b6ccb[_0x5bb4('0x163')]['id']!==_0x1f810f[_0x5bb4('0x163')]['id']||_0x2b6ccb[_0x5bb4('0x97')]!==_0x1f810f[_0x5bb4('0x97')])continue;if(!Vt(_0x1f810f,_0x2b6ccb))continue;if('attribute'==_0x1f810f[_0x5bb4('0xc1')]&&_0x1f810f[_0x5bb4('0x43')][_0x5bb4('0xc5')]!=_0x2b6ccb['data'][_0x5bb4('0xc5')])continue;if(_0x5bb4('0x160')==_0x1f810f[_0x5bb4('0xc1')]&&_0x519927['_isBlockAttribute'](_0x1f810f[_0x5bb4('0x43')][_0x5bb4('0xb9')]))continue;if('formatBlock'==_0x1f810f['type']){const _0x1eff59=_0x519927[_0x5bb4('0x93')][_0x5bb4('0x12d')],_0xc8f8b3=_0x1f810f[_0x5bb4('0x19')]();if(_0xc8f8b3&&(_0x1eff59['schema'][_0x5bb4('0x57')](_0xc8f8b3)||_0x1eff59[_0x5bb4('0x118')][_0x5bb4('0x15d')](_0xc8f8b3)))continue;}const _0xa3b52b=_0x44a247[_0x5bb4('0x143')](_0x1f810f),_0x9a103a=_0x49d12d[_0x5bb4('0x143')](_0x1f810f),_0x577322=_0x49d12d[_0x5bb4('0x143')](_0x2b6ccb),_0x5354fe=_0x1f810f[_0x5bb4('0x159')]&&_0x1f810f['commentThread'][_0x5bb4('0x96')],_0x4b876b=_0x2b6ccb[_0x5bb4('0x159')]&&_0x2b6ccb['commentThread'][_0x5bb4('0x96')];if(!_0x5354fe&&_0xa3b52b(_0x577322,_0x9a103a))return _0x519927[_0x5bb4('0x15')](_0x2b6ccb,_0x1f810f),_0x49d12d[_0x5bb4('0xbc')](_0x1f810f),!0x0;if(!_0x4b876b&&_0xa3b52b(_0x9a103a,_0x577322))return _0x519927[_0x5bb4('0x15')](_0x1f810f,_0x2b6ccb),_0x49d12d[_0x5bb4('0xbc')](_0x2b6ccb),!0x0;}return!0x1;}}[_0x5bb4('0x15')](_0x474490,_0xbb6785){if(_0x474490['isMultiRange'])for(const _0x55947d of _0xbb6785['getRanges']())_0x474490[_0x5bb4('0x8c')](_0x55947d);else{const _0x3d9e35=_0xbb6785['getFirstRange']()[_0x5bb4('0xc3')];this[_0x5bb4('0x14a')](_0x474490,this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x474490[_0x5bb4('0x157')]()[_0x5bb4('0xe1')],_0x3d9e35));}_0xbb6785[_0x5bb4('0xd6')]();}['_getMarkerAnnouncementText'](_0x2d4271,_0x3cf453){const _0x3062de=_0x2d4271['startsWith']('format')||_0x2d4271[_0x5bb4('0x92')](_0x5bb4('0x160'))?_0x5bb4('0x13'):_0x2d4271[_0x5bb4('0x147')]();return _0x1f39dc(this[_0x5bb4('0x93')][_0x5bb4('0xc')],_0x3cf453+'_'+_0x3062de+_0x5bb4('0x126'));}[_0x5bb4('0x154')](){const _0xb28c6=this[_0x5bb4('0x93')];_0x2f2298(this[_0x5bb4('0x1e')],({left:_0xdb35ab,entered:_0x391fe4})=>{const _0x27d3fc=[];for(const _0x1108fc of _0xdb35ab){const {group:_0x1cdb71,type:_0x286ee2}=this[_0x5bb4('0xe2')](_0x1108fc['name']);if('suggestion'===_0x1cdb71){_0x27d3fc[_0x5bb4('0x6')](this[_0x5bb4('0xbd')](_0x286ee2,_0x5bb4('0x138')));break;}}for(const _0x558c11 of _0x391fe4){const {group:_0xf63569,type:_0x30ba5a}=this['_splitMarkerName'](_0x558c11[_0x5bb4('0xd')]);if(_0x5bb4('0xa3')===_0xf63569){_0x27d3fc['push'](this['_getMarkerAnnouncementText'](_0x30ba5a,_0x5bb4('0xa9')));break;}}_0x27d3fc[_0x5bb4('0x96')]&&_0xb28c6['ui']['ariaLiveAnnouncer']['announce'](_0x5bb4('0x4f'),_0x27d3fc[_0x5bb4('0x71')]('\x20'));});}[_0x5bb4('0x53')](_0x52bc04){if(null!==this[_0x5bb4('0xde')])return!0x1;const _0x3d02d2=this[_0x5bb4('0x93')],_0x1b28fe=_0x3d02d2['model'][_0x5bb4('0x173')]['differ']['getChanges']();if(0x0==_0x1b28fe[_0x5bb4('0x96')])return!0x1;const _0x529b60=[],_0x160b9f=_0x1b28fe[_0x5bb4('0x5c')](_0x2f05dc=>_0x5bb4('0x160')==_0x2f05dc[_0x5bb4('0xc1')]),_0x566f86=_0x1b28fe[_0x5bb4('0x5c')](_0x4cfbb1=>'insert'==_0x4cfbb1['type']&&'$text'!=_0x4cfbb1[_0x5bb4('0xd')]),_0x2b6a5b=_0x1b28fe[_0x5bb4('0x5c')](_0x4833ad=>_0x5bb4('0x18')==_0x4833ad['type']&&'$text'!=_0x4833ad[_0x5bb4('0xd')]);for(const _0x3b123a of _0x160b9f)_0x529b60[_0x5bb4('0x6')]({'key':_0x3b123a[_0x5bb4('0x6e')],'newValue':_0x3b123a['attributeNewValue'],'oldValue':_0x3b123a[_0x5bb4('0xf0')],'range':_0x4cfca4(_0x3b123a[_0x5bb4('0x1d')])});for(const _0xcfd5d3 of _0x566f86){const _0x196aad=_0x2b6a5b[_0x5bb4('0x39')](_0x47a1d4=>_0x47a1d4[_0x5bb4('0x6d')][_0x5bb4('0x115')](_0xcfd5d3[_0x5bb4('0x6d')]));_0x196aad&&_0x529b60['push']({'key':_0x5bb4('0x91'),'newValue':_0xcfd5d3[_0x5bb4('0xd')],'oldValue':_0x196aad[_0x5bb4('0xd')],'range':_0x3d02d2['model']['createRangeOn'](_0xcfd5d3[_0x5bb4('0x6d')][_0x5bb4('0x14d')])});}return 0x0!=_0x529b60[_0x5bb4('0x96')]&&this[_0x5bb4('0x113')](_0x52bc04,_0x529b60);function _0x4cfca4(_0xfef5e0){return null==_0xfef5e0['end']['nodeBefore']&&_0xfef5e0[_0x5bb4('0xc3')][_0x5bb4('0x9b')]==_0xfef5e0['start'][_0x5bb4('0x14d')]?Ut(_0xfef5e0[_0x5bb4('0xe1')][_0x5bb4('0x14d')],_0x3d02d2[_0x5bb4('0x12d')]):_0xfef5e0;}}[_0x5bb4('0x124')](_0x528394){let _0x4ce49d=!0x1;const _0x3e567f=this[_0x5bb4('0x93')][_0x5bb4('0x12d')]['document'][_0x5bb4('0xa1')][_0x5bb4('0x2a')]()[_0x5bb4('0x5c')](_0x258556=>_0x258556[_0x5bb4('0x43')][_0x5bb4('0x70')]&&_0x258556[_0x5bb4('0xd')][_0x5bb4('0x92')](_0x5bb4('0x83')));for(const _0x371af1 of _0x3e567f){const {subType:_0x23fd2e,id:_0x347332}=this[_0x5bb4('0xe2')](_0x371af1[_0x5bb4('0xd')]),_0x31b700=_0x23fd2e[_0x5bb4('0xaf')]('|')[0x0];for(const _0x62ea01 of this[_0x5bb4('0xef')]({'skipNotAttached':!0x0}))_0x62ea01['id']!=_0x347332&&_0x5bb4('0x160')==_0x62ea01[_0x5bb4('0xc1')]&&_0x62ea01[_0x5bb4('0x43')]&&_0x62ea01[_0x5bb4('0x43')][_0x5bb4('0xb9')]==_0x31b700&&_0x62ea01[_0x5bb4('0x157')]()[_0x5bb4('0x104')](_0x371af1[_0x5bb4('0x43')][_0x5bb4('0x70')])&&(this[_0x5bb4('0xa4')](_0x62ea01,_0x371af1[_0x5bb4('0x43')]['newRange'],_0x528394),_0x4ce49d=!0x0);}return _0x4ce49d;}[_0x5bb4('0x95')](_0x156a3e){if(null!==this[_0x5bb4('0xde')])return void _0x156a3e();const _0x38f7fd=this[_0x5bb4('0x93')];this[_0x5bb4('0xde')]=_0x38f7fd[_0x5bb4('0x12d')][_0x5bb4('0x173')][_0x5bb4('0x152')],_0x156a3e();const _0x58f4a7=new Map();for(const _0x2d314 of _0x38f7fd['model'][_0x5bb4('0x173')][_0x5bb4('0xc7')][_0x5bb4('0x167')](this['_recordAttributeSuggestionsFromVersion']))if([_0x5bb4('0x11a'),_0x5bb4('0x132'),_0x5bb4('0xd4'),_0x5bb4('0x146')][_0x5bb4('0x13c')](_0x2d314[_0x5bb4('0xc1')])){const _0x51068f=_0x2d314['batch'],_0x4a5cc4=_0x58f4a7[_0x5bb4('0x143')](_0x51068f)||[];_0x4a5cc4[_0x5bb4('0x6')](_0x2d314),_0x58f4a7[_0x5bb4('0xba')](_0x51068f,_0x4a5cc4);}this[_0x5bb4('0xde')]=null;for(const [_0x1647de,_0x4168d3]of _0x58f4a7){const _0x2e1a84=_0x4f0212();_0x38f7fd['model']['enqueueChange'](_0x1647de,_0x134c04=>{const _0x4b40ca=[];for(const _0x5c65be of _0x4168d3){let _0x4e366d,_0x1ee896,_0x25a1a7,_0x31df80;if(_0x5bb4('0x11a')==_0x5c65be[_0x5bb4('0xc1')]){const _0x41ebb1=_0x5c65be;_0x4e366d=Ut(_0x41ebb1[_0x5bb4('0x6d')][_0x5bb4('0x14d')],_0x38f7fd['model']),_0x1ee896=_0x5bb4('0x91'),_0x25a1a7=_0x41ebb1[_0x5bb4('0xe7')],_0x31df80=_0x41ebb1[_0x5bb4('0x16c')];}else{const _0x4b640a=_0x5c65be,_0x16c066=this[_0x5bb4('0x7f')](_0x4b640a[_0x5bb4('0xb9')]),_0x1085c8=this[_0x5bb4('0x9d')][_0x5bb4('0x135')](_0x4b640a['key']);if(!_0x16c066&&!_0x1085c8)continue;_0x4e366d=_0x16c066?Ut(_0x4b640a[_0x5bb4('0x1d')]['start'][_0x5bb4('0x14d')],_0x38f7fd[_0x5bb4('0x12d')]):_0x4b640a[_0x5bb4('0x1d')],_0x1ee896=_0x4b640a['key'],_0x25a1a7='removeAttribute'==_0x5c65be[_0x5bb4('0xc1')]?void 0x0:_0x4b640a[_0x5bb4('0x169')],_0x31df80=_0x4b640a[_0x5bb4('0xc5')];}this['markAttributeChange'](_0x4e366d,_0x1ee896,_0x31df80,_0x25a1a7,{'groupId':_0x2e1a84}),_0x4b40ca['push']({'range':_0x4e366d,'key':_0x1ee896,'newValue':_0x25a1a7,'oldValue':_0x31df80});}this[_0x5bb4('0x113')](_0x134c04,_0x4b40ca);});}}[_0x5bb4('0x113')](_0x58ba79,_0x563183){if(0x0==_0x563183[_0x5bb4('0x96')])return!0x1;let _0x524495=!0x1;for(const _0x5a41fd of _0x563183){const _0x8cf95c=this[_0x5bb4('0xcf')](_0x5a41fd[_0x5bb4('0x1d')],_0x5bb4('0x160'))[_0x5bb4('0x5c')](_0x11e69f=>!_0x11e69f['meta'][_0x5bb4('0x2f')])[_0x5bb4('0x20')](_0x11df1e=>_0x11df1e['suggestion']),_0x50d1d4=_0x457066({'newValue':_0x5a41fd['newValue']});_0x8cf95c['filter'](_0x2578cd=>{const [_0x537313,_0x364d50]=_0x2578cd['subType'][_0x5bb4('0xaf')]('|');return _0x537313==_0x5a41fd[_0x5bb4('0xb9')]&&_0x364d50!=_0x50d1d4;})[_0x5bb4('0xea')](_0x1b1cc2=>{this[_0x5bb4('0xa4')](_0x1b1cc2,_0x5a41fd[_0x5bb4('0x1d')],_0x58ba79),_0x524495=!0x0;});}return _0x524495;}[_0x5bb4('0xa4')](_0x31ad7b,_0x429d64,_0x56d31d){const _0x1f6a6f=_0x31ad7b['getFirstRange']()[_0x5bb4('0x76')](_0x429d64);0x0!==_0x1f6a6f[_0x5bb4('0x96')]?0x1!==_0x1f6a6f[_0x5bb4('0x96')]?this[_0x5bb4('0x69')](_0x31ad7b,_0x429d64[_0x5bb4('0xe1')],_0x429d64[_0x5bb4('0xc3')]):this['_setSuggestionRange'](_0x31ad7b,_0x1f6a6f[0x0]):_0x56d31d[_0x5bb4('0x8d')](_0x31ad7b[_0x5bb4('0xe6')]());}}class Bt{constructor(_0x246e24){this[_0x5bb4('0xff')]=_0x246e24,this[_0x5bb4('0x1e')]=_0x246e24[_0x5bb4('0x12d')],this[_0x5bb4('0x127')]=new Map(),this[_0x5bb4('0x137')]=new Map(),this[_0x5bb4('0x153')]();}['buildSuggestion'](_0xa90619,_0x1d2c76,_0x3947d6,_0x2e28fa,_0xd6527d,_0x17480e){return new _0x1343f2(this[_0x5bb4('0x1e')],{'type':_0xa90619,'subType':_0x1d2c76,'id':_0x3947d6,'author':_0x2e28fa,'creator':_0x2e28fa,'attributes':_0xd6527d,'onAttributesChange':_0x17480e,'onAccept':(..._0x150e22)=>this[_0x5bb4('0x94')](_0xa90619,_0x1d2c76,_0x5bb4('0x13b'))(..._0x150e22),'onDiscard':(..._0x56b556)=>this[_0x5bb4('0x94')](_0xa90619,_0x1d2c76,_0x5bb4('0xbf'))(..._0x56b556)});}['registerCustomCallback'](_0x2ff254,_0x4b946e,_0x32ef84,_0x34ef96){const _0x55068a=_0x2ff254+':'+_0x4b946e+':'+_0x32ef84;this['_customCallbacks'][_0x5bb4('0xba')](_0x55068a,_0x34ef96);}[_0x5bb4('0x94')](_0x4acdfd,_0x3d3110,_0x15ab2e){const _0x3c6ba0=_0x4acdfd+':'+_0x3d3110+':'+_0x15ab2e;return this['_customCallbacks'][_0x5bb4('0x143')](_0x3c6ba0)||this[_0x5bb4('0x137')][_0x5bb4('0x143')](_0x4acdfd+':'+_0x15ab2e);}[_0x5bb4('0x153')](){const _0x589ea3=()=>!0x1,_0x35ebb0=_0x3b2477=>{_0x3b2477[_0x5bb4('0xb4')]((_0x229768,_0x345fd5)=>_0x229768['start']['isBefore'](_0x345fd5['start'])?0x1:-0x1),this['_model'][_0x5bb4('0x7a')](_0x32a62e=>{for(const _0x1036bb of _0x3b2477){let _0xfae031;_0xfae031=_0x1036bb[_0x5bb4('0xc3')][_0x5bb4('0x6c')]&&_0x1036bb['end'][_0x5bb4('0x9b')]==_0x1036bb[_0x5bb4('0xe1')][_0x5bb4('0x14d')]?_0x32a62e[_0x5bb4('0xfb')](_0x1036bb['start'][_0x5bb4('0x14d')],'on'):_0x32a62e[_0x5bb4('0xfb')](_0x1036bb),this[_0x5bb4('0x1e')][_0x5bb4('0x4a')](_0xfae031,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x2b9ad3=(_0x4a847c,_0x117195)=>{_0x117195&&this[_0x5bb4('0x1e')][_0x5bb4('0x7a')](_0x474caf=>{const {commandName:_0x4126f9,commandParams:_0x119cf0=[]}=_0x117195,_0x21ebdc=_0x4a847c[_0x5bb4('0x20')](_0x525966=>(xt(_0x525966)&&(_0x525966=this[_0x5bb4('0x1e')][_0x5bb4('0x23')](_0x525966[_0x5bb4('0xc3')])),_0x525966))[_0x5bb4('0x5c')](_0x59cb15=>_0x5bb4('0x7d')!==_0x59cb15[_0x5bb4('0xb0')]['rootName']);if(_0x21ebdc[_0x5bb4('0x96')]<0x1)return;const _0x3a91de=Array[_0x5bb4('0x1')](this[_0x5bb4('0x1e')]['document'][_0x5bb4('0x166')][_0x5bb4('0xd7')]())['map'](_0x50b7c8=>_0x87e607[_0x5bb4('0x59')](_0x50b7c8));_0x474caf['setSelection'](_0x21ebdc);for(const _0x35f463 of this[_0x5bb4('0xff')][_0x5bb4('0x89')][_0x5bb4('0x89')]())_0x35f463[_0x5bb4('0x103')]();_0x119cf0[_0x5bb4('0x6')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x5bb4('0xc2')](_0x4126f9,..._0x119cf0);const _0x1af9f3=_0x3a91de[_0x5bb4('0x5c')](_0x503381=>_0x5bb4('0x7d')!=_0x503381[_0x5bb4('0xb0')][_0x5bb4('0x3c')]);_0x1af9f3['length']>0x0&&_0x474caf[_0x5bb4('0x5f')](_0x1af9f3);for(const _0x389dd0 of _0x3a91de)_0x389dd0[_0x5bb4('0x5e')]();});},_0x223cf9=(_0x1baa99,_0x4c9215)=>0x1==_0x1baa99['length']&&0x1==_0x4c9215['length']&&_0x1baa99[0x0][_0x5bb4('0xc3')]['isEqual'](_0x4c9215[0x0][_0x5bb4('0xe1')]),_0x5eeb04=(_0x5e482a,_0xd5fdca,_0x58a8df,_0x1dfa0a)=>Ot(_0x5e482a,_0xd5fdca,_0x58a8df,_0x1dfa0a,this[_0x5bb4('0x1e')])?[_0x5e482a,_0xd5fdca]:Ot(_0xd5fdca,_0x5e482a,_0x1dfa0a,_0x58a8df,this[_0x5bb4('0x1e')])?[_0xd5fdca,_0x5e482a]:null;this['_defaultCallbacks'][_0x5bb4('0xba')]('insertion:accept',_0x589ea3),this['_defaultCallbacks'][_0x5bb4('0xba')]('insertion:discard',_0x35ebb0),this[_0x5bb4('0x137')]['set']('insertion:join',_0x223cf9),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x66'),_0x5eeb04),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x15f'),_0x35ebb0),this[_0x5bb4('0x137')][_0x5bb4('0xba')]('deletion:discard',_0x589ea3),this[_0x5bb4('0x137')][_0x5bb4('0xba')]('deletion:join',_0x223cf9),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x3d'),_0x5eeb04),this['_defaultCallbacks']['set']('formatInline:accept',_0x2b9ad3),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x161'),_0x589ea3),this[_0x5bb4('0x137')]['set'](_0x5bb4('0x5b'),_0x223cf9),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x50'),_0x589ea3),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x48'),_0x2b9ad3),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x45'),_0x589ea3),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0x165'),_0x223cf9),this[_0x5bb4('0x137')][_0x5bb4('0xba')](_0x5bb4('0xa5'),_0x589ea3),this[_0x5bb4('0x137')][_0x5bb4('0xba')]('attribute:accept',_0x589ea3),this[_0x5bb4('0x137')]['set'](_0x5bb4('0xb3'),(_0x41e752,_0x492426)=>{if(!_0x492426)return;const _0x193d3a=this[_0x5bb4('0xff')]['plugins'][_0x5bb4('0x143')](p);this[_0x5bb4('0x1e')][_0x5bb4('0x7a')](_0x1278bc=>{if('$elementName'==_0x492426['key'])for(const _0x59b38b of _0x41e752){const _0x4c79c0=_0x59b38b[_0x5bb4('0xe1')]['nodeAfter'],_0xd30d68=_0x492426[_0x5bb4('0xc5')];_0x1278bc[_0x5bb4('0x11a')](_0x4c79c0,_0xd30d68);}else{if(_0x193d3a[_0x5bb4('0x7f')](_0x492426[_0x5bb4('0xb9')]))for(const _0x39598e of _0x41e752)void 0x0!==_0x492426[_0x5bb4('0xc5')]?_0x1278bc['setAttribute'](_0x492426[_0x5bb4('0xb9')],_0x492426[_0x5bb4('0xc5')],_0x39598e['start']['nodeAfter']):_0x1278bc[_0x5bb4('0xd4')](_0x492426[_0x5bb4('0xb9')],_0x39598e[_0x5bb4('0xe1')]['nodeAfter']);else for(const _0x1b0623 of _0x41e752)_0x492426[_0x5bb4('0xc5')]?_0x1278bc['setAttribute'](_0x492426['key'],_0x492426[_0x5bb4('0xc5')],_0x1b0623):_0x1278bc['removeAttribute'](_0x492426[_0x5bb4('0xb9')],_0x1b0623);}});}),this['_defaultCallbacks'][_0x5bb4('0xba')](_0x5bb4('0x54'),_0x223cf9);}}function Tt(_0xeccfd4,_0x5edb43,_0x3ce728){for(const _0x29166a of _0x5edb43[_0x5bb4('0x9b')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x29166a[_0x5bb4('0xb0')]==_0x29166a)return!0x1;if(!_0x3ce728[_0x5bb4('0xf5')](_0x29166a))return!0x1;if(_0xeccfd4['isObject'](_0x29166a)||_0xeccfd4[_0x5bb4('0x15d')](_0x29166a))return!0x0;}return!0x1;}function xt(_0x5eb766){return _0x5eb766[_0x5bb4('0xc3')][_0x5bb4('0x9b')]==_0x5eb766['start'][_0x5bb4('0x14d')]&&_0x5eb766['end']['isAtStart'];}function Et(_0x2a7d23,_0x28aa7e,_0x565e8e,_0xf89454){const _0x5b6e84=_0x5974b6=>!_0x5974b6['item']['is'](_0x5bb4('0xb2'))&&!_0xf89454[_0x5bb4('0x57')](_0x5974b6[_0x5bb4('0x99')]),_0x4ba8a1=_0x2a7d23[_0x5bb4('0xe1')][_0x5bb4('0xed')](_0x5b6e84),_0x502507=_0x2a7d23[_0x5bb4('0xc3')]['getLastMatchingPosition'](_0x5b6e84,{'direction':'backward'});return(!_0x2a7d23['start'][_0x5bb4('0x115')](_0x4ba8a1)||!_0x2a7d23[_0x5bb4('0xc3')][_0x5bb4('0x115')](_0x502507))&&(_0x4ba8a1['isBefore'](_0x502507)?_0x565e8e[_0x5bb4('0x170')](_0x28aa7e,{'range':_0x565e8e[_0x5bb4('0x23')](_0x4ba8a1,_0x502507)}):_0x565e8e[_0x5bb4('0x8d')](_0x28aa7e),!0x0);}function Rt(_0x309b2a){return _0x457066(_0x309b2a);}function jt(_0x38f090){const _0x3b9078=_0x38f090[_0x5bb4('0xe1')][_0x5bb4('0x14d')];return _0x3b9078&&_0x3b9078['is'](_0x5bb4('0xda'));}function Ut(_0x3b13e6,_0x1ba9b7){const _0x33e2a8=_0x1ba9b7[_0x5bb4('0x118')][_0x5bb4('0x57')](_0x3b13e6)||_0x1ba9b7[_0x5bb4('0x118')][_0x5bb4('0x16a')](_0x3b13e6);return _0x1ba9b7[_0x5bb4('0x23')](_0x1ba9b7[_0x5bb4('0xb5')](_0x3b13e6,'before'),_0x33e2a8?_0x1ba9b7[_0x5bb4('0xe9')](_0x3b13e6):_0x1ba9b7[_0x5bb4('0xb5')](_0x3b13e6,'end'));}function Ot(_0x485560,_0x424b69,_0x151dec,_0x5dda41,_0x3febf1){if(!Vt(_0x485560,_0x424b69))return!0x1;if(_0x151dec['end'][_0x5bb4('0x115')](_0x5dda41['start']))return!0x0;if(_0x485560[_0x5bb4('0xc1')]!=_0x424b69[_0x5bb4('0xc1')])return!0x1;if(!_0x151dec['end'][_0x5bb4('0xf2')](_0x5dda41[_0x5bb4('0xe1')]))return!0x1;const _0x34e4c8=_0x3febf1[_0x5bb4('0x23')](_0x151dec[_0x5bb4('0xc3')],_0x5dda41[_0x5bb4('0xe1')])[_0x5bb4('0x139')]();for(const _0xcb7664 of _0x34e4c8)if([_0x5bb4('0x156'),_0x5bb4('0x144')][_0x5bb4('0x13c')](_0xcb7664[_0x5bb4('0xc1')])&&_0x3febf1[_0x5bb4('0x118')][_0x5bb4('0x15d')](_0xcb7664['item']))return!0x1;return!0x0;}function Vt(_0x2df0bf,_0x98bab0){return!(!_0x2df0bf[_0x5bb4('0x13d')]||!_0x98bab0[_0x5bb4('0x13d')])&&_0x53cbae(_0x2df0bf['attributes'],_0x98bab0[_0x5bb4('0xd8')]);}function Gt(_0x21851a,_0x57781e){const _0x64558e=Ft(_0x21851a[_0x5bb4('0xd8')]),_0x2c6527=Ft(_0x57781e);if(!_0x21851a[_0x5bb4('0x13d')])return!0x1;for(const _0x2afe1b of Object[_0x5bb4('0x2c')](_0x2c6527))if(!_0x53cbae(_0x64558e[_0x2afe1b],_0x2c6527[_0x2afe1b]))return!0x1;return!0x0;}function Ft(_0x32dbc7){const _0x37e00c=Object[_0x5bb4('0x88')]({},_0x32dbc7);return delete _0x37e00c[_0x5bb4('0xb')],delete _0x37e00c[_0x5bb4('0x11f')],_0x37e00c;}function Pt(_0x41204d){return'attribute'==_0x41204d[_0x5bb4('0xc1')]?_0x41204d[_0x5bb4('0x97')][_0x5bb4('0xaf')]('|')[0x0]:null;}
23
+ const _0x30be=['accept','size','getContainedElement','warn','hasComments','_SUGGESTION_ANNOUNCEMENT','_suggestions','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.','fire','_setSuggestionData','document','_customCallbacks','change:activeMarkers','includes','next','attribute:','getFirstMarker','rethrowUnexpectedError','@external','CommentsRepository','newName','from','chain','attribute:accept','applyOperation','value','_enableDefaultAttributesIntegration','getShiftedBy','registerCustomCallback','_cutOutSuggestionMarker','normal','discard','isAtEnd','subType','insertion:chain','getOperations','_suggestionState','formatInline','_saved','markerToHighlight','clear','rootName','isRemovable','getIntersection','_initAriaMarkerChangeAnnouncements','containsRange','writer','editing','suggestion:attribute:','has','createPositionAt','selection','formatBlock:chain','getAllAdjacentSuggestions','isSelectable','setAttribute','discardAllSuggestions','isIntersecting','isInContent','containsRangeInObject','_getMarkerAnnouncementText','isBefore','values','stop','authoredAt','group','containsItem','always','setTo','suggestion-type','track-changes-user-not-found','discardSelectedSuggestions','_getAuthorFromId','set','refresh','batch','formatInline:','isIntersectingWithRange','insert','getChanges','isArray','getRange','trackChangesCommand','listenTo','elementStart','addSuggestion','getCustomProperty','every','unbindElementFromMarkerName','execute','_rangeIsInLocalUserInsertion','commands','attributes','_recordAttributeSuggestionsFromVersion','createdAt','forceDefaultExecution','_isDataLoaded','attributeOldValue','track-changes-adapter-missing-getsuggestion','markAttributeChange','format','split','isExternal','discardSuggestion','key','assign','_commentsRepository','meta','deletion:join','consume','_refreshSuggestionsChain','_adapter','_handleNewSuggestionMarker','forEach','nodeAfter','mapper','low','author','trackChanges','forward','howMany','comments','root','plugins','addHighlight','removeClass','attribute','isObject','ENTER','stopListening','addRange','TrackChangesEditing','markInlineFormat','element','_processAttributeSuggestions','isBlock','formatInline:discard','change:_saved','delete','range','addUser','unshift','getChangedMarkers','addMarker:suggestion','insertion:join','isTouching','originalSuggestionId','editor','removeComment','change','acceptSuggestion','getAttribute','dataReady','previous','change:data','notReady','enqueueChange','enableReadOnlyMode','_joinSuggestions','editingDowncast','consumable','push','_descriptionFactory','options','dataDowncast','_reduceExistingSuggestions','_mergeNestedSuggestions','ck-suggestion-marker','unbind','insertContent','ariaLiveAnnouncer','formatBlock:discard','newRange','keys','addAttribute','$marker','init','dataToMarker','removeMarkers','suggestionLoaded','_processAttributeChanges','deletion:chain','trackChanges.trackFormatChanges','createRangeOn','_registerInlineAttribute','_addSuggestionMarker','name','find','_removeSuggestion','_refreshAttributeSuggestionsChain','define','newValue','backward','markerName','suggestion:','commentThread','some','ck-suggestion-marker--active','_checkSuggestionCorrectness','markMultiRangeDeletion','suggestionChanged','getDifference','setSelection','changeAttribute','deletion:','addMarkerName','deleteContent','_inlineAttributeKeys','reconvertMarker','showSuggestionHighlights','isEqual','widget','markDeletion','multipleBlocks','createPositionBefore','detach','_recordAttributeChanges','suggestionUnloaded','Users','removed','_breakSuggestionMarker','removeAttribute','createRange','toViewElement','rejected','item','conversion','requires','_suggestionFactory','getCommentThread','formatBlock','for','then','addMarker','addSuggestionData','nodeBefore','_isBlockAttribute','join','deletion','formatBlock:join','splitPosition','ck-suggestion-marker-formatBlock','never','_findSuggestions','markerNameToElements','markerReady','end','getSuggestionCallback','attributeKey','before','locale','announce','containsPosition','track-changes-suggestion-data-mismatch','getAncestors','insertion:','addCommentThread','multi','getSuggestions','head','update:suggestion','formatBlock:accept','oldRange','accepted','createRangeIn','elementEnd','getMultiRangeId','removeMarker','removeMarker:suggestion:formatBlock','oldValue','LEAVE','markInsertion','attributeNewValue','_splitMarkerName','getNearestSelectionRange','registerPostFixer','isInsideObject','_registerDefaultCallbacks','attribute:join','addComment','rename','containerElement','$graveyard','markMultiRangeBlockFormat','updateSuggestion','track-changes-adapter-already-set','high','substring','filter','createPositionAfter','splice','fromCharCode','pop','acceptAllSuggestions','add','createSelection','history','parent','_trackFormatChanges','isNextTo','_registerBlockAttribute','acceptSelectedSuggestions','model','getRanges','enableCommand','_setSuggestionRange','insertion','isAfter','isLimit','isLocal','addClass','_isForcedDefaultExecutionBlock','buildSuggestion','isMultiRange','after','clone','external:','data-suggestion','addMarker:suggestion:attribute','config','length','_updateSuggestionData','_reduceSuggestionAttributeRange','activeMarkers','_model','isAtStart','highest','getSuggestion','data','get','position','_getSuggestionData','_joinWithAdjacentSuggestions','formatInline:join','_blockAttributeKeys','differ','trackChanges.mergeNestedSuggestions','type','tablePasteChainId','deletion:discard','formatGroupId','start','fetchCommentThread','isUndo','isOwn','_addThreadToSuggestion','getLastMatchingPosition','remove','open','marker-count','suggestion','adapter','upcast','schema','groupId','formatBlock:','getMarkers','getUser','_defaultCallbacks','bindElementToMarker','default','updateMarker','addMarker:suggestion:formatBlock','getWalker','skipNestingCheck','_enabledCommands','markers','catch','PENDING_ACTION_SUGGESTION','startsWith','getFirstRange','creator','$elementName','_editor','ready','isCollapsed','getItems','$text','toJSON','sort','_createSuggestion','return','track-changes-enable-command-twice','collaboration.channelId','map','insertion:discard'];(function(_0xc91a1c,_0x30bef7){const _0xea0491=function(_0x38e5c8){while(--_0x38e5c8){_0xc91a1c['push'](_0xc91a1c['shift']());}};_0xea0491(++_0x30bef7);}(_0x30be,0x98));const _0xea04=function(_0xc91a1c,_0x30bef7){_0xc91a1c=_0xc91a1c-0x0;let _0xea0491=_0x30be[_0xc91a1c];return _0xea0491;};import{Plugin as _0x5930ca,PendingActions as _0xf01f44}from'ckeditor5/src/core';import{LiveRange as _0x567f7b}from'ckeditor5/src/engine';import{CKEditorError as _0x588824,uid as _0x5973ad,priorities as _0x2a3d94,logWarning as _0x33f7d9}from'ckeditor5/src/utils';import{toWidget as _0x1f8dd9}from'ckeditor5/src/widget';import{Users as _0x431167,hashObject as _0x5a38d7,surroundingMarkersDetector as _0x484966}from'ckeditor5-collaboration/src/collaboration-core';import _0x4ba7bf from'./commands/trackchangescommand';import _0x270082 from'./commands/acceptsuggestioncommand';import _0xc4eca8 from'./commands/discardsuggestioncommand';import _0x35da60 from'./commands/executeonallsuggestionscommand';import _0x181273 from'./commands/executeonselectedsuggestionscommand';import _0x5b9956 from'./suggestion';import _0x3200e3 from'./suggestiondescriptionfactory';import _0x4dc6a9 from'./integrations/aiassistant';import _0x2cb92a from'./integrations/alignment';import _0x500d99 from'./integrations/basicstyles';import _0x2e1112 from'./integrations/blockquote';import _0x52219f from'./integrations/ckbox';import _0x2d5c8f from'./integrations/codeblock';import _0x5e5989 from'./integrations/comments';import _0x45fd5e from'./integrations/deletecommand';import _0x301d5a from'./integrations/documentlist';import _0x3e166c from'./integrations/documentlistproperties';import _0x5319ab from'./integrations/entercommand';import _0x534f92 from'./integrations/findandreplace';import _0x2b4cd6 from'./integrations/font';import _0x34bf17 from'./integrations/formatpainter';import _0x3a9aed from'./integrations/heading';import _0xb7f293 from'./integrations/highlight';import _0x8be87c from'./integrations/horizontalline';import _0x37dc8c from'./integrations/htmlembed';import _0x357ef4 from'./integrations/image';import _0x43ece5 from'./integrations/imagereplace';import _0x48d8ed from'./integrations/imagestyle';import _0x5d85d3 from'./integrations/importword';import _0x18f729 from'./integrations/indent';import _0x4028e6 from'./integrations/inputcommand';import _0x3491e1 from'./integrations/link';import _0x1ad2f4 from'./integrations/list';import _0x4546c7 from'./integrations/listproperties';import _0x3024ba from'./integrations/mediaembed';import _0x43210e from'./integrations/mention';import _0x35babd from'./integrations/pagebreak';import _0x28aef4 from'./integrations/paragraph';import _0x1a2bb2 from'./integrations/removeformat';import _0xa9f070 from'./integrations/restrictededitingmode';import _0x457ca8 from'./integrations/shiftentercommand';import _0x405ec3 from'./integrations/standardeditingmode';import _0x5c627a from'./integrations/style';import _0x318d75 from'./integrations/table';import _0x1c3958 from'./integrations/tablemergesplit';import _0x1a308b from'./integrations/tableheadings';import _0x531d58 from'./integrations/tableclipboard';import _0x553f65 from'./integrations/tablecolumnresize';import _0x261ae2 from'./integrations/template';import _0x141efd from'./integrations/tableofcontents';import _0x2fc27c from'./integrations/title';import _0x581115 from'./integrations/undo';import _0x4cfe4f from'./integrations/tablecaption';import _0x37f636 from'./integrations/tableproperties';import{getTranslation as _0x4b9969}from'./utils/common-translations';import{isEqual as _0x2f12fa,omit as _0x5282d2}from'lodash-es';export const renameAttributeKey=_0xea04('0xdc');export default class p extends _0x5930ca{static get[_0xea04('0x4b')](){return[_0xea04('0xfd'),_0x431167,_0xf01f44,_0x4dc6a9,_0x2cb92a,_0x500d99,_0x2e1112,_0x52219f,_0x2d5c8f,_0x5e5989,_0x45fd5e,_0x301d5a,_0x3e166c,_0x5319ab,_0x534f92,_0x2b4cd6,_0x34bf17,_0x3a9aed,_0xb7f293,_0x8be87c,_0x37dc8c,_0x357ef4,_0x48d8ed,_0x43ece5,_0x5d85d3,_0x18f729,_0x4028e6,_0x3491e1,_0x1ad2f4,_0x4546c7,_0x3024ba,_0x43210e,_0x35babd,_0x28aef4,_0x1a2bb2,_0xa9f070,_0x457ca8,_0x405ec3,_0x5c627a,_0x318d75,_0x1c3958,_0x1a308b,_0x4cfe4f,_0x531d58,_0x553f65,_0x141efd,_0x37f636,_0x261ae2,_0x2fc27c,_0x581115];}static get['pluginName'](){return _0xea04('0x16d');}constructor(_0x304d39){function _0x588d32(_0x58af01){return _0x58af01[_0xea04('0xe8')](_0x2fb1c6=>String[_0xea04('0x8b')](_0x2fb1c6))['join']('');}super(_0x304d39),this[_0xea04('0x147')]=null,this[_0xea04('0x133')](_0xea04('0xab'),[]),this['on'](_0xea04('0xf6'),(_0x551814,_0x3dfb21,_0x58c7bb,_0x1d8502)=>{this['_model'][_0xea04('0x17f')](()=>{for(const _0x56926c of[..._0x1d8502,..._0x58c7bb])this['_model'][_0xea04('0xd6')][_0xea04('0x11b')](_0x56926c)&&_0x304d39[_0xea04('0x119')][_0xea04('0x38')](_0x56926c);});}),this[_0xea04('0xa')]=new _0x3200e3(this[_0xea04('0x17d')]['model'][_0xea04('0xc9')],this[_0xea04('0x17d')][_0xea04('0x62')]),this[_0xea04('0x159')]=null,this['_suggestionFactory']=new Bt(this['editor']),this[_0xea04('0xf0')]=new Map(),this[_0xea04('0x154')]=_0x304d39[_0xea04('0x165')]['get'](_0xea04('0xfd')),this[_0xea04('0xd5')]=new Set(),this[_0xea04('0xac')]=this[_0xea04('0x17d')][_0xea04('0x96')],this[_0xea04('0x10e')]=new WeakMap(),this[_0xea04('0x9f')]=!0x1,this[_0xea04('0xb6')]=new Set([_0xea04('0xdc')]),this['_inlineAttributeKeys']=new Set(),_0x304d39['config']['define'](_0xea04('0x1e'),_0xea04('0xd0')),this[_0xea04('0x92')]=_0x304d39[_0xea04('0xa7')][_0xea04('0xb1')](_0xea04('0x1e')),_0x304d39[_0xea04('0xa7')][_0xea04('0x26')](_0xea04('0xb8'),!0x0),this[_0xea04('0xe')]=_0x304d39['config'][_0xea04('0xb1')](_0xea04('0xb8')),this[_0xea04('0x13c')]=new _0x4ba7bf(_0x304d39,this[_0xea04('0xd5')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x588d32([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x588d32([0x34,0x30,0x34,0x36,0x32,0x34,0x33,0x30]);}[_0xea04('0x18')](){const _0x223d5a=this['editor'],_0x11af32=(_0x210152,_0x168ed2)=>{if(_0xea04('0x168')!=_0x210152)return'ck-suggestion-marker-'+_0x210152;const _0x4016e6=_0x168ed2[_0xea04('0x14f')]('|')[0x0];return this[_0xea04('0x54')](_0x4016e6)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0x7'))[_0xea04('0x111')]({'model':'suggestion','view':_0x2e636f=>{const {id:_0x124892,type:_0x55820e,subType:_0x5b21d0}=this['_splitMarkerName'](_0x2e636f[_0xea04('0x29')]),_0x369882=[_0xea04('0xf'),_0x11af32(_0x55820e,_0x5b21d0)];let _0x46f35f=0xbb8;return this[_0xea04('0xab')]['includes'](_0x2e636f[_0xea04('0x29')])&&(_0x369882['push']('ck-suggestion-marker--active'),_0x46f35f=0xbc2),_0xea04('0x56')==_0x55820e&&(_0x46f35f+=0x5),{'classes':_0x369882,'attributes':{'data-suggestion':_0x124892},'priority':_0x46f35f};}}),_0x223d5a['conversion']['for'](_0xea04('0xc'))[_0xea04('0x8e')](_0x15228f=>{_0x15228f['on'](_0xea04('0x179'),(_0x1033e2,_0xa0d35f,_0x3752de)=>{if(!_0x3752de[_0xea04('0xb')][_0xea04('0x39')])return;const _0xf5331a=_0xa0d35f[_0xea04('0x49')];if(!_0xf5331a)return;const _0x5531e6=_0x3752de['mapper'][_0xea04('0x47')](_0xf5331a);_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')][_0xea04('0x169')](_0xf5331a)&&_0x5531e6&&!_0x5531e6[_0xea04('0x140')](_0xea04('0x3b'))&&_0x5531e6['is'](_0xea04('0x81'))&&_0x1f8dd9(_0x5531e6,_0x3752de['writer']);},{'priority':_0xea04('0x86')});}),_0x223d5a['conversion'][_0xea04('0x4f')](_0xea04('0xc'))[_0xea04('0x111')]({'model':'suggestion','view':(_0x293809,_0x5e0370)=>{if(!_0x5e0370[_0xea04('0xb')]['showSuggestionHighlights'])return null;const {type:_0x17c349,subType:_0x339ff2}=this[_0xea04('0x79')](_0x293809[_0xea04('0x29')]);return{'classes':['ck-suggestion-marker',_0x11af32(_0x17c349,_0x339ff2)],'priority':0xbb8};}});const _0x25858c=({showActiveMarkers:_0x3cdfdc=!0x0,isAttributeSuggestion:_0xfaf2c7=!0x1}={})=>(_0x5c6e9e,_0x4b70f9,_0x40cbe8)=>{if(!_0x4b70f9[_0xea04('0x49')])return;const {id:_0x3aea97}=this[_0xea04('0x79')](_0x4b70f9[_0xea04('0x29')]);if(_0xfaf2c7){const _0x59c209=Pt(this[_0xea04('0xf0')][_0xea04('0xb1')](_0x3aea97));if(!this[_0xea04('0x54')](_0x59c209))return;}if(_0x4b70f9[_0xea04('0x49')]['is'](_0xea04('0x11d')))return void _0x40cbe8[_0xea04('0x8')][_0xea04('0x157')](_0x4b70f9['item'],_0x5c6e9e['name']);const _0x42d16f=_0x40cbe8['mapper'][_0xea04('0x47')](_0x4b70f9[_0xea04('0x49')]);if(_0x4b70f9[_0xea04('0x49')]['is'](_0xea04('0x16f'))&&_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')][_0xea04('0x171')](_0x4b70f9['item'])&&!_0x42d16f[_0xea04('0x140')]('addHighlight')){_0x40cbe8[_0xea04('0x118')]['addClass']([_0xea04('0xf'),_0xea04('0x59')],_0x42d16f),_0x40cbe8[_0xea04('0x118')][_0xea04('0x121')](_0xea04('0xa5'),_0x3aea97,_0x42d16f),_0x40cbe8['mapper'][_0xea04('0xcf')](_0x42d16f,_0x4b70f9[_0xea04('0x29')]),_0x3cdfdc&&(this[_0xea04('0xab')][_0xea04('0xf7')](_0x4b70f9['markerName'])?_0x40cbe8[_0xea04('0x118')][_0xea04('0x9e')](_0xea04('0x2d'),_0x42d16f):_0x40cbe8[_0xea04('0x118')][_0xea04('0x167')](_0xea04('0x2d'),_0x42d16f));for(const _0x4b3f0e of _0x223d5a[_0xea04('0x96')][_0xea04('0x70')](_0x4b70f9[_0xea04('0x49')])[_0xea04('0xe0')]())_0x40cbe8[_0xea04('0x8')][_0xea04('0x157')](_0x4b3f0e,_0x5c6e9e[_0xea04('0x22')]);_0x40cbe8['consumable']['consume'](_0x4b70f9[_0xea04('0x49')],_0x5c6e9e['name']);}};_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0xc'))[_0xea04('0x8e')](_0x4ffecc=>{_0x4ffecc['on'](_0xea04('0xd2'),(_0x5cb933,_0x48736b,_0x599ff4)=>{_0x599ff4[_0xea04('0xb')][_0xea04('0x39')]&&_0x25858c({'showActiveMarkers':!0x1})(_0x5cb933,_0x48736b,_0x599ff4);},{'priority':_0xea04('0xae')});}),_0x223d5a[_0xea04('0x4a')]['for'](_0xea04('0xc'))[_0xea04('0x8e')](_0x2318d8=>{_0x2318d8['on'](_0xea04('0xa6'),(_0x4de7b,_0x4a7021,_0x418ddb)=>{_0x418ddb[_0xea04('0xb')][_0xea04('0x39')]&&_0x25858c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4de7b,_0x4a7021,_0x418ddb);},{'priority':'highest'});}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0xc'))['markerToData']({'model':_0xea04('0xc6'),'view':(_0x45063b,_0x51f9c4)=>_0x51f9c4[_0xea04('0xb')][_0xea04('0x39')]?null:{'group':'suggestion','name':_0x45063b['substr'](0xb)}}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')]('upcast')['elementToElement']({'view':{'name':_0xea04('0xc6'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4b1543,{writer:_0x16fd4d})=>{let _0x231c6b=_0xea04('0x2a')+_0x4b1543[_0xea04('0x181')](_0xea04('0x12f'))+':'+_0x4b1543[_0xea04('0x181')]('id');return _0x4b1543['getAttribute'](_0xea04('0xc5'))&&(_0x231c6b+=':'+_0x4b1543[_0xea04('0x181')](_0xea04('0xc5'))),_0x16fd4d['createElement'](_0xea04('0x17'),{'data-name':_0x231c6b});}}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0xc8'))[_0xea04('0x19')]({'view':_0xea04('0xc6')}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0x7'))[_0xea04('0x8e')](_0x406277=>{_0x406277['on'](_0xea04('0xd2'),_0x25858c(),{'priority':_0xea04('0x86')});}),_0x223d5a[_0xea04('0x4a')]['for']('editingDowncast')['add'](_0x3ad7c4=>{_0x3ad7c4['on']('addMarker:suggestion:attribute',_0x25858c({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x223d5a['conversion'][_0xea04('0x4f')](_0xea04('0x7'))['add'](_0x1a0211=>{_0x1a0211['on'](_0xea04('0x74'),(_0x4bf26f,_0x19dff4,_0x481a2f)=>{const _0x31e263=_0x481a2f[_0xea04('0x15d')][_0xea04('0x5c')](_0x19dff4[_0xea04('0x29')]);if(_0x31e263)for(const _0x1a7f3a of _0x31e263)_0x1a7f3a[_0xea04('0x140')](_0xea04('0x166'))||(_0x481a2f[_0xea04('0x118')][_0xea04('0x167')]([_0xea04('0xf'),_0xea04('0x59'),_0xea04('0x2d')],_0x1a7f3a),_0x481a2f[_0xea04('0x118')][_0xea04('0x45')](_0xea04('0xa5'),_0x1a7f3a),_0x481a2f[_0xea04('0x15d')][_0xea04('0x142')](_0x1a7f3a,_0x19dff4[_0xea04('0x29')]));},{'priority':_0xea04('0x86')});}),_0x223d5a[_0xea04('0x4a')]['for']('editingDowncast')[_0xea04('0x8e')](_0x5703c4=>{_0x5703c4['on']('removeMarker:suggestion:attribute',(_0x1308d9,_0x3bed50,_0x2f9d46)=>{const _0x2ef5ba=_0x2f9d46[_0xea04('0x15d')][_0xea04('0x5c')](_0x3bed50['markerName']);if(!_0x2ef5ba)return;const {id:_0x5bae62}=this['_splitMarkerName'](_0x3bed50[_0xea04('0x29')]),_0x4a0656=Pt(this[_0xea04('0xf0')]['get'](_0x5bae62));if(this['_isBlockAttribute'](_0x4a0656))for(const _0x117e45 of _0x2ef5ba)_0x117e45['getCustomProperty'](_0xea04('0x166'))||(_0x2f9d46[_0xea04('0x118')][_0xea04('0x167')]([_0xea04('0xf'),_0xea04('0x59'),'ck-suggestion-marker--active'],_0x117e45),_0x2f9d46['writer'][_0xea04('0x45')](_0xea04('0xa5'),_0x117e45),_0x2f9d46[_0xea04('0x15d')][_0xea04('0x142')](_0x117e45,_0x3bed50[_0xea04('0x29')]));},{'priority':_0xea04('0x86')});}),_0x223d5a['model'][_0xea04('0xf4')][_0xea04('0x7b')](_0x50e7f4=>{let _0x54676b=!0x1;const _0x3cd2b6=Array[_0xea04('0xff')](_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0xb7')]['getChangedMarkers']()),_0x5e9ba0=new Set();for(const {name:_0x33bdf3,data:_0x50c800}of _0x3cd2b6){const {group:_0x381346,type:_0xb29bcf,subType:_0x5e54b2,id:_0x191416}=this['_splitMarkerName'](_0x33bdf3);if('suggestion'!==_0x381346)continue;const _0x3c11bd=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x191416);if(null!=_0x50c800[_0xea04('0x14')]){_0xea04('0x10f')==_0xb29bcf&&(_0x54676b=_0x54676b||Et(_0x50c800[_0xea04('0x14')],_0x33bdf3,_0x50e7f4,_0x223d5a[_0xea04('0x96')]['schema']));const _0xbb1388='attribute'==_0xb29bcf&&this[_0xea04('0x54')](_0x5e54b2['split']('|')[0x0]);if(_0x50c800['newRange'][_0xea04('0xdf')]||_0xea04('0x82')==_0x50c800[_0xea04('0x14')][_0xea04('0x164')][_0xea04('0x113')]||_0xea04('0x4e')==_0xb29bcf&&!jt(_0x50c800['newRange'])||_0xbb1388&&!jt(_0x50c800['newRange'])||_0xea04('0x56')==_0xb29bcf&&!(!xt(_0x3fd5f8=_0x50c800[_0xea04('0x14')])&&!function(_0x3dfb35){return _0x3dfb35[_0xea04('0xbd')][_0xea04('0x91')]==_0x3dfb35[_0xea04('0x5e')][_0xea04('0x53')]&&_0x3dfb35[_0xea04('0xbd')][_0xea04('0x10a')];}(_0x3fd5f8)))_0x50e7f4[_0xea04('0x73')](_0x33bdf3),_0x54676b=!0x0;else{if(!_0x3c11bd||!_0x3c11bd[_0xea04('0x124')])continue;_0x5e9ba0[_0xea04('0x8e')](_0x3c11bd);}}}var _0x3fd5f8;return _0x5e9ba0[_0xea04('0xeb')]>0x0&&(_0x54676b=!!this[_0xea04('0xb4')](_0x5e9ba0)||_0x54676b),_0x54676b;}),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x7b')](_0x1e8f21=>{let _0x3f1e7f=!0x1;for(const _0x51b921 of _0x223d5a['model'][_0xea04('0xf4')]['differ'][_0xea04('0x139')]())if(_0xea04('0x138')==_0x51b921[_0xea04('0xb9')])for(const _0x1333e2 of this[_0xea04('0xf0')][_0xea04('0x128')]()){if(_0x1333e2[_0xea04('0xa1')]||!_0x1333e2[_0xea04('0x124')])continue;const _0x135d7a=_0xea04('0x4e')==_0x1333e2['type'],_0x16c8b1=Pt(_0x1333e2),_0x5361a9=_0x16c8b1&&this['_isBlockAttribute'](_0x16c8b1);if(!_0x135d7a&&!_0x5361a9)continue;const _0x394f55=_0x1333e2[_0xea04('0xda')]();if(_0x394f55[_0xea04('0xbd')][_0xea04('0x91')]!=_0x394f55[_0xea04('0x5e')][_0xea04('0x91')]&&!_0x394f55[_0xea04('0x5e')][_0xea04('0x10a')]){const _0x259a9e=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x394f55[_0xea04('0xbd')]['nodeAfter'],_0xea04('0x5e')),_0x5371cc=_0x223d5a[_0xea04('0x96')][_0xea04('0x46')](_0x394f55[_0xea04('0xbd')],_0x259a9e);_0x1e8f21[_0xea04('0xd1')](_0x1333e2[_0xea04('0xfa')](),{'range':_0x5371cc}),_0x3f1e7f=!0x0;}}return _0x3f1e7f;}),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x7b')](_0x573c46=>this[_0xea04('0x1c')](_0x573c46)),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x7b')](_0x1f8107=>!_0x1f8107['batch'][_0xea04('0x9d')]&&this[_0xea04('0x170')](_0x1f8107)),_0x223d5a['model'][_0xea04('0xd6')]['on'](_0xea04('0x6c'),(_0x40fdb4,_0x26c940,_0x5941b5)=>{if(null==_0x5941b5){const {id:_0x57b7f2}=this['_splitMarkerName'](_0x26c940['name']),_0x354307=this[_0xea04('0xf0')]['get'](_0x57b7f2);_0x354307&&_0x354307[_0xea04('0x35')](_0x26c940[_0xea04('0x22')]);}}),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')]['on'](_0xea04('0x2'),()=>{const _0xf782ae=Array[_0xea04('0xff')](_0x223d5a[_0xea04('0x96')]['document'][_0xea04('0xb7')][_0xea04('0x178')]())[_0xea04('0x88')](_0x426861=>_0xea04('0xc6')===this['_splitMarkerName'](_0x426861['name'])[_0xea04('0x12b')]);if(0x0===_0xf782ae[_0xea04('0xa8')])return;_0xf782ae[_0xea04('0xe3')]((_0x489de7,_0x331847)=>{const _0x1a6184=_0x489de7[_0xea04('0xb0')][_0xea04('0x6e')],_0x7819b8=_0x331847[_0xea04('0xb0')][_0xea04('0x6e')];return null===_0x1a6184&&null===_0x7819b8?0x0:null===_0x1a6184&&null!==_0x7819b8?-0x1:null!==_0x1a6184&&null===_0x7819b8?0x1:_0x1a6184['start'][_0xea04('0x127')](_0x7819b8[_0xea04('0xbd')])?-0x1:0x1;});const _0x5b6be=new Set(),_0x28cd2a=new Set();for(const {name:_0x4541d3,data:_0x1ca70d}of _0xf782ae){const {id:_0x268e72}=this[_0xea04('0x79')](_0x4541d3);if(null===_0x1ca70d[_0xea04('0x6e')]){const _0x2904c8=this[_0xea04('0x15a')](_0x4541d3);_0x28cd2a[_0xea04('0x8e')](_0x2904c8);}else{const _0x22194b=this['_suggestions'][_0xea04('0xb1')](_0x268e72);null!==_0x1ca70d[_0xea04('0x14')]||_0x22194b['isInContent']?(_0x5b6be[_0xea04('0x8e')](_0x22194b[_0xea04('0x6b')]),_0x28cd2a[_0xea04('0x8e')](_0x22194b)):this[_0xea04('0x24')](_0x22194b);}}_0x28cd2a[_0xea04('0xeb')]>0x0&&this['_refreshSuggestionsChain'](_0x28cd2a);for(const _0x380262 of _0x5b6be)this[_0xea04('0xf2')](_0xea04('0x30'),_0x380262);}),_0x223d5a['model']['on'](_0xea04('0x102'),(_0x2b6152,_0x5538aa)=>{const _0x389005=_0x5538aa[0x0];if(!this['_suggestions']['size'])return;if(!_0x389005['isDocumentOperation'])return;if(_0x389005[_0xea04('0x135')][_0xea04('0xbf')]||!_0x389005[_0xea04('0x135')][_0xea04('0x9d')])return;let _0x5794ec,_0x469c13;switch(_0x389005[_0xea04('0xb9')]){case _0xea04('0x138'):_0x5794ec=_0x223d5a['model'][_0xea04('0x11c')](_0x389005['position']),_0x469c13=_0x5794ec[_0xea04('0x105')](_0x389005[_0xea04('0x162')]);break;case'split':_0x5794ec=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x389005[_0xea04('0x58')]),_0x469c13=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x389005['moveTargetPosition']);break;case'move':_0x5794ec=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x389005['targetPosition']),_0x469c13=_0x5794ec[_0xea04('0x105')](_0x389005['howMany']);break;default:return;}const _0x40b7bc=_0x223d5a[_0xea04('0x96')][_0xea04('0x46')](_0x5794ec,_0x469c13);_0x223d5a[_0xea04('0x96')][_0xea04('0x17f')](()=>{for(const {suggestion:_0xb459ca,meta:_0x55493a}of this[_0xea04('0x5b')](_0x40b7bc)){if(_0xb459ca[_0xea04('0xa1')])continue;if(_0xea04('0x10f')==_0xb459ca[_0xea04('0xb9')])continue;const _0x16506f=Pt(_0xb459ca);if(_0x16506f&&this[_0xea04('0x54')](_0x16506f)&&_0xea04('0x14f')!=_0x389005[_0xea04('0xb9')])continue;const _0x85dff6=_0xb459ca[_0xea04('0xb0')]&&_0xb459ca['data'][_0xea04('0x3d')];(_0xea04('0x4e')!=_0xb459ca['type']||_0xea04('0x14f')==_0x389005[_0xea04('0xb9')]&&!_0x85dff6)&&(_0x55493a[_0xea04('0x125')]||_0xea04('0x9a')==_0xb459ca[_0xea04('0xb9')]&&_0x55493a[_0xea04('0xc0')]||_0xb459ca[_0xea04('0xda')]()[_0xea04('0x117')](_0x40b7bc)&&this[_0xea04('0x44')](_0xb459ca,_0x5794ec,_0x469c13));}});},{'priority':'lowest'}),_0x223d5a['model']['on'](_0xea04('0x36'),(_0x5a559f,_0x304d80)=>{const _0x3a93e0=_0x304d80[0x0],_0x4622fb=_0x304d80[0x1];if(_0x4622fb&&_0x4622fb[_0xea04('0x149')])return;if(this[_0xea04('0x9f')])return;if(!this[_0xea04('0x13c')][_0xea04('0x103')])return;if(_0x3a93e0[_0xea04('0xdf')])return;const _0x178ea0=_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')],{start:_0x52220d,end:_0x204065}=_0x3a93e0[_0xea04('0xda')](),_0x1b2a24=_0x52220d[_0xea04('0x15c')]&&_0x178ea0[_0xea04('0x9c')](_0x52220d[_0xea04('0x15c')])?null:_0x178ea0[_0xea04('0x7a')](_0x52220d,_0xea04('0x161')),_0x44c5d2=_0x204065['nodeBefore']&&_0x178ea0[_0xea04('0x9c')](_0x204065[_0xea04('0x53')])?null:_0x178ea0[_0xea04('0x7a')](_0x204065,_0xea04('0x28')),_0x31fed6=_0x223d5a['model'][_0xea04('0x46')](_0x1b2a24?_0x1b2a24['start']:_0x52220d,_0x44c5d2?_0x44c5d2['end']:_0x204065);_0x223d5a[_0xea04('0x96')][_0xea04('0x17f')](_0x531f64=>{this[_0xea04('0x3c')](_0x31fed6);const _0x25a150=_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')]['getNearestSelectionRange'](_0x31fed6['start']);_0x3a93e0['is']('documentSelection')?_0x531f64['setSelection'](_0x25a150):_0x3a93e0[_0xea04('0x12e')](_0x25a150);}),_0x5a559f[_0xea04('0x129')]();},{'priority':_0x2a3d94[_0xea04('0x108')]+0xa}),_0x223d5a[_0xea04('0x96')]['on'](_0xea04('0x11'),(_0xb3a217,_0x30ad17)=>{const _0xf03c16=_0x30ad17[_0x30ad17[_0xea04('0xa8')]-0x1];_0xf03c16&&_0xf03c16['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand'][_0xea04('0x103')]&&(_0x223d5a[_0xea04('0x96')][_0xea04('0x17f')](()=>{let _0xabc0c5=_0x223d5a['model']['insertContent'](_0x30ad17[0x0],_0x30ad17[0x1],_0x30ad17[0x2],{'forceDefaultExecution':!0x0});if(!_0xabc0c5)return;_0xb3a217['return']=_0xabc0c5[_0xea04('0xa3')]();const _0x1a249e=_0xabc0c5[_0xea04('0x5e')][_0xea04('0x53')],_0x2681d2=_0x223d5a['model'][_0xea04('0xc9')];_0x1a249e&&_0x2681d2[_0xea04('0x171')](_0x1a249e)&&!_0x2681d2['isObject'](_0x1a249e)&&(_0xabc0c5=_0x223d5a[_0xea04('0x96')][_0xea04('0x46')](_0xabc0c5[_0xea04('0xbd')],_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x1a249e,'end'))),this[_0xea04('0x77')](_0xabc0c5);}),_0xb3a217['stop']());},{'priority':'high'}),this['editor']['commands'][_0xea04('0x8e')]('trackChanges',this[_0xea04('0x13c')]),this[_0xea04('0x98')]('trackChanges');const _0x508de0=new _0x270082(_0x223d5a,this[_0xea04('0xf0')]);_0x223d5a[_0xea04('0x145')][_0xea04('0x8e')](_0xea04('0x180'),_0x508de0),this[_0xea04('0x98')]('acceptSuggestion');const _0x5d1055=new _0xc4eca8(_0x223d5a,this[_0xea04('0xf0')]);_0x223d5a[_0xea04('0x145')]['add'](_0xea04('0x151'),_0x5d1055),this[_0xea04('0x98')](_0xea04('0x151')),_0x223d5a[_0xea04('0x145')]['add']('acceptAllSuggestions',new _0x35da60(_0x223d5a,_0x508de0,this[_0xea04('0xf0')])),this[_0xea04('0x98')](_0xea04('0x8d')),_0x223d5a['commands'][_0xea04('0x8e')](_0xea04('0x122'),new _0x35da60(_0x223d5a,_0x5d1055,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x223d5a[_0xea04('0x145')][_0xea04('0x8e')](_0xea04('0x95'),new _0x181273(_0x223d5a,_0x508de0,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x223d5a[_0xea04('0x145')][_0xea04('0x8e')](_0xea04('0x131'),new _0x181273(_0x223d5a,_0x5d1055,this['_suggestions'])),this[_0xea04('0x98')](_0xea04('0x131'));const _0x41fb5e=_0x223d5a[_0xea04('0x165')][_0xea04('0xb1')]('CommentsRepository');this[_0xea04('0x13d')](_0x41fb5e,_0xea04('0x7f'),(_0x966525,{threadId:_0x49b1fa})=>{const _0x40cbda=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x49b1fa);_0x40cbda&&_0x40cbda[_0xea04('0x2b')]&&0x1===_0x40cbda['commentThread'][_0xea04('0xa8')]&&this[_0xea04('0xa9')](_0x49b1fa,{'hasComments':!0x0});},{'priority':_0xea04('0x15e')}),this[_0xea04('0x13d')](_0x41fb5e,_0xea04('0x17e'),(_0x532e65,{threadId:_0x1b9d8c})=>{const _0x851335=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x1b9d8c);_0x851335&&_0x851335[_0xea04('0x2b')]&&!_0x851335[_0xea04('0x2b')][_0xea04('0xa8')]&&this[_0xea04('0xa9')](_0x1b9d8c,{'hasComments':!0x1});},{'priority':_0xea04('0x15e')});}set['adapter'](_0x5854f0){if(this[_0xea04('0x159')])throw new _0x588824(_0xea04('0x85'),this);this[_0xea04('0x159')]=_0x5854f0;}get[_0xea04('0xc7')](){return this['_adapter'];}[_0xea04('0x6a')]({skipNotAttached:_0x228a84=!0x1,toJSON:_0x4f5440=!0x1}={}){const _0x5e20aa=[];for(const _0x419f2e of this[_0xea04('0xf0')][_0xea04('0x128')]())_0x228a84&&!_0x419f2e[_0xea04('0x124')]||_0x5e20aa['push'](_0x419f2e);return _0x4f5440?_0x5e20aa[_0xea04('0xe8')](_0x2b7cb7=>_0x2b7cb7[_0xea04('0xe2')]()):_0x5e20aa;}[_0xea04('0xaf')](_0x1cfdb4){const _0x3b7882=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x1cfdb4);if(!_0x3b7882)throw new _0x588824('track-changes-suggestion-not-found',this);return _0x3b7882;}['hasSuggestion'](_0x3837b8){return this[_0xea04('0xf0')][_0xea04('0x11b')](_0x3837b8);}[_0xea04('0x52')](_0x46210e){const {authorId:_0x47d992,id:_0x57454e,attributes:_0x15ae0a}=_0x46210e,[_0x3a9bcd,_0x378569]=_0x46210e[_0xea04('0xb9')][_0xea04('0x14f')](':'),_0x3b24bb=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x57454e)||this[_0xea04('0xe4')](_0x3a9bcd,_0x378569,_0x57454e,_0x47d992,_0x15ae0a);if(this[_0xea04('0xc1')](_0x3b24bb),this[_0xea04('0x2e')](_0x3b24bb,_0x3a9bcd,_0x378569||null,_0x47d992),_0x3b24bb['createdAt']=_0x46210e[_0xea04('0x148')],_0x3b24bb['_isDataLoaded']=!0x0,_0x15ae0a&&_0x15ae0a[_0xea04('0xfc')]){const _0x56d89a=_0x15ae0a['@external'],_0x2ec6ae=this['_getExternalAuthor'](_0x56d89a['authorName']);_0x3b24bb[_0xea04('0x12a')]=_0x56d89a[_0xea04('0x148')],_0x3b24bb[_0xea04('0x15f')]=_0x2ec6ae,_0x3b24bb[_0xea04('0x150')]=!0x0;}else _0x3b24bb[_0xea04('0x12a')]=_0x46210e[_0xea04('0x148')];switch(_0x46210e[_0xea04('0xb0')]&&(_0x3b24bb[_0xea04('0xb0')]=_0x46210e[_0xea04('0xb0')]),_0x46210e[_0xea04('0x146')]&&(_0x3b24bb[_0xea04('0x146')]=_0x46210e['attributes']),this[_0xea04('0x159')]&&this[_0xea04('0x159')]['addSuggestion']||(_0x3b24bb[_0xea04('0x110')]=!0x0),this[_0xea04('0x10e')][_0xea04('0xb1')](_0x3b24bb)){case _0xea04('0x3'):this[_0xea04('0x10e')][_0xea04('0x133')](_0x3b24bb,_0xea04('0x0'));break;case _0xea04('0x5d'):_0x3b24bb[_0xea04('0x124')]?(this['_refreshSuggestionsChain'](new Set([_0x3b24bb])),this[_0xea04('0xb4')](new Set([_0x3b24bb])),this[_0xea04('0x10e')][_0xea04('0x133')](_0x3b24bb,_0xea04('0xde')),this[_0xea04('0xf2')](_0xea04('0x1b'),_0x3b24bb)):this[_0xea04('0x10e')]['set'](_0x3b24bb,_0xea04('0x43'));}return _0x3b24bb;}[_0xea04('0x180')](_0xf68c12){this[_0xea04('0x149')](()=>{this['editor']['model'][_0xea04('0x17f')](()=>{for(const _0x4e6b8c of _0xf68c12[_0xea04('0x11f')]())_0x4e6b8c[_0xea04('0xea')]();});});}['discardSuggestion'](_0x46e4bb){this[_0xea04('0x149')](()=>{this[_0xea04('0x17d')][_0xea04('0x96')][_0xea04('0x17f')](()=>{for(const _0x3e7d89 of _0x46e4bb[_0xea04('0x11f')]())_0x3e7d89[_0xea04('0x109')]();});});}[_0xea04('0x98')](_0x3c1fd9,_0x597d45){const _0x586ffb=this[_0xea04('0x17d')][_0xea04('0x145')][_0xea04('0xb1')](_0x3c1fd9);if(!_0x586ffb)throw new _0x588824('track-changes-command-not-found',this,{'commandName':_0x3c1fd9});if(this[_0xea04('0xd5')][_0xea04('0x11b')](_0x586ffb))throw new _0x588824(_0xea04('0xe6'),this,{'commandName':_0x3c1fd9});this[_0xea04('0xd5')][_0xea04('0x8e')](_0x586ffb),_0x597d45&&_0x586ffb['on'](_0xea04('0x143'),(_0x2eadff,_0x5b1ee3)=>{this['trackChangesCommand'][_0xea04('0x103')]&&(this['_isForcedDefaultExecutionBlock']||(_0x5b1ee3[_0xea04('0xa8')]>0x0&&_0x5b1ee3[_0x5b1ee3[_0xea04('0xa8')]-0x1]&&_0x5b1ee3[_0x5b1ee3[_0xea04('0xa8')]-0x1][_0xea04('0x149')]?_0x5b1ee3[_0xea04('0x8c')]():(_0x2eadff[_0xea04('0xe5')]=_0x597d45((..._0x6e0ac3)=>_0x586ffb[_0xea04('0x143')](..._0x6e0ac3,{'forceDefaultExecution':!0x0}),..._0x5b1ee3),_0x2eadff[_0xea04('0x129')]())));},{'priority':'high'});}[_0xea04('0x149')](_0x2c7e9){let _0x3c013f,_0x298746;const _0x43930d=this[_0xea04('0x9f')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x3c013f=_0x2c7e9();}catch(_0x423b29){_0x298746=_0x423b29;}return _0x43930d||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x298746&&_0x588824[_0xea04('0xfb')](_0x298746,this),_0x3c013f;}['markInsertion'](_0xd64afd,_0x12d32f=null,_0x4aef4b={}){if(_0xd64afd['isCollapsed'])return null;const _0x412486=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me'];for(const {suggestion:_0x37123f,meta:_0x1b0c68}of this['_findSuggestions'](_0xd64afd,_0xea04('0x9a')))if(_0x1b0c68[_0xea04('0xc0')]){if(!_0x1b0c68['isNextTo']){if(_0x1b0c68[_0xea04('0x125')]){if(!this[_0xea04('0xe')]||!Gt(_0x37123f,_0x4aef4b))continue;return _0x37123f;}if(Gt(_0x37123f,_0x4aef4b))return _0x37123f;this[_0xea04('0x44')](_0x37123f,_0xd64afd['start'],_0xd64afd[_0xea04('0x5e')]);break;}if(_0x12d32f==_0x37123f[_0xea04('0x10b')]&&Gt(_0x37123f,_0x4aef4b)){const _0x2eaa44=_0x37123f['getFirstRange']();return _0x2eaa44['start'][_0xea04('0x3a')](_0xd64afd[_0xea04('0x5e')])?this[_0xea04('0x99')](_0x37123f,this['_model'][_0xea04('0x46')](_0xd64afd[_0xea04('0xbd')],_0x2eaa44[_0xea04('0x5e')])):this[_0xea04('0x99')](_0x37123f,this[_0xea04('0xac')][_0xea04('0x46')](_0x2eaa44[_0xea04('0xbd')],_0xd64afd[_0xea04('0x5e')])),_0x37123f;}}const _0x176a6e=_0x5973ad(),_0x36b06c=_0x412486['id'],_0x22228c=_0x12d32f?_0xea04('0x67')+_0x12d32f:'insertion',_0xf1f338=this['_setSuggestionData']({'id':_0x176a6e,'type':_0x22228c,'createdAt':new Date(),'authorId':_0x36b06c,'attributes':_0x4aef4b});return this[_0xea04('0x21')](_0x22228c,_0x176a6e,_0x36b06c,_0xd64afd),_0xf1f338;}['markMultiRangeInsertion'](_0x409873,_0x289c47='multi',_0x12c07f={}){const _0x4cc721=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users')['me'],_0xa15ebd=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x9a'),_0x289c47,_0xea04('0x55'));for(const _0x45c6b3 of this[_0xea04('0x6a')]())if(_0x45c6b3[_0xea04('0x15f')]['id']==_0x4cc721['id']&&_0xea04('0x9a')==_0x45c6b3[_0xea04('0xb9')]&&_0x45c6b3['subType']==_0x289c47&&Gt(_0x45c6b3,_0x12c07f)&&(_0xa15ebd(_0x45c6b3[_0xea04('0x97')](),_0x409873)||_0xa15ebd(_0x409873,_0x45c6b3[_0xea04('0x97')]()))){for(const _0x22dfad of _0x409873)_0x45c6b3[_0xea04('0x16c')](_0x22dfad);return _0x45c6b3;}for(const {suggestion:_0x2dc17b,meta:_0x4ad1bd}of this[_0xea04('0x5b')](_0x409873,_0xea04('0x9a'))){if(!_0x4ad1bd[_0xea04('0xc0')])continue;if(!this[_0xea04('0xe')]&&_0x4ad1bd[_0xea04('0x125')])continue;if(!Gt(_0x2dc17b,_0x12c07f))continue;let _0x53f118=!0x0;for(const _0x4aa609 of _0x2dc17b[_0xea04('0x97')]())for(const _0x12d9d6 of _0x409873)if(!_0x4aa609[_0xea04('0x117')](_0x12d9d6)){_0x53f118=!0x1;break;}if(_0x53f118)return _0x2dc17b;}const _0x227a08=_0x5973ad(),_0x1124f9=_0x4cc721['id'],_0x543f1f='insertion:'+_0x289c47,_0x3a7b26=this[_0xea04('0xf3')]({'id':_0x227a08,'type':_0x543f1f,'createdAt':new Date(),'authorId':_0x1124f9,'attributes':_0x12c07f});for(const _0x5e2c78 of _0x409873)this[_0xea04('0x21')](_0x543f1f,_0x227a08,_0x1124f9,_0x5e2c78,_0x5b9956['getMultiRangeId']());return _0x3a7b26;}[_0xea04('0x16e')](_0x3f8bd2,_0xbffeca,_0x4ac6a3=null,_0x1b906c={}){if(_0x4ac6a3=_0x4ac6a3||Rt(_0xbffeca),_0x3f8bd2[_0xea04('0xdf')])return null;if(_0xea04('0x5a')===this[_0xea04('0x92')]){const _0x1d4f3a=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x10f'),_0x4ac6a3,_0xea04('0xea'));return this['forceDefaultExecution'](()=>_0x1d4f3a([_0x3f8bd2],_0xbffeca,_0x1b906c)),null;}const _0x4b63e8=this[_0xea04('0x17d')]['plugins'][_0xea04('0xb1')](_0xea04('0x42'))['me'],_0x5dac3b=[];if(_0xea04('0x12d')!==this[_0xea04('0x92')])for(const {suggestion:_0x25e3b0,meta:_0x30e2a5}of this[_0xea04('0x5b')](_0x3f8bd2,_0xea04('0x9a')))_0x30e2a5[_0xea04('0xc0')]&&!_0x30e2a5[_0xea04('0x7c')]&&_0x5dac3b[_0xea04('0x9')](..._0x25e3b0['getRanges']());const _0x16d638=function(_0x37b708,_0x4fb49a){const _0x375efc=[];for(const _0x4939e0 of _0x4fb49a){const _0x30896b=_0x37b708[_0xea04('0x115')](_0x4939e0);_0x30896b&&_0x375efc[_0xea04('0x9')](_0x30896b);}return _0x375efc;}(_0x3f8bd2,_0x5dac3b),_0x18c17b=function(_0x1aca39,_0x415067){const _0x59bac1=[_0x1aca39];for(const _0x29bd6d of _0x415067){let _0x433ccd=0x0;for(;_0x433ccd<_0x59bac1[_0xea04('0xa8')];){const _0x35359e=_0x59bac1[_0x433ccd][_0xea04('0x31')](_0x29bd6d);_0x59bac1['splice'](_0x433ccd,0x1,..._0x35359e),_0x433ccd+=_0x35359e[_0xea04('0xa8')];}}return _0x59bac1;}(_0x3f8bd2,_0x5dac3b);_0x16d638['length']&&this[_0xea04('0xac')][_0xea04('0x17f')](()=>{for(const _0x29ff35 of _0x16d638){const _0x3aeb86=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x10f'),_0x4ac6a3,_0xea04('0xea'));this[_0xea04('0x149')](()=>_0x3aeb86([_0x29ff35],_0xbffeca,_0x1b906c));}});for(const _0x1adc8a of _0x18c17b){let _0x505a6a=null,_0x4e4d69=_0x1adc8a[_0xea04('0xbd')],_0x26690a=_0x1adc8a['end'];for(const {suggestion:_0x2134bc,meta:_0x119b8b}of this[_0xea04('0x5b')](_0x1adc8a,_0xea04('0x10f'))){if(!_0x119b8b[_0xea04('0xc0')])continue;if(_0x2134bc[_0xea04('0x10b')]!=_0x4ac6a3)continue;if(!Gt(_0x2134bc,_0x1b906c))continue;const _0x580318=_0x2134bc['getFirstRange']();if(_0x580318[_0xea04('0x117')](_0x1adc8a,!0x0))return null;_0x4e4d69=_0x4e4d69[_0xea04('0x127')](_0x580318[_0xea04('0xbd')])?_0x4e4d69:_0x580318['start'],_0x26690a=_0x26690a[_0xea04('0x9b')](_0x580318[_0xea04('0x5e')])?_0x26690a:_0x580318[_0xea04('0x5e')],_0x505a6a?_0x580318[_0xea04('0xbd')][_0xea04('0x127')](_0x505a6a[_0xea04('0xda')]()[_0xea04('0xbd')])?(_0x505a6a['removeMarkers'](),_0x505a6a=_0x2134bc):_0x2134bc['removeMarkers']():_0x505a6a=_0x2134bc;}const _0x36b95a=this[_0xea04('0xac')][_0xea04('0x46')](_0x4e4d69,_0x26690a);if(_0x505a6a)this[_0xea04('0x99')](_0x505a6a,_0x36b95a);else{const _0x7ce292=_0x5973ad(),_0x2268d9=_0x4b63e8['id'];this['_setSuggestionData']({'id':_0x7ce292,'type':_0xea04('0x136')+_0x4ac6a3,'data':_0xbffeca,'createdAt':new Date(),'authorId':_0x2268d9,'attributes':_0x1b906c}),this[_0xea04('0x21')](_0xea04('0x136')+_0x4ac6a3,_0x7ce292,_0x2268d9,_0x36b95a);}}return null;}['markBlockFormat'](_0x4bb850,_0x4bcb6b,_0x4f407a=[],_0xe95bc7=null,_0x237de6={}){_0x4bcb6b[_0xea04('0xbc')]||(_0x4bcb6b[_0xea04('0xbc')]=_0x4bcb6b['commandName']),_0x4bcb6b['multipleBlocks']=_0x4bb850['is'](_0xea04('0x175')),_0xe95bc7=_0xe95bc7||Rt(_0x4bcb6b);const _0x134b18=_0x4f407a[_0xea04('0xe8')](_0x17f09a=>Ut(_0x17f09a,this['_model'])),_0x37850d=_0x4bb850['is'](_0xea04('0x175'))?_0x4bb850:Ut(_0x4bb850,this['_model']);if(_0xea04('0x5a')===this[_0xea04('0x92')]){const _0xe13d74=this[_0xea04('0x4c')]['getSuggestionCallback']('formatBlock',_0xe95bc7,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0xe13d74([_0x37850d],_0x4bcb6b,_0x237de6)),null;}_0x134b18[_0xea04('0x9')](_0x37850d);let _0x12cb79=!0x0;for(const _0x2cb98a of _0x134b18)if(!this[_0xea04('0x144')](_0x2cb98a)){_0x12cb79=!0x1;break;}if(_0x12cb79&&_0xea04('0x12d')!==this[_0xea04('0x92')]){const _0x175b1e=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x4e'),_0xe95bc7,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x175b1e([_0x37850d],_0x4bcb6b,_0x237de6)),null;}let _0x290809=null,_0x866bd7=_0x37850d[_0xea04('0xbd')],_0x255bd2=_0x37850d[_0xea04('0x5e')];for(const {suggestion:_0x303684,meta:_0x97a274}of this['_findSuggestions'](_0x37850d,'formatBlock')){if(!_0x97a274['isOwn'])continue;if(_0x97a274[_0xea04('0x93')]||_0x97a274[_0xea04('0x125')]||_0x97a274[_0xea04('0x7c')])continue;if(_0x303684['data'][_0xea04('0xbc')]!=_0x4bcb6b['formatGroupId'])continue;if(!Gt(_0x303684,_0x237de6))continue;const _0x5b167a=_0x303684[_0xea04('0xda')]();if(_0x303684['subType']==_0xe95bc7){if(_0x5b167a[_0xea04('0x117')](_0x37850d,!0x0))return null;_0x866bd7=_0x866bd7['isBefore'](_0x5b167a[_0xea04('0xbd')])?_0x866bd7:_0x5b167a[_0xea04('0xbd')],_0x255bd2=_0x255bd2[_0xea04('0x9b')](_0x5b167a[_0xea04('0x5e')])?_0x255bd2:_0x5b167a[_0xea04('0x5e')],_0x290809?_0x5b167a[_0xea04('0xbd')][_0xea04('0x127')](_0x290809[_0xea04('0xda')]()[_0xea04('0xbd')])?(_0x290809[_0xea04('0x1a')](),_0x290809=_0x303684):_0x303684[_0xea04('0x1a')]():_0x290809=_0x303684;}else{const _0x1ddfcd=_0x37850d[_0xea04('0x115')](_0x5b167a);this[_0xea04('0x107')](_0x303684,_0x1ddfcd);}}const _0x58eb49=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me'],_0x317ead=_0x5973ad(),_0x29afc5=_0x58eb49['id'];if(_0x290809)return this[_0xea04('0x99')](_0x290809,this[_0xea04('0xac')][_0xea04('0x46')](_0x866bd7,_0x255bd2)),_0x290809;{const _0x473e34=this[_0xea04('0xf3')]({'id':_0x317ead,'type':'formatBlock:'+_0xe95bc7,'data':_0x4bcb6b,'createdAt':new Date(),'authorId':_0x29afc5,'attributes':_0x237de6});return this['_addSuggestionMarker'](_0xea04('0xcb')+_0xe95bc7,_0x317ead,_0x29afc5,this[_0xea04('0xac')][_0xea04('0x46')](_0x866bd7,_0x255bd2)),_0x473e34;}}[_0xea04('0x83')](_0x15a650,_0x1cbab1,_0x3d7a46=[],_0x4abec8=null,_0x421ad7={}){_0x1cbab1[_0xea04('0xbc')]||(_0x1cbab1['formatGroupId']=_0x1cbab1['commandName']);const _0x32f907=_0x15a650[0x0];_0x1cbab1[_0xea04('0x3d')]=_0x32f907['is'](_0xea04('0x175')),_0x4abec8=_0x4abec8||Rt(_0x1cbab1);const _0xf3c0bc=_0x3d7a46[_0xea04('0xe8')](_0x186b0b=>Ut(_0x186b0b,this[_0xea04('0xac')])),_0x445511=_0x32f907['is'](_0xea04('0x175'))?_0x15a650:_0x15a650[_0xea04('0xe8')](_0x447d46=>Ut(_0x447d46,this[_0xea04('0xac')]));if('never'===this[_0xea04('0x92')]){const _0x33cdf0=this[_0xea04('0x4c')]['getSuggestionCallback']('formatBlock',_0x4abec8,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x33cdf0(_0x445511,_0x1cbab1,_0x421ad7)),null;}_0xf3c0bc[_0xea04('0x9')](..._0x445511);let _0x235b53=!0x0;for(const _0x120a41 of _0xf3c0bc)if(!this[_0xea04('0x144')](_0x120a41)){_0x235b53=!0x1;break;}if(_0x235b53&&_0xea04('0x12d')!==this[_0xea04('0x92')]){const _0x315fe5=this['_suggestionFactory'][_0xea04('0x5f')](_0xea04('0x4e'),_0x4abec8,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x315fe5(_0x445511,_0x1cbab1,_0x421ad7)),null;}const _0x5c3e5d=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users')['me'];for(const _0x32a687 of this[_0xea04('0x6a')]()){if(_0x32a687[_0xea04('0x15f')]['id']!=_0x5c3e5d['id'])continue;if(_0xea04('0x4e')!=_0x32a687[_0xea04('0xb9')]||_0x32a687[_0xea04('0xb0')][_0xea04('0xbc')]!=_0x1cbab1['formatGroupId'])continue;if(!Gt(_0x32a687,_0x421ad7))continue;const _0x29f21c=_0x32a687[_0xea04('0x10b')]==_0x4abec8;for(let _0x5471bd=0x0;_0x5471bd<_0x445511[_0xea04('0xa8')];_0x5471bd++){const _0x325dea=_0x445511[_0x5471bd];for(const _0x3314e2 of _0x32a687[_0xea04('0xcc')]()){const _0x1ed30a=_0x3314e2[_0xea04('0x13b')]();if(_0x325dea[_0xea04('0x3a')](_0x1ed30a)){_0x29f21c?(_0x445511[_0xea04('0x8a')](_0x5471bd,0x1),_0x5471bd--):_0x32a687[_0xea04('0x73')](_0x3314e2[_0xea04('0x22')]);break;}}}}if(0x0==_0x445511[_0xea04('0xa8')])return null;const _0x242169=this['_suggestionFactory'][_0xea04('0x5f')](_0xea04('0x4e'),_0x4abec8,'join');for(const _0x2298e5 of this[_0xea04('0x6a')]())if(_0x2298e5[_0xea04('0x15f')]['id']==_0x5c3e5d['id']&&_0xea04('0x4e')==_0x2298e5[_0xea04('0xb9')]&&_0x2298e5[_0xea04('0xb0')][_0xea04('0xbc')]==_0x1cbab1[_0xea04('0xbc')]&&_0x2298e5['subType']==_0x4abec8&&Gt(_0x2298e5,_0x421ad7)&&(_0x242169(_0x2298e5[_0xea04('0x97')](),_0x445511)||_0x242169(_0x445511,_0x2298e5[_0xea04('0x97')]()))){for(const _0x1d2955 of _0x445511)_0x2298e5[_0xea04('0x16c')](_0x1d2955);return _0x2298e5;}const _0x49e24a=_0x5973ad(),_0x66a3b4=_0x5c3e5d['id'],_0x2bae0c=_0xea04('0xcb')+_0x4abec8,_0x2f74cc=this[_0xea04('0xf3')]({'id':_0x49e24a,'type':_0x2bae0c,'data':_0x1cbab1,'createdAt':new Date(),'authorId':_0x66a3b4,'attributes':_0x421ad7});for(const _0x11fc46 of _0x445511)this[_0xea04('0x21')](_0x2bae0c,_0x49e24a,_0x66a3b4,_0x11fc46,_0x5b9956[_0xea04('0x72')]());return _0x2f74cc;}['markDeletion'](_0x10e9ec,_0x154440=null,_0x45a20e={}){if(_0x10e9ec[_0xea04('0xdf')])return null;const _0x30ff02=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users')['me'],_0x5c6987=new _0x567f7b(_0x10e9ec['start'],_0x10e9ec[_0xea04('0x5e')]);for(const {suggestion:_0x481de3,meta:_0x19f961}of this[_0xea04('0x5b')](_0x5c6987,'insertion'))if(_0x19f961[_0xea04('0xc0')]&&!_0x19f961['isNextTo']){if(_0x481de3[_0xea04('0xa1')]){const _0x579ec4=_0x481de3[_0xea04('0x97')]()[_0xea04('0x88')](_0x5ba148=>'$graveyard'!=_0x5ba148[_0xea04('0x164')][_0xea04('0x113')]);_0x579ec4[_0xea04('0x141')](_0x3bca55=>_0x5c6987[_0xea04('0x117')](_0x3bca55,!0x0))&&_0x481de3['discard']();if(_0x579ec4[_0xea04('0x2c')](_0x2b794a=>_0x2b794a[_0xea04('0x117')](_0x5c6987,!0x0))){const _0x527131=this['_suggestionFactory'][_0xea04('0x5f')]('deletion',_0x154440,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x527131([_0x5c6987],null,_0x45a20e)),null;}}else{const _0x6e963=_0x5c6987['getIntersection'](_0x481de3['getFirstRange']());null!==_0x6e963&&_0x481de3['_onDiscard']([_0x6e963],null,_0x45a20e);}}if(_0x5c6987['detach'](),_0x5c6987['isCollapsed']||_0xea04('0x82')==_0x5c6987[_0xea04('0x164')][_0xea04('0x113')])return null;let _0x574b2d=null,_0x128b55=_0x5c6987['start'],_0x79bb21=_0x5c6987[_0xea04('0x5e')];const _0x1c2adc=this[_0xea04('0x5b')](_0x5c6987,_0xea04('0x56'));for(const {suggestion:_0x3f0e89,meta:_0x5f1bff}of _0x1c2adc){const _0x3bae57=this[_0xea04('0xac')][_0xea04('0x46')](_0x128b55,_0x79bb21);if(_0x5f1bff[_0xea04('0xc0')]&&(this[_0xea04('0xe')]||!_0x5f1bff[_0xea04('0x125')]&&!_0x5f1bff[_0xea04('0x7c')])){if(_0x3f0e89[_0xea04('0xa1')]){if(!Gt(_0x3f0e89,_0x45a20e))continue;let _0x337bc7=!0x0;for(const _0x106eb8 of _0x3f0e89[_0xea04('0x97')]()){if(_0x106eb8[_0xea04('0x117')](_0x3bae57,!0x0))return _0x3f0e89;_0x3bae57[_0xea04('0x117')](_0x106eb8)||(_0x337bc7=!0x1);}_0x337bc7&&_0x3f0e89['discard']();}else{const _0x3ea134=_0x3f0e89[_0xea04('0xda')]();if(_0x3ea134[_0xea04('0x117')](_0x3bae57,!0x0))return _0x3f0e89;if(!Gt(_0x3f0e89,_0x45a20e)){_0x3bae57[_0xea04('0x117')](_0x3ea134)?_0x3f0e89[_0xea04('0x1a')]():_0x3ea134['containsPosition'](_0x128b55)?_0x128b55=_0x3ea134[_0xea04('0x5e')]:_0x3ea134[_0xea04('0x64')](_0x79bb21)&&(_0x79bb21=_0x3ea134[_0xea04('0xbd')]);continue;}_0x128b55=_0x128b55['isBefore'](_0x3ea134[_0xea04('0xbd')])?_0x128b55:_0x3ea134['start'],_0x79bb21=_0x79bb21['isAfter'](_0x3ea134[_0xea04('0x5e')])?_0x79bb21:_0x3ea134[_0xea04('0x5e')],_0x45a20e=Object[_0xea04('0x153')]({},_0x3f0e89[_0xea04('0x146')]),_0x574b2d?_0x3ea134[_0xea04('0xbd')][_0xea04('0x127')](_0x574b2d['getFirstRange']()['start'])?(_0x574b2d['removeMarkers'](),_0x574b2d=_0x3f0e89):_0x3f0e89[_0xea04('0x1a')]():_0x574b2d=_0x3f0e89;}}}if(_0x574b2d)return this[_0xea04('0x99')](_0x574b2d,this[_0xea04('0xac')][_0xea04('0x46')](_0x128b55,_0x79bb21)),_0x574b2d;{const _0x1325fd=_0x5973ad(),_0x15abb9=this[_0xea04('0xac')][_0xea04('0x46')](_0x128b55,_0x79bb21),_0x16a387=_0x30ff02['id'],_0x5199cd=_0x154440?_0xea04('0x34')+_0x154440:_0xea04('0x56'),_0x1801a2=this[_0xea04('0xf3')]({'id':_0x1325fd,'type':_0x5199cd,'createdAt':new Date(),'authorId':_0x16a387,'attributes':_0x45a20e});return this['_addSuggestionMarker'](_0x5199cd,_0x1325fd,_0x16a387,_0x15abb9),_0x1801a2;}}[_0xea04('0x2f')](_0x1516c6,_0x23f2f2=_0xea04('0x69'),_0x231b91={}){const _0x36d851=this['editor'][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me'],_0xaf2790=_0x1516c6['map'](_0x234e3a=>new _0x567f7b(_0x234e3a[_0xea04('0xbd')],_0x234e3a['end'])),_0x15c0fd=new Set();for(const {suggestion:_0x1e26a7,meta:_0x495806}of this[_0xea04('0x5b')](_0xaf2790,_0xea04('0x9a')))_0x495806[_0xea04('0xc0')]&&!_0x495806[_0xea04('0x93')]&&_0x15c0fd[_0xea04('0x8e')](_0x1e26a7);for(const _0x211e84 of _0x15c0fd)if(_0x211e84[_0xea04('0xa1')]){const _0x38f09d=_0x211e84[_0xea04('0x97')]();(!_0x211e84[_0xea04('0x146')]||!_0x211e84[_0xea04('0x146')][_0xea04('0xd4')])&&(_0x38f09d['every'](_0xf6ba3d=>_0xaf2790[_0xea04('0x2c')](_0x4e0ff8=>_0x4e0ff8[_0xea04('0x117')](_0xf6ba3d,!0x0)))&&_0x211e84[_0xea04('0x109')]());if(_0xaf2790['every'](_0x276feb=>_0x38f09d[_0xea04('0x2c')](_0x12d450=>_0x12d450[_0xea04('0x117')](_0x276feb,!0x0)))){const _0xce137=this[_0xea04('0x4c')][_0xea04('0x5f')]('deletion',_0x23f2f2,_0xea04('0xea'));return this['forceDefaultExecution'](()=>_0xce137(_0x1516c6,null,_0x231b91)),null;}}else{const _0x36ec4e=_0x211e84[_0xea04('0xda')]();_0xaf2790['some'](_0x4c2867=>_0x4c2867[_0xea04('0x117')](_0x36ec4e,!0x0))&&_0x211e84[_0xea04('0x109')]();if(_0xaf2790[_0xea04('0x141')](_0x43b3d4=>_0x36ec4e[_0xea04('0x117')](_0x43b3d4,!0x0))){const _0x5184e8=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x56'),_0x23f2f2,'accept');return this[_0xea04('0x149')](()=>_0x5184e8(_0xaf2790,null,_0x231b91)),null;}}const _0x1becb6=this['_suggestionFactory'][_0xea04('0x5f')](_0xea04('0x56'),_0x23f2f2,'join');let _0x3bffcd=null;for(const _0x2417ef of this[_0xea04('0x6a')]())if(_0x2417ef[_0xea04('0x15f')]['id']==_0x36d851['id']&&_0x2417ef[_0xea04('0x124')]&&_0xea04('0x56')==_0x2417ef[_0xea04('0xb9')]&&_0x2417ef[_0xea04('0x10b')]==_0x23f2f2&&Gt(_0x2417ef,_0x231b91)&&(_0x1becb6(_0x2417ef['getRanges'](),_0xaf2790)||_0x1becb6(_0xaf2790,_0x2417ef[_0xea04('0x97')]()))){if(_0x3bffcd){if(_0x2417ef[_0xea04('0x2b')]&&_0x2417ef[_0xea04('0x2b')][_0xea04('0xa8')])continue;for(const _0x1a467c of _0x2417ef[_0xea04('0x97')]())_0x3bffcd[_0xea04('0x137')](_0x1a467c)||_0x3bffcd[_0xea04('0x16c')](_0x1a467c);_0x2417ef[_0xea04('0x1a')]();}else{_0x3bffcd=_0x2417ef;for(const _0x14ae58 of _0xaf2790)_0x2417ef[_0xea04('0x137')](_0x14ae58)||_0x2417ef[_0xea04('0x16c')](_0x14ae58);}}if(_0x3bffcd)return _0x3bffcd;_0x15c0fd[_0xea04('0x112')]();for(const {suggestion:_0x1fec3a,meta:_0x2f9e7d}of this[_0xea04('0x5b')](_0xaf2790,'deletion'))_0x2f9e7d[_0xea04('0xc0')]&&(this['_mergeNestedSuggestions']||!_0x2f9e7d['containsRangeInObject']&&!_0x2f9e7d['isInsideObject'])&&Gt(_0x1fec3a,_0x231b91)&&_0x15c0fd[_0xea04('0x8e')](_0x1fec3a);for(const _0x4ba78f of _0x15c0fd){const _0x1d9b5c=_0x4ba78f['getRanges']();if(!_0x231b91||!_0x231b91['skipNestingCheck']){if(_0xaf2790['every'](_0x5ba589=>_0x1d9b5c[_0xea04('0x2c')](_0x478e96=>_0x478e96[_0xea04('0x117')](_0x5ba589,!0x0))))return _0x4ba78f;}(!_0x4ba78f[_0xea04('0x146')]||!_0x4ba78f[_0xea04('0x146')]['skipNestingCheck'])&&(_0x1d9b5c[_0xea04('0x141')](_0x1993e4=>_0xaf2790[_0xea04('0x2c')](_0x4b7a87=>_0x4b7a87['containsRange'](_0x1993e4,!0x0)))&&_0x4ba78f['discard']());}const _0xc92b85=_0x5973ad(),_0x51c2b2=_0x36d851['id'],_0xf1ac96=_0xea04('0x34')+_0x23f2f2,_0x51d1a3=this[_0xea04('0xf3')]({'id':_0xc92b85,'type':_0xf1ac96,'createdAt':new Date(),'authorId':_0x51c2b2,'attributes':_0x231b91});for(const _0x5bc8a1 of _0xaf2790)_0x5bc8a1[_0xea04('0x3f')](),_0x5bc8a1[_0xea04('0xdf')]||_0xea04('0x82')==_0x5bc8a1['root'][_0xea04('0x113')]||this[_0xea04('0x21')](_0xf1ac96,_0xc92b85,_0x51c2b2,_0x5bc8a1,_0x5b9956[_0xea04('0x72')]());return _0x51d1a3;}[_0xea04('0x14d')](_0x3af865,_0x1586d4,_0x1347cd,_0x55cb70,_0x220645){if(_0x3af865[_0xea04('0xdf')])return[];if(_0xea04('0x5a')===this[_0xea04('0x92')])return[];const _0x96ddf0=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me']['id'],_0x5020b1=Array[_0xea04('0xff')](this[_0xea04('0xf0')][_0xea04('0x128')]())['filter'](_0x1672b8=>_0xea04('0x168')==_0x1672b8[_0xea04('0xb9')]&&_0x1672b8['data']['key']==_0x1586d4&&_0x1672b8[_0xea04('0x137')](_0x3af865));if(_0xea04('0xd0')===this['_trackFormatChanges']){const _0x136f0e=this[_0xea04('0x5b')](_0x3af865,_0xea04('0x9a'))[_0xea04('0x88')](({meta:_0x140a22})=>_0x140a22[_0xea04('0xc0')]&&!_0x140a22['isInsideObject']&&!_0x140a22['isNextTo'])[_0xea04('0xe8')](({suggestion:_0x374a9b})=>_0x374a9b);_0x5020b1[_0xea04('0x177')](..._0x136f0e);}const _0x555012=new Map([[_0x3af865,_0x1347cd]]);for(const _0x2795ad of _0x5020b1){const _0x55af2f='attribute'==_0x2795ad[_0xea04('0xb9')]?_0x2795ad[_0xea04('0xb0')][_0xea04('0x75')]:void 0x0,_0x4a9ccb=_0x2795ad[_0xea04('0xda')](),_0xd79777=Array['from'](_0x555012[_0xea04('0x15')]())[_0xea04('0x23')](_0x207801=>_0x207801[_0xea04('0x123')](_0x4a9ccb));if(!_0xd79777)continue;const _0x5eb70a=_0xd79777['getDifference'](_0x4a9ccb);this[_0xea04('0x54')](_0x1586d4)&&_0xea04('0x9a')==_0x2795ad[_0xea04('0xb9')]&&0x0!=_0x5eb70a['length']||(_0x555012['delete'](_0xd79777),_0x5eb70a[_0xea04('0x15b')](_0x7bd8ae=>{_0x555012[_0xea04('0x133')](_0x7bd8ae,_0x1347cd);}),_0xea04('0x9a')!=_0x2795ad[_0xea04('0xb9')]&&_0x55af2f!=_0x55cb70&&_0x555012[_0xea04('0x133')](_0xd79777[_0xea04('0x115')](_0x4a9ccb),_0x55af2f));}const _0x347186=[];for(const [_0x36b059,_0x5e18b1]of _0x555012){const _0x24f707=_0x5973ad(),_0x4a1e2a={'key':_0x1586d4,'oldValue':_0x5e18b1,'newValue':_0x55cb70};_0x1586d4['length']>0x25&&console[_0xea04('0xed')](_0xea04('0xf1'),{'key':_0x1586d4});const _0x508209=(_0xea04('0xf9')+(_0x1586d4+'|'+Rt({'newValue':_0x55cb70})))[_0xea04('0x87')](0x0,0x3c),_0x3234e1=this[_0xea04('0xf3')]({'id':_0x24f707,'type':_0x508209,'data':_0x4a1e2a,'createdAt':new Date(),'authorId':_0x96ddf0,'attributes':_0x220645});_0x347186[_0xea04('0x9')](_0x3234e1),this[_0xea04('0x21')](_0x508209,_0x24f707,_0x96ddf0,_0x36b059);}return _0x347186;}['_registerBlockAttribute'](_0x3b750a){this[_0xea04('0xb6')][_0xea04('0x8e')](_0x3b750a);}[_0xea04('0x20')](_0x366b1d){this['_inlineAttributeKeys'][_0xea04('0x8e')](_0x366b1d);}[_0xea04('0x104')](_0x452d47,_0x3e6ca0=[],_0x21000a=[]){this[_0xea04('0x98')](_0x452d47,(_0x51713f,..._0x9f8c88)=>{this[_0xea04('0x40')](()=>{_0x51713f(..._0x9f8c88);});});for(const _0x33bf02 of _0x3e6ca0)this['_registerInlineAttribute'](_0x33bf02);for(const _0xf8380f of _0x21000a)this[_0xea04('0x94')](_0xf8380f);}[_0xea04('0x99')](_0x10dc98,_0x1ec16c){const _0x174308=_0x10dc98[_0xea04('0xfa')]();this[_0xea04('0xac')][_0xea04('0x17f')](_0x535257=>{_0x535257['updateMarker'](_0x174308,{'range':_0x1ec16c});});}['_addThreadToSuggestion'](_0x4a4800){const _0xf0b48c=_0x4a4800['id'],_0x3bff90=this[_0xea04('0x17d')][_0xea04('0xa7')][_0xea04('0xb1')](_0xea04('0xe7'));this[_0xea04('0x154')]['hasCommentThread'](_0xf0b48c)||this[_0xea04('0x154')][_0xea04('0x68')]({'channelId':_0x3bff90,'threadId':_0xf0b48c,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x22c50a=this[_0xea04('0x154')][_0xea04('0x4d')](_0xf0b48c);_0x22c50a[_0xea04('0x10')](_0xea04('0x114')),_0x22c50a[_0xea04('0x114')]=!0x1,_0x4a4800[_0xea04('0x2b')]=_0x22c50a;}[_0xea04('0x2e')](_0x5c838a,_0x414846,_0xe9a6c4,_0x2131e7){if(_0x5c838a['type']!=_0x414846||_0x5c838a[_0xea04('0x10b')]!=_0xe9a6c4||_0x5c838a[_0xea04('0xdb')]['id']!=_0x2131e7)throw this[_0xea04('0x17d')][_0xea04('0x5')]('track-changes-suggestion-data-mismatch'),new _0x588824(_0xea04('0x65'),this);}[_0xea04('0x107')](_0x5b84ec,_0x53c48d){const _0x1099d2=_0x5b84ec['getFirstRange']();if(_0x53c48d[_0xea04('0x3a')](_0x1099d2))_0x5b84ec[_0xea04('0x1a')]();else{if(_0x1099d2[_0xea04('0x117')](_0x53c48d)){const _0x33bd26=this['_model'][_0xea04('0x11c')](_0x53c48d[_0xea04('0xbd')][_0xea04('0x53')],_0xea04('0x5e'));this[_0xea04('0x99')](_0x5b84ec,this[_0xea04('0xac')][_0xea04('0x46')](_0x1099d2[_0xea04('0xbd')],_0x33bd26));const _0x1499d1=_0x5973ad(),_0x1646e8=_0x5b84ec[_0xea04('0xdb')]['id'],_0x499d78=_0x5b84ec['type']+':'+_0x5b84ec[_0xea04('0x10b')];this[_0xea04('0xf3')]({'id':_0x1499d1,'type':_0x499d78,'createdAt':new Date(),'authorId':_0x1646e8,'data':_0x5b84ec[_0xea04('0xb0')],'attributes':_0x5b84ec[_0xea04('0x146')]});const _0x39d907=this[_0xea04('0xac')][_0xea04('0x11c')](_0x53c48d[_0xea04('0x5e')]['parent'],_0xea04('0xa2')),_0x61193=this['_model']['createRange'](_0x39d907,_0x1099d2[_0xea04('0x5e')]);this[_0xea04('0x21')](_0x499d78,_0x1499d1,_0x1646e8,_0x61193);}else{if(_0x1099d2['containsPosition'](_0x53c48d['start'])){const _0xa7c79=this[_0xea04('0xac')][_0xea04('0x11c')](_0x53c48d[_0xea04('0xbd')][_0xea04('0x53')],'end');this[_0xea04('0x99')](_0x5b84ec,this[_0xea04('0xac')][_0xea04('0x46')](_0x1099d2[_0xea04('0xbd')],_0xa7c79));}else{const _0xc9f3b=this[_0xea04('0xac')][_0xea04('0x11c')](_0x53c48d[_0xea04('0x5e')]['parent'],'after');this['_setSuggestionRange'](_0x5b84ec,this[_0xea04('0xac')][_0xea04('0x46')](_0xc9f3b,_0x1099d2[_0xea04('0x5e')]));}}}}['_rangeIsInLocalUserInsertion'](_0x3ec3be){for(const {suggestion:_0x3ceaf6,meta:_0x7586e5}of this[_0xea04('0x5b')](_0x3ec3be,'insertion')){if(!_0x7586e5['isOwn'])continue;const _0xdac560=_0x3ceaf6[_0xea04('0x97')]();for(const _0x5b28eb of _0xdac560)if(!_0x3ec3be[_0xea04('0x31')](_0x5b28eb)[_0xea04('0xa8')])return!0x0;}return!0x1;}[_0xea04('0x132')](_0x47a0e1){const _0x2be975=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))[_0xea04('0xcd')](_0x47a0e1);if(!_0x2be975)throw new _0x588824(_0xea04('0x130'),this);return _0x2be975;}['_getExternalAuthor'](_0xf5cefa){const _0x3488ef=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users'),_0xc8f729=_0x5a38d7(_0xea04('0xa4')+_0xf5cefa),_0x4f37fb=_0x3488ef['getUser'](_0xc8f729);return _0x4f37fb||_0x3488ef[_0xea04('0x176')]({'id':_0xc8f729,'name':_0xf5cefa});}['_createSuggestion'](_0x214138,_0x27e47b,_0x464607,_0x4ac5aa,_0x30c73a){const _0x16aafd=this[_0xea04('0x132')](_0x4ac5aa),_0x368412=this['_suggestionFactory'][_0xea04('0xa0')](_0x214138,_0x27e47b,_0x464607,_0x16aafd,_0x30c73a,_0x58e5e1=>this['_updateSuggestionData'](_0x464607,{'attributes':_0x58e5e1}));return this[_0xea04('0x13d')](_0x368412,_0xea04('0xea'),()=>{this['_updateSuggestionData'](_0x464607,{'state':_0xea04('0x6f')});},{'priority':_0xea04('0x86')}),this['listenTo'](_0x368412,'discard',()=>{this[_0xea04('0xa9')](_0x464607,{'state':_0xea04('0x48')});},{'priority':_0xea04('0x86')}),this[_0xea04('0xf0')][_0xea04('0x133')](_0x464607,_0x368412),this[_0xea04('0x10e')][_0xea04('0x133')](_0x368412,'notReady'),_0x368412;}[_0xea04('0x79')](_0xcb6125){const _0x484028=_0xcb6125[_0xea04('0x14f')](':');return{'group':_0x484028[0x0],'type':_0x484028[0x1],'subType':_0x484028['length']>=0x5?_0x484028[0x2]:null,'id':_0x484028['length']<0x5?_0x484028[0x2]:_0x484028[0x3],'authorId':_0x484028[_0xea04('0xa8')]<0x5?_0x484028[0x3]:_0x484028[0x4],'markerCount':0x6==_0x484028[_0xea04('0xa8')]?_0x484028[0x5]:null};}[_0xea04('0x44')](_0x521794,_0x2bdacc,_0x427de8){const _0x30a62e=_0x521794[_0xea04('0xda')](),_0x1badf9=_0x30a62e[_0xea04('0xbd')],_0x1b400f=_0x30a62e['end'];this['_setSuggestionRange'](_0x521794,this[_0xea04('0xac')][_0xea04('0x46')](_0x1badf9,_0x2bdacc));const _0x11ba2b=_0x5973ad(),_0x7ac4fa=_0x521794[_0xea04('0xdb')]['id'],_0x5310ae=_0x521794[_0xea04('0xb9')]+(_0x521794[_0xea04('0x10b')]?':'+_0x521794['subType']:'');this[_0xea04('0xf3')]({'id':_0x11ba2b,'type':_0x5310ae,'createdAt':new Date(),'authorId':_0x7ac4fa,'originalSuggestionId':_0x521794['id'],'attributes':_0x521794['attributes'],'data':_0x521794[_0xea04('0xb0')]});const _0x2d479e=Pt(_0x521794);(_0xea04('0x4e')==_0x521794['type']||_0x2d479e&&this[_0xea04('0x54')](_0x2d479e))&&(_0x427de8=this[_0xea04('0xac')][_0xea04('0x3e')](_0x427de8[_0xea04('0x91')])),this[_0xea04('0x21')](_0x5310ae,_0x11ba2b,_0x7ac4fa,this['_model'][_0xea04('0x46')](_0x427de8,_0x1b400f));}[_0xea04('0x5b')](_0x5055ad,_0x211cfa=null){const _0x4ef0d6=[],_0x90cc42=this[_0xea04('0x17d')][_0xea04('0x165')]['get']('Users')['me'];Array[_0xea04('0x13a')](_0x5055ad)||(_0x5055ad=[_0x5055ad]);for(const _0x27fd8e of this[_0xea04('0x6a')]()){if(!_0x27fd8e['isInContent'])continue;if(_0x211cfa&&_0x27fd8e[_0xea04('0xb9')]!=_0x211cfa)continue;let _0x3b52f7=!0x1;for(const _0x14f395 of _0x27fd8e[_0xea04('0x97')]()){for(const _0xe05461 of _0x5055ad){const _0x20877c=_0xe05461['start']['isEqual'](_0x14f395['end'])||_0xe05461[_0xea04('0x5e')][_0xea04('0x3a')](_0x14f395[_0xea04('0xbd')]);if(_0x20877c||_0xe05461[_0xea04('0x115')](_0x14f395)){const _0x4f155a=_0xe05461['containsRange'](_0x14f395)&&Tt(this['_model'][_0xea04('0xc9')],_0x14f395['start'],_0xe05461),_0x599705=_0x14f395[_0xea04('0x117')](_0xe05461)&&Tt(this[_0xea04('0xac')]['schema'],_0xe05461[_0xea04('0xbd')],_0x14f395);_0x4ef0d6[_0xea04('0x9')]({'suggestion':_0x27fd8e,'meta':{'isOwn':_0x90cc42==_0x27fd8e[_0xea04('0x15f')],'isNextTo':_0x20877c,'isInsideObject':_0x4f155a,'containsRangeInObject':_0x599705}}),_0x3b52f7=!0x0;break;}}if(_0x3b52f7)break;}}return _0x4ef0d6;}[_0xea04('0x21')](_0xd7ae7e,_0x3c7451,_0x45959f,_0x51100e,_0x4486c4){this[_0xea04('0xac')]['change'](_0x44d256=>{let _0x564f3e=_0xea04('0x2a')+_0xd7ae7e+':'+_0x3c7451+':'+_0x45959f;_0x4486c4&&(_0x564f3e=_0x564f3e+':'+_0x4486c4),_0x44d256[_0xea04('0x51')](_0x564f3e,{'range':_0x51100e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xea04('0x24')](_0x47a080){const _0x6ff786=_0x47a080[_0xea04('0x1')],_0x102757=_0x47a080[_0xea04('0xf8')];_0x47a080[_0xea04('0x1')]=null,_0x47a080[_0xea04('0xf8')]=null,null!=_0x6ff786&&(_0x6ff786[_0xea04('0xf8')]=_0x102757),null!=_0x102757&&(_0x102757[_0xea04('0x1')]=_0x6ff786),_0xea04('0xde')==this[_0xea04('0x10e')][_0xea04('0xb1')](_0x47a080)&&(this['_suggestionState'][_0xea04('0x133')](_0x47a080,'removed'),this[_0xea04('0xf2')](_0xea04('0x41'),_0x47a080,_0x6ff786,_0x102757));}[_0xea04('0xf3')](_0x24cafe){const _0x49903e=_0x24cafe['id'],_0x29395d=this[_0xea04('0x52')](_0x24cafe);if(this['_adapter']&&this[_0xea04('0x159')][_0xea04('0x13f')]){const _0x153b9c=this[_0xea04('0x17d')][_0xea04('0x165')]['get']('PendingActions'),_0x2d87a2=_0x29395d['hasComments'],_0x19e032=_0x29395d[_0xea04('0x10b')]?_0x29395d['type']+':'+_0x29395d[_0xea04('0x10b')]:_0x29395d[_0xea04('0xb9')],_0x5d4515=this['editor'][_0xea04('0x62')],_0x354476=_0x153b9c[_0xea04('0x8e')](_0x4b9969(_0x5d4515,_0xea04('0xd8'))),_0x20f64e={'id':_0x49903e,'type':_0x19e032,'hasComments':_0x2d87a2,'data':_0x24cafe['data']||null,'originalSuggestionId':_0x24cafe[_0xea04('0x17c')]||null,'attributes':_0x29395d[_0xea04('0x146')]};this['_adapter'][_0xea04('0x13f')](_0x20f64e)[_0xea04('0x50')](_0x532b66=>{_0x29395d[_0xea04('0x110')]=!0x0,_0x153b9c['remove'](_0x354476),_0x532b66&&_0x532b66[_0xea04('0x148')]&&(this[_0xea04('0xf0')]['get'](_0x49903e)[_0xea04('0x148')]=_0x532b66[_0xea04('0x148')]);})[_0xea04('0xd7')](_0x20012a=>{throw _0x33f7d9('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0xea04('0x96')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x29395d[_0xea04('0x109')]();}),_0x29395d[_0xea04('0x16b')](),this[_0xea04('0xf0')][_0xea04('0x174')](_0x29395d['id']),this[_0xea04('0x10e')][_0xea04('0x174')](_0x29395d),_0x20012a;});}return _0x29395d;}[_0xea04('0x54')](_0x187fdd){return this['_blockAttributeKeys'][_0xea04('0x11b')](_0x187fdd);}[_0xea04('0xa9')](_0x233d59,_0x4f4b1b){const _0x426367=this['editor'][_0xea04('0x165')]['get']('PendingActions'),_0x38faef=this['getSuggestion'](_0x233d59);if(this[_0xea04('0x159')]&&this[_0xea04('0x159')][_0xea04('0x84')]){if(_0x38faef[_0xea04('0x110')]){const _0x50581e=_0x426367[_0xea04('0x8e')](_0x4b9969(this['editor'][_0xea04('0x62')],_0xea04('0xd8')));this[_0xea04('0x159')][_0xea04('0x84')](_0x233d59,_0x4f4b1b)[_0xea04('0x50')](()=>{_0x426367[_0xea04('0xc3')](_0x50581e);});}else _0x38faef['on'](_0xea04('0x173'),()=>{this[_0xea04('0xa9')](_0x233d59,_0x4f4b1b);});}}[_0xea04('0xb3')](_0x5a4622){if(!this['_adapter']||!this[_0xea04('0x159')][_0xea04('0xaf')])throw new _0x588824(_0xea04('0x14c'),this);return this[_0xea04('0x159')][_0xea04('0xaf')](_0x5a4622);}['_handleNewSuggestionMarker'](_0x31c7aa){const {id:_0xd72624,type:_0x3e3078,subType:_0x40a514,authorId:_0x49376c}=this[_0xea04('0x79')](_0x31c7aa),_0x83df1e=this[_0xea04('0xf0')][_0xea04('0xb1')](_0xd72624)||this[_0xea04('0xe4')](_0x3e3078,_0x40a514,_0xd72624,_0x49376c,{});switch(this[_0xea04('0x2e')](_0x83df1e,_0x3e3078,_0x40a514,_0x49376c),this['_suggestionState'][_0xea04('0xb1')](_0x83df1e)){case _0xea04('0x3'):this[_0xea04('0xb3')](_0xd72624)[_0xea04('0x50')](_0x23d8a9=>{let _0x302a2c=Promise['resolve']();_0x23d8a9[_0xea04('0xee')]&&(_0x302a2c=this['_commentsRepository'][_0xea04('0xbe')]({'channelId':this[_0xea04('0x17d')][_0xea04('0xa7')]['get'](_0xea04('0xe7')),'threadId':_0xd72624})),_0x302a2c[_0xea04('0x50')](()=>{this[_0xea04('0x52')](_0x23d8a9)[_0xea04('0x110')]=!0x0;});}),this[_0xea04('0x10e')]['set'](_0x83df1e,'markerReady');break;case _0xea04('0x43'):this['_updateSuggestionData'](_0xd72624,{'state':_0xea04('0xc4')});case _0xea04('0x0'):this['_suggestionState'][_0xea04('0x133')](_0x83df1e,_0xea04('0xde')),this[_0xea04('0xf2')](_0xea04('0x1b'),_0x83df1e);break;case'ready':this[_0xea04('0xf2')](_0xea04('0x30'),_0x83df1e);}return _0x83df1e[_0xea04('0x35')](_0x31c7aa),_0x83df1e;}['_refreshSuggestionsChain'](_0x5569a0){const _0x4514ef=Array[_0xea04('0xff')](_0x5569a0),_0x4f0d9d=_0x4514ef[_0xea04('0x88')](_0x19821f=>_0xea04('0x168')==_0x19821f[_0xea04('0xb9')]);this[_0xea04('0x25')](_0x4f0d9d);const _0x2e8b79=_0x4514ef[_0xea04('0x88')](_0x33c7c5=>!_0x33c7c5[_0xea04('0xa1')]&&'attribute'!=_0x33c7c5[_0xea04('0xb9')]),_0x2a3c48=this[_0xea04('0x6a')]({'skipNotAttached':!0x0})['filter'](_0x4a4c60=>!_0x4a4c60[_0xea04('0xa1')]&&_0xea04('0x168')!=_0x4a4c60['type']),_0x2fa999=_0x2a3c48[_0xea04('0x88')](_0x4499f8=>!_0x5569a0[_0xea04('0x11b')](_0x4499f8)),_0x3476dc=new Map(_0x2a3c48[_0xea04('0xe8')](_0x3cbc4e=>[_0x3cbc4e,this['_suggestionFactory'][_0xea04('0x5f')](_0x3cbc4e[_0xea04('0xb9')],_0x3cbc4e[_0xea04('0x10b')],_0xea04('0x100'))])),_0x3dabf2=new Map(_0x2a3c48[_0xea04('0xe8')](_0x5b4b46=>[_0x5b4b46,_0x5b4b46['getFirstRange']()])),_0x444b92=new Set(),_0x5b5c86=new Set();for(let _0x5acc92=0x0;_0x5acc92<_0x2e8b79[_0xea04('0xa8')];_0x5acc92++)_0x2326f2(_0x2e8b79[_0x5acc92],_0x2e8b79,_0x5acc92+0x1);for(let _0x5a34ae=0x0;_0x5a34ae<_0x2e8b79[_0xea04('0xa8')];_0x5a34ae++)_0x2326f2(_0x2e8b79[_0x5a34ae],_0x2fa999,0x0);const _0x41c78c=new Set();for(let _0x5b464c=0x0;_0x5b464c<_0x2e8b79[_0xea04('0xa8')];_0x5b464c++){const _0x4bc5b9=_0x2e8b79[_0x5b464c];!_0x5b5c86[_0xea04('0x11b')](_0x4bc5b9)&&_0x4bc5b9[_0xea04('0x1')]&&(_0x41c78c[_0xea04('0x8e')](_0x4bc5b9['previous']),_0x4bc5b9['previous'][_0xea04('0xf8')]===_0x4bc5b9&&(_0x4bc5b9['previous'][_0xea04('0xf8')]=null),_0x4bc5b9[_0xea04('0x1')]=null),!_0x444b92[_0xea04('0x11b')](_0x4bc5b9)&&_0x4bc5b9[_0xea04('0xf8')]&&(_0x41c78c[_0xea04('0x8e')](_0x4bc5b9[_0xea04('0xf8')]),_0x4bc5b9['next'][_0xea04('0x1')]===_0x4bc5b9&&(_0x4bc5b9[_0xea04('0xf8')][_0xea04('0x1')]=null),_0x4bc5b9[_0xea04('0xf8')]=null);}function _0x2326f2(_0x4c8f6d,_0x31f7e7,_0x2c255d){for(let _0x1fcdb3=_0x2c255d;_0x1fcdb3<_0x31f7e7[_0xea04('0xa8')];_0x1fcdb3++){const _0x206b3f=_0x1eca4a(_0x4c8f6d,_0x31f7e7[_0x1fcdb3]);_0x206b3f&&(_0x206b3f[0x0][_0xea04('0xf8')]=_0x206b3f[0x1],_0x206b3f[0x1][_0xea04('0x1')]=_0x206b3f[0x0],_0x444b92[_0xea04('0x8e')](_0x206b3f[0x0]),_0x5b5c86[_0xea04('0x8e')](_0x206b3f[0x1]));}}function _0x1eca4a(_0x12cf71,_0x3aaf13){if(_0x12cf71['author']['id']!==_0x3aaf13[_0xea04('0x15f')]['id'])return null;const _0x1fed2c=_0x3476dc[_0xea04('0xb1')](_0x12cf71)(_0x12cf71,_0x3aaf13,_0x3dabf2[_0xea04('0xb1')](_0x12cf71),_0x3dabf2[_0xea04('0xb1')](_0x3aaf13));if(!_0x1fed2c)return null;return _0x3476dc[_0xea04('0xb1')](_0x3aaf13)(_0x12cf71,_0x3aaf13,_0x3dabf2['get'](_0x12cf71),_0x3dabf2[_0xea04('0xb1')](_0x3aaf13))?_0x1fed2c[0x1][_0xea04('0x2b')]&&_0x1fed2c[0x1][_0xea04('0x2b')]['length']?null:_0x1fed2c:null;}_0x41c78c['size']&&this[_0xea04('0x158')](_0x41c78c);}[_0xea04('0x25')](_0x3f808c){if(0x0==_0x3f808c[_0xea04('0xa8')])return;const _0x27a928=this[_0xea04('0x6a')]({'skipNotAttached':!0x0})[_0xea04('0x88')](_0x5d1429=>_0xea04('0x168')==_0x5d1429[_0xea04('0xb9')]&&_0x5d1429[_0xea04('0x14a')]),_0x23c1f1=[],_0x503cc8=new Map();for(const _0x2ddc29 of _0x27a928){const _0xa04c48=_0x5a38d7(_0x2ddc29[_0xea04('0x146')]);_0x503cc8[_0xea04('0x11b')](_0xa04c48)||(_0x503cc8[_0xea04('0x133')](_0xa04c48,_0x23c1f1[_0xea04('0xa8')]),_0x23c1f1[_0xea04('0x9')]([]));const _0x2ca62a=_0x503cc8[_0xea04('0xb1')](_0xa04c48);_0x23c1f1[_0x2ca62a][_0xea04('0x9')](_0x2ddc29);}!function(){_0x23c1f1[_0xea04('0xe3')]((_0x5df2e5,_0xc696c5)=>{const _0x5c52ae=_0x5df2e5[0x0][_0xea04('0x148')],_0x39ebec=_0xc696c5[0x0]['createdAt'];return _0x5c52ae==_0x39ebec?_0x5df2e5[0x0]['attributes']['groupId']<_0xc696c5[0x0][_0xea04('0x146')][_0xea04('0xca')]?-0x1:0x1:_0x5c52ae<_0x39ebec?-0x1:0x1;});for(const _0x15ea33 of _0x23c1f1)_0x15ea33[_0xea04('0xe3')]((_0x438db4,_0x11e0e2)=>_0x438db4['id']<_0x11e0e2['id']?-0x1:0x1);}();for(let _0x5ec04f=0x0;_0x5ec04f<_0x23c1f1[_0xea04('0xa8')];_0x5ec04f++){if(0x0==_0x23c1f1[_0x5ec04f][_0xea04('0xa8')])continue;const _0x3bb358=[];for(let _0x48ebdf=_0x5ec04f+0x1;_0x48ebdf<_0x23c1f1[_0xea04('0xa8')];_0x48ebdf++)0x0!=_0x23c1f1[_0x48ebdf]['length']&&_0x5d131c(_0x23c1f1[_0x5ec04f],_0x23c1f1[_0x48ebdf])&&_0x3bb358[_0xea04('0x9')](_0x48ebdf);for(const _0x3ca562 of _0x3bb358)_0x23c1f1[_0x5ec04f]=_0x23c1f1[_0x5ec04f]['concat'](_0x23c1f1[_0x3ca562]),_0x23c1f1[_0x3ca562]=[];}for(const _0x5ef955 of _0x23c1f1)for(let _0xaf470e=0x0;_0xaf470e<_0x5ef955['length'];_0xaf470e++)_0x5ef955[_0xaf470e][_0xea04('0xf8')]=_0x5ef955[_0xaf470e+0x1]||null;for(const _0x4266ce of _0x23c1f1)for(let _0x3ff734=0x0;_0x3ff734<_0x4266ce['length'];_0x3ff734++)_0x4266ce[_0x3ff734]['previous']=_0x4266ce[_0x3ff734-0x1]||null;function _0x5d131c(_0x2c6183,_0x16036f){if(_0x2c6183[0x0][_0xea04('0x15f')]!==_0x16036f[0x0][_0xea04('0x15f')])return!0x1;if(!function(_0xd9810a,_0x2b95a9){if(!_0xd9810a[_0xea04('0xee')]&&!_0x2b95a9[_0xea04('0xee')])return!0x0;if(_0xd9810a[_0xea04('0xee')]&&_0x2b95a9[_0xea04('0xee')])return!0x1;if(_0xd9810a[_0xea04('0xee')]&&_0x2b95a9[_0xea04('0x148')]<_0xd9810a['commentThread'][_0xea04('0x163')][_0xea04('0xb1')](0x0)['createdAt'])return!0x0;if(_0x2b95a9[_0xea04('0xee')]&&_0xd9810a[_0xea04('0x148')]<_0x2b95a9[_0xea04('0x2b')][_0xea04('0x163')]['get'](0x0)[_0xea04('0x148')])return!0x0;return!0x1;}(_0x2c6183[0x0],_0x16036f[0x0]))return!0x1;const _0x4362e4=_0x5282d2(_0x2c6183[0x0]['attributes'],_0xea04('0xca')),_0xa90e4f=_0x5282d2(_0x16036f[0x0][_0xea04('0x146')],_0xea04('0xca'));if(!_0x2f12fa(_0x4362e4,_0xa90e4f))return!0x1;return!!_0x2c6183[_0xea04('0x141')](_0x41b2ff=>_0x16036f['some'](_0x27dbcd=>_0x41b2ff['getFirstRange']()[_0xea04('0x3a')](_0x27dbcd[_0xea04('0xda')]())))&&_0x16036f[_0xea04('0x141')](_0x4ab253=>_0x2c6183[_0xea04('0x2c')](_0x339393=>_0x4ab253[_0xea04('0xda')]()[_0xea04('0x3a')](_0x339393[_0xea04('0xda')]())));}}[_0xea04('0xb4')](_0x34948c){const _0x1da5ec=Array[_0xea04('0xff')](_0x34948c),_0x4c89c4=this['getSuggestions']({'skipNotAttached':!0x0}),_0x4d57e5=_0x4c89c4[_0xea04('0x88')](_0x2a87db=>!_0x34948c[_0xea04('0x11b')](_0x2a87db)),_0x2062f1=new Map(_0x1da5ec['map'](_0x16c62d=>[_0x16c62d,this[_0xea04('0x4c')][_0xea04('0x5f')](_0x16c62d[_0xea04('0xb9')],_0x16c62d[_0xea04('0x10b')],_0xea04('0x55'))])),_0x44d1fa=new Map(_0x4c89c4[_0xea04('0xe8')](_0x4124e9=>[_0x4124e9,_0x4124e9[_0xea04('0x97')]()]));for(let _0x4f3e6a=0x0;_0x4f3e6a<_0x1da5ec[_0xea04('0xa8')];_0x4f3e6a++){if(_0x232928(this,_0x1da5ec[_0x4f3e6a],_0x1da5ec,_0x4f3e6a+0x1))return!0x0;}for(let _0x3f7495=0x0;_0x3f7495<_0x1da5ec[_0xea04('0xa8')];_0x3f7495++){if(_0x232928(this,_0x1da5ec[_0x3f7495],_0x4d57e5,0x0))return!0x0;}return!0x1;function _0x232928(_0x39ca2b,_0x4385f9,_0x496f41,_0x328eb9){for(let _0x137ff9=_0x328eb9;_0x137ff9<_0x496f41[_0xea04('0xa8')];_0x137ff9++){const _0x16024b=_0x496f41[_0x137ff9];if(_0x16024b['type']!==_0x4385f9[_0xea04('0xb9')]||_0x16024b[_0xea04('0x15f')]['id']!==_0x4385f9[_0xea04('0x15f')]['id']||_0x16024b[_0xea04('0x10b')]!==_0x4385f9[_0xea04('0x10b')])continue;if(!Vt(_0x4385f9,_0x16024b))continue;if(_0xea04('0x168')==_0x4385f9[_0xea04('0xb9')]&&_0x4385f9[_0xea04('0xb0')][_0xea04('0x75')]!=_0x16024b[_0xea04('0xb0')]['oldValue'])continue;if('attribute'==_0x4385f9[_0xea04('0xb9')]&&_0x39ca2b[_0xea04('0x54')](_0x4385f9[_0xea04('0xb0')][_0xea04('0x152')]))continue;if(_0xea04('0x4e')==_0x4385f9[_0xea04('0xb9')]){const _0x134bb7=_0x39ca2b[_0xea04('0x17d')][_0xea04('0x96')],_0x3be395=_0x4385f9[_0xea04('0xec')]();if(_0x3be395&&(_0x134bb7[_0xea04('0xc9')][_0xea04('0x169')](_0x3be395)||_0x134bb7[_0xea04('0xc9')]['isLimit'](_0x3be395)))continue;}const _0x3bce50=_0x2062f1[_0xea04('0xb1')](_0x4385f9),_0x7d7f6f=_0x44d1fa['get'](_0x4385f9),_0x2bbcfe=_0x44d1fa['get'](_0x16024b),_0x266b45=_0x4385f9['commentThread']&&_0x4385f9[_0xea04('0x2b')][_0xea04('0xa8')],_0x52eec1=_0x16024b[_0xea04('0x2b')]&&_0x16024b['commentThread'][_0xea04('0xa8')];if(!_0x266b45&&_0x3bce50(_0x2bbcfe,_0x7d7f6f))return _0x39ca2b[_0xea04('0x6')](_0x16024b,_0x4385f9),_0x44d1fa['delete'](_0x4385f9),!0x0;if(!_0x52eec1&&_0x3bce50(_0x7d7f6f,_0x2bbcfe))return _0x39ca2b['_joinSuggestions'](_0x4385f9,_0x16024b),_0x44d1fa[_0xea04('0x174')](_0x16024b),!0x0;}return!0x1;}}[_0xea04('0x6')](_0x1d21a4,_0x43792b){if(_0x1d21a4['isMultiRange'])for(const _0x47098c of _0x43792b['getRanges']())_0x1d21a4[_0xea04('0x16c')](_0x47098c);else{const _0x4a81ac=_0x43792b[_0xea04('0xda')]()['end'];this[_0xea04('0x99')](_0x1d21a4,this['_model'][_0xea04('0x46')](_0x1d21a4[_0xea04('0xda')]()[_0xea04('0xbd')],_0x4a81ac));}_0x43792b[_0xea04('0x1a')]();}[_0xea04('0x126')](_0x126ba8,_0x3bd319){const _0x30837e=_0x126ba8['startsWith'](_0xea04('0x14e'))||_0x126ba8[_0xea04('0xd9')](_0xea04('0x168'))?'FORMATTING':_0x126ba8['toUpperCase']();return _0x4b9969(this[_0xea04('0x17d')]['locale'],_0x3bd319+'_'+_0x30837e+_0xea04('0xef'));}[_0xea04('0x116')](){const _0x3c2b6e=this['editor'];_0x484966(this['_model'],({left:_0x4e4b01,entered:_0x403346})=>{const _0x235101=[];for(const _0x52f6f4 of _0x4e4b01){const {group:_0x2a2aa8,type:_0x4ee139}=this[_0xea04('0x79')](_0x52f6f4[_0xea04('0x22')]);if('suggestion'===_0x2a2aa8){_0x235101['push'](this['_getMarkerAnnouncementText'](_0x4ee139,_0xea04('0x76')));break;}}for(const _0xec273d of _0x403346){const {group:_0x20336e,type:_0x4d257b}=this[_0xea04('0x79')](_0xec273d[_0xea04('0x22')]);if(_0xea04('0xc6')===_0x20336e){_0x235101[_0xea04('0x9')](this[_0xea04('0x126')](_0x4d257b,_0xea04('0x16a')));break;}}_0x235101['length']&&_0x3c2b6e['ui'][_0xea04('0x12')][_0xea04('0x63')](_0xea04('0x160'),_0x235101['join']('\x20'));});}[_0xea04('0x1c')](_0x319edb){if(null!==this[_0xea04('0x147')])return!0x1;const _0x16c0d9=this[_0xea04('0x17d')],_0x58e04f=_0x16c0d9[_0xea04('0x96')][_0xea04('0xf4')]['differ'][_0xea04('0x139')]();if(0x0==_0x58e04f[_0xea04('0xa8')])return!0x1;const _0x1df672=[],_0x5b6165=_0x58e04f[_0xea04('0x88')](_0x503c15=>_0xea04('0x168')==_0x503c15[_0xea04('0xb9')]),_0x394ece=_0x58e04f[_0xea04('0x88')](_0x1a62e4=>_0xea04('0x138')==_0x1a62e4[_0xea04('0xb9')]&&_0xea04('0xe1')!=_0x1a62e4[_0xea04('0x22')]),_0x44c472=_0x58e04f['filter'](_0x3c479d=>'remove'==_0x3c479d[_0xea04('0xb9')]&&_0xea04('0xe1')!=_0x3c479d[_0xea04('0x22')]);for(const _0xc99e1e of _0x5b6165)_0x1df672[_0xea04('0x9')]({'key':_0xc99e1e[_0xea04('0x60')],'newValue':_0xc99e1e[_0xea04('0x78')],'oldValue':_0xc99e1e[_0xea04('0x14b')],'range':_0x3136f0(_0xc99e1e['range'])});for(const _0x339337 of _0x394ece){const _0x558c02=_0x44c472[_0xea04('0x23')](_0x1cb4e2=>_0x1cb4e2[_0xea04('0xb2')][_0xea04('0x3a')](_0x339337[_0xea04('0xb2')]));_0x558c02&&_0x1df672[_0xea04('0x9')]({'key':_0xea04('0xdc'),'newValue':_0x339337[_0xea04('0x22')],'oldValue':_0x558c02[_0xea04('0x22')],'range':_0x16c0d9['model'][_0xea04('0x1f')](_0x339337['position']['nodeAfter'])});}return 0x0!=_0x1df672[_0xea04('0xa8')]&&this[_0xea04('0xd')](_0x319edb,_0x1df672);function _0x3136f0(_0x598d24){return null==_0x598d24[_0xea04('0x5e')][_0xea04('0x53')]&&_0x598d24[_0xea04('0x5e')]['parent']==_0x598d24['start']['nodeAfter']?Ut(_0x598d24[_0xea04('0xbd')][_0xea04('0x15c')],_0x16c0d9['model']):_0x598d24;}}[_0xea04('0x170')](_0x36c531){let _0x368a33=!0x1;const _0x5f7fe=this[_0xea04('0x17d')][_0xea04('0x96')][_0xea04('0xf4')]['differ']['getChangedMarkers']()[_0xea04('0x88')](_0x26ebf8=>_0x26ebf8['data'][_0xea04('0x14')]&&_0x26ebf8['name'][_0xea04('0xd9')](_0xea04('0x11a')));for(const _0x36c15a of _0x5f7fe){const {subType:_0xc766a1,id:_0x295777}=this['_splitMarkerName'](_0x36c15a['name']),_0x3bb6f4=_0xc766a1['split']('|')[0x0];for(const _0x19f70a of this['getSuggestions']({'skipNotAttached':!0x0}))_0x19f70a['id']!=_0x295777&&_0xea04('0x168')==_0x19f70a[_0xea04('0xb9')]&&_0x19f70a[_0xea04('0xb0')]&&_0x19f70a[_0xea04('0xb0')][_0xea04('0x152')]==_0x3bb6f4&&_0x19f70a[_0xea04('0xda')]()[_0xea04('0x123')](_0x36c15a[_0xea04('0xb0')][_0xea04('0x14')])&&(this[_0xea04('0xaa')](_0x19f70a,_0x36c15a[_0xea04('0xb0')][_0xea04('0x14')],_0x36c531),_0x368a33=!0x0);}return _0x368a33;}[_0xea04('0x40')](_0x10d9c7){if(null!==this[_0xea04('0x147')])return void _0x10d9c7();const _0x1e51bf=this[_0xea04('0x17d')];this[_0xea04('0x147')]=_0x1e51bf['model'][_0xea04('0xf4')]['version'],_0x10d9c7();const _0x2c367a=new Map();for(const _0xd19528 of _0x1e51bf[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x90')][_0xea04('0x10d')](this[_0xea04('0x147')]))if([_0xea04('0x80'),_0xea04('0x16'),_0xea04('0x45'),_0xea04('0x33')][_0xea04('0xf7')](_0xd19528[_0xea04('0xb9')])){const _0xd9cbd3=_0xd19528[_0xea04('0x135')],_0x13fa41=_0x2c367a[_0xea04('0xb1')](_0xd9cbd3)||[];_0x13fa41['push'](_0xd19528),_0x2c367a[_0xea04('0x133')](_0xd9cbd3,_0x13fa41);}this[_0xea04('0x147')]=null;for(const [_0x3ff8f9,_0x3720e6]of _0x2c367a){const _0x5298f1=_0x5973ad();_0x1e51bf[_0xea04('0x96')][_0xea04('0x4')](_0x3ff8f9,_0x49c7fd=>{const _0x1171c6=[];for(const _0x338028 of _0x3720e6){let _0x46dfb6,_0x260b28,_0x3bae3e,_0x4e10c9;if(_0xea04('0x80')==_0x338028[_0xea04('0xb9')]){const _0x3019d7=_0x338028;_0x46dfb6=Ut(_0x3019d7['position'][_0xea04('0x15c')],_0x1e51bf['model']),_0x260b28=_0xea04('0xdc'),_0x3bae3e=_0x3019d7[_0xea04('0xfe')],_0x4e10c9=_0x3019d7['oldName'];}else{const _0xe030=_0x338028,_0x38f87c=this[_0xea04('0x54')](_0xe030['key']),_0x470328=this[_0xea04('0x37')]['has'](_0xe030['key']);if(!_0x38f87c&&!_0x470328)continue;_0x46dfb6=_0x38f87c?Ut(_0xe030[_0xea04('0x175')][_0xea04('0xbd')][_0xea04('0x15c')],_0x1e51bf[_0xea04('0x96')]):_0xe030[_0xea04('0x175')],_0x260b28=_0xe030[_0xea04('0x152')],_0x3bae3e='removeAttribute'==_0x338028[_0xea04('0xb9')]?void 0x0:_0xe030[_0xea04('0x27')],_0x4e10c9=_0xe030[_0xea04('0x75')];}this[_0xea04('0x14d')](_0x46dfb6,_0x260b28,_0x4e10c9,_0x3bae3e,{'groupId':_0x5298f1}),_0x1171c6[_0xea04('0x9')]({'range':_0x46dfb6,'key':_0x260b28,'newValue':_0x3bae3e,'oldValue':_0x4e10c9});}this['_reduceExistingSuggestions'](_0x49c7fd,_0x1171c6);});}}[_0xea04('0xd')](_0x52ad79,_0xddfb9c){if(0x0==_0xddfb9c['length'])return!0x1;let _0x54390a=!0x1;for(const _0x560feb of _0xddfb9c){const _0x52a7e0=this[_0xea04('0x5b')](_0x560feb['range'],_0xea04('0x168'))['filter'](_0x248080=>!_0x248080[_0xea04('0x155')][_0xea04('0x93')])[_0xea04('0xe8')](_0x43381e=>_0x43381e[_0xea04('0xc6')]),_0x28d1ca=_0x5a38d7({'newValue':_0x560feb['newValue']});_0x52a7e0[_0xea04('0x88')](_0x1a3164=>{const [_0x2adf68,_0x2aeaec]=_0x1a3164[_0xea04('0x10b')]['split']('|');return _0x2adf68==_0x560feb[_0xea04('0x152')]&&_0x2aeaec!=_0x28d1ca;})[_0xea04('0x15b')](_0x40a1e5=>{this['_reduceSuggestionAttributeRange'](_0x40a1e5,_0x560feb[_0xea04('0x175')],_0x52ad79),_0x54390a=!0x0;});}return _0x54390a;}[_0xea04('0xaa')](_0x537efc,_0x38410d,_0x96fc9){const _0x4c190e=_0x537efc[_0xea04('0xda')]()[_0xea04('0x31')](_0x38410d);0x0!==_0x4c190e[_0xea04('0xa8')]?0x1!==_0x4c190e[_0xea04('0xa8')]?this[_0xea04('0x44')](_0x537efc,_0x38410d[_0xea04('0xbd')],_0x38410d[_0xea04('0x5e')]):this[_0xea04('0x99')](_0x537efc,_0x4c190e[0x0]):_0x96fc9[_0xea04('0x73')](_0x537efc['getFirstMarker']());}}class Bt{constructor(_0x4d3aea){this[_0xea04('0xdd')]=_0x4d3aea,this[_0xea04('0xac')]=_0x4d3aea[_0xea04('0x96')],this['_customCallbacks']=new Map(),this[_0xea04('0xce')]=new Map(),this[_0xea04('0x7d')]();}[_0xea04('0xa0')](_0x233261,_0x2fd61b,_0x4a9161,_0x182d07,_0x4c84a8,_0x48a66f){return new _0x5b9956(this[_0xea04('0xac')],{'type':_0x233261,'subType':_0x2fd61b,'id':_0x4a9161,'author':_0x182d07,'creator':_0x182d07,'attributes':_0x4c84a8,'onAttributesChange':_0x48a66f,'onAccept':(..._0x5dba55)=>this[_0xea04('0x5f')](_0x233261,_0x2fd61b,_0xea04('0xea'))(..._0x5dba55),'onDiscard':(..._0x22bbca)=>this[_0xea04('0x5f')](_0x233261,_0x2fd61b,_0xea04('0x109'))(..._0x22bbca)});}[_0xea04('0x106')](_0x2c4ce8,_0x19b45b,_0x47fd6f,_0x255f4f){const _0x3b022b=_0x2c4ce8+':'+_0x19b45b+':'+_0x47fd6f;this[_0xea04('0xf5')][_0xea04('0x133')](_0x3b022b,_0x255f4f);}[_0xea04('0x5f')](_0x2da461,_0xa6d9c5,_0x43c913){const _0x4022d5=_0x2da461+':'+_0xa6d9c5+':'+_0x43c913;return this[_0xea04('0xf5')]['get'](_0x4022d5)||this[_0xea04('0xce')]['get'](_0x2da461+':'+_0x43c913);}[_0xea04('0x7d')](){const _0x35dbf9=()=>!0x1,_0x4e8bd7=_0x2da4e9=>{_0x2da4e9['sort']((_0x3badfe,_0xad1e24)=>_0x3badfe[_0xea04('0xbd')][_0xea04('0x127')](_0xad1e24['start'])?0x1:-0x1),this[_0xea04('0xac')]['change'](_0x491f1c=>{for(const _0x2221c6 of _0x2da4e9){let _0x402eab;_0x402eab=_0x2221c6[_0xea04('0x5e')][_0xea04('0x10a')]&&_0x2221c6['end'][_0xea04('0x91')]==_0x2221c6[_0xea04('0xbd')][_0xea04('0x15c')]?_0x491f1c[_0xea04('0x8f')](_0x2221c6[_0xea04('0xbd')][_0xea04('0x15c')],'on'):_0x491f1c[_0xea04('0x8f')](_0x2221c6),this[_0xea04('0xac')][_0xea04('0x36')](_0x402eab,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5c5208=(_0x296a72,_0x41acca)=>{_0x41acca&&this[_0xea04('0xac')][_0xea04('0x17f')](_0x4b66e4=>{const {commandName:_0x30cfcb,commandParams:_0x5442c1=[]}=_0x41acca,_0x8074b6=_0x296a72[_0xea04('0xe8')](_0x2452a7=>(xt(_0x2452a7)&&(_0x2452a7=this[_0xea04('0xac')][_0xea04('0x46')](_0x2452a7[_0xea04('0x5e')])),_0x2452a7))[_0xea04('0x88')](_0x2b50a5=>_0xea04('0x82')!==_0x2b50a5[_0xea04('0x164')][_0xea04('0x113')]);if(_0x8074b6['length']<0x1)return;const _0x424405=Array['from'](this[_0xea04('0xac')][_0xea04('0xf4')]['selection'][_0xea04('0x97')]())[_0xea04('0xe8')](_0x10065f=>_0x567f7b['fromRange'](_0x10065f));_0x4b66e4['setSelection'](_0x8074b6);for(const _0x430147 of this[_0xea04('0xdd')][_0xea04('0x145')][_0xea04('0x145')]())_0x430147[_0xea04('0x134')]();_0x5442c1[_0xea04('0x9')]({'forceDefaultExecution':!0x0}),this[_0xea04('0xdd')][_0xea04('0x143')](_0x30cfcb,..._0x5442c1);const _0x557c8e=_0x424405['filter'](_0x117a92=>'$graveyard'!=_0x117a92[_0xea04('0x164')][_0xea04('0x113')]);_0x557c8e[_0xea04('0xa8')]>0x0&&_0x4b66e4[_0xea04('0x32')](_0x557c8e);for(const _0x36858c of _0x424405)_0x36858c[_0xea04('0x3f')]();});},_0x35c2e7=(_0x2106a1,_0x4851b9)=>0x1==_0x2106a1[_0xea04('0xa8')]&&0x1==_0x4851b9[_0xea04('0xa8')]&&_0x2106a1[0x0][_0xea04('0x5e')][_0xea04('0x3a')](_0x4851b9[0x0][_0xea04('0xbd')]),_0x293a3b=(_0x37b08f,_0x2d4e7b,_0x598181,_0xec3ea5)=>Ot(_0x37b08f,_0x2d4e7b,_0x598181,_0xec3ea5,this[_0xea04('0xac')])?[_0x37b08f,_0x2d4e7b]:Ot(_0x2d4e7b,_0x37b08f,_0xec3ea5,_0x598181,this[_0xea04('0xac')])?[_0x2d4e7b,_0x37b08f]:null;this[_0xea04('0xce')][_0xea04('0x133')]('insertion:accept',_0x35dbf9),this[_0xea04('0xce')]['set'](_0xea04('0xe9'),_0x4e8bd7),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x17a'),_0x35c2e7),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x10c'),_0x293a3b),this['_defaultCallbacks'][_0xea04('0x133')]('deletion:accept',_0x4e8bd7),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0xbb'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x156'),_0x35c2e7),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x1d'),_0x293a3b),this[_0xea04('0xce')]['set']('formatInline:accept',_0x5c5208),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x172'),_0x35dbf9),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0xb5'),_0x35c2e7),this['_defaultCallbacks'][_0xea04('0x133')]('formatInline:chain',_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x6d'),_0x5c5208),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x13'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x57'),_0x35c2e7),this[_0xea04('0xce')]['set'](_0xea04('0x11e'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x101'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')]('attribute:discard',(_0x27b441,_0x4a832c)=>{if(!_0x4a832c)return;const _0x3016f8=this['_editor'][_0xea04('0x165')]['get'](p);this[_0xea04('0xac')][_0xea04('0x17f')](_0x22d572=>{if('$elementName'==_0x4a832c[_0xea04('0x152')])for(const _0x5b4331 of _0x27b441){const _0x5b8115=_0x5b4331[_0xea04('0xbd')][_0xea04('0x15c')],_0x80d687=_0x4a832c[_0xea04('0x75')];_0x22d572[_0xea04('0x80')](_0x5b8115,_0x80d687);}else{if(_0x3016f8[_0xea04('0x54')](_0x4a832c[_0xea04('0x152')]))for(const _0x6c2d91 of _0x27b441)void 0x0!==_0x4a832c[_0xea04('0x75')]?_0x22d572[_0xea04('0x121')](_0x4a832c[_0xea04('0x152')],_0x4a832c[_0xea04('0x75')],_0x6c2d91[_0xea04('0xbd')][_0xea04('0x15c')]):_0x22d572[_0xea04('0x45')](_0x4a832c[_0xea04('0x152')],_0x6c2d91[_0xea04('0xbd')][_0xea04('0x15c')]);else for(const _0x2f61f2 of _0x27b441)_0x4a832c[_0xea04('0x75')]?_0x22d572[_0xea04('0x121')](_0x4a832c[_0xea04('0x152')],_0x4a832c[_0xea04('0x75')],_0x2f61f2):_0x22d572[_0xea04('0x45')](_0x4a832c[_0xea04('0x152')],_0x2f61f2);}});}),this[_0xea04('0xce')]['set'](_0xea04('0x7e'),_0x35c2e7);}}function Tt(_0x41a5ed,_0x2c3a18,_0x3745af){for(const _0x2b1e14 of _0x2c3a18['parent'][_0xea04('0x66')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2b1e14[_0xea04('0x164')]==_0x2b1e14)return!0x1;if(!_0x3745af[_0xea04('0x12c')](_0x2b1e14))return!0x1;if(_0x41a5ed[_0xea04('0x169')](_0x2b1e14)||_0x41a5ed[_0xea04('0x9c')](_0x2b1e14))return!0x0;}return!0x1;}function xt(_0x34f12c){return _0x34f12c[_0xea04('0x5e')]['parent']==_0x34f12c[_0xea04('0xbd')][_0xea04('0x15c')]&&_0x34f12c[_0xea04('0x5e')][_0xea04('0xad')];}function Et(_0x3503fd,_0x5e3961,_0x1c6956,_0x2e8c6f){const _0x495376=_0xd8f55e=>!_0xd8f55e[_0xea04('0x49')]['is']('$textProxy')&&!_0x2e8c6f['isObject'](_0xd8f55e[_0xea04('0x49')]),_0x2dd988=_0x3503fd['start'][_0xea04('0xc2')](_0x495376),_0x316318=_0x3503fd['end'][_0xea04('0xc2')](_0x495376,{'direction':_0xea04('0x28')});return(!_0x3503fd[_0xea04('0xbd')][_0xea04('0x3a')](_0x2dd988)||!_0x3503fd[_0xea04('0x5e')][_0xea04('0x3a')](_0x316318))&&(_0x2dd988[_0xea04('0x127')](_0x316318)?_0x1c6956[_0xea04('0xd1')](_0x5e3961,{'range':_0x1c6956[_0xea04('0x46')](_0x2dd988,_0x316318)}):_0x1c6956[_0xea04('0x73')](_0x5e3961),!0x0);}function Rt(_0xf5801a){return _0x5a38d7(_0xf5801a);}function jt(_0x3b1fdb){const _0x2c099a=_0x3b1fdb[_0xea04('0xbd')][_0xea04('0x15c')];return _0x2c099a&&_0x2c099a['is'](_0xea04('0x16f'));}function Ut(_0xc984d6,_0xd9aa7d){const _0xb3dd1d=_0xd9aa7d[_0xea04('0xc9')][_0xea04('0x169')](_0xc984d6)||_0xd9aa7d[_0xea04('0xc9')][_0xea04('0x120')](_0xc984d6);return _0xd9aa7d[_0xea04('0x46')](_0xd9aa7d[_0xea04('0x11c')](_0xc984d6,_0xea04('0x61')),_0xb3dd1d?_0xd9aa7d[_0xea04('0x89')](_0xc984d6):_0xd9aa7d[_0xea04('0x11c')](_0xc984d6,_0xea04('0x5e')));}function Ot(_0x292a81,_0x5cbcc2,_0x21e881,_0x5278e1,_0x2319f7){if(!Vt(_0x292a81,_0x5cbcc2))return!0x1;if(_0x21e881[_0xea04('0x5e')][_0xea04('0x3a')](_0x5278e1['start']))return!0x0;if(_0x292a81[_0xea04('0xb9')]!=_0x5cbcc2[_0xea04('0xb9')])return!0x1;if(!_0x21e881[_0xea04('0x5e')][_0xea04('0x17b')](_0x5278e1[_0xea04('0xbd')]))return!0x1;const _0x43e312=_0x2319f7[_0xea04('0x46')](_0x21e881[_0xea04('0x5e')],_0x5278e1[_0xea04('0xbd')])[_0xea04('0xd3')]();for(const _0x582c85 of _0x43e312)if([_0xea04('0x13e'),_0xea04('0x71')]['includes'](_0x582c85[_0xea04('0xb9')])&&_0x2319f7[_0xea04('0xc9')]['isLimit'](_0x582c85[_0xea04('0x49')]))return!0x1;return!0x0;}function Vt(_0x9aa14c,_0xd5a530){return!(!_0x9aa14c[_0xea04('0x14a')]||!_0xd5a530[_0xea04('0x14a')])&&_0x2f12fa(_0x9aa14c[_0xea04('0x146')],_0xd5a530[_0xea04('0x146')]);}function Gt(_0x16bf72,_0x24f5ab){const _0x2ba039=Ft(_0x16bf72[_0xea04('0x146')]),_0x546501=Ft(_0x24f5ab);if(!_0x16bf72[_0xea04('0x14a')])return!0x1;for(const _0x3dbb37 of Object[_0xea04('0x15')](_0x546501))if(!_0x2f12fa(_0x2ba039[_0x3dbb37],_0x546501[_0x3dbb37]))return!0x1;return!0x0;}function Ft(_0x2cddbe){const _0x83b2c1=Object[_0xea04('0x153')]({},_0x2cddbe);return delete _0x83b2c1[_0xea04('0xd4')],delete _0x83b2c1[_0xea04('0xba')],_0x83b2c1;}function Pt(_0x5114ac){return'attribute'==_0x5114ac['type']?_0x5114ac[_0xea04('0x10b')]['split']('|')[0x0]:null;}