@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231119.0 → 0.0.0-nightly-20231121.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 _0x2333=['update:suggestion','upcast','removeMarker','_mergeNestedSuggestions','insertion:chain','isMultiRange','isIntersecting','ck-suggestion-marker-formatBlock','every','_customCallbacks','addHighlight','multipleBlocks','isInContent','backward','getAllAdjacentSuggestions','unbindElementFromMarkerName','isInsideObject','always','oldName','split','getIntersection','removeClass','createSelection','define','_getAuthorFromId','suggestion:','acceptSelectedSuggestions','error-saving-suggestion-data-suggestion-discarded','forEach','getMultiRangeId','FORMATTING','editor','track-changes-command-not-found','getChanges','init','_addThreadToSuggestion','getWalker','_reduceExistingSuggestions','markerToHighlight','isObject','toJSON','Users','getAttribute','then','_splitMarkerName','getChangedMarkers','trackChangesCommand','ck-suggestion-marker--active','addClass','_inlineAttributeKeys','filter','_checkSuggestionCorrectness','markerNameToElements','type','howMany','meta','for','mapper','setSelection','isAtEnd','deleteContent','getDifference','isLocal','requires','updateSuggestion','_processAttributeSuggestions','$graveyard','formatBlock:discard','fromCharCode','isBefore','createRangeIn','_commentsRepository','listenTo','attributes','enableReadOnlyMode','markInsertion','editingDowncast','insertion','isCollapsed','insert','get','formatInline:join','changeAttribute','insertion:join','change','_rangeIsInLocalUserInsertion','originalSuggestionId','commandName','normal','registerCustomCallback','track-changes-suggestion-not-found','CommentsRepository','createRangeOn','insertContent','format','deletion:join','markDeletion','ENTER','_updateSuggestionData','delete','plugins','reconvertMarker','rejected','markMultiRangeDeletion','external:','pluginName','formatGroupId','formatInline:discard','authoredAt','editing','_registerBlockAttribute','_joinWithAdjacentSuggestions','length','chain','markerReady','documentSelection','_blockAttributeKeys','data','enqueueChange','_processAttributeChanges','_registerDefaultCallbacks','root','resolve','$text','isNextTo','toViewElement','isTouching','deletion','history','notReady','suggestionUnloaded','oldValue','ck-suggestion-marker-formatInline','registerPostFixer','formatBlock:join','_defaultCallbacks','_cutOutSuggestionMarker','_recordAttributeSuggestionsFromVersion','low','dataReady','elementEnd','execute','deletion:accept','assign','fetchCommentThread','dataToMarker','_registerInlineAttribute','isAfter','elementToElement','PENDING_ACTION_SUGGESTION','commentThread','removeComment','skipNestingCheck','schema','formatInline:','addSuggestionData','toUpperCase','bindElementToMarker','lowest','isUndo','item','containsRange','element','options','markBlockFormat','startsWith','trackChanges','track-changes-adapter-already-set','_getAttributeKeyFromSubType','addMarkerName','_removeSuggestion','_saved','getNearestSelectionRange','TrackChangesEditing','widget','markMultiRangeBlockFormat','_getExternalAuthor','from','return','includes','deletion:','value','markMultiRangeInsertion','announce','_isDataLoaded','track-changes-suggestion-data-mismatch','_refreshSuggestionsChain','collaboration.channelId','groupId','marker-count','nodeAfter','applyOperation','formatBlock:','consume','consumable','acceptSuggestion','_breakSuggestionMarker','_trackFormatChanges','default','$elementName','start','_createSuggestion','suggestionChanged','createdAt','attribute:discard','document','values','getFirstRange','discardAllSuggestions','getItems','multi','getCustomProperty','getShiftedBy','has','nodeBefore','after','key','splitPosition','ready','accepted','_editor','formatBlock','isBlock','_suggestions','moveTargetPosition','parent','stop','subType','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.','containsPosition','isOwn','createRange','change:_saved','size','suggestion','fire','_refreshAttributeSuggestionsChain','suggestion:attribute:','_model','addRange','_enableDefaultAttributesIntegration','never','trackChanges.mergeNestedSuggestions','ck-suggestion-marker','hasComments','addUser','writer','suggestionLoaded','createPositionAt','authorName','buildSuggestion','@external','formatInline:accept','high','ariaLiveAnnouncer','creator','removeMarkers','markerName','refresh','createElement','set','discardSelectedSuggestions','$marker','forceDefaultExecution','insertion:','range','dataDowncast','formatInline','highest','unbind','sort','_findSuggestions','splice','_isBlockAttribute','addAttribute','getSuggestionCallback','_adapter','removeMarker:suggestion:attribute','containsRangeInObject','isLimit','discardSuggestion','removeAttribute','_initAriaMarkerChangeAnnouncements','attribute:join','_enabledCommands','addComment','removeMarker:suggestion:formatBlock','join','move','attribute','hasCommentThread','data-suggestion','setAttribute','remove','some','accept','conversion','isIntersectingWithRange','change:data','addCommentThread','addSuggestion','formatBlock:accept','getSuggestions','isRemovable','_addSuggestionMarker','_isForcedDefaultExecutionBlock','position','stopListening','getAncestors','isSelectable','_joinSuggestions','attributeNewValue','forward','showSuggestionHighlights','addMarker:suggestion:attribute','_SUGGESTION_ANNOUNCEMENT','_handleNewSuggestionMarker','detach','group','head','_setSuggestionData','trackChanges.trackFormatChanges','_recordAttributeChanges','markers','push','getRange','getOperations','track-changes-adapter-missing-getsuggestion','updateMarker','end','_getSuggestionData','substring','insertion:discard','newRange','removed','isArray','_suggestionState','isEqual','open','_suggestionFactory','map','$textProxy','add','rename','rootName','getLastMatchingPosition','addMarker:suggestion','next','find','hasSuggestion','discard','commands','suggestion-type','activeMarkers','getFirstMarker','containerElement','comments','containsItem','clone','oldRange','config','getSuggestion','newName','model','_getMarkerAnnouncementText','name','locale','rethrowUnexpectedError','PendingActions','author','previous','differ','_reduceSuggestionAttributeRange','batch','before','adapter','markAttributeChange','addMarker:suggestion:formatBlock','enableCommand','_setSuggestionRange','getRanges'];(function(_0x35642a,_0x2333d3){const _0x1ee248=function(_0x180454){while(--_0x180454){_0x35642a['push'](_0x35642a['shift']());}};_0x1ee248(++_0x2333d3);}(_0x2333,0x144));const _0x1ee2=function(_0x35642a,_0x2333d3){_0x35642a=_0x35642a-0x0;let _0x1ee248=_0x2333[_0x35642a];return _0x1ee248;};import{Plugin as _0x6eb31a,PendingActions as _0x34fa83}from'ckeditor5/src/core';import{LiveRange as _0x49909c}from'ckeditor5/src/engine';import{CKEditorError as _0x317c62,uid as _0x669718,priorities as _0x3e2526,logWarning as _0x2c9237}from'ckeditor5/src/utils';import{toWidget as _0x47b035}from'ckeditor5/src/widget';import{Users as _0x513b7b,hashObject as _0x4c43c3,surroundingMarkersDetector as _0x231a08}from'ckeditor5-collaboration/src/collaboration-core';import _0x1cf1da from'./commands/trackchangescommand';import _0x6ef631 from'./commands/acceptsuggestioncommand';import _0x4b2d8f from'./commands/discardsuggestioncommand';import _0x555af4 from'./commands/executeonallsuggestionscommand';import _0xc7b170 from'./commands/executeonselectedsuggestionscommand';import _0x53d792 from'./suggestion';import _0x3c6542 from'./suggestiondescriptionfactory';import _0x3b6544 from'./integrations/aiassistant';import _0x1e3ad6 from'./integrations/alignment';import _0x5336f5 from'./integrations/basicstyles';import _0x58f021 from'./integrations/blockquote';import _0x5e73f1 from'./integrations/ckbox';import _0x1377ef from'./integrations/codeblock';import _0x37965d from'./integrations/comments';import _0x2b2dd3 from'./integrations/deletecommand';import _0x58d985 from'./integrations/documentlist';import _0x4ec8e6 from'./integrations/documentlistproperties';import _0x767ea5 from'./integrations/entercommand';import _0xe1cc9a from'./integrations/findandreplace';import _0x3310b4 from'./integrations/font';import _0x37f1dc from'./integrations/formatpainter';import _0x386c47 from'./integrations/heading';import _0x35dd09 from'./integrations/highlight';import _0x2f0d67 from'./integrations/horizontalline';import _0x19f8dd from'./integrations/htmlembed';import _0x4a993e from'./integrations/image';import _0x2b553f from'./integrations/imagereplace';import _0x18d8f7 from'./integrations/imagestyle';import _0x2276b4 from'./integrations/importword';import _0x31596c from'./integrations/indent';import _0x3b8ee0 from'./integrations/inputcommand';import _0x21857c from'./integrations/link';import _0x2a0602 from'./integrations/list';import _0x579828 from'./integrations/listproperties';import _0x4d4a3d from'./integrations/mediaembed';import _0x6995e8 from'./integrations/mention';import _0x490556 from'./integrations/pagebreak';import _0x163992 from'./integrations/paragraph';import _0x1a1f47 from'./integrations/removeformat';import _0x2b2c0b from'./integrations/restrictededitingmode';import _0x1264fe from'./integrations/shiftentercommand';import _0x375a2f from'./integrations/standardeditingmode';import _0x1e7919 from'./integrations/style';import _0x48f75e from'./integrations/table';import _0x225d50 from'./integrations/tablemergesplit';import _0x51334f from'./integrations/tableheadings';import _0x181d0d from'./integrations/tableclipboard';import _0x76fbab from'./integrations/tablecolumnresize';import _0x381030 from'./integrations/template';import _0x4cff73 from'./integrations/tableofcontents';import _0xd2f423 from'./integrations/title';import _0xe04585 from'./integrations/undo';import _0x243e8e from'./integrations/tablecaption';import _0x402c49 from'./integrations/tableproperties';import{getTranslation as _0x2ceecb}from'./utils/common-translations';import{isEqual as _0x584580,omit as _0x51db7d}from'lodash-es';export const renameAttributeKey=_0x1ee2('0x100');export default class p extends _0x6eb31a{static get[_0x1ee2('0x78')](){return[_0x1ee2('0x94'),_0x513b7b,_0x34fa83,_0x3b6544,_0x1e3ad6,_0x5336f5,_0x58f021,_0x5e73f1,_0x1377ef,_0x37965d,_0x2b2dd3,_0x58d985,_0x4ec8e6,_0x767ea5,_0xe1cc9a,_0x3310b4,_0x37f1dc,_0x386c47,_0x35dd09,_0x2f0d67,_0x19f8dd,_0x4a993e,_0x18d8f7,_0x2b553f,_0x2276b4,_0x31596c,_0x3b8ee0,_0x21857c,_0x2a0602,_0x579828,_0x4d4a3d,_0x6995e8,_0x490556,_0x163992,_0x1a1f47,_0x2b2c0b,_0x1264fe,_0x375a2f,_0x1e7919,_0x48f75e,_0x225d50,_0x51334f,_0x243e8e,_0x181d0d,_0x76fbab,_0x4cff73,_0x402c49,_0x381030,_0xd2f423,_0xe04585];}static get[_0x1ee2('0xa2')](){return _0x1ee2('0xe6');}constructor(_0x268d18){function _0x4ef0b4(_0x42ae5b){return _0x42ae5b[_0x1ee2('0x10')](_0xb49ea4=>String[_0x1ee2('0x7d')](_0xb49ea4))[_0x1ee2('0x158')]('');}super(_0x268d18),this[_0x1ee2('0xc2')]=null,this[_0x1ee2('0x13d')](_0x1ee2('0x1d'),[]),this['on']('change:activeMarkers',(_0x5df60e,_0x6bbbe8,_0x391c4e,_0x408ec8)=>{this['_model']['change'](()=>{for(const _0x39ef3f of[..._0x408ec8,..._0x391c4e])this[_0x1ee2('0x127')][_0x1ee2('0x17c')][_0x1ee2('0x10e')](_0x39ef3f)&&_0x268d18[_0x1ee2('0xa6')][_0x1ee2('0x9e')](_0x39ef3f);});}),this['_descriptionFactory']=new _0x3c6542(this['editor'][_0x1ee2('0x27')][_0x1ee2('0xd2')],this[_0x1ee2('0x58')][_0x1ee2('0x2a')]),this[_0x1ee2('0x14d')]=null,this['_suggestionFactory']=new Bt(this['editor']),this[_0x1ee2('0x118')]=new Map(),this[_0x1ee2('0x80')]=_0x268d18[_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x94')),this['_enabledCommands']=new Set(),this[_0x1ee2('0x127')]=this[_0x1ee2('0x58')][_0x1ee2('0x27')],this['_suggestionState']=new WeakMap(),this[_0x1ee2('0x16a')]=!0x1,this[_0x1ee2('0xad')]=new Set([_0x1ee2('0x100')]),this[_0x1ee2('0x6a')]=new Set(),_0x268d18[_0x1ee2('0x24')][_0x1ee2('0x50')](_0x1ee2('0x17a'),_0x1ee2('0xff')),this[_0x1ee2('0xfe')]=_0x268d18[_0x1ee2('0x24')][_0x1ee2('0x89')](_0x1ee2('0x17a')),_0x268d18[_0x1ee2('0x24')][_0x1ee2('0x50')](_0x1ee2('0x12b'),!0x0),this[_0x1ee2('0x3c')]=_0x268d18[_0x1ee2('0x24')][_0x1ee2('0x89')](_0x1ee2('0x12b')),this[_0x1ee2('0x67')]=new _0x1cf1da(_0x268d18,this[_0x1ee2('0x155')]),this[_0x1ee2('0x153')](),this[_0x4ef0b4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4ef0b4([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x38]);}[_0x1ee2('0x5b')](){const _0x1ffc60=this[_0x1ee2('0x58')],_0x5e42ac=(_0x2cfa38,_0x49189a)=>{if(_0x1ee2('0x15a')!=_0x2cfa38)return'ck-suggestion-marker-'+_0x2cfa38;const _0x11f62d=_0x49189a[_0x1ee2('0x4c')]('|')[0x0];return this[_0x1ee2('0x14a')](_0x11f62d)?_0x1ee2('0x40'):_0x1ee2('0xbd');};_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')](_0x1ee2('0x85'))[_0x1ee2('0x5f')]({'model':'suggestion','view':_0x37d4c5=>{const {id:_0x2647d3,type:_0x3243ae,subType:_0xd26dc0}=this['_splitMarkerName'](_0x37d4c5[_0x1ee2('0x13a')]),_0x596978=[_0x1ee2('0x12c'),_0x5e42ac(_0x3243ae,_0xd26dc0)];let _0x2ec01c=0xbb8;return this[_0x1ee2('0x1d')][_0x1ee2('0xec')](_0x37d4c5[_0x1ee2('0x13a')])&&(_0x596978[_0x1ee2('0x0')]('ck-suggestion-marker--active'),_0x2ec01c=0xbc2),'deletion'==_0x3243ae&&(_0x2ec01c+=0x5),{'classes':_0x596978,'attributes':{'data-suggestion':_0x2647d3},'priority':_0x2ec01c};}}),_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')](_0x1ee2('0x143'))[_0x1ee2('0x12')](_0x52b9f7=>{_0x52b9f7['on'](_0x1ee2('0x16'),(_0x49d5cd,_0x337b27,_0x1963ed)=>{if(!_0x1963ed['options'][_0x1ee2('0x172')])return;const _0x5c616c=_0x337b27[_0x1ee2('0xd9')];if(!_0x5c616c)return;const _0x507d60=_0x1963ed['mapper'][_0x1ee2('0xb6')](_0x5c616c);_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0xd2')][_0x1ee2('0x60')](_0x5c616c)&&_0x507d60&&!_0x507d60[_0x1ee2('0x10c')](_0x1ee2('0xe7'))&&_0x507d60['is'](_0x1ee2('0x1f'))&&_0x47b035(_0x507d60,_0x1963ed[_0x1ee2('0x12f')]);},{'priority':'high'});}),_0x1ffc60[_0x1ee2('0x161')]['for']('dataDowncast')[_0x1ee2('0x5f')]({'model':_0x1ee2('0x123'),'view':(_0x1e8bc7,_0x51115b)=>{if(!_0x51115b['options']['showSuggestionHighlights'])return null;const {type:_0x51b5e2,subType:_0x353944}=this['_splitMarkerName'](_0x1e8bc7[_0x1ee2('0x13a')]);return{'classes':[_0x1ee2('0x12c'),_0x5e42ac(_0x51b5e2,_0x353944)],'priority':0xbb8};}});const _0x4c7e87=({showActiveMarkers:_0x10827a=!0x0,isAttributeSuggestion:_0x2059f2=!0x1}={})=>(_0x28c1fd,_0x5bd3f3,_0x490195)=>{if(!_0x5bd3f3[_0x1ee2('0xd9')])return;const {id:_0xc03dd4}=this['_splitMarkerName'](_0x5bd3f3[_0x1ee2('0x13a')]);if(_0x2059f2){const _0x373eab=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0xc03dd4),_0x57c6c9=this['_getAttributeKeyFromSubType'](_0x373eab);if(!this[_0x1ee2('0x14a')](_0x57c6c9))return;}if(_0x5bd3f3[_0x1ee2('0xd9')]['is']('selection'))return void _0x490195['consumable']['consume'](_0x5bd3f3[_0x1ee2('0xd9')],_0x28c1fd[_0x1ee2('0x29')]);const _0x27b537=_0x490195['mapper']['toViewElement'](_0x5bd3f3[_0x1ee2('0xd9')]);if(_0x5bd3f3[_0x1ee2('0xd9')]['is'](_0x1ee2('0xdb'))&&_0x1ffc60[_0x1ee2('0x27')]['schema']['isBlock'](_0x5bd3f3[_0x1ee2('0xd9')])&&!_0x27b537[_0x1ee2('0x10c')](_0x1ee2('0x43'))){_0x490195['writer'][_0x1ee2('0x69')]([_0x1ee2('0x12c'),'ck-suggestion-marker-formatBlock'],_0x27b537),_0x490195[_0x1ee2('0x12f')][_0x1ee2('0x15d')](_0x1ee2('0x15c'),_0xc03dd4,_0x27b537),_0x490195['mapper'][_0x1ee2('0xd6')](_0x27b537,_0x5bd3f3[_0x1ee2('0x13a')]),_0x10827a&&(this[_0x1ee2('0x1d')][_0x1ee2('0xec')](_0x5bd3f3[_0x1ee2('0x13a')])?_0x490195[_0x1ee2('0x12f')][_0x1ee2('0x69')](_0x1ee2('0x68'),_0x27b537):_0x490195['writer'][_0x1ee2('0x4e')](_0x1ee2('0x68'),_0x27b537));for(const _0x17af79 of _0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x7f')](_0x5bd3f3[_0x1ee2('0xd9')])[_0x1ee2('0x10a')]())_0x490195[_0x1ee2('0xfb')][_0x1ee2('0xfa')](_0x17af79,_0x28c1fd[_0x1ee2('0x29')]);_0x490195['consumable'][_0x1ee2('0xfa')](_0x5bd3f3[_0x1ee2('0xd9')],_0x28c1fd[_0x1ee2('0x29')]);}};_0x1ffc60[_0x1ee2('0x161')]['for'](_0x1ee2('0x143'))['add'](_0xbae6ad=>{_0xbae6ad['on'](_0x1ee2('0x35'),(_0x43b225,_0x1b2631,_0x16980c)=>{_0x16980c[_0x1ee2('0xdc')][_0x1ee2('0x172')]&&_0x4c7e87({'showActiveMarkers':!0x1})(_0x43b225,_0x1b2631,_0x16980c);},{'priority':_0x1ee2('0x145')});}),_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')](_0x1ee2('0x143'))[_0x1ee2('0x12')](_0x1de027=>{_0x1de027['on'](_0x1ee2('0x173'),(_0x3ada49,_0x4a6f94,_0x516a71)=>{_0x516a71[_0x1ee2('0xdc')][_0x1ee2('0x172')]&&_0x4c7e87({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x3ada49,_0x4a6f94,_0x516a71);},{'priority':'highest'});}),_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')]('dataDowncast')['markerToData']({'model':_0x1ee2('0x123'),'view':(_0x44a192,_0x280cbd)=>_0x280cbd[_0x1ee2('0xdc')]['showSuggestionHighlights']?null:{'group':_0x1ee2('0x123'),'name':_0x44a192['substr'](0xb)}}),_0x1ffc60['conversion']['for'](_0x1ee2('0x3a'))[_0x1ee2('0xcd')]({'view':{'name':_0x1ee2('0x123'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2ed5d2,{writer:_0x16c711})=>{let _0xa62ea4=_0x1ee2('0x52')+_0x2ed5d2['getAttribute'](_0x1ee2('0x1c'))+':'+_0x2ed5d2[_0x1ee2('0x63')]('id');return _0x2ed5d2[_0x1ee2('0x63')](_0x1ee2('0xf6'))&&(_0xa62ea4+=':'+_0x2ed5d2[_0x1ee2('0x63')]('marker-count')),_0x16c711[_0x1ee2('0x13c')](_0x1ee2('0x13f'),{'data-name':_0xa62ea4});}}),_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')](_0x1ee2('0x3a'))[_0x1ee2('0xca')]({'view':_0x1ee2('0x123')}),_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')](_0x1ee2('0x85'))[_0x1ee2('0x12')](_0xdc9d1b=>{_0xdc9d1b['on'](_0x1ee2('0x35'),_0x4c7e87(),{'priority':'high'});}),_0x1ffc60[_0x1ee2('0x161')][_0x1ee2('0x71')](_0x1ee2('0x85'))[_0x1ee2('0x12')](_0x270be4=>{_0x270be4['on']('addMarker:suggestion:attribute',_0x4c7e87({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x1ffc60['conversion'][_0x1ee2('0x71')](_0x1ee2('0x85'))[_0x1ee2('0x12')](_0x2f9711=>{_0x2f9711['on'](_0x1ee2('0x157'),(_0x5efbe1,_0x286ba6,_0x34b929)=>{const _0xe4776e=_0x34b929['mapper'][_0x1ee2('0x6d')](_0x286ba6[_0x1ee2('0x13a')]);if(_0xe4776e)for(const _0x2c6f33 of _0xe4776e)_0x2c6f33[_0x1ee2('0x10c')](_0x1ee2('0x43'))||(_0x34b929[_0x1ee2('0x12f')][_0x1ee2('0x4e')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock',_0x1ee2('0x68')],_0x2c6f33),_0x34b929[_0x1ee2('0x12f')][_0x1ee2('0x152')](_0x1ee2('0x15c'),_0x2c6f33),_0x34b929[_0x1ee2('0x72')][_0x1ee2('0x48')](_0x2c6f33,_0x286ba6[_0x1ee2('0x13a')]));},{'priority':_0x1ee2('0x136')});}),_0x1ffc60[_0x1ee2('0x161')]['for']('editingDowncast')[_0x1ee2('0x12')](_0x129729=>{_0x129729['on'](_0x1ee2('0x14e'),(_0x2c072c,_0x25c437,_0x434c66)=>{const _0x285e35=_0x434c66[_0x1ee2('0x72')][_0x1ee2('0x6d')](_0x25c437[_0x1ee2('0x13a')]);if(!_0x285e35)return;const {id:_0x1b1af0}=this[_0x1ee2('0x65')](_0x25c437[_0x1ee2('0x13a')]),_0x11afe9=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x1b1af0),_0x15036a=this['_getAttributeKeyFromSubType'](_0x11afe9);if(this[_0x1ee2('0x14a')](_0x15036a))for(const _0x492206 of _0x285e35)_0x492206[_0x1ee2('0x10c')](_0x1ee2('0x43'))||(_0x434c66[_0x1ee2('0x12f')][_0x1ee2('0x4e')]([_0x1ee2('0x12c'),_0x1ee2('0x40'),_0x1ee2('0x68')],_0x492206),_0x434c66[_0x1ee2('0x12f')]['removeAttribute'](_0x1ee2('0x15c'),_0x492206),_0x434c66['mapper'][_0x1ee2('0x48')](_0x492206,_0x25c437[_0x1ee2('0x13a')]));},{'priority':_0x1ee2('0x136')});}),_0x1ffc60[_0x1ee2('0x27')]['document'][_0x1ee2('0xbe')](_0x113dcc=>{let _0x5e08ec=!0x1;const _0x574d17=Array['from'](_0x1ffc60['model'][_0x1ee2('0x106')][_0x1ee2('0x2f')][_0x1ee2('0x66')]()),_0x187b0c=new Set();for(const {name:_0x41fe71,data:_0x43fd95}of _0x574d17){const {group:_0x400447,type:_0x3630e3,subType:_0x1f8151,id:_0x10210e}=this['_splitMarkerName'](_0x41fe71);if(_0x1ee2('0x123')!==_0x400447)continue;const _0x5e9ae9=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x10210e);if(null!=_0x43fd95[_0x1ee2('0x9')]){_0x1ee2('0x144')==_0x3630e3&&(_0x5e08ec=_0x5e08ec||Et(_0x43fd95[_0x1ee2('0x9')],_0x41fe71,_0x113dcc,_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0xd2')]));const _0x8a111b=_0x1ee2('0x15a')==_0x3630e3&&this[_0x1ee2('0x14a')](_0x1f8151[_0x1ee2('0x4c')]('|')[0x0]);if(_0x43fd95[_0x1ee2('0x9')][_0x1ee2('0x87')]||'$graveyard'==_0x43fd95[_0x1ee2('0x9')][_0x1ee2('0xb2')][_0x1ee2('0x14')]||'formatBlock'==_0x3630e3&&!jt(_0x43fd95[_0x1ee2('0x9')])||_0x8a111b&&!jt(_0x43fd95[_0x1ee2('0x9')])||_0x1ee2('0xb8')==_0x3630e3&&!(!xt(_0xd7748=_0x43fd95[_0x1ee2('0x9')])&&!function(_0x539b53){return _0x539b53['start'][_0x1ee2('0x11a')]==_0x539b53[_0x1ee2('0x5')][_0x1ee2('0x10f')]&&_0x539b53[_0x1ee2('0x101')]['isAtEnd'];}(_0xd7748)))_0x113dcc[_0x1ee2('0x3b')](_0x41fe71),_0x5e08ec=!0x0;else{if(!_0x5e9ae9||!_0x5e9ae9[_0x1ee2('0x45')])continue;_0x187b0c[_0x1ee2('0x12')](_0x5e9ae9);}}}var _0xd7748;return _0x187b0c[_0x1ee2('0x122')]>0x0&&(_0x5e08ec=!!this[_0x1ee2('0xa8')](_0x187b0c)||_0x5e08ec),_0x5e08ec;}),_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x106')][_0x1ee2('0xbe')](_0x43b125=>{let _0x4d0bc6=!0x1;for(const _0x49c8a0 of _0x1ffc60['model']['document'][_0x1ee2('0x2f')][_0x1ee2('0x5a')]())if(_0x1ee2('0x88')==_0x49c8a0[_0x1ee2('0x6e')])for(const _0x1b31be of this[_0x1ee2('0x118')]['values']()){if(_0x1b31be[_0x1ee2('0x3e')]||!_0x1b31be[_0x1ee2('0x45')])continue;const _0x5a362f=_0x1ee2('0x116')==_0x1b31be['type'],_0x243a7e=this['_getAttributeKeyFromSubType'](_0x1b31be),_0x2d5530=_0x243a7e&&this['_isBlockAttribute'](_0x243a7e);if(!_0x5a362f&&!_0x2d5530)continue;const _0x17e5f5=_0x1b31be[_0x1ee2('0x108')]();if(_0x17e5f5[_0x1ee2('0x101')][_0x1ee2('0x11a')]!=_0x17e5f5[_0x1ee2('0x5')][_0x1ee2('0x11a')]&&!_0x17e5f5['end']['isAtEnd']){const _0x40a657=_0x1ffc60['model'][_0x1ee2('0x131')](_0x17e5f5[_0x1ee2('0x101')]['nodeAfter'],_0x1ee2('0x5')),_0x122d23=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x120')](_0x17e5f5[_0x1ee2('0x101')],_0x40a657);_0x43b125['updateMarker'](_0x1b31be['getFirstMarker'](),{'range':_0x122d23}),_0x4d0bc6=!0x0;}}return _0x4d0bc6;}),_0x1ffc60[_0x1ee2('0x27')]['document']['registerPostFixer'](_0x1fb8c4=>this['_processAttributeChanges'](_0x1fb8c4)),_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x106')][_0x1ee2('0xbe')](_0x582f52=>!_0x582f52[_0x1ee2('0x31')][_0x1ee2('0x77')]&&this[_0x1ee2('0x7a')](_0x582f52)),_0x1ffc60[_0x1ee2('0x27')]['markers']['on'](_0x1ee2('0x39'),(_0x4e9fea,_0x574e78,_0x2e3cca)=>{if(null==_0x2e3cca){const {id:_0x4b030e}=this[_0x1ee2('0x65')](_0x574e78[_0x1ee2('0x29')]),_0x56e5e5=this[_0x1ee2('0x118')]['get'](_0x4b030e);_0x56e5e5&&_0x56e5e5[_0x1ee2('0xe2')](_0x574e78['name']);}}),_0x1ffc60['model'][_0x1ee2('0x106')]['on'](_0x1ee2('0x163'),()=>{const _0x1abf5b=Array[_0x1ee2('0xea')](_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x106')][_0x1ee2('0x2f')][_0x1ee2('0x66')]())['filter'](_0x14c682=>_0x1ee2('0x123')===this[_0x1ee2('0x65')](_0x14c682[_0x1ee2('0x29')])[_0x1ee2('0x177')]);if(0x0===_0x1abf5b[_0x1ee2('0xa9')])return;_0x1abf5b[_0x1ee2('0x147')]((_0x1fb330,_0x587875)=>{const _0x47674a=_0x1fb330[_0x1ee2('0xae')]['oldRange'],_0x27b664=_0x587875[_0x1ee2('0xae')][_0x1ee2('0x23')];return null===_0x47674a&&null===_0x27b664?0x0:null===_0x47674a&&null!==_0x27b664?-0x1:null!==_0x47674a&&null===_0x27b664?0x1:_0x47674a[_0x1ee2('0x101')]['isBefore'](_0x27b664['start'])?-0x1:0x1;});const _0x3406bb=new Set(),_0x221252=new Set();for(const {name:_0xb2979f,data:_0x61e5d8}of _0x1abf5b){const {id:_0x44c060}=this[_0x1ee2('0x65')](_0xb2979f);if(null===_0x61e5d8[_0x1ee2('0x23')]){const _0x3eb133=this[_0x1ee2('0x175')](_0xb2979f);_0x221252[_0x1ee2('0x12')](_0x3eb133);}else{const _0x102b01=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x44c060);null!==_0x61e5d8['newRange']||_0x102b01[_0x1ee2('0x45')]?(_0x3406bb[_0x1ee2('0x12')](_0x102b01[_0x1ee2('0x178')]),_0x221252[_0x1ee2('0x12')](_0x102b01)):this[_0x1ee2('0xe3')](_0x102b01);}}_0x221252[_0x1ee2('0x122')]>0x0&&this[_0x1ee2('0xf3')](_0x221252);for(const _0x23884b of _0x3406bb)this['fire'](_0x1ee2('0x103'),_0x23884b);}),_0x1ffc60[_0x1ee2('0x27')]['on'](_0x1ee2('0xf8'),(_0x5ab3e0,_0xbb17e8)=>{const _0x525a9f=_0xbb17e8[0x0];if(!this[_0x1ee2('0x118')]['size'])return;if(!_0x525a9f['isDocumentOperation'])return;if(_0x525a9f[_0x1ee2('0x31')][_0x1ee2('0xd8')]||!_0x525a9f[_0x1ee2('0x31')][_0x1ee2('0x77')])return;let _0x57a23a,_0x12b55d;switch(_0x525a9f[_0x1ee2('0x6e')]){case'insert':_0x57a23a=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x131')](_0x525a9f[_0x1ee2('0x16b')]),_0x12b55d=_0x57a23a[_0x1ee2('0x10d')](_0x525a9f[_0x1ee2('0x6f')]);break;case _0x1ee2('0x4c'):_0x57a23a=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x131')](_0x525a9f[_0x1ee2('0x112')]),_0x12b55d=_0x1ffc60['model'][_0x1ee2('0x131')](_0x525a9f[_0x1ee2('0x119')]);break;case _0x1ee2('0x159'):_0x57a23a=_0x1ffc60['model'][_0x1ee2('0x131')](_0x525a9f['targetPosition']),_0x12b55d=_0x57a23a[_0x1ee2('0x10d')](_0x525a9f['howMany']);break;default:return;}const _0x3d6d98=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x120')](_0x57a23a,_0x12b55d);_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x8d')](()=>{for(const {suggestion:_0x7666e8,meta:_0x52785}of this[_0x1ee2('0x148')](_0x3d6d98)){if(_0x7666e8[_0x1ee2('0x3e')])continue;if(_0x1ee2('0x144')==_0x7666e8[_0x1ee2('0x6e')])continue;const _0x4fec4e=this['_getAttributeKeyFromSubType'](_0x7666e8);if(_0x4fec4e&&this['_isBlockAttribute'](_0x4fec4e)&&'split'!=_0x525a9f[_0x1ee2('0x6e')])continue;const _0xcbb603=_0x7666e8[_0x1ee2('0xae')]&&_0x7666e8[_0x1ee2('0xae')][_0x1ee2('0x44')];(_0x1ee2('0x116')!=_0x7666e8[_0x1ee2('0x6e')]||_0x1ee2('0x4c')==_0x525a9f[_0x1ee2('0x6e')]&&!_0xcbb603)&&(_0x52785['containsRangeInObject']||_0x1ee2('0x86')==_0x7666e8[_0x1ee2('0x6e')]&&_0x52785[_0x1ee2('0x11f')]||_0x7666e8[_0x1ee2('0x108')]()[_0x1ee2('0xda')](_0x3d6d98)&&this[_0x1ee2('0xfd')](_0x7666e8,_0x57a23a,_0x12b55d));}});},{'priority':_0x1ee2('0xd7')}),_0x1ffc60['model']['on'](_0x1ee2('0x75'),(_0xf8461,_0x4a0dcf)=>{const _0x5a7c9a=_0x4a0dcf[0x0],_0x2535f4=_0x4a0dcf[0x1];if(_0x2535f4&&_0x2535f4[_0x1ee2('0x140')])return;if(this[_0x1ee2('0x16a')])return;if(!this['trackChangesCommand'][_0x1ee2('0xee')])return;if(_0x5a7c9a[_0x1ee2('0x87')])return;const _0x2485db=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0xd2')],{start:_0x507fc6,end:_0x5d7d13}=_0x5a7c9a[_0x1ee2('0x108')](),_0x1482f2=_0x507fc6[_0x1ee2('0xf7')]&&_0x2485db[_0x1ee2('0x150')](_0x507fc6[_0x1ee2('0xf7')])?null:_0x2485db[_0x1ee2('0xe5')](_0x507fc6,_0x1ee2('0x171')),_0x2c0533=_0x5d7d13[_0x1ee2('0x10f')]&&_0x2485db['isLimit'](_0x5d7d13[_0x1ee2('0x10f')])?null:_0x2485db[_0x1ee2('0xe5')](_0x5d7d13,_0x1ee2('0x46')),_0x6d5ce9=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x120')](_0x1482f2?_0x1482f2[_0x1ee2('0x101')]:_0x507fc6,_0x2c0533?_0x2c0533[_0x1ee2('0x5')]:_0x5d7d13);_0x1ffc60['model'][_0x1ee2('0x8d')](_0x2cef8e=>{this[_0x1ee2('0x99')](_0x6d5ce9);const _0x27466e=_0x1ffc60['model'][_0x1ee2('0xd2')]['getNearestSelectionRange'](_0x6d5ce9[_0x1ee2('0x101')]);_0x5a7c9a['is'](_0x1ee2('0xac'))?_0x2cef8e[_0x1ee2('0x73')](_0x27466e):_0x5a7c9a['setTo'](_0x27466e);}),_0xf8461[_0x1ee2('0x11b')]();},{'priority':_0x3e2526[_0x1ee2('0x91')]+0xa}),_0x1ffc60[_0x1ee2('0x27')]['on'](_0x1ee2('0x96'),(_0xc4a544,_0x718ee1)=>{const _0x2223e7=_0x718ee1[_0x718ee1[_0x1ee2('0xa9')]-0x1];_0x2223e7&&_0x2223e7[_0x1ee2('0x140')]||this['_isForcedDefaultExecutionBlock']||this[_0x1ee2('0x67')]['value']&&(_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x8d')](()=>{let _0xeb2a04=_0x1ffc60[_0x1ee2('0x27')]['insertContent'](_0x718ee1[0x0],_0x718ee1[0x1],_0x718ee1[0x2],{'forceDefaultExecution':!0x0});if(!_0xeb2a04)return;_0xc4a544['return']=_0xeb2a04[_0x1ee2('0x22')]();const _0x4df168=_0xeb2a04[_0x1ee2('0x5')][_0x1ee2('0x10f')],_0x44dfa7=_0x1ffc60['model'][_0x1ee2('0xd2')];_0x4df168&&_0x44dfa7[_0x1ee2('0x117')](_0x4df168)&&!_0x44dfa7['isObject'](_0x4df168)&&(_0xeb2a04=_0x1ffc60[_0x1ee2('0x27')][_0x1ee2('0x120')](_0xeb2a04[_0x1ee2('0x101')],_0x1ffc60[_0x1ee2('0x27')]['createPositionAt'](_0x4df168,_0x1ee2('0x5')))),this[_0x1ee2('0x84')](_0xeb2a04);}),_0xc4a544['stop']());},{'priority':_0x1ee2('0x136')}),this[_0x1ee2('0x58')][_0x1ee2('0x1b')][_0x1ee2('0x12')](_0x1ee2('0xdf'),this[_0x1ee2('0x67')]),this[_0x1ee2('0x36')](_0x1ee2('0xdf'));const _0x13476d=new _0x6ef631(_0x1ffc60,this[_0x1ee2('0x118')]);_0x1ffc60[_0x1ee2('0x1b')][_0x1ee2('0x12')](_0x1ee2('0xfc'),_0x13476d),this[_0x1ee2('0x36')]('acceptSuggestion');const _0x3e346a=new _0x4b2d8f(_0x1ffc60,this[_0x1ee2('0x118')]);_0x1ffc60[_0x1ee2('0x1b')][_0x1ee2('0x12')](_0x1ee2('0x151'),_0x3e346a),this[_0x1ee2('0x36')]('discardSuggestion'),_0x1ffc60[_0x1ee2('0x1b')][_0x1ee2('0x12')]('acceptAllSuggestions',new _0x555af4(_0x1ffc60,_0x13476d,this[_0x1ee2('0x118')])),this['enableCommand']('acceptAllSuggestions'),_0x1ffc60[_0x1ee2('0x1b')][_0x1ee2('0x12')](_0x1ee2('0x109'),new _0x555af4(_0x1ffc60,_0x3e346a,this['_suggestions'])),this['enableCommand'](_0x1ee2('0x109')),_0x1ffc60[_0x1ee2('0x1b')]['add']('acceptSelectedSuggestions',new _0xc7b170(_0x1ffc60,_0x13476d,this[_0x1ee2('0x118')])),this[_0x1ee2('0x36')](_0x1ee2('0x53')),_0x1ffc60[_0x1ee2('0x1b')][_0x1ee2('0x12')](_0x1ee2('0x13e'),new _0xc7b170(_0x1ffc60,_0x3e346a,this[_0x1ee2('0x118')])),this[_0x1ee2('0x36')](_0x1ee2('0x13e'));const _0xebbbb5=_0x1ffc60[_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x94'));this[_0x1ee2('0x81')](_0xebbbb5,_0x1ee2('0x156'),(_0x3e98f1,{threadId:_0x16a85c})=>{const _0x4a3f41=this[_0x1ee2('0x118')]['get'](_0x16a85c);_0x4a3f41&&_0x4a3f41['commentThread']&&0x1===_0x4a3f41[_0x1ee2('0xcf')][_0x1ee2('0xa9')]&&this['_updateSuggestionData'](_0x16a85c,{'hasComments':!0x0});},{'priority':_0x1ee2('0xc3')}),this['listenTo'](_0xebbbb5,_0x1ee2('0xd0'),(_0x38fc19,{threadId:_0x2cb0ae})=>{const _0x2e330d=this['_suggestions'][_0x1ee2('0x89')](_0x2cb0ae);_0x2e330d&&_0x2e330d['commentThread']&&!_0x2e330d[_0x1ee2('0xcf')]['length']&&this[_0x1ee2('0x9b')](_0x2cb0ae,{'hasComments':!0x1});},{'priority':'low'});}set[_0x1ee2('0x33')](_0x3f39ba){if(this['_adapter'])throw new _0x317c62(_0x1ee2('0xe0'),this);this[_0x1ee2('0x14d')]=_0x3f39ba;}get[_0x1ee2('0x33')](){return this[_0x1ee2('0x14d')];}[_0x1ee2('0x167')]({skipNotAttached:_0xc4251f=!0x1,toJSON:_0x530e7c=!0x1}={}){const _0xcf090d=[];for(const _0x2ef7d2 of this['_suggestions']['values']())_0xc4251f&&!_0x2ef7d2[_0x1ee2('0x45')]||_0xcf090d['push'](_0x2ef7d2);return _0x530e7c?_0xcf090d['map'](_0x270cb8=>_0x270cb8[_0x1ee2('0x61')]()):_0xcf090d;}['getSuggestion'](_0x511569){const _0x526f4b=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x511569);if(!_0x526f4b)throw new _0x317c62(_0x1ee2('0x93'),this);return _0x526f4b;}[_0x1ee2('0x19')](_0x16b605){return this['_suggestions'][_0x1ee2('0x10e')](_0x16b605);}[_0x1ee2('0xd4')](_0x44a88e){const {authorId:_0x22e2e3,id:_0x357955,attributes:_0x41dfcf}=_0x44a88e,[_0x588517,_0x177e19]=_0x44a88e[_0x1ee2('0x6e')]['split'](':'),_0x13d04f=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x357955)||this[_0x1ee2('0x102')](_0x588517,_0x177e19,_0x357955,_0x22e2e3,_0x41dfcf);if(this['_addThreadToSuggestion'](_0x13d04f),this[_0x1ee2('0x6c')](_0x13d04f,_0x588517,_0x177e19||null,_0x22e2e3),_0x13d04f[_0x1ee2('0x104')]=_0x44a88e['createdAt'],_0x13d04f[_0x1ee2('0xf1')]=!0x0,_0x41dfcf&&_0x41dfcf[_0x1ee2('0x134')]){const _0x29e794=_0x41dfcf[_0x1ee2('0x134')],_0x2e3613=this[_0x1ee2('0xe9')](_0x29e794[_0x1ee2('0x132')]);_0x13d04f['authoredAt']=_0x29e794[_0x1ee2('0x104')],_0x13d04f[_0x1ee2('0x2d')]=_0x2e3613,_0x13d04f['isExternal']=!0x0;}else _0x13d04f[_0x1ee2('0xa5')]=_0x44a88e[_0x1ee2('0x104')];switch(_0x44a88e[_0x1ee2('0xae')]&&(_0x13d04f[_0x1ee2('0xae')]=_0x44a88e['data']),_0x44a88e[_0x1ee2('0x82')]&&(_0x13d04f[_0x1ee2('0x82')]=_0x44a88e[_0x1ee2('0x82')]),this[_0x1ee2('0x14d')]&&this[_0x1ee2('0x14d')][_0x1ee2('0x165')]||(_0x13d04f[_0x1ee2('0xe4')]=!0x0),this['_suggestionState'][_0x1ee2('0x89')](_0x13d04f)){case _0x1ee2('0xba'):this['_suggestionState']['set'](_0x13d04f,_0x1ee2('0xc4'));break;case _0x1ee2('0xab'):_0x13d04f[_0x1ee2('0x45')]?(this[_0x1ee2('0xf3')](new Set([_0x13d04f])),this[_0x1ee2('0xa8')](new Set([_0x13d04f])),this['_suggestionState'][_0x1ee2('0x13d')](_0x13d04f,_0x1ee2('0x113')),this['fire'](_0x1ee2('0x130'),_0x13d04f)):this[_0x1ee2('0xc')][_0x1ee2('0x13d')](_0x13d04f,'removed');}return _0x13d04f;}[_0x1ee2('0xfc')](_0x2654b6){this[_0x1ee2('0x140')](()=>{this['editor'][_0x1ee2('0x27')]['change'](()=>{for(const _0xa2a83f of _0x2654b6[_0x1ee2('0x47')]())_0xa2a83f['accept']();});});}[_0x1ee2('0x151')](_0x36b12b){this['forceDefaultExecution'](()=>{this[_0x1ee2('0x58')][_0x1ee2('0x27')][_0x1ee2('0x8d')](()=>{for(const _0x2ff7b5 of _0x36b12b[_0x1ee2('0x47')]())_0x2ff7b5[_0x1ee2('0x1a')]();});});}[_0x1ee2('0x36')](_0x2c9779,_0x240dac){const _0x4ce5b0=this['editor'][_0x1ee2('0x1b')]['get'](_0x2c9779);if(!_0x4ce5b0)throw new _0x317c62(_0x1ee2('0x59'),this,{'commandName':_0x2c9779});if(this[_0x1ee2('0x155')]['has'](_0x4ce5b0))throw new _0x317c62('track-changes-enable-command-twice',this,{'commandName':_0x2c9779});this['_enabledCommands'][_0x1ee2('0x12')](_0x4ce5b0),_0x240dac&&_0x4ce5b0['on'](_0x1ee2('0xc6'),(_0x4574c2,_0x2257e9)=>{this['trackChangesCommand'][_0x1ee2('0xee')]&&(this[_0x1ee2('0x16a')]||(_0x2257e9[_0x1ee2('0xa9')]>0x0&&_0x2257e9[_0x2257e9[_0x1ee2('0xa9')]-0x1]&&_0x2257e9[_0x2257e9[_0x1ee2('0xa9')]-0x1][_0x1ee2('0x140')]?_0x2257e9['pop']():(_0x4574c2[_0x1ee2('0xeb')]=_0x240dac((..._0x53db76)=>_0x4ce5b0[_0x1ee2('0xc6')](..._0x53db76,{'forceDefaultExecution':!0x0}),..._0x2257e9),_0x4574c2[_0x1ee2('0x11b')]())));},{'priority':_0x1ee2('0x136')});}[_0x1ee2('0x140')](_0x29e3b2){let _0x29fd13,_0x306a25;const _0x44f956=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x29fd13=_0x29e3b2();}catch(_0x167328){_0x306a25=_0x167328;}return _0x44f956||(this[_0x1ee2('0x16a')]=!0x1),_0x306a25&&_0x317c62[_0x1ee2('0x2b')](_0x306a25,this),_0x29fd13;}[_0x1ee2('0x84')](_0x2b47bd,_0x493ead=null,_0x55b02e={}){if(_0x2b47bd['isCollapsed'])return null;const _0x65bf33=this['editor'][_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x62'))['me'];for(const {suggestion:_0x2f302a,meta:_0x2bae99}of this['_findSuggestions'](_0x2b47bd,_0x1ee2('0x86')))if(_0x2bae99[_0x1ee2('0x11f')]){if(!_0x2bae99['isNextTo']){if(_0x2bae99[_0x1ee2('0x14f')]){if(!this[_0x1ee2('0x3c')]||!Ft(_0x2f302a,_0x55b02e))continue;return _0x2f302a;}if(Ft(_0x2f302a,_0x55b02e))return _0x2f302a;this['_breakSuggestionMarker'](_0x2f302a,_0x2b47bd[_0x1ee2('0x101')],_0x2b47bd['end']);break;}if(_0x493ead==_0x2f302a[_0x1ee2('0x11c')]&&Ft(_0x2f302a,_0x55b02e)){const _0x239a3b=_0x2f302a['getFirstRange']();return _0x239a3b[_0x1ee2('0x101')][_0x1ee2('0xd')](_0x2b47bd[_0x1ee2('0x5')])?this[_0x1ee2('0x37')](_0x2f302a,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x2b47bd[_0x1ee2('0x101')],_0x239a3b['end'])):this[_0x1ee2('0x37')](_0x2f302a,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x239a3b[_0x1ee2('0x101')],_0x2b47bd[_0x1ee2('0x5')])),_0x2f302a;}}const _0x1f49eb=_0x669718(),_0x14a1bd=_0x65bf33['id'],_0x38190f=_0x493ead?_0x1ee2('0x141')+_0x493ead:_0x1ee2('0x86'),_0x45043b=this[_0x1ee2('0x179')]({'id':_0x1f49eb,'type':_0x38190f,'createdAt':new Date(),'authorId':_0x14a1bd,'attributes':_0x55b02e});return this[_0x1ee2('0x169')](_0x38190f,_0x1f49eb,_0x14a1bd,_0x2b47bd),_0x45043b;}[_0x1ee2('0xef')](_0x16e5f2,_0x5d1fe8=_0x1ee2('0x10b'),_0x163052={}){const _0x44776b=this[_0x1ee2('0x58')][_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x62'))['me'],_0x19db79=this[_0x1ee2('0xf')][_0x1ee2('0x14c')](_0x1ee2('0x86'),_0x5d1fe8,_0x1ee2('0x158'));for(const _0x535966 of this[_0x1ee2('0x167')]())if(_0x535966[_0x1ee2('0x2d')]['id']==_0x44776b['id']&&_0x1ee2('0x86')==_0x535966[_0x1ee2('0x6e')]&&_0x535966[_0x1ee2('0x11c')]==_0x5d1fe8&&Ft(_0x535966,_0x163052)&&(_0x19db79(_0x535966[_0x1ee2('0x38')](),_0x16e5f2)||_0x19db79(_0x16e5f2,_0x535966[_0x1ee2('0x38')]()))){for(const _0x15f7cb of _0x16e5f2)_0x535966[_0x1ee2('0x128')](_0x15f7cb);return _0x535966;}for(const {suggestion:_0x2ab6aa,meta:_0x4e7145}of this[_0x1ee2('0x148')](_0x16e5f2,_0x1ee2('0x86'))){if(!_0x4e7145[_0x1ee2('0x11f')])continue;if(!this[_0x1ee2('0x3c')]&&_0x4e7145['containsRangeInObject'])continue;if(!Ft(_0x2ab6aa,_0x163052))continue;let _0x323923=!0x0;for(const _0x57db60 of _0x2ab6aa['getRanges']())for(const _0x41f853 of _0x16e5f2)if(!_0x57db60[_0x1ee2('0xda')](_0x41f853)){_0x323923=!0x1;break;}if(_0x323923)return _0x2ab6aa;}const _0x135b96=_0x669718(),_0x159193=_0x44776b['id'],_0x4aeaca=_0x1ee2('0x141')+_0x5d1fe8,_0xd9d699=this[_0x1ee2('0x179')]({'id':_0x135b96,'type':_0x4aeaca,'createdAt':new Date(),'authorId':_0x159193,'attributes':_0x163052});for(const _0x475026 of _0x16e5f2)this[_0x1ee2('0x169')](_0x4aeaca,_0x135b96,_0x159193,_0x475026,_0x53d792['getMultiRangeId']());return _0xd9d699;}['markInlineFormat'](_0x425d1d,_0x472d6b,_0x18513d=null,_0x25c31b={}){if(_0x18513d=_0x18513d||Rt(_0x472d6b),_0x425d1d['isCollapsed'])return null;if(_0x1ee2('0x12a')===this[_0x1ee2('0xfe')]){const _0x1eeefb=this['_suggestionFactory']['getSuggestionCallback'](_0x1ee2('0x144'),_0x18513d,_0x1ee2('0x160'));return this[_0x1ee2('0x140')](()=>_0x1eeefb([_0x425d1d],_0x472d6b,_0x25c31b)),null;}const _0x4ed0ef=this[_0x1ee2('0x58')]['plugins']['get'](_0x1ee2('0x62'))['me'],_0x1bcfda=[];if(_0x1ee2('0x4a')!==this[_0x1ee2('0xfe')])for(const {suggestion:_0x289251,meta:_0xab57c9}of this[_0x1ee2('0x148')](_0x425d1d,_0x1ee2('0x86')))_0xab57c9[_0x1ee2('0x11f')]&&!_0xab57c9[_0x1ee2('0x49')]&&_0x1bcfda[_0x1ee2('0x0')](..._0x289251['getRanges']());const _0x438a58=function(_0x5d3144,_0x46c496){const _0x10687e=[];for(const _0x2bcfec of _0x46c496){const _0x3de926=_0x5d3144[_0x1ee2('0x4d')](_0x2bcfec);_0x3de926&&_0x10687e[_0x1ee2('0x0')](_0x3de926);}return _0x10687e;}(_0x425d1d,_0x1bcfda),_0x4e31ce=function(_0x3e439a,_0x50d71f){const _0x3f5a02=[_0x3e439a];for(const _0x5c5ebd of _0x50d71f){let _0x21c470=0x0;for(;_0x21c470<_0x3f5a02[_0x1ee2('0xa9')];){const _0x3d7b71=_0x3f5a02[_0x21c470]['getDifference'](_0x5c5ebd);_0x3f5a02[_0x1ee2('0x149')](_0x21c470,0x1,..._0x3d7b71),_0x21c470+=_0x3d7b71[_0x1ee2('0xa9')];}}return _0x3f5a02;}(_0x425d1d,_0x1bcfda);_0x438a58['length']&&this[_0x1ee2('0x127')]['change'](()=>{for(const _0x1f56ad of _0x438a58){const _0x1e0a1f=this[_0x1ee2('0xf')][_0x1ee2('0x14c')]('formatInline',_0x18513d,_0x1ee2('0x160'));this['forceDefaultExecution'](()=>_0x1e0a1f([_0x1f56ad],_0x472d6b,_0x25c31b));}});for(const _0x19dfaf of _0x4e31ce){let _0xae582b=null,_0x12f442=_0x19dfaf['start'],_0x186f6a=_0x19dfaf[_0x1ee2('0x5')];for(const {suggestion:_0x4aae0a,meta:_0x5f3981}of this[_0x1ee2('0x148')](_0x19dfaf,'formatInline')){if(!_0x5f3981[_0x1ee2('0x11f')])continue;if(_0x4aae0a[_0x1ee2('0x11c')]!=_0x18513d)continue;if(!Ft(_0x4aae0a,_0x25c31b))continue;const _0x5d1e17=_0x4aae0a[_0x1ee2('0x108')]();if(_0x5d1e17[_0x1ee2('0xda')](_0x19dfaf,!0x0))return null;_0x12f442=_0x12f442[_0x1ee2('0x7e')](_0x5d1e17[_0x1ee2('0x101')])?_0x12f442:_0x5d1e17[_0x1ee2('0x101')],_0x186f6a=_0x186f6a[_0x1ee2('0xcc')](_0x5d1e17[_0x1ee2('0x5')])?_0x186f6a:_0x5d1e17[_0x1ee2('0x5')],_0xae582b?_0x5d1e17[_0x1ee2('0x101')][_0x1ee2('0x7e')](_0xae582b[_0x1ee2('0x108')]()[_0x1ee2('0x101')])?(_0xae582b[_0x1ee2('0x139')](),_0xae582b=_0x4aae0a):_0x4aae0a[_0x1ee2('0x139')]():_0xae582b=_0x4aae0a;}const _0x536f08=this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x12f442,_0x186f6a);if(_0xae582b)this[_0x1ee2('0x37')](_0xae582b,_0x536f08);else{const _0x125dc9=_0x669718(),_0x444b04=_0x4ed0ef['id'];this[_0x1ee2('0x179')]({'id':_0x125dc9,'type':_0x1ee2('0xd3')+_0x18513d,'data':_0x472d6b,'createdAt':new Date(),'authorId':_0x444b04,'attributes':_0x25c31b}),this['_addSuggestionMarker'](_0x1ee2('0xd3')+_0x18513d,_0x125dc9,_0x444b04,_0x536f08);}}return null;}[_0x1ee2('0xdd')](_0x1024ad,_0x5b8a38,_0x5c2dc5=[],_0x515d02=null,_0x131bf4={}){_0x5b8a38[_0x1ee2('0xa3')]||(_0x5b8a38['formatGroupId']=_0x5b8a38[_0x1ee2('0x90')]),_0x5b8a38[_0x1ee2('0x44')]=_0x1024ad['is']('range'),_0x515d02=_0x515d02||Rt(_0x5b8a38);const _0x480f04=_0x5c2dc5[_0x1ee2('0x10')](_0x2851e7=>Ut(_0x2851e7,this[_0x1ee2('0x127')])),_0x162800=_0x1024ad['is'](_0x1ee2('0x142'))?_0x1024ad:Ut(_0x1024ad,this['_model']);if('never'===this[_0x1ee2('0xfe')]){const _0x432b33=this[_0x1ee2('0xf')]['getSuggestionCallback'](_0x1ee2('0x116'),_0x515d02,_0x1ee2('0x160'));return this[_0x1ee2('0x140')](()=>_0x432b33([_0x162800],_0x5b8a38,_0x131bf4)),null;}_0x480f04[_0x1ee2('0x0')](_0x162800);let _0x1c5059=!0x0;for(const _0x2e3140 of _0x480f04)if(!this[_0x1ee2('0x8e')](_0x2e3140)){_0x1c5059=!0x1;break;}if(_0x1c5059&&_0x1ee2('0x4a')!==this['_trackFormatChanges']){const _0x1895a1=this[_0x1ee2('0xf')][_0x1ee2('0x14c')]('formatBlock',_0x515d02,_0x1ee2('0x160'));return this[_0x1ee2('0x140')](()=>_0x1895a1([_0x162800],_0x5b8a38,_0x131bf4)),null;}let _0x1b0426=null,_0x173e28=_0x162800['start'],_0x38c20b=_0x162800[_0x1ee2('0x5')];for(const {suggestion:_0x57e34b,meta:_0x106ebe}of this[_0x1ee2('0x148')](_0x162800,_0x1ee2('0x116'))){if(!_0x106ebe['isOwn'])continue;if(_0x106ebe[_0x1ee2('0xb5')]||_0x106ebe[_0x1ee2('0x14f')]||_0x106ebe[_0x1ee2('0x49')])continue;if(_0x57e34b['data'][_0x1ee2('0xa3')]!=_0x5b8a38[_0x1ee2('0xa3')])continue;if(!Ft(_0x57e34b,_0x131bf4))continue;const _0x2c8fb4=_0x57e34b['getFirstRange']();if(_0x57e34b['subType']==_0x515d02){if(_0x2c8fb4['containsRange'](_0x162800,!0x0))return null;_0x173e28=_0x173e28[_0x1ee2('0x7e')](_0x2c8fb4[_0x1ee2('0x101')])?_0x173e28:_0x2c8fb4['start'],_0x38c20b=_0x38c20b[_0x1ee2('0xcc')](_0x2c8fb4[_0x1ee2('0x5')])?_0x38c20b:_0x2c8fb4[_0x1ee2('0x5')],_0x1b0426?_0x2c8fb4[_0x1ee2('0x101')]['isBefore'](_0x1b0426['getFirstRange']()['start'])?(_0x1b0426[_0x1ee2('0x139')](),_0x1b0426=_0x57e34b):_0x57e34b[_0x1ee2('0x139')]():_0x1b0426=_0x57e34b;}else{const _0x45c9d2=_0x162800[_0x1ee2('0x4d')](_0x2c8fb4);this[_0x1ee2('0xc1')](_0x57e34b,_0x45c9d2);}}const _0x3d29f0=this[_0x1ee2('0x58')][_0x1ee2('0x9d')]['get'](_0x1ee2('0x62'))['me'],_0x44ecb1=_0x669718(),_0x8d104d=_0x3d29f0['id'];if(_0x1b0426)return this[_0x1ee2('0x37')](_0x1b0426,this['_model'][_0x1ee2('0x120')](_0x173e28,_0x38c20b)),_0x1b0426;{const _0x55e6c0=this['_setSuggestionData']({'id':_0x44ecb1,'type':'formatBlock:'+_0x515d02,'data':_0x5b8a38,'createdAt':new Date(),'authorId':_0x8d104d,'attributes':_0x131bf4});return this[_0x1ee2('0x169')]('formatBlock:'+_0x515d02,_0x44ecb1,_0x8d104d,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x173e28,_0x38c20b)),_0x55e6c0;}}[_0x1ee2('0xe8')](_0x482af0,_0x3f6743,_0x39d5fc=[],_0x248c5f=null,_0x3cf1b2={}){_0x3f6743[_0x1ee2('0xa3')]||(_0x3f6743[_0x1ee2('0xa3')]=_0x3f6743[_0x1ee2('0x90')]);const _0x59936d=_0x482af0[0x0];_0x3f6743['multipleBlocks']=_0x59936d['is']('range'),_0x248c5f=_0x248c5f||Rt(_0x3f6743);const _0x510aab=_0x39d5fc[_0x1ee2('0x10')](_0x4bbbf3=>Ut(_0x4bbbf3,this['_model'])),_0x4deb74=_0x59936d['is'](_0x1ee2('0x142'))?_0x482af0:_0x482af0['map'](_0x47e0c5=>Ut(_0x47e0c5,this['_model']));if('never'===this[_0x1ee2('0xfe')]){const _0x26427b=this[_0x1ee2('0xf')]['getSuggestionCallback'](_0x1ee2('0x116'),_0x248c5f,_0x1ee2('0x160'));return this['forceDefaultExecution'](()=>_0x26427b(_0x4deb74,_0x3f6743,_0x3cf1b2)),null;}_0x510aab[_0x1ee2('0x0')](..._0x4deb74);let _0x3691fa=!0x0;for(const _0x283445 of _0x510aab)if(!this['_rangeIsInLocalUserInsertion'](_0x283445)){_0x3691fa=!0x1;break;}if(_0x3691fa&&_0x1ee2('0x4a')!==this['_trackFormatChanges']){const _0x4cde6e=this[_0x1ee2('0xf')][_0x1ee2('0x14c')](_0x1ee2('0x116'),_0x248c5f,_0x1ee2('0x160'));return this['forceDefaultExecution'](()=>_0x4cde6e(_0x4deb74,_0x3f6743,_0x3cf1b2)),null;}const _0x1eada5=this[_0x1ee2('0x58')]['plugins'][_0x1ee2('0x89')](_0x1ee2('0x62'))['me'];for(const _0x13df05 of this[_0x1ee2('0x167')]()){if(_0x13df05[_0x1ee2('0x2d')]['id']!=_0x1eada5['id'])continue;if(_0x1ee2('0x116')!=_0x13df05['type']||_0x13df05[_0x1ee2('0xae')][_0x1ee2('0xa3')]!=_0x3f6743['formatGroupId'])continue;if(!Ft(_0x13df05,_0x3cf1b2))continue;const _0x1bcd3f=_0x13df05[_0x1ee2('0x11c')]==_0x248c5f;for(let _0x1a081e=0x0;_0x1a081e<_0x4deb74[_0x1ee2('0xa9')];_0x1a081e++){const _0x20e58f=_0x4deb74[_0x1a081e];for(const _0x770b5e of _0x13df05['getMarkers']()){const _0x2eb32d=_0x770b5e[_0x1ee2('0x1')]();if(_0x20e58f[_0x1ee2('0xd')](_0x2eb32d)){_0x1bcd3f?(_0x4deb74[_0x1ee2('0x149')](_0x1a081e,0x1),_0x1a081e--):_0x13df05[_0x1ee2('0x3b')](_0x770b5e[_0x1ee2('0x29')]);break;}}}}if(0x0==_0x4deb74[_0x1ee2('0xa9')])return null;const _0xa472d0=this[_0x1ee2('0xf')][_0x1ee2('0x14c')](_0x1ee2('0x116'),_0x248c5f,_0x1ee2('0x158'));for(const _0x8f41f2 of this[_0x1ee2('0x167')]())if(_0x8f41f2[_0x1ee2('0x2d')]['id']==_0x1eada5['id']&&_0x1ee2('0x116')==_0x8f41f2[_0x1ee2('0x6e')]&&_0x8f41f2['data'][_0x1ee2('0xa3')]==_0x3f6743[_0x1ee2('0xa3')]&&_0x8f41f2[_0x1ee2('0x11c')]==_0x248c5f&&Ft(_0x8f41f2,_0x3cf1b2)&&(_0xa472d0(_0x8f41f2[_0x1ee2('0x38')](),_0x4deb74)||_0xa472d0(_0x4deb74,_0x8f41f2[_0x1ee2('0x38')]()))){for(const _0x569dba of _0x4deb74)_0x8f41f2['addRange'](_0x569dba);return _0x8f41f2;}const _0xba433e=_0x669718(),_0x41928c=_0x1eada5['id'],_0x3e00e5=_0x1ee2('0xf9')+_0x248c5f,_0x32494c=this[_0x1ee2('0x179')]({'id':_0xba433e,'type':_0x3e00e5,'data':_0x3f6743,'createdAt':new Date(),'authorId':_0x41928c,'attributes':_0x3cf1b2});for(const _0x296596 of _0x4deb74)this[_0x1ee2('0x169')](_0x3e00e5,_0xba433e,_0x41928c,_0x296596,_0x53d792[_0x1ee2('0x56')]());return _0x32494c;}['markDeletion'](_0x5aacfd,_0x5d13a2=null,_0x525562={}){if(_0x5aacfd[_0x1ee2('0x87')])return null;const _0xed1dea=this['editor'][_0x1ee2('0x9d')]['get'](_0x1ee2('0x62'))['me'],_0x267ef4=new _0x49909c(_0x5aacfd['start'],_0x5aacfd[_0x1ee2('0x5')]);for(const {suggestion:_0x14e64b,meta:_0x3f12d8}of this[_0x1ee2('0x148')](_0x267ef4,_0x1ee2('0x86')))if(_0x3f12d8['isOwn']&&!_0x3f12d8['isNextTo']){if(_0x14e64b[_0x1ee2('0x3e')]){const _0x473fcc=_0x14e64b[_0x1ee2('0x38')]()[_0x1ee2('0x6b')](_0x1bda56=>_0x1ee2('0x7b')!=_0x1bda56['root']['rootName']);_0x473fcc['every'](_0x368665=>_0x267ef4[_0x1ee2('0xda')](_0x368665,!0x0))&&_0x14e64b[_0x1ee2('0x1a')]();if(_0x473fcc[_0x1ee2('0x15f')](_0x1d43ef=>_0x1d43ef['containsRange'](_0x267ef4,!0x0))){const _0x2c19c3=this[_0x1ee2('0xf')][_0x1ee2('0x14c')](_0x1ee2('0xb8'),_0x5d13a2,_0x1ee2('0x160'));return this['forceDefaultExecution'](()=>_0x2c19c3([_0x267ef4],null,_0x525562)),null;}}else{const _0x50a586=_0x267ef4[_0x1ee2('0x4d')](_0x14e64b[_0x1ee2('0x108')]());null!==_0x50a586&&_0x14e64b['_onDiscard']([_0x50a586],null,_0x525562);}}if(_0x267ef4[_0x1ee2('0x176')](),_0x267ef4[_0x1ee2('0x87')]||'$graveyard'==_0x267ef4['root'][_0x1ee2('0x14')])return null;let _0x163ee6=null,_0x6bcf5a=_0x267ef4[_0x1ee2('0x101')],_0x5e1c6e=_0x267ef4['end'];const _0x208366=this[_0x1ee2('0x148')](_0x267ef4,'deletion');for(const {suggestion:_0x3e8376,meta:_0x36015c}of _0x208366){const _0x5e92a8=this['_model'][_0x1ee2('0x120')](_0x6bcf5a,_0x5e1c6e);if(_0x36015c[_0x1ee2('0x11f')]&&(this['_mergeNestedSuggestions']||!_0x36015c[_0x1ee2('0x14f')]&&!_0x36015c['isInsideObject'])){if(_0x3e8376[_0x1ee2('0x3e')]){if(!Ft(_0x3e8376,_0x525562))continue;let _0x204471=!0x0;for(const _0x10582b of _0x3e8376[_0x1ee2('0x38')]()){if(_0x10582b[_0x1ee2('0xda')](_0x5e92a8,!0x0))return _0x3e8376;_0x5e92a8[_0x1ee2('0xda')](_0x10582b)||(_0x204471=!0x1);}_0x204471&&_0x3e8376[_0x1ee2('0x1a')]();}else{const _0x14168d=_0x3e8376[_0x1ee2('0x108')]();if(_0x14168d[_0x1ee2('0xda')](_0x5e92a8,!0x0))return _0x3e8376;if(!Ft(_0x3e8376,_0x525562)){_0x5e92a8[_0x1ee2('0xda')](_0x14168d)?_0x3e8376[_0x1ee2('0x139')]():_0x14168d[_0x1ee2('0x11e')](_0x6bcf5a)?_0x6bcf5a=_0x14168d[_0x1ee2('0x5')]:_0x14168d[_0x1ee2('0x11e')](_0x5e1c6e)&&(_0x5e1c6e=_0x14168d['start']);continue;}_0x6bcf5a=_0x6bcf5a[_0x1ee2('0x7e')](_0x14168d[_0x1ee2('0x101')])?_0x6bcf5a:_0x14168d[_0x1ee2('0x101')],_0x5e1c6e=_0x5e1c6e[_0x1ee2('0xcc')](_0x14168d[_0x1ee2('0x5')])?_0x5e1c6e:_0x14168d[_0x1ee2('0x5')],_0x525562=Object['assign']({},_0x3e8376[_0x1ee2('0x82')]),_0x163ee6?_0x14168d[_0x1ee2('0x101')][_0x1ee2('0x7e')](_0x163ee6[_0x1ee2('0x108')]()[_0x1ee2('0x101')])?(_0x163ee6[_0x1ee2('0x139')](),_0x163ee6=_0x3e8376):_0x3e8376['removeMarkers']():_0x163ee6=_0x3e8376;}}}if(_0x163ee6)return this[_0x1ee2('0x37')](_0x163ee6,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x6bcf5a,_0x5e1c6e)),_0x163ee6;{const _0x393b6c=_0x669718(),_0x4c53d9=this['_model'][_0x1ee2('0x120')](_0x6bcf5a,_0x5e1c6e),_0x1a39f8=_0xed1dea['id'],_0x1681ca=_0x5d13a2?_0x1ee2('0xed')+_0x5d13a2:_0x1ee2('0xb8'),_0x1d7236=this[_0x1ee2('0x179')]({'id':_0x393b6c,'type':_0x1681ca,'createdAt':new Date(),'authorId':_0x1a39f8,'attributes':_0x525562});return this[_0x1ee2('0x169')](_0x1681ca,_0x393b6c,_0x1a39f8,_0x4c53d9),_0x1d7236;}}[_0x1ee2('0xa0')](_0x3956bc,_0x320feb=_0x1ee2('0x10b'),_0x1557a4={}){const _0x41954e=this[_0x1ee2('0x58')][_0x1ee2('0x9d')]['get'](_0x1ee2('0x62'))['me'],_0x5cf527=_0x3956bc['map'](_0x208524=>new _0x49909c(_0x208524[_0x1ee2('0x101')],_0x208524[_0x1ee2('0x5')])),_0x412058=new Set();for(const {suggestion:_0x2f6d9d,meta:_0xc7c810}of this[_0x1ee2('0x148')](_0x5cf527,_0x1ee2('0x86')))_0xc7c810[_0x1ee2('0x11f')]&&!_0xc7c810[_0x1ee2('0xb5')]&&_0x412058['add'](_0x2f6d9d);for(const _0x596535 of _0x412058)if(_0x596535[_0x1ee2('0x3e')]){const _0x414810=_0x596535[_0x1ee2('0x38')]();(!_0x596535['attributes']||!_0x596535[_0x1ee2('0x82')][_0x1ee2('0xd1')])&&(_0x414810['every'](_0x25c368=>_0x5cf527[_0x1ee2('0x15f')](_0x350959=>_0x350959[_0x1ee2('0xda')](_0x25c368,!0x0)))&&_0x596535[_0x1ee2('0x1a')]());if(_0x5cf527['every'](_0x317875=>_0x414810['some'](_0x4e9dff=>_0x4e9dff[_0x1ee2('0xda')](_0x317875,!0x0)))){const _0x256c41=this[_0x1ee2('0xf')][_0x1ee2('0x14c')]('deletion',_0x320feb,_0x1ee2('0x160'));return this[_0x1ee2('0x140')](()=>_0x256c41(_0x3956bc,null,_0x1557a4)),null;}}else{const _0x4e1d03=_0x596535[_0x1ee2('0x108')]();_0x5cf527['some'](_0x18e56a=>_0x18e56a[_0x1ee2('0xda')](_0x4e1d03,!0x0))&&_0x596535[_0x1ee2('0x1a')]();if(_0x5cf527[_0x1ee2('0x41')](_0x53d2f6=>_0x4e1d03['containsRange'](_0x53d2f6,!0x0))){const _0x1f9828=this[_0x1ee2('0xf')][_0x1ee2('0x14c')]('deletion',_0x320feb,_0x1ee2('0x160'));return this['forceDefaultExecution'](()=>_0x1f9828(_0x5cf527,null,_0x1557a4)),null;}}const _0x34d673=this[_0x1ee2('0xf')][_0x1ee2('0x14c')](_0x1ee2('0xb8'),_0x320feb,_0x1ee2('0x158'));let _0x57ace8=null;for(const _0xfed0c3 of this['getSuggestions']())if(_0xfed0c3[_0x1ee2('0x2d')]['id']==_0x41954e['id']&&_0xfed0c3[_0x1ee2('0x45')]&&_0x1ee2('0xb8')==_0xfed0c3['type']&&_0xfed0c3[_0x1ee2('0x11c')]==_0x320feb&&Ft(_0xfed0c3,_0x1557a4)&&(_0x34d673(_0xfed0c3[_0x1ee2('0x38')](),_0x5cf527)||_0x34d673(_0x5cf527,_0xfed0c3[_0x1ee2('0x38')]()))){if(_0x57ace8){if(_0xfed0c3[_0x1ee2('0xcf')]&&_0xfed0c3[_0x1ee2('0xcf')][_0x1ee2('0xa9')])continue;for(const _0x52c4c4 of _0xfed0c3[_0x1ee2('0x38')]())_0x57ace8[_0x1ee2('0x162')](_0x52c4c4)||_0x57ace8[_0x1ee2('0x128')](_0x52c4c4);_0xfed0c3[_0x1ee2('0x139')]();}else{_0x57ace8=_0xfed0c3;for(const _0x438e17 of _0x5cf527)_0xfed0c3[_0x1ee2('0x162')](_0x438e17)||_0xfed0c3[_0x1ee2('0x128')](_0x438e17);}}if(_0x57ace8)return _0x57ace8;_0x412058['clear']();for(const {suggestion:_0x5a572a,meta:_0x23f46a}of this[_0x1ee2('0x148')](_0x5cf527,_0x1ee2('0xb8')))_0x23f46a[_0x1ee2('0x11f')]&&(this[_0x1ee2('0x3c')]||!_0x23f46a['containsRangeInObject']&&!_0x23f46a[_0x1ee2('0x49')])&&Ft(_0x5a572a,_0x1557a4)&&_0x412058[_0x1ee2('0x12')](_0x5a572a);for(const _0x566673 of _0x412058){const _0x51eb2e=_0x566673['getRanges']();if(!_0x1557a4||!_0x1557a4['skipNestingCheck']){if(_0x5cf527['every'](_0x371b3b=>_0x51eb2e[_0x1ee2('0x15f')](_0x1940da=>_0x1940da[_0x1ee2('0xda')](_0x371b3b,!0x0))))return _0x566673;}(!_0x566673[_0x1ee2('0x82')]||!_0x566673['attributes'][_0x1ee2('0xd1')])&&(_0x51eb2e['every'](_0x5c0fe6=>_0x5cf527[_0x1ee2('0x15f')](_0x11bb1a=>_0x11bb1a[_0x1ee2('0xda')](_0x5c0fe6,!0x0)))&&_0x566673[_0x1ee2('0x1a')]());}const _0x1bb374=_0x669718(),_0xfe146f=_0x41954e['id'],_0x5a29c4='deletion:'+_0x320feb,_0x3fdc8e=this['_setSuggestionData']({'id':_0x1bb374,'type':_0x5a29c4,'createdAt':new Date(),'authorId':_0xfe146f,'attributes':_0x1557a4});for(const _0x2ef18a of _0x5cf527)_0x2ef18a['detach'](),_0x2ef18a['isCollapsed']||_0x1ee2('0x7b')==_0x2ef18a[_0x1ee2('0xb2')]['rootName']||this[_0x1ee2('0x169')](_0x5a29c4,_0x1bb374,_0xfe146f,_0x2ef18a,_0x53d792[_0x1ee2('0x56')]());return _0x3fdc8e;}[_0x1ee2('0x34')](_0x32d63a,_0x51a0e7,_0x414b97,_0xffcb49,_0x4de697){if(_0x32d63a['isCollapsed'])return[];if(_0x1ee2('0x12a')===this[_0x1ee2('0xfe')])return[];const _0x220c3e=this[_0x1ee2('0x58')][_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x62'))['me']['id'],_0x5f0924=Array[_0x1ee2('0xea')](this[_0x1ee2('0x118')][_0x1ee2('0x107')]())[_0x1ee2('0x6b')](_0x4b0ae2=>'attribute'==_0x4b0ae2[_0x1ee2('0x6e')]&&_0x4b0ae2[_0x1ee2('0xae')][_0x1ee2('0x111')]==_0x51a0e7&&_0x4b0ae2['isIntersectingWithRange'](_0x32d63a));if(_0x1ee2('0xff')===this[_0x1ee2('0xfe')]){const _0x2a7722=this[_0x1ee2('0x148')](_0x32d63a,_0x1ee2('0x86'))[_0x1ee2('0x6b')](({meta:_0x2ce9e5})=>_0x2ce9e5[_0x1ee2('0x11f')]&&!_0x2ce9e5['isInsideObject']&&!_0x2ce9e5[_0x1ee2('0xb5')])['map'](({suggestion:_0x3074e1})=>_0x3074e1);_0x5f0924['unshift'](..._0x2a7722);}const _0x4828f4=new Map([[_0x32d63a,_0x414b97]]);for(const _0x317fc8 of _0x5f0924){const _0xbcbf36=_0x1ee2('0x15a')==_0x317fc8['type']?_0x317fc8[_0x1ee2('0xae')][_0x1ee2('0xbc')]:void 0x0,_0x54dbdb=_0x317fc8[_0x1ee2('0x108')](),_0x1b4b06=Array[_0x1ee2('0xea')](_0x4828f4['keys']())[_0x1ee2('0x18')](_0x7459e4=>_0x7459e4[_0x1ee2('0x3f')](_0x54dbdb));_0x1b4b06&&(_0x4828f4[_0x1ee2('0x9c')](_0x1b4b06),_0x1b4b06[_0x1ee2('0x76')](_0x54dbdb)[_0x1ee2('0x55')](_0x2f9076=>{_0x4828f4[_0x1ee2('0x13d')](_0x2f9076,_0x414b97);}),_0x1ee2('0x86')!=_0x317fc8[_0x1ee2('0x6e')]&&_0xbcbf36!=_0xffcb49&&_0x4828f4[_0x1ee2('0x13d')](_0x1b4b06[_0x1ee2('0x4d')](_0x54dbdb),_0xbcbf36));}const _0x51812f=[];for(const [_0x674e,_0x358ed5]of _0x4828f4){const _0x1f4024=_0x669718(),_0xa02abd={'key':_0x51a0e7,'oldValue':_0x358ed5,'newValue':_0xffcb49};_0x51a0e7[_0x1ee2('0xa9')]>0x25&&console['warn'](_0x1ee2('0x11d'),{'key':_0x51a0e7});const _0x1fabad=('attribute:'+(_0x51a0e7+'|'+Rt({'newValue':_0xffcb49})))[_0x1ee2('0x7')](0x0,0x3c),_0x1ac9a0=this['_setSuggestionData']({'id':_0x1f4024,'type':_0x1fabad,'data':_0xa02abd,'createdAt':new Date(),'authorId':_0x220c3e,'attributes':_0x4de697});_0x51812f['push'](_0x1ac9a0),this['_addSuggestionMarker'](_0x1fabad,_0x1f4024,_0x220c3e,_0x674e);}return _0x51812f;}['_registerBlockAttribute'](_0x28df9b){this[_0x1ee2('0xad')][_0x1ee2('0x12')](_0x28df9b);}[_0x1ee2('0xcb')](_0x24482d){this[_0x1ee2('0x6a')][_0x1ee2('0x12')](_0x24482d);}[_0x1ee2('0x129')](_0x175345,_0x1be89d=[],_0x5acac7=[]){this[_0x1ee2('0x36')](_0x175345,(_0x3fcb72,..._0x35f204)=>{this[_0x1ee2('0x17b')](()=>{_0x3fcb72(..._0x35f204);});});for(const _0x30e0a1 of _0x1be89d)this['_registerInlineAttribute'](_0x30e0a1);for(const _0x102ff7 of _0x5acac7)this[_0x1ee2('0xa7')](_0x102ff7);}['_setSuggestionRange'](_0xc7982a,_0x13466f){const _0xb460d3=_0xc7982a[_0x1ee2('0x1e')]();this[_0x1ee2('0x127')][_0x1ee2('0x8d')](_0x358152=>{_0x358152[_0x1ee2('0x4')](_0xb460d3,{'range':_0x13466f});});}[_0x1ee2('0x5c')](_0x5a04c4){const _0x41fdd2=_0x5a04c4['id'],_0x8e25c5=this['editor'][_0x1ee2('0x24')][_0x1ee2('0x89')](_0x1ee2('0xf4'));this[_0x1ee2('0x80')][_0x1ee2('0x15b')](_0x41fdd2)||this[_0x1ee2('0x80')][_0x1ee2('0x164')]({'channelId':_0x8e25c5,'threadId':_0x41fdd2,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4ab501=this[_0x1ee2('0x80')]['getCommentThread'](_0x41fdd2);_0x4ab501[_0x1ee2('0x146')](_0x1ee2('0x168')),_0x4ab501['isRemovable']=!0x1,_0x5a04c4['commentThread']=_0x4ab501;}[_0x1ee2('0x6c')](_0x4fe0f9,_0x7369d,_0x30d2a8,_0xf95620){if(_0x4fe0f9[_0x1ee2('0x6e')]!=_0x7369d||_0x4fe0f9['subType']!=_0x30d2a8||_0x4fe0f9[_0x1ee2('0x138')]['id']!=_0xf95620)throw this['editor'][_0x1ee2('0x83')](_0x1ee2('0xf2')),new _0x317c62(_0x1ee2('0xf2'),this);}[_0x1ee2('0xc1')](_0x156471,_0x1287e7){const _0x30bf2=_0x156471[_0x1ee2('0x108')]();if(_0x1287e7[_0x1ee2('0xd')](_0x30bf2))_0x156471[_0x1ee2('0x139')]();else{if(_0x30bf2[_0x1ee2('0xda')](_0x1287e7)){const _0x5b9b36=this[_0x1ee2('0x127')][_0x1ee2('0x131')](_0x1287e7[_0x1ee2('0x101')][_0x1ee2('0x10f')],'end');this[_0x1ee2('0x37')](_0x156471,this['_model'][_0x1ee2('0x120')](_0x30bf2[_0x1ee2('0x101')],_0x5b9b36));const _0x3f76c8=_0x669718(),_0x2da251=_0x156471['creator']['id'],_0x459a9e=_0x156471[_0x1ee2('0x6e')]+':'+_0x156471[_0x1ee2('0x11c')];this[_0x1ee2('0x179')]({'id':_0x3f76c8,'type':_0x459a9e,'createdAt':new Date(),'authorId':_0x2da251,'data':_0x156471[_0x1ee2('0xae')],'attributes':_0x156471['attributes']});const _0x4d9702=this[_0x1ee2('0x127')]['createPositionAt'](_0x1287e7[_0x1ee2('0x5')]['parent'],'after'),_0x13b497=this['_model'][_0x1ee2('0x120')](_0x4d9702,_0x30bf2[_0x1ee2('0x5')]);this[_0x1ee2('0x169')](_0x459a9e,_0x3f76c8,_0x2da251,_0x13b497);}else{if(_0x30bf2['containsPosition'](_0x1287e7[_0x1ee2('0x101')])){const _0x41b133=this[_0x1ee2('0x127')][_0x1ee2('0x131')](_0x1287e7['start'][_0x1ee2('0x10f')],_0x1ee2('0x5'));this['_setSuggestionRange'](_0x156471,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x30bf2[_0x1ee2('0x101')],_0x41b133));}else{const _0x45a95e=this['_model'][_0x1ee2('0x131')](_0x1287e7[_0x1ee2('0x5')][_0x1ee2('0x11a')],_0x1ee2('0x110'));this[_0x1ee2('0x37')](_0x156471,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x45a95e,_0x30bf2['end']));}}}}[_0x1ee2('0x8e')](_0x13e047){for(const {suggestion:_0x1b3a82,meta:_0x1b9479}of this[_0x1ee2('0x148')](_0x13e047,_0x1ee2('0x86'))){if(!_0x1b9479[_0x1ee2('0x11f')])continue;const _0x42b1d3=_0x1b3a82[_0x1ee2('0x38')]();for(const _0x3d3f0e of _0x42b1d3)if(!_0x13e047[_0x1ee2('0x76')](_0x3d3f0e)[_0x1ee2('0xa9')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x191528){const _0x36bc24=this[_0x1ee2('0x58')][_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x62'))['getUser'](_0x191528);if(!_0x36bc24)throw new _0x317c62('track-changes-user-not-found',this);return _0x36bc24;}[_0x1ee2('0xe9')](_0x224e61){const _0x3083fa=this[_0x1ee2('0x58')]['plugins']['get'](_0x1ee2('0x62')),_0x26cb82=_0x4c43c3(_0x1ee2('0xa1')+_0x224e61),_0x5065ee=_0x3083fa['getUser'](_0x26cb82);return _0x5065ee||_0x3083fa[_0x1ee2('0x12e')]({'id':_0x26cb82,'name':_0x224e61});}['_createSuggestion'](_0x4929a6,_0x22e8e9,_0x48bc9f,_0x9a2a11,_0x4fb069){const _0x1a276f=this[_0x1ee2('0x51')](_0x9a2a11),_0x5dc6c6=this['_suggestionFactory'][_0x1ee2('0x133')](_0x4929a6,_0x22e8e9,_0x48bc9f,_0x1a276f,_0x4fb069,_0x114d46=>this[_0x1ee2('0x9b')](_0x48bc9f,{'attributes':_0x114d46}));return this[_0x1ee2('0x81')](_0x5dc6c6,'accept',()=>{this['_updateSuggestionData'](_0x48bc9f,{'state':_0x1ee2('0x114')});},{'priority':_0x1ee2('0x136')}),this['listenTo'](_0x5dc6c6,_0x1ee2('0x1a'),()=>{this[_0x1ee2('0x9b')](_0x48bc9f,{'state':_0x1ee2('0x9f')});},{'priority':_0x1ee2('0x136')}),this['_suggestions'][_0x1ee2('0x13d')](_0x48bc9f,_0x5dc6c6),this[_0x1ee2('0xc')]['set'](_0x5dc6c6,_0x1ee2('0xba')),_0x5dc6c6;}[_0x1ee2('0x65')](_0x13db9c){const _0x543a9e=_0x13db9c[_0x1ee2('0x4c')](':');return{'group':_0x543a9e[0x0],'type':_0x543a9e[0x1],'subType':_0x543a9e[_0x1ee2('0xa9')]>=0x5?_0x543a9e[0x2]:null,'id':_0x543a9e['length']<0x5?_0x543a9e[0x2]:_0x543a9e[0x3],'authorId':_0x543a9e[_0x1ee2('0xa9')]<0x5?_0x543a9e[0x3]:_0x543a9e[0x4],'markerCount':0x6==_0x543a9e[_0x1ee2('0xa9')]?_0x543a9e[0x5]:null};}['_breakSuggestionMarker'](_0x153533,_0x287f32,_0x115a1a){const _0x55f8b4=_0x153533[_0x1ee2('0x108')](),_0x3e016a=_0x55f8b4[_0x1ee2('0x101')],_0x258543=_0x55f8b4[_0x1ee2('0x5')];this['_setSuggestionRange'](_0x153533,this[_0x1ee2('0x127')][_0x1ee2('0x120')](_0x3e016a,_0x287f32));const _0x5d45f1=_0x669718(),_0x125794=_0x153533[_0x1ee2('0x138')]['id'],_0x532594=_0x153533[_0x1ee2('0x6e')]+(_0x153533[_0x1ee2('0x11c')]?':'+_0x153533[_0x1ee2('0x11c')]:'');this[_0x1ee2('0x179')]({'id':_0x5d45f1,'type':_0x532594,'createdAt':new Date(),'authorId':_0x125794,'originalSuggestionId':_0x153533['id'],'attributes':_0x153533['attributes'],'data':_0x153533[_0x1ee2('0xae')]});const _0x13a0ba=this['_getAttributeKeyFromSubType'](_0x153533);(_0x1ee2('0x116')==_0x153533[_0x1ee2('0x6e')]||_0x13a0ba&&this['_isBlockAttribute'](_0x13a0ba))&&(_0x115a1a=this[_0x1ee2('0x127')]['createPositionBefore'](_0x115a1a['parent'])),this['_addSuggestionMarker'](_0x532594,_0x5d45f1,_0x125794,this['_model']['createRange'](_0x115a1a,_0x258543));}[_0x1ee2('0x148')](_0x3a80c7,_0x50e26c=null){const _0x597c76=[],_0x3bbdb6=this['editor'][_0x1ee2('0x9d')]['get'](_0x1ee2('0x62'))['me'];Array[_0x1ee2('0xb')](_0x3a80c7)||(_0x3a80c7=[_0x3a80c7]);for(const _0xa1eed7 of this[_0x1ee2('0x167')]()){if(!_0xa1eed7[_0x1ee2('0x45')])continue;if(_0x50e26c&&_0xa1eed7[_0x1ee2('0x6e')]!=_0x50e26c)continue;let _0x2cf715=!0x1;for(const _0x3fad8f of _0xa1eed7[_0x1ee2('0x38')]()){for(const _0x204fef of _0x3a80c7){const _0x27cec1=_0x204fef['start'][_0x1ee2('0xd')](_0x3fad8f[_0x1ee2('0x5')])||_0x204fef[_0x1ee2('0x5')][_0x1ee2('0xd')](_0x3fad8f[_0x1ee2('0x101')]);if(_0x27cec1||_0x204fef[_0x1ee2('0x4d')](_0x3fad8f)){const _0xe960c6=_0x204fef[_0x1ee2('0xda')](_0x3fad8f)&&Tt(this['_model']['schema'],_0x3fad8f[_0x1ee2('0x101')],_0x204fef),_0x5a6e40=_0x3fad8f[_0x1ee2('0xda')](_0x204fef)&&Tt(this[_0x1ee2('0x127')][_0x1ee2('0xd2')],_0x204fef[_0x1ee2('0x101')],_0x3fad8f);_0x597c76['push']({'suggestion':_0xa1eed7,'meta':{'isOwn':_0x3bbdb6==_0xa1eed7[_0x1ee2('0x2d')],'isNextTo':_0x27cec1,'isInsideObject':_0xe960c6,'containsRangeInObject':_0x5a6e40}}),_0x2cf715=!0x0;break;}}if(_0x2cf715)break;}}return _0x597c76;}['_addSuggestionMarker'](_0x1a34af,_0x318a50,_0x4ee6f7,_0xef9bd5,_0x5e0f5e){this[_0x1ee2('0x127')]['change'](_0x37ce9c=>{let _0x5a001b=_0x1ee2('0x52')+_0x1a34af+':'+_0x318a50+':'+_0x4ee6f7;_0x5e0f5e&&(_0x5a001b=_0x5a001b+':'+_0x5e0f5e),_0x37ce9c['addMarker'](_0x5a001b,{'range':_0xef9bd5,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x5c539c){const _0x91fef=_0x5c539c[_0x1ee2('0x2e')],_0x515a0b=_0x5c539c['next'];_0x5c539c[_0x1ee2('0x2e')]=null,_0x5c539c[_0x1ee2('0x17')]=null,null!=_0x91fef&&(_0x91fef['next']=_0x515a0b),null!=_0x515a0b&&(_0x515a0b[_0x1ee2('0x2e')]=_0x91fef),'ready'==this[_0x1ee2('0xc')]['get'](_0x5c539c)&&(this[_0x1ee2('0xc')][_0x1ee2('0x13d')](_0x5c539c,_0x1ee2('0xa')),this[_0x1ee2('0x124')](_0x1ee2('0xbb'),_0x5c539c,_0x91fef,_0x515a0b));}[_0x1ee2('0x179')](_0x5359dd){const _0x7f77ed=_0x5359dd['id'],_0x227bf9=this[_0x1ee2('0xd4')](_0x5359dd);if(this[_0x1ee2('0x14d')]&&this[_0x1ee2('0x14d')]['addSuggestion']){const _0x5c469e=this['editor']['plugins']['get'](_0x1ee2('0x2c')),_0x17ad81=_0x227bf9[_0x1ee2('0x12d')],_0x5c6f33=_0x227bf9[_0x1ee2('0x11c')]?_0x227bf9[_0x1ee2('0x6e')]+':'+_0x227bf9[_0x1ee2('0x11c')]:_0x227bf9['type'],_0x35c07d=this[_0x1ee2('0x58')]['locale'],_0x38be63=_0x5c469e['add'](_0x2ceecb(_0x35c07d,_0x1ee2('0xce'))),_0x2160df={'id':_0x7f77ed,'type':_0x5c6f33,'hasComments':_0x17ad81,'data':_0x5359dd[_0x1ee2('0xae')]||null,'originalSuggestionId':_0x5359dd[_0x1ee2('0x8f')]||null,'attributes':_0x227bf9['attributes']};this[_0x1ee2('0x14d')]['addSuggestion'](_0x2160df)[_0x1ee2('0x64')](_0x118dcf=>{_0x227bf9['_saved']=!0x0,_0x5c469e[_0x1ee2('0x15e')](_0x38be63),_0x118dcf&&_0x118dcf[_0x1ee2('0x104')]&&(this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x7f77ed)[_0x1ee2('0x104')]=_0x118dcf['createdAt']);})['catch'](_0x4e6dc8=>{throw _0x2c9237(_0x1ee2('0x54')),this[_0x1ee2('0x58')][_0x1ee2('0x27')][_0x1ee2('0xaf')]({'isUndoable':!0x1},()=>{_0x227bf9[_0x1ee2('0x1a')]();}),_0x227bf9[_0x1ee2('0x16c')](),this[_0x1ee2('0x118')][_0x1ee2('0x9c')](_0x227bf9['id']),this['_suggestionState']['delete'](_0x227bf9),_0x4e6dc8;});}return _0x227bf9;}[_0x1ee2('0x14a')](_0x32140c){return this[_0x1ee2('0xad')][_0x1ee2('0x10e')](_0x32140c);}[_0x1ee2('0xe1')](_0x1c8c6e){return _0x1ee2('0x15a')==_0x1c8c6e[_0x1ee2('0x6e')]&&_0x1c8c6e['subType'][_0x1ee2('0x4c')]('|')[0x0];}[_0x1ee2('0x9b')](_0x1d0957,_0x49d0e9){const _0x561dbb=this['editor'][_0x1ee2('0x9d')][_0x1ee2('0x89')](_0x1ee2('0x2c')),_0x34b6ff=this[_0x1ee2('0x25')](_0x1d0957);if(this[_0x1ee2('0x14d')]&&this[_0x1ee2('0x14d')]['updateSuggestion']){if(_0x34b6ff[_0x1ee2('0xe4')]){const _0x21d299=_0x561dbb[_0x1ee2('0x12')](_0x2ceecb(this['editor'][_0x1ee2('0x2a')],_0x1ee2('0xce')));this[_0x1ee2('0x14d')][_0x1ee2('0x79')](_0x1d0957,_0x49d0e9)['then'](()=>{_0x561dbb[_0x1ee2('0x15e')](_0x21d299);});}else _0x34b6ff['on'](_0x1ee2('0x121'),()=>{this['_updateSuggestionData'](_0x1d0957,_0x49d0e9);});}}[_0x1ee2('0x6')](_0x3d3ad5){if(!this['_adapter']||!this[_0x1ee2('0x14d')][_0x1ee2('0x25')])throw new _0x317c62(_0x1ee2('0x3'),this);return this['_adapter'][_0x1ee2('0x25')](_0x3d3ad5);}[_0x1ee2('0x175')](_0xec65a8){const {id:_0x256aae,type:_0x10d34a,subType:_0x3dc149,authorId:_0x58ad35}=this['_splitMarkerName'](_0xec65a8),_0x434b9c=this[_0x1ee2('0x118')][_0x1ee2('0x89')](_0x256aae)||this['_createSuggestion'](_0x10d34a,_0x3dc149,_0x256aae,_0x58ad35,{});switch(this[_0x1ee2('0x6c')](_0x434b9c,_0x10d34a,_0x3dc149,_0x58ad35),this[_0x1ee2('0xc')][_0x1ee2('0x89')](_0x434b9c)){case'notReady':this['_getSuggestionData'](_0x256aae)[_0x1ee2('0x64')](_0x24fec0=>{let _0x2a0696=Promise[_0x1ee2('0xb3')]();_0x24fec0['hasComments']&&(_0x2a0696=this[_0x1ee2('0x80')][_0x1ee2('0xc9')]({'channelId':this[_0x1ee2('0x58')][_0x1ee2('0x24')]['get'](_0x1ee2('0xf4')),'threadId':_0x256aae})),_0x2a0696['then'](()=>{this['addSuggestionData'](_0x24fec0)[_0x1ee2('0xe4')]=!0x0;});}),this['_suggestionState']['set'](_0x434b9c,_0x1ee2('0xab'));break;case _0x1ee2('0xa'):this[_0x1ee2('0x9b')](_0x256aae,{'state':_0x1ee2('0xe')});case _0x1ee2('0xc4'):this[_0x1ee2('0xc')][_0x1ee2('0x13d')](_0x434b9c,'ready'),this['fire'](_0x1ee2('0x130'),_0x434b9c);break;case _0x1ee2('0x113'):this['fire'](_0x1ee2('0x103'),_0x434b9c);}return _0x434b9c['addMarkerName'](_0xec65a8),_0x434b9c;}[_0x1ee2('0xf3')](_0x4796fe){const _0x5eb595=Array['from'](_0x4796fe),_0x20e19c=_0x5eb595['filter'](_0x2a67e4=>_0x1ee2('0x15a')==_0x2a67e4[_0x1ee2('0x6e')]);this['_refreshAttributeSuggestionsChain'](_0x20e19c);const _0x409fd4=_0x5eb595[_0x1ee2('0x6b')](_0x33f16d=>!_0x33f16d['isMultiRange']&&'attribute'!=_0x33f16d[_0x1ee2('0x6e')]),_0x4cd6a5=this[_0x1ee2('0x167')]({'skipNotAttached':!0x0})[_0x1ee2('0x6b')](_0x4af6c0=>!_0x4af6c0[_0x1ee2('0x3e')]&&_0x1ee2('0x15a')!=_0x4af6c0[_0x1ee2('0x6e')]),_0x3d590c=_0x4cd6a5[_0x1ee2('0x6b')](_0x23edc3=>!_0x4796fe['has'](_0x23edc3)),_0x32e4d6=new Map(_0x4cd6a5[_0x1ee2('0x10')](_0x29ff2f=>[_0x29ff2f,this['_suggestionFactory'][_0x1ee2('0x14c')](_0x29ff2f[_0x1ee2('0x6e')],_0x29ff2f[_0x1ee2('0x11c')],_0x1ee2('0xaa'))])),_0x43d79b=new Map(_0x4cd6a5[_0x1ee2('0x10')](_0x44eac3=>[_0x44eac3,_0x44eac3['getFirstRange']()])),_0x21f94b=new Set(),_0x3607b5=new Set();for(let _0x3ff0cf=0x0;_0x3ff0cf<_0x409fd4['length'];_0x3ff0cf++)_0x372d7e(_0x409fd4[_0x3ff0cf],_0x409fd4,_0x3ff0cf+0x1);for(let _0x4b3c0f=0x0;_0x4b3c0f<_0x409fd4['length'];_0x4b3c0f++)_0x372d7e(_0x409fd4[_0x4b3c0f],_0x3d590c,0x0);const _0x5163d0=new Set();for(let _0x71c9e3=0x0;_0x71c9e3<_0x409fd4[_0x1ee2('0xa9')];_0x71c9e3++){const _0x378727=_0x409fd4[_0x71c9e3];!_0x3607b5['has'](_0x378727)&&_0x378727['previous']&&(_0x5163d0[_0x1ee2('0x12')](_0x378727[_0x1ee2('0x2e')]),_0x378727[_0x1ee2('0x2e')]['next']===_0x378727&&(_0x378727[_0x1ee2('0x2e')]['next']=null),_0x378727[_0x1ee2('0x2e')]=null),!_0x21f94b[_0x1ee2('0x10e')](_0x378727)&&_0x378727[_0x1ee2('0x17')]&&(_0x5163d0['add'](_0x378727[_0x1ee2('0x17')]),_0x378727[_0x1ee2('0x17')][_0x1ee2('0x2e')]===_0x378727&&(_0x378727['next'][_0x1ee2('0x2e')]=null),_0x378727['next']=null);}function _0x372d7e(_0x2d1e48,_0x357e2f,_0x1ada31){for(let _0x287f09=_0x1ada31;_0x287f09<_0x357e2f[_0x1ee2('0xa9')];_0x287f09++){const _0x4e53d5=_0x3158b6(_0x2d1e48,_0x357e2f[_0x287f09]);_0x4e53d5&&(_0x4e53d5[0x0][_0x1ee2('0x17')]=_0x4e53d5[0x1],_0x4e53d5[0x1][_0x1ee2('0x2e')]=_0x4e53d5[0x0],_0x21f94b[_0x1ee2('0x12')](_0x4e53d5[0x0]),_0x3607b5[_0x1ee2('0x12')](_0x4e53d5[0x1]));}}function _0x3158b6(_0x5d227b,_0x4aa4ae){if(_0x5d227b['author']['id']!==_0x4aa4ae[_0x1ee2('0x2d')]['id'])return null;const _0x49fd2c=_0x32e4d6[_0x1ee2('0x89')](_0x5d227b)(_0x5d227b,_0x4aa4ae,_0x43d79b[_0x1ee2('0x89')](_0x5d227b),_0x43d79b[_0x1ee2('0x89')](_0x4aa4ae));if(!_0x49fd2c)return null;return _0x32e4d6[_0x1ee2('0x89')](_0x4aa4ae)(_0x5d227b,_0x4aa4ae,_0x43d79b[_0x1ee2('0x89')](_0x5d227b),_0x43d79b[_0x1ee2('0x89')](_0x4aa4ae))?_0x49fd2c[0x1]['commentThread']&&_0x49fd2c[0x1][_0x1ee2('0xcf')]['length']?null:_0x49fd2c:null;}_0x5163d0[_0x1ee2('0x122')]&&this['_refreshSuggestionsChain'](_0x5163d0);}[_0x1ee2('0x125')](_0x1e9d12){if(0x0==_0x1e9d12[_0x1ee2('0xa9')])return;const _0x1841e7=this[_0x1ee2('0x167')]({'skipNotAttached':!0x0})[_0x1ee2('0x6b')](_0x5021fd=>'attribute'==_0x5021fd[_0x1ee2('0x6e')]&&_0x5021fd[_0x1ee2('0xf1')]),_0x156399=[],_0x42afdd=new Map();for(const _0x136a53 of _0x1841e7){const _0x4efbe7=_0x4c43c3(_0x136a53[_0x1ee2('0x82')]);_0x42afdd[_0x1ee2('0x10e')](_0x4efbe7)||(_0x42afdd[_0x1ee2('0x13d')](_0x4efbe7,_0x156399[_0x1ee2('0xa9')]),_0x156399[_0x1ee2('0x0')]([]));const _0x48168d=_0x42afdd['get'](_0x4efbe7);_0x156399[_0x48168d][_0x1ee2('0x0')](_0x136a53);}!function(){_0x156399[_0x1ee2('0x147')]((_0x2bcd35,_0x4d280b)=>{const _0x889070=_0x2bcd35[0x0]['createdAt'],_0x392a3b=_0x4d280b[0x0]['createdAt'];return _0x889070==_0x392a3b?_0x2bcd35[0x0][_0x1ee2('0x82')][_0x1ee2('0xf5')]<_0x4d280b[0x0][_0x1ee2('0x82')][_0x1ee2('0xf5')]?-0x1:0x1:_0x889070<_0x392a3b?-0x1:0x1;});for(const _0xa53c85 of _0x156399)_0xa53c85['sort']((_0x57bb29,_0x586483)=>_0x57bb29['id']<_0x586483['id']?-0x1:0x1);}();for(let _0x44e61b=0x0;_0x44e61b<_0x156399[_0x1ee2('0xa9')];_0x44e61b++){if(0x0==_0x156399[_0x44e61b][_0x1ee2('0xa9')])continue;const _0x43b01a=[];for(let _0xf97f26=_0x44e61b+0x1;_0xf97f26<_0x156399[_0x1ee2('0xa9')];_0xf97f26++)0x0!=_0x156399[_0xf97f26]['length']&&_0x2079a9(_0x156399[_0x44e61b],_0x156399[_0xf97f26])&&_0x43b01a['push'](_0xf97f26);for(const _0x28fbb6 of _0x43b01a)_0x156399[_0x44e61b]=_0x156399[_0x44e61b]['concat'](_0x156399[_0x28fbb6]),_0x156399[_0x28fbb6]=[];}for(const _0x1dff63 of _0x156399)for(let _0x1565c9=0x0;_0x1565c9<_0x1dff63['length'];_0x1565c9++)_0x1dff63[_0x1565c9][_0x1ee2('0x17')]=_0x1dff63[_0x1565c9+0x1]||null;for(const _0x2f2149 of _0x156399)for(let _0x4ece75=0x0;_0x4ece75<_0x2f2149[_0x1ee2('0xa9')];_0x4ece75++)_0x2f2149[_0x4ece75][_0x1ee2('0x2e')]=_0x2f2149[_0x4ece75-0x1]||null;function _0x2079a9(_0x409240,_0x67970a){if(_0x409240[0x0]['author']!==_0x67970a[0x0][_0x1ee2('0x2d')])return!0x1;if(!function(_0x9ed4d1,_0x2c5f7c){if(!_0x9ed4d1['hasComments']&&!_0x2c5f7c['hasComments'])return!0x0;if(_0x9ed4d1[_0x1ee2('0x12d')]&&_0x2c5f7c[_0x1ee2('0x12d')])return!0x1;if(_0x9ed4d1[_0x1ee2('0x12d')]&&_0x2c5f7c[_0x1ee2('0x104')]<_0x9ed4d1[_0x1ee2('0xcf')][_0x1ee2('0x20')][_0x1ee2('0x89')](0x0)['createdAt'])return!0x0;if(_0x2c5f7c[_0x1ee2('0x12d')]&&_0x9ed4d1[_0x1ee2('0x104')]<_0x2c5f7c['commentThread'][_0x1ee2('0x20')]['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x409240[0x0],_0x67970a[0x0]))return!0x1;const _0x34d32d=_0x51db7d(_0x409240[0x0][_0x1ee2('0x82')],'groupId'),_0x2840d6=_0x51db7d(_0x67970a[0x0][_0x1ee2('0x82')],_0x1ee2('0xf5'));if(!_0x584580(_0x34d32d,_0x2840d6))return!0x1;return!!_0x409240['every'](_0x699828=>_0x67970a[_0x1ee2('0x15f')](_0x53ac15=>_0x699828['getFirstRange']()[_0x1ee2('0xd')](_0x53ac15[_0x1ee2('0x108')]())))&&_0x67970a[_0x1ee2('0x41')](_0x46ba3e=>_0x409240['some'](_0x4d827c=>_0x46ba3e[_0x1ee2('0x108')]()[_0x1ee2('0xd')](_0x4d827c[_0x1ee2('0x108')]())));}}[_0x1ee2('0xa8')](_0x3d25ee){const _0x1cd9dd=Array['from'](_0x3d25ee),_0x408d6f=this[_0x1ee2('0x167')]({'skipNotAttached':!0x0}),_0x159860=_0x408d6f[_0x1ee2('0x6b')](_0x1479cb=>!_0x3d25ee['has'](_0x1479cb)),_0x48e975=new Map(_0x1cd9dd['map'](_0x5817e4=>[_0x5817e4,this[_0x1ee2('0xf')][_0x1ee2('0x14c')](_0x5817e4[_0x1ee2('0x6e')],_0x5817e4['subType'],_0x1ee2('0x158'))])),_0x2a39a6=new Map(_0x408d6f[_0x1ee2('0x10')](_0x334256=>[_0x334256,_0x334256['getRanges']()]));for(let _0x41b34d=0x0;_0x41b34d<_0x1cd9dd['length'];_0x41b34d++){if(_0x3585dc(this,_0x1cd9dd[_0x41b34d],_0x1cd9dd,_0x41b34d+0x1))return!0x0;}for(let _0x593d4a=0x0;_0x593d4a<_0x1cd9dd[_0x1ee2('0xa9')];_0x593d4a++){if(_0x3585dc(this,_0x1cd9dd[_0x593d4a],_0x159860,0x0))return!0x0;}return!0x1;function _0x3585dc(_0x38edc9,_0x1f7ab4,_0x3e94b0,_0x3d6c03){for(let _0x7879f9=_0x3d6c03;_0x7879f9<_0x3e94b0[_0x1ee2('0xa9')];_0x7879f9++){const _0x6359f2=_0x3e94b0[_0x7879f9];if(_0x6359f2['type']!==_0x1f7ab4[_0x1ee2('0x6e')]||_0x6359f2[_0x1ee2('0x2d')]['id']!==_0x1f7ab4[_0x1ee2('0x2d')]['id']||_0x6359f2['subType']!==_0x1f7ab4[_0x1ee2('0x11c')])continue;if(!Vt(_0x1f7ab4,_0x6359f2))continue;if('attribute'==_0x1f7ab4['type']&&_0x1f7ab4[_0x1ee2('0xae')][_0x1ee2('0xbc')]!=_0x6359f2[_0x1ee2('0xae')][_0x1ee2('0xbc')])continue;if('attribute'==_0x1f7ab4[_0x1ee2('0x6e')]&&_0x38edc9[_0x1ee2('0x14a')](_0x1f7ab4[_0x1ee2('0xae')][_0x1ee2('0x111')]))continue;const _0x413ed1=_0x48e975[_0x1ee2('0x89')](_0x1f7ab4),_0x207054=_0x2a39a6[_0x1ee2('0x89')](_0x1f7ab4),_0x368804=_0x2a39a6[_0x1ee2('0x89')](_0x6359f2),_0x533755=_0x1f7ab4['commentThread']&&_0x1f7ab4['commentThread']['length'],_0x1c25df=_0x6359f2['commentThread']&&_0x6359f2[_0x1ee2('0xcf')][_0x1ee2('0xa9')];if(!_0x533755&&_0x413ed1(_0x368804,_0x207054))return _0x38edc9[_0x1ee2('0x16f')](_0x6359f2,_0x1f7ab4),_0x2a39a6[_0x1ee2('0x9c')](_0x1f7ab4),!0x0;if(!_0x1c25df&&_0x413ed1(_0x207054,_0x368804))return _0x38edc9[_0x1ee2('0x16f')](_0x1f7ab4,_0x6359f2),_0x2a39a6[_0x1ee2('0x9c')](_0x6359f2),!0x0;}return!0x1;}}['_joinSuggestions'](_0x95119a,_0x222d87){if(_0x95119a[_0x1ee2('0x3e')])for(const _0x865fc8 of _0x222d87[_0x1ee2('0x38')]())_0x95119a[_0x1ee2('0x128')](_0x865fc8);else{const _0x1e5848=_0x222d87[_0x1ee2('0x108')]()[_0x1ee2('0x5')];this[_0x1ee2('0x37')](_0x95119a,this['_model']['createRange'](_0x95119a[_0x1ee2('0x108')]()[_0x1ee2('0x101')],_0x1e5848));}_0x222d87['removeMarkers']();}[_0x1ee2('0x28')](_0x1b1b02,_0x365ead){const _0x3a6df4=_0x1b1b02[_0x1ee2('0xde')](_0x1ee2('0x97'))||_0x1b1b02[_0x1ee2('0xde')]('attribute')?_0x1ee2('0x57'):_0x1b1b02[_0x1ee2('0xd5')]();return _0x2ceecb(this[_0x1ee2('0x58')]['locale'],_0x365ead+'_'+_0x3a6df4+_0x1ee2('0x174'));}[_0x1ee2('0x153')](){const _0x10875f=this[_0x1ee2('0x58')];_0x231a08(this[_0x1ee2('0x127')],({left:_0x1c01e9,entered:_0x300b9})=>{const _0x2add41=[];for(const _0x42c7f3 of _0x1c01e9){const {group:_0x44195b,type:_0x31d126}=this['_splitMarkerName'](_0x42c7f3[_0x1ee2('0x29')]);if(_0x1ee2('0x123')===_0x44195b){_0x2add41[_0x1ee2('0x0')](this[_0x1ee2('0x28')](_0x31d126,'LEAVE'));break;}}for(const _0x156940 of _0x300b9){const {group:_0x2dc3c7,type:_0x39796a}=this['_splitMarkerName'](_0x156940[_0x1ee2('0x29')]);if(_0x1ee2('0x123')===_0x2dc3c7){_0x2add41['push'](this[_0x1ee2('0x28')](_0x39796a,_0x1ee2('0x9a')));break;}}_0x2add41[_0x1ee2('0xa9')]&&_0x10875f['ui'][_0x1ee2('0x137')][_0x1ee2('0xf0')](_0x1ee2('0xdf'),_0x2add41[_0x1ee2('0x158')]('\x20'));});}[_0x1ee2('0xb0')](_0x543b79){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x294416=this[_0x1ee2('0x58')],_0x1b4b7c=_0x294416[_0x1ee2('0x27')]['document'][_0x1ee2('0x2f')][_0x1ee2('0x5a')]();if(0x0==_0x1b4b7c[_0x1ee2('0xa9')])return!0x1;const _0x43e97c=[],_0x5e8e3f=_0x1b4b7c[_0x1ee2('0x6b')](_0x1d54ee=>'attribute'==_0x1d54ee[_0x1ee2('0x6e')]),_0x1f1115=_0x1b4b7c[_0x1ee2('0x6b')](_0x45afa2=>_0x1ee2('0x88')==_0x45afa2[_0x1ee2('0x6e')]&&_0x1ee2('0xb4')!=_0x45afa2[_0x1ee2('0x29')]),_0x1c4dab=_0x1b4b7c[_0x1ee2('0x6b')](_0x2e785b=>_0x1ee2('0x15e')==_0x2e785b['type']&&_0x1ee2('0xb4')!=_0x2e785b['name']);for(const _0x1a07c1 of _0x5e8e3f)_0x43e97c[_0x1ee2('0x0')]({'key':_0x1a07c1['attributeKey'],'newValue':_0x1a07c1[_0x1ee2('0x170')],'oldValue':_0x1a07c1['attributeOldValue'],'range':_0x2be2ec(_0x1a07c1[_0x1ee2('0x142')])});for(const _0x5b0aaf of _0x1f1115){const _0x1e41d4=_0x1c4dab[_0x1ee2('0x18')](_0xa81af7=>_0xa81af7[_0x1ee2('0x16b')][_0x1ee2('0xd')](_0x5b0aaf[_0x1ee2('0x16b')]));_0x1e41d4&&_0x43e97c[_0x1ee2('0x0')]({'key':_0x1ee2('0x100'),'newValue':_0x5b0aaf[_0x1ee2('0x29')],'oldValue':_0x1e41d4[_0x1ee2('0x29')],'range':_0x294416[_0x1ee2('0x27')][_0x1ee2('0x95')](_0x5b0aaf[_0x1ee2('0x16b')]['nodeAfter'])});}return 0x0!=_0x43e97c[_0x1ee2('0xa9')]&&this[_0x1ee2('0x5e')](_0x543b79,_0x43e97c);function _0x2be2ec(_0x57a2f5){return null==_0x57a2f5[_0x1ee2('0x5')]['nodeBefore']&&_0x57a2f5[_0x1ee2('0x5')]['parent']==_0x57a2f5[_0x1ee2('0x101')]['nodeAfter']?Ut(_0x57a2f5[_0x1ee2('0x101')][_0x1ee2('0xf7')],_0x294416['model']):_0x57a2f5;}}[_0x1ee2('0x7a')](_0x5bfe63){let _0x297516=!0x1;const _0x4e086d=this[_0x1ee2('0x58')]['model'][_0x1ee2('0x106')][_0x1ee2('0x2f')][_0x1ee2('0x66')]()[_0x1ee2('0x6b')](_0x18b41f=>_0x18b41f[_0x1ee2('0xae')][_0x1ee2('0x9')]&&_0x18b41f[_0x1ee2('0x29')]['startsWith'](_0x1ee2('0x126')));for(const _0x1e9989 of _0x4e086d){const {subType:_0x2e2a58,id:_0x25ce8c}=this['_splitMarkerName'](_0x1e9989[_0x1ee2('0x29')]),_0x4f07e6=_0x2e2a58[_0x1ee2('0x4c')]('|')[0x0];for(const _0x1147f9 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x1147f9['id']!=_0x25ce8c&&'attribute'==_0x1147f9[_0x1ee2('0x6e')]&&_0x1147f9[_0x1ee2('0xae')]&&_0x1147f9[_0x1ee2('0xae')][_0x1ee2('0x111')]==_0x4f07e6&&_0x1147f9[_0x1ee2('0x108')]()[_0x1ee2('0x3f')](_0x1e9989[_0x1ee2('0xae')]['newRange'])&&(this[_0x1ee2('0x30')](_0x1147f9,_0x1e9989[_0x1ee2('0xae')][_0x1ee2('0x9')],_0x5bfe63),_0x297516=!0x0);}return _0x297516;}[_0x1ee2('0x17b')](_0x423347){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x423347();const _0x547cd8=this[_0x1ee2('0x58')];this['_recordAttributeSuggestionsFromVersion']=_0x547cd8['model'][_0x1ee2('0x106')]['version'],_0x423347();const _0x1764a4=new Map();for(const _0x4aa5ff of _0x547cd8['model'][_0x1ee2('0x106')][_0x1ee2('0xb9')][_0x1ee2('0x2')](this[_0x1ee2('0xc2')]))if(['rename',_0x1ee2('0x14b'),'removeAttribute',_0x1ee2('0x8b')][_0x1ee2('0xec')](_0x4aa5ff[_0x1ee2('0x6e')])){const _0x312833=_0x4aa5ff[_0x1ee2('0x31')],_0x525675=_0x1764a4[_0x1ee2('0x89')](_0x312833)||[];_0x525675[_0x1ee2('0x0')](_0x4aa5ff),_0x1764a4['set'](_0x312833,_0x525675);}this[_0x1ee2('0xc2')]=null;for(const [_0x5827c4,_0x52f448]of _0x1764a4){const _0x1f734c=_0x669718();_0x547cd8['model'][_0x1ee2('0xaf')](_0x5827c4,_0x5d8dcf=>{const _0x1efdef=[];for(const _0x5c109b of _0x52f448){let _0xeac4ec,_0x2aaff6,_0x571701,_0x4e6f28;if(_0x1ee2('0x13')==_0x5c109b[_0x1ee2('0x6e')]){const _0x220f01=_0x5c109b;_0xeac4ec=Ut(_0x220f01[_0x1ee2('0x16b')][_0x1ee2('0xf7')],_0x547cd8[_0x1ee2('0x27')]),_0x2aaff6=_0x1ee2('0x100'),_0x571701=_0x220f01[_0x1ee2('0x26')],_0x4e6f28=_0x220f01[_0x1ee2('0x4b')];}else{const _0x50b826=_0x5c109b,_0x5400be=this['_isBlockAttribute'](_0x50b826[_0x1ee2('0x111')]),_0x4bce14=this['_inlineAttributeKeys']['has'](_0x50b826[_0x1ee2('0x111')]);if(!_0x5400be&&!_0x4bce14)continue;_0xeac4ec=_0x5400be?Ut(_0x50b826[_0x1ee2('0x142')][_0x1ee2('0x101')][_0x1ee2('0xf7')],_0x547cd8[_0x1ee2('0x27')]):_0x50b826['range'],_0x2aaff6=_0x50b826[_0x1ee2('0x111')],_0x571701='removeAttribute'==_0x5c109b['type']?void 0x0:_0x50b826['newValue'],_0x4e6f28=_0x50b826[_0x1ee2('0xbc')];}this[_0x1ee2('0x34')](_0xeac4ec,_0x2aaff6,_0x4e6f28,_0x571701,{'groupId':_0x1f734c}),_0x1efdef[_0x1ee2('0x0')]({'range':_0xeac4ec,'key':_0x2aaff6,'newValue':_0x571701,'oldValue':_0x4e6f28});}this[_0x1ee2('0x5e')](_0x5d8dcf,_0x1efdef);});}}[_0x1ee2('0x5e')](_0x2bf3e2,_0xc94441){if(0x0==_0xc94441['length'])return!0x1;let _0x50167c=!0x1;for(const _0x2e2649 of _0xc94441){const _0x13c908=this['_findSuggestions'](_0x2e2649['range'],'attribute')['filter'](_0x3e4a21=>!_0x3e4a21[_0x1ee2('0x70')]['isNextTo'])[_0x1ee2('0x10')](_0x33c908=>_0x33c908[_0x1ee2('0x123')]),_0x3c8123=_0x4c43c3({'newValue':_0x2e2649['newValue']});_0x13c908[_0x1ee2('0x6b')](_0x1eed6f=>{const [_0x16b25d,_0x483657]=_0x1eed6f[_0x1ee2('0x11c')][_0x1ee2('0x4c')]('|');return _0x16b25d==_0x2e2649[_0x1ee2('0x111')]&&_0x483657!=_0x3c8123;})['forEach'](_0x26475e=>{this[_0x1ee2('0x30')](_0x26475e,_0x2e2649[_0x1ee2('0x142')],_0x2bf3e2),_0x50167c=!0x0;});}return _0x50167c;}[_0x1ee2('0x30')](_0x551324,_0x6a44f3,_0xd3b22b){const _0x491273=_0x551324[_0x1ee2('0x108')]()[_0x1ee2('0x76')](_0x6a44f3);0x0!==_0x491273[_0x1ee2('0xa9')]?0x1!==_0x491273[_0x1ee2('0xa9')]?this[_0x1ee2('0xfd')](_0x551324,_0x6a44f3['start'],_0x6a44f3[_0x1ee2('0x5')]):this[_0x1ee2('0x37')](_0x551324,_0x491273[0x0]):_0xd3b22b['removeMarker'](_0x551324['getFirstMarker']());}}class Bt{constructor(_0x32dc81){this[_0x1ee2('0x115')]=_0x32dc81,this[_0x1ee2('0x127')]=_0x32dc81[_0x1ee2('0x27')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}[_0x1ee2('0x133')](_0x4cf766,_0x53d988,_0x388494,_0x577d2d,_0x4302c7,_0x57c280){return new _0x53d792(this['_model'],{'type':_0x4cf766,'subType':_0x53d988,'id':_0x388494,'author':_0x577d2d,'creator':_0x577d2d,'attributes':_0x4302c7,'onAttributesChange':_0x57c280,'onAccept':(..._0x7eab74)=>this[_0x1ee2('0x14c')](_0x4cf766,_0x53d988,_0x1ee2('0x160'))(..._0x7eab74),'onDiscard':(..._0x2d2f91)=>this[_0x1ee2('0x14c')](_0x4cf766,_0x53d988,_0x1ee2('0x1a'))(..._0x2d2f91)});}[_0x1ee2('0x92')](_0x3dc8a0,_0x5ab810,_0x15b54f,_0x25d61e){const _0x2e118b=_0x3dc8a0+':'+_0x5ab810+':'+_0x15b54f;this[_0x1ee2('0x42')][_0x1ee2('0x13d')](_0x2e118b,_0x25d61e);}[_0x1ee2('0x14c')](_0x3e9bb2,_0x5cd130,_0x56da5a){const _0x28abaf=_0x3e9bb2+':'+_0x5cd130+':'+_0x56da5a;return this[_0x1ee2('0x42')][_0x1ee2('0x89')](_0x28abaf)||this[_0x1ee2('0xc0')][_0x1ee2('0x89')](_0x3e9bb2+':'+_0x56da5a);}[_0x1ee2('0xb1')](){const _0x5d40e9=()=>!0x1,_0x5ce99a=_0x37be48=>{_0x37be48[_0x1ee2('0x147')]((_0x2eaec8,_0x38d745)=>_0x2eaec8[_0x1ee2('0x101')][_0x1ee2('0x7e')](_0x38d745[_0x1ee2('0x101')])?0x1:-0x1),this[_0x1ee2('0x127')][_0x1ee2('0x8d')](_0xc6b6ae=>{for(const _0x170b7d of _0x37be48){let _0x204846;_0x204846=_0x170b7d[_0x1ee2('0x5')][_0x1ee2('0x74')]&&_0x170b7d[_0x1ee2('0x5')][_0x1ee2('0x11a')]==_0x170b7d[_0x1ee2('0x101')][_0x1ee2('0xf7')]?_0xc6b6ae[_0x1ee2('0x4f')](_0x170b7d[_0x1ee2('0x101')][_0x1ee2('0xf7')],'on'):_0xc6b6ae[_0x1ee2('0x4f')](_0x170b7d),this[_0x1ee2('0x127')][_0x1ee2('0x75')](_0x204846,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x2ae811=(_0x145b15,_0x4917ee)=>{_0x4917ee&&this[_0x1ee2('0x127')][_0x1ee2('0x8d')](_0x5436de=>{const {commandName:_0x56dd80,commandParams:_0x2c1fdf=[]}=_0x4917ee,_0x44bb1f=_0x145b15[_0x1ee2('0x10')](_0x207ed0=>(xt(_0x207ed0)&&(_0x207ed0=this[_0x1ee2('0x127')]['createRange'](_0x207ed0[_0x1ee2('0x5')])),_0x207ed0))[_0x1ee2('0x6b')](_0x232a47=>_0x1ee2('0x7b')!==_0x232a47['root']['rootName']);if(_0x44bb1f[_0x1ee2('0xa9')]<0x1)return;const _0x56d419=Array[_0x1ee2('0xea')](this[_0x1ee2('0x127')][_0x1ee2('0x106')]['selection'][_0x1ee2('0x38')]())[_0x1ee2('0x10')](_0x50004c=>_0x49909c['fromRange'](_0x50004c));_0x5436de[_0x1ee2('0x73')](_0x44bb1f);for(const _0x4e1aed of this[_0x1ee2('0x115')][_0x1ee2('0x1b')][_0x1ee2('0x1b')]())_0x4e1aed[_0x1ee2('0x13b')]();_0x2c1fdf[_0x1ee2('0x0')]({'forceDefaultExecution':!0x0}),this[_0x1ee2('0x115')][_0x1ee2('0xc6')](_0x56dd80,..._0x2c1fdf);const _0x1329d1=_0x56d419[_0x1ee2('0x6b')](_0x3b34e6=>_0x1ee2('0x7b')!=_0x3b34e6[_0x1ee2('0xb2')][_0x1ee2('0x14')]);_0x1329d1['length']>0x0&&_0x5436de[_0x1ee2('0x73')](_0x1329d1);for(const _0x27d2d5 of _0x56d419)_0x27d2d5[_0x1ee2('0x176')]();});},_0x2a9ca1=(_0x176c3e,_0x3a84df)=>0x1==_0x176c3e[_0x1ee2('0xa9')]&&0x1==_0x3a84df[_0x1ee2('0xa9')]&&_0x176c3e[0x0][_0x1ee2('0x5')][_0x1ee2('0xd')](_0x3a84df[0x0][_0x1ee2('0x101')]),_0x22aeff=(_0x524984,_0x2f39ca,_0xe2dc08,_0x258591)=>Ot(_0x524984,_0x2f39ca,_0xe2dc08,_0x258591,this[_0x1ee2('0x127')])?[_0x524984,_0x2f39ca]:Ot(_0x2f39ca,_0x524984,_0x258591,_0xe2dc08,this[_0x1ee2('0x127')])?[_0x2f39ca,_0x524984]:null;this[_0x1ee2('0xc0')][_0x1ee2('0x13d')]('insertion:accept',_0x5d40e9),this['_defaultCallbacks'][_0x1ee2('0x13d')](_0x1ee2('0x8'),_0x5ce99a),this[_0x1ee2('0xc0')]['set'](_0x1ee2('0x8c'),_0x2a9ca1),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')](_0x1ee2('0x3d'),_0x22aeff),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')](_0x1ee2('0xc7'),_0x5ce99a),this[_0x1ee2('0xc0')]['set']('deletion:discard',_0x5d40e9),this['_defaultCallbacks'][_0x1ee2('0x13d')](_0x1ee2('0x98'),_0x2a9ca1),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')]('deletion:chain',_0x22aeff),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')](_0x1ee2('0x135'),_0x2ae811),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')](_0x1ee2('0xa4'),_0x5d40e9),this['_defaultCallbacks'][_0x1ee2('0x13d')](_0x1ee2('0x8a'),_0x2a9ca1),this['_defaultCallbacks']['set']('formatInline:chain',_0x5d40e9),this[_0x1ee2('0xc0')]['set'](_0x1ee2('0x166'),_0x2ae811),this[_0x1ee2('0xc0')]['set'](_0x1ee2('0x7c'),_0x5d40e9),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')](_0x1ee2('0xbf'),_0x2a9ca1),this['_defaultCallbacks'][_0x1ee2('0x13d')]('formatBlock:chain',_0x5d40e9),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')]('attribute:accept',_0x5d40e9),this[_0x1ee2('0xc0')][_0x1ee2('0x13d')](_0x1ee2('0x105'),(_0x4ce301,_0x5a7e38)=>{if(!_0x5a7e38)return;const _0x1b5705=this['_editor'][_0x1ee2('0x9d')][_0x1ee2('0x89')](p);this[_0x1ee2('0x127')][_0x1ee2('0x8d')](_0x461bf4=>{if(_0x1ee2('0x100')==_0x5a7e38['key'])for(const _0x376a7d of _0x4ce301){const _0x43c0f8=_0x376a7d['start'][_0x1ee2('0xf7')],_0x200e21=_0x5a7e38[_0x1ee2('0xbc')];_0x461bf4['rename'](_0x43c0f8,_0x200e21);}else{if(_0x1b5705[_0x1ee2('0x14a')](_0x5a7e38[_0x1ee2('0x111')]))for(const _0x1c0d72 of _0x4ce301)void 0x0!==_0x5a7e38['oldValue']?_0x461bf4['setAttribute'](_0x5a7e38[_0x1ee2('0x111')],_0x5a7e38[_0x1ee2('0xbc')],_0x1c0d72['start']['nodeAfter']):_0x461bf4[_0x1ee2('0x152')](_0x5a7e38[_0x1ee2('0x111')],_0x1c0d72['start'][_0x1ee2('0xf7')]);else for(const _0x2cc1c2 of _0x4ce301)_0x5a7e38[_0x1ee2('0xbc')]?_0x461bf4[_0x1ee2('0x15d')](_0x5a7e38[_0x1ee2('0x111')],_0x5a7e38[_0x1ee2('0xbc')],_0x2cc1c2):_0x461bf4[_0x1ee2('0x152')](_0x5a7e38[_0x1ee2('0x111')],_0x2cc1c2);}});}),this[_0x1ee2('0xc0')]['set'](_0x1ee2('0x154'),_0x2a9ca1);}}function Tt(_0x4c5c49,_0x55550f,_0x485b2e){for(const _0x5145f7 of _0x55550f[_0x1ee2('0x11a')][_0x1ee2('0x16d')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5145f7[_0x1ee2('0xb2')]==_0x5145f7)return!0x1;if(!_0x485b2e[_0x1ee2('0x21')](_0x5145f7))return!0x1;if(_0x4c5c49[_0x1ee2('0x60')](_0x5145f7)||_0x4c5c49['isLimit'](_0x5145f7))return!0x0;}return!0x1;}function xt(_0x5ab1e4){return _0x5ab1e4[_0x1ee2('0x5')][_0x1ee2('0x11a')]==_0x5ab1e4[_0x1ee2('0x101')][_0x1ee2('0xf7')]&&_0x5ab1e4[_0x1ee2('0x5')]['isAtStart'];}function Et(_0x35d38d,_0x4cbe5d,_0x277bfb,_0xbb9215){const _0x2a4acf=_0x1392e0=>!_0x1392e0['item']['is'](_0x1ee2('0x11'))&&!_0xbb9215[_0x1ee2('0x60')](_0x1392e0[_0x1ee2('0xd9')]),_0x21ee1a=_0x35d38d[_0x1ee2('0x101')][_0x1ee2('0x15')](_0x2a4acf),_0x17e45b=_0x35d38d[_0x1ee2('0x5')][_0x1ee2('0x15')](_0x2a4acf,{'direction':_0x1ee2('0x46')});return(!_0x35d38d[_0x1ee2('0x101')][_0x1ee2('0xd')](_0x21ee1a)||!_0x35d38d[_0x1ee2('0x5')][_0x1ee2('0xd')](_0x17e45b))&&(_0x21ee1a[_0x1ee2('0x7e')](_0x17e45b)?_0x277bfb[_0x1ee2('0x4')](_0x4cbe5d,{'range':_0x277bfb[_0x1ee2('0x120')](_0x21ee1a,_0x17e45b)}):_0x277bfb[_0x1ee2('0x3b')](_0x4cbe5d),!0x0);}function Rt(_0x182578){return _0x4c43c3(_0x182578);}function jt(_0xe9e6e5){const _0x14998e=_0xe9e6e5[_0x1ee2('0x101')][_0x1ee2('0xf7')];return _0x14998e&&_0x14998e['is'](_0x1ee2('0xdb'));}function Ut(_0x5d9dd4,_0x1f3b4f){const _0x25e940=_0x1f3b4f['schema']['isObject'](_0x5d9dd4)||_0x1f3b4f[_0x1ee2('0xd2')][_0x1ee2('0x16e')](_0x5d9dd4);return _0x1f3b4f['createRange'](_0x1f3b4f['createPositionAt'](_0x5d9dd4,_0x1ee2('0x32')),_0x25e940?_0x1f3b4f['createPositionAfter'](_0x5d9dd4):_0x1f3b4f[_0x1ee2('0x131')](_0x5d9dd4,_0x1ee2('0x5')));}function Ot(_0x3d0c61,_0x263711,_0x1ee0ef,_0x19a113,_0x3ff5ba){if(!Vt(_0x3d0c61,_0x263711))return!0x1;if(_0x1ee0ef['end'][_0x1ee2('0xd')](_0x19a113['start']))return!0x0;if(_0x3d0c61[_0x1ee2('0x6e')]!=_0x263711[_0x1ee2('0x6e')])return!0x1;if(!_0x1ee0ef[_0x1ee2('0x5')][_0x1ee2('0xb7')](_0x19a113[_0x1ee2('0x101')]))return!0x1;const _0x105dc0=_0x3ff5ba[_0x1ee2('0x120')](_0x1ee0ef[_0x1ee2('0x5')],_0x19a113[_0x1ee2('0x101')])[_0x1ee2('0x5d')]();for(const _0x229255 of _0x105dc0)if(['elementStart',_0x1ee2('0xc5')][_0x1ee2('0xec')](_0x229255[_0x1ee2('0x6e')])&&_0x3ff5ba[_0x1ee2('0xd2')][_0x1ee2('0x150')](_0x229255['item']))return!0x1;return!0x0;}function Vt(_0x1ab0e3,_0x5b036e){return!(!_0x1ab0e3['_isDataLoaded']||!_0x5b036e['_isDataLoaded'])&&_0x584580(_0x1ab0e3[_0x1ee2('0x82')],_0x5b036e[_0x1ee2('0x82')]);}function Ft(_0x84a2e6,_0x32cf53){const _0x1cadc8=Gt(_0x84a2e6[_0x1ee2('0x82')]),_0x3de13d=Gt(_0x32cf53);if(!_0x84a2e6['_isDataLoaded'])return!0x1;for(const _0xd75843 of Object['keys'](_0x3de13d))if(!_0x584580(_0x1cadc8[_0xd75843],_0x3de13d[_0xd75843]))return!0x1;return!0x0;}function Gt(_0x49b4e4){const _0x1df70c=Object[_0x1ee2('0xc8')]({},_0x49b4e4);return delete _0x1df70c[_0x1ee2('0xd1')],delete _0x1df70c['tablePasteChainId'],_0x1df70c;}
|
|
23
|
+
const _0x103d=['unshift','suggestion:attribute:','init','pluginName','activeMarkers','attribute:accept','_getMarkerAnnouncementText','always','suggestion:','attribute:join','_breakSuggestionMarker','get','toUpperCase','getSuggestionCallback','_findSuggestions','ck-suggestion-marker-formatInline','addHighlight','parent','_isBlockAttribute','range','never','_handleNewSuggestionMarker','accept','from','createPositionAt','markerToHighlight','_inlineAttributeKeys','attributes','head','howMany','_saved','comments','ENTER','deletion:','_updateSuggestionData','_registerDefaultCallbacks','change:_saved','_commentsRepository','concat','getUser','execute','acceptSuggestion','newRange','nodeAfter','isAfter','setAttribute','selection','removeAttribute','group','markerNameToElements','registerPostFixer','discardAllSuggestions','showSuggestionHighlights','type','oldRange','getMarkers','trackChanges.trackFormatChanges','createRange','_enabledCommands','insert','createElement','backward','addClass','change','attribute:','change:activeMarkers','_suggestionFactory','creator','rename','startsWith','high','_suggestionState','_addThreadToSuggestion','_editor','hasCommentThread','getChangedMarkers','attributeNewValue','value','removed','_defaultCallbacks','markMultiRangeInsertion','tablePasteChainId','suggestion-type','normal','addMarkerName','unbindElementFromMarkerName','_createSuggestion','markers','editingDowncast','_getAttributeKeyFromSubType','attributeOldValue','detach','conversion','pop','forceDefaultExecution','previous','markerName','accepted','includes','model','set','addSuggestionData','substring','acceptAllSuggestions','_joinSuggestions','acceptSelectedSuggestions','_recordAttributeSuggestionsFromVersion','name','getMultiRangeId','bindElementToMarker','getRange','isIntersectingWithRange','addSuggestion','containsRangeInObject','enableCommand','insertion:','formatBlock','options','isIntersecting','sort','ck-suggestion-marker-formatBlock','map','before','markBlockFormat','addMarker:suggestion:formatBlock','toJSON','widget','oldName','containsRange','then','elementStart','attributeKey','external:','delete','ready','addCommentThread','getSuggestion','default','stopListening','subType','isObject','formatInline:accept','trackChanges','warn','catch','split','_reduceExistingSuggestions','isRemovable','_onDiscard','ck-suggestion-marker','values','formatGroupId','formatInline','every','_recordAttributeChanges','fromRange','formatBlock:','commands','getChanges','ck-suggestion-marker--active','formatBlock:discard','applyOperation','createPositionBefore','_suggestions','deletion','config','resolve','@external','_isForcedDefaultExecutionBlock','change:data','deletion:chain','stop','_initAriaMarkerChangeAnnouncements','_addSuggestionMarker','chain','lowest','getWalker','elementEnd','commandName','end','isLocal','addAttribute','refresh','getDifference','move','_processAttributeChanges','removeMarker:suggestion:attribute','after','notReady','formatBlock:chain','deleteContent','authorName','$elementName','format','toViewElement','size','isLimit','track-changes-suggestion-not-found','Users','data','hasSuggestion','key','_refreshAttributeSuggestionsChain','clear','enqueueChange','_rangeIsInLocalUserInsertion','marker-count','removeClass','markInlineFormat','element','formatInline:','batch','$textProxy','setSelection','ariaLiveAnnouncer','markInsertion','originalSuggestionId','isEqual','mapper','position','_getSuggestionData','splice','consume','next','isNextTo','createRangeOn','adapter','suggestionChanged','_registerBlockAttribute','getShiftedBy','track-changes-user-not-found','_setSuggestionData','createRangeIn','find','LEAVE','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.','has','filter','item','suggestionLoaded','discardSelectedSuggestions','commentThread','for','_reduceSuggestionAttributeRange','getFirstRange','isArray','formatInline:join','addComment','data-suggestion','hasComments','targetPosition','remove','addMarker:suggestion','formatInline:chain','_registerInlineAttribute','trackChanges.mergeNestedSuggestions','attribute:discard','_trackFormatChanges','addUser','updateMarker','return','dataReady','_refreshSuggestionsChain','discardSuggestion','$marker','containsPosition','suggestion','changeAttribute','containerElement','deletion:discard','track-changes-suggestion-data-mismatch','PENDING_ACTION_SUGGESTION','listenTo','_setSuggestionRange','isDocumentOperation','getNearestSelectionRange','fromCharCode','join','low','ck-suggestion-marker-','collaboration.channelId','highest','start','_adapter','upcast','some','removeMarkers','getFirstMarker','length','fetchCommentThread','author','suggestionUnloaded','_model','isMultiRange','plugins','markerToData','getAttribute','_joinWithAdjacentSuggestions','isInContent','documentSelection','differ','addMarker','createSelection','multi','add','isInsideObject','keys','getLastMatchingPosition','root','buildSuggestion','writer','getSuggestions','markDeletion','_getAuthorFromId','unbind','_mergeNestedSuggestions','forward','isAtEnd','isBlock','fire','updateSuggestion','_processAttributeSuggestions','push','discard','_splitMarkerName','getRanges','formatInline:discard','addMarker:suggestion:attribute','assign','multipleBlocks','createdAt','groupId','oldValue','schema','newName','addRange','document','isCollapsed','reconvertMarker','getOperations','insertion:chain','dataToMarker','$graveyard','insertContent','_blockAttributeKeys','_enableDefaultAttributesIntegration','editor','rootName','consumable','meta','markAttributeChange','rejected','markerReady','TrackChangesEditing','nodeBefore','isOwn','skipNestingCheck','isAtStart','define','getCommentThread','CommentsRepository','getCustomProperty','removeMarker','isBefore','_getExternalAuthor','_checkSuggestionCorrectness','attribute','authoredAt','insertion:discard','getAllAdjacentSuggestions','dataDowncast','_isDataLoaded','trackChangesCommand','insertion','locale','_customCallbacks','forEach','getIntersection','newValue'];(function(_0x125507,_0x103d42){const _0x4ec967=function(_0x4bbb15){while(--_0x4bbb15){_0x125507['push'](_0x125507['shift']());}};_0x4ec967(++_0x103d42);}(_0x103d,0xb1));const _0x4ec9=function(_0x125507,_0x103d42){_0x125507=_0x125507-0x0;let _0x4ec967=_0x103d[_0x125507];return _0x4ec967;};import{Plugin as _0x176f51,PendingActions as _0x19f6c7}from'ckeditor5/src/core';import{LiveRange as _0x49a89e}from'ckeditor5/src/engine';import{CKEditorError as _0xbf6c7b,uid as _0x1a1471,priorities as _0x41a271,logWarning as _0x330157}from'ckeditor5/src/utils';import{toWidget as _0x38d9ca}from'ckeditor5/src/widget';import{Users as _0x24e63c,hashObject as _0x3b9db5,surroundingMarkersDetector as _0x260b82}from'ckeditor5-collaboration/src/collaboration-core';import _0x3fb28d from'./commands/trackchangescommand';import _0x33e564 from'./commands/acceptsuggestioncommand';import _0x1ff2d4 from'./commands/discardsuggestioncommand';import _0x5e8d97 from'./commands/executeonallsuggestionscommand';import _0x535a51 from'./commands/executeonselectedsuggestionscommand';import _0x3f936a from'./suggestion';import _0x3fb554 from'./suggestiondescriptionfactory';import _0x40e69b from'./integrations/aiassistant';import _0x4e39cd from'./integrations/alignment';import _0x1b0f8c from'./integrations/basicstyles';import _0x27a3e2 from'./integrations/blockquote';import _0x2c5ff3 from'./integrations/ckbox';import _0x426dca from'./integrations/codeblock';import _0x3f7c1a from'./integrations/comments';import _0x2bbdfe from'./integrations/deletecommand';import _0x53bf0f from'./integrations/documentlist';import _0x4aa789 from'./integrations/documentlistproperties';import _0x2f0983 from'./integrations/entercommand';import _0x4c7123 from'./integrations/findandreplace';import _0xbeccca from'./integrations/font';import _0x18f380 from'./integrations/formatpainter';import _0x24675f from'./integrations/heading';import _0x5d87c5 from'./integrations/highlight';import _0x12af31 from'./integrations/horizontalline';import _0x46c7f0 from'./integrations/htmlembed';import _0x2b299d from'./integrations/image';import _0x42b2b7 from'./integrations/imagereplace';import _0x56cd6e from'./integrations/imagestyle';import _0x50b061 from'./integrations/importword';import _0x305ad5 from'./integrations/indent';import _0x1b0a10 from'./integrations/inputcommand';import _0x187b50 from'./integrations/link';import _0x18691e from'./integrations/list';import _0x2b6c44 from'./integrations/listproperties';import _0x50bf63 from'./integrations/mediaembed';import _0x1ffe8b from'./integrations/mention';import _0x1a4bc7 from'./integrations/pagebreak';import _0x503991 from'./integrations/paragraph';import _0x2c68f1 from'./integrations/removeformat';import _0x18ddf9 from'./integrations/restrictededitingmode';import _0x134f2f from'./integrations/shiftentercommand';import _0x16e989 from'./integrations/standardeditingmode';import _0x384cb7 from'./integrations/style';import _0x132aa7 from'./integrations/table';import _0x24a715 from'./integrations/tablemergesplit';import _0x432c58 from'./integrations/tableheadings';import _0x3ad5b2 from'./integrations/tableclipboard';import _0x574c5e from'./integrations/tablecolumnresize';import _0x27bddc from'./integrations/template';import _0x1f89f0 from'./integrations/tableofcontents';import _0x39257b from'./integrations/title';import _0x362cd1 from'./integrations/undo';import _0x5321be from'./integrations/tablecaption';import _0x42ad18 from'./integrations/tableproperties';import{getTranslation as _0x4ab33e}from'./utils/common-translations';import{isEqual as _0x5240aa,omit as _0x3f6958}from'lodash-es';export const renameAttributeKey=_0x4ec9('0xf');export default class p extends _0x176f51{static get['requires'](){return[_0x4ec9('0xb7'),_0x24e63c,_0x19f6c7,_0x40e69b,_0x4e39cd,_0x1b0f8c,_0x27a3e2,_0x2c5ff3,_0x426dca,_0x3f7c1a,_0x2bbdfe,_0x53bf0f,_0x4aa789,_0x2f0983,_0x4c7123,_0xbeccca,_0x18f380,_0x24675f,_0x5d87c5,_0x12af31,_0x46c7f0,_0x2b299d,_0x56cd6e,_0x42b2b7,_0x50b061,_0x305ad5,_0x1b0a10,_0x187b50,_0x18691e,_0x2b6c44,_0x50bf63,_0x1ffe8b,_0x1a4bc7,_0x503991,_0x2c68f1,_0x18ddf9,_0x134f2f,_0x16e989,_0x384cb7,_0x132aa7,_0x24a715,_0x432c58,_0x5321be,_0x3ad5b2,_0x574c5e,_0x1f89f0,_0x42ad18,_0x27bddc,_0x39257b,_0x362cd1];}static get[_0x4ec9('0xcd')](){return _0x4ec9('0xb0');}constructor(_0x1f39e2){function _0x177c30(_0x458687){return _0x458687[_0x4ec9('0x143')](_0x50e8a9=>String[_0x4ec9('0x63')](_0x50e8a9))['join']('');}super(_0x1f39e2),this[_0x4ec9('0x134')]=null,this[_0x4ec9('0x12e')]('activeMarkers',[]),this['on'](_0x4ec9('0x10b'),(_0x320c34,_0x37f576,_0x4c573e,_0x41be03)=>{this[_0x4ec9('0x73')][_0x4ec9('0x109')](()=>{for(const _0x561ad9 of[..._0x41be03,..._0x4c573e])this[_0x4ec9('0x73')][_0x4ec9('0x121')][_0x4ec9('0x3b')](_0x561ad9)&&_0x1f39e2['editing'][_0x4ec9('0xa1')](_0x561ad9);});}),this['_descriptionFactory']=new _0x3fb554(this[_0x4ec9('0xa9')][_0x4ec9('0x12d')][_0x4ec9('0x9c')],this['editor'][_0x4ec9('0xc5')]),this[_0x4ec9('0x6a')]=null,this[_0x4ec9('0x10c')]=new Bt(this['editor']),this[_0x4ec9('0x16d')]=new Map(),this[_0x4ec9('0xef')]=_0x1f39e2['plugins'][_0x4ec9('0xd5')](_0x4ec9('0xb7')),this[_0x4ec9('0x104')]=new Set(),this[_0x4ec9('0x73')]=this['editor'][_0x4ec9('0x12d')],this[_0x4ec9('0x111')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([_0x4ec9('0xf')]),this[_0x4ec9('0xe4')]=new Set(),_0x1f39e2[_0x4ec9('0x16f')][_0x4ec9('0xb5')](_0x4ec9('0x102'),_0x4ec9('0x153')),this[_0x4ec9('0x50')]=_0x1f39e2['config']['get']('trackChanges.trackFormatChanges'),_0x1f39e2[_0x4ec9('0x16f')][_0x4ec9('0xb5')](_0x4ec9('0x4e'),!0x0),this[_0x4ec9('0x8a')]=_0x1f39e2[_0x4ec9('0x16f')]['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x3fb28d(_0x1f39e2,this[_0x4ec9('0x104')]),this[_0x4ec9('0x176')](),this[_0x177c30([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x177c30([0x34,0x30,0x34,0x36,0x32,0x32,0x34,0x32]);}[_0x4ec9('0xcc')](){const _0x541ef9=this[_0x4ec9('0xa9')],_0x57b96d=(_0x2c9a4a,_0x2424be)=>{if(_0x4ec9('0xbd')!=_0x2c9a4a)return _0x4ec9('0x66')+_0x2c9a4a;const _0x274a97=_0x2424be['split']('|')[0x0];return this['_isBlockAttribute'](_0x274a97)?_0x4ec9('0x142'):_0x4ec9('0xd9');};_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0xe3')]({'model':'suggestion','view':_0x5ea55b=>{const {id:_0x459902,type:_0x190092,subType:_0x1ee75a}=this[_0x4ec9('0x93')](_0x5ea55b['markerName']),_0x3b914f=[_0x4ec9('0x15f'),_0x57b96d(_0x190092,_0x1ee75a)];let _0x5de663=0xbb8;return this[_0x4ec9('0xce')][_0x4ec9('0x12c')](_0x5ea55b[_0x4ec9('0x12a')])&&(_0x3b914f[_0x4ec9('0x91')]('ck-suggestion-marker--active'),_0x5de663=0xbc2),_0x4ec9('0x16e')==_0x190092&&(_0x5de663+=0x5),{'classes':_0x3b914f,'attributes':{'data-suggestion':_0x459902},'priority':_0x5de663};}}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')]('dataDowncast')[_0x4ec9('0x7f')](_0x13760a=>{_0x13760a['on'](_0x4ec9('0x4b'),(_0x1c9705,_0x32cc00,_0x471dd8)=>{if(!_0x471dd8['options'][_0x4ec9('0xfe')])return;const _0x677786=_0x32cc00[_0x4ec9('0x3d')];if(!_0x677786)return;const _0x4ed9cd=_0x471dd8[_0x4ec9('0x29')]['toViewElement'](_0x677786);_0x541ef9['model'][_0x4ec9('0x9c')][_0x4ec9('0x156')](_0x677786)&&_0x4ed9cd&&!_0x4ed9cd['getCustomProperty'](_0x4ec9('0x148'))&&_0x4ed9cd['is'](_0x4ec9('0x5b'))&&_0x38d9ca(_0x4ed9cd,_0x471dd8[_0x4ec9('0x85')]);},{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x126')]['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x27cede,_0x175649)=>{if(!_0x175649[_0x4ec9('0x13f')][_0x4ec9('0xfe')])return null;const {type:_0x1c5f2d,subType:_0x593bc3}=this[_0x4ec9('0x93')](_0x27cede[_0x4ec9('0x12a')]);return{'classes':[_0x4ec9('0x15f'),_0x57b96d(_0x1c5f2d,_0x593bc3)],'priority':0xbb8};}});const _0x5d64ef=({showActiveMarkers:_0x1b2fe1=!0x0,isAttributeSuggestion:_0x5e10ca=!0x1}={})=>(_0x1cbd51,_0x2d99ca,_0x241d55)=>{if(!_0x2d99ca[_0x4ec9('0x3d')])return;const {id:_0x49d3d9}=this[_0x4ec9('0x93')](_0x2d99ca['markerName']);if(_0x5e10ca){const _0x299b69=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x49d3d9),_0x11de02=this[_0x4ec9('0x123')](_0x299b69);if(!this[_0x4ec9('0xdc')](_0x11de02))return;}if(_0x2d99ca['item']['is'](_0x4ec9('0xf8')))return void _0x241d55['consumable']['consume'](_0x2d99ca[_0x4ec9('0x3d')],_0x1cbd51['name']);const _0x41b3db=_0x241d55[_0x4ec9('0x29')][_0x4ec9('0x11')](_0x2d99ca['item']);if(_0x2d99ca[_0x4ec9('0x3d')]['is'](_0x4ec9('0x20'))&&_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9c')][_0x4ec9('0x8d')](_0x2d99ca[_0x4ec9('0x3d')])&&!_0x41b3db[_0x4ec9('0xb8')](_0x4ec9('0xda'))){_0x241d55[_0x4ec9('0x85')][_0x4ec9('0x108')](['ck-suggestion-marker',_0x4ec9('0x142')],_0x41b3db),_0x241d55[_0x4ec9('0x85')]['setAttribute'](_0x4ec9('0x47'),_0x49d3d9,_0x41b3db),_0x241d55[_0x4ec9('0x29')][_0x4ec9('0x137')](_0x41b3db,_0x2d99ca['markerName']),_0x1b2fe1&&(this[_0x4ec9('0xce')]['includes'](_0x2d99ca[_0x4ec9('0x12a')])?_0x241d55['writer'][_0x4ec9('0x108')](_0x4ec9('0x169'),_0x41b3db):_0x241d55[_0x4ec9('0x85')][_0x4ec9('0x1e')](_0x4ec9('0x169'),_0x41b3db));for(const _0x2b00bd of _0x541ef9['model'][_0x4ec9('0x37')](_0x2d99ca[_0x4ec9('0x3d')])['getItems']())_0x241d55[_0x4ec9('0xab')]['consume'](_0x2b00bd,_0x1cbd51[_0x4ec9('0x135')]);_0x241d55[_0x4ec9('0xab')][_0x4ec9('0x2d')](_0x2d99ca['item'],_0x1cbd51[_0x4ec9('0x135')]);}};_0x541ef9[_0x4ec9('0x126')]['for'](_0x4ec9('0xc1'))[_0x4ec9('0x7f')](_0x2ff845=>{_0x2ff845['on'](_0x4ec9('0x146'),(_0x4d3d1c,_0x58f0b1,_0x52d4b1)=>{_0x52d4b1['options'][_0x4ec9('0xfe')]&&_0x5d64ef({'showActiveMarkers':!0x1})(_0x4d3d1c,_0x58f0b1,_0x52d4b1);},{'priority':_0x4ec9('0x68')});}),_0x541ef9['conversion'][_0x4ec9('0x41')](_0x4ec9('0xc1'))[_0x4ec9('0x7f')](_0x322061=>{_0x322061['on'](_0x4ec9('0x96'),(_0x136609,_0x1dc003,_0x22cd03)=>{_0x22cd03[_0x4ec9('0x13f')][_0x4ec9('0xfe')]&&_0x5d64ef({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x136609,_0x1dc003,_0x22cd03);},{'priority':_0x4ec9('0x68')});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0xc1'))[_0x4ec9('0x76')]({'model':_0x4ec9('0x59'),'view':(_0x448868,_0x595076)=>_0x595076[_0x4ec9('0x13f')]['showSuggestionHighlights']?null:{'group':_0x4ec9('0x59'),'name':_0x448868['substr'](0xb)}}),_0x541ef9['conversion'][_0x4ec9('0x41')](_0x4ec9('0x6b'))['elementToElement']({'view':{'name':_0x4ec9('0x59'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1e6b4f,{writer:_0x2cb0ef})=>{let _0x348277=_0x4ec9('0xd2')+_0x1e6b4f[_0x4ec9('0x77')](_0x4ec9('0x11c'))+':'+_0x1e6b4f['getAttribute']('id');return _0x1e6b4f[_0x4ec9('0x77')](_0x4ec9('0x1d'))&&(_0x348277+=':'+_0x1e6b4f[_0x4ec9('0x77')](_0x4ec9('0x1d'))),_0x2cb0ef[_0x4ec9('0x106')](_0x4ec9('0x57'),{'data-name':_0x348277});}}),_0x541ef9[_0x4ec9('0x126')]['for'](_0x4ec9('0x6b'))[_0x4ec9('0xa4')]({'view':_0x4ec9('0x59')}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0x7f')](_0x3031a4=>{_0x3031a4['on'](_0x4ec9('0x146'),_0x5d64ef(),{'priority':'high'});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))['add'](_0x39caec=>{_0x39caec['on'](_0x4ec9('0x96'),_0x5d64ef({'isAttributeSuggestion':!0x0}),{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0x7f')](_0x12e689=>{_0x12e689['on']('removeMarker:suggestion:formatBlock',(_0xdbc048,_0xf63d2e,_0x10531b)=>{const _0x3bbb80=_0x10531b[_0x4ec9('0x29')][_0x4ec9('0xfb')](_0xf63d2e['markerName']);if(_0x3bbb80)for(const _0x5c1e63 of _0x3bbb80)_0x5c1e63[_0x4ec9('0xb8')]('addHighlight')||(_0x10531b[_0x4ec9('0x85')]['removeClass']([_0x4ec9('0x15f'),_0x4ec9('0x142'),'ck-suggestion-marker--active'],_0x5c1e63),_0x10531b['writer'][_0x4ec9('0xf9')](_0x4ec9('0x47'),_0x5c1e63),_0x10531b[_0x4ec9('0x29')][_0x4ec9('0x11f')](_0x5c1e63,_0xf63d2e['markerName']));},{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0x7f')](_0x569aa3=>{_0x569aa3['on'](_0x4ec9('0x9'),(_0x353e56,_0x280583,_0xc917a)=>{const _0x3ea31d=_0xc917a[_0x4ec9('0x29')]['markerNameToElements'](_0x280583['markerName']);if(!_0x3ea31d)return;const {id:_0x49e966}=this[_0x4ec9('0x93')](_0x280583[_0x4ec9('0x12a')]),_0x37677d=this[_0x4ec9('0x16d')]['get'](_0x49e966),_0xd44496=this[_0x4ec9('0x123')](_0x37677d);if(this[_0x4ec9('0xdc')](_0xd44496))for(const _0x4ce991 of _0x3ea31d)_0x4ce991[_0x4ec9('0xb8')](_0x4ec9('0xda'))||(_0xc917a[_0x4ec9('0x85')]['removeClass']([_0x4ec9('0x15f'),_0x4ec9('0x142'),_0x4ec9('0x169')],_0x4ce991),_0xc917a[_0x4ec9('0x85')][_0x4ec9('0xf9')]('data-suggestion',_0x4ce991),_0xc917a[_0x4ec9('0x29')][_0x4ec9('0x11f')](_0x4ce991,_0x280583[_0x4ec9('0x12a')]));},{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')]['registerPostFixer'](_0x293e2d=>{let _0x131c8e=!0x1;const _0x11db04=Array[_0x4ec9('0xe1')](_0x541ef9['model'][_0x4ec9('0x9f')]['differ'][_0x4ec9('0x115')]()),_0x3a8492=new Set();for(const {name:_0x268c22,data:_0x3d8d62}of _0x11db04){const {group:_0x2cc39a,type:_0x2c6ed0,subType:_0xdb84b6,id:_0x6cf975}=this[_0x4ec9('0x93')](_0x268c22);if('suggestion'!==_0x2cc39a)continue;const _0x325d2c=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x6cf975);if(null!=_0x3d8d62[_0x4ec9('0xf4')]){_0x4ec9('0x162')==_0x2c6ed0&&(_0x131c8e=_0x131c8e||Et(_0x3d8d62[_0x4ec9('0xf4')],_0x268c22,_0x293e2d,_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9c')]));const _0x561259='attribute'==_0x2c6ed0&&this['_isBlockAttribute'](_0xdb84b6[_0x4ec9('0x15b')]('|')[0x0]);if(_0x3d8d62[_0x4ec9('0xf4')][_0x4ec9('0xa0')]||_0x4ec9('0xa5')==_0x3d8d62[_0x4ec9('0xf4')][_0x4ec9('0x83')][_0x4ec9('0xaa')]||'formatBlock'==_0x2c6ed0&&!jt(_0x3d8d62[_0x4ec9('0xf4')])||_0x561259&&!jt(_0x3d8d62[_0x4ec9('0xf4')])||_0x4ec9('0x16e')==_0x2c6ed0&&!(!xt(_0x57f2a3=_0x3d8d62[_0x4ec9('0xf4')])&&!function(_0x4e1cdd){return _0x4e1cdd['start']['parent']==_0x4e1cdd[_0x4ec9('0x2')][_0x4ec9('0xb1')]&&_0x4e1cdd[_0x4ec9('0x69')][_0x4ec9('0x8c')];}(_0x57f2a3)))_0x293e2d[_0x4ec9('0xb9')](_0x268c22),_0x131c8e=!0x0;else{if(!_0x325d2c||!_0x325d2c['isInContent'])continue;_0x3a8492[_0x4ec9('0x7f')](_0x325d2c);}}}var _0x57f2a3;return _0x3a8492[_0x4ec9('0x12')]>0x0&&(_0x131c8e=!!this['_joinWithAdjacentSuggestions'](_0x3a8492)||_0x131c8e),_0x131c8e;}),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')][_0x4ec9('0xfc')](_0x31cbcd=>{let _0x4165d7=!0x1;for(const _0x1afb5c of _0x541ef9['model'][_0x4ec9('0x9f')][_0x4ec9('0x7b')][_0x4ec9('0x168')]())if(_0x4ec9('0x105')==_0x1afb5c[_0x4ec9('0xff')])for(const _0x1f19da of this[_0x4ec9('0x16d')][_0x4ec9('0x160')]()){if(_0x1f19da[_0x4ec9('0x74')]||!_0x1f19da['isInContent'])continue;const _0x16e69d=_0x4ec9('0x13e')==_0x1f19da['type'],_0x368b81=this[_0x4ec9('0x123')](_0x1f19da),_0x415c16=_0x368b81&&this[_0x4ec9('0xdc')](_0x368b81);if(!_0x16e69d&&!_0x415c16)continue;const _0x3d70a4=_0x1f19da[_0x4ec9('0x43')]();if(_0x3d70a4[_0x4ec9('0x69')][_0x4ec9('0xdb')]!=_0x3d70a4[_0x4ec9('0x2')][_0x4ec9('0xdb')]&&!_0x3d70a4['end'][_0x4ec9('0x8c')]){const _0x3e1e09=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xe2')](_0x3d70a4[_0x4ec9('0x69')][_0x4ec9('0xf5')],_0x4ec9('0x2')),_0x3d5740=_0x541ef9[_0x4ec9('0x12d')]['createRange'](_0x3d70a4['start'],_0x3e1e09);_0x31cbcd[_0x4ec9('0x52')](_0x1f19da[_0x4ec9('0x6e')](),{'range':_0x3d5740}),_0x4165d7=!0x0;}}return _0x4165d7;}),_0x541ef9[_0x4ec9('0x12d')]['document'][_0x4ec9('0xfc')](_0x1192d3=>this[_0x4ec9('0x8')](_0x1192d3)),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')][_0x4ec9('0xfc')](_0x1dd4c7=>!_0x1dd4c7[_0x4ec9('0x22')][_0x4ec9('0x3')]&&this[_0x4ec9('0x90')](_0x1dd4c7)),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x121')]['on']('update:suggestion',(_0x4e53fc,_0x1bc61e,_0x47061a)=>{if(null==_0x47061a){const {id:_0x11dc50}=this['_splitMarkerName'](_0x1bc61e[_0x4ec9('0x135')]),_0x4e8e49=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x11dc50);_0x4e8e49&&_0x4e8e49[_0x4ec9('0x11e')](_0x1bc61e[_0x4ec9('0x135')]);}}),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')]['on'](_0x4ec9('0x173'),()=>{const _0x3630a4=Array[_0x4ec9('0xe1')](_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')]['differ']['getChangedMarkers']())[_0x4ec9('0x3c')](_0x899a2e=>'suggestion'===this[_0x4ec9('0x93')](_0x899a2e[_0x4ec9('0x135')])[_0x4ec9('0xfa')]);if(0x0===_0x3630a4['length'])return;_0x3630a4[_0x4ec9('0x141')]((_0x2a056e,_0x5c517a)=>{const _0xf3c4f6=_0x2a056e[_0x4ec9('0x16')][_0x4ec9('0x100')],_0x1cbad8=_0x5c517a['data'][_0x4ec9('0x100')];return null===_0xf3c4f6&&null===_0x1cbad8?0x0:null===_0xf3c4f6&&null!==_0x1cbad8?-0x1:null!==_0xf3c4f6&&null===_0x1cbad8?0x1:_0xf3c4f6[_0x4ec9('0x69')][_0x4ec9('0xba')](_0x1cbad8[_0x4ec9('0x69')])?-0x1:0x1;});const _0x54bc0c=new Set(),_0x580391=new Set();for(const {name:_0x12f87c,data:_0x150854}of _0x3630a4){const {id:_0xfd0109}=this[_0x4ec9('0x93')](_0x12f87c);if(null===_0x150854['oldRange']){const _0x4384fc=this[_0x4ec9('0xdf')](_0x12f87c);_0x580391[_0x4ec9('0x7f')](_0x4384fc);}else{const _0x41ad55=this[_0x4ec9('0x16d')]['get'](_0xfd0109);null!==_0x150854[_0x4ec9('0xf4')]||_0x41ad55[_0x4ec9('0x79')]?(_0x54bc0c[_0x4ec9('0x7f')](_0x41ad55[_0x4ec9('0xe6')]),_0x580391[_0x4ec9('0x7f')](_0x41ad55)):this['_removeSuggestion'](_0x41ad55);}}_0x580391[_0x4ec9('0x12')]>0x0&&this['_refreshSuggestionsChain'](_0x580391);for(const _0x24ad51 of _0x54bc0c)this['fire'](_0x4ec9('0x32'),_0x24ad51);}),_0x541ef9[_0x4ec9('0x12d')]['on'](_0x4ec9('0x16b'),(_0x33f143,_0x4fbd63)=>{const _0x26dddc=_0x4fbd63[0x0];if(!this[_0x4ec9('0x16d')][_0x4ec9('0x12')])return;if(!_0x26dddc[_0x4ec9('0x61')])return;if(_0x26dddc[_0x4ec9('0x22')]['isUndo']||!_0x26dddc[_0x4ec9('0x22')][_0x4ec9('0x3')])return;let _0x34a301,_0xa4ec06;switch(_0x26dddc['type']){case'insert':_0x34a301=_0x541ef9['model'][_0x4ec9('0xe2')](_0x26dddc['position']),_0xa4ec06=_0x34a301[_0x4ec9('0x34')](_0x26dddc[_0x4ec9('0xe7')]);break;case _0x4ec9('0x15b'):_0x34a301=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xe2')](_0x26dddc['splitPosition']),_0xa4ec06=_0x541ef9['model']['createPositionAt'](_0x26dddc['moveTargetPosition']);break;case _0x4ec9('0x7'):_0x34a301=_0x541ef9['model']['createPositionAt'](_0x26dddc[_0x4ec9('0x49')]),_0xa4ec06=_0x34a301['getShiftedBy'](_0x26dddc[_0x4ec9('0xe7')]);break;default:return;}const _0x59e644=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x103')](_0x34a301,_0xa4ec06);_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x109')](()=>{for(const {suggestion:_0x42dec2,meta:_0x57d9e6}of this[_0x4ec9('0xd8')](_0x59e644)){if(_0x42dec2[_0x4ec9('0x74')])continue;if(_0x4ec9('0x162')==_0x42dec2[_0x4ec9('0xff')])continue;const _0x195d18=this[_0x4ec9('0x123')](_0x42dec2);if(_0x195d18&&this[_0x4ec9('0xdc')](_0x195d18)&&_0x4ec9('0x15b')!=_0x26dddc[_0x4ec9('0xff')])continue;const _0x30a4fb=_0x42dec2['data']&&_0x42dec2[_0x4ec9('0x16')][_0x4ec9('0x98')];(_0x4ec9('0x13e')!=_0x42dec2['type']||'split'==_0x26dddc[_0x4ec9('0xff')]&&!_0x30a4fb)&&(_0x57d9e6['containsRangeInObject']||'insertion'==_0x42dec2[_0x4ec9('0xff')]&&_0x57d9e6[_0x4ec9('0xb2')]||_0x42dec2['getFirstRange']()[_0x4ec9('0x14a')](_0x59e644)&&this['_breakSuggestionMarker'](_0x42dec2,_0x34a301,_0xa4ec06));}});},{'priority':_0x4ec9('0x179')}),_0x541ef9[_0x4ec9('0x12d')]['on'](_0x4ec9('0xd'),(_0x203297,_0x30978e)=>{const _0x28d3b6=_0x30978e[0x0],_0x295d1d=_0x30978e[0x1];if(_0x295d1d&&_0x295d1d[_0x4ec9('0x128')])return;if(this[_0x4ec9('0x172')])return;if(!this[_0x4ec9('0xc3')][_0x4ec9('0x117')])return;if(_0x28d3b6[_0x4ec9('0xa0')])return;const _0x49c518=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9c')],{start:_0x5076a5,end:_0x60af9b}=_0x28d3b6['getFirstRange'](),_0x466365=_0x5076a5[_0x4ec9('0xf5')]&&_0x49c518['isLimit'](_0x5076a5[_0x4ec9('0xf5')])?null:_0x49c518[_0x4ec9('0x62')](_0x5076a5,_0x4ec9('0x8b')),_0x56b3d3=_0x60af9b['nodeBefore']&&_0x49c518[_0x4ec9('0x13')](_0x60af9b['nodeBefore'])?null:_0x49c518[_0x4ec9('0x62')](_0x60af9b,_0x4ec9('0x107')),_0x4d7ddb=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x103')](_0x466365?_0x466365[_0x4ec9('0x69')]:_0x5076a5,_0x56b3d3?_0x56b3d3['end']:_0x60af9b);_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x109')](_0x3a1021=>{this[_0x4ec9('0x87')](_0x4d7ddb);const _0x301c3d=_0x541ef9[_0x4ec9('0x12d')]['schema'][_0x4ec9('0x62')](_0x4d7ddb[_0x4ec9('0x69')]);_0x28d3b6['is'](_0x4ec9('0x7a'))?_0x3a1021[_0x4ec9('0x24')](_0x301c3d):_0x28d3b6['setTo'](_0x301c3d);}),_0x203297['stop']();},{'priority':_0x41a271[_0x4ec9('0x11d')]+0xa}),_0x541ef9[_0x4ec9('0x12d')]['on']('insertContent',(_0x49c754,_0x1524c7)=>{const _0x5822eb=_0x1524c7[_0x1524c7[_0x4ec9('0x6f')]-0x1];_0x5822eb&&_0x5822eb[_0x4ec9('0x128')]||this[_0x4ec9('0x172')]||this['trackChangesCommand'][_0x4ec9('0x117')]&&(_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x109')](()=>{let _0x2b1259=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xa6')](_0x1524c7[0x0],_0x1524c7[0x1],_0x1524c7[0x2],{'forceDefaultExecution':!0x0});if(!_0x2b1259)return;_0x49c754['return']=_0x2b1259['clone']();const _0x2ef1cb=_0x2b1259[_0x4ec9('0x2')][_0x4ec9('0xb1')],_0x2bcdea=_0x541ef9['model'][_0x4ec9('0x9c')];_0x2ef1cb&&_0x2bcdea[_0x4ec9('0x8d')](_0x2ef1cb)&&!_0x2bcdea['isObject'](_0x2ef1cb)&&(_0x2b1259=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x103')](_0x2b1259[_0x4ec9('0x69')],_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xe2')](_0x2ef1cb,'end'))),this[_0x4ec9('0x26')](_0x2b1259);}),_0x49c754[_0x4ec9('0x175')]());},{'priority':'high'}),this['editor'][_0x4ec9('0x167')]['add'](_0x4ec9('0x158'),this[_0x4ec9('0xc3')]),this[_0x4ec9('0x13c')]('trackChanges');const _0x533eca=new _0x33e564(_0x541ef9,this[_0x4ec9('0x16d')]);_0x541ef9[_0x4ec9('0x167')][_0x4ec9('0x7f')]('acceptSuggestion',_0x533eca),this[_0x4ec9('0x13c')](_0x4ec9('0xf3'));const _0x510701=new _0x1ff2d4(_0x541ef9,this[_0x4ec9('0x16d')]);_0x541ef9[_0x4ec9('0x167')][_0x4ec9('0x7f')](_0x4ec9('0x56'),_0x510701),this[_0x4ec9('0x13c')](_0x4ec9('0x56')),_0x541ef9[_0x4ec9('0x167')][_0x4ec9('0x7f')](_0x4ec9('0x131'),new _0x5e8d97(_0x541ef9,_0x533eca,this[_0x4ec9('0x16d')])),this['enableCommand'](_0x4ec9('0x131')),_0x541ef9[_0x4ec9('0x167')]['add']('discardAllSuggestions',new _0x5e8d97(_0x541ef9,_0x510701,this[_0x4ec9('0x16d')])),this[_0x4ec9('0x13c')](_0x4ec9('0xfd')),_0x541ef9[_0x4ec9('0x167')]['add'](_0x4ec9('0x133'),new _0x535a51(_0x541ef9,_0x533eca,this[_0x4ec9('0x16d')])),this['enableCommand'](_0x4ec9('0x133')),_0x541ef9['commands']['add']('discardSelectedSuggestions',new _0x535a51(_0x541ef9,_0x510701,this['_suggestions'])),this[_0x4ec9('0x13c')](_0x4ec9('0x3f'));const _0xcb5ec2=_0x541ef9[_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0xb7'));this[_0x4ec9('0x5f')](_0xcb5ec2,_0x4ec9('0x46'),(_0x3404fe,{threadId:_0xda3e65})=>{const _0xcc4bd1=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0xda3e65);_0xcc4bd1&&_0xcc4bd1['commentThread']&&0x1===_0xcc4bd1[_0x4ec9('0x40')][_0x4ec9('0x6f')]&&this[_0x4ec9('0xec')](_0xda3e65,{'hasComments':!0x0});},{'priority':_0x4ec9('0x65')}),this[_0x4ec9('0x5f')](_0xcb5ec2,'removeComment',(_0x4e8170,{threadId:_0x5b49d4})=>{const _0x1ec050=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x5b49d4);_0x1ec050&&_0x1ec050[_0x4ec9('0x40')]&&!_0x1ec050[_0x4ec9('0x40')]['length']&&this[_0x4ec9('0xec')](_0x5b49d4,{'hasComments':!0x1});},{'priority':_0x4ec9('0x65')});}set[_0x4ec9('0x31')](_0x2e532c){if(this[_0x4ec9('0x6a')])throw new _0xbf6c7b('track-changes-adapter-already-set',this);this[_0x4ec9('0x6a')]=_0x2e532c;}get['adapter'](){return this['_adapter'];}[_0x4ec9('0x86')]({skipNotAttached:_0xd146e5=!0x1,toJSON:_0x434bc4=!0x1}={}){const _0x2111bd=[];for(const _0x4a6701 of this['_suggestions']['values']())_0xd146e5&&!_0x4a6701['isInContent']||_0x2111bd['push'](_0x4a6701);return _0x434bc4?_0x2111bd['map'](_0x43084f=>_0x43084f[_0x4ec9('0x147')]()):_0x2111bd;}[_0x4ec9('0x152')](_0x289acf){const _0x313117=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x289acf);if(!_0x313117)throw new _0xbf6c7b(_0x4ec9('0x14'),this);return _0x313117;}[_0x4ec9('0x17')](_0x7e6ad2){return this[_0x4ec9('0x16d')]['has'](_0x7e6ad2);}[_0x4ec9('0x12f')](_0x44070d){const {authorId:_0x19745e,id:_0x2962cc,attributes:_0x8c0a66}=_0x44070d,[_0xf0d4f9,_0x59f5ef]=_0x44070d['type'][_0x4ec9('0x15b')](':'),_0x47eb7=this[_0x4ec9('0x16d')]['get'](_0x2962cc)||this[_0x4ec9('0x120')](_0xf0d4f9,_0x59f5ef,_0x2962cc,_0x19745e,_0x8c0a66);if(this[_0x4ec9('0x112')](_0x47eb7),this[_0x4ec9('0xbc')](_0x47eb7,_0xf0d4f9,_0x59f5ef||null,_0x19745e),_0x47eb7['createdAt']=_0x44070d[_0x4ec9('0x99')],_0x47eb7[_0x4ec9('0xc2')]=!0x0,_0x8c0a66&&_0x8c0a66[_0x4ec9('0x171')]){const _0x1c2b58=_0x8c0a66[_0x4ec9('0x171')],_0x1eb8f3=this[_0x4ec9('0xbb')](_0x1c2b58[_0x4ec9('0xe')]);_0x47eb7[_0x4ec9('0xbe')]=_0x1c2b58[_0x4ec9('0x99')],_0x47eb7[_0x4ec9('0x71')]=_0x1eb8f3,_0x47eb7['isExternal']=!0x0;}else _0x47eb7[_0x4ec9('0xbe')]=_0x44070d[_0x4ec9('0x99')];switch(_0x44070d[_0x4ec9('0x16')]&&(_0x47eb7[_0x4ec9('0x16')]=_0x44070d[_0x4ec9('0x16')]),_0x44070d[_0x4ec9('0xe5')]&&(_0x47eb7[_0x4ec9('0xe5')]=_0x44070d[_0x4ec9('0xe5')]),this['_adapter']&&this[_0x4ec9('0x6a')][_0x4ec9('0x13a')]||(_0x47eb7[_0x4ec9('0xe8')]=!0x0),this[_0x4ec9('0x111')][_0x4ec9('0xd5')](_0x47eb7)){case _0x4ec9('0xb'):this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x47eb7,_0x4ec9('0x54'));break;case _0x4ec9('0xaf'):_0x47eb7[_0x4ec9('0x79')]?(this['_refreshSuggestionsChain'](new Set([_0x47eb7])),this['_joinWithAdjacentSuggestions'](new Set([_0x47eb7])),this['_suggestionState'][_0x4ec9('0x12e')](_0x47eb7,_0x4ec9('0x150')),this[_0x4ec9('0x8e')](_0x4ec9('0x3e'),_0x47eb7)):this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x47eb7,'removed');}return _0x47eb7;}['acceptSuggestion'](_0x4216a8){this[_0x4ec9('0x128')](()=>{this[_0x4ec9('0xa9')][_0x4ec9('0x12d')][_0x4ec9('0x109')](()=>{for(const _0x4edf54 of _0x4216a8[_0x4ec9('0xc0')]())_0x4edf54['accept']();});});}['discardSuggestion'](_0x163a41){this[_0x4ec9('0x128')](()=>{this[_0x4ec9('0xa9')][_0x4ec9('0x12d')]['change'](()=>{for(const _0x4af5be of _0x163a41[_0x4ec9('0xc0')]())_0x4af5be[_0x4ec9('0x92')]();});});}[_0x4ec9('0x13c')](_0x3824f7,_0x3f487e){const _0x2ec485=this[_0x4ec9('0xa9')][_0x4ec9('0x167')][_0x4ec9('0xd5')](_0x3824f7);if(!_0x2ec485)throw new _0xbf6c7b('track-changes-command-not-found',this,{'commandName':_0x3824f7});if(this['_enabledCommands'][_0x4ec9('0x3b')](_0x2ec485))throw new _0xbf6c7b('track-changes-enable-command-twice',this,{'commandName':_0x3824f7});this[_0x4ec9('0x104')]['add'](_0x2ec485),_0x3f487e&&_0x2ec485['on'](_0x4ec9('0xf2'),(_0x38b132,_0x362233)=>{this[_0x4ec9('0xc3')]['value']&&(this[_0x4ec9('0x172')]||(_0x362233['length']>0x0&&_0x362233[_0x362233[_0x4ec9('0x6f')]-0x1]&&_0x362233[_0x362233[_0x4ec9('0x6f')]-0x1]['forceDefaultExecution']?_0x362233[_0x4ec9('0x127')]():(_0x38b132[_0x4ec9('0x53')]=_0x3f487e((..._0x11c588)=>_0x2ec485[_0x4ec9('0xf2')](..._0x11c588,{'forceDefaultExecution':!0x0}),..._0x362233),_0x38b132[_0x4ec9('0x175')]())));},{'priority':_0x4ec9('0x110')});}[_0x4ec9('0x128')](_0x13249d){let _0x22a91d,_0x3daaea;const _0x569200=this[_0x4ec9('0x172')];this[_0x4ec9('0x172')]=!0x0;try{_0x22a91d=_0x13249d();}catch(_0x54711c){_0x3daaea=_0x54711c;}return _0x569200||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x3daaea&&_0xbf6c7b['rethrowUnexpectedError'](_0x3daaea,this),_0x22a91d;}[_0x4ec9('0x26')](_0x3846fe,_0x50a50e=null,_0x58c508={}){if(_0x3846fe['isCollapsed'])return null;const _0x584bd5=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('Users')['me'];for(const {suggestion:_0x573c36,meta:_0x321c65}of this['_findSuggestions'](_0x3846fe,_0x4ec9('0xc4')))if(_0x321c65[_0x4ec9('0xb2')]){if(!_0x321c65['isNextTo']){if(_0x321c65[_0x4ec9('0x13b')]){if(!this[_0x4ec9('0x8a')]||!Ft(_0x573c36,_0x58c508))continue;return _0x573c36;}if(Ft(_0x573c36,_0x58c508))return _0x573c36;this[_0x4ec9('0xd4')](_0x573c36,_0x3846fe['start'],_0x3846fe[_0x4ec9('0x2')]);break;}if(_0x50a50e==_0x573c36[_0x4ec9('0x155')]&&Ft(_0x573c36,_0x58c508)){const _0x2c2bae=_0x573c36[_0x4ec9('0x43')]();return _0x2c2bae[_0x4ec9('0x69')][_0x4ec9('0x28')](_0x3846fe[_0x4ec9('0x2')])?this['_setSuggestionRange'](_0x573c36,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x3846fe[_0x4ec9('0x69')],_0x2c2bae[_0x4ec9('0x2')])):this[_0x4ec9('0x60')](_0x573c36,this[_0x4ec9('0x73')]['createRange'](_0x2c2bae[_0x4ec9('0x69')],_0x3846fe[_0x4ec9('0x2')])),_0x573c36;}}const _0x9d9a1c=_0x1a1471(),_0x252fa6=_0x584bd5['id'],_0x1f5c1d=_0x50a50e?_0x4ec9('0x13d')+_0x50a50e:'insertion',_0x2481dd=this['_setSuggestionData']({'id':_0x9d9a1c,'type':_0x1f5c1d,'createdAt':new Date(),'authorId':_0x252fa6,'attributes':_0x58c508});return this[_0x4ec9('0x177')](_0x1f5c1d,_0x9d9a1c,_0x252fa6,_0x3846fe),_0x2481dd;}[_0x4ec9('0x11a')](_0x4706ce,_0x5c1ed2='multi',_0x301f5e={}){const _0x4ff796=this['editor']['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0xc046b1=this['_suggestionFactory'][_0x4ec9('0xd7')]('insertion',_0x5c1ed2,'join');for(const _0xb0d1af of this[_0x4ec9('0x86')]())if(_0xb0d1af[_0x4ec9('0x71')]['id']==_0x4ff796['id']&&_0x4ec9('0xc4')==_0xb0d1af['type']&&_0xb0d1af['subType']==_0x5c1ed2&&Ft(_0xb0d1af,_0x301f5e)&&(_0xc046b1(_0xb0d1af[_0x4ec9('0x94')](),_0x4706ce)||_0xc046b1(_0x4706ce,_0xb0d1af[_0x4ec9('0x94')]()))){for(const _0x290faa of _0x4706ce)_0xb0d1af[_0x4ec9('0x9e')](_0x290faa);return _0xb0d1af;}for(const {suggestion:_0x207a23,meta:_0x1f7505}of this[_0x4ec9('0xd8')](_0x4706ce,_0x4ec9('0xc4'))){if(!_0x1f7505[_0x4ec9('0xb2')])continue;if(!this[_0x4ec9('0x8a')]&&_0x1f7505[_0x4ec9('0x13b')])continue;if(!Ft(_0x207a23,_0x301f5e))continue;let _0x17b693=!0x0;for(const _0x59c382 of _0x207a23['getRanges']())for(const _0x63d845 of _0x4706ce)if(!_0x59c382[_0x4ec9('0x14a')](_0x63d845)){_0x17b693=!0x1;break;}if(_0x17b693)return _0x207a23;}const _0x2460a8=_0x1a1471(),_0x5cb578=_0x4ff796['id'],_0x5952bd=_0x4ec9('0x13d')+_0x5c1ed2,_0x457cde=this[_0x4ec9('0x36')]({'id':_0x2460a8,'type':_0x5952bd,'createdAt':new Date(),'authorId':_0x5cb578,'attributes':_0x301f5e});for(const _0x10c5bd of _0x4706ce)this[_0x4ec9('0x177')](_0x5952bd,_0x2460a8,_0x5cb578,_0x10c5bd,_0x3f936a[_0x4ec9('0x136')]());return _0x457cde;}[_0x4ec9('0x1f')](_0x1cee60,_0x7c6f39,_0x2c0999=null,_0x522d70={}){if(_0x2c0999=_0x2c0999||Rt(_0x7c6f39),_0x1cee60[_0x4ec9('0xa0')])return null;if('never'===this[_0x4ec9('0x50')]){const _0x418102=this[_0x4ec9('0x10c')]['getSuggestionCallback'](_0x4ec9('0x162'),_0x2c0999,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x418102([_0x1cee60],_0x7c6f39,_0x522d70)),null;}const _0x2861a2=this[_0x4ec9('0xa9')]['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0x40d86b=[];if(_0x4ec9('0xd1')!==this[_0x4ec9('0x50')])for(const {suggestion:_0x141648,meta:_0x53f700}of this[_0x4ec9('0xd8')](_0x1cee60,_0x4ec9('0xc4')))_0x53f700[_0x4ec9('0xb2')]&&!_0x53f700['isInsideObject']&&_0x40d86b['push'](..._0x141648[_0x4ec9('0x94')]());const _0x2c1412=function(_0x4e8695,_0x5bed30){const _0x2a9547=[];for(const _0x4e1441 of _0x5bed30){const _0xf054f6=_0x4e8695[_0x4ec9('0xc8')](_0x4e1441);_0xf054f6&&_0x2a9547['push'](_0xf054f6);}return _0x2a9547;}(_0x1cee60,_0x40d86b),_0x216007=function(_0x28c574,_0x23a37e){const _0x1a72f5=[_0x28c574];for(const _0x24ca5f of _0x23a37e){let _0x393322=0x0;for(;_0x393322<_0x1a72f5[_0x4ec9('0x6f')];){const _0x2e6e80=_0x1a72f5[_0x393322]['getDifference'](_0x24ca5f);_0x1a72f5[_0x4ec9('0x2c')](_0x393322,0x1,..._0x2e6e80),_0x393322+=_0x2e6e80['length'];}}return _0x1a72f5;}(_0x1cee60,_0x40d86b);_0x2c1412[_0x4ec9('0x6f')]&&this['_model'][_0x4ec9('0x109')](()=>{for(const _0x4bfd95 of _0x2c1412){const _0x3b310b=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x162'),_0x2c0999,_0x4ec9('0xe0'));this[_0x4ec9('0x128')](()=>_0x3b310b([_0x4bfd95],_0x7c6f39,_0x522d70));}});for(const _0x2e7e68 of _0x216007){let _0x546748=null,_0x46cb14=_0x2e7e68['start'],_0x4fb6bc=_0x2e7e68[_0x4ec9('0x2')];for(const {suggestion:_0x3413f6,meta:_0x3a2d94}of this[_0x4ec9('0xd8')](_0x2e7e68,_0x4ec9('0x162'))){if(!_0x3a2d94['isOwn'])continue;if(_0x3413f6[_0x4ec9('0x155')]!=_0x2c0999)continue;if(!Ft(_0x3413f6,_0x522d70))continue;const _0x57e73c=_0x3413f6['getFirstRange']();if(_0x57e73c['containsRange'](_0x2e7e68,!0x0))return null;_0x46cb14=_0x46cb14['isBefore'](_0x57e73c['start'])?_0x46cb14:_0x57e73c[_0x4ec9('0x69')],_0x4fb6bc=_0x4fb6bc[_0x4ec9('0xf6')](_0x57e73c[_0x4ec9('0x2')])?_0x4fb6bc:_0x57e73c[_0x4ec9('0x2')],_0x546748?_0x57e73c[_0x4ec9('0x69')]['isBefore'](_0x546748[_0x4ec9('0x43')]()[_0x4ec9('0x69')])?(_0x546748[_0x4ec9('0x6d')](),_0x546748=_0x3413f6):_0x3413f6[_0x4ec9('0x6d')]():_0x546748=_0x3413f6;}const _0xe9dd75=this['_model']['createRange'](_0x46cb14,_0x4fb6bc);if(_0x546748)this[_0x4ec9('0x60')](_0x546748,_0xe9dd75);else{const _0x338337=_0x1a1471(),_0xa237a5=_0x2861a2['id'];this[_0x4ec9('0x36')]({'id':_0x338337,'type':_0x4ec9('0x21')+_0x2c0999,'data':_0x7c6f39,'createdAt':new Date(),'authorId':_0xa237a5,'attributes':_0x522d70}),this[_0x4ec9('0x177')](_0x4ec9('0x21')+_0x2c0999,_0x338337,_0xa237a5,_0xe9dd75);}}return null;}[_0x4ec9('0x145')](_0x16aa12,_0x54af70,_0x44296c=[],_0x3d9e66=null,_0x1e7ebe={}){_0x54af70['formatGroupId']||(_0x54af70[_0x4ec9('0x161')]=_0x54af70[_0x4ec9('0x1')]),_0x54af70[_0x4ec9('0x98')]=_0x16aa12['is'](_0x4ec9('0xdd')),_0x3d9e66=_0x3d9e66||Rt(_0x54af70);const _0x24c3b2=_0x44296c[_0x4ec9('0x143')](_0x467ff9=>Ut(_0x467ff9,this[_0x4ec9('0x73')])),_0x104852=_0x16aa12['is'](_0x4ec9('0xdd'))?_0x16aa12:Ut(_0x16aa12,this['_model']);if('never'===this[_0x4ec9('0x50')]){const _0x3a68f9=this['_suggestionFactory'][_0x4ec9('0xd7')]('formatBlock',_0x3d9e66,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x3a68f9([_0x104852],_0x54af70,_0x1e7ebe)),null;}_0x24c3b2[_0x4ec9('0x91')](_0x104852);let _0x438dc3=!0x0;for(const _0x356a91 of _0x24c3b2)if(!this[_0x4ec9('0x1c')](_0x356a91)){_0x438dc3=!0x1;break;}if(_0x438dc3&&'always'!==this['_trackFormatChanges']){const _0x12aa3d=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x13e'),_0x3d9e66,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x12aa3d([_0x104852],_0x54af70,_0x1e7ebe)),null;}let _0x379cec=null,_0xe63e1d=_0x104852[_0x4ec9('0x69')],_0x2560d2=_0x104852[_0x4ec9('0x2')];for(const {suggestion:_0x3821d2,meta:_0x4c28f5}of this[_0x4ec9('0xd8')](_0x104852,_0x4ec9('0x13e'))){if(!_0x4c28f5[_0x4ec9('0xb2')])continue;if(_0x4c28f5['isNextTo']||_0x4c28f5[_0x4ec9('0x13b')]||_0x4c28f5[_0x4ec9('0x80')])continue;if(_0x3821d2['data'][_0x4ec9('0x161')]!=_0x54af70[_0x4ec9('0x161')])continue;if(!Ft(_0x3821d2,_0x1e7ebe))continue;const _0x31962f=_0x3821d2['getFirstRange']();if(_0x3821d2['subType']==_0x3d9e66){if(_0x31962f['containsRange'](_0x104852,!0x0))return null;_0xe63e1d=_0xe63e1d['isBefore'](_0x31962f[_0x4ec9('0x69')])?_0xe63e1d:_0x31962f[_0x4ec9('0x69')],_0x2560d2=_0x2560d2[_0x4ec9('0xf6')](_0x31962f[_0x4ec9('0x2')])?_0x2560d2:_0x31962f['end'],_0x379cec?_0x31962f[_0x4ec9('0x69')]['isBefore'](_0x379cec[_0x4ec9('0x43')]()[_0x4ec9('0x69')])?(_0x379cec[_0x4ec9('0x6d')](),_0x379cec=_0x3821d2):_0x3821d2[_0x4ec9('0x6d')]():_0x379cec=_0x3821d2;}else{const _0x2921f4=_0x104852['getIntersection'](_0x31962f);this['_cutOutSuggestionMarker'](_0x3821d2,_0x2921f4);}}const _0x555819=this[_0x4ec9('0xa9')][_0x4ec9('0x75')]['get'](_0x4ec9('0x15'))['me'],_0x43bc4d=_0x1a1471(),_0x43898a=_0x555819['id'];if(_0x379cec)return this['_setSuggestionRange'](_0x379cec,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0xe63e1d,_0x2560d2)),_0x379cec;{const _0x209d3a=this[_0x4ec9('0x36')]({'id':_0x43bc4d,'type':_0x4ec9('0x166')+_0x3d9e66,'data':_0x54af70,'createdAt':new Date(),'authorId':_0x43898a,'attributes':_0x1e7ebe});return this[_0x4ec9('0x177')](_0x4ec9('0x166')+_0x3d9e66,_0x43bc4d,_0x43898a,this['_model'][_0x4ec9('0x103')](_0xe63e1d,_0x2560d2)),_0x209d3a;}}['markMultiRangeBlockFormat'](_0x58b695,_0x170d91,_0x471edb=[],_0x5bc4c2=null,_0x5ac25e={}){_0x170d91[_0x4ec9('0x161')]||(_0x170d91['formatGroupId']=_0x170d91['commandName']);const _0x1f027d=_0x58b695[0x0];_0x170d91['multipleBlocks']=_0x1f027d['is'](_0x4ec9('0xdd')),_0x5bc4c2=_0x5bc4c2||Rt(_0x170d91);const _0x5d4db2=_0x471edb[_0x4ec9('0x143')](_0x23a20a=>Ut(_0x23a20a,this[_0x4ec9('0x73')])),_0x21c9b3=_0x1f027d['is'](_0x4ec9('0xdd'))?_0x58b695:_0x58b695['map'](_0x17254d=>Ut(_0x17254d,this[_0x4ec9('0x73')]));if(_0x4ec9('0xde')===this[_0x4ec9('0x50')]){const _0x1f35d3=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x13e'),_0x5bc4c2,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x1f35d3(_0x21c9b3,_0x170d91,_0x5ac25e)),null;}_0x5d4db2[_0x4ec9('0x91')](..._0x21c9b3);let _0x31d2a9=!0x0;for(const _0x52e35f of _0x5d4db2)if(!this[_0x4ec9('0x1c')](_0x52e35f)){_0x31d2a9=!0x1;break;}if(_0x31d2a9&&'always'!==this['_trackFormatChanges']){const _0x1526da=this[_0x4ec9('0x10c')]['getSuggestionCallback'](_0x4ec9('0x13e'),_0x5bc4c2,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x1526da(_0x21c9b3,_0x170d91,_0x5ac25e)),null;}const _0xdaa8b=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'];for(const _0x34178f of this[_0x4ec9('0x86')]()){if(_0x34178f[_0x4ec9('0x71')]['id']!=_0xdaa8b['id'])continue;if(_0x4ec9('0x13e')!=_0x34178f['type']||_0x34178f[_0x4ec9('0x16')][_0x4ec9('0x161')]!=_0x170d91[_0x4ec9('0x161')])continue;if(!Ft(_0x34178f,_0x5ac25e))continue;const _0xfdd014=_0x34178f['subType']==_0x5bc4c2;for(let _0x22cba0=0x0;_0x22cba0<_0x21c9b3[_0x4ec9('0x6f')];_0x22cba0++){const _0x1f6313=_0x21c9b3[_0x22cba0];for(const _0x1d0a40 of _0x34178f[_0x4ec9('0x101')]()){const _0x5a49f0=_0x1d0a40[_0x4ec9('0x138')]();if(_0x1f6313['isEqual'](_0x5a49f0)){_0xfdd014?(_0x21c9b3[_0x4ec9('0x2c')](_0x22cba0,0x1),_0x22cba0--):_0x34178f[_0x4ec9('0xb9')](_0x1d0a40['name']);break;}}}}if(0x0==_0x21c9b3['length'])return null;const _0x3966cd=this[_0x4ec9('0x10c')]['getSuggestionCallback'](_0x4ec9('0x13e'),_0x5bc4c2,'join');for(const _0x947f5 of this[_0x4ec9('0x86')]())if(_0x947f5['author']['id']==_0xdaa8b['id']&&_0x4ec9('0x13e')==_0x947f5[_0x4ec9('0xff')]&&_0x947f5[_0x4ec9('0x16')]['formatGroupId']==_0x170d91['formatGroupId']&&_0x947f5['subType']==_0x5bc4c2&&Ft(_0x947f5,_0x5ac25e)&&(_0x3966cd(_0x947f5[_0x4ec9('0x94')](),_0x21c9b3)||_0x3966cd(_0x21c9b3,_0x947f5['getRanges']()))){for(const _0x225d1b of _0x21c9b3)_0x947f5[_0x4ec9('0x9e')](_0x225d1b);return _0x947f5;}const _0x1a9f5c=_0x1a1471(),_0xe1c915=_0xdaa8b['id'],_0x45c0aa='formatBlock:'+_0x5bc4c2,_0x525625=this[_0x4ec9('0x36')]({'id':_0x1a9f5c,'type':_0x45c0aa,'data':_0x170d91,'createdAt':new Date(),'authorId':_0xe1c915,'attributes':_0x5ac25e});for(const _0x3dcdc2 of _0x21c9b3)this[_0x4ec9('0x177')](_0x45c0aa,_0x1a9f5c,_0xe1c915,_0x3dcdc2,_0x3f936a[_0x4ec9('0x136')]());return _0x525625;}[_0x4ec9('0x87')](_0x9eb62a,_0x210d8b=null,_0x51294e={}){if(_0x9eb62a[_0x4ec9('0xa0')])return null;const _0x321b7e=this['editor'][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0x3129b5=new _0x49a89e(_0x9eb62a[_0x4ec9('0x69')],_0x9eb62a[_0x4ec9('0x2')]);for(const {suggestion:_0x2bb6f3,meta:_0x5a5c80}of this[_0x4ec9('0xd8')](_0x3129b5,_0x4ec9('0xc4')))if(_0x5a5c80['isOwn']&&!_0x5a5c80['isNextTo']){if(_0x2bb6f3[_0x4ec9('0x74')]){const _0x65e346=_0x2bb6f3['getRanges']()['filter'](_0x1311dd=>_0x4ec9('0xa5')!=_0x1311dd['root'][_0x4ec9('0xaa')]);_0x65e346[_0x4ec9('0x163')](_0x49a31c=>_0x3129b5[_0x4ec9('0x14a')](_0x49a31c,!0x0))&&_0x2bb6f3[_0x4ec9('0x92')]();if(_0x65e346[_0x4ec9('0x6c')](_0x2f400e=>_0x2f400e[_0x4ec9('0x14a')](_0x3129b5,!0x0))){const _0x47299f=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x16e'),_0x210d8b,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x47299f([_0x3129b5],null,_0x51294e)),null;}}else{const _0x2b0c51=_0x3129b5[_0x4ec9('0xc8')](_0x2bb6f3[_0x4ec9('0x43')]());null!==_0x2b0c51&&_0x2bb6f3[_0x4ec9('0x15e')]([_0x2b0c51],null,_0x51294e);}}if(_0x3129b5['detach'](),_0x3129b5['isCollapsed']||_0x4ec9('0xa5')==_0x3129b5[_0x4ec9('0x83')]['rootName'])return null;let _0x31a701=null,_0x448d63=_0x3129b5['start'],_0x1c925a=_0x3129b5[_0x4ec9('0x2')];const _0x20b01d=this[_0x4ec9('0xd8')](_0x3129b5,_0x4ec9('0x16e'));for(const {suggestion:_0x4ecde4,meta:_0x4560c8}of _0x20b01d){const _0x536c2c=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x448d63,_0x1c925a);if(_0x4560c8['isOwn']&&(this['_mergeNestedSuggestions']||!_0x4560c8['containsRangeInObject']&&!_0x4560c8[_0x4ec9('0x80')])){if(_0x4ecde4['isMultiRange']){if(!Ft(_0x4ecde4,_0x51294e))continue;let _0x351d74=!0x0;for(const _0x12475f of _0x4ecde4[_0x4ec9('0x94')]()){if(_0x12475f['containsRange'](_0x536c2c,!0x0))return _0x4ecde4;_0x536c2c['containsRange'](_0x12475f)||(_0x351d74=!0x1);}_0x351d74&&_0x4ecde4['discard']();}else{const _0x434cfd=_0x4ecde4[_0x4ec9('0x43')]();if(_0x434cfd[_0x4ec9('0x14a')](_0x536c2c,!0x0))return _0x4ecde4;if(!Ft(_0x4ecde4,_0x51294e)){_0x536c2c[_0x4ec9('0x14a')](_0x434cfd)?_0x4ecde4[_0x4ec9('0x6d')]():_0x434cfd['containsPosition'](_0x448d63)?_0x448d63=_0x434cfd[_0x4ec9('0x2')]:_0x434cfd[_0x4ec9('0x58')](_0x1c925a)&&(_0x1c925a=_0x434cfd[_0x4ec9('0x69')]);continue;}_0x448d63=_0x448d63[_0x4ec9('0xba')](_0x434cfd[_0x4ec9('0x69')])?_0x448d63:_0x434cfd[_0x4ec9('0x69')],_0x1c925a=_0x1c925a[_0x4ec9('0xf6')](_0x434cfd[_0x4ec9('0x2')])?_0x1c925a:_0x434cfd[_0x4ec9('0x2')],_0x51294e=Object['assign']({},_0x4ecde4[_0x4ec9('0xe5')]),_0x31a701?_0x434cfd[_0x4ec9('0x69')][_0x4ec9('0xba')](_0x31a701[_0x4ec9('0x43')]()[_0x4ec9('0x69')])?(_0x31a701[_0x4ec9('0x6d')](),_0x31a701=_0x4ecde4):_0x4ecde4[_0x4ec9('0x6d')]():_0x31a701=_0x4ecde4;}}}if(_0x31a701)return this[_0x4ec9('0x60')](_0x31a701,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x448d63,_0x1c925a)),_0x31a701;{const _0x2cda02=_0x1a1471(),_0x248a43=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x448d63,_0x1c925a),_0x115fea=_0x321b7e['id'],_0x197daa=_0x210d8b?_0x4ec9('0xeb')+_0x210d8b:'deletion',_0x2e387c=this[_0x4ec9('0x36')]({'id':_0x2cda02,'type':_0x197daa,'createdAt':new Date(),'authorId':_0x115fea,'attributes':_0x51294e});return this[_0x4ec9('0x177')](_0x197daa,_0x2cda02,_0x115fea,_0x248a43),_0x2e387c;}}['markMultiRangeDeletion'](_0x55311c,_0x5d8a36=_0x4ec9('0x7e'),_0xe6687b={}){const _0x3dadff=this['editor']['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0x3f5124=_0x55311c[_0x4ec9('0x143')](_0x171efa=>new _0x49a89e(_0x171efa['start'],_0x171efa[_0x4ec9('0x2')])),_0x258632=new Set();for(const {suggestion:_0x4511eb,meta:_0x4b36c9}of this[_0x4ec9('0xd8')](_0x3f5124,_0x4ec9('0xc4')))_0x4b36c9[_0x4ec9('0xb2')]&&!_0x4b36c9[_0x4ec9('0x2f')]&&_0x258632[_0x4ec9('0x7f')](_0x4511eb);for(const _0x2c04ab of _0x258632)if(_0x2c04ab[_0x4ec9('0x74')]){const _0x563f40=_0x2c04ab[_0x4ec9('0x94')]();(!_0x2c04ab[_0x4ec9('0xe5')]||!_0x2c04ab[_0x4ec9('0xe5')]['skipNestingCheck'])&&(_0x563f40[_0x4ec9('0x163')](_0x244cd2=>_0x3f5124[_0x4ec9('0x6c')](_0x3ba334=>_0x3ba334[_0x4ec9('0x14a')](_0x244cd2,!0x0)))&&_0x2c04ab[_0x4ec9('0x92')]());if(_0x3f5124[_0x4ec9('0x163')](_0x33c796=>_0x563f40[_0x4ec9('0x6c')](_0x2eced9=>_0x2eced9[_0x4ec9('0x14a')](_0x33c796,!0x0)))){const _0x20965a=this['_suggestionFactory'][_0x4ec9('0xd7')](_0x4ec9('0x16e'),_0x5d8a36,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x20965a(_0x55311c,null,_0xe6687b)),null;}}else{const _0x3a7dc9=_0x2c04ab[_0x4ec9('0x43')]();_0x3f5124[_0x4ec9('0x6c')](_0xae3b89=>_0xae3b89[_0x4ec9('0x14a')](_0x3a7dc9,!0x0))&&_0x2c04ab[_0x4ec9('0x92')]();if(_0x3f5124[_0x4ec9('0x163')](_0x823d58=>_0x3a7dc9['containsRange'](_0x823d58,!0x0))){const _0x132d95=this[_0x4ec9('0x10c')]['getSuggestionCallback']('deletion',_0x5d8a36,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x132d95(_0x3f5124,null,_0xe6687b)),null;}}const _0x35bfaa=this['_suggestionFactory'][_0x4ec9('0xd7')](_0x4ec9('0x16e'),_0x5d8a36,'join');let _0x59ae76=null;for(const _0xc2645b of this[_0x4ec9('0x86')]())if(_0xc2645b[_0x4ec9('0x71')]['id']==_0x3dadff['id']&&_0xc2645b[_0x4ec9('0x79')]&&'deletion'==_0xc2645b[_0x4ec9('0xff')]&&_0xc2645b[_0x4ec9('0x155')]==_0x5d8a36&&Ft(_0xc2645b,_0xe6687b)&&(_0x35bfaa(_0xc2645b[_0x4ec9('0x94')](),_0x3f5124)||_0x35bfaa(_0x3f5124,_0xc2645b[_0x4ec9('0x94')]()))){if(_0x59ae76){if(_0xc2645b[_0x4ec9('0x40')]&&_0xc2645b[_0x4ec9('0x40')]['length'])continue;for(const _0x5997cc of _0xc2645b[_0x4ec9('0x94')]())_0x59ae76[_0x4ec9('0x139')](_0x5997cc)||_0x59ae76[_0x4ec9('0x9e')](_0x5997cc);_0xc2645b[_0x4ec9('0x6d')]();}else{_0x59ae76=_0xc2645b;for(const _0x3afc69 of _0x3f5124)_0xc2645b['isIntersectingWithRange'](_0x3afc69)||_0xc2645b['addRange'](_0x3afc69);}}if(_0x59ae76)return _0x59ae76;_0x258632[_0x4ec9('0x1a')]();for(const {suggestion:_0x5d87ef,meta:_0x12b46f}of this[_0x4ec9('0xd8')](_0x3f5124,_0x4ec9('0x16e')))_0x12b46f['isOwn']&&(this['_mergeNestedSuggestions']||!_0x12b46f[_0x4ec9('0x13b')]&&!_0x12b46f['isInsideObject'])&&Ft(_0x5d87ef,_0xe6687b)&&_0x258632[_0x4ec9('0x7f')](_0x5d87ef);for(const _0x3de252 of _0x258632){const _0x27abdf=_0x3de252[_0x4ec9('0x94')]();if(!_0xe6687b||!_0xe6687b[_0x4ec9('0xb3')]){if(_0x3f5124[_0x4ec9('0x163')](_0x2538fa=>_0x27abdf[_0x4ec9('0x6c')](_0x3f756c=>_0x3f756c[_0x4ec9('0x14a')](_0x2538fa,!0x0))))return _0x3de252;}(!_0x3de252['attributes']||!_0x3de252[_0x4ec9('0xe5')][_0x4ec9('0xb3')])&&(_0x27abdf[_0x4ec9('0x163')](_0x14e0c3=>_0x3f5124['some'](_0x303248=>_0x303248[_0x4ec9('0x14a')](_0x14e0c3,!0x0)))&&_0x3de252['discard']());}const _0x15f474=_0x1a1471(),_0x2c9fa4=_0x3dadff['id'],_0x31a552=_0x4ec9('0xeb')+_0x5d8a36,_0x28209d=this[_0x4ec9('0x36')]({'id':_0x15f474,'type':_0x31a552,'createdAt':new Date(),'authorId':_0x2c9fa4,'attributes':_0xe6687b});for(const _0x2b4da1 of _0x3f5124)_0x2b4da1[_0x4ec9('0x125')](),_0x2b4da1[_0x4ec9('0xa0')]||_0x4ec9('0xa5')==_0x2b4da1[_0x4ec9('0x83')][_0x4ec9('0xaa')]||this[_0x4ec9('0x177')](_0x31a552,_0x15f474,_0x2c9fa4,_0x2b4da1,_0x3f936a[_0x4ec9('0x136')]());return _0x28209d;}[_0x4ec9('0xad')](_0x1cf5fa,_0xe81722,_0x32a471,_0x46578f,_0x3e0783){if(_0x1cf5fa['isCollapsed'])return[];if(_0x4ec9('0xde')===this[_0x4ec9('0x50')])return[];const _0x3085bd=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me']['id'],_0x3ea530=Array['from'](this[_0x4ec9('0x16d')][_0x4ec9('0x160')]())['filter'](_0x5d044e=>_0x4ec9('0xbd')==_0x5d044e['type']&&_0x5d044e['data'][_0x4ec9('0x18')]==_0xe81722&&_0x5d044e['isIntersectingWithRange'](_0x1cf5fa));if(_0x4ec9('0x153')===this['_trackFormatChanges']){const _0x4c66bb=this[_0x4ec9('0xd8')](_0x1cf5fa,_0x4ec9('0xc4'))[_0x4ec9('0x3c')](({meta:_0xe49aca})=>_0xe49aca[_0x4ec9('0xb2')]&&!_0xe49aca['isInsideObject']&&!_0xe49aca[_0x4ec9('0x2f')])[_0x4ec9('0x143')](({suggestion:_0x453174})=>_0x453174);_0x3ea530[_0x4ec9('0xca')](..._0x4c66bb);}const _0x2bec64=new Map([[_0x1cf5fa,_0x32a471]]);for(const _0x59caff of _0x3ea530){const _0x44d15a='attribute'==_0x59caff[_0x4ec9('0xff')]?_0x59caff[_0x4ec9('0x16')][_0x4ec9('0x9b')]:void 0x0,_0x413e44=_0x59caff['getFirstRange'](),_0x2e90f7=Array[_0x4ec9('0xe1')](_0x2bec64[_0x4ec9('0x81')]())['find'](_0x3f272d=>_0x3f272d[_0x4ec9('0x140')](_0x413e44));_0x2e90f7&&(_0x2bec64[_0x4ec9('0x14f')](_0x2e90f7),_0x2e90f7[_0x4ec9('0x6')](_0x413e44)[_0x4ec9('0xc7')](_0x3ce8c5=>{_0x2bec64['set'](_0x3ce8c5,_0x32a471);}),_0x4ec9('0xc4')!=_0x59caff[_0x4ec9('0xff')]&&_0x44d15a!=_0x46578f&&_0x2bec64[_0x4ec9('0x12e')](_0x2e90f7[_0x4ec9('0xc8')](_0x413e44),_0x44d15a));}const _0x19fed9=[];for(const [_0xe63ba1,_0x568b63]of _0x2bec64){const _0x5c5b25=_0x1a1471(),_0x334aaa={'key':_0xe81722,'oldValue':_0x568b63,'newValue':_0x46578f};_0xe81722[_0x4ec9('0x6f')]>0x25&&console[_0x4ec9('0x159')](_0x4ec9('0x3a'),{'key':_0xe81722});const _0x4043e1=(_0x4ec9('0x10a')+(_0xe81722+'|'+Rt({'newValue':_0x46578f})))[_0x4ec9('0x130')](0x0,0x3c),_0x3cdd14=this[_0x4ec9('0x36')]({'id':_0x5c5b25,'type':_0x4043e1,'data':_0x334aaa,'createdAt':new Date(),'authorId':_0x3085bd,'attributes':_0x3e0783});_0x19fed9[_0x4ec9('0x91')](_0x3cdd14),this['_addSuggestionMarker'](_0x4043e1,_0x5c5b25,_0x3085bd,_0xe63ba1);}return _0x19fed9;}[_0x4ec9('0x33')](_0x1c1ef7){this[_0x4ec9('0xa7')][_0x4ec9('0x7f')](_0x1c1ef7);}[_0x4ec9('0x4d')](_0x1629dd){this[_0x4ec9('0xe4')]['add'](_0x1629dd);}[_0x4ec9('0xa8')](_0x553c8b,_0x42a70e=[],_0x3dad9d=[]){this['enableCommand'](_0x553c8b,(_0x106f8d,..._0x5a1665)=>{this[_0x4ec9('0x164')](()=>{_0x106f8d(..._0x5a1665);});});for(const _0x2a6921 of _0x42a70e)this[_0x4ec9('0x4d')](_0x2a6921);for(const _0x31b38d of _0x3dad9d)this[_0x4ec9('0x33')](_0x31b38d);}[_0x4ec9('0x60')](_0x4a3551,_0x15e97b){const _0x13f167=_0x4a3551[_0x4ec9('0x6e')]();this['_model'][_0x4ec9('0x109')](_0x58676b=>{_0x58676b[_0x4ec9('0x52')](_0x13f167,{'range':_0x15e97b});});}[_0x4ec9('0x112')](_0x4cf3da){const _0x21885e=_0x4cf3da['id'],_0x3d81c5=this[_0x4ec9('0xa9')][_0x4ec9('0x16f')][_0x4ec9('0xd5')](_0x4ec9('0x67'));this[_0x4ec9('0xef')][_0x4ec9('0x114')](_0x21885e)||this[_0x4ec9('0xef')][_0x4ec9('0x151')]({'channelId':_0x3d81c5,'threadId':_0x21885e,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x26483b=this[_0x4ec9('0xef')][_0x4ec9('0xb6')](_0x21885e);_0x26483b[_0x4ec9('0x89')](_0x4ec9('0x15d')),_0x26483b[_0x4ec9('0x15d')]=!0x1,_0x4cf3da[_0x4ec9('0x40')]=_0x26483b;}[_0x4ec9('0xbc')](_0xc0ec1b,_0xa506a7,_0x5e599e,_0x41cebf){if(_0xc0ec1b[_0x4ec9('0xff')]!=_0xa506a7||_0xc0ec1b[_0x4ec9('0x155')]!=_0x5e599e||_0xc0ec1b[_0x4ec9('0x10d')]['id']!=_0x41cebf)throw this[_0x4ec9('0xa9')]['enableReadOnlyMode'](_0x4ec9('0x5d')),new _0xbf6c7b(_0x4ec9('0x5d'),this);}['_cutOutSuggestionMarker'](_0x397ff2,_0x4034e1){const _0x34d70a=_0x397ff2[_0x4ec9('0x43')]();if(_0x4034e1['isEqual'](_0x34d70a))_0x397ff2[_0x4ec9('0x6d')]();else{if(_0x34d70a[_0x4ec9('0x14a')](_0x4034e1)){const _0x9fd214=this[_0x4ec9('0x73')][_0x4ec9('0xe2')](_0x4034e1[_0x4ec9('0x69')][_0x4ec9('0xb1')],_0x4ec9('0x2'));this[_0x4ec9('0x60')](_0x397ff2,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x34d70a[_0x4ec9('0x69')],_0x9fd214));const _0x387741=_0x1a1471(),_0x557612=_0x397ff2[_0x4ec9('0x10d')]['id'],_0x2e1583=_0x397ff2[_0x4ec9('0xff')]+':'+_0x397ff2[_0x4ec9('0x155')];this[_0x4ec9('0x36')]({'id':_0x387741,'type':_0x2e1583,'createdAt':new Date(),'authorId':_0x557612,'data':_0x397ff2['data'],'attributes':_0x397ff2[_0x4ec9('0xe5')]});const _0x19c087=this['_model'][_0x4ec9('0xe2')](_0x4034e1[_0x4ec9('0x2')]['parent'],_0x4ec9('0xa')),_0x5f347f=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x19c087,_0x34d70a[_0x4ec9('0x2')]);this[_0x4ec9('0x177')](_0x2e1583,_0x387741,_0x557612,_0x5f347f);}else{if(_0x34d70a['containsPosition'](_0x4034e1[_0x4ec9('0x69')])){const _0x224fec=this['_model'][_0x4ec9('0xe2')](_0x4034e1['start'][_0x4ec9('0xb1')],_0x4ec9('0x2'));this[_0x4ec9('0x60')](_0x397ff2,this['_model'][_0x4ec9('0x103')](_0x34d70a['start'],_0x224fec));}else{const _0x58ccd0=this['_model'][_0x4ec9('0xe2')](_0x4034e1[_0x4ec9('0x2')][_0x4ec9('0xdb')],_0x4ec9('0xa'));this[_0x4ec9('0x60')](_0x397ff2,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x58ccd0,_0x34d70a[_0x4ec9('0x2')]));}}}}[_0x4ec9('0x1c')](_0x552531){for(const {suggestion:_0x4f1286,meta:_0x430399}of this[_0x4ec9('0xd8')](_0x552531,_0x4ec9('0xc4'))){if(!_0x430399[_0x4ec9('0xb2')])continue;const _0x1c4fec=_0x4f1286[_0x4ec9('0x94')]();for(const _0x544e76 of _0x1c4fec)if(!_0x552531['getDifference'](_0x544e76)[_0x4ec9('0x6f')])return!0x0;}return!0x1;}[_0x4ec9('0x88')](_0x540af7){const _0x54d6fc=this['editor'][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))[_0x4ec9('0xf1')](_0x540af7);if(!_0x54d6fc)throw new _0xbf6c7b(_0x4ec9('0x35'),this);return _0x54d6fc;}[_0x4ec9('0xbb')](_0x4736d8){const _0x415adb=this[_0x4ec9('0xa9')]['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15')),_0x48b73b=_0x3b9db5(_0x4ec9('0x14e')+_0x4736d8),_0x58c3eb=_0x415adb[_0x4ec9('0xf1')](_0x48b73b);return _0x58c3eb||_0x415adb[_0x4ec9('0x51')]({'id':_0x48b73b,'name':_0x4736d8});}[_0x4ec9('0x120')](_0x45c7d9,_0x19405a,_0x11934d,_0x4386f8,_0x3c9d7f){const _0x55228c=this[_0x4ec9('0x88')](_0x4386f8),_0x4f631c=this['_suggestionFactory']['buildSuggestion'](_0x45c7d9,_0x19405a,_0x11934d,_0x55228c,_0x3c9d7f,_0x5caaa0=>this['_updateSuggestionData'](_0x11934d,{'attributes':_0x5caaa0}));return this['listenTo'](_0x4f631c,'accept',()=>{this[_0x4ec9('0xec')](_0x11934d,{'state':_0x4ec9('0x12b')});},{'priority':_0x4ec9('0x110')}),this['listenTo'](_0x4f631c,_0x4ec9('0x92'),()=>{this[_0x4ec9('0xec')](_0x11934d,{'state':_0x4ec9('0xae')});},{'priority':_0x4ec9('0x110')}),this[_0x4ec9('0x16d')]['set'](_0x11934d,_0x4f631c),this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x4f631c,_0x4ec9('0xb')),_0x4f631c;}[_0x4ec9('0x93')](_0x3d7a34){const _0xcb1c7b=_0x3d7a34[_0x4ec9('0x15b')](':');return{'group':_0xcb1c7b[0x0],'type':_0xcb1c7b[0x1],'subType':_0xcb1c7b[_0x4ec9('0x6f')]>=0x5?_0xcb1c7b[0x2]:null,'id':_0xcb1c7b['length']<0x5?_0xcb1c7b[0x2]:_0xcb1c7b[0x3],'authorId':_0xcb1c7b[_0x4ec9('0x6f')]<0x5?_0xcb1c7b[0x3]:_0xcb1c7b[0x4],'markerCount':0x6==_0xcb1c7b['length']?_0xcb1c7b[0x5]:null};}[_0x4ec9('0xd4')](_0x295bca,_0x132f34,_0x12c131){const _0x397d52=_0x295bca[_0x4ec9('0x43')](),_0x474441=_0x397d52['start'],_0x42104c=_0x397d52[_0x4ec9('0x2')];this[_0x4ec9('0x60')](_0x295bca,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x474441,_0x132f34));const _0x28c371=_0x1a1471(),_0x39f9f6=_0x295bca[_0x4ec9('0x10d')]['id'],_0x58df94=_0x295bca[_0x4ec9('0xff')]+(_0x295bca[_0x4ec9('0x155')]?':'+_0x295bca[_0x4ec9('0x155')]:'');this[_0x4ec9('0x36')]({'id':_0x28c371,'type':_0x58df94,'createdAt':new Date(),'authorId':_0x39f9f6,'originalSuggestionId':_0x295bca['id'],'attributes':_0x295bca[_0x4ec9('0xe5')],'data':_0x295bca['data']});const _0x5b5248=this[_0x4ec9('0x123')](_0x295bca);(_0x4ec9('0x13e')==_0x295bca['type']||_0x5b5248&&this[_0x4ec9('0xdc')](_0x5b5248))&&(_0x12c131=this[_0x4ec9('0x73')][_0x4ec9('0x16c')](_0x12c131['parent'])),this[_0x4ec9('0x177')](_0x58df94,_0x28c371,_0x39f9f6,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x12c131,_0x42104c));}[_0x4ec9('0xd8')](_0x2ce3ee,_0x31676e=null){const _0x34b63a=[],_0x3a261c=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('Users')['me'];Array[_0x4ec9('0x44')](_0x2ce3ee)||(_0x2ce3ee=[_0x2ce3ee]);for(const _0x561e8c of this[_0x4ec9('0x86')]()){if(!_0x561e8c[_0x4ec9('0x79')])continue;if(_0x31676e&&_0x561e8c['type']!=_0x31676e)continue;let _0x498998=!0x1;for(const _0x13a48e of _0x561e8c[_0x4ec9('0x94')]()){for(const _0x4e146d of _0x2ce3ee){const _0x459949=_0x4e146d[_0x4ec9('0x69')][_0x4ec9('0x28')](_0x13a48e['end'])||_0x4e146d['end'][_0x4ec9('0x28')](_0x13a48e[_0x4ec9('0x69')]);if(_0x459949||_0x4e146d[_0x4ec9('0xc8')](_0x13a48e)){const _0x2ba70d=_0x4e146d[_0x4ec9('0x14a')](_0x13a48e)&&Tt(this[_0x4ec9('0x73')][_0x4ec9('0x9c')],_0x13a48e[_0x4ec9('0x69')],_0x4e146d),_0x23ca5b=_0x13a48e['containsRange'](_0x4e146d)&&Tt(this[_0x4ec9('0x73')]['schema'],_0x4e146d[_0x4ec9('0x69')],_0x13a48e);_0x34b63a[_0x4ec9('0x91')]({'suggestion':_0x561e8c,'meta':{'isOwn':_0x3a261c==_0x561e8c[_0x4ec9('0x71')],'isNextTo':_0x459949,'isInsideObject':_0x2ba70d,'containsRangeInObject':_0x23ca5b}}),_0x498998=!0x0;break;}}if(_0x498998)break;}}return _0x34b63a;}[_0x4ec9('0x177')](_0x5aa979,_0x101df7,_0xd0658e,_0x509b6b,_0x36a460){this['_model'][_0x4ec9('0x109')](_0x175f73=>{let _0x4f9dcd=_0x4ec9('0xd2')+_0x5aa979+':'+_0x101df7+':'+_0xd0658e;_0x36a460&&(_0x4f9dcd=_0x4f9dcd+':'+_0x36a460),_0x175f73[_0x4ec9('0x7c')](_0x4f9dcd,{'range':_0x509b6b,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x56f010){const _0x32cdab=_0x56f010[_0x4ec9('0x129')],_0x1fa3a6=_0x56f010[_0x4ec9('0x2e')];_0x56f010[_0x4ec9('0x129')]=null,_0x56f010['next']=null,null!=_0x32cdab&&(_0x32cdab[_0x4ec9('0x2e')]=_0x1fa3a6),null!=_0x1fa3a6&&(_0x1fa3a6[_0x4ec9('0x129')]=_0x32cdab),_0x4ec9('0x150')==this[_0x4ec9('0x111')][_0x4ec9('0xd5')](_0x56f010)&&(this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x56f010,_0x4ec9('0x118')),this[_0x4ec9('0x8e')](_0x4ec9('0x72'),_0x56f010,_0x32cdab,_0x1fa3a6));}['_setSuggestionData'](_0x27e1fb){const _0x58dd3a=_0x27e1fb['id'],_0x320fe0=this[_0x4ec9('0x12f')](_0x27e1fb);if(this[_0x4ec9('0x6a')]&&this[_0x4ec9('0x6a')]['addSuggestion']){const _0x1e0669=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('PendingActions'),_0x3dedbd=_0x320fe0[_0x4ec9('0x48')],_0x4bc460=_0x320fe0[_0x4ec9('0x155')]?_0x320fe0['type']+':'+_0x320fe0['subType']:_0x320fe0[_0x4ec9('0xff')],_0x5db840=this['editor'][_0x4ec9('0xc5')],_0x3be2f1=_0x1e0669[_0x4ec9('0x7f')](_0x4ab33e(_0x5db840,_0x4ec9('0x5e'))),_0x14ecad={'id':_0x58dd3a,'type':_0x4bc460,'hasComments':_0x3dedbd,'data':_0x27e1fb[_0x4ec9('0x16')]||null,'originalSuggestionId':_0x27e1fb[_0x4ec9('0x27')]||null,'attributes':_0x320fe0[_0x4ec9('0xe5')]};this[_0x4ec9('0x6a')]['addSuggestion'](_0x14ecad)[_0x4ec9('0x14b')](_0x1d49c7=>{_0x320fe0['_saved']=!0x0,_0x1e0669[_0x4ec9('0x4a')](_0x3be2f1),_0x1d49c7&&_0x1d49c7[_0x4ec9('0x99')]&&(this[_0x4ec9('0x16d')]['get'](_0x58dd3a)[_0x4ec9('0x99')]=_0x1d49c7['createdAt']);})[_0x4ec9('0x15a')](_0x534bbc=>{throw _0x330157('error-saving-suggestion-data-suggestion-discarded'),this[_0x4ec9('0xa9')]['model'][_0x4ec9('0x1b')]({'isUndoable':!0x1},()=>{_0x320fe0[_0x4ec9('0x92')]();}),_0x320fe0[_0x4ec9('0x154')](),this['_suggestions'][_0x4ec9('0x14f')](_0x320fe0['id']),this[_0x4ec9('0x111')]['delete'](_0x320fe0),_0x534bbc;});}return _0x320fe0;}[_0x4ec9('0xdc')](_0x5b94a2){return this[_0x4ec9('0xa7')][_0x4ec9('0x3b')](_0x5b94a2);}['_getAttributeKeyFromSubType'](_0x145721){return _0x4ec9('0xbd')==_0x145721[_0x4ec9('0xff')]&&_0x145721[_0x4ec9('0x155')]['split']('|')[0x0];}['_updateSuggestionData'](_0x24c8b2,_0x5ae9b0){const _0x430b63=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('PendingActions'),_0x352d3d=this[_0x4ec9('0x152')](_0x24c8b2);if(this[_0x4ec9('0x6a')]&&this[_0x4ec9('0x6a')][_0x4ec9('0x8f')]){if(_0x352d3d[_0x4ec9('0xe8')]){const _0x11f59e=_0x430b63[_0x4ec9('0x7f')](_0x4ab33e(this[_0x4ec9('0xa9')]['locale'],_0x4ec9('0x5e')));this[_0x4ec9('0x6a')]['updateSuggestion'](_0x24c8b2,_0x5ae9b0)[_0x4ec9('0x14b')](()=>{_0x430b63[_0x4ec9('0x4a')](_0x11f59e);});}else _0x352d3d['on'](_0x4ec9('0xee'),()=>{this[_0x4ec9('0xec')](_0x24c8b2,_0x5ae9b0);});}}[_0x4ec9('0x2b')](_0x179105){if(!this['_adapter']||!this[_0x4ec9('0x6a')][_0x4ec9('0x152')])throw new _0xbf6c7b('track-changes-adapter-missing-getsuggestion',this);return this[_0x4ec9('0x6a')][_0x4ec9('0x152')](_0x179105);}[_0x4ec9('0xdf')](_0x2a3a1c){const {id:_0x39fb9f,type:_0x7cab67,subType:_0x245c85,authorId:_0x4bcc7c}=this[_0x4ec9('0x93')](_0x2a3a1c),_0x316720=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x39fb9f)||this[_0x4ec9('0x120')](_0x7cab67,_0x245c85,_0x39fb9f,_0x4bcc7c,{});switch(this['_checkSuggestionCorrectness'](_0x316720,_0x7cab67,_0x245c85,_0x4bcc7c),this[_0x4ec9('0x111')]['get'](_0x316720)){case _0x4ec9('0xb'):this[_0x4ec9('0x2b')](_0x39fb9f)['then'](_0x3131c9=>{let _0x3074bc=Promise[_0x4ec9('0x170')]();_0x3131c9[_0x4ec9('0x48')]&&(_0x3074bc=this[_0x4ec9('0xef')][_0x4ec9('0x70')]({'channelId':this['editor']['config'][_0x4ec9('0xd5')](_0x4ec9('0x67')),'threadId':_0x39fb9f})),_0x3074bc[_0x4ec9('0x14b')](()=>{this[_0x4ec9('0x12f')](_0x3131c9)[_0x4ec9('0xe8')]=!0x0;});}),this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x316720,'markerReady');break;case _0x4ec9('0x118'):this[_0x4ec9('0xec')](_0x39fb9f,{'state':'open'});case'dataReady':this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x316720,_0x4ec9('0x150')),this['fire']('suggestionLoaded',_0x316720);break;case _0x4ec9('0x150'):this[_0x4ec9('0x8e')](_0x4ec9('0x32'),_0x316720);}return _0x316720[_0x4ec9('0x11e')](_0x2a3a1c),_0x316720;}[_0x4ec9('0x55')](_0x153d19){const _0x2ee397=Array[_0x4ec9('0xe1')](_0x153d19),_0x2da4bc=_0x2ee397[_0x4ec9('0x3c')](_0x1aa179=>_0x4ec9('0xbd')==_0x1aa179[_0x4ec9('0xff')]);this[_0x4ec9('0x19')](_0x2da4bc);const _0xe2a0da=_0x2ee397[_0x4ec9('0x3c')](_0x46b605=>!_0x46b605[_0x4ec9('0x74')]&&_0x4ec9('0xbd')!=_0x46b605[_0x4ec9('0xff')]),_0x252016=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x9ac821=>!_0x9ac821['isMultiRange']&&_0x4ec9('0xbd')!=_0x9ac821[_0x4ec9('0xff')]),_0x1ea852=_0x252016[_0x4ec9('0x3c')](_0x10b497=>!_0x153d19['has'](_0x10b497)),_0x1e41cc=new Map(_0x252016[_0x4ec9('0x143')](_0x4d796d=>[_0x4d796d,this['_suggestionFactory']['getSuggestionCallback'](_0x4d796d['type'],_0x4d796d[_0x4ec9('0x155')],_0x4ec9('0x178'))])),_0x232dd1=new Map(_0x252016[_0x4ec9('0x143')](_0x21b422=>[_0x21b422,_0x21b422[_0x4ec9('0x43')]()])),_0x2cb47a=new Set(),_0x153bef=new Set();for(let _0x181d44=0x0;_0x181d44<_0xe2a0da[_0x4ec9('0x6f')];_0x181d44++)_0x45dc28(_0xe2a0da[_0x181d44],_0xe2a0da,_0x181d44+0x1);for(let _0x592b3a=0x0;_0x592b3a<_0xe2a0da[_0x4ec9('0x6f')];_0x592b3a++)_0x45dc28(_0xe2a0da[_0x592b3a],_0x1ea852,0x0);const _0x53a844=new Set();for(let _0x3d310d=0x0;_0x3d310d<_0xe2a0da[_0x4ec9('0x6f')];_0x3d310d++){const _0x38dd75=_0xe2a0da[_0x3d310d];!_0x153bef[_0x4ec9('0x3b')](_0x38dd75)&&_0x38dd75[_0x4ec9('0x129')]&&(_0x53a844[_0x4ec9('0x7f')](_0x38dd75[_0x4ec9('0x129')]),_0x38dd75[_0x4ec9('0x129')][_0x4ec9('0x2e')]===_0x38dd75&&(_0x38dd75['previous'][_0x4ec9('0x2e')]=null),_0x38dd75['previous']=null),!_0x2cb47a[_0x4ec9('0x3b')](_0x38dd75)&&_0x38dd75[_0x4ec9('0x2e')]&&(_0x53a844[_0x4ec9('0x7f')](_0x38dd75[_0x4ec9('0x2e')]),_0x38dd75['next'][_0x4ec9('0x129')]===_0x38dd75&&(_0x38dd75[_0x4ec9('0x2e')]['previous']=null),_0x38dd75[_0x4ec9('0x2e')]=null);}function _0x45dc28(_0x2c9700,_0x35a163,_0x333d1d){for(let _0x293ca8=_0x333d1d;_0x293ca8<_0x35a163['length'];_0x293ca8++){const _0x7f473b=_0x3b2259(_0x2c9700,_0x35a163[_0x293ca8]);_0x7f473b&&(_0x7f473b[0x0][_0x4ec9('0x2e')]=_0x7f473b[0x1],_0x7f473b[0x1]['previous']=_0x7f473b[0x0],_0x2cb47a[_0x4ec9('0x7f')](_0x7f473b[0x0]),_0x153bef[_0x4ec9('0x7f')](_0x7f473b[0x1]));}}function _0x3b2259(_0xb31e79,_0x117b19){if(_0xb31e79['author']['id']!==_0x117b19[_0x4ec9('0x71')]['id'])return null;const _0x35caf0=_0x1e41cc[_0x4ec9('0xd5')](_0xb31e79)(_0xb31e79,_0x117b19,_0x232dd1[_0x4ec9('0xd5')](_0xb31e79),_0x232dd1[_0x4ec9('0xd5')](_0x117b19));if(!_0x35caf0)return null;return _0x1e41cc[_0x4ec9('0xd5')](_0x117b19)(_0xb31e79,_0x117b19,_0x232dd1['get'](_0xb31e79),_0x232dd1[_0x4ec9('0xd5')](_0x117b19))?_0x35caf0[0x1]['commentThread']&&_0x35caf0[0x1][_0x4ec9('0x40')][_0x4ec9('0x6f')]?null:_0x35caf0:null;}_0x53a844[_0x4ec9('0x12')]&&this[_0x4ec9('0x55')](_0x53a844);}[_0x4ec9('0x19')](_0x638aeb){if(0x0==_0x638aeb['length'])return;const _0x12a632=this[_0x4ec9('0x86')]({'skipNotAttached':!0x0})['filter'](_0x27b7dd=>_0x4ec9('0xbd')==_0x27b7dd[_0x4ec9('0xff')]&&_0x27b7dd['_isDataLoaded']),_0x53b1b4=[],_0x515d63=new Map();for(const _0xd90cc6 of _0x12a632){const _0x210c2f=_0x3b9db5(_0xd90cc6[_0x4ec9('0xe5')]);_0x515d63[_0x4ec9('0x3b')](_0x210c2f)||(_0x515d63[_0x4ec9('0x12e')](_0x210c2f,_0x53b1b4[_0x4ec9('0x6f')]),_0x53b1b4[_0x4ec9('0x91')]([]));const _0x18206a=_0x515d63[_0x4ec9('0xd5')](_0x210c2f);_0x53b1b4[_0x18206a][_0x4ec9('0x91')](_0xd90cc6);}!function(){_0x53b1b4[_0x4ec9('0x141')]((_0x29fdd7,_0x1a7939)=>{const _0x4efd4c=_0x29fdd7[0x0][_0x4ec9('0x99')],_0x391ded=_0x1a7939[0x0]['createdAt'];return _0x4efd4c==_0x391ded?_0x29fdd7[0x0]['attributes'][_0x4ec9('0x9a')]<_0x1a7939[0x0][_0x4ec9('0xe5')][_0x4ec9('0x9a')]?-0x1:0x1:_0x4efd4c<_0x391ded?-0x1:0x1;});for(const _0x187fec of _0x53b1b4)_0x187fec['sort']((_0x60f9bb,_0x2ee954)=>_0x60f9bb['id']<_0x2ee954['id']?-0x1:0x1);}();for(let _0x3949a5=0x0;_0x3949a5<_0x53b1b4[_0x4ec9('0x6f')];_0x3949a5++){if(0x0==_0x53b1b4[_0x3949a5][_0x4ec9('0x6f')])continue;const _0x10d7a5=[];for(let _0x5e2101=_0x3949a5+0x1;_0x5e2101<_0x53b1b4[_0x4ec9('0x6f')];_0x5e2101++)0x0!=_0x53b1b4[_0x5e2101][_0x4ec9('0x6f')]&&_0x45ccee(_0x53b1b4[_0x3949a5],_0x53b1b4[_0x5e2101])&&_0x10d7a5[_0x4ec9('0x91')](_0x5e2101);for(const _0x4b3193 of _0x10d7a5)_0x53b1b4[_0x3949a5]=_0x53b1b4[_0x3949a5][_0x4ec9('0xf0')](_0x53b1b4[_0x4b3193]),_0x53b1b4[_0x4b3193]=[];}for(const _0x3a724c of _0x53b1b4)for(let _0x38f9c1=0x0;_0x38f9c1<_0x3a724c['length'];_0x38f9c1++)_0x3a724c[_0x38f9c1][_0x4ec9('0x2e')]=_0x3a724c[_0x38f9c1+0x1]||null;for(const _0x4259e2 of _0x53b1b4)for(let _0x17ee69=0x0;_0x17ee69<_0x4259e2['length'];_0x17ee69++)_0x4259e2[_0x17ee69][_0x4ec9('0x129')]=_0x4259e2[_0x17ee69-0x1]||null;function _0x45ccee(_0x80efd9,_0x7249ac){if(_0x80efd9[0x0][_0x4ec9('0x71')]!==_0x7249ac[0x0][_0x4ec9('0x71')])return!0x1;if(!function(_0x5391dd,_0x156986){if(!_0x5391dd[_0x4ec9('0x48')]&&!_0x156986[_0x4ec9('0x48')])return!0x0;if(_0x5391dd['hasComments']&&_0x156986['hasComments'])return!0x1;if(_0x5391dd[_0x4ec9('0x48')]&&_0x156986['createdAt']<_0x5391dd[_0x4ec9('0x40')][_0x4ec9('0xe9')][_0x4ec9('0xd5')](0x0)['createdAt'])return!0x0;if(_0x156986[_0x4ec9('0x48')]&&_0x5391dd[_0x4ec9('0x99')]<_0x156986[_0x4ec9('0x40')][_0x4ec9('0xe9')]['get'](0x0)[_0x4ec9('0x99')])return!0x0;return!0x1;}(_0x80efd9[0x0],_0x7249ac[0x0]))return!0x1;const _0x553a5e=_0x3f6958(_0x80efd9[0x0][_0x4ec9('0xe5')],_0x4ec9('0x9a')),_0x449c00=_0x3f6958(_0x7249ac[0x0][_0x4ec9('0xe5')],_0x4ec9('0x9a'));if(!_0x5240aa(_0x553a5e,_0x449c00))return!0x1;return!!_0x80efd9[_0x4ec9('0x163')](_0x245445=>_0x7249ac[_0x4ec9('0x6c')](_0x34dfff=>_0x245445[_0x4ec9('0x43')]()[_0x4ec9('0x28')](_0x34dfff[_0x4ec9('0x43')]())))&&_0x7249ac['every'](_0x393935=>_0x80efd9[_0x4ec9('0x6c')](_0x1fce7b=>_0x393935[_0x4ec9('0x43')]()[_0x4ec9('0x28')](_0x1fce7b['getFirstRange']())));}}[_0x4ec9('0x78')](_0x1748b2){const _0x4bb899=Array['from'](_0x1748b2),_0x2bdc30=this[_0x4ec9('0x86')]({'skipNotAttached':!0x0}),_0xbf759=_0x2bdc30[_0x4ec9('0x3c')](_0xde8034=>!_0x1748b2['has'](_0xde8034)),_0x5954ad=new Map(_0x4bb899[_0x4ec9('0x143')](_0x458b58=>[_0x458b58,this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x458b58[_0x4ec9('0xff')],_0x458b58['subType'],_0x4ec9('0x64'))])),_0x11b356=new Map(_0x2bdc30[_0x4ec9('0x143')](_0xb426e6=>[_0xb426e6,_0xb426e6[_0x4ec9('0x94')]()]));for(let _0x2dcf91=0x0;_0x2dcf91<_0x4bb899['length'];_0x2dcf91++){if(_0x12ef7d(this,_0x4bb899[_0x2dcf91],_0x4bb899,_0x2dcf91+0x1))return!0x0;}for(let _0x9c3420=0x0;_0x9c3420<_0x4bb899[_0x4ec9('0x6f')];_0x9c3420++){if(_0x12ef7d(this,_0x4bb899[_0x9c3420],_0xbf759,0x0))return!0x0;}return!0x1;function _0x12ef7d(_0x34d6ce,_0x50970d,_0x599a6a,_0x4cce41){for(let _0xf141bb=_0x4cce41;_0xf141bb<_0x599a6a[_0x4ec9('0x6f')];_0xf141bb++){const _0x4fc8fb=_0x599a6a[_0xf141bb];if(_0x4fc8fb['type']!==_0x50970d[_0x4ec9('0xff')]||_0x4fc8fb[_0x4ec9('0x71')]['id']!==_0x50970d[_0x4ec9('0x71')]['id']||_0x4fc8fb[_0x4ec9('0x155')]!==_0x50970d[_0x4ec9('0x155')])continue;if(!Vt(_0x50970d,_0x4fc8fb))continue;if(_0x4ec9('0xbd')==_0x50970d[_0x4ec9('0xff')]&&_0x50970d['data'][_0x4ec9('0x9b')]!=_0x4fc8fb[_0x4ec9('0x16')]['oldValue'])continue;if(_0x4ec9('0xbd')==_0x50970d[_0x4ec9('0xff')]&&_0x34d6ce[_0x4ec9('0xdc')](_0x50970d[_0x4ec9('0x16')][_0x4ec9('0x18')]))continue;const _0x55e2fc=_0x5954ad[_0x4ec9('0xd5')](_0x50970d),_0x21f18d=_0x11b356[_0x4ec9('0xd5')](_0x50970d),_0x5cf376=_0x11b356[_0x4ec9('0xd5')](_0x4fc8fb),_0x33fe29=_0x50970d[_0x4ec9('0x40')]&&_0x50970d[_0x4ec9('0x40')][_0x4ec9('0x6f')],_0x3f84d1=_0x4fc8fb[_0x4ec9('0x40')]&&_0x4fc8fb[_0x4ec9('0x40')][_0x4ec9('0x6f')];if(!_0x33fe29&&_0x55e2fc(_0x5cf376,_0x21f18d))return _0x34d6ce['_joinSuggestions'](_0x4fc8fb,_0x50970d),_0x11b356[_0x4ec9('0x14f')](_0x50970d),!0x0;if(!_0x3f84d1&&_0x55e2fc(_0x21f18d,_0x5cf376))return _0x34d6ce[_0x4ec9('0x132')](_0x50970d,_0x4fc8fb),_0x11b356[_0x4ec9('0x14f')](_0x4fc8fb),!0x0;}return!0x1;}}[_0x4ec9('0x132')](_0x1e274a,_0x1d844e){if(_0x1e274a[_0x4ec9('0x74')])for(const _0x5a03cf of _0x1d844e[_0x4ec9('0x94')]())_0x1e274a[_0x4ec9('0x9e')](_0x5a03cf);else{const _0x12e936=_0x1d844e[_0x4ec9('0x43')]()[_0x4ec9('0x2')];this[_0x4ec9('0x60')](_0x1e274a,this['_model']['createRange'](_0x1e274a[_0x4ec9('0x43')]()['start'],_0x12e936));}_0x1d844e[_0x4ec9('0x6d')]();}[_0x4ec9('0xd0')](_0x32a6e8,_0x5e7ea6){const _0x19911a=_0x32a6e8[_0x4ec9('0x10f')](_0x4ec9('0x10'))||_0x32a6e8[_0x4ec9('0x10f')](_0x4ec9('0xbd'))?'FORMATTING':_0x32a6e8[_0x4ec9('0xd6')]();return _0x4ab33e(this[_0x4ec9('0xa9')][_0x4ec9('0xc5')],_0x5e7ea6+'_'+_0x19911a+'_SUGGESTION_ANNOUNCEMENT');}['_initAriaMarkerChangeAnnouncements'](){const _0x772a5d=this[_0x4ec9('0xa9')];_0x260b82(this[_0x4ec9('0x73')],({left:_0x5a0345,entered:_0x341817})=>{const _0x1ff686=[];for(const _0x48eba5 of _0x5a0345){const {group:_0x11efcb,type:_0x19fe38}=this[_0x4ec9('0x93')](_0x48eba5['name']);if(_0x4ec9('0x59')===_0x11efcb){_0x1ff686['push'](this[_0x4ec9('0xd0')](_0x19fe38,_0x4ec9('0x39')));break;}}for(const _0x17d0e3 of _0x341817){const {group:_0x3c6e79,type:_0x13849b}=this[_0x4ec9('0x93')](_0x17d0e3[_0x4ec9('0x135')]);if(_0x4ec9('0x59')===_0x3c6e79){_0x1ff686[_0x4ec9('0x91')](this['_getMarkerAnnouncementText'](_0x13849b,_0x4ec9('0xea')));break;}}_0x1ff686[_0x4ec9('0x6f')]&&_0x772a5d['ui'][_0x4ec9('0x25')]['announce'](_0x4ec9('0x158'),_0x1ff686[_0x4ec9('0x64')]('\x20'));});}[_0x4ec9('0x8')](_0x5a8813){if(null!==this[_0x4ec9('0x134')])return!0x1;const _0x372ca7=this[_0x4ec9('0xa9')],_0x3e63f0=_0x372ca7[_0x4ec9('0x12d')]['document'][_0x4ec9('0x7b')]['getChanges']();if(0x0==_0x3e63f0[_0x4ec9('0x6f')])return!0x1;const _0x36d0f4=[],_0x2c5f67=_0x3e63f0[_0x4ec9('0x3c')](_0xa5f1bf=>_0x4ec9('0xbd')==_0xa5f1bf[_0x4ec9('0xff')]),_0x88db99=_0x3e63f0[_0x4ec9('0x3c')](_0x15c8ae=>_0x4ec9('0x105')==_0x15c8ae[_0x4ec9('0xff')]&&'$text'!=_0x15c8ae['name']),_0x899978=_0x3e63f0[_0x4ec9('0x3c')](_0x574380=>'remove'==_0x574380[_0x4ec9('0xff')]&&'$text'!=_0x574380[_0x4ec9('0x135')]);for(const _0x569d35 of _0x2c5f67)_0x36d0f4[_0x4ec9('0x91')]({'key':_0x569d35[_0x4ec9('0x14d')],'newValue':_0x569d35[_0x4ec9('0x116')],'oldValue':_0x569d35[_0x4ec9('0x124')],'range':_0x2e416a(_0x569d35[_0x4ec9('0xdd')])});for(const _0x482a89 of _0x88db99){const _0x287262=_0x899978[_0x4ec9('0x38')](_0x2a5628=>_0x2a5628[_0x4ec9('0x2a')]['isEqual'](_0x482a89['position']));_0x287262&&_0x36d0f4[_0x4ec9('0x91')]({'key':'$elementName','newValue':_0x482a89['name'],'oldValue':_0x287262[_0x4ec9('0x135')],'range':_0x372ca7[_0x4ec9('0x12d')][_0x4ec9('0x30')](_0x482a89[_0x4ec9('0x2a')][_0x4ec9('0xf5')])});}return 0x0!=_0x36d0f4['length']&&this['_reduceExistingSuggestions'](_0x5a8813,_0x36d0f4);function _0x2e416a(_0x55afcc){return null==_0x55afcc[_0x4ec9('0x2')][_0x4ec9('0xb1')]&&_0x55afcc[_0x4ec9('0x2')][_0x4ec9('0xdb')]==_0x55afcc['start'][_0x4ec9('0xf5')]?Ut(_0x55afcc[_0x4ec9('0x69')][_0x4ec9('0xf5')],_0x372ca7[_0x4ec9('0x12d')]):_0x55afcc;}}['_processAttributeSuggestions'](_0x3c5b53){let _0x1d1223=!0x1;const _0x1f7c7d=this['editor']['model'][_0x4ec9('0x9f')][_0x4ec9('0x7b')][_0x4ec9('0x115')]()[_0x4ec9('0x3c')](_0xf80859=>_0xf80859[_0x4ec9('0x16')][_0x4ec9('0xf4')]&&_0xf80859[_0x4ec9('0x135')][_0x4ec9('0x10f')](_0x4ec9('0xcb')));for(const _0xb41543 of _0x1f7c7d){const {subType:_0x402713,id:_0x336f2a}=this['_splitMarkerName'](_0xb41543[_0x4ec9('0x135')]),_0x3f2fde=_0x402713['split']('|')[0x0];for(const _0x3cfc89 of this[_0x4ec9('0x86')]({'skipNotAttached':!0x0}))_0x3cfc89['id']!=_0x336f2a&&_0x4ec9('0xbd')==_0x3cfc89['type']&&_0x3cfc89[_0x4ec9('0x16')]&&_0x3cfc89[_0x4ec9('0x16')][_0x4ec9('0x18')]==_0x3f2fde&&_0x3cfc89['getFirstRange']()[_0x4ec9('0x140')](_0xb41543['data'][_0x4ec9('0xf4')])&&(this[_0x4ec9('0x42')](_0x3cfc89,_0xb41543['data'][_0x4ec9('0xf4')],_0x3c5b53),_0x1d1223=!0x0);}return _0x1d1223;}[_0x4ec9('0x164')](_0x1e30e9){if(null!==this[_0x4ec9('0x134')])return void _0x1e30e9();const _0x12267d=this['editor'];this['_recordAttributeSuggestionsFromVersion']=_0x12267d[_0x4ec9('0x12d')]['document']['version'],_0x1e30e9();const _0x53b4b2=new Map();for(const _0x42307e of _0x12267d[_0x4ec9('0x12d')]['document']['history'][_0x4ec9('0xa2')](this[_0x4ec9('0x134')]))if([_0x4ec9('0x10e'),_0x4ec9('0x4'),_0x4ec9('0xf9'),_0x4ec9('0x5a')][_0x4ec9('0x12c')](_0x42307e[_0x4ec9('0xff')])){const _0x2016b2=_0x42307e['batch'],_0x199b97=_0x53b4b2[_0x4ec9('0xd5')](_0x2016b2)||[];_0x199b97['push'](_0x42307e),_0x53b4b2['set'](_0x2016b2,_0x199b97);}this[_0x4ec9('0x134')]=null;for(const [_0x9d558b,_0x20534c]of _0x53b4b2){const _0x49ddfe=_0x1a1471();_0x12267d['model'][_0x4ec9('0x1b')](_0x9d558b,_0x166cf4=>{const _0x508bf4=[];for(const _0x2d5aab of _0x20534c){let _0x21dab9,_0x1c5206,_0x149f13,_0x4e7615;if(_0x4ec9('0x10e')==_0x2d5aab[_0x4ec9('0xff')]){const _0x3157d1=_0x2d5aab;_0x21dab9=Ut(_0x3157d1['position']['nodeAfter'],_0x12267d[_0x4ec9('0x12d')]),_0x1c5206=_0x4ec9('0xf'),_0x149f13=_0x3157d1[_0x4ec9('0x9d')],_0x4e7615=_0x3157d1[_0x4ec9('0x149')];}else{const _0x2db41b=_0x2d5aab,_0x4c961a=this['_isBlockAttribute'](_0x2db41b[_0x4ec9('0x18')]),_0x48e380=this['_inlineAttributeKeys'][_0x4ec9('0x3b')](_0x2db41b[_0x4ec9('0x18')]);if(!_0x4c961a&&!_0x48e380)continue;_0x21dab9=_0x4c961a?Ut(_0x2db41b[_0x4ec9('0xdd')][_0x4ec9('0x69')][_0x4ec9('0xf5')],_0x12267d[_0x4ec9('0x12d')]):_0x2db41b[_0x4ec9('0xdd')],_0x1c5206=_0x2db41b[_0x4ec9('0x18')],_0x149f13=_0x4ec9('0xf9')==_0x2d5aab[_0x4ec9('0xff')]?void 0x0:_0x2db41b['newValue'],_0x4e7615=_0x2db41b[_0x4ec9('0x9b')];}this[_0x4ec9('0xad')](_0x21dab9,_0x1c5206,_0x4e7615,_0x149f13,{'groupId':_0x49ddfe}),_0x508bf4[_0x4ec9('0x91')]({'range':_0x21dab9,'key':_0x1c5206,'newValue':_0x149f13,'oldValue':_0x4e7615});}this[_0x4ec9('0x15c')](_0x166cf4,_0x508bf4);});}}[_0x4ec9('0x15c')](_0x4f9f03,_0x267699){if(0x0==_0x267699[_0x4ec9('0x6f')])return!0x1;let _0x16a28d=!0x1;for(const _0x11692d of _0x267699){const _0xce2c78=this[_0x4ec9('0xd8')](_0x11692d[_0x4ec9('0xdd')],_0x4ec9('0xbd'))[_0x4ec9('0x3c')](_0x58e193=>!_0x58e193[_0x4ec9('0xac')][_0x4ec9('0x2f')])[_0x4ec9('0x143')](_0x401667=>_0x401667[_0x4ec9('0x59')]),_0x410b63=_0x3b9db5({'newValue':_0x11692d[_0x4ec9('0xc9')]});_0xce2c78['filter'](_0x231df0=>{const [_0x280699,_0x1a92b4]=_0x231df0[_0x4ec9('0x155')][_0x4ec9('0x15b')]('|');return _0x280699==_0x11692d[_0x4ec9('0x18')]&&_0x1a92b4!=_0x410b63;})[_0x4ec9('0xc7')](_0x1cc102=>{this[_0x4ec9('0x42')](_0x1cc102,_0x11692d[_0x4ec9('0xdd')],_0x4f9f03),_0x16a28d=!0x0;});}return _0x16a28d;}['_reduceSuggestionAttributeRange'](_0x168ea4,_0x239fcf,_0x1ee50c){const _0x500408=_0x168ea4['getFirstRange']()[_0x4ec9('0x6')](_0x239fcf);0x0!==_0x500408[_0x4ec9('0x6f')]?0x1!==_0x500408[_0x4ec9('0x6f')]?this['_breakSuggestionMarker'](_0x168ea4,_0x239fcf[_0x4ec9('0x69')],_0x239fcf[_0x4ec9('0x2')]):this[_0x4ec9('0x60')](_0x168ea4,_0x500408[0x0]):_0x1ee50c['removeMarker'](_0x168ea4['getFirstMarker']());}}class Bt{constructor(_0x4279d4){this[_0x4ec9('0x113')]=_0x4279d4,this[_0x4ec9('0x73')]=_0x4279d4[_0x4ec9('0x12d')],this[_0x4ec9('0xc6')]=new Map(),this[_0x4ec9('0x119')]=new Map(),this['_registerDefaultCallbacks']();}[_0x4ec9('0x84')](_0x5f48b9,_0x295c2e,_0x3c3de6,_0x141477,_0x4be12f,_0x526ee9){return new _0x3f936a(this[_0x4ec9('0x73')],{'type':_0x5f48b9,'subType':_0x295c2e,'id':_0x3c3de6,'author':_0x141477,'creator':_0x141477,'attributes':_0x4be12f,'onAttributesChange':_0x526ee9,'onAccept':(..._0x848f19)=>this[_0x4ec9('0xd7')](_0x5f48b9,_0x295c2e,_0x4ec9('0xe0'))(..._0x848f19),'onDiscard':(..._0x193c4a)=>this[_0x4ec9('0xd7')](_0x5f48b9,_0x295c2e,_0x4ec9('0x92'))(..._0x193c4a)});}['registerCustomCallback'](_0x369afa,_0x4777ea,_0x7fca95,_0x311c8e){const _0x28cac8=_0x369afa+':'+_0x4777ea+':'+_0x7fca95;this[_0x4ec9('0xc6')][_0x4ec9('0x12e')](_0x28cac8,_0x311c8e);}[_0x4ec9('0xd7')](_0x313baf,_0x2b5a07,_0x5f318c){const _0x4e81b4=_0x313baf+':'+_0x2b5a07+':'+_0x5f318c;return this[_0x4ec9('0xc6')][_0x4ec9('0xd5')](_0x4e81b4)||this['_defaultCallbacks'][_0x4ec9('0xd5')](_0x313baf+':'+_0x5f318c);}[_0x4ec9('0xed')](){const _0x409ca6=()=>!0x1,_0x3e230d=_0x57776d=>{_0x57776d['sort']((_0xd40497,_0x211d62)=>_0xd40497[_0x4ec9('0x69')][_0x4ec9('0xba')](_0x211d62[_0x4ec9('0x69')])?0x1:-0x1),this['_model']['change'](_0x57b99f=>{for(const _0x3d794a of _0x57776d){let _0x5e7044;_0x5e7044=_0x3d794a[_0x4ec9('0x2')]['isAtEnd']&&_0x3d794a[_0x4ec9('0x2')][_0x4ec9('0xdb')]==_0x3d794a[_0x4ec9('0x69')][_0x4ec9('0xf5')]?_0x57b99f[_0x4ec9('0x7d')](_0x3d794a[_0x4ec9('0x69')][_0x4ec9('0xf5')],'on'):_0x57b99f[_0x4ec9('0x7d')](_0x3d794a),this[_0x4ec9('0x73')][_0x4ec9('0xd')](_0x5e7044,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x467139=(_0xcf421,_0x5d1ae5)=>{_0x5d1ae5&&this[_0x4ec9('0x73')][_0x4ec9('0x109')](_0x5ed855=>{const {commandName:_0x1ba985,commandParams:_0x49a905=[]}=_0x5d1ae5,_0x3c6791=_0xcf421[_0x4ec9('0x143')](_0x21524e=>(xt(_0x21524e)&&(_0x21524e=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x21524e['end'])),_0x21524e))[_0x4ec9('0x3c')](_0x1d8dfb=>_0x4ec9('0xa5')!==_0x1d8dfb[_0x4ec9('0x83')]['rootName']);if(_0x3c6791['length']<0x1)return;const _0x1e9291=Array['from'](this['_model'][_0x4ec9('0x9f')]['selection'][_0x4ec9('0x94')]())[_0x4ec9('0x143')](_0x45ab4e=>_0x49a89e[_0x4ec9('0x165')](_0x45ab4e));_0x5ed855[_0x4ec9('0x24')](_0x3c6791);for(const _0x3df219 of this[_0x4ec9('0x113')][_0x4ec9('0x167')][_0x4ec9('0x167')]())_0x3df219[_0x4ec9('0x5')]();_0x49a905[_0x4ec9('0x91')]({'forceDefaultExecution':!0x0}),this[_0x4ec9('0x113')]['execute'](_0x1ba985,..._0x49a905);const _0x5d31c3=_0x1e9291['filter'](_0x18edf8=>_0x4ec9('0xa5')!=_0x18edf8['root']['rootName']);_0x5d31c3[_0x4ec9('0x6f')]>0x0&&_0x5ed855[_0x4ec9('0x24')](_0x5d31c3);for(const _0x2469b8 of _0x1e9291)_0x2469b8['detach']();});},_0x53b003=(_0x51182b,_0x5577b6)=>0x1==_0x51182b['length']&&0x1==_0x5577b6[_0x4ec9('0x6f')]&&_0x51182b[0x0][_0x4ec9('0x2')][_0x4ec9('0x28')](_0x5577b6[0x0][_0x4ec9('0x69')]),_0x2b920f=(_0x544b12,_0x53c569,_0x4e9efc,_0xb91782)=>Ot(_0x544b12,_0x53c569,_0x4e9efc,_0xb91782,this['_model'])?[_0x544b12,_0x53c569]:Ot(_0x53c569,_0x544b12,_0xb91782,_0x4e9efc,this[_0x4ec9('0x73')])?[_0x53c569,_0x544b12]:null;this['_defaultCallbacks'][_0x4ec9('0x12e')]('insertion:accept',_0x409ca6),this['_defaultCallbacks'][_0x4ec9('0x12e')](_0x4ec9('0xbf'),_0x3e230d),this[_0x4ec9('0x119')][_0x4ec9('0x12e')]('insertion:join',_0x53b003),this[_0x4ec9('0x119')]['set'](_0x4ec9('0xa3'),_0x2b920f),this['_defaultCallbacks'][_0x4ec9('0x12e')]('deletion:accept',_0x3e230d),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x5c'),_0x409ca6),this['_defaultCallbacks']['set']('deletion:join',_0x53b003),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x174'),_0x2b920f),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x157'),_0x467139),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x95'),_0x409ca6),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x45'),_0x53b003),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x4c'),_0x409ca6),this['_defaultCallbacks'][_0x4ec9('0x12e')]('formatBlock:accept',_0x467139),this['_defaultCallbacks'][_0x4ec9('0x12e')](_0x4ec9('0x16a'),_0x409ca6),this[_0x4ec9('0x119')]['set']('formatBlock:join',_0x53b003),this['_defaultCallbacks']['set'](_0x4ec9('0xc'),_0x409ca6),this[_0x4ec9('0x119')]['set'](_0x4ec9('0xcf'),_0x409ca6),this[_0x4ec9('0x119')]['set'](_0x4ec9('0x4f'),(_0x385eca,_0x54343f)=>{if(!_0x54343f)return;const _0xba1997=this['_editor']['plugins'][_0x4ec9('0xd5')](p);this[_0x4ec9('0x73')][_0x4ec9('0x109')](_0x19f563=>{if(_0x4ec9('0xf')==_0x54343f['key'])for(const _0x37a9af of _0x385eca){const _0x179aea=_0x37a9af['start']['nodeAfter'],_0x23b3df=_0x54343f[_0x4ec9('0x9b')];_0x19f563[_0x4ec9('0x10e')](_0x179aea,_0x23b3df);}else{if(_0xba1997[_0x4ec9('0xdc')](_0x54343f[_0x4ec9('0x18')]))for(const _0x5eb37b of _0x385eca)void 0x0!==_0x54343f[_0x4ec9('0x9b')]?_0x19f563[_0x4ec9('0xf7')](_0x54343f[_0x4ec9('0x18')],_0x54343f[_0x4ec9('0x9b')],_0x5eb37b['start'][_0x4ec9('0xf5')]):_0x19f563[_0x4ec9('0xf9')](_0x54343f['key'],_0x5eb37b[_0x4ec9('0x69')]['nodeAfter']);else for(const _0x1171b4 of _0x385eca)_0x54343f[_0x4ec9('0x9b')]?_0x19f563[_0x4ec9('0xf7')](_0x54343f['key'],_0x54343f[_0x4ec9('0x9b')],_0x1171b4):_0x19f563[_0x4ec9('0xf9')](_0x54343f[_0x4ec9('0x18')],_0x1171b4);}});}),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0xd3'),_0x53b003);}}function Tt(_0x14b98b,_0x5df813,_0x1d0f56){for(const _0x3db99f of _0x5df813[_0x4ec9('0xdb')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3db99f[_0x4ec9('0x83')]==_0x3db99f)return!0x1;if(!_0x1d0f56['containsItem'](_0x3db99f))return!0x1;if(_0x14b98b[_0x4ec9('0x156')](_0x3db99f)||_0x14b98b['isLimit'](_0x3db99f))return!0x0;}return!0x1;}function xt(_0x492421){return _0x492421[_0x4ec9('0x2')][_0x4ec9('0xdb')]==_0x492421[_0x4ec9('0x69')]['nodeAfter']&&_0x492421[_0x4ec9('0x2')][_0x4ec9('0xb4')];}function Et(_0x5f3ab5,_0x379e1a,_0x5cf042,_0x3e12aa){const _0x2d765f=_0x399281=>!_0x399281['item']['is'](_0x4ec9('0x23'))&&!_0x3e12aa[_0x4ec9('0x156')](_0x399281['item']),_0x59c7fd=_0x5f3ab5[_0x4ec9('0x69')][_0x4ec9('0x82')](_0x2d765f),_0x507d72=_0x5f3ab5['end']['getLastMatchingPosition'](_0x2d765f,{'direction':_0x4ec9('0x107')});return(!_0x5f3ab5['start'][_0x4ec9('0x28')](_0x59c7fd)||!_0x5f3ab5[_0x4ec9('0x2')][_0x4ec9('0x28')](_0x507d72))&&(_0x59c7fd[_0x4ec9('0xba')](_0x507d72)?_0x5cf042['updateMarker'](_0x379e1a,{'range':_0x5cf042[_0x4ec9('0x103')](_0x59c7fd,_0x507d72)}):_0x5cf042['removeMarker'](_0x379e1a),!0x0);}function Rt(_0x551643){return _0x3b9db5(_0x551643);}function jt(_0x17aded){const _0x4eaf10=_0x17aded['start'][_0x4ec9('0xf5')];return _0x4eaf10&&_0x4eaf10['is'](_0x4ec9('0x20'));}function Ut(_0x5c7a6c,_0x91c8f2){const _0x40105e=_0x91c8f2[_0x4ec9('0x9c')][_0x4ec9('0x156')](_0x5c7a6c)||_0x91c8f2[_0x4ec9('0x9c')]['isSelectable'](_0x5c7a6c);return _0x91c8f2['createRange'](_0x91c8f2[_0x4ec9('0xe2')](_0x5c7a6c,_0x4ec9('0x144')),_0x40105e?_0x91c8f2['createPositionAfter'](_0x5c7a6c):_0x91c8f2[_0x4ec9('0xe2')](_0x5c7a6c,_0x4ec9('0x2')));}function Ot(_0x9c785c,_0x4451f9,_0x66307e,_0x3037ae,_0x5db251){if(!Vt(_0x9c785c,_0x4451f9))return!0x1;if(_0x66307e[_0x4ec9('0x2')][_0x4ec9('0x28')](_0x3037ae['start']))return!0x0;if(_0x9c785c['type']!=_0x4451f9[_0x4ec9('0xff')])return!0x1;if(!_0x66307e[_0x4ec9('0x2')]['isTouching'](_0x3037ae[_0x4ec9('0x69')]))return!0x1;const _0x31ae51=_0x5db251[_0x4ec9('0x103')](_0x66307e[_0x4ec9('0x2')],_0x3037ae[_0x4ec9('0x69')])[_0x4ec9('0x17a')]();for(const _0x29d5b4 of _0x31ae51)if([_0x4ec9('0x14c'),_0x4ec9('0x0')][_0x4ec9('0x12c')](_0x29d5b4['type'])&&_0x5db251[_0x4ec9('0x9c')]['isLimit'](_0x29d5b4[_0x4ec9('0x3d')]))return!0x1;return!0x0;}function Vt(_0x562970,_0x10cee0){return!(!_0x562970[_0x4ec9('0xc2')]||!_0x10cee0[_0x4ec9('0xc2')])&&_0x5240aa(_0x562970[_0x4ec9('0xe5')],_0x10cee0[_0x4ec9('0xe5')]);}function Ft(_0x112fb4,_0x44b1e3){const _0x58ad7f=Gt(_0x112fb4[_0x4ec9('0xe5')]),_0x4aebd7=Gt(_0x44b1e3);if(!_0x112fb4[_0x4ec9('0xc2')])return!0x1;for(const _0x25cd08 of Object[_0x4ec9('0x81')](_0x4aebd7))if(!_0x5240aa(_0x58ad7f[_0x25cd08],_0x4aebd7[_0x25cd08]))return!0x1;return!0x0;}function Gt(_0x239864){const _0x26c005=Object[_0x4ec9('0x97')]({},_0x239864);return delete _0x26c005[_0x4ec9('0xb3')],delete _0x26c005[_0x4ec9('0x11b')],_0x26c005;}
|