@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231220.0 → 0.0.0-nightly-20231222.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231222.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20231222.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231222.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2797=['getLastMatchingPosition','oldValue','_cutOutSuggestionMarker','addMarker:suggestion','TrackChangesEditing','createPositionAt','_refreshAttributeSuggestionsChain','get','_rangeIsInLocalUserInsertion','author','markAttributeChange','authorName','buildSuggestion','howMany','_suggestionFactory','ck-suggestion-marker-','nodeAfter','add','fire','_breakSuggestionMarker','attributes','_commentsRepository','config','markMultiRangeBlockFormat','updateSuggestion','suggestion:','removeMarker:suggestion:formatBlock','markInsertion','from','getSuggestion','attributeOldValue','_isDataLoaded','formatBlock:join','_reduceExistingSuggestions','startsWith','getAncestors','trackChanges.trackFormatChanges','track-changes-command-not-found','ready','_getSuggestionData','pop','@external','_registerBlockAttribute','format','isCollapsed','filter','$elementName','return','newRange','keys','external:','always','ck-suggestion-marker--active','isAtStart','isBefore','getUser','_setSuggestionData','detach','attribute','then','isIntersecting','_handleNewSuggestionMarker','containsRange','_setSuggestionRange','insertion:accept','getAttribute','group','for','plugins','newValue','join','size','Users','formatInline:join','consumable','getItems','accept','getSuggestions','head','getFirstRange','change:data','track-changes-adapter-missing-getsuggestion','rejected','formatBlock','_registerDefaultCallbacks','track-changes-enable-command-twice','isMultiRange','registerPostFixer','formatBlock:discard','acceptSuggestion','suggestionChanged','_recordAttributeSuggestionsFromVersion','tablePasteChainId','isOwn','dataReady','key','isDocumentOperation','formatInline','isObject','_SUGGESTION_ANNOUNCEMENT','isAfter','_mergeNestedSuggestions','backward','hasCommentThread','rootName','getNearestSelectionRange','getShiftedBy','suggestionUnloaded','widget','deletion:join','addMarkerName','_adapter','markDeletion','originalSuggestionId','$text','isExternal','discardSelectedSuggestions','suggestion','enableCommand','substring','commentThread','split','marker-count','error-saving-suggestion-data-suggestion-discarded','attribute:accept','after','_refreshSuggestionsChain','deleteContent','skipNestingCheck','markerName','reconvertMarker','formatBlock:accept','document','map','multi','containsRangeInObject','root','applyOperation','isInsideObject','getRanges','rethrowUnexpectedError','includes','selection','addComment','multipleBlocks','_model','_defaultCallbacks','markerNameToElements','isAtEnd','discardAllSuggestions','addHighlight','_isForcedDefaultExecutionBlock','oldRange','isIntersectingWithRange','change','addMarker:suggestion:formatBlock','notReady','_trackFormatChanges','ck-suggestion-marker-formatBlock','markBlockFormat','ck-suggestion-marker','_suggestionState','insertContent','getFirstMarker','insertion','enableReadOnlyMode','LEAVE','removeClass','trackChangesCommand','item','editing','targetPosition','subType','isNextTo','formatBlock:','_enableDefaultAttributesIntegration','getOperations','hasComments','requires','_createSuggestion','getAllAdjacentSuggestions','fetchCommentThread','showSuggestionHighlights','length','forceDefaultExecution','_customCallbacks','formatInline:','substr','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.','track-changes-user-not-found','mapper','parent','find','delete','createRange','default','PendingActions','resolve','some','getChangedMarkers','stop','getChanges','_suggestions','has','addCommentThread','_editor','enqueueChange','_processAttributeSuggestions','getDifference','deletion:chain','createElement','setAttribute','removed','addMarker:suggestion:attribute','ck-suggestion-marker-formatInline','rename','fromRange','move','ENTER','isEqual','name','nodeBefore','removeMarkers','isBlock','PENDING_ACTION_SUGGESTION','ariaLiveAnnouncer','_descriptionFactory','_addSuggestionMarker','assign','data','suggestionLoaded','$textProxy','attributeNewValue','_recordAttributeChanges','schema','position','adapter','groupId','every','trackChanges.mergeNestedSuggestions','FORMATTING','upcast','markMultiRangeInsertion','comments','addSuggestionData','_splitMarkerName','discard','dataToMarker','formatInline:chain','unshift','locale','CommentsRepository','markerToData','stopListening','newName','isSelectable','previous','_getAuthorFromId','containsItem','addRange','_inlineAttributeKeys','isUndo','editor','unbind','discardSuggestion','data-suggestion','_isBlockAttribute','push','trackChanges','define','toViewElement','high','values','markInlineFormat','next','type','collaboration.channelId','_processAttributeChanges','oldName','insertion:chain','meta','insertion:join','clear','remove','_saved','_enabledCommands','_joinSuggestions','getMultiRangeId','getWalker','markerToHighlight','getRange','isInContent','getSuggestionCallback','pluginName','$graveyard','_removeSuggestion','deletion:discard','setTo','batch','_checkSuggestionCorrectness','deletion','hasSuggestion','_onDiscard','differ','getContainedElement','containerElement','start','version','commands','isLimit','_getMarkerAnnouncementText','execute','setSelection','removeAttribute','dataDowncast','element','creator','markerReady','highest','insertion:discard','changeAttribute','range','_getExternalAuthor','deletion:accept','attribute:','authoredAt','activeMarkers','suggestion:attribute:','change:_saved','containsPosition','unbindElementFromMarkerName','end','value','announce','addClass','_joinWithAdjacentSuggestions','getIntersection','refresh','splice','_registerInlineAttribute','formatBlock:chain','listenTo','markMultiRangeDeletion','getCustomProperty','model','consume','formatInline:discard','isRemovable','conversion','fromCharCode','_updateSuggestionData','set','documentSelection','forward','change:activeMarkers','writer','options','sort','updateMarker','addSuggestion','suggestion-type','removeMarker','track-changes-suggestion-data-mismatch','formatGroupId','deletion:','before','lowest','_reduceSuggestionAttributeRange','addUser','never','createdAt','_findSuggestions','_initAriaMarkerChangeAnnouncements','low','editingDowncast','acceptAllSuggestions','track-changes-suggestion-not-found','insert','_blockAttributeKeys','toUpperCase'];(function(_0x3a0d62,_0x279757){const _0x27cf51=function(_0x3e1b45){while(--_0x3e1b45){_0x3a0d62['push'](_0x3a0d62['shift']());}};_0x27cf51(++_0x279757);}(_0x2797,0x158));const _0x27cf=function(_0x3a0d62,_0x279757){_0x3a0d62=_0x3a0d62-0x0;let _0x27cf51=_0x2797[_0x3a0d62];return _0x27cf51;};import{Plugin as _0x1ac874,PendingActions as _0x31c61c}from'ckeditor5/src/core.js';import{LiveRange as _0x58a33b}from'ckeditor5/src/engine.js';import{CKEditorError as _0x179a44,uid as _0x487386,priorities as _0x471936,logWarning as _0x1154c3}from'ckeditor5/src/utils.js';import{toWidget as _0x4a8b4d}from'ckeditor5/src/widget.js';import{Users as _0x4a392f,hashObject as _0x4f0889,surroundingMarkersDetector as _0x5d222d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1c4a58 from'./commands/trackchangescommand.js';import _0x478519 from'./commands/acceptsuggestioncommand.js';import _0x48fd06 from'./commands/discardsuggestioncommand.js';import _0x1608af from'./commands/executeonallsuggestionscommand.js';import _0x469a01 from'./commands/executeonselectedsuggestionscommand.js';import _0x3076e1 from'./suggestion.js';import _0x2f5c23 from'./suggestiondescriptionfactory.js';import _0x8e7f2c from'./integrations/aiassistant.js';import _0x779425 from'./integrations/alignment.js';import _0x5636cc from'./integrations/basicstyles.js';import _0x29351c from'./integrations/blockquote.js';import _0x19a2f3 from'./integrations/ckbox.js';import _0x262dc8 from'./integrations/codeblock.js';import _0x1e8e70 from'./integrations/comments.js';import _0x21817a from'./integrations/deletecommand.js';import _0x332559 from'./integrations/documentlist.js';import _0x16438b from'./integrations/documentlistproperties.js';import _0x5e4963 from'./integrations/entercommand.js';import _0x454ccc from'./integrations/findandreplace.js';import _0x4a6a06 from'./integrations/font.js';import _0x54ca36 from'./integrations/formatpainter.js';import _0xbbecf4 from'./integrations/heading.js';import _0x24b6c3 from'./integrations/highlight.js';import _0x3ddf45 from'./integrations/horizontalline.js';import _0x1df66a from'./integrations/htmlembed.js';import _0x4fb95a from'./integrations/image.js';import _0x150a3d from'./integrations/imagereplace.js';import _0x1d6409 from'./integrations/imagestyle.js';import _0x16dfe5 from'./integrations/importword.js';import _0x2991bd from'./integrations/indent.js';import _0x4aad24 from'./integrations/inputcommand.js';import _0x2267a7 from'./integrations/link.js';import _0x3ee597 from'./integrations/list.js';import _0x12f360 from'./integrations/listproperties.js';import _0x1c98a6 from'./integrations/mediaembed.js';import _0x1894db from'./integrations/mention.js';import _0x3a492d from'./integrations/pagebreak.js';import _0x108799 from'./integrations/paragraph.js';import _0x350a91 from'./integrations/removeformat.js';import _0x17b18f from'./integrations/restrictededitingmode.js';import _0x3ed334 from'./integrations/shiftentercommand.js';import _0xc7bd5d from'./integrations/standardeditingmode.js';import _0x470a91 from'./integrations/style.js';import _0x273c97 from'./integrations/table.js';import _0x65f95a from'./integrations/tablemergesplit.js';import _0x4f4d66 from'./integrations/tableheadings.js';import _0x5604a2 from'./integrations/tableclipboard.js';import _0x4b8f4b from'./integrations/tablecolumnresize.js';import _0x7fec1f from'./integrations/template.js';import _0x24c588 from'./integrations/tableofcontents.js';import _0x355539 from'./integrations/title.js';import _0x2485b4 from'./integrations/undo.js';import _0x1f5d31 from'./integrations/tablecaption.js';import _0x584f32 from'./integrations/tableproperties.js';import{getTranslation as _0x298422}from'./utils/common-translations.js';import{isEqual as _0x4d7397,omit as _0x4edf07}from'lodash-es';export const renameAttributeKey=_0x27cf('0x52');export default class p extends _0x1ac874{static get[_0x27cf('0xd6')](){return['CommentsRepository',_0x4a392f,_0x31c61c,_0x8e7f2c,_0x779425,_0x5636cc,_0x29351c,_0x19a2f3,_0x262dc8,_0x1e8e70,_0x21817a,_0x332559,_0x16438b,_0x5e4963,_0x454ccc,_0x4a6a06,_0x54ca36,_0xbbecf4,_0x24b6c3,_0x3ddf45,_0x1df66a,_0x4fb95a,_0x1d6409,_0x150a3d,_0x16dfe5,_0x2991bd,_0x4aad24,_0x2267a7,_0x3ee597,_0x12f360,_0x1c98a6,_0x1894db,_0x3a492d,_0x108799,_0x350a91,_0x17b18f,_0x3ed334,_0xc7bd5d,_0x470a91,_0x273c97,_0x65f95a,_0x4f4d66,_0x1f5d31,_0x5604a2,_0x4b8f4b,_0x24c588,_0x584f32,_0x7fec1f,_0x355539,_0x2485b4];}static get[_0x27cf('0x149')](){return _0x27cf('0x28');}constructor(_0x3ee7b0){function _0xbf1e23(_0x3aa9b7){return _0x3aa9b7[_0x27cf('0xa9')](_0x17f784=>String[_0x27cf('0x5')](_0x17f784))[_0x27cf('0x6a')]('');}super(_0x3ee7b0),this[_0x27cf('0x7f')]=null,this[_0x27cf('0x7')](_0x27cf('0x16a'),[]),this['on'](_0x27cf('0xa'),(_0x21cf80,_0x5f1840,_0x4ab9b6,_0x3e2d46)=>{this[_0x27cf('0xb5')][_0x27cf('0xbe')](()=>{for(const _0x4064b3 of[..._0x3e2d46,..._0x4ab9b6])this['_model']['markers'][_0x27cf('0xef')](_0x4064b3)&&_0x3ee7b0[_0x27cf('0xce')][_0x27cf('0xa6')](_0x4064b3);});}),this[_0x27cf('0x106')]=new _0x2f5c23(this[_0x27cf('0x12a')][_0x27cf('0x0')][_0x27cf('0x10e')],this[_0x27cf('0x12a')][_0x27cf('0x11e')]),this[_0x27cf('0x93')]=null,this[_0x27cf('0x32')]=new $t(this[_0x27cf('0x12a')]),this[_0x27cf('0xee')]=new Map(),this[_0x27cf('0x39')]=_0x3ee7b0[_0x27cf('0x68')][_0x27cf('0x2b')](_0x27cf('0x11f')),this[_0x27cf('0x141')]=new Set(),this[_0x27cf('0xb5')]=this[_0x27cf('0x12a')][_0x27cf('0x0')],this[_0x27cf('0xc5')]=new WeakMap(),this[_0x27cf('0xbb')]=!0x1,this[_0x27cf('0x22')]=new Set([_0x27cf('0x52')]),this['_inlineAttributeKeys']=new Set(),_0x3ee7b0[_0x27cf('0x3a')][_0x27cf('0x131')]('trackChanges.trackFormatChanges',_0x27cf('0xe7')),this['_trackFormatChanges']=_0x3ee7b0[_0x27cf('0x3a')][_0x27cf('0x2b')](_0x27cf('0x48')),_0x3ee7b0['config']['define'](_0x27cf('0x113'),!0x0),this[_0x27cf('0x89')]=_0x3ee7b0[_0x27cf('0x3a')]['get'](_0x27cf('0x113')),this[_0x27cf('0xcc')]=new _0x1c4a58(_0x3ee7b0,this['_enabledCommands']),this[_0x27cf('0x1c')](),this[_0xbf1e23([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xbf1e23([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x30]);}['init'](){const _0x30186b=this['editor'],_0x4ef1c8=(_0x5a978e,_0x25fa5e)=>{if(_0x27cf('0x5e')!=_0x5a978e)return _0x27cf('0x33')+_0x5a978e;const _0x445785=_0x25fa5e['split']('|')[0x0];return this[_0x27cf('0x12e')](_0x445785)?_0x27cf('0xc2'):_0x27cf('0xfa');};_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x1e'))[_0x27cf('0x145')]({'model':_0x27cf('0x99'),'view':_0x33ec74=>{const {id:_0x2d6f7d,type:_0x28762c,subType:_0x50c266}=this['_splitMarkerName'](_0x33ec74[_0x27cf('0xa5')]),_0x3f6f36=['ck-suggestion-marker',_0x4ef1c8(_0x28762c,_0x50c266)];let _0xcaf888=0xbb8;return this['activeMarkers'][_0x27cf('0xb1')](_0x33ec74[_0x27cf('0xa5')])&&(_0x3f6f36[_0x27cf('0x12f')]('ck-suggestion-marker--active'),_0xcaf888=0xbc2),_0x27cf('0x150')==_0x28762c&&(_0xcaf888+=0x5),{'classes':_0x3f6f36,'attributes':{'data-suggestion':_0x2d6f7d},'priority':_0xcaf888};}}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x15e'))[_0x27cf('0x35')](_0x16bb01=>{_0x16bb01['on'](_0x27cf('0x27'),(_0x10c788,_0x2a2fbb,_0x43d40b)=>{if(!_0x43d40b[_0x27cf('0xc')][_0x27cf('0xda')])return;const _0x4eafa6=_0x2a2fbb['item'];if(!_0x4eafa6)return;const _0x1f17ca=_0x43d40b[_0x27cf('0xe2')][_0x27cf('0x132')](_0x4eafa6);_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')][_0x27cf('0x86')](_0x4eafa6)&&_0x1f17ca&&!_0x1f17ca[_0x27cf('0x17b')](_0x27cf('0x90'))&&_0x1f17ca['is'](_0x27cf('0x155'))&&_0x4a8b4d(_0x1f17ca,_0x43d40b[_0x27cf('0xb')]);},{'priority':_0x27cf('0x133')});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')]('dataDowncast')['markerToHighlight']({'model':_0x27cf('0x99'),'view':(_0x2e7b5d,_0x479f73)=>{if(!_0x479f73[_0x27cf('0xc')][_0x27cf('0xda')])return null;const {type:_0xcaabd,subType:_0x2cf8a7}=this[_0x27cf('0x119')](_0x2e7b5d['markerName']);return{'classes':[_0x27cf('0xc4'),_0x4ef1c8(_0xcaabd,_0x2cf8a7)],'priority':0xbb8};}});const _0x1bfcc7=({showActiveMarkers:_0x4b13a8=!0x0,isAttributeSuggestion:_0x805965=!0x1}={})=>(_0x3dbf5c,_0x2f7c84,_0xda3694)=>{if(!_0x2f7c84['item'])return;const {id:_0x5f106b}=this[_0x27cf('0x119')](_0x2f7c84[_0x27cf('0xa5')]);if(_0x805965){const _0x30b494=Pt(this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x5f106b));if(!this[_0x27cf('0x12e')](_0x30b494))return;}if(_0x2f7c84[_0x27cf('0xcd')]['is'](_0x27cf('0xb2')))return void _0xda3694[_0x27cf('0x6e')][_0x27cf('0x1')](_0x2f7c84[_0x27cf('0xcd')],_0x3dbf5c[_0x27cf('0x100')]);const _0x1e6903=_0xda3694[_0x27cf('0xe2')][_0x27cf('0x132')](_0x2f7c84['item']);if(_0x2f7c84['item']['is'](_0x27cf('0x15f'))&&_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')][_0x27cf('0x103')](_0x2f7c84[_0x27cf('0xcd')])&&!_0x1e6903[_0x27cf('0x17b')]('addHighlight')){_0xda3694[_0x27cf('0xb')][_0x27cf('0x172')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x1e6903),_0xda3694[_0x27cf('0xb')][_0x27cf('0xf7')](_0x27cf('0x12d'),_0x5f106b,_0x1e6903),_0xda3694['mapper']['bindElementToMarker'](_0x1e6903,_0x2f7c84[_0x27cf('0xa5')]),_0x4b13a8&&(this[_0x27cf('0x16a')][_0x27cf('0xb1')](_0x2f7c84[_0x27cf('0xa5')])?_0xda3694[_0x27cf('0xb')][_0x27cf('0x172')](_0x27cf('0x58'),_0x1e6903):_0xda3694[_0x27cf('0xb')][_0x27cf('0xcb')](_0x27cf('0x58'),_0x1e6903));for(const _0x3bd66b of _0x30186b[_0x27cf('0x0')]['createRangeIn'](_0x2f7c84['item'])[_0x27cf('0x6f')]())_0xda3694[_0x27cf('0x6e')]['consume'](_0x3bd66b,_0x3dbf5c['name']);_0xda3694[_0x27cf('0x6e')]['consume'](_0x2f7c84['item'],_0x3dbf5c[_0x27cf('0x100')]);}};_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x15e'))[_0x27cf('0x35')](_0x1f25bf=>{_0x1f25bf['on'](_0x27cf('0xbf'),(_0x488c65,_0x3e2af6,_0x190000)=>{_0x190000[_0x27cf('0xc')]['showSuggestionHighlights']&&_0x1bfcc7({'showActiveMarkers':!0x1})(_0x488c65,_0x3e2af6,_0x190000);},{'priority':'highest'});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x15e'))[_0x27cf('0x35')](_0x12d7f8=>{_0x12d7f8['on']('addMarker:suggestion:attribute',(_0xa37dbc,_0x4781b5,_0x1203f7)=>{_0x1203f7['options']['showSuggestionHighlights']&&_0x1bfcc7({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0xa37dbc,_0x4781b5,_0x1203f7);},{'priority':_0x27cf('0x162')});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')]('dataDowncast')[_0x27cf('0x120')]({'model':_0x27cf('0x99'),'view':(_0x2e143c,_0x962ea3)=>_0x962ea3[_0x27cf('0xc')][_0x27cf('0xda')]?null:{'group':_0x27cf('0x99'),'name':_0x2e143c[_0x27cf('0xdf')](0xb)}}),_0x30186b['conversion']['for'](_0x27cf('0x115'))['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x31d628,{writer:_0x1645bd})=>{let _0x182fd1='suggestion:'+_0x31d628[_0x27cf('0x65')](_0x27cf('0x10'))+':'+_0x31d628[_0x27cf('0x65')]('id');return _0x31d628[_0x27cf('0x65')](_0x27cf('0x9e'))&&(_0x182fd1+=':'+_0x31d628['getAttribute'](_0x27cf('0x9e'))),_0x1645bd[_0x27cf('0xf6')]('$marker',{'data-name':_0x182fd1});}}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x115'))[_0x27cf('0x11b')]({'view':_0x27cf('0x99')}),_0x30186b['conversion'][_0x27cf('0x67')](_0x27cf('0x1e'))['add'](_0x412805=>{_0x412805['on'](_0x27cf('0xbf'),_0x1bfcc7(),{'priority':'high'});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')]('editingDowncast')['add'](_0x2ee83b=>{_0x2ee83b['on'](_0x27cf('0xf9'),_0x1bfcc7({'isAttributeSuggestion':!0x0}),{'priority':_0x27cf('0x133')});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x1e'))['add'](_0x1780dc=>{_0x1780dc['on'](_0x27cf('0x3e'),(_0x5f0e6,_0xeb1559,_0x2003df)=>{const _0x3a8729=_0x2003df[_0x27cf('0xe2')][_0x27cf('0xb7')](_0xeb1559[_0x27cf('0xa5')]);if(_0x3a8729)for(const _0x4f2677 of _0x3a8729)_0x4f2677[_0x27cf('0x17b')](_0x27cf('0xba'))||(_0x2003df['writer']['removeClass'](['ck-suggestion-marker',_0x27cf('0xc2'),_0x27cf('0x58')],_0x4f2677),_0x2003df[_0x27cf('0xb')][_0x27cf('0x15d')](_0x27cf('0x12d'),_0x4f2677),_0x2003df[_0x27cf('0xe2')][_0x27cf('0x16e')](_0x4f2677,_0xeb1559[_0x27cf('0xa5')]));},{'priority':'high'});}),_0x30186b['conversion']['for'](_0x27cf('0x1e'))[_0x27cf('0x35')](_0x2f469d=>{_0x2f469d['on']('removeMarker:suggestion:attribute',(_0x3113e7,_0x486039,_0x882609)=>{const _0x1bb86e=_0x882609[_0x27cf('0xe2')][_0x27cf('0xb7')](_0x486039[_0x27cf('0xa5')]);if(!_0x1bb86e)return;const {id:_0x572604}=this['_splitMarkerName'](_0x486039['markerName']),_0xa10919=Pt(this[_0x27cf('0xee')]['get'](_0x572604));if(this[_0x27cf('0x12e')](_0xa10919))for(const _0x1477af of _0x1bb86e)_0x1477af[_0x27cf('0x17b')](_0x27cf('0xba'))||(_0x882609[_0x27cf('0xb')]['removeClass']([_0x27cf('0xc4'),'ck-suggestion-marker-formatBlock',_0x27cf('0x58')],_0x1477af),_0x882609[_0x27cf('0xb')][_0x27cf('0x15d')](_0x27cf('0x12d'),_0x1477af),_0x882609[_0x27cf('0xe2')][_0x27cf('0x16e')](_0x1477af,_0x486039[_0x27cf('0xa5')]));},{'priority':_0x27cf('0x133')});}),_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x7b')](_0x138418=>{let _0x20fb1f=!0x1;const _0x293224=Array[_0x27cf('0x40')](_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x153')]['getChangedMarkers']()),_0x497a1e=new Set();for(const {name:_0x3de8f8,data:_0x513a91}of _0x293224){const {group:_0x21daae,type:_0x56fbcb,subType:_0x5d3b8f,id:_0x2f6a41}=this['_splitMarkerName'](_0x3de8f8);if(_0x27cf('0x99')!==_0x21daae)continue;const _0x26c51f=this[_0x27cf('0xee')]['get'](_0x2f6a41);if(null!=_0x513a91[_0x27cf('0x54')]){_0x27cf('0x85')==_0x56fbcb&&(_0x20fb1f=_0x20fb1f||xt(_0x513a91[_0x27cf('0x54')],_0x3de8f8,_0x138418,_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')]));const _0x2ca61d=_0x27cf('0x5e')==_0x56fbcb&&this['_isBlockAttribute'](_0x5d3b8f[_0x27cf('0x9d')]('|')[0x0]);if(_0x513a91[_0x27cf('0x54')]['isCollapsed']||_0x27cf('0x14a')==_0x513a91[_0x27cf('0x54')][_0x27cf('0xac')][_0x27cf('0x8c')]||_0x27cf('0x77')==_0x56fbcb&&!Rt(_0x513a91[_0x27cf('0x54')])||_0x2ca61d&&!Rt(_0x513a91[_0x27cf('0x54')])||_0x27cf('0x150')==_0x56fbcb&&!(!Tt(_0x5592d0=_0x513a91[_0x27cf('0x54')])&&!function(_0x2828e4){return _0x2828e4['start'][_0x27cf('0xe3')]==_0x2828e4[_0x27cf('0x16f')][_0x27cf('0x101')]&&_0x2828e4[_0x27cf('0x156')][_0x27cf('0xb8')];}(_0x5592d0)))_0x138418[_0x27cf('0x11')](_0x3de8f8),_0x20fb1f=!0x0;else{if(!_0x26c51f||!_0x26c51f[_0x27cf('0x147')])continue;_0x497a1e['add'](_0x26c51f);}}}var _0x5592d0;return _0x497a1e[_0x27cf('0x6b')]>0x0&&(_0x20fb1f=!!this['_joinWithAdjacentSuggestions'](_0x497a1e)||_0x20fb1f),_0x20fb1f;}),_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x7b')](_0x5f20bb=>{let _0x28138a=!0x1;for(const _0x338b77 of _0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x153')][_0x27cf('0xed')]())if(_0x27cf('0x21')==_0x338b77['type'])for(const _0x50aead of this[_0x27cf('0xee')][_0x27cf('0x134')]()){if(_0x50aead['isMultiRange']||!_0x50aead['isInContent'])continue;const _0x2fbb85=_0x27cf('0x77')==_0x50aead[_0x27cf('0x137')],_0x21c05d=Pt(_0x50aead),_0x315238=_0x21c05d&&this['_isBlockAttribute'](_0x21c05d);if(!_0x2fbb85&&!_0x315238)continue;const _0x26eab6=_0x50aead[_0x27cf('0x73')]();if(_0x26eab6['start']['parent']!=_0x26eab6['end'][_0x27cf('0xe3')]&&!_0x26eab6[_0x27cf('0x16f')][_0x27cf('0xb8')]){const _0x15552c=_0x30186b[_0x27cf('0x0')]['createPositionAt'](_0x26eab6[_0x27cf('0x156')][_0x27cf('0x34')],'end'),_0x4ec9fd=_0x30186b[_0x27cf('0x0')][_0x27cf('0xe6')](_0x26eab6['start'],_0x15552c);_0x5f20bb[_0x27cf('0xe')](_0x50aead[_0x27cf('0xc7')](),{'range':_0x4ec9fd}),_0x28138a=!0x0;}}return _0x28138a;}),_0x30186b[_0x27cf('0x0')]['document'][_0x27cf('0x7b')](_0x396aa8=>this[_0x27cf('0x139')](_0x396aa8)),_0x30186b[_0x27cf('0x0')]['document'][_0x27cf('0x7b')](_0x25dfae=>!_0x25dfae['batch']['isLocal']&&this[_0x27cf('0xf3')](_0x25dfae)),_0x30186b[_0x27cf('0x0')]['markers']['on']('update:suggestion',(_0x2e5435,_0x39ca3b,_0x3fe94d)=>{if(null==_0x3fe94d){const {id:_0x1bb49b}=this[_0x27cf('0x119')](_0x39ca3b[_0x27cf('0x100')]),_0x1ac909=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x1bb49b);_0x1ac909&&_0x1ac909['addMarkerName'](_0x39ca3b[_0x27cf('0x100')]);}}),_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')]['on'](_0x27cf('0x74'),()=>{const _0x5046d6=Array[_0x27cf('0x40')](_0x30186b['model'][_0x27cf('0xa8')]['differ']['getChangedMarkers']())[_0x27cf('0x51')](_0xc6bb0c=>_0x27cf('0x99')===this['_splitMarkerName'](_0xc6bb0c[_0x27cf('0x100')])[_0x27cf('0x66')]);if(0x0===_0x5046d6[_0x27cf('0xdb')])return;_0x5046d6[_0x27cf('0xd')]((_0x160bfb,_0x1dccbd)=>{const _0x44eae5=_0x160bfb[_0x27cf('0x109')][_0x27cf('0xbc')],_0x5c76b8=_0x1dccbd[_0x27cf('0x109')]['oldRange'];return null===_0x44eae5&&null===_0x5c76b8?0x0:null===_0x44eae5&&null!==_0x5c76b8?-0x1:null!==_0x44eae5&&null===_0x5c76b8?0x1:_0x44eae5[_0x27cf('0x156')][_0x27cf('0x5a')](_0x5c76b8[_0x27cf('0x156')])?-0x1:0x1;});const _0x4645a9=new Set(),_0x983288=new Set();for(const {name:_0x1cfa0a,data:_0x37173a}of _0x5046d6){const {id:_0x21f41c}=this['_splitMarkerName'](_0x1cfa0a);if(null===_0x37173a[_0x27cf('0xbc')]){const _0x6efcfd=this[_0x27cf('0x61')](_0x1cfa0a);_0x983288[_0x27cf('0x35')](_0x6efcfd);}else{const _0x468205=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x21f41c);null!==_0x37173a[_0x27cf('0x54')]||_0x468205['isInContent']?(_0x4645a9['add'](_0x468205[_0x27cf('0x72')]),_0x983288['add'](_0x468205)):this[_0x27cf('0x14b')](_0x468205);}}_0x983288[_0x27cf('0x6b')]>0x0&&this['_refreshSuggestionsChain'](_0x983288);for(const _0x57f735 of _0x4645a9)this['fire'](_0x27cf('0x7e'),_0x57f735);}),_0x30186b[_0x27cf('0x0')]['on'](_0x27cf('0xad'),(_0x380421,_0x212bcc)=>{const _0x4ec4f1=_0x212bcc[0x0];if(!this[_0x27cf('0xee')][_0x27cf('0x6b')])return;if(!_0x4ec4f1[_0x27cf('0x84')])return;if(_0x4ec4f1[_0x27cf('0x14e')][_0x27cf('0x129')]||!_0x4ec4f1['batch']['isLocal'])return;let _0x1f385a,_0x40cc47;switch(_0x4ec4f1[_0x27cf('0x137')]){case _0x27cf('0x21'):_0x1f385a=_0x30186b[_0x27cf('0x0')]['createPositionAt'](_0x4ec4f1[_0x27cf('0x10f')]),_0x40cc47=_0x1f385a[_0x27cf('0x8e')](_0x4ec4f1[_0x27cf('0x31')]);break;case _0x27cf('0x9d'):_0x1f385a=_0x30186b[_0x27cf('0x0')][_0x27cf('0x29')](_0x4ec4f1['splitPosition']),_0x40cc47=_0x30186b[_0x27cf('0x0')][_0x27cf('0x29')](_0x4ec4f1['moveTargetPosition']);break;case _0x27cf('0xfd'):_0x1f385a=_0x30186b['model'][_0x27cf('0x29')](_0x4ec4f1[_0x27cf('0xcf')]),_0x40cc47=_0x1f385a[_0x27cf('0x8e')](_0x4ec4f1[_0x27cf('0x31')]);break;default:return;}const _0x488706=_0x30186b[_0x27cf('0x0')][_0x27cf('0xe6')](_0x1f385a,_0x40cc47);_0x30186b[_0x27cf('0x0')][_0x27cf('0xbe')](()=>{for(const {suggestion:_0x52c6a3,meta:_0x30f470}of this[_0x27cf('0x1b')](_0x488706)){if(_0x52c6a3['isMultiRange'])continue;if(_0x27cf('0x85')==_0x52c6a3[_0x27cf('0x137')])continue;const _0x16dbc5=Pt(_0x52c6a3);if(_0x16dbc5&&this[_0x27cf('0x12e')](_0x16dbc5)&&_0x27cf('0x9d')!=_0x4ec4f1[_0x27cf('0x137')])continue;const _0x52c295=_0x52c6a3[_0x27cf('0x109')]&&_0x52c6a3['data'][_0x27cf('0xb4')];(_0x27cf('0x77')!=_0x52c6a3[_0x27cf('0x137')]||_0x27cf('0x9d')==_0x4ec4f1[_0x27cf('0x137')]&&!_0x52c295)&&(_0x30f470[_0x27cf('0xab')]||_0x27cf('0xc8')==_0x52c6a3['type']&&_0x30f470[_0x27cf('0x81')]||_0x52c6a3[_0x27cf('0x73')]()['containsRange'](_0x488706)&&this[_0x27cf('0x37')](_0x52c6a3,_0x1f385a,_0x40cc47));}});},{'priority':_0x27cf('0x16')}),_0x30186b[_0x27cf('0x0')]['on'](_0x27cf('0xa3'),(_0x226e9a,_0x3614d4)=>{const _0x3e38db=_0x3614d4[0x0],_0x1b9847=_0x3614d4[0x1];if(_0x1b9847&&_0x1b9847['forceDefaultExecution'])return;if(this[_0x27cf('0xbb')])return;if(!this[_0x27cf('0xcc')]['value'])return;if(_0x3e38db[_0x27cf('0x50')])return;const _0x4a3c80=_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')],{start:_0x240041,end:_0x369eb4}=_0x3e38db[_0x27cf('0x73')](),_0x57c960=_0x240041[_0x27cf('0x34')]&&_0x4a3c80[_0x27cf('0x159')](_0x240041[_0x27cf('0x34')])?null:_0x4a3c80[_0x27cf('0x8d')](_0x240041,_0x27cf('0x9')),_0x37ea07=_0x369eb4['nodeBefore']&&_0x4a3c80[_0x27cf('0x159')](_0x369eb4['nodeBefore'])?null:_0x4a3c80[_0x27cf('0x8d')](_0x369eb4,_0x27cf('0x8a')),_0x10a553=_0x30186b[_0x27cf('0x0')]['createRange'](_0x57c960?_0x57c960[_0x27cf('0x156')]:_0x240041,_0x37ea07?_0x37ea07['end']:_0x369eb4);_0x30186b[_0x27cf('0x0')][_0x27cf('0xbe')](_0x34752b=>{this[_0x27cf('0x94')](_0x10a553);const _0x2dad55=_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')][_0x27cf('0x8d')](_0x10a553[_0x27cf('0x156')]);_0x3e38db['is'](_0x27cf('0x8'))?_0x34752b[_0x27cf('0x15c')](_0x2dad55):_0x3e38db[_0x27cf('0x14d')](_0x2dad55);}),_0x226e9a[_0x27cf('0xec')]();},{'priority':_0x471936['normal']+0xa}),_0x30186b[_0x27cf('0x0')]['on'](_0x27cf('0xc6'),(_0x14facb,_0x3af3e9)=>{const _0x2a6c93=_0x3af3e9[_0x3af3e9[_0x27cf('0xdb')]-0x1];_0x2a6c93&&_0x2a6c93['forceDefaultExecution']||this[_0x27cf('0xbb')]||this['trackChangesCommand'][_0x27cf('0x170')]&&(_0x30186b[_0x27cf('0x0')][_0x27cf('0xbe')](()=>{let _0x48f4e3=_0x30186b[_0x27cf('0x0')][_0x27cf('0xc6')](_0x3af3e9[0x0],_0x3af3e9[0x1],_0x3af3e9[0x2],{'forceDefaultExecution':!0x0});if(!_0x48f4e3)return;_0x14facb['return']=_0x48f4e3['clone']();const _0x44bf22=_0x48f4e3[_0x27cf('0x16f')][_0x27cf('0x101')],_0x48bafe=_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')];_0x44bf22&&_0x48bafe[_0x27cf('0x103')](_0x44bf22)&&!_0x48bafe[_0x27cf('0x86')](_0x44bf22)&&(_0x48f4e3=_0x30186b[_0x27cf('0x0')][_0x27cf('0xe6')](_0x48f4e3['start'],_0x30186b[_0x27cf('0x0')]['createPositionAt'](_0x44bf22,_0x27cf('0x16f')))),this[_0x27cf('0x3f')](_0x48f4e3);}),_0x14facb[_0x27cf('0xec')]());},{'priority':_0x27cf('0x133')}),this[_0x27cf('0x12a')]['commands'][_0x27cf('0x35')](_0x27cf('0x130'),this['trackChangesCommand']),this[_0x27cf('0x9a')](_0x27cf('0x130'));const _0x462b20=new _0x478519(_0x30186b,this[_0x27cf('0xee')]);_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x7d'),_0x462b20),this[_0x27cf('0x9a')](_0x27cf('0x7d'));const _0x523546=new _0x48fd06(_0x30186b,this['_suggestions']);_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x12c'),_0x523546),this[_0x27cf('0x9a')](_0x27cf('0x12c')),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x1f'),new _0x1608af(_0x30186b,_0x462b20,this['_suggestions'])),this['enableCommand'](_0x27cf('0x1f')),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0xb9'),new _0x1608af(_0x30186b,_0x523546,this['_suggestions'])),this[_0x27cf('0x9a')]('discardAllSuggestions'),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')]('acceptSelectedSuggestions',new _0x469a01(_0x30186b,_0x462b20,this[_0x27cf('0xee')])),this['enableCommand']('acceptSelectedSuggestions'),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x98'),new _0x469a01(_0x30186b,_0x523546,this['_suggestions'])),this[_0x27cf('0x9a')](_0x27cf('0x98'));const _0x4dac5c=_0x30186b[_0x27cf('0x68')][_0x27cf('0x2b')](_0x27cf('0x11f'));this['listenTo'](_0x4dac5c,_0x27cf('0xb3'),(_0xa41f8d,{threadId:_0x2b7540})=>{const _0x261c47=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x2b7540);_0x261c47&&_0x261c47[_0x27cf('0x9c')]&&0x1===_0x261c47['commentThread']['length']&&this[_0x27cf('0x6')](_0x2b7540,{'hasComments':!0x0});},{'priority':'low'}),this[_0x27cf('0x179')](_0x4dac5c,'removeComment',(_0x1d93b8,{threadId:_0x51809e})=>{const _0x3d14b9=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x51809e);_0x3d14b9&&_0x3d14b9['commentThread']&&!_0x3d14b9[_0x27cf('0x9c')][_0x27cf('0xdb')]&&this[_0x27cf('0x6')](_0x51809e,{'hasComments':!0x1});},{'priority':_0x27cf('0x1d')});}set[_0x27cf('0x110')](_0xb23b8a){if(this[_0x27cf('0x93')])throw new _0x179a44('track-changes-adapter-already-set',this);this[_0x27cf('0x93')]=_0xb23b8a;}get[_0x27cf('0x110')](){return this[_0x27cf('0x93')];}[_0x27cf('0x71')]({skipNotAttached:_0x2178b6=!0x1,toJSON:_0x5c94f1=!0x1}={}){const _0x1ad211=[];for(const _0x56f208 of this[_0x27cf('0xee')][_0x27cf('0x134')]())_0x2178b6&&!_0x56f208[_0x27cf('0x147')]||_0x1ad211[_0x27cf('0x12f')](_0x56f208);return _0x5c94f1?_0x1ad211[_0x27cf('0xa9')](_0x4552a9=>_0x4552a9['toJSON']()):_0x1ad211;}[_0x27cf('0x41')](_0x2882f8){const _0x194cb1=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x2882f8);if(!_0x194cb1)throw new _0x179a44(_0x27cf('0x20'),this);return _0x194cb1;}[_0x27cf('0x151')](_0x1880b2){return this[_0x27cf('0xee')]['has'](_0x1880b2);}[_0x27cf('0x118')](_0x2e3a82){const {authorId:_0x37f535,id:_0x51eb0d,attributes:_0x22803f}=_0x2e3a82,[_0x412cfe,_0x17ef55]=_0x2e3a82[_0x27cf('0x137')][_0x27cf('0x9d')](':'),_0x4cb470=this['_suggestions']['get'](_0x51eb0d)||this[_0x27cf('0xd7')](_0x412cfe,_0x17ef55,_0x51eb0d,_0x37f535,_0x22803f);if(this['_addThreadToSuggestion'](_0x4cb470),this[_0x27cf('0x14f')](_0x4cb470,_0x412cfe,_0x17ef55||null,_0x37f535),_0x4cb470[_0x27cf('0x1a')]=_0x2e3a82[_0x27cf('0x1a')],_0x4cb470[_0x27cf('0x43')]=!0x0,_0x22803f&&_0x22803f[_0x27cf('0x4d')]){const _0x24eda2=_0x22803f[_0x27cf('0x4d')],_0x1c5131=this['_getExternalAuthor'](_0x24eda2[_0x27cf('0x2f')]);_0x4cb470[_0x27cf('0x169')]=_0x24eda2[_0x27cf('0x1a')],_0x4cb470[_0x27cf('0x2d')]=_0x1c5131,_0x4cb470[_0x27cf('0x97')]=!0x0;}else _0x4cb470['authoredAt']=_0x2e3a82[_0x27cf('0x1a')];switch(_0x2e3a82[_0x27cf('0x109')]&&(_0x4cb470[_0x27cf('0x109')]=_0x2e3a82['data']),_0x2e3a82[_0x27cf('0x38')]&&(_0x4cb470[_0x27cf('0x38')]=_0x2e3a82[_0x27cf('0x38')]),this['_adapter']&&this['_adapter'][_0x27cf('0xf')]||(_0x4cb470['_saved']=!0x0),this[_0x27cf('0xc5')][_0x27cf('0x2b')](_0x4cb470)){case _0x27cf('0xc0'):this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x4cb470,_0x27cf('0x82'));break;case _0x27cf('0x161'):_0x4cb470['isInContent']?(this[_0x27cf('0xa2')](new Set([_0x4cb470])),this[_0x27cf('0x173')](new Set([_0x4cb470])),this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x4cb470,_0x27cf('0x4a')),this['fire'](_0x27cf('0x10a'),_0x4cb470)):this[_0x27cf('0xc5')]['set'](_0x4cb470,_0x27cf('0xf8'));}return _0x4cb470;}['acceptSuggestion'](_0x58b3bd){this[_0x27cf('0xdc')](()=>{this[_0x27cf('0x12a')][_0x27cf('0x0')][_0x27cf('0xbe')](()=>{for(const _0x2dbc14 of _0x58b3bd[_0x27cf('0xd8')]())_0x2dbc14['accept']();});});}[_0x27cf('0x12c')](_0x165d43){this[_0x27cf('0xdc')](()=>{this[_0x27cf('0x12a')][_0x27cf('0x0')]['change'](()=>{for(const _0x53926c of _0x165d43['getAllAdjacentSuggestions']())_0x53926c[_0x27cf('0x11a')]();});});}[_0x27cf('0x9a')](_0x359503,_0x3aaac7){const _0x2c60ba=this[_0x27cf('0x12a')][_0x27cf('0x158')][_0x27cf('0x2b')](_0x359503);if(!_0x2c60ba)throw new _0x179a44(_0x27cf('0x49'),this,{'commandName':_0x359503});if(this[_0x27cf('0x141')]['has'](_0x2c60ba))throw new _0x179a44(_0x27cf('0x79'),this,{'commandName':_0x359503});this[_0x27cf('0x141')]['add'](_0x2c60ba),_0x3aaac7&&_0x2c60ba['on'](_0x27cf('0x15b'),(_0x50beef,_0x30d8c5)=>{this[_0x27cf('0xcc')][_0x27cf('0x170')]&&(this['_isForcedDefaultExecutionBlock']||(_0x30d8c5[_0x27cf('0xdb')]>0x0&&_0x30d8c5[_0x30d8c5[_0x27cf('0xdb')]-0x1]&&_0x30d8c5[_0x30d8c5[_0x27cf('0xdb')]-0x1][_0x27cf('0xdc')]?_0x30d8c5[_0x27cf('0x4c')]():(_0x50beef[_0x27cf('0x53')]=_0x3aaac7((..._0x48b1ca)=>_0x2c60ba['execute'](..._0x48b1ca,{'forceDefaultExecution':!0x0}),..._0x30d8c5),_0x50beef['stop']())));},{'priority':_0x27cf('0x133')});}[_0x27cf('0xdc')](_0x5a3784){let _0x51f0e3,_0x53a7dc;const _0x4e1039=this['_isForcedDefaultExecutionBlock'];this[_0x27cf('0xbb')]=!0x0;try{_0x51f0e3=_0x5a3784();}catch(_0x3075d3){_0x53a7dc=_0x3075d3;}return _0x4e1039||(this[_0x27cf('0xbb')]=!0x1),_0x53a7dc&&_0x179a44[_0x27cf('0xb0')](_0x53a7dc,this),_0x51f0e3;}[_0x27cf('0x3f')](_0x1b2f6b,_0x3f3f17=null,_0x2d618d={}){if(_0x1b2f6b['isCollapsed'])return null;const _0x197c37=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me'];for(const {suggestion:_0x38d489,meta:_0x2d08ad}of this[_0x27cf('0x1b')](_0x1b2f6b,_0x27cf('0xc8')))if(_0x2d08ad['isOwn']){if(!_0x2d08ad['isNextTo']){if(_0x2d08ad[_0x27cf('0xab')]){if(!this['_mergeNestedSuggestions']||!Gt(_0x38d489,_0x2d618d))continue;return _0x38d489;}if(Gt(_0x38d489,_0x2d618d))return _0x38d489;this[_0x27cf('0x37')](_0x38d489,_0x1b2f6b[_0x27cf('0x156')],_0x1b2f6b[_0x27cf('0x16f')]);break;}if(_0x3f3f17==_0x38d489[_0x27cf('0xd0')]&&Gt(_0x38d489,_0x2d618d)){const _0x17bf62=_0x38d489[_0x27cf('0x73')]();return _0x17bf62['start']['isEqual'](_0x1b2f6b[_0x27cf('0x16f')])?this[_0x27cf('0x63')](_0x38d489,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x1b2f6b[_0x27cf('0x156')],_0x17bf62[_0x27cf('0x16f')])):this[_0x27cf('0x63')](_0x38d489,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x17bf62[_0x27cf('0x156')],_0x1b2f6b['end'])),_0x38d489;}}const _0x19b2b1=_0x487386(),_0x48a30a=_0x197c37['id'],_0x4a2829=_0x3f3f17?'insertion:'+_0x3f3f17:_0x27cf('0xc8'),_0x574219=this[_0x27cf('0x5c')]({'id':_0x19b2b1,'type':_0x4a2829,'createdAt':new Date(),'authorId':_0x48a30a,'attributes':_0x2d618d});return this[_0x27cf('0x107')](_0x4a2829,_0x19b2b1,_0x48a30a,_0x1b2f6b),_0x574219;}[_0x27cf('0x116')](_0x3f88c8,_0x4c452e=_0x27cf('0xaa'),_0x5bf8d4={}){const _0xadea6a=this['editor'][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me'],_0x108d39=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0xc8'),_0x4c452e,_0x27cf('0x6a'));for(const _0x2823dd of this[_0x27cf('0x71')]())if(_0x2823dd[_0x27cf('0x2d')]['id']==_0xadea6a['id']&&_0x27cf('0xc8')==_0x2823dd[_0x27cf('0x137')]&&_0x2823dd[_0x27cf('0xd0')]==_0x4c452e&&Gt(_0x2823dd,_0x5bf8d4)&&(_0x108d39(_0x2823dd['getRanges'](),_0x3f88c8)||_0x108d39(_0x3f88c8,_0x2823dd['getRanges']()))){for(const _0x66511d of _0x3f88c8)_0x2823dd[_0x27cf('0x127')](_0x66511d);return _0x2823dd;}for(const {suggestion:_0x5b603c,meta:_0x378f92}of this[_0x27cf('0x1b')](_0x3f88c8,'insertion')){if(!_0x378f92[_0x27cf('0x81')])continue;if(!this[_0x27cf('0x89')]&&_0x378f92[_0x27cf('0xab')])continue;if(!Gt(_0x5b603c,_0x5bf8d4))continue;let _0x5c499d=!0x0;for(const _0xf27fe1 of _0x5b603c[_0x27cf('0xaf')]())for(const _0x26489a of _0x3f88c8)if(!_0xf27fe1['containsRange'](_0x26489a)){_0x5c499d=!0x1;break;}if(_0x5c499d)return _0x5b603c;}const _0x2d1e2d=_0x487386(),_0x4cd6cd=_0xadea6a['id'],_0x513733='insertion:'+_0x4c452e,_0x392dbc=this[_0x27cf('0x5c')]({'id':_0x2d1e2d,'type':_0x513733,'createdAt':new Date(),'authorId':_0x4cd6cd,'attributes':_0x5bf8d4});for(const _0x1a918c of _0x3f88c8)this[_0x27cf('0x107')](_0x513733,_0x2d1e2d,_0x4cd6cd,_0x1a918c,_0x3076e1['getMultiRangeId']());return _0x392dbc;}[_0x27cf('0x135')](_0x6692d6,_0x55ab43,_0x36b7ff=null,_0x40eb71={}){if(_0x36b7ff=_0x36b7ff||Et(_0x55ab43),_0x6692d6[_0x27cf('0x50')])return null;if(_0x27cf('0x19')===this[_0x27cf('0xc1')]){const _0x195704=this[_0x27cf('0x32')][_0x27cf('0x148')]('formatInline',_0x36b7ff,'accept');return this[_0x27cf('0xdc')](()=>_0x195704([_0x6692d6],_0x55ab43,_0x40eb71)),null;}const _0x3fd205=this['editor']['plugins'][_0x27cf('0x2b')](_0x27cf('0x6c'))['me'],_0x1dab3b=[];if(_0x27cf('0x57')!==this[_0x27cf('0xc1')])for(const {suggestion:_0x561be3,meta:_0x2b9789}of this[_0x27cf('0x1b')](_0x6692d6,_0x27cf('0xc8')))_0x2b9789['isOwn']&&!_0x2b9789[_0x27cf('0xae')]&&_0x1dab3b[_0x27cf('0x12f')](..._0x561be3[_0x27cf('0xaf')]());const _0x368cfc=function(_0x1438f2,_0x3000b2){const _0x105f08=[];for(const _0x5ddd12 of _0x3000b2){const _0x511a9e=_0x1438f2['getIntersection'](_0x5ddd12);_0x511a9e&&_0x105f08[_0x27cf('0x12f')](_0x511a9e);}return _0x105f08;}(_0x6692d6,_0x1dab3b),_0x57ebb3=function(_0x5385dd,_0x4b4b73){const _0x51cc0a=[_0x5385dd];for(const _0x45446d of _0x4b4b73){let _0x210d03=0x0;for(;_0x210d03<_0x51cc0a[_0x27cf('0xdb')];){const _0xa117b1=_0x51cc0a[_0x210d03][_0x27cf('0xf4')](_0x45446d);_0x51cc0a[_0x27cf('0x176')](_0x210d03,0x1,..._0xa117b1),_0x210d03+=_0xa117b1[_0x27cf('0xdb')];}}return _0x51cc0a;}(_0x6692d6,_0x1dab3b);_0x368cfc['length']&&this[_0x27cf('0xb5')][_0x27cf('0xbe')](()=>{for(const _0x5b8ab3 of _0x368cfc){const _0x502abf=this[_0x27cf('0x32')][_0x27cf('0x148')]('formatInline',_0x36b7ff,'accept');this[_0x27cf('0xdc')](()=>_0x502abf([_0x5b8ab3],_0x55ab43,_0x40eb71));}});for(const _0x35c3cc of _0x57ebb3){let _0x5d238b=null,_0xdb1509=_0x35c3cc[_0x27cf('0x156')],_0xc3506f=_0x35c3cc['end'];for(const {suggestion:_0x556aaa,meta:_0x56b0a5}of this[_0x27cf('0x1b')](_0x35c3cc,_0x27cf('0x85'))){if(!_0x56b0a5[_0x27cf('0x81')])continue;if(_0x556aaa['subType']!=_0x36b7ff)continue;if(!Gt(_0x556aaa,_0x40eb71))continue;const _0x16cf9d=_0x556aaa[_0x27cf('0x73')]();if(_0x16cf9d[_0x27cf('0x62')](_0x35c3cc,!0x0))return null;_0xdb1509=_0xdb1509['isBefore'](_0x16cf9d['start'])?_0xdb1509:_0x16cf9d[_0x27cf('0x156')],_0xc3506f=_0xc3506f[_0x27cf('0x88')](_0x16cf9d[_0x27cf('0x16f')])?_0xc3506f:_0x16cf9d['end'],_0x5d238b?_0x16cf9d[_0x27cf('0x156')]['isBefore'](_0x5d238b[_0x27cf('0x73')]()[_0x27cf('0x156')])?(_0x5d238b[_0x27cf('0x102')](),_0x5d238b=_0x556aaa):_0x556aaa[_0x27cf('0x102')]():_0x5d238b=_0x556aaa;}const _0x2dfdcf=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0xdb1509,_0xc3506f);if(_0x5d238b)this[_0x27cf('0x63')](_0x5d238b,_0x2dfdcf);else{const _0x165ac0=_0x487386(),_0x1d1c60=_0x3fd205['id'];this[_0x27cf('0x5c')]({'id':_0x165ac0,'type':_0x27cf('0xde')+_0x36b7ff,'data':_0x55ab43,'createdAt':new Date(),'authorId':_0x1d1c60,'attributes':_0x40eb71}),this[_0x27cf('0x107')](_0x27cf('0xde')+_0x36b7ff,_0x165ac0,_0x1d1c60,_0x2dfdcf);}}return null;}[_0x27cf('0xc3')](_0xbc2693,_0xa94d10,_0x18d1aa=[],_0x520ecc=null,_0x5de9b8={}){_0xa94d10[_0x27cf('0x13')]||(_0xa94d10[_0x27cf('0x13')]=_0xa94d10['commandName']),_0xa94d10[_0x27cf('0xb4')]=_0xbc2693['is'](_0x27cf('0x165')),_0x520ecc=_0x520ecc||Et(_0xa94d10);const _0x56c0d6=_0x18d1aa[_0x27cf('0xa9')](_0x74c4b9=>Ut(_0x74c4b9,this[_0x27cf('0xb5')])),_0x3d1705=_0xbc2693['is'](_0x27cf('0x165'))?_0xbc2693:Ut(_0xbc2693,this['_model']);if(_0x27cf('0x19')===this['_trackFormatChanges']){const _0x782c0a=this[_0x27cf('0x32')][_0x27cf('0x148')]('formatBlock',_0x520ecc,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x782c0a([_0x3d1705],_0xa94d10,_0x5de9b8)),null;}_0x56c0d6[_0x27cf('0x12f')](_0x3d1705);let _0xbf823=!0x0;for(const _0x1993cf of _0x56c0d6)if(!this[_0x27cf('0x2c')](_0x1993cf)){_0xbf823=!0x1;break;}if(_0xbf823&&_0x27cf('0x57')!==this[_0x27cf('0xc1')]){const _0x555d30=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0x77'),_0x520ecc,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x555d30([_0x3d1705],_0xa94d10,_0x5de9b8)),null;}let _0xaab578=null,_0x48c505=_0x3d1705['start'],_0x2e500a=_0x3d1705[_0x27cf('0x16f')];for(const {suggestion:_0x5796ab,meta:_0xb8500c}of this['_findSuggestions'](_0x3d1705,_0x27cf('0x77'))){if(!_0xb8500c['isOwn'])continue;if(_0xb8500c[_0x27cf('0xd1')]||_0xb8500c['containsRangeInObject']||_0xb8500c[_0x27cf('0xae')])continue;if(_0x5796ab[_0x27cf('0x109')]['formatGroupId']!=_0xa94d10[_0x27cf('0x13')])continue;if(!Gt(_0x5796ab,_0x5de9b8))continue;const _0xb40000=_0x5796ab[_0x27cf('0x73')]();if(_0x5796ab[_0x27cf('0xd0')]==_0x520ecc){if(_0xb40000[_0x27cf('0x62')](_0x3d1705,!0x0))return null;_0x48c505=_0x48c505[_0x27cf('0x5a')](_0xb40000[_0x27cf('0x156')])?_0x48c505:_0xb40000['start'],_0x2e500a=_0x2e500a['isAfter'](_0xb40000[_0x27cf('0x16f')])?_0x2e500a:_0xb40000[_0x27cf('0x16f')],_0xaab578?_0xb40000[_0x27cf('0x156')][_0x27cf('0x5a')](_0xaab578[_0x27cf('0x73')]()['start'])?(_0xaab578[_0x27cf('0x102')](),_0xaab578=_0x5796ab):_0x5796ab['removeMarkers']():_0xaab578=_0x5796ab;}else{const _0x80e17a=_0x3d1705[_0x27cf('0x174')](_0xb40000);this[_0x27cf('0x26')](_0x5796ab,_0x80e17a);}}const _0x26675e=this[_0x27cf('0x12a')]['plugins']['get'](_0x27cf('0x6c'))['me'],_0x92ed0a=_0x487386(),_0x47f97e=_0x26675e['id'];if(_0xaab578)return this[_0x27cf('0x63')](_0xaab578,this[_0x27cf('0xb5')]['createRange'](_0x48c505,_0x2e500a)),_0xaab578;{const _0x194639=this[_0x27cf('0x5c')]({'id':_0x92ed0a,'type':_0x27cf('0xd2')+_0x520ecc,'data':_0xa94d10,'createdAt':new Date(),'authorId':_0x47f97e,'attributes':_0x5de9b8});return this[_0x27cf('0x107')](_0x27cf('0xd2')+_0x520ecc,_0x92ed0a,_0x47f97e,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x48c505,_0x2e500a)),_0x194639;}}[_0x27cf('0x3b')](_0x54d5aa,_0x311afc,_0x1dc9e7=[],_0xd9436a=null,_0x56f283={}){_0x311afc[_0x27cf('0x13')]||(_0x311afc[_0x27cf('0x13')]=_0x311afc['commandName']);const _0x5f2c93=_0x54d5aa[0x0];_0x311afc[_0x27cf('0xb4')]=_0x5f2c93['is'](_0x27cf('0x165')),_0xd9436a=_0xd9436a||Et(_0x311afc);const _0x32f47a=_0x1dc9e7['map'](_0x40c400=>Ut(_0x40c400,this['_model'])),_0x328259=_0x5f2c93['is']('range')?_0x54d5aa:_0x54d5aa[_0x27cf('0xa9')](_0x1cabd8=>Ut(_0x1cabd8,this[_0x27cf('0xb5')]));if(_0x27cf('0x19')===this['_trackFormatChanges']){const _0x3198de=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x77'),_0xd9436a,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x3198de(_0x328259,_0x311afc,_0x56f283)),null;}_0x32f47a[_0x27cf('0x12f')](..._0x328259);let _0x50dc91=!0x0;for(const _0x402809 of _0x32f47a)if(!this[_0x27cf('0x2c')](_0x402809)){_0x50dc91=!0x1;break;}if(_0x50dc91&&_0x27cf('0x57')!==this['_trackFormatChanges']){const _0x5b5303=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x77'),_0xd9436a,'accept');return this['forceDefaultExecution'](()=>_0x5b5303(_0x328259,_0x311afc,_0x56f283)),null;}const _0x51335e=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me'];for(const _0x45c1e3 of this['getSuggestions']()){if(_0x45c1e3[_0x27cf('0x2d')]['id']!=_0x51335e['id'])continue;if(_0x27cf('0x77')!=_0x45c1e3[_0x27cf('0x137')]||_0x45c1e3[_0x27cf('0x109')][_0x27cf('0x13')]!=_0x311afc[_0x27cf('0x13')])continue;if(!Gt(_0x45c1e3,_0x56f283))continue;const _0x2e6c5a=_0x45c1e3[_0x27cf('0xd0')]==_0xd9436a;for(let _0x1e1e98=0x0;_0x1e1e98<_0x328259[_0x27cf('0xdb')];_0x1e1e98++){const _0x57e8c2=_0x328259[_0x1e1e98];for(const _0x4efbe9 of _0x45c1e3['getMarkers']()){const _0x52f067=_0x4efbe9[_0x27cf('0x146')]();if(_0x57e8c2[_0x27cf('0xff')](_0x52f067)){_0x2e6c5a?(_0x328259[_0x27cf('0x176')](_0x1e1e98,0x1),_0x1e1e98--):_0x45c1e3[_0x27cf('0x11')](_0x4efbe9[_0x27cf('0x100')]);break;}}}}if(0x0==_0x328259[_0x27cf('0xdb')])return null;const _0x3da6e6=this['_suggestionFactory']['getSuggestionCallback'](_0x27cf('0x77'),_0xd9436a,_0x27cf('0x6a'));for(const _0x264c8a of this[_0x27cf('0x71')]())if(_0x264c8a[_0x27cf('0x2d')]['id']==_0x51335e['id']&&_0x27cf('0x77')==_0x264c8a[_0x27cf('0x137')]&&_0x264c8a[_0x27cf('0x109')][_0x27cf('0x13')]==_0x311afc[_0x27cf('0x13')]&&_0x264c8a[_0x27cf('0xd0')]==_0xd9436a&&Gt(_0x264c8a,_0x56f283)&&(_0x3da6e6(_0x264c8a[_0x27cf('0xaf')](),_0x328259)||_0x3da6e6(_0x328259,_0x264c8a[_0x27cf('0xaf')]()))){for(const _0x513bcd of _0x328259)_0x264c8a['addRange'](_0x513bcd);return _0x264c8a;}const _0x12e516=_0x487386(),_0x579f23=_0x51335e['id'],_0xbc4e1f=_0x27cf('0xd2')+_0xd9436a,_0x20a237=this[_0x27cf('0x5c')]({'id':_0x12e516,'type':_0xbc4e1f,'data':_0x311afc,'createdAt':new Date(),'authorId':_0x579f23,'attributes':_0x56f283});for(const _0x34ffe2 of _0x328259)this[_0x27cf('0x107')](_0xbc4e1f,_0x12e516,_0x579f23,_0x34ffe2,_0x3076e1[_0x27cf('0x143')]());return _0x20a237;}[_0x27cf('0x94')](_0x437d2b,_0xe8c04a=null,_0x29e239={}){if(_0x437d2b[_0x27cf('0x50')])return null;const _0x2be59f=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')](_0x27cf('0x6c'))['me'],_0xfd3b52=new _0x58a33b(_0x437d2b[_0x27cf('0x156')],_0x437d2b[_0x27cf('0x16f')]);for(const {suggestion:_0x1be4c1,meta:_0x3bd991}of this[_0x27cf('0x1b')](_0xfd3b52,_0x27cf('0xc8')))if(_0x3bd991[_0x27cf('0x81')]&&!_0x3bd991[_0x27cf('0xd1')]){if(_0x1be4c1['isMultiRange']){const _0x4ec7f7=_0x1be4c1[_0x27cf('0xaf')]()['filter'](_0x441012=>'$graveyard'!=_0x441012['root'][_0x27cf('0x8c')]);_0x4ec7f7['every'](_0x58119e=>_0xfd3b52[_0x27cf('0x62')](_0x58119e,!0x0))&&_0x1be4c1[_0x27cf('0x11a')]();if(_0x4ec7f7[_0x27cf('0xea')](_0xd0e645=>_0xd0e645['containsRange'](_0xfd3b52,!0x0))){const _0x3fc886=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x150'),_0xe8c04a,'accept');return this['forceDefaultExecution'](()=>_0x3fc886([_0xfd3b52],null,_0x29e239)),null;}}else{const _0x1266de=_0xfd3b52[_0x27cf('0x174')](_0x1be4c1[_0x27cf('0x73')]());null!==_0x1266de&&_0x1be4c1[_0x27cf('0x152')]([_0x1266de],null,_0x29e239);}}if(_0xfd3b52[_0x27cf('0x5d')](),_0xfd3b52[_0x27cf('0x50')]||_0x27cf('0x14a')==_0xfd3b52['root'][_0x27cf('0x8c')])return null;let _0x14c5df=null,_0x24aa9a=_0xfd3b52[_0x27cf('0x156')],_0x1dbb24=_0xfd3b52[_0x27cf('0x16f')];const _0x299b88=this[_0x27cf('0x1b')](_0xfd3b52,_0x27cf('0x150'));for(const {suggestion:_0x217c51,meta:_0x344b90}of _0x299b88){const _0x109c1e=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x24aa9a,_0x1dbb24);if(_0x344b90[_0x27cf('0x81')]&&(this[_0x27cf('0x89')]||!_0x344b90[_0x27cf('0xab')]&&!_0x344b90[_0x27cf('0xae')])){if(_0x217c51['isMultiRange']){if(!Gt(_0x217c51,_0x29e239))continue;let _0x1be6d0=!0x0;for(const _0x2802a7 of _0x217c51[_0x27cf('0xaf')]()){if(_0x2802a7[_0x27cf('0x62')](_0x109c1e,!0x0))return _0x217c51;_0x109c1e[_0x27cf('0x62')](_0x2802a7)||(_0x1be6d0=!0x1);}_0x1be6d0&&_0x217c51[_0x27cf('0x11a')]();}else{const _0x1892eb=_0x217c51['getFirstRange']();if(_0x1892eb[_0x27cf('0x62')](_0x109c1e,!0x0))return _0x217c51;if(!Gt(_0x217c51,_0x29e239)){_0x109c1e['containsRange'](_0x1892eb)?_0x217c51[_0x27cf('0x102')]():_0x1892eb[_0x27cf('0x16d')](_0x24aa9a)?_0x24aa9a=_0x1892eb[_0x27cf('0x16f')]:_0x1892eb[_0x27cf('0x16d')](_0x1dbb24)&&(_0x1dbb24=_0x1892eb['start']);continue;}_0x24aa9a=_0x24aa9a[_0x27cf('0x5a')](_0x1892eb[_0x27cf('0x156')])?_0x24aa9a:_0x1892eb[_0x27cf('0x156')],_0x1dbb24=_0x1dbb24[_0x27cf('0x88')](_0x1892eb[_0x27cf('0x16f')])?_0x1dbb24:_0x1892eb[_0x27cf('0x16f')],_0x29e239=Object[_0x27cf('0x108')]({},_0x217c51[_0x27cf('0x38')]),_0x14c5df?_0x1892eb['start'][_0x27cf('0x5a')](_0x14c5df[_0x27cf('0x73')]()[_0x27cf('0x156')])?(_0x14c5df['removeMarkers'](),_0x14c5df=_0x217c51):_0x217c51[_0x27cf('0x102')]():_0x14c5df=_0x217c51;}}}if(_0x14c5df)return this[_0x27cf('0x63')](_0x14c5df,this['_model'][_0x27cf('0xe6')](_0x24aa9a,_0x1dbb24)),_0x14c5df;{const _0x4b4bd4=_0x487386(),_0x336b63=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x24aa9a,_0x1dbb24),_0x4ee7a6=_0x2be59f['id'],_0x1b2d7f=_0xe8c04a?_0x27cf('0x14')+_0xe8c04a:'deletion',_0x3c04f1=this[_0x27cf('0x5c')]({'id':_0x4b4bd4,'type':_0x1b2d7f,'createdAt':new Date(),'authorId':_0x4ee7a6,'attributes':_0x29e239});return this[_0x27cf('0x107')](_0x1b2d7f,_0x4b4bd4,_0x4ee7a6,_0x336b63),_0x3c04f1;}}[_0x27cf('0x17a')](_0x493340,_0xc6401d='multi',_0x59712c={}){const _0x246ad7=this[_0x27cf('0x12a')][_0x27cf('0x68')]['get'](_0x27cf('0x6c'))['me'],_0x437bb2=_0x493340[_0x27cf('0xa9')](_0x25bc28=>new _0x58a33b(_0x25bc28[_0x27cf('0x156')],_0x25bc28[_0x27cf('0x16f')])),_0x48aa23=new Set();for(const {suggestion:_0x52f78f,meta:_0x3fa20b}of this[_0x27cf('0x1b')](_0x437bb2,_0x27cf('0xc8')))_0x3fa20b['isOwn']&&!_0x3fa20b[_0x27cf('0xd1')]&&_0x48aa23['add'](_0x52f78f);for(const _0x5d8634 of _0x48aa23)if(_0x5d8634[_0x27cf('0x7a')]){const _0xed73de=_0x5d8634['getRanges']();(!_0x5d8634[_0x27cf('0x38')]||!_0x5d8634['attributes'][_0x27cf('0xa4')])&&(_0xed73de[_0x27cf('0x112')](_0x210ae9=>_0x437bb2[_0x27cf('0xea')](_0x30ddb0=>_0x30ddb0[_0x27cf('0x62')](_0x210ae9,!0x0)))&&_0x5d8634[_0x27cf('0x11a')]());if(_0x437bb2[_0x27cf('0x112')](_0x11c603=>_0xed73de[_0x27cf('0xea')](_0x33cd90=>_0x33cd90['containsRange'](_0x11c603,!0x0)))){const _0x12ec11=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0x150'),_0xc6401d,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x12ec11(_0x493340,null,_0x59712c)),null;}}else{const _0xd9bf1d=_0x5d8634[_0x27cf('0x73')]();_0x437bb2[_0x27cf('0xea')](_0xa13cff=>_0xa13cff[_0x27cf('0x62')](_0xd9bf1d,!0x0))&&_0x5d8634[_0x27cf('0x11a')]();if(_0x437bb2['every'](_0x48502e=>_0xd9bf1d[_0x27cf('0x62')](_0x48502e,!0x0))){const _0x461790=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x150'),_0xc6401d,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x461790(_0x437bb2,null,_0x59712c)),null;}}const _0x4edb3b=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0x150'),_0xc6401d,'join');let _0xb800a1=null;for(const _0x70fb3f of this[_0x27cf('0x71')]())if(_0x70fb3f[_0x27cf('0x2d')]['id']==_0x246ad7['id']&&_0x70fb3f['isInContent']&&'deletion'==_0x70fb3f[_0x27cf('0x137')]&&_0x70fb3f[_0x27cf('0xd0')]==_0xc6401d&&Gt(_0x70fb3f,_0x59712c)&&(_0x4edb3b(_0x70fb3f[_0x27cf('0xaf')](),_0x437bb2)||_0x4edb3b(_0x437bb2,_0x70fb3f[_0x27cf('0xaf')]()))){if(_0xb800a1){if(_0x70fb3f[_0x27cf('0x9c')]&&_0x70fb3f[_0x27cf('0x9c')][_0x27cf('0xdb')])continue;for(const _0x999dd3 of _0x70fb3f[_0x27cf('0xaf')]())_0xb800a1[_0x27cf('0xbd')](_0x999dd3)||_0xb800a1[_0x27cf('0x127')](_0x999dd3);_0x70fb3f[_0x27cf('0x102')]();}else{_0xb800a1=_0x70fb3f;for(const _0x288459 of _0x437bb2)_0x70fb3f[_0x27cf('0xbd')](_0x288459)||_0x70fb3f['addRange'](_0x288459);}}if(_0xb800a1)return _0xb800a1;_0x48aa23[_0x27cf('0x13e')]();for(const {suggestion:_0x2214b8,meta:_0x4ebcb5}of this[_0x27cf('0x1b')](_0x437bb2,_0x27cf('0x150')))_0x4ebcb5[_0x27cf('0x81')]&&(this[_0x27cf('0x89')]||!_0x4ebcb5[_0x27cf('0xab')]&&!_0x4ebcb5['isInsideObject'])&&Gt(_0x2214b8,_0x59712c)&&_0x48aa23['add'](_0x2214b8);for(const _0x37928d of _0x48aa23){const _0x10d943=_0x37928d[_0x27cf('0xaf')]();if(!_0x59712c||!_0x59712c[_0x27cf('0xa4')]){if(_0x437bb2[_0x27cf('0x112')](_0x3b3a70=>_0x10d943[_0x27cf('0xea')](_0x7ac45=>_0x7ac45[_0x27cf('0x62')](_0x3b3a70,!0x0))))return _0x37928d;}(!_0x37928d[_0x27cf('0x38')]||!_0x37928d[_0x27cf('0x38')][_0x27cf('0xa4')])&&(_0x10d943[_0x27cf('0x112')](_0xf961f2=>_0x437bb2[_0x27cf('0xea')](_0x289bc9=>_0x289bc9[_0x27cf('0x62')](_0xf961f2,!0x0)))&&_0x37928d['discard']());}const _0x44b764=_0x487386(),_0x301fbf=_0x246ad7['id'],_0x6a412c=_0x27cf('0x14')+_0xc6401d,_0x5662a2=this['_setSuggestionData']({'id':_0x44b764,'type':_0x6a412c,'createdAt':new Date(),'authorId':_0x301fbf,'attributes':_0x59712c});for(const _0xff275 of _0x437bb2)_0xff275['detach'](),_0xff275[_0x27cf('0x50')]||_0x27cf('0x14a')==_0xff275[_0x27cf('0xac')][_0x27cf('0x8c')]||this[_0x27cf('0x107')](_0x6a412c,_0x44b764,_0x301fbf,_0xff275,_0x3076e1[_0x27cf('0x143')]());return _0x5662a2;}[_0x27cf('0x2e')](_0x57dbfb,_0x5808b3,_0x2f316e,_0x2adc53,_0x22d37a){if(_0x57dbfb[_0x27cf('0x50')])return[];if(_0x27cf('0x19')===this[_0x27cf('0xc1')])return[];const _0x8f2edc=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me']['id'],_0x311f00=Array['from'](this[_0x27cf('0xee')]['values']())[_0x27cf('0x51')](_0x29a5ac=>_0x27cf('0x5e')==_0x29a5ac[_0x27cf('0x137')]&&_0x29a5ac[_0x27cf('0x109')]['key']==_0x5808b3&&_0x29a5ac[_0x27cf('0xbd')](_0x57dbfb));if(_0x27cf('0xe7')===this[_0x27cf('0xc1')]){const _0x1876b8=this[_0x27cf('0x1b')](_0x57dbfb,'insertion')['filter'](({meta:_0x4cc11b})=>_0x4cc11b['isOwn']&&!_0x4cc11b['isInsideObject']&&!_0x4cc11b['isNextTo'])[_0x27cf('0xa9')](({suggestion:_0x1e36e2})=>_0x1e36e2);_0x311f00[_0x27cf('0x11d')](..._0x1876b8);}const _0x190037=new Map([[_0x57dbfb,_0x2f316e]]);for(const _0x3660ad of _0x311f00){const _0xa6b7aa=_0x27cf('0x5e')==_0x3660ad[_0x27cf('0x137')]?_0x3660ad['data'][_0x27cf('0x25')]:void 0x0,_0x29f0ec=_0x3660ad['getFirstRange'](),_0x317403=Array[_0x27cf('0x40')](_0x190037[_0x27cf('0x55')]())[_0x27cf('0xe4')](_0x50831b=>_0x50831b['isIntersecting'](_0x29f0ec));if(!_0x317403)continue;const _0x4a766f=_0x317403[_0x27cf('0xf4')](_0x29f0ec);this[_0x27cf('0x12e')](_0x5808b3)&&_0x27cf('0xc8')==_0x3660ad[_0x27cf('0x137')]&&0x0!=_0x4a766f[_0x27cf('0xdb')]||(_0x190037[_0x27cf('0xe5')](_0x317403),_0x4a766f['forEach'](_0x589b0c=>{_0x190037[_0x27cf('0x7')](_0x589b0c,_0x2f316e);}),_0x27cf('0xc8')!=_0x3660ad['type']&&_0xa6b7aa!=_0x2adc53&&_0x190037['set'](_0x317403[_0x27cf('0x174')](_0x29f0ec),_0xa6b7aa));}const _0x232396=[];for(const [_0x4a3b33,_0x58b4be]of _0x190037){const _0x39c69f=_0x487386(),_0x191b19={'key':_0x5808b3,'oldValue':_0x58b4be,'newValue':_0x2adc53};_0x5808b3[_0x27cf('0xdb')]>0x25&&console['warn'](_0x27cf('0xe0'),{'key':_0x5808b3});const _0x72131d=(_0x27cf('0x168')+(_0x5808b3+'|'+Et({'newValue':_0x2adc53})))[_0x27cf('0x9b')](0x0,0x3c),_0xdcf893=this[_0x27cf('0x5c')]({'id':_0x39c69f,'type':_0x72131d,'data':_0x191b19,'createdAt':new Date(),'authorId':_0x8f2edc,'attributes':_0x22d37a});_0x232396[_0x27cf('0x12f')](_0xdcf893),this['_addSuggestionMarker'](_0x72131d,_0x39c69f,_0x8f2edc,_0x4a3b33);}return _0x232396;}['_registerBlockAttribute'](_0x312f0c){this[_0x27cf('0x22')][_0x27cf('0x35')](_0x312f0c);}['_registerInlineAttribute'](_0x2c815e){this[_0x27cf('0x128')][_0x27cf('0x35')](_0x2c815e);}[_0x27cf('0xd3')](_0x3a696c,_0x203ac2=[],_0x3786bc=[]){this[_0x27cf('0x9a')](_0x3a696c,(_0x865a17,..._0x495fc5)=>{this[_0x27cf('0x10d')](()=>{_0x865a17(..._0x495fc5);});});for(const _0x2f14d4 of _0x203ac2)this[_0x27cf('0x177')](_0x2f14d4);for(const _0x392b41 of _0x3786bc)this[_0x27cf('0x4e')](_0x392b41);}[_0x27cf('0x63')](_0x5f903,_0x547c44){const _0x379eeb=_0x5f903[_0x27cf('0xc7')]();this[_0x27cf('0xb5')]['change'](_0x2d171d=>{_0x2d171d[_0x27cf('0xe')](_0x379eeb,{'range':_0x547c44});});}['_addThreadToSuggestion'](_0x449d8c){const _0x520f05=_0x449d8c['id'],_0x2ad8bf=this['editor'][_0x27cf('0x3a')][_0x27cf('0x2b')]('collaboration.channelId');this[_0x27cf('0x39')][_0x27cf('0x8b')](_0x520f05)||this[_0x27cf('0x39')][_0x27cf('0xf0')]({'channelId':_0x2ad8bf,'threadId':_0x520f05,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5c8ffc=this['_commentsRepository']['getCommentThread'](_0x520f05);_0x5c8ffc[_0x27cf('0x12b')]('isRemovable'),_0x5c8ffc[_0x27cf('0x3')]=!0x1,_0x449d8c[_0x27cf('0x9c')]=_0x5c8ffc;}['_checkSuggestionCorrectness'](_0x11a886,_0x3a033c,_0x497176,_0x102278){if(_0x11a886[_0x27cf('0x137')]!=_0x3a033c||_0x11a886['subType']!=_0x497176||_0x11a886['creator']['id']!=_0x102278)throw this['editor'][_0x27cf('0xc9')]('track-changes-suggestion-data-mismatch'),new _0x179a44(_0x27cf('0x12'),this);}[_0x27cf('0x26')](_0x42380d,_0x4e8766){const _0x19143a=_0x42380d[_0x27cf('0x73')]();if(_0x4e8766[_0x27cf('0xff')](_0x19143a))_0x42380d[_0x27cf('0x102')]();else{if(_0x19143a['containsRange'](_0x4e8766)){const _0x176862=this[_0x27cf('0xb5')][_0x27cf('0x29')](_0x4e8766['start'][_0x27cf('0x101')],_0x27cf('0x16f'));this['_setSuggestionRange'](_0x42380d,this['_model'][_0x27cf('0xe6')](_0x19143a[_0x27cf('0x156')],_0x176862));const _0x1f3e54=_0x487386(),_0x338fa3=_0x42380d[_0x27cf('0x160')]['id'],_0x10bd9b=_0x42380d[_0x27cf('0x137')]+':'+_0x42380d[_0x27cf('0xd0')];this['_setSuggestionData']({'id':_0x1f3e54,'type':_0x10bd9b,'createdAt':new Date(),'authorId':_0x338fa3,'data':_0x42380d[_0x27cf('0x109')],'attributes':_0x42380d[_0x27cf('0x38')]});const _0x180f59=this['_model']['createPositionAt'](_0x4e8766[_0x27cf('0x16f')][_0x27cf('0xe3')],'after'),_0x212d3c=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x180f59,_0x19143a[_0x27cf('0x16f')]);this[_0x27cf('0x107')](_0x10bd9b,_0x1f3e54,_0x338fa3,_0x212d3c);}else{if(_0x19143a[_0x27cf('0x16d')](_0x4e8766[_0x27cf('0x156')])){const _0x505f28=this[_0x27cf('0xb5')][_0x27cf('0x29')](_0x4e8766[_0x27cf('0x156')]['nodeBefore'],_0x27cf('0x16f'));this[_0x27cf('0x63')](_0x42380d,this[_0x27cf('0xb5')]['createRange'](_0x19143a[_0x27cf('0x156')],_0x505f28));}else{const _0x219d46=this[_0x27cf('0xb5')][_0x27cf('0x29')](_0x4e8766[_0x27cf('0x16f')][_0x27cf('0xe3')],_0x27cf('0xa1'));this[_0x27cf('0x63')](_0x42380d,this[_0x27cf('0xb5')]['createRange'](_0x219d46,_0x19143a['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x1e22ab){for(const {suggestion:_0x17fca4,meta:_0x5c15c0}of this['_findSuggestions'](_0x1e22ab,_0x27cf('0xc8'))){if(!_0x5c15c0[_0x27cf('0x81')])continue;const _0x2e01ef=_0x17fca4[_0x27cf('0xaf')]();for(const _0x46469f of _0x2e01ef)if(!_0x1e22ab[_0x27cf('0xf4')](_0x46469f)[_0x27cf('0xdb')])return!0x0;}return!0x1;}[_0x27cf('0x125')](_0x3ca14e){const _0x4d61d9=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')[_0x27cf('0x5b')](_0x3ca14e);if(!_0x4d61d9)throw new _0x179a44(_0x27cf('0xe1'),this);return _0x4d61d9;}[_0x27cf('0x166')](_0x30023d){const _0x5f1736=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users'),_0x133036=_0x4f0889(_0x27cf('0x56')+_0x30023d),_0x5aa3a9=_0x5f1736['getUser'](_0x133036);return _0x5aa3a9||_0x5f1736[_0x27cf('0x18')]({'id':_0x133036,'name':_0x30023d});}['_createSuggestion'](_0x2d6a2e,_0x10d33c,_0x49fc6d,_0x1f5803,_0x46b17a){const _0x4765ad=this[_0x27cf('0x125')](_0x1f5803),_0x4027e3=this[_0x27cf('0x32')][_0x27cf('0x30')](_0x2d6a2e,_0x10d33c,_0x49fc6d,_0x4765ad,_0x46b17a,_0x47820c=>this[_0x27cf('0x6')](_0x49fc6d,{'attributes':_0x47820c}));return this[_0x27cf('0x179')](_0x4027e3,'accept',()=>{this['_updateSuggestionData'](_0x49fc6d,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x4027e3,'discard',()=>{this[_0x27cf('0x6')](_0x49fc6d,{'state':_0x27cf('0x76')});},{'priority':_0x27cf('0x133')}),this[_0x27cf('0xee')][_0x27cf('0x7')](_0x49fc6d,_0x4027e3),this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x4027e3,_0x27cf('0xc0')),_0x4027e3;}[_0x27cf('0x119')](_0x80e825){const _0x23ce3f=_0x80e825[_0x27cf('0x9d')](':');return{'group':_0x23ce3f[0x0],'type':_0x23ce3f[0x1],'subType':_0x23ce3f[_0x27cf('0xdb')]>=0x5?_0x23ce3f[0x2]:null,'id':_0x23ce3f[_0x27cf('0xdb')]<0x5?_0x23ce3f[0x2]:_0x23ce3f[0x3],'authorId':_0x23ce3f['length']<0x5?_0x23ce3f[0x3]:_0x23ce3f[0x4],'markerCount':0x6==_0x23ce3f[_0x27cf('0xdb')]?_0x23ce3f[0x5]:null};}[_0x27cf('0x37')](_0x4e73fe,_0x1009ac,_0x213d5c){const _0x4dd80e=_0x4e73fe[_0x27cf('0x73')](),_0x407840=_0x4dd80e[_0x27cf('0x156')],_0x50f56e=_0x4dd80e[_0x27cf('0x16f')];this[_0x27cf('0x63')](_0x4e73fe,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x407840,_0x1009ac));const _0x10103b=_0x487386(),_0x4d0cfc=_0x4e73fe[_0x27cf('0x160')]['id'],_0x21b491=_0x4e73fe[_0x27cf('0x137')]+(_0x4e73fe[_0x27cf('0xd0')]?':'+_0x4e73fe[_0x27cf('0xd0')]:'');this[_0x27cf('0x5c')]({'id':_0x10103b,'type':_0x21b491,'createdAt':new Date(),'authorId':_0x4d0cfc,'originalSuggestionId':_0x4e73fe['id'],'attributes':_0x4e73fe[_0x27cf('0x38')],'data':_0x4e73fe[_0x27cf('0x109')]});const _0x5e000c=Pt(_0x4e73fe);(_0x27cf('0x77')==_0x4e73fe['type']||_0x5e000c&&this['_isBlockAttribute'](_0x5e000c))&&(_0x213d5c=this[_0x27cf('0xb5')]['createPositionBefore'](_0x213d5c['parent'])),this[_0x27cf('0x107')](_0x21b491,_0x10103b,_0x4d0cfc,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x213d5c,_0x50f56e));}[_0x27cf('0x1b')](_0x17150b,_0x16dac5=null){const _0x5440c8=[],_0x33adf2=this[_0x27cf('0x12a')]['plugins'][_0x27cf('0x2b')]('Users')['me'];Array['isArray'](_0x17150b)||(_0x17150b=[_0x17150b]);for(const _0x46286d of this['getSuggestions']()){if(!_0x46286d[_0x27cf('0x147')])continue;if(_0x16dac5&&_0x46286d[_0x27cf('0x137')]!=_0x16dac5)continue;let _0x445804=!0x1;for(const _0x45cde7 of _0x46286d[_0x27cf('0xaf')]()){for(const _0x34f36b of _0x17150b){const _0x7908ec=_0x34f36b['start']['isEqual'](_0x45cde7['end'])||_0x34f36b['end'][_0x27cf('0xff')](_0x45cde7[_0x27cf('0x156')]);if(_0x7908ec||_0x34f36b[_0x27cf('0x174')](_0x45cde7)){const _0x9ff67f=_0x34f36b[_0x27cf('0x62')](_0x45cde7)&&Bt(this[_0x27cf('0xb5')][_0x27cf('0x10e')],_0x45cde7['start'],_0x34f36b),_0x104118=_0x45cde7[_0x27cf('0x62')](_0x34f36b)&&Bt(this['_model'][_0x27cf('0x10e')],_0x34f36b[_0x27cf('0x156')],_0x45cde7);_0x5440c8[_0x27cf('0x12f')]({'suggestion':_0x46286d,'meta':{'isOwn':_0x33adf2==_0x46286d['author'],'isNextTo':_0x7908ec,'isInsideObject':_0x9ff67f,'containsRangeInObject':_0x104118}}),_0x445804=!0x0;break;}}if(_0x445804)break;}}return _0x5440c8;}[_0x27cf('0x107')](_0x55cdf6,_0x4d7ee1,_0xd4c764,_0x35cfd5,_0x2b90f2){this['_model'][_0x27cf('0xbe')](_0x2f1f0b=>{let _0x6be370=_0x27cf('0x3d')+_0x55cdf6+':'+_0x4d7ee1+':'+_0xd4c764;_0x2b90f2&&(_0x6be370=_0x6be370+':'+_0x2b90f2),_0x2f1f0b['addMarker'](_0x6be370,{'range':_0x35cfd5,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x27cf('0x14b')](_0xe0b01d){const _0x1e6e1c=_0xe0b01d[_0x27cf('0x124')],_0x52903b=_0xe0b01d[_0x27cf('0x136')];_0xe0b01d[_0x27cf('0x124')]=null,_0xe0b01d[_0x27cf('0x136')]=null,null!=_0x1e6e1c&&(_0x1e6e1c['next']=_0x52903b),null!=_0x52903b&&(_0x52903b[_0x27cf('0x124')]=_0x1e6e1c),_0x27cf('0x4a')==this[_0x27cf('0xc5')]['get'](_0xe0b01d)&&(this[_0x27cf('0xc5')]['set'](_0xe0b01d,_0x27cf('0xf8')),this[_0x27cf('0x36')](_0x27cf('0x8f'),_0xe0b01d,_0x1e6e1c,_0x52903b));}[_0x27cf('0x5c')](_0x477f16){const _0x4e8f15=_0x477f16['id'],_0x2b0da3=this[_0x27cf('0x118')](_0x477f16);if(this[_0x27cf('0x93')]&&this[_0x27cf('0x93')][_0x27cf('0xf')]){const _0x4616c9=this[_0x27cf('0x12a')][_0x27cf('0x68')]['get']('PendingActions'),_0x418f2b=_0x2b0da3['hasComments'],_0x44bd37=_0x2b0da3[_0x27cf('0xd0')]?_0x2b0da3['type']+':'+_0x2b0da3[_0x27cf('0xd0')]:_0x2b0da3[_0x27cf('0x137')],_0x18d16b=this['editor']['locale'],_0x36fdf2=_0x4616c9[_0x27cf('0x35')](_0x298422(_0x18d16b,_0x27cf('0x104'))),_0x5d01f3={'id':_0x4e8f15,'type':_0x44bd37,'hasComments':_0x418f2b,'data':_0x477f16['data']||null,'originalSuggestionId':_0x477f16[_0x27cf('0x95')]||null,'attributes':_0x2b0da3[_0x27cf('0x38')]};this[_0x27cf('0x93')][_0x27cf('0xf')](_0x5d01f3)['then'](_0x20c7b7=>{_0x2b0da3[_0x27cf('0x140')]=!0x0,_0x4616c9[_0x27cf('0x13f')](_0x36fdf2),_0x20c7b7&&_0x20c7b7[_0x27cf('0x1a')]&&(this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x4e8f15)['createdAt']=_0x20c7b7[_0x27cf('0x1a')]);})['catch'](_0x32c702=>{throw _0x1154c3(_0x27cf('0x9f')),this[_0x27cf('0x12a')][_0x27cf('0x0')][_0x27cf('0xf2')]({'isUndoable':!0x1},()=>{_0x2b0da3[_0x27cf('0x11a')]();}),_0x2b0da3[_0x27cf('0x121')](),this[_0x27cf('0xee')]['delete'](_0x2b0da3['id']),this[_0x27cf('0xc5')][_0x27cf('0xe5')](_0x2b0da3),_0x32c702;});}return _0x2b0da3;}[_0x27cf('0x12e')](_0x32f7bf){return this[_0x27cf('0x22')][_0x27cf('0xef')](_0x32f7bf);}[_0x27cf('0x6')](_0x2d8055,_0x5d745c){const _0x4697e1=this['editor'][_0x27cf('0x68')]['get'](_0x27cf('0xe8')),_0x51c7fa=this['getSuggestion'](_0x2d8055);if(this[_0x27cf('0x93')]&&this[_0x27cf('0x93')][_0x27cf('0x3c')]){if(_0x51c7fa[_0x27cf('0x140')]){const _0x990bac=_0x4697e1[_0x27cf('0x35')](_0x298422(this[_0x27cf('0x12a')]['locale'],_0x27cf('0x104')));this[_0x27cf('0x93')][_0x27cf('0x3c')](_0x2d8055,_0x5d745c)[_0x27cf('0x5f')](()=>{_0x4697e1['remove'](_0x990bac);});}else _0x51c7fa['on'](_0x27cf('0x16c'),()=>{this[_0x27cf('0x6')](_0x2d8055,_0x5d745c);});}}[_0x27cf('0x4b')](_0x1b21fc){if(!this['_adapter']||!this[_0x27cf('0x93')][_0x27cf('0x41')])throw new _0x179a44(_0x27cf('0x75'),this);return this['_adapter'][_0x27cf('0x41')](_0x1b21fc);}[_0x27cf('0x61')](_0x3c5f10){const {id:_0x254b11,type:_0x53089f,subType:_0x2c4424,authorId:_0x47eaa9}=this[_0x27cf('0x119')](_0x3c5f10),_0x22ee1d=this[_0x27cf('0xee')]['get'](_0x254b11)||this[_0x27cf('0xd7')](_0x53089f,_0x2c4424,_0x254b11,_0x47eaa9,{});switch(this['_checkSuggestionCorrectness'](_0x22ee1d,_0x53089f,_0x2c4424,_0x47eaa9),this['_suggestionState'][_0x27cf('0x2b')](_0x22ee1d)){case'notReady':this[_0x27cf('0x4b')](_0x254b11)['then'](_0x3ef8da=>{let _0x5ddd2f=Promise[_0x27cf('0xe9')]();_0x3ef8da['hasComments']&&(_0x5ddd2f=this[_0x27cf('0x39')][_0x27cf('0xd9')]({'channelId':this[_0x27cf('0x12a')][_0x27cf('0x3a')][_0x27cf('0x2b')](_0x27cf('0x138')),'threadId':_0x254b11})),_0x5ddd2f[_0x27cf('0x5f')](()=>{this[_0x27cf('0x118')](_0x3ef8da)[_0x27cf('0x140')]=!0x0;});}),this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x22ee1d,'markerReady');break;case _0x27cf('0xf8'):this[_0x27cf('0x6')](_0x254b11,{'state':'open'});case'dataReady':this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x22ee1d,_0x27cf('0x4a')),this['fire'](_0x27cf('0x10a'),_0x22ee1d);break;case _0x27cf('0x4a'):this[_0x27cf('0x36')](_0x27cf('0x7e'),_0x22ee1d);}return _0x22ee1d[_0x27cf('0x92')](_0x3c5f10),_0x22ee1d;}[_0x27cf('0xa2')](_0x2da065){const _0x363cb5=Array[_0x27cf('0x40')](_0x2da065),_0x5fbbe4=_0x363cb5[_0x27cf('0x51')](_0x2736c8=>_0x27cf('0x5e')==_0x2736c8[_0x27cf('0x137')]);this[_0x27cf('0x2a')](_0x5fbbe4);const _0xfb9c0e=_0x363cb5[_0x27cf('0x51')](_0x19d2a4=>!_0x19d2a4[_0x27cf('0x7a')]&&_0x27cf('0x5e')!=_0x19d2a4[_0x27cf('0x137')]),_0x2b5acd=this['getSuggestions']({'skipNotAttached':!0x0})[_0x27cf('0x51')](_0x4cf756=>!_0x4cf756['isMultiRange']&&_0x27cf('0x5e')!=_0x4cf756[_0x27cf('0x137')]),_0x2aeea0=_0x2b5acd[_0x27cf('0x51')](_0x53b391=>!_0x2da065['has'](_0x53b391)),_0x28ac05=new Map(_0x2b5acd[_0x27cf('0xa9')](_0x2c317c=>[_0x2c317c,this[_0x27cf('0x32')][_0x27cf('0x148')](_0x2c317c[_0x27cf('0x137')],_0x2c317c[_0x27cf('0xd0')],'chain')])),_0x5a6fd4=new Map(_0x2b5acd[_0x27cf('0xa9')](_0x1d3a90=>[_0x1d3a90,_0x1d3a90[_0x27cf('0x73')]()])),_0x5e8e6c=new Set(),_0x224ad9=new Set();for(let _0x37093f=0x0;_0x37093f<_0xfb9c0e['length'];_0x37093f++)_0x2b6773(_0xfb9c0e[_0x37093f],_0xfb9c0e,_0x37093f+0x1);for(let _0x2fe631=0x0;_0x2fe631<_0xfb9c0e['length'];_0x2fe631++)_0x2b6773(_0xfb9c0e[_0x2fe631],_0x2aeea0,0x0);const _0x1f333b=new Set();for(let _0x1aef76=0x0;_0x1aef76<_0xfb9c0e[_0x27cf('0xdb')];_0x1aef76++){const _0x39b81a=_0xfb9c0e[_0x1aef76];!_0x224ad9[_0x27cf('0xef')](_0x39b81a)&&_0x39b81a[_0x27cf('0x124')]&&(_0x1f333b[_0x27cf('0x35')](_0x39b81a[_0x27cf('0x124')]),_0x39b81a[_0x27cf('0x124')][_0x27cf('0x136')]===_0x39b81a&&(_0x39b81a[_0x27cf('0x124')][_0x27cf('0x136')]=null),_0x39b81a[_0x27cf('0x124')]=null),!_0x5e8e6c[_0x27cf('0xef')](_0x39b81a)&&_0x39b81a[_0x27cf('0x136')]&&(_0x1f333b[_0x27cf('0x35')](_0x39b81a[_0x27cf('0x136')]),_0x39b81a['next'][_0x27cf('0x124')]===_0x39b81a&&(_0x39b81a[_0x27cf('0x136')][_0x27cf('0x124')]=null),_0x39b81a[_0x27cf('0x136')]=null);}function _0x2b6773(_0x292c58,_0x175061,_0x4d8847){for(let _0x2ffa90=_0x4d8847;_0x2ffa90<_0x175061[_0x27cf('0xdb')];_0x2ffa90++){const _0x51c80f=_0x3e2726(_0x292c58,_0x175061[_0x2ffa90]);_0x51c80f&&(_0x51c80f[0x0][_0x27cf('0x136')]=_0x51c80f[0x1],_0x51c80f[0x1][_0x27cf('0x124')]=_0x51c80f[0x0],_0x5e8e6c['add'](_0x51c80f[0x0]),_0x224ad9['add'](_0x51c80f[0x1]));}}function _0x3e2726(_0x23c10b,_0x4cf04f){if(_0x23c10b['author']['id']!==_0x4cf04f[_0x27cf('0x2d')]['id'])return null;const _0x5962cc=_0x28ac05[_0x27cf('0x2b')](_0x23c10b)(_0x23c10b,_0x4cf04f,_0x5a6fd4[_0x27cf('0x2b')](_0x23c10b),_0x5a6fd4[_0x27cf('0x2b')](_0x4cf04f));if(!_0x5962cc)return null;return _0x28ac05['get'](_0x4cf04f)(_0x23c10b,_0x4cf04f,_0x5a6fd4[_0x27cf('0x2b')](_0x23c10b),_0x5a6fd4[_0x27cf('0x2b')](_0x4cf04f))?_0x5962cc[0x1]['commentThread']&&_0x5962cc[0x1]['commentThread'][_0x27cf('0xdb')]?null:_0x5962cc:null;}_0x1f333b[_0x27cf('0x6b')]&&this['_refreshSuggestionsChain'](_0x1f333b);}[_0x27cf('0x2a')](_0x49e84a){if(0x0==_0x49e84a[_0x27cf('0xdb')])return;const _0x5ea90a=this[_0x27cf('0x71')]({'skipNotAttached':!0x0})[_0x27cf('0x51')](_0x1a8ce0=>'attribute'==_0x1a8ce0['type']&&_0x1a8ce0[_0x27cf('0x43')]),_0x58ef10=[],_0x19514f=new Map();for(const _0x3ec0e5 of _0x5ea90a){const _0x4a3a60=_0x4f0889(_0x3ec0e5[_0x27cf('0x38')]);_0x19514f[_0x27cf('0xef')](_0x4a3a60)||(_0x19514f[_0x27cf('0x7')](_0x4a3a60,_0x58ef10[_0x27cf('0xdb')]),_0x58ef10[_0x27cf('0x12f')]([]));const _0x375900=_0x19514f[_0x27cf('0x2b')](_0x4a3a60);_0x58ef10[_0x375900][_0x27cf('0x12f')](_0x3ec0e5);}!function(){_0x58ef10[_0x27cf('0xd')]((_0x1180da,_0x82d731)=>{const _0xe563b0=_0x1180da[0x0][_0x27cf('0x1a')],_0x486f3f=_0x82d731[0x0][_0x27cf('0x1a')];return _0xe563b0==_0x486f3f?_0x1180da[0x0][_0x27cf('0x38')][_0x27cf('0x111')]<_0x82d731[0x0][_0x27cf('0x38')]['groupId']?-0x1:0x1:_0xe563b0<_0x486f3f?-0x1:0x1;});for(const _0x289325 of _0x58ef10)_0x289325[_0x27cf('0xd')]((_0x34bd85,_0x45f46d)=>_0x34bd85['id']<_0x45f46d['id']?-0x1:0x1);}();for(let _0xa5f750=0x0;_0xa5f750<_0x58ef10['length'];_0xa5f750++){if(0x0==_0x58ef10[_0xa5f750][_0x27cf('0xdb')])continue;const _0x47f0fa=[];for(let _0x349926=_0xa5f750+0x1;_0x349926<_0x58ef10[_0x27cf('0xdb')];_0x349926++)0x0!=_0x58ef10[_0x349926][_0x27cf('0xdb')]&&_0x24a774(_0x58ef10[_0xa5f750],_0x58ef10[_0x349926])&&_0x47f0fa[_0x27cf('0x12f')](_0x349926);for(const _0x10a3a7 of _0x47f0fa)_0x58ef10[_0xa5f750]=_0x58ef10[_0xa5f750]['concat'](_0x58ef10[_0x10a3a7]),_0x58ef10[_0x10a3a7]=[];}for(const _0x185408 of _0x58ef10)for(let _0x546fc7=0x0;_0x546fc7<_0x185408['length'];_0x546fc7++)_0x185408[_0x546fc7][_0x27cf('0x136')]=_0x185408[_0x546fc7+0x1]||null;for(const _0x342435 of _0x58ef10)for(let _0x182ba9=0x0;_0x182ba9<_0x342435['length'];_0x182ba9++)_0x342435[_0x182ba9][_0x27cf('0x124')]=_0x342435[_0x182ba9-0x1]||null;function _0x24a774(_0x4f152a,_0x122ac1){if(_0x4f152a[0x0][_0x27cf('0x2d')]!==_0x122ac1[0x0][_0x27cf('0x2d')])return!0x1;if(!function(_0x11ef88,_0x58deed){if(!_0x11ef88[_0x27cf('0xd5')]&&!_0x58deed[_0x27cf('0xd5')])return!0x0;if(_0x11ef88[_0x27cf('0xd5')]&&_0x58deed['hasComments'])return!0x1;if(_0x11ef88[_0x27cf('0xd5')]&&_0x58deed[_0x27cf('0x1a')]<_0x11ef88[_0x27cf('0x9c')][_0x27cf('0x117')][_0x27cf('0x2b')](0x0)[_0x27cf('0x1a')])return!0x0;if(_0x58deed[_0x27cf('0xd5')]&&_0x11ef88[_0x27cf('0x1a')]<_0x58deed['commentThread'][_0x27cf('0x117')][_0x27cf('0x2b')](0x0)[_0x27cf('0x1a')])return!0x0;return!0x1;}(_0x4f152a[0x0],_0x122ac1[0x0]))return!0x1;const _0x60c598=_0x4edf07(_0x4f152a[0x0][_0x27cf('0x38')],_0x27cf('0x111')),_0x28b3dc=_0x4edf07(_0x122ac1[0x0][_0x27cf('0x38')],_0x27cf('0x111'));if(!_0x4d7397(_0x60c598,_0x28b3dc))return!0x1;return!!_0x4f152a[_0x27cf('0x112')](_0x1e3bd1=>_0x122ac1[_0x27cf('0xea')](_0x66f89e=>_0x1e3bd1['getFirstRange']()['isEqual'](_0x66f89e[_0x27cf('0x73')]())))&&_0x122ac1[_0x27cf('0x112')](_0x4439ca=>_0x4f152a[_0x27cf('0xea')](_0x1418b4=>_0x4439ca[_0x27cf('0x73')]()['isEqual'](_0x1418b4[_0x27cf('0x73')]())));}}['_joinWithAdjacentSuggestions'](_0x52a485){const _0x372ca6=Array['from'](_0x52a485),_0x529b70=this[_0x27cf('0x71')]({'skipNotAttached':!0x0}),_0x22ffca=_0x529b70[_0x27cf('0x51')](_0x5adc04=>!_0x52a485[_0x27cf('0xef')](_0x5adc04)),_0x32ae69=new Map(_0x372ca6[_0x27cf('0xa9')](_0x4bbe31=>[_0x4bbe31,this[_0x27cf('0x32')][_0x27cf('0x148')](_0x4bbe31[_0x27cf('0x137')],_0x4bbe31[_0x27cf('0xd0')],'join')])),_0xa75cfb=new Map(_0x529b70[_0x27cf('0xa9')](_0x5267d0=>[_0x5267d0,_0x5267d0[_0x27cf('0xaf')]()]));for(let _0x337e64=0x0;_0x337e64<_0x372ca6[_0x27cf('0xdb')];_0x337e64++){if(_0x53e8fa(this,_0x372ca6[_0x337e64],_0x372ca6,_0x337e64+0x1))return!0x0;}for(let _0x52e470=0x0;_0x52e470<_0x372ca6[_0x27cf('0xdb')];_0x52e470++){if(_0x53e8fa(this,_0x372ca6[_0x52e470],_0x22ffca,0x0))return!0x0;}return!0x1;function _0x53e8fa(_0xbe3f2b,_0x2190cc,_0x2b6757,_0xcbcdf2){for(let _0x13a1a=_0xcbcdf2;_0x13a1a<_0x2b6757[_0x27cf('0xdb')];_0x13a1a++){const _0xb5a89d=_0x2b6757[_0x13a1a];if(_0xb5a89d[_0x27cf('0x137')]!==_0x2190cc[_0x27cf('0x137')]||_0xb5a89d['author']['id']!==_0x2190cc[_0x27cf('0x2d')]['id']||_0xb5a89d['subType']!==_0x2190cc[_0x27cf('0xd0')])continue;if(!Vt(_0x2190cc,_0xb5a89d))continue;if(_0x27cf('0x5e')==_0x2190cc[_0x27cf('0x137')]&&_0x2190cc['data'][_0x27cf('0x25')]!=_0xb5a89d[_0x27cf('0x109')][_0x27cf('0x25')])continue;if(_0x27cf('0x5e')==_0x2190cc[_0x27cf('0x137')]&&_0xbe3f2b['_isBlockAttribute'](_0x2190cc[_0x27cf('0x109')][_0x27cf('0x83')]))continue;if('formatBlock'==_0x2190cc['type']){const _0x526c68=_0xbe3f2b[_0x27cf('0x12a')][_0x27cf('0x0')],_0x1d8bdd=_0x2190cc[_0x27cf('0x154')]();if(_0x1d8bdd&&(_0x526c68[_0x27cf('0x10e')]['isObject'](_0x1d8bdd)||_0x526c68['schema'][_0x27cf('0x159')](_0x1d8bdd)))continue;}const _0xcc1b16=_0x32ae69[_0x27cf('0x2b')](_0x2190cc),_0x32d537=_0xa75cfb['get'](_0x2190cc),_0x5c71d9=_0xa75cfb[_0x27cf('0x2b')](_0xb5a89d),_0x4de4d1=_0x2190cc[_0x27cf('0x9c')]&&_0x2190cc[_0x27cf('0x9c')][_0x27cf('0xdb')],_0x3a4be0=_0xb5a89d[_0x27cf('0x9c')]&&_0xb5a89d[_0x27cf('0x9c')][_0x27cf('0xdb')];if(!_0x4de4d1&&_0xcc1b16(_0x5c71d9,_0x32d537))return _0xbe3f2b['_joinSuggestions'](_0xb5a89d,_0x2190cc),_0xa75cfb['delete'](_0x2190cc),!0x0;if(!_0x3a4be0&&_0xcc1b16(_0x32d537,_0x5c71d9))return _0xbe3f2b[_0x27cf('0x142')](_0x2190cc,_0xb5a89d),_0xa75cfb['delete'](_0xb5a89d),!0x0;}return!0x1;}}[_0x27cf('0x142')](_0x14fe88,_0x142a00){if(_0x14fe88[_0x27cf('0x7a')])for(const _0x199b34 of _0x142a00[_0x27cf('0xaf')]())_0x14fe88[_0x27cf('0x127')](_0x199b34);else{const _0x10a32e=_0x142a00['getFirstRange']()['end'];this[_0x27cf('0x63')](_0x14fe88,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x14fe88[_0x27cf('0x73')]()['start'],_0x10a32e));}_0x142a00['removeMarkers']();}[_0x27cf('0x15a')](_0x33f18e,_0x9d8278){const _0x783d3d=_0x33f18e[_0x27cf('0x46')](_0x27cf('0x4f'))||_0x33f18e[_0x27cf('0x46')](_0x27cf('0x5e'))?_0x27cf('0x114'):_0x33f18e[_0x27cf('0x23')]();return _0x298422(this[_0x27cf('0x12a')][_0x27cf('0x11e')],_0x9d8278+'_'+_0x783d3d+_0x27cf('0x87'));}['_initAriaMarkerChangeAnnouncements'](){const _0x39c51a=this['editor'];_0x5d222d(this[_0x27cf('0xb5')],({left:_0x1e8ae5,entered:_0x2cd59c})=>{const _0x2e8c75=[];for(const _0x82a4fb of _0x1e8ae5){const {group:_0x5ebff8,type:_0x2496f9}=this['_splitMarkerName'](_0x82a4fb[_0x27cf('0x100')]);if(_0x27cf('0x99')===_0x5ebff8){_0x2e8c75['push'](this[_0x27cf('0x15a')](_0x2496f9,_0x27cf('0xca')));break;}}for(const _0x195bc6 of _0x2cd59c){const {group:_0xc721aa,type:_0xd5250a}=this[_0x27cf('0x119')](_0x195bc6['name']);if(_0x27cf('0x99')===_0xc721aa){_0x2e8c75[_0x27cf('0x12f')](this['_getMarkerAnnouncementText'](_0xd5250a,_0x27cf('0xfe')));break;}}_0x2e8c75[_0x27cf('0xdb')]&&_0x39c51a['ui'][_0x27cf('0x105')][_0x27cf('0x171')](_0x27cf('0x130'),_0x2e8c75['join']('\x20'));});}[_0x27cf('0x139')](_0x591023){if(null!==this[_0x27cf('0x7f')])return!0x1;const _0x5ded45=this[_0x27cf('0x12a')],_0x733c6d=_0x5ded45['model'][_0x27cf('0xa8')][_0x27cf('0x153')][_0x27cf('0xed')]();if(0x0==_0x733c6d[_0x27cf('0xdb')])return!0x1;const _0x2c01d9=[],_0x2f2d4f=_0x733c6d[_0x27cf('0x51')](_0x519d2c=>_0x27cf('0x5e')==_0x519d2c[_0x27cf('0x137')]),_0x3373f8=_0x733c6d[_0x27cf('0x51')](_0xa5ec11=>'insert'==_0xa5ec11['type']&&_0x27cf('0x96')!=_0xa5ec11['name']),_0x340b04=_0x733c6d[_0x27cf('0x51')](_0x7f264e=>_0x27cf('0x13f')==_0x7f264e[_0x27cf('0x137')]&&'$text'!=_0x7f264e['name']);for(const _0x5c513f of _0x2f2d4f)_0x2c01d9[_0x27cf('0x12f')]({'key':_0x5c513f['attributeKey'],'newValue':_0x5c513f[_0x27cf('0x10c')],'oldValue':_0x5c513f[_0x27cf('0x42')],'range':_0x5e5f56(_0x5c513f['range'])});for(const _0x474026 of _0x3373f8){const _0x4920c6=_0x340b04[_0x27cf('0xe4')](_0xd2079b=>_0xd2079b[_0x27cf('0x10f')]['isEqual'](_0x474026['position']));_0x4920c6&&_0x2c01d9['push']({'key':_0x27cf('0x52'),'newValue':_0x474026[_0x27cf('0x100')],'oldValue':_0x4920c6['name'],'range':_0x5ded45['model']['createRangeOn'](_0x474026[_0x27cf('0x10f')][_0x27cf('0x34')])});}return 0x0!=_0x2c01d9[_0x27cf('0xdb')]&&this['_reduceExistingSuggestions'](_0x591023,_0x2c01d9);function _0x5e5f56(_0x2a6db6){return null==_0x2a6db6[_0x27cf('0x16f')][_0x27cf('0x101')]&&_0x2a6db6[_0x27cf('0x16f')][_0x27cf('0xe3')]==_0x2a6db6['start'][_0x27cf('0x34')]?Ut(_0x2a6db6[_0x27cf('0x156')][_0x27cf('0x34')],_0x5ded45['model']):_0x2a6db6;}}[_0x27cf('0xf3')](_0x2f6d92){let _0xa43030=!0x1;const _0x1805e0=this[_0x27cf('0x12a')]['model'][_0x27cf('0xa8')][_0x27cf('0x153')][_0x27cf('0xeb')]()[_0x27cf('0x51')](_0x35ca3e=>_0x35ca3e[_0x27cf('0x109')]['newRange']&&_0x35ca3e['name'][_0x27cf('0x46')](_0x27cf('0x16b')));for(const _0x375b24 of _0x1805e0){const {subType:_0x2fc827,id:_0x2d84cd}=this[_0x27cf('0x119')](_0x375b24[_0x27cf('0x100')]),_0x52f184=_0x2fc827[_0x27cf('0x9d')]('|')[0x0];for(const _0x4304cb of this[_0x27cf('0x71')]({'skipNotAttached':!0x0}))_0x4304cb['id']!=_0x2d84cd&&_0x27cf('0x5e')==_0x4304cb['type']&&_0x4304cb[_0x27cf('0x109')]&&_0x4304cb[_0x27cf('0x109')]['key']==_0x52f184&&_0x4304cb[_0x27cf('0x73')]()[_0x27cf('0x60')](_0x375b24[_0x27cf('0x109')][_0x27cf('0x54')])&&(this['_reduceSuggestionAttributeRange'](_0x4304cb,_0x375b24[_0x27cf('0x109')]['newRange'],_0x2f6d92),_0xa43030=!0x0);}return _0xa43030;}[_0x27cf('0x10d')](_0x43a270){if(null!==this[_0x27cf('0x7f')])return void _0x43a270();const _0x171cad=this['editor'];this[_0x27cf('0x7f')]=_0x171cad['model']['document'][_0x27cf('0x157')],_0x43a270();const _0x510cdb=new Map();for(const _0x46c26b of _0x171cad[_0x27cf('0x0')][_0x27cf('0xa8')]['history'][_0x27cf('0xd4')](this[_0x27cf('0x7f')]))if([_0x27cf('0xfb'),'addAttribute',_0x27cf('0x15d'),_0x27cf('0x164')]['includes'](_0x46c26b[_0x27cf('0x137')])){const _0x15c065=_0x46c26b['batch'],_0x6a83dc=_0x510cdb['get'](_0x15c065)||[];_0x6a83dc['push'](_0x46c26b),_0x510cdb[_0x27cf('0x7')](_0x15c065,_0x6a83dc);}this[_0x27cf('0x7f')]=null;for(const [_0x2c7c36,_0x57dffe]of _0x510cdb){const _0x23ad44=_0x487386();_0x171cad[_0x27cf('0x0')][_0x27cf('0xf2')](_0x2c7c36,_0x509834=>{const _0x393b9a=[];for(const _0x58275c of _0x57dffe){let _0x52fa31,_0x18e4d7,_0x281553,_0x578877;if('rename'==_0x58275c[_0x27cf('0x137')]){const _0x27f2ab=_0x58275c;_0x52fa31=Ut(_0x27f2ab[_0x27cf('0x10f')][_0x27cf('0x34')],_0x171cad[_0x27cf('0x0')]),_0x18e4d7=_0x27cf('0x52'),_0x281553=_0x27f2ab[_0x27cf('0x122')],_0x578877=_0x27f2ab[_0x27cf('0x13a')];}else{const _0x2ccd78=_0x58275c,_0x352ebd=this[_0x27cf('0x12e')](_0x2ccd78[_0x27cf('0x83')]),_0x25f159=this[_0x27cf('0x128')][_0x27cf('0xef')](_0x2ccd78['key']);if(!_0x352ebd&&!_0x25f159)continue;_0x52fa31=_0x352ebd?Ut(_0x2ccd78['range'][_0x27cf('0x156')][_0x27cf('0x34')],_0x171cad[_0x27cf('0x0')]):_0x2ccd78[_0x27cf('0x165')],_0x18e4d7=_0x2ccd78[_0x27cf('0x83')],_0x281553='removeAttribute'==_0x58275c[_0x27cf('0x137')]?void 0x0:_0x2ccd78[_0x27cf('0x69')],_0x578877=_0x2ccd78[_0x27cf('0x25')];}this['markAttributeChange'](_0x52fa31,_0x18e4d7,_0x578877,_0x281553,{'groupId':_0x23ad44}),_0x393b9a[_0x27cf('0x12f')]({'range':_0x52fa31,'key':_0x18e4d7,'newValue':_0x281553,'oldValue':_0x578877});}this[_0x27cf('0x45')](_0x509834,_0x393b9a);});}}[_0x27cf('0x45')](_0x1e38d5,_0x228a46){if(0x0==_0x228a46['length'])return!0x1;let _0x53306c=!0x1;for(const _0x149b2d of _0x228a46){const _0x337cad=this[_0x27cf('0x1b')](_0x149b2d[_0x27cf('0x165')],'attribute')[_0x27cf('0x51')](_0x3da0a1=>!_0x3da0a1[_0x27cf('0x13c')]['isNextTo'])[_0x27cf('0xa9')](_0x58d8c7=>_0x58d8c7[_0x27cf('0x99')]),_0x24480e=_0x4f0889({'newValue':_0x149b2d[_0x27cf('0x69')]});_0x337cad['filter'](_0x21c45b=>{const [_0x276257,_0x1f4e77]=_0x21c45b['subType'][_0x27cf('0x9d')]('|');return _0x276257==_0x149b2d[_0x27cf('0x83')]&&_0x1f4e77!=_0x24480e;})['forEach'](_0x5516ba=>{this[_0x27cf('0x17')](_0x5516ba,_0x149b2d[_0x27cf('0x165')],_0x1e38d5),_0x53306c=!0x0;});}return _0x53306c;}['_reduceSuggestionAttributeRange'](_0x8ac5ec,_0x3822c1,_0x1418c9){const _0x7068a0=_0x8ac5ec[_0x27cf('0x73')]()['getDifference'](_0x3822c1);0x0!==_0x7068a0[_0x27cf('0xdb')]?0x1!==_0x7068a0[_0x27cf('0xdb')]?this[_0x27cf('0x37')](_0x8ac5ec,_0x3822c1[_0x27cf('0x156')],_0x3822c1['end']):this[_0x27cf('0x63')](_0x8ac5ec,_0x7068a0[0x0]):_0x1418c9[_0x27cf('0x11')](_0x8ac5ec[_0x27cf('0xc7')]());}}class $t{constructor(_0x559f01){this[_0x27cf('0xf1')]=_0x559f01,this[_0x27cf('0xb5')]=_0x559f01[_0x27cf('0x0')],this[_0x27cf('0xdd')]=new Map(),this[_0x27cf('0xb6')]=new Map(),this[_0x27cf('0x78')]();}[_0x27cf('0x30')](_0x1dac2a,_0x20b63d,_0x3f451d,_0x1b47ad,_0x4b29a9,_0x2e6ba6){return new _0x3076e1(this[_0x27cf('0xb5')],{'type':_0x1dac2a,'subType':_0x20b63d,'id':_0x3f451d,'author':_0x1b47ad,'creator':_0x1b47ad,'attributes':_0x4b29a9,'onAttributesChange':_0x2e6ba6,'onAccept':(..._0x1d3833)=>this['getSuggestionCallback'](_0x1dac2a,_0x20b63d,_0x27cf('0x70'))(..._0x1d3833),'onDiscard':(..._0x3e137f)=>this[_0x27cf('0x148')](_0x1dac2a,_0x20b63d,_0x27cf('0x11a'))(..._0x3e137f)});}['registerCustomCallback'](_0xf8f038,_0x2f7ae7,_0x514713,_0x56e701){const _0x111c95=_0xf8f038+':'+_0x2f7ae7+':'+_0x514713;this[_0x27cf('0xdd')][_0x27cf('0x7')](_0x111c95,_0x56e701);}['getSuggestionCallback'](_0x3ab2eb,_0x1797a4,_0x1d3591){const _0x5364eb=_0x3ab2eb+':'+_0x1797a4+':'+_0x1d3591;return this[_0x27cf('0xdd')][_0x27cf('0x2b')](_0x5364eb)||this[_0x27cf('0xb6')][_0x27cf('0x2b')](_0x3ab2eb+':'+_0x1d3591);}[_0x27cf('0x78')](){const _0x55e0d6=()=>!0x1,_0x8391d4=_0xbec17e=>{_0xbec17e[_0x27cf('0xd')]((_0x2eef09,_0x4f883c)=>_0x2eef09[_0x27cf('0x156')]['isBefore'](_0x4f883c[_0x27cf('0x156')])?0x1:-0x1),this[_0x27cf('0xb5')][_0x27cf('0xbe')](_0x14f965=>{for(const _0x12a666 of _0xbec17e){let _0x209098;_0x209098=_0x12a666[_0x27cf('0x16f')][_0x27cf('0xb8')]&&_0x12a666[_0x27cf('0x16f')][_0x27cf('0xe3')]==_0x12a666[_0x27cf('0x156')][_0x27cf('0x34')]?_0x14f965['createSelection'](_0x12a666[_0x27cf('0x156')]['nodeAfter'],'on'):_0x14f965['createSelection'](_0x12a666),this['_model'][_0x27cf('0xa3')](_0x209098,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x10da25=(_0x3aa535,_0x31c2c7)=>{_0x31c2c7&&this[_0x27cf('0xb5')][_0x27cf('0xbe')](_0x52b5b8=>{const {commandName:_0x6a83ce,commandParams:_0x5e8f05=[]}=_0x31c2c7,_0x22c005=_0x3aa535[_0x27cf('0xa9')](_0x1167a7=>(Tt(_0x1167a7)&&(_0x1167a7=this['_model']['createRange'](_0x1167a7['end'])),_0x1167a7))['filter'](_0x1794fc=>_0x27cf('0x14a')!==_0x1794fc[_0x27cf('0xac')][_0x27cf('0x8c')]);if(_0x22c005[_0x27cf('0xdb')]<0x1)return;const _0x12fe6b=Array['from'](this[_0x27cf('0xb5')]['document'][_0x27cf('0xb2')][_0x27cf('0xaf')]())[_0x27cf('0xa9')](_0x231c03=>_0x58a33b[_0x27cf('0xfc')](_0x231c03));_0x52b5b8[_0x27cf('0x15c')](_0x22c005);for(const _0xea1795 of this[_0x27cf('0xf1')][_0x27cf('0x158')][_0x27cf('0x158')]())_0xea1795[_0x27cf('0x175')]();_0x5e8f05[_0x27cf('0x12f')]({'forceDefaultExecution':!0x0}),this[_0x27cf('0xf1')][_0x27cf('0x15b')](_0x6a83ce,..._0x5e8f05);const _0x56b65a=_0x12fe6b['filter'](_0x1ef096=>_0x27cf('0x14a')!=_0x1ef096[_0x27cf('0xac')][_0x27cf('0x8c')]);_0x56b65a[_0x27cf('0xdb')]>0x0&&_0x52b5b8[_0x27cf('0x15c')](_0x56b65a);for(const _0x35f77e of _0x12fe6b)_0x35f77e[_0x27cf('0x5d')]();});},_0x23cdd3=(_0xb07a8c,_0x245db9)=>0x1==_0xb07a8c[_0x27cf('0xdb')]&&0x1==_0x245db9['length']&&_0xb07a8c[0x0]['end'][_0x27cf('0xff')](_0x245db9[0x0][_0x27cf('0x156')]),_0x14f9ed=(_0x27c583,_0x2a1686,_0x58fbc8,_0x44f1cb)=>Ot(_0x27c583,_0x2a1686,_0x58fbc8,_0x44f1cb,this['_model'])?[_0x27c583,_0x2a1686]:Ot(_0x2a1686,_0x27c583,_0x44f1cb,_0x58fbc8,this[_0x27cf('0xb5')])?[_0x2a1686,_0x27c583]:null;this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x64'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x163'),_0x8391d4),this[_0x27cf('0xb6')]['set'](_0x27cf('0x13d'),_0x23cdd3),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x13b'),_0x14f9ed),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x167'),_0x8391d4),this['_defaultCallbacks'][_0x27cf('0x7')](_0x27cf('0x14c'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x91'),_0x23cdd3),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0xf5'),_0x14f9ed),this[_0x27cf('0xb6')][_0x27cf('0x7')]('formatInline:accept',_0x10da25),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x2'),_0x55e0d6),this['_defaultCallbacks']['set'](_0x27cf('0x6d'),_0x23cdd3),this['_defaultCallbacks']['set'](_0x27cf('0x11c'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0xa7'),_0x10da25),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x7c'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x44'),_0x23cdd3),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x178'),_0x55e0d6),this[_0x27cf('0xb6')]['set'](_0x27cf('0xa0'),_0x55e0d6),this['_defaultCallbacks'][_0x27cf('0x7')]('attribute:discard',(_0x4ff563,_0xe07b56)=>{if(!_0xe07b56)return;const _0x57ccbf=this[_0x27cf('0xf1')][_0x27cf('0x68')][_0x27cf('0x2b')](p);this[_0x27cf('0xb5')]['change'](_0x21db1d=>{if('$elementName'==_0xe07b56[_0x27cf('0x83')])for(const _0xba7ad1 of _0x4ff563){const _0xfe0c0b=_0xba7ad1[_0x27cf('0x156')][_0x27cf('0x34')],_0x1e98f8=_0xe07b56['oldValue'];_0x21db1d[_0x27cf('0xfb')](_0xfe0c0b,_0x1e98f8);}else{if(_0x57ccbf['_isBlockAttribute'](_0xe07b56['key']))for(const _0x4bb68c of _0x4ff563)void 0x0!==_0xe07b56[_0x27cf('0x25')]?_0x21db1d['setAttribute'](_0xe07b56[_0x27cf('0x83')],_0xe07b56[_0x27cf('0x25')],_0x4bb68c['start'][_0x27cf('0x34')]):_0x21db1d[_0x27cf('0x15d')](_0xe07b56['key'],_0x4bb68c['start']['nodeAfter']);else for(const _0x18157c of _0x4ff563)_0xe07b56['oldValue']?_0x21db1d[_0x27cf('0xf7')](_0xe07b56[_0x27cf('0x83')],_0xe07b56[_0x27cf('0x25')],_0x18157c):_0x21db1d['removeAttribute'](_0xe07b56[_0x27cf('0x83')],_0x18157c);}});}),this['_defaultCallbacks'][_0x27cf('0x7')]('attribute:join',_0x23cdd3);}}function Bt(_0x55c0f8,_0x25dc23,_0x528fba){for(const _0xc182e of _0x25dc23['parent'][_0x27cf('0x47')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xc182e[_0x27cf('0xac')]==_0xc182e)return!0x1;if(!_0x528fba[_0x27cf('0x126')](_0xc182e))return!0x1;if(_0x55c0f8[_0x27cf('0x86')](_0xc182e)||_0x55c0f8[_0x27cf('0x159')](_0xc182e))return!0x0;}return!0x1;}function Tt(_0x2ce042){return _0x2ce042[_0x27cf('0x16f')][_0x27cf('0xe3')]==_0x2ce042[_0x27cf('0x156')][_0x27cf('0x34')]&&_0x2ce042['end'][_0x27cf('0x59')];}function xt(_0x41e72e,_0x48b1be,_0x45cce4,_0x32279d){const _0x614d06=_0x1c8215=>!_0x1c8215[_0x27cf('0xcd')]['is'](_0x27cf('0x10b'))&&!_0x32279d[_0x27cf('0x86')](_0x1c8215['item']),_0x455623=_0x41e72e[_0x27cf('0x156')][_0x27cf('0x24')](_0x614d06),_0x1b0056=_0x41e72e[_0x27cf('0x16f')][_0x27cf('0x24')](_0x614d06,{'direction':'backward'});return(!_0x41e72e[_0x27cf('0x156')]['isEqual'](_0x455623)||!_0x41e72e['end']['isEqual'](_0x1b0056))&&(_0x455623[_0x27cf('0x5a')](_0x1b0056)?_0x45cce4[_0x27cf('0xe')](_0x48b1be,{'range':_0x45cce4[_0x27cf('0xe6')](_0x455623,_0x1b0056)}):_0x45cce4[_0x27cf('0x11')](_0x48b1be),!0x0);}function Et(_0x517e22){return _0x4f0889(_0x517e22);}function Rt(_0x3215a2){const _0x10dc9f=_0x3215a2[_0x27cf('0x156')]['nodeAfter'];return _0x10dc9f&&_0x10dc9f['is'](_0x27cf('0x15f'));}function Ut(_0x549f4c,_0x444638){const _0xa980a4=_0x444638['schema'][_0x27cf('0x86')](_0x549f4c)||_0x444638[_0x27cf('0x10e')][_0x27cf('0x123')](_0x549f4c);return _0x444638[_0x27cf('0xe6')](_0x444638[_0x27cf('0x29')](_0x549f4c,_0x27cf('0x15')),_0xa980a4?_0x444638['createPositionAfter'](_0x549f4c):_0x444638['createPositionAt'](_0x549f4c,'end'));}function Ot(_0x172c0b,_0x5bc777,_0x3e9ecc,_0x31ff4b,_0x4f9c46){if(!Vt(_0x172c0b,_0x5bc777))return!0x1;if(_0x3e9ecc['end']['isEqual'](_0x31ff4b[_0x27cf('0x156')]))return!0x0;if(_0x172c0b[_0x27cf('0x137')]!=_0x5bc777[_0x27cf('0x137')])return!0x1;if(!_0x3e9ecc[_0x27cf('0x16f')]['isTouching'](_0x31ff4b['start']))return!0x1;const _0x4c1dbd=_0x4f9c46[_0x27cf('0xe6')](_0x3e9ecc[_0x27cf('0x16f')],_0x31ff4b['start'])[_0x27cf('0x144')]();for(const _0x443c6 of _0x4c1dbd)if(['elementStart','elementEnd'][_0x27cf('0xb1')](_0x443c6[_0x27cf('0x137')])&&_0x4f9c46['schema']['isLimit'](_0x443c6[_0x27cf('0xcd')]))return!0x1;return!0x0;}function Vt(_0xd052e5,_0x3b79ff){return!(!_0xd052e5[_0x27cf('0x43')]||!_0x3b79ff[_0x27cf('0x43')])&&_0x4d7397(_0xd052e5[_0x27cf('0x38')],_0x3b79ff['attributes']);}function Gt(_0x4012dc,_0x329101){const _0x5878e3=Ft(_0x4012dc['attributes']),_0x213dbf=Ft(_0x329101);if(!_0x4012dc[_0x27cf('0x43')])return!0x1;for(const _0x4b64c6 of Object[_0x27cf('0x55')](_0x213dbf))if(!_0x4d7397(_0x5878e3[_0x4b64c6],_0x213dbf[_0x4b64c6]))return!0x1;return!0x0;}function Ft(_0x54d6c6){const _0x4faf4a=Object[_0x27cf('0x108')]({},_0x54d6c6);return delete _0x4faf4a[_0x27cf('0xa4')],delete _0x4faf4a[_0x27cf('0x80')],_0x4faf4a;}function Pt(_0xabde63){return _0x27cf('0x5e')==_0xabde63[_0x27cf('0x137')]?_0xabde63[_0x27cf('0xd0')][_0x27cf('0x9d')]('|')[0x0]:null;}
|
|
23
|
+
const _0x5ec5=['formatBlock','getRanges','isIntersecting','ck-suggestion-marker-formatBlock','multipleBlocks','_isBlockAttribute','$graveyard','markers','_SUGGESTION_ANNOUNCEMENT','reconvertMarker','clear','previous','addMarker:suggestion','formatBlock:join','_defaultCallbacks','trackChanges.trackFormatChanges','isUndo','for','notReady','nodeBefore','suggestionUnloaded','unbindElementFromMarkerName','isRemovable','markerNameToElements','options','setSelection','addComment','markerToData','differ','markDeletion','acceptSuggestion','insertion:accept','enableCommand','markMultiRangeInsertion','position','addMarker','_model','removeMarkers','oldValue','getChanges','key','backward','isInsideObject','ready','insert','PendingActions','next','_addSuggestionMarker','schema','$marker','createElement','start','getWalker','_recordAttributeSuggestionsFromVersion','_suggestionFactory','acceptAllSuggestions','_reduceSuggestionAttributeRange','_registerInlineAttribute','markAttributeChange','toViewElement','CommentsRepository','getCustomProperty','markInsertion','always','_getExternalAuthor','keys','listenTo','PENDING_ACTION_SUGGESTION','suggestion','formatBlock:accept','ck-suggestion-marker-','getUser','_isDataLoaded','formatInline','set','_commentsRepository','config','_getSuggestionData','high','name','stopListening','getNearestSelectionRange','every','getShiftedBy','_rangeIsInLocalUserInsertion','markerName','formatInline:join','_saved','getSuggestionCallback','setAttribute','getRange','insertion:join','requires','createPositionBefore','elementEnd','isIntersectingWithRange','locale','_joinWithAdjacentSuggestions','getItems','error-saving-suggestion-data-suggestion-discarded','head','splice','createRangeIn','documentSelection','type','_updateSuggestionData','oldName','root','ariaLiveAnnouncer','_initAriaMarkerChangeAnnouncements','parent','updateSuggestion','commands','deletion:chain','_createSuggestion','_findSuggestions','_isForcedDefaultExecutionBlock','rootName','isEqual','split','remove','hasCommentThread','newRange','createPositionAfter','toJSON','pop','attributes','announce','ck-suggestion-marker--active','normal','define','pluginName','trackChanges.mergeNestedSuggestions','meta','chain','markInlineFormat','multi','formatBlock:','removeMarker','getIntersection','_addThreadToSuggestion','enqueueChange','from','_registerBlockAttribute','_suggestionState','consume','_reduceExistingSuggestions','track-changes-suggestion-not-found','trackChanges','creator','consumable','suggestionLoaded','isAtStart','getOperations','createSelection','addMarker:suggestion:attribute','discardAllSuggestions','formatInline:accept','_setSuggestionRange','push','track-changes-command-not-found','element','_setSuggestionData','_customCallbacks','insertContent','attribute:','getSuggestion','comments','update:suggestion','addSuggestion','deletion:accept','formatInline:','addMarker:suggestion:formatBlock','external:','_editor','ck-suggestion-marker-formatInline','getAllAdjacentSuggestions','track-changes-user-not-found','filter','howMany','refresh','changeAttribute','splitPosition','getMarkers','forceDefaultExecution','fromCharCode','fire','newName','activeMarkers','subType','isLimit','writer','getFirstMarker','isAfter','removeMarker:suggestion:attribute','insertion:discard','elementToElement','isInContent','removeAttribute','insertion','createdAt','containsRange','substring','removeComment','low','document','deletion:join','plugins','tablePasteChainId','track-changes-adapter-already-set','suggestionChanged','value','containsPosition','mapper','after','_mergeNestedSuggestions','has','isNextTo','deletion:discard','isTouching','isOwn','getDifference','end','collaboration.channelId','containsRangeInObject','addSuggestionData','nodeAfter','getContainedElement','markMultiRangeDeletion','model','some','sort','createPositionAt','detach','authorName','lowest','item','before','$text','formatBlock:discard','isArray','_registerDefaultCallbacks','unbind','skipNestingCheck','change','markerReady','length','_joinSuggestions','rename','default','stop','rejected','execute','isBlock','isMultiRange','isAtEnd','targetPosition','_enabledCommands','suggestion:','_cutOutSuggestionMarker','conversion','startsWith','fetchCommentThread','dataToMarker','return','buildSuggestion','removeClass','suggestion-type','dataDowncast','moveTargetPosition','_blockAttributeKeys','getLastMatchingPosition','createRange','LEAVE','attributeOldValue','newValue','showSuggestionHighlights','acceptSelectedSuggestions','never','format','editing','_recordAttributeChanges','_trackFormatChanges','groupId','widget','author','forEach','enableReadOnlyMode','ck-suggestion-marker','markMultiRangeBlockFormat','isObject','$elementName','deletion:','catch','_descriptionFactory','getAttribute','elementStart','map','addClass','registerPostFixer','updateMarker','markerToHighlight','change:data','_refreshSuggestionsChain','attribute:join','_onDiscard','editor','getCommentThread','addHighlight','assign','markBlockFormat','delete','concat','rethrowUnexpectedError','_processAttributeSuggestions','_handleNewSuggestionMarker','size','bindElementToMarker','track-changes-suggestion-data-mismatch','attribute:discard','editingDowncast','isCollapsed','suggestion:attribute:','formatGroupId','discardSelectedSuggestions','getSuggestions','fromRange','hasComments','warn','deleteContent','removed','marker-count','isBefore','@external','hasSuggestion','add','highest','_inlineAttributeKeys','applyOperation','_refreshAttributeSuggestionsChain','_getAuthorFromId','version','commandName','authoredAt','getFirstRange','insertion:','_suggestions','trackChangesCommand','oldRange','change:_saved','then','_processAttributeChanges','registerCustomCallback','join','addAttribute','change:activeMarkers','find','addRange','accept','batch','formatInline:discard','unshift','_getMarkerAnnouncementText','deletion','_checkSuggestionCorrectness','get','adapter','_splitMarkerName','includes','addMarkerName','history','formatInline:chain','Users','_adapter','track-changes-enable-command-twice','_breakSuggestionMarker','discard','range','upcast','data','TrackChangesEditing','commentThread','attribute'];(function(_0x538c45,_0x5ec5ce){const _0x410319=function(_0x28c20d){while(--_0x28c20d){_0x538c45['push'](_0x538c45['shift']());}};_0x410319(++_0x5ec5ce);}(_0x5ec5,0x1c3));const _0x4103=function(_0x538c45,_0x5ec5ce){_0x538c45=_0x538c45-0x0;let _0x410319=_0x5ec5[_0x538c45];return _0x410319;};import{Plugin as _0x24bd64,PendingActions as _0xee7e0a}from'ckeditor5/src/core.js';import{LiveRange as _0x1394f0}from'ckeditor5/src/engine.js';import{CKEditorError as _0x207a25,uid as _0x5df0ee,priorities as _0x5e7ba1,logWarning as _0x4ac773}from'ckeditor5/src/utils.js';import{toWidget as _0xc74b52}from'ckeditor5/src/widget.js';import{Users as _0x4e0435,hashObject as _0x536ea2,surroundingMarkersDetector as _0x8a1101}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5c517e from'./commands/trackchangescommand.js';import _0x5dc7df from'./commands/acceptsuggestioncommand.js';import _0x4f1300 from'./commands/discardsuggestioncommand.js';import _0x9cd4a1 from'./commands/executeonallsuggestionscommand.js';import _0x37f312 from'./commands/executeonselectedsuggestionscommand.js';import _0xdfa14c from'./suggestion.js';import _0x1a1e2c from'./suggestiondescriptionfactory.js';import _0x70bed2 from'./integrations/aiassistant.js';import _0x5173da from'./integrations/alignment.js';import _0x36ef09 from'./integrations/basicstyles.js';import _0x4ae2f2 from'./integrations/blockquote.js';import _0x4c161b from'./integrations/ckbox.js';import _0x4d7c5f from'./integrations/codeblock.js';import _0x48dc4a from'./integrations/comments.js';import _0x24ad83 from'./integrations/deletecommand.js';import _0x1e461b from'./integrations/documentlist.js';import _0x1b9557 from'./integrations/documentlistproperties.js';import _0x458b76 from'./integrations/entercommand.js';import _0x489672 from'./integrations/findandreplace.js';import _0x67cc4e from'./integrations/font.js';import _0x48c7fc from'./integrations/formatpainter.js';import _0x427e9b from'./integrations/heading.js';import _0x3db6f7 from'./integrations/highlight.js';import _0x25304d from'./integrations/horizontalline.js';import _0x5e3fe6 from'./integrations/htmlembed.js';import _0x43c3ed from'./integrations/image.js';import _0x5e789e from'./integrations/imagereplace.js';import _0x49310f from'./integrations/imagestyle.js';import _0x3ae34d from'./integrations/importword.js';import _0x2442d5 from'./integrations/indent.js';import _0x2329dd from'./integrations/inputcommand.js';import _0x4c402b from'./integrations/link.js';import _0x29131a from'./integrations/list.js';import _0x27bc5e from'./integrations/listproperties.js';import _0x375cbe from'./integrations/mediaembed.js';import _0x46a101 from'./integrations/mention.js';import _0x3133b6 from'./integrations/pagebreak.js';import _0xc30abd from'./integrations/paragraph.js';import _0x3ea3da from'./integrations/removeformat.js';import _0x509fd8 from'./integrations/restrictededitingmode.js';import _0x1921df from'./integrations/shiftentercommand.js';import _0x4e4eb1 from'./integrations/standardeditingmode.js';import _0x1c62ea from'./integrations/style.js';import _0x4b6ff8 from'./integrations/table.js';import _0x3497b7 from'./integrations/tablemergesplit.js';import _0x1faf0b from'./integrations/tableheadings.js';import _0x345446 from'./integrations/tableclipboard.js';import _0x517000 from'./integrations/tablecolumnresize.js';import _0x394849 from'./integrations/template.js';import _0x2a6f26 from'./integrations/tableofcontents.js';import _0x5aa28f from'./integrations/title.js';import _0x5f1cc6 from'./integrations/undo.js';import _0x4cced8 from'./integrations/tablecaption.js';import _0x2c726c from'./integrations/tableproperties.js';import{getTranslation as _0x1f5924}from'./utils/common-translations.js';import{isEqual as _0x429fef,omit as _0xca117e}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x24bd64{static get[_0x4103('0x18')](){return['CommentsRepository',_0x4e0435,_0xee7e0a,_0x70bed2,_0x5173da,_0x36ef09,_0x4ae2f2,_0x4c161b,_0x4d7c5f,_0x48dc4a,_0x24ad83,_0x1e461b,_0x1b9557,_0x458b76,_0x489672,_0x67cc4e,_0x48c7fc,_0x427e9b,_0x3db6f7,_0x25304d,_0x5e3fe6,_0x43c3ed,_0x49310f,_0x5e789e,_0x3ae34d,_0x2442d5,_0x2329dd,_0x4c402b,_0x29131a,_0x27bc5e,_0x375cbe,_0x46a101,_0x3133b6,_0xc30abd,_0x3ea3da,_0x509fd8,_0x1921df,_0x4e4eb1,_0x1c62ea,_0x4b6ff8,_0x3497b7,_0x1faf0b,_0x4cced8,_0x345446,_0x517000,_0x2a6f26,_0x2c726c,_0x394849,_0x5aa28f,_0x5f1cc6];}static get[_0x4103('0x3f')](){return _0x4103('0x138');}constructor(_0x2a5cc8){function _0x42a718(_0x5abd8a){return _0x5abd8a[_0x4103('0xe5')](_0xe5328c=>String[_0x4103('0x75')](_0xe5328c))[_0x4103('0x11d')]('');}super(_0x2a5cc8),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x4103('0x6')](_0x4103('0x78'),[]),this['on'](_0x4103('0x11f'),(_0x3226a6,_0x39e345,_0x47589e,_0x603e89)=>{this[_0x4103('0x15f')]['change'](()=>{for(const _0xee64d4 of[..._0x603e89,..._0x47589e])this[_0x4103('0x15f')][_0x4103('0x142')][_0x4103('0x94')](_0xee64d4)&&_0x2a5cc8[_0x4103('0xd4')][_0x4103('0x144')](_0xee64d4);});}),this[_0x4103('0xe2')]=new _0x1a1e2c(this[_0x4103('0xee')][_0x4103('0xa1')][_0x4103('0x16b')],this['editor']['locale']),this[_0x4103('0x131')]=null,this['_suggestionFactory']=new $t(this[_0x4103('0xee')]),this['_suggestions']=new Map(),this[_0x4103('0x7')]=_0x2a5cc8[_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x177')),this[_0x4103('0xbd')]=new Set(),this[_0x4103('0x15f')]=this[_0x4103('0xee')][_0x4103('0xa1')],this['_suggestionState']=new WeakMap(),this[_0x4103('0x30')]=!0x1,this[_0x4103('0xca')]=new Set([_0x4103('0xdf')]),this['_inlineAttributeKeys']=new Set(),_0x2a5cc8['config'][_0x4103('0x3e')](_0x4103('0x14a'),_0x4103('0xb5')),this[_0x4103('0xd6')]=_0x2a5cc8[_0x4103('0x8')]['get'](_0x4103('0x14a')),_0x2a5cc8['config'][_0x4103('0x3e')](_0x4103('0x40'),!0x0),this[_0x4103('0x93')]=_0x2a5cc8[_0x4103('0x8')][_0x4103('0x129')](_0x4103('0x40')),this['trackChangesCommand']=new _0x5c517e(_0x2a5cc8,this[_0x4103('0xbd')]),this[_0x4103('0x29')](),this[_0x42a718([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x42a718([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x34]);}['init'](){const _0x52b4c3=this[_0x4103('0xee')],_0x5a5afd=(_0x18d062,_0x2d1529)=>{if(_0x4103('0x13a')!=_0x18d062)return _0x4103('0x2')+_0x18d062;const _0x11f563=_0x2d1529['split']('|')[0x0];return this[_0x4103('0x140')](_0x11f563)?_0x4103('0x13e'):_0x4103('0x6b');};_0x52b4c3['conversion'][_0x4103('0x14c')]('editingDowncast')[_0x4103('0xe9')]({'model':_0x4103('0x0'),'view':_0x512c32=>{const {id:_0x5d1af0,type:_0x3039ea,subType:_0x30b444}=this['_splitMarkerName'](_0x512c32[_0x4103('0x11')]),_0x4a1c28=[_0x4103('0xdc'),_0x5a5afd(_0x3039ea,_0x30b444)];let _0x24ecfa=0xbb8;return this[_0x4103('0x78')][_0x4103('0x12c')](_0x512c32[_0x4103('0x11')])&&(_0x4a1c28['push'](_0x4103('0x3c')),_0x24ecfa=0xbc2),_0x4103('0x127')==_0x3039ea&&(_0x24ecfa+=0x5),{'classes':_0x4a1c28,'attributes':{'data-suggestion':_0x5d1af0},'priority':_0x24ecfa};}}),_0x52b4c3['conversion']['for'](_0x4103('0xc8'))[_0x4103('0x10b')](_0x375c19=>{_0x375c19['on'](_0x4103('0x147'),(_0xeffac8,_0x2d4bcd,_0x1724cd)=>{if(!_0x1724cd[_0x4103('0x153')]['showSuggestionHighlights'])return;const _0xd7a483=_0x2d4bcd[_0x4103('0xa8')];if(!_0xd7a483)return;const _0x5cea9b=_0x1724cd[_0x4103('0x91')][_0x4103('0x176')](_0xd7a483);_0x52b4c3['model'][_0x4103('0x16b')][_0x4103('0xde')](_0xd7a483)&&_0x5cea9b&&!_0x5cea9b['getCustomProperty'](_0x4103('0xd8'))&&_0x5cea9b['is']('containerElement')&&_0xc74b52(_0x5cea9b,_0x1724cd[_0x4103('0x7b')]);},{'priority':_0x4103('0xa')});}),_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xc8'))['markerToHighlight']({'model':'suggestion','view':(_0x5d2a35,_0x2ca254)=>{if(!_0x2ca254['options']['showSuggestionHighlights'])return null;const {type:_0x186a3,subType:_0x47c36f}=this['_splitMarkerName'](_0x5d2a35['markerName']);return{'classes':[_0x4103('0xdc'),_0x5a5afd(_0x186a3,_0x47c36f)],'priority':0xbb8};}});const _0x4c38c4=({showActiveMarkers:_0x3fdd90=!0x0,isAttributeSuggestion:_0x10a519=!0x1}={})=>(_0x41b081,_0x576e9d,_0x54a9bd)=>{if(!_0x576e9d['item'])return;const {id:_0x42dd80}=this[_0x4103('0x12b')](_0x576e9d[_0x4103('0x11')]);if(_0x10a519){const _0x5387f2=Pt(this[_0x4103('0x116')]['get'](_0x42dd80));if(!this['_isBlockAttribute'](_0x5387f2))return;}if(_0x576e9d[_0x4103('0xa8')]['is']('selection'))return void _0x54a9bd['consumable'][_0x4103('0x4d')](_0x576e9d[_0x4103('0xa8')],_0x41b081[_0x4103('0xb')]);const _0x24b0af=_0x54a9bd['mapper'][_0x4103('0x176')](_0x576e9d['item']);if(_0x576e9d[_0x4103('0xa8')]['is'](_0x4103('0x5d'))&&_0x52b4c3['model'][_0x4103('0x16b')][_0x4103('0xb9')](_0x576e9d[_0x4103('0xa8')])&&!_0x24b0af[_0x4103('0x178')](_0x4103('0xf0'))){_0x54a9bd[_0x4103('0x7b')][_0x4103('0xe6')]([_0x4103('0xdc'),_0x4103('0x13e')],_0x24b0af),_0x54a9bd[_0x4103('0x7b')][_0x4103('0x15')]('data-suggestion',_0x42dd80,_0x24b0af),_0x54a9bd['mapper'][_0x4103('0xf9')](_0x24b0af,_0x576e9d['markerName']),_0x3fdd90&&(this[_0x4103('0x78')][_0x4103('0x12c')](_0x576e9d['markerName'])?_0x54a9bd[_0x4103('0x7b')][_0x4103('0xe6')]('ck-suggestion-marker--active',_0x24b0af):_0x54a9bd['writer']['removeClass']('ck-suggestion-marker--active',_0x24b0af));for(const _0x174d5c of _0x52b4c3['model'][_0x4103('0x22')](_0x576e9d[_0x4103('0xa8')])[_0x4103('0x1e')]())_0x54a9bd[_0x4103('0x52')][_0x4103('0x4d')](_0x174d5c,_0x41b081[_0x4103('0xb')]);_0x54a9bd[_0x4103('0x52')][_0x4103('0x4d')](_0x576e9d[_0x4103('0xa8')],_0x41b081[_0x4103('0xb')]);}};_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xc8'))[_0x4103('0x10b')](_0x18d2c8=>{_0x18d2c8['on'](_0x4103('0x68'),(_0x1b11cf,_0x2056c0,_0x227b32)=>{_0x227b32['options'][_0x4103('0xd0')]&&_0x4c38c4({'showActiveMarkers':!0x1})(_0x1b11cf,_0x2056c0,_0x227b32);},{'priority':_0x4103('0x10c')});}),_0x52b4c3['conversion']['for'](_0x4103('0xc8'))['add'](_0x5c6d3f=>{_0x5c6d3f['on'](_0x4103('0x57'),(_0x430664,_0x2e504a,_0x26bc9e)=>{_0x26bc9e[_0x4103('0x153')][_0x4103('0xd0')]&&_0x4c38c4({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x430664,_0x2e504a,_0x26bc9e);},{'priority':_0x4103('0x10c')});}),_0x52b4c3[_0x4103('0xc0')]['for'](_0x4103('0xc8'))[_0x4103('0x156')]({'model':_0x4103('0x0'),'view':(_0x3f93aa,_0x5ab824)=>_0x5ab824['options'][_0x4103('0xd0')]?null:{'group':_0x4103('0x0'),'name':_0x3f93aa['substr'](0xb)}}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0x136'))[_0x4103('0x80')]({'view':{'name':_0x4103('0x0'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x16a3c2,{writer:_0x5bf958})=>{let _0x291e81=_0x4103('0xbe')+_0x16a3c2['getAttribute'](_0x4103('0xc7'))+':'+_0x16a3c2[_0x4103('0xe3')]('id');return _0x16a3c2[_0x4103('0xe3')](_0x4103('0x107'))&&(_0x291e81+=':'+_0x16a3c2[_0x4103('0xe3')](_0x4103('0x107'))),_0x5bf958[_0x4103('0x16d')](_0x4103('0x16c'),{'data-name':_0x291e81});}}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0x136'))[_0x4103('0xc3')]({'view':_0x4103('0x0')}),_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x339c00=>{_0x339c00['on'](_0x4103('0x68'),_0x4c38c4(),{'priority':_0x4103('0xa')});}),_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x2fe665=>{_0x2fe665['on'](_0x4103('0x57'),_0x4c38c4({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x314ca1=>{_0x314ca1['on']('removeMarker:suggestion:formatBlock',(_0x2b5b85,_0x10653e,_0x5886f0)=>{const _0x1514e9=_0x5886f0[_0x4103('0x91')]['markerNameToElements'](_0x10653e[_0x4103('0x11')]);if(_0x1514e9)for(const _0x1825ec of _0x1514e9)_0x1825ec[_0x4103('0x178')](_0x4103('0xf0'))||(_0x5886f0['writer'][_0x4103('0xc6')]([_0x4103('0xdc'),_0x4103('0x13e'),'ck-suggestion-marker--active'],_0x1825ec),_0x5886f0[_0x4103('0x7b')]['removeAttribute']('data-suggestion',_0x1825ec),_0x5886f0[_0x4103('0x91')][_0x4103('0x150')](_0x1825ec,_0x10653e['markerName']));},{'priority':_0x4103('0xa')});}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x4bf4d0=>{_0x4bf4d0['on'](_0x4103('0x7e'),(_0x26ecbe,_0xed07dc,_0x473a64)=>{const _0x4f84c3=_0x473a64[_0x4103('0x91')][_0x4103('0x152')](_0xed07dc['markerName']);if(!_0x4f84c3)return;const {id:_0x4f6f59}=this['_splitMarkerName'](_0xed07dc[_0x4103('0x11')]),_0x455650=Pt(this[_0x4103('0x116')][_0x4103('0x129')](_0x4f6f59));if(this['_isBlockAttribute'](_0x455650))for(const _0x2e99eb of _0x4f84c3)_0x2e99eb[_0x4103('0x178')](_0x4103('0xf0'))||(_0x473a64[_0x4103('0x7b')][_0x4103('0xc6')]([_0x4103('0xdc'),_0x4103('0x13e'),_0x4103('0x3c')],_0x2e99eb),_0x473a64[_0x4103('0x7b')][_0x4103('0x82')]('data-suggestion',_0x2e99eb),_0x473a64['mapper'][_0x4103('0x150')](_0x2e99eb,_0xed07dc[_0x4103('0x11')]));},{'priority':_0x4103('0xa')});}),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0xe7')](_0x51b9a5=>{let _0x17946b=!0x1;const _0x44d2bb=Array[_0x4103('0x4a')](_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')]['getChangedMarkers']()),_0x3c4414=new Set();for(const {name:_0x214d12,data:_0x327c50}of _0x44d2bb){const {group:_0x1fdb3e,type:_0x2c7d22,subType:_0x102da9,id:_0x89fa5a}=this[_0x4103('0x12b')](_0x214d12);if(_0x4103('0x0')!==_0x1fdb3e)continue;const _0x37d609=this[_0x4103('0x116')][_0x4103('0x129')](_0x89fa5a);if(null!=_0x327c50[_0x4103('0x36')]){'formatInline'==_0x2c7d22&&(_0x17946b=_0x17946b||xt(_0x327c50[_0x4103('0x36')],_0x214d12,_0x51b9a5,_0x52b4c3['model']['schema']));const _0x29652a=_0x4103('0x13a')==_0x2c7d22&&this['_isBlockAttribute'](_0x102da9[_0x4103('0x33')]('|')[0x0]);if(_0x327c50[_0x4103('0x36')][_0x4103('0xfd')]||_0x4103('0x141')==_0x327c50[_0x4103('0x36')][_0x4103('0x27')]['rootName']||_0x4103('0x13b')==_0x2c7d22&&!Rt(_0x327c50[_0x4103('0x36')])||_0x29652a&&!Rt(_0x327c50['newRange'])||_0x4103('0x127')==_0x2c7d22&&!(!Tt(_0x13c20c=_0x327c50['newRange'])&&!function(_0xb09e2e){return _0xb09e2e[_0x4103('0x16e')]['parent']==_0xb09e2e['end'][_0x4103('0x14e')]&&_0xb09e2e['start'][_0x4103('0xbb')];}(_0x13c20c)))_0x51b9a5['removeMarker'](_0x214d12),_0x17946b=!0x0;else{if(!_0x37d609||!_0x37d609[_0x4103('0x81')])continue;_0x3c4414[_0x4103('0x10b')](_0x37d609);}}}var _0x13c20c;return _0x3c4414[_0x4103('0xf8')]>0x0&&(_0x17946b=!!this[_0x4103('0x1d')](_0x3c4414)||_0x17946b),_0x17946b;}),_0x52b4c3['model']['document'][_0x4103('0xe7')](_0x40589a=>{let _0x35569b=!0x1;for(const _0x4bfc99 of _0x52b4c3[_0x4103('0xa1')]['document'][_0x4103('0x157')][_0x4103('0x162')]())if(_0x4103('0x167')==_0x4bfc99['type'])for(const _0x274edd of this[_0x4103('0x116')]['values']()){if(_0x274edd[_0x4103('0xba')]||!_0x274edd[_0x4103('0x81')])continue;const _0x2a20d8='formatBlock'==_0x274edd['type'],_0x5c06d8=Pt(_0x274edd),_0xf54bea=_0x5c06d8&&this['_isBlockAttribute'](_0x5c06d8);if(!_0x2a20d8&&!_0xf54bea)continue;const _0x48ea55=_0x274edd[_0x4103('0x114')]();if(_0x48ea55[_0x4103('0x16e')][_0x4103('0x2a')]!=_0x48ea55[_0x4103('0x9a')][_0x4103('0x2a')]&&!_0x48ea55[_0x4103('0x9a')][_0x4103('0xbb')]){const _0x7d6c93=_0x52b4c3[_0x4103('0xa1')]['createPositionAt'](_0x48ea55['start']['nodeAfter'],_0x4103('0x9a')),_0xac5d77=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x48ea55['start'],_0x7d6c93);_0x40589a[_0x4103('0xe8')](_0x274edd[_0x4103('0x7c')](),{'range':_0xac5d77}),_0x35569b=!0x0;}}return _0x35569b;}),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0xe7')](_0x488d5f=>this[_0x4103('0x11b')](_0x488d5f)),_0x52b4c3['model'][_0x4103('0x89')]['registerPostFixer'](_0x4866a7=>!_0x4866a7[_0x4103('0x123')]['isLocal']&&this[_0x4103('0xf6')](_0x4866a7)),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x142')]['on'](_0x4103('0x64'),(_0x12e2ef,_0xedd12b,_0x5ce823)=>{if(null==_0x5ce823){const {id:_0x10a834}=this[_0x4103('0x12b')](_0xedd12b[_0x4103('0xb')]),_0x55eab9=this[_0x4103('0x116')][_0x4103('0x129')](_0x10a834);_0x55eab9&&_0x55eab9[_0x4103('0x12d')](_0xedd12b[_0x4103('0xb')]);}}),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')]['on'](_0x4103('0xea'),()=>{const _0x198ea0=Array[_0x4103('0x4a')](_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')]['getChangedMarkers']())[_0x4103('0x6e')](_0x1c74dd=>_0x4103('0x0')===this[_0x4103('0x12b')](_0x1c74dd[_0x4103('0xb')])['group']);if(0x0===_0x198ea0[_0x4103('0xb2')])return;_0x198ea0['sort']((_0x491c65,_0x9cdfcb)=>{const _0x33f172=_0x491c65[_0x4103('0x137')][_0x4103('0x118')],_0x3bd3ea=_0x9cdfcb[_0x4103('0x137')]['oldRange'];return null===_0x33f172&&null===_0x3bd3ea?0x0:null===_0x33f172&&null!==_0x3bd3ea?-0x1:null!==_0x33f172&&null===_0x3bd3ea?0x1:_0x33f172[_0x4103('0x16e')][_0x4103('0x108')](_0x3bd3ea[_0x4103('0x16e')])?-0x1:0x1;});const _0x4c4724=new Set(),_0x2d839b=new Set();for(const {name:_0x393498,data:_0xefe261}of _0x198ea0){const {id:_0x5af52e}=this[_0x4103('0x12b')](_0x393498);if(null===_0xefe261['oldRange']){const _0x4ddead=this[_0x4103('0xf7')](_0x393498);_0x2d839b[_0x4103('0x10b')](_0x4ddead);}else{const _0x2a7039=this[_0x4103('0x116')][_0x4103('0x129')](_0x5af52e);null!==_0xefe261['newRange']||_0x2a7039['isInContent']?(_0x4c4724['add'](_0x2a7039[_0x4103('0x20')]),_0x2d839b[_0x4103('0x10b')](_0x2a7039)):this['_removeSuggestion'](_0x2a7039);}}_0x2d839b[_0x4103('0xf8')]>0x0&&this['_refreshSuggestionsChain'](_0x2d839b);for(const _0x357fe5 of _0x4c4724)this[_0x4103('0x76')](_0x4103('0x8e'),_0x357fe5);}),_0x52b4c3['model']['on'](_0x4103('0x10e'),(_0x136db3,_0x527e72)=>{const _0x464be4=_0x527e72[0x0];if(!this[_0x4103('0x116')][_0x4103('0xf8')])return;if(!_0x464be4['isDocumentOperation'])return;if(_0x464be4[_0x4103('0x123')][_0x4103('0x14b')]||!_0x464be4[_0x4103('0x123')]['isLocal'])return;let _0x5cd9c2,_0x184c14;switch(_0x464be4[_0x4103('0x24')]){case _0x4103('0x167'):_0x5cd9c2=_0x52b4c3['model'][_0x4103('0xa4')](_0x464be4[_0x4103('0x15d')]),_0x184c14=_0x5cd9c2[_0x4103('0xf')](_0x464be4[_0x4103('0x6f')]);break;case _0x4103('0x33'):_0x5cd9c2=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xa4')](_0x464be4[_0x4103('0x72')]),_0x184c14=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xa4')](_0x464be4[_0x4103('0xc9')]);break;case'move':_0x5cd9c2=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xa4')](_0x464be4[_0x4103('0xbc')]),_0x184c14=_0x5cd9c2['getShiftedBy'](_0x464be4[_0x4103('0x6f')]);break;default:return;}const _0x40bd3b=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x5cd9c2,_0x184c14);_0x52b4c3['model']['change'](()=>{for(const {suggestion:_0x57aa83,meta:_0x425efc}of this[_0x4103('0x2f')](_0x40bd3b)){if(_0x57aa83['isMultiRange'])continue;if(_0x4103('0x5')==_0x57aa83[_0x4103('0x24')])continue;const _0x140f2d=Pt(_0x57aa83);if(_0x140f2d&&this['_isBlockAttribute'](_0x140f2d)&&'split'!=_0x464be4[_0x4103('0x24')])continue;const _0x267d7c=_0x57aa83[_0x4103('0x137')]&&_0x57aa83['data']['multipleBlocks'];(_0x4103('0x13b')!=_0x57aa83[_0x4103('0x24')]||_0x4103('0x33')==_0x464be4[_0x4103('0x24')]&&!_0x267d7c)&&(_0x425efc['containsRangeInObject']||_0x4103('0x83')==_0x57aa83[_0x4103('0x24')]&&_0x425efc['isOwn']||_0x57aa83[_0x4103('0x114')]()['containsRange'](_0x40bd3b)&&this[_0x4103('0x133')](_0x57aa83,_0x5cd9c2,_0x184c14));}});},{'priority':_0x4103('0xa7')}),_0x52b4c3['model']['on'](_0x4103('0x105'),(_0x1ff791,_0x40dacc)=>{const _0x4d8af9=_0x40dacc[0x0],_0x3f01de=_0x40dacc[0x1];if(_0x3f01de&&_0x3f01de[_0x4103('0x74')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x4103('0x8f')])return;if(_0x4d8af9[_0x4103('0xfd')])return;const _0xa28173=_0x52b4c3['model'][_0x4103('0x16b')],{start:_0x37f9ef,end:_0x56b9cb}=_0x4d8af9[_0x4103('0x114')](),_0x401569=_0x37f9ef[_0x4103('0x9e')]&&_0xa28173[_0x4103('0x7a')](_0x37f9ef['nodeAfter'])?null:_0xa28173['getNearestSelectionRange'](_0x37f9ef,'forward'),_0x542dff=_0x56b9cb[_0x4103('0x14e')]&&_0xa28173[_0x4103('0x7a')](_0x56b9cb[_0x4103('0x14e')])?null:_0xa28173[_0x4103('0xd')](_0x56b9cb,_0x4103('0x164')),_0x1c7c9f=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x401569?_0x401569[_0x4103('0x16e')]:_0x37f9ef,_0x542dff?_0x542dff[_0x4103('0x9a')]:_0x56b9cb);_0x52b4c3[_0x4103('0xa1')][_0x4103('0xb0')](_0x21cd58=>{this[_0x4103('0x158')](_0x1c7c9f);const _0x3a31de=_0x52b4c3[_0x4103('0xa1')][_0x4103('0x16b')]['getNearestSelectionRange'](_0x1c7c9f['start']);_0x4d8af9['is'](_0x4103('0x23'))?_0x21cd58[_0x4103('0x154')](_0x3a31de):_0x4d8af9['setTo'](_0x3a31de);}),_0x1ff791[_0x4103('0xb6')]();},{'priority':_0x5e7ba1[_0x4103('0x3d')]+0xa}),_0x52b4c3[_0x4103('0xa1')]['on'](_0x4103('0x60'),(_0x581c08,_0x121234)=>{const _0x279d28=_0x121234[_0x121234['length']-0x1];_0x279d28&&_0x279d28[_0x4103('0x74')]||this[_0x4103('0x30')]||this['trackChangesCommand'][_0x4103('0x8f')]&&(_0x52b4c3[_0x4103('0xa1')][_0x4103('0xb0')](()=>{let _0x272782=_0x52b4c3[_0x4103('0xa1')]['insertContent'](_0x121234[0x0],_0x121234[0x1],_0x121234[0x2],{'forceDefaultExecution':!0x0});if(!_0x272782)return;_0x581c08[_0x4103('0xc4')]=_0x272782['clone']();const _0x1c0cc5=_0x272782['end'][_0x4103('0x14e')],_0x57236d=_0x52b4c3[_0x4103('0xa1')][_0x4103('0x16b')];_0x1c0cc5&&_0x57236d[_0x4103('0xb9')](_0x1c0cc5)&&!_0x57236d['isObject'](_0x1c0cc5)&&(_0x272782=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x272782['start'],_0x52b4c3['model'][_0x4103('0xa4')](_0x1c0cc5,_0x4103('0x9a')))),this[_0x4103('0x179')](_0x272782);}),_0x581c08['stop']());},{'priority':_0x4103('0xa')}),this[_0x4103('0xee')][_0x4103('0x2c')][_0x4103('0x10b')]('trackChanges',this['trackChangesCommand']),this[_0x4103('0x15b')]('trackChanges');const _0x599683=new _0x5dc7df(_0x52b4c3,this[_0x4103('0x116')]);_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0x159'),_0x599683),this[_0x4103('0x15b')](_0x4103('0x159'));const _0x578566=new _0x4f1300(_0x52b4c3,this[_0x4103('0x116')]);_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')]('discardSuggestion',_0x578566),this[_0x4103('0x15b')]('discardSuggestion'),_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0x172'),new _0x9cd4a1(_0x52b4c3,_0x599683,this[_0x4103('0x116')])),this[_0x4103('0x15b')](_0x4103('0x172')),_0x52b4c3[_0x4103('0x2c')]['add'](_0x4103('0x58'),new _0x9cd4a1(_0x52b4c3,_0x578566,this[_0x4103('0x116')])),this[_0x4103('0x15b')]('discardAllSuggestions'),_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0xd1'),new _0x37f312(_0x52b4c3,_0x599683,this[_0x4103('0x116')])),this[_0x4103('0x15b')](_0x4103('0xd1')),_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0x100'),new _0x37f312(_0x52b4c3,_0x578566,this[_0x4103('0x116')])),this['enableCommand'](_0x4103('0x100'));const _0x52eada=_0x52b4c3[_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x177'));this[_0x4103('0x17d')](_0x52eada,_0x4103('0x155'),(_0xa10e7,{threadId:_0x470fa5})=>{const _0x311a3e=this[_0x4103('0x116')][_0x4103('0x129')](_0x470fa5);_0x311a3e&&_0x311a3e[_0x4103('0x139')]&&0x1===_0x311a3e['commentThread']['length']&&this[_0x4103('0x25')](_0x470fa5,{'hasComments':!0x0});},{'priority':_0x4103('0x88')}),this[_0x4103('0x17d')](_0x52eada,_0x4103('0x87'),(_0x2159ea,{threadId:_0xf8ca50})=>{const _0x22c119=this['_suggestions'][_0x4103('0x129')](_0xf8ca50);_0x22c119&&_0x22c119[_0x4103('0x139')]&&!_0x22c119[_0x4103('0x139')]['length']&&this[_0x4103('0x25')](_0xf8ca50,{'hasComments':!0x1});},{'priority':'low'});}set['adapter'](_0x329f2f){if(this['_adapter'])throw new _0x207a25(_0x4103('0x8d'),this);this[_0x4103('0x131')]=_0x329f2f;}get[_0x4103('0x12a')](){return this[_0x4103('0x131')];}[_0x4103('0x101')]({skipNotAttached:_0x11cd6f=!0x1,toJSON:_0xba65d8=!0x1}={}){const _0x4a0f9f=[];for(const _0x2f896e of this['_suggestions']['values']())_0x11cd6f&&!_0x2f896e[_0x4103('0x81')]||_0x4a0f9f['push'](_0x2f896e);return _0xba65d8?_0x4a0f9f['map'](_0x4079df=>_0x4079df[_0x4103('0x38')]()):_0x4a0f9f;}[_0x4103('0x62')](_0x166b0b){const _0x39d4d7=this[_0x4103('0x116')][_0x4103('0x129')](_0x166b0b);if(!_0x39d4d7)throw new _0x207a25(_0x4103('0x4f'),this);return _0x39d4d7;}[_0x4103('0x10a')](_0x11f5a3){return this[_0x4103('0x116')][_0x4103('0x94')](_0x11f5a3);}[_0x4103('0x9d')](_0xf6a91e){const {authorId:_0xcdf4da,id:_0x34828e,attributes:_0x366898}=_0xf6a91e,[_0x2b81c1,_0x2f5d5c]=_0xf6a91e[_0x4103('0x24')][_0x4103('0x33')](':'),_0x3649fc=this[_0x4103('0x116')][_0x4103('0x129')](_0x34828e)||this['_createSuggestion'](_0x2b81c1,_0x2f5d5c,_0x34828e,_0xcdf4da,_0x366898);if(this[_0x4103('0x48')](_0x3649fc),this[_0x4103('0x128')](_0x3649fc,_0x2b81c1,_0x2f5d5c||null,_0xcdf4da),_0x3649fc[_0x4103('0x84')]=_0xf6a91e[_0x4103('0x84')],_0x3649fc[_0x4103('0x4')]=!0x0,_0x366898&&_0x366898[_0x4103('0x109')]){const _0x3c2332=_0x366898[_0x4103('0x109')],_0xc7e680=this[_0x4103('0x17b')](_0x3c2332[_0x4103('0xa6')]);_0x3649fc['authoredAt']=_0x3c2332[_0x4103('0x84')],_0x3649fc['author']=_0xc7e680,_0x3649fc['isExternal']=!0x0;}else _0x3649fc[_0x4103('0x113')]=_0xf6a91e[_0x4103('0x84')];switch(_0xf6a91e['data']&&(_0x3649fc[_0x4103('0x137')]=_0xf6a91e['data']),_0xf6a91e['attributes']&&(_0x3649fc[_0x4103('0x3a')]=_0xf6a91e[_0x4103('0x3a')]),this[_0x4103('0x131')]&&this[_0x4103('0x131')][_0x4103('0x65')]||(_0x3649fc[_0x4103('0x13')]=!0x0),this['_suggestionState'][_0x4103('0x129')](_0x3649fc)){case'notReady':this[_0x4103('0x4c')][_0x4103('0x6')](_0x3649fc,'dataReady');break;case _0x4103('0xb1'):_0x3649fc['isInContent']?(this[_0x4103('0xeb')](new Set([_0x3649fc])),this[_0x4103('0x1d')](new Set([_0x3649fc])),this[_0x4103('0x4c')][_0x4103('0x6')](_0x3649fc,_0x4103('0x166')),this[_0x4103('0x76')](_0x4103('0x53'),_0x3649fc)):this[_0x4103('0x4c')][_0x4103('0x6')](_0x3649fc,_0x4103('0x106'));}return _0x3649fc;}[_0x4103('0x159')](_0x610a07){this[_0x4103('0x74')](()=>{this[_0x4103('0xee')][_0x4103('0xa1')][_0x4103('0xb0')](()=>{for(const _0x4fa106 of _0x610a07[_0x4103('0x6c')]())_0x4fa106[_0x4103('0x122')]();});});}['discardSuggestion'](_0x9b4fb3){this[_0x4103('0x74')](()=>{this['editor'][_0x4103('0xa1')][_0x4103('0xb0')](()=>{for(const _0x2d9fb0 of _0x9b4fb3[_0x4103('0x6c')]())_0x2d9fb0[_0x4103('0x134')]();});});}[_0x4103('0x15b')](_0xc29e5f,_0x50b77a){const _0x566179=this[_0x4103('0xee')]['commands'][_0x4103('0x129')](_0xc29e5f);if(!_0x566179)throw new _0x207a25(_0x4103('0x5c'),this,{'commandName':_0xc29e5f});if(this[_0x4103('0xbd')][_0x4103('0x94')](_0x566179))throw new _0x207a25(_0x4103('0x132'),this,{'commandName':_0xc29e5f});this[_0x4103('0xbd')][_0x4103('0x10b')](_0x566179),_0x50b77a&&_0x566179['on'](_0x4103('0xb8'),(_0x418f83,_0x162a8a)=>{this[_0x4103('0x117')][_0x4103('0x8f')]&&(this[_0x4103('0x30')]||(_0x162a8a['length']>0x0&&_0x162a8a[_0x162a8a['length']-0x1]&&_0x162a8a[_0x162a8a['length']-0x1][_0x4103('0x74')]?_0x162a8a[_0x4103('0x39')]():(_0x418f83[_0x4103('0xc4')]=_0x50b77a((..._0x4e78ff)=>_0x566179[_0x4103('0xb8')](..._0x4e78ff,{'forceDefaultExecution':!0x0}),..._0x162a8a),_0x418f83['stop']())));},{'priority':_0x4103('0xa')});}[_0x4103('0x74')](_0x2cf2a5){let _0x5ebf32,_0x36ab1f;const _0x1f476b=this[_0x4103('0x30')];this[_0x4103('0x30')]=!0x0;try{_0x5ebf32=_0x2cf2a5();}catch(_0x5e198d){_0x36ab1f=_0x5e198d;}return _0x1f476b||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x36ab1f&&_0x207a25[_0x4103('0xf5')](_0x36ab1f,this),_0x5ebf32;}[_0x4103('0x179')](_0x24ab4a,_0x3d07f0=null,_0x4a7ec5={}){if(_0x24ab4a[_0x4103('0xfd')])return null;const _0xf3416b=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'];for(const {suggestion:_0x3ce4ce,meta:_0x3aa4ed}of this[_0x4103('0x2f')](_0x24ab4a,_0x4103('0x83')))if(_0x3aa4ed[_0x4103('0x98')]){if(!_0x3aa4ed[_0x4103('0x95')]){if(_0x3aa4ed[_0x4103('0x9c')]){if(!this[_0x4103('0x93')]||!Gt(_0x3ce4ce,_0x4a7ec5))continue;return _0x3ce4ce;}if(Gt(_0x3ce4ce,_0x4a7ec5))return _0x3ce4ce;this[_0x4103('0x133')](_0x3ce4ce,_0x24ab4a[_0x4103('0x16e')],_0x24ab4a[_0x4103('0x9a')]);break;}if(_0x3d07f0==_0x3ce4ce[_0x4103('0x79')]&&Gt(_0x3ce4ce,_0x4a7ec5)){const _0x51ef11=_0x3ce4ce['getFirstRange']();return _0x51ef11[_0x4103('0x16e')][_0x4103('0x32')](_0x24ab4a[_0x4103('0x9a')])?this[_0x4103('0x5a')](_0x3ce4ce,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x24ab4a[_0x4103('0x16e')],_0x51ef11['end'])):this[_0x4103('0x5a')](_0x3ce4ce,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x51ef11[_0x4103('0x16e')],_0x24ab4a[_0x4103('0x9a')])),_0x3ce4ce;}}const _0x4643e9=_0x5df0ee(),_0x19460c=_0xf3416b['id'],_0x156c4f=_0x3d07f0?_0x4103('0x115')+_0x3d07f0:_0x4103('0x83'),_0x4754bb=this['_setSuggestionData']({'id':_0x4643e9,'type':_0x156c4f,'createdAt':new Date(),'authorId':_0x19460c,'attributes':_0x4a7ec5});return this[_0x4103('0x16a')](_0x156c4f,_0x4643e9,_0x19460c,_0x24ab4a),_0x4754bb;}[_0x4103('0x15c')](_0xc7a145,_0x3f6cb9='multi',_0x245a14={}){const _0x57cd31=this['editor'][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'],_0x3eacb3=this[_0x4103('0x171')][_0x4103('0x14')]('insertion',_0x3f6cb9,'join');for(const _0x2f7ab0 of this[_0x4103('0x101')]())if(_0x2f7ab0[_0x4103('0xd9')]['id']==_0x57cd31['id']&&'insertion'==_0x2f7ab0[_0x4103('0x24')]&&_0x2f7ab0['subType']==_0x3f6cb9&&Gt(_0x2f7ab0,_0x245a14)&&(_0x3eacb3(_0x2f7ab0[_0x4103('0x13c')](),_0xc7a145)||_0x3eacb3(_0xc7a145,_0x2f7ab0[_0x4103('0x13c')]()))){for(const _0x257a56 of _0xc7a145)_0x2f7ab0[_0x4103('0x121')](_0x257a56);return _0x2f7ab0;}for(const {suggestion:_0x300c16,meta:_0x15ecd9}of this[_0x4103('0x2f')](_0xc7a145,_0x4103('0x83'))){if(!_0x15ecd9[_0x4103('0x98')])continue;if(!this['_mergeNestedSuggestions']&&_0x15ecd9[_0x4103('0x9c')])continue;if(!Gt(_0x300c16,_0x245a14))continue;let _0x9a1655=!0x0;for(const _0x58ec93 of _0x300c16[_0x4103('0x13c')]())for(const _0x198039 of _0xc7a145)if(!_0x58ec93['containsRange'](_0x198039)){_0x9a1655=!0x1;break;}if(_0x9a1655)return _0x300c16;}const _0x94a797=_0x5df0ee(),_0x1e8183=_0x57cd31['id'],_0x47cf98=_0x4103('0x115')+_0x3f6cb9,_0x813c2=this[_0x4103('0x5e')]({'id':_0x94a797,'type':_0x47cf98,'createdAt':new Date(),'authorId':_0x1e8183,'attributes':_0x245a14});for(const _0x126209 of _0xc7a145)this['_addSuggestionMarker'](_0x47cf98,_0x94a797,_0x1e8183,_0x126209,_0xdfa14c['getMultiRangeId']());return _0x813c2;}[_0x4103('0x43')](_0x1ba5c3,_0x8efeef,_0x542cf2=null,_0x1b59f5={}){if(_0x542cf2=_0x542cf2||Et(_0x8efeef),_0x1ba5c3[_0x4103('0xfd')])return null;if(_0x4103('0xd2')===this[_0x4103('0xd6')]){const _0x866fab=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x5'),_0x542cf2,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x866fab([_0x1ba5c3],_0x8efeef,_0x1b59f5)),null;}const _0x2af79d=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')]('Users')['me'],_0x4cff93=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x379e5b,meta:_0x40e47e}of this[_0x4103('0x2f')](_0x1ba5c3,_0x4103('0x83')))_0x40e47e[_0x4103('0x98')]&&!_0x40e47e[_0x4103('0x165')]&&_0x4cff93[_0x4103('0x5b')](..._0x379e5b[_0x4103('0x13c')]());const _0x1b57c3=function(_0x39f041,_0x1a09c8){const _0x5407a3=[];for(const _0x2029e3 of _0x1a09c8){const _0x339504=_0x39f041['getIntersection'](_0x2029e3);_0x339504&&_0x5407a3[_0x4103('0x5b')](_0x339504);}return _0x5407a3;}(_0x1ba5c3,_0x4cff93),_0x3ac038=function(_0x43baad,_0x4f1e49){const _0x381384=[_0x43baad];for(const _0x461054 of _0x4f1e49){let _0x5180d9=0x0;for(;_0x5180d9<_0x381384[_0x4103('0xb2')];){const _0x5db934=_0x381384[_0x5180d9][_0x4103('0x99')](_0x461054);_0x381384[_0x4103('0x21')](_0x5180d9,0x1,..._0x5db934),_0x5180d9+=_0x5db934[_0x4103('0xb2')];}}return _0x381384;}(_0x1ba5c3,_0x4cff93);_0x1b57c3[_0x4103('0xb2')]&&this[_0x4103('0x15f')][_0x4103('0xb0')](()=>{for(const _0x5a53d1 of _0x1b57c3){const _0x486a81=this[_0x4103('0x171')]['getSuggestionCallback'](_0x4103('0x5'),_0x542cf2,_0x4103('0x122'));this['forceDefaultExecution'](()=>_0x486a81([_0x5a53d1],_0x8efeef,_0x1b59f5));}});for(const _0x850b1b of _0x3ac038){let _0x47bc21=null,_0x46fb35=_0x850b1b['start'],_0x53665a=_0x850b1b[_0x4103('0x9a')];for(const {suggestion:_0x1c7cdc,meta:_0x27e1af}of this[_0x4103('0x2f')](_0x850b1b,_0x4103('0x5'))){if(!_0x27e1af[_0x4103('0x98')])continue;if(_0x1c7cdc[_0x4103('0x79')]!=_0x542cf2)continue;if(!Gt(_0x1c7cdc,_0x1b59f5))continue;const _0x14e395=_0x1c7cdc[_0x4103('0x114')]();if(_0x14e395[_0x4103('0x85')](_0x850b1b,!0x0))return null;_0x46fb35=_0x46fb35['isBefore'](_0x14e395[_0x4103('0x16e')])?_0x46fb35:_0x14e395[_0x4103('0x16e')],_0x53665a=_0x53665a[_0x4103('0x7d')](_0x14e395[_0x4103('0x9a')])?_0x53665a:_0x14e395['end'],_0x47bc21?_0x14e395[_0x4103('0x16e')][_0x4103('0x108')](_0x47bc21[_0x4103('0x114')]()['start'])?(_0x47bc21[_0x4103('0x160')](),_0x47bc21=_0x1c7cdc):_0x1c7cdc[_0x4103('0x160')]():_0x47bc21=_0x1c7cdc;}const _0x23c854=this['_model'][_0x4103('0xcc')](_0x46fb35,_0x53665a);if(_0x47bc21)this[_0x4103('0x5a')](_0x47bc21,_0x23c854);else{const _0x10320e=_0x5df0ee(),_0x4d9d6e=_0x2af79d['id'];this[_0x4103('0x5e')]({'id':_0x10320e,'type':_0x4103('0x67')+_0x542cf2,'data':_0x8efeef,'createdAt':new Date(),'authorId':_0x4d9d6e,'attributes':_0x1b59f5}),this[_0x4103('0x16a')](_0x4103('0x67')+_0x542cf2,_0x10320e,_0x4d9d6e,_0x23c854);}}return null;}[_0x4103('0xf2')](_0x4ba2c7,_0x31543e,_0xc44f30=[],_0x1b1586=null,_0x54ebeb={}){_0x31543e['formatGroupId']||(_0x31543e['formatGroupId']=_0x31543e[_0x4103('0x112')]),_0x31543e[_0x4103('0x13f')]=_0x4ba2c7['is']('range'),_0x1b1586=_0x1b1586||Et(_0x31543e);const _0x2d8f5a=_0xc44f30[_0x4103('0xe5')](_0x550de9=>Ut(_0x550de9,this['_model'])),_0x33b280=_0x4ba2c7['is'](_0x4103('0x135'))?_0x4ba2c7:Ut(_0x4ba2c7,this[_0x4103('0x15f')]);if(_0x4103('0xd2')===this['_trackFormatChanges']){const _0x311c9b=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x1b1586,'accept');return this[_0x4103('0x74')](()=>_0x311c9b([_0x33b280],_0x31543e,_0x54ebeb)),null;}_0x2d8f5a[_0x4103('0x5b')](_0x33b280);let _0x3da0d0=!0x0;for(const _0x554460 of _0x2d8f5a)if(!this[_0x4103('0x10')](_0x554460)){_0x3da0d0=!0x1;break;}if(_0x3da0d0&&'always'!==this[_0x4103('0xd6')]){const _0x5ddcde=this[_0x4103('0x171')][_0x4103('0x14')]('formatBlock',_0x1b1586,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x5ddcde([_0x33b280],_0x31543e,_0x54ebeb)),null;}let _0x508389=null,_0x28a822=_0x33b280[_0x4103('0x16e')],_0x393a97=_0x33b280[_0x4103('0x9a')];for(const {suggestion:_0x4e79c7,meta:_0x12c971}of this[_0x4103('0x2f')](_0x33b280,_0x4103('0x13b'))){if(!_0x12c971[_0x4103('0x98')])continue;if(_0x12c971['isNextTo']||_0x12c971[_0x4103('0x9c')]||_0x12c971[_0x4103('0x165')])continue;if(_0x4e79c7['data'][_0x4103('0xff')]!=_0x31543e[_0x4103('0xff')])continue;if(!Gt(_0x4e79c7,_0x54ebeb))continue;const _0x2cf64e=_0x4e79c7[_0x4103('0x114')]();if(_0x4e79c7[_0x4103('0x79')]==_0x1b1586){if(_0x2cf64e['containsRange'](_0x33b280,!0x0))return null;_0x28a822=_0x28a822[_0x4103('0x108')](_0x2cf64e[_0x4103('0x16e')])?_0x28a822:_0x2cf64e[_0x4103('0x16e')],_0x393a97=_0x393a97[_0x4103('0x7d')](_0x2cf64e[_0x4103('0x9a')])?_0x393a97:_0x2cf64e[_0x4103('0x9a')],_0x508389?_0x2cf64e['start'][_0x4103('0x108')](_0x508389[_0x4103('0x114')]()[_0x4103('0x16e')])?(_0x508389[_0x4103('0x160')](),_0x508389=_0x4e79c7):_0x4e79c7[_0x4103('0x160')]():_0x508389=_0x4e79c7;}else{const _0x3f316d=_0x33b280[_0x4103('0x47')](_0x2cf64e);this[_0x4103('0xbf')](_0x4e79c7,_0x3f316d);}}const _0x1fab90=this[_0x4103('0xee')]['plugins'][_0x4103('0x129')](_0x4103('0x130'))['me'],_0x3f044f=_0x5df0ee(),_0x4c17fb=_0x1fab90['id'];if(_0x508389)return this[_0x4103('0x5a')](_0x508389,this[_0x4103('0x15f')]['createRange'](_0x28a822,_0x393a97)),_0x508389;{const _0x313bb7=this[_0x4103('0x5e')]({'id':_0x3f044f,'type':_0x4103('0x45')+_0x1b1586,'data':_0x31543e,'createdAt':new Date(),'authorId':_0x4c17fb,'attributes':_0x54ebeb});return this[_0x4103('0x16a')]('formatBlock:'+_0x1b1586,_0x3f044f,_0x4c17fb,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x28a822,_0x393a97)),_0x313bb7;}}[_0x4103('0xdd')](_0xf7a675,_0x2a3f09,_0xf08e22=[],_0x18a3f4=null,_0x3c39d7={}){_0x2a3f09['formatGroupId']||(_0x2a3f09[_0x4103('0xff')]=_0x2a3f09[_0x4103('0x112')]);const _0x2b20ff=_0xf7a675[0x0];_0x2a3f09['multipleBlocks']=_0x2b20ff['is'](_0x4103('0x135')),_0x18a3f4=_0x18a3f4||Et(_0x2a3f09);const _0x4c3d3f=_0xf08e22['map'](_0x1faefb=>Ut(_0x1faefb,this['_model'])),_0x167e1d=_0x2b20ff['is'](_0x4103('0x135'))?_0xf7a675:_0xf7a675[_0x4103('0xe5')](_0x568775=>Ut(_0x568775,this[_0x4103('0x15f')]));if(_0x4103('0xd2')===this[_0x4103('0xd6')]){const _0x1e0b61=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x18a3f4,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x1e0b61(_0x167e1d,_0x2a3f09,_0x3c39d7)),null;}_0x4c3d3f['push'](..._0x167e1d);let _0x4f971d=!0x0;for(const _0x5cddad of _0x4c3d3f)if(!this[_0x4103('0x10')](_0x5cddad)){_0x4f971d=!0x1;break;}if(_0x4f971d&&_0x4103('0x17a')!==this[_0x4103('0xd6')]){const _0x2ebfa9=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x18a3f4,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x2ebfa9(_0x167e1d,_0x2a3f09,_0x3c39d7)),null;}const _0x20adf8=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'];for(const _0x4f5dfc of this[_0x4103('0x101')]()){if(_0x4f5dfc['author']['id']!=_0x20adf8['id'])continue;if(_0x4103('0x13b')!=_0x4f5dfc[_0x4103('0x24')]||_0x4f5dfc[_0x4103('0x137')][_0x4103('0xff')]!=_0x2a3f09[_0x4103('0xff')])continue;if(!Gt(_0x4f5dfc,_0x3c39d7))continue;const _0x3793d6=_0x4f5dfc[_0x4103('0x79')]==_0x18a3f4;for(let _0x2c53ca=0x0;_0x2c53ca<_0x167e1d[_0x4103('0xb2')];_0x2c53ca++){const _0x3add4c=_0x167e1d[_0x2c53ca];for(const _0x5ecab5 of _0x4f5dfc[_0x4103('0x73')]()){const _0x19156e=_0x5ecab5[_0x4103('0x16')]();if(_0x3add4c[_0x4103('0x32')](_0x19156e)){_0x3793d6?(_0x167e1d['splice'](_0x2c53ca,0x1),_0x2c53ca--):_0x4f5dfc[_0x4103('0x46')](_0x5ecab5[_0x4103('0xb')]);break;}}}}if(0x0==_0x167e1d[_0x4103('0xb2')])return null;const _0xf54d99=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x18a3f4,_0x4103('0x11d'));for(const _0x16b185 of this[_0x4103('0x101')]())if(_0x16b185['author']['id']==_0x20adf8['id']&&_0x4103('0x13b')==_0x16b185[_0x4103('0x24')]&&_0x16b185['data']['formatGroupId']==_0x2a3f09[_0x4103('0xff')]&&_0x16b185[_0x4103('0x79')]==_0x18a3f4&&Gt(_0x16b185,_0x3c39d7)&&(_0xf54d99(_0x16b185['getRanges'](),_0x167e1d)||_0xf54d99(_0x167e1d,_0x16b185[_0x4103('0x13c')]()))){for(const _0x40af32 of _0x167e1d)_0x16b185[_0x4103('0x121')](_0x40af32);return _0x16b185;}const _0x2f3d5f=_0x5df0ee(),_0x4134cf=_0x20adf8['id'],_0x150e82=_0x4103('0x45')+_0x18a3f4,_0x17604d=this['_setSuggestionData']({'id':_0x2f3d5f,'type':_0x150e82,'data':_0x2a3f09,'createdAt':new Date(),'authorId':_0x4134cf,'attributes':_0x3c39d7});for(const _0x18684d of _0x167e1d)this[_0x4103('0x16a')](_0x150e82,_0x2f3d5f,_0x4134cf,_0x18684d,_0xdfa14c['getMultiRangeId']());return _0x17604d;}[_0x4103('0x158')](_0x51a6f2,_0x284e5e=null,_0x5393={}){if(_0x51a6f2[_0x4103('0xfd')])return null;const _0x52ab3a=this['editor'][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'],_0x1233e6=new _0x1394f0(_0x51a6f2[_0x4103('0x16e')],_0x51a6f2[_0x4103('0x9a')]);for(const {suggestion:_0x4dac91,meta:_0x1af9b0}of this[_0x4103('0x2f')](_0x1233e6,'insertion'))if(_0x1af9b0[_0x4103('0x98')]&&!_0x1af9b0[_0x4103('0x95')]){if(_0x4dac91[_0x4103('0xba')]){const _0x4f4f1e=_0x4dac91[_0x4103('0x13c')]()[_0x4103('0x6e')](_0x1d4cdc=>_0x4103('0x141')!=_0x1d4cdc[_0x4103('0x27')][_0x4103('0x31')]);_0x4f4f1e[_0x4103('0xe')](_0x57781a=>_0x1233e6[_0x4103('0x85')](_0x57781a,!0x0))&&_0x4dac91[_0x4103('0x134')]();if(_0x4f4f1e[_0x4103('0xa2')](_0x48786f=>_0x48786f[_0x4103('0x85')](_0x1233e6,!0x0))){const _0x252ed2=this[_0x4103('0x171')][_0x4103('0x14')]('deletion',_0x284e5e,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x252ed2([_0x1233e6],null,_0x5393)),null;}}else{const _0x285b3b=_0x1233e6['getIntersection'](_0x4dac91[_0x4103('0x114')]());null!==_0x285b3b&&_0x4dac91[_0x4103('0xed')]([_0x285b3b],null,_0x5393);}}if(_0x1233e6['detach'](),_0x1233e6['isCollapsed']||_0x4103('0x141')==_0x1233e6[_0x4103('0x27')][_0x4103('0x31')])return null;let _0x3e52c4=null,_0x42c4bb=_0x1233e6[_0x4103('0x16e')],_0x16990e=_0x1233e6[_0x4103('0x9a')];const _0x393905=this[_0x4103('0x2f')](_0x1233e6,_0x4103('0x127'));for(const {suggestion:_0x47b8ac,meta:_0x503f37}of _0x393905){const _0x1d52cb=this[_0x4103('0x15f')][_0x4103('0xcc')](_0x42c4bb,_0x16990e);if(_0x503f37[_0x4103('0x98')]&&(this[_0x4103('0x93')]||!_0x503f37[_0x4103('0x9c')]&&!_0x503f37[_0x4103('0x165')])){if(_0x47b8ac[_0x4103('0xba')]){if(!Gt(_0x47b8ac,_0x5393))continue;let _0x552363=!0x0;for(const _0x33c2fe of _0x47b8ac[_0x4103('0x13c')]()){if(_0x33c2fe[_0x4103('0x85')](_0x1d52cb,!0x0))return _0x47b8ac;_0x1d52cb['containsRange'](_0x33c2fe)||(_0x552363=!0x1);}_0x552363&&_0x47b8ac[_0x4103('0x134')]();}else{const _0x1b3a05=_0x47b8ac[_0x4103('0x114')]();if(_0x1b3a05[_0x4103('0x85')](_0x1d52cb,!0x0))return _0x47b8ac;if(!Gt(_0x47b8ac,_0x5393)){_0x1d52cb[_0x4103('0x85')](_0x1b3a05)?_0x47b8ac[_0x4103('0x160')]():_0x1b3a05[_0x4103('0x90')](_0x42c4bb)?_0x42c4bb=_0x1b3a05[_0x4103('0x9a')]:_0x1b3a05[_0x4103('0x90')](_0x16990e)&&(_0x16990e=_0x1b3a05[_0x4103('0x16e')]);continue;}_0x42c4bb=_0x42c4bb['isBefore'](_0x1b3a05['start'])?_0x42c4bb:_0x1b3a05[_0x4103('0x16e')],_0x16990e=_0x16990e['isAfter'](_0x1b3a05[_0x4103('0x9a')])?_0x16990e:_0x1b3a05[_0x4103('0x9a')],_0x5393=Object[_0x4103('0xf1')]({},_0x47b8ac['attributes']),_0x3e52c4?_0x1b3a05[_0x4103('0x16e')][_0x4103('0x108')](_0x3e52c4[_0x4103('0x114')]()[_0x4103('0x16e')])?(_0x3e52c4[_0x4103('0x160')](),_0x3e52c4=_0x47b8ac):_0x47b8ac[_0x4103('0x160')]():_0x3e52c4=_0x47b8ac;}}}if(_0x3e52c4)return this['_setSuggestionRange'](_0x3e52c4,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x42c4bb,_0x16990e)),_0x3e52c4;{const _0x4f7a03=_0x5df0ee(),_0x43889d=this[_0x4103('0x15f')][_0x4103('0xcc')](_0x42c4bb,_0x16990e),_0x34c4cd=_0x52ab3a['id'],_0x4b53df=_0x284e5e?_0x4103('0xe0')+_0x284e5e:_0x4103('0x127'),_0x29b0c1=this[_0x4103('0x5e')]({'id':_0x4f7a03,'type':_0x4b53df,'createdAt':new Date(),'authorId':_0x34c4cd,'attributes':_0x5393});return this['_addSuggestionMarker'](_0x4b53df,_0x4f7a03,_0x34c4cd,_0x43889d),_0x29b0c1;}}[_0x4103('0xa0')](_0x5012bd,_0x35bfbd=_0x4103('0x44'),_0x24a490={}){const _0x9211f7=this['editor'][_0x4103('0x8b')][_0x4103('0x129')]('Users')['me'],_0x295fc3=_0x5012bd[_0x4103('0xe5')](_0x32bff9=>new _0x1394f0(_0x32bff9[_0x4103('0x16e')],_0x32bff9['end'])),_0x4c17a2=new Set();for(const {suggestion:_0x59ca1a,meta:_0x26a540}of this[_0x4103('0x2f')](_0x295fc3,_0x4103('0x83')))_0x26a540[_0x4103('0x98')]&&!_0x26a540[_0x4103('0x95')]&&_0x4c17a2[_0x4103('0x10b')](_0x59ca1a);for(const _0x2b114b of _0x4c17a2)if(_0x2b114b[_0x4103('0xba')]){const _0x217b3b=_0x2b114b[_0x4103('0x13c')]();(!_0x2b114b[_0x4103('0x3a')]||!_0x2b114b[_0x4103('0x3a')][_0x4103('0xaf')])&&(_0x217b3b['every'](_0xc627c3=>_0x295fc3[_0x4103('0xa2')](_0x5da7bc=>_0x5da7bc['containsRange'](_0xc627c3,!0x0)))&&_0x2b114b[_0x4103('0x134')]());if(_0x295fc3[_0x4103('0xe')](_0x548b81=>_0x217b3b[_0x4103('0xa2')](_0x794f8a=>_0x794f8a[_0x4103('0x85')](_0x548b81,!0x0)))){const _0x4e3166=this['_suggestionFactory'][_0x4103('0x14')](_0x4103('0x127'),_0x35bfbd,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x4e3166(_0x5012bd,null,_0x24a490)),null;}}else{const _0x2c53d8=_0x2b114b[_0x4103('0x114')]();_0x295fc3['some'](_0x3c74ab=>_0x3c74ab[_0x4103('0x85')](_0x2c53d8,!0x0))&&_0x2b114b[_0x4103('0x134')]();if(_0x295fc3['every'](_0x24ab36=>_0x2c53d8['containsRange'](_0x24ab36,!0x0))){const _0x17db71=this['_suggestionFactory'][_0x4103('0x14')](_0x4103('0x127'),_0x35bfbd,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x17db71(_0x295fc3,null,_0x24a490)),null;}}const _0x558125=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x127'),_0x35bfbd,_0x4103('0x11d'));let _0x4cce21=null;for(const _0x2b0dd8 of this[_0x4103('0x101')]())if(_0x2b0dd8['author']['id']==_0x9211f7['id']&&_0x2b0dd8['isInContent']&&_0x4103('0x127')==_0x2b0dd8[_0x4103('0x24')]&&_0x2b0dd8['subType']==_0x35bfbd&&Gt(_0x2b0dd8,_0x24a490)&&(_0x558125(_0x2b0dd8[_0x4103('0x13c')](),_0x295fc3)||_0x558125(_0x295fc3,_0x2b0dd8[_0x4103('0x13c')]()))){if(_0x4cce21){if(_0x2b0dd8[_0x4103('0x139')]&&_0x2b0dd8[_0x4103('0x139')]['length'])continue;for(const _0x7ca7e3 of _0x2b0dd8['getRanges']())_0x4cce21[_0x4103('0x1b')](_0x7ca7e3)||_0x4cce21['addRange'](_0x7ca7e3);_0x2b0dd8[_0x4103('0x160')]();}else{_0x4cce21=_0x2b0dd8;for(const _0x38f739 of _0x295fc3)_0x2b0dd8[_0x4103('0x1b')](_0x38f739)||_0x2b0dd8['addRange'](_0x38f739);}}if(_0x4cce21)return _0x4cce21;_0x4c17a2[_0x4103('0x145')]();for(const {suggestion:_0x40e83f,meta:_0x37d5ec}of this[_0x4103('0x2f')](_0x295fc3,_0x4103('0x127')))_0x37d5ec[_0x4103('0x98')]&&(this[_0x4103('0x93')]||!_0x37d5ec[_0x4103('0x9c')]&&!_0x37d5ec[_0x4103('0x165')])&&Gt(_0x40e83f,_0x24a490)&&_0x4c17a2[_0x4103('0x10b')](_0x40e83f);for(const _0x2263f8 of _0x4c17a2){const _0x34dd30=_0x2263f8[_0x4103('0x13c')]();if(!_0x24a490||!_0x24a490[_0x4103('0xaf')]){if(_0x295fc3[_0x4103('0xe')](_0x433a1e=>_0x34dd30['some'](_0x4161e1=>_0x4161e1[_0x4103('0x85')](_0x433a1e,!0x0))))return _0x2263f8;}(!_0x2263f8[_0x4103('0x3a')]||!_0x2263f8['attributes']['skipNestingCheck'])&&(_0x34dd30[_0x4103('0xe')](_0x33d1f8=>_0x295fc3[_0x4103('0xa2')](_0x3355bc=>_0x3355bc[_0x4103('0x85')](_0x33d1f8,!0x0)))&&_0x2263f8[_0x4103('0x134')]());}const _0xaf7d9a=_0x5df0ee(),_0x463b0a=_0x9211f7['id'],_0xeee2c7=_0x4103('0xe0')+_0x35bfbd,_0x4e767c=this[_0x4103('0x5e')]({'id':_0xaf7d9a,'type':_0xeee2c7,'createdAt':new Date(),'authorId':_0x463b0a,'attributes':_0x24a490});for(const _0x892ee8 of _0x295fc3)_0x892ee8[_0x4103('0xa5')](),_0x892ee8[_0x4103('0xfd')]||'$graveyard'==_0x892ee8[_0x4103('0x27')][_0x4103('0x31')]||this[_0x4103('0x16a')](_0xeee2c7,_0xaf7d9a,_0x463b0a,_0x892ee8,_0xdfa14c['getMultiRangeId']());return _0x4e767c;}['markAttributeChange'](_0x1df3db,_0x40fe14,_0x162c3a,_0x9a3454,_0x79558f){if(_0x1df3db[_0x4103('0xfd')])return[];if(_0x4103('0xd2')===this[_0x4103('0xd6')])return[];const _0x545cb6=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me']['id'],_0x3ea113=Array[_0x4103('0x4a')](this[_0x4103('0x116')]['values']())[_0x4103('0x6e')](_0x5cdda8=>'attribute'==_0x5cdda8[_0x4103('0x24')]&&_0x5cdda8[_0x4103('0x137')][_0x4103('0x163')]==_0x40fe14&&_0x5cdda8['isIntersectingWithRange'](_0x1df3db));if(_0x4103('0xb5')===this[_0x4103('0xd6')]){const _0x55af15=this['_findSuggestions'](_0x1df3db,_0x4103('0x83'))['filter'](({meta:_0x3644be})=>_0x3644be[_0x4103('0x98')]&&!_0x3644be['isInsideObject']&&!_0x3644be[_0x4103('0x95')])[_0x4103('0xe5')](({suggestion:_0x2a1065})=>_0x2a1065);_0x3ea113[_0x4103('0x125')](..._0x55af15);}const _0x3d20c0=new Map([[_0x1df3db,_0x162c3a]]);for(const _0x2ef94 of _0x3ea113){const _0x1a02d6='attribute'==_0x2ef94[_0x4103('0x24')]?_0x2ef94[_0x4103('0x137')][_0x4103('0x161')]:void 0x0,_0x49c016=_0x2ef94[_0x4103('0x114')](),_0x5afb0b=Array[_0x4103('0x4a')](_0x3d20c0[_0x4103('0x17c')]())[_0x4103('0x120')](_0x42b7db=>_0x42b7db[_0x4103('0x13d')](_0x49c016));if(!_0x5afb0b)continue;const _0x22bac6=_0x5afb0b[_0x4103('0x99')](_0x49c016);this[_0x4103('0x140')](_0x40fe14)&&_0x4103('0x83')==_0x2ef94['type']&&0x0!=_0x22bac6[_0x4103('0xb2')]||(_0x3d20c0[_0x4103('0xf3')](_0x5afb0b),_0x22bac6[_0x4103('0xda')](_0x4598bc=>{_0x3d20c0['set'](_0x4598bc,_0x162c3a);}),_0x4103('0x83')!=_0x2ef94[_0x4103('0x24')]&&_0x1a02d6!=_0x9a3454&&_0x3d20c0[_0x4103('0x6')](_0x5afb0b['getIntersection'](_0x49c016),_0x1a02d6));}const _0x5f0c80=[];for(const [_0x1a16fa,_0x57e478]of _0x3d20c0){const _0x33f9f2=_0x5df0ee(),_0x4808e2={'key':_0x40fe14,'oldValue':_0x57e478,'newValue':_0x9a3454};_0x40fe14[_0x4103('0xb2')]>0x25&&console[_0x4103('0x104')]('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x40fe14});const _0xa9d5f3=(_0x4103('0x61')+(_0x40fe14+'|'+Et({'newValue':_0x9a3454})))[_0x4103('0x86')](0x0,0x3c),_0x8c6f06=this[_0x4103('0x5e')]({'id':_0x33f9f2,'type':_0xa9d5f3,'data':_0x4808e2,'createdAt':new Date(),'authorId':_0x545cb6,'attributes':_0x79558f});_0x5f0c80[_0x4103('0x5b')](_0x8c6f06),this['_addSuggestionMarker'](_0xa9d5f3,_0x33f9f2,_0x545cb6,_0x1a16fa);}return _0x5f0c80;}[_0x4103('0x4b')](_0x3d5add){this[_0x4103('0xca')][_0x4103('0x10b')](_0x3d5add);}[_0x4103('0x174')](_0x1a0096){this[_0x4103('0x10d')][_0x4103('0x10b')](_0x1a0096);}['_enableDefaultAttributesIntegration'](_0x401bcb,_0x3c5f26=[],_0x5aa42d=[]){this['enableCommand'](_0x401bcb,(_0x27f3a9,..._0x151067)=>{this[_0x4103('0xd5')](()=>{_0x27f3a9(..._0x151067);});});for(const _0x4b49b5 of _0x3c5f26)this[_0x4103('0x174')](_0x4b49b5);for(const _0x356774 of _0x5aa42d)this[_0x4103('0x4b')](_0x356774);}[_0x4103('0x5a')](_0x4f2b27,_0xffe642){const _0x320b02=_0x4f2b27['getFirstMarker']();this[_0x4103('0x15f')][_0x4103('0xb0')](_0x171e93=>{_0x171e93['updateMarker'](_0x320b02,{'range':_0xffe642});});}[_0x4103('0x48')](_0x157e17){const _0x8a0f4a=_0x157e17['id'],_0x3c21bb=this['editor']['config'][_0x4103('0x129')]('collaboration.channelId');this[_0x4103('0x7')][_0x4103('0x35')](_0x8a0f4a)||this[_0x4103('0x7')]['addCommentThread']({'channelId':_0x3c21bb,'threadId':_0x8a0f4a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1a6749=this[_0x4103('0x7')][_0x4103('0xef')](_0x8a0f4a);_0x1a6749[_0x4103('0xae')](_0x4103('0x151')),_0x1a6749[_0x4103('0x151')]=!0x1,_0x157e17[_0x4103('0x139')]=_0x1a6749;}['_checkSuggestionCorrectness'](_0x2afb9e,_0x4d788f,_0x3ea824,_0x526791){if(_0x2afb9e[_0x4103('0x24')]!=_0x4d788f||_0x2afb9e[_0x4103('0x79')]!=_0x3ea824||_0x2afb9e[_0x4103('0x51')]['id']!=_0x526791)throw this[_0x4103('0xee')][_0x4103('0xdb')]('track-changes-suggestion-data-mismatch'),new _0x207a25(_0x4103('0xfa'),this);}[_0x4103('0xbf')](_0x37a03c,_0x4c9feb){const _0x354e61=_0x37a03c[_0x4103('0x114')]();if(_0x4c9feb[_0x4103('0x32')](_0x354e61))_0x37a03c['removeMarkers']();else{if(_0x354e61[_0x4103('0x85')](_0x4c9feb)){const _0x441df8=this[_0x4103('0x15f')][_0x4103('0xa4')](_0x4c9feb[_0x4103('0x16e')]['nodeBefore'],_0x4103('0x9a'));this[_0x4103('0x5a')](_0x37a03c,this[_0x4103('0x15f')]['createRange'](_0x354e61[_0x4103('0x16e')],_0x441df8));const _0x346896=_0x5df0ee(),_0x4f4310=_0x37a03c[_0x4103('0x51')]['id'],_0x346530=_0x37a03c[_0x4103('0x24')]+':'+_0x37a03c['subType'];this[_0x4103('0x5e')]({'id':_0x346896,'type':_0x346530,'createdAt':new Date(),'authorId':_0x4f4310,'data':_0x37a03c[_0x4103('0x137')],'attributes':_0x37a03c[_0x4103('0x3a')]});const _0x2a2698=this[_0x4103('0x15f')]['createPositionAt'](_0x4c9feb[_0x4103('0x9a')][_0x4103('0x2a')],_0x4103('0x92')),_0x430dcf=this['_model'][_0x4103('0xcc')](_0x2a2698,_0x354e61[_0x4103('0x9a')]);this[_0x4103('0x16a')](_0x346530,_0x346896,_0x4f4310,_0x430dcf);}else{if(_0x354e61[_0x4103('0x90')](_0x4c9feb[_0x4103('0x16e')])){const _0x2236bb=this[_0x4103('0x15f')][_0x4103('0xa4')](_0x4c9feb['start'][_0x4103('0x14e')],_0x4103('0x9a'));this[_0x4103('0x5a')](_0x37a03c,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x354e61[_0x4103('0x16e')],_0x2236bb));}else{const _0x3447af=this[_0x4103('0x15f')][_0x4103('0xa4')](_0x4c9feb['end']['parent'],_0x4103('0x92'));this[_0x4103('0x5a')](_0x37a03c,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x3447af,_0x354e61['end']));}}}}[_0x4103('0x10')](_0x12ed41){for(const {suggestion:_0x3f9fc7,meta:_0x28ff80}of this['_findSuggestions'](_0x12ed41,_0x4103('0x83'))){if(!_0x28ff80['isOwn'])continue;const _0x1d63f0=_0x3f9fc7[_0x4103('0x13c')]();for(const _0x50c771 of _0x1d63f0)if(!_0x12ed41['getDifference'](_0x50c771)[_0x4103('0xb2')])return!0x0;}return!0x1;}[_0x4103('0x110')](_0x250a37){const _0x3de47c=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))[_0x4103('0x3')](_0x250a37);if(!_0x3de47c)throw new _0x207a25(_0x4103('0x6d'),this);return _0x3de47c;}[_0x4103('0x17b')](_0x58ff24){const _0x366e03=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')]('Users'),_0x583f79=_0x536ea2(_0x4103('0x69')+_0x58ff24),_0x40b591=_0x366e03[_0x4103('0x3')](_0x583f79);return _0x40b591||_0x366e03['addUser']({'id':_0x583f79,'name':_0x58ff24});}[_0x4103('0x2e')](_0x2530c1,_0x1b49f9,_0x2640cc,_0x131c90,_0x345e87){const _0x5d2cfa=this[_0x4103('0x110')](_0x131c90),_0x491ff0=this[_0x4103('0x171')][_0x4103('0xc5')](_0x2530c1,_0x1b49f9,_0x2640cc,_0x5d2cfa,_0x345e87,_0x5f0284=>this[_0x4103('0x25')](_0x2640cc,{'attributes':_0x5f0284}));return this[_0x4103('0x17d')](_0x491ff0,_0x4103('0x122'),()=>{this[_0x4103('0x25')](_0x2640cc,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x491ff0,'discard',()=>{this['_updateSuggestionData'](_0x2640cc,{'state':_0x4103('0xb7')});},{'priority':_0x4103('0xa')}),this[_0x4103('0x116')][_0x4103('0x6')](_0x2640cc,_0x491ff0),this['_suggestionState'][_0x4103('0x6')](_0x491ff0,_0x4103('0x14d')),_0x491ff0;}[_0x4103('0x12b')](_0x476de6){const _0x540501=_0x476de6[_0x4103('0x33')](':');return{'group':_0x540501[0x0],'type':_0x540501[0x1],'subType':_0x540501[_0x4103('0xb2')]>=0x5?_0x540501[0x2]:null,'id':_0x540501[_0x4103('0xb2')]<0x5?_0x540501[0x2]:_0x540501[0x3],'authorId':_0x540501[_0x4103('0xb2')]<0x5?_0x540501[0x3]:_0x540501[0x4],'markerCount':0x6==_0x540501['length']?_0x540501[0x5]:null};}[_0x4103('0x133')](_0x444060,_0x26e131,_0x180a57){const _0x436e36=_0x444060[_0x4103('0x114')](),_0xc3cb64=_0x436e36[_0x4103('0x16e')],_0x3f3473=_0x436e36[_0x4103('0x9a')];this['_setSuggestionRange'](_0x444060,this[_0x4103('0x15f')][_0x4103('0xcc')](_0xc3cb64,_0x26e131));const _0x5eaafc=_0x5df0ee(),_0x23698a=_0x444060['creator']['id'],_0x521222=_0x444060[_0x4103('0x24')]+(_0x444060[_0x4103('0x79')]?':'+_0x444060[_0x4103('0x79')]:'');this[_0x4103('0x5e')]({'id':_0x5eaafc,'type':_0x521222,'createdAt':new Date(),'authorId':_0x23698a,'originalSuggestionId':_0x444060['id'],'attributes':_0x444060['attributes'],'data':_0x444060[_0x4103('0x137')]});const _0x24c57f=Pt(_0x444060);('formatBlock'==_0x444060[_0x4103('0x24')]||_0x24c57f&&this[_0x4103('0x140')](_0x24c57f))&&(_0x180a57=this[_0x4103('0x15f')][_0x4103('0x19')](_0x180a57[_0x4103('0x2a')])),this[_0x4103('0x16a')](_0x521222,_0x5eaafc,_0x23698a,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x180a57,_0x3f3473));}[_0x4103('0x2f')](_0x22215d,_0x229dd5=null){const _0x429159=[],_0x39bc30=this['editor'][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'];Array[_0x4103('0xac')](_0x22215d)||(_0x22215d=[_0x22215d]);for(const _0x5cee93 of this[_0x4103('0x101')]()){if(!_0x5cee93[_0x4103('0x81')])continue;if(_0x229dd5&&_0x5cee93[_0x4103('0x24')]!=_0x229dd5)continue;let _0x7e07bb=!0x1;for(const _0x598efe of _0x5cee93[_0x4103('0x13c')]()){for(const _0x1f0da9 of _0x22215d){const _0x1974f1=_0x1f0da9[_0x4103('0x16e')][_0x4103('0x32')](_0x598efe[_0x4103('0x9a')])||_0x1f0da9[_0x4103('0x9a')]['isEqual'](_0x598efe[_0x4103('0x16e')]);if(_0x1974f1||_0x1f0da9[_0x4103('0x47')](_0x598efe)){const _0x33851e=_0x1f0da9[_0x4103('0x85')](_0x598efe)&&Bt(this[_0x4103('0x15f')][_0x4103('0x16b')],_0x598efe[_0x4103('0x16e')],_0x1f0da9),_0x775a5b=_0x598efe['containsRange'](_0x1f0da9)&&Bt(this[_0x4103('0x15f')][_0x4103('0x16b')],_0x1f0da9['start'],_0x598efe);_0x429159['push']({'suggestion':_0x5cee93,'meta':{'isOwn':_0x39bc30==_0x5cee93[_0x4103('0xd9')],'isNextTo':_0x1974f1,'isInsideObject':_0x33851e,'containsRangeInObject':_0x775a5b}}),_0x7e07bb=!0x0;break;}}if(_0x7e07bb)break;}}return _0x429159;}[_0x4103('0x16a')](_0x3eee2f,_0x40eb5b,_0x26bb2c,_0x14b8ef,_0x5ef735){this[_0x4103('0x15f')][_0x4103('0xb0')](_0x311e10=>{let _0xd00fe2=_0x4103('0xbe')+_0x3eee2f+':'+_0x40eb5b+':'+_0x26bb2c;_0x5ef735&&(_0xd00fe2=_0xd00fe2+':'+_0x5ef735),_0x311e10[_0x4103('0x15e')](_0xd00fe2,{'range':_0x14b8ef,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x7018af){const _0x33e9d0=_0x7018af['previous'],_0x4d1c68=_0x7018af[_0x4103('0x169')];_0x7018af[_0x4103('0x146')]=null,_0x7018af[_0x4103('0x169')]=null,null!=_0x33e9d0&&(_0x33e9d0[_0x4103('0x169')]=_0x4d1c68),null!=_0x4d1c68&&(_0x4d1c68[_0x4103('0x146')]=_0x33e9d0),_0x4103('0x166')==this['_suggestionState']['get'](_0x7018af)&&(this['_suggestionState'][_0x4103('0x6')](_0x7018af,_0x4103('0x106')),this['fire'](_0x4103('0x14f'),_0x7018af,_0x33e9d0,_0x4d1c68));}['_setSuggestionData'](_0x23b77d){const _0x345440=_0x23b77d['id'],_0x384a97=this[_0x4103('0x9d')](_0x23b77d);if(this['_adapter']&&this[_0x4103('0x131')]['addSuggestion']){const _0x56900f=this[_0x4103('0xee')]['plugins'][_0x4103('0x129')](_0x4103('0x168')),_0x32440c=_0x384a97[_0x4103('0x103')],_0x56afd3=_0x384a97[_0x4103('0x79')]?_0x384a97[_0x4103('0x24')]+':'+_0x384a97['subType']:_0x384a97[_0x4103('0x24')],_0x310e4c=this[_0x4103('0xee')][_0x4103('0x1c')],_0x45e881=_0x56900f[_0x4103('0x10b')](_0x1f5924(_0x310e4c,_0x4103('0x17e'))),_0x2ba69c={'id':_0x345440,'type':_0x56afd3,'hasComments':_0x32440c,'data':_0x23b77d[_0x4103('0x137')]||null,'originalSuggestionId':_0x23b77d['originalSuggestionId']||null,'attributes':_0x384a97['attributes']};this[_0x4103('0x131')][_0x4103('0x65')](_0x2ba69c)['then'](_0x2007ce=>{_0x384a97[_0x4103('0x13')]=!0x0,_0x56900f[_0x4103('0x34')](_0x45e881),_0x2007ce&&_0x2007ce[_0x4103('0x84')]&&(this[_0x4103('0x116')][_0x4103('0x129')](_0x345440)[_0x4103('0x84')]=_0x2007ce[_0x4103('0x84')]);})[_0x4103('0xe1')](_0x47f330=>{throw _0x4ac773(_0x4103('0x1f')),this[_0x4103('0xee')][_0x4103('0xa1')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x384a97['discard']();}),_0x384a97[_0x4103('0xc')](),this[_0x4103('0x116')][_0x4103('0xf3')](_0x384a97['id']),this[_0x4103('0x4c')]['delete'](_0x384a97),_0x47f330;});}return _0x384a97;}['_isBlockAttribute'](_0x362ccf){return this[_0x4103('0xca')][_0x4103('0x94')](_0x362ccf);}[_0x4103('0x25')](_0x1d7097,_0x15ccf6){const _0x2117f0=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')]('PendingActions'),_0x20eb1b=this[_0x4103('0x62')](_0x1d7097);if(this[_0x4103('0x131')]&&this[_0x4103('0x131')][_0x4103('0x2b')]){if(_0x20eb1b[_0x4103('0x13')]){const _0x43adb0=_0x2117f0[_0x4103('0x10b')](_0x1f5924(this[_0x4103('0xee')]['locale'],_0x4103('0x17e')));this[_0x4103('0x131')][_0x4103('0x2b')](_0x1d7097,_0x15ccf6)[_0x4103('0x11a')](()=>{_0x2117f0['remove'](_0x43adb0);});}else _0x20eb1b['on'](_0x4103('0x119'),()=>{this[_0x4103('0x25')](_0x1d7097,_0x15ccf6);});}}[_0x4103('0x9')](_0x555dac){if(!this['_adapter']||!this['_adapter'][_0x4103('0x62')])throw new _0x207a25('track-changes-adapter-missing-getsuggestion',this);return this[_0x4103('0x131')][_0x4103('0x62')](_0x555dac);}[_0x4103('0xf7')](_0x1789d1){const {id:_0x5db69b,type:_0x36ed57,subType:_0x4cf0e0,authorId:_0x5a55d1}=this[_0x4103('0x12b')](_0x1789d1),_0x4be9ee=this[_0x4103('0x116')][_0x4103('0x129')](_0x5db69b)||this[_0x4103('0x2e')](_0x36ed57,_0x4cf0e0,_0x5db69b,_0x5a55d1,{});switch(this[_0x4103('0x128')](_0x4be9ee,_0x36ed57,_0x4cf0e0,_0x5a55d1),this[_0x4103('0x4c')][_0x4103('0x129')](_0x4be9ee)){case'notReady':this[_0x4103('0x9')](_0x5db69b)['then'](_0x5c8afb=>{let _0x1268da=Promise['resolve']();_0x5c8afb[_0x4103('0x103')]&&(_0x1268da=this[_0x4103('0x7')][_0x4103('0xc2')]({'channelId':this['editor'][_0x4103('0x8')][_0x4103('0x129')](_0x4103('0x9b')),'threadId':_0x5db69b})),_0x1268da[_0x4103('0x11a')](()=>{this[_0x4103('0x9d')](_0x5c8afb)[_0x4103('0x13')]=!0x0;});}),this[_0x4103('0x4c')][_0x4103('0x6')](_0x4be9ee,_0x4103('0xb1'));break;case _0x4103('0x106'):this[_0x4103('0x25')](_0x5db69b,{'state':'open'});case'dataReady':this[_0x4103('0x4c')][_0x4103('0x6')](_0x4be9ee,_0x4103('0x166')),this[_0x4103('0x76')]('suggestionLoaded',_0x4be9ee);break;case'ready':this[_0x4103('0x76')]('suggestionChanged',_0x4be9ee);}return _0x4be9ee[_0x4103('0x12d')](_0x1789d1),_0x4be9ee;}[_0x4103('0xeb')](_0x10a65e){const _0x2a2e30=Array[_0x4103('0x4a')](_0x10a65e),_0x3cc5a4=_0x2a2e30['filter'](_0x726fd1=>_0x4103('0x13a')==_0x726fd1[_0x4103('0x24')]);this[_0x4103('0x10f')](_0x3cc5a4);const _0x1e823a=_0x2a2e30[_0x4103('0x6e')](_0x49c51b=>!_0x49c51b[_0x4103('0xba')]&&_0x4103('0x13a')!=_0x49c51b[_0x4103('0x24')]),_0x578841=this[_0x4103('0x101')]({'skipNotAttached':!0x0})[_0x4103('0x6e')](_0x56bdfb=>!_0x56bdfb[_0x4103('0xba')]&&_0x4103('0x13a')!=_0x56bdfb[_0x4103('0x24')]),_0xf61cce=_0x578841['filter'](_0x79d91f=>!_0x10a65e['has'](_0x79d91f)),_0x2fee43=new Map(_0x578841[_0x4103('0xe5')](_0x57caaf=>[_0x57caaf,this[_0x4103('0x171')]['getSuggestionCallback'](_0x57caaf[_0x4103('0x24')],_0x57caaf['subType'],_0x4103('0x42'))])),_0x56fe57=new Map(_0x578841[_0x4103('0xe5')](_0x41288f=>[_0x41288f,_0x41288f['getFirstRange']()])),_0x151451=new Set(),_0x56fcc6=new Set();for(let _0x682b1e=0x0;_0x682b1e<_0x1e823a['length'];_0x682b1e++)_0x4b6e6c(_0x1e823a[_0x682b1e],_0x1e823a,_0x682b1e+0x1);for(let _0x5892c2=0x0;_0x5892c2<_0x1e823a[_0x4103('0xb2')];_0x5892c2++)_0x4b6e6c(_0x1e823a[_0x5892c2],_0xf61cce,0x0);const _0x21ba2c=new Set();for(let _0x1e25f3=0x0;_0x1e25f3<_0x1e823a[_0x4103('0xb2')];_0x1e25f3++){const _0x3d0f4b=_0x1e823a[_0x1e25f3];!_0x56fcc6[_0x4103('0x94')](_0x3d0f4b)&&_0x3d0f4b[_0x4103('0x146')]&&(_0x21ba2c[_0x4103('0x10b')](_0x3d0f4b[_0x4103('0x146')]),_0x3d0f4b['previous'][_0x4103('0x169')]===_0x3d0f4b&&(_0x3d0f4b[_0x4103('0x146')][_0x4103('0x169')]=null),_0x3d0f4b[_0x4103('0x146')]=null),!_0x151451[_0x4103('0x94')](_0x3d0f4b)&&_0x3d0f4b[_0x4103('0x169')]&&(_0x21ba2c[_0x4103('0x10b')](_0x3d0f4b[_0x4103('0x169')]),_0x3d0f4b[_0x4103('0x169')][_0x4103('0x146')]===_0x3d0f4b&&(_0x3d0f4b[_0x4103('0x169')]['previous']=null),_0x3d0f4b[_0x4103('0x169')]=null);}function _0x4b6e6c(_0x5948a7,_0x57180f,_0x469f5e){for(let _0x252a38=_0x469f5e;_0x252a38<_0x57180f['length'];_0x252a38++){const _0x4ec60f=_0x5522f9(_0x5948a7,_0x57180f[_0x252a38]);_0x4ec60f&&(_0x4ec60f[0x0][_0x4103('0x169')]=_0x4ec60f[0x1],_0x4ec60f[0x1][_0x4103('0x146')]=_0x4ec60f[0x0],_0x151451['add'](_0x4ec60f[0x0]),_0x56fcc6[_0x4103('0x10b')](_0x4ec60f[0x1]));}}function _0x5522f9(_0x5c6384,_0x5ba068){if(_0x5c6384[_0x4103('0xd9')]['id']!==_0x5ba068['author']['id'])return null;const _0x108fe6=_0x2fee43[_0x4103('0x129')](_0x5c6384)(_0x5c6384,_0x5ba068,_0x56fe57[_0x4103('0x129')](_0x5c6384),_0x56fe57[_0x4103('0x129')](_0x5ba068));if(!_0x108fe6)return null;return _0x2fee43[_0x4103('0x129')](_0x5ba068)(_0x5c6384,_0x5ba068,_0x56fe57[_0x4103('0x129')](_0x5c6384),_0x56fe57['get'](_0x5ba068))?_0x108fe6[0x1][_0x4103('0x139')]&&_0x108fe6[0x1][_0x4103('0x139')]['length']?null:_0x108fe6:null;}_0x21ba2c[_0x4103('0xf8')]&&this['_refreshSuggestionsChain'](_0x21ba2c);}['_refreshAttributeSuggestionsChain'](_0x329a04){if(0x0==_0x329a04[_0x4103('0xb2')])return;const _0x2a69fb=this[_0x4103('0x101')]({'skipNotAttached':!0x0})['filter'](_0xc2e240=>_0x4103('0x13a')==_0xc2e240[_0x4103('0x24')]&&_0xc2e240[_0x4103('0x4')]),_0xfce426=[],_0x494532=new Map();for(const _0xae215b of _0x2a69fb){const _0x447462=_0x536ea2(_0xae215b[_0x4103('0x3a')]);_0x494532[_0x4103('0x94')](_0x447462)||(_0x494532[_0x4103('0x6')](_0x447462,_0xfce426[_0x4103('0xb2')]),_0xfce426[_0x4103('0x5b')]([]));const _0x5988c4=_0x494532[_0x4103('0x129')](_0x447462);_0xfce426[_0x5988c4][_0x4103('0x5b')](_0xae215b);}!function(){_0xfce426['sort']((_0x3b0a09,_0x473702)=>{const _0x1a1e20=_0x3b0a09[0x0]['createdAt'],_0x44237d=_0x473702[0x0]['createdAt'];return _0x1a1e20==_0x44237d?_0x3b0a09[0x0][_0x4103('0x3a')][_0x4103('0xd7')]<_0x473702[0x0][_0x4103('0x3a')][_0x4103('0xd7')]?-0x1:0x1:_0x1a1e20<_0x44237d?-0x1:0x1;});for(const _0x231090 of _0xfce426)_0x231090[_0x4103('0xa3')]((_0x21ada6,_0x398225)=>_0x21ada6['id']<_0x398225['id']?-0x1:0x1);}();for(let _0x5e7a03=0x0;_0x5e7a03<_0xfce426[_0x4103('0xb2')];_0x5e7a03++){if(0x0==_0xfce426[_0x5e7a03][_0x4103('0xb2')])continue;const _0x166fd4=[];for(let _0x1d9863=_0x5e7a03+0x1;_0x1d9863<_0xfce426[_0x4103('0xb2')];_0x1d9863++)0x0!=_0xfce426[_0x1d9863][_0x4103('0xb2')]&&_0x2b98f4(_0xfce426[_0x5e7a03],_0xfce426[_0x1d9863])&&_0x166fd4[_0x4103('0x5b')](_0x1d9863);for(const _0x46ef96 of _0x166fd4)_0xfce426[_0x5e7a03]=_0xfce426[_0x5e7a03][_0x4103('0xf4')](_0xfce426[_0x46ef96]),_0xfce426[_0x46ef96]=[];}for(const _0x10cd61 of _0xfce426)for(let _0x3b4a48=0x0;_0x3b4a48<_0x10cd61[_0x4103('0xb2')];_0x3b4a48++)_0x10cd61[_0x3b4a48]['next']=_0x10cd61[_0x3b4a48+0x1]||null;for(const _0x17b27b of _0xfce426)for(let _0x58de7e=0x0;_0x58de7e<_0x17b27b[_0x4103('0xb2')];_0x58de7e++)_0x17b27b[_0x58de7e][_0x4103('0x146')]=_0x17b27b[_0x58de7e-0x1]||null;function _0x2b98f4(_0x4e3969,_0x28701d){if(_0x4e3969[0x0][_0x4103('0xd9')]!==_0x28701d[0x0][_0x4103('0xd9')])return!0x1;if(!function(_0x3511db,_0x22627a){if(!_0x3511db['hasComments']&&!_0x22627a[_0x4103('0x103')])return!0x0;if(_0x3511db[_0x4103('0x103')]&&_0x22627a[_0x4103('0x103')])return!0x1;if(_0x3511db[_0x4103('0x103')]&&_0x22627a['createdAt']<_0x3511db['commentThread']['comments'][_0x4103('0x129')](0x0)[_0x4103('0x84')])return!0x0;if(_0x22627a['hasComments']&&_0x3511db[_0x4103('0x84')]<_0x22627a['commentThread'][_0x4103('0x63')][_0x4103('0x129')](0x0)[_0x4103('0x84')])return!0x0;return!0x1;}(_0x4e3969[0x0],_0x28701d[0x0]))return!0x1;const _0xdb9266=_0xca117e(_0x4e3969[0x0]['attributes'],_0x4103('0xd7')),_0x3b5ee7=_0xca117e(_0x28701d[0x0][_0x4103('0x3a')],_0x4103('0xd7'));if(!_0x429fef(_0xdb9266,_0x3b5ee7))return!0x1;return!!_0x4e3969[_0x4103('0xe')](_0x122ef9=>_0x28701d[_0x4103('0xa2')](_0x4a7d48=>_0x122ef9[_0x4103('0x114')]()[_0x4103('0x32')](_0x4a7d48['getFirstRange']())))&&_0x28701d[_0x4103('0xe')](_0x4b665f=>_0x4e3969['some'](_0x26b482=>_0x4b665f[_0x4103('0x114')]()[_0x4103('0x32')](_0x26b482[_0x4103('0x114')]())));}}[_0x4103('0x1d')](_0x40ea48){const _0x1336fd=Array[_0x4103('0x4a')](_0x40ea48),_0x1bffa2=this[_0x4103('0x101')]({'skipNotAttached':!0x0}),_0x54faf4=_0x1bffa2['filter'](_0x41a490=>!_0x40ea48[_0x4103('0x94')](_0x41a490)),_0x582ecf=new Map(_0x1336fd[_0x4103('0xe5')](_0x4e4f0b=>[_0x4e4f0b,this[_0x4103('0x171')][_0x4103('0x14')](_0x4e4f0b[_0x4103('0x24')],_0x4e4f0b[_0x4103('0x79')],'join')])),_0x44b3a9=new Map(_0x1bffa2[_0x4103('0xe5')](_0x21a26e=>[_0x21a26e,_0x21a26e['getRanges']()]));for(let _0x57848d=0x0;_0x57848d<_0x1336fd[_0x4103('0xb2')];_0x57848d++){if(_0x41cf5e(this,_0x1336fd[_0x57848d],_0x1336fd,_0x57848d+0x1))return!0x0;}for(let _0x5e3485=0x0;_0x5e3485<_0x1336fd[_0x4103('0xb2')];_0x5e3485++){if(_0x41cf5e(this,_0x1336fd[_0x5e3485],_0x54faf4,0x0))return!0x0;}return!0x1;function _0x41cf5e(_0x1f88fb,_0x5a2881,_0x24c0c4,_0x1527b7){for(let _0x2d9b09=_0x1527b7;_0x2d9b09<_0x24c0c4[_0x4103('0xb2')];_0x2d9b09++){const _0x3c8852=_0x24c0c4[_0x2d9b09];if(_0x3c8852[_0x4103('0x24')]!==_0x5a2881[_0x4103('0x24')]||_0x3c8852[_0x4103('0xd9')]['id']!==_0x5a2881[_0x4103('0xd9')]['id']||_0x3c8852['subType']!==_0x5a2881[_0x4103('0x79')])continue;if(!Vt(_0x5a2881,_0x3c8852))continue;if(_0x4103('0x13a')==_0x5a2881[_0x4103('0x24')]&&_0x5a2881[_0x4103('0x137')][_0x4103('0x161')]!=_0x3c8852[_0x4103('0x137')]['oldValue'])continue;if(_0x4103('0x13a')==_0x5a2881['type']&&_0x1f88fb[_0x4103('0x140')](_0x5a2881[_0x4103('0x137')][_0x4103('0x163')]))continue;if('formatBlock'==_0x5a2881[_0x4103('0x24')]){const _0x94439b=_0x1f88fb[_0x4103('0xee')][_0x4103('0xa1')],_0x4ae235=_0x5a2881[_0x4103('0x9f')]();if(_0x4ae235&&(_0x94439b[_0x4103('0x16b')][_0x4103('0xde')](_0x4ae235)||_0x94439b[_0x4103('0x16b')][_0x4103('0x7a')](_0x4ae235)))continue;}const _0xb4c4e8=_0x582ecf['get'](_0x5a2881),_0x7a1cc4=_0x44b3a9[_0x4103('0x129')](_0x5a2881),_0x48e490=_0x44b3a9['get'](_0x3c8852),_0x31a72e=_0x5a2881['commentThread']&&_0x5a2881[_0x4103('0x139')][_0x4103('0xb2')],_0x1b42d5=_0x3c8852['commentThread']&&_0x3c8852['commentThread']['length'];if(!_0x31a72e&&_0xb4c4e8(_0x48e490,_0x7a1cc4))return _0x1f88fb[_0x4103('0xb3')](_0x3c8852,_0x5a2881),_0x44b3a9[_0x4103('0xf3')](_0x5a2881),!0x0;if(!_0x1b42d5&&_0xb4c4e8(_0x7a1cc4,_0x48e490))return _0x1f88fb['_joinSuggestions'](_0x5a2881,_0x3c8852),_0x44b3a9['delete'](_0x3c8852),!0x0;}return!0x1;}}[_0x4103('0xb3')](_0x1c1597,_0x5b68c7){if(_0x1c1597['isMultiRange'])for(const _0xa50f82 of _0x5b68c7[_0x4103('0x13c')]())_0x1c1597['addRange'](_0xa50f82);else{const _0x11d828=_0x5b68c7['getFirstRange']()[_0x4103('0x9a')];this[_0x4103('0x5a')](_0x1c1597,this['_model'][_0x4103('0xcc')](_0x1c1597[_0x4103('0x114')]()[_0x4103('0x16e')],_0x11d828));}_0x5b68c7[_0x4103('0x160')]();}[_0x4103('0x126')](_0x5b31d9,_0x26af17){const _0x1ea79c=_0x5b31d9['startsWith'](_0x4103('0xd3'))||_0x5b31d9[_0x4103('0xc1')](_0x4103('0x13a'))?'FORMATTING':_0x5b31d9['toUpperCase']();return _0x1f5924(this['editor'][_0x4103('0x1c')],_0x26af17+'_'+_0x1ea79c+_0x4103('0x143'));}[_0x4103('0x29')](){const _0x90534=this[_0x4103('0xee')];_0x8a1101(this[_0x4103('0x15f')],({left:_0x1b0922,entered:_0x22c348})=>{const _0x42a55a=[];for(const _0x4d58c8 of _0x1b0922){const {group:_0x13e0bf,type:_0x1d839d}=this[_0x4103('0x12b')](_0x4d58c8[_0x4103('0xb')]);if('suggestion'===_0x13e0bf){_0x42a55a[_0x4103('0x5b')](this[_0x4103('0x126')](_0x1d839d,_0x4103('0xcd')));break;}}for(const _0x8c908a of _0x22c348){const {group:_0x5edbe2,type:_0x50f059}=this[_0x4103('0x12b')](_0x8c908a['name']);if(_0x4103('0x0')===_0x5edbe2){_0x42a55a['push'](this[_0x4103('0x126')](_0x50f059,'ENTER'));break;}}_0x42a55a['length']&&_0x90534['ui'][_0x4103('0x28')][_0x4103('0x3b')](_0x4103('0x50'),_0x42a55a[_0x4103('0x11d')]('\x20'));});}[_0x4103('0x11b')](_0x17a913){if(null!==this[_0x4103('0x170')])return!0x1;const _0x5e5682=this['editor'],_0x4613fe=_0x5e5682[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')][_0x4103('0x162')]();if(0x0==_0x4613fe[_0x4103('0xb2')])return!0x1;const _0x50e0f6=[],_0x76588c=_0x4613fe[_0x4103('0x6e')](_0x3d1db9=>'attribute'==_0x3d1db9['type']),_0x4c97fb=_0x4613fe[_0x4103('0x6e')](_0x570e26=>_0x4103('0x167')==_0x570e26[_0x4103('0x24')]&&_0x4103('0xaa')!=_0x570e26[_0x4103('0xb')]),_0x2dc295=_0x4613fe[_0x4103('0x6e')](_0x5c03f7=>'remove'==_0x5c03f7[_0x4103('0x24')]&&_0x4103('0xaa')!=_0x5c03f7['name']);for(const _0x3156cc of _0x76588c)_0x50e0f6[_0x4103('0x5b')]({'key':_0x3156cc['attributeKey'],'newValue':_0x3156cc['attributeNewValue'],'oldValue':_0x3156cc[_0x4103('0xce')],'range':_0x5dca9b(_0x3156cc[_0x4103('0x135')])});for(const _0x29c856 of _0x4c97fb){const _0x1f9c18=_0x2dc295[_0x4103('0x120')](_0x2f3184=>_0x2f3184['position'][_0x4103('0x32')](_0x29c856[_0x4103('0x15d')]));_0x1f9c18&&_0x50e0f6[_0x4103('0x5b')]({'key':'$elementName','newValue':_0x29c856[_0x4103('0xb')],'oldValue':_0x1f9c18[_0x4103('0xb')],'range':_0x5e5682[_0x4103('0xa1')]['createRangeOn'](_0x29c856[_0x4103('0x15d')]['nodeAfter'])});}return 0x0!=_0x50e0f6[_0x4103('0xb2')]&&this[_0x4103('0x4e')](_0x17a913,_0x50e0f6);function _0x5dca9b(_0x472d4c){return null==_0x472d4c[_0x4103('0x9a')][_0x4103('0x14e')]&&_0x472d4c[_0x4103('0x9a')][_0x4103('0x2a')]==_0x472d4c[_0x4103('0x16e')][_0x4103('0x9e')]?Ut(_0x472d4c['start'][_0x4103('0x9e')],_0x5e5682[_0x4103('0xa1')]):_0x472d4c;}}[_0x4103('0xf6')](_0x224db5){let _0x4d751c=!0x1;const _0x2c44cd=this[_0x4103('0xee')][_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')]['getChangedMarkers']()['filter'](_0xc15db5=>_0xc15db5[_0x4103('0x137')][_0x4103('0x36')]&&_0xc15db5[_0x4103('0xb')][_0x4103('0xc1')](_0x4103('0xfe')));for(const _0x28d47c of _0x2c44cd){const {subType:_0x1839f7,id:_0x580847}=this[_0x4103('0x12b')](_0x28d47c[_0x4103('0xb')]),_0x385dbb=_0x1839f7['split']('|')[0x0];for(const _0xaef531 of this['getSuggestions']({'skipNotAttached':!0x0}))_0xaef531['id']!=_0x580847&&_0x4103('0x13a')==_0xaef531[_0x4103('0x24')]&&_0xaef531[_0x4103('0x137')]&&_0xaef531[_0x4103('0x137')][_0x4103('0x163')]==_0x385dbb&&_0xaef531[_0x4103('0x114')]()['isIntersecting'](_0x28d47c[_0x4103('0x137')]['newRange'])&&(this[_0x4103('0x173')](_0xaef531,_0x28d47c['data']['newRange'],_0x224db5),_0x4d751c=!0x0);}return _0x4d751c;}[_0x4103('0xd5')](_0x1c7be5){if(null!==this[_0x4103('0x170')])return void _0x1c7be5();const _0x412842=this[_0x4103('0xee')];this[_0x4103('0x170')]=_0x412842[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x111')],_0x1c7be5();const _0x95a82b=new Map();for(const _0x111e3f of _0x412842['model']['document'][_0x4103('0x12e')][_0x4103('0x55')](this[_0x4103('0x170')]))if(['rename',_0x4103('0x11e'),'removeAttribute',_0x4103('0x71')][_0x4103('0x12c')](_0x111e3f[_0x4103('0x24')])){const _0x183f7a=_0x111e3f[_0x4103('0x123')],_0x1a8f00=_0x95a82b[_0x4103('0x129')](_0x183f7a)||[];_0x1a8f00['push'](_0x111e3f),_0x95a82b['set'](_0x183f7a,_0x1a8f00);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x14eb29,_0x26d8cb]of _0x95a82b){const _0x5ac87d=_0x5df0ee();_0x412842[_0x4103('0xa1')][_0x4103('0x49')](_0x14eb29,_0x465211=>{const _0x36c52c=[];for(const _0x1d710b of _0x26d8cb){let _0x4e0a11,_0x112495,_0x5104ed,_0x1bd384;if(_0x4103('0xb4')==_0x1d710b['type']){const _0x53da40=_0x1d710b;_0x4e0a11=Ut(_0x53da40[_0x4103('0x15d')][_0x4103('0x9e')],_0x412842['model']),_0x112495=_0x4103('0xdf'),_0x5104ed=_0x53da40[_0x4103('0x77')],_0x1bd384=_0x53da40[_0x4103('0x26')];}else{const _0x2c61a5=_0x1d710b,_0x4b02f2=this['_isBlockAttribute'](_0x2c61a5[_0x4103('0x163')]),_0x335264=this[_0x4103('0x10d')]['has'](_0x2c61a5[_0x4103('0x163')]);if(!_0x4b02f2&&!_0x335264)continue;_0x4e0a11=_0x4b02f2?Ut(_0x2c61a5[_0x4103('0x135')][_0x4103('0x16e')][_0x4103('0x9e')],_0x412842[_0x4103('0xa1')]):_0x2c61a5['range'],_0x112495=_0x2c61a5['key'],_0x5104ed=_0x4103('0x82')==_0x1d710b['type']?void 0x0:_0x2c61a5[_0x4103('0xcf')],_0x1bd384=_0x2c61a5[_0x4103('0x161')];}this[_0x4103('0x175')](_0x4e0a11,_0x112495,_0x1bd384,_0x5104ed,{'groupId':_0x5ac87d}),_0x36c52c['push']({'range':_0x4e0a11,'key':_0x112495,'newValue':_0x5104ed,'oldValue':_0x1bd384});}this[_0x4103('0x4e')](_0x465211,_0x36c52c);});}}[_0x4103('0x4e')](_0x2f7aa8,_0x511de3){if(0x0==_0x511de3['length'])return!0x1;let _0x35ad39=!0x1;for(const _0x126d1f of _0x511de3){const _0x50c3eb=this['_findSuggestions'](_0x126d1f[_0x4103('0x135')],_0x4103('0x13a'))[_0x4103('0x6e')](_0x12c601=>!_0x12c601[_0x4103('0x41')][_0x4103('0x95')])[_0x4103('0xe5')](_0x22aeaf=>_0x22aeaf[_0x4103('0x0')]),_0x4165b4=_0x536ea2({'newValue':_0x126d1f[_0x4103('0xcf')]});_0x50c3eb['filter'](_0x3731a0=>{const [_0x573c71,_0x36a021]=_0x3731a0[_0x4103('0x79')][_0x4103('0x33')]('|');return _0x573c71==_0x126d1f[_0x4103('0x163')]&&_0x36a021!=_0x4165b4;})[_0x4103('0xda')](_0x5c416f=>{this[_0x4103('0x173')](_0x5c416f,_0x126d1f[_0x4103('0x135')],_0x2f7aa8),_0x35ad39=!0x0;});}return _0x35ad39;}['_reduceSuggestionAttributeRange'](_0x316657,_0x111a81,_0x32d171){const _0x52c483=_0x316657[_0x4103('0x114')]()[_0x4103('0x99')](_0x111a81);0x0!==_0x52c483[_0x4103('0xb2')]?0x1!==_0x52c483[_0x4103('0xb2')]?this[_0x4103('0x133')](_0x316657,_0x111a81[_0x4103('0x16e')],_0x111a81['end']):this[_0x4103('0x5a')](_0x316657,_0x52c483[0x0]):_0x32d171[_0x4103('0x46')](_0x316657['getFirstMarker']());}}class $t{constructor(_0x5e8ecf){this[_0x4103('0x6a')]=_0x5e8ecf,this[_0x4103('0x15f')]=_0x5e8ecf[_0x4103('0xa1')],this['_customCallbacks']=new Map(),this[_0x4103('0x149')]=new Map(),this[_0x4103('0xad')]();}[_0x4103('0xc5')](_0x590c9d,_0x3e8c83,_0x419b8f,_0x38a6ec,_0x1bda25,_0x137600){return new _0xdfa14c(this[_0x4103('0x15f')],{'type':_0x590c9d,'subType':_0x3e8c83,'id':_0x419b8f,'author':_0x38a6ec,'creator':_0x38a6ec,'attributes':_0x1bda25,'onAttributesChange':_0x137600,'onAccept':(..._0x557edb)=>this[_0x4103('0x14')](_0x590c9d,_0x3e8c83,_0x4103('0x122'))(..._0x557edb),'onDiscard':(..._0x45f5fa)=>this[_0x4103('0x14')](_0x590c9d,_0x3e8c83,'discard')(..._0x45f5fa)});}[_0x4103('0x11c')](_0x5ac24c,_0x33624f,_0x462149,_0x31c868){const _0x2bc4f9=_0x5ac24c+':'+_0x33624f+':'+_0x462149;this[_0x4103('0x5f')][_0x4103('0x6')](_0x2bc4f9,_0x31c868);}[_0x4103('0x14')](_0x3263cf,_0x5e6cd2,_0x3e0bd0){const _0x40ffdf=_0x3263cf+':'+_0x5e6cd2+':'+_0x3e0bd0;return this[_0x4103('0x5f')]['get'](_0x40ffdf)||this['_defaultCallbacks'][_0x4103('0x129')](_0x3263cf+':'+_0x3e0bd0);}[_0x4103('0xad')](){const _0x2f93ee=()=>!0x1,_0x2f9897=_0x43ef83=>{_0x43ef83[_0x4103('0xa3')]((_0x5631ad,_0x5e73d3)=>_0x5631ad[_0x4103('0x16e')][_0x4103('0x108')](_0x5e73d3[_0x4103('0x16e')])?0x1:-0x1),this['_model'][_0x4103('0xb0')](_0x128ff6=>{for(const _0x2aeb0c of _0x43ef83){let _0x409648;_0x409648=_0x2aeb0c[_0x4103('0x9a')][_0x4103('0xbb')]&&_0x2aeb0c[_0x4103('0x9a')][_0x4103('0x2a')]==_0x2aeb0c[_0x4103('0x16e')]['nodeAfter']?_0x128ff6[_0x4103('0x56')](_0x2aeb0c[_0x4103('0x16e')]['nodeAfter'],'on'):_0x128ff6[_0x4103('0x56')](_0x2aeb0c),this[_0x4103('0x15f')]['deleteContent'](_0x409648,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5619d8=(_0x4c39b9,_0x42fafb)=>{_0x42fafb&&this['_model'][_0x4103('0xb0')](_0x43cc04=>{const {commandName:_0x43aa49,commandParams:_0x3f8bc1=[]}=_0x42fafb,_0x2ad622=_0x4c39b9['map'](_0x37899a=>(Tt(_0x37899a)&&(_0x37899a=this[_0x4103('0x15f')][_0x4103('0xcc')](_0x37899a[_0x4103('0x9a')])),_0x37899a))['filter'](_0x1d3e9f=>_0x4103('0x141')!==_0x1d3e9f[_0x4103('0x27')][_0x4103('0x31')]);if(_0x2ad622[_0x4103('0xb2')]<0x1)return;const _0x4b6fa7=Array[_0x4103('0x4a')](this[_0x4103('0x15f')][_0x4103('0x89')]['selection']['getRanges']())[_0x4103('0xe5')](_0x3c0cb3=>_0x1394f0[_0x4103('0x102')](_0x3c0cb3));_0x43cc04[_0x4103('0x154')](_0x2ad622);for(const _0x1ed1af of this[_0x4103('0x6a')][_0x4103('0x2c')][_0x4103('0x2c')]())_0x1ed1af[_0x4103('0x70')]();_0x3f8bc1[_0x4103('0x5b')]({'forceDefaultExecution':!0x0}),this[_0x4103('0x6a')][_0x4103('0xb8')](_0x43aa49,..._0x3f8bc1);const _0x1ec3ff=_0x4b6fa7[_0x4103('0x6e')](_0x1b605c=>_0x4103('0x141')!=_0x1b605c[_0x4103('0x27')][_0x4103('0x31')]);_0x1ec3ff[_0x4103('0xb2')]>0x0&&_0x43cc04[_0x4103('0x154')](_0x1ec3ff);for(const _0x24e717 of _0x4b6fa7)_0x24e717[_0x4103('0xa5')]();});},_0x5750dd=(_0x341bfb,_0x1ea72d)=>0x1==_0x341bfb[_0x4103('0xb2')]&&0x1==_0x1ea72d[_0x4103('0xb2')]&&_0x341bfb[0x0]['end'][_0x4103('0x32')](_0x1ea72d[0x0][_0x4103('0x16e')]),_0x57b077=(_0x133498,_0x25c03f,_0x3c5ece,_0x45a229)=>Ot(_0x133498,_0x25c03f,_0x3c5ece,_0x45a229,this[_0x4103('0x15f')])?[_0x133498,_0x25c03f]:Ot(_0x25c03f,_0x133498,_0x45a229,_0x3c5ece,this[_0x4103('0x15f')])?[_0x25c03f,_0x133498]:null;this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x15a'),_0x2f93ee),this[_0x4103('0x149')]['set'](_0x4103('0x7f'),_0x2f9897),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x17'),_0x5750dd),this[_0x4103('0x149')]['set']('insertion:chain',_0x57b077),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x66'),_0x2f9897),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x96'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x8a'),_0x5750dd),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x2d'),_0x57b077),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x59'),_0x5619d8),this[_0x4103('0x149')]['set'](_0x4103('0x124'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x12'),_0x5750dd),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x12f'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x1'),_0x5619d8),this[_0x4103('0x149')]['set'](_0x4103('0xab'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x148'),_0x5750dd),this['_defaultCallbacks'][_0x4103('0x6')]('formatBlock:chain',_0x2f93ee),this[_0x4103('0x149')]['set']('attribute:accept',_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0xfb'),(_0x58e8c9,_0x416414)=>{if(!_0x416414)return;const _0x11ff53=this['_editor']['plugins'][_0x4103('0x129')](p);this[_0x4103('0x15f')][_0x4103('0xb0')](_0x98db39=>{if(_0x4103('0xdf')==_0x416414[_0x4103('0x163')])for(const _0x4571d5 of _0x58e8c9){const _0x498308=_0x4571d5['start'][_0x4103('0x9e')],_0x3d9a67=_0x416414[_0x4103('0x161')];_0x98db39['rename'](_0x498308,_0x3d9a67);}else{if(_0x11ff53['_isBlockAttribute'](_0x416414[_0x4103('0x163')]))for(const _0x2bc30c of _0x58e8c9)void 0x0!==_0x416414[_0x4103('0x161')]?_0x98db39[_0x4103('0x15')](_0x416414[_0x4103('0x163')],_0x416414[_0x4103('0x161')],_0x2bc30c[_0x4103('0x16e')][_0x4103('0x9e')]):_0x98db39[_0x4103('0x82')](_0x416414[_0x4103('0x163')],_0x2bc30c['start']['nodeAfter']);else for(const _0x828d5b of _0x58e8c9)_0x416414[_0x4103('0x161')]?_0x98db39['setAttribute'](_0x416414['key'],_0x416414[_0x4103('0x161')],_0x828d5b):_0x98db39['removeAttribute'](_0x416414[_0x4103('0x163')],_0x828d5b);}});}),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0xec'),_0x5750dd);}}function Bt(_0x24c193,_0x14f7af,_0x14a401){for(const _0x185454 of _0x14f7af[_0x4103('0x2a')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x185454[_0x4103('0x27')]==_0x185454)return!0x1;if(!_0x14a401['containsItem'](_0x185454))return!0x1;if(_0x24c193['isObject'](_0x185454)||_0x24c193[_0x4103('0x7a')](_0x185454))return!0x0;}return!0x1;}function Tt(_0x117f45){return _0x117f45[_0x4103('0x9a')]['parent']==_0x117f45[_0x4103('0x16e')]['nodeAfter']&&_0x117f45[_0x4103('0x9a')][_0x4103('0x54')];}function xt(_0x23c066,_0x2bf9d0,_0x31ac5f,_0x5ca775){const _0x46019d=_0x39f2e1=>!_0x39f2e1['item']['is']('$textProxy')&&!_0x5ca775['isObject'](_0x39f2e1[_0x4103('0xa8')]),_0x5a2db0=_0x23c066['start']['getLastMatchingPosition'](_0x46019d),_0x194711=_0x23c066[_0x4103('0x9a')][_0x4103('0xcb')](_0x46019d,{'direction':'backward'});return(!_0x23c066[_0x4103('0x16e')][_0x4103('0x32')](_0x5a2db0)||!_0x23c066[_0x4103('0x9a')][_0x4103('0x32')](_0x194711))&&(_0x5a2db0[_0x4103('0x108')](_0x194711)?_0x31ac5f[_0x4103('0xe8')](_0x2bf9d0,{'range':_0x31ac5f[_0x4103('0xcc')](_0x5a2db0,_0x194711)}):_0x31ac5f[_0x4103('0x46')](_0x2bf9d0),!0x0);}function Et(_0x43c141){return _0x536ea2(_0x43c141);}function Rt(_0x1a4e52){const _0x4938f5=_0x1a4e52[_0x4103('0x16e')][_0x4103('0x9e')];return _0x4938f5&&_0x4938f5['is'](_0x4103('0x5d'));}function Ut(_0x4e36f2,_0x434002){const _0x39788d=_0x434002[_0x4103('0x16b')][_0x4103('0xde')](_0x4e36f2)||_0x434002[_0x4103('0x16b')]['isSelectable'](_0x4e36f2);return _0x434002[_0x4103('0xcc')](_0x434002[_0x4103('0xa4')](_0x4e36f2,_0x4103('0xa9')),_0x39788d?_0x434002[_0x4103('0x37')](_0x4e36f2):_0x434002[_0x4103('0xa4')](_0x4e36f2,_0x4103('0x9a')));}function Ot(_0x50c7da,_0x347a63,_0x2f9747,_0x4f01c8,_0xc48cf){if(!Vt(_0x50c7da,_0x347a63))return!0x1;if(_0x2f9747['end']['isEqual'](_0x4f01c8[_0x4103('0x16e')]))return!0x0;if(_0x50c7da[_0x4103('0x24')]!=_0x347a63['type'])return!0x1;if(!_0x2f9747[_0x4103('0x9a')][_0x4103('0x97')](_0x4f01c8[_0x4103('0x16e')]))return!0x1;const _0x17c364=_0xc48cf[_0x4103('0xcc')](_0x2f9747['end'],_0x4f01c8[_0x4103('0x16e')])[_0x4103('0x16f')]();for(const _0x69b1f4 of _0x17c364)if([_0x4103('0xe4'),_0x4103('0x1a')][_0x4103('0x12c')](_0x69b1f4[_0x4103('0x24')])&&_0xc48cf[_0x4103('0x16b')][_0x4103('0x7a')](_0x69b1f4[_0x4103('0xa8')]))return!0x1;return!0x0;}function Vt(_0x5789b7,_0x215115){return!(!_0x5789b7[_0x4103('0x4')]||!_0x215115['_isDataLoaded'])&&_0x429fef(_0x5789b7[_0x4103('0x3a')],_0x215115[_0x4103('0x3a')]);}function Gt(_0x5cadc5,_0xd096d8){const _0x36e8db=Ft(_0x5cadc5[_0x4103('0x3a')]),_0x32773f=Ft(_0xd096d8);if(!_0x5cadc5[_0x4103('0x4')])return!0x1;for(const _0x51c114 of Object[_0x4103('0x17c')](_0x32773f))if(!_0x429fef(_0x36e8db[_0x51c114],_0x32773f[_0x51c114]))return!0x1;return!0x0;}function Ft(_0x5060ec){const _0x41bc61=Object['assign']({},_0x5060ec);return delete _0x41bc61[_0x4103('0xaf')],delete _0x41bc61[_0x4103('0x8c')],_0x41bc61;}function Pt(_0x29bd6a){return _0x4103('0x13a')==_0x29bd6a[_0x4103('0x24')]?_0x29bd6a[_0x4103('0x79')]['split']('|')[0x0]:null;}
|