@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231221.0 → 0.0.0-nightly-20231223.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.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a36=['add','_saved','warn','getChangedMarkers','delete','has','ready','writer','size','getFirstMarker','deletion:','previous','containsRangeInObject','meta','find','formatInline:','isRemovable','_model','markMultiRangeInsertion','setAttribute','_isForcedDefaultExecutionBlock','isExternal','isDocumentOperation','deletion','containsPosition','formatBlock','_registerDefaultCallbacks','value','unshift','attribute:accept','listenTo','change:_saved','insertion:chain','markers','formatInline:discard','_rangeIsInLocalUserInsertion','formatBlock:join','ck-suggestion-marker','suggestion:','registerPostFixer','document','removeAttribute','removeMarker:suggestion:attribute','activeMarkers','model','fetchCommentThread','startsWith','getIntersection','_defaultCallbacks','attributes','some','refresh','isOwn','_registerInlineAttribute','unbindElementFromMarkerName','multipleBlocks','_breakSuggestionMarker','from','forceDefaultExecution','PENDING_ACTION_SUGGESTION','createRangeIn','hasComments','concat','editingDowncast','notReady','_updateSuggestionData','markDeletion','FORMATTING','deleteContent','splitPosition','accepted','removed','ENTER','formatBlock:','fire','reconvertMarker','_onDiscard','moveTargetPosition','markMultiRangeBlockFormat','push','error-saving-suggestion-data-suggestion-discarded','originalSuggestionId','isNextTo','data-suggestion','elementEnd','addClass','range','_handleNewSuggestionMarker','TrackChangesEditing','formatInline','addSuggestionData','_getAuthorFromId','formatBlock:chain','_enableDefaultAttributesIntegration','_cutOutSuggestionMarker','options','CommentsRepository','track-changes-adapter-missing-getsuggestion','widget','elementStart','addMarker:suggestion:attribute','getWalker','@external','insertion:discard','_setSuggestionData','isMultiRange','newRange','parent','conversion','_SUGGESTION_ANNOUNCEMENT','resolve','trackChanges','removeMarkers','suggestion','set','addAttribute','pop','includes','sort','move','define','deletion:join','getDifference','insertContent','forward','_processAttributeChanges','mapper','tablePasteChainId','_processAttributeSuggestions','containsRange','getAllAdjacentSuggestions','return','createRange','start','insertion','track-changes-user-not-found','attribute:discard','length','getRange','_descriptionFactory','isIntersecting','ck-suggestion-marker-formatBlock','_findSuggestions','_splitMarkerName','addMarkerName','plugins','markerName','normal','_joinSuggestions','formatInline:join','enqueueChange','stop','_isBlockAttribute','$graveyard','suggestionChanged','getAttribute','changeAttribute','_blockAttributeKeys','addMarker:suggestion','rootName','getChanges','_enabledCommands','_reduceExistingSuggestions','split','pluginName','config','updateSuggestion','commandName','commentThread','position','attributeNewValue','change:activeMarkers','track-changes-adapter-already-set','keys','_suggestionFactory','editor','deletion:chain','get','toViewElement','end','_isDataLoaded','execute','commands','oldRange','_trackFormatChanges','createPositionAt','discardSelectedSuggestions','_suggestions','markBlockFormat','attributeOldValue','setSelection','getOperations','forEach','collaboration.channelId','_joinWithAdjacentSuggestions','groupId','unbind','oldName','insert','isAtStart','_createSuggestion','trackChangesCommand','elementToElement','accept','every','trackChanges.mergeNestedSuggestions','upcast','_registerBlockAttribute','never','getSuggestionCallback','discardAllSuggestions','attributeKey','ck-suggestion-marker--active','element','stopListening','key','_setSuggestionRange','markerToHighlight','differ','after','markerNameToElements','track-changes-command-not-found','skipNestingCheck','hasCommentThread','getAncestors','enableReadOnlyMode','deletion:discard','low','_refreshAttributeSuggestionsChain','containsItem','ck-suggestion-marker-','_refreshSuggestionsChain','targetPosition','subType','format','fromCharCode','getCommentThread','toJSON','discard','announce','detach','containerElement','_suggestionState','_getSuggestionData','createdAt','newValue','getLastMatchingPosition','substring','getSuggestions','_editor','createSelection','version','_getExternalAuthor','isArray','track-changes-suggestion-not-found','removeMarker','getCustomProperty','$elementName','marker-count','remove','change','addMarker:suggestion:formatBlock','PendingActions','locale','filter','trackChanges.trackFormatChanges','markInlineFormat','update:suggestion','getUser','item','adapter','rename','creator','for','_getMarkerAnnouncementText','nodeAfter','suggestion-type','_inlineAttributeKeys','_adapter','isEqual','catch','selection','next','chain','formatBlock:discard','registerCustomCallback','insertion:accept','createRangeOn','suggestionLoaded','rejected','backward','attribute','nodeBefore','_commentsRepository','isInContent','open','showSuggestionHighlights','substr','lowest','removeComment','_addSuggestionMarker','acceptAllSuggestions','default','formatInline:chain','isAfter','history','insertion:join','addSuggestion','values','rethrowUnexpectedError','isLocal','getRanges','isCollapsed','addMarker','markAttributeChange','getFirstRange','getSuggestion','_reduceSuggestionAttributeRange','highest','always','$text','acceptSuggestion','dataDowncast','Users','buildSuggestion','_recordAttributeSuggestionsFromVersion','assign','createPositionBefore','howMany','_addThreadToSuggestion','_mergeNestedSuggestions','isObject','change:data','formatGroupId','markerReady','authoredAt','enableCommand','removeClass','hasSuggestion','isInsideObject','_initAriaMarkerChangeAnnouncements','getContainedElement','track-changes-suggestion-data-mismatch','isBefore','removeMarker:suggestion:formatBlock','isAtEnd','addRange','multi','getShiftedBy','join','discardSuggestion','author','updateMarker','track-changes-enable-command-twice','isIntersectingWithRange','ariaLiveAnnouncer','high','oldValue','schema','formatInline:accept','addHighlight','name','fromRange','data','_customCallbacks','comments','type','getNearestSelectionRange','isUndo','getMultiRangeId','map','formatBlock:accept','root','_checkSuggestionCorrectness','isBlock','consume','then','_recordAttributeChanges','markInsertion','markMultiRangeDeletion','insertion:','isLimit','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.','_removeSuggestion','batch'];(function(_0x307703,_0x4a3634){const _0x5b378a=function(_0x18d79c){while(--_0x18d79c){_0x307703['push'](_0x307703['shift']());}};_0x5b378a(++_0x4a3634);}(_0x4a36,0x12f));const _0x5b37=function(_0x307703,_0x4a3634){_0x307703=_0x307703-0x0;let _0x5b378a=_0x4a36[_0x307703];return _0x5b378a;};import{Plugin as _0x596663,PendingActions as _0x300893}from'ckeditor5/src/core.js';import{LiveRange as _0x2cfd9f}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5cf83c,uid as _0x5bc589,priorities as _0x3e62aa,logWarning as _0x377b20}from'ckeditor5/src/utils.js';import{toWidget as _0x40538a}from'ckeditor5/src/widget.js';import{Users as _0x50b430,hashObject as _0x1fc600,surroundingMarkersDetector as _0x3fa9ec}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x127ae6 from'./commands/trackchangescommand.js';import _0x292401 from'./commands/acceptsuggestioncommand.js';import _0x372a97 from'./commands/discardsuggestioncommand.js';import _0x49a2c3 from'./commands/executeonallsuggestionscommand.js';import _0x37ef90 from'./commands/executeonselectedsuggestionscommand.js';import _0x578a9e from'./suggestion.js';import _0x4fe66d from'./suggestiondescriptionfactory.js';import _0x561123 from'./integrations/aiassistant.js';import _0x53260d from'./integrations/alignment.js';import _0x368c9f from'./integrations/basicstyles.js';import _0x4c3e10 from'./integrations/blockquote.js';import _0x3e55d6 from'./integrations/ckbox.js';import _0x51e279 from'./integrations/codeblock.js';import _0x411ad6 from'./integrations/comments.js';import _0x1f2823 from'./integrations/deletecommand.js';import _0x50f54c from'./integrations/documentlist.js';import _0x831287 from'./integrations/documentlistproperties.js';import _0xdb02be from'./integrations/entercommand.js';import _0xef112c from'./integrations/findandreplace.js';import _0x256b7a from'./integrations/font.js';import _0x2c9f89 from'./integrations/formatpainter.js';import _0x34d632 from'./integrations/heading.js';import _0x2b4cd4 from'./integrations/highlight.js';import _0x493c41 from'./integrations/horizontalline.js';import _0x2dd9d4 from'./integrations/htmlembed.js';import _0x3b3acf from'./integrations/image.js';import _0x24866a from'./integrations/imagereplace.js';import _0x4e00e5 from'./integrations/imagestyle.js';import _0x6484dd from'./integrations/importword.js';import _0x224b24 from'./integrations/indent.js';import _0x592194 from'./integrations/inputcommand.js';import _0x4e71fd from'./integrations/link.js';import _0xd57056 from'./integrations/list.js';import _0x549c5c from'./integrations/listproperties.js';import _0x494314 from'./integrations/mediaembed.js';import _0x238683 from'./integrations/mention.js';import _0x1c81c2 from'./integrations/pagebreak.js';import _0x13a9f5 from'./integrations/paragraph.js';import _0xe43e5f from'./integrations/removeformat.js';import _0xd3a908 from'./integrations/restrictededitingmode.js';import _0x456395 from'./integrations/shiftentercommand.js';import _0x12a245 from'./integrations/standardeditingmode.js';import _0x6ecdd8 from'./integrations/style.js';import _0x77e272 from'./integrations/table.js';import _0xdf391c from'./integrations/tablemergesplit.js';import _0x3a0878 from'./integrations/tableheadings.js';import _0x136848 from'./integrations/tableclipboard.js';import _0x5eeef0 from'./integrations/tablecolumnresize.js';import _0x2cee7a from'./integrations/template.js';import _0xe098ff from'./integrations/tableofcontents.js';import _0x429465 from'./integrations/title.js';import _0x5644ad from'./integrations/undo.js';import _0x470ae6 from'./integrations/tablecaption.js';import _0x176fd2 from'./integrations/tableproperties.js';import{getTranslation as _0x2226ce}from'./utils/common-translations.js';import{isEqual as _0x1587e8,omit as _0x237c40}from'lodash-es';export const renameAttributeKey=_0x5b37('0x153');export default class p extends _0x596663{static get['requires'](){return[_0x5b37('0xb2'),_0x50b430,_0x300893,_0x561123,_0x53260d,_0x368c9f,_0x4c3e10,_0x3e55d6,_0x51e279,_0x411ad6,_0x1f2823,_0x50f54c,_0x831287,_0xdb02be,_0xef112c,_0x256b7a,_0x2c9f89,_0x34d632,_0x2b4cd4,_0x493c41,_0x2dd9d4,_0x3b3acf,_0x4e00e5,_0x24866a,_0x6484dd,_0x224b24,_0x592194,_0x4e71fd,_0xd57056,_0x549c5c,_0x494314,_0x238683,_0x1c81c2,_0x13a9f5,_0xe43e5f,_0xd3a908,_0x456395,_0x12a245,_0x6ecdd8,_0x77e272,_0xdf391c,_0x3a0878,_0x470ae6,_0x136848,_0x5eeef0,_0xe098ff,_0x176fd2,_0x2cee7a,_0x429465,_0x5644ad];}static get[_0x5b37('0xf6')](){return _0x5b37('0xaa');}constructor(_0x4a6471){function _0x24e462(_0x5a0b1e){return _0x5a0b1e[_0x5b37('0x43')](_0x3c08f8=>String[_0x5b37('0x13d')](_0x3c08f8))[_0x5b37('0x2e')]('');}super(_0x4a6471),this[_0x5b37('0x16')]=null,this[_0x5b37('0xc4')](_0x5b37('0x7d'),[]),this['on'](_0x5b37('0xfd'),(_0x538d04,_0x4c4bed,_0x5e42f3,_0x1ff2c5)=>{this[_0x5b37('0x63')][_0x5b37('0x156')](()=>{for(const _0x9f8c26 of[..._0x1ff2c5,..._0x5e42f3])this['_model'][_0x5b37('0x73')][_0x5b37('0x57')](_0x9f8c26)&&_0x4a6471['editing'][_0x5b37('0x9d')](_0x9f8c26);});}),this[_0x5b37('0xdd')]=new _0x4fe66d(this[_0x5b37('0x101')]['model'][_0x5b37('0x37')],this['editor'][_0x5b37('0x159')]),this[_0x5b37('0x168')]=null,this[_0x5b37('0x100')]=new $t(this[_0x5b37('0x101')]),this[_0x5b37('0x10d')]=new Map(),this['_commentsRepository']=_0x4a6471['plugins'][_0x5b37('0x103')](_0x5b37('0xb2')),this[_0x5b37('0xf3')]=new Set(),this[_0x5b37('0x63')]=this['editor']['model'],this[_0x5b37('0x144')]=new WeakMap(),this[_0x5b37('0x66')]=!0x1,this[_0x5b37('0xef')]=new Set(['$elementName']),this[_0x5b37('0x167')]=new Set(),_0x4a6471['config'][_0x5b37('0xca')](_0x5b37('0x15b'),_0x5b37('0x180')),this['_trackFormatChanges']=_0x4a6471[_0x5b37('0xf7')][_0x5b37('0x103')](_0x5b37('0x15b')),_0x4a6471[_0x5b37('0xf7')][_0x5b37('0xca')](_0x5b37('0x11f'),!0x0),this['_mergeNestedSuggestions']=_0x4a6471[_0x5b37('0xf7')]['get'](_0x5b37('0x11f')),this['trackChangesCommand']=new _0x127ae6(_0x4a6471,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x24e462([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x24e462([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x32]);}['init'](){const _0x5a4c14=this['editor'],_0x3221a2=(_0x41b9a0,_0x48bb00)=>{if(_0x5b37('0x175')!=_0x41b9a0)return _0x5b37('0x138')+_0x41b9a0;const _0x211f2d=_0x48bb00[_0x5b37('0xf5')]('|')[0x0];return this[_0x5b37('0xea')](_0x211f2d)?_0x5b37('0xdf'):'ck-suggestion-marker-formatInline';};_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x91'))[_0x5b37('0x12b')]({'model':'suggestion','view':_0x370491=>{const {id:_0x10a0e1,type:_0x142aae,subType:_0x352c7d}=this['_splitMarkerName'](_0x370491[_0x5b37('0xe4')]),_0x196aa3=[_0x5b37('0x77'),_0x3221a2(_0x142aae,_0x352c7d)];let _0x15367e=0xbb8;return this[_0x5b37('0x7d')]['includes'](_0x370491[_0x5b37('0xe4')])&&(_0x196aa3['push'](_0x5b37('0x126')),_0x15367e=0xbc2),'deletion'==_0x142aae&&(_0x15367e+=0x5),{'classes':_0x196aa3,'attributes':{'data-suggestion':_0x10a0e1},'priority':_0x15367e};}}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x13'))[_0x5b37('0x52')](_0x41eef8=>{_0x41eef8['on'](_0x5b37('0xf0'),(_0x5002b3,_0x3152b0,_0x21aed2)=>{if(!_0x21aed2[_0x5b37('0xb1')][_0x5b37('0x17a')])return;const _0x39be7b=_0x3152b0[_0x5b37('0x15f')];if(!_0x39be7b)return;const _0x1c77d7=_0x21aed2[_0x5b37('0xd0')][_0x5b37('0x104')](_0x39be7b);_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x37')][_0x5b37('0x1c')](_0x39be7b)&&_0x1c77d7&&!_0x1c77d7['getCustomProperty'](_0x5b37('0xb4'))&&_0x1c77d7['is'](_0x5b37('0x143'))&&_0x40538a(_0x1c77d7,_0x21aed2[_0x5b37('0x59')]);},{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')]('dataDowncast')['markerToHighlight']({'model':_0x5b37('0xc3'),'view':(_0x3bf964,_0x1bd6be)=>{if(!_0x1bd6be[_0x5b37('0xb1')][_0x5b37('0x17a')])return null;const {type:_0xd2bfc8,subType:_0x12556d}=this[_0x5b37('0xe1')](_0x3bf964['markerName']);return{'classes':[_0x5b37('0x77'),_0x3221a2(_0xd2bfc8,_0x12556d)],'priority':0xbb8};}});const _0x10686e=({showActiveMarkers:_0x21403b=!0x0,isAttributeSuggestion:_0x40c0a2=!0x1}={})=>(_0x2b6aae,_0xd8ebe9,_0x29cb78)=>{if(!_0xd8ebe9[_0x5b37('0x15f')])return;const {id:_0x2affe5}=this['_splitMarkerName'](_0xd8ebe9[_0x5b37('0xe4')]);if(_0x40c0a2){const _0x5edb4f=Pt(this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x2affe5));if(!this[_0x5b37('0xea')](_0x5edb4f))return;}if(_0xd8ebe9['item']['is'](_0x5b37('0x16b')))return void _0x29cb78['consumable'][_0x5b37('0x48')](_0xd8ebe9[_0x5b37('0x15f')],_0x2b6aae[_0x5b37('0x3a')]);const _0x48338f=_0x29cb78[_0x5b37('0xd0')]['toViewElement'](_0xd8ebe9[_0x5b37('0x15f')]);if(_0xd8ebe9[_0x5b37('0x15f')]['is'](_0x5b37('0x127'))&&_0x5a4c14['model']['schema']['isBlock'](_0xd8ebe9[_0x5b37('0x15f')])&&!_0x48338f['getCustomProperty'](_0x5b37('0x39'))){_0x29cb78[_0x5b37('0x59')][_0x5b37('0xa7')](['ck-suggestion-marker',_0x5b37('0xdf')],_0x48338f),_0x29cb78[_0x5b37('0x59')]['setAttribute'](_0x5b37('0xa5'),_0x2affe5,_0x48338f),_0x29cb78[_0x5b37('0xd0')]['bindElementToMarker'](_0x48338f,_0xd8ebe9[_0x5b37('0xe4')]),_0x21403b&&(this[_0x5b37('0x7d')][_0x5b37('0xc7')](_0xd8ebe9[_0x5b37('0xe4')])?_0x29cb78[_0x5b37('0x59')][_0x5b37('0xa7')](_0x5b37('0x126'),_0x48338f):_0x29cb78[_0x5b37('0x59')]['removeClass'](_0x5b37('0x126'),_0x48338f));for(const _0x3e590a of _0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x8e')](_0xd8ebe9['item'])['getItems']())_0x29cb78['consumable'][_0x5b37('0x48')](_0x3e590a,_0x2b6aae[_0x5b37('0x3a')]);_0x29cb78['consumable'][_0x5b37('0x48')](_0xd8ebe9[_0x5b37('0x15f')],_0x2b6aae[_0x5b37('0x3a')]);}};_0x5a4c14[_0x5b37('0xbe')]['for']('dataDowncast')['add'](_0x5254b3=>{_0x5254b3['on']('addMarker:suggestion:formatBlock',(_0x1f5e73,_0x516396,_0xede42d)=>{_0xede42d[_0x5b37('0xb1')][_0x5b37('0x17a')]&&_0x10686e({'showActiveMarkers':!0x1})(_0x1f5e73,_0x516396,_0xede42d);},{'priority':_0x5b37('0xf')});}),_0x5a4c14[_0x5b37('0xbe')]['for'](_0x5b37('0x13'))[_0x5b37('0x52')](_0x490ee7=>{_0x490ee7['on'](_0x5b37('0xb6'),(_0x4e584e,_0xe9298c,_0x54a66f)=>{_0x54a66f[_0x5b37('0xb1')][_0x5b37('0x17a')]&&_0x10686e({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4e584e,_0xe9298c,_0x54a66f);},{'priority':_0x5b37('0xf')});}),_0x5a4c14['conversion'][_0x5b37('0x163')](_0x5b37('0x13'))['markerToData']({'model':_0x5b37('0xc3'),'view':(_0x3d1510,_0x13656c)=>_0x13656c['options'][_0x5b37('0x17a')]?null:{'group':_0x5b37('0xc3'),'name':_0x3d1510[_0x5b37('0x17b')](0xb)}}),_0x5a4c14[_0x5b37('0xbe')]['for']('upcast')[_0x5b37('0x11c')]({'view':{'name':_0x5b37('0xc3'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xc086b5,{writer:_0x3bb2ad})=>{let _0x3ea54a=_0x5b37('0x78')+_0xc086b5[_0x5b37('0xed')](_0x5b37('0x166'))+':'+_0xc086b5[_0x5b37('0xed')]('id');return _0xc086b5[_0x5b37('0xed')](_0x5b37('0x154'))&&(_0x3ea54a+=':'+_0xc086b5['getAttribute']('marker-count')),_0x3bb2ad['createElement']('$marker',{'data-name':_0x3ea54a});}}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x120'))['dataToMarker']({'view':'suggestion'}),_0x5a4c14['conversion'][_0x5b37('0x163')](_0x5b37('0x91'))['add'](_0x4a16dd=>{_0x4a16dd['on'](_0x5b37('0x157'),_0x10686e(),{'priority':'high'});}),_0x5a4c14['conversion']['for'](_0x5b37('0x91'))[_0x5b37('0x52')](_0x263c06=>{_0x263c06['on'](_0x5b37('0xb6'),_0x10686e({'isAttributeSuggestion':!0x0}),{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')]('editingDowncast')[_0x5b37('0x52')](_0x33e767=>{_0x33e767['on'](_0x5b37('0x29'),(_0x3e19d5,_0x50e00f,_0x859d8c)=>{const _0x3d702a=_0x859d8c[_0x5b37('0xd0')][_0x5b37('0x12e')](_0x50e00f[_0x5b37('0xe4')]);if(_0x3d702a)for(const _0x1ab057 of _0x3d702a)_0x1ab057[_0x5b37('0x152')](_0x5b37('0x39'))||(_0x859d8c[_0x5b37('0x59')][_0x5b37('0x22')]([_0x5b37('0x77'),_0x5b37('0xdf'),_0x5b37('0x126')],_0x1ab057),_0x859d8c[_0x5b37('0x59')][_0x5b37('0x7b')](_0x5b37('0xa5'),_0x1ab057),_0x859d8c[_0x5b37('0xd0')][_0x5b37('0x88')](_0x1ab057,_0x50e00f[_0x5b37('0xe4')]));},{'priority':'high'});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x91'))['add'](_0x502145=>{_0x502145['on'](_0x5b37('0x7c'),(_0x1a8c69,_0x442234,_0x503ab3)=>{const _0x44cc20=_0x503ab3[_0x5b37('0xd0')]['markerNameToElements'](_0x442234['markerName']);if(!_0x44cc20)return;const {id:_0x287c08}=this[_0x5b37('0xe1')](_0x442234['markerName']),_0x4317bb=Pt(this['_suggestions']['get'](_0x287c08));if(this[_0x5b37('0xea')](_0x4317bb))for(const _0x33b3cd of _0x44cc20)_0x33b3cd[_0x5b37('0x152')](_0x5b37('0x39'))||(_0x503ab3['writer'][_0x5b37('0x22')]([_0x5b37('0x77'),_0x5b37('0xdf'),_0x5b37('0x126')],_0x33b3cd),_0x503ab3[_0x5b37('0x59')]['removeAttribute'](_0x5b37('0xa5'),_0x33b3cd),_0x503ab3[_0x5b37('0xd0')][_0x5b37('0x88')](_0x33b3cd,_0x442234[_0x5b37('0xe4')]));},{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x79')](_0x3a617e=>{let _0x14c6c5=!0x1;const _0x24cf02=Array['from'](_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')]['getChangedMarkers']()),_0x26dabd=new Set();for(const {name:_0x48bde7,data:_0x48c6e0}of _0x24cf02){const {group:_0x85c1a4,type:_0x3da731,subType:_0x43566f,id:_0x226f8c}=this[_0x5b37('0xe1')](_0x48bde7);if(_0x5b37('0xc3')!==_0x85c1a4)continue;const _0x369afb=this['_suggestions']['get'](_0x226f8c);if(null!=_0x48c6e0[_0x5b37('0xbc')]){_0x5b37('0xab')==_0x3da731&&(_0x14c6c5=_0x14c6c5||xt(_0x48c6e0['newRange'],_0x48bde7,_0x3a617e,_0x5a4c14['model'][_0x5b37('0x37')]));const _0x17a1e3='attribute'==_0x3da731&&this['_isBlockAttribute'](_0x43566f[_0x5b37('0xf5')]('|')[0x0]);if(_0x48c6e0[_0x5b37('0xbc')][_0x5b37('0x9')]||_0x5b37('0xeb')==_0x48c6e0[_0x5b37('0xbc')][_0x5b37('0x45')][_0x5b37('0xf1')]||_0x5b37('0x6b')==_0x3da731&&!Rt(_0x48c6e0[_0x5b37('0xbc')])||_0x17a1e3&&!Rt(_0x48c6e0[_0x5b37('0xbc')])||_0x5b37('0x69')==_0x3da731&&!(!Tt(_0x93ce0e=_0x48c6e0['newRange'])&&!function(_0x5d247e){return _0x5d247e['start'][_0x5b37('0xbd')]==_0x5d247e[_0x5b37('0x105')][_0x5b37('0x176')]&&_0x5d247e[_0x5b37('0xd7')][_0x5b37('0x2a')];}(_0x93ce0e)))_0x3a617e['removeMarker'](_0x48bde7),_0x14c6c5=!0x0;else{if(!_0x369afb||!_0x369afb['isInContent'])continue;_0x26dabd['add'](_0x369afb);}}}var _0x93ce0e;return _0x26dabd[_0x5b37('0x5a')]>0x0&&(_0x14c6c5=!!this[_0x5b37('0x114')](_0x26dabd)||_0x14c6c5),_0x14c6c5;}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x79')](_0x1062ef=>{let _0x4d4b14=!0x1;for(const _0x4ed566 of _0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')][_0x5b37('0xf2')]())if(_0x5b37('0x118')==_0x4ed566[_0x5b37('0x3f')])for(const _0x36f86c of this['_suggestions'][_0x5b37('0x5')]()){if(_0x36f86c['isMultiRange']||!_0x36f86c['isInContent'])continue;const _0x3def41=_0x5b37('0x6b')==_0x36f86c[_0x5b37('0x3f')],_0x39ec05=Pt(_0x36f86c),_0x30d709=_0x39ec05&&this[_0x5b37('0xea')](_0x39ec05);if(!_0x3def41&&!_0x30d709)continue;const _0xf7e61a=_0x36f86c[_0x5b37('0xc')]();if(_0xf7e61a[_0x5b37('0xd7')][_0x5b37('0xbd')]!=_0xf7e61a[_0x5b37('0x105')][_0x5b37('0xbd')]&&!_0xf7e61a['end'][_0x5b37('0x2a')]){const _0xcf5592=_0x5a4c14['model']['createPositionAt'](_0xf7e61a[_0x5b37('0xd7')][_0x5b37('0x165')],_0x5b37('0x105')),_0x4c40ab=_0x5a4c14['model'][_0x5b37('0xd6')](_0xf7e61a[_0x5b37('0xd7')],_0xcf5592);_0x1062ef[_0x5b37('0x31')](_0x36f86c['getFirstMarker'](),{'range':_0x4c40ab}),_0x4d4b14=!0x0;}}return _0x4d4b14;}),_0x5a4c14[_0x5b37('0x7e')]['document']['registerPostFixer'](_0x461482=>this[_0x5b37('0xcf')](_0x461482)),_0x5a4c14[_0x5b37('0x7e')]['document']['registerPostFixer'](_0x5c81ed=>!_0x5c81ed[_0x5b37('0x51')]['isLocal']&&this[_0x5b37('0xd2')](_0x5c81ed)),_0x5a4c14['model']['markers']['on'](_0x5b37('0x15d'),(_0x25ef18,_0x34ecad,_0x58736d)=>{if(null==_0x58736d){const {id:_0x47aac4}=this[_0x5b37('0xe1')](_0x34ecad['name']),_0x30b1c2=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x47aac4);_0x30b1c2&&_0x30b1c2['addMarkerName'](_0x34ecad[_0x5b37('0x3a')]);}}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')]['on'](_0x5b37('0x1d'),()=>{const _0xe50c78=Array[_0x5b37('0x8b')](_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')]['getChangedMarkers']())[_0x5b37('0x15a')](_0x30a1ec=>_0x5b37('0xc3')===this[_0x5b37('0xe1')](_0x30a1ec[_0x5b37('0x3a')])['group']);if(0x0===_0xe50c78['length'])return;_0xe50c78['sort']((_0x581234,_0x524763)=>{const _0xa55704=_0x581234[_0x5b37('0x3c')][_0x5b37('0x109')],_0x3c72b0=_0x524763[_0x5b37('0x3c')]['oldRange'];return null===_0xa55704&&null===_0x3c72b0?0x0:null===_0xa55704&&null!==_0x3c72b0?-0x1:null!==_0xa55704&&null===_0x3c72b0?0x1:_0xa55704[_0x5b37('0xd7')][_0x5b37('0x28')](_0x3c72b0[_0x5b37('0xd7')])?-0x1:0x1;});const _0x1d57ef=new Set(),_0x392439=new Set();for(const {name:_0x1f0d11,data:_0x289a28}of _0xe50c78){const {id:_0x568466}=this['_splitMarkerName'](_0x1f0d11);if(null===_0x289a28['oldRange']){const _0x3f061c=this[_0x5b37('0xa9')](_0x1f0d11);_0x392439[_0x5b37('0x52')](_0x3f061c);}else{const _0x5aed85=this[_0x5b37('0x10d')]['get'](_0x568466);null!==_0x289a28[_0x5b37('0xbc')]||_0x5aed85['isInContent']?(_0x1d57ef[_0x5b37('0x52')](_0x5aed85['head']),_0x392439[_0x5b37('0x52')](_0x5aed85)):this['_removeSuggestion'](_0x5aed85);}}_0x392439[_0x5b37('0x5a')]>0x0&&this[_0x5b37('0x139')](_0x392439);for(const _0x38f83d of _0x1d57ef)this[_0x5b37('0x9c')](_0x5b37('0xec'),_0x38f83d);}),_0x5a4c14['model']['on']('applyOperation',(_0x2e00ba,_0x35b0af)=>{const _0x25cf9a=_0x35b0af[0x0];if(!this[_0x5b37('0x10d')][_0x5b37('0x5a')])return;if(!_0x25cf9a[_0x5b37('0x68')])return;if(_0x25cf9a[_0x5b37('0x51')][_0x5b37('0x41')]||!_0x25cf9a[_0x5b37('0x51')][_0x5b37('0x7')])return;let _0xaf9fc4,_0x140883;switch(_0x25cf9a[_0x5b37('0x3f')]){case _0x5b37('0x118'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0xfb')]),_0x140883=_0xaf9fc4['getShiftedBy'](_0x25cf9a['howMany']);break;case _0x5b37('0xf5'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x97')]),_0x140883=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x9f')]);break;case _0x5b37('0xc9'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x13a')]),_0x140883=_0xaf9fc4[_0x5b37('0x2d')](_0x25cf9a[_0x5b37('0x19')]);break;default:return;}const _0x16d349=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0xd6')](_0xaf9fc4,_0x140883);_0x5a4c14['model'][_0x5b37('0x156')](()=>{for(const {suggestion:_0x401894,meta:_0x502680}of this[_0x5b37('0xe0')](_0x16d349)){if(_0x401894['isMultiRange'])continue;if(_0x5b37('0xab')==_0x401894[_0x5b37('0x3f')])continue;const _0x38e464=Pt(_0x401894);if(_0x38e464&&this[_0x5b37('0xea')](_0x38e464)&&_0x5b37('0xf5')!=_0x25cf9a[_0x5b37('0x3f')])continue;const _0xa5b0ff=_0x401894[_0x5b37('0x3c')]&&_0x401894['data']['multipleBlocks'];(_0x5b37('0x6b')!=_0x401894[_0x5b37('0x3f')]||'split'==_0x25cf9a['type']&&!_0xa5b0ff)&&(_0x502680[_0x5b37('0x5e')]||_0x5b37('0xd8')==_0x401894[_0x5b37('0x3f')]&&_0x502680[_0x5b37('0x86')]||_0x401894[_0x5b37('0xc')]()[_0x5b37('0xd3')](_0x16d349)&&this[_0x5b37('0x8a')](_0x401894,_0xaf9fc4,_0x140883));}});},{'priority':_0x5b37('0x17c')}),_0x5a4c14[_0x5b37('0x7e')]['on'](_0x5b37('0x96'),(_0x2446e3,_0x1ae1c6)=>{const _0x30b814=_0x1ae1c6[0x0],_0xd0c0ee=_0x1ae1c6[0x1];if(_0xd0c0ee&&_0xd0c0ee['forceDefaultExecution'])return;if(this[_0x5b37('0x66')])return;if(!this[_0x5b37('0x11b')]['value'])return;if(_0x30b814[_0x5b37('0x9')])return;const _0x2d62fe=_0x5a4c14[_0x5b37('0x7e')]['schema'],{start:_0x4dc53a,end:_0x4cc009}=_0x30b814[_0x5b37('0xc')](),_0x2e6434=_0x4dc53a[_0x5b37('0x165')]&&_0x2d62fe[_0x5b37('0x4e')](_0x4dc53a[_0x5b37('0x165')])?null:_0x2d62fe[_0x5b37('0x40')](_0x4dc53a,_0x5b37('0xce')),_0x2de445=_0x4cc009[_0x5b37('0x176')]&&_0x2d62fe[_0x5b37('0x4e')](_0x4cc009['nodeBefore'])?null:_0x2d62fe[_0x5b37('0x40')](_0x4cc009,'backward'),_0x401949=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0xd6')](_0x2e6434?_0x2e6434[_0x5b37('0xd7')]:_0x4dc53a,_0x2de445?_0x2de445[_0x5b37('0x105')]:_0x4cc009);_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x156')](_0x46079e=>{this['markDeletion'](_0x401949);const _0x37b12f=_0x5a4c14['model'][_0x5b37('0x37')][_0x5b37('0x40')](_0x401949[_0x5b37('0xd7')]);_0x30b814['is']('documentSelection')?_0x46079e[_0x5b37('0x110')](_0x37b12f):_0x30b814['setTo'](_0x37b12f);}),_0x2446e3[_0x5b37('0xe9')]();},{'priority':_0x3e62aa[_0x5b37('0xe5')]+0xa}),_0x5a4c14['model']['on'](_0x5b37('0xcd'),(_0x19db62,_0x546e3a)=>{const _0x15c142=_0x546e3a[_0x546e3a[_0x5b37('0xdb')]-0x1];_0x15c142&&_0x15c142[_0x5b37('0x8c')]||this[_0x5b37('0x66')]||this[_0x5b37('0x11b')][_0x5b37('0x6d')]&&(_0x5a4c14['model'][_0x5b37('0x156')](()=>{let _0x1a4ba8=_0x5a4c14['model']['insertContent'](_0x546e3a[0x0],_0x546e3a[0x1],_0x546e3a[0x2],{'forceDefaultExecution':!0x0});if(!_0x1a4ba8)return;_0x19db62[_0x5b37('0xd5')]=_0x1a4ba8['clone']();const _0x2ca392=_0x1a4ba8[_0x5b37('0x105')][_0x5b37('0x176')],_0x4a6260=_0x5a4c14['model']['schema'];_0x2ca392&&_0x4a6260[_0x5b37('0x47')](_0x2ca392)&&!_0x4a6260[_0x5b37('0x1c')](_0x2ca392)&&(_0x1a4ba8=_0x5a4c14[_0x5b37('0x7e')]['createRange'](_0x1a4ba8[_0x5b37('0xd7')],_0x5a4c14[_0x5b37('0x7e')]['createPositionAt'](_0x2ca392,_0x5b37('0x105')))),this[_0x5b37('0x4b')](_0x1a4ba8);}),_0x19db62['stop']());},{'priority':'high'}),this[_0x5b37('0x101')]['commands'][_0x5b37('0x52')](_0x5b37('0xc1'),this['trackChangesCommand']),this[_0x5b37('0x21')](_0x5b37('0xc1'));const _0x4c6a24=new _0x292401(_0x5a4c14,this[_0x5b37('0x10d')]);_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x12'),_0x4c6a24),this[_0x5b37('0x21')](_0x5b37('0x12'));const _0x5d6b8e=new _0x372a97(_0x5a4c14,this['_suggestions']);_0x5a4c14[_0x5b37('0x108')][_0x5b37('0x52')]('discardSuggestion',_0x5d6b8e),this['enableCommand'](_0x5b37('0x2f')),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x17f'),new _0x49a2c3(_0x5a4c14,_0x4c6a24,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x17f')),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x124'),new _0x49a2c3(_0x5a4c14,_0x5d6b8e,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x124')),_0x5a4c14['commands'][_0x5b37('0x52')]('acceptSelectedSuggestions',new _0x37ef90(_0x5a4c14,_0x4c6a24,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')]('acceptSelectedSuggestions'),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x10c'),new _0x37ef90(_0x5a4c14,_0x5d6b8e,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x10c'));const _0x2c4b9b=_0x5a4c14[_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0xb2'));this['listenTo'](_0x2c4b9b,'addComment',(_0x21ff04,{threadId:_0x7a0d4f})=>{const _0x59c853=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x7a0d4f);_0x59c853&&_0x59c853[_0x5b37('0xfa')]&&0x1===_0x59c853[_0x5b37('0xfa')]['length']&&this[_0x5b37('0x93')](_0x7a0d4f,{'hasComments':!0x0});},{'priority':_0x5b37('0x135')}),this[_0x5b37('0x70')](_0x2c4b9b,_0x5b37('0x17d'),(_0xb6784a,{threadId:_0x4a3f88})=>{const _0x1bc598=this[_0x5b37('0x10d')]['get'](_0x4a3f88);_0x1bc598&&_0x1bc598[_0x5b37('0xfa')]&&!_0x1bc598['commentThread'][_0x5b37('0xdb')]&&this[_0x5b37('0x93')](_0x4a3f88,{'hasComments':!0x1});},{'priority':_0x5b37('0x135')});}set[_0x5b37('0x160')](_0x35deba){if(this[_0x5b37('0x168')])throw new _0x5cf83c(_0x5b37('0xfe'),this);this[_0x5b37('0x168')]=_0x35deba;}get['adapter'](){return this[_0x5b37('0x168')];}[_0x5b37('0x14a')]({skipNotAttached:_0x5e2989=!0x1,toJSON:_0x17c7c8=!0x1}={}){const _0x2f9a7a=[];for(const _0x43ab8e of this[_0x5b37('0x10d')][_0x5b37('0x5')]())_0x5e2989&&!_0x43ab8e['isInContent']||_0x2f9a7a[_0x5b37('0xa1')](_0x43ab8e);return _0x17c7c8?_0x2f9a7a[_0x5b37('0x43')](_0x17eab3=>_0x17eab3[_0x5b37('0x13f')]()):_0x2f9a7a;}[_0x5b37('0xd')](_0xbb6cd7){const _0x1ae4b1=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0xbb6cd7);if(!_0x1ae4b1)throw new _0x5cf83c(_0x5b37('0x150'),this);return _0x1ae4b1;}[_0x5b37('0x23')](_0x2121f4){return this[_0x5b37('0x10d')][_0x5b37('0x57')](_0x2121f4);}['addSuggestionData'](_0x26cf8f){const {authorId:_0x273682,id:_0x1a25fc,attributes:_0x576033}=_0x26cf8f,[_0x3007f5,_0x54a15d]=_0x26cf8f[_0x5b37('0x3f')][_0x5b37('0xf5')](':'),_0x145a50=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x1a25fc)||this['_createSuggestion'](_0x3007f5,_0x54a15d,_0x1a25fc,_0x273682,_0x576033);if(this[_0x5b37('0x1a')](_0x145a50),this[_0x5b37('0x46')](_0x145a50,_0x3007f5,_0x54a15d||null,_0x273682),_0x145a50['createdAt']=_0x26cf8f[_0x5b37('0x146')],_0x145a50[_0x5b37('0x106')]=!0x0,_0x576033&&_0x576033[_0x5b37('0xb8')]){const _0x1eae71=_0x576033[_0x5b37('0xb8')],_0xaec4f=this[_0x5b37('0x14e')](_0x1eae71['authorName']);_0x145a50[_0x5b37('0x20')]=_0x1eae71[_0x5b37('0x146')],_0x145a50[_0x5b37('0x30')]=_0xaec4f,_0x145a50[_0x5b37('0x67')]=!0x0;}else _0x145a50[_0x5b37('0x20')]=_0x26cf8f['createdAt'];switch(_0x26cf8f[_0x5b37('0x3c')]&&(_0x145a50['data']=_0x26cf8f['data']),_0x26cf8f[_0x5b37('0x83')]&&(_0x145a50['attributes']=_0x26cf8f[_0x5b37('0x83')]),this[_0x5b37('0x168')]&&this['_adapter'][_0x5b37('0x4')]||(_0x145a50[_0x5b37('0x53')]=!0x0),this['_suggestionState'][_0x5b37('0x103')](_0x145a50)){case _0x5b37('0x92'):this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x145a50,'dataReady');break;case _0x5b37('0x1f'):_0x145a50['isInContent']?(this[_0x5b37('0x139')](new Set([_0x145a50])),this['_joinWithAdjacentSuggestions'](new Set([_0x145a50])),this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x145a50,'ready'),this[_0x5b37('0x9c')](_0x5b37('0x172'),_0x145a50)):this['_suggestionState']['set'](_0x145a50,_0x5b37('0x99'));}return _0x145a50;}[_0x5b37('0x12')](_0x18d4d2){this['forceDefaultExecution'](()=>{this[_0x5b37('0x101')][_0x5b37('0x7e')]['change'](()=>{for(const _0x2d3c3e of _0x18d4d2[_0x5b37('0xd4')]())_0x2d3c3e[_0x5b37('0x11d')]();});});}['discardSuggestion'](_0x4e27d5){this[_0x5b37('0x8c')](()=>{this['editor'][_0x5b37('0x7e')]['change'](()=>{for(const _0x53980d of _0x4e27d5[_0x5b37('0xd4')]())_0x53980d['discard']();});});}[_0x5b37('0x21')](_0x5d419b,_0x2ce7bc){const _0x42b73a=this['editor'][_0x5b37('0x108')][_0x5b37('0x103')](_0x5d419b);if(!_0x42b73a)throw new _0x5cf83c(_0x5b37('0x12f'),this,{'commandName':_0x5d419b});if(this[_0x5b37('0xf3')][_0x5b37('0x57')](_0x42b73a))throw new _0x5cf83c(_0x5b37('0x32'),this,{'commandName':_0x5d419b});this['_enabledCommands'][_0x5b37('0x52')](_0x42b73a),_0x2ce7bc&&_0x42b73a['on'](_0x5b37('0x107'),(_0xca614a,_0x1ad72a)=>{this[_0x5b37('0x11b')]['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x1ad72a[_0x5b37('0xdb')]>0x0&&_0x1ad72a[_0x1ad72a[_0x5b37('0xdb')]-0x1]&&_0x1ad72a[_0x1ad72a[_0x5b37('0xdb')]-0x1][_0x5b37('0x8c')]?_0x1ad72a[_0x5b37('0xc6')]():(_0xca614a['return']=_0x2ce7bc((..._0x1dc8ab)=>_0x42b73a[_0x5b37('0x107')](..._0x1dc8ab,{'forceDefaultExecution':!0x0}),..._0x1ad72a),_0xca614a['stop']())));},{'priority':_0x5b37('0x35')});}['forceDefaultExecution'](_0x3ec0e6){let _0x1def00,_0x305c3b;const _0x3c1449=this[_0x5b37('0x66')];this[_0x5b37('0x66')]=!0x0;try{_0x1def00=_0x3ec0e6();}catch(_0x4d09b2){_0x305c3b=_0x4d09b2;}return _0x3c1449||(this[_0x5b37('0x66')]=!0x1),_0x305c3b&&_0x5cf83c[_0x5b37('0x6')](_0x305c3b,this),_0x1def00;}[_0x5b37('0x4b')](_0x24def7,_0x13b919=null,_0x136dd0={}){if(_0x24def7[_0x5b37('0x9')])return null;const _0x452c94=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')]('Users')['me'];for(const {suggestion:_0x53c3c7,meta:_0x443003}of this[_0x5b37('0xe0')](_0x24def7,'insertion'))if(_0x443003[_0x5b37('0x86')]){if(!_0x443003[_0x5b37('0xa4')]){if(_0x443003['containsRangeInObject']){if(!this[_0x5b37('0x1b')]||!Gt(_0x53c3c7,_0x136dd0))continue;return _0x53c3c7;}if(Gt(_0x53c3c7,_0x136dd0))return _0x53c3c7;this[_0x5b37('0x8a')](_0x53c3c7,_0x24def7[_0x5b37('0xd7')],_0x24def7[_0x5b37('0x105')]);break;}if(_0x13b919==_0x53c3c7[_0x5b37('0x13b')]&&Gt(_0x53c3c7,_0x136dd0)){const _0x155a34=_0x53c3c7[_0x5b37('0xc')]();return _0x155a34[_0x5b37('0xd7')][_0x5b37('0x169')](_0x24def7[_0x5b37('0x105')])?this[_0x5b37('0x12a')](_0x53c3c7,this['_model'][_0x5b37('0xd6')](_0x24def7['start'],_0x155a34[_0x5b37('0x105')])):this[_0x5b37('0x12a')](_0x53c3c7,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x155a34[_0x5b37('0xd7')],_0x24def7[_0x5b37('0x105')])),_0x53c3c7;}}const _0x258bae=_0x5bc589(),_0x48d278=_0x452c94['id'],_0x2f82cf=_0x13b919?_0x5b37('0x4d')+_0x13b919:_0x5b37('0xd8'),_0x4f7b26=this['_setSuggestionData']({'id':_0x258bae,'type':_0x2f82cf,'createdAt':new Date(),'authorId':_0x48d278,'attributes':_0x136dd0});return this[_0x5b37('0x17e')](_0x2f82cf,_0x258bae,_0x48d278,_0x24def7),_0x4f7b26;}[_0x5b37('0x64')](_0x4246a2,_0x35a562=_0x5b37('0x2c'),_0x38ed9d={}){const _0x376f87=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x2d1be2=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0xd8'),_0x35a562,_0x5b37('0x2e'));for(const _0xa48711 of this['getSuggestions']())if(_0xa48711[_0x5b37('0x30')]['id']==_0x376f87['id']&&_0x5b37('0xd8')==_0xa48711[_0x5b37('0x3f')]&&_0xa48711[_0x5b37('0x13b')]==_0x35a562&&Gt(_0xa48711,_0x38ed9d)&&(_0x2d1be2(_0xa48711[_0x5b37('0x8')](),_0x4246a2)||_0x2d1be2(_0x4246a2,_0xa48711['getRanges']()))){for(const _0x2403a of _0x4246a2)_0xa48711[_0x5b37('0x2b')](_0x2403a);return _0xa48711;}for(const {suggestion:_0x1dcb1e,meta:_0x1026d1}of this[_0x5b37('0xe0')](_0x4246a2,_0x5b37('0xd8'))){if(!_0x1026d1['isOwn'])continue;if(!this[_0x5b37('0x1b')]&&_0x1026d1[_0x5b37('0x5e')])continue;if(!Gt(_0x1dcb1e,_0x38ed9d))continue;let _0x2f43b6=!0x0;for(const _0x749dee of _0x1dcb1e['getRanges']())for(const _0x2352ef of _0x4246a2)if(!_0x749dee[_0x5b37('0xd3')](_0x2352ef)){_0x2f43b6=!0x1;break;}if(_0x2f43b6)return _0x1dcb1e;}const _0x5933f8=_0x5bc589(),_0x16dabf=_0x376f87['id'],_0x3bf3a0=_0x5b37('0x4d')+_0x35a562,_0x31c1bd=this[_0x5b37('0xba')]({'id':_0x5933f8,'type':_0x3bf3a0,'createdAt':new Date(),'authorId':_0x16dabf,'attributes':_0x38ed9d});for(const _0x28dbb6 of _0x4246a2)this[_0x5b37('0x17e')](_0x3bf3a0,_0x5933f8,_0x16dabf,_0x28dbb6,_0x578a9e[_0x5b37('0x42')]());return _0x31c1bd;}[_0x5b37('0x15c')](_0xf74e07,_0x56ea1c,_0x9e54b3=null,_0x49b8b8={}){if(_0x9e54b3=_0x9e54b3||Et(_0x56ea1c),_0xf74e07['isCollapsed'])return null;if(_0x5b37('0x122')===this[_0x5b37('0x10a')]){const _0x55e436=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0xab'),_0x9e54b3,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x55e436([_0xf74e07],_0x56ea1c,_0x49b8b8)),null;}const _0x5eb27c=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')]('Users')['me'],_0x3b2e44=[];if(_0x5b37('0x10')!==this[_0x5b37('0x10a')])for(const {suggestion:_0x26dd12,meta:_0x5da55a}of this[_0x5b37('0xe0')](_0xf74e07,'insertion'))_0x5da55a[_0x5b37('0x86')]&&!_0x5da55a['isInsideObject']&&_0x3b2e44[_0x5b37('0xa1')](..._0x26dd12[_0x5b37('0x8')]());const _0x583a90=function(_0x345dd4,_0x25e2e6){const _0x50e097=[];for(const _0x5284bf of _0x25e2e6){const _0x2d8a56=_0x345dd4['getIntersection'](_0x5284bf);_0x2d8a56&&_0x50e097[_0x5b37('0xa1')](_0x2d8a56);}return _0x50e097;}(_0xf74e07,_0x3b2e44),_0x38a5f3=function(_0xc1e796,_0x43c49e){const _0x504431=[_0xc1e796];for(const _0x386168 of _0x43c49e){let _0x18d6c7=0x0;for(;_0x18d6c7<_0x504431['length'];){const _0x56957f=_0x504431[_0x18d6c7][_0x5b37('0xcc')](_0x386168);_0x504431['splice'](_0x18d6c7,0x1,..._0x56957f),_0x18d6c7+=_0x56957f[_0x5b37('0xdb')];}}return _0x504431;}(_0xf74e07,_0x3b2e44);_0x583a90[_0x5b37('0xdb')]&&this[_0x5b37('0x63')][_0x5b37('0x156')](()=>{for(const _0x13162b of _0x583a90){const _0x2b8b81=this[_0x5b37('0x100')][_0x5b37('0x123')]('formatInline',_0x9e54b3,_0x5b37('0x11d'));this[_0x5b37('0x8c')](()=>_0x2b8b81([_0x13162b],_0x56ea1c,_0x49b8b8));}});for(const _0x65dee1 of _0x38a5f3){let _0x5b7433=null,_0x84bb8e=_0x65dee1['start'],_0x2898fc=_0x65dee1[_0x5b37('0x105')];for(const {suggestion:_0xc3a665,meta:_0x199f88}of this[_0x5b37('0xe0')](_0x65dee1,_0x5b37('0xab'))){if(!_0x199f88[_0x5b37('0x86')])continue;if(_0xc3a665[_0x5b37('0x13b')]!=_0x9e54b3)continue;if(!Gt(_0xc3a665,_0x49b8b8))continue;const _0x3dc8bc=_0xc3a665[_0x5b37('0xc')]();if(_0x3dc8bc[_0x5b37('0xd3')](_0x65dee1,!0x0))return null;_0x84bb8e=_0x84bb8e[_0x5b37('0x28')](_0x3dc8bc[_0x5b37('0xd7')])?_0x84bb8e:_0x3dc8bc['start'],_0x2898fc=_0x2898fc[_0x5b37('0x1')](_0x3dc8bc[_0x5b37('0x105')])?_0x2898fc:_0x3dc8bc['end'],_0x5b7433?_0x3dc8bc['start'][_0x5b37('0x28')](_0x5b7433[_0x5b37('0xc')]()[_0x5b37('0xd7')])?(_0x5b7433[_0x5b37('0xc2')](),_0x5b7433=_0xc3a665):_0xc3a665[_0x5b37('0xc2')]():_0x5b7433=_0xc3a665;}const _0x1cec34=this['_model'][_0x5b37('0xd6')](_0x84bb8e,_0x2898fc);if(_0x5b7433)this['_setSuggestionRange'](_0x5b7433,_0x1cec34);else{const _0x1a0734=_0x5bc589(),_0x3b3b0d=_0x5eb27c['id'];this['_setSuggestionData']({'id':_0x1a0734,'type':_0x5b37('0x61')+_0x9e54b3,'data':_0x56ea1c,'createdAt':new Date(),'authorId':_0x3b3b0d,'attributes':_0x49b8b8}),this['_addSuggestionMarker'](_0x5b37('0x61')+_0x9e54b3,_0x1a0734,_0x3b3b0d,_0x1cec34);}}return null;}[_0x5b37('0x10e')](_0x8ff797,_0x10d8ea,_0x5d4321=[],_0x2aeb9a=null,_0x53044a={}){_0x10d8ea[_0x5b37('0x1e')]||(_0x10d8ea[_0x5b37('0x1e')]=_0x10d8ea[_0x5b37('0xf9')]),_0x10d8ea[_0x5b37('0x89')]=_0x8ff797['is'](_0x5b37('0xa8')),_0x2aeb9a=_0x2aeb9a||Et(_0x10d8ea);const _0x1ed780=_0x5d4321[_0x5b37('0x43')](_0x57319c=>Ut(_0x57319c,this[_0x5b37('0x63')])),_0xbeeba1=_0x8ff797['is']('range')?_0x8ff797:Ut(_0x8ff797,this[_0x5b37('0x63')]);if(_0x5b37('0x122')===this[_0x5b37('0x10a')]){const _0x45fa99=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2aeb9a,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x45fa99([_0xbeeba1],_0x10d8ea,_0x53044a)),null;}_0x1ed780['push'](_0xbeeba1);let _0x56c5c=!0x0;for(const _0x1c433d of _0x1ed780)if(!this[_0x5b37('0x75')](_0x1c433d)){_0x56c5c=!0x1;break;}if(_0x56c5c&&'always'!==this[_0x5b37('0x10a')]){const _0x5265f2=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0x6b'),_0x2aeb9a,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x5265f2([_0xbeeba1],_0x10d8ea,_0x53044a)),null;}let _0xfdeb77=null,_0x987df6=_0xbeeba1[_0x5b37('0xd7')],_0x448b75=_0xbeeba1[_0x5b37('0x105')];for(const {suggestion:_0x558207,meta:_0x511c62}of this['_findSuggestions'](_0xbeeba1,_0x5b37('0x6b'))){if(!_0x511c62['isOwn'])continue;if(_0x511c62[_0x5b37('0xa4')]||_0x511c62[_0x5b37('0x5e')]||_0x511c62['isInsideObject'])continue;if(_0x558207[_0x5b37('0x3c')][_0x5b37('0x1e')]!=_0x10d8ea['formatGroupId'])continue;if(!Gt(_0x558207,_0x53044a))continue;const _0x504ee0=_0x558207[_0x5b37('0xc')]();if(_0x558207[_0x5b37('0x13b')]==_0x2aeb9a){if(_0x504ee0[_0x5b37('0xd3')](_0xbeeba1,!0x0))return null;_0x987df6=_0x987df6[_0x5b37('0x28')](_0x504ee0[_0x5b37('0xd7')])?_0x987df6:_0x504ee0['start'],_0x448b75=_0x448b75[_0x5b37('0x1')](_0x504ee0[_0x5b37('0x105')])?_0x448b75:_0x504ee0[_0x5b37('0x105')],_0xfdeb77?_0x504ee0[_0x5b37('0xd7')][_0x5b37('0x28')](_0xfdeb77[_0x5b37('0xc')]()[_0x5b37('0xd7')])?(_0xfdeb77['removeMarkers'](),_0xfdeb77=_0x558207):_0x558207['removeMarkers']():_0xfdeb77=_0x558207;}else{const _0x324f30=_0xbeeba1[_0x5b37('0x81')](_0x504ee0);this['_cutOutSuggestionMarker'](_0x558207,_0x324f30);}}const _0x58d1fa=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x47db9b=_0x5bc589(),_0x22eea6=_0x58d1fa['id'];if(_0xfdeb77)return this[_0x5b37('0x12a')](_0xfdeb77,this['_model'][_0x5b37('0xd6')](_0x987df6,_0x448b75)),_0xfdeb77;{const _0x392a58=this[_0x5b37('0xba')]({'id':_0x47db9b,'type':_0x5b37('0x9b')+_0x2aeb9a,'data':_0x10d8ea,'createdAt':new Date(),'authorId':_0x22eea6,'attributes':_0x53044a});return this[_0x5b37('0x17e')](_0x5b37('0x9b')+_0x2aeb9a,_0x47db9b,_0x22eea6,this['_model'][_0x5b37('0xd6')](_0x987df6,_0x448b75)),_0x392a58;}}[_0x5b37('0xa0')](_0x15388e,_0x353199,_0x43c08c=[],_0x4e42bf=null,_0x239a33={}){_0x353199[_0x5b37('0x1e')]||(_0x353199[_0x5b37('0x1e')]=_0x353199[_0x5b37('0xf9')]);const _0x35a6f8=_0x15388e[0x0];_0x353199[_0x5b37('0x89')]=_0x35a6f8['is']('range'),_0x4e42bf=_0x4e42bf||Et(_0x353199);const _0x1e3f1d=_0x43c08c['map'](_0x1450b4=>Ut(_0x1450b4,this[_0x5b37('0x63')])),_0x4d7308=_0x35a6f8['is'](_0x5b37('0xa8'))?_0x15388e:_0x15388e['map'](_0xa970d0=>Ut(_0xa970d0,this[_0x5b37('0x63')]));if('never'===this[_0x5b37('0x10a')]){const _0x354d51=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0x6b'),_0x4e42bf,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x354d51(_0x4d7308,_0x353199,_0x239a33)),null;}_0x1e3f1d[_0x5b37('0xa1')](..._0x4d7308);let _0x447415=!0x0;for(const _0x39fd53 of _0x1e3f1d)if(!this[_0x5b37('0x75')](_0x39fd53)){_0x447415=!0x1;break;}if(_0x447415&&_0x5b37('0x10')!==this['_trackFormatChanges']){const _0x46c2a8=this['_suggestionFactory'][_0x5b37('0x123')]('formatBlock',_0x4e42bf,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x46c2a8(_0x4d7308,_0x353199,_0x239a33)),null;}const _0x3a430b=this[_0x5b37('0x101')][_0x5b37('0xe3')]['get'](_0x5b37('0x14'))['me'];for(const _0x1431e1 of this[_0x5b37('0x14a')]()){if(_0x1431e1[_0x5b37('0x30')]['id']!=_0x3a430b['id'])continue;if(_0x5b37('0x6b')!=_0x1431e1[_0x5b37('0x3f')]||_0x1431e1['data']['formatGroupId']!=_0x353199[_0x5b37('0x1e')])continue;if(!Gt(_0x1431e1,_0x239a33))continue;const _0x7e87b8=_0x1431e1[_0x5b37('0x13b')]==_0x4e42bf;for(let _0xa57391=0x0;_0xa57391<_0x4d7308[_0x5b37('0xdb')];_0xa57391++){const _0x5dd216=_0x4d7308[_0xa57391];for(const _0x234e39 of _0x1431e1['getMarkers']()){const _0x446ab3=_0x234e39[_0x5b37('0xdc')]();if(_0x5dd216[_0x5b37('0x169')](_0x446ab3)){_0x7e87b8?(_0x4d7308['splice'](_0xa57391,0x1),_0xa57391--):_0x1431e1[_0x5b37('0x151')](_0x234e39['name']);break;}}}}if(0x0==_0x4d7308[_0x5b37('0xdb')])return null;const _0x328936=this[_0x5b37('0x100')][_0x5b37('0x123')]('formatBlock',_0x4e42bf,'join');for(const _0x41784e of this[_0x5b37('0x14a')]())if(_0x41784e[_0x5b37('0x30')]['id']==_0x3a430b['id']&&_0x5b37('0x6b')==_0x41784e['type']&&_0x41784e['data'][_0x5b37('0x1e')]==_0x353199[_0x5b37('0x1e')]&&_0x41784e[_0x5b37('0x13b')]==_0x4e42bf&&Gt(_0x41784e,_0x239a33)&&(_0x328936(_0x41784e[_0x5b37('0x8')](),_0x4d7308)||_0x328936(_0x4d7308,_0x41784e['getRanges']()))){for(const _0x444084 of _0x4d7308)_0x41784e['addRange'](_0x444084);return _0x41784e;}const _0x45c895=_0x5bc589(),_0xa37445=_0x3a430b['id'],_0x22b088=_0x5b37('0x9b')+_0x4e42bf,_0x158c89=this['_setSuggestionData']({'id':_0x45c895,'type':_0x22b088,'data':_0x353199,'createdAt':new Date(),'authorId':_0xa37445,'attributes':_0x239a33});for(const _0x18258b of _0x4d7308)this[_0x5b37('0x17e')](_0x22b088,_0x45c895,_0xa37445,_0x18258b,_0x578a9e['getMultiRangeId']());return _0x158c89;}[_0x5b37('0x94')](_0x5683c5,_0x2708a2=null,_0x4e9cfa={}){if(_0x5683c5['isCollapsed'])return null;const _0x29ef56=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x25023f=new _0x2cfd9f(_0x5683c5[_0x5b37('0xd7')],_0x5683c5[_0x5b37('0x105')]);for(const {suggestion:_0x495c92,meta:_0x7edd33}of this[_0x5b37('0xe0')](_0x25023f,_0x5b37('0xd8')))if(_0x7edd33['isOwn']&&!_0x7edd33['isNextTo']){if(_0x495c92[_0x5b37('0xbb')]){const _0x3d4c8d=_0x495c92['getRanges']()[_0x5b37('0x15a')](_0x26c761=>_0x5b37('0xeb')!=_0x26c761[_0x5b37('0x45')][_0x5b37('0xf1')]);_0x3d4c8d[_0x5b37('0x11e')](_0x3ae4f1=>_0x25023f[_0x5b37('0xd3')](_0x3ae4f1,!0x0))&&_0x495c92['discard']();if(_0x3d4c8d[_0x5b37('0x84')](_0x1e00b6=>_0x1e00b6[_0x5b37('0xd3')](_0x25023f,!0x0))){const _0xb695a0=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0x69'),_0x2708a2,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0xb695a0([_0x25023f],null,_0x4e9cfa)),null;}}else{const _0x32172a=_0x25023f['getIntersection'](_0x495c92[_0x5b37('0xc')]());null!==_0x32172a&&_0x495c92[_0x5b37('0x9e')]([_0x32172a],null,_0x4e9cfa);}}if(_0x25023f['detach'](),_0x25023f[_0x5b37('0x9')]||'$graveyard'==_0x25023f[_0x5b37('0x45')]['rootName'])return null;let _0x577516=null,_0x3dca9e=_0x25023f[_0x5b37('0xd7')],_0x3c3961=_0x25023f[_0x5b37('0x105')];const _0x3c7ad4=this['_findSuggestions'](_0x25023f,_0x5b37('0x69'));for(const {suggestion:_0xf8166c,meta:_0x2d57fe}of _0x3c7ad4){const _0x3f6270=this['_model'][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961);if(_0x2d57fe[_0x5b37('0x86')]&&(this[_0x5b37('0x1b')]||!_0x2d57fe[_0x5b37('0x5e')]&&!_0x2d57fe[_0x5b37('0x24')])){if(_0xf8166c[_0x5b37('0xbb')]){if(!Gt(_0xf8166c,_0x4e9cfa))continue;let _0x446f9b=!0x0;for(const _0x40d288 of _0xf8166c[_0x5b37('0x8')]()){if(_0x40d288[_0x5b37('0xd3')](_0x3f6270,!0x0))return _0xf8166c;_0x3f6270['containsRange'](_0x40d288)||(_0x446f9b=!0x1);}_0x446f9b&&_0xf8166c[_0x5b37('0x140')]();}else{const _0x3c8023=_0xf8166c['getFirstRange']();if(_0x3c8023[_0x5b37('0xd3')](_0x3f6270,!0x0))return _0xf8166c;if(!Gt(_0xf8166c,_0x4e9cfa)){_0x3f6270['containsRange'](_0x3c8023)?_0xf8166c['removeMarkers']():_0x3c8023[_0x5b37('0x6a')](_0x3dca9e)?_0x3dca9e=_0x3c8023[_0x5b37('0x105')]:_0x3c8023[_0x5b37('0x6a')](_0x3c3961)&&(_0x3c3961=_0x3c8023[_0x5b37('0xd7')]);continue;}_0x3dca9e=_0x3dca9e[_0x5b37('0x28')](_0x3c8023[_0x5b37('0xd7')])?_0x3dca9e:_0x3c8023[_0x5b37('0xd7')],_0x3c3961=_0x3c3961[_0x5b37('0x1')](_0x3c8023[_0x5b37('0x105')])?_0x3c3961:_0x3c8023['end'],_0x4e9cfa=Object[_0x5b37('0x17')]({},_0xf8166c[_0x5b37('0x83')]),_0x577516?_0x3c8023[_0x5b37('0xd7')][_0x5b37('0x28')](_0x577516['getFirstRange']()['start'])?(_0x577516[_0x5b37('0xc2')](),_0x577516=_0xf8166c):_0xf8166c['removeMarkers']():_0x577516=_0xf8166c;}}}if(_0x577516)return this[_0x5b37('0x12a')](_0x577516,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961)),_0x577516;{const _0x48122d=_0x5bc589(),_0x601f11=this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961),_0xbeea07=_0x29ef56['id'],_0x2ee619=_0x2708a2?_0x5b37('0x5c')+_0x2708a2:_0x5b37('0x69'),_0x4d8184=this['_setSuggestionData']({'id':_0x48122d,'type':_0x2ee619,'createdAt':new Date(),'authorId':_0xbeea07,'attributes':_0x4e9cfa});return this[_0x5b37('0x17e')](_0x2ee619,_0x48122d,_0xbeea07,_0x601f11),_0x4d8184;}}[_0x5b37('0x4c')](_0x3a6f24,_0x412427=_0x5b37('0x2c'),_0x1b9ae4={}){const _0x5810d6=this[_0x5b37('0x101')]['plugins']['get']('Users')['me'],_0x1a93af=_0x3a6f24[_0x5b37('0x43')](_0x449acf=>new _0x2cfd9f(_0x449acf[_0x5b37('0xd7')],_0x449acf[_0x5b37('0x105')])),_0x1495d1=new Set();for(const {suggestion:_0x3945b5,meta:_0x87828d}of this[_0x5b37('0xe0')](_0x1a93af,_0x5b37('0xd8')))_0x87828d[_0x5b37('0x86')]&&!_0x87828d[_0x5b37('0xa4')]&&_0x1495d1['add'](_0x3945b5);for(const _0x56e491 of _0x1495d1)if(_0x56e491['isMultiRange']){const _0x33c50e=_0x56e491[_0x5b37('0x8')]();(!_0x56e491['attributes']||!_0x56e491[_0x5b37('0x83')][_0x5b37('0x130')])&&(_0x33c50e[_0x5b37('0x11e')](_0x3c1bf7=>_0x1a93af[_0x5b37('0x84')](_0x293667=>_0x293667[_0x5b37('0xd3')](_0x3c1bf7,!0x0)))&&_0x56e491['discard']());if(_0x1a93af[_0x5b37('0x11e')](_0x46fb99=>_0x33c50e[_0x5b37('0x84')](_0x6f7d23=>_0x6f7d23['containsRange'](_0x46fb99,!0x0)))){const _0x2a1cfc=this[_0x5b37('0x100')][_0x5b37('0x123')]('deletion',_0x412427,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x2a1cfc(_0x3a6f24,null,_0x1b9ae4)),null;}}else{const _0x14d9dd=_0x56e491[_0x5b37('0xc')]();_0x1a93af[_0x5b37('0x84')](_0x33dba0=>_0x33dba0[_0x5b37('0xd3')](_0x14d9dd,!0x0))&&_0x56e491[_0x5b37('0x140')]();if(_0x1a93af['every'](_0x2bc729=>_0x14d9dd[_0x5b37('0xd3')](_0x2bc729,!0x0))){const _0x3b4bed=this[_0x5b37('0x100')]['getSuggestionCallback'](_0x5b37('0x69'),_0x412427,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x3b4bed(_0x1a93af,null,_0x1b9ae4)),null;}}const _0x47fdb1=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0x69'),_0x412427,_0x5b37('0x2e'));let _0x4c40a1=null;for(const _0x220e84 of this[_0x5b37('0x14a')]())if(_0x220e84[_0x5b37('0x30')]['id']==_0x5810d6['id']&&_0x220e84[_0x5b37('0x178')]&&'deletion'==_0x220e84[_0x5b37('0x3f')]&&_0x220e84['subType']==_0x412427&&Gt(_0x220e84,_0x1b9ae4)&&(_0x47fdb1(_0x220e84[_0x5b37('0x8')](),_0x1a93af)||_0x47fdb1(_0x1a93af,_0x220e84['getRanges']()))){if(_0x4c40a1){if(_0x220e84[_0x5b37('0xfa')]&&_0x220e84[_0x5b37('0xfa')][_0x5b37('0xdb')])continue;for(const _0x5a99e2 of _0x220e84['getRanges']())_0x4c40a1['isIntersectingWithRange'](_0x5a99e2)||_0x4c40a1[_0x5b37('0x2b')](_0x5a99e2);_0x220e84['removeMarkers']();}else{_0x4c40a1=_0x220e84;for(const _0x471ea5 of _0x1a93af)_0x220e84[_0x5b37('0x33')](_0x471ea5)||_0x220e84[_0x5b37('0x2b')](_0x471ea5);}}if(_0x4c40a1)return _0x4c40a1;_0x1495d1['clear']();for(const {suggestion:_0x362128,meta:_0x486eaa}of this['_findSuggestions'](_0x1a93af,_0x5b37('0x69')))_0x486eaa['isOwn']&&(this[_0x5b37('0x1b')]||!_0x486eaa[_0x5b37('0x5e')]&&!_0x486eaa['isInsideObject'])&&Gt(_0x362128,_0x1b9ae4)&&_0x1495d1['add'](_0x362128);for(const _0x198a2c of _0x1495d1){const _0xbaf9c9=_0x198a2c['getRanges']();if(!_0x1b9ae4||!_0x1b9ae4['skipNestingCheck']){if(_0x1a93af['every'](_0x480785=>_0xbaf9c9[_0x5b37('0x84')](_0x4f1eb7=>_0x4f1eb7['containsRange'](_0x480785,!0x0))))return _0x198a2c;}(!_0x198a2c[_0x5b37('0x83')]||!_0x198a2c[_0x5b37('0x83')]['skipNestingCheck'])&&(_0xbaf9c9[_0x5b37('0x11e')](_0x1a2ed2=>_0x1a93af['some'](_0x3c175d=>_0x3c175d[_0x5b37('0xd3')](_0x1a2ed2,!0x0)))&&_0x198a2c['discard']());}const _0x157b8a=_0x5bc589(),_0x331308=_0x5810d6['id'],_0x1e1b18=_0x5b37('0x5c')+_0x412427,_0x11b4e5=this['_setSuggestionData']({'id':_0x157b8a,'type':_0x1e1b18,'createdAt':new Date(),'authorId':_0x331308,'attributes':_0x1b9ae4});for(const _0x514dbe of _0x1a93af)_0x514dbe[_0x5b37('0x142')](),_0x514dbe[_0x5b37('0x9')]||_0x5b37('0xeb')==_0x514dbe[_0x5b37('0x45')][_0x5b37('0xf1')]||this[_0x5b37('0x17e')](_0x1e1b18,_0x157b8a,_0x331308,_0x514dbe,_0x578a9e['getMultiRangeId']());return _0x11b4e5;}[_0x5b37('0xb')](_0xd71dd4,_0x1509e6,_0x412111,_0x104c7f,_0x545bc9){if(_0xd71dd4[_0x5b37('0x9')])return[];if(_0x5b37('0x122')===this[_0x5b37('0x10a')])return[];const _0x3aa00f=this[_0x5b37('0x101')][_0x5b37('0xe3')]['get'](_0x5b37('0x14'))['me']['id'],_0x1fde1c=Array['from'](this[_0x5b37('0x10d')][_0x5b37('0x5')]())['filter'](_0x1a669a=>_0x5b37('0x175')==_0x1a669a[_0x5b37('0x3f')]&&_0x1a669a['data'][_0x5b37('0x129')]==_0x1509e6&&_0x1a669a[_0x5b37('0x33')](_0xd71dd4));if(_0x5b37('0x180')===this[_0x5b37('0x10a')]){const _0x27e56d=this[_0x5b37('0xe0')](_0xd71dd4,'insertion')[_0x5b37('0x15a')](({meta:_0x854421})=>_0x854421['isOwn']&&!_0x854421[_0x5b37('0x24')]&&!_0x854421[_0x5b37('0xa4')])[_0x5b37('0x43')](({suggestion:_0x2689ac})=>_0x2689ac);_0x1fde1c[_0x5b37('0x6e')](..._0x27e56d);}const _0x54f9f6=new Map([[_0xd71dd4,_0x412111]]);for(const _0x4ea7d5 of _0x1fde1c){const _0x4dcf66=_0x5b37('0x175')==_0x4ea7d5['type']?_0x4ea7d5[_0x5b37('0x3c')]['oldValue']:void 0x0,_0x63b391=_0x4ea7d5[_0x5b37('0xc')](),_0x4b7a4b=Array['from'](_0x54f9f6[_0x5b37('0xff')]())[_0x5b37('0x60')](_0x1855b9=>_0x1855b9['isIntersecting'](_0x63b391));if(!_0x4b7a4b)continue;const _0x4db690=_0x4b7a4b[_0x5b37('0xcc')](_0x63b391);this['_isBlockAttribute'](_0x1509e6)&&_0x5b37('0xd8')==_0x4ea7d5['type']&&0x0!=_0x4db690[_0x5b37('0xdb')]||(_0x54f9f6[_0x5b37('0x56')](_0x4b7a4b),_0x4db690[_0x5b37('0x112')](_0x142c5c=>{_0x54f9f6[_0x5b37('0xc4')](_0x142c5c,_0x412111);}),'insertion'!=_0x4ea7d5['type']&&_0x4dcf66!=_0x104c7f&&_0x54f9f6[_0x5b37('0xc4')](_0x4b7a4b['getIntersection'](_0x63b391),_0x4dcf66));}const _0x13b1b9=[];for(const [_0x23a6ae,_0x576efd]of _0x54f9f6){const _0x3d1a0a=_0x5bc589(),_0x1fa0cd={'key':_0x1509e6,'oldValue':_0x576efd,'newValue':_0x104c7f};_0x1509e6[_0x5b37('0xdb')]>0x25&&console[_0x5b37('0x54')](_0x5b37('0x4f'),{'key':_0x1509e6});const _0x2da820=('attribute:'+(_0x1509e6+'|'+Et({'newValue':_0x104c7f})))[_0x5b37('0x149')](0x0,0x3c),_0x51e75f=this[_0x5b37('0xba')]({'id':_0x3d1a0a,'type':_0x2da820,'data':_0x1fa0cd,'createdAt':new Date(),'authorId':_0x3aa00f,'attributes':_0x545bc9});_0x13b1b9[_0x5b37('0xa1')](_0x51e75f),this[_0x5b37('0x17e')](_0x2da820,_0x3d1a0a,_0x3aa00f,_0x23a6ae);}return _0x13b1b9;}['_registerBlockAttribute'](_0xc4a3c2){this['_blockAttributeKeys'][_0x5b37('0x52')](_0xc4a3c2);}['_registerInlineAttribute'](_0x39a34c){this[_0x5b37('0x167')][_0x5b37('0x52')](_0x39a34c);}[_0x5b37('0xaf')](_0xe1e133,_0x378eb5=[],_0x526f96=[]){this[_0x5b37('0x21')](_0xe1e133,(_0x41c509,..._0x16c6f7)=>{this['_recordAttributeChanges'](()=>{_0x41c509(..._0x16c6f7);});});for(const _0x2fedc7 of _0x378eb5)this[_0x5b37('0x87')](_0x2fedc7);for(const _0x1220f1 of _0x526f96)this[_0x5b37('0x121')](_0x1220f1);}['_setSuggestionRange'](_0x339be0,_0x527556){const _0x15e93c=_0x339be0['getFirstMarker']();this[_0x5b37('0x63')]['change'](_0x4b716d=>{_0x4b716d[_0x5b37('0x31')](_0x15e93c,{'range':_0x527556});});}[_0x5b37('0x1a')](_0x5d2fd1){const _0x1b8f5d=_0x5d2fd1['id'],_0x5bf957=this['editor'][_0x5b37('0xf7')][_0x5b37('0x103')](_0x5b37('0x113'));this[_0x5b37('0x177')][_0x5b37('0x131')](_0x1b8f5d)||this[_0x5b37('0x177')]['addCommentThread']({'channelId':_0x5bf957,'threadId':_0x1b8f5d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x56744a=this[_0x5b37('0x177')][_0x5b37('0x13e')](_0x1b8f5d);_0x56744a[_0x5b37('0x116')]('isRemovable'),_0x56744a[_0x5b37('0x62')]=!0x1,_0x5d2fd1['commentThread']=_0x56744a;}['_checkSuggestionCorrectness'](_0x13466d,_0x99b432,_0x30aff8,_0x1ffc30){if(_0x13466d[_0x5b37('0x3f')]!=_0x99b432||_0x13466d[_0x5b37('0x13b')]!=_0x30aff8||_0x13466d[_0x5b37('0x162')]['id']!=_0x1ffc30)throw this[_0x5b37('0x101')][_0x5b37('0x133')](_0x5b37('0x27')),new _0x5cf83c(_0x5b37('0x27'),this);}[_0x5b37('0xb0')](_0xafebc6,_0x2502f4){const _0x161e49=_0xafebc6[_0x5b37('0xc')]();if(_0x2502f4[_0x5b37('0x169')](_0x161e49))_0xafebc6[_0x5b37('0xc2')]();else{if(_0x161e49[_0x5b37('0xd3')](_0x2502f4)){const _0x3d909e=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0xd7')][_0x5b37('0x176')],'end');this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')]['createRange'](_0x161e49[_0x5b37('0xd7')],_0x3d909e));const _0x3eaa8e=_0x5bc589(),_0x11be35=_0xafebc6[_0x5b37('0x162')]['id'],_0x4af42b=_0xafebc6[_0x5b37('0x3f')]+':'+_0xafebc6['subType'];this[_0x5b37('0xba')]({'id':_0x3eaa8e,'type':_0x4af42b,'createdAt':new Date(),'authorId':_0x11be35,'data':_0xafebc6[_0x5b37('0x3c')],'attributes':_0xafebc6[_0x5b37('0x83')]});const _0x392fa0=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0x105')][_0x5b37('0xbd')],_0x5b37('0x12d')),_0x40ea4e=this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x392fa0,_0x161e49[_0x5b37('0x105')]);this['_addSuggestionMarker'](_0x4af42b,_0x3eaa8e,_0x11be35,_0x40ea4e);}else{if(_0x161e49['containsPosition'](_0x2502f4[_0x5b37('0xd7')])){const _0x34e153=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0xd7')]['nodeBefore'],_0x5b37('0x105'));this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')]['createRange'](_0x161e49[_0x5b37('0xd7')],_0x34e153));}else{const _0x180209=this['_model'][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0x105')][_0x5b37('0xbd')],_0x5b37('0x12d'));this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x180209,_0x161e49[_0x5b37('0x105')]));}}}}[_0x5b37('0x75')](_0x13202d){for(const {suggestion:_0x39e5a9,meta:_0x53d1ba}of this[_0x5b37('0xe0')](_0x13202d,_0x5b37('0xd8'))){if(!_0x53d1ba[_0x5b37('0x86')])continue;const _0x46eb9e=_0x39e5a9[_0x5b37('0x8')]();for(const _0x4a3e98 of _0x46eb9e)if(!_0x13202d['getDifference'](_0x4a3e98)[_0x5b37('0xdb')])return!0x0;}return!0x1;}[_0x5b37('0xad')](_0x557a0c){const _0x5cc1b0=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')]('Users')[_0x5b37('0x15e')](_0x557a0c);if(!_0x5cc1b0)throw new _0x5cf83c(_0x5b37('0xd9'),this);return _0x5cc1b0;}[_0x5b37('0x14e')](_0x84757f){const _0x500b97=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')](_0x5b37('0x14')),_0x448ff6=_0x1fc600('external:'+_0x84757f),_0x1636fe=_0x500b97[_0x5b37('0x15e')](_0x448ff6);return _0x1636fe||_0x500b97['addUser']({'id':_0x448ff6,'name':_0x84757f});}['_createSuggestion'](_0x4847b4,_0x5dbd56,_0x111cdb,_0x45747f,_0x4e3b85){const _0x1eae58=this[_0x5b37('0xad')](_0x45747f),_0x28059a=this[_0x5b37('0x100')]['buildSuggestion'](_0x4847b4,_0x5dbd56,_0x111cdb,_0x1eae58,_0x4e3b85,_0x2e45c9=>this[_0x5b37('0x93')](_0x111cdb,{'attributes':_0x2e45c9}));return this['listenTo'](_0x28059a,_0x5b37('0x11d'),()=>{this[_0x5b37('0x93')](_0x111cdb,{'state':_0x5b37('0x98')});},{'priority':_0x5b37('0x35')}),this[_0x5b37('0x70')](_0x28059a,_0x5b37('0x140'),()=>{this[_0x5b37('0x93')](_0x111cdb,{'state':_0x5b37('0x173')});},{'priority':_0x5b37('0x35')}),this[_0x5b37('0x10d')][_0x5b37('0xc4')](_0x111cdb,_0x28059a),this['_suggestionState'][_0x5b37('0xc4')](_0x28059a,_0x5b37('0x92')),_0x28059a;}[_0x5b37('0xe1')](_0x5a404a){const _0xde7500=_0x5a404a[_0x5b37('0xf5')](':');return{'group':_0xde7500[0x0],'type':_0xde7500[0x1],'subType':_0xde7500[_0x5b37('0xdb')]>=0x5?_0xde7500[0x2]:null,'id':_0xde7500[_0x5b37('0xdb')]<0x5?_0xde7500[0x2]:_0xde7500[0x3],'authorId':_0xde7500[_0x5b37('0xdb')]<0x5?_0xde7500[0x3]:_0xde7500[0x4],'markerCount':0x6==_0xde7500[_0x5b37('0xdb')]?_0xde7500[0x5]:null};}['_breakSuggestionMarker'](_0x5a7ae5,_0x2738c6,_0x332d49){const _0x12ef86=_0x5a7ae5[_0x5b37('0xc')](),_0x3fe453=_0x12ef86[_0x5b37('0xd7')],_0x91e84c=_0x12ef86[_0x5b37('0x105')];this[_0x5b37('0x12a')](_0x5a7ae5,this[_0x5b37('0x63')]['createRange'](_0x3fe453,_0x2738c6));const _0x5388df=_0x5bc589(),_0x1eadba=_0x5a7ae5[_0x5b37('0x162')]['id'],_0x31d8ee=_0x5a7ae5[_0x5b37('0x3f')]+(_0x5a7ae5[_0x5b37('0x13b')]?':'+_0x5a7ae5['subType']:'');this[_0x5b37('0xba')]({'id':_0x5388df,'type':_0x31d8ee,'createdAt':new Date(),'authorId':_0x1eadba,'originalSuggestionId':_0x5a7ae5['id'],'attributes':_0x5a7ae5[_0x5b37('0x83')],'data':_0x5a7ae5[_0x5b37('0x3c')]});const _0x42181c=Pt(_0x5a7ae5);(_0x5b37('0x6b')==_0x5a7ae5['type']||_0x42181c&&this[_0x5b37('0xea')](_0x42181c))&&(_0x332d49=this[_0x5b37('0x63')][_0x5b37('0x18')](_0x332d49[_0x5b37('0xbd')])),this[_0x5b37('0x17e')](_0x31d8ee,_0x5388df,_0x1eadba,this['_model']['createRange'](_0x332d49,_0x91e84c));}[_0x5b37('0xe0')](_0x4297d1,_0x290c3d=null){const _0x21a608=[],_0x21b59e=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'];Array[_0x5b37('0x14f')](_0x4297d1)||(_0x4297d1=[_0x4297d1]);for(const _0x1fbea8 of this[_0x5b37('0x14a')]()){if(!_0x1fbea8['isInContent'])continue;if(_0x290c3d&&_0x1fbea8[_0x5b37('0x3f')]!=_0x290c3d)continue;let _0x5bb0d8=!0x1;for(const _0x35a9b2 of _0x1fbea8['getRanges']()){for(const _0x519732 of _0x4297d1){const _0x6b00cf=_0x519732[_0x5b37('0xd7')][_0x5b37('0x169')](_0x35a9b2[_0x5b37('0x105')])||_0x519732['end'][_0x5b37('0x169')](_0x35a9b2[_0x5b37('0xd7')]);if(_0x6b00cf||_0x519732['getIntersection'](_0x35a9b2)){const _0x46d555=_0x519732[_0x5b37('0xd3')](_0x35a9b2)&&Bt(this['_model'][_0x5b37('0x37')],_0x35a9b2[_0x5b37('0xd7')],_0x519732),_0x3b3d76=_0x35a9b2['containsRange'](_0x519732)&&Bt(this[_0x5b37('0x63')][_0x5b37('0x37')],_0x519732[_0x5b37('0xd7')],_0x35a9b2);_0x21a608[_0x5b37('0xa1')]({'suggestion':_0x1fbea8,'meta':{'isOwn':_0x21b59e==_0x1fbea8[_0x5b37('0x30')],'isNextTo':_0x6b00cf,'isInsideObject':_0x46d555,'containsRangeInObject':_0x3b3d76}}),_0x5bb0d8=!0x0;break;}}if(_0x5bb0d8)break;}}return _0x21a608;}[_0x5b37('0x17e')](_0x35579b,_0xcd1235,_0x38f526,_0x5d75b1,_0x116123){this[_0x5b37('0x63')][_0x5b37('0x156')](_0x4c3db8=>{let _0x175fb5='suggestion:'+_0x35579b+':'+_0xcd1235+':'+_0x38f526;_0x116123&&(_0x175fb5=_0x175fb5+':'+_0x116123),_0x4c3db8[_0x5b37('0xa')](_0x175fb5,{'range':_0x5d75b1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5b37('0x50')](_0x2e11b2){const _0xed02c5=_0x2e11b2[_0x5b37('0x5d')],_0x48ff4d=_0x2e11b2['next'];_0x2e11b2['previous']=null,_0x2e11b2[_0x5b37('0x16c')]=null,null!=_0xed02c5&&(_0xed02c5['next']=_0x48ff4d),null!=_0x48ff4d&&(_0x48ff4d[_0x5b37('0x5d')]=_0xed02c5),'ready'==this['_suggestionState']['get'](_0x2e11b2)&&(this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x2e11b2,'removed'),this[_0x5b37('0x9c')]('suggestionUnloaded',_0x2e11b2,_0xed02c5,_0x48ff4d));}[_0x5b37('0xba')](_0x568e3a){const _0x3bda69=_0x568e3a['id'],_0x59aa68=this[_0x5b37('0xac')](_0x568e3a);if(this['_adapter']&&this['_adapter'][_0x5b37('0x4')]){const _0x2e9f69=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')]('PendingActions'),_0x3cbceb=_0x59aa68[_0x5b37('0x8f')],_0x38672f=_0x59aa68['subType']?_0x59aa68[_0x5b37('0x3f')]+':'+_0x59aa68[_0x5b37('0x13b')]:_0x59aa68['type'],_0x4c11ce=this[_0x5b37('0x101')][_0x5b37('0x159')],_0x238cf8=_0x2e9f69[_0x5b37('0x52')](_0x2226ce(_0x4c11ce,_0x5b37('0x8d'))),_0x2d4ce1={'id':_0x3bda69,'type':_0x38672f,'hasComments':_0x3cbceb,'data':_0x568e3a[_0x5b37('0x3c')]||null,'originalSuggestionId':_0x568e3a[_0x5b37('0xa3')]||null,'attributes':_0x59aa68[_0x5b37('0x83')]};this['_adapter'][_0x5b37('0x4')](_0x2d4ce1)['then'](_0x8d7b06=>{_0x59aa68[_0x5b37('0x53')]=!0x0,_0x2e9f69[_0x5b37('0x155')](_0x238cf8),_0x8d7b06&&_0x8d7b06[_0x5b37('0x146')]&&(this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x3bda69)[_0x5b37('0x146')]=_0x8d7b06[_0x5b37('0x146')]);})[_0x5b37('0x16a')](_0xd2a9ac=>{throw _0x377b20(_0x5b37('0xa2')),this[_0x5b37('0x101')][_0x5b37('0x7e')][_0x5b37('0xe8')]({'isUndoable':!0x1},()=>{_0x59aa68[_0x5b37('0x140')]();}),_0x59aa68[_0x5b37('0x128')](),this[_0x5b37('0x10d')]['delete'](_0x59aa68['id']),this['_suggestionState']['delete'](_0x59aa68),_0xd2a9ac;});}return _0x59aa68;}[_0x5b37('0xea')](_0x114187){return this[_0x5b37('0xef')][_0x5b37('0x57')](_0x114187);}[_0x5b37('0x93')](_0x1a0482,_0x4c8187){const _0x4fc1bb=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x158')),_0x3d891b=this[_0x5b37('0xd')](_0x1a0482);if(this[_0x5b37('0x168')]&&this[_0x5b37('0x168')][_0x5b37('0xf8')]){if(_0x3d891b['_saved']){const _0x23852e=_0x4fc1bb['add'](_0x2226ce(this[_0x5b37('0x101')][_0x5b37('0x159')],_0x5b37('0x8d')));this[_0x5b37('0x168')][_0x5b37('0xf8')](_0x1a0482,_0x4c8187)[_0x5b37('0x49')](()=>{_0x4fc1bb[_0x5b37('0x155')](_0x23852e);});}else _0x3d891b['on'](_0x5b37('0x71'),()=>{this[_0x5b37('0x93')](_0x1a0482,_0x4c8187);});}}[_0x5b37('0x145')](_0x2beee0){if(!this[_0x5b37('0x168')]||!this[_0x5b37('0x168')]['getSuggestion'])throw new _0x5cf83c(_0x5b37('0xb3'),this);return this['_adapter'][_0x5b37('0xd')](_0x2beee0);}[_0x5b37('0xa9')](_0x1aa784){const {id:_0x8863f3,type:_0x8285ad,subType:_0x54b8a3,authorId:_0xb9bd90}=this['_splitMarkerName'](_0x1aa784),_0x191945=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x8863f3)||this[_0x5b37('0x11a')](_0x8285ad,_0x54b8a3,_0x8863f3,_0xb9bd90,{});switch(this['_checkSuggestionCorrectness'](_0x191945,_0x8285ad,_0x54b8a3,_0xb9bd90),this[_0x5b37('0x144')][_0x5b37('0x103')](_0x191945)){case _0x5b37('0x92'):this['_getSuggestionData'](_0x8863f3)[_0x5b37('0x49')](_0x54250a=>{let _0x41957c=Promise[_0x5b37('0xc0')]();_0x54250a[_0x5b37('0x8f')]&&(_0x41957c=this[_0x5b37('0x177')][_0x5b37('0x7f')]({'channelId':this[_0x5b37('0x101')][_0x5b37('0xf7')][_0x5b37('0x103')]('collaboration.channelId'),'threadId':_0x8863f3})),_0x41957c['then'](()=>{this[_0x5b37('0xac')](_0x54250a)[_0x5b37('0x53')]=!0x0;});}),this[_0x5b37('0x144')]['set'](_0x191945,_0x5b37('0x1f'));break;case _0x5b37('0x99'):this[_0x5b37('0x93')](_0x8863f3,{'state':_0x5b37('0x179')});case'dataReady':this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x191945,_0x5b37('0x58')),this['fire'](_0x5b37('0x172'),_0x191945);break;case _0x5b37('0x58'):this[_0x5b37('0x9c')](_0x5b37('0xec'),_0x191945);}return _0x191945[_0x5b37('0xe2')](_0x1aa784),_0x191945;}['_refreshSuggestionsChain'](_0x4c1ef4){const _0x2c8d85=Array[_0x5b37('0x8b')](_0x4c1ef4),_0x554723=_0x2c8d85['filter'](_0x49b661=>_0x5b37('0x175')==_0x49b661[_0x5b37('0x3f')]);this[_0x5b37('0x136')](_0x554723);const _0x396f5d=_0x2c8d85[_0x5b37('0x15a')](_0x32b5a1=>!_0x32b5a1[_0x5b37('0xbb')]&&_0x5b37('0x175')!=_0x32b5a1[_0x5b37('0x3f')]),_0x4d5cf5=this[_0x5b37('0x14a')]({'skipNotAttached':!0x0})[_0x5b37('0x15a')](_0x2454bb=>!_0x2454bb['isMultiRange']&&_0x5b37('0x175')!=_0x2454bb[_0x5b37('0x3f')]),_0x549e1d=_0x4d5cf5[_0x5b37('0x15a')](_0x3af18d=>!_0x4c1ef4[_0x5b37('0x57')](_0x3af18d)),_0x3e58c1=new Map(_0x4d5cf5[_0x5b37('0x43')](_0x35b68a=>[_0x35b68a,this[_0x5b37('0x100')][_0x5b37('0x123')](_0x35b68a[_0x5b37('0x3f')],_0x35b68a[_0x5b37('0x13b')],_0x5b37('0x16d'))])),_0x1db18a=new Map(_0x4d5cf5[_0x5b37('0x43')](_0x10f045=>[_0x10f045,_0x10f045[_0x5b37('0xc')]()])),_0x522232=new Set(),_0x46d703=new Set();for(let _0x550628=0x0;_0x550628<_0x396f5d[_0x5b37('0xdb')];_0x550628++)_0x1e983e(_0x396f5d[_0x550628],_0x396f5d,_0x550628+0x1);for(let _0x1a8b45=0x0;_0x1a8b45<_0x396f5d['length'];_0x1a8b45++)_0x1e983e(_0x396f5d[_0x1a8b45],_0x549e1d,0x0);const _0x363935=new Set();for(let _0xb79ed1=0x0;_0xb79ed1<_0x396f5d[_0x5b37('0xdb')];_0xb79ed1++){const _0x292f2f=_0x396f5d[_0xb79ed1];!_0x46d703[_0x5b37('0x57')](_0x292f2f)&&_0x292f2f[_0x5b37('0x5d')]&&(_0x363935[_0x5b37('0x52')](_0x292f2f['previous']),_0x292f2f['previous'][_0x5b37('0x16c')]===_0x292f2f&&(_0x292f2f[_0x5b37('0x5d')][_0x5b37('0x16c')]=null),_0x292f2f['previous']=null),!_0x522232[_0x5b37('0x57')](_0x292f2f)&&_0x292f2f[_0x5b37('0x16c')]&&(_0x363935[_0x5b37('0x52')](_0x292f2f[_0x5b37('0x16c')]),_0x292f2f[_0x5b37('0x16c')][_0x5b37('0x5d')]===_0x292f2f&&(_0x292f2f[_0x5b37('0x16c')]['previous']=null),_0x292f2f['next']=null);}function _0x1e983e(_0x102aaf,_0x4cd5e4,_0x44d324){for(let _0x2c50a9=_0x44d324;_0x2c50a9<_0x4cd5e4['length'];_0x2c50a9++){const _0x522b70=_0xecb452(_0x102aaf,_0x4cd5e4[_0x2c50a9]);_0x522b70&&(_0x522b70[0x0][_0x5b37('0x16c')]=_0x522b70[0x1],_0x522b70[0x1]['previous']=_0x522b70[0x0],_0x522232[_0x5b37('0x52')](_0x522b70[0x0]),_0x46d703[_0x5b37('0x52')](_0x522b70[0x1]));}}function _0xecb452(_0x65dd9b,_0x39bd66){if(_0x65dd9b[_0x5b37('0x30')]['id']!==_0x39bd66[_0x5b37('0x30')]['id'])return null;const _0x3c6d36=_0x3e58c1[_0x5b37('0x103')](_0x65dd9b)(_0x65dd9b,_0x39bd66,_0x1db18a[_0x5b37('0x103')](_0x65dd9b),_0x1db18a[_0x5b37('0x103')](_0x39bd66));if(!_0x3c6d36)return null;return _0x3e58c1[_0x5b37('0x103')](_0x39bd66)(_0x65dd9b,_0x39bd66,_0x1db18a[_0x5b37('0x103')](_0x65dd9b),_0x1db18a[_0x5b37('0x103')](_0x39bd66))?_0x3c6d36[0x1][_0x5b37('0xfa')]&&_0x3c6d36[0x1][_0x5b37('0xfa')][_0x5b37('0xdb')]?null:_0x3c6d36:null;}_0x363935[_0x5b37('0x5a')]&&this[_0x5b37('0x139')](_0x363935);}[_0x5b37('0x136')](_0x34db67){if(0x0==_0x34db67['length'])return;const _0x5591ba=this['getSuggestions']({'skipNotAttached':!0x0})[_0x5b37('0x15a')](_0x574091=>_0x5b37('0x175')==_0x574091[_0x5b37('0x3f')]&&_0x574091[_0x5b37('0x106')]),_0x241e88=[],_0x2545b1=new Map();for(const _0x2981c2 of _0x5591ba){const _0x336dfb=_0x1fc600(_0x2981c2[_0x5b37('0x83')]);_0x2545b1[_0x5b37('0x57')](_0x336dfb)||(_0x2545b1['set'](_0x336dfb,_0x241e88[_0x5b37('0xdb')]),_0x241e88['push']([]));const _0x45dd5e=_0x2545b1[_0x5b37('0x103')](_0x336dfb);_0x241e88[_0x45dd5e]['push'](_0x2981c2);}!function(){_0x241e88[_0x5b37('0xc8')]((_0x1d498d,_0x34f8cc)=>{const _0x45bafb=_0x1d498d[0x0]['createdAt'],_0x3c7a38=_0x34f8cc[0x0][_0x5b37('0x146')];return _0x45bafb==_0x3c7a38?_0x1d498d[0x0][_0x5b37('0x83')]['groupId']<_0x34f8cc[0x0][_0x5b37('0x83')][_0x5b37('0x115')]?-0x1:0x1:_0x45bafb<_0x3c7a38?-0x1:0x1;});for(const _0x328efa of _0x241e88)_0x328efa['sort']((_0x561843,_0x59c121)=>_0x561843['id']<_0x59c121['id']?-0x1:0x1);}();for(let _0x4d9ec3=0x0;_0x4d9ec3<_0x241e88[_0x5b37('0xdb')];_0x4d9ec3++){if(0x0==_0x241e88[_0x4d9ec3][_0x5b37('0xdb')])continue;const _0x9f9e2e=[];for(let _0x3b37f0=_0x4d9ec3+0x1;_0x3b37f0<_0x241e88[_0x5b37('0xdb')];_0x3b37f0++)0x0!=_0x241e88[_0x3b37f0]['length']&&_0x20663b(_0x241e88[_0x4d9ec3],_0x241e88[_0x3b37f0])&&_0x9f9e2e[_0x5b37('0xa1')](_0x3b37f0);for(const _0x3c1e98 of _0x9f9e2e)_0x241e88[_0x4d9ec3]=_0x241e88[_0x4d9ec3][_0x5b37('0x90')](_0x241e88[_0x3c1e98]),_0x241e88[_0x3c1e98]=[];}for(const _0x57f220 of _0x241e88)for(let _0x1edcf5=0x0;_0x1edcf5<_0x57f220[_0x5b37('0xdb')];_0x1edcf5++)_0x57f220[_0x1edcf5][_0x5b37('0x16c')]=_0x57f220[_0x1edcf5+0x1]||null;for(const _0x2111c6 of _0x241e88)for(let _0x27d0a5=0x0;_0x27d0a5<_0x2111c6['length'];_0x27d0a5++)_0x2111c6[_0x27d0a5]['previous']=_0x2111c6[_0x27d0a5-0x1]||null;function _0x20663b(_0x4a4e26,_0x1ed0ac){if(_0x4a4e26[0x0]['author']!==_0x1ed0ac[0x0][_0x5b37('0x30')])return!0x1;if(!function(_0xf0d680,_0x114bfb){if(!_0xf0d680[_0x5b37('0x8f')]&&!_0x114bfb['hasComments'])return!0x0;if(_0xf0d680[_0x5b37('0x8f')]&&_0x114bfb[_0x5b37('0x8f')])return!0x1;if(_0xf0d680[_0x5b37('0x8f')]&&_0x114bfb['createdAt']<_0xf0d680['commentThread'][_0x5b37('0x3e')][_0x5b37('0x103')](0x0)[_0x5b37('0x146')])return!0x0;if(_0x114bfb[_0x5b37('0x8f')]&&_0xf0d680[_0x5b37('0x146')]<_0x114bfb[_0x5b37('0xfa')][_0x5b37('0x3e')][_0x5b37('0x103')](0x0)[_0x5b37('0x146')])return!0x0;return!0x1;}(_0x4a4e26[0x0],_0x1ed0ac[0x0]))return!0x1;const _0x3e065d=_0x237c40(_0x4a4e26[0x0][_0x5b37('0x83')],_0x5b37('0x115')),_0x40ddf5=_0x237c40(_0x1ed0ac[0x0][_0x5b37('0x83')],_0x5b37('0x115'));if(!_0x1587e8(_0x3e065d,_0x40ddf5))return!0x1;return!!_0x4a4e26[_0x5b37('0x11e')](_0x1b4230=>_0x1ed0ac[_0x5b37('0x84')](_0x531a60=>_0x1b4230[_0x5b37('0xc')]()['isEqual'](_0x531a60[_0x5b37('0xc')]())))&&_0x1ed0ac[_0x5b37('0x11e')](_0x6079c9=>_0x4a4e26[_0x5b37('0x84')](_0x12f6ce=>_0x6079c9[_0x5b37('0xc')]()[_0x5b37('0x169')](_0x12f6ce[_0x5b37('0xc')]())));}}['_joinWithAdjacentSuggestions'](_0x2a8872){const _0x2d3d26=Array[_0x5b37('0x8b')](_0x2a8872),_0xff0f8f=this['getSuggestions']({'skipNotAttached':!0x0}),_0xe59993=_0xff0f8f['filter'](_0x4da944=>!_0x2a8872['has'](_0x4da944)),_0x4a3b35=new Map(_0x2d3d26[_0x5b37('0x43')](_0x175b07=>[_0x175b07,this['_suggestionFactory'][_0x5b37('0x123')](_0x175b07['type'],_0x175b07[_0x5b37('0x13b')],_0x5b37('0x2e'))])),_0x7aa538=new Map(_0xff0f8f['map'](_0x9febce=>[_0x9febce,_0x9febce[_0x5b37('0x8')]()]));for(let _0x4b4c06=0x0;_0x4b4c06<_0x2d3d26['length'];_0x4b4c06++){if(_0x5798ad(this,_0x2d3d26[_0x4b4c06],_0x2d3d26,_0x4b4c06+0x1))return!0x0;}for(let _0x470db7=0x0;_0x470db7<_0x2d3d26[_0x5b37('0xdb')];_0x470db7++){if(_0x5798ad(this,_0x2d3d26[_0x470db7],_0xe59993,0x0))return!0x0;}return!0x1;function _0x5798ad(_0x3239f2,_0x321a87,_0x38ec8a,_0x2ae31c){for(let _0x196eec=_0x2ae31c;_0x196eec<_0x38ec8a[_0x5b37('0xdb')];_0x196eec++){const _0x370e26=_0x38ec8a[_0x196eec];if(_0x370e26[_0x5b37('0x3f')]!==_0x321a87['type']||_0x370e26[_0x5b37('0x30')]['id']!==_0x321a87[_0x5b37('0x30')]['id']||_0x370e26[_0x5b37('0x13b')]!==_0x321a87[_0x5b37('0x13b')])continue;if(!Vt(_0x321a87,_0x370e26))continue;if(_0x5b37('0x175')==_0x321a87['type']&&_0x321a87['data']['oldValue']!=_0x370e26['data'][_0x5b37('0x36')])continue;if(_0x5b37('0x175')==_0x321a87['type']&&_0x3239f2[_0x5b37('0xea')](_0x321a87[_0x5b37('0x3c')][_0x5b37('0x129')]))continue;if(_0x5b37('0x6b')==_0x321a87[_0x5b37('0x3f')]){const _0x5dec7e=_0x3239f2[_0x5b37('0x101')][_0x5b37('0x7e')],_0x25cb5c=_0x321a87[_0x5b37('0x26')]();if(_0x25cb5c&&(_0x5dec7e[_0x5b37('0x37')][_0x5b37('0x1c')](_0x25cb5c)||_0x5dec7e[_0x5b37('0x37')][_0x5b37('0x4e')](_0x25cb5c)))continue;}const _0x139b34=_0x4a3b35[_0x5b37('0x103')](_0x321a87),_0x1e17d6=_0x7aa538[_0x5b37('0x103')](_0x321a87),_0x308ecf=_0x7aa538[_0x5b37('0x103')](_0x370e26),_0x9cf226=_0x321a87[_0x5b37('0xfa')]&&_0x321a87[_0x5b37('0xfa')][_0x5b37('0xdb')],_0x54e43d=_0x370e26[_0x5b37('0xfa')]&&_0x370e26['commentThread']['length'];if(!_0x9cf226&&_0x139b34(_0x308ecf,_0x1e17d6))return _0x3239f2[_0x5b37('0xe6')](_0x370e26,_0x321a87),_0x7aa538[_0x5b37('0x56')](_0x321a87),!0x0;if(!_0x54e43d&&_0x139b34(_0x1e17d6,_0x308ecf))return _0x3239f2[_0x5b37('0xe6')](_0x321a87,_0x370e26),_0x7aa538[_0x5b37('0x56')](_0x370e26),!0x0;}return!0x1;}}[_0x5b37('0xe6')](_0xdae155,_0x16056){if(_0xdae155[_0x5b37('0xbb')])for(const _0x489d23 of _0x16056[_0x5b37('0x8')]())_0xdae155[_0x5b37('0x2b')](_0x489d23);else{const _0xadde22=_0x16056[_0x5b37('0xc')]()[_0x5b37('0x105')];this['_setSuggestionRange'](_0xdae155,this[_0x5b37('0x63')]['createRange'](_0xdae155[_0x5b37('0xc')]()[_0x5b37('0xd7')],_0xadde22));}_0x16056[_0x5b37('0xc2')]();}[_0x5b37('0x164')](_0x4f3baf,_0xd4e1bc){const _0x5ad07e=_0x4f3baf[_0x5b37('0x80')](_0x5b37('0x13c'))||_0x4f3baf[_0x5b37('0x80')](_0x5b37('0x175'))?_0x5b37('0x95'):_0x4f3baf['toUpperCase']();return _0x2226ce(this[_0x5b37('0x101')][_0x5b37('0x159')],_0xd4e1bc+'_'+_0x5ad07e+_0x5b37('0xbf'));}[_0x5b37('0x25')](){const _0x5271c9=this[_0x5b37('0x101')];_0x3fa9ec(this['_model'],({left:_0x4bf178,entered:_0x40eddf})=>{const _0x16124b=[];for(const _0xdfcd0b of _0x4bf178){const {group:_0x3f42a5,type:_0x57acda}=this[_0x5b37('0xe1')](_0xdfcd0b[_0x5b37('0x3a')]);if(_0x5b37('0xc3')===_0x3f42a5){_0x16124b[_0x5b37('0xa1')](this['_getMarkerAnnouncementText'](_0x57acda,'LEAVE'));break;}}for(const _0x7c1086 of _0x40eddf){const {group:_0x459d3c,type:_0x560a41}=this[_0x5b37('0xe1')](_0x7c1086[_0x5b37('0x3a')]);if(_0x5b37('0xc3')===_0x459d3c){_0x16124b[_0x5b37('0xa1')](this['_getMarkerAnnouncementText'](_0x560a41,_0x5b37('0x9a')));break;}}_0x16124b['length']&&_0x5271c9['ui'][_0x5b37('0x34')][_0x5b37('0x141')](_0x5b37('0xc1'),_0x16124b[_0x5b37('0x2e')]('\x20'));});}[_0x5b37('0xcf')](_0x37d2a7){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x55f218=this[_0x5b37('0x101')],_0xc88c57=_0x55f218[_0x5b37('0x7e')]['document'][_0x5b37('0x12c')][_0x5b37('0xf2')]();if(0x0==_0xc88c57[_0x5b37('0xdb')])return!0x1;const _0x574d47=[],_0x24984d=_0xc88c57[_0x5b37('0x15a')](_0x3aebc5=>_0x5b37('0x175')==_0x3aebc5[_0x5b37('0x3f')]),_0x2c3053=_0xc88c57[_0x5b37('0x15a')](_0x251fdc=>'insert'==_0x251fdc[_0x5b37('0x3f')]&&_0x5b37('0x11')!=_0x251fdc['name']),_0x3d5d7a=_0xc88c57[_0x5b37('0x15a')](_0x35f06e=>_0x5b37('0x155')==_0x35f06e[_0x5b37('0x3f')]&&_0x5b37('0x11')!=_0x35f06e[_0x5b37('0x3a')]);for(const _0x11de76 of _0x24984d)_0x574d47['push']({'key':_0x11de76[_0x5b37('0x125')],'newValue':_0x11de76[_0x5b37('0xfc')],'oldValue':_0x11de76[_0x5b37('0x10f')],'range':_0x5a0880(_0x11de76[_0x5b37('0xa8')])});for(const _0x442559 of _0x2c3053){const _0x18dca8=_0x3d5d7a[_0x5b37('0x60')](_0x4fe30d=>_0x4fe30d['position'][_0x5b37('0x169')](_0x442559['position']));_0x18dca8&&_0x574d47[_0x5b37('0xa1')]({'key':'$elementName','newValue':_0x442559[_0x5b37('0x3a')],'oldValue':_0x18dca8[_0x5b37('0x3a')],'range':_0x55f218['model'][_0x5b37('0x171')](_0x442559['position'][_0x5b37('0x165')])});}return 0x0!=_0x574d47['length']&&this['_reduceExistingSuggestions'](_0x37d2a7,_0x574d47);function _0x5a0880(_0x4f4fcf){return null==_0x4f4fcf[_0x5b37('0x105')]['nodeBefore']&&_0x4f4fcf['end'][_0x5b37('0xbd')]==_0x4f4fcf['start'][_0x5b37('0x165')]?Ut(_0x4f4fcf['start']['nodeAfter'],_0x55f218[_0x5b37('0x7e')]):_0x4f4fcf;}}['_processAttributeSuggestions'](_0x5333e1){let _0x2485cb=!0x1;const _0x431086=this[_0x5b37('0x101')][_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')][_0x5b37('0x55')]()[_0x5b37('0x15a')](_0x2118ff=>_0x2118ff[_0x5b37('0x3c')]['newRange']&&_0x2118ff[_0x5b37('0x3a')][_0x5b37('0x80')]('suggestion:attribute:'));for(const _0x39c1c0 of _0x431086){const {subType:_0x472527,id:_0x354e22}=this['_splitMarkerName'](_0x39c1c0[_0x5b37('0x3a')]),_0x48f430=_0x472527[_0x5b37('0xf5')]('|')[0x0];for(const _0x1fb9b8 of this[_0x5b37('0x14a')]({'skipNotAttached':!0x0}))_0x1fb9b8['id']!=_0x354e22&&_0x5b37('0x175')==_0x1fb9b8[_0x5b37('0x3f')]&&_0x1fb9b8[_0x5b37('0x3c')]&&_0x1fb9b8[_0x5b37('0x3c')][_0x5b37('0x129')]==_0x48f430&&_0x1fb9b8[_0x5b37('0xc')]()[_0x5b37('0xde')](_0x39c1c0[_0x5b37('0x3c')][_0x5b37('0xbc')])&&(this[_0x5b37('0xe')](_0x1fb9b8,_0x39c1c0[_0x5b37('0x3c')][_0x5b37('0xbc')],_0x5333e1),_0x2485cb=!0x0);}return _0x2485cb;}[_0x5b37('0x4a')](_0x5d5584){if(null!==this[_0x5b37('0x16')])return void _0x5d5584();const _0x17d5b2=this[_0x5b37('0x101')];this[_0x5b37('0x16')]=_0x17d5b2['model']['document'][_0x5b37('0x14d')],_0x5d5584();const _0x1ea7db=new Map();for(const _0x3577b3 of _0x17d5b2[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x2')][_0x5b37('0x111')](this[_0x5b37('0x16')]))if([_0x5b37('0x161'),_0x5b37('0xc5'),'removeAttribute',_0x5b37('0xee')][_0x5b37('0xc7')](_0x3577b3['type'])){const _0xa5cc90=_0x3577b3[_0x5b37('0x51')],_0x334010=_0x1ea7db[_0x5b37('0x103')](_0xa5cc90)||[];_0x334010[_0x5b37('0xa1')](_0x3577b3),_0x1ea7db[_0x5b37('0xc4')](_0xa5cc90,_0x334010);}this[_0x5b37('0x16')]=null;for(const [_0x431dc2,_0x24bcd8]of _0x1ea7db){const _0x151f61=_0x5bc589();_0x17d5b2[_0x5b37('0x7e')]['enqueueChange'](_0x431dc2,_0x11bace=>{const _0x553a7e=[];for(const _0x11363a of _0x24bcd8){let _0x317f9d,_0x33f688,_0x425bdc,_0x3054ec;if('rename'==_0x11363a[_0x5b37('0x3f')]){const _0x272f04=_0x11363a;_0x317f9d=Ut(_0x272f04[_0x5b37('0xfb')]['nodeAfter'],_0x17d5b2[_0x5b37('0x7e')]),_0x33f688=_0x5b37('0x153'),_0x425bdc=_0x272f04['newName'],_0x3054ec=_0x272f04[_0x5b37('0x117')];}else{const _0x89bb9a=_0x11363a,_0x3d95bf=this[_0x5b37('0xea')](_0x89bb9a[_0x5b37('0x129')]),_0x4acf44=this[_0x5b37('0x167')]['has'](_0x89bb9a[_0x5b37('0x129')]);if(!_0x3d95bf&&!_0x4acf44)continue;_0x317f9d=_0x3d95bf?Ut(_0x89bb9a[_0x5b37('0xa8')][_0x5b37('0xd7')][_0x5b37('0x165')],_0x17d5b2[_0x5b37('0x7e')]):_0x89bb9a['range'],_0x33f688=_0x89bb9a[_0x5b37('0x129')],_0x425bdc=_0x5b37('0x7b')==_0x11363a[_0x5b37('0x3f')]?void 0x0:_0x89bb9a['newValue'],_0x3054ec=_0x89bb9a[_0x5b37('0x36')];}this[_0x5b37('0xb')](_0x317f9d,_0x33f688,_0x3054ec,_0x425bdc,{'groupId':_0x151f61}),_0x553a7e[_0x5b37('0xa1')]({'range':_0x317f9d,'key':_0x33f688,'newValue':_0x425bdc,'oldValue':_0x3054ec});}this[_0x5b37('0xf4')](_0x11bace,_0x553a7e);});}}[_0x5b37('0xf4')](_0x18bd91,_0x412da9){if(0x0==_0x412da9[_0x5b37('0xdb')])return!0x1;let _0x120cb9=!0x1;for(const _0x3a3afb of _0x412da9){const _0x23a935=this[_0x5b37('0xe0')](_0x3a3afb['range'],_0x5b37('0x175'))['filter'](_0x202de7=>!_0x202de7[_0x5b37('0x5f')][_0x5b37('0xa4')])[_0x5b37('0x43')](_0x12fd7a=>_0x12fd7a[_0x5b37('0xc3')]),_0x377e55=_0x1fc600({'newValue':_0x3a3afb[_0x5b37('0x147')]});_0x23a935[_0x5b37('0x15a')](_0x3bd93c=>{const [_0x1a9880,_0x504179]=_0x3bd93c['subType']['split']('|');return _0x1a9880==_0x3a3afb['key']&&_0x504179!=_0x377e55;})[_0x5b37('0x112')](_0x1ff935=>{this['_reduceSuggestionAttributeRange'](_0x1ff935,_0x3a3afb['range'],_0x18bd91),_0x120cb9=!0x0;});}return _0x120cb9;}[_0x5b37('0xe')](_0x4d6ae4,_0x45808f,_0x4d9cc9){const _0x1f1ba1=_0x4d6ae4['getFirstRange']()['getDifference'](_0x45808f);0x0!==_0x1f1ba1[_0x5b37('0xdb')]?0x1!==_0x1f1ba1[_0x5b37('0xdb')]?this['_breakSuggestionMarker'](_0x4d6ae4,_0x45808f[_0x5b37('0xd7')],_0x45808f[_0x5b37('0x105')]):this[_0x5b37('0x12a')](_0x4d6ae4,_0x1f1ba1[0x0]):_0x4d9cc9[_0x5b37('0x151')](_0x4d6ae4[_0x5b37('0x5b')]());}}class $t{constructor(_0x12f662){this[_0x5b37('0x14b')]=_0x12f662,this[_0x5b37('0x63')]=_0x12f662[_0x5b37('0x7e')],this[_0x5b37('0x3d')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x5b37('0x6c')]();}[_0x5b37('0x15')](_0x17cdfd,_0x4de3e8,_0x2c2e54,_0x1c8577,_0x4d887c,_0xe9b8a4){return new _0x578a9e(this[_0x5b37('0x63')],{'type':_0x17cdfd,'subType':_0x4de3e8,'id':_0x2c2e54,'author':_0x1c8577,'creator':_0x1c8577,'attributes':_0x4d887c,'onAttributesChange':_0xe9b8a4,'onAccept':(..._0xce54fb)=>this['getSuggestionCallback'](_0x17cdfd,_0x4de3e8,'accept')(..._0xce54fb),'onDiscard':(..._0x4ee1bf)=>this[_0x5b37('0x123')](_0x17cdfd,_0x4de3e8,'discard')(..._0x4ee1bf)});}[_0x5b37('0x16f')](_0x12a325,_0x53b16d,_0x2c96a7,_0x2bec98){const _0x41b896=_0x12a325+':'+_0x53b16d+':'+_0x2c96a7;this[_0x5b37('0x3d')][_0x5b37('0xc4')](_0x41b896,_0x2bec98);}['getSuggestionCallback'](_0x56e638,_0xab07b3,_0x3f7095){const _0x20456b=_0x56e638+':'+_0xab07b3+':'+_0x3f7095;return this[_0x5b37('0x3d')][_0x5b37('0x103')](_0x20456b)||this[_0x5b37('0x82')][_0x5b37('0x103')](_0x56e638+':'+_0x3f7095);}[_0x5b37('0x6c')](){const _0x3264e3=()=>!0x1,_0x50560f=_0x560434=>{_0x560434[_0x5b37('0xc8')]((_0x2c88e3,_0x479c43)=>_0x2c88e3[_0x5b37('0xd7')]['isBefore'](_0x479c43[_0x5b37('0xd7')])?0x1:-0x1),this[_0x5b37('0x63')][_0x5b37('0x156')](_0x421403=>{for(const _0x2003b1 of _0x560434){let _0x4745b6;_0x4745b6=_0x2003b1['end'][_0x5b37('0x2a')]&&_0x2003b1['end'][_0x5b37('0xbd')]==_0x2003b1[_0x5b37('0xd7')][_0x5b37('0x165')]?_0x421403['createSelection'](_0x2003b1['start'][_0x5b37('0x165')],'on'):_0x421403[_0x5b37('0x14c')](_0x2003b1),this[_0x5b37('0x63')]['deleteContent'](_0x4745b6,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x332779=(_0x4f0650,_0x20cce5)=>{_0x20cce5&&this[_0x5b37('0x63')]['change'](_0x4b9e2b=>{const {commandName:_0x3f1857,commandParams:_0xbaee4a=[]}=_0x20cce5,_0x129daf=_0x4f0650[_0x5b37('0x43')](_0x2dd871=>(Tt(_0x2dd871)&&(_0x2dd871=this['_model'][_0x5b37('0xd6')](_0x2dd871[_0x5b37('0x105')])),_0x2dd871))[_0x5b37('0x15a')](_0x37ea9a=>'$graveyard'!==_0x37ea9a['root'][_0x5b37('0xf1')]);if(_0x129daf[_0x5b37('0xdb')]<0x1)return;const _0x344457=Array[_0x5b37('0x8b')](this[_0x5b37('0x63')][_0x5b37('0x7a')][_0x5b37('0x16b')][_0x5b37('0x8')]())[_0x5b37('0x43')](_0x68663f=>_0x2cfd9f[_0x5b37('0x3b')](_0x68663f));_0x4b9e2b['setSelection'](_0x129daf);for(const _0x369a5a of this[_0x5b37('0x14b')]['commands']['commands']())_0x369a5a[_0x5b37('0x85')]();_0xbaee4a['push']({'forceDefaultExecution':!0x0}),this[_0x5b37('0x14b')]['execute'](_0x3f1857,..._0xbaee4a);const _0x137af8=_0x344457[_0x5b37('0x15a')](_0x4466bf=>_0x5b37('0xeb')!=_0x4466bf[_0x5b37('0x45')]['rootName']);_0x137af8[_0x5b37('0xdb')]>0x0&&_0x4b9e2b[_0x5b37('0x110')](_0x137af8);for(const _0x3b2b23 of _0x344457)_0x3b2b23[_0x5b37('0x142')]();});},_0x48bf39=(_0x47f37f,_0x7ff89c)=>0x1==_0x47f37f['length']&&0x1==_0x7ff89c[_0x5b37('0xdb')]&&_0x47f37f[0x0][_0x5b37('0x105')][_0x5b37('0x169')](_0x7ff89c[0x0][_0x5b37('0xd7')]),_0x5183d7=(_0x43d1ce,_0x1656b0,_0x3d55dc,_0x22d978)=>Ot(_0x43d1ce,_0x1656b0,_0x3d55dc,_0x22d978,this[_0x5b37('0x63')])?[_0x43d1ce,_0x1656b0]:Ot(_0x1656b0,_0x43d1ce,_0x22d978,_0x3d55dc,this[_0x5b37('0x63')])?[_0x1656b0,_0x43d1ce]:null;this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x170'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xb9'),_0x50560f),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x3'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x72'),_0x5183d7),this[_0x5b37('0x82')][_0x5b37('0xc4')]('deletion:accept',_0x50560f),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x134'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xcb'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x102'),_0x5183d7),this[_0x5b37('0x82')]['set'](_0x5b37('0x38'),_0x332779),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x74'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xe7'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x0'),_0x3264e3),this[_0x5b37('0x82')]['set'](_0x5b37('0x44'),_0x332779),this['_defaultCallbacks'][_0x5b37('0xc4')](_0x5b37('0x16e'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x76'),_0x48bf39),this[_0x5b37('0x82')]['set'](_0x5b37('0xae'),_0x3264e3),this[_0x5b37('0x82')]['set'](_0x5b37('0x6f'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xda'),(_0x289ffa,_0xc34d0b)=>{if(!_0xc34d0b)return;const _0x32ac2b=this[_0x5b37('0x14b')][_0x5b37('0xe3')][_0x5b37('0x103')](p);this[_0x5b37('0x63')][_0x5b37('0x156')](_0x25dab2=>{if(_0x5b37('0x153')==_0xc34d0b[_0x5b37('0x129')])for(const _0x4243ff of _0x289ffa){const _0x7dea45=_0x4243ff[_0x5b37('0xd7')][_0x5b37('0x165')],_0x4c00dc=_0xc34d0b[_0x5b37('0x36')];_0x25dab2[_0x5b37('0x161')](_0x7dea45,_0x4c00dc);}else{if(_0x32ac2b['_isBlockAttribute'](_0xc34d0b[_0x5b37('0x129')]))for(const _0x21b729 of _0x289ffa)void 0x0!==_0xc34d0b['oldValue']?_0x25dab2['setAttribute'](_0xc34d0b['key'],_0xc34d0b[_0x5b37('0x36')],_0x21b729[_0x5b37('0xd7')]['nodeAfter']):_0x25dab2[_0x5b37('0x7b')](_0xc34d0b[_0x5b37('0x129')],_0x21b729['start'][_0x5b37('0x165')]);else for(const _0x2c687a of _0x289ffa)_0xc34d0b['oldValue']?_0x25dab2[_0x5b37('0x65')](_0xc34d0b[_0x5b37('0x129')],_0xc34d0b[_0x5b37('0x36')],_0x2c687a):_0x25dab2['removeAttribute'](_0xc34d0b[_0x5b37('0x129')],_0x2c687a);}});}),this[_0x5b37('0x82')]['set']('attribute:join',_0x48bf39);}}function Bt(_0x31bc44,_0xd53030,_0x10ab89){for(const _0x5b0cf4 of _0xd53030[_0x5b37('0xbd')][_0x5b37('0x132')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5b0cf4[_0x5b37('0x45')]==_0x5b0cf4)return!0x1;if(!_0x10ab89[_0x5b37('0x137')](_0x5b0cf4))return!0x1;if(_0x31bc44[_0x5b37('0x1c')](_0x5b0cf4)||_0x31bc44[_0x5b37('0x4e')](_0x5b0cf4))return!0x0;}return!0x1;}function Tt(_0x403544){return _0x403544['end'][_0x5b37('0xbd')]==_0x403544['start'][_0x5b37('0x165')]&&_0x403544[_0x5b37('0x105')][_0x5b37('0x119')];}function xt(_0x3316b0,_0x53b133,_0x48dd49,_0x3e3877){const _0x47306e=_0x550918=>!_0x550918['item']['is']('$textProxy')&&!_0x3e3877[_0x5b37('0x1c')](_0x550918[_0x5b37('0x15f')]),_0x407134=_0x3316b0['start'][_0x5b37('0x148')](_0x47306e),_0x5e5428=_0x3316b0[_0x5b37('0x105')][_0x5b37('0x148')](_0x47306e,{'direction':_0x5b37('0x174')});return(!_0x3316b0['start'][_0x5b37('0x169')](_0x407134)||!_0x3316b0['end'][_0x5b37('0x169')](_0x5e5428))&&(_0x407134['isBefore'](_0x5e5428)?_0x48dd49[_0x5b37('0x31')](_0x53b133,{'range':_0x48dd49[_0x5b37('0xd6')](_0x407134,_0x5e5428)}):_0x48dd49[_0x5b37('0x151')](_0x53b133),!0x0);}function Et(_0x4c2205){return _0x1fc600(_0x4c2205);}function Rt(_0x3c762d){const _0x30a436=_0x3c762d['start'][_0x5b37('0x165')];return _0x30a436&&_0x30a436['is'](_0x5b37('0x127'));}function Ut(_0xebd1fc,_0x2489bf){const _0x875512=_0x2489bf['schema'][_0x5b37('0x1c')](_0xebd1fc)||_0x2489bf[_0x5b37('0x37')]['isSelectable'](_0xebd1fc);return _0x2489bf[_0x5b37('0xd6')](_0x2489bf[_0x5b37('0x10b')](_0xebd1fc,'before'),_0x875512?_0x2489bf['createPositionAfter'](_0xebd1fc):_0x2489bf[_0x5b37('0x10b')](_0xebd1fc,_0x5b37('0x105')));}function Ot(_0x308b09,_0x280294,_0x4279fe,_0x48f736,_0x125de8){if(!Vt(_0x308b09,_0x280294))return!0x1;if(_0x4279fe[_0x5b37('0x105')][_0x5b37('0x169')](_0x48f736[_0x5b37('0xd7')]))return!0x0;if(_0x308b09[_0x5b37('0x3f')]!=_0x280294[_0x5b37('0x3f')])return!0x1;if(!_0x4279fe['end']['isTouching'](_0x48f736['start']))return!0x1;const _0x113729=_0x125de8[_0x5b37('0xd6')](_0x4279fe[_0x5b37('0x105')],_0x48f736['start'])[_0x5b37('0xb7')]();for(const _0x3651d4 of _0x113729)if([_0x5b37('0xb5'),_0x5b37('0xa6')]['includes'](_0x3651d4[_0x5b37('0x3f')])&&_0x125de8[_0x5b37('0x37')][_0x5b37('0x4e')](_0x3651d4[_0x5b37('0x15f')]))return!0x1;return!0x0;}function Vt(_0x3c01f7,_0x154466){return!(!_0x3c01f7[_0x5b37('0x106')]||!_0x154466[_0x5b37('0x106')])&&_0x1587e8(_0x3c01f7[_0x5b37('0x83')],_0x154466['attributes']);}function Gt(_0x1368f6,_0x423e66){const _0x3bb084=Ft(_0x1368f6[_0x5b37('0x83')]),_0x28700a=Ft(_0x423e66);if(!_0x1368f6[_0x5b37('0x106')])return!0x1;for(const _0x106854 of Object[_0x5b37('0xff')](_0x28700a))if(!_0x1587e8(_0x3bb084[_0x106854],_0x28700a[_0x106854]))return!0x1;return!0x0;}function Ft(_0x5d8f7d){const _0x108487=Object[_0x5b37('0x17')]({},_0x5d8f7d);return delete _0x108487[_0x5b37('0x130')],delete _0x108487[_0x5b37('0xd1')],_0x108487;}function Pt(_0x361b3e){return'attribute'==_0x361b3e[_0x5b37('0x3f')]?_0x361b3e[_0x5b37('0x13b')][_0x5b37('0xf5')]('|')[0x0]:null;}
|
|
23
|
+
const _0x482f=['isCollapsed','collaboration.channelId','_checkSuggestionCorrectness','createRange','define','history','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.','formatInline:accept','isSelectable','formatBlock:discard','refresh','split','addMarker','commandName','markers','_blockAttributeKeys','isEqual','getWalker','getMarkers','isNextTo','splice','hasComments','_isBlockAttribute','_trackFormatChanges','low','join','start','version','_editor','move','isLocal','removeAttribute','default','toUpperCase','return','removeClass','_registerBlockAttribute','forward','then','track-changes-suggestion-data-mismatch','createPositionAfter','addClass','_getMarkerAnnouncementText','editingDowncast','deletion:accept','model','_refreshSuggestionsChain','discardAllSuggestions','rename','add','isBefore','_refreshAttributeSuggestionsChain','deletion:discard','fetchCommentThread','$elementName','accept','$graveyard','_isDataLoaded','change:activeMarkers','_registerDefaultCallbacks','containsItem','isArray','_splitMarkerName','enqueueChange','highest','markInsertion','insertion:chain','error-saving-suggestion-data-suggestion-discarded','_enableDefaultAttributesIntegration','oldRange','insertion','moveTargetPosition','has','markerToHighlight','type','init','schema','deletion:','_model','rejected','conversion','document','_defaultCallbacks','ck-suggestion-marker','set','batch','elementEnd','deleteContent','find','getChanges','stop','_addThreadToSuggestion','never','attribute:join','createdAt','substr','normal','getContainedElement','_onDiscard','delete','acceptSuggestion','getFirstMarker','ck-suggestion-marker-formatBlock','dataDowncast','_commentsRepository','rootName','dataToMarker','substring','markAttributeChange','removeMarker','_cutOutSuggestionMarker','consumable','createSelection','isAfter','unbindElementFromMarkerName','buildSuggestion','subType','getCommentThread','ck-suggestion-marker-formatInline','keys','formatBlock','commentThread','mapper','isIntersecting','some','adapter','multipleBlocks','_mergeNestedSuggestions','isInsideObject','_processAttributeSuggestions','getShiftedBy','deletion:join','newRange','_adapter','head','detach','isBlock','getRanges','authorName','range','skipNestingCheck','options','for','isIntersectingWithRange','markerToData','getNearestSelectionRange','_initAriaMarkerChangeAnnouncements','addRange','suggestion-type','insertion:accept','attributeOldValue','_getSuggestionData','_SUGGESTION_ANNOUNCEMENT','rethrowUnexpectedError','isLimit','originalSuggestionId','getCustomProperty','formatInline:chain','getMultiRangeId','groupId','previous','trackChangesCommand','_joinSuggestions','enableReadOnlyMode','attribute:accept','isObject','announce','notReady','$marker','applyOperation','markInlineFormat','insert','_rangeIsInLocalUserInsertion','_customCallbacks','fromRange','value','TrackChangesEditing','isTouching','insertContent','addHighlight','FORMATTING','_isForcedDefaultExecutionBlock','createPositionBefore','_addSuggestionMarker','item','registerCustomCallback','howMany','toViewElement','high','update:suggestion','requires','getFirstRange','removeMarker:suggestion:formatBlock','editing','getSuggestions','comments','commands','discard','_recordAttributeChanges','removeMarker:suggestion:attribute','_enabledCommands','containsRangeInObject','end','forEach','addMarker:suggestion:attribute','_setSuggestionRange','_suggestionState','_getExternalAuthor','suggestionUnloaded','getLastMatchingPosition','_saved','getSuggestion','suggestion:','_findSuggestions','key','_recordAttributeSuggestionsFromVersion','attributeNewValue','dataReady','length','values','catch','chain','addComment','accepted','remove','createRangeOn','changeAttribute','_suggestions','before','containerElement','formatInline:join','suggestion:attribute:','isOwn','elementStart','pluginName','differ','PENDING_ACTION_SUGGESTION','change','assign','setAttribute','ENTER','insertion:','formatBlock:','newName','Users','insertion:discard','markerNameToElements','plugins','attribute:','hasSuggestion','external:','warn','ck-suggestion-marker-','_updateSuggestionData','widget','attributes','getAllAdjacentSuggestions','markMultiRangeInsertion','forceDefaultExecution','_reduceExistingSuggestions','markDeletion','_getAuthorFromId','_inlineAttributeKeys','config','getChangedMarkers','consume','element','suggestionLoaded','get','marker-count','getIntersection','attribute:discard','_createSuggestion','getItems','createElement','_reduceSuggestionAttributeRange','position','acceptAllSuggestions','oldName','track-changes-adapter-missing-getsuggestion','deletion:chain','nodeBefore','isAtStart','documentSelection','after','ck-suggestion-marker--active','getSuggestionCallback','from','resolve','addSuggestionData','_joinWithAdjacentSuggestions','enableCommand','_setSuggestionData','containsPosition','formatBlock:chain','discardSelectedSuggestions','newValue','ready','trackChanges.trackFormatChanges','isMultiRange','name','showSuggestionHighlights','removeComment','writer','@external','addSuggestion','_removeSuggestion','listenTo','insertion:join','upcast','authoredAt','trackChanges.mergeNestedSuggestions','author','editor','push','updateMarker','always','PendingActions','change:_saved','data-suggestion','backward','sort','splitPosition','containsRange','addMarker:suggestion:formatBlock','markerName','unbind','suggestion','acceptSelectedSuggestions','getRange','formatInline','every','LEAVE','_registerInlineAttribute','addUser','CommentsRepository','createPositionAt','root','createRangeIn','oldValue','attribute','reconvertMarker','_suggestionFactory','execute','getOperations','deletion','locale','setSelection','formatInline:','_breakSuggestionMarker','getAttribute','registerPostFixer','filter','formatBlock:accept','creator','track-changes-suggestion-not-found','removed','addAttribute','selection','track-changes-user-not-found','formatGroupId','map','parent','getDifference','_handleNewSuggestionMarker','isRemovable','getUser','isInContent','discardSuggestion','size','removeMarkers','elementToElement','markMultiRangeBlockFormat','group','activeMarkers','$text','isAtEnd','fire','next','includes','isDocumentOperation','clear','trackChanges','nodeAfter','clone','track-changes-adapter-already-set','markBlockFormat','multi','data'];(function(_0x382461,_0x482f96){const _0x308075=function(_0x4283ef){while(--_0x4283ef){_0x382461['push'](_0x382461['shift']());}};_0x308075(++_0x482f96);}(_0x482f,0x72));const _0x3080=function(_0x382461,_0x482f96){_0x382461=_0x382461-0x0;let _0x308075=_0x482f[_0x382461];return _0x308075;};import{Plugin as _0x3d75ea,PendingActions as _0x2e1e42}from'ckeditor5/src/core.js';import{LiveRange as _0x441896}from'ckeditor5/src/engine.js';import{CKEditorError as _0x134604,uid as _0x10af11,priorities as _0x102994,logWarning as _0x38bf58}from'ckeditor5/src/utils.js';import{toWidget as _0x20ae6b}from'ckeditor5/src/widget.js';import{Users as _0xb34495,hashObject as _0x469935,surroundingMarkersDetector as _0x21acf8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x44e1da from'./commands/trackchangescommand.js';import _0x564c9c from'./commands/acceptsuggestioncommand.js';import _0x208674 from'./commands/discardsuggestioncommand.js';import _0x5bedce from'./commands/executeonallsuggestionscommand.js';import _0x150cef from'./commands/executeonselectedsuggestionscommand.js';import _0x1526e2 from'./suggestion.js';import _0x3c23fe from'./suggestiondescriptionfactory.js';import _0x2aaae1 from'./integrations/aiassistant.js';import _0x11697c from'./integrations/alignment.js';import _0x1a4632 from'./integrations/basicstyles.js';import _0xdf9fb8 from'./integrations/blockquote.js';import _0x26e49a from'./integrations/ckbox.js';import _0x537ffe from'./integrations/codeblock.js';import _0x2f46c7 from'./integrations/comments.js';import _0x253e55 from'./integrations/deletecommand.js';import _0x554f25 from'./integrations/documentlist.js';import _0xdf3a41 from'./integrations/documentlistproperties.js';import _0x3961c1 from'./integrations/entercommand.js';import _0x35f9f7 from'./integrations/findandreplace.js';import _0x3dd664 from'./integrations/font.js';import _0x1b936c from'./integrations/formatpainter.js';import _0x59bdba from'./integrations/heading.js';import _0x3646b3 from'./integrations/highlight.js';import _0x478e41 from'./integrations/horizontalline.js';import _0x4448ff from'./integrations/htmlembed.js';import _0x189742 from'./integrations/image.js';import _0x13c0ef from'./integrations/imagereplace.js';import _0x445fa4 from'./integrations/imagestyle.js';import _0x3adc6e from'./integrations/importword.js';import _0x56eb77 from'./integrations/indent.js';import _0x571533 from'./integrations/inputcommand.js';import _0x58e85e from'./integrations/link.js';import _0xc4279b from'./integrations/list.js';import _0x13e387 from'./integrations/listproperties.js';import _0x40eff2 from'./integrations/mediaembed.js';import _0x41c65e from'./integrations/mention.js';import _0x42cf1d from'./integrations/pagebreak.js';import _0xe8e65b from'./integrations/paragraph.js';import _0x2081d5 from'./integrations/removeformat.js';import _0x154586 from'./integrations/restrictededitingmode.js';import _0xaeac6 from'./integrations/shiftentercommand.js';import _0x5e2fd4 from'./integrations/standardeditingmode.js';import _0x5b0168 from'./integrations/style.js';import _0x1cb066 from'./integrations/table.js';import _0x1a0523 from'./integrations/tablemergesplit.js';import _0x3c13fe from'./integrations/tableheadings.js';import _0xabca68 from'./integrations/tableclipboard.js';import _0x2a37d9 from'./integrations/tablecolumnresize.js';import _0x24b62d from'./integrations/template.js';import _0x51da92 from'./integrations/tableofcontents.js';import _0x4b566b from'./integrations/title.js';import _0x5b4b54 from'./integrations/undo.js';import _0x4d38b1 from'./integrations/tablecaption.js';import _0xf9f9b1 from'./integrations/tableproperties.js';import{getTranslation as _0xaf0263}from'./utils/common-translations.js';import{isEqual as _0x251618,omit as _0x2b8df0}from'lodash-es';export const renameAttributeKey=_0x3080('0x149');export default class p extends _0x3d75ea{static get[_0x3080('0x4c')](){return[_0x3080('0xdd'),_0xb34495,_0x2e1e42,_0x2aaae1,_0x11697c,_0x1a4632,_0xdf9fb8,_0x26e49a,_0x537ffe,_0x2f46c7,_0x253e55,_0x554f25,_0xdf3a41,_0x3961c1,_0x35f9f7,_0x3dd664,_0x1b936c,_0x59bdba,_0x3646b3,_0x478e41,_0x4448ff,_0x189742,_0x445fa4,_0x13c0ef,_0x3adc6e,_0x56eb77,_0x571533,_0x58e85e,_0xc4279b,_0x13e387,_0x40eff2,_0x41c65e,_0x42cf1d,_0xe8e65b,_0x2081d5,_0x154586,_0xaeac6,_0x5e2fd4,_0x5b0168,_0x1cb066,_0x1a0523,_0x3c13fe,_0x4d38b1,_0xabca68,_0x2a37d9,_0x51da92,_0xf9f9b1,_0x24b62d,_0x4b566b,_0x5b4b54];}static get[_0x3080('0x78')](){return _0x3080('0x3e');}constructor(_0x31bfa7){function _0x2475f2(_0x5c2888){return _0x5c2888[_0x3080('0xf7')](_0x375b1d=>String['fromCharCode'](_0x375b1d))[_0x3080('0x12c')]('');}super(_0x31bfa7),this[_0x3080('0x65')]=null,this['set'](_0x3080('0x104'),[]),this['on'](_0x3080('0x14d'),(_0x38b1ec,_0x32e4e7,_0x7a9cd8,_0x51b989)=>{this['_model']['change'](()=>{for(const _0x4ee118 of[..._0x51b989,..._0x7a9cd8])this['_model']['markers']['has'](_0x4ee118)&&_0x31bfa7[_0x3080('0x4f')][_0x3080('0xe3')](_0x4ee118);});}),this['_descriptionFactory']=new _0x3c23fe(this['editor']['model'][_0x3080('0x15f')],this[_0x3080('0xc7')][_0x3080('0xe8')]),this[_0x3080('0x13')]=null,this[_0x3080('0xe4')]=new $t(this['editor']),this['_suggestions']=new Map(),this[_0x3080('0x17b')]=_0x31bfa7[_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0xdd')),this[_0x3080('0x56')]=new Set(),this['_model']=this[_0x3080('0xc7')][_0x3080('0x140')],this[_0x3080('0x5c')]=new WeakMap(),this[_0x3080('0x43')]=!0x1,this[_0x3080('0x122')]=new Set(['$elementName']),this[_0x3080('0x94')]=new Set(),_0x31bfa7[_0x3080('0x95')][_0x3080('0x117')](_0x3080('0xb8'),_0x3080('0x133')),this[_0x3080('0x12a')]=_0x31bfa7[_0x3080('0x95')][_0x3080('0x9a')](_0x3080('0xb8')),_0x31bfa7[_0x3080('0x95')][_0x3080('0x117')](_0x3080('0xc5'),!0x0),this[_0x3080('0xd')]=_0x31bfa7['config'][_0x3080('0x9a')](_0x3080('0xc5')),this['trackChangesCommand']=new _0x44e1da(_0x31bfa7,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x2475f2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x2475f2([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x36]);}[_0x3080('0x15e')](){const _0x518715=this['editor'],_0x7a046f=(_0x453de1,_0x5e4f8c)=>{if(_0x3080('0xe2')!=_0x453de1)return _0x3080('0x8a')+_0x453de1;const _0x551f68=_0x5e4f8c[_0x3080('0x11e')]('|')[0x0];return this[_0x3080('0x129')](_0x551f68)?_0x3080('0x179'):_0x3080('0x4');};_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x13e'))[_0x3080('0x15c')]({'model':_0x3080('0xd5'),'view':_0x2cc902=>{const {id:_0x40c52f,type:_0x3fb825,subType:_0x32841f}=this[_0x3080('0x151')](_0x2cc902[_0x3080('0xd3')]),_0x1fa56f=[_0x3080('0x166'),_0x7a046f(_0x3fb825,_0x32841f)];let _0x2d47da=0xbb8;return this[_0x3080('0x104')][_0x3080('0x109')](_0x2cc902['markerName'])&&(_0x1fa56f[_0x3080('0xc8')](_0x3080('0xab')),_0x2d47da=0xbc2),'deletion'==_0x3fb825&&(_0x2d47da+=0x5),{'classes':_0x1fa56f,'attributes':{'data-suggestion':_0x40c52f},'priority':_0x2d47da};}}),_0x518715[_0x3080('0x163')]['for'](_0x3080('0x17a'))['add'](_0x11cdbe=>{_0x11cdbe['on']('addMarker:suggestion',(_0x111dc7,_0x5da004,_0x2064c7)=>{if(!_0x2064c7[_0x3080('0x1b')][_0x3080('0xbb')])return;const _0x366835=_0x5da004['item'];if(!_0x366835)return;const _0x21e9cf=_0x2064c7[_0x3080('0x8')][_0x3080('0x49')](_0x366835);_0x518715[_0x3080('0x140')]['schema']['isObject'](_0x366835)&&_0x21e9cf&&!_0x21e9cf[_0x3080('0x2a')](_0x3080('0x8c'))&&_0x21e9cf['is'](_0x3080('0x73'))&&_0x20ae6b(_0x21e9cf,_0x2064c7[_0x3080('0xbd')]);},{'priority':_0x3080('0x4a')});}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x17a'))[_0x3080('0x15c')]({'model':_0x3080('0xd5'),'view':(_0x5de5ea,_0x1eba4e)=>{if(!_0x1eba4e['options'][_0x3080('0xbb')])return null;const {type:_0x32fbbf,subType:_0x36955c}=this[_0x3080('0x151')](_0x5de5ea[_0x3080('0xd3')]);return{'classes':[_0x3080('0x166'),_0x7a046f(_0x32fbbf,_0x36955c)],'priority':0xbb8};}});const _0x2aa5ed=({showActiveMarkers:_0x194cf0=!0x0,isAttributeSuggestion:_0x25d193=!0x1}={})=>(_0x1cbafc,_0x7e54d9,_0x59af06)=>{if(!_0x7e54d9[_0x3080('0x46')])return;const {id:_0x39e310}=this[_0x3080('0x151')](_0x7e54d9[_0x3080('0xd3')]);if(_0x25d193){const _0x28266f=Pt(this[_0x3080('0x71')][_0x3080('0x9a')](_0x39e310));if(!this[_0x3080('0x129')](_0x28266f))return;}if(_0x7e54d9[_0x3080('0x46')]['is'](_0x3080('0xf4')))return void _0x59af06['consumable']['consume'](_0x7e54d9['item'],_0x1cbafc['name']);const _0x1dc0d7=_0x59af06[_0x3080('0x8')][_0x3080('0x49')](_0x7e54d9[_0x3080('0x46')]);if(_0x7e54d9[_0x3080('0x46')]['is'](_0x3080('0x98'))&&_0x518715[_0x3080('0x140')][_0x3080('0x15f')][_0x3080('0x16')](_0x7e54d9[_0x3080('0x46')])&&!_0x1dc0d7['getCustomProperty'](_0x3080('0x41'))){_0x59af06[_0x3080('0xbd')][_0x3080('0x13c')]([_0x3080('0x166'),_0x3080('0x179')],_0x1dc0d7),_0x59af06[_0x3080('0xbd')]['setAttribute']('data-suggestion',_0x39e310,_0x1dc0d7),_0x59af06['mapper']['bindElementToMarker'](_0x1dc0d7,_0x7e54d9[_0x3080('0xd3')]),_0x194cf0&&(this[_0x3080('0x104')][_0x3080('0x109')](_0x7e54d9[_0x3080('0xd3')])?_0x59af06[_0x3080('0xbd')]['addClass'](_0x3080('0xab'),_0x1dc0d7):_0x59af06[_0x3080('0xbd')][_0x3080('0x136')](_0x3080('0xab'),_0x1dc0d7));for(const _0x14da7c of _0x518715[_0x3080('0x140')][_0x3080('0xe0')](_0x7e54d9['item'])[_0x3080('0x9f')]())_0x59af06[_0x3080('0x182')][_0x3080('0x97')](_0x14da7c,_0x1cbafc['name']);_0x59af06[_0x3080('0x182')]['consume'](_0x7e54d9[_0x3080('0x46')],_0x1cbafc[_0x3080('0xba')]);}};_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x17a'))[_0x3080('0x144')](_0x11d448=>{_0x11d448['on'](_0x3080('0xd2'),(_0x5ecc18,_0x3ef243,_0x437a52)=>{_0x437a52[_0x3080('0x1b')][_0x3080('0xbb')]&&_0x2aa5ed({'showActiveMarkers':!0x1})(_0x5ecc18,_0x3ef243,_0x437a52);},{'priority':'highest'});}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x17a'))[_0x3080('0x144')](_0x5a98dd=>{_0x5a98dd['on'](_0x3080('0x5a'),(_0x4acb0e,_0x272f79,_0x46d663)=>{_0x46d663['options'][_0x3080('0xbb')]&&_0x2aa5ed({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4acb0e,_0x272f79,_0x46d663);},{'priority':_0x3080('0x153')});}),_0x518715[_0x3080('0x163')]['for']('dataDowncast')[_0x3080('0x1e')]({'model':_0x3080('0xd5'),'view':(_0x31d79b,_0x26a88f)=>_0x26a88f[_0x3080('0x1b')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x31d79b[_0x3080('0x172')](0xb)}}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0xc3'))[_0x3080('0x101')]({'view':{'name':_0x3080('0xd5'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x44c3bc,{writer:_0x327675})=>{let _0x14e7ec=_0x3080('0x62')+_0x44c3bc[_0x3080('0xec')](_0x3080('0x22'))+':'+_0x44c3bc[_0x3080('0xec')]('id');return _0x44c3bc['getAttribute'](_0x3080('0x9b'))&&(_0x14e7ec+=':'+_0x44c3bc[_0x3080('0xec')]('marker-count')),_0x327675[_0x3080('0xa0')](_0x3080('0x36'),{'data-name':_0x14e7ec});}}),_0x518715['conversion'][_0x3080('0x1c')]('upcast')[_0x3080('0x17d')]({'view':_0x3080('0xd5')}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x13e'))[_0x3080('0x144')](_0x32d91a=>{_0x32d91a['on'](_0x3080('0xd2'),_0x2aa5ed(),{'priority':_0x3080('0x4a')});}),_0x518715[_0x3080('0x163')]['for'](_0x3080('0x13e'))[_0x3080('0x144')](_0x12a5e0=>{_0x12a5e0['on']('addMarker:suggestion:attribute',_0x2aa5ed({'isAttributeSuggestion':!0x0}),{'priority':_0x3080('0x4a')});}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')]('editingDowncast')[_0x3080('0x144')](_0x79ec48=>{_0x79ec48['on'](_0x3080('0x4e'),(_0x32d8dd,_0x5ede83,_0x21853c)=>{const _0x447588=_0x21853c[_0x3080('0x8')][_0x3080('0x84')](_0x5ede83[_0x3080('0xd3')]);if(_0x447588)for(const _0x185cc5 of _0x447588)_0x185cc5[_0x3080('0x2a')](_0x3080('0x41'))||(_0x21853c[_0x3080('0xbd')]['removeClass']([_0x3080('0x166'),_0x3080('0x179'),_0x3080('0xab')],_0x185cc5),_0x21853c[_0x3080('0xbd')][_0x3080('0x132')]('data-suggestion',_0x185cc5),_0x21853c[_0x3080('0x8')][_0x3080('0x0')](_0x185cc5,_0x5ede83[_0x3080('0xd3')]));},{'priority':_0x3080('0x4a')});}),_0x518715['conversion'][_0x3080('0x1c')](_0x3080('0x13e'))['add'](_0x4709e0=>{_0x4709e0['on'](_0x3080('0x55'),(_0x1c09a7,_0x145a5a,_0x3b91a0)=>{const _0x2fda96=_0x3b91a0[_0x3080('0x8')][_0x3080('0x84')](_0x145a5a[_0x3080('0xd3')]);if(!_0x2fda96)return;const {id:_0x433d4b}=this['_splitMarkerName'](_0x145a5a[_0x3080('0xd3')]),_0x10d4e5=Pt(this[_0x3080('0x71')]['get'](_0x433d4b));if(this[_0x3080('0x129')](_0x10d4e5))for(const _0x35aa7a of _0x2fda96)_0x35aa7a[_0x3080('0x2a')]('addHighlight')||(_0x3b91a0[_0x3080('0xbd')][_0x3080('0x136')](['ck-suggestion-marker',_0x3080('0x179'),_0x3080('0xab')],_0x35aa7a),_0x3b91a0[_0x3080('0xbd')]['removeAttribute'](_0x3080('0xcd'),_0x35aa7a),_0x3b91a0[_0x3080('0x8')][_0x3080('0x0')](_0x35aa7a,_0x145a5a['markerName']));},{'priority':_0x3080('0x4a')});}),_0x518715['model'][_0x3080('0x164')]['registerPostFixer'](_0x1a6e76=>{let _0x2bbc39=!0x1;const _0x2d7b50=Array[_0x3080('0xad')](_0x518715['model'][_0x3080('0x164')][_0x3080('0x79')]['getChangedMarkers']()),_0x3c3786=new Set();for(const {name:_0xb09ec,data:_0x152f82}of _0x2d7b50){const {group:_0x5f5606,type:_0x582484,subType:_0x1e1c79,id:_0x187b7c}=this[_0x3080('0x151')](_0xb09ec);if('suggestion'!==_0x5f5606)continue;const _0x5064ae=this[_0x3080('0x71')][_0x3080('0x9a')](_0x187b7c);if(null!=_0x152f82[_0x3080('0x12')]){_0x3080('0xd8')==_0x582484&&(_0x2bbc39=_0x2bbc39||xt(_0x152f82[_0x3080('0x12')],_0xb09ec,_0x1a6e76,_0x518715[_0x3080('0x140')][_0x3080('0x15f')]));const _0x39ee4b=_0x3080('0xe2')==_0x582484&&this['_isBlockAttribute'](_0x1e1c79['split']('|')[0x0]);if(_0x152f82[_0x3080('0x12')]['isCollapsed']||_0x3080('0x14b')==_0x152f82[_0x3080('0x12')]['root'][_0x3080('0x17c')]||_0x3080('0x6')==_0x582484&&!Rt(_0x152f82[_0x3080('0x12')])||_0x39ee4b&&!Rt(_0x152f82['newRange'])||_0x3080('0xe7')==_0x582484&&!(!Tt(_0x4b15cf=_0x152f82[_0x3080('0x12')])&&!function(_0x2cbdc2){return _0x2cbdc2[_0x3080('0x12d')][_0x3080('0xf8')]==_0x2cbdc2[_0x3080('0x58')]['nodeBefore']&&_0x2cbdc2[_0x3080('0x12d')][_0x3080('0x106')];}(_0x4b15cf)))_0x1a6e76[_0x3080('0x180')](_0xb09ec),_0x2bbc39=!0x0;else{if(!_0x5064ae||!_0x5064ae[_0x3080('0xfd')])continue;_0x3c3786[_0x3080('0x144')](_0x5064ae);}}}var _0x4b15cf;return _0x3c3786['size']>0x0&&(_0x2bbc39=!!this[_0x3080('0xb0')](_0x3c3786)||_0x2bbc39),_0x2bbc39;}),_0x518715['model'][_0x3080('0x164')]['registerPostFixer'](_0x113e09=>{let _0x367418=!0x1;for(const _0xeb994e of _0x518715[_0x3080('0x140')]['document'][_0x3080('0x79')][_0x3080('0x16c')]())if(_0x3080('0x39')==_0xeb994e[_0x3080('0x15d')])for(const _0x19c321 of this[_0x3080('0x71')][_0x3080('0x69')]()){if(_0x19c321[_0x3080('0xb9')]||!_0x19c321[_0x3080('0xfd')])continue;const _0x1ea13e=_0x3080('0x6')==_0x19c321[_0x3080('0x15d')],_0x211fa8=Pt(_0x19c321),_0x365aa3=_0x211fa8&&this[_0x3080('0x129')](_0x211fa8);if(!_0x1ea13e&&!_0x365aa3)continue;const _0x55b6c0=_0x19c321[_0x3080('0x4d')]();if(_0x55b6c0[_0x3080('0x12d')]['parent']!=_0x55b6c0[_0x3080('0x58')][_0x3080('0xf8')]&&!_0x55b6c0['end'][_0x3080('0x106')]){const _0xd973c8=_0x518715[_0x3080('0x140')][_0x3080('0xde')](_0x55b6c0[_0x3080('0x12d')][_0x3080('0x10d')],'end'),_0x30a4c7=_0x518715[_0x3080('0x140')][_0x3080('0x116')](_0x55b6c0[_0x3080('0x12d')],_0xd973c8);_0x113e09['updateMarker'](_0x19c321[_0x3080('0x178')](),{'range':_0x30a4c7}),_0x367418=!0x0;}}return _0x367418;}),_0x518715[_0x3080('0x140')]['document'][_0x3080('0xed')](_0x1ddd49=>this['_processAttributeChanges'](_0x1ddd49)),_0x518715[_0x3080('0x140')][_0x3080('0x164')][_0x3080('0xed')](_0xe0b99e=>!_0xe0b99e[_0x3080('0x168')][_0x3080('0x131')]&&this[_0x3080('0xf')](_0xe0b99e)),_0x518715[_0x3080('0x140')][_0x3080('0x121')]['on'](_0x3080('0x4b'),(_0x12802a,_0x4f1d20,_0x310390)=>{if(null==_0x310390){const {id:_0x28d884}=this['_splitMarkerName'](_0x4f1d20[_0x3080('0xba')]),_0xcdfc12=this[_0x3080('0x71')][_0x3080('0x9a')](_0x28d884);_0xcdfc12&&_0xcdfc12['addMarkerName'](_0x4f1d20[_0x3080('0xba')]);}}),_0x518715[_0x3080('0x140')]['document']['on']('change:data',()=>{const _0x19bca5=Array[_0x3080('0xad')](_0x518715[_0x3080('0x140')]['document']['differ']['getChangedMarkers']())[_0x3080('0xee')](_0x2cb8a4=>'suggestion'===this[_0x3080('0x151')](_0x2cb8a4[_0x3080('0xba')])[_0x3080('0x103')]);if(0x0===_0x19bca5[_0x3080('0x68')])return;_0x19bca5['sort']((_0x1f68b8,_0x49a467)=>{const _0x2a6c45=_0x1f68b8[_0x3080('0x112')][_0x3080('0x158')],_0x3b2892=_0x49a467[_0x3080('0x112')][_0x3080('0x158')];return null===_0x2a6c45&&null===_0x3b2892?0x0:null===_0x2a6c45&&null!==_0x3b2892?-0x1:null!==_0x2a6c45&&null===_0x3b2892?0x1:_0x2a6c45[_0x3080('0x12d')][_0x3080('0x145')](_0x3b2892[_0x3080('0x12d')])?-0x1:0x1;});const _0x13b8e6=new Set(),_0x3bc0c7=new Set();for(const {name:_0x3114c8,data:_0x2e8917}of _0x19bca5){const {id:_0xfb0c32}=this['_splitMarkerName'](_0x3114c8);if(null===_0x2e8917[_0x3080('0x158')]){const _0x3670a9=this[_0x3080('0xfa')](_0x3114c8);_0x3bc0c7[_0x3080('0x144')](_0x3670a9);}else{const _0x5ccb00=this['_suggestions'][_0x3080('0x9a')](_0xfb0c32);null!==_0x2e8917[_0x3080('0x12')]||_0x5ccb00[_0x3080('0xfd')]?(_0x13b8e6[_0x3080('0x144')](_0x5ccb00[_0x3080('0x14')]),_0x3bc0c7['add'](_0x5ccb00)):this[_0x3080('0xc0')](_0x5ccb00);}}_0x3bc0c7[_0x3080('0xff')]>0x0&&this[_0x3080('0x141')](_0x3bc0c7);for(const _0x3deb5e of _0x13b8e6)this[_0x3080('0x107')]('suggestionChanged',_0x3deb5e);}),_0x518715[_0x3080('0x140')]['on'](_0x3080('0x37'),(_0x5bcd32,_0x3bac51)=>{const _0x4c23ec=_0x3bac51[0x0];if(!this[_0x3080('0x71')][_0x3080('0xff')])return;if(!_0x4c23ec[_0x3080('0x10a')])return;if(_0x4c23ec[_0x3080('0x168')]['isUndo']||!_0x4c23ec[_0x3080('0x168')]['isLocal'])return;let _0x5d7d22,_0x50394d;switch(_0x4c23ec[_0x3080('0x15d')]){case _0x3080('0x39'):_0x5d7d22=_0x518715[_0x3080('0x140')][_0x3080('0xde')](_0x4c23ec[_0x3080('0xa2')]),_0x50394d=_0x5d7d22[_0x3080('0x10')](_0x4c23ec[_0x3080('0x48')]);break;case _0x3080('0x11e'):_0x5d7d22=_0x518715[_0x3080('0x140')]['createPositionAt'](_0x4c23ec[_0x3080('0xd0')]),_0x50394d=_0x518715['model']['createPositionAt'](_0x4c23ec[_0x3080('0x15a')]);break;case _0x3080('0x130'):_0x5d7d22=_0x518715['model'][_0x3080('0xde')](_0x4c23ec['targetPosition']),_0x50394d=_0x5d7d22[_0x3080('0x10')](_0x4c23ec[_0x3080('0x48')]);break;default:return;}const _0x4b1418=_0x518715[_0x3080('0x140')][_0x3080('0x116')](_0x5d7d22,_0x50394d);_0x518715[_0x3080('0x140')][_0x3080('0x7b')](()=>{for(const {suggestion:_0x5d58ce,meta:_0x530195}of this['_findSuggestions'](_0x4b1418)){if(_0x5d58ce[_0x3080('0xb9')])continue;if(_0x3080('0xd8')==_0x5d58ce[_0x3080('0x15d')])continue;const _0x5a9e37=Pt(_0x5d58ce);if(_0x5a9e37&&this[_0x3080('0x129')](_0x5a9e37)&&_0x3080('0x11e')!=_0x4c23ec['type'])continue;const _0x20f227=_0x5d58ce[_0x3080('0x112')]&&_0x5d58ce[_0x3080('0x112')][_0x3080('0xc')];(_0x3080('0x6')!=_0x5d58ce[_0x3080('0x15d')]||_0x3080('0x11e')==_0x4c23ec[_0x3080('0x15d')]&&!_0x20f227)&&(_0x530195[_0x3080('0x57')]||'insertion'==_0x5d58ce[_0x3080('0x15d')]&&_0x530195[_0x3080('0x76')]||_0x5d58ce[_0x3080('0x4d')]()[_0x3080('0xd1')](_0x4b1418)&&this[_0x3080('0xeb')](_0x5d58ce,_0x5d7d22,_0x50394d));}});},{'priority':'lowest'}),_0x518715['model']['on'](_0x3080('0x16a'),(_0x1a754c,_0x286f09)=>{const _0x10a05b=_0x286f09[0x0],_0x172c20=_0x286f09[0x1];if(_0x172c20&&_0x172c20[_0x3080('0x90')])return;if(this[_0x3080('0x43')])return;if(!this[_0x3080('0x2f')][_0x3080('0x3d')])return;if(_0x10a05b['isCollapsed'])return;const _0x29fc0c=_0x518715[_0x3080('0x140')][_0x3080('0x15f')],{start:_0x1f795a,end:_0x1ae177}=_0x10a05b[_0x3080('0x4d')](),_0x508688=_0x1f795a['nodeAfter']&&_0x29fc0c['isLimit'](_0x1f795a['nodeAfter'])?null:_0x29fc0c['getNearestSelectionRange'](_0x1f795a,_0x3080('0x138')),_0x4ef6bb=_0x1ae177['nodeBefore']&&_0x29fc0c['isLimit'](_0x1ae177['nodeBefore'])?null:_0x29fc0c['getNearestSelectionRange'](_0x1ae177,_0x3080('0xce')),_0x3f0ad2=_0x518715[_0x3080('0x140')][_0x3080('0x116')](_0x508688?_0x508688['start']:_0x1f795a,_0x4ef6bb?_0x4ef6bb['end']:_0x1ae177);_0x518715[_0x3080('0x140')][_0x3080('0x7b')](_0x15d10e=>{this[_0x3080('0x92')](_0x3f0ad2);const _0x175598=_0x518715[_0x3080('0x140')][_0x3080('0x15f')][_0x3080('0x1f')](_0x3f0ad2[_0x3080('0x12d')]);_0x10a05b['is'](_0x3080('0xa9'))?_0x15d10e[_0x3080('0xe9')](_0x175598):_0x10a05b['setTo'](_0x175598);}),_0x1a754c[_0x3080('0x16d')]();},{'priority':_0x102994[_0x3080('0x173')]+0xa}),_0x518715['model']['on'](_0x3080('0x40'),(_0x225902,_0x29645b)=>{const _0x18ef0a=_0x29645b[_0x29645b[_0x3080('0x68')]-0x1];_0x18ef0a&&_0x18ef0a[_0x3080('0x90')]||this[_0x3080('0x43')]||this[_0x3080('0x2f')]['value']&&(_0x518715[_0x3080('0x140')]['change'](()=>{let _0x2af354=_0x518715[_0x3080('0x140')][_0x3080('0x40')](_0x29645b[0x0],_0x29645b[0x1],_0x29645b[0x2],{'forceDefaultExecution':!0x0});if(!_0x2af354)return;_0x225902['return']=_0x2af354[_0x3080('0x10e')]();const _0xcc1603=_0x2af354['end']['nodeBefore'],_0x283554=_0x518715[_0x3080('0x140')][_0x3080('0x15f')];_0xcc1603&&_0x283554[_0x3080('0x16')](_0xcc1603)&&!_0x283554[_0x3080('0x33')](_0xcc1603)&&(_0x2af354=_0x518715['model']['createRange'](_0x2af354[_0x3080('0x12d')],_0x518715[_0x3080('0x140')][_0x3080('0xde')](_0xcc1603,_0x3080('0x58')))),this[_0x3080('0x154')](_0x2af354);}),_0x225902[_0x3080('0x16d')]());},{'priority':_0x3080('0x4a')}),this[_0x3080('0xc7')][_0x3080('0x52')][_0x3080('0x144')](_0x3080('0x10c'),this['trackChangesCommand']),this[_0x3080('0xb1')](_0x3080('0x10c'));const _0x4d944d=new _0x564c9c(_0x518715,this[_0x3080('0x71')]);_0x518715['commands'][_0x3080('0x144')](_0x3080('0x177'),_0x4d944d),this[_0x3080('0xb1')](_0x3080('0x177'));const _0x3bba05=new _0x208674(_0x518715,this['_suggestions']);_0x518715['commands'][_0x3080('0x144')](_0x3080('0xfe'),_0x3bba05),this['enableCommand'](_0x3080('0xfe')),_0x518715[_0x3080('0x52')]['add']('acceptAllSuggestions',new _0x5bedce(_0x518715,_0x4d944d,this['_suggestions'])),this['enableCommand'](_0x3080('0xa3')),_0x518715[_0x3080('0x52')][_0x3080('0x144')](_0x3080('0x142'),new _0x5bedce(_0x518715,_0x3bba05,this['_suggestions'])),this[_0x3080('0xb1')](_0x3080('0x142')),_0x518715[_0x3080('0x52')][_0x3080('0x144')](_0x3080('0xd6'),new _0x150cef(_0x518715,_0x4d944d,this[_0x3080('0x71')])),this['enableCommand'](_0x3080('0xd6')),_0x518715['commands'][_0x3080('0x144')]('discardSelectedSuggestions',new _0x150cef(_0x518715,_0x3bba05,this[_0x3080('0x71')])),this[_0x3080('0xb1')](_0x3080('0xb5'));const _0x3b53e3=_0x518715[_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0xdd'));this['listenTo'](_0x3b53e3,_0x3080('0x6c'),(_0x6e1e03,{threadId:_0x182eb8})=>{const _0xe44840=this[_0x3080('0x71')][_0x3080('0x9a')](_0x182eb8);_0xe44840&&_0xe44840[_0x3080('0x7')]&&0x1===_0xe44840[_0x3080('0x7')][_0x3080('0x68')]&&this[_0x3080('0x8b')](_0x182eb8,{'hasComments':!0x0});},{'priority':_0x3080('0x12b')}),this[_0x3080('0xc1')](_0x3b53e3,_0x3080('0xbc'),(_0x3fe9e7,{threadId:_0xf310bd})=>{const _0x2618eb=this[_0x3080('0x71')][_0x3080('0x9a')](_0xf310bd);_0x2618eb&&_0x2618eb[_0x3080('0x7')]&&!_0x2618eb[_0x3080('0x7')][_0x3080('0x68')]&&this[_0x3080('0x8b')](_0xf310bd,{'hasComments':!0x1});},{'priority':_0x3080('0x12b')});}set[_0x3080('0xb')](_0x4c7db0){if(this[_0x3080('0x13')])throw new _0x134604(_0x3080('0x10f'),this);this['_adapter']=_0x4c7db0;}get[_0x3080('0xb')](){return this[_0x3080('0x13')];}['getSuggestions']({skipNotAttached:_0x24f33d=!0x1,toJSON:_0x38dc41=!0x1}={}){const _0x15018d=[];for(const _0x5383d7 of this['_suggestions']['values']())_0x24f33d&&!_0x5383d7[_0x3080('0xfd')]||_0x15018d['push'](_0x5383d7);return _0x38dc41?_0x15018d[_0x3080('0xf7')](_0xc94cb4=>_0xc94cb4['toJSON']()):_0x15018d;}['getSuggestion'](_0x20d09b){const _0x35053f=this[_0x3080('0x71')][_0x3080('0x9a')](_0x20d09b);if(!_0x35053f)throw new _0x134604(_0x3080('0xf1'),this);return _0x35053f;}[_0x3080('0x87')](_0x1f356a){return this[_0x3080('0x71')][_0x3080('0x15b')](_0x1f356a);}[_0x3080('0xaf')](_0x3be1dc){const {authorId:_0x4bf235,id:_0x32952d,attributes:_0xd23fd}=_0x3be1dc,[_0x9448a4,_0xd852f2]=_0x3be1dc['type'][_0x3080('0x11e')](':'),_0x13b0a4=this[_0x3080('0x71')][_0x3080('0x9a')](_0x32952d)||this[_0x3080('0x9e')](_0x9448a4,_0xd852f2,_0x32952d,_0x4bf235,_0xd23fd);if(this['_addThreadToSuggestion'](_0x13b0a4),this[_0x3080('0x115')](_0x13b0a4,_0x9448a4,_0xd852f2||null,_0x4bf235),_0x13b0a4['createdAt']=_0x3be1dc[_0x3080('0x171')],_0x13b0a4[_0x3080('0x14c')]=!0x0,_0xd23fd&&_0xd23fd[_0x3080('0xbe')]){const _0x1975ac=_0xd23fd[_0x3080('0xbe')],_0x4d2a32=this['_getExternalAuthor'](_0x1975ac[_0x3080('0x18')]);_0x13b0a4[_0x3080('0xc4')]=_0x1975ac['createdAt'],_0x13b0a4['author']=_0x4d2a32,_0x13b0a4['isExternal']=!0x0;}else _0x13b0a4[_0x3080('0xc4')]=_0x3be1dc[_0x3080('0x171')];switch(_0x3be1dc[_0x3080('0x112')]&&(_0x13b0a4[_0x3080('0x112')]=_0x3be1dc['data']),_0x3be1dc['attributes']&&(_0x13b0a4[_0x3080('0x8d')]=_0x3be1dc[_0x3080('0x8d')]),this[_0x3080('0x13')]&&this[_0x3080('0x13')][_0x3080('0xbf')]||(_0x13b0a4[_0x3080('0x60')]=!0x0),this['_suggestionState']['get'](_0x13b0a4)){case'notReady':this['_suggestionState'][_0x3080('0x167')](_0x13b0a4,_0x3080('0x67'));break;case'markerReady':_0x13b0a4['isInContent']?(this[_0x3080('0x141')](new Set([_0x13b0a4])),this[_0x3080('0xb0')](new Set([_0x13b0a4])),this[_0x3080('0x5c')]['set'](_0x13b0a4,'ready'),this[_0x3080('0x107')]('suggestionLoaded',_0x13b0a4)):this[_0x3080('0x5c')][_0x3080('0x167')](_0x13b0a4,_0x3080('0xf2'));}return _0x13b0a4;}['acceptSuggestion'](_0x199b2a){this[_0x3080('0x90')](()=>{this['editor'][_0x3080('0x140')][_0x3080('0x7b')](()=>{for(const _0x446cce of _0x199b2a[_0x3080('0x8e')]())_0x446cce[_0x3080('0x14a')]();});});}[_0x3080('0xfe')](_0x3924c3){this['forceDefaultExecution'](()=>{this[_0x3080('0xc7')][_0x3080('0x140')][_0x3080('0x7b')](()=>{for(const _0x489b04 of _0x3924c3[_0x3080('0x8e')]())_0x489b04[_0x3080('0x53')]();});});}[_0x3080('0xb1')](_0x3a5918,_0x3045bf){const _0x1c7dd3=this[_0x3080('0xc7')][_0x3080('0x52')][_0x3080('0x9a')](_0x3a5918);if(!_0x1c7dd3)throw new _0x134604('track-changes-command-not-found',this,{'commandName':_0x3a5918});if(this[_0x3080('0x56')][_0x3080('0x15b')](_0x1c7dd3))throw new _0x134604('track-changes-enable-command-twice',this,{'commandName':_0x3a5918});this['_enabledCommands']['add'](_0x1c7dd3),_0x3045bf&&_0x1c7dd3['on']('execute',(_0x5b5afe,_0x5d8424)=>{this[_0x3080('0x2f')][_0x3080('0x3d')]&&(this[_0x3080('0x43')]||(_0x5d8424[_0x3080('0x68')]>0x0&&_0x5d8424[_0x5d8424['length']-0x1]&&_0x5d8424[_0x5d8424['length']-0x1][_0x3080('0x90')]?_0x5d8424['pop']():(_0x5b5afe[_0x3080('0x135')]=_0x3045bf((..._0x5173d6)=>_0x1c7dd3[_0x3080('0xe5')](..._0x5173d6,{'forceDefaultExecution':!0x0}),..._0x5d8424),_0x5b5afe['stop']())));},{'priority':_0x3080('0x4a')});}[_0x3080('0x90')](_0x24704e){let _0x3aecb9,_0x2b96ea;const _0xe1d2b3=this[_0x3080('0x43')];this[_0x3080('0x43')]=!0x0;try{_0x3aecb9=_0x24704e();}catch(_0x1a4539){_0x2b96ea=_0x1a4539;}return _0xe1d2b3||(this[_0x3080('0x43')]=!0x1),_0x2b96ea&&_0x134604[_0x3080('0x27')](_0x2b96ea,this),_0x3aecb9;}[_0x3080('0x154')](_0x526878,_0x573a2b=null,_0x4eafcd={}){if(_0x526878['isCollapsed'])return null;const _0x2957bc=this[_0x3080('0xc7')][_0x3080('0x85')][_0x3080('0x9a')]('Users')['me'];for(const {suggestion:_0x418a2f,meta:_0x4916d7}of this[_0x3080('0x63')](_0x526878,'insertion'))if(_0x4916d7[_0x3080('0x76')]){if(!_0x4916d7['isNextTo']){if(_0x4916d7[_0x3080('0x57')]){if(!this[_0x3080('0xd')]||!Gt(_0x418a2f,_0x4eafcd))continue;return _0x418a2f;}if(Gt(_0x418a2f,_0x4eafcd))return _0x418a2f;this[_0x3080('0xeb')](_0x418a2f,_0x526878[_0x3080('0x12d')],_0x526878['end']);break;}if(_0x573a2b==_0x418a2f['subType']&&Gt(_0x418a2f,_0x4eafcd)){const _0x5ddbbe=_0x418a2f[_0x3080('0x4d')]();return _0x5ddbbe[_0x3080('0x12d')]['isEqual'](_0x526878['end'])?this[_0x3080('0x5b')](_0x418a2f,this[_0x3080('0x161')]['createRange'](_0x526878[_0x3080('0x12d')],_0x5ddbbe[_0x3080('0x58')])):this[_0x3080('0x5b')](_0x418a2f,this[_0x3080('0x161')]['createRange'](_0x5ddbbe['start'],_0x526878[_0x3080('0x58')])),_0x418a2f;}}const _0x328387=_0x10af11(),_0x29d283=_0x2957bc['id'],_0xd5e916=_0x573a2b?_0x3080('0x7f')+_0x573a2b:_0x3080('0x159'),_0x2780ae=this[_0x3080('0xb2')]({'id':_0x328387,'type':_0xd5e916,'createdAt':new Date(),'authorId':_0x29d283,'attributes':_0x4eafcd});return this['_addSuggestionMarker'](_0xd5e916,_0x328387,_0x29d283,_0x526878),_0x2780ae;}[_0x3080('0x8f')](_0x30c2f5,_0x207887=_0x3080('0x111'),_0x5f3364={}){const _0x55b1ef=this['editor'][_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0x82'))['me'],_0x37ce11=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x159'),_0x207887,_0x3080('0x12c'));for(const _0x3cdd34 of this[_0x3080('0x50')]())if(_0x3cdd34[_0x3080('0xc6')]['id']==_0x55b1ef['id']&&_0x3080('0x159')==_0x3cdd34[_0x3080('0x15d')]&&_0x3cdd34[_0x3080('0x2')]==_0x207887&&Gt(_0x3cdd34,_0x5f3364)&&(_0x37ce11(_0x3cdd34[_0x3080('0x17')](),_0x30c2f5)||_0x37ce11(_0x30c2f5,_0x3cdd34[_0x3080('0x17')]()))){for(const _0xcc7b3b of _0x30c2f5)_0x3cdd34[_0x3080('0x21')](_0xcc7b3b);return _0x3cdd34;}for(const {suggestion:_0x62d6da,meta:_0x2584dc}of this['_findSuggestions'](_0x30c2f5,_0x3080('0x159'))){if(!_0x2584dc['isOwn'])continue;if(!this[_0x3080('0xd')]&&_0x2584dc['containsRangeInObject'])continue;if(!Gt(_0x62d6da,_0x5f3364))continue;let _0x26e226=!0x0;for(const _0x2bad7b of _0x62d6da[_0x3080('0x17')]())for(const _0x1f68c0 of _0x30c2f5)if(!_0x2bad7b[_0x3080('0xd1')](_0x1f68c0)){_0x26e226=!0x1;break;}if(_0x26e226)return _0x62d6da;}const _0x5a6a52=_0x10af11(),_0x4f1039=_0x55b1ef['id'],_0x4cb60a=_0x3080('0x7f')+_0x207887,_0x319d8a=this[_0x3080('0xb2')]({'id':_0x5a6a52,'type':_0x4cb60a,'createdAt':new Date(),'authorId':_0x4f1039,'attributes':_0x5f3364});for(const _0x54403c of _0x30c2f5)this[_0x3080('0x45')](_0x4cb60a,_0x5a6a52,_0x4f1039,_0x54403c,_0x1526e2[_0x3080('0x2c')]());return _0x319d8a;}[_0x3080('0x38')](_0x5793eb,_0x63310e,_0x5d010f=null,_0x485055={}){if(_0x5d010f=_0x5d010f||Et(_0x63310e),_0x5793eb[_0x3080('0x113')])return null;if(_0x3080('0x16f')===this['_trackFormatChanges']){const _0x2828a0=this[_0x3080('0xe4')][_0x3080('0xac')]('formatInline',_0x5d010f,_0x3080('0x14a'));return this['forceDefaultExecution'](()=>_0x2828a0([_0x5793eb],_0x63310e,_0x485055)),null;}const _0x501a7f=this[_0x3080('0xc7')]['plugins'][_0x3080('0x9a')]('Users')['me'],_0x2bfb64=[];if(_0x3080('0xca')!==this['_trackFormatChanges'])for(const {suggestion:_0x336e9c,meta:_0x2b2e29}of this['_findSuggestions'](_0x5793eb,'insertion'))_0x2b2e29[_0x3080('0x76')]&&!_0x2b2e29[_0x3080('0xe')]&&_0x2bfb64[_0x3080('0xc8')](..._0x336e9c[_0x3080('0x17')]());const _0x5ce8d9=function(_0x440fd6,_0x96af39){const _0x577aaf=[];for(const _0x4e355d of _0x96af39){const _0x29b47d=_0x440fd6[_0x3080('0x9c')](_0x4e355d);_0x29b47d&&_0x577aaf[_0x3080('0xc8')](_0x29b47d);}return _0x577aaf;}(_0x5793eb,_0x2bfb64),_0x31692a=function(_0x2ba963,_0x315113){const _0x25fe2a=[_0x2ba963];for(const _0x4e1fc5 of _0x315113){let _0x552a94=0x0;for(;_0x552a94<_0x25fe2a[_0x3080('0x68')];){const _0x16fe86=_0x25fe2a[_0x552a94]['getDifference'](_0x4e1fc5);_0x25fe2a[_0x3080('0x127')](_0x552a94,0x1,..._0x16fe86),_0x552a94+=_0x16fe86[_0x3080('0x68')];}}return _0x25fe2a;}(_0x5793eb,_0x2bfb64);_0x5ce8d9[_0x3080('0x68')]&&this[_0x3080('0x161')][_0x3080('0x7b')](()=>{for(const _0x5556d4 of _0x5ce8d9){const _0x4b5d63=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0xd8'),_0x5d010f,_0x3080('0x14a'));this['forceDefaultExecution'](()=>_0x4b5d63([_0x5556d4],_0x63310e,_0x485055));}});for(const _0x5dc11c of _0x31692a){let _0x32b8cb=null,_0x4e6a82=_0x5dc11c['start'],_0x3d3b3f=_0x5dc11c[_0x3080('0x58')];for(const {suggestion:_0x312704,meta:_0x5a5268}of this[_0x3080('0x63')](_0x5dc11c,_0x3080('0xd8'))){if(!_0x5a5268[_0x3080('0x76')])continue;if(_0x312704['subType']!=_0x5d010f)continue;if(!Gt(_0x312704,_0x485055))continue;const _0x6f63e4=_0x312704['getFirstRange']();if(_0x6f63e4[_0x3080('0xd1')](_0x5dc11c,!0x0))return null;_0x4e6a82=_0x4e6a82[_0x3080('0x145')](_0x6f63e4[_0x3080('0x12d')])?_0x4e6a82:_0x6f63e4[_0x3080('0x12d')],_0x3d3b3f=_0x3d3b3f[_0x3080('0x184')](_0x6f63e4[_0x3080('0x58')])?_0x3d3b3f:_0x6f63e4[_0x3080('0x58')],_0x32b8cb?_0x6f63e4[_0x3080('0x12d')][_0x3080('0x145')](_0x32b8cb[_0x3080('0x4d')]()[_0x3080('0x12d')])?(_0x32b8cb[_0x3080('0x100')](),_0x32b8cb=_0x312704):_0x312704[_0x3080('0x100')]():_0x32b8cb=_0x312704;}const _0x335a56=this['_model'][_0x3080('0x116')](_0x4e6a82,_0x3d3b3f);if(_0x32b8cb)this[_0x3080('0x5b')](_0x32b8cb,_0x335a56);else{const _0x5cc290=_0x10af11(),_0xf3da9d=_0x501a7f['id'];this[_0x3080('0xb2')]({'id':_0x5cc290,'type':_0x3080('0xea')+_0x5d010f,'data':_0x63310e,'createdAt':new Date(),'authorId':_0xf3da9d,'attributes':_0x485055}),this[_0x3080('0x45')]('formatInline:'+_0x5d010f,_0x5cc290,_0xf3da9d,_0x335a56);}}return null;}[_0x3080('0x110')](_0x5fd41a,_0x1b81a4,_0x4cb961=[],_0x32e943=null,_0x2f61d2={}){_0x1b81a4[_0x3080('0xf6')]||(_0x1b81a4[_0x3080('0xf6')]=_0x1b81a4[_0x3080('0x120')]),_0x1b81a4[_0x3080('0xc')]=_0x5fd41a['is'](_0x3080('0x19')),_0x32e943=_0x32e943||Et(_0x1b81a4);const _0x1c16d8=_0x4cb961[_0x3080('0xf7')](_0x5bb58c=>Ut(_0x5bb58c,this['_model'])),_0x1fbab9=_0x5fd41a['is'](_0x3080('0x19'))?_0x5fd41a:Ut(_0x5fd41a,this[_0x3080('0x161')]);if(_0x3080('0x16f')===this[_0x3080('0x12a')]){const _0x2f929f=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x32e943,'accept');return this[_0x3080('0x90')](()=>_0x2f929f([_0x1fbab9],_0x1b81a4,_0x2f61d2)),null;}_0x1c16d8[_0x3080('0xc8')](_0x1fbab9);let _0x2392be=!0x0;for(const _0x240663 of _0x1c16d8)if(!this[_0x3080('0x3a')](_0x240663)){_0x2392be=!0x1;break;}if(_0x2392be&&_0x3080('0xca')!==this[_0x3080('0x12a')]){const _0x477fe5=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x32e943,'accept');return this[_0x3080('0x90')](()=>_0x477fe5([_0x1fbab9],_0x1b81a4,_0x2f61d2)),null;}let _0x583aeb=null,_0x48d0bb=_0x1fbab9[_0x3080('0x12d')],_0x19d439=_0x1fbab9['end'];for(const {suggestion:_0x33e6f8,meta:_0x4a5503}of this['_findSuggestions'](_0x1fbab9,_0x3080('0x6'))){if(!_0x4a5503[_0x3080('0x76')])continue;if(_0x4a5503[_0x3080('0x126')]||_0x4a5503[_0x3080('0x57')]||_0x4a5503[_0x3080('0xe')])continue;if(_0x33e6f8[_0x3080('0x112')][_0x3080('0xf6')]!=_0x1b81a4[_0x3080('0xf6')])continue;if(!Gt(_0x33e6f8,_0x2f61d2))continue;const _0x3c2774=_0x33e6f8[_0x3080('0x4d')]();if(_0x33e6f8['subType']==_0x32e943){if(_0x3c2774['containsRange'](_0x1fbab9,!0x0))return null;_0x48d0bb=_0x48d0bb[_0x3080('0x145')](_0x3c2774[_0x3080('0x12d')])?_0x48d0bb:_0x3c2774[_0x3080('0x12d')],_0x19d439=_0x19d439[_0x3080('0x184')](_0x3c2774[_0x3080('0x58')])?_0x19d439:_0x3c2774['end'],_0x583aeb?_0x3c2774[_0x3080('0x12d')]['isBefore'](_0x583aeb[_0x3080('0x4d')]()[_0x3080('0x12d')])?(_0x583aeb[_0x3080('0x100')](),_0x583aeb=_0x33e6f8):_0x33e6f8['removeMarkers']():_0x583aeb=_0x33e6f8;}else{const _0x1a45bf=_0x1fbab9[_0x3080('0x9c')](_0x3c2774);this[_0x3080('0x181')](_0x33e6f8,_0x1a45bf);}}const _0x359efb=this[_0x3080('0xc7')][_0x3080('0x85')]['get'](_0x3080('0x82'))['me'],_0x40acda=_0x10af11(),_0x584097=_0x359efb['id'];if(_0x583aeb)return this[_0x3080('0x5b')](_0x583aeb,this[_0x3080('0x161')]['createRange'](_0x48d0bb,_0x19d439)),_0x583aeb;{const _0x40aadf=this[_0x3080('0xb2')]({'id':_0x40acda,'type':'formatBlock:'+_0x32e943,'data':_0x1b81a4,'createdAt':new Date(),'authorId':_0x584097,'attributes':_0x2f61d2});return this[_0x3080('0x45')](_0x3080('0x80')+_0x32e943,_0x40acda,_0x584097,this[_0x3080('0x161')]['createRange'](_0x48d0bb,_0x19d439)),_0x40aadf;}}[_0x3080('0x102')](_0x4b8169,_0x26dc91,_0xf5eb3=[],_0x4c2a63=null,_0x236f46={}){_0x26dc91[_0x3080('0xf6')]||(_0x26dc91[_0x3080('0xf6')]=_0x26dc91[_0x3080('0x120')]);const _0x2f56e1=_0x4b8169[0x0];_0x26dc91[_0x3080('0xc')]=_0x2f56e1['is']('range'),_0x4c2a63=_0x4c2a63||Et(_0x26dc91);const _0x2bd23c=_0xf5eb3[_0x3080('0xf7')](_0x1cdbac=>Ut(_0x1cdbac,this[_0x3080('0x161')])),_0x48cafe=_0x2f56e1['is']('range')?_0x4b8169:_0x4b8169[_0x3080('0xf7')](_0xe5f435=>Ut(_0xe5f435,this[_0x3080('0x161')]));if(_0x3080('0x16f')===this['_trackFormatChanges']){const _0x2142f3=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x4c2a63,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x2142f3(_0x48cafe,_0x26dc91,_0x236f46)),null;}_0x2bd23c[_0x3080('0xc8')](..._0x48cafe);let _0x334187=!0x0;for(const _0x5eda88 of _0x2bd23c)if(!this[_0x3080('0x3a')](_0x5eda88)){_0x334187=!0x1;break;}if(_0x334187&&_0x3080('0xca')!==this[_0x3080('0x12a')]){const _0x2dbcda=this[_0x3080('0xe4')]['getSuggestionCallback']('formatBlock',_0x4c2a63,'accept');return this[_0x3080('0x90')](()=>_0x2dbcda(_0x48cafe,_0x26dc91,_0x236f46)),null;}const _0x38b982=this[_0x3080('0xc7')][_0x3080('0x85')]['get'](_0x3080('0x82'))['me'];for(const _0x5d8875 of this[_0x3080('0x50')]()){if(_0x5d8875['author']['id']!=_0x38b982['id'])continue;if('formatBlock'!=_0x5d8875[_0x3080('0x15d')]||_0x5d8875[_0x3080('0x112')][_0x3080('0xf6')]!=_0x26dc91['formatGroupId'])continue;if(!Gt(_0x5d8875,_0x236f46))continue;const _0x4109a1=_0x5d8875[_0x3080('0x2')]==_0x4c2a63;for(let _0x192561=0x0;_0x192561<_0x48cafe[_0x3080('0x68')];_0x192561++){const _0x32f738=_0x48cafe[_0x192561];for(const _0x185d83 of _0x5d8875[_0x3080('0x125')]()){const _0x3b2e0f=_0x185d83[_0x3080('0xd7')]();if(_0x32f738['isEqual'](_0x3b2e0f)){_0x4109a1?(_0x48cafe['splice'](_0x192561,0x1),_0x192561--):_0x5d8875[_0x3080('0x180')](_0x185d83[_0x3080('0xba')]);break;}}}}if(0x0==_0x48cafe[_0x3080('0x68')])return null;const _0x172980=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x4c2a63,'join');for(const _0x4699e3 of this['getSuggestions']())if(_0x4699e3[_0x3080('0xc6')]['id']==_0x38b982['id']&&_0x3080('0x6')==_0x4699e3[_0x3080('0x15d')]&&_0x4699e3['data']['formatGroupId']==_0x26dc91['formatGroupId']&&_0x4699e3[_0x3080('0x2')]==_0x4c2a63&&Gt(_0x4699e3,_0x236f46)&&(_0x172980(_0x4699e3['getRanges'](),_0x48cafe)||_0x172980(_0x48cafe,_0x4699e3[_0x3080('0x17')]()))){for(const _0x2926ef of _0x48cafe)_0x4699e3['addRange'](_0x2926ef);return _0x4699e3;}const _0x341d97=_0x10af11(),_0x5e7067=_0x38b982['id'],_0x344deb=_0x3080('0x80')+_0x4c2a63,_0x12e41d=this[_0x3080('0xb2')]({'id':_0x341d97,'type':_0x344deb,'data':_0x26dc91,'createdAt':new Date(),'authorId':_0x5e7067,'attributes':_0x236f46});for(const _0x5b7feb of _0x48cafe)this[_0x3080('0x45')](_0x344deb,_0x341d97,_0x5e7067,_0x5b7feb,_0x1526e2[_0x3080('0x2c')]());return _0x12e41d;}['markDeletion'](_0x489ed1,_0x58a1bc=null,_0x5ecb00={}){if(_0x489ed1[_0x3080('0x113')])return null;const _0x370822=this['editor'][_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0x82'))['me'],_0xe608ae=new _0x441896(_0x489ed1[_0x3080('0x12d')],_0x489ed1['end']);for(const {suggestion:_0x48f048,meta:_0x12f68b}of this[_0x3080('0x63')](_0xe608ae,_0x3080('0x159')))if(_0x12f68b[_0x3080('0x76')]&&!_0x12f68b[_0x3080('0x126')]){if(_0x48f048[_0x3080('0xb9')]){const _0x25544d=_0x48f048[_0x3080('0x17')]()[_0x3080('0xee')](_0x515972=>'$graveyard'!=_0x515972[_0x3080('0xdf')][_0x3080('0x17c')]);_0x25544d[_0x3080('0xd9')](_0x3aa195=>_0xe608ae[_0x3080('0xd1')](_0x3aa195,!0x0))&&_0x48f048[_0x3080('0x53')]();if(_0x25544d[_0x3080('0xa')](_0x1f53c8=>_0x1f53c8[_0x3080('0xd1')](_0xe608ae,!0x0))){const _0x3f4c20=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0xe7'),_0x58a1bc,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x3f4c20([_0xe608ae],null,_0x5ecb00)),null;}}else{const _0x4a0f0d=_0xe608ae[_0x3080('0x9c')](_0x48f048['getFirstRange']());null!==_0x4a0f0d&&_0x48f048[_0x3080('0x175')]([_0x4a0f0d],null,_0x5ecb00);}}if(_0xe608ae[_0x3080('0x15')](),_0xe608ae[_0x3080('0x113')]||'$graveyard'==_0xe608ae[_0x3080('0xdf')]['rootName'])return null;let _0x7ab88f=null,_0x238f12=_0xe608ae[_0x3080('0x12d')],_0x406aa0=_0xe608ae[_0x3080('0x58')];const _0x56a4ef=this[_0x3080('0x63')](_0xe608ae,_0x3080('0xe7'));for(const {suggestion:_0x35c29f,meta:_0x233aa5}of _0x56a4ef){const _0x14c3b0=this['_model']['createRange'](_0x238f12,_0x406aa0);if(_0x233aa5['isOwn']&&(this['_mergeNestedSuggestions']||!_0x233aa5[_0x3080('0x57')]&&!_0x233aa5['isInsideObject'])){if(_0x35c29f[_0x3080('0xb9')]){if(!Gt(_0x35c29f,_0x5ecb00))continue;let _0x3987d2=!0x0;for(const _0x565cb2 of _0x35c29f[_0x3080('0x17')]()){if(_0x565cb2[_0x3080('0xd1')](_0x14c3b0,!0x0))return _0x35c29f;_0x14c3b0[_0x3080('0xd1')](_0x565cb2)||(_0x3987d2=!0x1);}_0x3987d2&&_0x35c29f[_0x3080('0x53')]();}else{const _0x14ff29=_0x35c29f[_0x3080('0x4d')]();if(_0x14ff29[_0x3080('0xd1')](_0x14c3b0,!0x0))return _0x35c29f;if(!Gt(_0x35c29f,_0x5ecb00)){_0x14c3b0[_0x3080('0xd1')](_0x14ff29)?_0x35c29f['removeMarkers']():_0x14ff29['containsPosition'](_0x238f12)?_0x238f12=_0x14ff29[_0x3080('0x58')]:_0x14ff29[_0x3080('0xb3')](_0x406aa0)&&(_0x406aa0=_0x14ff29[_0x3080('0x12d')]);continue;}_0x238f12=_0x238f12[_0x3080('0x145')](_0x14ff29['start'])?_0x238f12:_0x14ff29[_0x3080('0x12d')],_0x406aa0=_0x406aa0[_0x3080('0x184')](_0x14ff29['end'])?_0x406aa0:_0x14ff29['end'],_0x5ecb00=Object[_0x3080('0x7c')]({},_0x35c29f['attributes']),_0x7ab88f?_0x14ff29[_0x3080('0x12d')][_0x3080('0x145')](_0x7ab88f[_0x3080('0x4d')]()[_0x3080('0x12d')])?(_0x7ab88f[_0x3080('0x100')](),_0x7ab88f=_0x35c29f):_0x35c29f[_0x3080('0x100')]():_0x7ab88f=_0x35c29f;}}}if(_0x7ab88f)return this[_0x3080('0x5b')](_0x7ab88f,this[_0x3080('0x161')][_0x3080('0x116')](_0x238f12,_0x406aa0)),_0x7ab88f;{const _0x502b51=_0x10af11(),_0x4d6d19=this['_model'][_0x3080('0x116')](_0x238f12,_0x406aa0),_0x1b2ee0=_0x370822['id'],_0x270054=_0x58a1bc?'deletion:'+_0x58a1bc:_0x3080('0xe7'),_0x533741=this[_0x3080('0xb2')]({'id':_0x502b51,'type':_0x270054,'createdAt':new Date(),'authorId':_0x1b2ee0,'attributes':_0x5ecb00});return this['_addSuggestionMarker'](_0x270054,_0x502b51,_0x1b2ee0,_0x4d6d19),_0x533741;}}['markMultiRangeDeletion'](_0x56b89e,_0x363e0d=_0x3080('0x111'),_0x35ae9f={}){const _0x30100e=this['editor'][_0x3080('0x85')]['get'](_0x3080('0x82'))['me'],_0x43b6e7=_0x56b89e[_0x3080('0xf7')](_0x8da02f=>new _0x441896(_0x8da02f['start'],_0x8da02f[_0x3080('0x58')])),_0x58cbac=new Set();for(const {suggestion:_0x14c93b,meta:_0x48bd2f}of this[_0x3080('0x63')](_0x43b6e7,_0x3080('0x159')))_0x48bd2f[_0x3080('0x76')]&&!_0x48bd2f[_0x3080('0x126')]&&_0x58cbac[_0x3080('0x144')](_0x14c93b);for(const _0x4ff045 of _0x58cbac)if(_0x4ff045[_0x3080('0xb9')]){const _0x3eb975=_0x4ff045[_0x3080('0x17')]();(!_0x4ff045[_0x3080('0x8d')]||!_0x4ff045[_0x3080('0x8d')][_0x3080('0x1a')])&&(_0x3eb975[_0x3080('0xd9')](_0x2af5e5=>_0x43b6e7[_0x3080('0xa')](_0x5ad614=>_0x5ad614[_0x3080('0xd1')](_0x2af5e5,!0x0)))&&_0x4ff045[_0x3080('0x53')]());if(_0x43b6e7[_0x3080('0xd9')](_0x134157=>_0x3eb975[_0x3080('0xa')](_0x27a37f=>_0x27a37f[_0x3080('0xd1')](_0x134157,!0x0)))){const _0x598820=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0xe7'),_0x363e0d,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x598820(_0x56b89e,null,_0x35ae9f)),null;}}else{const _0x5a37f7=_0x4ff045['getFirstRange']();_0x43b6e7[_0x3080('0xa')](_0x4761cf=>_0x4761cf[_0x3080('0xd1')](_0x5a37f7,!0x0))&&_0x4ff045[_0x3080('0x53')]();if(_0x43b6e7[_0x3080('0xd9')](_0x57987f=>_0x5a37f7['containsRange'](_0x57987f,!0x0))){const _0x2c9653=this['_suggestionFactory'][_0x3080('0xac')](_0x3080('0xe7'),_0x363e0d,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x2c9653(_0x43b6e7,null,_0x35ae9f)),null;}}const _0x43949e=this['_suggestionFactory'][_0x3080('0xac')](_0x3080('0xe7'),_0x363e0d,_0x3080('0x12c'));let _0x4a6cf7=null;for(const _0x5ca8ba of this[_0x3080('0x50')]())if(_0x5ca8ba[_0x3080('0xc6')]['id']==_0x30100e['id']&&_0x5ca8ba[_0x3080('0xfd')]&&'deletion'==_0x5ca8ba['type']&&_0x5ca8ba[_0x3080('0x2')]==_0x363e0d&&Gt(_0x5ca8ba,_0x35ae9f)&&(_0x43949e(_0x5ca8ba[_0x3080('0x17')](),_0x43b6e7)||_0x43949e(_0x43b6e7,_0x5ca8ba[_0x3080('0x17')]()))){if(_0x4a6cf7){if(_0x5ca8ba[_0x3080('0x7')]&&_0x5ca8ba[_0x3080('0x7')]['length'])continue;for(const _0x416c84 of _0x5ca8ba[_0x3080('0x17')]())_0x4a6cf7[_0x3080('0x1d')](_0x416c84)||_0x4a6cf7['addRange'](_0x416c84);_0x5ca8ba['removeMarkers']();}else{_0x4a6cf7=_0x5ca8ba;for(const _0x3491b4 of _0x43b6e7)_0x5ca8ba['isIntersectingWithRange'](_0x3491b4)||_0x5ca8ba[_0x3080('0x21')](_0x3491b4);}}if(_0x4a6cf7)return _0x4a6cf7;_0x58cbac[_0x3080('0x10b')]();for(const {suggestion:_0x5cb0c4,meta:_0x572372}of this[_0x3080('0x63')](_0x43b6e7,_0x3080('0xe7')))_0x572372[_0x3080('0x76')]&&(this[_0x3080('0xd')]||!_0x572372['containsRangeInObject']&&!_0x572372[_0x3080('0xe')])&&Gt(_0x5cb0c4,_0x35ae9f)&&_0x58cbac[_0x3080('0x144')](_0x5cb0c4);for(const _0x258136 of _0x58cbac){const _0x71051d=_0x258136[_0x3080('0x17')]();if(!_0x35ae9f||!_0x35ae9f[_0x3080('0x1a')]){if(_0x43b6e7[_0x3080('0xd9')](_0x31ebcd=>_0x71051d['some'](_0x2f8b18=>_0x2f8b18['containsRange'](_0x31ebcd,!0x0))))return _0x258136;}(!_0x258136[_0x3080('0x8d')]||!_0x258136[_0x3080('0x8d')][_0x3080('0x1a')])&&(_0x71051d['every'](_0x881063=>_0x43b6e7[_0x3080('0xa')](_0x497ff8=>_0x497ff8['containsRange'](_0x881063,!0x0)))&&_0x258136['discard']());}const _0x3fbc5c=_0x10af11(),_0x526fa8=_0x30100e['id'],_0x34ef00=_0x3080('0x160')+_0x363e0d,_0x58ce8f=this[_0x3080('0xb2')]({'id':_0x3fbc5c,'type':_0x34ef00,'createdAt':new Date(),'authorId':_0x526fa8,'attributes':_0x35ae9f});for(const _0x4f6325 of _0x43b6e7)_0x4f6325[_0x3080('0x15')](),_0x4f6325[_0x3080('0x113')]||_0x3080('0x14b')==_0x4f6325[_0x3080('0xdf')][_0x3080('0x17c')]||this[_0x3080('0x45')](_0x34ef00,_0x3fbc5c,_0x526fa8,_0x4f6325,_0x1526e2['getMultiRangeId']());return _0x58ce8f;}[_0x3080('0x17f')](_0x75e78d,_0x4d9a91,_0x14f62f,_0x294058,_0x21ddeb){if(_0x75e78d['isCollapsed'])return[];if('never'===this[_0x3080('0x12a')])return[];const _0x293e78=this['editor']['plugins'][_0x3080('0x9a')](_0x3080('0x82'))['me']['id'],_0x3af60b=Array['from'](this['_suggestions'][_0x3080('0x69')]())['filter'](_0x486866=>_0x3080('0xe2')==_0x486866[_0x3080('0x15d')]&&_0x486866[_0x3080('0x112')]['key']==_0x4d9a91&&_0x486866[_0x3080('0x1d')](_0x75e78d));if(_0x3080('0x133')===this[_0x3080('0x12a')]){const _0x51a498=this['_findSuggestions'](_0x75e78d,'insertion')['filter'](({meta:_0x5e9152})=>_0x5e9152[_0x3080('0x76')]&&!_0x5e9152[_0x3080('0xe')]&&!_0x5e9152[_0x3080('0x126')])[_0x3080('0xf7')](({suggestion:_0x333b82})=>_0x333b82);_0x3af60b['unshift'](..._0x51a498);}const _0x15a07f=new Map([[_0x75e78d,_0x14f62f]]);for(const _0x2e32b8 of _0x3af60b){const _0x36283c='attribute'==_0x2e32b8[_0x3080('0x15d')]?_0x2e32b8[_0x3080('0x112')][_0x3080('0xe1')]:void 0x0,_0x147b12=_0x2e32b8[_0x3080('0x4d')](),_0x40a8b8=Array[_0x3080('0xad')](_0x15a07f[_0x3080('0x5')]())[_0x3080('0x16b')](_0xfd9c54=>_0xfd9c54[_0x3080('0x9')](_0x147b12));if(!_0x40a8b8)continue;const _0xea6fa3=_0x40a8b8[_0x3080('0xf9')](_0x147b12);this[_0x3080('0x129')](_0x4d9a91)&&_0x3080('0x159')==_0x2e32b8['type']&&0x0!=_0xea6fa3[_0x3080('0x68')]||(_0x15a07f[_0x3080('0x176')](_0x40a8b8),_0xea6fa3[_0x3080('0x59')](_0x3647e6=>{_0x15a07f[_0x3080('0x167')](_0x3647e6,_0x14f62f);}),_0x3080('0x159')!=_0x2e32b8[_0x3080('0x15d')]&&_0x36283c!=_0x294058&&_0x15a07f[_0x3080('0x167')](_0x40a8b8['getIntersection'](_0x147b12),_0x36283c));}const _0x4d6eb9=[];for(const [_0x25604e,_0x105b62]of _0x15a07f){const _0x38aa71=_0x10af11(),_0x3fc895={'key':_0x4d9a91,'oldValue':_0x105b62,'newValue':_0x294058};_0x4d9a91['length']>0x25&&console[_0x3080('0x89')](_0x3080('0x119'),{'key':_0x4d9a91});const _0x3fc17d=(_0x3080('0x86')+(_0x4d9a91+'|'+Et({'newValue':_0x294058})))[_0x3080('0x17e')](0x0,0x3c),_0x197a21=this[_0x3080('0xb2')]({'id':_0x38aa71,'type':_0x3fc17d,'data':_0x3fc895,'createdAt':new Date(),'authorId':_0x293e78,'attributes':_0x21ddeb});_0x4d6eb9[_0x3080('0xc8')](_0x197a21),this[_0x3080('0x45')](_0x3fc17d,_0x38aa71,_0x293e78,_0x25604e);}return _0x4d6eb9;}[_0x3080('0x137')](_0x3e43f5){this['_blockAttributeKeys'][_0x3080('0x144')](_0x3e43f5);}[_0x3080('0xdb')](_0x5b02a5){this[_0x3080('0x94')][_0x3080('0x144')](_0x5b02a5);}[_0x3080('0x157')](_0x940079,_0x2c57f8=[],_0x47f552=[]){this[_0x3080('0xb1')](_0x940079,(_0x23505e,..._0xb80599)=>{this[_0x3080('0x54')](()=>{_0x23505e(..._0xb80599);});});for(const _0x809772 of _0x2c57f8)this[_0x3080('0xdb')](_0x809772);for(const _0x4ea3aa of _0x47f552)this['_registerBlockAttribute'](_0x4ea3aa);}['_setSuggestionRange'](_0x524bee,_0x2258b9){const _0x55873d=_0x524bee['getFirstMarker']();this['_model'][_0x3080('0x7b')](_0x491c67=>{_0x491c67[_0x3080('0xc9')](_0x55873d,{'range':_0x2258b9});});}[_0x3080('0x16e')](_0x5369ef){const _0x326c1b=_0x5369ef['id'],_0x2ee5b2=this[_0x3080('0xc7')]['config'][_0x3080('0x9a')](_0x3080('0x114'));this[_0x3080('0x17b')]['hasCommentThread'](_0x326c1b)||this['_commentsRepository']['addCommentThread']({'channelId':_0x2ee5b2,'threadId':_0x326c1b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x464b69=this[_0x3080('0x17b')][_0x3080('0x3')](_0x326c1b);_0x464b69[_0x3080('0xd4')]('isRemovable'),_0x464b69[_0x3080('0xfb')]=!0x1,_0x5369ef['commentThread']=_0x464b69;}[_0x3080('0x115')](_0x459bc3,_0x5c93e4,_0x42769d,_0x2c5c96){if(_0x459bc3['type']!=_0x5c93e4||_0x459bc3[_0x3080('0x2')]!=_0x42769d||_0x459bc3[_0x3080('0xf0')]['id']!=_0x2c5c96)throw this['editor'][_0x3080('0x31')](_0x3080('0x13a')),new _0x134604(_0x3080('0x13a'),this);}[_0x3080('0x181')](_0x4efe34,_0x4ff6bd){const _0x34484f=_0x4efe34[_0x3080('0x4d')]();if(_0x4ff6bd[_0x3080('0x123')](_0x34484f))_0x4efe34['removeMarkers']();else{if(_0x34484f[_0x3080('0xd1')](_0x4ff6bd)){const _0x3c4122=this[_0x3080('0x161')]['createPositionAt'](_0x4ff6bd[_0x3080('0x12d')][_0x3080('0xa7')],_0x3080('0x58'));this['_setSuggestionRange'](_0x4efe34,this['_model']['createRange'](_0x34484f['start'],_0x3c4122));const _0x2b1e06=_0x10af11(),_0x67bab7=_0x4efe34[_0x3080('0xf0')]['id'],_0x2dff4a=_0x4efe34[_0x3080('0x15d')]+':'+_0x4efe34[_0x3080('0x2')];this['_setSuggestionData']({'id':_0x2b1e06,'type':_0x2dff4a,'createdAt':new Date(),'authorId':_0x67bab7,'data':_0x4efe34[_0x3080('0x112')],'attributes':_0x4efe34[_0x3080('0x8d')]});const _0x8205c2=this[_0x3080('0x161')][_0x3080('0xde')](_0x4ff6bd[_0x3080('0x58')][_0x3080('0xf8')],_0x3080('0xaa')),_0x126a09=this['_model'][_0x3080('0x116')](_0x8205c2,_0x34484f[_0x3080('0x58')]);this['_addSuggestionMarker'](_0x2dff4a,_0x2b1e06,_0x67bab7,_0x126a09);}else{if(_0x34484f[_0x3080('0xb3')](_0x4ff6bd['start'])){const _0x406983=this[_0x3080('0x161')][_0x3080('0xde')](_0x4ff6bd['start'][_0x3080('0xa7')],'end');this[_0x3080('0x5b')](_0x4efe34,this[_0x3080('0x161')]['createRange'](_0x34484f['start'],_0x406983));}else{const _0x52b29c=this[_0x3080('0x161')]['createPositionAt'](_0x4ff6bd[_0x3080('0x58')][_0x3080('0xf8')],_0x3080('0xaa'));this['_setSuggestionRange'](_0x4efe34,this[_0x3080('0x161')][_0x3080('0x116')](_0x52b29c,_0x34484f[_0x3080('0x58')]));}}}}[_0x3080('0x3a')](_0x46ff0e){for(const {suggestion:_0x36c269,meta:_0x3662a2}of this['_findSuggestions'](_0x46ff0e,_0x3080('0x159'))){if(!_0x3662a2[_0x3080('0x76')])continue;const _0x519381=_0x36c269['getRanges']();for(const _0x11741a of _0x519381)if(!_0x46ff0e[_0x3080('0xf9')](_0x11741a)[_0x3080('0x68')])return!0x0;}return!0x1;}[_0x3080('0x93')](_0x29ac60){const _0x137ac6=this[_0x3080('0xc7')]['plugins'][_0x3080('0x9a')]('Users')[_0x3080('0xfc')](_0x29ac60);if(!_0x137ac6)throw new _0x134604(_0x3080('0xf5'),this);return _0x137ac6;}[_0x3080('0x5d')](_0x3a6e57){const _0x45e584=this[_0x3080('0xc7')][_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0x82')),_0x3e811c=_0x469935(_0x3080('0x88')+_0x3a6e57),_0x36dd13=_0x45e584[_0x3080('0xfc')](_0x3e811c);return _0x36dd13||_0x45e584[_0x3080('0xdc')]({'id':_0x3e811c,'name':_0x3a6e57});}['_createSuggestion'](_0xc2a40f,_0x15e353,_0xada907,_0x1fffe1,_0x409f23){const _0x2cb9fd=this[_0x3080('0x93')](_0x1fffe1),_0x19ea8d=this[_0x3080('0xe4')][_0x3080('0x1')](_0xc2a40f,_0x15e353,_0xada907,_0x2cb9fd,_0x409f23,_0x423058=>this[_0x3080('0x8b')](_0xada907,{'attributes':_0x423058}));return this[_0x3080('0xc1')](_0x19ea8d,_0x3080('0x14a'),()=>{this[_0x3080('0x8b')](_0xada907,{'state':_0x3080('0x6d')});},{'priority':'high'}),this['listenTo'](_0x19ea8d,_0x3080('0x53'),()=>{this[_0x3080('0x8b')](_0xada907,{'state':_0x3080('0x162')});},{'priority':'high'}),this['_suggestions'][_0x3080('0x167')](_0xada907,_0x19ea8d),this[_0x3080('0x5c')][_0x3080('0x167')](_0x19ea8d,_0x3080('0x35')),_0x19ea8d;}[_0x3080('0x151')](_0x4c1b93){const _0x8291b0=_0x4c1b93[_0x3080('0x11e')](':');return{'group':_0x8291b0[0x0],'type':_0x8291b0[0x1],'subType':_0x8291b0['length']>=0x5?_0x8291b0[0x2]:null,'id':_0x8291b0['length']<0x5?_0x8291b0[0x2]:_0x8291b0[0x3],'authorId':_0x8291b0[_0x3080('0x68')]<0x5?_0x8291b0[0x3]:_0x8291b0[0x4],'markerCount':0x6==_0x8291b0['length']?_0x8291b0[0x5]:null};}[_0x3080('0xeb')](_0x501436,_0x41bafe,_0x5e91b6){const _0x48a066=_0x501436[_0x3080('0x4d')](),_0x4c3875=_0x48a066[_0x3080('0x12d')],_0x17b997=_0x48a066[_0x3080('0x58')];this[_0x3080('0x5b')](_0x501436,this[_0x3080('0x161')][_0x3080('0x116')](_0x4c3875,_0x41bafe));const _0x45adde=_0x10af11(),_0x51c31a=_0x501436[_0x3080('0xf0')]['id'],_0x40b030=_0x501436[_0x3080('0x15d')]+(_0x501436[_0x3080('0x2')]?':'+_0x501436[_0x3080('0x2')]:'');this[_0x3080('0xb2')]({'id':_0x45adde,'type':_0x40b030,'createdAt':new Date(),'authorId':_0x51c31a,'originalSuggestionId':_0x501436['id'],'attributes':_0x501436[_0x3080('0x8d')],'data':_0x501436[_0x3080('0x112')]});const _0x440254=Pt(_0x501436);('formatBlock'==_0x501436[_0x3080('0x15d')]||_0x440254&&this['_isBlockAttribute'](_0x440254))&&(_0x5e91b6=this['_model'][_0x3080('0x44')](_0x5e91b6['parent'])),this[_0x3080('0x45')](_0x40b030,_0x45adde,_0x51c31a,this[_0x3080('0x161')]['createRange'](_0x5e91b6,_0x17b997));}['_findSuggestions'](_0x1dc1ee,_0x46c4f1=null){const _0x33741d=[],_0x29b469=this[_0x3080('0xc7')][_0x3080('0x85')][_0x3080('0x9a')]('Users')['me'];Array[_0x3080('0x150')](_0x1dc1ee)||(_0x1dc1ee=[_0x1dc1ee]);for(const _0x2eeec2 of this['getSuggestions']()){if(!_0x2eeec2[_0x3080('0xfd')])continue;if(_0x46c4f1&&_0x2eeec2[_0x3080('0x15d')]!=_0x46c4f1)continue;let _0x31cef9=!0x1;for(const _0x57c837 of _0x2eeec2[_0x3080('0x17')]()){for(const _0x2ea9be of _0x1dc1ee){const _0x29d9ec=_0x2ea9be[_0x3080('0x12d')][_0x3080('0x123')](_0x57c837['end'])||_0x2ea9be[_0x3080('0x58')][_0x3080('0x123')](_0x57c837[_0x3080('0x12d')]);if(_0x29d9ec||_0x2ea9be[_0x3080('0x9c')](_0x57c837)){const _0x4a2b8e=_0x2ea9be['containsRange'](_0x57c837)&&Bt(this[_0x3080('0x161')][_0x3080('0x15f')],_0x57c837[_0x3080('0x12d')],_0x2ea9be),_0x3e4591=_0x57c837[_0x3080('0xd1')](_0x2ea9be)&&Bt(this['_model'][_0x3080('0x15f')],_0x2ea9be[_0x3080('0x12d')],_0x57c837);_0x33741d[_0x3080('0xc8')]({'suggestion':_0x2eeec2,'meta':{'isOwn':_0x29b469==_0x2eeec2[_0x3080('0xc6')],'isNextTo':_0x29d9ec,'isInsideObject':_0x4a2b8e,'containsRangeInObject':_0x3e4591}}),_0x31cef9=!0x0;break;}}if(_0x31cef9)break;}}return _0x33741d;}[_0x3080('0x45')](_0x4a31de,_0x23e60b,_0x16d1a6,_0x2f361a,_0x340319){this['_model'][_0x3080('0x7b')](_0x12b91a=>{let _0x493c38=_0x3080('0x62')+_0x4a31de+':'+_0x23e60b+':'+_0x16d1a6;_0x340319&&(_0x493c38=_0x493c38+':'+_0x340319),_0x12b91a[_0x3080('0x11f')](_0x493c38,{'range':_0x2f361a,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3080('0xc0')](_0x1d56b2){const _0x47be98=_0x1d56b2[_0x3080('0x2e')],_0x456a90=_0x1d56b2['next'];_0x1d56b2[_0x3080('0x2e')]=null,_0x1d56b2[_0x3080('0x108')]=null,null!=_0x47be98&&(_0x47be98[_0x3080('0x108')]=_0x456a90),null!=_0x456a90&&(_0x456a90['previous']=_0x47be98),_0x3080('0xb7')==this[_0x3080('0x5c')][_0x3080('0x9a')](_0x1d56b2)&&(this[_0x3080('0x5c')][_0x3080('0x167')](_0x1d56b2,_0x3080('0xf2')),this[_0x3080('0x107')](_0x3080('0x5e'),_0x1d56b2,_0x47be98,_0x456a90));}[_0x3080('0xb2')](_0x3e0bb0){const _0x100942=_0x3e0bb0['id'],_0x1351b2=this[_0x3080('0xaf')](_0x3e0bb0);if(this['_adapter']&&this[_0x3080('0x13')][_0x3080('0xbf')]){const _0x35a244=this['editor']['plugins'][_0x3080('0x9a')](_0x3080('0xcb')),_0x2f2e4c=_0x1351b2[_0x3080('0x128')],_0x9f1a52=_0x1351b2[_0x3080('0x2')]?_0x1351b2['type']+':'+_0x1351b2['subType']:_0x1351b2[_0x3080('0x15d')],_0x4022a3=this[_0x3080('0xc7')][_0x3080('0xe8')],_0x301899=_0x35a244[_0x3080('0x144')](_0xaf0263(_0x4022a3,_0x3080('0x7a'))),_0x4856e0={'id':_0x100942,'type':_0x9f1a52,'hasComments':_0x2f2e4c,'data':_0x3e0bb0[_0x3080('0x112')]||null,'originalSuggestionId':_0x3e0bb0[_0x3080('0x29')]||null,'attributes':_0x1351b2[_0x3080('0x8d')]};this['_adapter']['addSuggestion'](_0x4856e0)[_0x3080('0x139')](_0x23f5b5=>{_0x1351b2[_0x3080('0x60')]=!0x0,_0x35a244[_0x3080('0x6e')](_0x301899),_0x23f5b5&&_0x23f5b5['createdAt']&&(this[_0x3080('0x71')][_0x3080('0x9a')](_0x100942)[_0x3080('0x171')]=_0x23f5b5[_0x3080('0x171')]);})[_0x3080('0x6a')](_0x2ae67d=>{throw _0x38bf58(_0x3080('0x156')),this[_0x3080('0xc7')][_0x3080('0x140')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x1351b2[_0x3080('0x53')]();}),_0x1351b2['stopListening'](),this[_0x3080('0x71')][_0x3080('0x176')](_0x1351b2['id']),this[_0x3080('0x5c')]['delete'](_0x1351b2),_0x2ae67d;});}return _0x1351b2;}['_isBlockAttribute'](_0x34c351){return this[_0x3080('0x122')]['has'](_0x34c351);}[_0x3080('0x8b')](_0x28a0a8,_0x3f2031){const _0x40aebd=this[_0x3080('0xc7')]['plugins'][_0x3080('0x9a')](_0x3080('0xcb')),_0x264ce0=this[_0x3080('0x61')](_0x28a0a8);if(this[_0x3080('0x13')]&&this[_0x3080('0x13')]['updateSuggestion']){if(_0x264ce0[_0x3080('0x60')]){const _0x4d299e=_0x40aebd[_0x3080('0x144')](_0xaf0263(this[_0x3080('0xc7')][_0x3080('0xe8')],_0x3080('0x7a')));this['_adapter']['updateSuggestion'](_0x28a0a8,_0x3f2031)['then'](()=>{_0x40aebd['remove'](_0x4d299e);});}else _0x264ce0['on'](_0x3080('0xcc'),()=>{this[_0x3080('0x8b')](_0x28a0a8,_0x3f2031);});}}[_0x3080('0x25')](_0xddd709){if(!this[_0x3080('0x13')]||!this['_adapter'][_0x3080('0x61')])throw new _0x134604(_0x3080('0xa5'),this);return this[_0x3080('0x13')][_0x3080('0x61')](_0xddd709);}[_0x3080('0xfa')](_0x3aeed4){const {id:_0x4e01c5,type:_0x1234ec,subType:_0xbf529a,authorId:_0x5d886a}=this[_0x3080('0x151')](_0x3aeed4),_0x318bd5=this[_0x3080('0x71')][_0x3080('0x9a')](_0x4e01c5)||this[_0x3080('0x9e')](_0x1234ec,_0xbf529a,_0x4e01c5,_0x5d886a,{});switch(this[_0x3080('0x115')](_0x318bd5,_0x1234ec,_0xbf529a,_0x5d886a),this[_0x3080('0x5c')]['get'](_0x318bd5)){case _0x3080('0x35'):this[_0x3080('0x25')](_0x4e01c5)[_0x3080('0x139')](_0x4234b8=>{let _0x31c0b7=Promise[_0x3080('0xae')]();_0x4234b8[_0x3080('0x128')]&&(_0x31c0b7=this[_0x3080('0x17b')][_0x3080('0x148')]({'channelId':this[_0x3080('0xc7')]['config'][_0x3080('0x9a')]('collaboration.channelId'),'threadId':_0x4e01c5})),_0x31c0b7['then'](()=>{this[_0x3080('0xaf')](_0x4234b8)['_saved']=!0x0;});}),this[_0x3080('0x5c')][_0x3080('0x167')](_0x318bd5,'markerReady');break;case _0x3080('0xf2'):this[_0x3080('0x8b')](_0x4e01c5,{'state':'open'});case _0x3080('0x67'):this[_0x3080('0x5c')][_0x3080('0x167')](_0x318bd5,_0x3080('0xb7')),this['fire'](_0x3080('0x99'),_0x318bd5);break;case _0x3080('0xb7'):this[_0x3080('0x107')]('suggestionChanged',_0x318bd5);}return _0x318bd5['addMarkerName'](_0x3aeed4),_0x318bd5;}[_0x3080('0x141')](_0x3d992e){const _0x4903c4=Array['from'](_0x3d992e),_0x5e80c7=_0x4903c4[_0x3080('0xee')](_0x21b70c=>_0x3080('0xe2')==_0x21b70c[_0x3080('0x15d')]);this[_0x3080('0x146')](_0x5e80c7);const _0x3b83a0=_0x4903c4['filter'](_0x1797d5=>!_0x1797d5[_0x3080('0xb9')]&&_0x3080('0xe2')!=_0x1797d5[_0x3080('0x15d')]),_0x3813a9=this[_0x3080('0x50')]({'skipNotAttached':!0x0})[_0x3080('0xee')](_0x47116c=>!_0x47116c[_0x3080('0xb9')]&&'attribute'!=_0x47116c[_0x3080('0x15d')]),_0x400686=_0x3813a9[_0x3080('0xee')](_0x3e65dc=>!_0x3d992e['has'](_0x3e65dc)),_0x234df7=new Map(_0x3813a9[_0x3080('0xf7')](_0xc31130=>[_0xc31130,this[_0x3080('0xe4')]['getSuggestionCallback'](_0xc31130[_0x3080('0x15d')],_0xc31130[_0x3080('0x2')],_0x3080('0x6b'))])),_0x4208d4=new Map(_0x3813a9['map'](_0xe99ecf=>[_0xe99ecf,_0xe99ecf[_0x3080('0x4d')]()])),_0x2bbbee=new Set(),_0x3c17be=new Set();for(let _0x15143c=0x0;_0x15143c<_0x3b83a0[_0x3080('0x68')];_0x15143c++)_0x5b32d8(_0x3b83a0[_0x15143c],_0x3b83a0,_0x15143c+0x1);for(let _0x51c231=0x0;_0x51c231<_0x3b83a0[_0x3080('0x68')];_0x51c231++)_0x5b32d8(_0x3b83a0[_0x51c231],_0x400686,0x0);const _0x200ea2=new Set();for(let _0x213b48=0x0;_0x213b48<_0x3b83a0['length'];_0x213b48++){const _0x5c4038=_0x3b83a0[_0x213b48];!_0x3c17be['has'](_0x5c4038)&&_0x5c4038[_0x3080('0x2e')]&&(_0x200ea2[_0x3080('0x144')](_0x5c4038[_0x3080('0x2e')]),_0x5c4038['previous'][_0x3080('0x108')]===_0x5c4038&&(_0x5c4038[_0x3080('0x2e')][_0x3080('0x108')]=null),_0x5c4038['previous']=null),!_0x2bbbee['has'](_0x5c4038)&&_0x5c4038[_0x3080('0x108')]&&(_0x200ea2['add'](_0x5c4038[_0x3080('0x108')]),_0x5c4038[_0x3080('0x108')][_0x3080('0x2e')]===_0x5c4038&&(_0x5c4038[_0x3080('0x108')][_0x3080('0x2e')]=null),_0x5c4038[_0x3080('0x108')]=null);}function _0x5b32d8(_0x56f970,_0x45f75b,_0x2f48c5){for(let _0x33fe95=_0x2f48c5;_0x33fe95<_0x45f75b[_0x3080('0x68')];_0x33fe95++){const _0x43656b=_0x500e92(_0x56f970,_0x45f75b[_0x33fe95]);_0x43656b&&(_0x43656b[0x0][_0x3080('0x108')]=_0x43656b[0x1],_0x43656b[0x1]['previous']=_0x43656b[0x0],_0x2bbbee[_0x3080('0x144')](_0x43656b[0x0]),_0x3c17be[_0x3080('0x144')](_0x43656b[0x1]));}}function _0x500e92(_0xb6a68b,_0x25c312){if(_0xb6a68b[_0x3080('0xc6')]['id']!==_0x25c312['author']['id'])return null;const _0xeb86c7=_0x234df7[_0x3080('0x9a')](_0xb6a68b)(_0xb6a68b,_0x25c312,_0x4208d4[_0x3080('0x9a')](_0xb6a68b),_0x4208d4[_0x3080('0x9a')](_0x25c312));if(!_0xeb86c7)return null;return _0x234df7[_0x3080('0x9a')](_0x25c312)(_0xb6a68b,_0x25c312,_0x4208d4[_0x3080('0x9a')](_0xb6a68b),_0x4208d4[_0x3080('0x9a')](_0x25c312))?_0xeb86c7[0x1][_0x3080('0x7')]&&_0xeb86c7[0x1]['commentThread'][_0x3080('0x68')]?null:_0xeb86c7:null;}_0x200ea2[_0x3080('0xff')]&&this[_0x3080('0x141')](_0x200ea2);}[_0x3080('0x146')](_0x4ca4bd){if(0x0==_0x4ca4bd['length'])return;const _0x501038=this[_0x3080('0x50')]({'skipNotAttached':!0x0})['filter'](_0x89e04c=>_0x3080('0xe2')==_0x89e04c['type']&&_0x89e04c[_0x3080('0x14c')]),_0x17f06a=[],_0x5201e3=new Map();for(const _0x1077c3 of _0x501038){const _0x30772f=_0x469935(_0x1077c3[_0x3080('0x8d')]);_0x5201e3[_0x3080('0x15b')](_0x30772f)||(_0x5201e3['set'](_0x30772f,_0x17f06a[_0x3080('0x68')]),_0x17f06a['push']([]));const _0x5d3cc2=_0x5201e3['get'](_0x30772f);_0x17f06a[_0x5d3cc2][_0x3080('0xc8')](_0x1077c3);}!function(){_0x17f06a[_0x3080('0xcf')]((_0x4e11ec,_0x2f28c8)=>{const _0xfac6bc=_0x4e11ec[0x0][_0x3080('0x171')],_0x5331ed=_0x2f28c8[0x0]['createdAt'];return _0xfac6bc==_0x5331ed?_0x4e11ec[0x0][_0x3080('0x8d')][_0x3080('0x2d')]<_0x2f28c8[0x0][_0x3080('0x8d')]['groupId']?-0x1:0x1:_0xfac6bc<_0x5331ed?-0x1:0x1;});for(const _0x10b522 of _0x17f06a)_0x10b522[_0x3080('0xcf')]((_0x141344,_0x4a0981)=>_0x141344['id']<_0x4a0981['id']?-0x1:0x1);}();for(let _0x577224=0x0;_0x577224<_0x17f06a[_0x3080('0x68')];_0x577224++){if(0x0==_0x17f06a[_0x577224]['length'])continue;const _0x30831a=[];for(let _0x1ca485=_0x577224+0x1;_0x1ca485<_0x17f06a[_0x3080('0x68')];_0x1ca485++)0x0!=_0x17f06a[_0x1ca485][_0x3080('0x68')]&&_0x5aae96(_0x17f06a[_0x577224],_0x17f06a[_0x1ca485])&&_0x30831a[_0x3080('0xc8')](_0x1ca485);for(const _0x27a0b0 of _0x30831a)_0x17f06a[_0x577224]=_0x17f06a[_0x577224]['concat'](_0x17f06a[_0x27a0b0]),_0x17f06a[_0x27a0b0]=[];}for(const _0x4dc96d of _0x17f06a)for(let _0x24bac6=0x0;_0x24bac6<_0x4dc96d['length'];_0x24bac6++)_0x4dc96d[_0x24bac6][_0x3080('0x108')]=_0x4dc96d[_0x24bac6+0x1]||null;for(const _0x1d1354 of _0x17f06a)for(let _0x1cfc43=0x0;_0x1cfc43<_0x1d1354[_0x3080('0x68')];_0x1cfc43++)_0x1d1354[_0x1cfc43][_0x3080('0x2e')]=_0x1d1354[_0x1cfc43-0x1]||null;function _0x5aae96(_0x5b3d64,_0x27fb82){if(_0x5b3d64[0x0][_0x3080('0xc6')]!==_0x27fb82[0x0][_0x3080('0xc6')])return!0x1;if(!function(_0x49144a,_0x195777){if(!_0x49144a['hasComments']&&!_0x195777[_0x3080('0x128')])return!0x0;if(_0x49144a[_0x3080('0x128')]&&_0x195777['hasComments'])return!0x1;if(_0x49144a[_0x3080('0x128')]&&_0x195777[_0x3080('0x171')]<_0x49144a[_0x3080('0x7')]['comments'][_0x3080('0x9a')](0x0)[_0x3080('0x171')])return!0x0;if(_0x195777[_0x3080('0x128')]&&_0x49144a['createdAt']<_0x195777[_0x3080('0x7')][_0x3080('0x51')][_0x3080('0x9a')](0x0)[_0x3080('0x171')])return!0x0;return!0x1;}(_0x5b3d64[0x0],_0x27fb82[0x0]))return!0x1;const _0x189896=_0x2b8df0(_0x5b3d64[0x0][_0x3080('0x8d')],'groupId'),_0x1fe41e=_0x2b8df0(_0x27fb82[0x0]['attributes'],'groupId');if(!_0x251618(_0x189896,_0x1fe41e))return!0x1;return!!_0x5b3d64['every'](_0x4f0e1f=>_0x27fb82['some'](_0x3e0711=>_0x4f0e1f[_0x3080('0x4d')]()[_0x3080('0x123')](_0x3e0711[_0x3080('0x4d')]())))&&_0x27fb82[_0x3080('0xd9')](_0x107d73=>_0x5b3d64['some'](_0x3395ef=>_0x107d73[_0x3080('0x4d')]()[_0x3080('0x123')](_0x3395ef[_0x3080('0x4d')]())));}}[_0x3080('0xb0')](_0x35299b){const _0x2bab48=Array[_0x3080('0xad')](_0x35299b),_0x33bcb0=this[_0x3080('0x50')]({'skipNotAttached':!0x0}),_0x5c9145=_0x33bcb0[_0x3080('0xee')](_0x521140=>!_0x35299b[_0x3080('0x15b')](_0x521140)),_0x2c8b61=new Map(_0x2bab48[_0x3080('0xf7')](_0x35c312=>[_0x35c312,this[_0x3080('0xe4')][_0x3080('0xac')](_0x35c312[_0x3080('0x15d')],_0x35c312[_0x3080('0x2')],_0x3080('0x12c'))])),_0x291040=new Map(_0x33bcb0['map'](_0x3d7d6f=>[_0x3d7d6f,_0x3d7d6f[_0x3080('0x17')]()]));for(let _0x177608=0x0;_0x177608<_0x2bab48[_0x3080('0x68')];_0x177608++){if(_0x36cd9a(this,_0x2bab48[_0x177608],_0x2bab48,_0x177608+0x1))return!0x0;}for(let _0x35e52a=0x0;_0x35e52a<_0x2bab48[_0x3080('0x68')];_0x35e52a++){if(_0x36cd9a(this,_0x2bab48[_0x35e52a],_0x5c9145,0x0))return!0x0;}return!0x1;function _0x36cd9a(_0x4162f2,_0x144e26,_0x47e373,_0x3c4487){for(let _0x26d68d=_0x3c4487;_0x26d68d<_0x47e373[_0x3080('0x68')];_0x26d68d++){const _0x5328b3=_0x47e373[_0x26d68d];if(_0x5328b3[_0x3080('0x15d')]!==_0x144e26[_0x3080('0x15d')]||_0x5328b3[_0x3080('0xc6')]['id']!==_0x144e26[_0x3080('0xc6')]['id']||_0x5328b3['subType']!==_0x144e26[_0x3080('0x2')])continue;if(!Vt(_0x144e26,_0x5328b3))continue;if('attribute'==_0x144e26[_0x3080('0x15d')]&&_0x144e26[_0x3080('0x112')][_0x3080('0xe1')]!=_0x5328b3[_0x3080('0x112')][_0x3080('0xe1')])continue;if(_0x3080('0xe2')==_0x144e26['type']&&_0x4162f2[_0x3080('0x129')](_0x144e26[_0x3080('0x112')][_0x3080('0x64')]))continue;if('formatBlock'==_0x144e26['type']){const _0x12e871=_0x4162f2[_0x3080('0xc7')][_0x3080('0x140')],_0x40400a=_0x144e26[_0x3080('0x174')]();if(_0x40400a&&(_0x12e871[_0x3080('0x15f')]['isObject'](_0x40400a)||_0x12e871[_0x3080('0x15f')][_0x3080('0x28')](_0x40400a)))continue;}const _0x30c974=_0x2c8b61[_0x3080('0x9a')](_0x144e26),_0x5e9fce=_0x291040[_0x3080('0x9a')](_0x144e26),_0x147926=_0x291040['get'](_0x5328b3),_0x31b554=_0x144e26[_0x3080('0x7')]&&_0x144e26[_0x3080('0x7')][_0x3080('0x68')],_0x4bb282=_0x5328b3['commentThread']&&_0x5328b3[_0x3080('0x7')][_0x3080('0x68')];if(!_0x31b554&&_0x30c974(_0x147926,_0x5e9fce))return _0x4162f2[_0x3080('0x30')](_0x5328b3,_0x144e26),_0x291040[_0x3080('0x176')](_0x144e26),!0x0;if(!_0x4bb282&&_0x30c974(_0x5e9fce,_0x147926))return _0x4162f2[_0x3080('0x30')](_0x144e26,_0x5328b3),_0x291040[_0x3080('0x176')](_0x5328b3),!0x0;}return!0x1;}}[_0x3080('0x30')](_0x438b77,_0x4329be){if(_0x438b77['isMultiRange'])for(const _0xf50394 of _0x4329be[_0x3080('0x17')]())_0x438b77['addRange'](_0xf50394);else{const _0x1189ee=_0x4329be[_0x3080('0x4d')]()[_0x3080('0x58')];this[_0x3080('0x5b')](_0x438b77,this[_0x3080('0x161')][_0x3080('0x116')](_0x438b77[_0x3080('0x4d')]()[_0x3080('0x12d')],_0x1189ee));}_0x4329be[_0x3080('0x100')]();}['_getMarkerAnnouncementText'](_0x6b432c,_0x36875b){const _0x4fb2a3=_0x6b432c['startsWith']('format')||_0x6b432c['startsWith'](_0x3080('0xe2'))?_0x3080('0x42'):_0x6b432c[_0x3080('0x134')]();return _0xaf0263(this['editor'][_0x3080('0xe8')],_0x36875b+'_'+_0x4fb2a3+_0x3080('0x26'));}[_0x3080('0x20')](){const _0x198db9=this[_0x3080('0xc7')];_0x21acf8(this[_0x3080('0x161')],({left:_0x472e74,entered:_0xa64e50})=>{const _0x1b96fd=[];for(const _0x5f26b0 of _0x472e74){const {group:_0x54d51f,type:_0x50ed7d}=this[_0x3080('0x151')](_0x5f26b0[_0x3080('0xba')]);if(_0x3080('0xd5')===_0x54d51f){_0x1b96fd[_0x3080('0xc8')](this[_0x3080('0x13d')](_0x50ed7d,_0x3080('0xda')));break;}}for(const _0x962ce8 of _0xa64e50){const {group:_0xced49a,type:_0x1fdac3}=this[_0x3080('0x151')](_0x962ce8[_0x3080('0xba')]);if(_0x3080('0xd5')===_0xced49a){_0x1b96fd[_0x3080('0xc8')](this[_0x3080('0x13d')](_0x1fdac3,_0x3080('0x7e')));break;}}_0x1b96fd[_0x3080('0x68')]&&_0x198db9['ui']['ariaLiveAnnouncer'][_0x3080('0x34')](_0x3080('0x10c'),_0x1b96fd[_0x3080('0x12c')]('\x20'));});}['_processAttributeChanges'](_0xec2210){if(null!==this[_0x3080('0x65')])return!0x1;const _0x51634b=this[_0x3080('0xc7')],_0x3062e6=_0x51634b['model'][_0x3080('0x164')][_0x3080('0x79')][_0x3080('0x16c')]();if(0x0==_0x3062e6['length'])return!0x1;const _0x48b359=[],_0x3faed9=_0x3062e6[_0x3080('0xee')](_0x2dd1bc=>_0x3080('0xe2')==_0x2dd1bc['type']),_0x18020e=_0x3062e6[_0x3080('0xee')](_0x46c8f5=>_0x3080('0x39')==_0x46c8f5[_0x3080('0x15d')]&&_0x3080('0x105')!=_0x46c8f5[_0x3080('0xba')]),_0x4bf8fb=_0x3062e6['filter'](_0x1e41bc=>'remove'==_0x1e41bc[_0x3080('0x15d')]&&_0x3080('0x105')!=_0x1e41bc['name']);for(const _0x163150 of _0x3faed9)_0x48b359[_0x3080('0xc8')]({'key':_0x163150['attributeKey'],'newValue':_0x163150[_0x3080('0x66')],'oldValue':_0x163150[_0x3080('0x24')],'range':_0x160744(_0x163150['range'])});for(const _0x58f1c4 of _0x18020e){const _0x558673=_0x4bf8fb[_0x3080('0x16b')](_0x3bdd57=>_0x3bdd57[_0x3080('0xa2')][_0x3080('0x123')](_0x58f1c4['position']));_0x558673&&_0x48b359[_0x3080('0xc8')]({'key':_0x3080('0x149'),'newValue':_0x58f1c4[_0x3080('0xba')],'oldValue':_0x558673[_0x3080('0xba')],'range':_0x51634b[_0x3080('0x140')][_0x3080('0x6f')](_0x58f1c4[_0x3080('0xa2')][_0x3080('0x10d')])});}return 0x0!=_0x48b359[_0x3080('0x68')]&&this[_0x3080('0x91')](_0xec2210,_0x48b359);function _0x160744(_0x1d8270){return null==_0x1d8270['end']['nodeBefore']&&_0x1d8270[_0x3080('0x58')]['parent']==_0x1d8270[_0x3080('0x12d')]['nodeAfter']?Ut(_0x1d8270[_0x3080('0x12d')]['nodeAfter'],_0x51634b[_0x3080('0x140')]):_0x1d8270;}}[_0x3080('0xf')](_0x1513dd){let _0x5d4651=!0x1;const _0x343979=this[_0x3080('0xc7')][_0x3080('0x140')][_0x3080('0x164')][_0x3080('0x79')][_0x3080('0x96')]()[_0x3080('0xee')](_0x2fbbaf=>_0x2fbbaf[_0x3080('0x112')][_0x3080('0x12')]&&_0x2fbbaf[_0x3080('0xba')]['startsWith'](_0x3080('0x75')));for(const _0x5cf18b of _0x343979){const {subType:_0x3dbb36,id:_0x71c7bd}=this['_splitMarkerName'](_0x5cf18b[_0x3080('0xba')]),_0xc5cdc3=_0x3dbb36[_0x3080('0x11e')]('|')[0x0];for(const _0x93befc of this[_0x3080('0x50')]({'skipNotAttached':!0x0}))_0x93befc['id']!=_0x71c7bd&&_0x3080('0xe2')==_0x93befc['type']&&_0x93befc[_0x3080('0x112')]&&_0x93befc[_0x3080('0x112')][_0x3080('0x64')]==_0xc5cdc3&&_0x93befc[_0x3080('0x4d')]()['isIntersecting'](_0x5cf18b['data']['newRange'])&&(this[_0x3080('0xa1')](_0x93befc,_0x5cf18b[_0x3080('0x112')][_0x3080('0x12')],_0x1513dd),_0x5d4651=!0x0);}return _0x5d4651;}['_recordAttributeChanges'](_0x56042d){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x56042d();const _0xc85652=this[_0x3080('0xc7')];this[_0x3080('0x65')]=_0xc85652[_0x3080('0x140')][_0x3080('0x164')][_0x3080('0x12e')],_0x56042d();const _0x4fc5b8=new Map();for(const _0x21cf33 of _0xc85652[_0x3080('0x140')]['document'][_0x3080('0x118')][_0x3080('0xe6')](this[_0x3080('0x65')]))if([_0x3080('0x143'),_0x3080('0xf3'),'removeAttribute',_0x3080('0x70')][_0x3080('0x109')](_0x21cf33[_0x3080('0x15d')])){const _0x58324d=_0x21cf33[_0x3080('0x168')],_0x5a4130=_0x4fc5b8['get'](_0x58324d)||[];_0x5a4130['push'](_0x21cf33),_0x4fc5b8[_0x3080('0x167')](_0x58324d,_0x5a4130);}this[_0x3080('0x65')]=null;for(const [_0x37a2b5,_0xb15585]of _0x4fc5b8){const _0x422965=_0x10af11();_0xc85652['model'][_0x3080('0x152')](_0x37a2b5,_0x112ac7=>{const _0x5adf4c=[];for(const _0x5296ac of _0xb15585){let _0x1fec48,_0x5b599d,_0x58afd2,_0x179ca8;if('rename'==_0x5296ac[_0x3080('0x15d')]){const _0x286358=_0x5296ac;_0x1fec48=Ut(_0x286358[_0x3080('0xa2')][_0x3080('0x10d')],_0xc85652['model']),_0x5b599d=_0x3080('0x149'),_0x58afd2=_0x286358[_0x3080('0x81')],_0x179ca8=_0x286358[_0x3080('0xa4')];}else{const _0x10284e=_0x5296ac,_0x38f324=this[_0x3080('0x129')](_0x10284e[_0x3080('0x64')]),_0x1a70b2=this[_0x3080('0x94')][_0x3080('0x15b')](_0x10284e['key']);if(!_0x38f324&&!_0x1a70b2)continue;_0x1fec48=_0x38f324?Ut(_0x10284e[_0x3080('0x19')]['start'][_0x3080('0x10d')],_0xc85652[_0x3080('0x140')]):_0x10284e['range'],_0x5b599d=_0x10284e['key'],_0x58afd2=_0x3080('0x132')==_0x5296ac[_0x3080('0x15d')]?void 0x0:_0x10284e[_0x3080('0xb6')],_0x179ca8=_0x10284e['oldValue'];}this[_0x3080('0x17f')](_0x1fec48,_0x5b599d,_0x179ca8,_0x58afd2,{'groupId':_0x422965}),_0x5adf4c[_0x3080('0xc8')]({'range':_0x1fec48,'key':_0x5b599d,'newValue':_0x58afd2,'oldValue':_0x179ca8});}this[_0x3080('0x91')](_0x112ac7,_0x5adf4c);});}}[_0x3080('0x91')](_0x1251b9,_0x198913){if(0x0==_0x198913[_0x3080('0x68')])return!0x1;let _0x395363=!0x1;for(const _0xa39774 of _0x198913){const _0x2e703e=this[_0x3080('0x63')](_0xa39774[_0x3080('0x19')],'attribute')[_0x3080('0xee')](_0x5be47c=>!_0x5be47c['meta'][_0x3080('0x126')])[_0x3080('0xf7')](_0x190d19=>_0x190d19['suggestion']),_0x9860bc=_0x469935({'newValue':_0xa39774['newValue']});_0x2e703e[_0x3080('0xee')](_0x226b89=>{const [_0x32af41,_0x4455c0]=_0x226b89['subType'][_0x3080('0x11e')]('|');return _0x32af41==_0xa39774[_0x3080('0x64')]&&_0x4455c0!=_0x9860bc;})[_0x3080('0x59')](_0x5207d6=>{this[_0x3080('0xa1')](_0x5207d6,_0xa39774['range'],_0x1251b9),_0x395363=!0x0;});}return _0x395363;}['_reduceSuggestionAttributeRange'](_0x28b943,_0x4009e3,_0x253054){const _0x60b2ee=_0x28b943[_0x3080('0x4d')]()['getDifference'](_0x4009e3);0x0!==_0x60b2ee[_0x3080('0x68')]?0x1!==_0x60b2ee[_0x3080('0x68')]?this[_0x3080('0xeb')](_0x28b943,_0x4009e3['start'],_0x4009e3[_0x3080('0x58')]):this[_0x3080('0x5b')](_0x28b943,_0x60b2ee[0x0]):_0x253054[_0x3080('0x180')](_0x28b943[_0x3080('0x178')]());}}class $t{constructor(_0x376d0a){this[_0x3080('0x12f')]=_0x376d0a,this['_model']=_0x376d0a[_0x3080('0x140')],this['_customCallbacks']=new Map(),this[_0x3080('0x165')]=new Map(),this[_0x3080('0x14e')]();}[_0x3080('0x1')](_0x4ebf0e,_0x1d703b,_0x48c520,_0x47f624,_0x511de5,_0x348ea2){return new _0x1526e2(this[_0x3080('0x161')],{'type':_0x4ebf0e,'subType':_0x1d703b,'id':_0x48c520,'author':_0x47f624,'creator':_0x47f624,'attributes':_0x511de5,'onAttributesChange':_0x348ea2,'onAccept':(..._0x12f97d)=>this[_0x3080('0xac')](_0x4ebf0e,_0x1d703b,'accept')(..._0x12f97d),'onDiscard':(..._0x21f585)=>this[_0x3080('0xac')](_0x4ebf0e,_0x1d703b,_0x3080('0x53'))(..._0x21f585)});}[_0x3080('0x47')](_0x519da0,_0x787e84,_0xa3b5b5,_0x27c99f){const _0x5a912f=_0x519da0+':'+_0x787e84+':'+_0xa3b5b5;this[_0x3080('0x3b')]['set'](_0x5a912f,_0x27c99f);}['getSuggestionCallback'](_0x70e630,_0x3dbad5,_0x2ed873){const _0x237e98=_0x70e630+':'+_0x3dbad5+':'+_0x2ed873;return this[_0x3080('0x3b')]['get'](_0x237e98)||this[_0x3080('0x165')]['get'](_0x70e630+':'+_0x2ed873);}['_registerDefaultCallbacks'](){const _0x402b73=()=>!0x1,_0x58d29e=_0x1021c8=>{_0x1021c8[_0x3080('0xcf')]((_0x5c50e9,_0x4ff919)=>_0x5c50e9[_0x3080('0x12d')][_0x3080('0x145')](_0x4ff919[_0x3080('0x12d')])?0x1:-0x1),this[_0x3080('0x161')][_0x3080('0x7b')](_0x2f140e=>{for(const _0x239bbd of _0x1021c8){let _0xfcfa51;_0xfcfa51=_0x239bbd['end'][_0x3080('0x106')]&&_0x239bbd[_0x3080('0x58')][_0x3080('0xf8')]==_0x239bbd[_0x3080('0x12d')][_0x3080('0x10d')]?_0x2f140e['createSelection'](_0x239bbd[_0x3080('0x12d')][_0x3080('0x10d')],'on'):_0x2f140e[_0x3080('0x183')](_0x239bbd),this['_model'][_0x3080('0x16a')](_0xfcfa51,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4b489a=(_0x5b0d38,_0x1dde1d)=>{_0x1dde1d&&this['_model'][_0x3080('0x7b')](_0x446eac=>{const {commandName:_0x1432e1,commandParams:_0x5ef682=[]}=_0x1dde1d,_0x1db31f=_0x5b0d38[_0x3080('0xf7')](_0x49c6b2=>(Tt(_0x49c6b2)&&(_0x49c6b2=this[_0x3080('0x161')][_0x3080('0x116')](_0x49c6b2[_0x3080('0x58')])),_0x49c6b2))[_0x3080('0xee')](_0x2640d2=>_0x3080('0x14b')!==_0x2640d2[_0x3080('0xdf')][_0x3080('0x17c')]);if(_0x1db31f[_0x3080('0x68')]<0x1)return;const _0x35bb22=Array['from'](this[_0x3080('0x161')]['document']['selection'][_0x3080('0x17')]())[_0x3080('0xf7')](_0x42a0d3=>_0x441896[_0x3080('0x3c')](_0x42a0d3));_0x446eac['setSelection'](_0x1db31f);for(const _0x38bae1 of this[_0x3080('0x12f')][_0x3080('0x52')]['commands']())_0x38bae1[_0x3080('0x11d')]();_0x5ef682[_0x3080('0xc8')]({'forceDefaultExecution':!0x0}),this[_0x3080('0x12f')][_0x3080('0xe5')](_0x1432e1,..._0x5ef682);const _0x535235=_0x35bb22[_0x3080('0xee')](_0x5921e1=>_0x3080('0x14b')!=_0x5921e1[_0x3080('0xdf')][_0x3080('0x17c')]);_0x535235[_0x3080('0x68')]>0x0&&_0x446eac[_0x3080('0xe9')](_0x535235);for(const _0x28fd69 of _0x35bb22)_0x28fd69[_0x3080('0x15')]();});},_0x29f0cb=(_0x2a5bc6,_0x3a83f6)=>0x1==_0x2a5bc6[_0x3080('0x68')]&&0x1==_0x3a83f6['length']&&_0x2a5bc6[0x0][_0x3080('0x58')][_0x3080('0x123')](_0x3a83f6[0x0]['start']),_0x2fba06=(_0x3fb6e3,_0x1c2b6e,_0x18df3f,_0x4f74d0)=>Ot(_0x3fb6e3,_0x1c2b6e,_0x18df3f,_0x4f74d0,this[_0x3080('0x161')])?[_0x3fb6e3,_0x1c2b6e]:Ot(_0x1c2b6e,_0x3fb6e3,_0x4f74d0,_0x18df3f,this['_model'])?[_0x1c2b6e,_0x3fb6e3]:null;this[_0x3080('0x165')]['set'](_0x3080('0x23'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x83'),_0x58d29e),this[_0x3080('0x165')]['set'](_0x3080('0xc2'),_0x29f0cb),this[_0x3080('0x165')]['set'](_0x3080('0x155'),_0x2fba06),this[_0x3080('0x165')]['set'](_0x3080('0x13f'),_0x58d29e),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x147'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x11'),_0x29f0cb),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0xa6'),_0x2fba06),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x11a'),_0x4b489a),this['_defaultCallbacks'][_0x3080('0x167')]('formatInline:discard',_0x402b73),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x74'),_0x29f0cb),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x2b'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0xef'),_0x4b489a),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x11c'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')]('formatBlock:join',_0x29f0cb),this[_0x3080('0x165')]['set'](_0x3080('0xb4'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x32'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x9d'),(_0x2fecaa,_0xe7dc88)=>{if(!_0xe7dc88)return;const _0x3c4814=this[_0x3080('0x12f')][_0x3080('0x85')][_0x3080('0x9a')](p);this[_0x3080('0x161')][_0x3080('0x7b')](_0x31feb2=>{if(_0x3080('0x149')==_0xe7dc88['key'])for(const _0x5facf0 of _0x2fecaa){const _0x48944d=_0x5facf0[_0x3080('0x12d')][_0x3080('0x10d')],_0x123d59=_0xe7dc88[_0x3080('0xe1')];_0x31feb2['rename'](_0x48944d,_0x123d59);}else{if(_0x3c4814[_0x3080('0x129')](_0xe7dc88['key']))for(const _0x3ad5ce of _0x2fecaa)void 0x0!==_0xe7dc88[_0x3080('0xe1')]?_0x31feb2[_0x3080('0x7d')](_0xe7dc88[_0x3080('0x64')],_0xe7dc88['oldValue'],_0x3ad5ce[_0x3080('0x12d')]['nodeAfter']):_0x31feb2['removeAttribute'](_0xe7dc88[_0x3080('0x64')],_0x3ad5ce[_0x3080('0x12d')]['nodeAfter']);else for(const _0xcd3e56 of _0x2fecaa)_0xe7dc88[_0x3080('0xe1')]?_0x31feb2[_0x3080('0x7d')](_0xe7dc88[_0x3080('0x64')],_0xe7dc88[_0x3080('0xe1')],_0xcd3e56):_0x31feb2[_0x3080('0x132')](_0xe7dc88[_0x3080('0x64')],_0xcd3e56);}});}),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x170'),_0x29f0cb);}}function Bt(_0x3a9a19,_0xca6ae6,_0x17bf9c){for(const _0x530aee of _0xca6ae6['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x530aee[_0x3080('0xdf')]==_0x530aee)return!0x1;if(!_0x17bf9c[_0x3080('0x14f')](_0x530aee))return!0x1;if(_0x3a9a19['isObject'](_0x530aee)||_0x3a9a19[_0x3080('0x28')](_0x530aee))return!0x0;}return!0x1;}function Tt(_0x44af21){return _0x44af21['end']['parent']==_0x44af21[_0x3080('0x12d')]['nodeAfter']&&_0x44af21[_0x3080('0x58')][_0x3080('0xa8')];}function xt(_0x22c024,_0x58353f,_0x5da384,_0x47f150){const _0x1420ff=_0x558eb5=>!_0x558eb5[_0x3080('0x46')]['is']('$textProxy')&&!_0x47f150[_0x3080('0x33')](_0x558eb5[_0x3080('0x46')]),_0x168332=_0x22c024['start'][_0x3080('0x5f')](_0x1420ff),_0x1058b8=_0x22c024[_0x3080('0x58')]['getLastMatchingPosition'](_0x1420ff,{'direction':_0x3080('0xce')});return(!_0x22c024[_0x3080('0x12d')][_0x3080('0x123')](_0x168332)||!_0x22c024[_0x3080('0x58')][_0x3080('0x123')](_0x1058b8))&&(_0x168332['isBefore'](_0x1058b8)?_0x5da384['updateMarker'](_0x58353f,{'range':_0x5da384['createRange'](_0x168332,_0x1058b8)}):_0x5da384[_0x3080('0x180')](_0x58353f),!0x0);}function Et(_0x13a2ec){return _0x469935(_0x13a2ec);}function Rt(_0x785be5){const _0x37bef0=_0x785be5[_0x3080('0x12d')]['nodeAfter'];return _0x37bef0&&_0x37bef0['is'](_0x3080('0x98'));}function Ut(_0x46eda6,_0x10e370){const _0x246175=_0x10e370[_0x3080('0x15f')][_0x3080('0x33')](_0x46eda6)||_0x10e370[_0x3080('0x15f')][_0x3080('0x11b')](_0x46eda6);return _0x10e370[_0x3080('0x116')](_0x10e370[_0x3080('0xde')](_0x46eda6,_0x3080('0x72')),_0x246175?_0x10e370[_0x3080('0x13b')](_0x46eda6):_0x10e370[_0x3080('0xde')](_0x46eda6,'end'));}function Ot(_0xb7d901,_0x42808f,_0x3cbb4f,_0x517d09,_0x144f54){if(!Vt(_0xb7d901,_0x42808f))return!0x1;if(_0x3cbb4f[_0x3080('0x58')][_0x3080('0x123')](_0x517d09['start']))return!0x0;if(_0xb7d901[_0x3080('0x15d')]!=_0x42808f['type'])return!0x1;if(!_0x3cbb4f[_0x3080('0x58')][_0x3080('0x3f')](_0x517d09[_0x3080('0x12d')]))return!0x1;const _0x242f2f=_0x144f54[_0x3080('0x116')](_0x3cbb4f[_0x3080('0x58')],_0x517d09['start'])[_0x3080('0x124')]();for(const _0xe42ff8 of _0x242f2f)if([_0x3080('0x77'),_0x3080('0x169')][_0x3080('0x109')](_0xe42ff8[_0x3080('0x15d')])&&_0x144f54[_0x3080('0x15f')][_0x3080('0x28')](_0xe42ff8[_0x3080('0x46')]))return!0x1;return!0x0;}function Vt(_0x1b5c1b,_0x5b6da8){return!(!_0x1b5c1b[_0x3080('0x14c')]||!_0x5b6da8[_0x3080('0x14c')])&&_0x251618(_0x1b5c1b['attributes'],_0x5b6da8['attributes']);}function Gt(_0x59ac4c,_0x5ef398){const _0x51bdef=Ft(_0x59ac4c['attributes']),_0x593bd3=Ft(_0x5ef398);if(!_0x59ac4c[_0x3080('0x14c')])return!0x1;for(const _0x33d65a of Object[_0x3080('0x5')](_0x593bd3))if(!_0x251618(_0x51bdef[_0x33d65a],_0x593bd3[_0x33d65a]))return!0x1;return!0x0;}function Ft(_0x41208f){const _0x5d00cf=Object[_0x3080('0x7c')]({},_0x41208f);return delete _0x5d00cf[_0x3080('0x1a')],delete _0x5d00cf['tablePasteChainId'],_0x5d00cf;}function Pt(_0x5022b0){return'attribute'==_0x5022b0[_0x3080('0x15d')]?_0x5022b0[_0x3080('0x2')][_0x3080('0x11e')]('|')[0x0]:null;}
|